NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/56999: NetBSD installer crash (kernel page fault)



The following reply was made to PR kern/56999; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/56999: NetBSD installer crash (kernel page fault)
Date: Sat, 10 Sep 2022 04:48:59 +0000

 On Mon, Sep 05, 2022 at 03:45:00PM +0000, piotr%durlej.net@localhost wrote:
  > Please see http://home.durlej.net/pdurlej/nbsd-hp-crash.png
 
 Transcript:
 (without the timestamps, they are all 1.0077928)
 
 ppb6 at pci0 dev 29 function 3: vendor 8086 product a333 (rev. 0xf0)
 ppb6: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 8.0GT/s
 pci7 at ppb6 bus 5
 pcib0 at pci0 dev 31 function 0: vendor 8086 product a30a (rev. 0x10)
 vendor 8086 product a324 (miscellaneous serial bus, revision 0x10) at pci0 dev 31 function 5 not configured
 isa0 at pcib0
 pckbc0 at isa0 port 0x60-0x64
 uhub0 at usb0: NetBSD (0000) xHCI root hub (0000), class 9/0, rev 3.00/1.00, addr 0
 uhub1 at usb1: NetBSD (0000) xHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 0
 uvm_fault(0xffffa5edf01e8000, 0x0, 2) -> e
 fatal page fault in supervisor mode
 trap type 6 code 0x2 rip 0xfffffff8024b927 cs 0x8 rflags 0x10246 cr2 0x8 ilevel ix8 rsp 0xffffcb013c26ffc8
 curlwp 0xffffa5edf0200a80 pid 1.1 lowest kstack 0xffffcb013c26d2c0
 kernel: page fault trap, code=0
 Stopped in pid1.1 (system) at  netbsd:svs_lwp_switch+0x2c:    movq    $0,8(%rcx)
 
 
 That is, %rcx contains 0.
 
 Can you get a backtrace? (type "bt" at the ddb prompt; if it prints
 too much you can tell it how many entries to print with e.g. "bt,6")
 
 The offending code is "utls->scratch = 0" on line 672 of svs.c, which
 seems to mean that utls isn't set; but we also shouldn't be getting
 userlevel traps at this point during boot so I'm not sure why we're
 even getting to that code. Consequently, a backtrace would be very
 helpful...
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index