LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-20-2001, 03:58 AM   #1
r3b00t
Member
 
Registered: May 2001
Distribution: OpenBSD 3.0-beta
Posts: 50

Rep: Reputation: 15
[linux-i686] 3c59x and sunhme


Hi all,

I've got this p3 Linux box, and I just ripped a happy meat fast ethernet card from one of our suns. I slapped it into my p3, compiled the kernel with the sunhme module. Problem is that although the module loads perfectly, the interface doesn't show up in ifconfig...

When I load the module, the following is appended to my dmesg:

PCI: Found IRQ 11 for device 00:0e.1
PCI: Sharing IRQ 11 with 00:07.2

The output of my lspci is:

00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge (rev 03)
00:07.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 02)
00:0d.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 24)
00:0e.0 Bridge: Sun Microsystems Computer Corp. EBUS (rev 01)
00:0e.1 Ethernet controller: Sun Microsystems Computer Corp. Happy Meal (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro AGP 1X/2X (rev 5c)


Can anybody tell me what I'm doing wrong / forgot? Anybody have experience with Sun nics in intel boxen?

regards,

r3b00t
 
Old 08-20-2001, 05:06 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
When you say the inteface doesn't show up you mean you get and error when you try
Code:
ifconfig eth1
yeah?

cheers

Jamie...
 
Old 08-20-2001, 05:26 AM   #3
r3b00t
Member
 
Registered: May 2001
Distribution: OpenBSD 3.0-beta
Posts: 50

Original Poster
Rep: Reputation: 15
This is what I do:

root@lacrima:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:50A:25:AC:50
inet addr:172.16.6.66 Bcast:172.16.255.255 Mask:255.255.0.0
UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:152065 errors:16 dropped:0 overruns:0 frame:25
TX packets:31422 errors:0 dropped:0 overruns:0 carrier:0
collisions:1382 txqueuelen:100
RX bytes:18842939 (17.9 Mb) TX bytes:4474515 (4.2 Mb)
Interrupt:10 Base address:0xdc00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:38 errors:0 dropped:0 overruns:0 frame:0
TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2654 (2.5 Kb) TX bytes:2654 (2.5 Kb)

root@lacrima:~# modprobe sunhme
root@lacrima:~# lsmod|grep hme
sunhme 15648 0 (unused)
root@lacrima:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:50A:25:AC:50
inet addr:172.16.6.66 Bcast:172.16.255.255 Mask:255.255.0.0
UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:152519 errors:16 dropped:0 overruns:0 frame:25
TX packets:31456 errors:0 dropped:0 overruns:0 carrier:0
collisions:1383 txqueuelen:100
RX bytes:18892619 (18.0 Mb) TX bytes:4480328 (4.2 Mb)
Interrupt:10 Base address:0xdc00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:38 errors:0 dropped:0 overruns:0 frame:0
TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2654 (2.5 Kb) TX bytes:2654 (2.5 Kb)

root@lacrima:~# dmesg |tail -2
PCI: Found IRQ 11 for device 00:0e.1
PCI: Sharing IRQ 11 with 00:07.2
 
Old 08-22-2001, 11:02 AM   #4
ektoric
LQ Newbie
 
Registered: Jun 2001
Location: Austin, TX
Distribution: FC5/6
Posts: 23

Rep: Reputation: 15
RFMI.. could you dump your /etc/modules.conf
(or /etc/conf.modules or /etc/modules, etc. depending on dist)..
 
Old 08-22-2001, 12:34 PM   #5
r3b00t
Member
 
Registered: May 2001
Distribution: OpenBSD 3.0-beta
Posts: 50

Original Poster
Rep: Reputation: 15
Sure, although it won't be of much help:

root@lacrima:~# cat /etc/modules.conf
alias char-major-195 NVdriver

I compiled the driver into the kernel too, and as a module, it loaded perfectly. Well, apart from eth1 actually showing up in dmesg / ifconfig

The problem actually is that my hme card is sharing an interrupt with my usb mouse. Rotten Dell box >:( (Unless somebody can tell me how I can assign another interrupt to either one)

Anyway I'll take the card home with me tomorrow, so I can test it out in my bp6 :)
 
Old 08-22-2001, 12:43 PM   #6
drjimstuckinwin
Member
 
Registered: Mar 2001
Location: Manchester UK
Distribution: Mainly Fedora
Posts: 496

Rep: Reputation: 30
Put it in a different slot.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Linux for i686 Morton Linux - Newbie 6 11-10-2005 01:51 AM
2.6.9-5.EL-hugemem-i686, 2.6.9-5.EL-i686, 2.6.9-5.EL-smp-i686 , Which? arsham Linux - General 2 05-07-2005 11:21 PM
2.6.9-5.EL-hugemem-i686, 2.6.9-5.EL-i686, 2.6.9-5.EL-smp-i686 , Which? arsham Linux - Enterprise 1 05-07-2005 07:20 PM
is celeron 500 an i686 ? if so how to move from i386 to i686 raft Linux - Hardware 1 12-22-2003 06:58 AM
Messed up Linux i686 RedHattedGnome Linux - Software 40 12-13-2003 09:41 PM

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

All times are GMT -5. The time now is 07:01 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