|
Description
|
prtconf -v will reliably dump core on zhadum.east.sun.com, an E6500 build server in burlington running nv_21.
% prtconf -v >/tmp/dump
segmentation fault (core dumped)
> ::stack
libdevinfo.so.1`di_sibling_node+0x4c(1702a4008, 2228, 110314, ffffffff7ee5cdc0, ffffffff7f31a000, 1702a4008)
libdevinfo.so.1`get_children+0xe4(100118ed0, 100140500, 0, 1001190a0, ffffffff7f31a000, 100118ed0)
libdevinfo.so.1`update_node_list+0x98(0, 0, 100118d58, 100004024, ffffffff7efe4000, 10fa90)
libdevinfo.so.1`di_walk_node+0xe0(100140540, 0, 100140010, 100004024, 108dbc, 10f9f8)
prtconf_devinfo+0x300(100000, 0, 10010ed28, 1, df5f, 10010a3b8)
main+0x6c0(ffffffffffffffff, 100000, 100006000, 10010a, 10010a400, 100006)
_start+0x17c(0, 0, 0, 0, 0, 0)
this is extremely reproduceable.
core dumps available on request (how many do you want? :-) )
in conjunction with this, it evidently logs:
Aug 31 18:53:35 zhadum devinfo: [ID 939007 kern.warning] WARNING: devinfo: fault in private data at 600035ec620
Aug 31 18:53:35 zhadum devinfo: [ID 939007 kern.warning] WARNING: devinfo: fault in private data at 600035ec5c0
Aug 31 18:53:35 zhadum devinfo: [ID 939007 kern.warning] WARNING: devinfo: fault in private data at 600035ec560
Aug 31 18:53:35 zhadum devinfo: [ID 939007 kern.warning] WARNING: devinfo: fault in private data at 600035ec500
Aug 31 18:53:35 zhadum devinfo: [ID 939007 kern.warning] WARNING: devinfo: fault in private data at 600035ec4a0
Aug 31 18:53:35 zhadum devinfo: [ID 939007 kern.warning] WARNING: devinfo: fault in private data at 600035ec440
Aug 31 18:53:35 zhadum genunix: [ID 603404 kern.notice] NOTICE: core_log: prtconf[425555] core dumped: /space/core/prtconf.103785.425555.1125528815.core
category/subcat here is a guesstimate due to the involvement of devinfo and is probably wrong.
the tail of the output is:
...
disk-board (driver not attached)
sbus, instance #0
Driver properties:
name='interrupt-priorities' type=int items=6 dev=none
value=0000000c.0000000b.0000000c.0000000c.00000009.0000000c
Register Specifications:
Bus Type=0x1c4, Address=0x0, Size=0x6000
Range Specifications:
Ch: 01,00000000 Pa: 1c5,10000000, Sz: 10000000
Ch: 02,00000000 Pa: 1c5,20000000, Sz: 10000000
Ch: 0d,00000000 Pa: 1c5,d0000000, Sz: 10000000
SUNW,socal, instance #0
Register Specifications:
Bus Type=0xd, Address=0x10000, Size=0x10018
Range Specifications:
Ch: 00,00000000 Pa: 0d,00010240, Sz: 18
Ch: 01,00000000 Pa: 0d,00010258, Sz: 18
Ch: 10,00000000 Pa: 0d,00010300, Sz: 8
Ch: 11,00000000 Pa: 0d,00010308, Sz: 8
Device Minor Nodes:
dev=(112,0)
dev_path=/sbus@2,0/SUNW,socal@d,10000:0
spectype=chr type=minor
dev=(112,1)
dev_path=/sbus@2,0/SUNW,socal@d,10000:1
spectype=chr type=minor
zsh: 425973 segmentation fault (core dumped) prtconf -v
This problem is also seen on E6500 machine under snv_23.
rsh clydesdale -l root
Password:
Last login: Wed Sep 21 10:50:06 from sr1-unwk-05
Sun Microsystems Inc. SunOS 5.11 snv_23 October 2007
# /usr/platform/sun4u/sbin/prtdiag -v
System Configuration: Sun Microsystems sun4u 16-slot Sun Enterprise E6500
System clock frequency: 84 MHz
Memory size: 4352Mb
....
# dmesg | grep WARNING
Sep 21 11:36:26 clydesdale devinfo: [ID 939007 kern.warning] WARNING: devinfo: fault in private data at 3000a9cb598
Sep 21 11:36:26 clydesdale devinfo: [ID 939007 kern.warning] WARNING: devinfo: fault in private data at 3000a9cb2c8
...
Sep 21 11:38:57 clydesdale devinfo: [ID 939007 kern.warning] WARNING: devinfo: fault in private data at 3000a9cb160
Sep 21 11:38:57 clydesdale devinfo: [ID 939007 kern.warning] WARNING: devinfo: fault in private data at 3000a9cb0e8
# mdb core.prtconf.15608.1127327937
Loading modules: [ libnvpair.so.1 libc.so.1 ld.so.1 ]
> ::status
debugging core file of prtconf (64-bit) from clydesdale
file: /usr/sbin/sparcv9/prtconf
initial argv: prtconf -v
threading model: native threads
status: process terminated by SIGSEGV (Segmentation Fault)
>
not surprising that you'd still see it broken because it's not fixed until snv_24.
the failure does not occur with the prtdiag I pulled out of today's onnv nightly --
specifically, /ws/onnv-gate/proto/root_sparc/usr/sbin/sparcv9/prtdiag, running on an snv_23 install.
|