* image_types_uboot @ 2011-09-22 1:56 Ni Qingliang 2011-09-22 4:33 ` image_types_uboot McClintock Matthew-B29882 0 siblings, 1 reply; 18+ messages in thread From: Ni Qingliang @ 2011-09-22 1:56 UTC (permalink / raw) To: yocto@yoctoproject.org Hello, All: when using "IMAGE_FSTYPES="ext2.gz.u-boot", I can't get what was expected. I can found it in "image_types_uboot.bbclass", but "image.bbclass" only "inherit image_types", not "image_types_uboot". what can I do? How about substitute the "inherit image_types" by "inherit image_types_uboot" in "image.bbclass"? Thanks! -- Yi Qingliang niqingliang@insigma.com.cn http://niqingliang2003.wordpress.com ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: image_types_uboot 2011-09-22 1:56 image_types_uboot Ni Qingliang @ 2011-09-22 4:33 ` McClintock Matthew-B29882 2011-09-22 5:09 ` image_types_uboot Ni Qingliang 0 siblings, 1 reply; 18+ messages in thread From: McClintock Matthew-B29882 @ 2011-09-22 4:33 UTC (permalink / raw) To: niqingliang@insigma.com.cn; +Cc: yocto@yoctoproject.org On Wed, Sep 21, 2011 at 8:56 PM, Ni Qingliang <niqingliang@insigma.com.cn> wrote: > Hello, All: > > when using "IMAGE_FSTYPES="ext2.gz.u-boot", I can't get what was > expected. > > I can found it in "image_types_uboot.bbclass", but "image.bbclass" only > "inherit image_types", not "image_types_uboot". > > what can I do? How about substitute the "inherit image_types" by > "inherit image_types_uboot" in "image.bbclass"? You can add: INHERIT += "image_types_uboot" to your local.conf to enable these types. At some point it would be good if we do this by default. -M ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: image_types_uboot 2011-09-22 4:33 ` image_types_uboot McClintock Matthew-B29882 @ 2011-09-22 5:09 ` Ni Qingliang 2011-09-23 1:16 ` image_types_uboot Ni Qingliang 0 siblings, 1 reply; 18+ messages in thread From: Ni Qingliang @ 2011-09-22 5:09 UTC (permalink / raw) To: McClintock Matthew-B29882; +Cc: yocto@yoctoproject.org THANKS! On Thu, 2011-09-22 at 12:33 +0800, McClintock Matthew-B29882 wrote: > On Wed, Sep 21, 2011 at 8:56 PM, Ni Qingliang > <niqingliang@insigma.com.cn> wrote: > > Hello, All: > > > > when using "IMAGE_FSTYPES="ext2.gz.u-boot", I can't get what was > > expected. > > > > I can found it in "image_types_uboot.bbclass", but "image.bbclass" only > > "inherit image_types", not "image_types_uboot". > > > > what can I do? How about substitute the "inherit image_types" by > > "inherit image_types_uboot" in "image.bbclass"? > > You can add: > > INHERIT += "image_types_uboot" > > to your local.conf to enable these types. At some point it would be > good if we do this by default. > > -M -- Yi Qingliang niqingliang@insigma.com.cn http://niqingliang2003.wordpress.com ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: image_types_uboot 2011-09-22 5:09 ` image_types_uboot Ni Qingliang @ 2011-09-23 1:16 ` Ni Qingliang 2011-09-23 1:20 ` image_types_uboot McClintock Matthew-B29882 0 siblings, 1 reply; 18+ messages in thread From: Ni Qingliang @ 2011-09-23 1:16 UTC (permalink / raw) To: McClintock Matthew-B29882; +Cc: yocto@yoctoproject.org maybe somethings wrong, after add "INHERIT += image_types_uboot" in the local.conf, I got that: ERROR: cannot map 'allarch' to a linux kernel architecture Any suggestion? On Thu, 2011-09-22 at 13:09 +0800, 倪庆亮 wrote: > THANKS! > > On Thu, 2011-09-22 at 12:33 +0800, McClintock Matthew-B29882 wrote: > > On Wed, Sep 21, 2011 at 8:56 PM, Ni Qingliang > > <niqingliang@insigma.com.cn> wrote: > > > Hello, All: > > > > > > when using "IMAGE_FSTYPES="ext2.gz.u-boot", I can't get what was > > > expected. > > > > > > I can found it in "image_types_uboot.bbclass", but "image.bbclass" only > > > "inherit image_types", not "image_types_uboot". > > > > > > what can I do? How about substitute the "inherit image_types" by > > > "inherit image_types_uboot" in "image.bbclass"? > > > > You can add: > > > > INHERIT += "image_types_uboot" > > > > to your local.conf to enable these types. At some point it would be > > good if we do this by default. > > > > -M > > -- > Yi Qingliang > niqingliang@insigma.com.cn > http://niqingliang2003.wordpress.com > > -- Yi Qingliang niqingliang@insigma.com.cn http://niqingliang2003.wordpress.com ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: image_types_uboot 2011-09-23 1:16 ` image_types_uboot Ni Qingliang @ 2011-09-23 1:20 ` McClintock Matthew-B29882 2011-09-23 3:51 ` image_types_uboot Ni Qingliang 0 siblings, 1 reply; 18+ messages in thread From: McClintock Matthew-B29882 @ 2011-09-23 1:20 UTC (permalink / raw) To: niqingliang@insigma.com.cn Cc: McClintock Matthew-B29882, yocto@yoctoproject.org On Thu, Sep 22, 2011 at 8:16 PM, Ni Qingliang <niqingliang@insigma.com.cn> wrote: > maybe somethings wrong, after add "INHERIT += image_types_uboot" in the > local.conf, I got that: > ERROR: cannot map 'allarch' to a linux kernel architecture > > Any suggestion? Interesting. I have been seeing this same error and did not yet know what was causing it. It has not caused any problems with the actual build so far, but it's nice to know what is causing it. It's on my list and I plan on looking into it. -M ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: image_types_uboot 2011-09-23 1:20 ` image_types_uboot McClintock Matthew-B29882 @ 2011-09-23 3:51 ` Ni Qingliang 2011-09-23 3:55 ` image_types_uboot Ni Qingliang 0 siblings, 1 reply; 18+ messages in thread From: Ni Qingliang @ 2011-09-23 3:51 UTC (permalink / raw) To: McClintock Matthew-B29882; +Cc: yocto@yoctoproject.org I had modified the "image.bbclass", and can generate ext2.gz.u-boot and have new problem, when booting, I got that: /etc/udhcpc.d/50default: line 63: /etc/resolv.conf: No space left on device after login, I execute "echo -n > /etc/resolv.conf" success, and I can't find file /var/log/messages, there is only "wtmp" in "/var/log". On Fri, 2011-09-23 at 09:20 +0800, McClintock Matthew-B29882 wrote: > On Thu, Sep 22, 2011 at 8:16 PM, Ni Qingliang > <niqingliang@insigma.com.cn> wrote: > > maybe somethings wrong, after add "INHERIT += image_types_uboot" in the > > local.conf, I got that: > > ERROR: cannot map 'allarch' to a linux kernel architecture > > > > Any suggestion? > > Interesting. I have been seeing this same error and did not yet know > what was causing it. It has not caused any problems with the actual > build so far, but it's nice to know what is causing it. It's on my > list and I plan on looking into it. > > -M -- Yi Qingliang niqingliang@insigma.com.cn http://niqingliang2003.wordpress.com ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: image_types_uboot 2011-09-23 3:51 ` image_types_uboot Ni Qingliang @ 2011-09-23 3:55 ` Ni Qingliang 2011-09-23 8:48 ` image_types_uboot Ni Qingliang 0 siblings, 1 reply; 18+ messages in thread From: Ni Qingliang @ 2011-09-23 3:55 UTC (permalink / raw) To: McClintock Matthew-B29882; +Cc: yocto@yoctoproject.org [-- Attachment #1: Type: text/plain, Size: 1428 bytes --] attachement is the bootlog on serial console. I'm using mpc8314, I'm using the official kernel 3.0.4, and linux-libc-headers also is 3.0.4, update the udev to 173. On Fri, 2011-09-23 at 11:51 +0800, 倪庆亮 wrote: > I had modified the "image.bbclass", and can generate ext2.gz.u-boot > > and have new problem, when booting, I got that: > > /etc/udhcpc.d/50default: line 63: /etc/resolv.conf: No space left on > device > > after login, I execute "echo -n > /etc/resolv.conf" success, and I can't > find file /var/log/messages, there is only "wtmp" in "/var/log". > > On Fri, 2011-09-23 at 09:20 +0800, McClintock Matthew-B29882 wrote: > > On Thu, Sep 22, 2011 at 8:16 PM, Ni Qingliang > > <niqingliang@insigma.com.cn> wrote: > > > maybe somethings wrong, after add "INHERIT += image_types_uboot" in the > > > local.conf, I got that: > > > ERROR: cannot map 'allarch' to a linux kernel architecture > > > > > > Any suggestion? > > > > Interesting. I have been seeing this same error and did not yet know > > what was causing it. It has not caused any problems with the actual > > build so far, but it's nice to know what is causing it. It's on my > > list and I plan on looking into it. > > > > -M > > -- > Yi Qingliang > niqingliang@insigma.com.cn > http://niqingliang2003.wordpress.com > > -- Yi Qingliang niqingliang@insigma.com.cn http://niqingliang2003.wordpress.com [-- Attachment #2: log.txt --] [-- Type: text/plain, Size: 7437 bytes --] ## Booting kernel from Legacy Image at fc100000 ... Image Name: Linux-3.0.4 Created: 2011-09-21 8:45:32 UTC Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2262322 Bytes = 2.2 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at fc500000 ... Image Name: core-image-sa735-sa735-201109230 Created: 2011-09-23 3:35:58 UTC Image Type: PowerPC Linux RAMDisk Image (gzip compressed) Data Size: 4311933 Bytes = 4.1 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at fc0e0000 Booting using the fdt blob at 0xfc0e0000 Uncompressing Kernel Image ... OK Loading Ramdisk to 0faf5000, end 0ff11b7d ... OK Loading Device Tree to 007fa000, end 007ff4ed ... OK Using MPC831x RDB machine description Linux version 3.0.4 (ll@myhost) (gcc version 4.6.1 20110627 (prerelease) (GCC) ) #1 Wed Sep 21 16:45:26 CST 2011 Found initrd at 0xcfaf5000:0xcff11b7d bootconsole [udbg0] enabled setup_arch: bootmem mpc831x_rdb_setup_arch() Found FSL PCI host bridge at 0x00000000e0008500. Firmware bus number: 0->0 PCI host bridge /pci@e0008500 (primary) ranges: MEM 0x0000000090000000..0x000000009fffffff -> 0x0000000090000000 MEM 0x0000000080000000..0x000000008fffffff -> 0x0000000080000000 Prefetch IO 0x00000000e0300000..0x00000000e03fffff -> 0x0000000000000000 arch: exit Zone PFN ranges: DMA 0x00000000 -> 0x00010000 Normal empty Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 0x00000000 -> 0x00010000 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024 Kernel command line: root=/dev/ram rw ramdisk_size=65535 console=ttyS1,115200 PID hash table entries: 1024 (order: 0, 4096 bytes) Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Memory: 249928k/262144k available (4392k kernel code, 12216k reserved, 156k data, 1111k bss, 172k init) Kernel virtual memory layout: * 0xfffdf000..0xfffff000 : fixmap * 0xfdefd000..0xfe000000 : early ioremap * 0xd1000000..0xfdefd000 : vmalloc & ioremap NR_IRQS:512 nr_irqs:512 16 IPIC (128 IRQ sources) at d1000700 clocksource: timebase mult[7800001] shift[22] registered pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 devtmpfs: initialized NET: Registered protocol family 16 PCI: Probing PCI hardware bio: create slab <bio-0> at 0 Freescale Elo / Elo Plus DMA driver vgaarb: loaded usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb Switching to clocksource timebase NET: Registered protocol family 2 IP route cache hash table entries: 2048 (order: 1, 8192 bytes) TCP established hash table entries: 8192 (order: 4, 65536 bytes) TCP bind hash table entries: 8192 (order: 3, 32768 bytes) TCP: Hash tables configured (established 8192 bind 8192) TCP reno registered UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. Trying to unpack rootfs image as initramfs... rootfs image is not initramfs (no cpio magic); looks like an initrd Freeing initrd memory: 4212k freed WDT driver for MPC8xxx initialized. mode:reset timeout=65535 (32 seconds) fsl-elo-dma e00082a8.dma: #0 (fsl,elo-dma-channel), irq 71 fsl-elo-dma e00082a8.dma: #1 (fsl,elo-dma-channel), irq 71 fsl-elo-dma e00082a8.dma: #2 (fsl,elo-dma-channel), irq 71 fsl-elo-dma e00082a8.dma: #3 (fsl,elo-dma-channel), irq 71 JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. msgmni has been set to 498 io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0xe0004500 (irq = 16) is a 16550A serial8250.0: ttyS1 at MMIO 0xe0004600 (irq = 17) is a 16550A console [ttyS1] enabled, bootconsole disabled console [ttyS1] enabled, bootconsole disabled Freescale QUICC Engine UART device driver brd: module loaded loop: module loaded fc000000.flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x00227e Amd/Fujitsu Extended Query Table at 0x0040 Amd/Fujitsu Extended Query version 1.3. number of CFI chips: 1 Creating 7 MTD partitions on "fc000000.flash": 0x0000000c0000-0x0000000e0000 : "NOR (RO) Platform Version Info" 0x0000000e0000-0x000000100000 : "NOR (RO) Device Tree Blob" 0x000000100000-0x000000500000 : "NOR (RO) Linux Kernel Image" 0x000000500000-0x000002000000 : "NOR (RO) Ramdisk Root File System" 0x000002000000-0x000004000000 : "NOR (RW) JFFS2 User File System" 0x000000000000-0x000000080000 : "NOR (RO) U-Boot Image" 0x000000080000-0x0000000a0000 : "NOR (RO) U-Boot Environment" Fixed MDIO Bus: probed eth0: Gianfar Ethernet Controller Version 1.2, 04:00:00:00:00:0a eth0: Running with NAPI enabled eth0: RX BD ring size for Q[0]: 256 eth0: TX BD ring size for Q[0]: 256 eth1: Gianfar Ethernet Controller Version 1.2, 04:00:00:00:00:0b eth1: Running with NAPI enabled eth1: RX BD ring size for Q[0]: 256 eth1: TX BD ring size for Q[0]: 256 ucc_geth: QE UCC Gigabit Ethernet Controller Freescale PowerQUICC MII Bus: probed Freescale PowerQUICC MII Bus: probed usbmon: debugfs is not available ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver i2c /dev entries driver mpc-i2c e0003000.i2c: timeout 1000000 us at24 0-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write rtc-ds1374 0-0068: rtc core: registered ds1374 as rtc0 at24 0-0051: 256 byte 24c02 EEPROM, writable, 1 bytes/write pcf857x: probe of 0-0021 failed with error -5 lm75 0-0048: hwmon0: sensor 'tcn75' lm75: probe of 0-0049 failed with error -5 usbcore: registered new interface driver usbhid usbhid: USB HID core driver oprofile: using timer interrupt. TCP cubic registered Initializing XFRM netlink socket NET: Registered protocol family 17 NET: Registered protocol family 15 Registering the dns_resolver key type rtc-ds1374 0-0068: setting system clock to 2011-09-22 12:17:13 UTC (1316693833) RAMDISK: gzip image found at block 0 VFS: Mounted root (ext2 filesystem) on device 1:0. devtmpfs: mounted Freeing unused kernel memory: 172k init INIT: version 2.88 booting Starting udev Starting Bootlog daemon: bootlogd. Configuring network interfaces... udhcpc (v1.18.5) started Sending discover... PHY: mdio@e0024520:02 - Link is Up - 100/Full Sending discover... Sending select for 192.168.0.108... Lease of 192.168.0.108 obtained, lease time 604800 /etc/udhcpc.d/50default: line 63: /etc/resolv.conf: No space left on device adding dns 192.168.0.1 /etc/udhcpc.d/50default: line 67: /etc/resolv.conf: No space left on device done. Fri Sep 23 03:35:00 UTC 2011 Running postinst /etc/rpm-postinsts/*.sh... ERROR: postinst /etc/rpm-postinsts/*.sh failed. INIT: Entering runlevel: 5 Starting internet superserver: inetd. Starting syslogd/klogd: done Stopping Bootlog daemon: bootlogd. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: image_types_uboot 2011-09-23 3:55 ` image_types_uboot Ni Qingliang @ 2011-09-23 8:48 ` Ni Qingliang 2011-09-23 15:55 ` image_types_uboot McClintock Matthew-B29882 0 siblings, 1 reply; 18+ messages in thread From: Ni Qingliang @ 2011-09-23 8:48 UTC (permalink / raw) To: McClintock Matthew-B29882; +Cc: yocto@yoctoproject.org before "INIT: Entering runlevel: 5", the "echo -n > /etc/resolv.conf" in udhcpc and "Running postinst /etc/rpm-postinsts/*.sh..." both failed. it looks like the rootfs are not mounted, any ideas? On Fri, 2011-09-23 at 11:55 +0800, 倪庆亮 wrote: > attachement is the bootlog on serial console. > I'm using mpc8314, I'm using the official kernel 3.0.4, and > linux-libc-headers also is 3.0.4, update the udev to 173. > > > On Fri, 2011-09-23 at 11:51 +0800, 倪庆亮 wrote: > > I had modified the "image.bbclass", and can generate ext2.gz.u-boot > > > > and have new problem, when booting, I got that: > > > > /etc/udhcpc.d/50default: line 63: /etc/resolv.conf: No space left on > > device > > > > after login, I execute "echo -n > /etc/resolv.conf" success, and I can't > > find file /var/log/messages, there is only "wtmp" in "/var/log". > > > > On Fri, 2011-09-23 at 09:20 +0800, McClintock Matthew-B29882 wrote: > > > On Thu, Sep 22, 2011 at 8:16 PM, Ni Qingliang > > > <niqingliang@insigma.com.cn> wrote: > > > > maybe somethings wrong, after add "INHERIT += image_types_uboot" in the > > > > local.conf, I got that: > > > > ERROR: cannot map 'allarch' to a linux kernel architecture > > > > > > > > Any suggestion? > > > > > > Interesting. I have been seeing this same error and did not yet know > > > what was causing it. It has not caused any problems with the actual > > > build so far, but it's nice to know what is causing it. It's on my > > > list and I plan on looking into it. > > > > > > -M > > > > -- > > Yi Qingliang > > niqingliang@insigma.com.cn > > http://niqingliang2003.wordpress.com > > > > > > -- > Yi Qingliang > niqingliang@insigma.com.cn > http://niqingliang2003.wordpress.com > -- Yi Qingliang niqingliang@insigma.com.cn http://niqingliang2003.wordpress.com ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: image_types_uboot 2011-09-23 8:48 ` image_types_uboot Ni Qingliang @ 2011-09-23 15:55 ` McClintock Matthew-B29882 2011-09-26 1:41 ` rootfs-ramdisk error Ni Qingliang 0 siblings, 1 reply; 18+ messages in thread From: McClintock Matthew-B29882 @ 2011-09-23 15:55 UTC (permalink / raw) To: niqingliang@insigma.com.cn Cc: McClintock Matthew-B29882, yocto@yoctoproject.org On Fri, Sep 23, 2011 at 3:48 AM, Ni Qingliang <niqingliang@insigma.com.cn> wrote: > before "INIT: Entering runlevel: 5", the "echo -n > /etc/resolv.conf" in > udhcpc and "Running postinst /etc/rpm-postinsts/*.sh..." both failed. > > it looks like the rootfs are not mounted, any ideas? I would probably start a new thread with a new subject so we get some more eyes on this issue. Also, post what system you are building for. Can you try mounting the ext2 rfs in loopback mode on your build machine and seeing how much free space is left? -M ^ permalink raw reply [flat|nested] 18+ messages in thread
* rootfs-ramdisk error 2011-09-23 15:55 ` image_types_uboot McClintock Matthew-B29882 @ 2011-09-26 1:41 ` Ni Qingliang 2011-09-26 1:45 ` Ni Qingliang 0 siblings, 1 reply; 18+ messages in thread From: Ni Qingliang @ 2011-09-26 1:41 UTC (permalink / raw) To: McClintock Matthew-B29882; +Cc: yocto@yoctoproject.org I'm using ramdisk, and get some error when booting, the udhcpc can't write resolv.conf (No space left on device) and the rpm-postinsts fail. my analysis: for the former, I only find some info in ./default/volatiles/00_core, the /etc/resolv.conf is a link to /var/run/resolv.conf, but I have no idea about udhcpd's error. for the latter, rpm-postinsts, the reason is: in rpm-postinsts, all sh files have been executed, and moved to *.done, (through /etc/rcS.d/S98configure), but /etc/rcS.d/S98configure have not been deleted, so it is executed again when booting, but there is no any *.sh file, so fail. ( as expected, if the /etc/rpm-postinsts/*.sh is moved to *.sh.done, the /etc/rcS.d/S98configure should be deleted, but it does exist in the rootfs) the content of /etc/rcS.d/S98configure is: for i in /etc/rpm-postinsts/*.sh; do echo "Running postinst $i..." if [ -f $i ] && sh $i; then # rm $i mv $i $i.done else echo "ERROR: postinst $i failed." fi done rm -f /etc/rcS.d/S98configure I think the for sentence is not so robust as expected when no any *.sh files. 1. the bootargs in uboot is root=/dev/ram rw ramdisk_size=65535 console=ttyS1,115200 2. the image type is ext2.gz.u-boot 3. the `df` after login: root@xx~#df Filesystem 1K-blocks Used Available Use% Mounted on /dev/root 16275 11121 4335 72% / devtmpfs 127664 112 127552 0% /dev none 127664 112 127552 0% /dev tmpfs 127664 20 127644 0% /var/volatile tmpfs 127664 0 127664 0% /media/ram the rootfs size is 16M, and the ext2.gz.u-boot is 4.1M. 4. indeed, I have encountered one similar problem when using LTIB, that is: after login, I can't find the /dev/mtdX, I don't know detail of the udev, so I checked the auto mount devfs in kernel config, and so get the expected. 5. the bootlog is: ## Booting kernel from Legacy Image at fc100000 ... Image Name: Linux-3.0.4 Created: 2011-09-21 8:45:32 UTC Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2262322 Bytes = 2.2 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at fc500000 ... Image Name: core-image-sa735-sa735-201109230 Created: 2011-09-23 3:35:58 UTC Image Type: PowerPC Linux RAMDisk Image (gzip compressed) Data Size: 4311933 Bytes = 4.1 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at fc0e0000 Booting using the fdt blob at 0xfc0e0000 Uncompressing Kernel Image ... OK Loading Ramdisk to 0faf5000, end 0ff11b7d ... OK Loading Device Tree to 007fa000, end 007ff4ed ... OK Using MPC831x RDB machine description Linux version 3.0.4 (ll@myhost) (gcc version 4.6.1 20110627 (prerelease) (GCC) ) #1 Wed Sep 21 16:45:26 CST 2011 Found initrd at 0xcfaf5000:0xcff11b7d bootconsole [udbg0] enabled setup_arch: bootmem mpc831x_rdb_setup_arch() Found FSL PCI host bridge at 0x00000000e0008500. Firmware bus number: 0->0 PCI host bridge /pci@e0008500 (primary) ranges: MEM 0x0000000090000000..0x000000009fffffff -> 0x0000000090000000 MEM 0x0000000080000000..0x000000008fffffff -> 0x0000000080000000 Prefetch IO 0x00000000e0300000..0x00000000e03fffff -> 0x0000000000000000 arch: exit Zone PFN ranges: DMA 0x00000000 -> 0x00010000 Normal empty Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 0x00000000 -> 0x00010000 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024 Kernel command line: root=/dev/ram rw ramdisk_size=65535 console=ttyS1,115200 PID hash table entries: 1024 (order: 0, 4096 bytes) Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Memory: 249928k/262144k available (4392k kernel code, 12216k reserved, 156k data, 1111k bss, 172k init) Kernel virtual memory layout: * 0xfffdf000..0xfffff000 : fixmap * 0xfdefd000..0xfe000000 : early ioremap * 0xd1000000..0xfdefd000 : vmalloc & ioremap NR_IRQS:512 nr_irqs:512 16 IPIC (128 IRQ sources) at d1000700 clocksource: timebase mult[7800001] shift[22] registered pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 devtmpfs: initialized NET: Registered protocol family 16 PCI: Probing PCI hardware bio: create slab <bio-0> at 0 Freescale Elo / Elo Plus DMA driver vgaarb: loaded usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb Switching to clocksource timebase NET: Registered protocol family 2 IP route cache hash table entries: 2048 (order: 1, 8192 bytes) TCP established hash table entries: 8192 (order: 4, 65536 bytes) TCP bind hash table entries: 8192 (order: 3, 32768 bytes) TCP: Hash tables configured (established 8192 bind 8192) TCP reno registered UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. Trying to unpack rootfs image as initramfs... rootfs image is not initramfs (no cpio magic); looks like an initrd Freeing initrd memory: 4212k freed WDT driver for MPC8xxx initialized. mode:reset timeout=65535 (32 seconds) fsl-elo-dma e00082a8.dma: #0 (fsl,elo-dma-channel), irq 71 fsl-elo-dma e00082a8.dma: #1 (fsl,elo-dma-channel), irq 71 fsl-elo-dma e00082a8.dma: #2 (fsl,elo-dma-channel), irq 71 fsl-elo-dma e00082a8.dma: #3 (fsl,elo-dma-channel), irq 71 JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. msgmni has been set to 498 io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0xe0004500 (irq = 16) is a 16550A serial8250.0: ttyS1 at MMIO 0xe0004600 (irq = 17) is a 16550A console [ttyS1] enabled, bootconsole disabled console [ttyS1] enabled, bootconsole disabled Freescale QUICC Engine UART device driver brd: module loaded loop: module loaded fc000000.flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x00227e Amd/Fujitsu Extended Query Table at 0x0040 Amd/Fujitsu Extended Query version 1.3. number of CFI chips: 1 Creating 7 MTD partitions on "fc000000.flash": 0x0000000c0000-0x0000000e0000 : "NOR (RO) Platform Version Info" 0x0000000e0000-0x000000100000 : "NOR (RO) Device Tree Blob" 0x000000100000-0x000000500000 : "NOR (RO) Linux Kernel Image" 0x000000500000-0x000002000000 : "NOR (RO) Ramdisk Root File System" 0x000002000000-0x000004000000 : "NOR (RW) JFFS2 User File System" 0x000000000000-0x000000080000 : "NOR (RO) U-Boot Image" 0x000000080000-0x0000000a0000 : "NOR (RO) U-Boot Environment" Fixed MDIO Bus: probed eth0: Gianfar Ethernet Controller Version 1.2, 04:00:00:00:00:0a eth0: Running with NAPI enabled eth0: RX BD ring size for Q[0]: 256 eth0: TX BD ring size for Q[0]: 256 eth1: Gianfar Ethernet Controller Version 1.2, 04:00:00:00:00:0b eth1: Running with NAPI enabled eth1: RX BD ring size for Q[0]: 256 eth1: TX BD ring size for Q[0]: 256 ucc_geth: QE UCC Gigabit Ethernet Controller Freescale PowerQUICC MII Bus: probed Freescale PowerQUICC MII Bus: probed usbmon: debugfs is not available ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver i2c /dev entries driver mpc-i2c e0003000.i2c: timeout 1000000 us at24 0-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write rtc-ds1374 0-0068: rtc core: registered ds1374 as rtc0 at24 0-0051: 256 byte 24c02 EEPROM, writable, 1 bytes/write pcf857x: probe of 0-0021 failed with error -5 lm75 0-0048: hwmon0: sensor 'tcn75' lm75: probe of 0-0049 failed with error -5 usbcore: registered new interface driver usbhid usbhid: USB HID core driver oprofile: using timer interrupt. TCP cubic registered Initializing XFRM netlink socket NET: Registered protocol family 17 NET: Registered protocol family 15 Registering the dns_resolver key type rtc-ds1374 0-0068: setting system clock to 2011-09-22 12:17:13 UTC (1316693833) RAMDISK: gzip image found at block 0 VFS: Mounted root (ext2 filesystem) on device 1:0. devtmpfs: mounted Freeing unused kernel memory: 172k init INIT: version 2.88 booting Starting udev Starting Bootlog daemon: bootlogd. Configuring network interfaces... udhcpc (v1.18.5) started Sending discover... PHY: mdio@e0024520:02 - Link is Up - 100/Full Sending discover... Sending select for 192.168.0.108... Lease of 192.168.0.108 obtained, lease time 604800 /etc/udhcpc.d/50default: line 63: /etc/resolv.conf: No space left on device adding dns 192.168.0.1 /etc/udhcpc.d/50default: line 67: /etc/resolv.conf: No space left on device done. Fri Sep 23 03:35:00 UTC 2011 Running postinst /etc/rpm-postinsts/*.sh... ERROR: postinst /etc/rpm-postinsts/*.sh failed. INIT: Entering runlevel: 5 Starting internet superserver: inetd. Starting syslogd/klogd: done Stopping Bootlog daemon: bootlogd. -- Yi Qingliang niqingliang@insigma.com.cn http://niqingliang2003.wordpress.com ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: rootfs-ramdisk error 2011-09-26 1:41 ` rootfs-ramdisk error Ni Qingliang @ 2011-09-26 1:45 ` Ni Qingliang 2011-09-26 2:57 ` Ni Qingliang 0 siblings, 1 reply; 18+ messages in thread From: Ni Qingliang @ 2011-09-26 1:45 UTC (permalink / raw) To: McClintock Matthew-B29882; +Cc: yocto@yoctoproject.org for resolv.conf, maybe /etc/resolv.conf and /var/run/resolv.conf are misordered. in 00_core: l root root 0644 /etc/resolv.conf /var/run/resolv.conf f root root 0644 /var/run/resolv.conf none if no /var/run/resolv.conf, does the first line can be success?? maybe we should change the order to: f root root 0644 /var/run/resolv.conf none l root root 0644 /etc/resolv.conf /var/run/resolv.conf On Mon, 2011-09-26 at 09:41 +0800, 倪庆亮 wrote: > I'm using ramdisk, and get some error when booting, the udhcpc can't > write resolv.conf (No space left on device) and the rpm-postinsts fail. > > my analysis: > for the former, I only find some info in ./default/volatiles/00_core, > the /etc/resolv.conf is a link to /var/run/resolv.conf, but I have no > idea about udhcpd's error. > > for the latter, rpm-postinsts, the reason is: in rpm-postinsts, all sh > files have been executed, and moved to *.done, > (through /etc/rcS.d/S98configure), but /etc/rcS.d/S98configure have not > been deleted, so it is executed again when booting, but there is no any > *.sh file, so fail. ( as expected, if the /etc/rpm-postinsts/*.sh is > moved to *.sh.done, the /etc/rcS.d/S98configure should be deleted, but > it does exist in the rootfs) > > the content of /etc/rcS.d/S98configure is: > for i in /etc/rpm-postinsts/*.sh; do > echo "Running postinst $i..." > if [ -f $i ] && sh $i; then > # rm $i > mv $i $i.done > else > echo "ERROR: postinst $i failed." > fi > done > rm -f /etc/rcS.d/S98configure > I think the for sentence is not so robust as expected when no any *.sh > files. > > > > 1. the bootargs in uboot is > root=/dev/ram rw ramdisk_size=65535 console=ttyS1,115200 > 2. the image type is > ext2.gz.u-boot > 3. the `df` after login: > root@xx~#df > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/root 16275 11121 4335 72% / > devtmpfs 127664 112 127552 0% /dev > none 127664 112 127552 0% /dev > tmpfs 127664 20 127644 0% /var/volatile > tmpfs 127664 0 127664 0% /media/ram > > the rootfs size is 16M, and the ext2.gz.u-boot is 4.1M. > > 4. indeed, I have encountered one similar problem when using LTIB, that > is: > after login, I can't find the /dev/mtdX, I don't know detail of the > udev, so I checked the auto mount devfs in kernel config, and so get the > expected. > > 5. the bootlog is: > ## Booting kernel from Legacy Image at fc100000 ... > Image Name: Linux-3.0.4 > Created: 2011-09-21 8:45:32 UTC > Image Type: PowerPC Linux Kernel Image (gzip compressed) > Data Size: 2262322 Bytes = 2.2 MB > Load Address: 00000000 > Entry Point: 00000000 > Verifying Checksum ... OK > ## Loading init Ramdisk from Legacy Image at fc500000 ... > Image Name: core-image-sa735-sa735-201109230 > Created: 2011-09-23 3:35:58 UTC > Image Type: PowerPC Linux RAMDisk Image (gzip compressed) > Data Size: 4311933 Bytes = 4.1 MB > Load Address: 00000000 > Entry Point: 00000000 > Verifying Checksum ... OK > ## Flattened Device Tree blob at fc0e0000 > Booting using the fdt blob at 0xfc0e0000 > Uncompressing Kernel Image ... OK > Loading Ramdisk to 0faf5000, end 0ff11b7d ... OK > Loading Device Tree to 007fa000, end 007ff4ed ... OK > Using MPC831x RDB machine description > Linux version 3.0.4 (ll@myhost) (gcc version 4.6.1 20110627 (prerelease) > (GCC) ) #1 Wed Sep 21 16:45:26 CST 2011 > Found initrd at 0xcfaf5000:0xcff11b7d > bootconsole [udbg0] enabled > setup_arch: bootmem > mpc831x_rdb_setup_arch() > Found FSL PCI host bridge at 0x00000000e0008500. Firmware bus number: > 0->0 > PCI host bridge /pci@e0008500 (primary) ranges: > MEM 0x0000000090000000..0x000000009fffffff -> 0x0000000090000000 > MEM 0x0000000080000000..0x000000008fffffff -> 0x0000000080000000 > Prefetch > IO 0x00000000e0300000..0x00000000e03fffff -> 0x0000000000000000 > arch: exit > Zone PFN ranges: > DMA 0x00000000 -> 0x00010000 > Normal empty > Movable zone start PFN for each node > early_node_map[1] active PFN ranges > 0: 0x00000000 -> 0x00010000 > Built 1 zonelists in Zone order, mobility grouping on. Total pages: > 65024 > Kernel command line: root=/dev/ram rw ramdisk_size=65535 > console=ttyS1,115200 > PID hash table entries: 1024 (order: 0, 4096 bytes) > Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) > Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) > Memory: 249928k/262144k available (4392k kernel code, 12216k reserved, > 156k data, 1111k bss, 172k init) > Kernel virtual memory layout: > * 0xfffdf000..0xfffff000 : fixmap > * 0xfdefd000..0xfe000000 : early ioremap > * 0xd1000000..0xfdefd000 : vmalloc & ioremap > NR_IRQS:512 nr_irqs:512 16 > IPIC (128 IRQ sources) at d1000700 > clocksource: timebase mult[7800001] shift[22] registered > pid_max: default: 32768 minimum: 301 > Mount-cache hash table entries: 512 > devtmpfs: initialized > NET: Registered protocol family 16 > > PCI: Probing PCI hardware > bio: create slab <bio-0> at 0 > Freescale Elo / Elo Plus DMA driver > vgaarb: loaded > usbcore: registered new interface driver usbfs > usbcore: registered new interface driver hub > usbcore: registered new device driver usb > Switching to clocksource timebase > NET: Registered protocol family 2 > IP route cache hash table entries: 2048 (order: 1, 8192 bytes) > TCP established hash table entries: 8192 (order: 4, 65536 bytes) > TCP bind hash table entries: 8192 (order: 3, 32768 bytes) > TCP: Hash tables configured (established 8192 bind 8192) > TCP reno registered > UDP hash table entries: 256 (order: 0, 4096 bytes) > UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) > NET: Registered protocol family 1 > RPC: Registered named UNIX socket transport module. > RPC: Registered udp transport module. > RPC: Registered tcp transport module. > RPC: Registered tcp NFSv4.1 backchannel transport module. > Trying to unpack rootfs image as initramfs... > rootfs image is not initramfs (no cpio magic); looks like an initrd > Freeing initrd memory: 4212k freed > WDT driver for MPC8xxx initialized. mode:reset timeout=65535 (32 > seconds) > fsl-elo-dma e00082a8.dma: #0 (fsl,elo-dma-channel), irq 71 > fsl-elo-dma e00082a8.dma: #1 (fsl,elo-dma-channel), irq 71 > fsl-elo-dma e00082a8.dma: #2 (fsl,elo-dma-channel), irq 71 > fsl-elo-dma e00082a8.dma: #3 (fsl,elo-dma-channel), irq 71 > JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. > msgmni has been set to 498 > io scheduler noop registered > io scheduler deadline registered > io scheduler cfq registered (default) > Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled > serial8250.0: ttyS0 at MMIO 0xe0004500 (irq = 16) is a 16550A > serial8250.0: ttyS1 at MMIO 0xe0004600 (irq = 17) is a 16550A > console [ttyS1] enabled, bootconsole disabled > console [ttyS1] enabled, bootconsole disabled > Freescale QUICC Engine UART device driver > brd: module loaded > loop: module loaded > fc000000.flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer > ID 0x000089 Chip ID 0x00227e > Amd/Fujitsu Extended Query Table at 0x0040 > Amd/Fujitsu Extended Query version 1.3. > number of CFI chips: 1 > Creating 7 MTD partitions on "fc000000.flash": > 0x0000000c0000-0x0000000e0000 : "NOR (RO) Platform Version Info" > 0x0000000e0000-0x000000100000 : "NOR (RO) Device Tree Blob" > 0x000000100000-0x000000500000 : "NOR (RO) Linux Kernel Image" > 0x000000500000-0x000002000000 : "NOR (RO) Ramdisk Root File System" > 0x000002000000-0x000004000000 : "NOR (RW) JFFS2 User File System" > 0x000000000000-0x000000080000 : "NOR (RO) U-Boot Image" > 0x000000080000-0x0000000a0000 : "NOR (RO) U-Boot Environment" > Fixed MDIO Bus: probed > eth0: Gianfar Ethernet Controller Version 1.2, 04:00:00:00:00:0a > eth0: Running with NAPI enabled > eth0: RX BD ring size for Q[0]: 256 > eth0: TX BD ring size for Q[0]: 256 > eth1: Gianfar Ethernet Controller Version 1.2, 04:00:00:00:00:0b > eth1: Running with NAPI enabled > eth1: RX BD ring size for Q[0]: 256 > eth1: TX BD ring size for Q[0]: 256 > ucc_geth: QE UCC Gigabit Ethernet Controller > Freescale PowerQUICC MII Bus: probed > Freescale PowerQUICC MII Bus: probed > usbmon: debugfs is not available > ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver > i2c /dev entries driver > mpc-i2c e0003000.i2c: timeout 1000000 us > at24 0-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write > rtc-ds1374 0-0068: rtc core: registered ds1374 as rtc0 > at24 0-0051: 256 byte 24c02 EEPROM, writable, 1 bytes/write > pcf857x: probe of 0-0021 failed with error -5 > lm75 0-0048: hwmon0: sensor 'tcn75' > lm75: probe of 0-0049 failed with error -5 > usbcore: registered new interface driver usbhid > usbhid: USB HID core driver > oprofile: using timer interrupt. > TCP cubic registered > Initializing XFRM netlink socket > NET: Registered protocol family 17 > NET: Registered protocol family 15 > Registering the dns_resolver key type > rtc-ds1374 0-0068: setting system clock to 2011-09-22 12:17:13 UTC > (1316693833) > RAMDISK: gzip image found at block 0 > VFS: Mounted root (ext2 filesystem) on device 1:0. > devtmpfs: mounted > Freeing unused kernel memory: 172k init > INIT: version 2.88 booting > Starting udev > Starting Bootlog daemon: bootlogd. > Configuring network interfaces... udhcpc (v1.18.5) started > Sending discover... > PHY: mdio@e0024520:02 - Link is Up - 100/Full > Sending discover... > Sending select for 192.168.0.108... > Lease of 192.168.0.108 obtained, lease time 604800 > /etc/udhcpc.d/50default: line 63: /etc/resolv.conf: No space left on > device > adding dns 192.168.0.1 > /etc/udhcpc.d/50default: line 67: /etc/resolv.conf: No space left on > device > done. > Fri Sep 23 03:35:00 UTC 2011 > Running postinst /etc/rpm-postinsts/*.sh... > ERROR: postinst /etc/rpm-postinsts/*.sh failed. > INIT: Entering runlevel: 5 > Starting internet superserver: inetd. > Starting syslogd/klogd: done > Stopping Bootlog daemon: bootlogd. > > > -- > Yi Qingliang > niqingliang@insigma.com.cn > http://niqingliang2003.wordpress.com > > -- Yi Qingliang niqingliang@insigma.com.cn http://niqingliang2003.wordpress.com ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: rootfs-ramdisk error 2011-09-26 1:45 ` Ni Qingliang @ 2011-09-26 2:57 ` Ni Qingliang 2011-09-26 5:03 ` Ni Qingliang 0 siblings, 1 reply; 18+ messages in thread From: Ni Qingliang @ 2011-09-26 2:57 UTC (permalink / raw) To: McClintock Matthew-B29882; +Cc: yocto@yoctoproject.org no luck, maybe it is not the order, problem still there. and I can't find the /etc/resolv.conf after login. the console log section: Checking for -/etc/resolv.conf-. Creating link -/etc/resolv.conf- pointing to -/var/run/resolv.conf-. Checking for -/etc/resolv.conf-. Creating link -/etc/resolv.conf- pointing to -/var/run/resolv.conf-. Configuring network interfaces... udhcpc (v1.18.5) started Sending discover... PHY: mdio@e0024520:02 - Link is Up - 100/Full Sending discover... Sending select for 192.168.0.108... Lease of 192.168.0.108 obtained, lease time 604800 /etc/udhcpc.d/50default: line 63: /etc/resolv.conf: No space left on device adding dns 192.168.0.1 /etc/udhcpc.d/50default: line 67: /etc/resolv.conf: No space left on device done. On Mon, 2011-09-26 at 09:45 +0800, 倪庆亮 wrote: > for resolv.conf, maybe /etc/resolv.conf and /var/run/resolv.conf are > misordered. > > in 00_core: > l root root 0644 /etc/resolv.conf /var/run/resolv.conf > f root root 0644 /var/run/resolv.conf none > > if no /var/run/resolv.conf, does the first line can be success?? > > maybe we should change the order to: > > f root root 0644 /var/run/resolv.conf none > l root root 0644 /etc/resolv.conf /var/run/resolv.conf > > > > On Mon, 2011-09-26 at 09:41 +0800, 倪庆亮 wrote: > > I'm using ramdisk, and get some error when booting, the udhcpc can't > > write resolv.conf (No space left on device) and the rpm-postinsts fail. > > > > my analysis: > > for the former, I only find some info in ./default/volatiles/00_core, > > the /etc/resolv.conf is a link to /var/run/resolv.conf, but I have no > > idea about udhcpd's error. > > > > for the latter, rpm-postinsts, the reason is: in rpm-postinsts, all sh > > files have been executed, and moved to *.done, > > (through /etc/rcS.d/S98configure), but /etc/rcS.d/S98configure have not > > been deleted, so it is executed again when booting, but there is no any > > *.sh file, so fail. ( as expected, if the /etc/rpm-postinsts/*.sh is > > moved to *.sh.done, the /etc/rcS.d/S98configure should be deleted, but > > it does exist in the rootfs) > > > > the content of /etc/rcS.d/S98configure is: > > for i in /etc/rpm-postinsts/*.sh; do > > echo "Running postinst $i..." > > if [ -f $i ] && sh $i; then > > # rm $i > > mv $i $i.done > > else > > echo "ERROR: postinst $i failed." > > fi > > done > > rm -f /etc/rcS.d/S98configure > > I think the for sentence is not so robust as expected when no any *.sh > > files. > > > > > > > > 1. the bootargs in uboot is > > root=/dev/ram rw ramdisk_size=65535 console=ttyS1,115200 > > 2. the image type is > > ext2.gz.u-boot > > 3. the `df` after login: > > root@xx~#df > > Filesystem 1K-blocks Used Available Use% Mounted on > > /dev/root 16275 11121 4335 72% / > > devtmpfs 127664 112 127552 0% /dev > > none 127664 112 127552 0% /dev > > tmpfs 127664 20 127644 0% /var/volatile > > tmpfs 127664 0 127664 0% /media/ram > > > > the rootfs size is 16M, and the ext2.gz.u-boot is 4.1M. > > > > 4. indeed, I have encountered one similar problem when using LTIB, that > > is: > > after login, I can't find the /dev/mtdX, I don't know detail of the > > udev, so I checked the auto mount devfs in kernel config, and so get the > > expected. > > > > 5. the bootlog is: > > ## Booting kernel from Legacy Image at fc100000 ... > > Image Name: Linux-3.0.4 > > Created: 2011-09-21 8:45:32 UTC > > Image Type: PowerPC Linux Kernel Image (gzip compressed) > > Data Size: 2262322 Bytes = 2.2 MB > > Load Address: 00000000 > > Entry Point: 00000000 > > Verifying Checksum ... OK > > ## Loading init Ramdisk from Legacy Image at fc500000 ... > > Image Name: core-image-sa735-sa735-201109230 > > Created: 2011-09-23 3:35:58 UTC > > Image Type: PowerPC Linux RAMDisk Image (gzip compressed) > > Data Size: 4311933 Bytes = 4.1 MB > > Load Address: 00000000 > > Entry Point: 00000000 > > Verifying Checksum ... OK > > ## Flattened Device Tree blob at fc0e0000 > > Booting using the fdt blob at 0xfc0e0000 > > Uncompressing Kernel Image ... OK > > Loading Ramdisk to 0faf5000, end 0ff11b7d ... OK > > Loading Device Tree to 007fa000, end 007ff4ed ... OK > > Using MPC831x RDB machine description > > Linux version 3.0.4 (ll@myhost) (gcc version 4.6.1 20110627 (prerelease) > > (GCC) ) #1 Wed Sep 21 16:45:26 CST 2011 > > Found initrd at 0xcfaf5000:0xcff11b7d > > bootconsole [udbg0] enabled > > setup_arch: bootmem > > mpc831x_rdb_setup_arch() > > Found FSL PCI host bridge at 0x00000000e0008500. Firmware bus number: > > 0->0 > > PCI host bridge /pci@e0008500 (primary) ranges: > > MEM 0x0000000090000000..0x000000009fffffff -> 0x0000000090000000 > > MEM 0x0000000080000000..0x000000008fffffff -> 0x0000000080000000 > > Prefetch > > IO 0x00000000e0300000..0x00000000e03fffff -> 0x0000000000000000 > > arch: exit > > Zone PFN ranges: > > DMA 0x00000000 -> 0x00010000 > > Normal empty > > Movable zone start PFN for each node > > early_node_map[1] active PFN ranges > > 0: 0x00000000 -> 0x00010000 > > Built 1 zonelists in Zone order, mobility grouping on. Total pages: > > 65024 > > Kernel command line: root=/dev/ram rw ramdisk_size=65535 > > console=ttyS1,115200 > > PID hash table entries: 1024 (order: 0, 4096 bytes) > > Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) > > Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) > > Memory: 249928k/262144k available (4392k kernel code, 12216k reserved, > > 156k data, 1111k bss, 172k init) > > Kernel virtual memory layout: > > * 0xfffdf000..0xfffff000 : fixmap > > * 0xfdefd000..0xfe000000 : early ioremap > > * 0xd1000000..0xfdefd000 : vmalloc & ioremap > > NR_IRQS:512 nr_irqs:512 16 > > IPIC (128 IRQ sources) at d1000700 > > clocksource: timebase mult[7800001] shift[22] registered > > pid_max: default: 32768 minimum: 301 > > Mount-cache hash table entries: 512 > > devtmpfs: initialized > > NET: Registered protocol family 16 > > > > PCI: Probing PCI hardware > > bio: create slab <bio-0> at 0 > > Freescale Elo / Elo Plus DMA driver > > vgaarb: loaded > > usbcore: registered new interface driver usbfs > > usbcore: registered new interface driver hub > > usbcore: registered new device driver usb > > Switching to clocksource timebase > > NET: Registered protocol family 2 > > IP route cache hash table entries: 2048 (order: 1, 8192 bytes) > > TCP established hash table entries: 8192 (order: 4, 65536 bytes) > > TCP bind hash table entries: 8192 (order: 3, 32768 bytes) > > TCP: Hash tables configured (established 8192 bind 8192) > > TCP reno registered > > UDP hash table entries: 256 (order: 0, 4096 bytes) > > UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) > > NET: Registered protocol family 1 > > RPC: Registered named UNIX socket transport module. > > RPC: Registered udp transport module. > > RPC: Registered tcp transport module. > > RPC: Registered tcp NFSv4.1 backchannel transport module. > > Trying to unpack rootfs image as initramfs... > > rootfs image is not initramfs (no cpio magic); looks like an initrd > > Freeing initrd memory: 4212k freed > > WDT driver for MPC8xxx initialized. mode:reset timeout=65535 (32 > > seconds) > > fsl-elo-dma e00082a8.dma: #0 (fsl,elo-dma-channel), irq 71 > > fsl-elo-dma e00082a8.dma: #1 (fsl,elo-dma-channel), irq 71 > > fsl-elo-dma e00082a8.dma: #2 (fsl,elo-dma-channel), irq 71 > > fsl-elo-dma e00082a8.dma: #3 (fsl,elo-dma-channel), irq 71 > > JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. > > msgmni has been set to 498 > > io scheduler noop registered > > io scheduler deadline registered > > io scheduler cfq registered (default) > > Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled > > serial8250.0: ttyS0 at MMIO 0xe0004500 (irq = 16) is a 16550A > > serial8250.0: ttyS1 at MMIO 0xe0004600 (irq = 17) is a 16550A > > console [ttyS1] enabled, bootconsole disabled > > console [ttyS1] enabled, bootconsole disabled > > Freescale QUICC Engine UART device driver > > brd: module loaded > > loop: module loaded > > fc000000.flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer > > ID 0x000089 Chip ID 0x00227e > > Amd/Fujitsu Extended Query Table at 0x0040 > > Amd/Fujitsu Extended Query version 1.3. > > number of CFI chips: 1 > > Creating 7 MTD partitions on "fc000000.flash": > > 0x0000000c0000-0x0000000e0000 : "NOR (RO) Platform Version Info" > > 0x0000000e0000-0x000000100000 : "NOR (RO) Device Tree Blob" > > 0x000000100000-0x000000500000 : "NOR (RO) Linux Kernel Image" > > 0x000000500000-0x000002000000 : "NOR (RO) Ramdisk Root File System" > > 0x000002000000-0x000004000000 : "NOR (RW) JFFS2 User File System" > > 0x000000000000-0x000000080000 : "NOR (RO) U-Boot Image" > > 0x000000080000-0x0000000a0000 : "NOR (RO) U-Boot Environment" > > Fixed MDIO Bus: probed > > eth0: Gianfar Ethernet Controller Version 1.2, 04:00:00:00:00:0a > > eth0: Running with NAPI enabled > > eth0: RX BD ring size for Q[0]: 256 > > eth0: TX BD ring size for Q[0]: 256 > > eth1: Gianfar Ethernet Controller Version 1.2, 04:00:00:00:00:0b > > eth1: Running with NAPI enabled > > eth1: RX BD ring size for Q[0]: 256 > > eth1: TX BD ring size for Q[0]: 256 > > ucc_geth: QE UCC Gigabit Ethernet Controller > > Freescale PowerQUICC MII Bus: probed > > Freescale PowerQUICC MII Bus: probed > > usbmon: debugfs is not available > > ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver > > i2c /dev entries driver > > mpc-i2c e0003000.i2c: timeout 1000000 us > > at24 0-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write > > rtc-ds1374 0-0068: rtc core: registered ds1374 as rtc0 > > at24 0-0051: 256 byte 24c02 EEPROM, writable, 1 bytes/write > > pcf857x: probe of 0-0021 failed with error -5 > > lm75 0-0048: hwmon0: sensor 'tcn75' > > lm75: probe of 0-0049 failed with error -5 > > usbcore: registered new interface driver usbhid > > usbhid: USB HID core driver > > oprofile: using timer interrupt. > > TCP cubic registered > > Initializing XFRM netlink socket > > NET: Registered protocol family 17 > > NET: Registered protocol family 15 > > Registering the dns_resolver key type > > rtc-ds1374 0-0068: setting system clock to 2011-09-22 12:17:13 UTC > > (1316693833) > > RAMDISK: gzip image found at block 0 > > VFS: Mounted root (ext2 filesystem) on device 1:0. > > devtmpfs: mounted > > Freeing unused kernel memory: 172k init > > INIT: version 2.88 booting > > Starting udev > > Starting Bootlog daemon: bootlogd. > > Configuring network interfaces... udhcpc (v1.18.5) started > > Sending discover... > > PHY: mdio@e0024520:02 - Link is Up - 100/Full > > Sending discover... > > Sending select for 192.168.0.108... > > Lease of 192.168.0.108 obtained, lease time 604800 > > /etc/udhcpc.d/50default: line 63: /etc/resolv.conf: No space left on > > device > > adding dns 192.168.0.1 > > /etc/udhcpc.d/50default: line 67: /etc/resolv.conf: No space left on > > device > > done. > > Fri Sep 23 03:35:00 UTC 2011 > > Running postinst /etc/rpm-postinsts/*.sh... > > ERROR: postinst /etc/rpm-postinsts/*.sh failed. > > INIT: Entering runlevel: 5 > > Starting internet superserver: inetd. > > Starting syslogd/klogd: done > > Stopping Bootlog daemon: bootlogd. > > > > > > -- > > Yi Qingliang > > niqingliang@insigma.com.cn > > http://niqingliang2003.wordpress.com > > > > > > -- > Yi Qingliang > niqingliang@insigma.com.cn > http://niqingliang2003.wordpress.com > > -- Yi Qingliang niqingliang@insigma.com.cn http://niqingliang2003.wordpress.com ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: rootfs-ramdisk error 2011-09-26 2:57 ` Ni Qingliang @ 2011-09-26 5:03 ` Ni Qingliang 2011-09-26 16:03 ` McClintock Matthew-B29882 0 siblings, 1 reply; 18+ messages in thread From: Ni Qingliang @ 2011-09-26 5:03 UTC (permalink / raw) To: McClintock Matthew-B29882; +Cc: yocto@yoctoproject.org If changed to jffs2, the resolv.conf error disappear. On Mon, 2011-09-26 at 10:57 +0800, 倪庆亮 wrote: > no luck, maybe it is not the order, problem still there. > and I can't find the /etc/resolv.conf after login. > > the console log section: > > Checking for -/etc/resolv.conf-. > Creating link -/etc/resolv.conf- pointing to -/var/run/resolv.conf-. > Checking for -/etc/resolv.conf-. > Creating link -/etc/resolv.conf- pointing to -/var/run/resolv.conf-. > Configuring network interfaces... udhcpc (v1.18.5) started > Sending discover... > PHY: mdio@e0024520:02 - Link is Up - 100/Full > Sending discover... > Sending select for 192.168.0.108... > Lease of 192.168.0.108 obtained, lease time 604800 > /etc/udhcpc.d/50default: line 63: /etc/resolv.conf: No space left on > device > adding dns 192.168.0.1 > /etc/udhcpc.d/50default: line 67: /etc/resolv.conf: No space left on > device > done. > > > > On Mon, 2011-09-26 at 09:45 +0800, 倪庆亮 wrote: > > for resolv.conf, maybe /etc/resolv.conf and /var/run/resolv.conf are > > misordered. > > > > in 00_core: > > l root root 0644 /etc/resolv.conf /var/run/resolv.conf > > f root root 0644 /var/run/resolv.conf none > > > > if no /var/run/resolv.conf, does the first line can be success?? > > > > maybe we should change the order to: > > > > f root root 0644 /var/run/resolv.conf none > > l root root 0644 /etc/resolv.conf /var/run/resolv.conf > > > > > > > > On Mon, 2011-09-26 at 09:41 +0800, 倪庆亮 wrote: > > > I'm using ramdisk, and get some error when booting, the udhcpc can't > > > write resolv.conf (No space left on device) and the rpm-postinsts fail. > > > > > > my analysis: > > > for the former, I only find some info in ./default/volatiles/00_core, > > > the /etc/resolv.conf is a link to /var/run/resolv.conf, but I have no > > > idea about udhcpd's error. > > > > > > for the latter, rpm-postinsts, the reason is: in rpm-postinsts, all sh > > > files have been executed, and moved to *.done, > > > (through /etc/rcS.d/S98configure), but /etc/rcS.d/S98configure have not > > > been deleted, so it is executed again when booting, but there is no any > > > *.sh file, so fail. ( as expected, if the /etc/rpm-postinsts/*.sh is > > > moved to *.sh.done, the /etc/rcS.d/S98configure should be deleted, but > > > it does exist in the rootfs) > > > > > > the content of /etc/rcS.d/S98configure is: > > > for i in /etc/rpm-postinsts/*.sh; do > > > echo "Running postinst $i..." > > > if [ -f $i ] && sh $i; then > > > # rm $i > > > mv $i $i.done > > > else > > > echo "ERROR: postinst $i failed." > > > fi > > > done > > > rm -f /etc/rcS.d/S98configure > > > I think the for sentence is not so robust as expected when no any *.sh > > > files. > > > > > > > > > > > > 1. the bootargs in uboot is > > > root=/dev/ram rw ramdisk_size=65535 console=ttyS1,115200 > > > 2. the image type is > > > ext2.gz.u-boot > > > 3. the `df` after login: > > > root@xx~#df > > > Filesystem 1K-blocks Used Available Use% Mounted on > > > /dev/root 16275 11121 4335 72% / > > > devtmpfs 127664 112 127552 0% /dev > > > none 127664 112 127552 0% /dev > > > tmpfs 127664 20 127644 0% /var/volatile > > > tmpfs 127664 0 127664 0% /media/ram > > > > > > the rootfs size is 16M, and the ext2.gz.u-boot is 4.1M. > > > > > > 4. indeed, I have encountered one similar problem when using LTIB, that > > > is: > > > after login, I can't find the /dev/mtdX, I don't know detail of the > > > udev, so I checked the auto mount devfs in kernel config, and so get the > > > expected. > > > > > > 5. the bootlog is: > > > ## Booting kernel from Legacy Image at fc100000 ... > > > Image Name: Linux-3.0.4 > > > Created: 2011-09-21 8:45:32 UTC > > > Image Type: PowerPC Linux Kernel Image (gzip compressed) > > > Data Size: 2262322 Bytes = 2.2 MB > > > Load Address: 00000000 > > > Entry Point: 00000000 > > > Verifying Checksum ... OK > > > ## Loading init Ramdisk from Legacy Image at fc500000 ... > > > Image Name: core-image-sa735-sa735-201109230 > > > Created: 2011-09-23 3:35:58 UTC > > > Image Type: PowerPC Linux RAMDisk Image (gzip compressed) > > > Data Size: 4311933 Bytes = 4.1 MB > > > Load Address: 00000000 > > > Entry Point: 00000000 > > > Verifying Checksum ... OK > > > ## Flattened Device Tree blob at fc0e0000 > > > Booting using the fdt blob at 0xfc0e0000 > > > Uncompressing Kernel Image ... OK > > > Loading Ramdisk to 0faf5000, end 0ff11b7d ... OK > > > Loading Device Tree to 007fa000, end 007ff4ed ... OK > > > Using MPC831x RDB machine description > > > Linux version 3.0.4 (ll@myhost) (gcc version 4.6.1 20110627 (prerelease) > > > (GCC) ) #1 Wed Sep 21 16:45:26 CST 2011 > > > Found initrd at 0xcfaf5000:0xcff11b7d > > > bootconsole [udbg0] enabled > > > setup_arch: bootmem > > > mpc831x_rdb_setup_arch() > > > Found FSL PCI host bridge at 0x00000000e0008500. Firmware bus number: > > > 0->0 > > > PCI host bridge /pci@e0008500 (primary) ranges: > > > MEM 0x0000000090000000..0x000000009fffffff -> 0x0000000090000000 > > > MEM 0x0000000080000000..0x000000008fffffff -> 0x0000000080000000 > > > Prefetch > > > IO 0x00000000e0300000..0x00000000e03fffff -> 0x0000000000000000 > > > arch: exit > > > Zone PFN ranges: > > > DMA 0x00000000 -> 0x00010000 > > > Normal empty > > > Movable zone start PFN for each node > > > early_node_map[1] active PFN ranges > > > 0: 0x00000000 -> 0x00010000 > > > Built 1 zonelists in Zone order, mobility grouping on. Total pages: > > > 65024 > > > Kernel command line: root=/dev/ram rw ramdisk_size=65535 > > > console=ttyS1,115200 > > > PID hash table entries: 1024 (order: 0, 4096 bytes) > > > Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) > > > Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) > > > Memory: 249928k/262144k available (4392k kernel code, 12216k reserved, > > > 156k data, 1111k bss, 172k init) > > > Kernel virtual memory layout: > > > * 0xfffdf000..0xfffff000 : fixmap > > > * 0xfdefd000..0xfe000000 : early ioremap > > > * 0xd1000000..0xfdefd000 : vmalloc & ioremap > > > NR_IRQS:512 nr_irqs:512 16 > > > IPIC (128 IRQ sources) at d1000700 > > > clocksource: timebase mult[7800001] shift[22] registered > > > pid_max: default: 32768 minimum: 301 > > > Mount-cache hash table entries: 512 > > > devtmpfs: initialized > > > NET: Registered protocol family 16 > > > > > > PCI: Probing PCI hardware > > > bio: create slab <bio-0> at 0 > > > Freescale Elo / Elo Plus DMA driver > > > vgaarb: loaded > > > usbcore: registered new interface driver usbfs > > > usbcore: registered new interface driver hub > > > usbcore: registered new device driver usb > > > Switching to clocksource timebase > > > NET: Registered protocol family 2 > > > IP route cache hash table entries: 2048 (order: 1, 8192 bytes) > > > TCP established hash table entries: 8192 (order: 4, 65536 bytes) > > > TCP bind hash table entries: 8192 (order: 3, 32768 bytes) > > > TCP: Hash tables configured (established 8192 bind 8192) > > > TCP reno registered > > > UDP hash table entries: 256 (order: 0, 4096 bytes) > > > UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) > > > NET: Registered protocol family 1 > > > RPC: Registered named UNIX socket transport module. > > > RPC: Registered udp transport module. > > > RPC: Registered tcp transport module. > > > RPC: Registered tcp NFSv4.1 backchannel transport module. > > > Trying to unpack rootfs image as initramfs... > > > rootfs image is not initramfs (no cpio magic); looks like an initrd > > > Freeing initrd memory: 4212k freed > > > WDT driver for MPC8xxx initialized. mode:reset timeout=65535 (32 > > > seconds) > > > fsl-elo-dma e00082a8.dma: #0 (fsl,elo-dma-channel), irq 71 > > > fsl-elo-dma e00082a8.dma: #1 (fsl,elo-dma-channel), irq 71 > > > fsl-elo-dma e00082a8.dma: #2 (fsl,elo-dma-channel), irq 71 > > > fsl-elo-dma e00082a8.dma: #3 (fsl,elo-dma-channel), irq 71 > > > JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. > > > msgmni has been set to 498 > > > io scheduler noop registered > > > io scheduler deadline registered > > > io scheduler cfq registered (default) > > > Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled > > > serial8250.0: ttyS0 at MMIO 0xe0004500 (irq = 16) is a 16550A > > > serial8250.0: ttyS1 at MMIO 0xe0004600 (irq = 17) is a 16550A > > > console [ttyS1] enabled, bootconsole disabled > > > console [ttyS1] enabled, bootconsole disabled > > > Freescale QUICC Engine UART device driver > > > brd: module loaded > > > loop: module loaded > > > fc000000.flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer > > > ID 0x000089 Chip ID 0x00227e > > > Amd/Fujitsu Extended Query Table at 0x0040 > > > Amd/Fujitsu Extended Query version 1.3. > > > number of CFI chips: 1 > > > Creating 7 MTD partitions on "fc000000.flash": > > > 0x0000000c0000-0x0000000e0000 : "NOR (RO) Platform Version Info" > > > 0x0000000e0000-0x000000100000 : "NOR (RO) Device Tree Blob" > > > 0x000000100000-0x000000500000 : "NOR (RO) Linux Kernel Image" > > > 0x000000500000-0x000002000000 : "NOR (RO) Ramdisk Root File System" > > > 0x000002000000-0x000004000000 : "NOR (RW) JFFS2 User File System" > > > 0x000000000000-0x000000080000 : "NOR (RO) U-Boot Image" > > > 0x000000080000-0x0000000a0000 : "NOR (RO) U-Boot Environment" > > > Fixed MDIO Bus: probed > > > eth0: Gianfar Ethernet Controller Version 1.2, 04:00:00:00:00:0a > > > eth0: Running with NAPI enabled > > > eth0: RX BD ring size for Q[0]: 256 > > > eth0: TX BD ring size for Q[0]: 256 > > > eth1: Gianfar Ethernet Controller Version 1.2, 04:00:00:00:00:0b > > > eth1: Running with NAPI enabled > > > eth1: RX BD ring size for Q[0]: 256 > > > eth1: TX BD ring size for Q[0]: 256 > > > ucc_geth: QE UCC Gigabit Ethernet Controller > > > Freescale PowerQUICC MII Bus: probed > > > Freescale PowerQUICC MII Bus: probed > > > usbmon: debugfs is not available > > > ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver > > > i2c /dev entries driver > > > mpc-i2c e0003000.i2c: timeout 1000000 us > > > at24 0-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write > > > rtc-ds1374 0-0068: rtc core: registered ds1374 as rtc0 > > > at24 0-0051: 256 byte 24c02 EEPROM, writable, 1 bytes/write > > > pcf857x: probe of 0-0021 failed with error -5 > > > lm75 0-0048: hwmon0: sensor 'tcn75' > > > lm75: probe of 0-0049 failed with error -5 > > > usbcore: registered new interface driver usbhid > > > usbhid: USB HID core driver > > > oprofile: using timer interrupt. > > > TCP cubic registered > > > Initializing XFRM netlink socket > > > NET: Registered protocol family 17 > > > NET: Registered protocol family 15 > > > Registering the dns_resolver key type > > > rtc-ds1374 0-0068: setting system clock to 2011-09-22 12:17:13 UTC > > > (1316693833) > > > RAMDISK: gzip image found at block 0 > > > VFS: Mounted root (ext2 filesystem) on device 1:0. > > > devtmpfs: mounted > > > Freeing unused kernel memory: 172k init > > > INIT: version 2.88 booting > > > Starting udev > > > Starting Bootlog daemon: bootlogd. > > > Configuring network interfaces... udhcpc (v1.18.5) started > > > Sending discover... > > > PHY: mdio@e0024520:02 - Link is Up - 100/Full > > > Sending discover... > > > Sending select for 192.168.0.108... > > > Lease of 192.168.0.108 obtained, lease time 604800 > > > /etc/udhcpc.d/50default: line 63: /etc/resolv.conf: No space left on > > > device > > > adding dns 192.168.0.1 > > > /etc/udhcpc.d/50default: line 67: /etc/resolv.conf: No space left on > > > device > > > done. > > > Fri Sep 23 03:35:00 UTC 2011 > > > Running postinst /etc/rpm-postinsts/*.sh... > > > ERROR: postinst /etc/rpm-postinsts/*.sh failed. > > > INIT: Entering runlevel: 5 > > > Starting internet superserver: inetd. > > > Starting syslogd/klogd: done > > > Stopping Bootlog daemon: bootlogd. > > > > > > > > > -- > > > Yi Qingliang > > > niqingliang@insigma.com.cn > > > http://niqingliang2003.wordpress.com > > > > > > > > > > -- > > Yi Qingliang > > niqingliang@insigma.com.cn > > http://niqingliang2003.wordpress.com > > > > > > -- > Yi Qingliang > niqingliang@insigma.com.cn > http://niqingliang2003.wordpress.com > > -- Yi Qingliang niqingliang@insigma.com.cn http://niqingliang2003.wordpress.com ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: rootfs-ramdisk error 2011-09-26 5:03 ` Ni Qingliang @ 2011-09-26 16:03 ` McClintock Matthew-B29882 2011-09-26 22:22 ` McClintock Matthew-B29882 0 siblings, 1 reply; 18+ messages in thread From: McClintock Matthew-B29882 @ 2011-09-26 16:03 UTC (permalink / raw) To: niqingliang@insigma.com.cn Cc: McClintock Matthew-B29882, yocto@yoctoproject.org Have you checked your rootfs itself to see how much free space is left? You could mount it in loopback on your build machine to check. There are some vars within poky that determine the rootfs size, grep for IMAGE_ROOTFS_SIZE. -M On Mon, Sep 26, 2011 at 12:03 AM, Ni Qingliang <niqingliang@insigma.com.cn> wrote: > If changed to jffs2, the resolv.conf error disappear. > > On Mon, 2011-09-26 at 10:57 +0800, 倪庆亮 wrote: >> no luck, maybe it is not the order, problem still there. >> and I can't find the /etc/resolv.conf after login. >> >> the console log section: >> >> Checking for -/etc/resolv.conf-. >> Creating link -/etc/resolv.conf- pointing to -/var/run/resolv.conf-. >> Checking for -/etc/resolv.conf-. >> Creating link -/etc/resolv.conf- pointing to -/var/run/resolv.conf-. >> Configuring network interfaces... udhcpc (v1.18.5) started >> Sending discover... >> PHY: mdio@e0024520:02 - Link is Up - 100/Full >> Sending discover... >> Sending select for 192.168.0.108... >> Lease of 192.168.0.108 obtained, lease time 604800 >> /etc/udhcpc.d/50default: line 63: /etc/resolv.conf: No space left on >> device >> adding dns 192.168.0.1 >> /etc/udhcpc.d/50default: line 67: /etc/resolv.conf: No space left on >> device >> done. >> >> >> >> On Mon, 2011-09-26 at 09:45 +0800, 倪庆亮 wrote: >> > for resolv.conf, maybe /etc/resolv.conf and /var/run/resolv.conf are >> > misordered. >> > >> > in 00_core: >> > l root root 0644 /etc/resolv.conf /var/run/resolv.conf >> > f root root 0644 /var/run/resolv.conf none >> > >> > if no /var/run/resolv.conf, does the first line can be success?? >> > >> > maybe we should change the order to: >> > >> > f root root 0644 /var/run/resolv.conf none >> > l root root 0644 /etc/resolv.conf /var/run/resolv.conf >> > >> > >> > >> > On Mon, 2011-09-26 at 09:41 +0800, 倪庆亮 wrote: >> > > I'm using ramdisk, and get some error when booting, the udhcpc can't >> > > write resolv.conf (No space left on device) and the rpm-postinsts fail. >> > > >> > > my analysis: >> > > for the former, I only find some info in ./default/volatiles/00_core, >> > > the /etc/resolv.conf is a link to /var/run/resolv.conf, but I have no >> > > idea about udhcpd's error. >> > > >> > > for the latter, rpm-postinsts, the reason is: in rpm-postinsts, all sh >> > > files have been executed, and moved to *.done, >> > > (through /etc/rcS.d/S98configure), but /etc/rcS.d/S98configure have not >> > > been deleted, so it is executed again when booting, but there is no any >> > > *.sh file, so fail. ( as expected, if the /etc/rpm-postinsts/*.sh is >> > > moved to *.sh.done, the /etc/rcS.d/S98configure should be deleted, but >> > > it does exist in the rootfs) >> > > >> > > the content of /etc/rcS.d/S98configure is: >> > > for i in /etc/rpm-postinsts/*.sh; do >> > > echo "Running postinst $i..." >> > > if [ -f $i ] && sh $i; then >> > > # rm $i >> > > mv $i $i.done >> > > else >> > > echo "ERROR: postinst $i failed." >> > > fi >> > > done >> > > rm -f /etc/rcS.d/S98configure >> > > I think the for sentence is not so robust as expected when no any *.sh >> > > files. >> > > >> > > >> > > >> > > 1. the bootargs in uboot is >> > > root=/dev/ram rw ramdisk_size=65535 console=ttyS1,115200 >> > > 2. the image type is >> > > ext2.gz.u-boot >> > > 3. the `df` after login: >> > > root@xx~#df >> > > Filesystem 1K-blocks Used Available Use% Mounted on >> > > /dev/root 16275 11121 4335 72% / >> > > devtmpfs 127664 112 127552 0% /dev >> > > none 127664 112 127552 0% /dev >> > > tmpfs 127664 20 127644 0% /var/volatile >> > > tmpfs 127664 0 127664 0% /media/ram >> > > >> > > the rootfs size is 16M, and the ext2.gz.u-boot is 4.1M. >> > > >> > > 4. indeed, I have encountered one similar problem when using LTIB, that >> > > is: >> > > after login, I can't find the /dev/mtdX, I don't know detail of the >> > > udev, so I checked the auto mount devfs in kernel config, and so get the >> > > expected. >> > > >> > > 5. the bootlog is: >> > > ## Booting kernel from Legacy Image at fc100000 ... >> > > Image Name: Linux-3.0.4 >> > > Created: 2011-09-21 8:45:32 UTC >> > > Image Type: PowerPC Linux Kernel Image (gzip compressed) >> > > Data Size: 2262322 Bytes = 2.2 MB >> > > Load Address: 00000000 >> > > Entry Point: 00000000 >> > > Verifying Checksum ... OK >> > > ## Loading init Ramdisk from Legacy Image at fc500000 ... >> > > Image Name: core-image-sa735-sa735-201109230 >> > > Created: 2011-09-23 3:35:58 UTC >> > > Image Type: PowerPC Linux RAMDisk Image (gzip compressed) >> > > Data Size: 4311933 Bytes = 4.1 MB >> > > Load Address: 00000000 >> > > Entry Point: 00000000 >> > > Verifying Checksum ... OK >> > > ## Flattened Device Tree blob at fc0e0000 >> > > Booting using the fdt blob at 0xfc0e0000 >> > > Uncompressing Kernel Image ... OK >> > > Loading Ramdisk to 0faf5000, end 0ff11b7d ... OK >> > > Loading Device Tree to 007fa000, end 007ff4ed ... OK >> > > Using MPC831x RDB machine description >> > > Linux version 3.0.4 (ll@myhost) (gcc version 4.6.1 20110627 (prerelease) >> > > (GCC) ) #1 Wed Sep 21 16:45:26 CST 2011 >> > > Found initrd at 0xcfaf5000:0xcff11b7d >> > > bootconsole [udbg0] enabled >> > > setup_arch: bootmem >> > > mpc831x_rdb_setup_arch() >> > > Found FSL PCI host bridge at 0x00000000e0008500. Firmware bus number: >> > > 0->0 >> > > PCI host bridge /pci@e0008500 (primary) ranges: >> > > MEM 0x0000000090000000..0x000000009fffffff -> 0x0000000090000000 >> > > MEM 0x0000000080000000..0x000000008fffffff -> 0x0000000080000000 >> > > Prefetch >> > > IO 0x00000000e0300000..0x00000000e03fffff -> 0x0000000000000000 >> > > arch: exit >> > > Zone PFN ranges: >> > > DMA 0x00000000 -> 0x00010000 >> > > Normal empty >> > > Movable zone start PFN for each node >> > > early_node_map[1] active PFN ranges >> > > 0: 0x00000000 -> 0x00010000 >> > > Built 1 zonelists in Zone order, mobility grouping on. Total pages: >> > > 65024 >> > > Kernel command line: root=/dev/ram rw ramdisk_size=65535 >> > > console=ttyS1,115200 >> > > PID hash table entries: 1024 (order: 0, 4096 bytes) >> > > Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) >> > > Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) >> > > Memory: 249928k/262144k available (4392k kernel code, 12216k reserved, >> > > 156k data, 1111k bss, 172k init) >> > > Kernel virtual memory layout: >> > > * 0xfffdf000..0xfffff000 : fixmap >> > > * 0xfdefd000..0xfe000000 : early ioremap >> > > * 0xd1000000..0xfdefd000 : vmalloc & ioremap >> > > NR_IRQS:512 nr_irqs:512 16 >> > > IPIC (128 IRQ sources) at d1000700 >> > > clocksource: timebase mult[7800001] shift[22] registered >> > > pid_max: default: 32768 minimum: 301 >> > > Mount-cache hash table entries: 512 >> > > devtmpfs: initialized >> > > NET: Registered protocol family 16 >> > > >> > > PCI: Probing PCI hardware >> > > bio: create slab <bio-0> at 0 >> > > Freescale Elo / Elo Plus DMA driver >> > > vgaarb: loaded >> > > usbcore: registered new interface driver usbfs >> > > usbcore: registered new interface driver hub >> > > usbcore: registered new device driver usb >> > > Switching to clocksource timebase >> > > NET: Registered protocol family 2 >> > > IP route cache hash table entries: 2048 (order: 1, 8192 bytes) >> > > TCP established hash table entries: 8192 (order: 4, 65536 bytes) >> > > TCP bind hash table entries: 8192 (order: 3, 32768 bytes) >> > > TCP: Hash tables configured (established 8192 bind 8192) >> > > TCP reno registered >> > > UDP hash table entries: 256 (order: 0, 4096 bytes) >> > > UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) >> > > NET: Registered protocol family 1 >> > > RPC: Registered named UNIX socket transport module. >> > > RPC: Registered udp transport module. >> > > RPC: Registered tcp transport module. >> > > RPC: Registered tcp NFSv4.1 backchannel transport module. >> > > Trying to unpack rootfs image as initramfs... >> > > rootfs image is not initramfs (no cpio magic); looks like an initrd >> > > Freeing initrd memory: 4212k freed >> > > WDT driver for MPC8xxx initialized. mode:reset timeout=65535 (32 >> > > seconds) >> > > fsl-elo-dma e00082a8.dma: #0 (fsl,elo-dma-channel), irq 71 >> > > fsl-elo-dma e00082a8.dma: #1 (fsl,elo-dma-channel), irq 71 >> > > fsl-elo-dma e00082a8.dma: #2 (fsl,elo-dma-channel), irq 71 >> > > fsl-elo-dma e00082a8.dma: #3 (fsl,elo-dma-channel), irq 71 >> > > JFFS2 version 2.2. (NAND) (c) 2001-2006 Red Hat, Inc. >> > > msgmni has been set to 498 >> > > io scheduler noop registered >> > > io scheduler deadline registered >> > > io scheduler cfq registered (default) >> > > Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled >> > > serial8250.0: ttyS0 at MMIO 0xe0004500 (irq = 16) is a 16550A >> > > serial8250.0: ttyS1 at MMIO 0xe0004600 (irq = 17) is a 16550A >> > > console [ttyS1] enabled, bootconsole disabled >> > > console [ttyS1] enabled, bootconsole disabled >> > > Freescale QUICC Engine UART device driver >> > > brd: module loaded >> > > loop: module loaded >> > > fc000000.flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer >> > > ID 0x000089 Chip ID 0x00227e >> > > Amd/Fujitsu Extended Query Table at 0x0040 >> > > Amd/Fujitsu Extended Query version 1.3. >> > > number of CFI chips: 1 >> > > Creating 7 MTD partitions on "fc000000.flash": >> > > 0x0000000c0000-0x0000000e0000 : "NOR (RO) Platform Version Info" >> > > 0x0000000e0000-0x000000100000 : "NOR (RO) Device Tree Blob" >> > > 0x000000100000-0x000000500000 : "NOR (RO) Linux Kernel Image" >> > > 0x000000500000-0x000002000000 : "NOR (RO) Ramdisk Root File System" >> > > 0x000002000000-0x000004000000 : "NOR (RW) JFFS2 User File System" >> > > 0x000000000000-0x000000080000 : "NOR (RO) U-Boot Image" >> > > 0x000000080000-0x0000000a0000 : "NOR (RO) U-Boot Environment" >> > > Fixed MDIO Bus: probed >> > > eth0: Gianfar Ethernet Controller Version 1.2, 04:00:00:00:00:0a >> > > eth0: Running with NAPI enabled >> > > eth0: RX BD ring size for Q[0]: 256 >> > > eth0: TX BD ring size for Q[0]: 256 >> > > eth1: Gianfar Ethernet Controller Version 1.2, 04:00:00:00:00:0b >> > > eth1: Running with NAPI enabled >> > > eth1: RX BD ring size for Q[0]: 256 >> > > eth1: TX BD ring size for Q[0]: 256 >> > > ucc_geth: QE UCC Gigabit Ethernet Controller >> > > Freescale PowerQUICC MII Bus: probed >> > > Freescale PowerQUICC MII Bus: probed >> > > usbmon: debugfs is not available >> > > ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver >> > > i2c /dev entries driver >> > > mpc-i2c e0003000.i2c: timeout 1000000 us >> > > at24 0-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write >> > > rtc-ds1374 0-0068: rtc core: registered ds1374 as rtc0 >> > > at24 0-0051: 256 byte 24c02 EEPROM, writable, 1 bytes/write >> > > pcf857x: probe of 0-0021 failed with error -5 >> > > lm75 0-0048: hwmon0: sensor 'tcn75' >> > > lm75: probe of 0-0049 failed with error -5 >> > > usbcore: registered new interface driver usbhid >> > > usbhid: USB HID core driver >> > > oprofile: using timer interrupt. >> > > TCP cubic registered >> > > Initializing XFRM netlink socket >> > > NET: Registered protocol family 17 >> > > NET: Registered protocol family 15 >> > > Registering the dns_resolver key type >> > > rtc-ds1374 0-0068: setting system clock to 2011-09-22 12:17:13 UTC >> > > (1316693833) >> > > RAMDISK: gzip image found at block 0 >> > > VFS: Mounted root (ext2 filesystem) on device 1:0. >> > > devtmpfs: mounted >> > > Freeing unused kernel memory: 172k init >> > > INIT: version 2.88 booting >> > > Starting udev >> > > Starting Bootlog daemon: bootlogd. >> > > Configuring network interfaces... udhcpc (v1.18.5) started >> > > Sending discover... >> > > PHY: mdio@e0024520:02 - Link is Up - 100/Full >> > > Sending discover... >> > > Sending select for 192.168.0.108... >> > > Lease of 192.168.0.108 obtained, lease time 604800 >> > > /etc/udhcpc.d/50default: line 63: /etc/resolv.conf: No space left on >> > > device >> > > adding dns 192.168.0.1 >> > > /etc/udhcpc.d/50default: line 67: /etc/resolv.conf: No space left on >> > > device >> > > done. >> > > Fri Sep 23 03:35:00 UTC 2011 >> > > Running postinst /etc/rpm-postinsts/*.sh... >> > > ERROR: postinst /etc/rpm-postinsts/*.sh failed. >> > > INIT: Entering runlevel: 5 >> > > Starting internet superserver: inetd. >> > > Starting syslogd/klogd: done >> > > Stopping Bootlog daemon: bootlogd. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: rootfs-ramdisk error 2011-09-26 16:03 ` McClintock Matthew-B29882 @ 2011-09-26 22:22 ` McClintock Matthew-B29882 2011-09-27 1:14 ` Ni Qingliang 0 siblings, 1 reply; 18+ messages in thread From: McClintock Matthew-B29882 @ 2011-09-26 22:22 UTC (permalink / raw) To: niqingliang@insigma.com.cn Cc: McClintock Matthew-B29882, yocto@yoctoproject.org 2011/9/26 Matthew McClintock <msm@freescale.com>: > Have you checked your rootfs itself to see how much free space is > left? You could mount it in loopback on your build machine to check. > > There are some vars within poky that determine the rootfs size, grep > for IMAGE_ROOTFS_SIZE. I'm actually seeing a similiar issue at the moment: Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory bootlogd. tar: can't open '/etc/dev.tar': No space left on device /etc/rcS.d/S37populate-volatile.sh: line 40: /etc/volatile.cache: No space left on device /etc/rcS.d/S37populate-volatile.sh: line 40: /etc/volatile.cache: No space left on device /etc/rcS.d/S37populate-volatile.sh: line 40: /etc/volatile.cache: No space left on device /etc/rcS.d/S37populate-volatile.sh: line 40: /etc/volatile.cache: No space left on device /etc/rcS.d/S37populate-volatile.sh: line 40: /etc/volatile.cache: No space left on device /etc/rcS.d/S37populate-volatile.sh: line 40: /etc/volatile.cache: No space left on device /etc/rcS.d/S37populate-volatile.sh: line 25: /etc/volatile.cache: No space left on device /etc/rcS.d/S37populate-volatile.sh: line 25: /etc/volatile.cache: No space left on device /etc/rcS.d/S37populate-volatile.sh: line 52: /etc/volatile.cache: No space left on device /etc/rcS.d/S37populate-volatile.sh: line 25: /etc/volatile.cache: No space left on device /etc/rcS.d/S37populate-volatile.sh: line 25: /etc/volatile.cache: No space left on device Configuring network interfaces... ADDRCONF(NETDEV_UP): eth0: link is not ready udhcpc (v1.18.5) started Sending discover... Sending discover... Sending discover... No lease, failing done. INIT: Entering runlevel: 5postin -M ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: rootfs-ramdisk error 2011-09-26 22:22 ` McClintock Matthew-B29882 @ 2011-09-27 1:14 ` Ni Qingliang 2011-09-27 15:06 ` McClintock Matthew-B29882 0 siblings, 1 reply; 18+ messages in thread From: Ni Qingliang @ 2011-09-27 1:14 UTC (permalink / raw) To: McClintock Matthew-B29882; +Cc: yocto@yoctoproject.org maybe not only similar, but same:) curious, the issue disappeared, what I can remeber is reconfigured the busybox. maybe another thing is rebuilded all. before that, I have added debug code in udhcpc's script, and found that: mkdir /etc/AAAAA will fail but cd /etc mkdir ./AAAAA will success. maybe that is a clue, but I can't reproduce the problem.:( the IMAGE_ROOTFS_SIZE is 16M, only used about 11M. I have looked the source code of the poky, it will use the bigger one in (ROOTFS_SIZE and 1.3 * real_size) by default. On Tue, 2011-09-27 at 06:22 +0800, McClintock Matthew-B29882 wrote: > 2011/9/26 Matthew McClintock <msm@freescale.com>: > > Have you checked your rootfs itself to see how much free space is > > left? You could mount it in loopback on your build machine to check. > > > > There are some vars within poky that determine the rootfs size, grep > > for IMAGE_ROOTFS_SIZE. > > I'm actually seeing a similiar issue at the moment: > > Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such > file or directory > bootlogd. > tar: can't open '/etc/dev.tar': No space left on device > /etc/rcS.d/S37populate-volatile.sh: line 40: /etc/volatile.cache: No > space left on device > /etc/rcS.d/S37populate-volatile.sh: line 40: /etc/volatile.cache: No > space left on device > /etc/rcS.d/S37populate-volatile.sh: line 40: /etc/volatile.cache: No > space left on device > /etc/rcS.d/S37populate-volatile.sh: line 40: /etc/volatile.cache: No > space left on device > /etc/rcS.d/S37populate-volatile.sh: line 40: /etc/volatile.cache: No > space left on device > /etc/rcS.d/S37populate-volatile.sh: line 40: /etc/volatile.cache: No > space left on device > /etc/rcS.d/S37populate-volatile.sh: line 25: /etc/volatile.cache: No > space left on device > /etc/rcS.d/S37populate-volatile.sh: line 25: /etc/volatile.cache: No > space left on device > /etc/rcS.d/S37populate-volatile.sh: line 52: /etc/volatile.cache: No > space left on device > /etc/rcS.d/S37populate-volatile.sh: line 25: /etc/volatile.cache: No > space left on device > /etc/rcS.d/S37populate-volatile.sh: line 25: /etc/volatile.cache: No > space left on device > Configuring network interfaces... ADDRCONF(NETDEV_UP): eth0: link is not ready > udhcpc (v1.18.5) started > Sending discover... > Sending discover... > Sending discover... > No lease, failing > done. > INIT: Entering runlevel: 5postin > > > -M -- Yi Qingliang niqingliang@insigma.com.cn http://niqingliang2003.wordpress.com ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: rootfs-ramdisk error 2011-09-27 1:14 ` Ni Qingliang @ 2011-09-27 15:06 ` McClintock Matthew-B29882 2011-09-28 1:34 ` Ni Qingliang 0 siblings, 1 reply; 18+ messages in thread From: McClintock Matthew-B29882 @ 2011-09-27 15:06 UTC (permalink / raw) To: niqingliang@insigma.com.cn Cc: McClintock Matthew-B29882, yocto@yoctoproject.org On Mon, Sep 26, 2011 at 8:14 PM, Ni Qingliang <niqingliang@insigma.com.cn> wrote: > maybe not only similar, but same:) > > curious, the issue disappeared, what I can remeber is reconfigured the > busybox. > maybe another thing is rebuilded all. > > before that, I have added debug code in udhcpc's script, and found that: > mkdir /etc/AAAAA will fail > but > cd /etc > mkdir ./AAAAA will success. > maybe that is a clue, but I can't reproduce the problem.:( > > the IMAGE_ROOTFS_SIZE is 16M, only used about 11M. > I have looked the source code of the poky, it will use the bigger one in > (ROOTFS_SIZE and 1.3 * real_size) by default. Can you add a bug to bugzilla.yoctoproject.org to track this so we can try to fix this for the 1.1 release? -M ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: rootfs-ramdisk error 2011-09-27 15:06 ` McClintock Matthew-B29882 @ 2011-09-28 1:34 ` Ni Qingliang 0 siblings, 0 replies; 18+ messages in thread From: Ni Qingliang @ 2011-09-28 1:34 UTC (permalink / raw) To: McClintock Matthew-B29882; +Cc: yocto@yoctoproject.org http://bugzilla.pokylinux.org/show_bug.cgi?id=1535 On Tue, 2011-09-27 at 23:06 +0800, McClintock Matthew-B29882 wrote: > On Mon, Sep 26, 2011 at 8:14 PM, Ni Qingliang > <niqingliang@insigma.com.cn> wrote: > > maybe not only similar, but same:) > > > > curious, the issue disappeared, what I can remeber is reconfigured the > > busybox. > > maybe another thing is rebuilded all. > > > > before that, I have added debug code in udhcpc's script, and found that: > > mkdir /etc/AAAAA will fail > > but > > cd /etc > > mkdir ./AAAAA will success. > > maybe that is a clue, but I can't reproduce the problem.:( > > > > the IMAGE_ROOTFS_SIZE is 16M, only used about 11M. > > I have looked the source code of the poky, it will use the bigger one in > > (ROOTFS_SIZE and 1.3 * real_size) by default. > > Can you add a bug to bugzilla.yoctoproject.org to track this so we can > try to fix this for the 1.1 release? > > -M -- Yi Qingliang niqingliang@insigma.com.cn http://niqingliang2003.wordpress.com ^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2011-09-28 1:34 UTC | newest] Thread overview: 18+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-09-22 1:56 image_types_uboot Ni Qingliang 2011-09-22 4:33 ` image_types_uboot McClintock Matthew-B29882 2011-09-22 5:09 ` image_types_uboot Ni Qingliang 2011-09-23 1:16 ` image_types_uboot Ni Qingliang 2011-09-23 1:20 ` image_types_uboot McClintock Matthew-B29882 2011-09-23 3:51 ` image_types_uboot Ni Qingliang 2011-09-23 3:55 ` image_types_uboot Ni Qingliang 2011-09-23 8:48 ` image_types_uboot Ni Qingliang 2011-09-23 15:55 ` image_types_uboot McClintock Matthew-B29882 2011-09-26 1:41 ` rootfs-ramdisk error Ni Qingliang 2011-09-26 1:45 ` Ni Qingliang 2011-09-26 2:57 ` Ni Qingliang 2011-09-26 5:03 ` Ni Qingliang 2011-09-26 16:03 ` McClintock Matthew-B29882 2011-09-26 22:22 ` McClintock Matthew-B29882 2011-09-27 1:14 ` Ni Qingliang 2011-09-27 15:06 ` McClintock Matthew-B29882 2011-09-28 1:34 ` Ni Qingliang
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.