9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Federico Benavento" <benavento@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] ether2114x - can't ping gateway
Date: Wed, 15 Nov 2006 04:39:17 +0100	[thread overview]
Message-ID: <32d987d50611141939y4d8ee2f2x34f679238e499c02@mail.gmail.com> (raw)
In-Reply-To: <57b557bb0611141834u78d0979r6f608b8a8c99e247@mail.gmail.com>

hola,

my guess is that some interrupts are not being set up right
if the card works in promiscuos mode and it doesn't the other
way, it's because the card doesn't know its own mac address.
but this is not your case, I would check what the linux driver does
to see what we are not doing right.
yes, reading linux drivers is a PIA, but sometimes it's your only choice.
maybe someone has already done this and can help you.

good luck

just my 2 cents


On 11/15/06, Fazlul Shahriar <fshahriar@gmail.com> wrote:
> 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
>


--
Federico G. Benavento


      parent reply	other threads:[~2006-11-15  3:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-15  2:34 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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=32d987d50611141939y4d8ee2f2x34f679238e499c02@mail.gmail.com \
    --to=benavento@gmail.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).