[Milkymist-devel] Linux Porting Issues
Clark Xin
codinflu at gmail.com
Sat Aug 15 13:50:13 PDT 2009
Below is output of milkymist system,
with,
hw snapshot 2009-07-09 at ML-401
sw lm32linux-20080206 with some patches that I couldn't able sent it now :)
kernel .config file is attached.
============ Current Linux Log =============
...
[FLTERM] Upload complete (10.1KB/s).
[FLTERM] Booting the device.
[FLTERM] Done.
Linux version 2.6.23 (clark at localhost) (gcc version 4.2.1
(LatticeMico32) 7.0.1 SRCE) #103 Sun Aug 16 15:22:26 EEST 2009
console [early0] enabled
memory from 401a0000 - 44000000
reserving initrd memory: 40400000 size 200000
start_mem is 0x401a0000
virtual_end is 0x44000000
before free_area_init
free_area_init -> start_mem is 0x401a0000
virtual_end is 0x44000000
after free_area_init
setup_arch done
Built 1 zonelists in Zone order. Total pages: 276352
Kernel command line: console=early
PID hash table entries: 4096 (order: 12, 16384 bytes)
[system halted here]
=====================================
Issue #1 - minor
when CONFIG_DEBUG_SPINLOCK is enabled,
a simple spin_lock(my_lock) function never returns.
system hangs without any message.
Issue #3
We are getting interrupt request, irq=0x1a (26)
what is it for? from which device?
thats why system halts according to output above.
Issue #4
RARELY, if CONFIG_DEBUG_KERNEL is enabled I am getting.
putting printk debugs may avoid it. we can say it is reproducible.
say 1 in 10 tries.
...
free_area_init -> start_mem is 0x4019c000
virtual_end is 0x44000000
BUG: failure at mm/page_alloc.c:2986/free_area_init_core()!
Kernel panic - not syncing: BUG!
Any comments to issues are welcome.
--
Regards
Clark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config
Type: application/octet-stream
Size: 10920 bytes
Desc: not available
URL: <http://lists.milkymist.org/pipermail/devel-milkymist.org/attachments/20090815/870ea920/attachment.obj>
More information about the Devel
mailing list