[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.