On Thu, May 12, 2005 at 03:38:35PM +0200, z.a.kaleta wrote: > Dnia ??roda, 11 maja 2005 22:07, Thomas H. George napisa??: > The emulation of scsi in 2.6 kernels exist. The problem with usb devices is > that in kernel config normaly used is wrong. > The position CONFIG_BLK_DEV_UB has to be put in "n" for no.
There is no CONFIG_BLK_DEV_UB in my .config file. > Normally it is put as "m" for module which cripple the scsi emulation for > usb. > I don't know why but this is what I have googled and it work form my usb > devices. > The position is in Device Drivers - Block devices in kernel tree. Of course Using make menuconfig I cannot find any option in Device Drivers/Block for usb devices. I tried saying no to the USB Mass Storage Support option in Device Drivers/USB but this did not solve the problem. Still, you may be right. Last week I had an unrelated problem which was solved by compiling the kernel with CONFIG_BLK_DEV_VIA82CXX. This option was also not in my .config or present as an option in make menuconfig. The problem was only solved when I found a backup version of .config that contained the option and used make config with the backup file to set the option. After this was done make menuconfig contained the option and all was well. Needless to say I have checked my available backup versions of .config and could not find CONFIG_BLK_DEV_UB in any of them. I am using the latest debian version of kernel-source-2.6.8, I reinstalled it and recompiled my kernel today just to be sure. If the option CONFIG_BLK_DEV-UB existed in the past it is no longer in the current version. Tom > You have to compile kernel yourself. > > > On my backup 2.4.26 kernel the mount point for my Sony dvdrw drive is > > /dev/sr1. > > > > When I boot to my 2.6.8 kernel /dev/sr1 does not exist. The drive is > > recognized by lsusb but this just gives the bus # and device #. > > > > This must be because scsi emulation is on for the 2.4.26 kernel but not > > for the 2.6.8 kernel. When I compile a 2.6.8 kernel with scsi emulation > > hotplug crashes the system when a usb device is unplugged. > > > > I understand that scsi emulation should not be needed with a 2.6.8 > > kernel and, indeed, I can access my cdrw drive at /dev/hdd with cdrecord > > with dev="ATA:1,1,0" > > > > I don't remember how I determined that the dvdrw drive was located at > > /dev/sr1 when running with the 2.4.26 kernel. When I connect a USB > > jumpdrive while the 2.4.26 kernel is running, the /dev/ mount point is > > reported. This does not work with the 2.6.8 kernel and neither kernel > > shows the mount point of dvdrw drive when it is connected. > > > > I'm sure there is some elementary way to determine the mount point but > > it escapes me. I would appreciate being pointed in the right direction. > > > > Tom George > > -- > z.a.kaleta (sanskryt), registered Linux User #279350 > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]