[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Possible bug in OpenBSD 2.7



Hi guys,

Strange things are afoot at the Circle K.

The situation is as follows:

OpenBSD 2.7 vanilla install (ie. No patches applied) on Sparc5/85 with
160Mb RAM and extra FSBE.  I am trying to get 2 IP addresses on the same
interface (using /etc/ifaliases) so I thought I'd check the arp cache
once the box had rebooted (using arp -a).  I had forgotten to plug the
cable into le0 and bang:

stray interrupt ipl 0xc pc=0xf8172f64 npc=0xf8172f68 psr=40006c4<S,PS>
: stray interrupt ipl 0xc pc=0xf8172f64 npc=0xf8172f68 psr=40006c4<S,PS>
lstray interrupt ipl 0xc pc=0xf8172f64 npc=0xf8172f68 psr=40006c4<S,PS>
ostray interrupt ipl 0xc pc=0xf8172f64 npc=0xf8172f68 psr=40006c4<S,PS>
ststray interrupt ipl 0xc pc=0xf8172f64 npc=0xf8172f68 psr=40006c4<S,PS>
 cstray interrupt ipl 0xc pc=0xf8172f64 npc=0xf8172f68 psr=40006c4<S,PS>
astray interrupt ipl 0xc pc=0xf8172f64 npc=0xf8172f68 psr=40006c4<S,PS>
rrstray interrupt ipl 0xc pc=0xf8172f64 npc=0xf8172f68 psr=40006c4<S,PS>
istray interrupt ipl 0xc pc=0xf8172f64 npc=0xf8172f68 psr=40006c4<S,PS>
estray interrupt ipl 0xc pc=0xf8172f64 npc=0xf8172f68 psr=40006c4<S,PS>
Stopped at      _Debugger+0x4:  jmpl            [%o7 + 0x8], %g0
ddb>

NOTE: I may not have gotten everything letter-perfect here, I'm using
Win98 hyperterminal as a serial console and the termdef seems to be a
little off.

It rebooted OK, I plugged the cable in again and it was OK, I could arp
-a to my heart's content.  Remove the cable, and it blows up again (ie.
it's reproduceable).  I haven't yet tried it without the ifaliases or
with the cable plugged into le1.

The output from dmesg is as follows:

OpenBSD 2.7 (GENERIC) #13: Sat May 13 17:41:03 MDT 2000
    deraadt_(_at_)_sun4m_(_dot_)_openbsd_(_dot_)_org:/usr/src/sys/arch/sparc/compile/GENERIC
real mem = 167444480
avail mem = 152551424
using 200 buffers containing 8372224 bytes of memory
bootpath:
/iommu_(_at_)_0,10000000/sbus_(_at_)_0,10001000/espdma_(_at_)_5,8400000/esp_(_at_)_5,8800000/sd_(_at_)_3,0
mainbus0 (root): SUNW,SPARCstation-5
cpu0 at mainbus0: MB86904 @ 85 MHz, on-chip FPU
cpu0: 16K instruction (32 b/l), 8K data (16 b/l) cache enabled
obio0 at mainbus0
clock0 at obio0 addr 0x71200000: mk48t08 (eeprom)
timer0 at obio0 addr 0x71d00000 delay constant 40
zs0 at obio0 addr 0x71100000 pri 12, softpri 6
zs0a: console i/o
zs1 at obio0 addr 0x71000000 pri 12, softpri 6
slavioconfig at obio0 addr 0x71800000 not configured
auxreg0 at obio0 addr 0x71900000
power0 at obio0 addr 0x71910000
fdc0 at obio0 addr 0x71400000 pri 11, softpri 4: chip 82077
fdc0 at obio0 addr 0x71400000 pri 11, softpri 4: chip 82077
sbus0 at iommu0: clock = 21.250 MHz
dma0 at sbus0 slot 5 offset 0x8400000: rev 2
esp0 at dma0 offset 0x8800000 pri 4: ESP200, 40MHz, SCSI ID 7
scsibus0 at esp0: 8 targets
sd0 at scsibus0 targ 3 lun 0: <CONNER, CFP1080E SUN1.05, 5150> SCSI2
0/direct fixed
sd0: 1030MB, 3658 cyl, 6 head, 96 sec, 512 bytes/sec, 2110812 sec total
bpp0 at sbus0 slot 5 offset 0xc800000: DMA2
ledma0 at sbus0 slot 5 offset 0x8400010: rev 2
le0 at ledma0 offset 0x8c00000 pri 6: address 08:00:20:73:da:a5
le0: 16 receive buffers, 4 transmit buffers
audiocs0 at sbus0 slot 4 offset 0xc000000 pri 9, softpri 4
audio0 at audiocs0
power-management at sbus0 slot 4 offset 0xa000000 not configured
dma1 at sbus0 slot 3 offset 0x81000: rev esc
esp1 at dma1 offset 0x80000 pri 5: ESP200, 40MHz, SCSI ID 7
scsibus1 at esp1: 8 targets
lebuffer0 at sbus0 slot 3 offset 0x40000: 128K memory
le1 at lebuffer0 offset 0x60000 pri 7: address 08:00:20:73:da:a5
le1: 64 receive buffers, 16 transmit buffers
root on sd0a
rootdev=0x700 rrootdev=0x1100 rawdev=0x1102
WARNING: / was not properly unmounted
#

Output of ps -ax:

  PID TT   STAT      TIME COMMAND
    0 ??  DLs     0:00.00 (swapper)
    1 ??  Is      0:00.05 /sbin/init
    2 ??  DL      0:00.00 (pagedaemon)
    3 ??  DL      0:00.03 (update)
 2138 ??  Is      0:00.04 cron
 3487 ??  I       0:02.33 sshd: root_(_at_)_ttyp0 (sshd)
 7680 ??  I       0:00.03 /usr/sbin/httpd -DSSL
12930 ??  Ss      0:00.35 /usr/sbin/httpd -DSSL
14081 ??  I       0:00.02 /usr/sbin/httpd -DSSL
16030 ??  I       0:00.02 /usr/sbin/httpd -DSSL
17866 ??  Is      0:15.18 /usr/sbin/sshd -Q
18002 ??  I       0:00.02 /usr/sbin/httpd -DSSL
27090 ??  Is      0:00.18 syslogd
29071 ??  I       0:00.02 /usr/sbin/httpd -DSSL
21648 co  Ss      0:00.91 -csh (csh)
26613 co  R+      0:00.04 ps -ax
23674 p0  Is+     0:00.14 -csh (csh)

And that's about it.  If you need more details (like the core dump
produced by savecore) let me know.  Basically the box is in limbo at the
moment, probably until 2.8 is available.  I'm happy to let you have a
shell account to play around if you like (I'd need to give it a new
address and move it from under my desk), or to do whatever you need to
help resolve this problem if you can't reproduce it.  I had a look at
the errata for 2.7, but couldn't find anything related to arp, and I'm
no code guru so I'm not even going to attempt to fix it myself.  If this
is a known bug, feel free to ignore this email, I won't mind.

Anyway, that's it from me.  Keep up the great work and I look forward to
playing with 2.8.

cheers,

Robert Rose
Managing Director
Rose I.T. Solutions
Canberra, Australia.