Re: where are patches located?
On Thu, Aug 10, 2000 at 05:07:42PM +0200, Karl-Heinz Herrmann wrote: Hi, On 10-Aug-00 Christoph Kukulies wrote: If the patch is not clean (i.e. rejects) you probably had a kernel patched with the old style md-raid. The patch is probably against a clean kernel source. Indeed, I had some rejects. Uh. Then there is some problem like that. If you have your kernel running, what does "cat /proc/mdstat" say? There is a little difference between the output between the old "mdstyle" raid and the newer code (suitable with the new raidtools-0.90). # cat /proc/mdstat Personalities : [1 linear] [2 raid0] [3 raid1] [4 raid5] read_ahead not set md0 : inactive md1 : inactive md2 : inactive md3 : inactive Either get a clean kernel or a patch against your kernel version (could be difficult). Getting a clean kernel would be difficult since I'm already using a kernel with SMP patches. Hopefully a clean kernel is not necessary -- but a kernel without the md-raid-patches. Have a look at: http://people.redhat.com/mingo/ There are raidpatches *and* smp patches of which I hope they are compatible. I've no idea where to find old md-style patches, but if you get one matching your version you could reverse-patch your kernel and apply the new one. Or have a look what actually collides in your reject-files. Hope this helps, K.-H. Thanks -- Chris Christoph P. U. Kukulies [EMAIL PROTECTED]
Re: where are patches located?
On 11-Aug-00 Christoph Kukulies wrote: # cat /proc/mdstat Personalities : [1 linear] [2 raid0] [3 raid1] [4 raid5] read_ahead not set md0 : inactive md1 : inactive md2 : inactive md3 : inactive Yes -- thats old style md-raid. So you have a kernel which is already patched with raid-code and you try to apply a new patch which is against a clean kernel. Would there be a patch against an oldstyle md-patched kernel somewhere? Since your distribution (Wasn't it RedHat?) is delivering it like that maybe they should do that? But your best strategy is probably to grab a clean kernel and get the smp patches you wanted and the new raid patches and apply them yourself. K.-H. E-Mail: Karl-Heinz Herrmann [EMAIL PROTECTED] http://www.kfa-juelich.de/icg/icg7/FestFluGre/transport/khh/general.html Sent: 11-Aug-00, 10:50:27
Re: where are patches located?
On Fri, Aug 11, 2000 at 10:53:11AM +0200, Karl-Heinz Herrmann wrote: On 11-Aug-00 Christoph Kukulies wrote: # cat /proc/mdstat Personalities : [1 linear] [2 raid0] [3 raid1] [4 raid5] read_ahead not set md0 : inactive md1 : inactive md2 : inactive md3 : inactive Yes -- thats old style md-raid. So you have a kernel which is already patched with raid-code and you try to patched with old style raid code? apply a new patch which is against a clean kernel. Would there be a patch against an oldstyle md-patched kernel somewhere? Since your distribution (Wasn't it RedHat?) is delivering it like that Yes, RH 6.1 maybe they should do that? But your best strategy is probably to grab a clean kernel and get the smp patches you wanted and the new raid patches and apply them yourself. Sigh. :-) K.-H. -- Chris Christoph P. U. Kukulies [EMAIL PROTECTED]
Re: where are patches located?
On 11-Aug-00 Christoph Kukulies wrote: So you have a kernel which is already patched with raid-code and you try to patched with old style raid code? Yes -- thats the problem. SuSE is just the same -- They distribute kernels which include a lot of patches and you almost can't apply a new one. I started with a fresh from kernel.org. K.-H. E-Mail: Karl-Heinz Herrmann [EMAIL PROTECTED] http://www.kfa-juelich.de/icg/icg7/FestFluGre/transport/khh/general.html Sent: 11-Aug-00, 13:10:46
Re: where are patches located?
Christoph Kukulies writes: ... Would there be a patch against an oldstyle md-patched kernel somewhere? Since your distribution (Wasn't it RedHat?) is delivering it like that Yes, RH 6.1 maybe they should do that? But your best strategy is probably to grab a clean kernel and get the smp patches you wanted and the new raid patches and apply them yourself. Sigh. :-) Maybe it will cheer you up to hear that all you have to do is get the kernel Source SRPM from your vendor, do an rpm -i to get the tar file and all the patches they used. Then, you can take each patch and (usually!) apply it to a fresh kernel source that you've downloaded, or at least go find the latest version of each patch, the RAID patch being one example. -Eric.