Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 2013 22:52:23 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        mh@kernel32.de
Cc:        freebsd-current@freebsd.org
Subject:   Re: panic at serial boot
Message-ID:  <20130402195223.GU3794@kib.kiev.ua>
In-Reply-To: <941a3c1e7cb49087c8bf941399b1e5ae@kernel32.de>
References:  <e755813a47d9e5a05dd2d308a6b3d8a9@kernel32.de> <515289AC.3050204@FreeBSD.org> <936608f069b988fcd58707edb9b4dde0@kernel32.de> <20130327133220.GZ3794@kib.kiev.ua> <24096f01453ab9d0fe898522874cd928@kernel32.de> <941a3c1e7cb49087c8bf941399b1e5ae@kernel32.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--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: <vendor 0x8087> at usbus0
> uhub3: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2>=
=20
> on usbus0
> ugen2.2: <vendor 0x8087> at usbus2
> uhub4: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2>=
=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: <vendor 0x0424> at usbus2
> uhub5: <vendor 0x0424 product 0x2660, class 9/0, rev 2.00/8.01, addr 3>=
=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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130402195223.GU3794>