[okl4-developer] [OKL2.1]spurious exception as soon as OKlinux forks init.
Amit Daniel
a_daniel17 at yahoo.com
Mon Sep 29 22:16:26 EST 2008
Dear All,
I have tested some test examples with okl microkernel and iguana. They works
fine.
But when i try executing OKLinux as an application, spurious exception
starts coming. I am building the image file as,
tools/build.py machine=gta01 project=iguana wombat=True
enable_fastpaths=False
This exception is coming as soon kernel tries to fork the /sbin/init
process. I tried to put some print in main interrupt handler but those
prints are not coming. so, the exception source is not clear.
The full log is shown below,
SMDK2440 # bootelf 33000000
Loading kernel.text @ 0x30000000 (79148 bytes)
Loading kernel.rodata @ 0x3001352c (27890 bytes)
Loading kernel.kdebug @ 0x3001a21e (16774 bytes)
Loading kernel.init @ 0x3001e3a4 (6128 bytes)
Loading kernel.roinit @ 0x3001fb94 (768 bytes)
Loading kernel.data @ 0x30020000 (5636 bytes)
Loading kernel.got @ 0x30021604 (4 bytes)
Loading kernel.got.plt @ 0x30021608 (12 bytes)
Loading kernel.kdebug-data @ 0x30021614 (1052 bytes)
Clearing kernel.bss @ 0x30021a30 (14152 bytes)
Loading kernel.kspace @ 0x30028000 (16384 bytes)
Loading kernel.traps @ 0x3002c000 (4096 bytes)
Loading kernel.utcb_page @ 0x3002d000 (4096 bytes)
Loading ig_server.text @ 0x30088000 (47140 bytes)
Loading ig_server.rodata @ 0x30093824 (3083 bytes)
Loading ig_server.data @ 0x30027430 (372 bytes)
Loading ig_server.got @ 0x300275a4 (16 bytes)
Clearing ig_server.bss @ 0x300275b8 (292 bytes)
Loading event.text @ 0x30098000 (20780 bytes)
Loading event.rodata @ 0x3009d12c (1827 bytes)
Loading event.data @ 0x30096850 (264 bytes)
Loading event.got @ 0x30096958 (16 bytes)
Clearing event.bss @ 0x30096968 (288 bytes)
Loading vtimer.text @ 0x300c0000 (26176 bytes)
Loading vtimer.rodata @ 0x300c6640 (3260 bytes)
Loading vtimer.data @ 0x300c82fc (580 bytes)
Loading vtimer.got @ 0x300c8540 (16 bytes)
Clearing vtimer.bss @ 0x300c8550 (408 bytes)
Loading vserial.text @ 0x300e0000 (25496 bytes)
Loading vserial.rodata @ 0x300e6398 (2696 bytes)
Loading vserial.data @ 0x300cc000 (1076 bytes)
Loading vserial.got @ 0x300cc434 (16 bytes)
Clearing vserial.bss @ 0x300cc444 (1056 bytes)
Loading vlcd.text @ 0x300e8000 (22876 bytes)
Loading vlcd.rodata @ 0x300ed95c (2003 bytes)
Loading vlcd.data @ 0x300e7130 (992 bytes)
Loading vlcd.got @ 0x300e7510 (16 bytes)
Clearing vlcd.bss @ 0x300e7520 (412 bytes)
Loading vrtc.text @ 0x30514000 (28024 bytes)
Loading vrtc.rodata @ 0x3051ad78 (3756 bytes)
Loading vrtc.data @ 0x30512000 (612 bytes)
Loading vrtc.got @ 0x30512264 (16 bytes)
Clearing vrtc.bss @ 0x30512274 (396 bytes)
Loading vmlinux.text @ 0x30600000 (1396736 bytes)
Loading vmlinux.text.init.refok @ 0x30755000 (868 bytes)
Loading vmlinux.exit.text @ 0x30755364 (1132 bytes)
Loading vmlinux.rodata @ 0x30756000 (196028 bytes)
Loading vmlinux.__ksymtab @ 0x30785dbc (13752 bytes)
Loading vmlinux.__ksymtab_gpl @ 0x30789374 (3416 bytes)
Loading vmlinux.__ksymtab_strings @ 0x3078a0cc (39044 bytes)
Loading vmlinux.__param @ 0x30793950 (340 bytes)
Loading vmlinux.data @ 0x30794000 (73728 bytes)
Loading vmlinux.data.cacheline_aligned @ 0x307a6000 (192 bytes)
Loading vmlinux.init.text @ 0x307a7000 (66656 bytes)
Loading vmlinux.init.data @ 0x307b7460 (4668 bytes)
Loading vmlinux.init.setup @ 0x307b86a0 (600 bytes)
Loading vmlinux.initcall.init @ 0x307b8900 (352 bytes)
Loading vmlinux.con_initcall.init @ 0x307b8a60 (4 bytes)
Loading vmlinux.init.ramfs @ 0x307b9000 (134 bytes)
Loading vmlinux.exitcall @ 0x307ba000 (108 bytes)
Clearing vmlinux.bss @ 0x307ba080 (141456 bytes)
Loading rootfs @ 0x30800000 (5734400 bytes)
Loading bootinfo @ 0x30530000 (24576 bytes)
## Starting application at 0x30000000 ...
s3c2410_init_interrupts:124: LN2410_INT_MASK
s3c2410_init_interrupts:135: LN2410_INT_MASK: 6f7f7fff
OKL4 - (provider: Open Kernel Labs) built on Sep 29 2008 15:11:02 using gcc
ver.device_enable_impl: done
Linux version 2.6.23-arm (root at localhost.localdomain) (gcc version 3.4.4) #2
Mo8Kernel memory ranges:
0: 0x01300000-0x026ff000 (5119 pages)
total 5119 pages
end: 0
Built 6 zonelists in Zone order. Total pages: 6096
Kernel command line: igms_name=ramdisk root=/dev/igms0
PID hash table entries: 128 (order: 7, 512 bytes)
dummy_timer_init: initializing.
console [l4con0] enabled
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 20204k/24600k available (1365k kernel code, 4372k reserved, 326k
data, )Found timer server (tid: 0000c001, handle: 1)
vtimer: init done (handle: 1, owner: 1c001, mask: 1)
Requesting timer: 10000000
Mount-cache hash table entries: 512
ptrace_break_init unimplemented
NET: Registered protocol family 16
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: module loaded
igms0: unknown partition table
Iguana ramdisk driver initialized
kobject_add failed for ttyS0 with -EEXIST, don't try to register things with
th.This architecture does not implement dump_stack()
Iguana virtual serial driver v1.0
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
VFS: Mounted root (ext2 filesystem) readonly.
vserial: init done (handle: 0, owner: 1c001, mask: 2)
unhandled user exception (0x0) @ 0 in init (1)
unhandled user exception (0x0) @ 0 in init (1)
unhandled user exception (0x0) @ 0 in init (1)
unhandled user exception (0x0) @ 0 in init (1)
unhandled user exception (0x0) @ 0 in init (1)
--
View this message in context: http://n2.nabble.com/-OKL2.1-spurious-exception-as-soon-as-OKlinux-forks-init.-tp1125668p1125668.html
Sent from the OKL4 Community Forum mailing list archive at Nabble.com.
More information about the Developer
mailing list