On Thu, 6 Apr 2006, Julian Hall wrote:
> > bunzip2 linux-2.6.16.tar.bz2
> > tar -xvf linux-2.6.16.tar
BTW, it's better (takes less time and disk space) if you use
tar xvfj linux-2.6.16.tar.bz2
instead of the two commands above. But of course, they are not wrong,
you can run
bzip2 linux-2.6.16.tar
after "tar -xvf linux-2.6.16.tar" to free up the disk space,
without loosing the download. bzip2 will need a few minutes
to recompress the uncompressed linux-2.6.16.tar, but you may
need that space when you compile and install the kernel in
the subsequent steps.
> > 3. Apply the attached patch by doing
> >
> > cd linux-2.6.16
> > patch -p1 < /path_to_the_patch/patch
> [...] Step 3 falls over with the error:
>
> can't find file to patch at input line 140
> the text leading up to this was:
> - --------------------------------------------------------
> |- - - drivers/pci/Makefile 2006/04/05 14:25:29 1.1
> |- - - drivers/pci/Makefile 2006/04/05 14:27:18
> - --------------------------------------------------------
>
> Then it prompts for the file to patch.
For the patch which I posted you have to use
patch -p0 < /path_to_the_patch/patch
to apply it. I was in a hurry so I forgot to make it compatible
with using "patch -p1 < /path_to_the_patch/patch".
For me, it would be more interesting if youy can try the newer patch
which I uploaded with this bugzilla comment:
http://bugzilla.kernel.org/show_bug.cgi?id=2944#c23
Download of the patch (is on the top of the comment):
http://bugzilla.kernel.org/attachment.cgi?id=7793&action=view
That is also created for using patch -p0, but it's also easyer
to run the code which is added by the patch, you do not need
to have /sys mounted for it and it executes when you run
modprobe fixup-parent-busses
after you booted the kernel which is compiled with the patch.
This is just a module for testing now to see if it fixes
the cardbus issue on all laptops, so I'd be happy if it
could be tried in may different systems.
The plan would be then to submit that for the main linux
kernel so that you do not have to apply and patch or load
any module and that it just works out of the box on every
newer kernel, but for this we need to know if that test
module fixes it.
> PS Apologies for any typoes. On the laptop the trackpad now refuses to
> work after the reinstall so I'm obliged to type everything out instead
> of copy/paste from the Console.
If you happen to have a USB mouse around, you could plug that if
your distribution/system/kernel would use it automatically or with
little effort and if you have sshd installed on it, you can login
to the laptop remotely from a different machine and use copy/paste
from there (in case there is more to copy/paste).
Bernhard
_______________________________________________
LinuxR3000 mailing list
[email protected]
http://lists.pcxperience.com/cgi-bin/mailman/listinfo/linuxr3000
Wiki at http://prinsig.se/weekee/