Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jun 2004 10:36:52 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Alan Cox <alc@cs.rice.edu>
Cc:        Bruce M Simpson <bms@FreeBSD.org>
Subject:   Re: kern/67898: page fault while in kernel mode 
Message-ID:  <15673.1087979812@critter.freebsd.dk>
In-Reply-To: Your message of "Wed, 23 Jun 2004 03:28:22 CDT." <20040623082822.GM18577@cs.rice.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20040623082822.GM18577@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@.  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@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.



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