How toupgrade kernel

How toupgrade kernel

Post by Don Awal » Mon, 15 Nov 1999 04:00:00



I have successfully installed Mandrake 6.1 fresh. I downloaded the updates
which included the 2.2.13-22mdk (from -7mdk). It says "must manually edit
lilo.conf..."

What I did was copied the existing 5 line image entry, and pasted a new
entry (called the old one "oldlinux" so I could reboot). Changed the image
line to be image=/boot/vmlinuz-2.2.13-22mdk, left everything else the same
(root = /dev/hda1 for example).

I then did LILO -v, which appeared to run fine. But when I boot on new
kernel, I get fsck.ext2: no such device while trying to open /dev/sda1.
Then a long error message about the superblock.

What did I do wrong?

 
 
 

How toupgrade kernel

Post by David Eastcot » Mon, 15 Nov 1999 04:00:00


In your /boot directory, are the System.map and vmlinuz links pointing
to their ...-22mdk equivelents?

Does your lilo.conf have a line like initrd=  ?  If its does, then check
to see if the ...-22mdk.img is also present in your /boot.

When I did the update, it replaced my current (-7mdk) files with the new
ones but it did not create a new initrd-2.2.13-22mdk.img.  Consequently,
preserving the old lilo.conf lines were not of much use.

use mkinitrd /boot/initrd-2.2.13-22mdk.img 2.2.13-22mdk

Hope it helps.

 
 
 

How toupgrade kernel

Post by Don Awal » Tue, 16 Nov 1999 04:00:00


That did it! Thank you so much for your help. I never found anywhere about
the mkinitrd command and it's need.
Treat yourself to something fun tonight - you deserve it ;-)


Quote:> In your /boot directory, are the System.map and vmlinuz links pointing
> to their ...-22mdk equivelents?

> Does your lilo.conf have a line like initrd=  ?  If its does, then check
> to see if the ...-22mdk.img is also present in your /boot.

> When I did the update, it replaced my current (-7mdk) files with the new
> ones but it did not create a new initrd-2.2.13-22mdk.img.  Consequently,
> preserving the old lilo.conf lines were not of much use.

> use mkinitrd /boot/initrd-2.2.13-22mdk.img 2.2.13-22mdk

> Hope it helps.

 
 
 

How toupgrade kernel

Post by Martin Cleav » Mon, 20 Dec 1999 04:00:00




Quote:>That did it! Thank you so much for your help. I never found anywhere about
>the mkinitrd command and it's need.
>Treat yourself to something fun tonight - you deserve it ;-)

Maybe you could recapitulate for me exactly what you did... (I didn't
understand what exactly you did in the first post, and how to recover if it
goes wrong... :-(

(Something about "boot: old kernel")

I was hoping that Mandrake would protect us non-tech newbies from all this
:-(

Rgds

martin

 
 
 

1. aha1542, module vs kernel, kernel doesn't work, need kernel

The reason I need it as kernel code is so that I can put /usr on a
seperate 8.2g drive.

When aha1542 is built as a module, it pops up immediately before the
login screen, and everything works as planned.

Remaking the kernel with it set to be kernel code, it starts the bus
scan during the boot, not too long after the ide devices are found, but
then goes into a double loop of resetting the device 2-4 times, then the
whole bus, then repeats the device, all the while saying it can't abort
the call, but evertually it will find the drive at address 0 on the bus
and go on, at which point it repeats this procedure for address one,
each pass thru the loop taking about 5 minutes, finding the quatum 8.2g
at each addreess in turn until it gets to address 4, at which point the
discovery phase eventually finds a Colorado T4000s at address 4, which
is its correct address, then also at 5 & 6.

Then it apparently repeats the loop, asking each device for its capacity
details, and going through this same error recovery time killer, except
that this time it only gets partial answers only, and only at the
correct address for the device.

I let it go through all that, and finally got a login screen and did so,
but was unable to open either device, not even with fdisk /dev/sda.

I've used several of these cards in years past, and have always had to
edit the source to lower the address of its port by 0x100, to the 0x230
area, and to reset the irq from 11 to 10.  Without those changes the
module doesn't init itself, ever, and it has required those changes to
the code in order to function on 3 different motherboards I've run it
on.

But here, I need the direct in the kernel version so I can put /usr on
it.  Put it in the kernel, and it fails miserably, both for 2.2.18,
2.2.19, and 2.4.2.  The 2.4.2 failure surprised me as that code has a
diff that looks to be in excess of 10k from the older code.

So why can't I put aha1542.o into the (apparently any) kernel?
Inquiring minds want to know. (-;

Cheers, Gene
--

        email gene underscore heskett at iolinc dot net
#Amiga based X10 home automation program EZHome, see at:#
 <http://www.iolinc.net/gene_heskett>
This messages reply content, but not any previously quoted material,
is ? 2001 by Gene Heskett, all rights reserved.  Due to recent
changes in M$ lusers TOS, mail from msn.com, msn.net, microsoft.com,
microsoft.net, hotmail.com, and hotmail.net is auto-deleted, unread.
--

2. KDE networking

3. proposal: feed smaller mailing lists into linux-kernel, add linux-kernel-core and linux-kernel-bugs

4. Unix - Frequently Asked Questions (Contents) [Frequent posting]

5. Kernel configuration in kernel, kernel 2.4.20

6. LPRng on Solaris 8

7. redhat 9 kernel diff from kernel.org kernel?

8. Multiple psaux readers?

9. Kernel configuration in kernel, kernel 2.5.53

10. ALERTE: VIRUS DETECTE DANS UN MESSAGE ENVOYE PAR linux-kernel-owner@vger.kernel.org

11. "kernel version needed..." problem creating RedHat kernel???

12. [Kernel Q} What happended to "sema" and other kernel symbols in aix4.3.2 ???

13. not inline code in kernel (reducing kernel size)