From owner-freebsd-current@FreeBSD.ORG Tue Apr 2 19:52:31 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DC02B9FB for ; Tue, 2 Apr 2013 19:52:31 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 38F57615 for ; Tue, 2 Apr 2013 19:52:31 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.6/8.14.6) with ESMTP id r32JqN60049983; Tue, 2 Apr 2013 22:52:23 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.2 kib.kiev.ua r32JqN60049983 Received: (from kostik@localhost) by tom.home (8.14.6/8.14.6/Submit) id r32JqN7x049982; Tue, 2 Apr 2013 22:52:23 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 2 Apr 2013 22:52:23 +0300 From: Konstantin Belousov To: mh@kernel32.de Subject: Re: panic at serial boot Message-ID: <20130402195223.GU3794@kib.kiev.ua> References: <515289AC.3050204@FreeBSD.org> <936608f069b988fcd58707edb9b4dde0@kernel32.de> <20130327133220.GZ3794@kib.kiev.ua> <24096f01453ab9d0fe898522874cd928@kernel32.de> <941a3c1e7cb49087c8bf941399b1e5ae@kernel32.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OkP4R/eAVrLNUAwh" Content-Disposition: inline In-Reply-To: <941a3c1e7cb49087c8bf941399b1e5ae@kernel32.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Apr 2013 19:52:31 -0000 --OkP4R/eAVrLNUAwh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 02, 2013 at 08:23:20PM +0200, mh@kernel32.de wrote: > Hi Konstantin, >=20 > Am 2013-03-27 15:33, schrieb mh@kernel32.de: > > Am 2013-03-27 14:32, schrieb Konstantin Belousov: > >> > >> Do you use preload md(4) ? If yes, try the following patch: > >> > > > > > > Not sure whether time permits that today, but I'm starting right=20 > > away. > > > Had no time before easter, but I tried it now. > This time, no panic, but also it doesn't continue to boot ;) >=20 > This is the last output I can see: > ioapic0: routing intpin 1 (ISA IRQ 1) to lapic 1 vector 48 > ioapic0: routing intpin 3 (ISA IRQ 3) to lapic 2 vector 48 > ioapic0: routing intpin 9 (ISA IRQ 9) to lapic 3 vector 48 > ioapic0: routing intpin 16 (PCI IRQ 16) to lapic 4 vector 48 > ioapic0: routing intpin 20 (PCI IRQ 20) to lapic 5 vector 48 > ioapic0: routing intpin 21 (PCI IRQ 21) to lapic 6 vector 48 > msi: Assigning MSI-X IRQ 264 to local APIC 7 vector 48 > SMP: passed TSC synchronization test > TSC timecounter discards lower 1 bit(s) > Timecounter "TSC-low" frequency 1300027430 Hz quality 1000 > WARNING: WITNESS option enabled, expect reduced performance. > Root mount waiting for: usbus2 usbus1 usbus0 > uhub1: 2 ports with 2 removable, self powered > uhub2: 2 ports with 2 removable, self powered > uhub0: 2 ports with 2 removable, self powered > Root mount waiting for: usbus2 usbus0 > ugen0.2: at usbus0 > uhub3: = =20 > on usbus0 > ugen2.2: at usbus2 > uhub4: = =20 > on usbus2 > Root mount waiting for: usbus2 usbus0 > uhub3: 6 ports with 6 removable, self powered > uhub4: 8 ports with 8 removable, self powered > ugen2.3: at usbus2 > uhub5: = =20 > on usbus2 > Root mount waiting for: usbus2 > uhub5: 2 ports with 1 removable, self powered > Trying to mount root from ufs:/dev/md0 []... > start_init: trying /sbin/init Good, thank you for testing. >=20 > And it stayed there for the last 10 minutes. >=20 > What can I do now? I booted the image in qemu, initially there were no output on the screen. In fact, the system is very much alive, I broke into the debugger several times, and saw the tar/xz/sh working. More, after some time, I got a login: prompt. I have no idea what to expect from this thing, should it output anything after the kernel finished initializing, and why it sit there for 10 minutes. Try breaking into the debugger and see where it progresses. To do this, you would need to boot with the 'boot -d' command from the loader prompt, then do 'w kbd_break_to_debugger 1', then ctrl-alt-esc when you want to activate the debugger. In the debugger, start with the 'ps' command. >=20 > thanks and best regards, > Marian >=20 > PS.: FWIW, the image I build via mfsbsd is here:=20 > http://mon.kernel32.de/mfsbsd-se-CURRENT-mdpatch.iso > And the hd image used for pxe booting is this one:=20 > http://mon.kernel32.de/FreeBSD-10.0-CURRENT-amd64.hd >=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" --OkP4R/eAVrLNUAwh Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJRWzb2AAoJEJDCuSvBvK1Ba8cQAIeKMeMBFtv2xbiX7E3f7hes 053Ip3dMxG7pN0EUdgvasakehD5T/1iBSuDWGXZQFalS/TvT1mG7miMfn46aqAC9 cvomxi995JwB+CHC9XKAyv38GcthYGMvEqWKQns2RudACN0c+MWnT5SsQ3FceqKz XtQhuztaqCA5MH1xZS2v4uEdYy+5sac+AV8LiuFsLXh1hUcVSMtP8x6Rlw6FHtxj S8T9lh+jEMEkZzbIn4Gku+dj3xr0eUjDE+uapQSku1WAMLCU/1teJ8BvT6DqqX6N 7M/YTb5AUBZ1v5T4vdhAtlNoZKKRSE6uttTmTOckQvtlXnBbiMjz0BJZg87/MN16 QqDI9JXiKQQ9jaM+969DVqI+Ea9ukwrmuuhu+1KANBhadUu57w245HOQyDbn6lQE I3i5orarsWuyi9TxSs2PhVmU9B+3h1ef663/9uNvI9pnz124WTtE9MSmrN75BUvU 1OazcoAazBjQynQgPRZjPae1L2EazgVFARdwdW9oVf+XGwo7ZweNW0FGbEUTGBH6 zdpXXg0Ire5ES/LzJPfB6rhcSEsmQfJSWnc12gZ2q4Pbj3dKtyWupTFD593NCUpl FJ9Q8w+tfjFdwreF5XKhVlJGzWI7ELSkhZqTKM0HiWaw4KRTQ2Ff1i54DujiP6/h prYbSdAJOxfQCqug1cqs =qZIV -----END PGP SIGNATURE----- --OkP4R/eAVrLNUAwh--