--- Begin Message ---
Hello Jimmy,

I was messing around with initng code and tried to build it for ARM
architecture (I work with embedded linux) but I wasn't able to do
it... I've checked the source code and saw that it was missing the
syscalls for such architecture...

The patch attached adds support for ARM-based processors...

Hope this help making this package more usable...

But.. I'm having some problems when running it...
if you could help me... it would be really great...

It's some udev related issues...
here's the output...

** "/root/initng-0.6.8/plugins/nge/initng_nge.c", check_socket()  line:440:

00:00:15 -- WARN:      Stat failed! Opening new socket.





** "/root/initng-0.6.8/plugins/ngc4/initng_ngc4.c", check_socket()  line:738:

00:00:15 -- WARN:      Stat failed! Opening new socket.

  8% system/udev/mountdev      [done]          ( done in 891ms )



system/initial/filldev start:

 Mounting devpts at /dev/pts ...

 Mounting devshm at /dev/shm ...





system/udev/udevd daemon:

 ** "/root/initng-0.6.8/plugins/simple_launcher/initng_simple_launcher.c",
simple_exec_fork()  line:199:

 00:00:15 -- FAIL:     ERROR!

 ** "/root/initng-0.6.8/plugins/simple_launcher/initng_simple_launcher.c",
simple_exec_fork()  line:200:

 00:00:15 -- FAIL:     Can't execute source /sbin/udevd!



 10% system/initial/filldev    [done]          ( done in 445ms )





** "/root/initng-0.6.8/plugins/daemon/initng_daemon.c",
timeout_DAEMON_WAIT_FOR_PID_FILE()  line:771:

00:01:16 -- FAIL:      Service "system/udev/udevd" wait for pidfile
timed out! Will kill daemon now.





** "/root/initng-0.6.8/plugins/daemon/initng_daemon.c", kill_daemon()
line:979:

00:01:16 -- FAIL:      Trying to kill a service (system/udev/udevd)
with a pid (212), but there exists no process with this pid!





** "/root/initng-0.6.8/plugins/critical/initng_critical.c",
check_critical()  line:58:

00:01:16 -- FAIL:      Service system/udev/udevd failed, this is
critical, going su_login!!




--
Best Regards,

Felipe Balbi
[EMAIL PROTECTED]
Index: initng-0.6.8/plugins/fmon/inotify-syscalls.h
===================================================================
--- initng-0.6.8.orig/plugins/fmon/inotify-syscalls.h	2007-01-22 17:25:03.000000000 +0000
+++ initng-0.6.8/plugins/fmon/inotify-syscalls.h	2007-01-22 17:26:34.000000000 +0000
@@ -19,6 +19,10 @@
 # define __NR_inotify_init	1277
 # define __NR_inotify_add_watch	1278
 # define __NR_inotify_rm_watch	1279
+#elif defined (__arm__)
+# define __NR_inotify_init	316
+# define __NR_inotify_add_watch	317
+# define __NR_inotify_rm_watch	318
 #else
 # error "Unsupported architecture!"
 #endif

--- End Message ---
-- 
_______________________________________________
Initng mailing list
[email protected]
http://jw.dyndns.org/mailman/listinfo/initng

Reply via email to