Hi,
I really believe that initrd2681hh0_aug23a is quite incompatible with
the the most recent rootfs image built using oe.
I did what you suggested with opie and gpe (console output attached).
Opie image's init crashes immediately and everything hangs. Gpe image
does a lot of nasty things (seg faults, etc) and then hangs also.
I attach also ls -lR of my opie and gpe /dev.
To progress we need to understand how to build consistent initrd and
rootfs images for h2200. I really have impression that the rootfs built
from scratch using oe and the rootfs which supposed to be used with
initrd2681hh0_aug23a belongs to two different flavors.
May someone clarify this point?
Regards,
Vadim
GPE
---
[root_at_localhost home]# ls -lR ipaq_rootfs-gpe/dev
ipaq_rootfs-gpe/dev:
total 0
crw-rw---- 1 root root 10, 134 Aug 29 17:50 apm_bios
crw-rw--w- 1 root root 5, 1 Aug 29 17:50 console
crw------- 1 root root 29, 0 Aug 29 17:50 fb0
brw-rw---- 1 root root 3, 0 Aug 29 17:50 hda
brw-rw---- 1 root root 3, 1 Aug 29 17:50 hda1
brw-rw---- 1 root root 3, 10 Aug 29 17:50 hda10
brw-rw---- 1 root root 3, 11 Aug 29 17:50 hda11
brw-rw---- 1 root root 3, 12 Aug 29 17:50 hda12
brw-rw---- 1 root root 3, 13 Aug 29 17:50 hda13
brw-rw---- 1 root root 3, 14 Aug 29 17:50 hda14
brw-rw---- 1 root root 3, 15 Aug 29 17:50 hda15
brw-rw---- 1 root root 3, 16 Aug 29 17:50 hda16
brw-rw---- 1 root root 3, 17 Aug 29 17:50 hda17
brw-rw---- 1 root root 3, 18 Aug 29 17:50 hda18
brw-rw---- 1 root root 3, 19 Aug 29 17:50 hda19
brw-rw---- 1 root root 3, 2 Aug 29 17:50 hda2
brw-rw---- 1 root root 3, 3 Aug 29 17:50 hda3
brw-rw---- 1 root root 3, 4 Aug 29 17:50 hda4
brw-rw---- 1 root root 3, 5 Aug 29 17:50 hda5
brw-rw---- 1 root root 3, 6 Aug 29 17:50 hda6
brw-rw---- 1 root root 3, 7 Aug 29 17:50 hda7
brw-rw---- 1 root root 3, 8 Aug 29 17:50 hda8
brw-rw---- 1 root root 3, 9 Aug 29 17:50 hda9
prw------- 1 root root 0 Aug 31 19:18 initctl
crw-r----- 1 root root 1, 2 Aug 29 17:50 kmem
crw-r----- 1 root root 1, 1 Aug 29 17:50 mem
crw-rw---- 1 root root 90, 0 Aug 29 17:50 mtd0
crw-rw---- 1 root root 90, 2 Aug 29 17:50 mtd1
crw-rw---- 1 root root 90, 4 Aug 29 17:50 mtd2
crw-rw---- 1 root root 90, 6 Aug 29 17:50 mtd3
crw-rw---- 1 root root 90, 8 Aug 29 17:50 mtd4
crw-rw---- 1 root root 90, 10 Aug 29 17:50 mtd5
crw-rw---- 1 root root 90, 12 Aug 29 17:50 mtd6
crw-rw---- 1 root root 90, 14 Aug 29 17:50 mtd7
brw-r----- 1 root root 31, 0 Aug 29 17:50 mtdblock0
brw-r----- 1 root root 31, 1 Aug 29 17:50 mtdblock1
brw-r----- 1 root root 31, 2 Aug 29 17:50 mtdblock2
brw-r----- 1 root root 31, 3 Aug 29 17:50 mtdblock3
brw-r----- 1 root root 31, 4 Aug 29 17:50 mtdblock4
brw-r----- 1 root root 31, 5 Aug 29 17:50 mtdblock5
brw-r----- 1 root root 31, 6 Aug 29 17:50 mtdblock6
brw-r----- 1 root root 31, 7 Aug 29 17:50 mtdblock7
crw-rw-rw- 1 root root 1, 3 Aug 29 17:50 null
brw-r----- 1 root root 1, 0 Aug 29 17:50 ram0
brw-r----- 1 root root 1, 1 Aug 29 17:50 ram1
brw-r----- 1 root root 1, 2 Aug 29 17:50 ram2
brw-r----- 1 root root 1, 3 Aug 29 17:50 ram3
crw-rw--w- 1 root root 5, 0 Aug 29 17:50 tty
crw-rw-rw- 1 root root 4, 0 Aug 29 17:50 tty0
crw-rw-rw- 1 root root 4, 1 Aug 29 17:50 tty1
crw-rw-rw- 1 root root 4, 2 Aug 29 17:50 tty2
crw-rw-rw- 1 root root 4, 3 Aug 29 17:50 tty3
crw-rw-rw- 1 root root 4, 4 Aug 29 17:50 tty4
crw-rw-rw- 1 root root 4, 5 Aug 29 17:50 tty5
crw-rw-rw- 1 root root 4, 6 Aug 29 17:50 tty6
crw-rw-rw- 1 root root 4, 7 Aug 29 17:50 tty7
crw-rw-rw- 1 root root 4, 8 Aug 29 17:50 tty8
crw-r----- 1 root root 4, 64 Aug 29 17:50 ttyS0
crw-r----- 1 root root 204, 5 Aug 29 17:50 ttySA0
crw-r--r-- 1 root root 1, 5 Aug 29 17:50 zero
[root_at_localhost home]#
OPIE
-----
[root_at_localhost home]# ls -lR ipaq_rootfs-opie/dev
ipaq_rootfs-opie/dev:
total 0
crw-rw---- 1 root root 10, 134 Aug 29 14:58 apm_bios
crw-rw--w- 1 root root 5, 1 Aug 29 14:58 console
crw------- 1 root root 29, 0 Aug 29 14:58 fb0
brw-rw---- 1 root root 3, 0 Aug 29 14:58 hda
brw-rw---- 1 root root 3, 1 Aug 29 14:58 hda1
brw-rw---- 1 root root 3, 10 Aug 29 14:58 hda10
brw-rw---- 1 root root 3, 11 Aug 29 14:58 hda11
brw-rw---- 1 root root 3, 12 Aug 29 14:58 hda12
brw-rw---- 1 root root 3, 13 Aug 29 14:58 hda13
brw-rw---- 1 root root 3, 14 Aug 29 14:58 hda14
brw-rw---- 1 root root 3, 15 Aug 29 14:58 hda15
brw-rw---- 1 root root 3, 16 Aug 29 14:58 hda16
brw-rw---- 1 root root 3, 17 Aug 29 14:58 hda17
brw-rw---- 1 root root 3, 18 Aug 29 14:58 hda18
brw-rw---- 1 root root 3, 19 Aug 29 14:58 hda19
brw-rw---- 1 root root 3, 2 Aug 29 14:58 hda2
brw-rw---- 1 root root 3, 3 Aug 29 14:58 hda3
brw-rw---- 1 root root 3, 4 Aug 29 14:58 hda4
brw-rw---- 1 root root 3, 5 Aug 29 14:58 hda5
brw-rw---- 1 root root 3, 6 Aug 29 14:58 hda6
brw-rw---- 1 root root 3, 7 Aug 29 14:58 hda7
brw-rw---- 1 root root 3, 8 Aug 29 14:58 hda8
brw-rw---- 1 root root 3, 9 Aug 29 14:58 hda9
prw------- 1 root root 0 Aug 31 19:11 initctl
crw-r----- 1 root root 1, 2 Aug 29 14:58 kmem
crw-r----- 1 root root 1, 1 Aug 29 14:58 mem
crw-rw---- 1 root root 90, 0 Aug 29 14:58 mtd0
crw-rw---- 1 root root 90, 2 Aug 29 14:58 mtd1
crw-rw---- 1 root root 90, 4 Aug 29 14:58 mtd2
crw-rw---- 1 root root 90, 6 Aug 29 14:58 mtd3
crw-rw---- 1 root root 90, 8 Aug 29 14:58 mtd4
crw-rw---- 1 root root 90, 10 Aug 29 14:58 mtd5
crw-rw---- 1 root root 90, 12 Aug 29 14:58 mtd6
crw-rw---- 1 root root 90, 14 Aug 29 14:58 mtd7
brw-r----- 1 root root 31, 0 Aug 29 14:58 mtdblock0
brw-r----- 1 root root 31, 1 Aug 29 14:58 mtdblock1
brw-r----- 1 root root 31, 2 Aug 29 14:58 mtdblock2
brw-r----- 1 root root 31, 3 Aug 29 14:58 mtdblock3
brw-r----- 1 root root 31, 4 Aug 29 14:58 mtdblock4
brw-r----- 1 root root 31, 5 Aug 29 14:58 mtdblock5
brw-r----- 1 root root 31, 6 Aug 29 14:58 mtdblock6
brw-r----- 1 root root 31, 7 Aug 29 14:58 mtdblock7
crw-rw-rw- 1 root root 1, 3 Aug 29 14:58 null
brw-r----- 1 root root 1, 0 Aug 29 14:58 ram0
brw-r----- 1 root root 1, 1 Aug 29 14:58 ram1
brw-r----- 1 root root 1, 2 Aug 29 14:58 ram2
brw-r----- 1 root root 1, 3 Aug 29 14:58 ram3
crw-rw--w- 1 root root 5, 0 Aug 29 14:58 tty
crw-rw-rw- 1 root root 4, 0 Aug 29 14:58 tty0
crw-rw-rw- 1 root root 4, 1 Aug 29 14:58 tty1
crw-rw-rw- 1 root root 4, 2 Aug 29 14:58 tty2
crw-rw-rw- 1 root root 4, 3 Aug 29 14:58 tty3
crw-rw-rw- 1 root root 4, 4 Aug 29 14:58 tty4
crw-rw-rw- 1 root root 4, 5 Aug 29 14:58 tty5
crw-rw-rw- 1 root root 4, 6 Aug 29 14:58 tty6
crw-rw-rw- 1 root root 4, 7 Aug 29 14:58 tty7
crw-rw-rw- 1 root root 4, 8 Aug 29 14:58 tty8
crw-r----- 1 root root 4, 64 Aug 29 14:58 ttyS0
crw-r----- 1 root root 204, 5 Aug 29 14:58 ttySA0
crw-r--r-- 1 root root 1, 5 Aug 29 14:58 zero
[root_at_localhost home]#
CONSOLE LOG
-------------
GPE
---
Linux version 2.6.8.1-hh0 (dima_at_localhost.localdomain) (gcc version
3.3.2) #2 Wed Aug 25 23:22:03 CEST 2004
CPU: XScale-PXA255 [69052d06] revision 6 (ARMv5TE)
CPU: D undefined 5 cache
CPU: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
CPU: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
Machine: HP iPAQ H2200
Memory policy: ECC disabled, Data cache writethrough
Memory clock: 99.53MHz (*27)
Run Mode clock: 398.13MHz (*4)
Turbo Mode clock: 398.13MHz (*1.0, inactive)
--++> Serial cable detected <++--
Built 1 zonelists
Kernel command line: root=/dev/ram0 rw init=/linuxrc console=tty0
console=ttyS0,115200n8 ramdisk_size=8192 cachephPID hash table entries:
512 (order 9: 4096 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 64MB = 64MB total
Memory: 62384KB available (1341K code, 334K data, 64K init)
Calibrating delay loop... 397.31 BogoMIPS
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (no cpio magic); looks like an
initrd
Freeing initrd memory: 654K
NET: Registered protocol family 16
NetWinder Floating Point Emulator V0.97 (double precision)
devfs: 2004-01-31 Richard Gooch (rgooch_at_atnf.csiro.au)
devfs: boot_options: 0x1
Initializing Cryptographic API
ttyS0 at MMIO 0x40100000 (irq = 15) is a FFUART
ttyS1 at MMIO 0x40200000 (irq = 14) is a BTUART
ttyS2 at MMIO 0x40700000 (irq = 13) is a STUART
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Using anticipatory io scheduler
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET: Registered protocol family 1
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
Mounted devfs on /dev
Freeing init memory: 64K
Identified model as: HP IPAQ H2200
LCD modules: h2200_lcd mq11xx_base mq1100fb
Starting the framebuffer
Loading platform specific module:
/lib/modules/2.6.8.1-hh0/kernel/arch/arm/mach-pxa/h2200/h2200_lcd.ko
Loading platform specific module:
/lib/modules/2.6.8.1-hh0/kernel/drivers/misc/soc/mq11xx_base.ko
MediaQ 1188 chip detected, base IRQ 104
Loading platform specific module:
/lib/modules/2.6.8.1-hh0/kernel/drivers/video/mq1100fb.ko
Starting the framebuffer console
Console: switching to colour frame buffer device 60x53
The Penguins have taken control
on your handheld computer.
We are the .org.
.com as you know it is over.
Resistance is futile.
(o_
(o_ (o_ //\
(/)_ (\)_ V_/_
Happy computing!
Starting USB networking
pxa2xx_udc: version 14-Dec-2003
usb0: Ethernet Gadget, version: St Patrick's Day 2004
usb0: using pxa2xx_udc, OUT ep2out-bulk IN ep1in-bulk
usb0: MAC 1e:bf:3c:74:8e:09
udc: USB reset
udc: USB reset
udc: USB reset
usb0: full speed config #1: Ethernet Gadget, using CDC Ethernet Subset
If this is not automatic, please run the following commands on the PC
host:
> modprobe usbnet (should be automatically done by USB hotplug)
> ifconfig usb0 192.168.0.200
> route add 192.168.0.202 dev usb0
Waiting for the PC host (192.168.0.200) to be available
through the USB ethernet connection...
Connection to the PC host established!
Trying to mount the PC /home/ipaq_rootfs partition through NFS
nfs warning: mount version older than kernel
Successfully mounted remote partition to /mnt/rootfs
Making /mnt/rootfs the new root partition
Executing /sbin/init...
INIT: version 2.85 booting
Segmentation fault
chvt: Couldn't get a file descriptor referring to the console
chvt: VT_ACTIVATE: Bad file descriptor
/dev/fb/0: No such file or directory
Segmentation fault
Segmentation fault
Using /lib/modules/2.6.8.1-hh0/kernel/drivers/base/soc-device.ko
insmod: cannot insert
`/lib/modules/2.6.8.1-hh0/kernel/drivers/base/soc-device.ko': File
exists (-1): File exists
modprobe: failed to load module soc-device
Using /lib/modules/2.6.8.1-hh0/kernel/arch/arm/common/ipaq/h4000_lcd.ko
insmod: cannot insert
`/lib/modules/2.6.8.1-hh0/kernel/arch/arm/common/ipaq/h4000_lcd.ko': No
such device (-1): Nemodprobe: failed to load module h4000_lcd
Using /lib/modules/2.6.8.1-hh0/kernel/drivers/video/pxafb.ko
pxafb: deferring startup
Segmentation fault
mount: Mounting devpts on /dev/pts failed: No such file or directory
usbcore: registered new driver usbfs
usbcore: registered new driver hub
a
b
usbcore: deregistering driver usbfs
usbcore: deregistering driver hub
touch: /var/lock/subsys/hotplug: No such file or directory
Setting up IP spoofing protection: rp_filter.
Configuring network interfaces... done.
Checking for built-in Bluetooth: no
Configuring dbus-1
Segmentation fault
Configuring gdk-pixbuf-loader-png
Configuring locale-base-de-de
Segmentation fault
postinst script returned status 139
ERROR: locale-base-de-de.postinst returned 139
Configuring locale-base-en-gb
OPE
---
Linux version 2.6.8.1-hh0 (dima_at_localhost.localdomain) (gcc version
3.3.2) #2 Wed Aug 25 23:22:03 CEST 2004
CPU: XScale-PXA255 [69052d06] revision 6 (ARMv5TE)
CPU: D undefined 5 cache
CPU: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
CPU: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
Machine: HP iPAQ H2200
Memory policy: ECC disabled, Data cache writethrough
Memory clock: 99.53MHz (*27)
Run Mode clock: 398.13MHz (*4)
Turbo Mode clock: 398.13MHz (*1.0, inactive)
--++> Serial cable detected <++--
Built 1 zonelists
Kernel command line: root=/dev/ram0 rw init=/linuxrc console=tty0
console=ttyS0,115200n8 ramdisk_size=8192 cachephPID hash table entries:
512 (order 9: 4096 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 64MB = 64MB total
Memory: 62384KB available (1341K code, 334K data, 64K init)
Calibrating delay loop... 397.31 BogoMIPS
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (no cpio magic); looks like an
initrd
Freeing initrd memory: 654K
NET: Registered protocol family 16
NetWinder Floating Point Emulator V0.97 (double precision)
devfs: 2004-01-31 Richard Gooch (rgooch_at_atnf.csiro.au)
devfs: boot_options: 0x1
Initializing Cryptographic API
ttyS0 at MMIO 0x40100000 (irq = 15) is a FFUART
ttyS1 at MMIO 0x40200000 (irq = 14) is a BTUART
ttyS2 at MMIO 0x40700000 (irq = 13) is a STUART
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Using anticipatory io scheduler
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET: Registered protocol family 1
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
Mounted devfs on /dev
Freeing init memory: 64K
Identified model as: HP IPAQ H2200
LCD modules: h2200_lcd mq11xx_base mq1100fb
Starting the framebuffer
Loading platform specific module:
/lib/modules/2.6.8.1-hh0/kernel/arch/arm/mach-pxa/h2200/h2200_lcd.ko
Loading platform specific module:
/lib/modules/2.6.8.1-hh0/kernel/drivers/misc/soc/mq11xx_base.ko
MediaQ 1188 chip detected, base IRQ 104
Loading platform specific module:
/lib/modules/2.6.8.1-hh0/kernel/drivers/video/mq1100fb.ko
Starting the framebuffer console
Console: switching to colour frame buffer device 60x53
The Penguins have taken control
on your handheld computer.
We are the .org.
.com as you know it is over.
Resistance is futile.
(o_
(o_ (o_ //\
(/)_ (\)_ V_/_
Happy computing!
Starting USB networking
pxa2xx_udc: version 14-Dec-2003
usb0: Ethernet Gadget, version: St Patrick's Day 2004
usb0: using pxa2xx_udc, OUT ep2out-bulk IN ep1in-bulk
usb0: MAC 1e:bf:3c:74:8e:09
udc: USB reset
udc: USB reset
udc: USB reset
usb0: full speed config #1: Ethernet Gadget, using CDC Ethernet Subset
If this is not automatic, please run the following commands on the PC
host:
> modprobe usbnet (should be automatically done by USB hotplug)
> ifconfig usb0 192.168.0.200
> route add 192.168.0.202 dev usb0
Waiting for the PC host (192.168.0.200) to be available
through the USB ethernet connection...
Connection to the PC host established!
Trying to mount the PC /home/ipaq_rootfs partition through NFS
nfs warning: mount version older than kernel
Successfully mounted remote partition to /mnt/rootfs
Making /mnt/rootfs the new root partition
Executing /sbin/init...
INIT: version 2.85 booting
INIT: PANIC: segmentation violation! sleeping for 30 seconds.
INIT: PANIC: segmentation violation! sleeping for 30 seconds.
??
On Tue, 2004-08-31 at 10:10, Peter Vicman wrote:
> Hi,
>
> just make directory /mnt/initrd on the nfs root, which is now GPE image.
>
> [blade ipaq_rootfs]# pwd
> /home/ipaq_rootfs
> [blade ipaq_rootfs]# ll mnt
> total 20
> drwxr-xr-x 2 root root 4096 Aug 28 20:15 card
> drwxr-xr-x 2 root root 4096 Aug 28 20:15 cf
> drwxr-xr-x 2 root root 4096 Aug 30 11:32 initrd
> drwxr-xr-x 2 root root 4096 Aug 28 20:15 net
> drwxr-xr-x 2 root root 4096 Aug 28 20:15 ram
>
> Make new file linuxrc with this contents:
>
> [blade ipaq_rootfs]# cat linuxrc
> #!/bin/sh
>
> echo "Executing /sbin/init..."
> exec /sbin/init $*
>
> I did that and GPE image seems to start booting, but after bootsplash
> something is wrong. I also tried to copy modules from GPE image to initrd,
> but the result was the same. Can you try that and post the result here,
> specially with the OPIE image, which I dont have yet. Can you post the "ls
> -R dev/" of OPIE image, because I thing that some devices are missing in
> my GPE image.
>
> Regards, Peter
>
> _______________________________________________
> H2200-port mailing list
> H2200-port_at_handhelds.org
> https://handhelds.org/mailman/listinfo/h2200-port
Received on Tue Aug 31 2004 - 14:02:45 EDT
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:19:29 EDT