Sorry, I copy the wrong error message.
1. In image creator's chroot before the USB image creation, open target
terminal :
<1> dpkg -I linux-image-2.6.27-3-lpia_2.6.27-3.3_lpia.deb
<2> cd /boot/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> add "clocksource=hpet" to kernel command line
<4>create a new image on MIC
<5> write image to USB pen drive on MIC
<6>use USB pen drive to boot the vmlinuz-2.6.27-3-lpia kernel on
Device
Error Message:
Begin: install process will begining shortly...............
Sourcing install.cfg...........
INSTALL...........
Did not find an installation target device
Checking device: /dev/had for instrallation target
Checking device: /dev/hdb for instrallation target
Checking device: /dev/sda for instrallation target
Checking device: /dev/sdb for instrallation target
Did not find an installation target device
Checking device: /dev/had for instrallation target
Checking device: /dev/hdb for instrallation target
Checking device: /dev/sda for instrallation target
Checking device: /dev/sdb for instrallation target
.....................................repeat.....
2. Use the other image ( kernel 2.6.24-18.32 ), and write to USB pen drive ,
then the device boot from USB pen drive, used USB pen drive to boot the
vmlinuz-2.6.24-18.32 kernel ; after finished installation OS, reboot again ,
enter OS and open terminal (Running on Device ):
<1> mount /dev/sda1 /boot -o ro; mount /dev/sda1 /boot -o remount,rw
<2> dpkg -I linux-image-2.6.27-3-lpia_2.6.27-3.3_lpia.deb
<3> cd /boot/grub
<4> 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
<5> reboot
<6> Use the kernel 2.6.27-3-lpia to boot the system on GRUB
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
,,,,,,,,,,,,,,,,,,,,,,,,,,,repeat.....
Thanks in Advance.
Rod
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of rod_wang
Sent: Wednesday, September 24, 2008 1:30 PM
To: 'Amit Kucheria'
Cc: [email protected]
Subject: [Moblin Dev] RE: Does the kernel 2.6.24-18.32 support KGDB??
Hi Amit,
I download the tarball and load into MIC from this web site :
http://cdimage.ubuntu.com/mobile/releases/hardy/
I had been try on two difference base , then got two difference results of
error message.
1. In image creator's chroot before the USB image creation, open target
terminal on Image Creator:
<1> dpkg -I linux-image-2.6.27-3-lpia_2.6.27-3.3_lpia.deb
<2> cd /boot/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> add "clocksource=hpet" to kernel command line
<4>create a new image
<5> write image to USB pen drive
<6>use USB pen drive to boot the vmlinuz-2.6.27-3-lpia kernel
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
,,,,,,,,,,,,,,,,,,,,,,,,,,,repeat.....
2. Use the other image ( kernel 2.6.24-18.32 ), and write to USB pen drive ,
then the device boot from USB pen drive, used USB pen drive to boot the
vmlinuz-2.6.24-18.32 kernel ; after finished installation OS, reboot again ,
enter OS and open terminal:
<1> mount /dev/sda1 /boot -o ro; mount /dev/sda1 /boot -o remount,rw
<2> dpkg -I linux-image-2.6.27-3-lpia_2.6.27-3.3_lpia.deb
<3> cd /boot/grub
<4> 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
<5> reboot
<6> Use the kernel 2.6.27-3-lpia to boot the system on GRUB
Error Message:
Begin: install process will begining shortly...............
Sourcing install.cfg...........
INSTALL...........
Did not find an installation target device
Checking device: /dev/had for instrallation target
Checking device: /dev/hdb for instrallation target
Checking device: /dev/sda for instrallation target
Checking device: /dev/sdb for instrallation target
Did not find an installation target device
Checking device: /dev/had for instrallation target
Checking device: /dev/hdb for instrallation target
Checking device: /dev/sda for instrallation target
Checking device: /dev/sdb for instrallation target
.....................................repeat.....
Thanks In Advance.
Rod
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Amit Kucheria
Sent: Tuesday, September 23, 2008 7:04 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Does the kernel 2.6.24-18.32 support KGDB??
Where did you install the kernel - in image creator's chroot before
the USB image creation? I am a little unclear about your entire
workflow.
What distro are you using - Intrepid or Hardy? This discussion seem to
be going off-topic for kernel-team list. Maybe we should move it to
the mobile mailing list.
Regards,
Amit
On Tue, Sep 23, 2008 at 1:54 PM, rod_wang <[EMAIL PROTECTED]> wrote:
Hi Amit,
After I install the kernel image
(linux-image-2.6.27-3-lpia_2.6.27-3.3_lpia.deb ) ,
I add "clocksource=hpet" to kernel line as below:
USB Disk Booting kernel cmdline: initrd=initrd.img boot=usb
clocksource=hpet
HD installed kernel cmdline: ro boot=disk resume=/dev/sda3 ht=on
clocksource=hpet
CD Disk Booting kernel cmdline: initrd=initrd.img boot=cd clocksource=hpet
Then I creat a new image and write image to USB ,
when I boot from USB, I still got other error message.
Error message:
Sourcing ./incfg...........
INSTALL...........
Did not find an installation target device
Checking device: /dev/had for instrallation target
Checking device: /dev/hdb for instrallation target
Checking device: /dev/sda for instrallation target
Checking device: /dev/sdb for instrallation target
....
Thanks in Advance.
Rod
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Amit Kucheria
Sent: Tuesday, September 23, 2008 5:38 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Does the kernel 2.6.24-18.32 support KGDB??
Try adding 'clocksource=hpet' to the kernel command line in grub.
Regards,
Amit
On Tue, Sep 23, 2008 at 12:30 PM, rod_wang <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Amit Kucheria
Sent: Tuesday, September 23, 2008 4:50 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
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 <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On
Behalf Of Amit Kucheria
Sent: Tuesday, September 23, 2008 3:32 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
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 <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On
Behalf Of Amit Kucheria
Sent: Tuesday, September 23, 2008 12:46 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Does the kernel 2.6.24-18.32 support KGDB??
On Mon, Sep 22, 2008 at 10:56 AM, rod_wang <[EMAIL PROTECTED]>
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
_______________________________________________
dev mailing list
[email protected]
https://lists.moblin.org/mailman/listinfo/dev
Manage subscription from http://moblin.org/user account (must be logged in).
_______________________________________________
dev mailing list
[email protected]
https://lists.moblin.org/mailman/listinfo/dev
Manage subscription from http://moblin.org/user account (must be logged in).