Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-14-2006, 06:58 AM
|
#1
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,492
Rep:
|
udev .071, usb drives
Hello,
I'm running a current version of slackware with:
kernel 2.6.16.15 (built myself)
udev-071-i486-1
When i plug in a usb pen drive two things are not happening:
1) the light on the drive doesn't come on
2) no device is created in /dev/
however, the device is listed in "lsusb". And a new file called "usbdev1.5" is created in /dev
I am wondering what the situation is with usb drives etc now with this version of udev and new kernel.... Do I have to change my udev rules or something. Or could it be a kernel problem (ehci and ohci are loaded as kernel modules).
:wq
|
|
|
05-14-2006, 07:50 AM
|
#2
|
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545
Rep:
|
Heh, nice sign off
First up, udev 071 (unless it's a typo) is quite outdated. I'd start by updating to 091, the rules syntax has changed so I'd start with the default and go from there, maybe the problem you're having has been fixed or a behaviour has changed since then.
|
|
|
05-14-2006, 10:10 AM
|
#3
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,492
Original Poster
Rep:
|
thanks!
071 is from current so i assuming it's pretty much working... I'm not sure what this is with udev now. Where does hot plug come into this. Linux is so bad in this area, you feel like you're pulling your hair out sometimes... anyway....
i'm really confused..........
|
|
|
05-14-2006, 10:23 AM
|
#4
|
Member
Registered: Nov 2003
Distribution: slackware 15
Posts: 546
Rep:
|
The problem should come from some modules missing
While compiling the new kernel you probably forgot to compile these modules (may be only some of them)
sg
sd_mod
usb_storage
Ciao
|
|
|
05-14-2006, 10:24 AM
|
#5
|
Member
Registered: Dec 2005
Location: UK
Distribution: Slackware 12.1
Posts: 249
Rep:
|
Have you checked the permissions of '/etc/rc.d/rc.udev' and made sure that it is 'executable'?.
It is NOT executable by default in Slackware-current.
|
|
|
05-14-2006, 10:28 AM
|
#6
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,492
Original Poster
Rep:
|
sd??? what's that.
of course i did include usb mass storage support........
help i'm being tempted by debian and getting really angry at slackware more and more...
|
|
|
05-14-2006, 11:08 AM
|
#7
|
Member
Registered: Nov 2003
Distribution: slackware 15
Posts: 546
Rep:
|
Quote:
Originally Posted by satinet
sd??? what's that.
of course i did include usb mass storage support........
help i'm being tempted by debian and getting really angry at slackware more and more...
|
sd_mod and sg is the name of the modules you should have compiled either built in or as loadable module.
They enable scsi_generic (sg) and scsi_disks (sd_mod).
If you find Slackware is boring you can give a try to Debian.. why not.
Ciao
|
|
|
05-14-2006, 11:26 AM
|
#8
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,492
Original Poster
Rep:
|
Maybe it's just a phase ;-)
anyway, i have included support of generic scsi and scsi disks.
here's the output of dmesg pertaining to the usb drive:
Quote:
usb 1-2: new high speed USB device using ehci_hcd and address 3
usb 1-2: configuration #1 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: CRUCIAL Model: USB2.0Flash Disk Rev: 2.00
Type: Direct-Access ANSI SCSI revision: 02
usb-storage: device scan complete
|
so that's seems fine....
and it's in "lsusb" of course.
but in dev...
ls -lsrt /dev/ | tail -n 5
this is created:
Quote:
0 crw-rw---- 1 root root 189, 2 2006-05-14 17:23 usbdev1.3
|
has anyone got or seen that before???
|
|
|
05-14-2006, 12:46 PM
|
#9
|
Member
Registered: Nov 2003
Distribution: slackware 15
Posts: 546
Rep:
|
They rely on usb controllers.
have you tryied
udevinfo -q path -n /dev/sda1
and then
udevinfo -a -p /output/of/previous/command/
May be this can clarify
Ciao
|
|
|
05-14-2006, 02:45 PM
|
#10
|
Member
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346
Rep: 
|
Quote:
Originally Posted by satinet
anyway, i have included support of generic scsi and scsi disks.
|
What about usb_storage (called USB Mass Storage Support in menuconfig)?
|
|
|
05-15-2006, 03:39 AM
|
#11
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,492
Original Poster
Rep:
|
yes i have included that - see above....
thanks anyway
|
|
|
05-15-2006, 03:45 AM
|
#12
|
Senior Member
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802
Rep:
|
Do you have a usbfs entry in /etc/fstab? Should look something like this:
usbfs /proc/bus/usb usbfs user,defaults 0 0
|
|
|
05-15-2006, 04:54 AM
|
#13
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,492
Original Poster
Rep:
|
yeah i do have that..... seems a unique problem to me!
does anyone else get deives like "usbdev1.5" and "usbdev2.2" listed in /dev??
|
|
|
05-15-2006, 11:24 AM
|
#14
|
Member
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346
Rep: 
|
Hmm yeah, my bad about not noticing. Try 'mknod /dev/sda1 b 8 1' and then try to mount it as 'mount -t vfat /dev/sda1 /where/you/want'.
Does it work?
|
|
|
All times are GMT -5. The time now is 03:35 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|