LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   USB mass storage broken after switch to native SATA (https://www.linuxquestions.org/questions/linux-hardware-18/usb-mass-storage-broken-after-switch-to-native-sata-223007/)

dbertolo 08-27-2004 05:41 AM

USB mass storage broken after switch to native SATA
 
Hi

I am using Gentoo (gentoo-dev-sources-2.6.8-r3). Today, I switched from compatible ATA-mode to native S-ATA (my harddisc was /dev/hdc, now is /dev/sda). But now, USB mass storage does not work anymore. Here is, what I got in messages (debugging enabled):

Aug 27 12:33:24 mytux usb 3-1: new full speed USB device using address 2
Aug 27 12:33:24 mytux usb-storage: USB Mass Storage device detected
Aug 27 12:33:24 mytux usb-storage: altsetting is 0, id_index is 94
Aug 27 12:33:24 mytux usb-storage: -- associate_dev
Aug 27 12:33:25 mytux usb-storage: Transport: Bulk
Aug 27 12:33:25 mytux usb-storage: Protocol: Transparent SCSI
Aug 27 12:33:25 mytux usb-storage: Endpoints: In: 0xdfdef994 Out: 0xdfdef980 Int: 0x00000000 (Period 0)
Aug 27 12:33:25 mytux usb-storage: usb_stor_control_msg: rq=fe rqtype=a1 value=0000 index=00 len=1
Aug 27 12:33:25 mytux usb-storage: GetMaxLUN command result is 0, data is 0
Aug 27 12:33:25 mytux usb-storage: storage_probe() failed
Aug 27 12:33:25 mytux usb-storage: -- usb_stor_release_resources
Aug 27 12:33:25 mytux usb-storage: -- dissociate_dev
Aug 27 12:33:25 mytux usb-storage: probe of 3-1:1.0 failed with error -1
Aug 27 12:39:38 mytux usb 3-1: USB disconnect, address 2

Without using native S-ATA, the device gets detected and configured as /dev/sda.

Thanks for help,
Daniel

kilgoretrout 08-27-2004 09:52 AM

Well the usb storage will be /dev/sdb now, at least it is on mine when I changed to sata. Did you change your fstab entry for the device to /dev/sdbx? With the device connected try running:

# fdisk -l /dev/sdb

and see if the device partitions are picked up on sdb. Also, post your fstab.

dbertolo 08-27-2004 10:43 AM

fdisk -l /dev/sdb does not show anything as the device does not exist at all (see /var/log/message output above). It is definitely not a FS or partition related problem but actually a kernel problem. The device will not be created when the system detects it.

Here my fstab:

/dev/sda1 /boot ext2 noatime 1 2
/dev/sda3 / reiserfs noatime 0 1
/dev/sda2 none swap sw 0 0
/dev/sda4 /home reiserfs noatime 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
/dev/sdb1 /mnt/camera auto noauto,user 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
none /proc/bus/usb usbfs defaults 0 0

Should be fine.

I will check my kernel config again. But thank you for more ideas where to look at.

Daniel

nielchiano 09-03-2004 04:12 PM

anything on this? I have exactly the same problem


All times are GMT -5. The time now is 05:31 PM.