BBS水木清华站∶精华区

发信人: mephisto (魔鬼*修心养性*重新做人), 信区: Linux        
标  题: Re: 居然找不到ne 2000 compatible 
发信站: BBS 水木清华站 (Wed Mar 10 09:10:28 1999) 
 
【 在 andrewleu (淡入淡出) 的大作中提到: 】 
 前几天把网卡卸下来,重装上之后,linux box竟然着不到了, 
 本来即使找不到,kernel也会给个错误信息,可是我的kernel就象跟本没 
 编译这选项一样, 
Yes, that is ok. If the module auto_probe fail, it just pass by like the 
moudle have not been compiled in the kernel. 
What you have see is ok. I guess you have install a different netcard 
or the different base io port? 
 看了看ne.c在ne_prob1()里有一段: 
 reg0=inb_p(ioaddr); 
 if(reg0==0xff) 
 return NODEV; 
 我在这里加了调试信息,发现程序就是在这里执行不下去了, 
 到底inb_p()是干什么的? 
inb_p() read a btye from the io port just like: 
in al, ioaddr 
mov byte ptr [reg0],al 
 
 为什么linux发现不了ne2000? 
That means the base ioaddress is not correct. Try other one. 
 
-- 
约塞连怀疑地摇了摇头,拒绝接受丹比的劝告."当我抬起来时,我看到人们全在设法赚钱.我 
看不见天堂,看不见圣人,也看不见天使.我只看见人们利用每一次正当的冲动和每一场人类 
的悲剧大把大把地捞钱." 
 
※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: 202.112.38.6] 

BBS水木清华站∶精华区