With todays -current, mounting /tmp using
swap /tmp mfs rw,nosuid,nodev,-s=32768 0 0
yields a

Fatal trap 12: page fault while in kernel mode
fault virtual address    = 0x9d203590
fault code               = supervisor read, page not present
instruction pointer      = 0x8:0xc016f30c
stack pointer            = 0x10:0xc5aa2d70
frame pointer            = 0x10:0xc5aa2d9c
code segment             = base 0x0, limit 0xffff, type 0x1b
                         = DPL 0, pres 1, def32 1, gran 1
processor eflags         = interrupt enabled, resume, IOPL = 0
current process          = 362 (mount_mfs)

Stopped at checkalias+0x13c: movl cdevsw(%eax),%eax

%eax contains 0xdcfba6d0

This line in checkalias() in vfs_subr.c seems to be the culprit:

    1488:       56              pushl  %esi
    1489:       e8 fc ff ff ff  call   148a <checkalias+0x12e>
    148e:       8b 04 85 00 00  movl   0x0(,%eax,4),%eax
    1493:       00 00
    1495:       c1 e0 02        shll   $0x2,%eax
=>  1498:       8b 80 00 00 00  movl   0x0(%eax),%eax
    149d:       00
    149e:       89 45 e4        movl   %eax,0xffffffe4(%ebp)

(I'm not sure yet which source line this section corresponds to :-)

Anyone else seen this?

-- 
Jos Backus                          _/ _/_/_/  "Reliability means never
                                   _/ _/   _/   having to say you're sorry."
                                  _/ _/_/_/             -- D. J. Bernstein
                             _/  _/ _/    _/
jos.bac...@nl.origin-it.com  _/_/  _/_/_/      use Std::Disclaimer;


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to