I sent a message about this to the expert list yesterday, but got no response
and also decided perhaps this was relevant to cooker, so am sending a revised
version here as well. My apologies if you see it twice.
I have new machine with a motherboard with the new VIA VT8233A chip (which
supports UDMA133). This chip is not recognized by the the Mandrake 8.2
kernel code, so I have only very slow disk access. I have gotten ahold of
the 2.4.18 kernel patch that should allow this chip to be recognized (patch
is from Vojtech Pavlik). It looks like a fairly straightforward patch.
However, I cannot get the Mandrake 8.2 (2.4.18) kernel to compile--with or
without the patch. I was hoping someone might be able to tell me what I am
doing wrong so I can test the patch.
When I applied the patch to the 2.4.18-mdk6 source and tried the kernel
compile, I got apparent compiler errors ("internal error: segmentation
fault"). To see if it was the patch, I then reverted all code and tried to
simply recompile the MDK kernel. Same problem (though in a different file).
In other words, I can't get Mandrake 8.2's supplied kernel source to compile.
Why? (I notice other people on the expert list also mentioning kernel
compile problems with 8.2.)
Here are the details on what I did in trying to simply recompile MDK kernel:
(1) made sure gcc was installed: gcc-2.96-0.76mdk
(2) made sure kernel source files were installed:
kernel-headers-2.4.18-25mdk and kernel-source-2.4.18-6mdk
(3) copied /usr/src/linux/arch/i386/defconfig to /usr/source/linux/.config
(4) make oldconfig
(5) make dep && make clean
(6) make bzImage
Runs for a while and then ends in some file with an error like:
tty_io.c: In function `release_dev':
tty_io.c:1277: Internal error: Segmentation fault.
Please submit a full bug report.....
If I make changes to the .config or try using defconfig-enterprise, I can
change the file in which the seg fault occurs, but it always occurs. This is
how I understand to do the kernel compile--and I have rechecked Mandrake's
documentation (from 8.1). What am I doing wrong? Or is there something
wrong with MDK8.2 files? If so, is there a work around?
Thanks for your help. I would really like to get the disk running at full
speed on this machine, and I am sure other people will start having issues
with this chip so it seems useful to find out about this patch.
Norm