Re: -current kernel does not boot
Rin Okuyama <[email protected]> Sun, 7 Mar 2021 07:38:50 +0900
| Newsgroups | gmane.os.netbsd.ports.mac68k |
|---|---|
| Message-ID | <[email protected]> |
On 2021/03/07 2:34, Martin Husemann wrote: > On Sat, Mar 06, 2021 at 05:29:31PM +0000, Robert Swindells wrote: >> I was building with "COPTS+= -m68040", without that it builds, used >> to build fine with it. > > Ah - I'll check that. > >> It boots for me as well, only have the esp SCSI driver in my kernel >> though. >> >> Which SCSI driver are you using ? > > [ 1.0000000] Apple Macintosh Centris 660AV (68040) > [ 1.0000000] cpu: delay factor 800 > [ 1.0000000] fpu: mc68040 > [ 1.0000000] total memory = 45056 KB > [ 1.0000000] avail memory = 40752 KB > [ 1.0000000] entropy: no seed from bootloader > [ 1.0000000] mrg: 'Quadra AV ROMs' ROM glue, tracing off, debug off, silent traps > [ 1.0000000] mainbus0 (root) > [ 1.0000000] obio0 at mainbus0 > [ 1.0000000] esp0 at obio0 addr 0 (avdma): address 0x342000: NCR53C94, 25MHz, SCSI ID 7 > [ 1.0000000] scsibus0 at esp0: 8 targets, 8 luns per target Are you using patched Booter for AV Macs attached to port-mac68k/54942? http://gnats.netbsd.org/54942 Otherwise, kernel text/data will be corrupted by DMA during boot, which results in random crashes described in the PR. With that version of Booter, my Quadra 840AV boots multiuser. kernel config: http://www.netbsd.org/~rin/Q840AV.20210307 dmesg: https://dmesgd.nycbug.org/index.cgi?do=view&id=5968 Also note that I recently carried out stress test after tsutsui@'s fix for kernel stack leak was committed. Kernel as of Feb. 24 survives over one week of heavy load, and successfully shuts down. Thanks, rin