From: Studencki (e. P. <Paw...@er...> - 2000-06-21 10:01:39
|
Hello, I have again :) problem with my RAM disk... I think it's hte problem with memory allocation... I was using 2 MB RAM disk with mem=16 MB, than I've made 4 MB disk and this kernel messages: =================================== Linux version 2.3.99-pre7 (root@capella) (gcc version 2.95.2 19991024 (release)) #182 Wed Jun 21 11:56:49 MEST 2000 On node 0 totalpages: 4096 zone(0): 4096 pages. zone(1): 0 pages. zone(2): 0 pages. SH RTC: invalid value, resetting to 1 Jan 2000 CPU clock: 75.18MHz Module clock: 75.18MHz Interval = 187973 Calibrating delay loop... 149.91 BogoMIPS Memory: 11304k/16384k available (496k kernel code, 5080k reserved, 31k data, 20k init) Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes) Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes) Page-cache hash table entries: 4096 (order: 2, 16384 bytes) kmem_create: Poisoning requested, but con given - bdev_cache Inode-cache hash table entries: 1024 (order: 1, 8192 bytes) kmem_create: Poisoning requested, but con given - inode_cache CPU: SH7708/SH7709 POSIX conformance testing by UNIFIX Linux NET4.0 for Linux 2.3 Based upon Swansea University Computer Society NET3.039 kmem_create: Poisoning requested, but con given - skbuff_head_cache Starting kswapd v1.6 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 kerne l NULL pointer dereference at virtual address 00000000 pc = 8c00d842 Oops: 0001 PC : 8c00d842 SP : 8c1fbb20 SR : 400001f1 TEA : 00000000 R0 : 400001f1 R1 : 00000000 R2 : 40000101 R3 : 8c1fbb34 R4 : 00000000 R5 : 00000000 R6 : 8c07fb14 R7 : 00000000 R8 : 00000000 R9 : 00000001 R10 : 00000400 R11 : 8ce8faa0 R12 : 8c1fa000 R13 : 8c081a3c R14 : 8c1fbb20 MACH: 03a8fdc2 MACL: 0001aae0 GBR : ffffffff PR : 8c02a8a0 ==================================================================== this problem is similar to problem Yutarou Ebihara (function wake_up_process, kernel is trying to use wrong RAM area ?) I have the same problem with smaller RAM disk at mem=4 or 8 MB, so I think, it depends on memory allocation...) Has somebody same problems with bigger RAM disks ? How much space does kernel need ? I'm using Ludovic's Loader. Kernel Start in RAM is 0x8c001000 and initrd starts in RAM at 0x8c800000, I left enough space for Kernel ? thanks for any suggestions Regards Pawel |