Operating System - Tru64 Unix
1752810 Members
5717 Online
108789 Solutions
New Discussion юеВ

Re: btcreate error/problem

 
SOLVED
Go to solution
Paul_504
Frequent Advisor

btcreate error/problem

Hi

I'm trying to create a bootable tape using the btcreate utility. The whole process executes perfectly, but when I try booting of the tape it gives the following error:

jumping to bootstrap code

halted CPU 0

halt code = 2
kernel stack not valid halt
PC = 20000004
P00>>>

Could this be that the partition chosen for the miniroot location is automatically picked as part of btcreate, and it takes a mounted disk partition, thus not creating a correct kernel?

Any input would seriously be appreciated, as my thought patern is at an end.

Thank you in advance
Paul
13 REPLIES 13
Michael Schulte zur Sur
Honored Contributor

Re: btcreate error/problem

Paul,

how did you create the tape?

greetings,

Michael
Paul_504
Frequent Advisor

Re: btcreate error/problem

Hi Michael

I ran the /usr/sys/bin/btcreate command. This takes you to an interactive command line interface. It prompts you for the kernel file, where the default is correct, whether you want to use MFS, etc. The tape creation process runs without any errors though, just when the boot-up from tape comes around that it complains.

Paul
Erich Wimmer
Valued Contributor

Re: btcreate error/problem

Paul,
did you use a MFS filesystem for your miniroot?
If not, try to use it.
I've attached a screen copy of btcreate I have done some times ago.
Hope this helps, Erich.
Paul_504
Frequent Advisor

Re: btcreate error/problem

Hi Erich

I tried your way, but the boot still fails with the same error:

jumping to bootstrap code

halted CPU 0

halt code = 2
kernel stack not valid halt
PC = 20000004
P00>>>

Did your bootable tape work? Could the error be a result of device inconsistencies as during my btcreate process it doesn't give the following lines:

Creating device files on mfs...
procprod: using MfsBase 0x140010000
procprod: pid 5351, MfsBase 140010000, 30720 sectors, output ==> "/var/tmp/procprod/mfsImage"

It says something else after the "Create device files on mfs..." prompt.
Michael Schulte zur Sur
Honored Contributor

Re: btcreate error/problem

Hi,

please post os version, patch kit, what machine are you using and the complete output of btcreate as attachment.

Thanks,

Michael
Paul_504
Frequent Advisor

Re: btcreate error/problem

Hi Michael

The system details are below:

Hardware: Alpha 4100
OS: Tru64 UNIX V5.1B
Patch Kit: PK4

Attached is also the complete output of the btcreate process.

I hope this helps you to help me :-). Thank you.

Paul
Erich Wimmer
Valued Contributor

Re: btcreate error/problem

Paul,
did you use the "nc" boot flags for booting your tape ?
>>>> boot -fl "nc"

Erich.
Paul_504
Frequent Advisor

Re: btcreate error/problem

Erich, hi

I did use the "nc" flag yes. I'm not sure what it means though :-)

Erich Wimmer
Valued Contributor

Re: btcreate error/problem

Paul,
I don't know the meaning of these flags. I have created a test boot-tape and booted successfully, Tru64 V5.1b, Patchkit 3. If not using the "nc" flags, boot fails, but not with the same error codes you have.
Erich.