Re: pxafb as module...

From: Michael Opdenacker <zumbi3.a.t.free.fr>
Date: Thu Apr 01 2004 - 01:55:27 EST

Ciao Eddi,

You may share your trouble on the ipaq mailing list.
Lots of experienced kernel hackers are subscribed to this list,
including Alan Cox!

:-)

    Michael.

>I tried again to compile pxafb as module...
>After insmodding it I get:
>
>
>insmod cfbcopyarea.ko
>/lib/modules/2.6.3-hh2/kernel/drivers/video # insmod cfbimgblt.ko
>/lib/modules/2.6.3-hh2/kernel/drivers/video # insmod cfbfillrect.ko
>/lib/modules/2.6.3-hh2/kernel/drivers/video # insmod pxafb.ko
>Unable to handle kernel NULL pointer dereference at virtual address
>00000000
>pgd = c3b08000
>[00000000] *pgd=a3b04011, *pte=00000000, *ppte=00000000
>Internal error: Oops: 807 [#1]
>CPU: 0
>PC is at h4000_get_mach_info+0x14/0x20
>LR is at pxafb_get_machine_info+0x3c/0x60 [pxafb]
>pc : [<c0027454>] lr : [<bf06b03c>] Not tainted
>sp : c3babec0 ip : c3babed0 fp : c3babecc
>r10: 00000002 r9 : c3baa000 r8 : c0171db4
>r7 : bf06d1a4 r6 : bf06d18c r5 : 00000000 r4 : c0167d34
>r3 : c0016a08 r2 : 20000013 r1 : 00000000 r0 : 00000000
>Flags: NzCv IRQs on FIQs on Mode SVC_32 Segment user
>Control: 397F Table: A3B08000 DAC: 00000015
>Process insmod (pid: 182, stack limit = 0xc3baa108)
>Stack: (0xc3babec0 to 0xc3bac000)
>bec0: c3babee4 c3babed0 bf06b03c c002744c c01676cc c01676cc c3babf00
>c3babee8
>bee0: bf06c220 bf06b00c bf06d1a4 c01676cc ffffffed c3babf14 c3babf04
>bf06f038
>bf00: bf06c214 c01676cc c3babf30 c3babf18 c00d2554 bf06f00c c01676d4
>bf06d18c
>bf20: c0171e10 c3babf4c c3babf34 c00d2670 c00d2518 c0171d68 bf06d18c
>00000000
>bf40: c3babf70 c3babf50 c00d28b8 c00d2628 c0169d80 bf06d200 c0169d68
>00000000
>bf60: c001c2e4 c3babf84 c3babf74 c00d2bc0 c00d2850 c0169d68 c3babfa4
>c3babf88
>bf80: c0048cf0 c00d2b90 00000003 00000000 0000000a 00000080 00000000
>c3babfa8
>bfa0: c001c0e0 c0048b58 00000000 0000000a 00900080 40014000 00002ec4
>00012050
>bfc0: 00000003 00000000 0000000a 00000002 00012050 00008bcc 00000002
>00000000
>bfe0: befffe0c befffe00 00008d80 400e46c0 00000010 00900080 a0002011
>a0002411
>Backtrace:
>[<c0027440>] (h4000_get_mach_info+0x0/0x20) from [<bf06b03c>]
>(pxafb_get_machin)[<bf06b000>] (pxafb_get_machine_info+0x0/0x60 [pxafb])
>from [<bf06c220>] (pxafb) r5 = C01676CC r4 = C01676CC
>[<bf06c208>] (pxafb_startup+0x0/0x120 [pxafb]) from [<bf06f038>]
>(pxafb_probe+0) r5 = FFFFFFED r4 = C01676CC
>[<bf06f000>] (pxafb_probe+0x0/0x4c [pxafb]) from [<c00d2554>]
>(bus_match+0x48/0) r4 = C01676CC
>[<c00d250c>] (bus_match+0x0/0x70) from [<c00d2670>]
>(driver_attach+0x54/0x90)
> r6 = C0171E10 r5 = BF06D18C r4 = C01676D4
>[<c00d261c>] (driver_attach+0x0/0x90) from [<c00d28b8>]
>(bus_add_driver+0x74/0x) r6 = 00000000 r5 = BF06D18C r4 = C0171D68
>[<c00d2844>] (bus_add_driver+0x0/0x84) from [<c00d2bc0>]
>(driver_register+0x3c/) r8 = C001C2E4 r7 = 00000000 r6 = C0169D68 r5
>= BF06D200
> r4 = C0169D80
>[<c00d2b84>] (driver_register+0x0/0x40) from [<c0048cf0>]
>(sys_init_module+0x1a)[<c0048b4c>] (sys_init_module+0x0/0x308) from
>[<c001c0e0>] (ret_fast_syscall+0x) r7 = 00000080 r6 = 0000000A r5 =
>00000000 r4 = 00000003
>Code: e92dd800 e24cb004 e59f3008 e3a00000 (e5813000)
> Segmentation fault
>/lib/modules/2.6.3-hh2/kernel/drivers/video #
>
>
>The same error appear both with myself compiled zImage+Initrd and with
>Michael h2200 modular zImage+Initrd.
>
>pxafb is insmodded in a permanent way, since it hasn't an __exit
>function.
>
>Any idea to solve this issue?
>
>Ciao, Eddi
>
>_______________________________________________
>H4100-port mailing list
>H4100-port@handhelds.org
>https://www.handhelds.org/mailman/listinfo/h4100-port
>
>
>
>

-- 
Michael Opdenacker
http://opdenacker.org/
Received on Thu Apr 01 06:55:39 2004

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:41:51 EDT