Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Dec 2002 18:38:12 +0100
From:      "Oliver Blasnik" <oliver.blasnik@de.tiscali.com>
To:        "Thomas Moestl" <tmoestl@gmx.net>
Cc:        "Jake Burkholder" <jake@locore.ca>, <freebsd-sparc@FreeBSD.ORG>
Subject:   Re: pci quad hme ethernet card
Message-ID:  <006f01c29c85$15a3b970$1d0a310a@de.tiscali.com>
References:  <20021203124613.L35729@locore.ca> <010d01c29b74$65d3b4c0$2100a8c0@xpath1000> <20021204140045.S35729@locore.ca> <005b01c29c42$93cc75a0$2100a8c0@xpath1000> <20021205121437.GA305@crow.dom2ip.de> <009f01c29c5f$a09942a0$1d0a310a@de.tiscali.com> <20021205151924.GA305@crow.dom2ip.de> <000c01c29c76$4b5faab0$1d0a310a@de.tiscali.com> <20021205155434.GB305@crow.dom2ip.de> <004201c29c7b$bf00b400$1d0a310a@de.tiscali.com> <20021205170117.GC305@crow.dom2ip.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

> please build a kernel with "options PSYCHO_DEBUG"; you should

I did, including the if_hme.c changes (dont want to reboot twice)...
First, a little bit of "new" debugging info at startup:

*-------------* START
pcib0: <U2P UPA-PCI bridge> on nexus0
pcib0: Sabre, impl 0, version 0, ign 7c0 DVMA map: 0xc0000000 to 0xdfffffff
pcib0: intr map (pci) 0: 0x7c0
pcib0: intr map (pci) 1: 0x7c4
pcib0: intr map (pci) 2: 0x7c8
pcib0: intr map (pci) 3: 0x7cc
pcib0: intr map (pci) 4: 0x7d0
pcib0: intr map (pci) 5: 0x7d4
pcib0: intr map (pci) 6: 0x7d8
pcib0: intr map (pci) 7: 0x7dc
pcib0: intr map (obio) 0: 0x7e0, clr: 0x1800
pcib0: intr map (obio) 1: 0x7e1, clr: 0x1808
pcib0: intr map (obio) 2: 0x7e2, clr: 0x1810
pcib0: intr map (obio) 3: 0x7e3, clr: 0x1818
pcib0: intr map (obio) 4: 0x7e4, clr: 0x1820
pcib0: intr map (obio) 5: 0x800007e5, clr: 0x1828
pcib0: intr map (obio) 6: 0x7e6, clr: 0x1830
pcib0: intr map (obio) 7: 0x7e7, clr: 0x1838
pcib0: intr map (obio) 8: 0x7e8, clr: 0x1840
pcib0: intr map (obio) 9: 0x7e9, clr: 0x1848
pcib0: intr map (obio) 10: 0x7ea, clr: 0x1850
pcib0: intr map (obio) 11: 0x7eb, clr: 0x1858
pcib0: intr map (obio) 12: 0x7ec, clr: 0x1860
pcib0: intr map (obio) 13: 0x7ed, clr: 0x1868
pcib0: intr map (obio) 14: 0x800007ee, clr: 0x1870
pcib0: intr map (obio) 15: 0x800007ef, clr: 0x1878
pcib0: intr map (obio) 16: 0x800007f0, clr: 0x1880
pcib0: intr map (obio) 17: 0x800007c0, clr: 0x1888
pcib0: intr map (obio) 18: 0x800007c0, clr: 0x1890
psycho at 0/0/0: setting bus #s to 0/0/0
psycho at 0/0/0: setting bus #s to 0/0/1
psycho at 0/0/0: setting bus #s to 0/0/2
psycho at 0/0/0: setting bus #s to 0/0/3
orb_callback: pintr 1, intr 3, HI_DEV.phys_hi: 14
psycho at 0/0/0: setting bus #s to 0/0/4
orb_callback: pintr 1, intr 1, HI_DEV.phys_hi: 0
*-------------* END

Btw, the "bus #s" looks bogous. Wrong printf args used?


Ok, now, trying to use hme0...
| # ifconfig hme0 [....]
| if_hme: hme0 got intr, status=0x3000100
| # ping gate
[...]
| ping: sendto: Host is down
[...]
hme0: device timeout

NO stray int (expected, as we got a correct one routed), but:
NO more hme0 int...


Next, hme1:
| # ifconfig hme1 [....]
| if_hme: hme1 got intr, status=0x10100 (and 0x3000100 if sending)
[a LOT of them]
Interface DOES work

Next, hme2:
| # ifconfig hme2 [....]
| if_hme: hme2 got intr, status=0x10100 (and 0x3000100 if sending)
[a LOT of them]
Interface DOES work

Next, hme3:
| # ifconfig hme3 [....]
| if_hme: hme3 got intr, status=0x10100 (and 0x3000100 if sending)
[a LOT of them]
Interface DOES work

Yes, trying the 2nd onboard hme5 did it, too...
Another test with hme0, but nothing. Just nothing.

Perhaps I was a little bit too fast saying "qfe doesn't work", as
3/4th of it apperantly do...

> another class of problems will cause it to fire only once.

And this happened.

Possibly it's nice to know - and I wanted to know... I got the disk
and put it into another t1/105 with a PCI HME. Booted up...
It gets IRQ 0 again and has _exactly_ the same behavior as the hme0
from the QFE card. One single INT catched from if_hme, then nothing.

How's acknowledging of INTs on this platform? Could it be a problem
ack'ing a IRQ0 (coding error like 0=nothing, checking for true/false
or such things)?

HTH, Oliver

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-sparc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006f01c29c85$15a3b970$1d0a310a>