#9352 NORM 1.5-ATe: can't mount /ofw on XO-1.5 kernel

Zarro Boogs per Child bugtracker at laptop.org
Tue Jun 16 14:58:36 EDT 2009


#9352: can't mount /ofw on XO-1.5 kernel
---------------------------------+------------------------------------------
           Reporter:  dsd        |       Owner:  dsaxena      
               Type:  defect     |      Status:  new          
           Priority:  normal     |   Milestone:  1.5-ATest    
          Component:  kernel     |     Version:  not specified
         Resolution:             |    Keywords:               
        Next_action:  never set  |    Verified:  0            
Deployment_affected:             |   Blockedby:               
           Blocking:             |  
---------------------------------+------------------------------------------

Comment(by dsd):

 crash message is as follows:

 {{{
 [    0.532838] BUG: unable to handle kernel paging request at 3b036cf8
 [    0.539174] IP: [<3b036cf8>] 0x3b036cf8
 [    0.542435] *pde = 00000000
 [    0.542435] Oops: 0000 [#1] PREEMPT
 [    0.542435] last sysfs file:
 [    0.542435] Modules linked in:
 [    0.542435]
 [    0.542435] Pid: 1, comm: swapper Not tainted
 (2.6.30-20090616.1.olpc.9d968ce #1)
 [    0.542435] EIP: 0060:[<3b036cf8>] EFLAGS: 00010002 CPU: 0
 [    0.542435] EIP is at 0x3b036cf8
 [    0.542435] EAX: ef01eedc EBX: 00000001 ECX: ef01ef5c EDX: 00000246
 [    0.542435] ESI: 00000000 EDI: 00000001 EBP: ef01ef44 ESP: ef01eed0
 [    0.542435]  DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
 [    0.542435] Process swapper (pid: 1, ti=ef01e000 task=ef023b60
 task.ti=ef01e000)
 [    0.542435] Stack:
 [    0.542435]  c040ab78 00000246 ef01ef5c c077e0e3 00000001 00000001
 00000000 00010c00
 [    0.542435]  00000128 ef01ef08 c0467c64 00000000 ee58fec0 00010c00
 ef01ef20 c06f7a61
 [    0.542435]  00000037 ee58fec0 00010c00 00000128 ef01ef5c c04681b7
 00000000 00000000
 [    0.542435] Call Trace:
 [    0.542435]  [<c040ab78>] ? ofw+0x64/0xa4
 [    0.542435]  [<c0467c64>] ? enable_cpucache+0x3a/0x5f
 [    0.542435]  [<c06f7a61>] ? setup_cpu_cache+0x1c/0x204
 [    0.542435]  [<c04681b7>] ? kmem_cache_create+0x3fc/0x409
 [    0.542435]  [<c086873a>] ? prom_build_devicetree+0x1c/0xa5
 [    0.542435]  [<c047d6e5>] ? register_filesystem+0x5c/0x62
 [    0.542435]  [<c086ff4b>] ? init_promfs+0xe/0x55
 [    0.542435]  [<c0401131>] ? _stext+0x49/0x10b
 [    0.542435]  [<c086ff3d>] ? init_promfs+0x0/0x55
 [    0.542435]  [<c04a2900>] ? proc_create_data+0x49/0x93
 [    0.542435]  [<c043e32b>] ? register_irq_proc+0x65/0x81
 [    0.542435]  [<c08614a1>] ? kernel_init+0x6b/0xb9
 [    0.542435]  [<c0861436>] ? kernel_init+0x0/0xb9
 [    0.542435]  [<c0402fc3>] ? kernel_thread_helper+0x7/0x10
 [    0.542435] Code:  Bad EIP value.
 [    0.542435] EIP: [<3b036cf8>] 0x3b036cf8 SS:ESP 0068:ef01eed0
 [    0.542435] CR2: 000000003b036cf8
 [    0.542435] ---[ end trace a7919e7f17c0a725 ]---
 }}}

 It's in this code:
 http://dev.laptop.org/git/olpc-2.6/commit/?h=xo-1.5&id=90e35a2f0652385c6ab5275163ee545c08147c08

 0x3b036cf8 is indeed the address that OFW sets in the call_firmware
 variable.

 I think it is an OFW bug, unless that kernel code is somehow wrong.

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


More information about the Bugs mailing list