svn commit: r192033 - stable/7/sys/dev/ata
bms at incunabulum.net
Wed Jun 10 08:39:58 UTC 2009
John Baldwin wrote:
> Ok, I've uploaded the patch, I must have just sent it inline before.
I did a p4 integ on my p4 work branch, built a NanoBSD USB stick image
with this patch incorporated into the kernel, booted from it
successfully on the affected machine, and got this panic just after the
Had to transcribe by hand, no debugging symbols at the moment.
Fatal trap 12: page fault while in kernel mode
cpuid = 0 apic id = 00
fault virtual address = 0x0
fault code = supervisor read, page not present
instruction pointer = 0x20:0x0
stack pointer = 0x28:0xc4adbb68
frame pointer = 0x28:0xc4adbb9c
code segment = base 0x0, limit 0xfffff, type 0x1b
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 4 (g_down)
[thread pid 4 tid 100008]
Stopped at 0: error reading from address 0
Looks like some sort of switch table, call %*edx, just after
ata_pio_write() in that function. I'll try to grab line number info on
next boot from NanoBSD build tree.
Don't have any other HEAD stuff compiled but that does sound fairly far
down in the body of ata_begin_transaction() and it looks like it's
inside one of the switch cases.
> The same patch will apply to 7-stable though it will have to be applied
> to ata-chipset.c instead.
I'll try applying this there next, just in case this is an 8.x specific
More information about the svn-src-stable-7