Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jun 2008 22:50:09 +0200
From:      Karsten Rothemund <karsten@photor.de>
To:        freebsd-scsi@freebsd.org
Subject:   Page Fault with amd0 on FreeBSD-7
Message-ID:  <20080613205009.GA79046@www.photor.de>

next in thread | raw e-mail | index | archive | help

--rwEMma7ioTxnRzrJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 =3D 0; apic id =3D 00
fault virtual address      =3D 0x4
fault code                 =3D supervisor read, page not present
(-- stack- and frame pointer, code segment --)
processor eflags           =3D interrupt enabled, resume, IOPL =3D 0
current process            =3D 20 (irq9: amd0)
trap number                =3D 12

The interesting information for me was the "amd0". This is for the=20
Tekram DC-390 SCSI card, which is for my CDROM, CD-writer and for the=20
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=20
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=20
but also no function (no devices even after reseting the scsi bus).

This is the status now.=20

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@worf.mydomain.home:/usr/obj/usr/src/sys/ATHLON  i386

--=20

Karsten Rothemund <karsten@photor.de>     /"\
PGP-Key:     0x7019CAA5                   \ /
Fingerprint: E752 C759 B9B2 2057 E42F      \  ASCII Ribbon Campaign
             50EE 47AC A7CE 7019 CAA5     / \ Against HTML Mail and News

--rwEMma7ioTxnRzrJ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iD8DBQFIUt2AR6ynznAZyqURApz4AKCbjcYw57LYR6WkFqTwVZMqdT7L1gCcCHe0
73NIxO+TyaSCRR+r110ZOBo=
=vDTa
-----END PGP SIGNATURE-----

--rwEMma7ioTxnRzrJ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080613205009.GA79046>