Re: ACPI, maybe GEOM problem

From: Nate Lawson <nate_at_root.org>
Date: Wed, 10 Dec 2003 12:43:59 -0800 (PST)
The problem is ATA and GEOM.

---
ata0: resetting devices ..
ata0: reset tp1 mask=03 ostat0=80 ostat1=80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x50 err=0x00 lsb=0xfe msb=0x3f
ata0-slave:  stat=0x00 err=0x00 lsb=0xfe msb=0x3f
ata0: reset tp2 mask=03 stat0=50 stat1=00 devices=0x0
GEOM: destroy disk ad0 dp=0xc2c6fd60
---

This indicates that the ATA reset fails and so it decides to kill off ad0.

---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xdeadc0ea
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc059b519
current process         = 2 (g_event)

#10 0xc059d74d in g_access_rel (cp=0xc2c0b100, dcr=-1, dcw=-1,
    dce=-1027136512) at /usr/src/sys/geom/geom_subr.c:627
#11 0xc0598433 in g_dev_orphan (cp=0xc2c08c80) at
    /usr/src/sys/geom/geom_dev.c:437
#12 0xc0599d00 in g_orphan_register (pp=0xc2c72400) at
    /usr/src/sys/geom/geom_event.c:143
#13 0xc0599e20 in one_event () at /usr/src/sys/geom/geom_event.c:173
#14 0xc059a035 in g_run_events () at /usr/src/sys/geom/geom_event.c:206
#15 0xc059b065 in g_event_procbody () at
    /usr/src/sys/geom/geom_kern.c:134
#16 0xc05bbd44 in fork_exit (callout=0xc059b020 <g_event_procbody>,
    arg=0x0, frame=0x0) at /usr/src/sys/kern/kern_fork.c:793
---

This indicates that the GEOM code for handling orphans accessed already
freed memory.

-Nate
Received on Wed Dec 10 2003 - 11:44:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:33 UTC