Date: Sun, 6 Sep 2015 11:03:08 +0000 From: Alexey Dokuchaev <danfe@FreeBSD.org> To: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Cc: John Baldwin <jhb@FreeBSD.org>, "freebsd-sparc64@freebsd.org" <freebsd-sparc64@freebsd.org> Subject: Re: PCI range checking under qemu-system-sparc64 Message-ID: <20150906110308.GA68829@FreeBSD.org> In-Reply-To: <557DF887.20508@ilande.co.uk> References: <53F73E6F.9080805@ilande.co.uk> <2084808.1lxSgnvf69@ralph.baldwin.cx> <557ADCAB.9020409@FreeBSD.org> <557B6116.70900@ilande.co.uk> <557C1162.3000106@FreeBSD.org> <557D82F8.50908@ilande.co.uk> <557DA6D5.4070800@FreeBSD.org> <557DCF54.7020606@ilande.co.uk> <A88F6A52-FA8A-4669-A2D6-23374F8E26BB@FreeBSD.org> <557DF887.20508@ilande.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 14, 2015 at 10:56:23PM +0100, Mark Cave-Ayland wrote: > Got it. The module name was geom_part_vtoc8 and that was enough to > enable me to generate a valid ISO, apply your patch and verify that the > build works. Thank you for your help so far! > > A quick test with QEMU debugging enabled shows the following on the > console just before the freeze: > > IN: > 0x00000000c0590188: st %g1, [ %l3 + 0x8c ] > 0x00000000c059018c: membar #MemIssue > 0x00000000c0590190: sll %l0, 2, %g2 > 0x00000000c0590194: ld [ %i3 + 0x88 ], %g1 > 0x00000000c0590198: cmp %g2, %g1 > 0x00000000c059019c: clr %o0 > 0x00000000c05901a0: movg %icc, 1, %o0 > 0x00000000c05901a4: call 0xc08aaee0 > > (hangs) > > Examining the kernel symbols show that 0xc08aaee0 is the address of the > cpu_idle() function which is being called from sched_idletd(). My next > job will be to step through cpu_idle() and see if we're getting stuck in > a loop or disappearing somewhere else. Applying the patch (extended version in D2791) fixed the panic for me as well (on qemu v2.4.0 built from emulators/qemu-devel port). Kernel keeps booting and hangs after printing "IPsec: Initialized Security Association Processing." line, however last assembly lines in the log are different: IN: 0x00000000c06183b8: ldsh [ %l3 + 0x9a ], %g1 0x00000000c06183bc: ldsh [ %l3 + 0x98 ], %g2 0x00000000c06183c0: add %g1, %g2, %l0 0x00000000c06183c4: ld [ %l3 + 0x88 ], %g1 0x00000000c06183c8: cmp %g1, 0 0x00000000c06183cc: bne %icc, 0xc061812c 0x00000000c06183d0: cmp %l0, %l1 Mark did you have any success with getting the boot process further? ./danfe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150906110308.GA68829>