LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 07-20-2005, 03:58 PM   #1
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Rep: Reputation: 30
WTF? Where'd my HD go?


I've got Slackware 10.1, and I've got an external HD that I hook up every so often. The other day I was dorking around in GIMP and tried to save my pic and - whoops! - I can't write to the drive. My non-storage USB devices (mouse and trackball) work just fine but my external HD and my flash USB drive ("thumb drive", as some people call it") don't. The flash drive never worked before as far as reading and writing, but it DID show up in /dev. Now neither my external HD or my thumb drive show up in /dev. They DO, however, show up in "lsusb" and /proc.

Any ideas? I did upgrade to the 2.6.12.3 kernel, but I also have this problem with the 2.6.10 kernel that comes with Slackware. Haven't tried the old 2.4 kernel, though.
 
Old 07-20-2005, 04:16 PM   #2
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Original Poster
Rep: Reputation: 30
Nope, doesn't work in 2.4 either. It must be a software issue then.
 
Old 07-20-2005, 04:41 PM   #3
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Original Poster
Rep: Reputation: 30
Well, if no one else knows what to do, then I'll just back up my files to my secondary INTERNAL HD and reinstall. I did updates recently, so maybe a new piece of software broke the system.
 
Old 07-20-2005, 05:43 PM   #4
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You have to mount the storage devices before using them. The USB storage devices will be under /dev/sda..../dev/sdz with the partition number. Look in the man pages for mount.

You can not bump your message before 24 hours.
 
Old 07-20-2005, 11:00 PM   #5
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Original Poster
Rep: Reputation: 30
Quote:
You have to mount the storage devices before using them. The USB storage devices will be under /dev/sda..../dev/sdz with the partition number. Look in the man pages for mount.
I understand that. What I'm saying is that they've disappeared from /dev/. There is no /dev/sda, sda1, sdb. . . none of that. And I understand that one of the features in some of the 2.6 kernels uses /dev/uba, /dev/uba1, etc. However, there is absolutely nothing representative of my USB storage devices in /dev. It's there in /proc/scsi, though.

And I already did reinstall and, as I suspected, everything was OK until I ran system updates with swaret. That doesn't really solve anything, though, because I don't want to just never do system updates. I wasn't saying that I was going to "bump" my message, I was just saying that I was going to try and see if the updates were what caused the problem - I'd also installed other things and made other changes in between when I last had the other drive hooked up. Now that I know for sure the updates did it, I still have to figure out what software might do this and what to do about not being able to update it.
 
Old 07-21-2005, 12:49 AM   #6
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Original Poster
Rep: Reputation: 30
I fixed it!

If anyone else is having this problem, here's how I fixed it:
I went to /var/swaret and installed the devs package using "installpkg"

Code:
installpkg devs-2.3.1-noarch-22.tgz
This puts special files in your /dev directory that are supposed to represent your system's hardware.
Then, I "cd"'d back to /dev and ran the MAKEDEV tool

Code:
cd /dev
./MAKEDEV
 
Old 07-22-2005, 01:05 PM   #7
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
If ub is enable in kernel version 2.6.x, you will have more problems. The ub module is useless. It is better to usb storage from SCSI.

You could use mknod to make the device node because that only works with Slackware. However udev should be making the devices.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Where'd they go? Jaster Debian 4 11-16-2004 06:29 PM
Where'd it go? mrde50garfield Mandriva 0 07-07-2004 06:12 PM
Where'd it go? rhraz Linux - Software 3 02-11-2004 12:02 AM
Now you see it, um...where'd it go? GhostInDarkness Red Hat 1 11-06-2003 02:00 PM
re: where'd my cdrom go? ergo_sum Linux - Hardware 25 10-27-2003 08:13 PM

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

All times are GMT -5. The time now is 06:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration