Garbage collect thread failure -> panic

Andy Green andy at openmoko.com
Mon Feb 4 14:32:30 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi folks -

Currently I am booting into init=/bin/sh.  About half the time this ends
with a panic, and there seems to be a relationship between a failure to
fork the JFFS2 garbage collection thread and death.

Here's the latter part of a good boot

[   15.205000] Empty flash at 0x05d6e39c ends at 0x05d6e800
[   15.215000] Empty flash at 0x05d76134 ends at 0x05d76800
[   15.225000] Empty flash at 0x05d791e4 ends at 0x05d79800
[   15.500000] Using lowest clock rate
[   15.790000] CRCFAIL 0x1a3f
[   15.790000] CRCFAIL 0x1a3f
[   15.790000] Current Request Command:5, ARG:0x00000000 flags: 0x0008
[   16.200000] CRCFAIL 0x1a3f
[   16.200000] CRCFAIL 0x1a3f
[   16.200000] Current Request Command:5, ARG:0x00100000 flags: 0x0008
[   16.215000] CRCFAIL 0x1a3f
[   16.215000] CRCFAIL 0x1a3f
[   16.215000] Current Request Command:5, ARG:0x00100000 flags: 0x0008
[   16.340000] sdio_wlan 00:01: driver attached
[   16.340000] sdio_wlan 00:01: SDIO device, IDs SD_0001 (active)
[   17.400000] Unsupported configuration opcode: 3
[   17.400000] Unsupported configuration opcode: 5
[   17.405000] ar6000_available
[   17.420000] BMI Get Target Info: Exit (ver: 0x20000028 type: 0x1)
[   17.425000] Block Size Set: 128 (target address:0x8000066C)
[   17.435000] ar6000_init() Got WMI @ 0xc7da4400.
[   17.485000] SDIO_INT_CTRL enable IRQ
[   17.490000] mac address = 00:12:cf:74:1f:b1
[   17.495000] AR6000 Reg Code = 0x40000060
[   17.500000] ar6000_init() WMI is ready
[   17.540000] ar6000_avail: name=eth0 htcTarget=0xc7f2a000,
dev=0xc7f30000 (0), ar=0xc7f304a0
[   18.205000] VFS: Mounted root (jffs2 filesystem).
[   18.205000] Freeing init memory: 124K
/bin/sh: can't access tty; job control turned off
/ $

... and here's the latter part of a bad boot

[   15.225000] Empty flash at 0x05d6e39c ends at 0x05d6e800
[   15.230000] Empty flash at 0x05d76134 ends at 0x05d76800
[   15.240000] Empty flash at 0x05d791e4 ends at 0x05d79800
[   15.515000] fork failed for JFFS2 garbage collect thread: 513  <==!!
[   15.515000] VFS: Mounted root (jffs2 filesystem).
[   15.520000] Freeing init memory: 124K
[   15.525000] Using lowest clock rate
[   15.830000] CRCFAIL 0x1a3f
[   15.830000] CRCFAIL 0x1a3f
[   15.830000] Current Request Command:5, ARG:0x00000000 flags: 0x0008
[   15.845000] Warning: unable to open an initial console.
[   16.235000] CRCFAIL 0x1a3f
[   16.235000] CRCFAIL 0x1a3f
[   16.235000] Current Request Command:5, ARG:0x00100000 flags: 0x0008
[   16.250000] CRCFAIL 0x1a3f
[   16.250000] CRCFAIL 0x1a3f
[   16.250000] Current Request Command:5, ARG:0x00100000 flags: 0x0008
[   16.305000] sdio_wlan 00:01: driver attached
[   16.305000] sdio_wlan 00:01: SDIO device, IDs SD_0001 (active)
[   17.645000] Unsupported configuration opcode: 3
[   17.645000] Unsupported configuration opcode: 5
[   17.655000] ar6000_available
[   17.670000] BMI Get Target Info: Exit (ver: 0x20000028 type: 0x1)
[   17.670000] Block Size Set: 128 (target address:0x8000066C)
[   17.685000] ar6000_init() Got WMI @ 0xc7d96400.
[   17.745000] SDIO_INT_CTRL enable IRQ
[   17.750000] mac address = 00:12:cf:74:1f:b1
[   17.755000] AR6000 Reg Code = 0x40000060
[   17.755000] ar6000_init() WMI is ready
[   17.795000] ar6000_avail: name=eth0 htcTarget=0xc7eb8000,
dev=0xc7f30000 (0), ar=0xc7f304a0
[   18.710000] Kernel panic - not syncing: Attempted to kill init!

I am running the rootfs Werner pointed to in his "20 simple steps" to
upgrade the A5.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHpxPuOjLpvpq7dMoRAg/dAJ9CDuBHRDkvTX0sOZb1sD93gu+LuQCfdi//
gMUw1It1wet98TJdWjRngm0=
=NnAq
-----END PGP SIGNATURE-----




More information about the openmoko-kernel mailing list