building cloud9-image from scratch - ext4 breaks on second boot

Hi!

I built "Angstrom-Cloud9-IDE-eglibc-ipk-v2012.02-core-
beaglebone-2012.02.14.img.gz" using a fresh and unmodified "git
clone ...setup_scripts" on Ubuntu 9.04. fstab has the loop-entry, user
is in group disk. Beaglebone is rev. A3 with VID/PID changed to
"rev.A4"-values.

MACHINE=beaglebone ./oebb.sh config beaglebone
MACHINE=beaglebone ./oebb.sh update
MACHINE=beaglebone ./oebb.sh bitbake cloud9-image

everything works fine...

sudo gunzip -c Angstrom-Cloud9-IDE-eglibc-ipk-v2012.02-core-
beaglebone-2012.02.14.img.gz > /dev/mmcblk0
(also tried zcat - but that does not even work with the ("old" .gz)
precompiled image from http://www.angstrom-distribution.org/demo/beaglebone/
- now with *.xz)

U-Boot works, kernel starts - on first boot, it takes an awful long
time for the system to boot. In the outcome, it finally works and for
example mass storage gadget is accessible.
On the second boot, I approx. 100 times "EXT4-fs (mmcblk0p2):
ext4_check_descriptors: Checksum for group xxx failed

Any ideas?

Best regards,
Robert

So it's me again...

I did some further testing on it:

downloaded Versions:
Angstrom-Cloud9-IDE-eglibc-ipk-v2012.01-core-
beaglebone-2012.01.11.img.gz
Angstrom-Cloud9-IDE-eglibc-ipk-v2012.01-core-
beaglebone-2012.01.27.img.xz
both work!

With self-compiled
Angstrom-Cloud9-IDE-eglibc-ipk-v2012.02-core-
beaglebone-2012.02.14.img.gz
it does not work although oe/bb says everything is fine, including
writing the image.

Upon first boot, I get

[ 0.085338] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[ 0.086569] Advanced Linux Sound Architecture Driver Version
1.0.24.
[ 0.087208] Switching to clocksource gp timer
[ 0.100050] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.100246] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
[ 0.101283] musb-hdrc musb-hdrc.0: USB OTG mode controller at
d081e000 using DMA, IRQ 18
[ 0.101586] musb-hdrc musb-hdrc.1: dma type: dma-cppi41
[ 0.102234] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 0.102345] musb-hdrc musb-hdrc.1: new USB bus registered, assigned
bus number 1
[ 0.102475] usb usb1: New USB device found, idVendor=1d6b,
idProduct=0002
[ 0.102497] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 0.102517] usb usb1: Product: MUSB HDRC host driver
[ 0.102533] usb usb1: Manufacturer: Linux 3.2.0+ musb-hcd
[ 0.102548] usb usb1: SerialNumber: musb-hdrc.1
[ 0.103257] hub 1-0:1.0: USB hub found
[ 0.103290] hub 1-0:1.0: 1 port detected
[ 0.103813] musb-hdrc musb-hdrc.1: USB Host mode controller at
d0832800 using DMA, IRQ 19
[ 0.104237] NET: Registered protocol family 2
[ 0.104448] IP route cache hash table entries: 2048 (order: 1, 8192
bytes)
[ 0.104920] TCP established hash table entries: 8192 (order: 4,
65536 bytes)
[ 0.105145] TCP bind hash table entries: 8192 (order: 3, 32768
bytes)
[ 0.105282] TCP: Hash tables configured (established 8192 bind
8192)
[ 0.105298] TCP reno registered
[ 0.105316] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.105348] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.105661] NET: Registered protocol family 1
[ 0.106007] RPC: Registered named UNIX socket transport module.
[ 0.106026] RPC: Registered udp transport module.
[ 0.106039] RPC: Registered tcp transport module.
[ 0.106052] RPC: Registered tcp NFSv4.1 backchannel transport
module.
[ 0.106692] cpuidle-am33xx cpuidle-am33xx.0: failed to register
driver
[ 0.119036] VFS: Disk quotas dquot_6.5.2
[ 0.119113] Dquot-cache hash table entries: 1024 (order 0, 4096
bytes)
[ 0.120352] msgmni has been set to 495
[ 0.121438] Block layer SCSI generic (bsg) driver version 0.4
loaded (major 252)
[ 0.121556] io scheduler noop registered
[ 0.121573] io scheduler deadline registered
[ 0.121654] io scheduler cfq registered (default)
[ 0.123263] ecap: probe of ecap.2 failed with error -2
[ 0.124304] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.125685] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a
OMAP UART0
[ 0.790313] console [ttyO0] enabled
[ 0.794541] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a
OMAP UART1
[ 0.802404] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a
OMAP UART2
[ 0.810237] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a
OMAP UART3
[ 0.818053] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a
OMAP UART4
[ 0.825856] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a
OMAP UART5
[ 0.835004] brd: module loaded
[ 0.842705] loop: module loaded
[ 0.846102] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64
bytes/write
[ 0.907261] No daughter card found
[ 0.910913] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64
bytes/write
[ 0.926209] Board name: A335BONE
[ 0.929633] Board version: 00A3
[ 0.932940] The board is a AM335x Beaglebone.
[ 0.938217] tps65217 1-0024: TPS65217 ID 0x7 version 1.0
[ 0.945709] print_constraints: DCDC1: 900 <--> 1800 mV at 1800 mV
[ 0.954193] print_constraints: DCDC2: 900 <--> 3300 mV at 1275 mV
[ 0.962646] print_constraints: DCDC3: 900 <--> 1500 mV at 1100 mV
[ 0.971079] print_constraints: LDO1: 1000 <--> 3300 mV at 1800 mV
[ 0.979512] print_constraints: LDO2: 900 <--> 3300 mV at 3300 mV
[ 0.987851] print_constraints: LDO3: 1800 <--> 3300 mV at 3300 mV
[ 0.996293] print_constraints: LDO4: 1800 <--> 3300 mV at 3300 mV
[ 1.003243] omap_i2c.3: alias fck already exists
[ 1.008498] omap_i2c omap_i2c.3: bus 3 rev2.4.0 at 100 kHz
[ 1.015098] omap_hsmmc.0: alias fck already exists
[ 1.020642] _omap_mux_get_by_name: Could not find signal leds-gpio
[ 1.027478] w1-gpio connected to P8_6
[ 1.031692] at24 3-0054: 32768 byte 24c256 EEPROM, writable, 64
bytes/write
[ 1.117266] BeagleBone cape EEPROM: could not read eeprom at
address 0x54
[ 1.124476] at24 3-0055: 32768 byte 24c256 EEPROM, writable, 64
bytes/write
[ 1.207259] BeagleBone cape EEPROM: could not read eeprom at
address 0x55
[ 1.214463] at24 3-0056: 32768 byte 24c256 EEPROM, writable, 64
bytes/write
[ 1.297259] BeagleBone cape EEPROM: could not read eeprom at
address 0x56
[ 1.304461] at24 3-0057: 32768 byte 24c256 EEPROM, writable, 64
bytes/write
[ 1.387259] BeagleBone cape EEPROM: could not read eeprom at
address 0x57
[ 1.394415] BeagleBone cape: exporting ADC pins to sysfs
[ 1.400968] SCSI Media Changer driver v0.25
[ 1.405876] CAN device driver interface
[ 1.409960] CAN bus driver for Bosch D_CAN controller 1.0
[ 1.457286] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[ 1.463810] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
[ 1.471435] davinci_mdio.0: probed
[ 1.475031] davinci_mdio davinci_mdio.0: phy[0]: device 0:00,
driver SMSC LAN8710/LAN8720
[ 1.483876] usbcore: registered new interface driver catc
[ 1.489588] catc: v2.8:CATC EL1210A NetMate USB Ethernet driver
[ 1.495920] usbcore: registered new interface driver kaweth
[ 1.501820] pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB
Ethernet driver
[ 1.509805] usbcore: registered new interface driver pegasus
[ 1.515773] rtl8150: v0.6.2 (2004/08/27):rtl8150 based usb-ethernet
driver
[ 1.523108] usbcore: registered new interface driver rtl8150
[ 1.529192] usbcore: registered new interface driver asix
[ 1.534949] usbcore: registered new interface driver cdc_ether
[ 1.541185] usbcore: registered new interface driver dm9601
[ 1.547126] usbcore: registered new interface driver cdc_subset
[ 1.553450] usbcore: registered new interface driver zaurus
[ 1.559386] cdc_ncm: 04-Aug-2011
[ 1.562857] usbcore: registered new interface driver cdc_ncm
[ 1.568970] usbcore: registered new interface driver cdc_acm
[ 1.574939] cdc_acm: USB Abstract Control Model driver for USB
modems and ISDN adapters
[ 1.583503] usbcore: registered new interface driver usblp
[ 1.589376] usbcore: registered new interface driver cdc_wdm
[ 1.595405] usbcore: registered new interface driver uas
[ 1.601025] Initializing USB Mass Storage driver...
[ 1.606306] usbcore: registered new interface driver usb-storage
[ 1.612656] USB Mass Storage support registered.
[ 1.617662] usbcore: registered new interface driver libusual
[ 1.624209] mousedev: PS/2 mouse device common for all mice
[ 1.630704] dev addr = c0476af0
[ 1.634015] pdev addr = c0476ae8
[ 1.638153] omap_rtc omap_rtc: rtc core: registered omap_rtc as
rtc0
[ 1.644879] omap_rtc: already running
[ 1.648921] i2c /dev entries driver
[ 1.653071] Linux media interface: v0.10
[ 1.657419] lirc_dev: IR Remote Control driver registered, major
249
[ 1.664212] IR NEC protocol handler initialized
[ 1.669008] IR RC5(x) protocol handler initialized
[ 1.674059] IR RC6 protocol handler initialized
[ 1.678845] IR JVC protocol handler initialized
[ 1.683620] IR Sony protocol handler initialized
[ 1.688500] IR RC5 (streamzap) protocol handler initialized
[ 1.694372] IR MCE Keyboard/mouse protocol handler initialized
[ 1.700534] IR LIRC bridge handler initialized
[ 1.705217] Linux video capture interface: v2.00
[ 1.710253] usbcore: registered new interface driver uvcvideo
[ 1.716311] USB Video Class driver (1.1.1)
[ 1.720726] Driver for 1-wire Dallas network protocol.
[ 1.727490] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.738114] usbcore: registered new interface driver usbhid
[ 1.743991] usbhid: USB HID core driver
[ 1.749090] usbcore: registered new interface driver snd-usb-audio
[ 1.756161] ALSA device list:
[ 1.759338] No soundcards found.
[ 1.763301] TCP cubic registered
[ 1.766706] Initializing XFRM netlink socket
[ 1.771277] NET: Registered protocol family 17
[ 1.776016] NET: Registered protocol family 15
[ 1.780724] can: controller area network core (rev 20090105 abi 8)
[ 1.787360] NET: Registered protocol family 29
[ 1.792048] can: raw protocol (rev 20090105)
[ 1.796585] Registering the dns_resolver key type
[ 1.801628] VFP support v0.3: implementor 41 architecture 3 part 30
variant c rev 3
[ 1.809744] ThumbEE CPU extension supported.
[ 1.814314] mux: Failed to setup hwmod io irq -22
[ 1.820102] omap2_set_init_voltage: unable to get clk dpll1_ck
[ 1.826255] omap2_set_init_voltage: unable to set vdd_mpu_iva
[ 1.832355] omap2_set_init_voltage: unable to get clk l3_ick
[ 1.838335] omap2_set_init_voltage: unable to set vdd_core
[ 1.844119] Power Management for AM33XX family
[ 1.853317] registered taskstats version 1
[ 1.858026] Detected MACID=d4:94:a1:38:44:eb
[ 1.863695] omap_rtc omap_rtc: setting system clock to 2000-01-01
00:44:42 UTC (946687482)
[ 1.873269] Waiting for root device /dev/mmcblk0p2...
[ 1.918364] mmc0: host does not support reading read-only switch.
assuming write-enable.
[ 1.929423] mmc0: new high speed SDHC card at address 1234
[ 1.935794] mmcblk0: mmc0:1234 SA04G 3.63 GiB
[ 1.942836] mmcblk0: p1 p2
[ 1.995758] EXT4-fs (mmcblk0p2): INFO: recovery required on
readonly filesystem
[ 2.003510] EXT4-fs (mmcblk0p2): write access will be enabled
during recovery
[ 4.503011] EXT4-fs (mmcblk0p2): recovery complete
[ 4.515707] EXT4-fs (mmcblk0p2): mounted filesystem with ordered
data mode. Opts: (null)
[ 4.524331] VFS: Mounted root (ext4 filesystem) readonly on device
179:2.
[ 4.533117] devtmpfs: mounted
[ 4.536686] Freeing init memory: 220K

Welcome to The Ã
ngström Distribution!

[ 4.936202] NET: Registered protocol family 10
Starting udev Coldplug all Devices...
Starting Media Directory...
Starting Lock Directory...
Starting Remount API VFS...
Starting Runtime Directory...
Started Set Up Additional Binary Formats
[ OK ]
Started Security File System
[ OK ]
Started Load Kernel Modules
[ OK ]
Started FUSE Control File System
[ OK ]
Started Configuration File System
[ OK ]
Starting Journal Service...
Started Journal Service
[ OK ]
Started Huge Pages File System
[ OK ]
Starting Debug File System...
Starting POSIX Message Queue File System...
Starting Apply Kernel Variables...
Starting File System Check on Root Device...
Starting udev Kernel Device Manager...
Started Media Directory
[ OK ]
Started Lock Directory
[ OK ]
Started Remount API VFS
[ OK ]
Started Runtime Directory
[ OK ]
Started Debug File System
[ OK ]
Started POSIX Message Queue File System
[ OK ]
Started [ 6.116437] udevd[71]: starting version 180
Apply Kernel Variables
[ OK ]
Starting Journal Service...
Started Journal Service
[ OK ]
Started udev Kernel Device Manager
[ OK ]
Started udev Coldplug all Devices
[ OK ]
Starting Journal Service...
Started Journal Service
[ OK ]
Starting Journal Service...
Started Journal Service
[ OK ]
Starting Journal Service...
Started Journal Service
[ OK ]
Starting Journal Service...
Started Journal Service
[ OK ]
Starting Journal Service...
Failed to start Journal Service
[FAILED]
See 'systemctl status systemd-journald.service' for details.

[takes some time]

Started File System Check on Root Device
[ OK ]
Starting Remount Root FS...
[ 179.953710] EXT4-fs (mmcblk0p2): ext4_remount: Checksum for group 0
failed (1458!=12303)
Failed to start Remount Root FS
[FAILED]
See 'systemctl status remount-rootfs.service' for details.
Starting Machine ID first boot configure...
Starting /tmp...
Starting Opkg first boot configure...
Failed to start Machine ID first boot configure
[FAILED]
See 'systemctl status machineid.service' for details.
Started /tmp
[ OK ]
Starting Load Random Seed...
Starting Recreate Volatile Files and Directories...
Failed to start Load Random Seed
[FAILED]
See 'systemctl status systemd-random-seed-load.service' for details.
Started Recreate Volatile Files and Directories
[ OK ]
Failed to start Opkg first boot configure
[FAILED]
See 'systemctl status opkg.service' for details.
Starting Restore Sound Card State...
Starting Connection service...
Starting LSB: eibd initscript...
Starting Periodic Command Scheduler...
Started Periodic Command Scheduler
[ OK ]
Starting Angstrom LED config...
Started Angstrom LED config
[ OK ]
Starting Timestamping service...
Started Timestamping service
[ OK ]
Starting Start usb mass storage gadget...
Starting SSH Key Generation...
Started SSH Key Generation
[ OK ]
Starting Login Service...
Starting Permit User Sessions...
Starting D-Bus System Message Bus...
Started Restore Sound Card State
[ OK ]
Failed to start LSB: eibd initscript
[FAILED]
See 'systemctl status eibd.service' for details.
Started Permit User Sessions
[ OK ]
Starting Serial Getty on ttyO0...
Started Serial Getty on ttyO0
[ OK ]
Starting Getty on tty1...
Started Getty on tty1
[ OK ]
Starting lighttpd.service...
Failed to start D-Bus System Message Bus
[FAILED]
See 'systemctl status dbus.service' for details.
Starting D-Bus System Message Bus...
Failed to start D-Bus System Message Bus
[FAILED]
See 'systemctl status dbus.service' for details.
Starting D-Bus System Message Bus...
Failed to start D-Bus System Message Bus
[FAILED]
See 'systemctl status dbus.service' for details.
Starting D-Bus System Message Bus...
Failed to start D-Bus System Message Bus
[FAILED]
See 'systemctl status dbus.service' for details.
Starting D-Bus System Message Bus...
Failed to start D-Bus System Message Bus
[FAILED]
See 'systemctl status dbus.service' for details.
Starting D-Bus System Message Bus...
Started lighttpd.service
[ OK ]
Failed to start D-Bus System Message Bus
[FAILED]
See 'systemctl status dbus.service' for details.
Starting D-Bus System Message Bus...
Failed to start D-Bus System Message Bus
[FAILED]
See 'systemctl status dbus.service' for details.
Started Start usb mass storage gadget
[ OK ]
[ 182.287367] gadget: Mass Storage Function, version: 2009/09/11
[ 182.293632] gadget: Number of LUNs=1
[ 182.297538] lun0: LUN: removable file: /dev/mmcblk0p1
[ 182.302996] gadget: Mass Storage Gadget, version: 2009/09/11
[ 182.309084] gadget: userspace failed to provide iSerialNumber
[ 182.315256] gadget: g_mass_storage ready
[ 182.319508] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[ 182.325174] musb-hdrc musb-hdrc.0: new USB bus registered, assigned
bus number 2
[ 182.333118] usb usb2: New USB device found, idVendor=1d6b,
idProduct=0002
[ 182.340303] usb usb2: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 182.347938] usb usb2: Product: MUSB HDRC host driver
[ 182.353169] usb usb2: Manufacturer: Linux 3.2.0+ musb-hcd
[ 182.358876] usb usb2: SerialNumber: musb-hdrc.0
[ 182.377889] hub 2-0:1.0: USB hub found
[ 182.381864] hub 2-0:1.0: 1 port detected
[ 182.684722] gadget: high-speed config #1: Linux File-Backed
Storage
Starting Serial Getty on ttyO0...
Started Serial Getty on ttyO0
[ OK ]

[takes some time]

Failed to start Login Service
[FAILED]
See 'systemctl status systemd-logind.service' for details.
Failed to start Connection service
[FAILED]
See 'systemctl status connman.service' for details.

Any idea? Can someone verify that a Angstrom 2012.2 version is
working? The kernel is now 3.2 instead of 3.1...

Best regards,
Robert