From: Dan A. <da...@gm...> - 2004-02-09 20:57:19
|
On Mon, Feb 09, 2004 at 05:10:49PM -0000, Thomas Fritzsche wrote: > I build colinux-20040208 with the first network-init patch from source. My > problem is that I receive the message: "Monitor terminated, reason 7". The value originates from this enum: typedef enum { CO_TERMINATE_END=0, CO_TERMINATE_REBOOT, CO_TERMINATE_POWEROFF, CO_TERMINATE_PANIC, CO_TERMINATE_HALT, CO_TERMINATE_FORCED_OFF, CO_TERMINATE_FORCED_END, CO_TERMINATE_INVALID_OPERATION, } co_termination_reason_t; Which suggests CO_TERMINATE_INVALID_OPERATION. This termination code is omitted from within the Linux kernel in 2 locations: static inline void * ioremap (unsigned long offset, unsigned long size) { +#ifdef CONFIG_COOPERATIVE + co_debug("ioremap %x:%d\n", offset, size); + co_terminate(CO_TERMINATE_INVALID_OPERATION); +#endif return __ioremap(offset, size, 0); } static inline void * ioremap_nocache (unsigned long offset, unsigned long size) { +#ifdef CONFIG_COOPERATIVE + co_debug("ioremap %x:%d\n", offset, size); + co_terminate(CO_TERMINATE_INVALID_OPERATION); +#endif return __ioremap(offset, size, _PAGE_PCD); } If you have some kernel debugging experience, I suggest you investigate from where one of these functions is called on your setup. -- Dan Aloni da...@gm... |