Subject: Re: Boot blocks croak on kernels with full debug table
To: Craig Metz <cmetz@inner.net>
From: Phil Knaack <flipk@ncremp.ag.iastate.edu>
List: port-i386
Date: 05/21/1996 23:39:42
Craig Metz wrote:
>>> Whenever I attempt to boot a NetBSD kernel that has the full
>>> debug table in it, the boot loader (v1.27 & v1.28) prints the appropriate
>>> segment breakdown and appears to be properly reading the kernel, but, when
>>> it would normally jump to the kernel's entry point and start running, my
>>> system goes off into never-never land. Is this problem being worked on?
Jason Thorpe wrote:
>>Ick ... I thought the kernel size limit disappeared a long time ago. I
>>wonder if anyone was aware of it :-)
>>How big is your kernel with debugging symbols?
>-rwx------ 1 root ipv6 8405572 May 21 11:42 netbsd.gdb
> Once upon a time it was bigger (I stripped out some options). But it
>still won't boot. The stripped version works fine.
It didn't occur to me earlier what it was you were trying to do.
"netbsd.gdb" isn't really intended to be booted, I don't think.
Especially since most machines don't have enough memory to handle this.
The "netbsd" produced from "strip -d" IS to be booted, and the
.gdb file is to be used as the symbols file with the "gdb -k" command.
Of course I've not done it in a while...
Cheers,
Phil
--
Phillip F Knaack flipk@iastate.edu
Database Programmer, NCREMP Student Development Group
ISU Extension Project Vincent, Iowa State University