Port-hppa archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
NetBSD 10.1 on HP 9000 745i/50 - small issue
Hi,
I've just acquired an HP 9000 745i/50, this model is listed as supported
by NetBSD but I've encountered an issue: booting a standard NetBSD 10.1
kernel will panic quite soon with an unknown cpu_type error:
>> NetBSD/hppa CD Boot, Revision 1.0 (Mon Dec 16 13:08:11 UTC 2024)
>> Booting dk2a:/netbsd: 10900748+3678372+339804=0xfd6418
Start @ 0x200000 [1=0x11d5000-0x11d5418]...
[ 1.0000000] WARNING: Unknown cpu_type for cpu_modelno 401
[ 1.0000000] panic: CPU detection failed. Please report the problem.
[ 1.0000000] cpu0: Begin traceback...
[ 1.0000000] (null)() at 798cac
[ 1.0000000] (null)() at 798db0
[ 1.0000000] (null)() at 224e9c
[ 1.0000000] (null)() at 2259a8
[ 1.0000000] (null)() at 2000d0
[ 1.0000000] -- trap #0 (0x11d8f80)
[ 1.0000000] cpu0: End traceback...
I was able to dig down a little bit into the kernel source and found
that the system is defined as HPPA_BOARD_HP745I_50 in
arch/hppa/dev/cpudevs.h and cpudevs_data.h but it was not listed in
arch/hppa/hppa/machdep.c
Adding the correct entry to machpdep.c and rebuilding the kernel fixed
the problem and got me a working NetBSD system.
I've not done extensive testing but now the kernel boot fine, seems to
identify all the hardware, run the installation all the way to the end
and reboot into a working system without any trouble.
That's the fix:
--- arch/hppa/hppa/machdep.c.orig 2026-01-04 21:05:13.253922216 +0100
+++ arch/hppa/hppa/machdep.c 2026-01-03 20:07:44.162821531 +0100
@@ -883,6 +883,7 @@
case HPPA_BOARD_HP725_50:
case HPPA_BOARD_HP725_75:
case HPPA_BOARD_HP725_99:
+ case HPPA_BOARD_HP745I_50:
return hpcxt;
}
return hpc_unknown;
and that's the system happily booting NetBSB:
https://dmesgd.nycbug.org/dmesgd?do=view&id=8787
--
Giuliano Paolo Brunetti
http://www.flickr.com/photos/31231773@N02/sets/
Italian hobbyist DECnet network - http://decnet.ipv7.net
Home |
Main Index |
Thread Index |
Old Index