On Wed, Mar 9, 2016 at 2:57 PM, Richard Braun <rbr...@sceen.net> wrote: > On Tue, Mar 08, 2016 at 12:15:25PM -0500, David Michael wrote: >> So unless rtl8139 bits are still hidden somewhere (grep only finds >> some PCI ID definitions), it looks like there may be a different >> problem. > > Building GNU Mach with : > --enable-silent-rules --enable-kdb --enable-ide --disable-rtl8139 > > and running KVM with either ne2k_pci, rtl8139 or pcnet, I'm unable to > reproduce any crash.
I didn't get a chance to try with Debian yet, but after looking a bit more, the failure I'm getting is from linux_kmem_init() allocating memory. It panics in vm_page_grab_contig() when allocating the 29th (i=28) chunk. I tried reducing MEM_CHUNKS from 32 to 24, but it then panicked when linux_init() tried to allocate more memory immediately after. After reducing it to 16, gnumach booted fine, and everything worked properly (including rtl8139 devices). The panics don't seem to be affected by configure options or device drivers used. This is with the latest mostly pristine upstream code from gnumach and GRUB, but I will try to see what Debian is doing differently over the weekend. Thanks. David