[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Bummer, could not run '/etc/init.d/rcS': No such file or directory
From:       Prakash N <npk_0 () yahoo ! co ! in>
Date:       2006-04-27 8:14:12
Message-ID: 20060427081412.63353.qmail () web8903 ! mail ! in ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi 
 Iam trying to port linux2.4.26 from montavista to powerPC xilinx-board. I could \
successfully check the kernel in board. But the problem comes when the busybox-1.1.2 \
is used for root file system. I get an error saying rcS file is not there in \
                etc/init.d. But Iam sure the file exists in the directory. My inittab \
                file is 
 -----------------------------------------inittab \
file-------------------------------------------------  ::sysinit:/etc/init.d/rcS
 #::askfirst:-/bin/sh
 ::ctrlaltdel:/sbin/reboot
 ::shutdown:/sbin/swapoff -a
 ::shutdown:/bin/umount -a -r
 ::restart:/sbin/init
 ::respawn:/sbin/getty 9600 tts/0
 
 ------------------------------- minicom log after boot \
--------------------------------  loaded at:     00400000 004C11E4
 board data at: 004BE13C 004BE154
 relocated to:  00405634 0040564C
 zimage at:     00405BF9 004BDD33
 avail ram:     004C2000 10000000
 
 Linux/PPC load: console=ttyS0,9600 root=/dev/xsysace/disc0/part2 rw
 Uncompressing Linux...done.
 Now booting the kernel
 Linux version 2.4.26 (root@edvl28.cedt.iisc.ernet.in) (gcc version 3.4.1) #16 Sat \
Apr 22 15:19:6Xilinx Virtex-II Pro port (C) 2002 MontaVista Software, Inc. \
(source@mvista.com)  On node 0 totalpages: 65536
 zone(0): 65536 pages.
 zone(1): 0 pages.
 zone(2): 0 pages.
 Kernel command line: console=ttyS0,9600 root=/dev/xsysace/disc0/part2 rw
 Xilinx INTC #0 at 0x41200000 mapped to 0xFDFFE000
 Calibrating delay loop... 299.00 BogoMIPS
 Memory: 257332k available (1284k kernel code, 380k data, 60k init, 0k highmem)
 Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
 Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
 Mount cache hash table entries: 512 (order: 0, 4096 bytes)
 Buffer cache hash table entries: 16384 (order: 4, 65536 bytes)
 Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
 POSIX conformance testing by UNIFIX
 Linux NET4.0 for Linux 2.4
 Based upon Swansea University Computer Society NET3.039
 Initializing RT netlink socket
 Starting kswapd
 devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
 devfs: boot_options: 0x1
 JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
 pty: 256 Unix98 ptys configured
 Serial driver version 5.05c (2001-07-08) with no serial options enabled
 ttyS00 at 0xfdfff003 (irq = 29) is a 16550A
 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
 loop: loaded (max 8 devices)
 Partition check:
  xsysacea: p1 p2
 System ACE at 0x41800000 mapped to 0xD1070000, irq=30, 250880KB
 eth0: using fifo mode.
 eth0: No PHY detected.  Assuming a PHY at address 0.
 eth0: Xilinx EMAC #0 at 0x40C00000 mapped to 0xD1083000, irq=31
 eth0: id 2.0h; block id 7, type 1
 SCSI subsystem driver Revision: 1.00
 NET4: Linux TCP/IP 1.0 for NET4.0
 IP Protocols: ICMP, UDP, TCP, IGMP
 IP: routing cache hash table of 2048 buckets, 16Kbytes
 TCP: Hash tables configured (established 16384 bind 32768)
 NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
 EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
 VFS: Mounted root (ext2 filesystem).
 Mounted devfs on /dev
 Freeing unused kernel memory: 60k init
 init started:  BusyBox v1.1.2 (2006.04.27-06:47+0000) multi-call binary
 Starting pid 11, console /dev/console: '/etc/init.d/rcS'
 Bummer, could not run '/etc/init.d/rcS': No such file or directory
 Bummer, could not run '/etc/init.d/rcS': No such file
 ML300 powerpc linux 2.4.21-pre7 E.I.S. edition
 (none) login:
 ---------------------------------------------------------------------------------------------------------------
  
 X[n] = x0[0] s[n] + s[T] s[ n-1]………I use mkrootfs script from klingaufs for making \
root file system. I used unix2dos for sample etc directory provided by him.  
 My lib directory contains
 ld-2.3.3.so            libdl.so.2              libnss_dns.so.2          \
libpthread.so.0  ld.so.1                 libgcc_s_nof.so.1       \
libnss_files-2.3.3.so    libresolv-2.3.3.so  libanl-2.3.3.so      libgcc_s.so.1       \
libnss_files.so.2        libresolv.so.2  libanl.so.1             libm-2.3.3.so        \
libnss_hesiod-2.3.3.so   librt-2.3.3.so  libBrokenLocale-2.3.3.so  libmemusage.so     \
libnss_hesiod.so.2       librt.so.1  libBrokenLocale.so.1     libm.so.6               \
libnss_nis-2.3.3.so      libSegFault.so  libc-2.3.3.so             libnsl-2.3.3.so    \
libnss_nisplus-2.3.3.so  libstdc++.so.6  libcrypt-2.3.3.so     libnsl.so.1            \
libnss_nisplus.so.2      libthread_db-1.0.so  libcrypt.so.1       \
libnss_compat-2.3.3.so  libnss_nis.so.2          libthread_db.so.1  libc.so.6         \
libnss_compat.so.2      libpcprofile.so          libutil-2.3.3.so  libdl-2.3.3.so     \
libnss_dns-2.3.3.so     libpthread-0.10.so       libutil.so.1  
 Could anyone help me in getting rid of this problem,
 Prakash
 
 
				
---------------------------------
 Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.


[Attachment #5 (text/html)]

Hi <br> Iam trying to port linux2.4.26 from montavista to powerPC xilinx-board. I \
could successfully check the kernel in board. But the problem comes when the \
busybox-1.1.2 is used for root file system. I get an error saying rcS file is not \
there in etc/init.d. But Iam sure the file exists in the directory. My inittab file \
is <br> -----------------------------------------inittab \
file-------------------------------------------------<br> \
::sysinit:/etc/init.d/rcS<br> #::askfirst:-/bin/sh<br> ::ctrlaltdel:/sbin/reboot<br> \
::shutdown:/sbin/swapoff -a<br> ::shutdown:/bin/umount -a -r<br> \
::restart:/sbin/init<br> ::respawn:/sbin/getty 9600 tts/0<br> <br> \
------------------------------- minicom log after boot \
--------------------------------<br> loaded at:&nbsp;&nbsp;&nbsp;&nbsp; 00400000 \
004C11E4<br> board data at: 004BE13C 004BE154<br> relocated to:&nbsp; 00405634 \
0040564C<br> zimage at:&nbsp;&nbsp;&nbsp;&nbsp; 00405BF9 004BDD33<br> avail \
ram:&nbsp;&nbsp;&nbsp;&nbsp; 004C2000  10000000<br> <br> Linux/PPC load: \
console=ttyS0,9600 root=/dev/xsysace/disc0/part2 rw<br> Uncompressing \
Linux...done.<br> Now booting the kernel<br> Linux version 2.4.26 \
(root@edvl28.cedt.iisc.ernet.in) (gcc version 3.4.1) #16 Sat Apr 22 15:19:6Xilinx \
Virtex-II Pro port (C) 2002 MontaVista Software, Inc. (source@mvista.com)<br> On node \
0 totalpages: 65536<br> zone(0): 65536 pages.<br> zone(1): 0 pages.<br> zone(2): 0 \
pages.<br> Kernel command line: console=ttyS0,9600 root=/dev/xsysace/disc0/part2 \
rw<br> Xilinx INTC #0 at 0x41200000 mapped to 0xFDFFE000<br> Calibrating delay \
loop... 299.00 BogoMIPS<br> Memory: 257332k available (1284k kernel code, 380k data, \
60k init, 0k highmem)<br> Dentry cache hash table entries: 32768 (order: 6, 262144 \
bytes)<br> Inode cache hash table entries: 16384 (order: 5, 131072 bytes)<br> Mount \
cache hash table entries: 512 (order: 0, 4096 bytes)<br> Buffer cache hash table \
entries: 16384 (order: 4, 65536 bytes)<br> Page-cache hash table entries:  65536 \
(order: 6, 262144 bytes)<br> POSIX conformance testing by UNIFIX<br> Linux NET4.0 for \
Linux 2.4<br> Based upon Swansea University Computer Society NET3.039<br> \
Initializing RT netlink socket<br> Starting kswapd<br> devfs: v1.12c (20020818) \
Richard Gooch (rgooch@atnf.csiro.au)<br> devfs: boot_options: 0x1<br> JFFS2 version \
2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.<br> pty: 256 Unix98 \
ptys configured<br> Serial driver version 5.05c (2001-07-08) with no serial options \
enabled<br> ttyS00 at 0xfdfff003 (irq = 29) is a 16550A<br> RAMDISK driver \
initialized: 16 RAM disks of 4096K size 1024 blocksize<br> loop: loaded (max 8 \
devices)<br> Partition check:<br> &nbsp;xsysacea: p1 p2<br> System ACE at 0x41800000 \
mapped to 0xD1070000, irq=30, 250880KB<br> eth0: using fifo mode.<br> eth0: No PHY \
detected.&nbsp; Assuming a PHY at address 0.<br> eth0: Xilinx EMAC #0 at 0x40C00000 \
mapped to 0xD1083000, irq=31<br> eth0: id 2.0h; block id 7, type 1<br> SCSI  \
subsystem driver Revision: 1.00<br> NET4: Linux TCP/IP 1.0 for NET4.0<br> IP \
Protocols: ICMP, UDP, TCP, IGMP<br> IP: routing cache hash table of 2048 buckets, \
16Kbytes<br> TCP: Hash tables configured (established 16384 bind 32768)<br> NET4: \
Unix domain sockets 1.0/SMP for Linux NET4.0.<br> EXT2-fs warning: mounting unchecked \
fs, running e2fsck is recommended<br> VFS: Mounted root (ext2 filesystem).<br> \
Mounted devfs on /dev<br> Freeing unused kernel memory: 60k init<br> init \
started:&nbsp; BusyBox v1.1.2 (2006.04.27-06:47+0000) multi-call binary<br> Starting \
pid 11, console /dev/console: '/etc/init.d/rcS'<br> <span style="color: rgb(255, 0, \
127);">Bummer, could not run '/etc/init.d/rcS': No such file or directory</span><br \
style="color: rgb(255, 0, 127);"> <span style="color: rgb(255, 0, 127);">Bummer, \
could not run '/etc/init.d/rcS': No such file</span><br> ML300 powerpc linux \
                2.4.21-pre7 E.I.S. edition<br> (none) login:<br>
 ---------------------------------------------------------------------------------------------------------------<br> \
<br> <meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title>X[n] = \
x0[0] s[n] + s[T] s[ n-1]………</title><meta name="GENERATOR" content="OpenOffice.org \
1.9.104  (Linux)"><meta name="AUTHOR" content="nsrikant"><meta name="CREATED" \
content="20060327;18380000"><meta name="CHANGEDBY" content="nprakash"><meta \
name="CHANGED" content="20060417;15430000">I use mkrootfs script from klingaufs for \
making root file system. I used unix2dos for sample etc directory provided by \
him.<br> &nbsp;<br> My lib directory contains<br> \
ld-2.3.3.so&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
libdl.so.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
libnss_dns.so.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
libpthread.so.0<br>  \
ld.so.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
libgcc_s_nof.so.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
libnss_files-2.3.3.so&nbsp;&nbsp;&nbsp; libresolv-2.3.3.so<br> \
libanl-2.3.3.so&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
libgcc_s.so.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
libnss_files.so.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libresolv.so.2<br> \
libanl.so.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
libm-2.3.3.so&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
libnss_hesiod-2.3.3.so&nbsp;&nbsp; librt-2.3.3.so<br> libBrokenLocale-2.3.3.so&nbsp; \
libmemusage.so&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
libnss_hesiod.so.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; librt.so.1<br> \
libBrokenLocale.so.1&nbsp;&nbsp;&nbsp;&nbsp; \
libm.so.6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  libnss_nis-2.3.3.so&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libSegFault.so<br> \
libc-2.3.3.so&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
libnsl-2.3.3.so&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
libnss_nisplus-2.3.3.so&nbsp; libstdc++.so.6<br> \
libcrypt-2.3.3.so&nbsp;&nbsp;&nbsp;&nbsp; \
libnsl.so.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
libnss_nisplus.so.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libthread_db-1.0.so<br> \
libcrypt.so.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libnss_compat-2.3.3.so&nbsp; \
libnss_nis.so.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
libthread_db.so.1<br> \
libc.so.6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
libnss_compat.so.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
libpcprofile.so&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
libutil-2.3.3.so<br> \
libdl-2.3.3.so&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  \
libnss_dns-2.3.3.so&nbsp;&nbsp;&nbsp;&nbsp; \
libpthread-0.10.so&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libutil.so.1<br> <br> Could \
anyone help me in getting rid of this problem,<br> Prakash<br> <br> \
<style></style><p>  

	
		<hr size=1> 
Jiyo cricket on <a href="http://us.rd.yahoo.com/mail/in/mailcricket/*http://in.sports.yahoo.com/cricket/">Yahoo! \
India cricket</a><br> <a \
href="http://us.rd.yahoo.com/mail/in/mailmobilemessenger/*http://in.mobile.yahoo.com/new/messenger/">Yahoo! \
Messenger Mobile</a> Stay in touch with your buddies all the time.



_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic