betatoy 发表于 2005-1-6 18:18:55

usb問題 各位幫幫我

我把閃存插到機器上後, 系統總是提示usb_control/bulk_msg: timeout,我將閃存拔下以後系統恢復正常. 各位請問怎麽辦?

betatoy 发表于 2005-1-6 18:37:17

當我再插上閃存時系統沒反應, 打fdisk -l /dev/sdc系統還是沒反應

betatoy 发表于 2005-1-6 19:12:55

我的系統是rh9

linky_fan 发表于 2005-1-6 21:22:36

开一个终端,输入以下命令

tail-f    /var/log/message

然后插入U盘,观察终端的输出,我的如下:

Jan7 05:18:37 home usb 1-2: new full speed USB device using address 2
Jan7 05:18:37 home scsi0 : SCSI emulation for USB Mass Storage devices
Jan7 05:18:37 home Vendor: MiniKingModel:                   Rev: 7.77
Jan7 05:18:37 home Type:   Direct-Access                      ANSI SCSI revision: 02
Jan7 05:18:37 home SCSI device sda: 128000 512-byte hdwr sectors (66 MB)
Jan7 05:18:37 home sda: Write Protect is off
Jan7 05:18:37 home sda: Mode Sense: 03 00 00 00
Jan7 05:18:37 home sda: assuming drive cache: write through
Jan7 05:18:37 home /dev/scsi/host0/bus0/target0/lun0: p1
Jan7 05:18:37 home Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Jan7 05:18:37 home Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,type 0
Jan7 05:18:37 home USB Mass Storage device found at 2
Jan7 05:20:01 home /usr/sbin/cron[23471]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )

看你都在用/dev/sdc了,是不是用了scsi的硬盘了?

betatoy 发表于 2005-1-6 23:50:21

这是我的message文件的内容, 我並沒有使用scsi硬盤

Jan6 22:29:32 willamette syslogd 1.4.1: restart.
Jan6 22:29:32 willamette syslog: syslogd startup succeeded
Jan6 22:29:32 willamette syslog: klogd startup succeeded
Jan6 22:29:32 willamette kernel: klogd 1.4.1, log source = /proc/kmsg started.
Jan6 22:29:32 willamette kernel: Linux version 2.4.20-8 ([email protected]) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:54:28 EST 2003
Jan6 22:29:32 willamette kernel: BIOS-provided physical RAM map:
Jan6 22:29:32 willamette kernel:BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
Jan6 22:29:32 willamette kernel:BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
Jan6 22:29:32 willamette kernel:BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
Jan6 22:29:32 willamette kernel:BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
Jan6 22:29:32 willamette kernel:BIOS-e820: 000000000fff0000 - 000000000fff3000 (ACPI NVS)
Jan6 22:29:32 willamette kernel:BIOS-e820: 000000000fff3000 - 0000000010000000 (ACPI data)
Jan6 22:29:32 willamette kernel:BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
Jan6 22:29:32 willamette kernel: 0MB HIGHMEM available.
Jan6 22:29:32 willamette kernel: 255MB LOWMEM available.
Jan6 22:29:32 willamette kernel: On node 0 totalpages: 65520
Jan6 22:29:32 willamette kernel: zone(0): 4096 pages.
Jan6 22:29:32 willamette kernel: zone(1): 61424 pages.
Jan6 22:29:32 willamette kernel: zone(2): 0 pages.
Jan6 22:29:32 willamette kernel: Kernel command line: ro root=/dev/hda1 vga=0x317
Jan6 22:29:32 willamette kernel: Initializing CPU#0
Jan6 22:29:32 willamette kernel: Detected 1421.525 MHz processor.
Jan6 22:29:32 willamette kernel: Console: colour dummy device 80x25
Jan6 22:29:32 willamette kernel: Calibrating delay loop... 2837.70 BogoMIPS
Jan6 22:29:32 willamette portmap: portmap startup succeeded
Jan6 22:29:32 willamette kernel: Memory: 253088k/262080k available (1347k kernel code, 6560k reserved, 999k data, 132k init, 0k highmem)
Jan6 22:29:32 willamette kernel: Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Jan6 22:29:32 willamette kernel: Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Jan6 22:29:32 willamette kernel: Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Jan6 22:29:32 willamette kernel: Buffer-cache hash table entries: 16384 (order: 4, 65536 bytes)
Jan6 22:29:32 willamette rpc.statd: Version 1.0.1 Starting
Jan6 22:29:32 willamette nfslock: rpc.statd startup succeeded
Jan6 22:29:32 willamette kernel: Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
Jan6 22:29:32 willamette kernel: CPU: Trace cache: 12K uops, L1 D cache: 8K
Jan6 22:29:33 willamette keytable: Loading keymap:
Jan6 22:29:33 willamette kernel: CPU: L2 cache: 256K
Jan6 22:29:33 willamette keytable:
Jan6 22:29:33 willamette rpc.statd: gethostbyname error for willamette.apple
Jan6 22:29:33 willamette kernel: Intel machine check architecture supported.
Jan6 22:29:33 willamette keytable: Loading system font:
Jan6 22:29:33 willamette kernel: Intel machine check reporting enabled on CPU#0.
Jan6 22:29:33 willamette kernel: CPU: Intel(R) Pentium(R) 4 CPU 1400MHz stepping 07
Jan6 22:29:33 willamette kernel: Enabling fast FPU save and restore... done.
Jan6 22:29:33 willamette kernel: Enabling unmasked SIMD FPU exception support... done.
Jan6 22:29:33 willamette kernel: Checking 'hlt' instruction... OK.
Jan6 22:29:33 willamette kernel: POSIX conformance testing by UNIFIX
Jan6 22:29:33 willamette kernel: mtrr: v1.40 (20010327) Richard Gooch ([email protected])
Jan6 22:29:33 willamette kernel: mtrr: detected mtrr type: Intel
Jan6 22:29:33 willamette kernel: PCI: PCI BIOS revision 2.10 entry at 0xfb0d0, last bus=2
Jan6 22:29:33 willamette kernel: PCI: Using configuration type 1
Jan6 22:29:33 willamette kernel: PCI: Probing PCI hardware
Jan6 22:29:33 willamette kernel: Transparent bridge - Intel Corp. 82801BA/CA/DB PCI Bridge
Jan6 22:29:33 willamette kernel: PCI: Using IRQ router PIIX at 00:1f.0
Jan6 22:29:33 willamette kernel: isapnp: Scanning for PnP cards...
Jan6 22:29:33 willamette kernel: isapnp: No Plug & Play device found
Jan6 22:29:33 willamette kernel: Linux NET4.0 for Linux 2.4
Jan6 22:29:33 willamette kernel: Based upon Swansea University Computer Society NET3.039
Jan6 22:29:33 willamette kernel: Initializing RT netlink socket
Jan6 22:29:33 willamette kernel: apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
Jan6 22:29:33 willamette keytable:
Jan6 22:29:33 willamette kernel: Starting kswapd
Jan6 22:29:33 willamette rc: Starting keytable:succeeded
Jan6 22:29:33 willamette kernel: VFS: Disk quotas vdquot_6.5.1
Jan6 22:29:33 willamette kernel: vesafb: framebuffer at 0xe0000000, mapped to 0xd080d000, size 65536k
Jan6 22:29:33 willamette kernel: vesafb: mode is 1024x768x16, linelength=2048, pages=0
Jan6 22:29:33 willamette kernel: vesafb: protected mode interface info at c000:0f3e
Jan6 22:29:33 willamette kernel: vesafb: scrolling: redraw
Jan6 22:29:33 willamette kernel: vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
Jan6 22:29:33 willamette kernel: Console: switching to colour frame buffer device 128x48
Jan6 22:29:33 willamette kernel: fb0: VESA VGA frame buffer device
Jan6 22:29:33 willamette kernel: pty: 2048 Unix98 ptys configured
Jan6 22:29:33 willamette kernel: Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
Jan6 22:29:33 willamette kernel: ttyS0 at 0x03f8 (irq = 4) is a 16550A
Jan6 22:29:33 willamette kernel: ttyS1 at 0x02f8 (irq = 3) is a 16550A
Jan6 22:29:33 willamette kernel: Real Time Clock Driver v1.10e
Jan6 22:29:33 willamette kernel: Floppy drive(s): fd0 is 1.44M
Jan6 22:29:33 willamette kernel: FDC 0 is a post-1991 82077
Jan6 22:29:33 willamette kernel: NET4: Frame Diverter 0.46
Jan6 22:29:33 willamette kernel: RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Jan6 22:29:33 willamette kernel: Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4
Jan6 22:29:33 willamette kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Jan6 22:29:33 willamette kernel: ICH2: IDE controller at PCI slot 00:1f.1
Jan6 22:29:33 willamette kernel: ICH2: chipset revision 4
Jan6 22:29:33 willamette kernel: ICH2: not 100%% native mode: will probe irqs later
Jan6 22:29:33 willamette kernel:   ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio
Jan6 22:29:33 willamette kernel:   ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
Jan6 22:29:33 willamette kernel: hda: ST380021A, ATA DISK drive
Jan6 22:29:33 willamette kernel: blk: queue c03c9f40, I/O limit 4095Mb (mask 0xffffffff)
Jan6 22:29:33 willamette kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Jan6 22:29:33 willamette kernel: hda: host protected area => 1
Jan6 22:29:33 willamette kernel: hda: setmax LBA 156301488, native156299375
Jan6 22:29:33 willamette kernel: hda: 156299375 sectors (80025 MB) w/2048KiB Cache, CHS=9729/255/63, UDMA(100)
Jan6 22:29:33 willamette kernel: ide-floppy driver 0.99.newide
Jan6 22:29:33 willamette kernel: Partition check:
Jan6 22:29:33 willamette kernel:hda: hda1 hda2 < hda5 hda6 hda7 hda8 hda9 hda10 hda11 >
Jan6 22:29:33 willamette kernel: ide-floppy driver 0.99.newide
Jan6 22:29:33 willamette kernel: md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
Jan6 22:29:33 willamette kernel: md: Autodetecting RAID arrays.
Jan6 22:29:33 willamette kernel: md: autorun ...
Jan6 22:29:33 willamette kernel: md: ... autorun DONE.
Jan6 22:29:33 willamette kernel: NET4: Linux TCP/IP 1.0 for NET4.0
Jan6 22:29:33 willamette kernel: IP Protocols: ICMP, UDP, TCP, IGMP
Jan6 22:29:33 willamette kernel: IP: routing cache hash table of 2048 buckets, 16Kbytes
Jan6 22:29:33 willamette kernel: TCP: Hash tables configured (established 16384 bind 32768)
Jan6 22:29:33 willamette kernel: Linux IP multicast router 0.06 plus PIM-SM
Jan6 22:29:33 willamette kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Jan6 22:29:33 willamette kernel: EXT2-fs warning (device ide0(3,1)): ext2_read_super: mounting ext3 filesystem as ext2
Jan6 22:29:33 willamette kernel:
Jan6 22:29:33 willamette kernel: VFS: Mounted root (ext2 filesystem) readonly.
Jan6 22:29:33 willamette random: Initializing random number generator:succeeded
Jan6 22:29:33 willamette kernel: Freeing unused kernel memory: 132k freed
Jan6 22:29:33 willamette kernel: usb.c: registered new driver usbdevfs
Jan6 22:29:33 willamette kernel: usb.c: registered new driver hub
Jan6 22:29:33 willamette kernel: usb-uhci.c: $Revision: 1.275 $ time 17:59:01 Mar 13 2003
Jan6 22:29:33 willamette kernel: usb-uhci.c: High bandwidth mode enabled
Jan6 22:29:33 willamette kernel: PCI: Found IRQ 9 for device 00:1f.2
Jan6 22:29:33 willamette kernel: usb-uhci.c: USB UHCI at I/O 0xd000, IRQ 9
Jan6 22:29:33 willamette kernel: usb-uhci.c: Detected 2 ports
Jan6 22:29:33 willamette kernel: usb.c: new USB bus registered, assigned bus number 1
Jan6 22:29:33 willamette kernel: hub.c: USB hub found
Jan6 22:29:33 willamette kernel: hub.c: 2 ports detected
Jan6 22:29:33 willamette kernel: PCI: Found IRQ 5 for device 00:1f.4
Jan6 22:29:33 willamette kernel: usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 5
Jan6 22:29:33 willamette kernel: usb-uhci.c: Detected 2 ports
Jan6 22:29:33 willamette kernel: usb.c: new USB bus registered, assigned bus number 2
Jan6 22:29:33 willamette kernel: hub.c: USB hub found
Jan6 22:29:33 willamette kernel: hub.c: 2 ports detected
Jan6 22:29:33 willamette kernel: usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
Jan6 22:29:33 willamette kernel: usb.c: registered new driver hiddev
Jan6 22:29:33 willamette kernel: usb.c: registered new driver hid
Jan6 22:29:33 willamette kernel: hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <[email protected]>
Jan6 22:29:33 willamette kernel: hid-core.c: USB HID support drivers
Jan6 22:29:33 willamette kernel: mice: PS/2 mouse device common for all mice
Jan6 22:29:33 willamette kernel: hub.c: new USB device 00:1f.4-2, assigned address 2
Jan6 22:29:33 willamette kernel: usb.c: USB device 2 (vend/prod 0x5e3/0x502) is not claimed by any active driver.
Jan6 22:29:33 willamette kernel: Adding Swap: 514040k swap-space (priority -1)
Jan6 22:29:33 willamette kernel: usb.c: registered new driver usbnet
Jan6 22:29:33 willamette kernel: usb0: register usbnet usb-00:1f.4-2, Genesys GeneLink
Jan6 22:29:33 willamette kernel: ip_tables: (C) 2000-2002 Netfilter core team
Jan6 22:29:33 willamette kernel: 8139too Fast Ethernet driver 0.9.26
Jan6 22:29:33 willamette kernel: PCI: Found IRQ 11 for device 02:04.0
Jan6 22:29:33 willamette kernel: eth0: D-Link DFE-538TX (RealTek RTL8139) at 0xd488a000, 00:05:5d:29:16:4b, IRQ 11
Jan6 22:29:33 willamette rc: Starting pcmcia:succeeded
Jan6 22:29:33 willamette netfs: Mounting other filesystems:succeeded
Jan6 22:29:33 willamette apmd: Version 3.0.2 (APM BIOS 1.2, Linux driver 1.16)
Jan6 22:29:33 willamette apmd: apmd startup succeeded
Jan6 22:29:33 willamette autofs: automount startup succeeded
Jan6 22:29:33 willamette sshd:succeeded
Jan6 22:29:34 willamette apmd: Charge: * * * (-1% unknown)
Jan6 22:29:34 willamette crond: crond startup succeeded
Jan6 22:29:32 willamette sysctl: kernel.core_uses_pid = 1
Jan6 22:29:32 willamette network: Setting network parameters:succeeded
Jan6 22:29:32 willamette network: Bringing up loopback interface:succeeded
Jan6 22:29:34 willamette anacron: anacron startup succeeded
Jan6 22:29:35 willamette atd: atd startup succeeded
Jan6 22:29:55 willamette login(pam_unix): authentication failure; logname=LOGIN uid=0 euid=0 tty=tty1 ruser= rhost=user=root
Jan6 22:29:57 willamette login: FAILED LOGIN 1 FROM (null) FOR root, Authentication failure
Jan6 22:30:02 willamette login(pam_unix): session opened for user root by LOGIN(uid=0)
Jan6 22:30:02 willamette-- root: ROOT LOGIN ON tty1

cobranail 发表于 2005-1-7 00:08:36

没反应是指系统挂起还是什么?

也许是内核太老了,不认你的usb的型号

betatoy 发表于 2005-1-7 01:18:29

系統不響應usb, 就跟沒插一樣, 系統正常運行

linky_fan 发表于 2005-1-7 21:43:06

换个usb口试试??

betatoy 发表于 2005-1-8 00:12:07

換了, 還是不行

linky_fan 发表于 2005-1-8 19:57:16

啥牌子的.

linky_fan 发表于 2005-1-8 19:59:39

有livecd的话用它起动电脑再把你的U盘插上去 , 记得先开个tail -f/var/log/message.
页: [1]
查看完整版本: usb問題 各位幫幫我