LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Mouse and Keyboard Problems, think it got to do with my external usb-drive (https://www.linuxquestions.org/questions/slackware-14/mouse-and-keyboard-problems-think-it-got-to-do-with-my-external-usb-drive-505005/)

madking75 11-26-2006 11:50 AM

USB-Mouse and USB-Keyboard Problems. I think it had to do with my usb-drive
 
Hi,

I changed my /etc/rc.d/rc.modules

Code:

# USB Mass Storage support:
/sbin/modprobe usb-storage

And then when I power on my usb drive after 1 minute my usb mouse or/and usb keyboard get crazy. Sometimes without power on my usb drive, but with the module usb-storage loaded. If the module isn't load I have no problems.

I got a USB-Keyboard called zBoard and a usb-mouse called Razer Diamondback. My extern drive is a Trekstor Mobile HDD Datastation maxi x.u.



Here is my lsmod with usb-storage and usb-drive powered up:
Code:

root@blackpower:/usr/bin# lsmod
Module                  Size  Used by    Tainted: PF
usb-storage            63520  0  (unused)
vmnet                  28544  6
vmmon                  92036  0  (unused)
snd-seq-oss            23104  0  (unused)
snd-seq-midi-event      3208  0  [snd-seq-oss]
snd-seq                33552  2  [snd-seq-oss snd-seq-midi-event]
snd-pcm-oss            28928  0  (unused)
snd-mixer-oss          11928  0  [snd-pcm-oss]
audio                  41400  0  (unused)
snd-usb-audio          44864  0
snd-usb-lib            9292  0  [snd-usb-audio]
keybdev                1828  0  (unused)
mousedev                4244  1
hid                    21380  0  (unused)
usbkbd                  2936  0  (unused)
usbmouse                1912  0  (unused)
input                  3104  0  [keybdev mousedev hid usbkbd usbmouse]
printer                7520  0
usb-ohci              18856  0  (unused)
ehci-hcd              17644  0  (unused)
forcedeth              15312  0  (unused)
tulip                  39712  1
crc32                  2880  0  [tulip]
snd-emu10k1            84292  2
snd-hwdep              4156  0  [snd-usb-audio snd-emu10k1]
snd-util-mem            1152  0  [snd-emu10k1]
snd-ac97-codec        68160  0  [snd-emu10k1]
snd-pcm                52804  1  [snd-pcm-oss snd-usb-audio snd-emu10k1 snd-ac97-codec]
snd-timer              13168  0  [snd-seq snd-emu10k1 snd-pcm]
snd-rawmidi            12224  0  [snd-usb-lib snd-emu10k1]
snd-seq-device          3716  0  [snd-seq-oss snd-seq snd-emu10k1 snd-rawmidi]
snd                    34304  1  [snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-usb-audio snd-usb-lib snd-emu10k1 snd-hwdep snd-util-mem snd-ac97-codec snd-pcm snd-timer snd-rawmidi snd-seq-device]
soundcore              3300  13  [audio snd]
snd-page-alloc          4980  0  [snd-seq-oss snd-seq snd-mixer-oss snd-usb-audio snd-emu10k1 snd-hwdep snd-pcm snd-timer snd-rawmidi snd-seq-device snd]
emu10k1-gp              1192  0  (unused)
gameport                1388  0  [emu10k1-gp]
ohci1394              23568  0  (unused)
ieee1394              41156  0  [ohci1394]
i2c-core              12260  0  (autoclean) (unused)
nvidia              4372248  11
ide-scsi                9392  0
usbcore                56812  1  [usb-storage audio snd-usb-audio snd-usb-lib hid usbkbd usbmouse printer usb-ohci ehci-hcd]
apm                    9292  2
root@blackpower:/usr/bin#

Here without usb-drive and a reboot, because my keyboard gets mad an repeated the last i 10.000 times, and it keeps repeating when I unplug the keyboard.
Code:

Module                  Size  Used by    Tainted: PF
vmnet                  28544  6
vmmon                  92036  0 (unused)
snd-seq-oss            23104  0 (unused)
snd-seq-midi-event      3208  0 [snd-seq-oss]
snd-seq                33552  2 [snd-seq-oss snd-seq-midi-event]
snd-pcm-oss            28928  0 (unused)
snd-mixer-oss          11928  0 [snd-pcm-oss]
lp                      6372  0 (autoclean)
parport                22472  0 (autoclean) [lp]
audio                  41400  0 (unused)
usbkbd                  2936  0 (unused)
snd-usb-audio          44864  0
keybdev                1828  0 (unused)
mousedev                4244  1
hid                    21380  0 (unused)
snd-usb-lib            9292  0 [snd-usb-audio]
usbmouse                1912  0 (unused)
input                  3104  0 [usbkbd keybdev mousedev hid usbmouse]
printer                7520  0
usb-ohci              18856  0 (unused)
ehci-hcd              17644  0 (unused)
usbcore                56812  1 [audio usbkbd snd-usb-audio hid snd-usb-lib usbmouse printer usb-ohci ehci-hcd]
forcedeth              15312  0 (unused)
tulip                  39712  1
crc32                  2880  0 [tulip]
snd-emu10k1            84292  1
snd-hwdep              4156  0 [snd-usb-audio snd-emu10k1]
snd-util-mem            1152  0 [snd-emu10k1]
snd-ac97-codec        68160  0 [snd-emu10k1]
snd-pcm                52804  1 [snd-pcm-oss snd-usb-audio snd-emu10k1 snd-ac97-codec]
snd-timer              13168  0 [snd-seq snd-emu10k1 snd-pcm]
snd-rawmidi            12224  0 [snd-usb-lib snd-emu10k1]
snd-seq-device          3716  0 [snd-seq-oss snd-seq snd-emu10k1 snd-rawmidi]
snd                    34304  0 [snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-usb-audio snd-usb-lib snd-emu10k1 snd-hwdep snd-util-mem snd-ac97-codec snd-pcm snd-timer snd-rawmidi snd-seq-device]
soundcore              3300  13 [audio snd]
snd-page-alloc          4980  0 [snd-seq-oss snd-seq snd-mixer-oss snd-usb-audio snd-emu10k1 snd-hwdep snd-pcm snd-timer snd-rawmidi snd-seq-device snd]
emu10k1-gp              1192  0 (unused)
gameport                1388  0 [emu10k1-gp]
ohci1394              23568  0 (unused)
ieee1394              41156  0 [ohci1394]
i2c-core              12260  0 (autoclean) (unused)
nvidia              4372248  11
ide-scsi                9392  0
apm                    9292  2
rex@blackpower:~$

Now I still got problems, without the usb-drive and module. I killed the programm called KwikDisk. It seems that was the problem. But I want KwikDisk, or is there a better program?

Here is my fstab:
Code:

/dev/sda2        swap            swap        defaults        0  0
/dev/sdb2        swap            swap        defaults        0  0
/dev/sdc2        swap            swap        defaults        0  0
/dev/md0        /                reiserfs    defaults        1  1
/dev/sda1        /boot            ext2        defaults        1  2
/dev/md1        /home            reiserfs    defaults        1  2
/dev/cdrom      /mnt/cdrom      auto        noauto,user,ro  0  0
/dev/fd0        /mnt/floppy      auto        noauto,user      0  0
/dev/sdd1        /mnt/extntfs    auto        noauto,user,ro  0  0
/dev/sdd5        /mnt/extfat      auto        noauto,user      0  0
devpts          /dev/pts        devpts      gid=5,mode=620  0  0
proc            /proc            proc        defaults        0  0
/etc/fstab lines 1-12/12 (END)

/dev/sdd1 and sdd5 is my external usb-drive. It has two partitions.



Here is my dmesg:
Code:

...
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
uhci.c: USB Universal Host Controller Interface driver v1.1
usb-uhci.c: $Revision: 1.275 $ time 02:01:41 Sep  1 2006
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
scsi singledevice 4 0 0 1
  Vendor: HL-DT-ST  Model: DVD-ROM GDR8164B  Rev: 0L06
  Type:  CD-ROM                            ANSI SCSI revision: 02
Attached scsi CD-ROM sr2 at scsi4, channel 0, id 0, lun 1
sr2: scsi3-mmc drive: 52x/52x cd/rw xa/form2 cdda tray
scsi singledevice 4 0 0 2
  Vendor: HL-DT-ST  Model: DVD-ROM GDR8164B  Rev: 0L06
  Type:  CD-ROM                            ANSI SCSI revision: 02
Attached scsi CD-ROM sr3 at scsi4, channel 0, id 0, lun 2
sr3: scsi3-mmc drive: 52x/52x cd/rw xa/form2 cdda tray
scsi singledevice 4 0 0 3
  Vendor: HL-DT-ST  Model: DVD-ROM GDR8164B  Rev: 0L06
  Type:  CD-ROM                            ANSI SCSI revision: 02
scsi singledevice 4 0 0 4
  Vendor: HL-DT-ST  Model: DVD-ROM GDR8164B  Rev: 0L06
  Type:  CD-ROM                            ANSI SCSI revision: 02
scsi singledevice 4 0 0 5
  Vendor: HL-DT-ST  Model: DVD-ROM GDR8164B  Rev: 0L06
  Type:  CD-ROM                            ANSI SCSI revision: 02
scsi singledevice 4 0 0 6
  Vendor: HL-DT-ST  Model: DVD-ROM GDR8164B  Rev: 0L06
  Type:  CD-ROM                            ANSI SCSI revision: 02
scsi singledevice 4 0 0 7
scsi singledevice 4 0 1 1
  Vendor: LITE-ON  Model: DVDRW SOHW-1693S  Rev: KS09
  Type:  CD-ROM                            ANSI SCSI revision: 02
scsi singledevice 4 0 1 2
  Vendor: LITE-ON  Model: DVDRW SOHW-1693S  Rev: KS09
  Type:  CD-ROM                            ANSI SCSI revision: 02
scsi singledevice 4 0 1 3
  Vendor: LITE-ON  Model: DVDRW SOHW-1693S  Rev: KS09
  Type:  CD-ROM                            ANSI SCSI revision: 02
scsi singledevice 4 0 1 4
  Vendor: LITE-ON  Model: DVDRW SOHW-1693S  Rev: KS09
  Type:  CD-ROM                            ANSI SCSI revision: 02
scsi singledevice 4 0 1 5
  Vendor: LITE-ON  Model: DVDRW SOHW-1693S  Rev: KS09
  Type:  CD-ROM                            ANSI SCSI revision: 02
scsi singledevice 4 0 1 6
  Vendor: LITE-ON  Model: DVDRW SOHW-1693S  Rev: KS09
  Type:  CD-ROM                            ANSI SCSI revision: 02
scsi singledevice 4 0 1 7
scsi singledevice 4 0 2 0
scsi singledevice 4 0 3 0
scsi singledevice 4 0 4 0
scsi singledevice 4 0 5 0
scsi singledevice 4 0 6 0
scsi singledevice 4 0 7 0
scsi singledevice 0 0 0 1
scsi singledevice 0 0 0 2
scsi singledevice 0 0 0 3
scsi singledevice 0 0 0 4
scsi singledevice 0 0 0 5
scsi singledevice 0 0 0 6
scsi singledevice 0 0 0 7
scsi singledevice 0 0 1 0
scsi singledevice 0 0 2 0
scsi singledevice 0 0 3 0
scsi singledevice 0 0 4 0
scsi singledevice 0 0 5 0
scsi singledevice 0 0 6 0
scsi singledevice 0 0 7 0
scsi singledevice 1 0 0 0
scsi singledevice 1 0 1 0
scsi singledevice 1 0 2 0
scsi singledevice 1 0 3 0
scsi singledevice 1 0 4 0
scsi singledevice 1 0 5 0
scsi singledevice 1 0 6 0
scsi singledevice 1 0 7 0
scsi singledevice 2 0 0 1
scsi singledevice 2 0 0 2
scsi singledevice 2 0 0 3
scsi singledevice 2 0 0 4
scsi singledevice 2 0 0 5
scsi singledevice 2 0 0 6
scsi singledevice 2 0 0 7
scsi singledevice 2 0 1 0
scsi singledevice 2 0 2 0
scsi singledevice 2 0 3 0
scsi singledevice 2 0 4 0
scsi singledevice 2 0 5 0
scsi singledevice 2 0 6 0
scsi singledevice 2 0 7 0
scsi singledevice 3 0 0 1
scsi singledevice 3 0 0 2
scsi singledevice 3 0 0 3
scsi singledevice 3 0 0 4
scsi singledevice 3 0 0 5
scsi singledevice 3 0 0 6
scsi singledevice 3 0 0 7
scsi singledevice 3 0 1 0
scsi singledevice 3 0 2 0
scsi singledevice 3 0 3 0
scsi singledevice 3 0 4 0
scsi singledevice 3 0 5 0
scsi singledevice 3 0 6 0
scsi singledevice 3 0 7 0
lp: driver loaded but no devices found
/dev/vmmon[7293]: Module vmmon: registered with major=10 minor=165
/dev/vmmon[7293]: Module vmmon: initialized
/dev/vmnet: open called by PID 7313 (vmnet-bridge)
/dev/vmnet: hub 0 does not exist, allocating memory.
/dev/vmnet: port on hub 0 successfully opened
bridge-eth0: up
bridge-eth0: attached
/dev/vmnet: open called by PID 7325 (vmnet-natd)
/dev/vmnet: hub 8 does not exist, allocating memory.
/dev/vmnet: port on hub 8 successfully opened
/dev/vmnet: open called by PID 7364 (vmnet-netifup)
/dev/vmnet: hub 1 does not exist, allocating memory.
/dev/vmnet: port on hub 1 successfully opened
/dev/vmnet: open called by PID 7365 (vmnet-netifup)
/dev/vmnet: port on hub 8 successfully opened
/dev/vmnet: open called by PID 7390 (vmnet-dhcpd)
/dev/vmnet: port on hub 1 successfully opened
/dev/vmnet: open called by PID 7391 (vmnet-dhcpd)
/dev/vmnet: port on hub 8 successfully opened
spurious 8259A interrupt: IRQ7.
keyboard: Timeout - AT keyboard not present?(f3)
keyboard: Timeout - AT keyboard not present?(f4)
usb_control/bulk_msg: timeout
usb-ohci.c: unlink URB timeout
usb.c: USB disconnect on device 00:02.0-1.2 address 5
usb-ohci.c: unlink URB timeout
hub.c: new USB device 00:02.0-1.2, assigned address 7
input0: Razer Razer Diamondback Optical Mouse on usb2:7.0
usb.c: USB disconnect on device 00:02.0-1.2 address 7
usb-ohci.c: unlink URB timeout
hub.c: new USB device 00:02.0-1.2, assigned address 8
input0: Razer Razer Diamondback Optical Mouse on usb2:8.0
usb.c: USB disconnect on device 00:02.0-1.2 address 8
usb-ohci.c: unlink URB timeout
hub.c: new USB device 00:02.0-1.2, assigned address 9
input0: Razer Razer Diamondback Optical Mouse on usb2:9.0
usb.c: USB disconnect on device 00:02.0-1.2 address 9
usb-ohci.c: unlink URB timeout
hub.c: new USB device 00:02.0-1.2, assigned address 10
input0: Razer Razer Diamondback Optical Mouse on usb2:10.0
usb.c: USB disconnect on device 00:02.0-1.2 address 10
usb-ohci.c: unlink URB timeout
hub.c: new USB device 00:02.0-1.1, assigned address 11
input0: Razer Razer Diamondback Optical Mouse on usb2:11.0
usb.c: USB disconnect on device 00:02.0-1 address 2
usb.c: USB disconnect on device 00:02.0-1.1 address 11
usb-ohci.c: unlink URB timeout
usb.c: USB disconnect on device 00:02.0-1.4 address 6
hub.c: new USB device 00:02.0-1, assigned address 12
hub.c: USB hub found
hub.c: 4 ports detected
hub.c: new USB device 00:02.0-1.1, assigned address 13
input0: Razer Razer Diamondback Optical Mouse on usb2:13.0
hub.c: new USB device 00:02.0-1.4, assigned address 14
input: USB HID v1.10 Keyboard [Ideazon Zboard] on usb2:14.0


Here a lspci and lsusb
Code:


root@blackpower:/home/rex# lspci
00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller (rev a3)
00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3)
00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3)
00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev f2)
00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2)
00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3)
00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7800 GT] (rev a1)
05:07.0 Ethernet controller: ADMtek NC100 Network Everywhere Fast Ethernet 10/100 (rev 11)
05:08.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
05:08.1 Input device controller: Creative Labs SB Audigy Game Port (rev 04)
05:08.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev 04)

root@blackpower:/home/rex# lsusb
Bus 002 Device 001: ID 0000:0000
Bus 002 Device 012: ID 03eb:3301 Atmel Corp. at43301 4-port Hub
Bus 002 Device 013: ID 1532:0001
Bus 002 Device 014: ID 1038:0100 Ideazon, Inc. Zboard
Bus 002 Device 003: ID 04f9:012b Brother Industries, Ltd
Bus 002 Device 004: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter
Bus 001 Device 001: ID 0000:0000
root@blackpower:/home/rex#

IT's still not working, without the KWIKDISK I still got problems, my mouse stops working until I replug it 10 times...

Here is my lsusb with the external drive:
Code:

root@blackpower:/home/rex# lsusb
Bus 002 Device 001: ID 0000:0000
Bus 002 Device 012: ID 03eb:3301 Atmel Corp. at43301 4-port Hub
Bus 002 Device 014: ID 1038:0100 Ideazon, Inc. Zboard
Bus 002 Device 003: ID 04f9:012b Brother Industries, Ltd
Bus 002 Device 004: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter
Bus 002 Device 018: ID 1532:0001
Bus 001 Device 001: ID 0000:0000
root@blackpower:/home/rex#


the last things I changed, is my group and then trying to get my usb-drive working. Changed the fstab stettings AND acitvated APM. And now I got these problems... I got mad, I work now 10 minutes and got no problems. But when I start my usb-drive I'm sure to get these problems again...

EDIT:

spurious 8259A interrupt: IRQ7

Is this the problem? I found it in dmesg output.

madking75 11-26-2006 10:41 PM

Good Morning,

after waiting several hours, after a good sleep, everything is working now. :-)

But I got still a problem, my external drive has only a speed of 3,2 M/s. This is to slow. In the KDE Info Center I got this info:



USB TO IDE
PCI device 10de:005b (nVidia Corporation) (1)
Linux 2.4.33.3 ehci_hcd
USB-Version: 2.00
Speed: 480 Mbit/s


After some time, my USB drive gets disconnect.


And then I can't mount it:

Here a dmesg | tail :

hub.c: new USB device 00:02.1-2, assigned address 9
usb.c: USB device not accepting new address=9 (error=-71)
hub.c: new USB device 00:02.1-2, assigned address 10
usb.c: USB device not accepting new address=10 (error=-71)
Device 08:35 not ready.
I/O error: dev 08:35, sector 0
FAT: unable to read boot sector


After power down and up of the usb drive I got this:

usb.c: USB device not accepting new address=9 (error=-71)
hub.c: new USB device 00:02.1-2, assigned address 10
usb.c: USB device not accepting new address=10 (error=-71)
Device 08:35 not ready.
I/O error: dev 08:35, sector 0
FAT: unable to read boot sector
hub.c: new USB device 00:02.1-2, assigned address 11
usb.c: USB device not accepting new address=11 (error=-71)
hub.c: new USB device 00:02.1-2, assigned address 12
usb.c: USB device not accepting new address=12 (error=-71)


It looks for me, that the Dreckstor Device don't accept the address which linux want to give him... But what can I do? Buy a better usb-drive? It was so cheap :(
Can Linux give this device the same address again and again? Maybe I find an addrress which is working. But where can I adjust this? I will go into a journey in /etc.... bye.

Edit:

After power down, unplug usb cable, power up, plug usb calple I got this dmesg:

hub.c: new USB device 00:02.1-1, assigned address 15
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 15

now it's working, but for how long?

Mr_C 11-26-2006 10:50 PM

1-What did you do to fix?
2-take a look here
middle of the page mmyoung points out low performance usb driver should not be used.

madking75 11-26-2006 11:37 PM

Quote:

Originally Posted by Mr_C
1-What did you do to fix?
2-take a look here
middle of the page mmyoung points out low performance usb driver should not be used.


1. I did nothing, I had a good sleep for several hours, nothing more ;)

2. I read it, but I don't understand it. Does this mean I have to compile a new kernel without the ub driver/device/? ?

Mr_C 11-26-2006 11:44 PM

I wish my problems disappeared like that-lucky you!

You low transfer rate is probably due to the possibility of the 'low performance usb driver' module enabled.
Take a look at your kernel config (cd /usr/src/linux ; make xconfig)and see if thats the case(look under the main heading 'block devices').

If you're using a stock kernel I don't think Pat enabled it; it happens when you compile your own kernel with a make oldconfig or such....

madking75 11-27-2006 12:12 AM

Quote:

from the article
So, it is better for certain things and worse for others. In 2.6.10
there are much larger warnings to Distros not to enable it, as it's not
ready yet. The problem is that if you compile your kernel with
CONFIG_BLK_DEV_UB then the devices it believes it can handle (a subset
of the usb-storage devices), then usb-storage will *not* bind to those
devices even if the ub driver is not loaded. Note though that you can
have one device bound to ub and another to usb-storage on the same
machine without problems as long as ub doesn't believe it should have
that 2nd device.
I can't find anything like CONFIG_BLK_DEV_UB in the section you told. And I can't find the subset of usb-storage devices in xconfig.

Another linux newbie question, are the settings shown in xconfig the actual settings of my kernel I'm using? Thx.


Edit: I will try the following today:
-Deactivate hotplug
-activate each module I need in /etc/rc.modules
I don't know much, but I "believe" this would work. Because in lsmod there are all 3 usb-driver, I think I will only need one for my nvidia board. Asus A8N-SLI nforce4.

gnashley 11-27-2006 02:31 AM

What tool did you use to create the partitions on the external USB drive?

madking75 11-27-2006 10:44 AM

I think it was with Windows XP or PQmagic, I don't know.

I want to copy all my data from the external drive (170GB) on my Harddisk and format/resize the first partition with ext2 and the second with vfat.
At the moment the first is ntfs and the second vfat (fat32).


Now I deactivate rc.hotplug with chmod -x and edit the rc.modules. And now I have 430 kb/s per second and not 4 Mb/s. :-(

Here is my old lsmod:

Code:

Module                  Size  Used by    Tainted: PF
vmnet                  28544  6
vmmon                  92036  0  (unused)
snd-seq-oss            23104  0  (unused)
snd-seq-midi-event      3208  0  [snd-seq-oss]
snd-seq                33552  2  [snd-seq-oss snd-seq-midi-event]
snd-pcm-oss            28928  0  (unused)
snd-mixer-oss          11928  0  [snd-pcm-oss]
lp                      6372  0  (autoclean)
parport                22472  0  (autoclean) [lp]
audio                  41400  0  (unused)
printer                7520  0
snd-usb-audio          44864  1
snd-usb-lib            9292  0  [snd-usb-audio]
keybdev                1828  0  (unused)
mousedev                4244  1
hid                    21380  0  (unused)
usbmouse                1912  0  (unused)
input                  3104  0  [keybdev mousedev hid usbmouse]
usb-ohci              18856  0  (unused)
ehci-hcd              17644  0  (unused)
usbcore                56812  1  [audio printer snd-usb-audio snd-usb-lib hid usbmouse usb-ohci ehci-hcd]
tulip                  39712  1
crc32                  2880  0  [tulip]
snd-emu10k1            84292  4
snd-hwdep              4156  0  [snd-usb-audio snd-emu10k1]
snd-util-mem            1152  0  [snd-emu10k1]
snd-ac97-codec        68160  0  [snd-emu10k1]
snd-pcm                52804  2  [snd-pcm-oss snd-usb-audio snd-emu10k1 snd-ac97-codec]
snd-timer              13168  0  [snd-seq snd-emu10k1 snd-pcm]
snd-rawmidi            12224  0  [snd-usb-lib snd-emu10k1]
snd-seq-device          3716  0  [snd-seq-oss snd-seq snd-emu10k1 snd-rawmidi]
snd                    34304  3  [snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-usb-audio snd-usb-lib snd-emu10k1 snd-hwdep snd-util-mem snd-ac97-codec snd-pcm snd-timer snd-rawmidi snd-seq-device]
soundcore              3300  13  [audio snd]
snd-page-alloc          4980  0  [snd-seq-oss snd-seq snd-mixer-oss snd-usb-audio snd-emu10k1 snd-hwdep snd-pcm snd-timer snd-rawmidi snd-seq-device snd]
emu10k1-gp              1192  0  (unused)
gameport                1388  0  [emu10k1-gp]
ohci1394              23568  0  (unused)
ieee1394              41156  0  [ohci1394]
i2c-core              12260  0  (autoclean) (unused)
nvidia              4372248  11
ide-scsi                9392  0
apm                    9292  2


Here my new one:

Code:

Module                  Size  Used by    Tainted: PF
snd-emu10k1            84292  3
snd-util-mem            1152  0  [snd-emu10k1]
snd-ac97-codec        68160  0  [snd-emu10k1]
i2c-core              12260  0  (autoclean) (unused)
nvidia              4372248  11
vmnet                  28544  6
vmmon                  92036  0  (unused)
snd-seq-oss            23104  0  (unused)
snd-seq-midi-event      3208  0  [snd-seq-oss]
snd-seq                33552  2  [snd-seq-oss snd-seq-midi-event]
snd-pcm-oss            28928  0  (unused)
snd-mixer-oss          11928  0  [snd-pcm-oss]
lp                      6372  0  (autoclean)
parport                22472  0  (autoclean) [lp]
snd-usb-audio          44864  0  (unused)
snd-usb-lib            9292  0  [snd-usb-audio]
snd-rawmidi            12224  0  [snd-emu10k1 snd-usb-lib]
snd-seq-device          3716  0  [snd-emu10k1 snd-seq-oss snd-seq snd-rawmidi]
snd-pcm                52804  1  [snd-emu10k1 snd-ac97-codec snd-pcm-oss snd-usb-audio]
snd-timer              13168  0  [snd-emu10k1 snd-seq snd-pcm]
snd-hwdep              4156  0  [snd-emu10k1 snd-usb-audio]
snd                    34304  2  [snd-emu10k1 snd-util-mem snd-ac97-codec snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-usb-audio snd-usb-lib snd-rawmidi snd-seq-device snd-pcm snd-timer snd-hwdep]
snd-page-alloc          4980  0  [snd-emu10k1 snd-seq-oss snd-seq snd-mixer-oss snd-usb-audio snd-rawmidi snd-seq-device snd-pcm snd-timer snd-hwdep snd]
ide-scsi                9392  0
ntfs                  50848  0  (unused)
fat                    30136  0
tulip                  39712  1
crc32                  2880  0  [tulip]
evdev                  3968  0  (unused)
usb-storage            63520  0  (unused)
printer                7520  0
audio                  41400  0
soundcore              3300  10  [snd audio]
usbkbd                  2936  0  (unused)
keybdev                1828  0  (unused)
mousedev                4244  1
hid                    21380  0  (unused)
usbmouse                1912  0  (unused)
input                  3104  0  [evdev usbkbd keybdev mousedev hid usbmouse]
usb-ohci              18856  0  (unused)
usbcore                56812  1  [snd-usb-audio snd-usb-lib usb-storage printer audio usbkbd hid usbmouse usb-ohci]
apm                    9292  2

Which module is for usb 2.0 ???

Edit: In the KDE Info tool my usb-drive is shown as usb 2.0. and a Speed with 12 Mb/s not with over 400 as I mentioned before.

Edit2: Here is my dmesg when I power my usb-drive on:

Code:

hub.c: new USB device 00:02.0-1, assigned address 5
scsi5 : SCSI emulation for USB Mass Storage devices
  Vendor: WDC WD20  Model: 00BB-00GUC0      Rev: 0811
  Type:  Direct-Access                      ANSI SCSI revision: 02
Attached scsi disk sdd at scsi5, channel 0, id 0, lun 0
SCSI device sdd: 390721968 512-byte hdwr sectors (200050 MB)
 sdd: sdd1 sdd2 < sdd5 >
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 5


Edit 3:

The module ehci-hcd was missing. Now I have 3-4 Mb/s again. But still too slow....

Mr_C 11-27-2006 10:36 PM

Device Drivers -> Block Devices -> Low performance usb driver


<my brain thoughts>That is a bit slow. You should be getting 7~10megs a second.
Shielded usb cable? getting fast transfer on another system? </end>

madking75 11-28-2006 12:47 AM

Quote:

Originally Posted by Mr_C
Device Drivers -> Block Devices -> Low performance usb driver


<my brain thoughts>That is a bit slow. You should be getting 7~10megs a second.
Shielded usb cable? getting fast transfer on another system? </end>


Sry, maybe I'm stupid or using a other system like you. I got no entry Device Drivers. I got an entry Block Devices and USB Support. But I can't find Low performance usb driver there and also not in other entries.

The usb cable is shielded and with Windows XP I needed 2 hours for a complete restore of my personal data and with linux I need 6-7 hours. :(

Here is a picture of my xconfig:
http://img19.imageshack.us/my.php?image=xconfigiw0.jpg


Edit: I activated hotplug again and restored my rc.modules. Because I got to many problems. World of Warcraft had not start. The next thing I will try is: Copy all data on my harddisk and format my usb-drive with ext2 and make only one partition. I don't need an fat partition because, I will never have to do anything with Windows XP again at my home. Because I really really reaaly hate M$ XP.
The only thing I'm using XP is in my vmware player for support...

Edit2: Sometimes I can't copy files, I hope this will not happen with the new filesystem

Here is a dmesg, with an i/o error when this happens:
(The error begins with SCSI-Disk error)

Code:

hub.c: new USB device 00:02.1-1, assigned address 2
usb.c: USB device not accepting new address=2 (error=-71)
hub.c: new USB device 00:02.1-1, assigned address 3
usb.c: USB device 3 (vend/prod 0x5e3/0x702) is not claimed by any active driver.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi5 : SCSI emulation for USB Mass Storage devices
  Vendor: WDC WD20  Model: 00BB-00GUC0      Rev: 0811
  Type:  Direct-Access                      ANSI SCSI revision: 02
Attached scsi disk sdd at scsi5, channel 0, id 0, lun 0
SCSI device sdd: 390721968 512-byte hdwr sectors (200050 MB)
 sdd: sdd1 sdd2 < sdd5 >
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
USB Mass Storage support registered.
SCSI disk error : host 5 channel 0 id 0 lun 0 return code = 8000002
Current sd08:35: sns = 70  4
ASC=4b ASCQ= 0
Raw sense data:0x70 0x00 0x04 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x4b 0x00 0x00 0x00 0x00 0x00
 I/O error: dev 08:35, sector 207830512


Mr_C 11-28-2006 02:05 PM

arrr you are using a 2.4 kernel.
My bad I should have asked.

Ummm I haven't used a 2.4 for like since 2.6.0 came out, and I don't know where anything is.....

Use a 2.6 and see if performance increases <I'm saying I don't have a clue why its not working on 2.4>

madking75 11-28-2006 05:36 PM

Uhm, yes, I loved to try the 2.6 kernel. I also loaded the huge 2.6 kernel. But I got problems loading modules, the directory to the modules doesn't exist. The Number was wrong. /lib/modules/<kernel version number>

I'm using 2.4.33.3 kernel. I will try to install as second option the 2.6 kernel in lilo and try again. Thx for the hint.

madking75 11-28-2006 07:38 PM

YESSSSSSSSSSSSSSSS !!!!!!!!!!! :D :D :D

With the new kernel I have 15,0 MB/s !!!!!!!


Thanks a lot Mr_C !!!!!!!!!!!!!!!


Here is a dmesg:

Code:

usb 1-1: new high speed USB device using ehci_hcd and address 4
usb 1-1: configuration #1 chosen from 1 choice
Initializing USB Mass Storage driver...
scsi4 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
  Vendor: WDC WD20  Model: 00BB-00GUC0      Rev: 0811
  Type:  Direct-Access                      ANSI SCSI revision: 00
SCSI device sdd: 390721968 512-byte hdwr sectors (200050 MB)
sdd: test WP failed, assume Write Enabled
sdd: assuming drive cache: write through
SCSI device sdd: 390721968 512-byte hdwr sectors (200050 MB)
sdd: test WP failed, assume Write Enabled
sdd: assuming drive cache: write through
 sdd: sdd1 sdd2 < sdd5 >
sd 4:0:0:0: Attached scsi disk sdd
sd 4:0:0:0: Attached scsi generic sg3 type 0
usb-storage: device scan complete


Mr_C 11-28-2006 10:51 PM

Your welcome. Good to see your success.


All times are GMT -5. The time now is 10:43 AM.