NetBSD-Bugs archive

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

Re: install/56061: crash on first boot of live usbdisk



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

From: Joseph Sarkes <jsarkes%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: install/56061: crash on first boot of live usbdisk
Date: Wed, 17 Mar 2021 20:17:31 -0400

 version is a successful build of current Netbsd-9.99.81 (moving
 towards 10.0?)  that looks ok so far to me. however trying the live
 image, issues arrive on both my toshiba laptop p755 and a dell desktop
 optiplex 780 (on which i had to boot with acpi disabled).
 all looks fine with the green kernel messages until the white script?
 stuff starts. it wants to resize root  (sd0) and successfully does
 this as it works afterwards with the correct size etc.
 however after the resize the kernel crashes. i have no second machine
 or serial terminal capability so i am typing from 3.5 cards here.
 growing sd0 disklabel
 1907MB -> 29328MB
 resizing / (/dev/sd0a)
 lotsa dots
 reboot: rebooted by root
 sd0(umass0:0:0:0) generic HBA error
 sd0:cache synchronization failed
 fatal page fault in supervisor mode
 trap type 6 code 0x10 rip0 cs 0x8 rflags 0x10286 cr2 0 ilevel 0x5 rsp
 0xffffad808a0f1f38
 curlwp 0xffffa6ddc66f54c0
 kernel: page fault trap code=0
 stopped in pid 0.6 (system) at netbsd:disasm+0x8f .....
 
 anyways it seems apparent to me this is a problem with rebooting after
 messing with the filesystem and it goes bonkers trying to sync to
 boot? there is no swap at this time and the filesystem is still read
 only. hope this guides someone to a fix or just put up a message
 regarding the live filesystem that after resize you need to power
 cycle the machine as it won't reboot on its own properly. things
 startup ok after the resize.
 
 any other info i can pursue for you let me know.
 
 On 3/16/21, Martin Husemann <martin%duskware.de@localhost> wrote:
 > The following reply was made to PR install/56061; it has been noted by
 > GNATS.
 >
 > From: Martin Husemann <martin%duskware.de@localhost>
 > To: gnats-bugs%netbsd.org@localhost
 > Cc:
 > Subject: Re: install/56061: crash on first boot of live usbdisk
 > Date: Tue, 16 Mar 2021 19:09:38 +0100
 >
 >  On Tue, Mar 16, 2021 at 06:00:01PM +0000, jsarkes%gmail.com@localhost wrote:
 >  > upon first boot of the live filesystem the root fs is resized to cover
 > the entire usb stick. this part works and writes back, all seems fine.
 >  > next step i think it is trying to reboot and ends up in the kernel
 > debugger.
 >
 >  Please provide more details here. We need the last few lines of output
 >  before entering the debugger, there should be a
 >
 >  panic: ....
 >
 >  line that gives the most important infos, followed by a stack trace
 >  from the debugger. Without this, we can not really help without that
 >  exact hardware.
 >
 >  It would also be nice to know which image exactly (URL) you are using.
 >
 >  I failed to parse the disklabel part of the report, and it definitively
 >  should be discussed elsewhere (e.g. on the current-users or netbsd-users
 >  mailing list, I'm not sure it needs a separate PR).
 >
 >  Martin
 >
 >
 



Home | Main Index | Thread Index | Old Index