LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-27-2004, 05:41 AM   #1
dbertolo
LQ Newbie
 
Registered: Aug 2004
Location: Switzerland
Distribution: SuSE (office), Gentoo (home)
Posts: 7

Rep: Reputation: 0
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
 
Old 08-27-2004, 09:52 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,988

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
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.
 
Old 08-27-2004, 10:43 AM   #3
dbertolo
LQ Newbie
 
Registered: Aug 2004
Location: Switzerland
Distribution: SuSE (office), Gentoo (home)
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
Old 09-03-2004, 04:12 PM   #4
nielchiano
Member
 
Registered: Feb 2004
Location: 50N 3E
Distribution: Gentoo
Posts: 64

Rep: Reputation: 15
anything on this? I have exactly the same problem
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB Mass Storage Daniboy Linux - Software 10 09-12-2005 08:30 AM
USB Mass storage. vexer Linux - Software 2 09-05-2004 09:00 PM
USB mass storage Roy-Svork Linux - Hardware 9 09-24-2003 04:34 PM
USB Mass Storage Zebee Linux - Hardware 2 08-03-2003 08:17 PM
usb mass storage mohapi Linux - Hardware 3 06-03-2003 12:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration