LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-25-2005, 03:09 PM   #1
Jeozp
Member
 
Registered: Dec 2004
Distribution: Debian
Posts: 40

Rep: Reputation: 15
Debian nic problems


I am having problems istaling a network adapter on my Debian box.

I have tried two difrent cards one Asus and one RealTek, boath times the lspci -v output looked the same, here is the intresting part:

<snip>
Flags: bus master, stepping, medium devsel, latency 32 ( )
I/O ports at b000
<snip>

The fact there is no IRQ setting is obviusly the problem, right? Especialy since I have tested the cards on seperate macihes (boath Debian and W2k).
I realy can't make heads or tails out of this

Any ideas anyone?
 
Old 02-25-2005, 03:41 PM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
There is probably no driver installed for them. Is the Realtek a 8139? Two ways to do this. Debian use a modules tool called modconf. Do modconf from a console as root. If it says unknown then apt-get install modconf. It will give a menu, go down the list to network card drivers and install the relevant driver. If you know exactly which driver you need like realtek 8139too then do insmod 8139too. You would then need to configure the network address etc.
 
Old 02-28-2005, 01:33 AM   #3
Jeozp
Member
 
Registered: Dec 2004
Distribution: Debian
Posts: 40

Original Poster
Rep: Reputation: 15
Thanks for the advice, it was helpfull since I didnt have the drivers instaled.
But lspci still gives me no IRQ and when I checked dmesg I saw my nic had an IRQ0, did some googleing and that can't be right, so its probably something hardware related, or maybe my bios settings??
Does anyone know any good sources I could try to get some idea whats what in the "PCI settings" section of the bios??
 
Old 02-28-2005, 10:08 AM   #4
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
How many pci slots do you have? In some instances the manufacturers share slot3 with the agp and it can cause problems with a NIC.
 
Old 03-01-2005, 03:44 AM   #5
Jeozp
Member
 
Registered: Dec 2004
Distribution: Debian
Posts: 40

Original Poster
Rep: Reputation: 15
Again thx for the replay
I have 6 pci slots, 1 agp for the vide card, and one for the sound card (I'm guesing ISA ?? it is a pretty old 6+years soundblaster 32); slot 3 is empty (going on what it says on the motherboard)

I have tried playing with irq assignment in the bios, every time I ended up with bootup halting at plug'n'play init, ofcourse this was plain trial end eror without any actual knowledge of waht I was doing so...
 
Old 03-01-2005, 03:59 AM   #6
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
I would disable plug 'n play in the bios and leave it to assign IRQ's. Try moving the card to different pci slots.
 
Old 03-01-2005, 04:45 AM   #7
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
You should see the BIOS PnP assignments coming out of the POST screen, if you can it will show what/if IRQ assignments are made to PCI and AGP. I found that inserting an unbootable floppy usually gets it to stop where I can see this info, your BIOS may also accept the Scroll Lock or Pause/Break key to stop and leave this info up as well.

The motherboard docs may give a clue as to which slots share IRQs with what onboard devices or other slots.

Aside from the IRQ not reading in lspci, can you get the card to work? ie load driver, assign IP with ifconfig w.x.y.z netmask 255.255.255.0 broadcast w.x.y.255 or dhclient eth0
 
Old 03-01-2005, 05:40 AM   #8
Jeozp
Member
 
Registered: Dec 2004
Distribution: Debian
Posts: 40

Original Poster
Rep: Reputation: 15
Quote:
Aside from the IRQ not reading in lspci, can you get the card to work?
No I can't, when I try it I get
SCIOSCIFFLAGS: Device or Recourse busy!

I did try moving the card around and making my BIOS do the irg assignment atomaticly with no improvments.
I have, through trial-and-error, figured out that PCI 1 is acteuly the AGP slot. As for the motherboard docs they are MIA in one of the moves, do you know where i might find them on-line?
 
Old 03-01-2005, 05:59 AM   #9
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
Quote:
do you know where i might find them on-line?
Google for your mobo manufacturer or model number and the word home or downloads, such as:

http://www.google.com/search?q=asus+home
or
EDIT: best to search the model number with the word downloads
http://www.google.com/search?q=P5GD2+downloads

For BIOS settings, a good start is to set 'PNP OS off', 'reset config data' and all PCI/IRQ assignemts to 'auto' or 'PnP'

Last edited by Darin; 03-01-2005 at 06:16 AM.
 
Old 03-01-2005, 06:19 AM   #10
Jeozp
Member
 
Registered: Dec 2004
Distribution: Debian
Posts: 40

Original Poster
Rep: Reputation: 15
Thank you all turning PnP OS to off did it, I now have a working network adapter. Soon I'll be posting from my Debian box bugging you all with something else

Again thank you for the help
 
  


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
need help in telling Debian about second nic kennmurrah Linux - Networking 3 10-18-2005 03:45 PM
Debian "etch" install problems - no NIC found SharkeyNor Debian 2 08-14-2005 04:12 AM
debian keeps forgetting my NIC chrull Linux - Hardware 0 04-22-2004 12:31 PM
Help me set up debian nic! Ghettozn Linux - Newbie 1 07-23-2003 02:49 PM
Debian and NIC Jata Linux - Hardware 0 05-24-2003 12:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:22 AM.

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