NetBSD Problem Report #1561

From gnats  Mon Oct  2 15:46:50 1995
Received: from eterna.com.au (splode.mame.mu.OZ.AU [128.250.209.121]) by sun-lamp.pc.cs.cmu.edu (8.6.11/8.6.10) with ESMTP id PAA00324 for <gnats-bugs@gnats.netbsd.org>; Mon, 2 Oct 1995 15:46:38 -0400
Message-Id: <199510011244.WAA02078@eterna.com.au>
Date: Sun, 1 Oct 1995 22:44:30 +1000
From: mrg@eterna.com.au
Reply-To: mrg@eterna.com.au
To: gnats-bugs@gnats.netbsd.org
Subject: accessing any fd device panics
X-Send-Pr-Version: 3.95

>Number:         1561
>Category:       port-sparc
>Synopsis:       accessing any fd device panics
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 02 15:50:42 +0000 1995
>Closed-Date:    Tue Oct 10 02:55:44 +0000 1995
>Last-Modified:  Tue Oct 10 02:57:42 +0000 1995
>Originator:     matthew green
>Release:        current from sep 18
>Organization:
bozotic softwar foundation
>Environment:
NetBSD grn.eterna.com.au 1.0A NetBSD 1.0A (_grn_) #0: Wed Sep 27 03:47:14 EST 1995     mrg@splode.eterna.com.au:/orb/q/build/src/sys/arch/sparc/compile/_grn_ sparc

>Description:

i recently tried to newfs a filesystem on a floppy.  i wasn't greeted
with anything...nice  :-)

here's a console log of the events that took place.  i do have the crash
dumps still (2 of them, i can easily generate more).  i can reproduce
this by trying to access _any_ fd device.

if you look closely, you'll see it's trying to print this:

fd0: timeout

but, it gets an interupt for each character it prints, after the first
3.  it's _always_ this same sequence.

if you require more info, just ask.  i'm wanting to get this working
fairly soon (for the 1.1 release -- boot floppies for the sparc! :-)

# newfs /dev/rfd0a
fd0stray interrupt ipl c pc=f8095e54 npc=f8095e58 psr=900009c1<S,PS>
:stray interrupt ipl c pc=f8095e54 npc=f8095e58 psr=900009c1<S,PS>
 stray interrupt ipl c pc=f8095e54 npc=f8095e58 psr=900009c1<S,PS>
tstray interrupt ipl c pc=f8095e54 npc=f8095e58 psr=900009c1<S,PS>
istray interrupt ipl c pc=f8095e54 npc=f8095e58 psr=900009c1<S,PS>
mstray interrupt ipl c pc=f8022bd0 npc=f8022bb4 psr=900009c3<S,PS>
estray interrupt ipl c pc=f8095e54 npc=f8095e58 psr=900009c1<S,PS>
ostray interrupt ipl c pc=f8022e84 npc=f8022bc4 psr=900009c2<S,PS>
ustray interrupt ipl c pc=f8095e54 npc=f8095e58 psr=900009c1<S,PS>
tstray interrupt ipl c pc=f8095e54 npc=f8095e58 psr=900009c1<S,PS>
panic: crazy interrupts
Stopped at      _Debugger+0x4:  jmpl            [%o7 + 0x8], %g0
db>
db> t
_strayintr(f80c96c0, f8096510, f80e9800, f80dc400, 900009c2, f80ada08) at _strayintr+0x60
_sparc_interrupt(900000e2, 900, f80e9800, f80dc400, 900009c3, f80ada08) at _sparc_interrupt+0x124
_sparc_interrupt(74, f8095dcc, 8d, 100010, 0, 0) at _sparc_interrupt+0x104
_kprintf(74, 5, fe005000, 0, ffffffff, f92f6ec0) at _kprintf+0x638
_kprintf(f8098736, 5, 0, f80c9980, 0, 3) at _kprintf+0x37c
_printf(f8098730, f80d3800, 1, a, f8b660e0, f80e1c00) at _printf+0x30
_fdcstatus(a, 0, f8098920, 64, 0, 0) at _fdcstatus+0x1c
_fdctimeout(f8574400, 904000e0, f8b660f0, f8098928, f8b66000, 24) at _fdctimeout+0x34
_softclock(904000e1, 9eb10, f80e51d0, f80e5000, 2710, f423f) at _softclock+0x7c
_hardclock(f80c9bb0, 809c4400, 1b9b690, 4650, ffff, 400) at _hardclock+0x248
_clockintr(f80c9bb0, f80947d4, 8d, 100010, 0, 0) at _clockintr+0x14
_sparc_interrupt(0, 0, f8008078, 0, ffffffff, f92f6ec0) at _sparc_interrupt+0x104
_mi_switch(f, f92f534c, f8574400, 0, 0, 3) at _mi_switch+0x150
_tsleep(f8b6d33c, 0, f8034128, 0, f80e1c00, 900) at _tsleep+0x1bc
_biowait(f8034000, 200, 72, 2f, 90400087, f92f6fb0) at _biowait+0x44
_readdisklabel(3600, f8097fa8, f92f6b48, 0, 200, 24) at _readdisklabel+0x78
_fdioctl(3600, f92f6b48, f85bb600, 1, f862c900, f8099680) at _fdioctl+0xc0
_spec_ioctl(f92f6d30, f803fcd4, 1, f861d000, 1, 0) at _spec_ioctl+0xcc
_vn_ioctl(f861f400, 41146465, f85bb600, f862c900, f803e268, f81581f8) at _vn_ioctl+0x128
_ioctl(9, f92f6f28, f92f6f20, f8023f64, 0, f92f6ec0) at _ioctl+0x334
_syscall(36, f92f6fb0, 1b0c8, 0, 0, 3) at _syscall+0x194
_trapbase(4, 41146465, 25d78, fa14, 90400086, f92f6fb0) at _trapbase+0x2528
db> 

>How-To-Repeat:

	see above.
>Fix:

	yes please.
>Release-Note:
>Audit-Trail:

From: Daniel Carosone <dan@anarres.mame.mu.oz.au>
To: mrg@eterna.com.au
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: port-sparc/1561: accessing any fd device panics 
Date: Tue, 03 Oct 1995 09:07:51 +1000

 > here's a console log of the events that took place.  i do have the crash
 > dumps still (2 of them, i can easily generate more).  i can reproduce
 > this by trying to access _any_ fd device.
 > 
 > if you look closely, you'll see it's trying to print this:
 > 
 > fd0: timeout
 > 
 > but, it gets an interupt for each character it prints, after the first
 > 3.  it's _always_ this same sequence.
 > 
 > # newfs /dev/rfd0a
 > fd0stray interrupt ipl c pc=f8095e54 npc=f8095e58 psr=900009c1<S,PS>
 > :stray interrupt ipl c pc=f8095e54 npc=f8095e58 psr=900009c1<S,PS>
 >  stray interrupt ipl c pc=f8095e54 npc=f8095e58 psr=900009c1<S,PS>
 > tstray interrupt ipl c pc=f8095e54 npc=f8095e58 psr=900009c1<S,PS>
 > istray interrupt ipl c pc=f8095e54 npc=f8095e58 psr=900009c1<S,PS>
 > mstray interrupt ipl c pc=f8022bd0 npc=f8022bb4 psr=900009c3<S,PS>
 > estray interrupt ipl c pc=f8095e54 npc=f8095e58 psr=900009c1<S,PS>
 > ostray interrupt ipl c pc=f8022e84 npc=f8022bc4 psr=900009c2<S,PS>
 > ustray interrupt ipl c pc=f8095e54 npc=f8095e58 psr=900009c1<S,PS>
 > tstray interrupt ipl c pc=f8095e54 npc=f8095e58 psr=900009c1<S,PS>
 > panic: crazy interrupts
 > Stopped at      _Debugger+0x4:  jmpl            [%o7 + 0x8], %g0
 > db>


 I tried this on an ss2, and stopped at the same instruction, but with
 a different surrounding set of symptoms.

 Just a simple panic:

 data fault: pc=f8007d64 addr=0 ser=8080<WRITE,INVAL>
 panic: kernel fault
 Stopped at	0xf80bcc8c:	jmpl		[%o7 + 0x8], %g0
 db> 

 There's a trace, but I don't get to see symbols, this disk has SunOS
 boot blocks -- it's only just recently been put back together after
 lying idle for some length of time, and last time i tried the NetBSD
 boot blocks (in a 1+, almost a year ago) they didn't work.

 Sauce from which I brought this machine up to -current (from January,
 went very smoothly apart from a small hiccup with mountd that was
 entirely the fault of my forgetfulness - though I still maintain that
 mountd shouldn't be able to panic the kernel) is about 3 weeks old.

 Just an additional datapoint.

 As an aside, how do I get my floppy back out of the drive, please? :-)

 --
 Dan.
State-Changed-From-To: open->closed 
State-Changed-By: mycroft 
State-Changed-When: Mon Oct 9 22:55:44 EDT 1995 
State-Changed-Why:  
Fixed. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.