[PATCH 2.6] i2o_proc converting from proc_read to seq_file with problemsand request for help

From: Markus Lidel
Date: Wed May 12 2004 - 06:33:56 EST


first, i didn't attach the patch because the size is 120k and it doesn't work at the moment. If you want it by e-mail, please let me know. Meanwhile you could download the patch from:


The patch converts the proc_read function to the seq_file function (thanks to Al Viro for helping).

Only some functions are working without any problem (e. g. i2o_*_lct). But some others get a Segmentation fault (e. g. i2o_*_claimed). Strange about it is that the Segmentation fault occur after the function returns and the output is displayed normally.

If you want the output of the kernel for 32-bit UP and 64-bit SMP system, look at http://i2o.shadowconnect.com/testing/.

Any help what i done wrong would be appreciated.

Thank you very much.

Markus Lidel
Markus Lidel (Senior IT Consultant)

Shadow Connect GmbH
Carl-Reisch-Weg 12
D-86381 Krumbach

Phone: +49 82 82/99 51-0
Fax: +49 82 82/99 51-11

E-Mail: Markus.Lidel@xxxxxxxxxxxxxxxxx
URL: http://www.shadowconnect.com

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/