>Synopsis: net-snmp core dumps when starting
>Category: unknown
>Environment:
System : OpenBSD 5.3
Details : OpenBSD 5.3 (GENERIC) #50: Tue Mar 12 18:35:23 MDT 2013
[email protected]:/usr/src/sys/arch/i386/compile/GENERIC
Architecture: OpenBSD.i386
Machine : i386
>Description:
When I try to start net-snmp on a system upgraded from 5.2 to 5.3
net-snmp core dumps:
# /usr/local/sbin/snmpd
/usr/local/sbin/snmpd:/usr/lib/libpthread.so.13.3: undefined symbol
'_thread_sys_pread'
lazy binding failed!
Segmentation fault (core dumped)
>How-To-Repeat:
trying to start net-snmpd:
/usr/local/sbin/snmpd
>Fix:
Unknown
dmesg:
OpenBSD 5.3 (GENERIC) #50: Tue Mar 12 18:35:23 MDT 2013
[email protected]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by National Semi ("Geode by NSC"
586-class) 267 MHz
cpu0: FPU,TSC,MSR,CX8,CMOV,MMX
real mem = 267972608 (255MB)
avail mem = 252600320 (240MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 20/50/29, BIOS32 rev. 0 @ 0xf7840
pcibios0 at bios0: rev 2.0 @ 0xf0000/0x10000
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc8000/0x9000
cpu0 at mainbus0: (uniprocessor)
cpu0: TSC disabled
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Cyrix GXm PCI" rev 0x00
sis0 at pci0 dev 6 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq 10,
address 00:00:24:c5:ce:c8
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 7 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq 10,
address 00:00:24:c5:ce:c9
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
sis2 at pci0 dev 8 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq 10,
address 00:00:24:c5:ce:ca
nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
ath0 at pci0 dev 14 function 0 "Atheros AR5413" rev 0x01: irq 11
ath0: AR5413 10.5 phy 6.1 rf 6.3, FCC2A*, address 00:80:48:3d:a3:36
gscpcib0 at pci0 dev 18 function 0 "NS SC1100 ISA" rev 0x00
gpio0 at gscpcib0: 64 pins
"NS SC1100 SMI" rev 0x00 at pci0 dev 18 function 1 not configured
pciide0 at pci0 dev 18 function 2 "NS SCx200 IDE" rev 0x01: DMA, channel 0
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <ST94813A>
wd0: 16-sector PIO, LBA48, 38154MB, 78140160 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
geodesc0 at pci0 dev 18 function 5 "NS SC1100 X-Bus" rev 0x00: iid 6 revision 3
wdstatus 0
ohci0 at pci0 dev 19 function 0 "Compaq USB OpenHost" rev 0x08: irq 5, version
1.0, legacy support
isa0 at gscpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS
gpio1 at nsclpcsio0: 29 pins
gscsio0 at isa0 port 0x15c/2: SC1100 SIO rev 1:
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "Compaq OHCI root hub" rev 1.00/1.00 addr 1
ugen0 at uhub0 port 1 "Cambridge Silicon Radio Bluetooth" rev 2.00/19.15 addr 2
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
scsibus1 at softraid0: 256 targets
root on wd0a (225f51bfed827e80.a) swap on wd0b dump on wd0b
WARNING: NVRAM century is 19 but RTC year is 2013
usbdevs:
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000),
Compaq(0x0e11), rev 1.00
port 1 addr 2: full speed, self powered, config 1, Bluetooth(0x0001),
Cambridge Silicon Radio(0x0a12), rev 19.15
port 2 powered
port 3 powered
pcidump:
Domain /dev/pci0:
0:0:0: Cyrix GXm PCI
0x0000: Vendor ID: 1078 Product ID: 0001
0x0004: Command: 0107 Status ID: 0280
0x0008: Class: 06 Subclass: 00 Interface: 00 Revision: 00
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
0x0010: BAR empty (00000000)
0x0014: BAR empty (00000000)
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 0000 Product ID: 0000
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
0x0000: 00011078 02800107 06000000 00000000
0x0010: 00000000 00000000 00000000 00000000
0x0020: 00000000 00000000 00000000 00000000
0x0030: 00000000 00000000 00000000 00000000
0x0040: 41001c0e 00000000 00000000 00000000
0x0050: 00000000 00000000 00000000 00000000
0x0060: 00000000 00000000 00000000 00000000
0x0070: 00000000 00000000 00000000 00000000
0x0080: 00000000 00000000 00000000 00000000
0x0090: 00000000 00000000 00000000 00000000
0x00a0: 00000000 00000000 00000000 00000000
0x00b0: 00000000 00000000 00000000 00000000
0x00c0: 00000000 00000000 00000000 00000000
0x00d0: 00000000 00000000 00000000 00000000
0x00e0: 00000000 00000000 00000000 00000000
0x00f0: 00000000 00000000 00000000 00000000
0:6:0: NS DP83815 10/100
0x0000: Vendor ID: 100b Product ID: 0020
0x0004: Command: 0107 Status ID: 0290
0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 00
0x000c: BIST: 00 Header Type: 00 Latency Timer: 3f Cache Line Size: 00
0x0010: BAR io addr: 0x0000e100/0x0100
0x0014: BAR mem 32bit addr: 0xa0000000/0x00001000
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 100b Product ID: 0020
0x0030: Expansion ROM Base Address: 3f000000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: 0a Min Gnt: 0b Max Lat: 34
0x0040: Capability 0x01: Power Management
0x0000: 0020100b 02900107 02000000 00003f00
0x0010: 0000e101 a0000000 00000000 00000000
0x0020: 00000000 00000000 00000000 0020100b
0x0030: 3f000000 00000040 00000000 340b010a
0x0040: ff820001 00000000 00000000 00000000
0x0050: 00000000 00000000 00000000 00000000
0x0060: 00000000 00000000 00000000 00000000
0x0070: 00000000 00000000 00000000 00000000
0x0080: 00000000 00000000 00000000 00000000
0x0090: 00000000 00000000 00000000 00000000
0x00a0: 00000000 00000000 00000000 00000000
0x00b0: 00000000 00000000 00000000 00000000
0x00c0: 00000000 00000000 00000000 00000000
0x00d0: 00000000 00000000 00000000 00000000
0x00e0: 00000000 00000000 00000000 00000000
0x00f0: 00000000 00000000 00000000 00000000
0:7:0: NS DP83815 10/100
0x0000: Vendor ID: 100b Product ID: 0020
0x0004: Command: 0107 Status ID: 0290
0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 00
0x000c: BIST: 00 Header Type: 00 Latency Timer: 3f Cache Line Size: 00
0x0010: BAR io addr: 0x0000e200/0x0100
0x0014: BAR mem 32bit addr: 0xa0001000/0x00001000
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 100b Product ID: 0020
0x0030: Expansion ROM Base Address: 3f000000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: 0a Min Gnt: 0b Max Lat: 34
0x0040: Capability 0x01: Power Management
0x0000: 0020100b 02900107 02000000 00003f00
0x0010: 0000e201 a0001000 00000000 00000000
0x0020: 00000000 00000000 00000000 0020100b
0x0030: 3f000000 00000040 00000000 340b010a
0x0040: ff820001 00000000 00000000 00000000
0x0050: 00000000 00000000 00000000 00000000
0x0060: 00000000 00000000 00000000 00000000
0x0070: 00000000 00000000 00000000 00000000
0x0080: 00000000 00000000 00000000 00000000
0x0090: 00000000 00000000 00000000 00000000
0x00a0: 00000000 00000000 00000000 00000000
0x00b0: 00000000 00000000 00000000 00000000
0x00c0: 00000000 00000000 00000000 00000000
0x00d0: 00000000 00000000 00000000 00000000
0x00e0: 00000000 00000000 00000000 00000000
0x00f0: 00000000 00000000 00000000 00000000
0:8:0: NS DP83815 10/100
0x0000: Vendor ID: 100b Product ID: 0020
0x0004: Command: 0107 Status ID: 0290
0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 00
0x000c: BIST: 00 Header Type: 00 Latency Timer: 3f Cache Line Size: 00
0x0010: BAR io addr: 0x0000e300/0x0100
0x0014: BAR mem 32bit addr: 0xa0002000/0x00001000
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 100b Product ID: 0020
0x0030: Expansion ROM Base Address: 3f000000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: 0a Min Gnt: 0b Max Lat: 34
0x0040: Capability 0x01: Power Management
0x0000: 0020100b 02900107 02000000 00003f00
0x0010: 0000e301 a0002000 00000000 00000000
0x0020: 00000000 00000000 00000000 0020100b
0x0030: 3f000000 00000040 00000000 340b010a
0x0040: ff820001 00000000 00000000 00000000
0x0050: 00000000 00000000 00000000 00000000
0x0060: 00000000 00000000 00000000 00000000
0x0070: 00000000 00000000 00000000 00000000
0x0080: 00000000 00000000 00000000 00000000
0x0090: 00000000 00000000 00000000 00000000
0x00a0: 00000000 00000000 00000000 00000000
0x00b0: 00000000 00000000 00000000 00000000
0x00c0: 00000000 00000000 00000000 00000000
0x00d0: 00000000 00000000 00000000 00000000
0x00e0: 00000000 00000000 00000000 00000000
0x00f0: 00000000 00000000 00000000 00000000
0:14:0: Atheros AR5413
0x0000: Vendor ID: 168c Product ID: 001b
0x0004: Command: 0116 Status ID: 0290
0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 01
0x000c: BIST: 00 Header Type: 00 Latency Timer: 3c Cache Line Size: 08
0x0010: BAR mem 32bit addr: 0xa0010000/0x00010000
0x0014: BAR empty (00000000)
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00005001
0x002c: Subsystem Vendor ID: 168c Product ID: 2062
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 0a Max Lat: 1c
0x0044: Capability 0x01: Power Management
0x0000: 001b168c 02900116 02000001 00003c08
0x0010: a0010000 00000000 00000000 00000000
0x0020: 00000000 00000000 00005001 2062168c
0x0030: 00000000 00000044 00000000 1c0a010b
0x0040: 00000000 01c20001 c6004000 00000000
0x0050: 00000000 00000000 00000000 00000000
0x0060: 00000000 00000000 00000000 00000000
0x0070: 00000000 00000000 00000000 00000000
0x0080: 00000000 00000000 00000000 00000000
0x0090: 00000000 00000000 00000000 00000000
0x00a0: 00000000 00000000 00000000 00000000
0x00b0: 00000000 00000000 00000000 00000000
0x00c0: 00000000 00000000 00000000 00000000
0x00d0: 00000000 00000000 00000000 00000000
0x00e0: 00000000 00000000 00000000 00000000
0x00f0: 00000000 00000000 00000000 00000000
0:18:0: NS SC1100 ISA
0x0000: Vendor ID: 100b Product ID: 0510
0x0004: Command: 001f Status ID: 0280
0x0008: Class: 06 Subclass: 01 Interface: 00 Revision: 00
0x000c: BIST: 00 Header Type: 80 Latency Timer: 3f Cache Line Size: 08
0x0010: BAR io addr: 0x00006100/0x0040
0x0014: BAR io addr: 0x00006200/0x0040
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 100b Product ID: 0500
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
0x0000: 0510100b 0280001f 06010000 00803f08
0x0010: 00006101 00006201 00000000 00000000
0x0020: 00000000 00000000 00000000 0500100b
0x0030: 00000000 00000000 00000000 00000000
0x0040: 3e4d0019 06e60000 00000000 ffffffff
0x0050: 039e407b 00000000 28010000 000050ba
0x0060: 00000000 00000000 00000000 ff000000
0x0070: 00000000 00000000 00000000 00000000
0x0080: 00080005 00000000 00000000 00000000
0x0090: c0000000 00000000 00000000 00000000
0x00a0: 00000000 00000000 00000000 00000000
0x00b0: 00000000 3d8da904 0c2e2041 00000000
0x00c0: 00000000 00000000 00000000 00000000
0x00d0: 00000000 00000000 00000000 00000000
0x00e0: 00000000 00000000 00000000 00000000
0x00f0: 00000000 00000000 00000000 00000000
0:18:1: NS SC1100 SMI
0x0000: Vendor ID: 100b Product ID: 0511
0x0004: Command: 0001 Status ID: 0280
0x0008: Class: 06 Subclass: 80 Interface: 00 Revision: 00
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
0x0010: BAR io addr: 0x00006300/0x0100
0x0014: BAR empty (00000000)
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 100b Product ID: 0501
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
0x0000: 0511100b 02800001 06800000 00000000
0x0010: 00006301 00000000 00000000 00000000
0x0020: 00000000 00000000 00000000 0501100b
0x0030: 00000000 00000000 00000000 00000000
0x0040: 00006401 00000000 00000000 00000000
0x0050: 00000000 00000000 00000000 00000000
0x0060: 00000000 00000000 00000000 00000000
0x0070: 00000000 00000000 00000000 00000000
0x0080: 00000000 00000000 00000000 00000000
0x0090: 00000000 00000000 00000000 00000000
0x00a0: 00000000 00000000 00000000 00000000
0x00b0: 00000000 00000000 00000000 00000000
0x00c0: 00000000 00000000 00000000 00000000
0x00d0: 00000000 00000000 00000000 00000000
0x00e0: 00000000 00000000 00000000 00000000
0x00f0: 00000000 00000000 00000000 00000000
0:18:2: NS SCx200 IDE
0x0000: Vendor ID: 100b Product ID: 0502
0x0004: Command: 0005 Status ID: 0280
0x0008: Class: 01 Subclass: 01 Interface: 80 Revision: 01
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
0x0010: BAR empty (00000000)
0x0014: BAR empty (00000000)
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR io addr: 0x0000e000/0x0010
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 100b Product ID: 0502
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
0x0000: 0502100b 02800005 01018001 00000000
0x0010: 00000000 00000000 00000000 00000000
0x0020: 0000e001 00000000 00000000 0502100b
0x0030: 00000000 00000000 00000000 00000000
0x0040: 00100010 00911030 00009172 00077771
0x0050: 00009172 00077771 00009172 00077771
0x0060: 00000000 00000000 00000000 00000000
0x0070: 00000000 00000000 00000000 00000000
0x0080: 00000000 00000000 00000000 00000000
0x0090: 00000000 00000000 00000000 00000000
0x00a0: 00000000 00000000 00000000 00000000
0x00b0: 00000000 00000000 00000000 00000000
0x00c0: 00000000 00000000 00000000 00000000
0x00d0: 00000000 00000000 00000000 00000000
0x00e0: 00000000 00000000 00000000 00000000
0x00f0: 00000000 00000000 00000000 00000000
0:18:5: NS SC1100 X-Bus
0x0000: Vendor ID: 100b Product ID: 0515
0x0004: Command: 0003 Status ID: 0280
0x0008: Class: 06 Subclass: 80 Interface: 00 Revision: 00
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
0x0010: BAR io addr: 0x00006500/0x0040
0x0014: BAR empty (00000000)
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 100b Product ID: 0505
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
0x0000: 0515100b 02800003 06800000 00000000
0x0010: 00006501 00000000 00000000 00000000
0x0020: 00000000 00000000 00000000 0505100b
0x0030: 00000000 00000000 00000000 00000000
0x0040: ffffffc1 00000000 00000000 00000000
0x0050: 00000000 00000000 0000003f 00000000
0x0060: 00001100 00006000 00000000 00000000
0x0070: 00000000 00000000 00000000 00000000
0x0080: 00000000 00000000 00000000 00000000
0x0090: 00000000 00000000 00000000 00000000
0x00a0: 00000000 00000000 00000000 00000000
0x00b0: 00000000 00000000 00000000 00000000
0x00c0: 00000000 00000000 00000000 00000000
0x00d0: 00000000 00000000 00000000 00000000
0x00e0: 00000000 00000000 00000000 00000000
0x00f0: 00000000 00000000 00000000 00000000
0:19:0: Compaq USB OpenHost
0x0000: Vendor ID: 0e11 Product ID: a0f8
0x0004: Command: 0117 Status ID: 0280
0x0008: Class: 0c Subclass: 03 Interface: 10 Revision: 08
0x000c: BIST: 00 Header Type: 00 Latency Timer: 38 Cache Line Size: 08
0x0010: BAR mem 32bit addr: 0xa0020000/0x00001000
0x0014: BAR empty (00000000)
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 0e11 Product ID: a0f8
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 04 Line: 05 Min Gnt: 00 Max Lat: 50
0x0000: a0f80e11 02800117 0c031008 00003808
0x0010: a0020000 00000000 00000000 00000000
0x0020: 00000000 00000000 00000000 a0f80e11
0x0030: 00000000 00000000 00000000 50000405
0x0040: 00000000 00000000 00000000 00000000
0x0050: 00000000 00000000 00000000 00000000
0x0060: 00000000 00000000 00000000 00000000
0x0070: 00000000 00000000 00000000 00000000
0x0080: 00000000 00000000 00000000 00000000
0x0090: 00000000 00000000 00000000 00000000
0x00a0: 00000000 00000000 00000000 00000000
0x00b0: 00000000 00000000 00000000 00000000
0x00c0: 00000000 00000000 00000000 00000000
0x00d0: 00000000 00000000 00000000 00000000
0x00e0: 00000000 00000000 00000000 00000000
0x00f0: 00000000 00000000 00000000 00000000
acpidump: