LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 04-28-2005, 04:26 AM   #1
felip3
LQ Newbie
 
Registered: Apr 2005
Location: Catalunya, Milky Way
Distribution: Mandriva LE2005
Posts: 3

Rep: Reputation: 0
System hangs after USBkey disconnect


I mount without any problem my USBkey, and I can work with it, but when I disconnect it, the system hangs (I can't use the mouse or the keyboard) and I have to restart the PC.

I'm using Mandriva LE2005 with kernel 2.6.11-7.mm.3mdkenterprise.
Next there is a extract of the system log.
Any suggestions?


Apr 28 10:43:02 aaaa kernel: usb 5-8: new high speed USB device using ehci_hcd and address 2
Apr 28 10:43:02 aaaa kernel: Initializing USB Mass Storage driver...
Apr 28 10:43:02 aaaa kernel: scsi2 : SCSI emulation for USB Mass Storage devices
Apr 28 10:43:03 aaaa kernel: usbcore: registered new driver usb-storage
Apr 28 10:43:03 aaaa kernel: USB Mass Storage support registered.
Apr 28 10:43:07 aaaa kernel: Vendor: Model: USB DISK Pro Rev: PMAP
Apr 28 10:43:07 aaaa kernel: Type: Direct-Access ANSI SCSI revision: 00
Apr 28 10:43:09 aaaa kernel: SCSI device sdb: 982016 512-byte hdwr sectors (503 MB)
Apr 28 10:43:09 aaaa kernel: sdb: assuming Write Enabled
Apr 28 10:43:09 aaaa kernel: sdb: assuming drive cache: write through
Apr 28 10:43:10 aaaa kernel: SCSI device sdb: 982016 512-byte hdwr sectors (503 MB)
Apr 28 10:43:10 aaaa kernel: sdb: assuming Write Enabled
Apr 28 10:43:10 aaaa kernel: sdb: assuming drive cache: write through
Apr 28 10:43:10 aaaa kernel: /dev/scsi/host2/bus0/target0/lun0: p1
Apr 28 10:43:10 aaaa kernel: Attached scsi removable disk sdb at scsi2, channel 0, id 0, lun 0
Apr 28 10:43:10 aaaa kernel: Vendor: Model: USB DISK Pro Rev: PMAP
Apr 28 10:43:10 aaaa kernel: Type: Direct-Access ANSI SCSI revision: 00
Apr 28 10:43:10 aaaa kernel: SCSI device sdc: 2880 512-byte hdwr sectors (1 MB)
Apr 28 10:43:10 aaaa kernel: sdc: assuming Write Enabled
Apr 28 10:43:10 aaaa kernel: sdc: assuming drive cache: write through
Apr 28 10:43:10 aaaa kernel: SCSI device sdc: 2880 512-byte hdwr sectors (1 MB)
Apr 28 10:43:10 aaaa kernel: sdc: assuming Write Enabled
Apr 28 10:43:10 aaaa kernel: sdc: assuming drive cache: write through
Apr 28 10:43:10 aaaa kernel: /dev/scsi/host2/bus0/target0/lun1: unable to read partition table
Apr 28 10:43:10 aaaa kernel: Attached scsi removable disk sdc at scsi2, channel 0, id 0, lun 1
Apr 28 10:43:10 aaaa scsi.agent[7236]: disk at /devices/pci0000:00/0000:00:1d.7/usb5/5-8/5-8:1.0/host2/target2:0:0/2:0:0:1
Apr 28 10:43:10 aaaa scsi.agent[7231]: disk at /devices/pci0000:00/0000:00:1d.7/usb5/5-8/5-8:1.0/host2/target2:0:0/2:0:0:0
Apr 28 10:43:10 aaaa fstab-sync[7283]: added mount point /mnt/USBDISKPRO for /dev/sdb1
Apr 28 10:43:11 aaaa fstab-sync[7292]: added mount point /mnt/removable for /dev/sdc
Apr 28 10:43:24 aaaa kernel: end_request: I/O error, dev fd0, sector 0
Apr 28 10:44:26 aaaa last message repeated 7 times
Apr 28 10:45:09 aaaa last message repeated 10 times
Apr 28 10:45:16 aaaa ntpd[5886]: synchronized to LOCAL(0), stratum=10
Apr 28 10:45:16 aaaa ntpd[5886]: kernel time sync disabled 0041
Apr 28 10:45:17 aaaa kernel: end_request: I/O error, dev fd0, sector 0
Apr 28 10:45:17 aaaa last message repeated 2 times
Apr 28 10:45:31 aaaa kernel: usb 5-8: USB disconnect, address 2
Apr 28 10:45:31 aaaa fstab-sync[7361]: removed mount point /mnt/USBDISKPRO for /dev/sdb1
Apr 28 10:45:32 aaaa kernel: end_request: I/O error, dev fd0, sector 0
Apr 28 10:45:32 aaaa last message repeated 2 times
Apr 28 10:45:33 aaaa fstab-sync[7411]: removed mount point /mnt/removable for /dev/sdc
Apr 28 10:45:33 aaaa kernel: end_request: I/O error, dev fd0, sector 0
Apr 28 10:58:24 aaaa syslogd 1.4.1: restart.
Apr 28 10:58:24 aaaa kernel: klogd 1.4.1, log source = /proc/kmsg started.
 
Old 04-28-2005, 04:55 AM   #2
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Have you tried unmounting the KEY before taking it out? Also what seems strange is that it is attempting to access your floppy drive!!!??

Try putting a formatted floppy in your drive before you remove the key. Could be wrong. Not familiar with how MDK handles hotplug but just seems strange.

KC
 
Old 04-29-2005, 04:35 AM   #3
felip3
LQ Newbie
 
Registered: Apr 2005
Location: Catalunya, Milky Way
Distribution: Mandriva LE2005
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks kencaz.

I already umount the USBkey before disconnect.
I have also tried to put a formatted floppy in the drive before removing the key, but the system continues crashing when the key is removed.

Any suggestion will be appreciated.
 
  


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
automounting usbkey using udev bbenn Linux - Software 0 10-04-2005 04:16 AM
usbkey only works once after boot jkobrien Linux - Hardware 6 01-06-2005 05:41 AM
System going down for system halt NOW! (hangs) jdh77 Yoper 14 12-07-2004 03:28 AM
net driver causes system hangs (keyboard hangs) yjchen Linux - Networking 0 10-21-2004 10:12 PM
Usbkey Lobais Linux - Hardware 3 09-28-2004 08:28 AM

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

All times are GMT -5. The time now is 11:23 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