Bug#537041: /dev/ch* not created for tape library
On Thu, Jul 16, 2009 at 10:55:50AM +0200, Laurent Bigonville wrote: reassign 537041 linux-2.6 2.6.26-17 Le Wed, 15 Jul 2009 10:40:36 +0200, m...@linux.it (Marco d'Itri) a écrit : On Jul 15, Laurent Bigonville bi...@debian.org wrote: Actually it looks like a /dev/sch0 device is created but I get the same error: /dev/ch0 is not an sg device, or old sg driver So the driver does not create the device and when you create it manually it does not work. Are you actually sure that this device exists and works with modern kernels? Anyway, either you show that this is an udev bug or you reassign it to the kernel or close it. The device is created with the name /dev/sch0 but looks like there is another issue. Reassign to the kernel Support for proper udev autoloading seems to have only been added as of commit http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=95f6c83f6c57be92c67247802d0f699137957457 As for Lenny, did you follow the instructions given in Documentation/scsi/scsi-changer.txt, especially the troubleshooting section? Maybe it provides some more hints where the problem may be coming from. Cheers, Moritz -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#537041: /dev/ch* not created for tape library
On Oct 02, Moritz Muehlenhoff j...@inutil.org wrote: Support for proper udev autoloading seems to have only been added as of commit This does not matter, since 80-drivers.rules always had a workaround: SUBSYSTEM==scsi_device, ATTRS{type}==8, \ RUN+=/sbin/modprobe -b ch The point of the patch is to allow removing it some very far day when we will stop supporting older kernel releases. -- ciao, Marco signature.asc Description: Digital signature
Bug#537041: /dev/ch* not created for tape library
reassign 537041 linux-2.6 2.6.26-17 Le Wed, 15 Jul 2009 10:40:36 +0200, m...@linux.it (Marco d'Itri) a écrit : On Jul 15, Laurent Bigonville bi...@debian.org wrote: Actually it looks like a /dev/sch0 device is created but I get the same error: /dev/ch0 is not an sg device, or old sg driver So the driver does not create the device and when you create it manually it does not work. Are you actually sure that this device exists and works with modern kernels? Anyway, either you show that this is an udev bug or you reassign it to the kernel or close it. The device is created with the name /dev/sch0 but looks like there is another issue. Reassign to the kernel Laurent -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#537041: /dev/ch* not created for tape library
Le Tue, 14 Jul 2009 19:32:22 +0200, m...@linux.it (Marco d'Itri) a écrit : On Jul 14, Laurent Bigonville bi...@debian.org wrote: It looks like the /dev/ch* device is not created for tape library with autochanger (ch driver). Only a /dev/sg* device is created. Is the ch module loaded or not? Yeah the module is loaded If you manually create the /dev/ch* device and then access it, is some other driver loaded? # mknod ch0 c 86 0 (not sure it's ok, get the major from /proc/devices) # mtx -f /dev/ch0 inquiry /dev/ch0 is not an sg device, or old sg driver accessing through the sg device works -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#537041: /dev/ch* not created for tape library
Le Wed, 15 Jul 2009 09:54:19 +0200, Laurent Bigonville bi...@debian.org a écrit : Le Tue, 14 Jul 2009 19:32:22 +0200, m...@linux.it (Marco d'Itri) a écrit : On Jul 14, Laurent Bigonville bi...@debian.org wrote: It looks like the /dev/ch* device is not created for tape library with autochanger (ch driver). Only a /dev/sg* device is created. Is the ch module loaded or not? Yeah the module is loaded If you manually create the /dev/ch* device and then access it, is some other driver loaded? # mknod ch0 c 86 0 (not sure it's ok, get the major from /proc/devices) # mtx -f /dev/ch0 inquiry /dev/ch0 is not an sg device, or old sg driver accessing through the sg device works Actually it looks like a /dev/sch0 device is created but I get the same error: /dev/ch0 is not an sg device, or old sg driver -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#537041: /dev/ch* not created for tape library
On Jul 15, Laurent Bigonville bi...@debian.org wrote: Actually it looks like a /dev/sch0 device is created but I get the same error: /dev/ch0 is not an sg device, or old sg driver So the driver does not create the device and when you create it manually it does not work. Are you actually sure that this device exists and works with modern kernels? Anyway, either you show that this is an udev bug or you reassign it to the kernel or close it. -- ciao, Marco signature.asc Description: Digital signature
Bug#537041: /dev/ch* not created for tape library
Package: udev Version: 0.125-7+lenny1 Severity: normal Hi, It looks like the /dev/ch* device is not created for tape library with autochanger (ch driver). Only a /dev/sg* device is created. It could be intresting to also create this device. Regards Laurent Bigonville -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#537041: /dev/ch* not created for tape library
On Jul 14, Laurent Bigonville bi...@debian.org wrote: It looks like the /dev/ch* device is not created for tape library with autochanger (ch driver). Only a /dev/sg* device is created. Is the ch module loaded or not? -- ciao, Marco signature.asc Description: Digital signature
Bug#537041: /dev/ch* not created for tape library
On Tue, 14 Jul 2009 17:43:25 +0200 m...@linux.it (Marco d'Itri) wrote: On Jul 14, Laurent Bigonville bi...@debian.org wrote: It looks like the /dev/ch* device is not created for tape library with autochanger (ch driver). Only a /dev/sg* device is created. Is the ch module loaded or not? Yeah the module is loaded # lsmod |grep ch shpchp 25496 0 pci_hotplug23204 1 shpchp mbcache 6656 2 ext2,ext3 ch 11908 0 scsi_mod 129804 8 sg,st,ch,sd_mod,usb_storage,libata,aic7xxx,scsi_transport_spi in dmesg I even get: # dmesg |grep ch0 [ 30.805940] ch0: type #1 (mt): 0x0+1 [medium transport] [ 30.805965] ch0: type #2 (st): 0x1+8 [storage] [ 30.805981] ch0: type #3 (ie): 0x0+0 [import/export] [ 30.805998] ch0: type #4 (dt): 0x52+1 [data transfer] [ 30.885356] ch0: dt 0x52: ID 14, LUN 0, name: SONY SDX-700C 0207 [ 30.885393] ch0: INITIALIZE ELEMENT STATUS, may take some time ... [ 58.482169] ch0: ... finished [ 58.482190] ch 0:0:15:0: Attached scsi changer ch0 Laurent -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#537041: /dev/ch* not created for tape library
On Jul 14, Laurent Bigonville bi...@debian.org wrote: It looks like the /dev/ch* device is not created for tape library with autochanger (ch driver). Only a /dev/sg* device is created. Is the ch module loaded or not? Yeah the module is loaded If you manually create the /dev/ch* device and then access it, is some other driver loaded? -- ciao, Marco signature.asc Description: Digital signature