LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-02-2003, 03:19 PM   #1
John Peterson
LQ Newbie
 
Registered: Jul 2003
Location: Menlo Park, California
Posts: 2

Rep: Reputation: 0
Why does isapnp make my ethernet vanish?


Hi,

I recently brought up Linux on a small single board computer (an Axiom SBC8242VE) to use as a small server.

Linux - in this case Debian 3.0 "Woody" with a 2.2.20-idepci kernel - came up pretty smoothly, except I had to manually enter the device IO address for the ethernet chip, a RealTek 8019. The chip appears at 0x220 instead of the default 0x300, so I had to set io=0x220 in the "ne" driver with modconf. With that fix, ethernet came up fine.

So then I decide I want to run smbfs on the system, and for that I
need a 2.4 kernel. So I did a kernel image install (2.4.18-bf2.4),
and it came up just fine, except for the Ethernet. After a few hours of poking around, I found that the "isa-pnp" was finding the card first, and for some mysterious reason, making it vanish. Here's what I see during boot in the 2.4.18-bf2.4 kernel:

isapnp: Scanning for PnP cards...
isapnp: Card 'Realtek Plug & Play Ethernet Card'
isapnp: 1 Plug & Play card detected total
ne.c: No NE*000 card found at i/o = 0x220
isapnp: Scanning for PnP cards...
isapnp: Card 'Realtek Plug & Play Ethernet Card'
isapnp: 1 Plug & Play card detected total

vs. the succussful 2.2.20 kernel:

ne.c:v1.10 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)
NE*000 ethercard probe at 0x220: 52 54 4c 19 10 ff
eth0: NE2000 found at 0x220, using IRQ 12.

Here's what's really strange: After the 2.2 kernel boots, I can
successfully probe the card using "ne2k-diag -p 0x220" and see that it's there. But when it boots in 2.4 ne2k-diag simply can't see the ethernet chip anymore, no matter what address I probe for it at. It's like it's been ripped off the card, at least until I reset the system.

I tried creating an /etc/idapnp.conf file and pointing isa-pnp to it
with modconf, but I really can't tell if the ida-pnp kernel module
even reads config files.

Any clues about how I would make the 2.4 kernel recognize the chip? Why does it seem to vanish after isapnp claims to detect it?

Much thanks,
jp
 
Old 07-03-2003, 09:06 PM   #2
John Peterson
LQ Newbie
 
Registered: Jul 2003
Location: Menlo Park, California
Posts: 2

Original Poster
Rep: Reputation: 0
Since nobody replied, I might as well answer it myself: The problem was the
option ne io=0x220
in the modules.conf file left over from the 2.2 kernel. This was needed in the 2.2 kernel (because it couldn't find the card automatically). In the 2.4 kernel, it is not only redundant, it actually causes the ne driver to fail. Just taking that line out cured the problem; the card was succesfully detected with
isa-pnp and the ne driver works fine.

FYI,
jp
 
Old 12-17-2017, 09:38 PM   #3
kakbrus
LQ Newbie
 
Registered: Dec 2017
Posts: 1

Rep: Reputation: 0
good

Nice blog, the article you have shared is good.This article is very useful. Thank you for sharing this topic here. thank you for this wonderful Article!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB vanish after install WIN anindyanuri Linux - Software 7 06-30-2005 10:38 AM
Fstab entries vanish after reboot zoropio Fedora 1 02-01-2004 06:48 AM
Terminal window dont vanish/minimise cvbuty Linux - Networking 0 01-27-2004 07:04 AM
ISAPnP support for ISA ethernet card OmegaBlac Arch 3 11-18-2003 02:07 PM
isapnp ethernet card setup hank@$3800 Linux - General 15 12-24-2001 09:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration