kern/67898: page fault while in kernel mode
Poul-Henning Kamp
phk at phk.freebsd.dk
Wed Jun 23 08:37:02 GMT 2004
In message <20040623082822.GM18577 at cs.rice.edu>, Alan Cox writes:
>On Wed, Jun 23, 2004 at 07:00:23AM +0000, Bruce M Simpson wrote:
>> Synopsis: page fault while in kernel mode
>>
>> Responsible-Changed-From-To: freebsd-bugs->alc
>> Responsible-Changed-By: bms
>> Responsible-Changed-When: Wed Jun 23 07:00:07 GMT 2004
>> Responsible-Changed-Why:
>> One for alc@, he was here recently
>>
>> http://www.freebsd.org/cgi/query-pr.cgi?pr=67898
>
>This should actually go to phk at . The problem here appears to be that
>the geomified swap strategy routines are no longer setting b_dev
>(except to NULL in swapdev_strategy()). Consequently, devtoname()
>dereferences a NULL pointer.
>
>I can imagine a quick fix, but Poul may have better ideas.
I don't really have a good idea. The devtoname() is patently invalid
in the face of paging to NFS so I guess we'd have to stick a name
string in swdevt and print that if we don't just remove the devtoname()
entirely.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-bugs
mailing list