recurrently I encounter different problems on my AntiX (M11 Kernel:3.2.0-1-686-pae) machine (IBM Thinkpad T21, Intel Pentium M 1,1 GHz, 512MB RAM) with USB drives. I will post one problem here, as it happened yesterday (not for the first time) and if I can exclude hardware issues as being the root of the problem, I will write about the other problems.
Yesterday I wanted to mount an USB pendrive (NTFS file system), but before mounting it via pmount /dev/sdx Pendrive I checked if I type in the correct partition, as I had plugged in another USB stick an hour earlier and then unmounted that one. I have made the experience that in a case like that the second drive might be recognized as sdc1 instead of sdb1 (All 'internal partitions' are sda...) even if the other partition on another stick is no longer present.
So I typed fdisk -l as ROOT. It correctly detected sda1-sda6 on my internal harddrive but when looking for other partitions it stalled and did not produce any output instead continuing scanning for other drives/partitions. I was not able to abort the operation via CTRL+C. Only closing the terminal window did help.
Here is the output of dmesg, at least the last couple lines. In case you need more information, please let me know. I'm not a Linux expert, but I cannot see any specific problem with the hardware.
Code: Select all
[ 7512.576067] usb 2-1: new full-speed USB device number 4 using uhci_hcd
[ 7512.738566] usb 2-1: New USB device found, idVendor=1e3d, idProduct=2096
[ 7512.738584] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 7512.738595] usb 2-1: Product: Flash Disk
[ 7512.738604] usb 2-1: Manufacturer: Generic
[ 7512.738613] usb 2-1: SerialNumber: CCBB1202221738250105409312
[ 7512.746718] scsi3 : usb-storage 2-1:1.0
[ 7513.752663] scsi 3:0:0:0: Direct-Access Generic Flash Disk 5.00 PQ: 0 ANSI: 2
[ 7513.763609] sd 3:0:0:0: [sdb] 1968128 512-byte logical blocks: (1.00 GB/961 MiB)
[ 7513.769511] sd 3:0:0:0: [sdb] Write Protect is off
[ 7513.769531] sd 3:0:0:0: [sdb] Mode Sense: 0b 00 00 08
[ 7513.772635] sd 3:0:0:0: [sdb] No Caching mode page present
[ 7513.772651] sd 3:0:0:0: [sdb] Assuming drive cache: write through
[ 7817.912308] e100 0000:02:08.0: eth0: NIC Link is Up 10 Mbps Full Duplex
[ 7825.560126] usb 2-1: USB disconnect, device number 4
[ 7825.560301] ------------[ cut here ]------------
[ 7825.560326] WARNING: at /build/buildd-linux-2.6_3.2.6-1-i386-Ea61XL/linux-2.6-3.2.6/debian/build/source_i386_none/fs/sysfs/inode.c:323 sysfs_hash_and_remove+0x22/0x71()
[ 7825.560339] Hardware name: 26474MG
[ 7825.560346] sysfs: can not remove 'bsg', no directory
[ 7825.560353] Modules linked in: usb_storage uas savage drm i2c_core speedstep_ich speedstep_lib cpufreq_userspace cpufreq_powersave cpufreq_stats cpufreq_conservative binfmt_misc uinput fuse dm_crypt pcmcia joydev thinkpad_acpi iTCO_wdt irda rfkill iTCO_vendor_support crc_ccitt snd_seq_midi snd_intel8x0 snd_rawmidi snd_ac97_codec ac97_bus snd_seq_midi_event snd_pcm_oss yenta_socket pcmcia_rsrc pcmcia_core snd_seq snd_mixer_oss snd_pcm snd_timer snd_seq_device snd_page_alloc snd rng_core psmouse evdev serio_raw battery ac power_supply soundcore nvram shpchp pci_hotplug video parport_pc parport processor button ext4 crc16 jbd2 mbcache dm_mod usbhid hid sr_mod sd_mod crc_t10dif cdrom ata_generic ata_piix libata floppy e100 mii thermal thermal_sys scsi_mod uhci_hcd ehci_hcd usbcore usb_common [last unloaded: scsi_wait_scan]
[ 7825.560568] Pid: 95, comm: khubd Tainted: G D 3.2.0-1-686-pae #1
[ 7825.560577] Call Trace:
[ 7825.560593] [<c1038328>] ? warn_slowpath_common+0x68/0x79
[ 7825.560608] [<c110e491>] ? sysfs_hash_and_remove+0x22/0x71
[ 7825.560621] [<c10383a1>] ? warn_slowpath_fmt+0x29/0x2d
[ 7825.560635] [<c110e491>] ? sysfs_hash_and_remove+0x22/0x71
[ 7825.560652] [<c102a280>] ? should_resched+0x5/0x1e
[ 7825.560670] [<c1153f75>] ? bsg_unregister_queue+0x36/0x68
[ 7825.560714] [<e0bd0e27>] ? __scsi_remove_device+0x29/0x93 [scsi_mod]
[ 7825.560746] [<e0bd0206>] ? scsi_forget_host+0x39/0x47 [scsi_mod]
[ 7825.560776] [<e0bc9483>] ? scsi_remove_host+0x65/0xcb [scsi_mod]
[ 7825.560795] [<e0e02812>] ? quiesce_and_remove_host+0x49/0x7d [usb_storage]
[ 7825.560812] [<e0e028e0>] ? usb_stor_disconnect+0x10/0x18 [usb_storage]
[ 7825.560851] [<e0b188a9>] ? usb_unbind_interface+0x3a/0xe9 [usbcore]
[ 7825.560872] [<c11ec12a>] ? __device_release_driver+0x5e/0x95
[ 7825.560886] [<c11ec176>] ? device_release_driver+0x15/0x1e
[ 7825.560900] [<c11ebe36>] ? bus_remove_device+0x5f/0x6a
[ 7825.560913] [<c11ea42d>] ? device_del+0xed/0x130
[ 7825.560948] [<e0b17259>] ? usb_disable_device+0x56/0x126 [usbcore]
[ 7825.560980] [<e0b12142>] ? usb_disconnect+0x71/0xd1 [usbcore]
[ 7825.561011] [<e0b13445>] ? hub_thread+0x420/0xbd4 [usbcore]
[ 7825.561027] [<c1029f4b>] ? __wake_up_common+0x33/0x5a
[ 7825.561043] [<c104d4d0>] ? add_wait_queue+0x30/0x30
[ 7825.561075] [<e0b13025>] ? usb_remote_wakeup+0x23/0x23 [usbcore]
[ 7825.561088] [<c104d02f>] ? kthread+0x63/0x68
[ 7825.561101] [<c104cfcc>] ? kthread_worker_fn+0x101/0x101
[ 7825.561119] [<c12be2be>] ? kernel_thread_helper+0x6/0x10
[ 7825.561128] ---[ end trace 86735dca7d18fa23 ]---
I thought, I might reboot my system, to see whether mounting the stick would work then. I typed"reboot" in the terminal and was informed that the system is going down for reboot. Except that after that nothing happened, it did not reboot! From that point on I could not give any input anymore to my system either via keyboard or the mouse, but the cursor on the command line kept blinking. I shortly pushed the on/off button to make the computer shut down (At least that works on other distros). Again I was told, that the system was about to shut down, but this time also nothing actually happened. Finally I resolved to do a hard reset/shutdown, as there was nothing I could do. ALT-SysReq+RSUIB did not help.
Does anyone have an idea what I can do about this issue? This problem occured several times with NTFS formated drives as well as EXT3 or EXT4 ones for that matter.
Thank in advance for your kind help,
Pascal