wlbookwl 发表于 2006-5-2 11:17:31

!! 急,内核升级2.6后,USB设备识别不上???

原内核为2.4 ,现在升级到2.6内核,
结果USB设备识别不了,U盘,移动硬盘都试过,

在2.6内核下将移动硬盘插上后,硬盘灯会闪二下,用fdisk -l /dev/sda 看不到.
查看dmesg报错如下.


usb 1-2: new high speed USB device using ehci_hcd and address 3
usb 1-2: device not accepting address 3, error -71
usb 1-2: new high speed USB device using ehci_hcd and address 4
usb 1-2: device not accepting address 4, error -71
usb 1-2: new high speed USB device using ehci_hcd and address 5
usb 1-2: device descriptor read/all, error 8
usb 1-2: new high speed USB device using ehci_hcd and address 6
usb 1-2: device not accepting address 6, error -71
usb 1-2: new high speed USB device using ehci_hcd and address 7
usb 1-2: device not accepting address 7, error -71
usb 1-2: new high speed USB device using ehci_hcd and address 8
usb 1-2: device not accepting address 8, error -71
usb 1-2: new high speed USB device using ehci_hcd and address 9
usb 1-2: device descriptor read/all, error 8
usb 1-2: new high speed USB device using ehci_hcd and address 10



使用lsmod查看:

[root@wang root]# lsmod
Module                  SizeUsed by
ehci_hcd               279040
sd_mod               165760
usb_storage            638720
scsi_mod            1374162 sd_mod,usb_storage
nvidia               454723212
agpgart                334561 nvidia
i2c_core               207361 nvidia
ohci1394               328120
ieee1394               949961 ohci1394
parport_pc             267240
parport                342401 parport_pc
usbcore               1203403 ehci_hcd,usb_storage


查看USB硬件信息


[root@wang root]# lspci -v | grep USB
00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 81) (prog-if 00 [UHCI])
00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 81) (prog-if 00 [UHCI])
00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 81) (prog-if 00 [UHCI])
00:10.3 USB Controller: VIA Technologies, Inc. USB (rev 81) (prog-if 00 [UHCI])
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86) (prog-if 20 [EHCI])



在grub.conf中配置

default=0
timeout=5
splashimage=(hd0,7)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.6.16.10)
      root (hd0,7)
      kernel /boot/vmlinuz-2.6.16.10 ro root=LABEL=/ noapic acpi=off
      initrd /boot/initrd-2.6.16.10.img
title Red Hat Linux (2.4.20-8)[old]
      root (hd0,7)
      kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
      initrd /boot/initrd-2.4.20-8.img
title Windows 2000
      rootnoverify (hd0,0)
      chainloader +1




请高人指导一下.
我现在回到2.4内核是可以挂上移动硬盘的,2.6不可以为什么呢?


............

wlbookwl 发表于 2006-5-3 10:33:51

看来还得靠自己啊,问题我自己解决了。哈哈!!

原来不能使用ehci_hcd 就会报错。关掉 ehci_hcd

rmmod ehci_hcd



然后加载 modprobe uhci_hcd

U盘,移动硬盘就会识别上了。

我是via主板 vt8273   cpu AMD

加载Usb设备的几个重要模块是:sd_modusbcore scsi_mod uhci_hcd
页: [1]
查看完整版本: !! 急,内核升级2.6后,USB设备识别不上???