On Fri, Mar 14, 2003 at 03:37:53PM +0100, Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, walt writes: > >I've been unable to boot any kernel I've built since about March 11 > >and I've narrowed it down to the GEOM_MBR option. > > > >With GEOM_MBR I get a kernel page fault error when trying to > >mount the root filesystem at boot time. > > Can you get us the messages and a traceback ?
I saw the same thing on my system. I don't have the exact message or traceback around, but the problem was essentially a null pointer dereference while in kernel mode. I was able to locate the offending line in the source: In devfs_allocv: if (de->de_dirent->d_type == DT_CHR) { dev = *devfs_itod(de->de_inode); if (dev == NULL) return (ENOENT); } else { ... The first comparison causes the problem, since de->de_dirent == NULL. The problem did not exist until I turned WITNESS & INVARIANTS off (in a kernel with all GEOM_* stuff enabled). Let me know if you need more information. If you need the traceback, I'd appreciate if you told me how to get it written to a file. :) Krzysztof To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message