At 02:29 PM 3/2/99 +0000, christophe leroy wrote:
>
>I had the same problem with 2.2.1-rmk4
>Now, with 2.2.2-rmk4, it works
>
Thanks Christophe (and others) for the hints. I had screwed up the abort handling
code. That's ok (I think). Now, I'm using a modified ITSY ramdisk (after some
fiddling)
that contains a /etc/rc file (executable with #!/bin/sh , echo 'hello cruel world').
I've
hacked init/main.c to do_rc(). However, I see the following error. Looks to me
like the environment variables are stuffed. I looked at the bash sources to search
for this error - couldn't find it. My only thoughts now are that the environment
variables
live at virtual address 0x0 and that I've made some mistakes someplace....
RAMDISK: Compressed image found at block 0
length errorVFS: Mounted root (ext2 filesystem).
init(): looking for the root device (ROOT_DEV = 0x100)
mount_initrd = 0x1, real_root_dev = 0x100
DEBUG: sys_open(/dev/tty1) ...successful
init(): execute_command = 0
Launching kernel thread do_rc
DEBUG: sys_open(/etc/rc) ...successful
do_execve(): /bin/sh
DEBUG: aout: ..A..C..C1..C2..C3..D..EDEBUG: sys_open(/dev/tty) ...failed
DEBUG: sys_open(/dev) ...successful
DEBUG: sys_open(/etc/passwd) ...successful
*ap++ == 0x55*ap++ == 0x55
Report this to [EMAIL PROTECTED]
eport this to [EMAIL PROTECTED]
Stopping myself...topping [EMAIL PROTECTED]
abort from 0x1cc80
bort from 0x1cc80
>christophe
>
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]