gpart segfault and fatal kernel trap

Anton Shterenlikht mexas at bristol.ac.uk
Fri Jul 16 11:08:04 UTC 2010


On r209586 I have 2 fibre disks (da1, da2).
I added another and did 'camcontrol rescan all'.
I got the disk detected as da3.
I did "gpart -c gpt da3" successfully.
I added a UFS partition successfully:

mech-as28# gpart add -t freebsd-ufs da3
da3p1 added

However "gpart show" would segfault.

In addition devices /dev/da1 and /dev/da2 vanished.

I decided to reboot and got this:

- - - - - - - - - - - - Live Console - - - - - - - - - - - -

fatal kernel trap (cpu 0):

    trap vector = 0x14 (Page Not Present)
    cr.iip      = 0xe00000000439f2c0
    cr.ipsr     = 0x1210080a6010 (mfl,ic,i,dt,dfh,rt,cpl=0,it,ri=1,bn)
    cr.isr      = 0xa0400000000 (code=0,vector=0,r,ei=1,ed)
    cr.ifa      = 0x18
    curthread   = 0xe000000010f9c3c0
        pid = 2, comm = g_event

[ thread pid 2 tid 100008 ]
Stopped at      g_access+0x41:  [M1]    ld8 r36=[r14]
db> bt
Tracing pid 2 tid 100008 td 0xe000000010f9c3c0
g_access(0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) at g_access+0x41
swapgeom_close_ev(0x0, 0xe0000000043977f0, 0x814, 0xd9) at swapgeom_close_ev+0x30
g_run_events(0xe000000011443b00, 0x0, 0xe000000004aae500, 0xe000000004925888, 0xe000000004aaba38) at g_run_events+0x6c0
g_event_procbody(0xe000000004a9c084, 0xe00000000491cd10, 0xe000000004a9b8c8, 0xe000000004401ca0) at g_event_procbody+0xf0
fork_exit(0xe000000004977400, 0x0, 0xa0000000eaf1b550) at fork_exit+0x110
enter_userland() at enter_userland
db> 

I'll complete the reboot and see from there.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423


More information about the freebsd-ia64 mailing list