I have a question in linux-3.8.13.16.

Taeung treeze.taeung at gmail.com
Tue Jul 8 11:14:25 UTC 2014


Hi, kernel-team  :-)

I'm using linux-3.8.13.16 on nanoPC T1 (exynos 4412).

I've checked ubuntu booting on this hardware.
And I've replaced zImage by my zImage which have been built as linux
kernel(3.8.13.16) for nanoPC t1.

But I've failed linux booting as below..

' [ OK ]ting up X socket directories...'
After this message , kernel panic happened.

I thought this problem is about 'BUG: rwlock bad magic on CPU#3, modprobe/1909, e676f3cc'.

  How to fix this error ?

I've tried to fix according to a patch which got by a link
http://lkml.iu.edu//hypermail/linux/kernel/1202.3/01416.html
, but I've found that it was already modified.


If you tell me a bit hints, I'd appreciate it.

- Taeung -

  ====================================
Starting kernel ...
                                                                 
                                                                            
                                                                 
Uncompressing Linux... done, booting the kernel.
                                                                 
[    0.000000] Booting Linux on physical CPU 0xa00
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Linux version 3.8.13.16 (taeung at taeung-MS-7798) (gcc version 4.7.3 20130102 (prerelease) (crosstool-NG linaro-1.13.1-4.7-201)
[    0.000000] Kernel was built at commit id ''
[    0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7),cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: NANOPC_T1
[    0.000000] TINY4412: S70 selected

...(omitted)...

[    2.958504] usb 1-2.5: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[    2.958582] usb 1-2.5: Product: Bridge device
[    3.250493] init: ureadahead main process (1392) terminated with status 5
[    3.847855] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ OK ]ting up X socket directories...
[    6.572778] BUG: rwlock bad magic on CPU#3, modprobe/1909, e676f3cc
[    6.572867] [<c0014ed8>] (unwind_backtrace+0x0/0xf8) from [<c01cbbf4>] (do_raw_write_lock+0x84/0xb4)
[    6.573022] [<c01cbbf4>] (do_raw_write_lock+0x84/0xb4) from [<bf023064>] (fib6_clean_all+0x44/0x94 [ipv6])
[    6.575560] [<bf023064>] (fib6_clean_all+0x44/0x94 [ipv6]) from [<bf023100>] (fib6_run_gc+0x4c/0xd0 [ipv6])
[    6.585312] [<bf023100>] (fib6_run_gc+0x4c/0xd0 [ipv6]) from [<bf025d34>] (ndisc_netdev_event+0x44/0xf4 [ipv6])
[    6.595352] [<bf025d34>] (ndisc_netdev_event+0x44/0xf4 [ipv6]) from [<c03839c4>] (unregister_netdevice_notifier+0xa4/0xcc)
[    6.606367] [<c03839c4>] (unregister_netdevice_notifier+0xa4/0xcc) from [<bf027928>] (ndisc_cleanup+0x14/0x30 [ipv6])
[    6.616972] [<bf027928>] (ndisc_cleanup+0x14/0x30 [ipv6]) from [<bf052204>] (inet6_init+0x204/0x274 [ipv6])
[    6.626657] [<bf052204>] (inet6_init+0x204/0x274 [ipv6]) from [<c0008708>] (do_one_initcall+0x110/0x178)
[    6.636092] [<c0008708>] (do_one_initcall+0x110/0x178) from [<c0067a58>] (load_module+0x17fc/0x1d20)
[    6.645200] [<c0067a58>] (load_module+0x17fc/0x1d20) from [<c0068054>] (sys_init_module+0xd8/0xec)
[    6.654140] [<c0068054>] (sys_init_module+0xd8/0xec) from [<c000e300>] (ret_fast_syscall+0x0/0x30)
[    6.663082] Unable to handle kernel NULL pointer dereference at virtual address 00000005
[    6.671147] pgd = e6734000
[    6.673838] [00000005] *pgd=00000000
[    6.677387] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
[    6.682679] Modules linked in: ipv6(+) gpio_keys wm8960(O)
[    6.688150] CPU: 3    Tainted: G           O  (3.8.13.16 #1)
[    6.693834] PC is at fib6_walk_continue+0xcc/0x1b4 [ipv6]
[    6.699207] LR is at fib6_walk+0x48/0x98 [ipv6]
[    6.703688] pc : [<bf0217ac>]    lr : [<bf021a70>]    psr: 80000013
[    6.703688] sp : e6731d80  ip : 7fa980b8  fp : bf022ef0
[    6.715143] r10: 00000000  r9 : 00000000  r8 : 00000001
[    6.720350] r7 : 00000003  r6 : 00000002  r5 : 00000000  r4 : e6731dac
[    6.726861] r3 : 00000000  r2 : 00000000  r1 : 00000001  r0 : 00000001
[    6.733372] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[    6.740489] Control: 10c5387d  Table: 6673404a  DAC: 00000015
[    6.746218] Process modprobe (pid: 1909, stack limit = 0xe6730240)
[    6.752380] Stack: (0xe6731d80 to 0xe6732000)
[    6.756723] 1d80: e6731dac bf042e40 00000000 c09b2dc0 bf0218fc bf021a70 e676f3c0 e676f3cc
[    6.764882] 1da0: 00000000 bf023090 bf042f9c bf042e50 bf042e50 e676f3dc 00000001 bf042e94
[    6.773040] 1dc0: 00000000 00000000 00000000 bf022ef0 00000000 c09b2dc0 bf0218fc 00000000
[    6.781199] 1de0: 00000000 c09b2dc0 bf044830 c09b2e38 c09b2dc0 c09b2d54 bf052000 00000000
[    6.789359] 1e00: 00000000 bf023100 bf025cf0 e7278000 c09b2dc0 bf025d34 e7278000 bf042fd8
[    6.797518] 1e20: c09b2e38 c03839c4 00000000 bf042e94 bf0438f0 bf044628 00000001 e72fa6c0
[    6.805678] 1e40: e6730000 bf027928 fffffff4 bf052204 c09b8d00 e6731f58 bf044634 c0008708
[    6.813836] 1e60: 00000001 e72fa6c0 bf044670 8040003d e68457c0 f0301000 00000001 e72fa6c0
[    6.821996] 1e80: bf044670 e6731f58 bf044634 bf044628 00000001 e72fa6c0 bf044670 00000001
[    6.830155] 1ea0: c0065178 c0067a58 bf044634 00007fff c00647ac c002b078 00000000 00000000
[    6.838314] 1ec0: c0065200 bf044634 e6730000 c09785cc bf044764 e6731ef4 ffffffff e6731f1c
[    6.846473] 1ee0: 6575715f c000de98 f0969000 b6d58000 00000476 bf03d950 00000023 bf03da68
[    6.854632] 1f00: 00000021 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    6.862791] 1f20: 00000000 00000000 00000000 00000000 000000d2 006684f6 b66f0000 b6f04fa8
[    6.870950] 1f40: 00000080 c000e4a8 e6730000 00000000 00000000 c0068054 f0301000 006684f6
[    6.879110] 1f60: f07b40b4 f07b3e7c f0962fc4 00035e40 0003cd50 00000000 00000000 00000000
[    6.887269] 1f80: 00000038 00000039 00000021 00000000 00000014 00000000 b6f05be4 00040000
[    6.895428] 1fa0: b6f61250 c000e300 b6f05be4 00040000 b66f0000 006684f6 b6f04fa8 00000002
[    6.903588] 1fc0: b6f05be4 00040000 b6f61250 00000080 b6f691b8 00000000 006684f6 00000000
[    6.911747] 1fe0: b6e84180 be9ba9f8 b6eff3ad b6e84190 80000010 b66f0000 00000000 00000000
[    6.919996] [<bf0217ac>] (fib6_walk_continue+0xcc/0x1b4 [ipv6]) from [<bf021a70>] (fib6_walk+0x48/0x98 [ipv6])
[    6.929964] [<bf021a70>] (fib6_walk+0x48/0x98 [ipv6]) from [<bf023090>] (fib6_clean_all+0x70/0x94 [ipv6])
[    6.939509] [<bf023090>] (fib6_clean_all+0x70/0x94 [ipv6]) from [<bf023100>] (fib6_run_gc+0x4c/0xd0 [ipv6])
[    6.949231] [<bf023100>] (fib6_run_gc+0x4c/0xd0 [ipv6]) from [<bf025d34>] (ndisc_netdev_event+0x44/0xf4 [ipv6])
[    6.959271] [<bf025d34>] (ndisc_netdev_event+0x44/0xf4 [ipv6]) from [<c03839c4>] (unregister_netdevice_notifier+0xa4/0xcc)
[    6.970291] [<c03839c4>] (unregister_netdevice_notifier+0xa4/0xcc) from [<bf027928>] (ndisc_cleanup+0x14/0x30 [ipv6])
[    6.980910] [<bf027928>] (ndisc_cleanup+0x14/0x30 [ipv6]) from [<bf052204>] (inet6_init+0x204/0x274 [ipv6])
[    6.990595] [<bf052204>] (inet6_init+0x204/0x274 [ipv6]) from [<c0008708>] (do_one_initcall+0x110/0x178)
[    7.000030] [<c0008708>] (do_one_initcall+0x110/0x178) from [<c0067a58>] (load_module+0x17fc/0x1d20)
[    7.009140] [<c0067a58>] (load_module+0x17fc/0x1d20) from [<c0068054>] (sys_init_module+0xd8/0xec)
[    7.018080] [<c0068054>] (sys_init_module+0xd8/0xec) from [<c000e300>] (ret_fast_syscall+0x0/0x30)
[    7.027018] Code: e594000c e3500000 1affffd6 e8bd81f0 (e5903004)
[    7.033112] ---[ end trace fe4a42aeb8fbb940 ]---
[    7.037693] Kernel panic - not syncing: Fatal exception in interrupt
[    7.044031] CPU0: stopping
[    7.046730] [<c0014ed8>] (unwind_backtrace+0x0/0xf8) from [<c0013534>] (handle_IPI+0x120/0x14c)
[    7.055403] [<c0013534>] (handle_IPI+0x120/0x14c) from [<c0008564>] (gic_handle_irq+0x60/0x68)
[    7.063996] [<c0008564>] (gic_handle_irq+0x60/0x68) from [<c000df00>] (__irq_svc+0x40/0x70)
[    7.072325] Exception stack(0xc0957f10 to 0xc0957f58)
[    7.077360] 7f00:                                     c0957f58 3b9aca00 a3b19159 00000001
[    7.085520] 7f20: a39e1ff9 00000001 c12023f0 00000000 c0981140 413fc090 c097bbd0 00000000
[    7.093679] 7f40: fffffff8 c0957f58 c0057b20 c0314f04 60000013 ffffffff
[    7.100281] [<c000df00>] (__irq_svc+0x40/0x70) from [<c0314f04>] (cpuidle_wrap_enter+0x48/0x98)
[    7.108959] [<c0314f04>] (cpuidle_wrap_enter+0x48/0x98) from [<c0314c18>] (cpuidle_enter_state+0x14/0x60)
[    7.118506] [<c0314c18>] (cpuidle_enter_state+0x14/0x60) from [<c0314cf0>] (cpuidle_idle_call+0x8c/0xf8)
[    7.127968] [<c0314cf0>] (cpuidle_idle_call+0x8c/0xf8) from [<c000f5e4>] (cpu_idle+0x98/0xfc)
[    7.136476] [<c000f5e4>] (cpu_idle+0x98/0xfc) from [<c059cabc>] (start_kernel+0x344/0x39c)
[    7.144717] CPU2: stopping
[    7.147413] [<c0014ed8>] (unwind_backtrace+0x0/0xf8) from [<c0013534>] (handle_IPI+0x120/0x14c)
[    7.156090] [<c0013534>] (handle_IPI+0x120/0x14c) from [<c0008564>] (gic_handle_irq+0x60/0x68)
[    7.164684] [<c0008564>] (gic_handle_irq+0x60/0x68) from [<c000df00>] (__irq_svc+0x40/0x70)
[    7.173013] Exception stack(0xe706ff40 to 0xe706ff88)
[    7.178049] ff40: e706ff88 3b9aca00 a3b191d6 00000001 a39e2bda 00000001 c12123f0 00000000
[    7.186208] ff60: c0981140 413fc090 c097bbd0 00000000 fffffff8 e706ff88 c0057b20 c0314f04
[    7.194365] ff80: 60000113 ffffffff
[    7.197842] [<c000df00>] (__irq_svc+0x40/0x70) from [<c0314f04>] (cpuidle_wrap_enter+0x48/0x98)
[    7.206521] [<c0314f04>] (cpuidle_wrap_enter+0x48/0x98) from [<c0314c18>] (cpuidle_enter_state+0x14/0x60)
[    7.216069] [<c0314c18>] (cpuidle_enter_state+0x14/0x60) from [<c0314cf0>] (cpuidle_idle_call+0x8c/0xf8)
[    7.225530] [<c0314cf0>] (cpuidle_idle_call+0x8c/0xf8) from [<c000f5e4>] (cpu_idle+0x98/0xfc)
[    7.234038] [<c000f5e4>] (cpu_idle+0x98/0xfc) from [<40410968>] (0x40410968)
[    7.241064] CPU1: stopping
[    7.243761] [<c0014ed8>] (unwind_backtrace+0x0/0xf8) from [<c0013534>] (handle_IPI+0x120/0x14c)
[    7.252438] [<c0013534>] (handle_IPI+0x120/0x14c) from [<c0008564>] (gic_handle_irq+0x60/0x68)
[    7.261032] [<c0008564>] (gic_handle_irq+0x60/0x68) from [<c000df00>] (__irq_svc+0x40/0x70)
[    7.269361] Exception stack(0xe706df40 to 0xe706df88)
[    7.274397] df40: e706df88 3b9aca00 a3b19253 00000001 a39e2199 00000001 c120a3f0 00000000
[    7.282556] df60: c0981140 413fc090 c097bbd0 00000000 fffffff8 e706df88 c0057b20 c0314f04
[    7.290713] df80: 60000013 ffffffff
[    7.294190] [<c000df00>] (__irq_svc+0x40/0x70) from [<c0314f04>] (cpuidle_wrap_enter+0x48/0x98)
[    7.302869] [<c0314f04>] (cpuidle_wrap_enter+0x48/0x98) from [<c0314c18>] (cpuidle_enter_state+0x14/0x60)
[    7.312417] [<c0314c18>] (cpuidle_enter_state+0x14/0x60) from [<c0314cf0>] (cpuidle_idle_call+0x8c/0xf8)
[    7.321878] [<c0314cf0>] (cpuidle_idle_call+0x8c/0xf8) from [<c000f5e4>] (cpu_idle+0x98/0xfc)
[    7.330384] [<c000f5e4>] (cpu_idle+0x98/0xfc) from [<40410968>] (0x40410968)
[    7.337413] drm_kms_helper: panic occurred, switching back to text console






More information about the kernel-team mailing list