LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 11-08-2006, 10:36 PM   #1
naveen
LQ Newbie
 
Registered: Jul 2003
Location: Lexington, KY, US
Distribution: Slackware 10, 2.4.33.3
Posts: 11

Rep: Reputation: 0
Question System freezes when Cruzer Micro is plugged in


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.


Thanks
Naveen
 
Old 11-08-2006, 11:03 PM   #2
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
IT is not loading the drive automatically to something like /dev/sdb1 etc.

Why dont you upgrade to kernel 2.6.*? That upgrade really solved many such problems for me.
 
Old 11-09-2006, 08:43 PM   #3
naveen
LQ Newbie
 
Registered: Jul 2003
Location: Lexington, KY, US
Distribution: Slackware 10, 2.4.33.3
Posts: 11

Original Poster
Rep: Reputation: 0
I had already added the following three lines in /etc/fstab:

/dev/sda1 /mnt/usb1 vfat noauto,owner 0 0
/dev/sda2 /mnt/usb2 vfat noauto,owner 0 0
/dev/sda3 /mnt/usb3 vfat noauto,owner 0 0



Naveen
 
Old 11-09-2006, 11:03 PM   #4
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
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.

Did you try putting the new kernel?
 
Old 11-10-2006, 10:31 PM   #5
naveen
LQ Newbie
 
Registered: Jul 2003
Location: Lexington, KY, US
Distribution: Slackware 10, 2.4.33.3
Posts: 11

Original Poster
Rep: Reputation: 0
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.
 
  


Reply



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
Loss of USB 2.0 using Cruzer Micro/Skins daemon_14 Linux - Hardware 0 03-13-2006 12:02 PM
when ac adaptor not plugged in my laptop freezes martial Linux - Hardware 4 02-12-2006 07:11 AM
booting off of Sandisk Cruzer Micro PiLgRiM Feather 22 06-02-2005 07:23 PM
System freezes during boot with USB device plugged in. dhrivnak Slackware 3 10-31-2003 08:55 PM
RH freezes when network card is plugged in pilot1 Linux - Networking 4 12-17-2002 01:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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