9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] ether2114x - can't ping gateway
@ 2006-11-15  2:34 Fazlul Shahriar
  2006-11-15  3:34 ` lucio
  2006-11-15  3:39 ` Federico Benavento
  0 siblings, 2 replies; 5+ messages in thread
From: Fazlul Shahriar @ 2006-11-15  2:34 UTC (permalink / raw)
  To: 9fans

Hello, I'm trying to get my network card working in plan9.  It works
fine in Linux, but in plan9 I can't ping anything except myself.  I
have this ipconfig line in my termrc (DHCP doesn't seem to work):

	ip/ifconfig -g 192.168.0.1 ether /net/ether0 192.168.0.6 255.255.255.0

and pci -v says my card is:

0.5.0:	net  02.00.00 1011/0019  10 0:00002001 128 1:41200000 1024
	Digital Equipment Corporation DC21142/3 PCI/CardBus 10/100 Mbit Ethernet Ctlr

Looking through the archives, I found this (very old) thread where
someone with the same type of card got it working with snoopy running
(because the driver did promiscuous mode right):

http://9fans.net/archive/2002/05/148

but snoopy doesn't work for me.  Also, in the same thread everything
on this message:

http://9fans.net/archive/2002/05/147

is true in my case.  i.e.  /net/arp shows WAIT for everything except
for my IP and in /net/ether0/0/stats, out minus in is zero.  Which
makes me think there's definitely something wrong with the driver.

Anyone with this card have it working?  Maybe I'm doing something
obvious wrong.  Here's /dev/kmesg with debugging on:

Plan 9
E820: 00000000 0009fc00 memory
E820: 0009fc00 000a0000 reserved
E820: 000f0000 00100000 reserved
E820: 00100000 08000000 memory
E820: fffe0000 100000000 reserved
126 holes free
00017000 0009f000 557056
0031d000 034c0000 52047872
52604928 bytes free
cpu0: 346MHz AuthenticAMD AMD-K6-2 (cpuid: AX 0x0580 DX 0x8001BF)
ELCR: 0C00
pcirouting: BIOS workaround: PCI.1.0.0 at pin 1 link 1 irq 10 -> 11
srom: 11 0E BB B0 00 00 00 00 00 00 00 00 00 00 00 00
      3F 18 04 01 00 40 D0 06 2C E5 00 1E 00 00 00 08
      02 86 02 00 E1 08 00 00 86 02 04 E1 08 00 00 00
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 76 0F
sct 0x800 medium 0x0 k 2 curk 1 phy 0
type2: medium -1 block[2] 4
type2mode: medium 0x04
type2: medium -1 block[2] 0
type2mode: medium 0x00
type2mode: csr13 00000001 csr14 00007F3F csr15 00000008
type2mode: gpc 08E10000 gpd 00000000 csr6 82028020
#l0: 2114x: 10Mbps port 0x2000 irq 10: 0040d0062ce5
#U/usb0: uhci: port 0x2080 irq 10
128M memory: 53M kernel data, 75M user, 301M swap
root is from (tcp, il, local)[local!#S/sdC0/fossil]:
user[none]: glenda
time...
fossil(#S/sdC0/fossil)...version...time...

init: starting /bin/rc
dossrv: serving #s/dos


Thanks in advance
fhs


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-11-15  4:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-15  2:34 [9fans] ether2114x - can't ping gateway Fazlul Shahriar
2006-11-15  3:34 ` lucio
2006-11-15  4:27   ` Fazlul Shahriar
2006-11-15  4:31     ` andrey mirtchovski
2006-11-15  3:39 ` Federico Benavento

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).