Hi all,
On 13-Jun-98 Paul M. Antoine wrote:
> Harald wrote that he'd been able to get his ramdisk image to load and
> for his infinite loop program to run, with screen output looking like
> this:
>
>> > Ramdisk driver initialized : 16 ramdisks of 4096K size
>> > RAMDISK: Compressed image found at block 0
>> > VFS: Mounted root (ext2 filesystem).
>> > Freeing unused kernel memory: 28k freed
>> > Warning: unable to open an initial console.
>> > do_page_fault[sh:1:7fffffb4:1:8007e950]
>> > do_page_fault[sh:1:100100c0:1:800ddb94]
>> > do_page_fault[sh:1:100100c0:1:800ddb94]
>> > do_page_fault[sh:1:004000b0:0:004000b0]
>> > do_page_fault[sh:1:004000b0:0:004000b0]
>>
>> and then silence.
>
> ...I have been able to upload the 2.1.99 kernel source (thanks Harald!)
> and to compile it with gcc 2.7.2 and binutils 2.8.1 (thanks Michael!),
> however the output I get is a little different:
>
> Ramdisk driver initialized : 16 ramdisks of 4096K size
>
> ...then silence!! So the ramdisk code doesn't seem to detect a valid
> ramdisk image, though it doesn't seem to complain either.
>
> Has anyone got a suggestion? I will try a make clean and see if that
> helps...
I've seen such strange behaviour before. Having had a somewhat working kernel
with
ramdisk loading and everything, I have added some code which has absolutely
nothing to do with the ramdisk driver, and boom!
I thought this may be an alignment problem and that's why I have added the line
. = ALIGN(4096)
to the .data section in arch/mips/dec/boot/ld.ecoff, and I haven't seen this
problem
ever since. On the other hand, this may be a cache related problem as well.
Is anybody else experiencing a similar problem?
> Regards,
> Paul (happily hacking his DECstation once more!)
Welcome back, Paul :-)
---
Regards,
Harald
|