RE: [CentOS] build Centos source/rpms from scratch...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



stephen/smooge!

thanks for the reply...

not a school project, a machine is having intermittent crashes, and i want
to know more detailed information.. so i need to have a debug kernel in
order to keep testing.

the issue with the kernel-debuginfo, is that it appears to essentially be
the OS with the debug/symbolic information. you apparently don't actually
run the rpm/app after it's installed.. but it gives the 'crash' app the
ability to match/resolve symbolic information in the event of a crash/hang
within the OS....

you supplied me with info that i had eventually found after hours of
searching... i had created debug kernel scenarios years ago, but needed to
be sure things hadn't changed...

thanks



-----Original Message-----
From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx]On
Behalf Of Stephen John Smoogen
Sent: Sunday, August 20, 2006 9:47 AM
To: CentOS mailing list
Subject: Re: [CentOS] build Centos source/rpms from scratch...


On 8/19/06, bruce <bedouglas@xxxxxxxxxxxxx> wrote:
> hi...
>
> thanks for the reply... your comments are reasonable. but you have to
> understand.. this is for a project... to simply gain additional/further
> information.. i'm not looking to replace Centos/RH... i was simply looking
> for docs/instructions on how to build Centos from source in both the
> regular/debug mode... no more.. no less...
>
> in all honesty, it should be rather simple, as i should be able to
> essentually use the same cmnds that are used to build the source rpms..
>
> the difficulty/lack of information is coming as i can't find anything that
> appears to relate to the 'debug-kernel' issue...
>
>

I am guessing this is for some school project...

The debug kernel you mentioned was only upstream in 2.1. The 'code' to
create the kernel-debug is in that spec file ONLY. Red Hat changed its
way of doing things and put all the debugging information in
-debuginfo packages sometime during the Fedora packages (FC3 was
stabilized into RHEL-4.. so Centos-4 would be your best bet to
creating all the debuginfo pacakges.)

In your 'build' system you will want to make sure that the rpmmacros
files do not have
%debug_package %{nil}

so that the automatic debug packages are created.

What google will tell you:
http://vault.centos.org/debuginfo/
https://www.redhat.com/magazine/012oct05/features/oprofile/


--
Stephen J Smoogen. -- CSIRT/Linux System Administrator
How far that little candle throws his beams! So shines a good deed
in a naughty world. = Shakespeare. "The Merchant of Venice"
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux