Charon-AXP and Tru64 - "System does not have a console configured" error message when booting

Problem

Systems running Tru64 V4.0x on Charon-AXP could fail to boot with "panic (cpu 0): System does not have a console configured" message when upgraded to newer versions of Charon-AXP.

Example:

initializing ...

polling for units on kzpba0, slot 1, bus 0, hose 1 ...

pka0.0.0.1.1 PKA0 Q-Logic/ISP PCI SCSI HBA

... enter console

CHARON-AXP (AlphaServer 4100), Version 4.9 (Build 19402)

(C) 2009-2018 STROMASYS SA.

All rights reserved.

P00>>>

P00>>>b dka0

(boot dka0.0.0.1.1)

jumping to bootstrap code

UNIX boot - Sun May 14 05:34:40 EDT 2000

...

i2c: Server Management Hardware Present

WARNING: preposterous time in TOY clock# -- CHECK AND RESET THE DATE!!

panic (cpu 0): System does not have a console configured.

syncing disks... done

DUMP: 401408 blocks available for dumping.

DUMP: 39858 wanted for a partial compressed dump.

...

Solution

Boot with genvmunix and update the kernel configuration file as described below:

P00>>>boot dka0 -file genvmunix

Switch to multi-user if necessary by pressing CTRL-D and locate the configuration file (examples given below assume the configuration name is AXP001):

# ls -l /sys/conf/

total 191

-rwxr--r--  1 bin      bin         2095 May 14  2000 #.mrg..param.c

-r--r--r--  1 bin      bin        14319 May 14  2000 .new..param.c

-r--r--r--  1 bin      bin        14319 May 14  2000 .proto..param.c

-rw-r--r--  1 root     system      2069 Jul 12 19:18 AXP001

-r--r--r--  1 bin      bin         3269 May 14  2000 BINARY

-r--r--r--  1 bin      bin        39091 May 14  2000 GENERIC

drwxr-xr-x  2 root     system       512 May 14  2000 alpha

lrwxr-xr-x  1 root     system        13 Jul 12 19:16 config -> ../bin/config

...

In the example below, given for an AlphaServer 4100, we can see the controller ace0 has an invalid slot number:

# cat /sys/conf/AXP001

...

bus             isp0       at pci1     slot  1 vector   ispintr

controller      scsi0      at isp0     slot  0

bus             pci0       at mcbus0   slot  4

bus             eisa0      at pci0     slot  1

callout after_c "../bin/mkdata eisa"

controller      gpc0       at eisa0    slot  0 vector   gpcintr

controller      ace0       at eisa0    slot  4 vector   aceintr

...

We'll replace then 4 by 8 (correct number for all models) to correct this:

# cat /sys/conf/AXP001

...

controller      ace0       at eisa0    slot  8 vector   aceintr

...

The kernel can now be rebuilt, replaced and the system can be rebooted:

# doconfig -c AXP001

*** KERNEL CONFIGURATION AND BUILD PROCEDURE ***

Saving /sys/conf/AXP001 as /sys/conf/AXP001.bck

Do you want to edit the configuration file? (y/n) [n]: <press enter>

*** PERFORMING KERNEL BUILD ***

Working....Fri Jul 12 19:33:11 ???? 2019

The new kernel is /sys/AXP001/vmunix

# cp -p /sys/AXP001/vmunix /

# shutdown -r now

Example

Click here to see attached document.

Related articles



© Stromasys, 1999-2024  - All the information is provided on the best effort basis, and might be changed anytime without notice. Information provided does not mean Stromasys commitment to any features described.