From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <57b557bb0611141834u78d0979r6f608b8a8c99e247@mail.gmail.com> Date: Tue, 14 Nov 2006 21:34:34 -0500 From: "Fazlul Shahriar" To: 9fans@cse.psu.edu MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [9fans] ether2114x - can't ping gateway Topicbox-Message-UUID: e028f3b0-ead1-11e9-9d60-3106f5b1d025 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