http://bugzilla.novell.com/show_bug.cgi?id=585047 http://bugzilla.novell.com/show_bug.cgi?id=585047#c0 Summary: I/O error if I try to eject a tape with mt -f /dev/nst0 offline on paravirtualized host (using attached scsi device) Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Xen AssignedTo: jdouglas@novell.com ReportedBy: mparreno@hp-cda.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; es-ES; rv:1.9.0.14) Gecko/2009090900 SUSE/3.0.14-0.1.2 Firefox/3.0.14 myuser@myvirtualhost# mt -f /dev/nst0 offline mt: /dev/nst0: rmtioctl failed: Error de entrada/salida myuser@myvirtualhost# strace -e ioctl mt -f /dev/nst0 offline ioctl(3, MGSL_IOCGPARAMS or MTIOCTOP or SNDCTL_MIDI_MPUMODE, 0x7fff69f1b500) = -1 EIO (Input/output error) mt: /dev/nst0: rmtioctl failed: Error de entrada/salida xenscsi.ko bug or limitation? Reproducible: Always Steps to Reproduce: 1.mt -f /dev/nst0 offline 2. 3. Actual Results: mt: /dev/nst0: rmtioctl failed: Error de entrada/salida Expected Results: (Rewind and eject the tape) MY SCSI TAPE ================ myuser@myrealhost # hwinfo --tape 32: SCSI 203.0: 10601 Tape [Created at scsi.1452] UDI: /org/freedesktop/Hal/devices/pci_1000_30_scsi_host_scsi_device_lun0_scsi_generic Unique ID: Er1e.y+VVM4dAGT8 Parent ID: qV4M.P3h8sc6lvXB SysFS ID: /class/scsi_tape/st0 SysFS BusID: 2:0:3:0 SysFS Device Link: /devices/pci0000:04/0000:04:09.0/0000:05:08.0/host2/target2:0:3/2:0:3:0 Hardware Class: unknown Model: "HP Ultrium 3-SCSI" Vendor: "HP" Device: "Ultrium 3-SCSI" Revision: "G54D" Driver: "mptspi", "st" Driver Modules: "mptspi" Device File: /dev/st0 (/dev/sg1) Device Files: /dev/st0, /dev/char/9:0, /dev/tape/by-id/scsi-350060b00007a69e2 Device Number: char 9:0 (char 21:1) Config Status: cfg=no, avail=yes, need=no, active=unknown Attached to: #29 (SCSI storage controller) ATTACH THE SCSI TAPE ======================= myuser@myrealhost# xm scsi-attach 31 2:0:3:0 2:0:3:0 myuser@myrealhost# xm scsi-list 31 Idx BE state host phy-hctl phy vir-hctl devstate 2 0 4 0 2:0:3:0 st0 2:0:3:0 4 USE FROM PVM =================== myuser@myvirtualhost# modprobe xenscsi Ready to use! -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.