Re: Bug#343048: linux-image-2.6.14-2-686: ide fails to initialize (patch results)
Erik van Konijnenburg wrote on Dec, 13:
> > > http://firstname.lastname@example.org/yaird/yaird--devo/yaird--devo--0.1/patch-131/
> > > Could you give it a try and let me know if it actually works?
> ** 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)
It's mine and everybody else's interest to have this solved.
> ** Save the attached patch.
Had already downloaded it from the URL you gave.
> ** 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
> 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.
It would take a while to download, so I did:
sudo yaird -v -o /boot/initrd.img-2.6.14-2-686.patched | tee yaird.log
and edited grub initrd at boot time.
> ** reboot into new kernel; report success; undo if you don't like the
Bingo ! Flawless boot: all IDE devices recognized.
Thanks a lot for the speedy patch !