Does the kernel 2.6.24-18.32 support KGDB??
rod_wang
rod_wang at pegatroncorp.com
Tue Sep 23 03:26:46 UTC 2008
Thanks for your quickly reply.
But After I build the new kernel ( linux-lpia_2.6.26.1.1 ) , I always fail
at boot time.
Build step:
1. tar -zxvf linux-lpia_2.6.26-1.1.tar.gz
2. cd ubuntu-intrepid-lpia
3. AUTOBUILD=1 NOEXTRAS=1 fakeroot debian/rules
binary-lpia
Error message:
Begin: Running /script/init-premount.
Done.
Begin: Mounting root file system ..
Using squashfs .......
Checking device /dev/hda
Checking device /dev/hdb
Checking device /dev/Sda
Checking device /dev/Sdb
Checking device /dev/hda
Checking device /dev/hdb
Checking device /dev/Sda
Checking device /dev/Sdb
.............
I am afraid that losing some driver ..so I went to modify config.lpa.
But I got the other problem on build kernel(linux-lpia_2.6.26.1.1) , If
after I modify debian/config/lpia/config.lpia , then I build the kernel,
Build step:
1.cd kernel-2.6.26.1.1
2. make menuconfig
3. select "Ubuntu Supplied Third-Party Device Drivers
->
SquashFS 3.3 & Another UnionFS "
CONFIG_SQUASHFS=m
CONFIG_SQUASHFS_EMBEDDED=y
CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
CONFIG_AUFS=y
CONFIG_AUFS_BRANCH_MAX_127=y
4. cp .config debian/config/lpia/config.lpia
5. AUTOBUILD=1 NOEXTRAS=1 fakeroot debian/rules
binary-lpia
I always got error message as below:
Error message:
#
# configuration written to .config
#
Using /kernel-2.6.26.1.1 as source for
kernel
/kernel-2.6.26.1.1 is not clean , please
run "make mrproper"
In the '/kernel-2.6.26.1.1' directory
Make[4]: *** [prepare3] Error1
Make[3]: *** [sub-make] Error2
Make[2]: *** [prepare] Error2
Make[1]: *** [sub-make] Error2
Make[1]: Leaving directory '/kernel-2.6.26.1.1'
Make: *** ['kernel-2.6.26.1.1/debian/stamps/stamp-prepare-lpia] Error2
Is any step wrong on build kernel??
Thanks in Advance.
Rod
-----Original Message-----
From: amit.kucheria at verdurent.com [mailto:amit.kucheria at verdurent.com] On
Behalf Of Amit Kucheria
Sent: Tuesday, September 23, 2008 12:46 AM
To: rod_wang at pegatroncorp.com
Cc: kernel-team at lists.ubuntu.com
Subject: Re: Does the kernel 2.6.24-18.32 support KGDB??
On Mon, Sep 22, 2008 at 10:56 AM, rod_wang <rod_wang at pegatroncorp.com>
wrote:
> Hi,
>
>
>
> I have a question about kernel 2.6.24-18.32. Is it support the
>
> KGDB???
>
>
> How can I make the kernel support KGDB , If the kernel doesn't support.
>
The 2.6.24 kernels do not have built-in support for KGDB. KGDB support
was integrated in 2.6.26. You have two options:
1. Install a newer kernel e.g. the intrepid kernel
2. Find KGDB patches for 2.6.24 and compile your own kernel.
Regards,
Amit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20080923/492a1fcf/attachment.html>
More information about the kernel-team
mailing list