https://bugzilla.novell.com/show_bug.cgi?id=301798#c2
Jeff Mahoney changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jeffm@novell.com
Status|NEW |NEEDINFO
Info Provider| |dmueller@novell.com
--- Comment #2 from Jeff Mahoney 2007-08-25 14:43:22 MST ---
Judging by the output, we're only getting this far:
init_netsc520
-> do_map_probe("cfi_probe", ..)
-> drv->prove (cfi_probe)
-> mtd_do_chip_probe
-> genprobe_ident_chips
-> genprobe_new_chip()
-> cfi_probe_chip (called 5 times, all fail. See below for
explanation.)
-> Either fail at qry_present or cfi_chip_setup() ->
!num_erase_regions. Nothing modifies map->virt.
/* Dump error message and return path is direct. */
cfi_probe_chip gets called 5 times (nr_chips == 2, 1, loops 2 and 3 times
respectively), which will fail each time or the error message about finding no
devices wouldn't get issued.
The ioremap_nocache apparently succeeds since it can only return something
valid or NULL, and we don't fail after the mapping. We don't build the map_ram
or map_rom modules, so those are short paths that only bounce in as far as
trying to load the module and failing immediately.
Dirk, can you add a printk after the ioremap_nocache() and before the iounmap()
so we can be certain something isn't getting overwritten here? It would also be
useful to know exactly which of the failure cases in cfi_probe_chip is being
triggered.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.