Hi Graf,
[email protected] wrote:
> Revision
> 6046
>
> <http://blackfin.uclinux.org/gf/project/linux-kernel/scmsvn/?action=browse&path=/&view=rev&root=linux-kernel&revision=6046>
> Author
> gyang <http://blackfin.uclinux.org/gf/user/gyang/>
> Date
> 2009-02-02 03:40:25 -0600 (Mon, 02 Feb 2009)
>
>
> Log Message
>
> Task [#2471] <http://blackfin.uclinux.org/gf/tracker/2471>, [#4719]
> <http://blackfin.uclinux.org/gf/tracker/4719>, add bfin_mii_bus to platform
> device, so DSA can access phy devices through this bus.
>
>
> Modified Paths
>
> * trunk/arch/blackfin/mach-bf518/boards/ezbrd.c
> <#trunkarchblackfinmachbf518boardsezbrdc>
> * trunk/drivers/net/bfin_mac.c <#trunkdriversnetbfin_macc>
> * trunk/drivers/net/bfin_mac.h <#trunkdriversnetbfin_mach>
>
>
> Diff
>
>
> Modified: trunk/arch/blackfin/mach-bf518/boards/ezbrd.c (6045 =>
> 6046)
>
This patch broke linux kernel on bf537. The log is below. r6045 is OK.
Jie
## Starting application at 0x0018a23c ...
Linux version 2.6.28-ADI-2009R1-pre-svn6046 (j...@jzhang3-l02) (gcc
version 4.1.9
Warning: limiting memory to 56MB due to hardware anomaly 05000263
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x0010a340
rodata = 0x0010a340-0x0015c5fc
bss = 0x0015c600-0x0016b0a0
data = 0x0016b0a0-0x0017c000
stack = 0x0017a000-0x0017c000
init = 0x0017c000-0x005b9000
available = 0x005b9000-0x037ff000
DMA Zone = 0x03f00000-0x04000000
Hardware Trace Active and Enabled
Boot Mode: 0
Reset caused by Software reset
Blackfin support (C) 2004-2008 Analog Devices, Inc.
Compiled for ADSP-BF537 Rev 0.2
Warning: Compiled for Rev 2, but running on Rev 3
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 500 MHz core clock and 125 MHz System Clock
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
Data Cache Enabled for CPU0 (write-through)
Built 1 zonelists in Zone order, mobility grouping off. Total pages:
14223
Kernel command line:
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 256 (order: 8, 1024 bytes)
console [ttyBF0] enabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 50900k/65536k RAM, (4340k init code, 1060k kernel
code, 456k )
Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
Security Framework initialized
Mount-cache hash table entries: 512
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (15 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 48 KB (41 KB free)
PDA for CPU0 reserved at 0015d6e8
net_namespace: 288 bytes
NET: Registered protocol family 16
Blackfin GPIO Controller
Blackfin DMA Controller
stamp_init(): registering device resources
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
msgmni has been set to 99
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler cfq registered
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART
brd: module loaded
NULL pointer access
Kernel OOPS in progress
Deferred Exception context
CURRENT PROCESS:
COMM=swapper PID=1
CPU = 0
invalid mm
return address: [0x0010878e]; contents of:
0x00108760: e5a9 0004 5603 5608 e5aa 0003 e5a9 0002
0x00108770: 5651 e5aa 0005 5651 5608 4340 0c00 1c88
0x00108780: e12a 0380 5bd4 3045 e3fc ea7a 320f [e50a]
0x00108790: 0032 e149 ffc0 e109 0008 e73a 001d bd94
SEQUENCER STATUS: Not tainted
SEQSTAT: 00062027 IPEND: 8030 SYSCFG: 0006
EXCAUSE : 0x27
interrupts disabled
physical IVG5 asserted : <0xffa00ba4> { _evt_ivhw + 0x0 }
physical IVG15 asserted : <0xffa00d00> { _evt_system_call + 0x0 }
logical irq 6 mapped : <0xffa0037c> { _timer_interrupt + 0x0 }
RETE: <0x00000000> { _do_one_initcall + 0xfffff000 }
RETN: <0x0064fd50> /* kernel dynamic memory */
RETX: <0x00000480> /* Maybe fixed code section */
RETS: <0x0010878c> { _bfin_mac_probe + 0x104 }
PC : <0x0010878e> { _bfin_mac_probe + 0x106 }
DCPLB_FAULT_ADDR: <0x000000c8> /* Maybe null pointer? */
ICPLB_FAULT_ADDR: <0x0010878e> { _bfin_mac_probe + 0x106 }
PROCESSOR STATE:
R0 : fe22e000 R1 : 00004c52 R2 : 0000004c R3 : 00000000
R4 : 00000000 R5 : 00173d0c R6 : 000000ac R7 : 00000000
P0 : 00938f40 P1 : 00000000 P2 : ffc03008 P3 : 0016c9fc
P4 : 0067d000 P5 : 0067d130 FP : 0067d380 SP : 0064fc74
LB0: ffa01774 LT0: ffa01774 LC0: 00000000
LB1: 00017ad6 LT1: 00017ac0 LC1: 00000000
B0 : 00000000 L0 : 00000000 M0 : 00000000 I0 : 0015ecb8
B1 : 00000000 L1 : 00000000 M1 : 00000000 I1 : 00929d4c
B2 : 00000000 L2 : 00000000 M2 : 00000000 I2 : 00000000
B3 : 00000000 L3 : 00000000 M3 : 00000000 I3 : 00000000
A0.w: 00000000 A0.x: 00000000 A1.w: 00000000 A1.x: 00000000
USP : 00000000 ASTAT: 00003004
Hardware Trace:
0 Target : <0x00004a10> { _trap_c + 0x0 }
Source : <0xffa0062a> { _exception_to_level5 + 0x9e } CALL pcrel
1 Target : <0xffa0058c> { _exception_to_level5 + 0x0 }
Source : <0xffa0045a> { _bfin_return_from_exception + 0xe } RTX
2 Target : <0xffa0044c> { _bfin_return_from_exception + 0x0 }
Source : <0xffa004e2> { _ex_trap_c + 0x66 } JUMP.S
3 Target : <0xffa0047c> { _ex_trap_c + 0x0 }
Source : <0xffa003b2> { _ex_workaround_261 + 0x22 } JUMP.S
4 Target : <0xffa00390> { _ex_workaround_261 + 0x0 }
Source : <0xffa006c4> { _trap + 0x38 } JUMP (P4)
5 Target : <0xffa006aa> { _trap + 0x1e }
Source : <0xffa006a6> { _trap + 0x1a } IF !CC JUMP
6 Target : <0xffa0068c> { _trap + 0x0 }
Source : <0xffa0045a> { _bfin_return_from_exception + 0xe } RTX
7 Target : <0xffa0044c> { _bfin_return_from_exception + 0x0 }
Source : <0xffa003a2> { _ex_workaround_261 + 0x12 } IF !CC JUMP
8 Target : <0xffa00390> { _ex_workaround_261 + 0x0 }
Source : <0xffa006c4> { _trap + 0x38 } JUMP (P4)
9 Target : <0xffa006aa> { _trap + 0x1e }
Source : <0xffa006a6> { _trap + 0x1a } IF !CC JUMP
10 Target : <0xffa0068c> { _trap + 0x0 }
Source : <0x0010878c> { _bfin_mac_probe + 0x104 } 0x320f
11 Target : <0x0010878c> { _bfin_mac_probe + 0x104 }
Source : <0x000a5c90> { _setup_mac_addr + 0x14 } RTS
12 Target : <0x000a5c7c> { _setup_mac_addr + 0x0 }
Source : <0x00108788> { _bfin_mac_probe + 0x100 } CALL pcrel
13 Target : <0x00108720> { _bfin_mac_probe + 0x98 }
Source : <0x001086e8> { _bfin_mac_probe + 0x60 } IF !CC JUMP
14 Target : <0x001086a6> { _bfin_mac_probe + 0x1e }
Source : <0x001086a2> { _bfin_mac_probe + 0x1a } IF CC JUMP
15 Target : <0x0010869e> { _bfin_mac_probe + 0x16 }
Source : <0x000cb4c2> { _alloc_etherdev_mq + 0x1e } RTS
Kernel Stack
Stack info:
SP: [0x0064fcb4] <0x0064fcb4> /* kernel dynamic memory */
FP: (0x0064fd94)
Memory from 0x0064fcb0 to 00650000
0064fcb0: 00000000 [00000000] 00000000 00000000 00000000 00000000
00000000
0064fcd0: 00000000 00000000 00000000 00000000 00000000 00000000
00000000
0064fcf0: 00000000 00000000 00000000 00929d4c 0015ecb8 00000000
0067d380
0064fd10: 0067d000 0016c9fc ffc03008 00000000 00938f40 00000000
000000ac
0064fd30: 00000000 00000000 0000004c 00004c52 fe22e000 fe22e000
00938f40
0064fd50:<000732d4> 0016c9fc 00173d0c 00000000 0016ca64 0019843c
00173d0c >
0064fd70: 00173d0c <0009ff98> 0016c9fc 00173d0c 00168a5c 0016caa8
000000ac
0064fd90: 00000000 (00000000)<0010782c><00107854> 0016c908 <000a00f0>
0016c9fc
0064fdb0: 0019843c 0016caa8 001738cc 0019843c 00000000 <0009f7ae>
000a0084
0064fdd0: 00000000 0064fde4 007d99c0 <000893f4> 0015c624 037fb5d8
0016ca44 >
0064fdf0: 0015c624 00000000 007d99c0 00000000 0064fe24 0064fe24
<0009fb60>
0064fe10:<0009fb7e> 00145720 00000000 <000a0240> 001348d4 0013bb50
00000000 >
0064fe30: 0015c624 00173d0c 0019843c 00000000 00000000 0015c624
00190758
0064fe50:<00001028> 0015c624 00190758 00000000 00000000 00000000
00178cc8
0064fe70: 0064e000 000040d0 00000000 00000001 000240d0 00000000
00000000
0064fe90: 00000001 00000044 0064e000 0064e000 0064e000 000240d0
0064e000
0064feb0: 0062d820 00000000 00000000 00000000 00000000 00000000
00000000
0064fed0: 00000000 ffffffff <0064ff08><000886a2> 00170c18 001660e0
00166be8 >
0064fef0: 037fb6a4 00000000 000000d2 00166be8 000000d0 <0064ff08>
037eae10
0064ff10: 00000000 0019843c <0008887a> 00166be8 001660e0 00000000
<0006d9c0>
0064ff30: 001660e0 0019843c 0064ff5c 037c14a0 037c0300 00000000
00000000
0064ff50: 0064ff5c <0013ec88><0006dbdc> 000000d2 <0006dbea> 00170c18
037c14a0
0064ff70: 00000000 00000000 0064ff9c 7fffff00 00000001 <0002f6ce>
0064ff9c
0064ff90:<0006dcae> 00198208 037c0300 00003739 00000000 00190000
<0002f72a>
0064ffb0: 00198208 00000061 00170c18 <0017c3b0> 001983bc 00198208
00000000
0064ffd0: 00000000 00000000 00000000 00000000 00000000 <0000145e>
00000000
0064fff0: 00000000 00000000 ffffffff 00000006 037eb040
Return addresses in stack:
address : <0x000732d4> { _sysfs_create_link + 0xc }
address : <0x000728b6> { _create_dir + 0x3a }
address : <0x0009ff98> { _driver_probe_device + 0x80 }
frame 1 : <0x0010782c> { _klist_next + 0x20 }
address : <0x00107854> { _klist_next + 0x48 }
address : <0x000a00f0> { ___driver_attach + 0x6c }
address : <0x0009f7ae> { _bus_for_each_dev + 0x3a }
address : <0x000893f4> { _kobject_init_and_add + 0x24 }
address : <0x0009fe46> { _driver_attach + 0x1a }
address : <0x0009fb60> { _bus_add_driver + 0x64 }
address : <0x0009fb7e> { _bus_add_driver + 0x82 }
address : <0x000a0240> { _driver_register + 0x40 }
address : <0x000a0240> { _driver_register + 0x40 }
address : <0x00001028> { _do_one_initcall + 0x28 }
address : <0x0064ff08> /* kernel dynamic memory */
address : <0x000886a2> { _ida_get_new_above + 0x96 }
address : <0x00088716> { _ida_get_new_above + 0x10a }
address : <0x0064ff08> /* kernel dynamic memory */
address : <0x0008887a> { _ida_pre_get + 0xe }
address : <0x0006d9c0> { _proc_register + 0x30 }
address : <0x0013ec88> /* kernel dynamic memory */
address : <0x0006dbdc> { _create_proc_entry + 0x3c }
address : <0x0006dbea> { _create_proc_entry + 0x4a }
address : <0x0002f6ce> { _register_irq_proc + 0x76 }
address : <0x0006dcae> { _proc_mkdir_mode + 0x2e }
address : <0x0002f72a> { _init_irq_proc + 0x42 }
address : <0x0017c3b0> { _kernel_init + 0x84 }
address : <0x0000145e> { _kernel_thread_helper + 0x6 }
Modules linked in:
Kernel panic - not syncing: Kernel exception
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits