SlackwareThis 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.
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.
It's Slackware 11 with custom 2.6.21.1 kernel. My udev is hanging up my system, so I turned it off. I managed to mount usb flash disk for the first time with next command:
Code:
#mount -t vfat /dev/sdb1 /mnt/flash
After that I can't mount it anymore. As I wrote my udev is making problems, so I'm loading usb-storage and ehci-hcd modules on boot. When I type same command, this is what I get:
Code:
#mount -t vfat /dev/sdb1 /mnt/flash
mount: special device /dev/sdb1 does not exist
I checked /dev but there is no sdb1 node, although my dmesg shows this:
Code:
Initializing USB Mass Storage driver...
scsi5 : SCSI emulation for USB Mass Storage devices
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
scsi 5:0:0:0: Direct-Access JetFlash TS1GJF130 8.07 PQ: 0 ANSI: 2
SCSI device sdb: 2007038 512-byte hdwr sectors (1028 MB)
sdb: Write Protect is off
sdb: Mode Sense: 03 00 00 00
sdb: assuming drive cache: write through
SCSI device sdb: 2007038 512-byte hdwr sectors (1028 MB)
sdb: Write Protect is off
sdb: Mode Sense: 03 00 00 00
sdb: assuming drive cache: write through
sdb: sdb1
sd 5:0:0:0: Attached scsi removable disk sdb
sd 5:0:0:0: Attached scsi generic sg1 type 0
usb-storage: device scan complete
Also lsusb output:
Code:
Bus 001 Device 002: ID 058f:6387 Alcor Micro Corp.
Bus 001 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 003: ID 05e3:1205 Genesys Logic, Inc. Afilias Optical Mouse H3003
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
As I said I mounted it for the first time in exactly same way, but now it is not working. Any ideas?
Hotplug also hangs system. I've upgraded udev with package from Slackware-current and it works now just fine. Now I can mount usb flash without any problems.
I don't want to open new topic, but after upgrading udev I get next messages on boot:
Code:
/ect/rc.d/rc.M: line 93: /dev/.udev/failed/devices@pci0000:00@0000:00:00.0/uevent: Not a directory
/ect/rc.d/rc.M: line 93: /dev/.udev/failed/devices@pci0000:00@0000:00:01.0/uevent: Not a directory
/ect/rc.d/rc.M: line 93: /dev/.udev/failed/devices@pci0000:00@0000:00:01.1/uevent: Not a directory
/ect/rc.d/rc.M: line 93: /dev/.udev/failed/devices@pci0000:00@0000:00:01.1@ide0@0.0/uevent: Not a directory
/ect/rc.d/rc.M: line 93: /dev/.udev/failed/devices@pci0000:00@0000:00:01.1@ide1@1.0/uevent: Not a directory
/ect/rc.d/rc.M: line 93: /dev/.udev/failed/devices@pci0000:00@0000:00:02.0/uevent: Not a directory
/ect/rc.d/rc.M: line 93: /dev/.udev/failed/devices@pci0000:00@0000:00:03.0/uevent: Not a directory
/ect/rc.d/rc.M: line 93: /dev/.udev/failed/devices@pci0000:00@0000:00:04.0/uevent: Not a directory
/ect/rc.d/rc.M: line 93: /dev/.udev/failed/devices@pci0000:00@0000:00:06.0@usb1@1-0:1.0/uevent: Not a directory
/ect/rc.d/rc.M: line 93: /dev/.udev/failed/devices@platform@floppy.0/uevent: Not a directory
/ect/rc.d/rc.M: line 93: /dev/.udev/failed/devices@platform@i8042/uevent: Not a directory
/ect/rc.d/rc.M: line 93: /dev/.udev/failed/devices@platform@i8042@serio0/uevent: Not a directory
/ect/rc.d/rc.M: line 93: /dev/.udev/failed/devices@platform@pcspkr/uevent: Not a directory
/ect/rc.d/rc.M: line 93: /dev/.udev/failed/devices@platform@serial8250/uevent: Not a directory
/ect/rc.d/rc.M: line 93: /dev/.udev/failed/devices@platform@vesafb.0/uevent: Not a directory
udev and hotplug should not be hanging your system. I think you may have made a mistake when compiling the kernel. Try the kernel compile guide and slackbook (in my sig).
udev and hotplug should not be hanging your system. I think you may have made a mistake when compiling the kernel. Try the kernel compile guide and slackbook (in my sig).
How did you compile it ?
Udev and hotplug hanged my system (it is Toshiba Satellite A100-153; check this link's Installation section http://home.comcast.net/~fbui/Linux-on-ToshibaA105.html) before custom kernel (on test26.s - 2.6.18), so I don't think that custom kernel is problem. Right now udev, after upgrade from Slackware-current, is working fine (except those error messages on boot, above) and hotplug service is off.
The udev package from -current expects different rule syntax and different location of starting udevd in the init scripts. If you're going to use packages from -current, you need to do a full upgrade to -current.
As to why it's not working on 11.0 with stock 11.0 udev package, it's likely a kernel config problem. Reproduce the issue with the stock 2.6.17.13 kernel from /extra on 11.0 and we'll go from there.
The udev package from -current expects different rule syntax and different location of starting udevd in the init scripts. If you're going to use packages from -current, you need to do a full upgrade to -current.
As to why it's not working on 11.0 with stock 11.0 udev package, it's likely a kernel config problem. Reproduce the issue with the stock 2.6.17.13 kernel from /extra on 11.0 and we'll go from there.
This is what happens with stock 11.0 kernel and udev package on boot:
Code:
cs: IO port probe 0xc00-0xcff : clean
cs: IO port probe 0x820-0x8ff : clean
cs: IO port probe 0x800-0x80f <-- hangs on this line
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.