Sorry, I corrected a typo in this email.
Thanks!
-----Original Message-----
From: chaochinhung_at_ntu.edu.tw [mailto:chaochinhung_at_ntu.edu.tw]
Sent: Sunday, February 27, 2005 12:19 AM
To: 'ipaq_at_handhelds.org'
Subject: Problem about linuxargs: "init=/linuxrc"
Hi all,
I've installed Familiar 0.8.0 OPIE on my iPAQ 3950, and it works
just fine. I found the default "linuxargs" is set to:
"root=/dev/mtdblock1 init=/linuxrc noinitrd console=none",
yet "/linuxrc" does not exist by default.
Then I created a "/linuxrc", which is a symbolic link to "/sbin/init",
with the same "linuxargs". Ths system booted successfully, too.
Again, I tried to change "linuxargs" to:
"root=/dev/mtdblock1 init=/sbin/init noinitrd console=ttyS0"
and checked the output message. The system booted successfully, too.
But when I created a "/linuxrc" with some simple commands like:
#!/bin/sh
/bin/echo "##############################################"
/bin/echo "##############################################"
/bin/echo "##############################################"
And set "linuxargs" to:
"root=/dev/mtdblock1 init=/linuxrc noinitrd console=ttyS0",
The /linuxrc was excuted without problems, but system panicked
with the following error messages:
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
mtdblock_open
ok
VFS: Mounted root (jffs2 filesystem).
Mounted devfs on /dev
Freeing init memory: 68K
##############################################
##############################################
##############################################
Kernel panic: Attempted to kill init!
Am I missing some boot parameters or something?
Thanks in advance!
Regards,
Chao-Chin Hung
Received on Sat Feb 26 2005 - 11:22:24 EST
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:25:07 EDT