Hello All,
I am currently porting Adeos-ipipe on one of my MIPS architecture. I am
using I-Pipe 1.5-01, X86 as reference to my porting. So Far I did relevant
changes in
1.Interrupts handlers
2. System calls
3. Pagefault Handler
Except Exception handling, I mean critcial bug events.
With this changes I am able to Boot Linux kernel and also able to mount
Ramdisk successfully.

But the Issues is running user processes.
1. When it start executing user /sbin/Init Process I see few grep errors
which are given below, and these errors are not to be seen when IPIPE is
disabled.
2. I do get "#" Prompt on my console, but after few commands I see that
kernel hangs, and obvious it does not  take any input from serial console.
I also noticed that Ethernet interrupts getting disabled.


More Information of my Development Platform
Target board: MIPS Malta
Linux Kernel: 2.6.10
Timer: Up counter
PIC: i8259

Here is the LOG, I hope someone can help me.


Initial ramdisk at: 0x802c7000 (2379776 bytes)
Built 1 zonelists
Kernel command line: console=ttyS0,38400n8 rw
Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.
Primary data cache 16kB, 4-way, linesize 16 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
PID hash table entries: 512 (order: 9, 8192 bytes)
CPU frequency 10.00 MHz
Using 5.000 MHz high precision timer.
I-pipe 1.5-01: pipeline enabled.
Console: colour dummy device 80x25
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 59392k/60112k available (1519k kernel code, 632k reserved, 2632k
data, 152k init, 0k highmem)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Checking for 'wait' instruction...  available.
spawn_desched_task(00000000)
desched cpu_callback 3/00000000
ksoftirqd started up.
desched cpu_callback 2/00000000
checking if image is initramfs...desched thread 0 started up.
it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 2324k freed
Linux NoNET1.0 for Linux 2.6
Can't analyze prologue code at 8027a018
Initializing Cryptographic API
rtc: SRM (post-2000) epoch (2000) detected
Real Time Clock Driver v1.12a
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
?ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
elevator: using anticipatory as default io scheduler
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 0000:00:0a.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
   ide0: BM-DMA at 0x2040-0x2047, BIOS settings: hda:pio, hdb:pio
   ide1: BM-DMA at 0x2048-0x204f, BIOS settings: hdc:pio, hdd:pio
physmap flash device: 400000 at 1e000000
phys_mapped_flash: Found 2 x16 devices at 0x0 in 32-bit bank
Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
___caller_usermodelhelper: Path = /sbin/modprobe
RedBoot partition parsing not available
Using physmap partition definition
Creating 3 MTD partitions on "phys_mapped_flash":
0x00000000-0x00100000 : "YAMON"
0x00100000-0x003e0000 : "User FS"
0x003e0000-0x00400000 : "Board Config"
atkbd.c: keyboard reset failed on isa0060/serio1
atkbd.c: keyboard reset failed on isa0060/serio0
RAMDISK: Compressed image found at block 0
RAMDISK: incomplete write (-28 != 32768) 8388608
EXT2-fs warning: checktime reached, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing prom memory: 956kb freed
Freeing unused kernel memory: 1108k freed
Opening console
Opening console is successfull and executing /sbin/init
Algorithmics/MIPS FPU Emulator v1.5
INIT: version 2.85 booting
grep: error while loading shared libraries: libc.so.6: failed to map segment
from shared object: Error 4090
0
/etc/rc.d/rcS.d/S03mountvirtfs: 211: mkdir: Unknown error 4011
udev requires hotplug support, not started.
grep: error while loading shared libraries: libc.so.6: cannot map zero-fill
pages: Error 4090
mkdir: error while loading shared libraries: libcrypt.so.1: cannot open
shared object file: Error 4005
mkdir: error while loading shared libraries: libc.so.6: cannot stat shared
object: Error 4215
mount: error while loading shared libraries: /lib/libgcc_s.so.1: invalid ELF
header
none on /var/run type tmpfs (rw)
none on /tmp type tmpfs (rw)
/bin/sh: error while loading shared libraries: libcrypt.so.1: cannot open
shared object file: Error 4005
Kernel hotplug support not enabled.
INIT: Entering runlevel: 3
/bin/sh: error while loading shared libraries: libc.so.6: cannot map
zero-fill pages: Error 4090





INIT: error reading initrequest




(none) login: root






login[69]: root login  on `console'


# cd /
?
-------------------HANG-----------------------


Regards
Subbu
_______________________________________________
Adeos-main mailing list
[email protected]
https://mail.gna.org/listinfo/adeos-main

Reply via email to