NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: install/49470: NetBSD 9.0 RC1 reboots after bootloader (HP Compaq 6005 Pro / AMD Phenom II)



The following reply was made to PR install/49470; it has been noted by GNATS.

From: Matthias Petermann <mp%petermann-it.de@localhost>
To: Andrew Doran <ad%netbsd.org@localhost>
Cc: Andrius V <vezhlys%gmail.com@localhost>, Paul Goyette <paul%whooppee.com@localhost>,
 install-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost,
 gnats-bugs%netbsd.org@localhost
Subject: Re: install/49470: NetBSD 9.0 RC1 reboots after bootloader (HP Compaq
 6005 Pro / AMD Phenom II)
Date: Wed, 11 Dec 2019 12:11:44 +0100

 This is a cryptographically signed message in MIME format.
 
 --------------ms050909090704060501050900
 Content-Type: text/plain; charset=utf-8; format=flowed
 Content-Transfer-Encoding: quoted-printable
 
 Hi Andrew,
 
 thanks for sharing your thoughts on this issue! I have a working build=20
 environment and adding this printf()s following your excellent guide=20
 seems like an easy exercise so far. I will try this first and report any =
 
 findings here as soon as I can.
 
 Kind regrads
 Matthias
 
 Am 11.12.2019 um 11:59 schrieb Andrew Doran:
 > Hi,
 >=20
 > I understand it's quite difficult to do if you don't have a working bui=
 ld
 > environment, and getting the kernels in place is tough too, but assumin=
 g
 > that your machine actually gets into the kernel and crashes there rathe=
 r
 > than the boot loader, and you are determined to find the problem...
 >=20
 > If I wanted to debug this I would try sprinkling printf()s in the kerne=
 l's
 > main() in src/sys/kern/init_main.c, after the call to consinit().
 >=20
 > If a machine does not even get that far, or it reboots so quickly that =
 the
 > messages cannot be read, I keep this assembly function around to dump i=
 nto
 > src/sys/arch/amd64/amd64/locore.S (or i386, it should assemble correctl=
 y on
 > both) and then call it from C code.  It produces long beeps from the sp=
 eaker
 > and by counting the beeps and following a process of approximate bisect=
 ion I
 > can figure out where it's going wrong.
 >=20
 > 	http://www.netbsd.org/~ad/keep/beep.S
 >=20
 > It is an awful lot of work though...
 >=20
 > Andrew
 >=20
 >=20
 > On Wed, Dec 11, 2019 at 09:48:58AM +0100, Matthias Petermann wrote:
 >=20
 >> thanks for your response. You are right, the issue maps not exactly to=
  the
 >> reported problem as a different CPU is installed.
 >>
 >> Anyway, the following actions did not succeed so far:
 >>
 >> - booting with boot -12
 >> - booting from SATA hard drive with pre-installed NetBSD
 >> - USB options not configurable in BIOS
 >> - older Release NetBSD 6.0 did also not boot (hangs at the second spin=
 ner
 >> 123456\ but does not reboot)
 >> - switching from AHCI to legacy/native IDE mode
 >> - Booting FreeBSD 11.2 also hangs in primary bootstrap
 >>
 >> Especially the fact that FreeBSD doesn't boot either led me to [1]
 >>
 >> I will try to find out if I get to the point where I could debug into =
 the
 >> kernel from my serial console...
 >>
 >> Kind regards
 >> Matthias
 >>
 >>
 >> [1] http://freebsd.1045724.x6.nabble.com/boot-hang-with-certain-Phenom=
 -II-cpu-models-td6300528.html
 >>
 >> Am 09.12.2019 um 22:08 schrieb Andrius V:
 >>> Hi,
 >>>
 >>> It is quite unlikely that your issue is related to the original bug
 >>> report since hardware was VIA based (VIA C7-M+VN896) HP 2133 netbook.=
 
 >>> The typical actions I would try to do: 1) boot without ACPI/SMP
 >>> enabled (boot -12) 2) if you're booting using USB media, you can try
 >>> to change some relevant USB options (speed let's say, depends on BIOS=
 )
 >>> or try to boot from non USB media (CD, netboot or install it to HDD o=
 n
 >>> the compatible machine and attach it to your system). If any of those=
 
 >>> boot, you can check dmesg output for potentially unsupported hardware=
 =2E
 >>> Finally you can try to boot older releases to see if it worked before=
 =2E
 >>> Otherwise you are probably out of luck (playing with some BIOS option=
 s
 >>> like switching between AHCI/IDE modes may help but not necessarily).
 >>>
 >>> P.S. gnats-bugs%netbsd.org@localhost should be added as one of email addresses.=
 
 >>>
 >>>
 >>>
 >>> On Mon, Dec 9, 2019 at 9:18 PM Matthias Petermann <mp%petermann-it.de@localhost=
 > wrote:
 >>>>
 >>>> resent mail, removed tuotila%gmx.com@localhost from cc (address seams to be no=
 t
 >>>> existing anymore)
 >>>>
 >>>> ---
 >>>>
 >>>> Hi,
 >>>>
 >>>> Am 09.12.2019 um 14:38 schrieb Paul Goyette:
 >>>>>> WARNING: 1 module failed to load
 >>>>>>
 >>>>>> How do I find out which module failed to load here?
 >>>>>
 >>>>> Almost certainly, this is a failure to load the ffs filesystem,
 >>>>> since the filesystem module is already built-in to the kernel.
 >>>>>
 >>>>> The message can safely be ignored.
 >>>>
 >>>> That's bad news ;-) So there is no known way to debug this further. =
 I
 >>>> wish I had more knowledge on possible causes. The box boots without =
 any
 >>>> issue into Slackware Linux. I should try a BIOS upgrade and/or try a=
 
 >>>> NetBSD version older than the one where the issue was first reported=
 =2E
 >>>>
 >>>> Kind regards
 >>>> Matthias
 >>>>
 >>>> --
 >>>> Matthias Petermann <mp%petermann-it.de@localhost> | www.petermann-it.de
 >>>> Innovative IT-L?sungen, Systemintegration, Linux/FreeBSD/Unix-Suppor=
 t
 >>>> Wildparkring 13, 01458 Ottendorf-Okrilla | Tel.: +49 (0)35205 597 99=
 1
 >>>>
 >>
 >> --=20
 >> Matthias Petermann <mp%petermann-it.de@localhost> | www.petermann-it.de
 >> Innovative IT-L?sungen, Systemintegration, Linux/FreeBSD/Unix-Support
 >> Wildparkring 13, 01458 Ottendorf-Okrilla | Tel.: +49 (0)35205 597 991
 >>
 >=20
 >=20
 
 --=20
 Matthias Petermann <mp%petermann-it.de@localhost> | www.petermann-it.de
 Innovative IT-L=C3=B6sungen, Systemintegration, Linux/FreeBSD/Unix-Suppor=
 t
 Wildparkring 13, 01458 Ottendorf-Okrilla | Tel.: +49 (0)35205 597 991
 
 
 --------------ms050909090704060501050900
 Content-Type: application/pkcs7-signature; name="smime.p7s"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment; filename="smime.p7s"
 Content-Description: S/MIME Cryptographic Signature
 
 MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0B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