Page Fault with amd0 on FreeBSD-7

Karsten Rothemund karsten at photor.de
Fri Jun 13 20:50:13 UTC 2008


Hello List,

I don't know, if this is the right list to post on. If not: sorry.

I wanted to update my FreeBSD-6 to -7 and tried to boot disk 1. I got a
page fault. So I used the csup-tool to go up to 7 (the usual procedure:

csup
make buildworld
make buildkernel
make installkernel
reboot                   <---- OOOOPS! Page Fault again.
(make installworld)
(mergemaster)
(reboot)
(rebuild ports)

I wrote down some information (by hand):

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address      = 0x4
fault code                 = supervisor read, page not present
(-- stack- and frame pointer, code segment --)
processor eflags           = interrupt enabled, resume, IOPL = 0
current process            = 20 (irq9: amd0)
trap number                = 12

The interesting information for me was the "amd0". This is for the 
Tekram DC-390 SCSI card, which is for my CDROM, CD-writer and for the 
scanner. All of them are not vital at the momenti but I need them.

So I decided (it was an advice or hint in a forum) to compile a kernel 
without amd. That kernel works quite OK - but without CDROM and scanner.
I completed the installation/update with no problems and now I
recompile/reinstall al the ports I need.

I also tried to kldload the amd module by hand. Result: no page fault 
but also no function (no devices even after reseting the scsi bus).

This is the status now. 

Now I am here to ask, if I can help to fix the bug (if there is one).
The forum people told me, that there have been some changes in the
kernel code affecting SCSI or CAM.

First thing: what should I do to provide helpful information.
(DEBUG-options in kernel etc). I must say I do not have a lot experience
in kernel debuging but I am willing to learn.

Greetings from the Baltic Sea,

Karsten

PS: information about the machine:

ATHLON 700, 512MB RAM, Tekram DC-390

csup at the beginning of this week.

worf# uname -a
FreeBSD worf.mydomain.home 7.0-STABLE FreeBSD 7.0-STABLE #45: Fri Jun  6
21:28:03 CEST 2008
root at worf.mydomain.home:/usr/obj/usr/src/sys/ATHLON  i386

-- 

Karsten Rothemund <karsten at photor.de>     /"\
PGP-Key:     0x7019CAA5                   \ /
Fingerprint: E752 C759 B9B2 2057 E42F      \  ASCII Ribbon Campaign
             50EE 47AC A7CE 7019 CAA5     / \ Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-scsi/attachments/20080613/f0f0f69b/attachment.pgp


More information about the freebsd-scsi mailing list