Skip to contentSkip to conversation

2.4 kernel ppc-405 query

DISCUSSION T Michael Turney 2 participants 2 messages Sep 22, 2004 – Sep 23, 2004

lore
Share & tools
lore
#0 lore raw

Folks,
Most of my PPC experience is with Freescale pieces.

I have downloaded 2.4.26 from kernel.org as well
as 2.4.22 and the penguinppc patches for 2.4.22.

Currently working with penguinppc 2.4.22 on custom hardware.

Q.1) 405 platform seems more vulnerable to OOPS from config changes than 8xx?

General observation is the 405 code base seems more "fragile" than 8xx/8xxx codebase.

Q.2) Is IDE internal workings different during discovery than FS accesses?

System can identify an IDE harddisk with 2 partitions but then generate OOPS later on when attempting to mount /root filesystem. I am suspecting initial device setup including interrupt but don't want to waste time if the discovery process indicates a fully-functional ide sub-system.

Cheers,
T.mike

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

T Michael Turney wrote:

| Folks,
| Most of my PPC experience is with Freescale pieces.

A little different sometimes.

| Q.1) 405 platform seems more vulnerable to OOPS from config changes than | 8xx?

I think that's not a valid statement - choose the wrong options and you'll end up with builds that haven't been well tested but for most normal configs you're fine. Perhaps you can provide some more information about your configuration.

| General observation is the 405 code base seems more "fragile" than 8xx/8xxx
| codebase.

It's changed quite randomly during the teen 2.4.xx kernels from not working at all to working mostly - that is if you use the stock kernel (which I do for everything I am doing) - but most folks seem to encourage the use of vendor kernels for development.

| Q.2) Is IDE internal workings different during discovery than FS accesses?

You'll need to be a bit more specific in your question there - discovery of IDE devices usually happens in the initialisation of the driver which is managing them (although of course you'll get hotplug types who'll jump up and down and say you might need to do this at any time) and in that sense is not running as a result of any calls from the block layer which the VFS (this is the filesystem layer's nomenclature) relies upon to provide it with buffers of sector data. So there are different parts of a driver but that's all fairly standard and documented.

Try checking out the Linux Device Drivers 2 book (freely available from O'Reilly - http://www.xml.com/ldd/chapter/book/ (there's a 2.6 version coming sometime soon apparently), Understanding the Linux Kernel, Linux Kernel Development, and the http://www.kernelnewbies.org/ website.

| System can identify an IDE harddisk with 2 partitions but then generate | OOPS later on when attempting to mount /root filesystem.

You need to send us a copy of the output which was generated and have parsed this with ksymoops or in the very least send me personally your output together with System.map and kernel image and I'll do this bit for you and followup.

Jon.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBUjEMeTyyexZHHxERAvmWAJ9CyoMPbCI8dt7rNzyCsKt0gNn11gCfSNyp IrTXHa/aqITU/Wv5eIS6lKQ=
=kkVd
-----END PGP SIGNATURE-----