[#5852] enabling bfin_mac and bfin_nand on bf526-ezbrd leads to NULL pointer crash
Submitted By: Mike Frysinger
Open Date
2010-01-27 01:47:00 Close Date
2010-06-11 04:59:25
Priority:
Medium Assignee:
Sonic Zhang
Status:
Closed Fixed In Release:
N/A
Found In Release:
2010R1 Release:
trunk
Category:
N/A Board:
N/A
Processor:
BF527 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
trunk Toolchain version or rev.:
trunk
App binary format:
N/A
Summary: enabling bfin_mac and bfin_nand on bf526-ezbrd leads to NULL pointer crash
Details:
looks like the error unwinding in bfin_mac_probe() isnt 100% ...
the crash can be seen here:
http://blackfin.uclinux.org/gf/download/forummessage/84997/7444/bf526-ezbrd_boot_crash_dump.txt
ignore the first peripheral traceback and look at:
bfin_mii_bus: probe of bfin_mii_bus.0 failed with error -16
NULL pointer access
Kernel OOPS in progress
Deferred Exception context
......
Follow-ups
--- Sonic Zhang 2010-03-29 05:01:35
Fixed. Platform driver probe function returns 0 if fails.
--- Robin Getz 2010-03-29 12:42:31
I think this breaks stuff. (at least on the 537-stamp).
-Robin
--- Sonic Zhang 2010-03-30 01:06:16
Rollback last patch and fix again.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found