#11872 NORM Not Tri: 12.1: USB boot broken on XO-1.75

Zarro Boogs per Child bugtracker at laptop.org
Sun May 20 13:09:54 EDT 2012


#11872: 12.1: USB boot broken on XO-1.75
--------------------------+-------------------------------------------------
 Reporter:  sascha_silbe  |                 Owner:                                   
     Type:  defect        |                Status:  new                              
 Priority:  normal        |             Milestone:  Not Triaged                      
Component:  not assigned  |               Version:  Development build as of this date
 Keywords:                |           Next_action:  never set                        
 Verified:  0             |   Deployment_affected:                                   
Blockedby:                |              Blocking:                                   
--------------------------+-------------------------------------------------
 OLPC OS 12.1 builds 9 and 10, with the
 [http://build.laptop.org/12.1.0/os10/xo-1.75/21010o2.zd .zd file]
 extracted using zdextract from bios-crypto git master (a
 .zd.disk.img.tar.gz would be nice, BTW) and written to a USB stick using
 dd, doesn't boot from a USB stick on an XO-1.75. Serial console logs:

 {{{
 CForth built 2012-05-03 00:01 from commit 89c52d57...
 Using lower core voltage
 Matrix mode on
 releasing
 USB devices:
 /usb at d4208000/hub at 0,0
 /usb at d4208000/hub at 0,0/scsi at 4,0
 /usb at d4208000/hub at 0,0/scsi at 4,0/disk
 OLPC 1C1, 512 MiB memory installed, 4 GB internal storage, S/N SHC2010415E
 OpenFirmware  Q4D13   EC Firmware 0.4.03   2012-05-20 17:38:47 UTC

 Type the Esc key to interrupt automatic startup
 Boot device: /usb/disk:\boot\olpc.fth  Arguments:
 Boot device: /usb at d4208000/hub at 0,0/scsi at 4,0/disk at 0:\boot\vmlinuz
 Arguments: ttyS2
 Loading ramdisk image from
 /usb at d4208000/hub at 0,0/scsi at 4,0/disk at 0:\boot\initrd.img ...
 Uncompressing Linux... done, booting the kernel.
 [    0.000000] Initializing cgroup subsys cpu
 [    0.000000] Linux version 3.0.19_xo1.75-20120507.1604.olpc.1fd9fdf
 (kernels at koji3.laptop.org) (gcc version 4.7.0 20120416 (Red Hat 4.7.0-2)
 (GCC) ) #1 PREEMPT Mon May 7 16:15:46 EDT 2012
 [    0.000000] CPU: ARMv7 Processor [560f5815] revision 5 (ARMv7),
 cr=10c5387d
 [    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction
 cache
 [    0.000000] Machine: OLPC XO-1.75, model: 1C1
 [    0.000000] cma: platform reserved 75497472 KiB pool for atomic
 coherent allocations
 [    0.000000] cma: CMA: reserved 128 MiB at 18000000
 [    0.000000] Memory policy: ECC disabled, Data cache writeback
 [    0.000000] OLPC board revision 1C1 (EC api 4)
 [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
 Total pages: 130048
 [    0.000000] Kernel command line: console=ttyS2,115200 console=tty0
 selinux=0 fbcon=font:SUN12x22 ttyS2
 [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
 [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144
 bytes)
 [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072
 bytes)
 [    0.000000] Memory: 512MB = 512MB total
 [    0.000000] Memory: 378236k/378236k available, 146052k reserved, 0K
 highmem
 [    0.000000] Virtual kernel memory layout:
 [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
 [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
 [    0.000000]     vmalloc : 0xe0800000 - 0xfd600000   ( 462 MB)
 [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
 [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
 [    0.000000]       .init : 0xc0008000 - 0xc002b000   ( 140 kB)
 [    0.000000]       .text : 0xc002b000 - 0xc04d0f10   (4760 kB)
 [    0.000000]       .data : 0xc04d2000 - 0xc04fb470   ( 166 kB)
 [    0.000000]        .bss : 0xc04fb494 - 0xc056c0b0   ( 452 kB)
 [    0.000000] NR_IRQS:320 nr_irqs:320 320
 [    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.000591] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
 [    0.040150] pid_max: default: 32768 minimum: 301
 [    0.040457] Mount-cache hash table entries: 512
 [    0.042167] CPU: Testing write buffer coherency: ok
 [    0.042367] hw perfevents: no hardware support available
 [    0.042814] devtmpfs: initialized
 [    0.056552] NET: Registered protocol family 16
 [    0.231902] DMA: preallocated 73728 KiB pool for atomic coherent
 allocations
 [    0.231959] Tauros2: Disable L2 prefetch, burst8 and WCO.
 [    0.231986] Tauros2: CP15 extra feature register: 0x61000000
 [    0.232012] Tauros2: L2 cache support initialised in ARMv7 mode.
 [    0.235708] mmp-sram vsram: initialized
 [    0.235750] hw-breakpoint: debug architecture 0x4 unsupported.
 [    0.239178] bio: create slab <bio-0> at 0
 [    0.239815] SCSI subsystem initialized
 [    0.239954] usbcore: registered new interface driver usbfs
 [    0.240066] usbcore: registered new interface driver hub
 [    0.240205] usbcore: registered new device driver usb
 [    0.240539] i2c-gpio i2c-gpio.7: using pins 109 (SDA) and 108 (SCL)
 [    0.240656] i2c-gpio i2c-gpio.6: using pins 110 (SDA) and 161 (SCL)
 [    0.240996] I2C: i2c-3: PXA I2C adapter
 [    0.241273] I2C: i2c-1: PXA I2C adapter
 [    0.241547] I2C: i2c-0: PXA I2C adapter
 [    0.241815] I2C: i2c-5: PXA I2C adapter
 [    0.242056] Advanced Linux Sound Architecture Driver Version 1.0.24.
 [    0.242654] cfg80211: Calling CRDA to update world regulatory domain
 [    0.242977] Switching to clocksource clocksource
 [    0.249683] NET: Registered protocol family 2
 [    0.249886] IP route cache hash table entries: 4096 (order: 2, 16384
 bytes)
 [    0.250221] TCP established hash table entries: 16384 (order: 5, 131072
 bytes)
 [    0.250408] Switched to NOHz mode on CPU #0
 [    0.250735] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
 [    0.250958] TCP: Hash tables configured (established 16384 bind 16384)
 [    0.250987] TCP reno registered
 [    0.251010] UDP hash table entries: 256 (order: 0, 4096 bytes)
 [    0.251068] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
 [    0.251360] NET: Registered protocol family 1
 [    0.251554] Trying to unpack rootfs image as initramfs...
 [    0.298897] Freeing initrd memory: 4612K
 [    0.312521] VFS: Disk quotas dquot_6.5.2
 [    0.312620] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
 [    0.313329] msgmni has been set to 1003
 [    0.313974] io scheduler noop registered
 [    0.314003] io scheduler deadline registered
 [    0.314066] io scheduler cfq registered (default)
 [    0.342494] Console: switching to colour frame buffer device 100x40
 [    0.355445] pxa2xx-uart.2: ttyS2 at MMIO 0xd4018000 (irq = 24) is a
 STUART
 [    0.776946] console [ttyS2] enabled
 [    0.780921]
 [    0.780928] [galcore] GC Version: GC Ver0.8.0.2905
 [    0.787451]
 [    0.787456] [galcore] registerBase =0xd420d000, registerMemSize =
 0x00000fff, contiguousBase= 0x00000000, contiguousSize = 0x03ffffff
 [    0.812795] [galcore] streamCount = 1
 [    0.822415] [galcore] registerMax = 64
 [    0.831993] [galcore] threadCount = 256
 [    0.841709] [galcore] shaderCoreCount = 1
 [    0.851650] [galcore] vertexCacheSize = 8
 [    0.861645] [galcore] vertexOutputBufferSize = 512
 [    0.872428]
 [    0.872433] [galcore] real contiguouSize = 0x03ffffff
 [    0.890657]
 [    0.890662] [galcore]
 chipModel=0x860,chipRevision=0x4603,chipFeatures=0xe02c6eed,chipMinorFeatures=0xcbf99fff
 [    0.925015] brd: module loaded
 [    0.934052] lis3lv02d: 16 bits sensor found
 [    1.013059] lis3lv02d_joystick_enable: max_val 1984 fuzz 1 flat 1
 [    1.025286] input: ST LIS3LV02DL Accelerometer as
 /devices/platform/lis3lv02d/input/input0
 [    1.039794] OLPC XO-1.75 Embedded Controller driver probed
 [    1.051553] input: Power Button as /devices/platform/olpc-
 ec-1.75.0/input/input1
 [    1.083315] input: OLPC OLS notify as /devices/platform/olpc-
 ols.0/input/input2
 [    1.096957] OLPC XO-1.75 lid and ebook switches
 [    1.107832] input: OLPC lid switch as /devices/virtual/input/input3
 [    1.120540] input: OLPC ebook switch as /devices/virtual/input/input4
 [    1.133683] usbcore: registered new interface driver ipheth
 [    1.145744] usbcore: registered new interface driver hwa-rc
 [    1.157733] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
 [    1.170600] pxau2o-ehci pxau2o-ehci.0: pxa9xx ehci
 [    1.181975] pxau2o-ehci pxau2o-ehci.0: new USB bus registered, assigned
 bus number 1
 [    1.197203] pxau2o-ehci pxau2o-ehci.0: irq 44, io mem 0xd4208000
 [    1.223061] pxau2o-ehci pxau2o-ehci.0: USB 2.0 started, EHCI 1.00
 [    1.235745] usb usb1: New USB device found, idVendor=1d6b,
 idProduct=0002
 [    1.248963] usb usb1: New USB device strings: Mfr=3, Product=2,
 SerialNumber=1
 [    1.262548] usb usb1: Product: pxa9xx ehci
 [    1.273007] usb usb1: Manufacturer: Linux
 3.0.19_xo1.75-20120507.1604.olpc.1fd9fdf ehci_hcd
 [    1.287982] usb usb1: SerialNumber: pxau2o-ehci.0
 [    1.299868] hub 1-0:1.0: USB hub found
 [    1.310119] hub 1-0:1.0: 1 port detected
 [    1.321002] usbcore: registered new interface driver wusb-cbaf
 [    1.333238] Initializing USB Mass Storage driver...
 [    1.344619] usbcore: registered new interface driver usb-storage
 [    1.357191] USB Mass Storage support registered.
 [    1.368505] usbcore: registered new interface driver libusual
 [    1.381096] usbcore: registered new interface driver mdc800
 [    1.393392] mdc800: v0.7.5 (30/10/2000):USB Driver for Mustek MDC800
 Digital Camera
 [    1.408065] usbcore: registered new interface driver usbserial
 [    1.420977] USB Serial support registered for generic
 [    1.433064] usbcore: registered new interface driver usbserial_generic
 [    1.446504] usbserial: USB Serial Driver core
 [    1.561137] input: AT Translated Set 2 keyboard as /devices/platform
 /olpc-kbd.0/serio0/input/input5
 [    1.643071] usb 1-1: new high speed USB device number 2 using pxau2o-
 ehci
 [    1.804724] usb 1-1: New USB device found, idVendor=05e3,
 idProduct=0608
 [    1.818598] usb 1-1: New USB device strings: Mfr=0, Product=1,
 SerialNumber=0
 [    1.832789] usb 1-1: Product: USB2.0 Hub
 [    1.844418] hub 1-1:1.0: USB hub found
 [    1.855329] hub 1-1:1.0: 4 ports detected
 [    2.143366] usb 1-1.4: new high speed USB device number 3 using pxau2o-
 ehci
 [    2.263969] usb 1-1.4: New USB device found, idVendor=0781,
 idProduct=5571
 [    2.277592] usb 1-1.4: New USB device strings: Mfr=1, Product=2,
 SerialNumber=3
 [    2.291625] usb 1-1.4: Product: Cruzer Fit
 [    2.302457] usb 1-1.4: Manufacturer: SanDisk
 [    2.313357] usb 1-1.4: SerialNumber: 4C532000050103113594
 [    2.326297] scsi0 : usb-storage 1-1.4:1.0
 [    3.334573] scsi 0:0:0:0: Direct-Access     SanDisk  Cruzer Fit
 1.22 PQ: 0 ANSI: 5
 [    3.351005] sd 0:0:0:0: Attached scsi generic sg0 type 0
 [    3.364742] sd 0:0:0:0: [sda] 15633408 512-byte logical blocks: (8.00
 GB/7.45 GiB)
 [    3.380228] sd 0:0:0:0: [sda] Write Protect is off
 [    3.392602] sd 0:0:0:0: [sda] Write cache: disabled, read cache:
 enabled, doesn't support DPO or FUA
 [    3.423653]  sda: sda1 sda2
 [    3.436099] sd 0:0:0:0: [sda] Attached SCSI removable disk
 [    3.493077] raydium_i2c_readwrite, i2c read/write error, ret -121
 [    3.506035] raydium_ts: probe of 3-0030 failed with error -1
 [    3.518940] mmp-rtc mmp-rtc: rtc core: registered mmp-rtc as rtc0
 [    3.533184] rtc_idt1338 1-0068: rtc core: registered rtc_idt1338 as
 rtc1
 [    3.546916] Linux video capture interface: v2.00
 [    3.754430] sdhci: Secure Digital Host Controller Interface driver
 [    3.767569] sdhci: Copyright(c) Pierre Ossman
 [    3.779280] mmc0: SDHCI controller on MMC [sdhci-pxa.0] using DMA
 [    3.792714] mmc1: SDHCI controller on MMC [sdhci-pxa.1] using DMA
 [    3.805970] mmc2: SDHCI controller on MMC [sdhci-pxa.2] using DMA
 [    3.819199] usbcore: registered new interface driver usbhid
 [    3.831414] usbhid: USB HID core driver
 [    3.841833] i2c-core: driver [olpc_dcon] using legacy suspend method
 [    3.855896] i2c-core: driver [olpc_dcon] using legacy resume method
 [    3.872149] olpc-dcon:  Discovered DCON version 2
 [    3.887693] usbcore: registered new interface driver snd-usb-audio
 [    3.997668] asoc: alc5631-hifi <-> mmp2-i2s.0 mapping ok
 [    4.010302] input: OLPC XO-1.75 Headphone Jack as /devices/platform
 /soc-audio/sound/card0/input6
 [    4.025977] input: OLPC XO-1.75 Mic Jack as /devices/platform/soc-
 audio/sound/card0/input7
 [    4.041149] ALSA device list:
 [    4.052058]   #0: OLPC XO-1.75
 [    4.064226] TCP bic registered
 [    4.073729] Initializing XFRM netlink socket
 [    4.084524] NET: Registered protocol family 10
 [    4.095927] NET: Registered protocol family 17
 [    4.106708] lib80211: common routines for IEEE802.11 drivers
 [    4.118769] Registering the dns_resolver key type
 [    4.129850] VFP support v0.3: implementor 56 architecture 2 part 20
 variant 9 rev 5
 [    4.144016] ThumbEE CPU extension supported.
 [    4.154760] Registering SWP/SWPB emulation handler
 [    4.165863] PJ4 iWMMXt coprocessor enabled.
 [    4.176323] sram: allocated 4k from d1021000
 [    4.186812] initcall mmp2_pm_init+0x0/0x124 returned with preemption
 imbalance
 [    4.201998] rtc_idt1338 1-0068: setting system clock to 2012-05-20
 17:38:57 UTC (1337535537)
 [    4.217165] Freeing init memory: 140K
 [    4.252881] mmc1: new SDIO card at address 0001
 [    4.324318] dracut: dracut-017-62.git20120322.fc17
 [    4.350662] dracut: FATAL: No or empty root= argument
 [    4.362283] dracut: Refusing to continue
 [    4.385471] dracut Warning: Signal caught!
 [    4.398739] mmc2: new high speed DDR MMC card at address 0001
 [    4.413895] mmcblk0: mmc2:0001 SEM04G 3.68 GiB
 [    4.414028] mmcblk0boot0: mmc2:0001 SEM04G partition 1 1.00 MiB
 [    4.414131] mmcblk0boot1: mmc2:0001 SEM04G partition 2 1.00 MiB
 [    4.449444]  mmcblk0: p1 p2
 [    4.460007]  mmcblk0boot1: unknown partition table
 [    4.471242] dracut Warning: dracut: FATAL: No or empty root= argument
 [    4.485666]  mmcblk0boot0: unknown partition table
 [    4.502471] dracut Warning: dracut: Refusing to continue
 [    4.525872] Kernel panic - not syncing: Attempted to kill init!
 [    4.537734] [<c0036ce8>] (unwind_backtrace+0x0/0x11c) from [<c0397454>]
 (panic+0x68/0x188)
 [    4.552151] [<c0397454>] (panic+0x68/0x188) from [<c004cd98>]
 (do_exit+0xa0/0x6cc)
 [    4.566076] [<c004cd98>] (do_exit+0xa0/0x6cc) from [<c004d630>]
 (do_group_exit+0x0/0xec)
 [    4.580538] [<c004d630>] (do_group_exit+0x0/0xec) from [<c0031280>]
 (ret_fast_syscall+0x0/0x30)
 }}}


 The USB stick is a SanDisk Cruzer Fit 8GB. It happens with a USB SD card
 reader as well.

 The same builds for XO-1.5, written to the same USB stick using the same
 method as described above, boots fine on an XO-1.5 (OFW Q3C06). Can't test
 on XO-1 as there's no 12.1 build 9 / 10 SD card image for XO-1 on
 build.laptop.org.

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


More information about the Bugs mailing list