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.
As soon as I plug in my new Sandisk Cruzer Micro 1GB (U3) drive, the system freezes.
The dmesg output given below shows the result from starting the system and connecting the flash drive. The hotplug feature seems to detect the drive automatically. The kernel is not throwing any messages after the device is connected, as shown below in the final messages before restart.
System:
Slackware 10
Kernel 2.4.33.3
3 USB Slots
dmesg shows:
kernel: usb.c: registered new driver usbdevfs
kernel: usb.c: registered new driver hub
kernel: Initializing USB Mass Storage driver...
kernel: usb.c: registered new driver usb-storage
kernel: USB Mass Storage support registered.
(...)
kernel: PCI: Found IRQ 10 for device 00:12.0
kernel: PCI: Sharing IRQ 10 with 00:0b.2
kernel: eth0: NatSemi DP8381[56] at 0xd4a60000, 00:0f:20:c9:6e:e9, IRQ 10.
kernel: PCI: Found IRQ 10 for device 00:0b.2
kernel: PCI: Sharing IRQ 10 with 00:12.0
kernel: ehci_hcd 00:0b.2: VIA Technologies, Inc. USB 2.0
kernel: ehci_hcd 00:0b.2: irq 10, pci mem d4a6a000
kernel: usb.c: new USB bus registered, assigned bus number 1
kernel: ehci_hcd 00:0b.2: USB 2.0 enabled, EHCI 0.95, driver 2003-Dec-29/2.4
kernel: Manufacturer: Linux 2.4.33.3 ehci_hcd
kernel: Product: VIA Technologies, Inc. USB 2.0
kernel: SerialNumber: 00:0b.2
kernel: hub.c: USB hub found
kernel: hub.c: 4 ports detected
kernel: eth0: autonegotiation did not complete in 4000 usec.
default.hotplug[188]: arguments (usb) env (DEVFS=/proc/bus/usb OLDPWD=/ PATH=/bin:/sbin:/
usr/sbin:/
usr/bin ACTION=add PWD=/etc/hotplug HOME=/ SHLVL=2 DEVICE=/proc/bus/usb/001/001 PRODUCT=0/
0/204 TYPE=9/0/1 DEBUG=kernel _=/u
sr/bin/env)
default.hotplug[188]: invoke /etc/hotplug/usb.agent ()
kernel: uhci.c: USB Universal Host Controller Interface driver v1.1
kernel: PCI: Found IRQ 10 for device 00:0b.0
kernel: uhci.c: USB UHCI at I/O 0x2000, IRQ 10
kernel: usb.c: new USB bus registered, assigned bus number 2
kernel: uhci.c: detected 2 ports
kernel: Product: USB UHCI-alt Root Hub
kernel: SerialNumber: 2000
kernel: hub.c: USB hub found
kernel: hub.c: 2 ports detected
kernel: PCI: Found IRQ 10 for device 00:0b.1
kernel: PCI: Sharing IRQ 10 with 00:09.0
kernel: uhci.c: USB UHCI at I/O 0x2020, IRQ 10
default.hotplug[217]: arguments (usb) env (DEVFS=/proc/bus/usb OLDPWD=/ PATH=/bin:/sbin:/
usr/sbin:/
usr/bin ACTION=add PWD=/etc/hotplug HOME=/ SHLVL=2 DEVICE=/proc/bus/usb/002/001 PRODUCT=0/
0/0 TYPE=9/0/0 DEBUG=kernel _=/usr
/bin/env)
default.hotplug[217]: invoke /etc/hotplug/usb.agent ()
kernel: usb.c: new USB bus registered, assigned bus number 3
kernel: uhci.c: detected 2 ports
kernel: Product: USB UHCI-alt Root Hub
kernel: SerialNumber: 2020
kernel: hub.c: USB hub found
kernel: hub.c: 2 ports detected
default.hotplug[234]: arguments (usb) env (DEVFS=/proc/bus/usb OLDPWD=/ PATH=/bin:/sbin:/
usr/sbin:/
sr/bin ACTION=add PWD=/etc/hotplug HOME=/ SHLVL=2 DEVICE=/proc/bus/usb/003/001 PRODUCT=0/
0/0 TYPE=9/0/0 DEBUG=kernel _=/usr
/bin/env)
default.hotplug[234]: invoke /etc/hotplug/usb.agent ()
(...)
kernel: shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
kernel: pci_hotplug: PCI Hot Plug PCI Core version: 0.5
kernel: pciehp: PCI Express Hot Plug Controller Driver version: 0.5
usb.agent[234]: ... no modules for USB product 0/0/0
usb.agent[217]: ... no modules for USB product 0/0/0
usb.agent[188]: Setup usbcore for USB product 0/0/204[/SIZE][/FONT][/FONT][/FONT][/FONT]
The last few messages before I shut the power down are:
20:06:09 identity logger: /etc/rc.d/rc.hotplug start (exiting script)
20:06:10 identity sshd[1300]: Server listening on 0.0.0.0 port 22.
20:06:10 identity named[1304]: starting BIND 9.2.3
20:06:10 identity named[1304]: using 1 CPU
20:06:10 identity named[1304]: loading configuration from '/etc/named.conf'
20:06:10 identity named[1304]: no IPv6 interfaces found
20:06:10 identity named[1304]: listening on IPv4 interface lo, 127.0.0.1#53
20:06:10 identity named[1304]: command channel listening on 127.0.0.1#953
20:06:11 identity named[1304]: zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
20:06:11 identity named[1304]: zone localhost/IN: loaded serial 42
20:06:11 identity named[1304]: running
20:09:51 identity syslogd 1.4.1: restart.
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054
Rep:
no dont do that ...
What I do is check in dmesg where Slackware is mounting the USB device .. (like sda1) and then mount it /dev/sda1 to some folder on my drive. That FSTAB thing is a pain.
dmesg tells me absolutely nothing after I plug the USB in. Nothing is putout.
I cannot change my kernel to 2.6, coz I had started some work on filesystem code for ext2 for 2.4 sometime back. I was trying to use the drive as the partition where I can do some experiments.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.