IRC log for #elinux on 20100828

00:14.58*** join/#elinux TimRiker (~timr@bzflag/projectlead/TimRiker)
00:14.58*** mode/#elinux [+o TimRiker] by ChanServ
00:18.04*** join/#elinux Zygo (startkeylo@startkeylogger.hungrycats.org)
00:49.03*** join/#elinux PierreLuc (~PierreLuc@64.18.190.164)
01:14.15*** join/#elinux russ (foobar@ip70-176-251-1.ph.ph.cox.net)
01:14.15*** mode/#elinux [+o russ] by ChanServ
01:23.06*** join/#elinux Zygo (startkeylo@startkeylogger.hungrycats.org)
02:18.27*** join/#elinux chille (chille@vil.se)
02:18.29chilleO HAI!
02:28.05*** join/#elinux Zygo (startkeylo@startkeylogger.hungrycats.org)
03:58.04*** join/#elinux ibot (ibot@rikers.org)
03:58.04*** 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.
03:58.04*** mode/#elinux [+o ibot] by ChanServ
04:49.27russwho's going to celf elc?
04:53.27peerceI'm going to the Strawberry Music Festival next week.  does that count?
04:53.28peerce;-p
04:58.55russIs it in cambridge?
05:19.57peercenot exactly.
05:21.58peerceits at 37 N 122.03 W
05:24.05peerceno, wait, tahts not right
05:26.10peerce37.88 N, 119.85 W
05:26.12peercethats better.
05:26.26peerce[the other coord is more like close to where I live, heh]
05:39.29*** join/#elinux russ (foobar@ip70-176-251-1.ph.ph.cox.net)
05:39.29*** mode/#elinux [+o russ] by ChanServ
07:22.36*** join/#elinux ron (~ron@nat/cisco/x-ixggmjjktnwpmsyx)
07:51.50*** join/#elinux lyakh (~lyakh@p5089936B.dip0.t-ipconnect.de)
08:51.08chillewhen i'm booting my Linux system i specify init=/bin/bash to start bash instead of /sbin/init, but is there any way to send parameters to bash? for example i want bash to execute /usr/bin/startup before spawning a shell
09:01.53peerceum, that sounds like horrible hackery.  why not use /etc/inittab properly to do what you want?
09:16.56chillebecause i don't have any init script :o
09:17.37chillehowever i solved the problem with "init=/bin/bash --init-file /usr/bin/startup" :)
09:28.55*** join/#elinux mike_s (~quassel@82-69-35-33.dsl.in-addr.zen.co.uk)
10:19.58*** join/#elinux pirho (debian-tor@gateway/tor-sasl/pirho)
11:17.21*** join/#elinux ibot (~ibot@rikers.org)
11:17.21*** 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.
11:17.21*** mode/#elinux [+o ibot] by ChanServ
11:44.08*** join/#elinux ibot (~ibot@rikers.org)
11:44.08*** 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.
11:44.08*** mode/#elinux [+o ibot] by ChanServ
13:33.10*** join/#elinux roxfan (dunno@91.180.86.137)
15:09.45*** join/#elinux JediMaster420 (VSProMan@dpc6747174166.direcpc.com)
15:11.44JediMaster420I need a timezone file for my dreambox, I guess OpenPLI gets all of theirs from you, any way you guys can help me out?
15:19.13wmatJediMaster420: elinux.org doesn't provide timezone files that I'm aware of.
15:24.33JediMaster420Openembedded has this chanel as a development chanel, but I guess you don't develop for them then?
15:25.01wmatI believe #oe might be the place for that
15:26.57JediMaster420yeah, I'm in there, thanks for the redirect
15:27.03*** part/#elinux JediMaster420 (VSProMan@dpc6747174166.direcpc.com)
17:20.17*** join/#elinux fsvend (~fsvend@151.105.202.84.customer.cdi.no)
17:29.13peercegrab them off *any* linux install, in /usr/share/
18:30.16*** join/#elinux lyakh (~lyakh@p5089936B.dip0.t-ipconnect.de)
18:32.27*** join/#elinux Killer- (~luis@pc-218-99-120-200.cm.vtr.net)
20:44.25peercehmmm.  i'm looking at an embedded linux (tomato, running on a wrt54gs router), and I don't see any sort of startup scripting, yet it obviously launches stuff at boot.  pid 1 is "init noinitrd".  dmesg says... Kernel command line: root=/dev/mtdblock2 noinitrd console=ttyS0,115200
20:44.38peerceso wtf is it getting the startup sequence from?
20:52.53roxfanyou have any files in / ?
20:53.33peercejust the usual dirs
20:53.38roxfanhmm
20:53.53peerceand nothing script-like or inittab-like in /etc or /rom/etc
20:54.02roxfanwell, maybe the kernel has some hardcoded filename it runs
20:54.28peercepid 1 is init, so I'd assume its init thats doing it.  maybe the inittab is linked into init ?
20:56.09roxfanah, interesting
20:56.14roxfan"The actual `noinitrd' argument determines what happens to the initrd data after the kernel has booted. "
20:56.37roxfanso i guess it does execute stuff from ramdisk
20:56.41peercepresumably, thats referring to an initial ramdrive ?
20:56.53peerceah, and thats been discarded by the time I see it
20:57.11peerceI suppose I should pull down a source tree and build this thing to do see what goes into it
20:57.24roxfanyou could probably find the ramdisk inside the kernel
20:57.44roxfansearch for gzip signature (1F 8B(
20:58.51peercehmm, I don't even see the linux boot image, there's no /boot or whatever, its probably all elsewhere :-/    /rom only has /rom/etc
20:59.04roxfanprobably a separate flash partition
20:59.11roxfancheck /proc/mtd
20:59.25peercewait, there's a /tmp/etc and others too...
20:59.49peerceah, mtd0-4, pmon, linux, rootfs, jffs, nvram
21:00.33peercelinux (mtd1) is probably the boot, eh?
21:00.41roxfanyou can copy /dev/mtdN to get those
21:11.57peercehmm.  i forget how to grep for binary values :-/
21:17.18*** join/#elinux mike_s (~quassel@82-69-35-33.dsl.in-addr.zen.co.uk)
23:46.03chilleis there any c function to get the uptime with better precision than seconds?
23:49.23roxfan/proc/uptime gives two decimals after the period
23:57.38roxfanit seems you can use http://linux.die.net/man/3/clock_gettime with CLOCK_MONOTONIC

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