kern/181222: 8.4p2 panics during boot

Peter Jeremy peterj at freebsd.org
Sun Aug 11 08:10:01 UTC 2013


>Number:         181222
>Category:       kern
>Synopsis:       8.4p2 panics during boot
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 11 08:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Peter Jeremy
>Release:        FreeBSD 8.4RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD fwall2.rulingia.com 8.4-RELEASE-p2 FreeBSD 8.4-RELEASE-p2 #0: Sun Aug 11 13:55:10 EST 2013 root at fwall2.rulingia.com:/var/obj/usr/src/8.4/sys/GENERIC i386

>Description:
	A GENERIC 8.4p2 kernel panics on my Campaq M700 P3-650 whilst running
	ata_identify().  The same system has no problems with 7.x or 8.3.  I
	got the same panic running my custom kernel and built GENERIC to
	check it wasn't something I did.

	Photos of the panic are at
	https://plus.google.com/photos/106067987156035735826/albums/5910753509123036529

	The relevant (hand-transcribed) bits are:
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0xf0008277
fault code = supervisor read, page not present
instruction pointer = 0x20:0xc057ddf4
...
#5 0xc0cf5edc at calltrap+0x6
#6 0xc0c57e00 at ata_boot_attach+0x70
#7 0xc09328ac at run_interrupt_driven_config_hooks+0x10c
	
	A disassembly of 0xc057ddf4 shows the problem is the arrowed
	expression.

ata_identify(device_t dev)
{
    struct ata_channel *ch = device_get_softc(dev);
    struct ata_device *atadev;
    device_t *children;
    device_t child, master = NULL;
    int nchildren, i, n = ch->devices;
                          ^^^^^^^^^^^

	The disk controller is a Intel PIIX4 with a single WD1600BEVE
	disk attached.

>How-To-Repeat:
	Boot 8.4 on a Compaq M700.

>Fix:
	Unknown.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list