WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Re: Lost tape drive after rebooting into Xen kernel

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: Lost tape drive after rebooting into Xen kernel
From: "Roberto Aguilar" <roberto.c.aguilar@xxxxxxxxx>
Date: Wed, 16 Jan 2008 00:21:58 -0800
Delivery-date: Fri, 18 Jan 2008 10:11:18 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=SLugTBHU30/N7N/RVNe1UuS5DUIFoerMXKzoUGIbJCw=; b=Q426BKSDeLO2Sa2wtm1rvftZvSv6VsDDJB6bimGE8T5WKXsUuwRfCzyG0lfKw0oTrivUlExpz9BVQH18ZuWJkXtjjInJWi4yRp/JcuYnXxwil5VG6Xy3pE767zR4ugrgIXDxkoM1lSzuLmKUi9tF9IcEVCFKYM+F/kdsCxwYpno=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Mn8wr5+3p5LFC0fJil8IaCTIpY83WiSwZi0xneHd6pUXEkCHZyMtvjizZaiobVhsZOymc9o7Q/EuwsDNVB4eEGUob6hmUSqSMb3Ayi5X/2boJpreE/xn4unWCmECDRbwz9MVuKKYkppiD3zu8sQf3l1soH/8qDcsDAZtr8ukrPs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <e190e3480801151713j7f38924cx3b05513cd3809097@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <e190e3480801151713j7f38924cx3b05513cd3809097@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Jan 15, 2008 5:13 PM, Roberto Aguilar <roberto.c.aguilar@xxxxxxxxx> wrote:
> Hello,
>
> Prior to installing Xen, my tape drive worked without problem on
> Ubuntu 6.06.1 LTS, kernel version 2.6.15-28-amd64-generic.  I just
> recently installed Xen and when I went to use my tape drive, I got the
> message:
>
> # /dev# mt status
> mt: /dev/tape: No such file or directory
> # /dev# ls -al /dev/tape
> lrwxrwxrwx 1 root root 8 2008-01-09 21:30 /dev/tape -> /dev/st0
> # /dev# ls -al /dev/st0
> ls: /dev/st0: No such file or directory
>
> The drive is a Quantum SATA tape drive.  I've gone through the xen
> kernel config and have made sure the kernel supports SCSI tape drives
> as well as SATA.  I'm not sure what else is needed.  Any help is
> greatly appreciated.

I rebooted back into my stock kernel and gathered the following info:

In dmesg:

[   74.885415] st: Version 20050830, fixed bufsize 32768, s/g segs 256
[   74.885529] st 3:0:0:0: Attached scsi tape st0<4>st0: try direct i/o: yes (al
ignment 512 B), max page reachable by HBA 1048575
[   74.919265] sd 2:0:0:0: Attached scsi generic sg0 type 0
[   74.919285] st 3:0:0:0: Attached scsi generic sg1 type 1

$ lsmod | grep st
st                     44584  0
scsi_mod              160632  7 sbp2,sr_mod,sg,st,arcmsr,sd_mod,libata

$ ls -l /dev/st0
crw-rw---- 1 root tape 9, 0 2008-01-15 23:49 /dev/st0

All the modules listed for scsi_mod are also being loaded in the Xen
kernel, so I'm still not sure why the stock kernel detects the tape
drive, but the Xen kernel doesn't.

Hope someone can help.

Thanks!
-Roberto.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>