[#4733] cat /proc/cpuinto on bf527-ezkit would make kernel panic
Submitted By: Mingquan Pan
Open Date
2008-12-19 05:48:24 Close Date
2008-12-21 22:33:29
Priority:
Medium Assignee:
Nobody
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
N/A Board:
N/A
Processor:
N/A Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Assigned (Not Start)
Uboot version or rev.:
Toolchain version or rev.:
Nov 11
App binary format:
N/A
Summary: cat /proc/cpuinto on bf527-ezkit would make kernel panic
Details:
cat /proc/cpuinto on bf527-ezkit would make kernel panic from about Dec 13.
the kernel config is default.
Loading .text @ 0x00001000 (1196256 bytes)
Loading .rodata @ 0x001250e0 (299708 bytes)
Loading .init.rodata @ 0x0016e39c (156 bytes)
Loading __ksymtab @ 0x0016e438 (16528 bytes)
Loading __ksymtab_gpl @ 0x001724c8 (5752 bytes)
Loading __ksymtab_strings @ 0x00173b40 (50054 bytes)
Loading __init_rodata @ 0x0017fec8 (172 bytes)
Loading __param @ 0x0017ff74 (640 bytes)
Clearing .bss @ 0x00180200 (61488 bytes)
Loading .data @ 0x0018f230 (69072 bytes)
Loading .init.text @ 0x001a0000 (101188 bytes)
Loading .init.data @ 0x001b8b44 (20716 bytes)
Loading .init.setup @ 0x001bdc30 (612 bytes)
Loading .initcall.init @ 0x001bde94 (656 bytes)
Loading .con_initcall.init @ 0x001be124 (4 bytes)
Loading .init.ramfs @ 0x001be128 (2743412 bytes)
Loading .text_l1 @ 0xffa00000 (5200 bytes)
sh_addr: FFA00000, p_paddr: 0045BD9C
Loading from: 0144D000 to 0045BD9C, size: 5200
Loading .data_l1 @ 0xff800000 (192 bytes)
sh_addr: FF800000, p_paddr: 0045D1EC
Loading from: 0144F000 to 0045D1EC, size: 192
## Starting application at 0x001ad500 ...
Linux version 2.6.28-rc2-ADI-2009R1-pre-svn5863 (test@uclinux60-bf527-std) (gcc version 4.1.2 (ADI svn)) #33 Sun Dec 14 03:03:45 CST 2008
console [early_BFuart0] enabled
early printk enabled on early_BFuart0
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x001250e0
rodata = 0x001250e0-0x001801f4
bss = 0x00180200-0x0018f230
data = 0x0018f230-0x001a0000
stack = 0x0019e000-0x001a0000
init = 0x001a0000-0x0045e000
available = 0x0045e000-0x03eff000
DMA Zone = 0x03f00000-0x04000000
Hardware Trace Active and Enabled
Reset caused by Software reset
Blackfin support (C) 2004-2008 Analog Devices, Inc.
Compiled for ADSP-BF527 Rev 0.0
ERROR: Not running on ADSP-BF527: unknown CPUID 0x27e0 Rev 0.0
Blackfin Linux support by blackfin.uclinux.org/
Processor Speed: 525 MHz core clock and 131 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: 16001
Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart1,57600 console=tty0 console=ttyBF0,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.f
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 256 (order: 8, 1024 bytes)
console handover: boot [early_BFuart0] -> real [ttyBF0]
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 59456k/65536k RAM, (2808k init code, 1168k kernel code, 492k data, 1024k dma, 584k reserved)
Calibrating delay loop... 1044.48 BogoMIPS (lpj=2088960)
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 (42 KB free)
PDA for CPU0 reserved at 00181138
net_namespace: 288 bytes
NET: Registered protocol family 16
Blackfin GPIO Controller
Blackfin DMA Controller
stamp_init(): registering device resources
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
musb_hdrc: version 6.0, pio, host, debug=0
musb_hdrc: USB Host mode controller at ffc03800 using PIO, IRQ 59
musb_hdrc musb_hdrc.0: MUSB HDRC host driver
musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
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 116
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler cfq registered
bfin-t350mcqb: 320x240 24-bit RGB FrameBuffer initializing...
dma_alloc_init: dma_page @ 0x03917000 - 256 pages at 0x03f00000
bfin-otp: initialized
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc02000 (irq = 31) is a BFIN-UART
brd: module loaded
bfin_mac_mdio: probed
bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=25)@sclk=131MHz)
bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1
m25p80 spi0.1: m25p16 (2048 Kbytes)
Creating 2 MTD partitions on "m25p80":
0x00000000-0x00040000 : "bootloader(spi)"
0x00040000-0x00200000 : "linux kernel(spi)"
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@7
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
hid_tmff: Unknown symbol _input_ff_create_memless
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 2004-06-01 00:37:56 UTC (1086050276)
IP-Config: Complete:
device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,
host=bf527-ezkit, domain=, nis-domain=(none),
bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=
Freeing unused kernel memory: 2808k freed
_____________________________________
a8888b. / Welcome to the uClinux distribution \
d888888b. / _ _ \
8P"YP"Y88 / | | |_| __ __ (TM) |
8|o||o|88 _____/ | | _ ____ _ _ \ \/ / |
8' .88 \ | | | | _ \| | | | \ / |
8`._.' Y8. \ | |__ | | | | | |_| | / \ |
d/ `8b. \ \____||_|_| |_|\____|/_/\_\ |
dP . Y8b. \ For embedded processors including |
d8:' " `::88b \ the Analog Devices Blackfin /
d8" 'Y88b \___________________________________/
:8P ' :888
8a. : _a88P For further information, check out:
._/"Yaa_: .| 88P| - blackfin.uclinux.org/
\ YP" `| 8P `. - docs.blackfin.uclinux.org/
/ \.___.d| .' - www.uclinux.org/
`--..__)8888P`._.' jgs/a:f - www.analog.com/blackfin
Have a lot of fun...
BusyBox v1.13.1 (2008-12-14 01:03:44 CST) built-in shell (msh)
Enter 'help' for a list of built-in commands.
root:/> PHY: 0:01 - Link is Up - 100/Full
usb 1-1: new high speed USB device using musb_hdrc and address 2
usb 1-1: configuration #1 chosen from 1 choice
root:/>
root:/> ls
bin etc init mnt root sys usr
dev home lib proc sbin tmp var
root:/> cat /proc/cpuinfo
Data access CPLB miss
- Used by the MMU to signal a CPLB miss on a data access.
Kernel OOPS in progress
Deferred Exception context
CURRENT PROCESS:
COMM=cat PID=214
CPU = 0
TEXT = 0x00300040-0x00346b00 DATA = 0x00346b04-0x003587e4
BSS = 0x003587e4-0x0035a104 USER-STACK = 0x00362f78
return address: [0x0000202c]; contents of:
0x00002000: 5223 2ff6 3211 05e3 e800 0008 3238 9152
0x00002010: bdf2 e14a ffc0 e10a 0014 9110 4ee0 3218
0x00002020: 0c43 1411 e14a ef00 e10a 0014 [9510] 6081
0x00002030: 0808 1809 e122 2796 0810 e181 ffff 6008
SEQUENCER STATUS: Not tainted
SEQSTAT: 00062026 IPEND: 8030 SYSCFG: 0006
EXCAUSE : 0x26
physical IVG15 asserted : <0xffa00c44> { _evt_system_call + 0x0 }
logical irq 6 mapped : <0xffa0032c> { _timer_interrupt + 0x0 }
logical irq 13 mapped : <0x0009552c> { _bfin_t350mcqb_irq_error + 0x0 }
logical irq 21 mapped : <0x000c3fa0> { _bfin_rtc_interrupt + 0x0 }
logical irq 31 mapped : <0x000a0f28> { _bfin_serial_dma_rx_int + 0x0 }
logical irq 32 mapped : <0x000a1228> { _bfin_serial_dma_tx_int + 0x0 }
logical irq 35 mapped : <0x000a91e0> { _bfin_mac_interrupt + 0x0 }
logical irq 59 mapped : <0x000bdb80> { _blackfin_interrupt + 0x0 }
RETE: <0x00000000> { _do_one_initcall + 0xfffff000 }
RETN: <0x03ed5e14> /* kernel dynamic memory */
RETX: <0x00000480> /* Maybe fixed code section */
RETS: <0x000508f6> { _seq_read + 0x72 }
PC : <0x0000202c> { _show_cpuinfo + 0x28 }
DCPLB_FAULT_ADDR: <0xef000014> /* kernel dynamic memory */
ICPLB_FAULT_ADDR: <0x0000202c> { _show_cpuinfo + 0x28 }
PROCESSOR STATE:
R0 : 00000000 R1 : 03ed5e70 R2 : 00000000 R3 : 0000000b
R4 : 00000000 R5 : 03ed5e70 R6 : 00361e90 R7 : 03ed5e70
P0 : 03efb120 P1 : 00000000 P2 : ef000014 P3 : 00000000
P4 : 00001000 P5 : 001c1ba0 FP : 001c1ba0 SP : 03ed5d38
LB0: 0030c5cf LT0: 0030c5c6 LC0: 00000007
LB1: 0003ba6e LT1: 0003ba68 LC1: 00000000
B0 : 00000000 L0 : 00000000 M0 : 00000000 I0 : 00362fec
B1 : 00000000 L1 : 00000000 M1 : 00000000 I1 : 0034f7ac
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 : 00361e4c ASTAT: 02002021
No trace since you do not have CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE enabled
Kernel Stack
Stack info:
SP: [0x03ed5f24] <0x03ed5f24> /* kernel dynamic memory */
Memory from 0x03ed5f20 to 03ed6000
03ed5f20: 00000003 [00302122] 00008000 00002000 00000000 03ed6000 00302122 00302122
03ed5f40:<0031a5c8><ffa00ca8> 02003024 039922e1 0030c5cf 039922da 0030c5c6 00000000
03ed5f60: 00000007 00000000 00000000 00000000 00000000 00000000 00000000 00000000
03ed5f80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
03ed5fa0: 00000000 00000000 00000000 0034f7ac 00362fec 00361e4c 00361e58 00359768
03ed5fc0: 00000001 00000003 00359d0c ffffeff4 00000003 00001000 00361e90 00000003
03ed5fe0: 00000001 <00362fa2> 00001000 00361e90 00000003 00000003 00000003 00000006
03ed6000: 00005401
Return addresses in stack:
address : <0x0031a5c8> [ cat + 0x1a588 ]
address : <0xffa00ca8> { _evt_system_call + 0x64 }
address : <0x00362fa2> [ cat + 0x62fa2 ]
Modules linked in:
Kernel panic - not syncing: Kernel exception
Follow-ups
--- Mike Frysinger 2008-12-19 13:54:08
works fine on my bf527-ezkit ...
--- Mingquan Pan 2008-12-21 22:33:29
Yes, the trunk head kernel now is ok. Close.
--- Mingquan Pan 2008-12-22 02:33:30
But there is the line printed :
Compiled for ADSP-BF527 Rev 0.0
ERROR: Not running on ADSP-BF527: unknown CPUID 0x27e0 Rev 0.0
Is there something wrong?
--- Sonic Zhang 2008-12-22 23:29:13
Don't worry. This is a cpuid bug already filed by Bryan.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found