#12100 NORM 4-softw: cl4: panic on shutdown

Zarro Boogs per Child bugtracker at laptop.org
Mon Sep 10 18:29:08 EDT 2012


#12100: cl4: panic on shutdown
--------------------------------+-------------------------------------------
           Reporter:  pgf       |       Owner:                                    
               Type:  defect    |      Status:  new                               
           Priority:  normal    |   Milestone:  4-software                        
          Component:  kernel    |     Version:  Development source as of this date
         Resolution:            |    Keywords:                                    
        Next_action:  diagnose  |    Verified:  0                                 
Deployment_affected:            |   Blockedby:                                    
           Blocking:            |  
--------------------------------+-------------------------------------------

Old description:

> boot os20/21 (kernel is 3.5.0_xo1.75-20120907.1358.olpc.b5fea0f) and run
> "shutdown".   the system powers off successfully, but it's ugly.
>
> {{{
> CForth built 2012-09-06 23:39 from commit 7b873ab6...
> Matrix mode on
> releasing
> USB devices:
> /usb at d4208000/hub at 0,0
> OLPC 4A2, 1063 MHz, 2 GiB memory, 4 GB internal storage, S/N Unknown
> OpenFirmware  Q7A13   EC Firmware 0.1.08   2012-09-10 18:36:22 UTC
>
> Type the Esc key to interrupt automatic startup
> Boot device: /sd/sdhci at d4281000/disk:\boot\olpc.fth  Arguments:
> Boot device: /sd/sdhci at d4281000/disk:\boot\vmlinuz  Arguments: ttyS2
> zforce.multitouch=y
> Loading ramdisk image from /sd/sdhci at d4281000/disk:\boot\initrd.img ...
> Uncompressing Linux... done, booting the kernel.
> [    0.000000] Booting Linux on physical CPU 0
> [    0.000000] Initializing cgroup subsys cpu
> [    0.000000] Linux version 3.5.0_xo1.75-20120907.1358.olpc.b5fea0f
> (martin at koji3.laptop.org) (gcc version 4.7.0 20120507 (Red Hat 4.7.0-5)
> (GCC) ) #1 PREEMPT Fri Sep 7 14:03:56 EDT 2012
> [    0.000000] CPU: ARMv7 Processor [562f5842] revision 2 (ARMv7),
> cr=10c5387d
> [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction
> cache
> [    0.000000] Machine: Marvell MMP2 (Device Tree Support), model: 4A2
> [    0.000000] cma: CMA: reserved 64 MiB at 28000000
> [    0.000000] Memory policy: ECC disabled, Data cache writeback
> [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
> Total pages: 518160
> [    0.000000] Kernel command line: console=ttyS2,115200 console=tty0
> selinux=0 fbcon=font:SUN12x22 ttyS2 zforce.multitouch=y
> [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
> [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288
> bytes)
> [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144
> bytes)
> [    0.000000] Memory: 2040MB = 2040MB total
> [    0.000000] Memory: 1994556k/1994556k available, 94404k reserved,
> 1310720K highmem
> [    0.000000] Virtual kernel memory layout:
> [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
> [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
> [    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
> [    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
> [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
> [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
> [    0.000000]       .text : 0xc0008000 - 0xc05a1fac   (5736 kB)
> [    0.000000]       .init : 0xc05a2000 - 0xc05dc000   ( 232 kB)
> [    0.000000]       .data : 0xc05dc000 - 0xc0617a38   ( 239 kB)
> [    0.000000]        .bss : 0xc0617a5c - 0xc06b2c8c   ( 621 kB)
> [    0.000000] NR_IRQS:16 nr_irqs:16 16
> [    0.000000] matched_mmp3_of_clk_apmu_setup
> [    0.000000] matched_mmp3_of_clk_apbc_setup
> [    0.000000] sched_clock: 32 bits at 6MHz, resolution 153ns, wraps
> every 660764ms
> [    0.000000] Console: colour dummy device 80x30
> [    0.000000] console [tty0] enabled
> [    0.040151] Calibrating delay loop... 1059.22 BogoMIPS (lpj=5296128)
> [    0.040151] pid_max: default: 32768 minimum: 301
> [    0.040191] Mount-cache hash table entries: 512
> [    0.040525] CPU: Testing write buffer coherency: ok
> [    0.044107] ftrace: allocating 15659 entries in 46 pages
> [    0.072361] Setting up static identity map for 0x4084f8 - 0x408550
> [    0.074225] devtmpfs: initialized
> [    0.082231] NET: Registered protocol family 16
> [    0.092272] DMA: preallocated 256 KiB pool for atomic coherent
> allocations
> [    0.094790] Tauros2: Disabling L2 prefetch.
> [    0.094844] Tauros2: Enabling L2 cache.
> [    0.094864] Tauros2: L2 cache support initialised in ARMv7 mode.
> [    0.094884] Wow!  Can't register IRQ for DMA
> [    0.094909] OLPC board revision 4A2 (EC api 4)
> [    0.104844] bio: create slab <bio-0> at 0
> [    0.105292] SCSI subsystem initialized
> [    0.106062] usbcore: registered new interface driver usbfs
> [    0.106062] usbcore: registered new interface driver hub
> [    0.106320] usbcore: registered new device driver usb
> [    0.107586] i2c-gpio camera-i2c.0: using pins 166 (SDA) and 165 (SCL)
> [    0.108478] i2c-gpio dcon-i2c.1: using pins 167 (SDA) and 168 (SCL)
> [    0.109411] I2C: i2c-2: PXA I2C adapter
> [    0.110316] I2C: i2c-3: PXA I2C adapter
> [    0.111525] I2C: i2c-5: PXA I2C adapter
> [    0.112348] I2C: i2c-4: PXA I2C adapter
> [    0.112599] Linux video capture interface: v2.00
> [    0.113063] Advanced Linux Sound Architecture Driver Version 1.0.25.
> [    0.113856] cfg80211: Calling CRDA to update world regulatory domain
> [    0.114575] Switching to clocksource clocksource
> [    0.136566] NET: Registered protocol family 2
> [    0.136566] IP route cache hash table entries: 32768 (order: 5, 131072
> bytes)
> [    0.137560] TCP established hash table entries: 131072 (order: 8,
> 1048576 bytes)
> [    0.137560] TCP bind hash table entries: 65536 (order: 6, 262144
> bytes)
> [    0.139207] TCP: Hash tables configured (established 131072 bind
> 65536)
> [    0.139207] TCP: reno registered
> [    0.139233] UDP hash table entries: 512 (order: 1, 8192 bytes)
> [    0.139257] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
> [    0.139579] NET: Registered protocol family 1
> [    0.139579] Trying to unpack rootfs image as initramfs...
> [    0.194684] Freeing initrd memory: 4588K
> [    0.201775] highmem bounce pool size: 64 pages
> [    0.202040] VFS: Disk quotas dquot_6.5.2
> [    0.202325] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
> [    0.203126] msgmni has been set to 1472
> [    0.204523] io scheduler noop registered
> [    0.204523] io scheduler deadline registered
> [    0.204691] io scheduler cfq registered (default)
> [    0.214690] Console: switching to colour frame buffer device 100x40
> [    0.233391] pxa2xx-uart.1: ttyS2 at MMIO 0xd4017000 (irq = 28) is a
> UART3
> [    0.673955] console [ttyS2] enabled
> [    0.684750] brd: module loaded
> [    0.708429] lis3lv02d: 8 bits 3DC sensor found
> [    0.794944] input: ST LIS3LV02DL Accelerometer as
> /devices/platform/lis3lv02d/input/input0
> [    0.803609] OLPC XO-1.75 Embedded Controller driver probed
> [    0.814277] input: Power Button as /devices/d4037000.ec-
> spi/input/input1
> [    0.844673] input: OLPC OLS notify as /devices/ols.4/input/input2
> [    0.855879] OLPC Outdoor Light Sensor driver probed
> [    0.865546] OLPC XO-1.75 lid and ebook switches
> [    0.874748] input: OLPC lid switch as /devices/virtual/input/input3
> [    0.886136] input: OLPC ebook switch as /devices/virtual/input/input4
> [    0.897889] usbcore: registered new interface driver ipheth
> [    0.909041] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> [    0.920805] pxau2o-ehci d4208000.usb: pxa9xx ehci
> [    0.930698] pxau2o-ehci d4208000.usb: new USB bus registered, assigned
> bus number 1
> [    0.947839] pxau2o-ehci d4208000.usb: irq 44, io mem 0xd4208000
> [    0.974727] pxau2o-ehci d4208000.usb: USB 2.0 started, EHCI 1.00
> [    0.985747] usb usb1: New USB device found, idVendor=1d6b,
> idProduct=0002
> [    0.997288] usb usb1: New USB device strings: Mfr=3, Product=2,
> SerialNumber=1
> [    1.009285] usb usb1: Product: pxa9xx ehci
> [    1.017981] usb usb1: Manufacturer: Linux
> 3.5.0_xo1.75-20120907.1358.olpc.b5fea0f ehci_hcd
> [    1.031000] usb usb1: SerialNumber: d4208000.usb
> [    1.041084] hub 1-0:1.0: USB hub found
> [    1.049724] hub 1-0:1.0: 1 port detected
> [    1.058922] Initializing USB Mass Storage driver...
> [    1.068481] usbcore: registered new interface driver usb-storage
> [    1.079374] USB Mass Storage support registered.
> [    1.088790] usbcore: registered new interface driver libusual
> [    1.099282] usbcore: registered new interface driver mdc800
> [    1.109590] mdc800: v0.7.5 (30/10/2000):USB Driver for Mustek MDC800
> Digital Camera
> [    1.121928] usbcore: registered new interface driver usbserial
> [    1.132753] usbcore: registered new interface driver usbserial_generic
> [    1.144264] USB Serial support registered for generic
> [    1.154145] usbserial: USB Serial Driver core
> [    1.164064] OLPC SP keyboard/touchpad driver probed
> [    1.284993] zforce_input_setup: running in multitouch mode
> [    1.295369] input: zForce touchscreen as
> /devices/d4033000.i2c/i2c-5/5-0050/input/input5
> [    1.314244] input: AT Translated Set 2 keyboard as /devices/d4290000
> .ap-sp/serio0/input/input6
> [    1.338838] zforce_i2c_probe: found zForce firmware 0.0.0.2
> [    1.384662] usb 1-1: new high-speed USB device number 2 using pxau2o-
> ehci
> [    1.404003] sa1100-rtc d4010000.wakeup-rtc: rtc core: registered
> d4010000.wakeup-rtc as rtc0
> [    1.418302] rtc_idt1338 3-0068: rtc core: registered rtc_idt1338 as
> rtc1
> [    1.546571] usb 1-1: New USB device found, idVendor=05e3,
> idProduct=0608
> [    1.558488] usb 1-1: New USB device strings: Mfr=0, Product=1,
> SerialNumber=0
> [    1.570711] usb 1-1: Product: USB2.0 Hub
> [    1.580712] hub 1-1:1.0: USB hub found
> [    1.589999] hub 1-1:1.0: 4 ports detected
> [    1.678919] sdhci: Secure Digital Host Controller Interface driver
> [    1.690055] sdhci: Copyright(c) Pierre Ossman
> [    1.699385] mmc0: FIXME: setting broken card detection quirk, remove
> this hack once the 'broken-cd' DT property is in-place.
> [    1.754733] mmc0: SDHCI controller on d4280800.sdhci [d4280800.sdhci]
> using ADMA
> [    1.767650] mmc1: FIXME: setting broken card detection quirk, remove
> this hack once the 'broken-cd' DT property is in-place.
> [    1.819175] mmc0: new SDIO card at address 0001
> [    1.829103] mmc1: SDHCI controller on d4281000.sdhci [d4281000.sdhci]
> using ADMA
> [    1.842363] mmc2: FIXME: setting broken card detection quirk, remove
> this hack once the 'broken-cd' DT property is in-place.
> [    1.904698] mmc2: SDHCI controller on d4280000.sdhci [d4280000.sdhci]
> using ADMA
> [    1.918006] mmc3: FIXME: setting broken card detection quirk, remove
> this hack once the 'broken-cd' DT property is in-place.
> [    1.943035] mmc1: new high speed DDR MMC card at address 0001
> [    1.956042] mmcblk0: mmc1:0001 SEM04G 3.68 GiB
> [    1.966592] mmcblk0boot0: mmc1:0001 SEM04G partition 1 1.00 MiB
> [    1.978447] mmc3: SDHCI controller on d4217000.sdhci [d4217000.sdhci]
> using ADMA
> [    1.992103] mmcblk0boot1: mmc1:0001 SEM04G partition 2 1.00 MiB
> [    2.003943] sdhci-pltfm: SDHCI platform and OF driver helper
> [    2.016997] usbcore: registered new interface driver usbhid
> [    2.029068]  mmcblk0: p1 p2
> [    2.037777] usbhid: USB HID core driver
> [    2.049586] olpc-dcon:  Discovered DCON version 2
> [    2.061387]  mmcblk0boot1: unknown partition table
> [    2.074674] i2c-core: driver [olpc_dcon] using legacy suspend method
> [    2.089060] i2c-core: driver [olpc_dcon] using legacy resume method
> [    2.101501]  mmcblk0boot0: unknown partition table
> [    2.112696] usbcore: registered new interface driver snd-usb-audio
> [    2.425938] asoc: rt5631-hifi <-> mmp-sspa-dai.0 mapping ok
> [    2.439138] input: OLPC XO-1.75 Headphone Jack as /devices/platform
> /olpc-xo-1-75-audio/sound/card0/input7
> [    2.460217] input: OLPC XO-1.75 Mic Jack as /devices/platform/olpc-
> xo-1-75-audio/sound/card0/input8
> [    2.482146] TCP: bic registered
> [    2.491371] Initializing XFRM netlink socket
> [    2.502817] NET: Registered protocol family 10
> [    2.516217] NET: Registered protocol family 17
> [    2.526369] lib80211: common routines for IEEE802.11 drivers
> [    2.537765] Key type dns_resolver registered
> [    2.547656] VFP support v0.3: implementor 56 architecture 2 part 20
> variant 9 rev 6
> [    2.560828] ThumbEE CPU extension supported.
> [    2.570540] Registering SWP/SWPB emulation handler
> [    2.580725] PJ4 iWMMXt coprocessor enabled.
> [    2.591932] rtc_idt1338 3-0068: setting system clock to 2012-09-10
> 18:36:30 UTC (1347302190)
> [    2.608380] ALSA device list:
> [    2.617767]   #0: OLPC XO-1.75
> [    2.626062] Freeing init memory: 232K
> [    2.678974] tmpfs: No value for mount option 'strictatime'
> [    2.714677] tmpfs: No value for mount option 'strictatime'
> [    2.747798] tmpfs: No value for mount option 'strictatime'
> [    2.819203] dracut: dracut-018-36.git20120510.fc17
> [    2.876950] udevd[71]: starting version 182
> [    4.490113] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data
> mode. Opts: (null)
> [    4.542451] dracut: Mounted root filesystem /dev/disk/mmc/mmc1p2
> [    4.573320] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
> [    4.601823] EXT4-fs (mmcblk0p1): mounted filesystem without journal.
> Opts: (null)
> [    4.651387] Dsize 7733248 Psize 7593984 Pstart 139264 Pend 7733248
> [    4.918425] dracut: Switching root
> [    5.270862] systemd[1]: systemd 44 running in system mode. (+PAM
> +LIBWRAP +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP; fedora)
> [    5.313817] systemd[1]: Set hostname to <xo-e4-fc-36.localdomain>.
> [    6.130762] udevd[180]: starting version 182
> [    6.648320] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
> [    7.999241] ov7670 0-0021: chip found @ 0x42 (i2c-gpio-1)
> [    8.193854] mousedev: PS/2 mouse device common for all mice
> [    8.402050] got GPIOs power=150 reset=102
> [    8.543583] calling clk_mmp_enable_ccic
> [    8.732053] psmouse serio1: sentelic: Finger Sensing Pad, hw: 13.2.1,
> sn: 0, sw: 1.1.0-K
> [    9.132335] input: FSPPS/2 Sentelic FingerSensingPad as
> /devices/d4290000.ap-sp/serio1/input/input9
> [    9.292251] usbcore: registered new interface driver sisusb
> [    9.329837] libertas_sdio: Libertas SDIO driver
> [    9.359267] usbcore: registered new interface driver udlfb
> [    9.432949] libertas_sdio: Copyright Pierre Ossman
> [    9.454746] calling clk_mmp_disable_ccic
> [    9.724701] usbcore: deregistering interface driver udlfb
> [   10.001957] runin-check: noop
> [   10.488868] input: olpc-kbdshim virtual touchscreen as
> /devices/virtual/input/input10
> [   12.680656] calling clk_mmp_enable_ccic
> [   12.724745] input: olpc-kbdshim virtual keyboard as
> /devices/virtual/input/input11
> [   12.733835] input: olpc-kbdshim virtual mouse as
> /devices/virtual/input/input12
> [   14.051184] libertas_sdio mmc0:0001:1: (unregistered net_device):
> 20:7c:8f:74:39:14, fw 9.70.3p36, cap 0x000003a3
> [   14.075622] libertas_sdio mmc0:0001:1: wlan0: Marvell WLAN 802.11
> adapter
> [   14.391512] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
> [   14.635528] calling clk_mmp_disable_ccic
> [   15.102026] ip_tables: (C) 2000-2006 Netfilter Core Team
> [   19.608784] fuse init (API version 7.19)
>
> bash-4.2#
> bash-4.2#
> bash-4.2#
> bash-4.2# shutdown -h now
> [   27.938189] dcon_freeze_store: 0
> [   37.024527] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
> [   37.281857] Power down.
> [   37.306287] Kernel panic - not syncing: Attempted to kill init!
> exitcode=0x00000000
> [   37.306287]
> [   37.315431] [<c0015760>] (unwind_backtrace+0x0/0x128) from
> [<c0402718>] (dump_stack+0x20/0x24)
> [   37.315504] [<c0402718>] (dump_stack+0x20/0x24) from [<c0402838>]
> (panic+0x98/0x1d0)
> [   37.331809] [<c0402838>] (panic+0x98/0x1d0) from [<c0024604>]
> (do_exit+0x34c/0x7cc)
> [   37.339429] [<c0024604>] (do_exit+0x34c/0x7cc) from [<c00356a8>]
> (sys_reboot+0x130/0x1e0)
> [   37.347610] [<c00356a8>] (sys_reboot+0x130/0x1e0) from [<c000ed00>]
> (ret_fast_syscall+0x0/0x30)
>
> }}}

New description:

 boot os20/21 (kernel is 3.5.0_xo1.75-20120907.1358.olpc.b5fea0f) and run
 "shutdown".   the system powers off successfully, but it's ugly.

 {{{
 CForth built 2012-09-06 23:39 from commit 7b873ab6...
 Matrix mode on
 releasing
 USB devices:
 /usb at d4208000/hub at 0,0
 OLPC 4A2, 1063 MHz, 2 GiB memory, 4 GB internal storage, S/N Unknown
 OpenFirmware  Q7A13   EC Firmware 0.1.08   2012-09-10 18:36:22 UTC

 Type the Esc key to interrupt automatic startup
 Boot device: /sd/sdhci at d4281000/disk:\boot\olpc.fth  Arguments:
 Boot device: /sd/sdhci at d4281000/disk:\boot\vmlinuz  Arguments: ttyS2
 zforce.multitouch=y
 Loading ramdisk image from /sd/sdhci at d4281000/disk:\boot\initrd.img ...
 Uncompressing Linux... done, booting the kernel.
 [    0.000000] Booting Linux on physical CPU 0
 [    0.000000] Initializing cgroup subsys cpu
 [    0.000000] Linux version 3.5.0_xo1.75-20120907.1358.olpc.b5fea0f
 (martin at koji3.laptop.org) (gcc version 4.7.0 20120507 (Red Hat 4.7.0-5)
 (GCC) ) #1 PREEMPT Fri Sep 7 14:03:56 EDT 2012
 [    0.000000] CPU: ARMv7 Processor [562f5842] revision 2 (ARMv7),
 cr=10c5387d
 [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction
 cache
 [    0.000000] Machine: Marvell MMP2 (Device Tree Support), model: 4A2
 [    0.000000] cma: CMA: reserved 64 MiB at 28000000
 [    0.000000] Memory policy: ECC disabled, Data cache writeback
 [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
 Total pages: 518160
 [    0.000000] Kernel command line: console=ttyS2,115200 console=tty0
 selinux=0 fbcon=font:SUN12x22 ttyS2 zforce.multitouch=y
 [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
 [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288
 bytes)
 [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144
 bytes)
 [    0.000000] Memory: 2040MB = 2040MB total
 [    0.000000] Memory: 1994556k/1994556k available, 94404k reserved,
 1310720K highmem
 [    0.000000] Virtual kernel memory layout:
 [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
 [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
 [    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
 [    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
 [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
 [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
 [    0.000000]       .text : 0xc0008000 - 0xc05a1fac   (5736 kB)
 [    0.000000]       .init : 0xc05a2000 - 0xc05dc000   ( 232 kB)
 [    0.000000]       .data : 0xc05dc000 - 0xc0617a38   ( 239 kB)
 [    0.000000]        .bss : 0xc0617a5c - 0xc06b2c8c   ( 621 kB)
 [    0.000000] NR_IRQS:16 nr_irqs:16 16
 [    0.000000] matched_mmp3_of_clk_apmu_setup
 [    0.000000] matched_mmp3_of_clk_apbc_setup
 [    0.000000] sched_clock: 32 bits at 6MHz, resolution 153ns, wraps every
 660764ms
 [    0.000000] Console: colour dummy device 80x30
 [    0.000000] console [tty0] enabled
 [    0.040151] Calibrating delay loop... 1059.22 BogoMIPS (lpj=5296128)
 [    0.040151] pid_max: default: 32768 minimum: 301
 [    0.040191] Mount-cache hash table entries: 512
 [    0.040525] CPU: Testing write buffer coherency: ok
 [    0.044107] ftrace: allocating 15659 entries in 46 pages
 [    0.072361] Setting up static identity map for 0x4084f8 - 0x408550
 [    0.074225] devtmpfs: initialized
 [    0.082231] NET: Registered protocol family 16
 [    0.092272] DMA: preallocated 256 KiB pool for atomic coherent
 allocations
 [    0.094790] Tauros2: Disabling L2 prefetch.
 [    0.094844] Tauros2: Enabling L2 cache.
 [    0.094864] Tauros2: L2 cache support initialised in ARMv7 mode.
 [    0.094884] Wow!  Can't register IRQ for DMA
 [    0.094909] OLPC board revision 4A2 (EC api 4)
 [    0.104844] bio: create slab <bio-0> at 0
 [    0.105292] SCSI subsystem initialized
 [    0.106062] usbcore: registered new interface driver usbfs
 [    0.106062] usbcore: registered new interface driver hub
 [    0.106320] usbcore: registered new device driver usb
 [    0.107586] i2c-gpio camera-i2c.0: using pins 166 (SDA) and 165 (SCL)
 [    0.108478] i2c-gpio dcon-i2c.1: using pins 167 (SDA) and 168 (SCL)
 [    0.109411] I2C: i2c-2: PXA I2C adapter
 [    0.110316] I2C: i2c-3: PXA I2C adapter
 [    0.111525] I2C: i2c-5: PXA I2C adapter
 [    0.112348] I2C: i2c-4: PXA I2C adapter
 [    0.112599] Linux video capture interface: v2.00
 [    0.113063] Advanced Linux Sound Architecture Driver Version 1.0.25.
 [    0.113856] cfg80211: Calling CRDA to update world regulatory domain
 [    0.114575] Switching to clocksource clocksource
 [    0.136566] NET: Registered protocol family 2
 [    0.136566] IP route cache hash table entries: 32768 (order: 5, 131072
 bytes)
 [    0.137560] TCP established hash table entries: 131072 (order: 8,
 1048576 bytes)
 [    0.137560] TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
 [    0.139207] TCP: Hash tables configured (established 131072 bind 65536)
 [    0.139207] TCP: reno registered
 [    0.139233] UDP hash table entries: 512 (order: 1, 8192 bytes)
 [    0.139257] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
 [    0.139579] NET: Registered protocol family 1
 [    0.139579] Trying to unpack rootfs image as initramfs...
 [    0.194684] Freeing initrd memory: 4588K
 [    0.201775] highmem bounce pool size: 64 pages
 [    0.202040] VFS: Disk quotas dquot_6.5.2
 [    0.202325] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
 [    0.203126] msgmni has been set to 1472
 [    0.204523] io scheduler noop registered
 [    0.204523] io scheduler deadline registered
 [    0.204691] io scheduler cfq registered (default)
 [    0.214690] Console: switching to colour frame buffer device 100x40
 [    0.233391] pxa2xx-uart.1: ttyS2 at MMIO 0xd4017000 (irq = 28) is a
 UART3
 [    0.673955] console [ttyS2] enabled
 [    0.684750] brd: module loaded
 [    0.708429] lis3lv02d: 8 bits 3DC sensor found
 [    0.794944] input: ST LIS3LV02DL Accelerometer as
 /devices/platform/lis3lv02d/input/input0
 [    0.803609] OLPC XO-1.75 Embedded Controller driver probed
 [    0.814277] input: Power Button as /devices/d4037000.ec-
 spi/input/input1
 [    0.844673] input: OLPC OLS notify as /devices/ols.4/input/input2
 [    0.855879] OLPC Outdoor Light Sensor driver probed
 [    0.865546] OLPC XO-1.75 lid and ebook switches
 [    0.874748] input: OLPC lid switch as /devices/virtual/input/input3
 [    0.886136] input: OLPC ebook switch as /devices/virtual/input/input4
 [    0.897889] usbcore: registered new interface driver ipheth
 [    0.909041] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
 [    0.920805] pxau2o-ehci d4208000.usb: pxa9xx ehci
 [    0.930698] pxau2o-ehci d4208000.usb: new USB bus registered, assigned
 bus number 1
 [    0.947839] pxau2o-ehci d4208000.usb: irq 44, io mem 0xd4208000
 [    0.974727] pxau2o-ehci d4208000.usb: USB 2.0 started, EHCI 1.00
 [    0.985747] usb usb1: New USB device found, idVendor=1d6b,
 idProduct=0002
 [    0.997288] usb usb1: New USB device strings: Mfr=3, Product=2,
 SerialNumber=1
 [    1.009285] usb usb1: Product: pxa9xx ehci
 [    1.017981] usb usb1: Manufacturer: Linux
 3.5.0_xo1.75-20120907.1358.olpc.b5fea0f ehci_hcd
 [    1.031000] usb usb1: SerialNumber: d4208000.usb
 [    1.041084] hub 1-0:1.0: USB hub found
 [    1.049724] hub 1-0:1.0: 1 port detected
 [    1.058922] Initializing USB Mass Storage driver...
 [    1.068481] usbcore: registered new interface driver usb-storage
 [    1.079374] USB Mass Storage support registered.
 [    1.088790] usbcore: registered new interface driver libusual
 [    1.099282] usbcore: registered new interface driver mdc800
 [    1.109590] mdc800: v0.7.5 (30/10/2000):USB Driver for Mustek MDC800
 Digital Camera
 [    1.121928] usbcore: registered new interface driver usbserial
 [    1.132753] usbcore: registered new interface driver usbserial_generic
 [    1.144264] USB Serial support registered for generic
 [    1.154145] usbserial: USB Serial Driver core
 [    1.164064] OLPC SP keyboard/touchpad driver probed
 [    1.284993] zforce_input_setup: running in multitouch mode
 [    1.295369] input: zForce touchscreen as
 /devices/d4033000.i2c/i2c-5/5-0050/input/input5
 [    1.314244] input: AT Translated Set 2 keyboard as /devices/d4290000
 .ap-sp/serio0/input/input6
 [    1.338838] zforce_i2c_probe: found zForce firmware 0.0.0.2
 [    1.384662] usb 1-1: new high-speed USB device number 2 using pxau2o-
 ehci
 [    1.404003] sa1100-rtc d4010000.wakeup-rtc: rtc core: registered
 d4010000.wakeup-rtc as rtc0
 [    1.418302] rtc_idt1338 3-0068: rtc core: registered rtc_idt1338 as
 rtc1
 [    1.546571] usb 1-1: New USB device found, idVendor=05e3,
 idProduct=0608
 [    1.558488] usb 1-1: New USB device strings: Mfr=0, Product=1,
 SerialNumber=0
 [    1.570711] usb 1-1: Product: USB2.0 Hub
 [    1.580712] hub 1-1:1.0: USB hub found
 [    1.589999] hub 1-1:1.0: 4 ports detected
 [    1.678919] sdhci: Secure Digital Host Controller Interface driver
 [    1.690055] sdhci: Copyright(c) Pierre Ossman
 [    1.699385] mmc0: FIXME: setting broken card detection quirk, remove
 this hack once the 'broken-cd' DT property is in-place.
 [    1.754733] mmc0: SDHCI controller on d4280800.sdhci [d4280800.sdhci]
 using ADMA
 [    1.767650] mmc1: FIXME: setting broken card detection quirk, remove
 this hack once the 'broken-cd' DT property is in-place.
 [    1.819175] mmc0: new SDIO card at address 0001
 [    1.829103] mmc1: SDHCI controller on d4281000.sdhci [d4281000.sdhci]
 using ADMA
 [    1.842363] mmc2: FIXME: setting broken card detection quirk, remove
 this hack once the 'broken-cd' DT property is in-place.
 [    1.904698] mmc2: SDHCI controller on d4280000.sdhci [d4280000.sdhci]
 using ADMA
 [    1.918006] mmc3: FIXME: setting broken card detection quirk, remove
 this hack once the 'broken-cd' DT property is in-place.
 [    1.943035] mmc1: new high speed DDR MMC card at address 0001
 [    1.956042] mmcblk0: mmc1:0001 SEM04G 3.68 GiB
 [    1.966592] mmcblk0boot0: mmc1:0001 SEM04G partition 1 1.00 MiB
 [    1.978447] mmc3: SDHCI controller on d4217000.sdhci [d4217000.sdhci]
 using ADMA
 [    1.992103] mmcblk0boot1: mmc1:0001 SEM04G partition 2 1.00 MiB
 [    2.003943] sdhci-pltfm: SDHCI platform and OF driver helper
 [    2.016997] usbcore: registered new interface driver usbhid
 [    2.029068]  mmcblk0: p1 p2
 [    2.037777] usbhid: USB HID core driver
 [    2.049586] olpc-dcon:  Discovered DCON version 2
 [    2.061387]  mmcblk0boot1: unknown partition table
 [    2.074674] i2c-core: driver [olpc_dcon] using legacy suspend method
 [    2.089060] i2c-core: driver [olpc_dcon] using legacy resume method
 [    2.101501]  mmcblk0boot0: unknown partition table
 [    2.112696] usbcore: registered new interface driver snd-usb-audio
 [    2.425938] asoc: rt5631-hifi <-> mmp-sspa-dai.0 mapping ok
 [    2.439138] input: OLPC XO-1.75 Headphone Jack as /devices/platform
 /olpc-xo-1-75-audio/sound/card0/input7
 [    2.460217] input: OLPC XO-1.75 Mic Jack as /devices/platform/olpc-
 xo-1-75-audio/sound/card0/input8
 [    2.482146] TCP: bic registered
 [    2.491371] Initializing XFRM netlink socket
 [    2.502817] NET: Registered protocol family 10
 [    2.516217] NET: Registered protocol family 17
 [    2.526369] lib80211: common routines for IEEE802.11 drivers
 [    2.537765] Key type dns_resolver registered
 [    2.547656] VFP support v0.3: implementor 56 architecture 2 part 20
 variant 9 rev 6
 [    2.560828] ThumbEE CPU extension supported.
 [    2.570540] Registering SWP/SWPB emulation handler
 [    2.580725] PJ4 iWMMXt coprocessor enabled.
 [    2.591932] rtc_idt1338 3-0068: setting system clock to 2012-09-10
 18:36:30 UTC (1347302190)
 [    2.608380] ALSA device list:
 [    2.617767]   #0: OLPC XO-1.75
 [    2.626062] Freeing init memory: 232K
 [    2.678974] tmpfs: No value for mount option 'strictatime'
 [    2.714677] tmpfs: No value for mount option 'strictatime'
 [    2.747798] tmpfs: No value for mount option 'strictatime'
 [    2.819203] dracut: dracut-018-36.git20120510.fc17
 [    2.876950] udevd[71]: starting version 182
 [    4.490113] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data
 mode. Opts: (null)
 [    4.542451] dracut: Mounted root filesystem /dev/disk/mmc/mmc1p2
 [    4.573320] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
 [    4.601823] EXT4-fs (mmcblk0p1): mounted filesystem without journal.
 Opts: (null)
 [    4.651387] Dsize 7733248 Psize 7593984 Pstart 139264 Pend 7733248
 [    4.918425] dracut: Switching root
 [    5.270862] systemd[1]: systemd 44 running in system mode. (+PAM
 +LIBWRAP +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP; fedora)
 [    5.313817] systemd[1]: Set hostname to <xo-e4-fc-36.localdomain>.
 [    6.130762] udevd[180]: starting version 182
 [    6.648320] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
 [    7.999241] ov7670 0-0021: chip found @ 0x42 (i2c-gpio-1)
 [    8.193854] mousedev: PS/2 mouse device common for all mice
 [    8.402050] got GPIOs power=150 reset=102
 [    8.543583] calling clk_mmp_enable_ccic
 [    8.732053] psmouse serio1: sentelic: Finger Sensing Pad, hw: 13.2.1,
 sn: 0, sw: 1.1.0-K
 [    9.132335] input: FSPPS/2 Sentelic FingerSensingPad as
 /devices/d4290000.ap-sp/serio1/input/input9
 [    9.292251] usbcore: registered new interface driver sisusb
 [    9.329837] libertas_sdio: Libertas SDIO driver
 [    9.359267] usbcore: registered new interface driver udlfb
 [    9.432949] libertas_sdio: Copyright Pierre Ossman
 [    9.454746] calling clk_mmp_disable_ccic
 [    9.724701] usbcore: deregistering interface driver udlfb
 [   10.001957] runin-check: noop
 [   10.488868] input: olpc-kbdshim virtual touchscreen as
 /devices/virtual/input/input10
 [   12.680656] calling clk_mmp_enable_ccic
 [   12.724745] input: olpc-kbdshim virtual keyboard as
 /devices/virtual/input/input11
 [   12.733835] input: olpc-kbdshim virtual mouse as
 /devices/virtual/input/input12
 [   14.051184] libertas_sdio mmc0:0001:1: (unregistered net_device):
 20:7c:8f:74:39:14, fw 9.70.3p36, cap 0x000003a3
 [   14.075622] libertas_sdio mmc0:0001:1: wlan0: Marvell WLAN 802.11
 adapter
 [   14.391512] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
 [   14.635528] calling clk_mmp_disable_ccic
 [   15.102026] ip_tables: (C) 2000-2006 Netfilter Core Team
 [   19.608784] fuse init (API version 7.19)

 bash-4.2#
 bash-4.2#
 bash-4.2#
 bash-4.2# shutdown -h now
 [   27.938189] dcon_freeze_store: 0
 [   37.024527] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
 [   37.281857] Power down.
 [   37.306287] Kernel panic - not syncing: Attempted to kill init!
 exitcode=0x00000000
 [   37.306287]
 [   37.315431] [<c0015760>] (unwind_backtrace+0x0/0x128) from [<c0402718>]
 (dump_stack+0x20/0x24)
 [   37.315504] [<c0402718>] (dump_stack+0x20/0x24) from [<c0402838>]
 (panic+0x98/0x1d0)
 [   37.331809] [<c0402838>] (panic+0x98/0x1d0) from [<c0024604>]
 (do_exit+0x34c/0x7cc)
 [   37.339429] [<c0024604>] (do_exit+0x34c/0x7cc) from [<c00356a8>]
 (sys_reboot+0x130/0x1e0)
 [   37.347610] [<c00356a8>] (sys_reboot+0x130/0x1e0) from [<c000ed00>]
 (ret_fast_syscall+0x0/0x30)

 }}}

--

Comment(by Quozl):

 We had this on XO-1.75 and decided it wasn't worth investing in, given
 that it is caused by power down being asynchronous.  We hide this latency
 in Open Firmware with a ''wfi'' in a loop after sending the EC command.
 ''see power-off''.

-- 
Ticket URL: <http://dev.laptop.org/ticket/12100#comment:3>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list