QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1078|回复: 1

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

[复制链接]
发表于 2006-5-2 11:17:31 | 显示全部楼层 |阅读模式
原内核为2.4 ,现在升级到2.6内核,
结果USB设备识别不了,U盘,移动硬盘都试过,

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

[code:1]
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
[/code:1]


使用lsmod查看:
[code:1]
[root@wang root]# lsmod
Module                  Size  Used by
ehci_hcd               27904  0
sd_mod                 16576  0
usb_storage            63872  0
scsi_mod              137416  2 sd_mod,usb_storage
nvidia               4547232  12
agpgart                33456  1 nvidia
i2c_core               20736  1 nvidia
ohci1394               32812  0
ieee1394               94996  1 ohci1394
parport_pc             26724  0
parport                34240  1 parport_pc
usbcore               120340  3 ehci_hcd,usb_storage
[/code:1]

查看USB硬件信息

[code:1]
[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])

[/code:1]

在grub.conf中配置
[code:1]
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
[/code:1]



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


............
 楼主| 发表于 2006-5-3 10:33:51 | 显示全部楼层
看来还得靠自己啊,问题我自己解决了。哈哈!!

原来不能使用ehci_hcd 就会报错。关掉 ehci_hcd
[code:1]
rmmod ehci_hcd
[/code:1]


然后加载 [code:1] modprobe uhci_hcd [/code:1]

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

我是via主板 vt8273   cpu AMD

加载Usb设备的几个重要模块是:sd_mod  usbcore scsi_mod uhci_hcd
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-23 11:20 , Processed in 0.053792 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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