Roberto Aguilar
2008-Jan-16 01:13 UTC
[Xen-users] Lost tape drive after rebooting into Xen kernel
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. Thanks! -Roberto. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Roberto Aguilar
2008-Jan-16 08:21 UTC
[Xen-users] Re: Lost tape drive after rebooting into Xen kernel
On Jan 15, 2008 5:13 PM, Roberto Aguilar <roberto.c.aguilar@gmail.com> 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@lists.xensource.com http://lists.xensource.com/xen-users