Testing linux 2.6.29 on gta01bv4 failed!!! Help!

wei zheng loveheaven_zhengwei at hotmail.com
Wed Feb 18 17:30:14 CET 2009


Oh, really? I test the 2.6.29 kernel under qemu gta01bv4. It doesn't work.
The problem is in the function jbt_probe.
After I use the patch given by Michael Trimarchi. The problem on jbt_probe
disappeared... But another problem happened... It seemed to be in the
function neo1973kbd_probe -> gpio_to_irq.


Below is my kernel's output... I've posted it on my mails yesterday, but
nobody replied...
Can anybody help?

CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: GTA01
Memory policy: ECC disabled, Data cache writeback On node 0 totalpages:
32768
free_area_init_node: node 0, pgdat c03dee80, node_mem_map c0492000
  Normal zone: 256 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 32512 pages, LIFO batch:7 CPU S3C2410A (id 0x32410002)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C2410: core 266.000 MHz, memory 133.000 MHz, peripheral 66.500 MHz
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on Built 1 zonelists in
Zone order, mobility grouping on.  Total pages: 32512 Kernel command line:
rootfstype=jffs2 root=/dev/mtdblock4 console=ttySAC0,115200  console=tty0
loglevel=8 mtdparts=neo1973-nand:0x00040000(u-boot),0x00004000(u-b
oot_env),0x00200000(kernel),0x000a0000(splash),0x03d1c000(rootfs)
irq: clearing subpending status 00000002 PID hash table entries: 512 (order:
9, 2048 bytes) timer tcon=00500000, tcnt d877, tcfg 00000200,00000000, usec
00001719
Console: colour dummy device 80x30
console [tty0] enabled
console [ttySAC0] enabled
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache
hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 125112KB available (3632K code, 867K data, 144K init) Calibrating
delay loop... 418.61 BogoMIPS (lpj=1046528) Mount-cache hash table entries:
512
CPU: Testing write buffer coherency: ok
net_namespace: 988 bytes
regulator: core version 0.5
NET: Registered protocol family 16
S3C Power Management, Copyright 2004 Simtec Electronics wake enabled for irq
17 Enabled GSM wakeup IRQ 17 (rc=0)
S3C2410: Initialising architecture
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics DMA channel 0 at
c8808000, irq 33 DMA channel 1 at c8808040, irq 34 DMA channel 2 at
c8808080, irq 35 DMA channel 3 at c88080c0, irq 36
bio: create slab <bio-0> at 0
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Bluetooth: Core ver 2.14
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP
established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash
table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (SUMMARY)  漏 2001-2006 Red Hat, Inc.
msgmni has been set to 244
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered (default) fbcon_event_notify action=5,
data=c7819bdc
Console: switching to colour frame buffer device 80x58
fb0: s3c2410fb frame buffer device
##### init_resume_dependency_list(head=c03d2bcc)
s3c2410-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2410
##### init_resume_dependency_list(head=c03d2c90)
s3c2410-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2410
brd: module loaded
S3C24XX NAND Driver, (c) 2004 Simtec Electronics s3c2410-nand s3c2410-nand:
Tacls=3, 22ns Twrph0=8 60ns, Twrph1=3 22ns NAND device: Manufacturer ID:
0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit
)
Bad block table found at page 131040, version 0x01 Bad block table found at
page 131008, version 0x01
5 cmdlinepart partitions found on MTD device neo1973-nand Creating 5 MTD
partitions on "neo1973-nand":
0x000000000000-0x000000040000 : "u-boot"
0x000000040000-0x000000044000 : "u-boot_env"
0x000000044000-0x000000244000 : "kernel"
0x000000244000-0x0000002e4000 : "splash"
0x0000002e4000-0x000004000000 : "rootfs"
spi_s3c24xx_gpio spi_s3c24xx_gpio.1: registering c03bce14: jbt6k74
gta01_jbt6k74_reset gta01_jbt6k74_reset
usbcore: registered new interface driver libusual
gta01_udc_command(2)
g_ether gadget: using random self ethernet address g_ether gadget: using
random host ethernet address
usb0: MAC 9e:9d:bf:dc:f0:90
usb0: HOST MAC c6:46:84:e4:ec:92
g_ether gadget: Ethernet Gadget, version: Memorial Day 2008 g_ether gadget:
g_ether ready
gta01_udc_command(1)
mice: PS/2 mouse device common for all mice
input: Neo1973 Buttons as /class/input/input0 Unable to handle kernel NULL
pointer dereference at virtual address 00000024 pgd = c0004000 [00000024]
*pgd=00000000 Internal error: Oops: 35 [#1] PREEMPT Modules linked in:
CPU: 0    Not tainted  (2.6.29-GTA01_stable #5)
PC is at __gpio_to_irq+0x1c/0x50
LR is at neo1973kbd_probe+0x1a0/0x2cc
pc : [<c019690c>]    lr : [<c020f644>]    psr: 20000013
sp : c7819c50  ip : c0368e8c  fp : c7819c5c
r10: c03bc8c0  r9 : 00000015  r8 : c03bc8b8
r7 : 00000030  r6 : 00000003  r5 : c71e7760  r4 : c03d7ed0
r3 : 00000000  r2 : 40a3aba4  r1 : c71fdb39  r0 : c0368e8c
Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: c0007177  Table: 30004000  DAC: 00000017 Process swapper (pid: 1,
stack limit = 0xc7818260)
Stack: (0xc7819c50 to 0xc781a000)
9c40:                                     c7819c8c c7819c60 c020f644
c01968fc
9c60: c71e7760 c03bc8c0 00000000 00000000 c03d7e80 c04279c8 00000001
c71fb480
9c80: c7819c9c c7819c90 c01cb9a8 c020f4b0 c7819cc4 c7819ca0 c01ca4d4
c01cb994
9ca0: c7819cc4 c03bc8c0 c03d7e80 c03bc948 c03d7e80 c03d2fc8 c7819ce0
c7819cc8
9cc0: c01ca664 c01ca3fc c7819ce4 00000000 c01ca600 c7819d08 c7819ce4
c01c9388
9ce0: c01ca60c c78034d8 c03bc8f0 00000000 c03d7e80 00000000 c7818000
c7819d18
9d00: c7819d0c c01ca6a4 c01c9340 c7819d48 c7819d1c c01c9af4 c01ca690
c0368e7c
9d20: c002719c c03d7e80 00000000 c7818000 c02dca4c 00000001 c03df8ec
c7819d68
9d40: c7819d4c c01cab64 c01c9a54 c002719c c0027260 00000000 c7818000
c7819d78
9d60: c7819d6c c01cbabc c01caad8 c7819d88 c7819d7c c02dca88 c01cba5c
c7819fd8
9d80: c7819d8c c002c2d4 c02dca58 c03e0fcc c03e0f9c c7817be0 c7817c0c
c03e0fcc
9da0: c7819dcc c7819db0 c7816e54 c03e0fcc c03ce3c4 c7819f98 00000050
c7819f98
9dc0: c7819f94 00000000 00000000 c7819f78 c7819ddc c018c498 c018b854
0000000a
9de0: ffffffff ffffffff 00000002 ffffffff ffffffff 00000002 ffffffff
387e6067
9e00: c7819f98 c039b2a6 c7819e44 c7819e18 c02de104 c0041d5c c02de7a8
c7818000
9e20: c7818008 7fffffff 00000002 00000000 00000000 c0423d2c c03df434
c0585280
9e40: c7819e98 c7819e50 c03df434 c05852a0 c7819ea8 c7819e60 c0082524
c0041d5c
9e60: 00000044 00000000 00000000 00000000 c03df434 00000000 c03dee80
c03dee80
9e80: 00000000 000000d0 c03df430 00000000 c7817be0 00000000 c78001e0
c7819efc
9ea0: c7819eac c0083138 c008221c 00000000 00000044 000200d0 c7800de0
c78035a0
9ec0: c7819eec c7819ed0 c7800de0 c78035a0 c7819efc c7819ee0 c00a2ab8
c018fba0
9ee0: c78035a4 c78035a0 00000000 00000088 c7819f44 c7819f00 c0186b84
c00a2aa0
9f00: c7811e10 00000000 c041a270 a0000013 c7819f3c c7819f20 c0185fb8
c7995960
9f20: c7995960 c7994200 c03f6c78 00000000 00000000 00000000 c7819f54
c7819f48
9f40: c0186bac 00000000 c7819f7c c7819f58 c00e5b54 c0041d5c c03c3484
00000088
9f60: c7995960 c7819f98 00000050 c03f6c78 c7819f00 c7819f80 c00e5db0
c00e59b8
9f80: c7994200 c03c3484 c7819fc0 c7819f98 c0072f60 c00e5d38 00003038
00000000
9fa0: c0020000 00000055 c03c35b0 00000000 c002719c c0027260 00000000
00000000
9fc0: 00000000 00000000 00000000 c7819ff4 c7819fdc c0008a20 c002c27c
00000001
9fe0: 00000000 00000000 00000000 c7819ff8 c0049b7c c00089a0 00000000
00000000
Backtrace:
[<c01968f0>] (__gpio_to_irq+0x0/0x50) from [<c020f644>]
(neo1973kbd_probe+0x1a0/
0x2cc)
[<c020f4a4>] (neo1973kbd_probe+0x0/0x2cc) from [<c01cb9a8>]
(platform_drv_probe+
0x20/0x24)
[<c01cb988>] (platform_drv_probe+0x0/0x24) from [<c01ca4d4>]
(driver_probe_devic
e+0xe4/0x188)
[<c01ca3f0>] (driver_probe_device+0x0/0x188) from [<c01ca664>]
(__driver_attach+
0x64/0x84)
 r8:c03d2fc8 r7:c03d7e80 r6:c03bc948 r5:c03d7e80 r4:c03bc8c0 [<c01ca600>]
(__driver_attach+0x0/0x84) from [<c01c9388>] (bus_for_each_dev+0x54
/0x88)
 r6:c01ca600 r5:00000000 r4:c7819ce4
[<c01c9334>] (bus_for_each_dev+0x0/0x88) from [<c01ca6a4>]
(driver_attach+0x20/0
x28)
 r7:c7818000 r6:00000000 r5:c03d7e80 r4:00000000 [<c01ca684>]
(driver_attach+0x0/0x28) from [<c01c9af4>] (bus_add_driver+0xac/0x2
2c)
[<c01c9a48>] (bus_add_driver+0x0/0x22c) from [<c01cab64>]
(driver_register+0x98/
0x114)
[<c01caacc>] (driver_register+0x0/0x114) from [<c01cbabc>]
(platform_driver_regi
ster+0x6c/0x88)
 r7:c7818000 r6:00000000 r5:c0027260 r4:c002719c [<c01cba50>]
(platform_driver_register+0x0/0x88) from [<c02dca88>] (neo1973kbd_i
nit+0x3c/0x58)
[<c02dca4c>] (neo1973kbd_init+0x0/0x58) from [<c002c2d4>]
(__exception_text_end+
0x64/0x198)
[<c002c270>] (__exception_text_end+0x0/0x198) from [<c0008a20>]
(kernel_init+0x8
c/0xec)
[<c0008994>] (kernel_init+0x0/0xec) from [<c0049b7c>] (do_exit+0x0/0x78c)
r5:00000000 r4:00000000
Code: e59f3038 e0802080 e7933102 e1a0c000 (e5932024) ---[ end trace
8d83e44f45bbaeaa ]--- Kernel panic - not syncing: Attempted to kill init!

-----Original Message-----
From: xiangfu [mailto:xiangfu at openmoko.org] 
Sent: 2009年2月18日 22:23
To: wei zheng
Cc: xiangfu; openmoko-kernel at lists.openmoko.org
Subject: Re: Testing linux 2.6.29 on gta01bv4 failed!!! Help!

Hi wei
I just test the 2.6.29 kernel under my NEO1973.
work fine.

On Feb 18, 2009, at 4:05 AM, wei zheng wrote:

> Thank you, Angus. I checked out the stable kernel... But the result  
> is same.
> I found the kernel version is also 2.6.29 and the same issues  
> occurred on
> gta01bv4.
>





More information about the openmoko-kernel mailing list