LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-04-2006, 07:22 PM   #1
mago
Member
 
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with 2.6.16.18 (still off the hook)
Posts: 284

Rep: Reputation: 33
No /dev/sda or /dev/sda1


Hello,

Ok this one got me.

I usually have this on the fstab to make the usb key working:
Code:
/dev/sda1    /mnt/key    noauto,noatime,sync,users   0   0
But is not working, I just update to slackware current and I'm running kernel 2.6.16.18.

The dmesg shows this when I plug the key in:
Code:
usb 1-1: new high speed USB device using ehci_hcd and address 3
usb 1-1: configuration #1 chosen from 1 choice
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
  Vendor: SanDisk   Model: Cruzer Mini       Rev: 0.1 
  Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sda: 2001888 512-byte hdwr sectors (1025 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 2001888 512-byte hdwr sectors (1025 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
 sda: sda1
sd 2:0:0:0: Attached scsi removable disk sda
sd 2:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete
If I go to ls on /dev, I can see all de sda devices from sda2-sda15 but no sda1, ergo I cannot mount the device, tried with sg0 as well and no luck.

Please advice, no idea what is going on.

I do have compiled the usb-storage on the kernel and not as a module, as you can see on the dmesag.
 
Old 06-04-2006, 07:43 PM   #2
wini_g
Member
 
Registered: Jun 2003
Distribution: SuSE 11.0
Posts: 171

Rep: Reputation: 30
Stupid question - but are you specifing the filesystem in your fstab ?
 
Old 06-04-2006, 07:45 PM   #3
mago
Member
 
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with 2.6.16.18 (still off the hook)
Posts: 284

Original Poster
Rep: Reputation: 33
Yes of course, my bad...

The actual line in fstab is:
Code:
/dev/sda1   /mnt/key    vfat    noauto,noatime,users,sync 0 0
 
Old 06-04-2006, 08:10 PM   #4
wini_g
Member
 
Registered: Jun 2003
Distribution: SuSE 11.0
Posts: 171

Rep: Reputation: 30
What about all that automount etc - stuff in kernel & "userland" stuff which does such things as well ? ...

(limited knowledge on my part) (clearly shows kernel devs cant be of a social profession - the world outwidth the kernel - the userland - beware the badlands ) ... like I'm just poking the uncertainty fog which might just be a clue for a possible answer 8)

Last edited by wini_g; 06-04-2006 at 08:11 PM.
 
Old 06-04-2006, 08:12 PM   #5
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 1,754

Rep: Reputation: 169Reputation: 169
Quote:
Originally Posted by mago
If I go to ls on /dev, I can see all de sda devices from sda2-sda15 but no sda1
That is extremely strange.

Could you please post the exact output of
Code:
ls -la /dev/sd*
and
Code:
ls -la /dev/ub*
while the USB key is inserted.

If you haven't got other SCSI disks in your system, inserting a USB key should yield:

/dev/sda
/dev/sda1

or

/dev/ub
/dev/ub1

If you're not getting either of those, then I'd suggest that you have probably made a mistake while configuring your kernel.
 
Old 06-04-2006, 08:12 PM   #6
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,091

Rep: Reputation: 45
dunno if this will help, but mine used to be /dev/sdb1, and once i upgraded to a 2.6 kernel, it switched to sde1. you might wanna try out some different variations....
 
Old 06-04-2006, 08:13 PM   #7
Ilgar
Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware 14.1, Slackware64 14.1
Posts: 924

Rep: Reputation: 93
The same happened to me. Just make /etc/rc.d/rc.udev executable. The latest updatates include one to udev, that is the reason.
 
Old 06-04-2006, 08:14 PM   #8
mago
Member
 
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with 2.6.16.18 (still off the hook)
Posts: 284

Original Poster
Rep: Reputation: 33
The funny thing is that the dmesg shows sda1 as the recognized device
 
Old 06-04-2006, 08:16 PM   #9
Ilgar
Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware 14.1, Slackware64 14.1
Posts: 924

Rep: Reputation: 93
Yes, in my case it was sdb1,it was missing in /dev/ (and only sdb1, not others). An executable rc.udev did the job.
 
Old 06-08-2006, 11:12 AM   #10
mago
Member
 
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with 2.6.16.18 (still off the hook)
Posts: 284

Original Poster
Rep: Reputation: 33
Thanks llgar that did the trick indeed!
 
  


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
USB drive... /dev/sda1 doesn't show unless I try mounting /dev/sda as vfat finite Linux - Hardware 8 03-10-2009 12:52 AM
no /dev/sda or sda1 RoaCh Of DisCor Slackware 28 02-12-2006 11:10 AM
Grub Dual Boot /dev/sda1 /dev/hda1 jono268 Debian 4 01-14-2005 04:54 AM
/dev/sda and /dev/sda1 disappeared using sii3112A striderstrahan Linux - Software 0 09-16-2004 05:00 AM
USB Compact flash card reader hotplug creates /dev/sda but no /dev/sda1 -Mandrake 9.1 bibinono Linux - Hardware 2 08-11-2003 09:37 AM


All times are GMT -5. The time now is 03:15 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration