Does the kernel 2.6.24-18.32 support KGDB??
Amit Kucheria
amit at ubuntu.com
Tue Sep 23 09:37:52 UTC 2008
Try adding 'clocksource=hpet' to the kernel command line in grub.
Regards,
Amit
On Tue, Sep 23, 2008 at 12:30 PM, rod_wang <rod_wang at pegatroncorp.com> wrote:
> Hi Amit,
> The processor is the Intel CPU ( Atom ) , the chipset is Intel Poulsbo
> chipset .
> The disk is SSD.
>
> I used the moblin image creator to create a image to install on device.
> And the /dev entries sdx. (small case).
>
>
> 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 4:50 PM
> 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??
>
> What device is this? What is installed on it?
>
> And are the /dev/ entries sdX or SdX? Note small case or upper case 'S'
>
> On Tue, Sep 23, 2008 at 11:31 AM, rod_wang <rod_wang at pegatroncorp.com>
> wrote:
>> Hi Amit,
>> After I download and install the kernel image
>> (linux-image-2.6.27-3-lpia_2.6.27-3.3_lpia.deb ) , then reboot the system,
>> The error message as below:
>> 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
>> .............
>>
>> Install step:
>> 1. dpkg -I linux-image-2.6.27-3-lpia_2.6.27-3.3_lpia.deb
>> 2. cd grub
>> 3. vim menu.lst
>> Add :
>> Title Ubuntu 8.0.4, kernel 2.6.27-3-lpia
>> Root (hd0,0)
>> Kernel /vmlinuz-2.6.27-3-lpia ro boot=disk
>> resume=/dev/sda3 ht=on
>> Initrd /initrd.img-2.6.27-3-lpia
>> 4. reboot
>>
>>
>>
>> The fail symptom look like couldn't find device. I don't know what happens
>> at here.
>> But I have an experience at build kernel ( linux_2.6.24-18.32.tar.gz ), if
> I
>> build the kernel use the AUTOBUILD this way, I will got a error ( BusyBox
> )
>> as below:
>>
>>> Mounting none on /root failed
>>> Mounting /root/dev on /dev/.static/dev failed
>>> Mounting /sys on /root/sys failed
>>> Mounting /proc on /root/proc failed
>>> ...
>>> ...
>>> Target filesystem doesn't have /sbin/init
>>>
>>> Busybox x.x.x (Debian x:x.x.x) Built-in shell
>>> (initramfs)
>>
>> Someone tell me, I doesn't have squashfs and unionfs. After I download and
>> install the linux-ubuntu-modules-x.xx.x-xx, I could boot correctly.
>> I don't know why I couldn't boot correctly at upstream kernel. Hopefully
> it
>> could clearly help us to dig out the problem.
>>
>>
>> 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 3:32 PM
>> 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??
>>
>> Hi Rod,
>>
>> Any reason you are using the older 2.6.27 LPIA kernel and not the new
>> 2.6.27-based kernel?
>>
>> You can download the precompiled package from
>>
> http://ports.ubuntu.com/ubuntu-ports/pool/main/l/linux-lpia/linux-image-2.6.
>> 27-3-lpia_2.6.27-3.3_lpia.deb
>>
>> For compilation, please use instructions given at
>> https://wiki.ubuntu.com/KernelMaintenanceStarter. Basically do NOT use
>> 'make menuconfig' to change configs.
>>
>> Regards,
>> Amit
>>
>> On Tue, Sep 23, 2008 at 6:26 AM, rod_wang <rod_wang at pegatroncorp.com>
> wrote:
>>> 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
>>
>>
>
>
More information about the kernel-team
mailing list