NetBSD Problem Report #20113

Received: (qmail 13021 invoked by uid 605); 29 Jan 2003 20:32:26 -0000
Message-Id: <200301292032.h0TKW7u23801@quartz.clock.org>
Date: Wed, 29 Jan 2003 20:32:08 GMT
From: "Erik E. Fair" <fair@quartz.clock.org>
Sender: gnats-bugs-owner@netbsd.org
Reply-To: fair@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: initial "ifconfig hme0" produces stray interrupt
X-Send-Pr-Version: 3.95

>Number:         20113
>Category:       port-sparc
>Synopsis:       initial "ifconfig hme0" produces stray interrupt
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-sparc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 29 20:33:00 +0000 2003
>Closed-Date:    
>Last-Modified:  Sun Sep 03 01:20:54 +0000 2006
>Originator:     Erik E. Fair
>Release:        NetBSD 1.6M
>Organization:
International Organization of Internet Clock Watchers
>Environment:


System: NetBSD quartz.clock.org 1.6M NetBSD 1.6M (QUARTZ) #2: Mon Jan 27 10:36:18 UTC 2003 root@quartz.clock.org:/usr/obj/sys/arch/sparc/compile/QUARTZ sparc
Architecture: sparc
Machine: sparc

NetBSD 1.6M (QUARTZ) #2: Mon Jan 27 10:36:18 UTC 2003
    root@quartz.clock.org:/usr/obj/sys/arch/sparc/compile/QUARTZ
total memory = 191 MB
avail memory = 174 MB
using 896 buffers containing 9888 KB of memory
bootpath: /iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@3,0
mainbus0 (root): SUNW,SPARCstation-20
cpu0 at mainbus0: mid 8: TMS390Z50 v0 or TMS390Z55 @ 85 MHz, on-chip FPU
cpu0: physical 20K instruction (64 b/l), 16K data (32 b/l), 1024K external (32 b/l): cache enabled
cpu1 at mainbus0: mid 10: TMS390Z50 v0 or TMS390Z55 @ 85 MHz, on-chip FPU
cpu1: physical 20K instruction (64 b/l), 16K data (32 b/l), 1024K external (32 b/l): cache enabled
obio0 at mainbus0
clock0 at obio0 slot 0 offset 0x200000: mk48t08: hostid 727743cc
timer0 at obio0 slot 0 offset 0x300000: delay constant 40
zs0 at obio0 slot 0 offset 0x100000 level 12 softpri 6
zstty0 at zs0 channel 0
zstty1 at zs0 channel 1
zs1 at obio0 slot 0 offset 0x0 level 12 softpri 6
kbd0 at zs1 channel 0: baud rate 1200 (console input)
ms0 at zs1 channel 1: baud rate 1200
SUNW,fdtwo at obio0 slot 0 offset 0x700000 level 11 not configured
auxreg0 at obio0 slot 0 offset 0x800000
power0 at obio0 slot 0 offset 0xa01000 level 2
cgfourteen0 at obio0 slot 2 offset 0x0 level 8: cgthree emulated at 1280x1024x8bpp (console)
cgfourteen0: attached to /dev/fb
iommu0 at mainbus0 ioaddr 0xe0000000: version 0x3/0x1, page-size 4096, range 64MB
sbus0 at iommu0: clock = 25 MHz
dma0 at sbus0 slot 15 offset 0x400000: dma rev 2
esp0 at dma0 slot 15 offset 0x800000 level 4: ESP200, 40MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
ledma0 at sbus0 slot 15 offset 0x400010: dma rev 2
le0 at ledma0 slot 15 offset 0xc00000 level 6: address 08:00:20:77:43:cc
le0: 8 receive buffers, 2 transmit buffers
bpp0 at sbus0 slot 15 offset 0x4800000 level 2 (ipl 3): dma rev 2
SUNW,DBRIe at sbus0 slot 14 offset 0x10000 level 9 not configured
hme0 at sbus0 slot 0 offset 0x8c00000 level 4 (ipl 7): Sun Happy Meal Ethernet (SUNW,hme)
hme0: Ethernet address 08:00:20:77:43:cc
nsphy0 at hme0 phy 1: DP83840 10/100 media interface, rev. 0
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
eccmemctl0 at mainbus0 ioaddr 0x0: version 0x0/0x2
IPsec: Initialized Security Association Processing.
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 3 lun 0: <SEAGATE, ST32550W SUN2.1G, 0416> disk fixed
sd0: 2048 MB, 3511 cyl, 11 head, 108 sec, 512 bytes/sect x 4194995 sectors
sd0: sync (100.0ns offset 15), 8-bit (10.000MB/s) transfers, tagged queueing
cd0 at scsibus0 target 6 lun 0: <TOSHIBA, XM-4101TASUNSLCD, 1755> cdrom removable
cd0: async, 8-bit transfers
root on sd0a dumps on sd0b
root file system type: ffs
cpu0: booting secondary processors: cpu1

>Description:

	The first time that hme0 is configured with ifconfig, the
	kernel complains:

	stray interrupt ipl 0x7 pc=0xf00079c0 npc=0xf00079c4 psr=404000c7<S,PS>

	it probably shouldn't do that. What's going on here?

>How-To-Repeat:
	boot netbsd
	watch rc output
	note that when hme0 is configured, kernel reports:
	stray interrupt ipl 0x7 pc=0xf00079c0 npc=0xf00079c4 psr=404000c7<S,PS>

>Fix:

>Release-Note:
>Audit-Trail:

From: matthew green <mrg@eterna.com.au>
To: fair@netbsd.org
Cc: gnats-bugs@gnats.netbsd.org
Subject: re: port-sparc/20113: initial "ifconfig hme0" produces stray interrupt 
Date: Thu, 30 Jan 2003 13:41:35 +1100

 this is known to also happen on le0 for MP machines.

From: "Adrian Portelli" <adrian.portelli@stindustries.net>
To: <gnats-bugs@NetBSD.org>
Cc:  
Subject: Re: port-sparc/20113
Date: Thu, 31 Jul 2003 12:49:38 +0100

 I have an SS20 with a quad port ethernet card (qec/qe) and I have seen
 this message in the following situations:

 One processor installed on NetBSD 1.6.1
 Two processors installed on NetBSD 1.6.1

 One processor installed on NetBSD-current @11/07/2003
 Two processors installed on NetBSD-current @11/07/2003

 Adrian.



Responsible-Changed-From-To: port-sparc-maintainer->mycroft 
Responsible-Changed-By: mycroft 
Responsible-Changed-When: Thu Jul 8 20:01:50 UTC 2004 
Responsible-Changed-Why:  
. 

From: "Charles M. Hannum" <abuse@spamalicious.com>
To: "Adrian Portelli" <adrian.portelli@stindustries.net>
Cc: gnats-bugs@NetBSD.org
Subject: Re: port-sparc/20113: 
Date: Thu, 8 Jul 2004 20:07:28 +0000

 Can you add a printf() in hme_intr():

 	if (r == 0)
 		printf("hme_intr: stray, status=%08x\n", status);

 and tell me what it outputs?

From: "Charles M. Hannum" <abuse@spamalicious.com>
To: fair@netbsd.org
Cc: gnats-bugs@NetBSD.org
Subject: Re: port-sparc/20113:
Date: Thu, 8 Jul 2004 20:08:12 +0000

 Can you add a printf() in hme_intr():

 	if (r == 0)
 		printf("hme_intr: stray, status=%08x\n", status);

 and tell me what it outputs?
Responsible-Changed-From-To: mycroft->port-sparc-maintainer
Responsible-Changed-By: wiz@netbsd.org
Responsible-Changed-When: Sun, 03 Sep 2006 01:20:54 +0000
Responsible-Changed-Why:
Back to role account, mycroft doesn't have commit access any longer.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.