Based on the code, it looks like 2.4 kernels will only support the EagleTec devices with HDs in them.
For 2.5, support for any type of device should be possible (simply delete the unusual_devs.h entry for the device. Can you test a 2.5 kernel? Matt On Sun, Mar 30, 2003 at 01:29:14PM +0200, Davide Venturelli wrote: > > Hi all. > I'm striving to get to work a IDE-to-USB extern box for HDD, CD-RW, > CDROM.. under Linux (SuSE 8.0) > I bought the "QTEC mobile storage 755C USB2 CD/RW CASE 5.25" > Of course it doesn't Officially support Linux and in the reference site > (www.qtec.info) there's no clue on > linux compatibility experiments.. > My notebook has no support for USB2... but the device should work on > USB1.0+ > > I will explain in detail all that I did (even unuseful infomations, > maybe) so that you can > understand my situation. > > Here's what I have (from /proc/bus/usb/devices) > > USB UHCI Root Hub > Serial Number: fcc0 > Speed: 12Mb/s (full) > Number of Ports: 2 > Bandwidth allocated: 0 / 900 (0%) > Total number of interrupt requests: 0 > Total number of isochronous requests: 0 > USB Version: 1.00 > Device Class: 09(hub ) > Device Subclass: 00 > Device Protocol: 00 > Maximum Default Endpoint Size: 8 > Number of Configurations: 1 > > Config Number: 1 > Number of Interfaces: 1 > Attributes: 40 > MaxPower Needed: 0mA > > Interface Number: 0 > Name: hub > Alternate Number: 0 > Class: 09(hub ) > Sub Class: 0 > Protocol: 0 > Number of Endpoints: 1 > > Endpoint Address: 81 > Direction: in > Attribute: 3 > Type: Int. > Max Packet Size: 8 > Interval: 255ms > > As i thought that it should be the easier case, I started making > experiments with a IDE CDROM 8x. > Here's what I did, and the correspondig kernel messages: > > (device unplugged) > > hyperion:~ # modprobe usb-storage > hyperion:~ # modprobe usbcore > hyperion:~ # modprobe usbdevfs > hyperion:~ # dmesg > Initializing USB Mass Storage driver... > usb.c: registered new driver usb-storage > USB Mass Storage support registered. > hyperion:~ # > > now i plug the device (i put the CDROM in MASTER and there's a Redhat > Linux 7.0 original CD on): > > (beep) > hyperion:~ # dmesg > hub.c: USB new device connect on bus1/1, assigned device number 2 > scsi0 : SCSI emulation for USB Mass Storage devices > Vendor: EagleTec Model: External Hard Di Rev: 0002 > Type: Direct-Access ANSI SCSI revision: 02 > Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 > sda : unsupported sector size 2352. > SCSI device sda: 0 2352-byte hdwr sectors (0 MB) > usb-uhci.c: interrupt, status 3, frame# 725 > sda: test WP failed, assume Write Enabled > WARNING: USB Mass Storage data integrity not assured > USB Mass Storage device found at 2 > hyperion:~ # > > well, now i'm actually not sure on what to do. > So, i try to mount /dev/sda in /mnt/box > > hyperion:~ # mount /dev/sda /mnt/box > mount: /dev/sda is not a valid block device > > of course dmesg doesn't give me any clue. > what happens if i try to mount without having a CD inserted ? > > hyperion:~ # mount /dev/sda /mnt/box > mount: No medium found > hyperion:~ # > > interesting the kernel message: > > hyperion:~ # dmesg > Device not ready. Make sure there is a disc in the drive. > VFS: Disk change detected on device sd(8,0) > usb-uhci.c: interrupt, status 3, frame# 289 > sda : READ CAPACITY failed. > sda : status = 1, message = 00, host = 0, driver = 08 > Current sd00:00: sns = 70 2 > ASC=3a ASCQ= 0 > Raw sense data:0x70 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 > 0x00 0x3a 0x00 0x00 0x00 0x00 0x00 > sda : block size assumed to be 512 bytes, disk size 1GB. > sda: I/O error: dev 08:00, sector 0 > I/O error: dev 08:00, sector 0 > unable to read partition table > Device not ready. Make sure there is a disc in the drive. > VFS: Disk change detected on device sd(8,0) > sda : READ CAPACITY failed. > sda : status = 1, message = 00, host = 0, driver = 08 > Current sd00:00: sns = 70 2 > ASC=3a ASCQ= 0 > Raw sense data:0x70 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 > 0x00 0x3a 0x00 0x00 0x00 0x00 0x00 > sda : block size assumed to be 512 bytes, disk size 1GB. > sda: I/O error: dev 08:00, sector 0 > I/O error: dev 08:00, sector 0 > unable to read partition table > hyperion:~ # > > my adventure with the CDROM stops with: > > (cd reinserted) > > hyperion:~ # eject -s /dev/sda > > (it ejects the cd) > > hyperion:~ # dmesg > VFS: Disk change detected on device sd(8,0) > sda : unsupported sector size 2352. > SCSI device sda: 0 2352-byte hdwr sectors (0 MB) > usb-uhci.c: interrupt, status 3, frame# 1555 > sda: test WP failed, assume Write Enabled > sda : READ CAPACITY failed. > sda : status = 1, message = 00, host = 0, driver = 08 > Current sd00:00: sns = 70 2 > ASC=3a ASCQ= 0 > Raw sense data:0x70 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 > 0x00 0x3a 0x00 0x00 0x00 0x00 0x00 > sda : block size assumed to be 512 bytes, disk size 1GB. > sda: test WP failed, assume Write Enabled > sda: I/O error: dev 08:00, sector 0 > I/O error: dev 08:00, sector 0 > unable to read partition table > Device not ready. Make sure there is a disc in the drive. > hyperion:~ # > > Any advice on how to proceed ? > QUESTION: "have you tried with different CD?" > ANSWER: of course > > (inserted a CD from a Magazine) > > hyperion:~ # mount /dev/sda /mnt/box > /dev/sda: Input/output error > Segmentation fault > > hyperion:~ # dmesg > VFS: Disk change detected on device sd(8,0) > sda : unsupported sector size 2352. > SCSI device sda: 0 2352-byte hdwr sectors (0 MB) > usb-uhci.c: interrupt, status 3, frame# 1807 > sda: test WP failed, assume Write Enabled > I/O error: dev 08:00, sector 0 > invalid operand: 0000 > CPU: 0 > EIP: 0010:[<c0136b86>] Not tainted > EFLAGS: 00210202 > eax: 0000092f ebx: 00000000 ecx: 00000930 edx: c62c9000 > esi: 00000800 edi: 00000800 ebp: 00000000 esp: c16dfd14 > ds: 0018 es: 0018 ss: 0018 > Process mount (pid: 1600, stackpage=c16df000) > Stack: 00000000 00000800 c16de000 00000930 00000000 c0134e5a 00000800 > 00000000 > 00000930 c16dfdac c191e400 c191e548 c16dfe78 0800fdf4 c0135056 > 00000800 > 00000000 00000930 c16dfe78 c367b9d6 00000800 00000000 00000930 > c191e400 > Call Trace: [<c0134e5a>] [<c0135056>] [<c367b9d6>] [<c01e315e>] > [<c01dd5df>] > [<c01dd8b1>] [<c01dd2ea>] [<c01df782>] [<c01dfe2f>] [<c44d5f3f>] > [<c44d63a0>] > [<c0137e18>] [<c44d6400>] [<c0146cc3>] [<c013828e>] [<c44d6400>] > [<c0147ac8>] > [<c0147e62>] [<c0147cd0>] [<c0147f00>] [<c0106db3>] > > Code: 0f 0b 8b 44 24 20 05 00 fe ff ff 3d 00 0e 00 00 76 02 0f 0b > > hyperion:~ # > > voil�! and, i guess the CD has nothing to do with this problem. It just > gives different output every time > i mount. > If I try to remount it, it waits forever. > > and, more, when I eject it.. > hyperion:~ # eject -s /dev/sda > eject: unable to eject, last error: Device or resource busy > (it ejects) > hyperion:~ # dmesg > Device busy for revalidation (usage=2) > hyperion:~ # > > QUESTION: "have you tried the device on other supported OS?" > ANSWER: "sure. On windows XP the CDROM is available perfectly as soon as > it is plugged" > > ... > well here is the report of my effort with a QUANTUM FIREBALL 8GB HD from > another PC > on which there are several partitions and Operative Sistems (also LILO > on the MBR). > > 1) I tried the HD (MASTER) on Windows XP and it doesn't recognize it. I > guess it's because it's a mixture of > filesistems and Operative systems. I don't use windows and I don't > know how it handles these things. > If you say that experiments worth the try, then I'll try with > different, correctly windows-formatted HD. > > 2) (rebooted the system from the previous try) > > as usually I load usb-storage > > Initializing USB Mass Storage driver... > usb.c: registered new driver usb-storage > USB Mass Storage support registered. > > and i plug > > (no beep) > hyperion:~ # dmesg > hub.c: USB new device connect on bus1/1, assigned device number 2 > scsi0 : SCSI emulation for USB Mass Storage devices > Vendor: EagleTec Model: External Hard Di Rev: 0002 > Type: Direct-Access ANSI SCSI revision: 02 > Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 > SCSI device sda: 16514064 512-byte hdwr sectors (8455 MB) > hyperion:~ # > > well it seems to have recognize the size of the HD > so.. what to do? > > let us look what happens few seconds later: (dmesg) > > usb_control/bulk_msg: timeout > hyperion:~ # > > i really don't know what it means. > > I mount: > > hyperion:~ # mount /dev/sda /mnt/box > (....it waits till the end of the world) > > QUESTION: "hahaha are you tring to mount a HD with 8 partitions and > different FS ? hahaha.." > ANSWER: "well I'm actually not used to mount. what should I do?" > QUESTION: "why don't you fdisk and format the disk?" > ANSWER: "well.. i try with a different, less valuable HD" > > with a 1.2 GB QUANTUM HD that I just bought at the flea market. > It is not reliable, I know. > (reboot) > (load the usb-storage module) > (plug the device) > (no beep) > hyperion:~ # dmesg > hub.c: USB new device connect on bus1/1, assigned device number 2 > scsi0 : SCSI emulation for USB Mass Storage devices > Vendor: EagleTec Model: External Hard Di Rev: 0002 > Type: Direct-Access ANSI SCSI revision: 02 > Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 > SCSI device sda: 2503872 512-byte hdwr sectors (1282 MB) > hyperion:~ # > > as usual > > usb_control/bulk_msg: timeout > hyperion:~ # > hyperion:~ # fdisk /dev/sda > (waits forever) > > ....what do you suggest? > > Thanks in advance for any support. > > Davide Venturelli > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: > The Definitive IT and Networking Event. Be There! > NetWorld+Interop Las Vegas 2003 -- Register today! > http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en > _______________________________________________ > [EMAIL PROTECTED] > To unsubscribe, use the last form field at: > https://lists.sourceforge.net/lists/listinfo/linux-usb-users -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver It was a new hope. -- Dust Puppy User Friendly, 12/25/1998
pgp00000.pgp
Description: PGP signature
