> Hello all
> don't be to happy yet :(
>
> I did find out a few things to patch the kernel but now i am stuck.
> the one change i adapted wass __initfunc -> __init
> and the kernel commandline parameters can now be put in the
> different routines with
> routine_setup
> [
> definition
> ]
> __setup ("whatever=", routinesetup);
> so you normally don't have to patch main for this
>
> Then i changed a little in the rd.c mainly to get the assignment of
> free inodes adapted to the now usual form ( these were the same
> changes they made to the part outside of the patch compared to
> 2.2.16)
>
> The Kernel compiles without a problem (1 warning about an unused
> variable)
> Booting is OK untill minix:2048i 6144b 68fdz ......ms
> then follows
> Unable to handle kernel NULL pointer dereference at virtual address
> 000000c printing eip c81 and a core dump.
>
> I assume that there is a problem with the stack as this happens at
> a point where the routine rc.mkminix returns and doesn't arrive in
> the calling programm rd.c
>
> I will put the dif files , a 486er compiled kernel and rd.c (2.4)
> rd.mkminix.c and /init/main.c on a geocities page
> http://www.geocities.com/lrp_eric/2_4/
> any suggestions ?
> I would like to continue but cannot find the place that caused the
> problem yet,
>
> Question 2 could it be necessary to change the mkminix file also,
> especially the changes in the reference to the inodes in the
> "normal" 2.4 (from adress to pointer) could effect this routine ?
>
> i do not have much c experience beyond small routines, that are
> easy to debug.
> Debugging a Kernel that stops at boot is rather a problem for me ;)
I'm going to look into this this afternoon...
I spent a bit of time digesting the differences between the 2.2 and 2.4
versions of the ramdisk code, but have yet to successfully compile a 2.4
kernel (I need to migrate to my RedHat system with a newer gcc).
Does anyone know if there's a home for the ramdisk driver and possibly have
the URL?
Charles Steinkuehler
http://lrp.steinkuehler.net
http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)
_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/leaf-devel