IRC log for #elinux on 20110330

00:37.24*** join/#elinux djerome (~djerome@ip24-251-138-141.ph.ph.cox.net)
01:46.37*** join/#elinux juni_kyu (~chatzilla@96.18.213.235)
01:59.47*** part/#elinux juni_kyu (~chatzilla@96.18.213.235)
02:07.07*** join/#elinux juni_kyu (~chatzilla@96.18.213.235)
02:30.12*** join/#elinux JdGordon (~jonno@rockbox/developer/JdGordon)
02:30.29JdGordonHey, I'm trying to get a script working which uses switch_root... how is it expected to work? can /init be a shell script which calls?
02:40.07wmatwhat's not working?
02:41.15JdGordon[    2.150000] Failed to execute /init
02:41.15JdGordon[    2.150000] Failed to execute /init.  Attempting defaults...
02:41.49JdGordon[    0.000000] Kernel command line: console=vcon0,115200n8 maxcpus=3 init=/init
02:42.20JdGordonthat init is just "#!/bin/sh  \n  echo "hello" '
02:45.18wmatwhat does your switch_root statement in your script look like?
02:45.53JdGordonI havnt got that far.. i just want to make sure my init script will run at all...
02:46.06JdGordonI know it needs to be run from PID==1 so trying to figure out how that is supposed to happen
02:46.11JdGordongoogle-fu failing me
02:46.27JdGordonmy initramfs is very very minimal with just busybox
02:48.18wmatis /init executable?
02:48.26JdGordon-rwxr-xr-x
02:49.43JdGordonsame permissions as the busybox binary, and /bin/sh points to busybox as expected
02:59.30wmatis there a /bin/sh in the initramfs?
02:59.51JdGordonits a symlink to /bin/busybox
03:00.25JdGordonso, I guess, is having init as a shell script the expected way to make this work?
03:01.13wmatyes
03:01.47wmattry changing #!/bin/sh to #/bin/busybox sh
03:02.59JdGordonare there any busybox options I need to double check are enabled?
03:03.22wmatnot that I'm aware of
03:04.26JdGordonlooks like we have everything enabled anyway, ok i'll try that suggestion
03:07.25wmatJdGordon: good luck, time for my bed
03:07.29wmatsleep
03:07.47JdGordonthanks, looks like that may have got it :)
03:12.42JdGordonyay! finally getting somewhere
03:12.45JdGordonthanks wmat
03:12.47*** part/#elinux JdGordon (~jonno@rockbox/developer/JdGordon)
03:42.25*** join/#elinux Russ (foobar@ip70-176-251-1.ph.ph.cox.net)
03:42.25*** mode/#elinux [+o Russ] by ChanServ
04:56.36*** join/#elinux jevin (~jevin@jevinskie-1-pt.tunnel.tserv9.chi1.ipv6.he.net)
05:20.42*** join/#elinux toi (~peter@vrt.nat.ibbt.be)
05:25.34*** join/#elinux CcSsNET (~user@c-98-216-138-179.hsd1.ma.comcast.net)
05:42.30*** join/#elinux lyakh (~lyakh@pD9EB8E2E.dip0.t-ipconnect.de)
05:45.46*** join/#elinux CcSsNET (~user@c-98-216-138-179.hsd1.ma.comcast.net)
06:50.34*** join/#elinux rejser (~philip@h121n2-m-sp-gr1.ias.bredband.telia.com)
08:00.51*** join/#elinux CcSsNET (~user@c-98-216-138-179.hsd1.ma.comcast.net)
08:13.14*** join/#elinux Russ (foobar@ip70-176-251-1.ph.ph.cox.net)
08:13.14*** mode/#elinux [+o Russ] by ChanServ
11:41.51*** join/#elinux gustavoz (~gustavoz@host93.190-31-128.telecom.net.ar)
11:58.09*** part/#elinux juni_kyu (~chatzilla@96.18.213.235)
11:58.25*** join/#elinux juni_kyu (~chatzilla@96.18.213.235)
14:15.44*** join/#elinux GPSFan (~kenm@64.92.145.112)
14:46.41*** join/#elinux likewhoa (~likewhoa@ool-18bc83b1.dyn.optonline.net)
16:30.49*** join/#elinux toi (~peter@d54C2AA76.access.telenet.be)
16:43.50*** join/#elinux [XeN] (~XeN]@brln-4d0c81ce.pool.mediaWays.net)
17:47.42*** join/#elinux toi (~peter@d54C2AA76.access.telenet.be)
17:51.25*** join/#elinux jevin (~jevin@jevinskie-1-pt.tunnel.tserv9.chi1.ipv6.he.net)
18:13.43*** join/#elinux juni_kyu (~chatzilla@96.18.213.235)
19:15.43*** join/#elinux risca (~risca@h241n2-n-a31.ias.bredband.telia.com)
19:22.38*** join/#elinux jevin (~jevin@jevinskie-1-pt.tunnel.tserv9.chi1.ipv6.he.net)
20:09.49*** join/#elinux GPSFan (~kenm@64.92.145.112)
23:11.15*** join/#elinux ibot (~ibot@rikers.org)
23:11.15*** topic/#elinux is Embedded Linux || http://eLinux.org/ || Please ask anything, however this is a low volume channel therefore it may take 24 hours (or longer) to get a response. Please be patient.
23:11.15*** mode/#elinux [+o ibot] by ChanServ
23:39.52*** join/#elinux ashes (ashes@modemcable026.148-202-24.mc.videotron.ca)
23:44.42*** join/#elinux cendres (ashes@modemcable026.148-202-24.mc.videotron.ca)
23:54.29*** join/#elinux ashes (ashes@modemcable026.148-202-24.mc.videotron.ca)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.