NULL pointer dereference at s3cmci
andy at openmoko.com
Sun Aug 3 10:50:18 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Somebody in the thread at some point said:
| Cesar Eduardo Barros escreveu:
|> [21474554.520000] Unable to handle kernel NULL pointer dereference at
|> [21474554.540000] [<c01fe320>] (mmc_power_up+0x0/0x100) from
|> [<c01fede4>] (mmc_rescan+0x98/0x1a8)
| Looking at the assembly code, the oops happens at the first
| mmc_set_ios(host) within mmc_power_up(). For some reason, host->ops is
| The only possible call path I can imagine for that is s3cmci_irq_cd
| getting called before host->ops is set, thus calling mmc_detect_change()
| which will schedule host->detect which is mmc_rescan.
| Attempting to add Thomas Kleffel <tk at maintech.de> (who is the original
| code author) to the CC (some CCs are getting lost for some reason; I'm
| hoping this one works).
I was upleveling our tracking branch to 2.6.27-rc1 yesterday and I
noticed major changes went in there for s3cmci, just a FYI.
Looking at the backtrace I think you have the right idea, somehow async
change detect comes before probe completes, something like that.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the openmoko-kernel