From: Jaswinder S. <jas...@ya...> - 2000-06-24 05:04:25
|
--- "Studencki (external) Pawel" <Paw...@er...> wrote: > Hello, Hello, > > Jaswinder, thanks for your help. > > the problem is, i have already: > int rd_size = 4096; /* Size of the RAM > disks */ > > and wenn I'm trying to use RAM disk 4 MB I get these > errors: > ------------------------------------------------------------------- > RAMDISK driver initialized: 16 RAM disks of 4096K > size 1024 blocksize > RAMDISK: ext2 filesystem found at block 0 > RAMDISK: Loading 4096 blocks [1 disk] into ram > disk... <1>Unable to handle > kernel NULL pointer dereference at virtual address > 00000000 > pc = 8c00d842 > Oops: 0001 > This shows problem is during loading the RAMDISK. > > After Your mail, I've increased size rd_size to > 8192, but it doesn't > help... If you are using 4MB or less then 4MB you dont need to change it. >and I'm still using 2 MB RAM disk... > It means , your kernel is working fine with 2 MB RAMDISK. > maybe has somebody tried to hard code kernel options > (ramdisk_size, > ramdisk_start, mem etc.) ?? > print ramdisk_size before the process of loading RAMDISK. > should I also modify variables argv_init, envp_init > in init/main.c ? > or it is all a wrong way to solve this problem? > No , dont change it right now . I am sending compressed 4 MB RAMDISK , add the elf header & load it as you normally do . and show the output of the kernel . Regards, Jaswinder. __________________________________________________ Do You Yahoo!? Get Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ |