Hi, Yesterday I installed the current snapshot of OpenBSD/sgi on my O2. I found a little bug, running nmap as root, to try to scan any host, it crashes with "Bus error".
-- # nmap -vv 192.168.5.8 Starting Nmap 6.01 ( http://nmap.org ) at 2013-01-20 15:47 WET Bus error (core dumped) # -- gdb output -- # gdb /usr/local/bin/nmap -c nmap.core GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "mips64-unknown-openbsd5.2"...(no debugging symbols found) Core was generated by `nmap'. Program terminated with signal 10, Bus error. #0 0x0000000009c78520 in ?? () (gdb) bt full #0 0x0000000009c78520 in ?? () No symbol table info available. warning: GDB can't find the start of the function at 0x9c78520. GDB is unable to find the start of the function at 0x9c78520 and thus can't determine the size of that function's stack frame. This means that GDB may be unable to access that stack frame, or the frames below it. This problem is most likely caused by an invalid program counter or stack pointer. However, if you think GDB should simply search farther back from 0x9c78520 for code which looks like the beginning of a function, you can increase the range of the search using the `set heuristic-fence-post' command. #1 0x0000000009c78520 in ?? () No symbol table info available. warning: GDB can't find the start of the function at 0x9c78520. Previous frame identical to this frame (corrupt stack?) (gdb) --- dmesg output -- [ using 511288 bytes of bsd ELF symbol table ] Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2013 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 5.2-current (GENERIC-IP32) #10: Fri Jan 11 18:37:20 MST 2013 t...@sgi.openbsd.org:/usr/src/sys/arch/sgi/compile/GENERIC-IP32 real mem = 167772160 (160MB) rsvd mem = 7020544 (7MB) avail mem = 139759616 (133MB) mainbus0 at root: O2 cpu0 at mainbus0: MIPS R5000 CPU rev 2.1 180 MHz, R5000 based FPC rev 1.0 cpu0: cache L1-I 32KB D 32KB 2 way, L2 512KB direct clock0 at mainbus0: int 5 macebus0 at mainbus0: crime rev 10.1 com0 at macebus0 base 0x00390000 irq 4: ns16550a, 16 byte fifo com1 at macebus0 base 0x00398000 irq 4: ns16550a, 16 byte fifo dsrtc0 at macebus0 base 0x003a0000: DS1687 macepcibr0 at macebus0 base 0x00080000 irq 7: mace rev 1 pci0 at macepcibr0 bus 0 ahc0 at pci0 dev 1 function 0 "Adaptec AIC-7880" rev 0x00: irq 8 ahc0: Host Adapter Bios disabled. Using default SCSI device parameters scsibus0 at ahc0: 16 targets, initiator 7 sd0 at scsibus0 targ 1 lun 0: <FUJITSU, MAS3367N SUN36G, 0301> SCSI2 0/direct fixed serial.FUJITSU_MAS3367N_SUN36G_00700V39_ sd0: 34732MB, 512 bytes/sector, 71132959 sectors ahc1 at pci0 dev 2 function 0 "Adaptec AIC-7880" rev 0x00: irq 9 ahc1: Host Adapter Bios disabled. Using default SCSI device parameters scsibus1 at ahc1: 16 targets, initiator 7 "TI TLAN" rev 0x23 at pci0 dev 3 function 0 not configured mavb0 at macebus0 base 0x00300000 irq 6: AD1843 rev 1 audio0 at mavb0 mec0 at macebus0 base 0x00280000 irq 3: MAC-110 rev 1, address 08:00:69:02:cd:5b nsphy0 at mec0 phy 8: DP83840 10/100 PHY, rev. 1 mkbc0 at macebus0 base 0x00320000 irq 5 pckbd0 at mkbc0 (kbd slot) wskbd0 at pckbd0: console keyboard pms0 at mkbc0 (mouse slot) wsmouse0 at pms0 mux 0 mkbc_poll_cmd: send error mkbc_poll_cmd: send error mkbc_poll_cmd: send error mkbc_poll_cmd: send error mkbc_poll_cmd: send error mkbc_poll_cmd: send error mkbc_poll_cmd: send error mkbc_poll_cmd: send error mkbc_poll_cmd: send error pms0: disable error mkbc_poll_cmd: send error mkbc_poll_cmd: send error pms0: disable error power0 at macebus0 irq 5 gbe0 at mainbus0: rev 1, 8MB, 1024x768 at 8 bits wsdisplay0 at gbe0 mux 1: console (std, vt100 emulation), using wskbd0 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets ahc0: target 1 using 16bit transfers ahc0: target 1 synchronous at 20.0MHz, offset = 0x8 boot device: sd0 root on sd0a (424243ace390319d.a) swap on sd0b dump on sd0b