Howdy,

I found my first Mandrake bugs, since installing 6.1 (helios).  I downloaded
all the latest rpms from the update directory from my local mirror.  They are:

MandrakeUpdate-6.1-3mdk.i586.rpm
am-utils-6.0.1s11-1mdk.i586.rpm
bind-8.2.2P5-1mdk.i586.rpm
dump-0.4b9-1mdk.i586.rpm
e2fsprogs-1.18-1mdk.i586.rpm
e2fsprogs-devel-1.18-1mdk.i586.rpm
gimp-1.0.4-7mdk.i586.rpm
gnuplot-3.7.0.1-4mdk.i586.rpm
initscripts-4.23-35mdk.i586.rpm
kernel-2.2.13-22mdk.i586.rpm
kernel-doc-2.2.13-22mdk.i586.rpm
kernel-fb-2.2.13-22mdk.i586.rpm
kernel-headers-2.2.13-22mdk.i586.rpm
kernel-ibcs-2.2.13-22mdk.i586.rpm
kernel-pcmcia-cs-2.2.13-22mdk.i586.rpm
kernel-smp-2.2.13-22mdk.i586.rpm
kernel-source-2.2.13-22mdk.i586.rpm
kvirc-0.9.1-1mdk.i586.rpm
lpr-0.43-1mdk.i586.rpm
mount-2.9w-3mdk.i586.rpm
netscape-common-4.70-1mdk.i586.rpm
netscape-communicator-4.70-1mdk.i586.rpm
netscape-navigator-4.70-1mdk.i586.rpm
screen-3.9.4-3mdk.i586.rpm
vixie-cron-3.0.1-38mdk.i586.rpm
wu-ftpd-2.6.0-1mdk.i586.rpm
xpdf-0.90-2mdk.i586.rpm
ypserv-1.3.9-1mdk.i586.rpm

The rest of my system is a stock Mandrake 6.1 with 'Everything' installed.

Since I built my own kernel which lives in /vmlinuz, I assumed that there
would be no problems updating the kernel, so I ran

rpm -Uhv *

Which segv'ed and dumped core.  I soon found that if rpm was getting more
than one file to install simultaneously it would dump core.  Anyway I soon
had them all installed with a quick:

for i in *; do rpm -Uhv $i; done

The second bug I found, is that either mkinitrd is broken, or the wrong
kernel was shipped in kernel-2.2.13-22mdk.i586.rpm.  I couldn't really find
out, because of my booting complications.  Anyway, I was keen to see the new
Mandrake 2.2.13-22 kernel.  So I ran:
'mkinitrd /boot/my.img 2.2.13-22mdk' (sic - definitely not 2.2.13-22mdksmp,
which does exist as a kernel in /boot).  This gave me my my.img, edited
lilo.conf, reran lilo, rebooted.  The new kernel came up correctly and root
was successfully mounted etc (and it was 2.2.13-22), but the damn thing is an
SMP kernel.  So either mkinitrd is using the wrong image from /boot, or the
wrong kernel was shipped in the distribution.

Third bug:  I decided I still wanted to see this -22 kernel, and so I would
build it from the sources.  I changed the symlink /usr/src/linux to point to
/usr/src/linux-2.2.13-22mdk.  Ran 'make xconfig'.  Was very impressed.  The
default config had everything being built as a module and everything
configured.  I changed my processor to a PPro, and turned SMP off.  I left
everything else at default.  Ran 'make bzImage'.  gcc quickly dies with
multiply defined stuff.

Moved back to 2.2.9 kernel sources, and everything now works fine.

Cheers,
chippo

Reply via email to