Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users 中文 (Chinese)
  • Search

[已解决]eth0找不到了,内核已经重新编译不下5遍了。郁闷啊

欢迎来到Gentoo中文论坛。
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
Author
Message
zrael
n00b
n00b
User avatar
Posts: 19
Joined: Mon Jan 21, 2008 5:06 pm
Location: Guangdong,China

[已解决]eth0找不到了,内核已经重新编译不下5遍了。郁闷啊

  • Quote

Post by zrael » Mon Apr 21, 2008 7:31 am

重启登录前提示:

Code: Select all

network interface eth0 does not exist
please verify hardware or kernel module (deriver)
error: cannot start netmount as net.eth0 could not start
#ifconfig
只有 lo 项
#ifconfig -a
只有 lo 和 dummy0 两项

#lspci 可以检查出网卡

说明:系统装好后第一次编译的系统网络是通的,后来重新编译了一次内核(没动过网络部分选项),结果重启后两个内核都出现这样错误。。 :(
Last edited by zrael on Tue Apr 22, 2008 1:22 am, edited 1 time in total.
熟练内核配置是基本功!
Top
punkid
Apprentice
Apprentice
User avatar
Posts: 215
Joined: Sat Dec 18, 2004 8:23 am
Location: offline

  • Quote

Post by punkid » Mon Apr 21, 2008 11:44 am

try

Code: Select all

mv /etc/udev /etc/udev.bak/
emerge udev
My Blog | Latest Screenshot
Top
EricHsu
Bodhisattva
Bodhisattva
User avatar
Posts: 591
Joined: Mon May 03, 2004 12:38 pm
Location: Aragon Consulting Group, Beijing, China
Contact:
Contact EricHsu
Website

Re: eth0找不到了,内核已经重新编译不下5遍了。郁闷啊

  • Quote

Post by EricHsu » Mon Apr 21, 2008 12:41 pm

zrael wrote:#lspci 可以检查出网卡
请把 lspci 的信息贴出来, 还有 lsmod 的 :)
- http://nkbit.com
- http://twitter.com/xuyihua
Top
zrael
n00b
n00b
User avatar
Posts: 19
Joined: Mon Jan 21, 2008 5:06 pm
Location: Guangdong,China

  • Quote

Post by zrael » Tue Apr 22, 2008 1:24 am

从新编译了内核,把网络网卡相关的选项都编进内核,还把大部分网卡驱动也编进去,新内核OK
熟练内核配置是基本功!
Top
EricHsu
Bodhisattva
Bodhisattva
User avatar
Posts: 591
Joined: Mon May 03, 2004 12:38 pm
Location: Aragon Consulting Group, Beijing, China
Contact:
Contact EricHsu
Website

  • Quote

Post by EricHsu » Tue Apr 22, 2008 2:06 am

zrael wrote:从新编译了内核,把网络网卡相关的选项都编进内核,还把大部分网卡驱动也编进去,新内核OK
恭喜恭喜!

不过, 我建议你进一步研究一下: 自己的网卡是什么, 真正起作用的驱动模块是哪个. 然后进一步精简.

步骤很简单:
  • $ /usr/sbin/lspci | grep -i ethernet - 你将会看到自己的模块的型号
  • 然后拿着这个型号去 google, 加上 "linux driver/module" 之类的关键字, 你会得到一些信息
  • $ lsmod, 你会看到中间有某个模块和上一步搜索的结果有关联, 那就是我们要的模块了 :)
  • 重新编译内核, 把其他没必要的驱动都弄掉, 完美.
- http://nkbit.com
- http://twitter.com/xuyihua
Top
doubledr
n00b
n00b
Posts: 23
Joined: Sat Feb 23, 2008 6:51 pm

  • Quote

Post by doubledr » Tue Apr 22, 2008 6:53 pm

网络部分是比较烦的
Top
Post Reply
  • Print view

6 posts • Page 1 of 1

Return to “中文 (Chinese)”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic