[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ppscsi on 2.6 kernels



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

I a mandrake user building myu own kernel, I have get a bug that  has
got too...


here is what I found to solve it...
It's just for help...


http://lists.infradead.org/pipermail/linux-parport/2004-March/000054.html
| Hi,
|
| thanks to Jochen Eisinger for the submitted patch for the ppscsi
| drivers on 2.6.x kernel. It could not works properly on mine. but with
| the simple following modification I managed to get it working.
|
| the message I got was : "Unknown symbol __udivdi3"
|
| here's he patching patch.
|
| The patch here :

- --- linux-ppscsi-2.6.x.patch    2004-03-07 11:06:55.610596224 +0100
+++ linux-ppscsi-2.6.x.patched.patch    2004-03-07 11:11:26.118472776 +0100
@@ -2602,11 +2602,11 @@
~ +{
~ +      ip[0] = 0x40;
~ +      ip[1] = 0x20;
- -+      ip[2] = (capacity +1) / (ip[0] * ip[1]);
++      ip[2] = ((unsigned long) capacity +1) / (ip[0] * ip[1]);
~ +      if (ip[2] > 1024) {
~ +              ip[0] = 0xff;
~ +              ip[1] = 0x3f;
- -+              ip[2] = (capacity +1) / (ip[0] * ip[1]);
++              ip[2] = ((unsigned long) capacity +1) / (ip[0] * ip[1]);
~ +              if (ip[2] > 1023)
~ +                      ip[2] = 1023;
~ +      }

Enjoy!

I am avaible at rapsys PATCH free KIKOO fr
for the spammer I modified a few my e-mail:
"s/ PATCH /@/" "s/ KIKOO /./"

Continue on the way...

- --

Is the geek an eternal newbie or the newbie an eternal geek ???
I was a newbie, I am not a geek, I am on the road...

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

iD8DBQFAXjQY7G2fCJ1jurERAm9ZAKDWWax7446BcQCAemm/TrQQyzEaiQCg5OfT
6ay8DutpoCA1lKdDkKdcis8=
=GP+Q
-----END PGP SIGNATURE-----



Reply to: