Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* HOWTO? Debug the boot sequence...
@ 1999-01-20  5:00 Peter Mott
  1999-01-20  5:00 ` Peter Mott
       [not found] ` <786pan$m8n$1@zruty.comnets.rwth-aachen.de>
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Mott @ 1999-01-20  5:00 UTC (permalink / raw)


What I want to be able to do is build a kernel with a console mode 
debugger, so I can find out where the kernel is really dying.

Can this be done?

++

I have built 2.2.0-pre5 for Jensen. I am having trouble booting it in two 
different ways and I'd like to hear any ideas about what's wrong and how 
to diagnose or fix the problems.

Ultimately the goal is to successfully boot the Jensen with a 2.2.0-preX 
kernel. I'm building pre7 now.

With pre5, the kernel boots up to a report 'Partition Check', lists the 
available partitions and halts. The halt causes a switch to the SRM blue 
screen console mode, which removes all trace of the kernel boot messages, 
so I'm not sure the partition check is the last thing, it's just the last 
thing I've seen.

++ 

The second problem I'm having is using aboot to load the pre5 kernel from 
an ext2 partition. So far I have been able to use swriteboot to get aboot 
to load the kernel as 0/a. I can't get aboot to load the pre5 kernel as 
1/vmtest.gz, which causes the error 'unzip: unknown compression method'. 
Once this error occurs, I must reload aboot from the SRM console before 
it will successfully load anything.

Its possible that aboot is causing both problems, in that it may not 
really be loading the whole kernel as 0/a, so the kernel trips memory it 
expects to be the kernel, but isn't, and executes a bogus halt 
instruction. 

I'd like to make a debuggable version of aboot, to find out what's 
causing the error. The problem I'm having here is it's designed to be a 
standalone program, so I'd need a console mode debugger compiled in, 
which is the same thing I want to do for the kernel.

Anyone done this sort of thing? Is my only choice to sprinkle printf's 
through the aboot code?

Suggestions please!



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-01-21  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-20  5:00 HOWTO? Debug the boot sequence Peter Mott
1999-01-20  5:00 ` Peter Mott
     [not found] ` <786pan$m8n$1@zruty.comnets.rwth-aachen.de>
1999-01-21  5:00   ` Peter Mott

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox