[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-sparc
Subject:    panic after 'eject fd0'
From:       Philipp Buehler <pb () openbsd ! de>
Date:       2003-06-27 7:07:41
[Download RAW message or body]

Hi,

OpenBSD 3.3-current (SUN4M) #45: Thu Jun 26 07:40:15 GMT 2003
(this includes the not-latest stp diff, btw)

IMHO, this should be gracefully caught (or get working :>), but
this is pretty obscure code for me, when it goes to non-scsi media

additionally, the syncing is not true. what happens there?
if 'boot sync' doesnt work (e.g. scsi driver fucked up), it never
makes it to 'done'

# eject fd0
fd0: timeout: state 7
fdc: spurious interrupt: state 8, istate=3
fd0: timeout: state 10
fdc: spurious interrupt: state 11, istate=2
panic: fdcintr: spurious interrupt can't be cleared
Stopped at      Debugger+0x4:   jmpl            [%o7 + 0x8], %g0
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> trace
fdcstate(0xf8658300, 0x0, 0xf8658300, 0xf82a4000, 0x3c0fd, 0xfba0a4c0) at fdcst
ate+0x40
fdctimeout(0xf8658300, 0x409000e1, 0x100, 0xf81b8528, 0xf86583c0, 0x100) at fdc
timeout+0x64
softclock(0x1, 0xf82aa3d4, 0x809c4000, 0xa00, 0xf82a9c00, 0x100) at softclock+0
x254
soft01intr(0xf8255fb0, 0xf81f5c44, 0x809c4000, 0xa00, 0xf82a9c00, 0x26) at soft
01intr+0xec
slowtrap(0x0, 0x0, 0xf80081e4, 0x0, 0xffffffff, 0x0) at slowtrap+0x338
mi_switch(0x3, 0x42a, 0xfb011220, 0xf82921c0, 0xf82a4f18, 0xf828a2b0) at mi_swi
tch+0x174
ltsleep(0x0, 0x28, 0xf8228d08, 0x0, 0x0, 0x0) at ltsleep+0x1e8
sched_sync(0xfb006520, 0xf8228c00, 0xf8292000, 0xf825d800, 0xf826e400, 0xf82918
00) at sched_sync+0x1d0
start_update(0xfb006520, 0x200, 0xf8007468, 0xf82ab6e8, 0x0, 0xf828f860) at sta
rt_update+0x8
proc_trampoline(0x0, 0x0, 0x0, 0x0, 0x0, 0x0) at proc_trampoline+0x10
ddb>
ddb> ps
   PID   PPID   PGRP    UID  S       FLAGS  WAIT       COMMAND
 25139    810  25139      0  3      0x4006  biowait    eject
   810  10911    810      0  3      0x4086  pause      ksh
 10911  28448  10911      0  3       0x184  select     sshd
 23290      1  23290      0  3      0x4086  ttyin      getty
 10011      1  10011      0  3        0x84  select     cron
  2973      1   2973      0  3     0x40184  select     sendmail
 28448      1  28448      0  3        0x84  select     sshd
 11450      1  11450      0  3       0x184  select     inetd
 11101      1  11101      0  2        0x84             syslogd
     8      0      0      0  3    0x100204  pcicev     stp0
     7      0      0      0  3    0x100204  crypto_wa  crypto
     6      0      0      0  3    0x100204  aiodoned   aiodoned
     5      0      0      0  3    0x100204  syncer     update
     4      0      0      0  3    0x100204  cleaner    cleaner
     3      0      0      0  3    0x100204  reaper     reaper
     2      0      0      0  3    0x100204  pgdaemon   pagedaemon
     1      0      1      0  3      0x4084  wait       init
     0     -1      0      0  3     0x80204  scheduler  swapper
ddb> boot sync
syncing disks... 3 3 1 done
WARNING: not updating battery clock
rebooting
[..]
Boot device: /iommu/sbus/espdma@f,400000/esp@f,800000/sd@0,0  File and args: /bsd
> > OpenBSD BOOT 2.2
Booting /bsd @ 0x4000
2530492+252940 [67+115888+99233]
[ using 215644 bytes of bsd ELF symbol table ]
console is ttya
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2003 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 3.3-current (SUN4M) #45: Thu Jun 26 07:40:15 GMT 2003    \
miod@credogne.gentiane.org:/usr/src/sys/arch/sparc/compile/SUN4M real mem = 200605696
avail mem = 182657024
using 200 buffers containing 10027008 bytes of memory
bootpath: /iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@0,0
mainbus0 (root): SUNW,SPARCstation-20L
cpu0 at mainbus0: TMS390Z50 v0 or TMS390Z55 @ 50 MHz, on-chip FPU
cpu0: physical 20K instruction (64 b/l), 16K data (32 b/l), 1024K external (32 b/l) \
cache enabled obio0 at mainbus0
clock0 at obio0 addr 0xf1200000: mk48t08 (eeprom)
timer0 at obio0 addr 0xf1300000 delay constant 23
zs0 at obio0 addr 0xf1100000 pri 12, softpri 6
zstty0 at zs0 channel 0 (console i/o)
zstty1 at zs0 channel 1
zs1 at obio0 addr 0xf1000000 pri 12, softpri 6
zskbd0 at zs1 channel 0: reset timeout
zskbd0: no keyboard
zstty2 at zs1 channel 1: mouse
fdc0 at obio0 addr 0xf1700000 pri 11, softpri 4: chip 82077
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
auxreg0 at obio0 addr 0xf1800000
power0 at obio0 addr 0xf1a01000
iommu0 at mainbus0 ioaddr 0xe0000000: version 0x3/0x0, page-size 4096, range 64MB
sbus0 at iommu0: clock = 20 MHz
dma0 at sbus0 slot 15 offset 0x400000: rev 2
esp0 at dma0 offset 0x800000 pri 4: ESP200, 40MHz, SCSI ID 7
scsibus0 at esp0: 8 targets
sd0 at scsibus0 targ 0 lun 0: <SEAGATE, ST11200N ST31230, 0456> SCSI2 0/direct fixed
sd0: 1010MB, 3992 cyl, 5 head, 103 sec, 512 bytes/sec, 2069860 sec total
sd1 at scsibus0 targ 3 lun 0: <SEAGATE, ST11200N ST31055, 0416> SCSI2 0/direct fixed
sd1: 1014MB, 4177 cyl, 4 head, 124 sec, 512 bytes/sec, 2078082 sec total
ledma0 at sbus0 slot 15 offset 0x400010: rev 2
le0 at ledma0 offset 0xc00000 pri 6: address 00:40:dc:00:18:ab
le0: 16 receive buffers, 4 transmit buffers
SUNW,bpp at sbus0 slot 15 offset 0x4800000 not configured
SUNW,DBRIe at sbus0 slot 15 offset 0x8010000 not configured
stp0 at sbus0 slot 0 offset 0x0 pri 13 and 7: rev 1
pcmcia0 at stp0 socket 0
pcmcia1 at stp0 socket 1
cgsix0 at sbus0 slot 2 offset 0x0: SUNW,501-1672, 1152x900, rev 7
wsdisplay0 at cgsix0
wsdisplay0: screen 0 added (std, sun emulation)
root on sd0a
rootdev=0x700 rrootdev=0x1100 rawdev=0x1102
WARNING: / was not properly unmounted
Automatic boot in progress: starting file system checks.


ciao
-- 
pb - Philipp Buehler
http://fips.de/support-me.html


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic