[#4583] SPORT char driver will cause BF537 kernel boot WARNING.
Submitted By: Bryan Wu
Open Date
2008-10-31 04:37:35 Close Date
2008-11-03 05:16:28
Priority:
Medium Assignee:
Mike Frysinger
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
N/A Board:
STAMP
Processor:
BF537 Silicon Revision:
0.2
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
App binary format:
N/A
Summary: SPORT char driver will cause BF537 kernel boot WARNING.
Details:
Since mike's commit "[5531] trunk/drivers/char/bfin_sport.c: cleanup driver"
---
Linux version 2.6.28-rc2-ADI-2009R1-pre-svn5531 (roc@roc-desktop) (gcc version 4.1.2 (ADI svn)) #35 Fri Oct 31 17:21:30 CST 2008
console [early_BFuart0] enabled
early printk enabled on early_BFuart0
Warning: limiting memory to 56MB due to hardware anomaly 05000263
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x0010c850
rodata = 0x0010c860-0x0015d4ac
bss = 0x0015d4c0-0x0016d42c
data = 0x0016d42c-0x0017e000
stack = 0x0017c000-0x0017e000
init = 0x0017e000-0x008c2000
available = 0x008c2000-0x037ff000
DMA Zone = 0x03f00000-0x04000000
Hardware Trace Active and Enabled
Blackfin support (C) 2004-2008 Analog Devices, Inc.
Compiled for ADSP-BF537 Rev 0.2
Blackfin Linux support by blackfin.uclinux.org/
Processor Speed: 500 MHz core clock and 100 MHz System Clock
NOMPU: setting up cplb tables for global access
Instruction Cache Enabled
Data Cache Enabled (write-through)
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 14223
Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=192.168.0.66:192.168.0.55:192.168.0.1:255.255.255.0:bf537-stamp:eth0:off
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: 47792k/65536k RAM, (7440k init code, 1070k kernel code, 454k data, 1024k dma, 7756k reserved)
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)
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 93
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler cfq registered
------------[ cut here ]------------
WARNING: at fs/sysfs/dir.c:462 _sysfs_add_one+0x3c/0x40()
sysfs: duplicate filename '237:0' can not be created
Modules linked in:
Hardware Trace:
0 Target : <0x00004838> { _dump_stack + 0x0 }
Source : <0x0000e2f0> { _warn_slowpath + 0x58 } CALL pcrel
1 Target : <0x0000e2f0> { _warn_slowpath + 0x58 }
Source : <0x000294ba> { _print_modules + 0x7a } RTS
2 Target : <0x000294b4> { _print_modules + 0x74 }
Source : <0x0000e9aa> { _printk + 0x16 } RTS
3 Target : <0x0000e9a6> { _printk + 0x12 }
Source : <0x0000f1dc> { _vprintk + 0x130 } RTS
4 Target : <0x0000f1bc> { _vprintk + 0x110 }
Source : <0x0000f300> { _vprintk + 0x254 } JUMP.S
5 Target : <0x0000f300> { _vprintk + 0x254 }
Source : <0x0000e81a> { _wake_up_klogd + 0x1a } RTS
6 Target : <0x0000e81a> { _wake_up_klogd + 0x1a }
Source : <0x0000e80c> { _wake_up_klogd + 0xc } IF !CC JUMP
7 Target : <0x0000e800> { _wake_up_klogd + 0x0 }
Source : <0x0000ec34> { _release_console_sem + 0x1b0 } JUMP.L
8 Target : <0x0000ec2c> { _release_console_sem + 0x1a8 }
Source : <0x0000ec20> { _release_console_sem + 0x19c } IF !CC JUMP
9 Target : <0x0000ec1c> { _release_console_sem + 0x198 }
Source : <0x0000ec0e> { _release_console_sem + 0x18a } IF !CC JUMP
10 Target : <0x0000ec08> { _release_console_sem + 0x184 }
Source : <0x00021dfc> { _up + 0x3c } RTS
11 Target : <0x00021df6> { _up + 0x36 }
Source : <0x00021de8> { _up + 0x28 } IF !CC JUMP
12 Target : <0x00021dc0> { _up + 0x0 }
Source : <0x0000ec04> { _release_console_sem + 0x180 } CALL pcrel
13 Target : <0x0000ebf0> { _release_console_sem + 0x16c }
Source : <0x0000ead6> { _release_console_sem + 0x52 } IF !CC JUMP
14 Target : <0x0000eaa6> { _release_console_sem + 0x22 }
Source : <0x0000ebd2> { _release_console_sem + 0x14e } IF !CC JUMP
15 Target : <0x0000ebcc> { _release_console_sem + 0x148 }
Source : <0x0000e76a> { __call_console_drivers + 0x7e } RTS
Stack info:
SP: [0x00957c7c] <0x00957c7c> /* kernel dynamic memory */
FP: (0x00957cd0)
Memory from 0x00957c70 to 00958000
00957c70: fffff30b 00957c7c 0016abb8 [0000e2f0]<0000e2f4> 00957c9c 00143898 <0008e17a>
00957c90: 00143898 000001ce 00957c9c 7379735f 615f7366 6f5f6464 302b656e 2f633378
00957cb0: 30347830 00000000 00000000 0000000a ffffffff ffffffff 00000000 ffffffff
00957cd0:(00957d00)<0008969e> 0097f16c 00169f10 00169ef8 00957d4c 00000000 00000002
00957cf0: 00000000 00169ef8 03272491 00000000 (00000000)<0004d9ba> 0097f2f8 ffffffff
00957d10: 00957d40 <0008969e> 0097ff58 00169f10 00169ef8 00957d8c 00000000 00000002
00957d30: 00000000 00169ef8 00169ef8 00957d40 00957e1c <0004d9ba> 037ef350 00957dc0
00957d50: 0016abb8 037f5000 000730ac 00957e1c <00073576> 0097ff58 037ef350 <0004da36>
00957d70: 037f5000 0097f16c 00957e1c 00957da0 <0007348c> 0097f16c ffffffef 0097ff58
00957d90: 03272468 0097f16c 037f7ce0 0016abb8 0095e420 <0007424c> 00957dc0 037ef350
00957db0: 00000000 03272468 <0008a30e> 00957e1c 037ef350 00000000 00000000 00000000
00957dd0:<0007435c> 0327248c 037f7ce0 00957e0c 03272400 7fffffff 00136425 00957e00
00957df0: 00000001 <000a0eda> 0097f2cc 0097f2f8 000000ed 00000000 03272400 3a373332
00957e10: 00100030 0097f2f8 0016abb0 0016abb0 <000a10e8> 03272400 00145a2c 0016abb8
00957e30: 0354fe60 0ed00000 00000000 00000000 0327248c 00000014 00145a33 00957e9c
00957e50:<000a1126> 00000002 00957e9c 0ed00000 00000000 0015d4e4 00191f88 00000000
00957e70: 00000000 00145a2c 00957e9c 00957e9c <00192020> 00000000 00000000 00000000
00957e90: 00136190 00000000 00145a2c 00000001 00000000 <00001028> 0015d4e4 00191f88
00957eb0: 0019a4d4 00000000 00000000 00000000 00000000 00000000 00000000 037fd220
00957ed0: ffffffff 00957f04 <0008969e> 00172ca8 001683cc 00168edc <00089712> 037fb6a4
00957ef0: 00000000 000000d2 00168edc 000000d0 00957f04 037ebf28 00000000 00000000
00957f10: 0019a4d4 <0008987a> 00168edc 001683cc 00000000 <0006e9a8> 00172ca8 001683cc
00957f30: 0019a4d4 00957f58 037c84a0 037c7300 00000000 00000000 00168edc 00957f58
00957f50:<0013fd8c><0006ebd0> 000000d2 <0006ebde> 00172ca8 037c84a0 00004000 00000000
00957f70: 00000000 00957f98 7fffff00 00000001 <0002e4fc> 00957f98 00000061 <0006eca2>
00957f90: 0019a2b0 037c7300 00003739 00000000 00190000 <0002e55a> 001715e8 0019a2b0
00957fb0: 00000061 00172ca8 <0017e3ba> 0019a450 0019a2b0 00000000 00000000 00000000
00957fd0: 00000000 00000000 00000000 00000000 00000001 <00001466> 00000000 00000000
00957ff0: 00000000 00000000 ffffffff 00000006 00954340
Return addresses in stack:
address : <0x0000e2f0> { _warn_slowpath + 0x58 }
address : <0x0000e2f4> { _warn_slowpath + 0x5c }
address : <0x0008e17a> { _vsnprintf + 0x296 }
frame 1 : <0x0008969e> { _ida_get_new_above + 0x96 }
frame 2 : <0x0004d9ba> { _ifind + 0xe }
address : <0x0008969e> { _ida_get_new_above + 0x96 }
address : <0x0004d9ba> { _ifind + 0xe }
address : <0x00073576> { _sysfs_new_dirent + 0x42 }
address : <0x0004da36> { _ilookup5 + 0x2e }
address : <0x0007348c> { _sysfs_add_one + 0x3c }
address : <0x0007424c> { _sysfs_do_create_link + 0x88 }
address : <0x0008a30e> { _kobject_add_varg + 0x16 }
address : <0x0007435c> { _sysfs_create_link + 0xc }
address : <0x000a0eda> { _device_add + 0x35e }
address : <0x000a10e8> { _device_create_vargs + 0x70 }
address : <0x000a1126> { _device_create + 0x1a }
address : <0x00192020> { _sport_init_module + 0x98 }
address : <0x00001028> { _do_one_initcall + 0x28 }
address : <0x0008969e> { _ida_get_new_above + 0x96 }
address : <0x00089712> { _ida_get_new_above + 0x10a }
address : <0x0008987a> { _ida_pre_get + 0xe }
address : <0x0006e9a8> { _proc_register + 0x30 }
address : <0x0013fd8c> /* kernel dynamic memory */
address : <0x0006ebd0> { _create_proc_entry + 0x3c }
address : <0x0006ebde> { _create_proc_entry + 0x4a }
address : <0x0002e4fc> { _register_irq_proc + 0x80 }
address : <0x0006eca2> { _proc_mkdir_mode + 0x2e }
address : <0x0002e55a> { _init_irq_proc + 0x42 }
address : <0x0017e3ba> { _kernel_init + 0x8a }
address : <0x00001466> { _kernel_thread_helper + 0x6 }
---[ end trace 5b238552e1e0dfd4 ]---
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART
brd: module loaded
bfin_mac_mdio: probed
bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=19)@sclk=100MHz)
bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1
bfin-spi bfin-spi.0: Blackfin BF5xx 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)
TCP cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 1970-01-01 07:31:52 UTC (27112)
IP-Config: Complete:
device=eth0, addr=192.168.0.66, mask=255.255.255.0, gw=192.168.0.1,
host=bf537-stamp, domain=, nis-domain=(none),
bootserver=192.168.0.55, rootserver=192.168.0.55, rootpath=
Freeing unused kernel memory: 7440k freed
dma_alloc_init: dma_page @ 0x008be000 - 256 pages at 0x03f00000
_____________________________________
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.12.1 (2008-10-31 17:19:56 CST) built-in shell (msh)
Enter 'help' for a list of built-in commands.
root:/> PHY: 0:01 - Link is Up - 100/Full
---
-Bryan
Follow-ups
--- Mike Frysinger 2008-10-31 06:48:48
fixed in trunk
--- Bryan Wu 2008-11-03 05:16:28
Thanks, Mike.
Close it.
-Bryan
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found