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

Prarit Bhargava wrote:

>
>> Hi Prarit,
>>
>> My Linux partition on the laptop seems to be hosed so it's a good
>> opportunity for me to try this fix. I'm pretty inexperienced at
>> patching kernels (read: Never done it!) so baby steps to tell me
>> what to do would be appreciated.
>>
>
> Hi Julian,
>
> 1. Download the latest kernel from kernel.org
>
> http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2
>
> 2. After saving this on your system, execute
>
> bunzip2 linux-2.6.16.tar.bz2
> tar -xvf linux-2.6.16.tar
>
> This will create a linux-2.6.16 directory.
>
> 3. Apply the attached patch by doing
>
> cd linux-2.6.16
> patch -p1 < /path_to_the_patch/patch
>
> 4. Copy the attached x86_64_config to linux-2.6.16/.config
>
> (The config is a config from Fedora ... so you may see a few errors
> during the make oldconfig phase below.... )
>
> 5. Execute make oldconfig, make modules, make modules_install, make
> install.
>
> 6. Modify your bootloader to boot the new kernel.
>
> P.

Hi Prarit,

Thanks for the excellent instructions :)

Steps 1 and 2 complete.  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.

Those lines are right at the bottom of the patch and are followed by:

@@ -40,6 +40,8 @@
obj-y += syscall.o
endif

+obj-m += fixup-parent-busses.o
+
ifeq ($(CONFIG_PCI_DEBUG),y)
EXTRA_CFLAGS += -DDEBUG
endif

Kind regards,

Julian

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.


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

iD8DBQFENTtFjs/5IBdCO1ERAtLYAJ9JoSOLa6Bna0BCGY4xb3cAERyN9QCfWMa7
mJ/sTwiGUBHA2QZu3tiEUdY=
=29fp
-----END PGP SIGNATURE-----

_______________________________________________
LinuxR3000 mailing list
[email protected]
http://lists.pcxperience.com/cgi-bin/mailman/listinfo/linuxr3000
Wiki at http://prinsig.se/weekee/

Reply via email to