From owner-freebsd-sparc Thu Dec 5 9:38:18 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C84C537B401 for ; Thu, 5 Dec 2002 09:38:15 -0800 (PST) Received: from alpha.de.tiscali.com (alpha.de.tiscali.com [62.27.91.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFB0243EA9 for ; Thu, 5 Dec 2002 09:38:14 -0800 (PST) (envelope-from Oliver.Blasnik@de.tiscali.com) Received: from de-Ex-03.de.tiscali.com (de-ex-03.de.tiscali.com [10.49.8.65]) by alpha.de.tiscali.com (Postfix) with ESMTP id 57EB264C3E; Thu, 5 Dec 2002 18:38:13 +0100 (CET) Received: from de-ex-02.de.tiscali.com ([10.49.8.76]) by de-Ex-03.de.tiscali.com with Microsoft SMTPSVC(5.0.2195.5329); Thu, 5 Dec 2002 18:38:13 +0100 Received: from TECHNIK47 ([10.49.10.29]) by de-ex-02.de.tiscali.com with Microsoft SMTPSVC(5.0.2195.5329); Thu, 5 Dec 2002 18:38:12 +0100 Message-ID: <006f01c29c85$15a3b970$1d0a310a@de.tiscali.com> From: "Oliver Blasnik" To: "Thomas Moestl" Cc: "Jake Burkholder" , 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> Subject: Re: pci quad hme ethernet card Date: Thu, 5 Dec 2002 18:38:12 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-OriginalArrivalTime: 05 Dec 2002 17:38:12.0710 (UTC) FILETIME=[159EB060:01C29C85] Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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: 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