On Mon, Dec 12, 2005 at 09:18:01PM -0200, Paulo Marcel Coelho Aragao wrote:
> Erik van Konijnenburg wrote on Dec, 12:
> > http://arch.debian.org/arch/yaird/[EMAIL 
> > PROTECTED]/yaird/yaird--devo/yaird--devo--0.1/patch-131/
> > Could you give it a try and let me know if it actually works?
> 
> Apologies for the more than basic question: how do I apply the patch ?

None needed, my description was rather cryptic ...
Step by step:

**      Decide if you want to go ahead with this test.
        Only try this if you know how to recover from a non-booting kernel
        (& if I'm correct you've just done that)

**      Save the attached patch.

**      Make backup:
        $ cp /usr/lib/yaird/perl/Hardware.pm just-in-case.pm

**      Apply patch:
        $ sudo patch /usr/lib/yaird/perl/Hardware.pm < 
/dat/tmp/Hardware.pm.patch
        patching file /usr/lib/yaird/perl/Hardware.pm
        Hunk #1 succeeded at 216 (offset -18 lines).
        $ 

        (the offset is a normal warning in this case)

**      Comment out any work-arounds (MODULE ide-generic) you may have made
        in /etc/yaird/Default.cfg

        This is an important bit: you would not want to report success with
        the patch if actually your edit in Default.cfg is what makes the system 
boot.

**      Use the patched version to make a new initrd.img.
        A quick way to do this is 

        $ sudo apt-get install linux-image-2.6.14-2-686-smp

        but only if you don't actually have an SMP system.  This should
        leave your normal single-cpu kernel in place and install an smp
        kernel, with new initrd.img, next to it.

**      reboot into new kernel; report success; undo if you don't like the
        effect.


Regards,
Erik



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to