Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/dev/sda doesn't appear anymore
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
demon_cleaner
n00b
n00b


Joined: 31 Jul 2003
Posts: 2
Location: Switzerland

PostPosted: Thu Aug 10, 2006 10:50 pm    Post subject: /dev/sda doesn't appear anymore Reply with quote

Hello there,
(Well if someone cares, a little introduction, since this is my first post... I started using Gentoo about 3 years ago, after trying out a variety of other OSS-OSs and liked it a lot. Had to try Arch Linux in between, but switched back to Gentoo in april, which, until now, was running quite fine, I didn't come across any problems, that I couldn't find a solution to, or if I didn't, at least Google did ;)... By the way: I use my computer mostly for audio stuff, a bit of recording, synthesis, and sample recording / playback)

I recently upgraded my system (i.e. emerge -upvD system) after a bit of time of not really updating it, and now I can't use my USB 2-mass storage device anymore (an iAudio X5 media player). I'm not sure, wether this is connected to the minor udev upgrade from the end of june, I could not explain it in any other way...

Anyway, the kernel seems to be able to connect to the player, the output of of dmesg | tail is:
Code:
usb 1-4: new high speed USB device using ehci_hcd and address 3
usb 1-4: configuration #2 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
  Vendor: TOSHIBA   Model: MK6006GAH         Rev: BY00
  Type:   Direct-Access                      ANSI SCSI revision: 00
usb-storage: device scan complete


and /proc/scsi/scsi contains the following:
Code:
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: TOSHIBA  Model: MK6006GAH        Rev: BY00
  Type:   Direct-Access                    ANSI SCSI revision: 02


So that seems to be quite ok. But there are no more /dev/sda devices created, when I attach the thing.
I'm still running 2.6.16-rt23, but I didn't recompile the kernel recently, so it should have nothing to do with that.

Does anyone have an idea what this may be?
Back to top
View user's profile Send private message
troymc
Guru
Guru


Joined: 22 Mar 2006
Posts: 553

PostPosted: Thu Aug 10, 2006 11:27 pm    Post subject: Reply with quote

What you appear to be missing there is the SCSI disk driver loading & configuring the device. After the USB-storage driver finishes, you should see more messages like this:
Code:

usb-storage: device scan complete
  Vendor: CREATIVE  Model: NOMAD MuVo NX     Rev: 0001
  Type:   Direct-Access                      ANSI SCSI revision: 04
SCSI device sde: 249856 512-byte hdwr sectors (128 MB)
sde: Write Protect is off
sde: Mode Sense: 03 00 00 04
sde: assuming drive cache: write through
SCSI device sde: 249856 512-byte hdwr sectors (128 MB)
sde: Write Protect is off
sde: Mode Sense: 03 00 00 04
sde: assuming drive cache: write through
 sde: sde1
sd 5:0:0:0: Attached scsi removable disk sde
usb-storage: device scan complete


Try modprobing sd [the SCSI disk driver] before inserting the USB device.


troymc
Back to top
View user's profile Send private message
demon_cleaner
n00b
n00b


Joined: 31 Jul 2003
Posts: 2
Location: Switzerland

PostPosted: Fri Aug 11, 2006 10:18 pm    Post subject: Reply with quote

Thank you. modprobe sd-mod solved the problem. I can't remember, that I had to do this before, though, but thanks...
(Could this have to do with some udev configuration stuff? I don't really know anything about udev, so far my system was running fine without me having to look at it any closer, so I thought that's a possibility...)
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Tue Sep 12, 2006 12:25 pm    Post subject: Reply with quote

I have the same problem ... for some reason, sd_mod is not loaded automatically anymore. Reason unknown. Workaround is adding it to modules.autoload.d or compiling it directly into the kernel.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum