USB drive... /dev/sda1 does not exist! (almost resolved)
I just got a shiny new USB flash drive for my birthday :)
I have read a few articles here, and they all seem to say that a flash drive should be mounted from /dev/sda1 to /mnt/usbflash the only problem is... I don't have /dev/sda1 ! soooooo.... what now? |
I found another thread that said I should modprobe usb-uhci and usbcore and modprobe on both of these failed.
I have a custom compiled 2.6.9 kernel. |
I have the same problem. Except with my mp3 player that I want to mount (iAudio cw300). I found a thread dealing with this but they assumed I had the sda file :(
I'll watch this thread before starting my own as I'm pretty sure that's my one and only problem. |
What is your output from ' lsmod ' when usb drive is plugged in
What is the output from ' fdisk -l ' when usb drive is plugged in What is the outpu from ' cat /proc/scsi/scsi ' when drive is pluugged in I would try loading modules last two will probably be the ones uhci-hcd ohci-hcd ehci-hcd Other modules usb-storage Then try the output from again. Brian1 " Google the Linux way @ http://www.google.com/linux " |
Also, you'll prob want to make sure you have vfat support compiled into your kernel or loaded as a module.
|
2.6.9 uses udev rather than the old devfs, which had some bugs. udev allows for persistent naming, among other things, which I have to say is really cool. There's a good manual on it at http://www.reactivated.net/writing_udev_rules.html
This is what I ended up adding to mine: /etc/udev/rules.d/udev.rules Code:
BUS="usb", SYSFS{serial}="33000000522000004034", KERNEL="sd?1", NAME="%k", SYMLINK="usb1" |
Also, I would imagine Slack has hotplug set up as default (long time since I ran slack..), so try running
Code:
tail -f /var/log/messages |
Re: USB drive... /dev/sda1 does not exist!
Quote:
|
Quote:
|
Code:
dmesg | grep "usb" Code:
usb 4-1: new full speed USB device using address 2 http://www.linuxquestions.org/questi...ghlight=iAudio The guy in that thread trying to connect his mp3 player is having the same problem as I :( |
What you should try is the following:
Code:
su - Code:
tail -f /var/log/messages Plugin your USB device If all goes as it should, something similar as below should be appended to the /var/log/messages file: Code:
usb 4-2: new full speed USB device using address 2 Can you post the last lines from /var/log/messages after you've followed the above description? Regards -- Regulus |
thanks for all the replies, guys!
ok, so I just plugged the drive in, ran `tail -f /var/log/messages` (as root of course) and got: Code:
Jan 2 17:22:16 solomonsdesk udev[14966]: removing device node '/dev/sda1' The output of lsmod looks like this: Code:
Module Size Used by I thought I'd also look at dmesg's output and got this: Code:
dmesg | grep usb my udev file contains the following lines about USB Code:
cat /etc/udev/rules.d/udev.rules | grep usb ...oh, and drj000, your fdisk trick did not seem to do anything, but I don't even have a /dev/sda |
Quote:
Have you tried a reboot? It may be that, while you were trying to fix the problem, something went wrong that's bugging you now. A reboot may clear you of those bugs. After rebooting try it again, and post the output of /var/log/messages again (preferentially from the moment you attached the device, as it may give information about what's wrong). Success -- Regulus |
Regulus: the computer has been rebooted since yesterday when I first discovered the3 problem and today when I tried to do stuff again. But since I only was passive today (reading logs, etc...) nothing I have done would have had an effect, so rebooting would probably not do much. I will be rebooting again in 5 minutes to switch to windows, but I doubt when I boot back into linux anything will change :(
|
Got a thought here Lord Zoltar. Kernel 2.6.9 is not very good at USB. Can not see some deivces that a 2.6.7 kernel did. Suggest you try an older kernel if you still have installed or try 2.6.10-rc2. Any release of 2.6.9.* did not see my MP3 Player. 2.6.7.rc2 did with no problem. Moved onto 2.6.10-rc2 and no problems again.
Brian1 " Google the Linux way @ http://www.google.com/linux " |
All times are GMT -5. The time now is 07:50 AM. |