|
这几天电脑加了一块 Intel 82559 的网卡,属于 e100 的驱动程序,可是Debian官方内核(2.6.29)不能正常驱动,驱动是模块形式的,重新编译内核,精简优化,把e100的网卡驱动编译进内核还是不行
dmesg显示
e100 0000:03:02.0: firmware: requesting e100/d101m_ucode.bin
[ 374.700435] e100: eth1: e100_request_firmware: Failed to load firmware "e100/d101m_ucode.bin": -2
Google了一下,没几条信息,基本都是一样的On Sat, Jan 17, 2009 at 8:08 AM, Andrey Borzenkov <arvidjaar@...l.ru> wrote:
> [ 2.008509] e100: eth0: e100_request_firmware: Failed to load
> firmware "e100/d101m_ucode.bin": -22
> [ 2.010461] netconsole: failed to open eth0
> [ 2.010996] netconsole: cleaning up
>
> This has been working all the time without requiring any external
> firmware to be present. Why it suddenly refuses to work now?
to use netconsole you probably need to set config option
CONFIG_FIRMWARE_IN_KERNEL=y
Hm, I wonder if we couldn't have netconsole=y select
CONFIG_FIRMWARE_IN_KERNEL in Kconfig
the arguments as to why the firmware was split out of the drivers have
already been made on this list. Not that I agree with them, but the
decision has been made and we're (network devs) going along with it.
配置内核 CONFIG_FIRMWARE_IN_KERNEL=y 重新编译,还是一样
apt-cache search e100 没有相关的东西
山穷水尽,难道这么普遍的网卡都有问题?不太可能,原来用 Gentoo 的时候没问题的
后来突然想到
apt-cache search d101m
firmware-linux - Binary firmware for Linux shipped firmwares
apt-get install firmware-linux
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
firmware-linux
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 70.6kB of archives.
After this operation, 315kB of additional disk space will be used.
Get:1 http://www.anheng.com.cn squeeze/non-free firmware-linux 0.15 [70.6kB]
Fetched 70.6kB in 1s (42.9kB/s)
Selecting previously deselected package firmware-linux.
(Reading database ... 71504 files and directories currently installed.)
Unpacking firmware-linux (from .../firmware-linux_0.15_all.deb) ...
Setting up firmware-linux (0.15) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.29-custom-20090408-r2
搞定,可以使用了,原来 Debian 把 Firemware 都分开了
同样办法,搞定 Sagem XG-760N 无线网卡,安装 zd1211 的 Firmware |
|