QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 831|回复: 10

usb問題 各位幫幫我

[复制链接]
发表于 2005-1-6 18:18:55 | 显示全部楼层 |阅读模式
我把閃存插到機器上後, 系統總是提示usb_control/bulk_msg: timeout,  我將閃存拔下以後系統恢復正常. 各位請問怎麽辦?
 楼主| 发表于 2005-1-6 18:37:17 | 显示全部楼层
當我再插上閃存時系統沒反應, 打fdisk -l /dev/sdc系統還是沒反應
回复

使用道具 举报

 楼主| 发表于 2005-1-6 19:12:55 | 显示全部楼层
我的系統是rh9
回复

使用道具 举报

发表于 2005-1-6 21:22:36 | 显示全部楼层
开一个终端,输入以下命令
[code:1]
tail  -f    /var/log/message
[/code:1]
然后插入U盘,观察终端的输出,我的如下:
[code:1]
Jan  7 05:18:37 home usb 1-2: new full speed USB device using address 2
Jan  7 05:18:37 home scsi0 : SCSI emulation for USB Mass Storage devices
Jan  7 05:18:37 home Vendor: MiniKing  Model:                   Rev: 7.77
Jan  7 05:18:37 home Type:   Direct-Access                      ANSI SCSI revision: 02
Jan  7 05:18:37 home SCSI device sda: 128000 512-byte hdwr sectors (66 MB)
Jan  7 05:18:37 home sda: Write Protect is off
Jan  7 05:18:37 home sda: Mode Sense: 03 00 00 00
Jan  7 05:18:37 home sda: assuming drive cache: write through
Jan  7 05:18:37 home /dev/scsi/host0/bus0/target0/lun0: p1
Jan  7 05:18:37 home Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Jan  7 05:18:37 home Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
Jan  7 05:18:37 home USB Mass Storage device found at 2
Jan  7 05:20:01 home /usr/sbin/cron[23471]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
[/code:1]
看你都在用/dev/sdc了,是不是用了scsi的硬盘了?
回复

使用道具 举报

 楼主| 发表于 2005-1-6 23:50:21 | 显示全部楼层
这是我的message文件的内容, 我並沒有使用scsi硬盤

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

使用道具 举报

发表于 2005-1-7 00:08:36 | 显示全部楼层
没反应是指系统挂起还是什么?

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

使用道具 举报

 楼主| 发表于 2005-1-7 01:18:29 | 显示全部楼层
系統不響應usb, 就跟沒插一樣, 系統正常運行
回复

使用道具 举报

发表于 2005-1-7 21:43:06 | 显示全部楼层
换个usb口试试??
回复

使用道具 举报

 楼主| 发表于 2005-1-8 00:12:07 | 显示全部楼层
換了, 還是不行
回复

使用道具 举报

发表于 2005-1-8 19:57:16 | 显示全部楼层
啥牌子的.
回复

使用道具 举报

发表于 2005-1-8 19:59:39 | 显示全部楼层
有livecd的话用它起动电脑再把你的U盘插上去 , 记得先开个tail -f  /var/log/message.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-9 02:02 , Processed in 0.050239 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表