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.29 | chille | O 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.27 | russ | who's going to celf elc? |
04:53.27 | peerce | I'm going to the Strawberry Music Festival next week. does that count? |
04:53.28 | peerce | ;-p |
04:58.55 | russ | Is it in cambridge? |
05:19.57 | peerce | not exactly. |
05:21.58 | peerce | its at 37 N 122.03 W |
05:24.05 | peerce | no, wait, tahts not right |
05:26.10 | peerce | 37.88 N, 119.85 W |
05:26.12 | peerce | thats better. |
05:26.26 | peerce | [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.08 | chille | when 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.53 | peerce | um, that sounds like horrible hackery. why not use /etc/inittab properly to do what you want? |
09:16.56 | chille | because i don't have any init script :o |
09:17.37 | chille | however 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.44 | JediMaster420 | I 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.13 | wmat | JediMaster420: elinux.org doesn't provide timezone files that I'm aware of. |
15:24.33 | JediMaster420 | Openembedded has this chanel as a development chanel, but I guess you don't develop for them then? |
15:25.01 | wmat | I believe #oe might be the place for that |
15:26.57 | JediMaster420 | yeah, 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.13 | peerce | grab 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.25 | peerce | hmmm. 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.38 | peerce | so wtf is it getting the startup sequence from? |
20:52.53 | roxfan | you have any files in / ? |
20:53.33 | peerce | just the usual dirs |
20:53.38 | roxfan | hmm |
20:53.53 | peerce | and nothing script-like or inittab-like in /etc or /rom/etc |
20:54.02 | roxfan | well, maybe the kernel has some hardcoded filename it runs |
20:54.28 | peerce | pid 1 is init, so I'd assume its init thats doing it. maybe the inittab is linked into init ? |
20:56.09 | roxfan | ah, interesting |
20:56.14 | roxfan | "The actual `noinitrd' argument determines what happens to the initrd data after the kernel has booted. " |
20:56.37 | roxfan | so i guess it does execute stuff from ramdisk |
20:56.41 | peerce | presumably, thats referring to an initial ramdrive ? |
20:56.53 | peerce | ah, and thats been discarded by the time I see it |
20:57.11 | peerce | I suppose I should pull down a source tree and build this thing to do see what goes into it |
20:57.24 | roxfan | you could probably find the ramdisk inside the kernel |
20:57.44 | roxfan | search for gzip signature (1F 8B( |
20:58.51 | peerce | hmm, 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.04 | roxfan | probably a separate flash partition |
20:59.11 | roxfan | check /proc/mtd |
20:59.25 | peerce | wait, there's a /tmp/etc and others too... |
20:59.49 | peerce | ah, mtd0-4, pmon, linux, rootfs, jffs, nvram |
21:00.33 | peerce | linux (mtd1) is probably the boot, eh? |
21:00.41 | roxfan | you can copy /dev/mtdN to get those |
21:11.57 | peerce | hmm. 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.03 | chille | is there any c function to get the uptime with better precision than seconds? |
23:49.23 | roxfan | /proc/uptime gives two decimals after the period |
23:57.38 | roxfan | it seems you can use http://linux.die.net/man/3/clock_gettime with CLOCK_MONOTONIC |