Re: Adding new ethernet card to Sun20
I assume you already did a touch /reconfigure and then rebooted or a boot -r from the ok prompt? From: Ben Collins [EMAIL PROTECTED] To: todd.sarratt [EMAIL PROTECTED] CC: debian-sparc@lists.debian.org Subject: Re: Adding new ethernet card to Sun20 Date: Wed, 30 Oct 2002 23:45:00 -0500 I'm sure I'm missing something very obvious. What is it? Sounds to me like it is not being probed by a proper driver. Try doing: ifconfig -a If you don't see eth2, it isn't initialized by the kernel. Try looking at dmesg | less for signs of a problem. Also, at the OBP prompt do probe-sbus-all to make sure it is being detected. -- Debian - http://www.debian.org/ Linux 1394 - http://www.linux1394.org/ Subversion - http://subversion.tigris.org/ Deqo - http://www.deqo.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] _ Internet access plans that fit your lifestyle -- join MSN. http://resourcecenter.msn.com/access/plans/default.asp
Re: SUCCESS! adding new ethernet card to Sun20
Success! Thanks everyone who nudged me in the right direction. My debian guru / mentor will kill me for the blunt force, but I'm still working on debian kernel compiles vs. the rest of the Linux world. Here's how I got my new Sun SBUS FastEthernet card to work : gibraltar:/usr/src/linux# make modules 2 hours later gibraltar:/usr/src/linux# insmod /lib/modules/2.4.18/kernel/drivers/net/sunhme.o Warning: loading /lib/msoduulnesh/2m.4e.1.8/cke:rnvel1/d.ri9ve9rs /n1et2/s/unShm ee.po /wi9ll9 t aiDnta tvhei kder neSl:. n o Mliicelnsle r (davem@redhat.com) eth2: HAPPY MEAL (SBUS) 10/100baseT Ethernet 08:00:20:72:f3:7a gibraltar:/usr/src/linux# ifconfig -a snip eth2 Link encap:Ethernet HWaddr 08:00:20:72:F3:7A inet addr:10.0.0.1 Bcast:10.255.255.255 Mask:255.0.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:55 Interrupt:55 gibraltar:/usr/src/linux# Thanks! Todd - Original Message - From: Andrew Sharp [EMAIL PROTECTED] To: todd.sarratt [EMAIL PROTECTED] Sent: Thursday, October 31, 2002 7:42 PM Subject: Re: Adding new ethernet card to Sun20 have you tried modprobe bigmac? i'm sure that the hme driver is part of the kernel, but the bigmac driver is probably just built as a module. it won't hurt anything to try it. if modprobe doesn't complain, then try your ifconfig -a. luck, a On Thu, Oct 31, 2002 at 07:15:56PM -0800, todd.sarratt wrote: ifconfig -a does not show an eth2. dmesg shows some of this : eth0: Carrier Lost, trying TPE Which is fine, it comes up on the TPE. No other eth messages. I get this in the OBP : sbus-probe-list fe0123 fe0123 I don't seem to have much luck with the following : ok probe-sbus-all probe-sbus-all ? ok probe-all ok I also cannot find drivers for a single port FastEthernet card. Any more suggestions appreciated! Thanks, Todd - Original Message - From: Ben Collins [EMAIL PROTECTED] To: todd.sarratt [EMAIL PROTECTED] Cc: debian-sparc@lists.debian.org Sent: Wednesday, October 30, 2002 8:45 PM Subject: Re: Adding new ethernet card to Sun20 I'm sure I'm missing something very obvious. What is it? Sounds to me like it is not being probed by a proper driver. Try doing: ifconfig -a If you don't see eth2, it isn't initialized by the kernel. Try looking at dmesg | less for signs of a problem. Also, at the OBP prompt do probe-sbus-all to make sure it is being detected. -- Debian - http://www.debian.org/ Linux 1394 - http://www.linux1394.org/ Subversion - http://subversion.tigris.org/ Deqo - http://www.deqo.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Adding new ethernet card to Sun20
ifconfig -a does not show an eth2. dmesg shows some of this : eth0: Carrier Lost, trying TPE Which is fine, it comes up on the TPE. No other eth messages. I get this in the OBP : sbus-probe-list fe0123 fe0123 I don't seem to have much luck with the following : ok probe-sbus-all probe-sbus-all ? ok probe-all ok I also cannot find drivers for a single port FastEthernet card. Any more suggestions appreciated! Thanks, Todd - Original Message - From: Ben Collins [EMAIL PROTECTED] To: todd.sarratt [EMAIL PROTECTED] Cc: debian-sparc@lists.debian.org Sent: Wednesday, October 30, 2002 8:45 PM Subject: Re: Adding new ethernet card to Sun20 I'm sure I'm missing something very obvious. What is it? Sounds to me like it is not being probed by a proper driver. Try doing: ifconfig -a If you don't see eth2, it isn't initialized by the kernel. Try looking at dmesg | less for signs of a problem. Also, at the OBP prompt do probe-sbus-all to make sure it is being detected. -- Debian - http://www.debian.org/ Linux 1394 - http://www.linux1394.org/ Subversion - http://subversion.tigris.org/ Deqo - http://www.deqo.com/
Re: [PLUG] Adding new ethernet card to Sun20 running debian
Oct 31 19:16:24 gibraltar kernel: sunlance.c:v2.00 11/Sep/99 Miguel de Icaza (mi [EMAIL PROTECTED]) Oct 31 19:16:24 gibraltar kernel: eth0: LANCE 08:00:20:72:f3:7a Oct 31 19:16:24 gibraltar kernel: eth0: using auto-carrier-detection. Oct 31 19:16:24 gibraltar kernel: eth1: LANCE 08:00:20:72:f3:7a Someone suggested that I do a modprobe bigmac, which failed. Might I have an hme card? Does anyone know anything about mixing hme and eth cards? I did an apt-cache search bigmac with no results. Where would I find those drivers? I will continue to Google. Thanks for the advice so far! Todd - Original Message - From: Galen Seitz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 31, 2002 7:13 AM Subject: Re: [PLUG] Adding new ethernet card to Sun20 running debian Were all three of your ethernet interfaces detected at boot time? dmesg or /var/log/messages ought to show all three interfacess. I would expect you to see the sparc equivalent of this three times. tulip.c:v0.91g-ppc 7/16/99 [EMAIL PROTECTED] eth0: Digital DS21140 Tulip rev 34 at 0xa400, 00:40:05:A1:C2:09, IRQ 14. eth0: EEPROM default media type Autosense. eth0: Index #0 - Media MII (#11) described by a 21140 MII PHY (1) block. eth0: MII transceiver #0 config status 780d advertising 01e1. eth0: Setting full-duplex based on MII#0 link partner capability of 41e1. Also, are you certain that your kernel/modules support the new card? Perhaps Paul H. can provide some additional insight. galen ___ PLUG mailing list [EMAIL PROTECTED] http://lists.pdxlinux.org/mailman/listinfo/plug
Adding new ethernet card to Sun20
I inherited a Sun Sparc20 with two ethernet cards, one on board and an SBUS SCSI/10Meg Ethernet card. Box takes DHCP over ETH0 and I haven't tried plugging anything into ETH1 but it looks alright : gibraltar:/etc# ifconfigeth0 Link encap:Ethernet HWaddr 08:00:20:72:F3:7A inet addr:192.168.0.23 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2499 errors:0 dropped:0 overruns:0 frame:0 TX packets:3273 errors:3 dropped:0 overruns:0 carrier:3 collisions:0 txqueuelen:100 RX bytes:266726 (260.4 KiB) TX bytes:293539 (286.6 KiB) Interrupt:38 eth1 Link encap:Ethernet HWaddr 08:00:20:72:F3:7A inet addr:10.38.69.1 Bcast:10.255.255.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:55 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:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) A friend slid an SBUS FastEthernet card my way and I'd like to set it up as eth2. Here's what my interfaces file looks like : gibraltar:/etc/network# more interfaces# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) # The loopback interface# automatically added when upgradingauto loiface lo inet loopback # The first network card - this entry was created during the Debian installation# automatically added when upgrading # This faces ATT and that crazy internetauto eth0iface eth0 inet dhcp # This is the local zone. Various rules will control it, probably# only allow HTTP connections out, etc. It's 10.38.69.1/24auto eth1iface eth1 inet staticaddress 10.38.69.1netmask 255.255.255.0 # This is the DMZ. Anything goes out. Deciding still what# comes in. This is 172.22.38.1/24auto eth2iface eth2 inet staticaddress 172.22.38.1netmask 255.255.255.0 However, trying to restart the interfaces gives me : gibraltar:/etc/network# ../init.d/networking restartReconfiguring network interfaces: eth2: ERROR while getting interface flags: Nosuch deviceSIOCSIFADDR: No such deviceeth2: ERROR while getting interface flags: No such deviceSIOCSIFNETMASK: No such deviceeth2: ERROR while getting interface flags: No such devicedone. I'm sure I'm missing something very obvious. What is it? Thanks, Todd
Re: Adding new ethernet card to Sun20
I'm sure I'm missing something very obvious. What is it? Sounds to me like it is not being probed by a proper driver. Try doing: ifconfig -a If you don't see eth2, it isn't initialized by the kernel. Try looking at dmesg | less for signs of a problem. Also, at the OBP prompt do probe-sbus-all to make sure it is being detected. -- Debian - http://www.debian.org/ Linux 1394 - http://www.linux1394.org/ Subversion - http://subversion.tigris.org/ Deqo - http://www.deqo.com/