00:01.43 | VoodooZ | kergoth: I've read that you can copy devices in /etc/udev/devices and they will be copied to /dev/ automatically. I'll try it. |
00:03.12 | VoodooZ | Unless it's a rh/fedora specific hack as I read about it on the fedora udev page. |
00:08.00 | ka6sox-tirane | its amazing that I've held this connection for so long. |
00:14.23 | Ksilebo | Uh oh |
00:14.26 | VoodooZ | kergoth: coincidence? I just found out that under debian the file /etc/udev/links.conf does exactly that!!! Creates manual device nodes!! |
00:14.32 | kergoth_ | :) |
00:14.35 | kergoth_ | i suspected |
00:15.01 | *** join/#nslu2-linux KsiLaptop (russ@lv-65-40-115-149.sta.sprint-hsd.net) |
00:16.29 | VoodooZ | funny that I wanted to get rid of it this morning! Were you going to add it? |
00:18.04 | kergoth_ | yes, i was planning on pulling in links.conf and any other debian .conf files, along with debian's udev rules |
00:18.33 | VoodooZ | ok. I'll wait for yours then. Thanks. |
00:18.40 | kergoth_ | np |
00:40.14 | [g2] | rwhitby-away, I'll have to straighten out the mail sometime. send mail is around, but I"m not sure it's working properly |
00:40.44 | [g2] | the merge failed on gentoo emerge (which almost never happens) and is quite odd in itself |
00:40.44 | kergoth_ | jacques: i'm knee deep in i18n crap making glib build with uclibc anyway, i'll take a look at disabling its locale support |
00:41.06 | [g2] | my changeset # was k send -f -r 2554 nslu-changesets@lists.sf.net |
00:41.37 | [g2] | could you forward that changeset for the list ? |
00:48.21 | jacques | kergoth_, I would really appreciate it - it would help save my sanity - I'm going through all the patches right now and being rather confused |
00:48.44 | kergoth_ | i still dont know as much about this sort of thing as i'd like, but am getting there |
00:48.47 | kergoth_ | heh |
00:52.51 | VoodooZ | kergoth: fyi, I found another bug in /etc/init.d/udev. It tries to call mknod with --mode which is again not supported under busybox. |
00:54.53 | kergoth_ | ah |
00:57.48 | VoodooZ | actually, mknod --help says it takes options but anyways. I'm trying it now. |
00:58.02 | kergoth_ | VoodooZ: it'd probably accept the short form, if there is one. |
00:58.10 | kergoth_ | generally busybox commands dont accept the long forms of options |
00:58.25 | kergoth_ | so -m [blah] would probably work |
00:58.46 | VoodooZ | yeah. |
00:58.58 | VoodooZ | yep. that's it. it worked. |
01:00.08 | kergoth_ | course the question is, should you send your oe changes that affect more than just nslu2 to the oe mailing list, or check them into the nslu2 repo |
01:00.11 | kergoth_ | :) |
01:07.42 | glc | http://www.libpng.org/pub/png/src/zlib-1.2.1.tar.gz has been upgraded to 1.2.2 causing oemake unslung-image not to build. |
01:07.51 | kergoth_ | yep |
01:08.00 | kergoth_ | thats already fixed in upstream oe |
01:08.43 | *** join/#nslu2-linux Christopher (~Christoph@128-193-245-216.resnet.oregonstate.edu) |
01:15.22 | *** join/#nslu2-linux ka6sox-tirane (www-data@netblock-66-159-209-60.dslextreme.com) |
01:18.58 | rwhitby-web | someone with bk admin privs can do a pull from oe packages to nslu2-linux packages (kergoth, I assume by fixed upstream you meant oe packages, not packages-dev?) |
01:19.10 | kergoth_ | i meant packages-devel. all development happens there |
01:19.19 | kergoth_ | packages-devel syncs with packages whenever mickey feels like it, right now |
01:19.23 | kergoth_ | need to get a cron job going |
01:20.02 | rwhitby-web | would you suggest we reparent nslu2-linux packages to point to oe packages-dev ? |
01:20.10 | rwhitby-web | or not ... |
01:20.27 | kergoth_ | that may be best, as long as you arent syncing constantly |
01:20.38 | kergoth_ | packages-devel exists mainly becuase of the vast # of people doing clones from dialup |
01:20.45 | kergoth_ | keeping packages locked for hours so development is stalled |
01:20.57 | rwhitby-web | we sync whenever someone (usually me) feels like it |
01:21.31 | rwhitby-web | I can |
01:21.36 | kergoth_ | you dont need admin to do a sync, actually |
01:21.46 | rwhitby-web | can't do any bk stuff from here |
01:21.48 | kergoth_ | bk pull from oe packages, BK_SILENT=1 bk push to nslu2 packages |
01:21.51 | kergoth_ | :) |
01:29.04 | kergoth_ | there, synced. pushing the latest nslu2 stuff into upstream now |
01:32.38 | *** join/#nslu2-linux mickg10_ (~ZOG@ool-18bacfea.dyn.optonline.net) |
01:32.47 | *** part/#nslu2-linux mickg10_ (~ZOG@ool-18bacfea.dyn.optonline.net) |
01:38.29 | ka6sox-tirane | see ya in about 30hrs 1/2 way around the world. |
01:41.01 | glc | Thanks Chris. |
01:46.53 | *** join/#nslu2-linux _chris_ (~chris@pcp09944349pcs.hyatsv01.md.comcast.net) |
01:55.08 | Christopher | rwhitby-web: I seem to be having trouble moving to unslung 3.x can I just load the image file, or are there other steps? |
02:09.51 | glc | rwhitby-web: Can you include nbd module? It might be useful as a root device. Peteru wants NFS root, but the network block device might be smaller and easier. |
02:10.38 | glc | md and raid1 are working quite nicely. |
02:29.26 | *** join/#nslu2-linux mickg10 (~ZOG@ool-18bacfea.dyn.optonline.net) |
02:29.35 | *** part/#nslu2-linux mickg10 (~ZOG@ool-18bacfea.dyn.optonline.net) |
02:33.56 | peteru-work | It does not have to be NFS just on my account, as long as I can have a network shared rootfs that I can poke on the dev machine and get the slug to boot/run from it. |
02:34.09 | peteru-work | I'll be happy to take whatever works. |
02:45.02 | rwhitby-web | glc: go for it - add it to the -able kernel defconfig. teach me what ndb is all about ... |
02:47.11 | glc | http://nbd.sourceforge.net/ |
02:47.12 | *** join/#nslu2-linux Christopher (~Christoph@128-193-245-216.resnet.oregonstate.edu) |
02:47.47 | rwhitby-web | ta |
02:52.45 | glc | http://atrey.karlin.mff.cuni.cz/~pavel/nbd/nbd.html |
02:54.05 | glc | http://www.it.uc3m.es/~ptb/nbd/ |
02:54.44 | glc | That is about it. |
02:54.56 | jacques | the thing I remember about nbd is that it works well but don't try to swap over it |
02:54.58 | rwhitby-web | cool. |
02:55.31 | rwhitby-web | One other thing we need is the ability to store an ext3 image in a file mounted from vfat. Anyone know how to do that? |
02:56.12 | glc | The Sourceforge link states that swapping works. |
02:56.21 | jacques | since when I wonder |
02:56.37 | jacques | fine go ahead. swap over it - see if I care :-P |
02:56.55 | rwhitby-web | [then you could have a vfat disk connected to your slug, and store your installed package tree in a file on the vfat disk] |
02:57.36 | rwhitby-web | it'd be like a loopback mount, right? |
02:57.47 | rwhitby-web | can we do loopback mounts on unslung at the moment? |
02:57.50 | kergoth | loopback should work fine. |
02:57.56 | kergoth | as long as its enabled, obviously |
02:58.07 | peteru-work | nbd filesystems can't be shared :( |
02:58.17 | glc | Right. |
02:58.48 | glc | How many slugs you plan on running? Slug farm? |
02:58.51 | jacques | rwhitby-web, loop is enabled at least in able IIRC |
02:58.52 | peteru-work | and running on top of TCP... I suppose it's ok with modern networks |
02:59.07 | jacques | oops |
02:59.11 | jacques | maybe it's not :-\ |
02:59.39 | jacques | that must have been one of my custom configs that had it |
03:00.26 | rwhitby-web | jacques: can you add it to -able? |
03:00.40 | rwhitby-web | that'll make the guy who wants loopback ISO mounts happy to ... ? |
03:01.15 | peteru-work | Limitations:It is impossible to use NBD as a root file system, as a user-land program is required to start |
03:01.46 | jacques | rwhitby-web, yep I'll add it |
03:01.53 | peteru-work | in which case it may as well be a module, since there's nothing gained by having it in the kernle itself |
03:02.06 | glc | http://borderworlds.dk/projects/#nr |
03:02.13 | rwhitby-web | peteru-work: on another page there is a link to a package which lets you do it in an initrd |
03:02.17 | rwhitby-web | yeah, that's it |
03:02.24 | rwhitby-web | we could do it in switchbox |
03:02.29 | jacques | peteru-work, well one way to look at things is, until we run out of the 1MB space - maybe we should build stuff into the kernel to save space ? |
03:04.07 | rwhitby-web | to go into the unslung-able kernel, it needs to be something that at least camp #2 has a chance of using ... |
03:04.47 | rwhitby-web | if it's so esoteric that you need to be an OpenSlug-type anyway, then there's no incentive to put it in the unslung kernel ... |
03:05.15 | rwhitby-web | speaking of a CSR-enabled OpenSlug in OE .... ;-) |
03:05.17 | jacques | heh what are we talking about? |
03:05.26 | kergoth | CSR is in oe. the ethernet driver isnt yet. |
03:05.29 | kergoth | i'll take care of it |
03:05.35 | jacques | I'm confused are we talking about nbd or loop? |
03:05.38 | rwhitby-web | ~praise kergoth |
03:05.40 | jbot | All hail kergoth! |
03:05.56 | rwhitby-web | jacques: I was referring to nbd compiled into the kernel |
03:06.23 | rwhitby-web | loop is something that I think lots of camp #2 would use |
03:06.27 | glc | How about as a module, like md and raid? |
03:06.33 | Ksilebo | Anyone going to be playing Half Life 2? |
03:06.41 | rwhitby-web | yeah, module is always good |
03:07.06 | peteru-work | I think the policy should be that if it is something that you may reasonably require at boot time, it should be in kernel. |
03:07.15 | peteru-work | modules for rest. |
03:07.18 | jacques | rwhitby-web, OK but do you want me to put loop builtin or as a module ? |
03:07.25 | *** join/#nslu2-linux dyoung-web (~80ab9a96@cpe-24-94-83-103.hawaii.rr.com) |
03:07.38 | peteru-work | but maybe that policy can take effect when we run out of room |
03:07.46 | rwhitby-web | agreed - if it's something that an unslung user (as opposed to an openslug user) may reasonably require at boot time, then it goes in the kernel |
03:08.08 | rwhitby-web | jacques: for loop, I think builting |
03:08.11 | jacques | I want reiserfs! (j/k) |
03:08.20 | glc | Reiser4!!! |
03:08.21 | peteru-work | me too |
03:08.22 | jacques | that would more than blow our budget |
03:08.29 | jacques | (builtin that is) |
03:08.32 | dyoung-web | rwhitby-web, I think I have the same problem that you were having last night., |
03:08.37 | rwhitby-web | yeah, size is a factor too |
03:08.45 | rwhitby-web | I presume that loop is quite small |
03:08.52 | jacques | yeah loop is small |
03:08.54 | jacques | IIRC |
03:08.56 | dyoung-web | loop works if you enable it in ther kernel. |
03:09.03 | rwhitby-web | dyoung-web: what problem? |
03:09.12 | peteru-work | loop requires an underlying fs to mount, so in theory could be a module. |
03:09.13 | dyoung-web | the booting of jffs2 as rootfs. |
03:09.30 | rwhitby-web | dyoung-web: check your linuxrc to make sure it is umounting |
03:09.41 | dyoung-web | I built loop as a module; didnt try build it in. |
03:10.08 | dyoung-web | its supposedly unmounting. it seems to be ignoring the real-root-dev. |
03:10.25 | jacques | oh BTW, here is static switchbox in (hacked) oe: 118220 Nov 15 18:42 busybox* |
03:10.50 | dyoung-web | oh yeah, is init enabled in switchbox? |
03:11.13 | rwhitby-web | peteru-work: agreed - another item to the policy: if it's likely to be used by unslung users as part of switchbox (i.e. we make it an official option for booting from) then it should be in kernel, as long as there is enough room |
03:11.50 | jacques | hmm that's using my config - I need to try it using the latest switchbox config (been hacking up oe so havent pulled on that box lately) |
03:11.54 | rwhitby-web | dyoung-web: it is at the moment, but it doesn't need to be - I'll probably take that test out of the linuxrc |
03:12.24 | dyoung-web | init makes things weird because there isnt a inittab. |
03:12.33 | dyoung-web | or if there it its not optimized |
03:12.49 | rwhitby-web | yeah, I know - jacques can you remove init from the switchbox in OE please and push? |
03:12.50 | dyoung-web | I didnt check. Either way it gives me loads of "bummer" messages when it cant find my rootfs. |
03:13.22 | jacques | rwhitby-web, OK I am about to add loop builtin to able kernel and remove init from switchbox |
03:13.41 | rwhitby-web | cool |
03:14.43 | glc | The eternal - continuous compile . . . |
03:15.08 | rwhitby-web | ok, the test in linuxrc stays as is - it's checking for /bin/init in the jffs2 partition, not the switchbox ramdisk. That's correct. |
03:16.14 | rwhitby-web | what's the consensus on whether the optional running on /unslung/rc.linuxrc on a jffs2 partition stays or goes? |
03:17.12 | dyoung-web | the 2nd to the last stanza of slungbox linuxrc seems funny. |
03:17.16 | rwhitby-web | my idea is that we can have a single /linuxrc for unslung and openslug (with stick redboot), so I'm thinking that the /linuxrc should not reference any unslung-specific stuff in the jffs2 portion. |
03:17.59 | rwhitby-web | dyoung-web: that's for the case where the /linuxrc is actually inside a single big ramdisk, not in a switchbox |
03:17.59 | dyoung-web | It claims to be wanting to mount from ram0, but it echoes 0x1f04 into real_root_dev . |
03:18.14 | rwhitby-web | ok - that's a bug |
03:18.26 | rwhitby-web | it should echo 0100 |
03:18.35 | dyoung-web | yeah, thats what I figgered. ;-) |
03:18.55 | rwhitby-web | jacques: can you fix that and push? |
03:19.00 | CIA-7 | 03jacques 07 * r1.2556 10packages/ (2 files in 2 dirs): removed init from switchbox and added loop block dev builtin to -able kernel |
03:19.10 | jacques | huh? |
03:19.13 | jacques | reading |
03:19.28 | rwhitby-web | line 57 of linuxrc in switchbox |
03:19.51 | rwhitby-web | And I'm thinking that line 45 should be deleted. |
03:20.27 | jacques | change this: /bin/echo "0x1f04" > /proc/sys/kernel/real-root-dev to 0x0100 ? |
03:20.39 | rwhitby-web | yep |
03:20.54 | jacques | and delete line 45 ? |
03:21.00 | rwhitby-web | to switch it back to mounting from ram0 - yeah I know it's superfluous cause we've already set it to that at the top |
03:21.01 | rwhitby-web | yes |
03:21.23 | rwhitby-web | should be no references to unslung in the jffs2 stanza |
03:21.50 | rwhitby-web | Hmm - what about line 42 ? |
03:22.15 | rwhitby-web | delete that too |
03:22.20 | dyoung-web | append -able to it? |
03:22.51 | rwhitby-web | no, cause the idea is that this /linuxrc and switchbox can be used for openslug (with stock redboot) too |
03:23.20 | rwhitby-web | with openslug having the 128Kb switchbox and a big jffs2 |
03:23.27 | jacques | this C-x C-q thing only half works - after I exit emacs, it I want to edit the file again, it asks if I want to seal the lock from myself - and if I say yes the changes are lost |
03:23.58 | *** join/#nslu2-linux mickg10__ (~ZOG@ool-18bacfea.dyn.optonline.net) |
03:23.59 | rwhitby-web | exit emacs ? why would you ever do that ? |
03:24.14 | jacques | :-\ |
03:24.15 | rwhitby-web | C-x C-q to check it back in again too, right? |
03:24.17 | mickg10__ | to start vi ? :) |
03:24.27 | jacques | rwhitby-web, oh I didn't know about that |
03:24.29 | rwhitby-web | mickg10__ speaks!!!!!! |
03:24.38 | rwhitby-web | Hi mickg10__ :-) |
03:24.42 | mickg10__ | hello |
03:24.43 | jacques | nothing like an editor holy war to get ppl talking |
03:24.52 | mickg10__ | true that... |
03:25.03 | jacques | rwhitby-web, what's the general comment for what I just did ? |
03:25.15 | jacques | "deleted some stuff rwhitby told me to" |
03:25.29 | rwhitby-web | Removed unslung specific references from the switchbox linuxrc jffs2 stanza |
03:25.43 | *** join/#nslu2-linux seadevil (~seadevil@pcp07741581pcs.nrockv01.md.comcast.net) |
03:26.02 | rwhitby-web | who was it yesterday who was saying they had never seen mickg10__ speak ? |
03:26.28 | [g2] | Hi seadevil |
03:26.36 | *** join/#nslu2-linux Christopher (~Christoph@128-193-245-216.resnet.oregonstate.edu) |
03:26.50 | rwhitby-web | [g2]: are you diskless-unslung yet? |
03:27.02 | seadevil | not yet |
03:27.06 | [g2] | I wish you could swing by "Taste of Saigon"and e-mail me some food |
03:27.27 | [g2] | I've got unsulung images |
03:27.34 | [g2] | can I just load them |
03:28.02 | rwhitby-web | you have to flash to change the FIS directory |
03:28.13 | rwhitby-web | you have to build an image using slugimage |
03:28.23 | CIA-7 | 03jacques 07 * r1.2557 10packages/busybox/switchbox-1.00/linuxrc: |
03:28.23 | CIA-7 | Removed unslung specific references from the switchbox linuxrc jffs2 stanza |
03:28.23 | [g2] | I've got slugimage |
03:28.24 | CIA-7 | changed /bin/echo "0x1f04" to /bin/echo "0x0100" in ramfs stanza |
03:29.21 | rwhitby-web | can someone put slugimage into OE ? should be a simple copy and edit of the slugtool package (which it will eventually replace) |
03:29.44 | rwhitby-web | then we can create a flashable jffs2 8mb image in OE |
03:29.45 | [g2] | rwhitby-web, slugimage needs a clean |
03:29.51 | [g2] | to clean all the images up |
03:30.07 | rwhitby-web | ? |
03:30.17 | [g2] | from the unpack |
03:30.27 | rwhitby-web | but you need them for your next pack |
03:30.47 | rwhitby-web | [most of them at least] |
03:30.54 | [g2] | not if your unpacking first and want to make sure there gone |
03:31.02 | [g2] | like now |
03:31.06 | jacques | slugimage differs from slugtool in that it does not need to be built |
03:31.21 | [g2] | slugimage in oe will require perl-native I'd guess |
03:31.30 | rwhitby-web | if you don't want them written out, then set the filename for that to /dev/null on the unpack |
03:31.33 | [g2] | cause oe build everything it needs |
03:31.53 | rwhitby-web | yep -we'll need to add some nslu2-package-symlinks ... |
03:32.00 | [g2] | I'm just talking about creating a clean state |
03:32.50 | [g2] | anyway it was just a suggestion |
03:32.54 | jacques | do we really want to have oe build perl when it's 99.9% probably already installed ? |
03:33.01 | jacques | that sounds rather gratuitous to me |
03:33.12 | [g2] | I don't |
03:33.15 | rwhitby-web | [g2]: Hmm - how does it know what to delete - you might have used options on the first run to change filenames |
03:33.31 | [g2] | all the non .img files |
03:33.45 | kergoth | jacques: i'm making all of OE obey a 'USE_NLS' variable. |
03:33.54 | kergoth | so far i've got uclibc and every gettext based package obeying it |
03:33.58 | kergoth | havent tested any builds yet |
03:34.09 | rwhitby-web | [g2]: bit dangerous - I do my image building in a directory with lots of other files in it |
03:34.34 | rwhitby-web | kergoth: cool, so we can just set USE_NLS to 0 in unslung.conf ? |
03:34.41 | jacques | kergoth cool I think that will be rather useful (to more than just us :-) |
03:34.43 | kergoth | thats the idea |
03:34.51 | rwhitby-web | ~praise kergoth |
03:34.53 | jbot | All hail kergoth! |
03:34.55 | [g2] | rwhitby-web, I meant Redboot SysConf Trailer ramdisk.gz vmlinuz |
03:35.27 | rwhitby-web | [g2]: yeah, but you might have used the -b or -s or -t or -r or -k options to write them to other files |
03:36.03 | *** join/#nslu2-linux mickg10__ (~ZOG@ool-18bacfea.dyn.optonline.net) |
03:36.27 | rwhitby-web | so on the second run, slugimage can't be sure which you want deleted, unless you tell it explicitly, in which case you might as well have typed rm instead :-) |
03:37.15 | rwhitby-web | but feel free to add something if I'm just not getting it ... |
03:38.05 | mickg10__ | well, I just got the just desserts for attempting to start a holy war :) |
03:38.13 | mickg10__ | My system just kernel-panicked. |
03:38.19 | [g2] | rwhitby-web back to diskless |
03:38.22 | mickg10__ | grrr |
03:38.24 | kergoth | wonder if i should create a gettext oeclass, rather than using whether or not 'gettext-native' is in DEPENDS to decide whether or not it supports it |
03:38.47 | [g2] | I've got slugimage and the unslung-able-nslu2-20041115231519.img in the directory |
03:39.09 | [g2] | I'll unpack it and copy the .jffs2 fs in there |
03:39.18 | [g2] | then I need the right slugimage command correct ? |
03:40.11 | *** part/#nslu2-linux mickg10__ (~ZOG@ool-18bacfea.dyn.optonline.net) |
03:40.59 | rwhitby-lunch | you need to copy in the switchbox .ext2.gz too |
03:41.12 | [g2] | ok, it's built |
03:41.34 | rwhitby-lunch | then you pack with -r Ramdisk:foo.ext2.gz:Flashdisk:foo.jffs2 |
03:42.24 | rwhitby-lunch | will jacques, dyoung or [g2] get to be Unslung 3.x #2 ??? |
03:42.39 | rwhitby-lunch | the race is on .... |
03:43.12 | jacques | hmm, what local.conf changes are required ? |
03:43.13 | rwhitby-lunch | [g2] is wondering: "Which will upload faster, the web interface or upslug?" |
03:43.21 | [g2] | are you running standard or albe |
03:43.22 | [g2] | able |
03:43.30 | rwhitby-lunch | needs to be able |
03:44.05 | rwhitby-lunch | jacques: don't think I made any local.conf changes - it's just a normal -able unslung build |
03:44.44 | jacques | then where is jffs2 image type added ? |
03:45.00 | jacques | is that committed ? |
03:45.30 | rwhitby-lunch | yep, in unslung-able-image |
03:45.56 | jacques | cool - so can just start an unslung build as my first step to getting 3.0-ified ? |
03:45.58 | rwhitby-lunch | oh - in unslung-standard-image actually - the jffs2 and ext2.gz are both built for both -standard and -able |
03:46.18 | rwhitby-lunch | unslung-image will get you everything you need (including switchbox) |
03:46.44 | rwhitby-lunch | then you just need to pack it together using the new slugimage which pads the last variable partition |
03:47.03 | [g2] | rwhitby-lunch, like this? ./slugimage -p -o unslung-3.0.img -r Ramdisk:unslung-switchbox-nslu2-20041115231519.rootfs.ext2.gz:Flashdisk:unslung-able-nslu2-20041115231519.rootfs.jffs2 |
03:47.05 | jacques | `k sounds good I'll start the build |
03:47.07 | rwhitby-lunch | that's the bit for which we need slugimage in OE |
03:47.23 | rwhitby-lunch | [g2]: that should do it |
03:47.36 | [g2] | Invalid syntax in --ramdisk |
03:47.50 | rwhitby-lunch | comma |
03:47.59 | [g2] | not : |
03:48.00 | rwhitby-lunch | foo:bar,bar:quux |
03:48.21 | rwhitby-lunch | s/bar:quux/baz:quux/ |
03:48.44 | [g2] | that's a flashable image ? :) |
03:48.46 | dyoung-web | bkpulling, oemaking, so I can be #2 again. |
03:49.07 | rwhitby-lunch | [g2]: should be - did the directory look right? |
03:49.08 | [g2] | Um, I'm about do flash so you better hurry up |
03:49.13 | dyoung-web | Ai! |
03:49.31 | dyoung-web | I should be expidennt and just fix the ramdisk.gz linuxrc. |
03:49.34 | [g2] | Allocated <RedBoot> from 0x50000000 to 0x50040000 |
03:49.34 | [g2] | Allocated <SysConf> from 0x50040000 to 0x50060000 |
03:49.34 | [g2] | Allocated <Kernel> from 0x50060000 to 0x50160000 |
03:49.34 | [g2] | Allocated <Ramdisk> from 0x50160000 to 0x50300000 |
03:49.34 | [g2] | Allocated <Flashdisk> from 0x50300000 to 0x50760000 |
03:49.35 | [g2] | Allocated <FIS directory> from 0x507E0000 to 0x50800000 |
03:49.35 | jacques | one of my machines is seriously screwed up with regard to bk |
03:49.48 | jacques | when I bk pull it takes forever |
03:49.56 | [g2] | Wrote 0x00040000 bytes (0x00000000 to 0x00040000) from <RedBoot> into "unslung-3.0.img" |
03:49.56 | [g2] | Wrote 0x00020000 bytes (0x00040000 to 0x00060000) from <SysConf> into "unslung-3.0.img" |
03:49.56 | [g2] | Wrote 0x00100000 bytes (0x00060000 to 0x00160000) from <Kernel> into "unslung-3.0.img" |
03:49.56 | [g2] | Wrote 0x001A0000 bytes (0x00160000 to 0x00300000) from <Ramdisk> into "unslung-3.0.img" |
03:49.56 | [g2] | Wrote 0x00460000 bytes (0x00300000 to 0x00760000) from <Flashdisk> into "unslung-3.0.img" |
03:49.57 | [g2] | Padded 4 blocks before <FIS directory> in "unslung-3.0.img" |
03:49.59 | [g2] | Wrote 0x00020000 bytes (0x007E0000 to 0x00800000) from <FIS directory> into "unslung-3.0.img" |
03:50.01 | [g2] | Rewound 0x00000010 bytes before <Trailer> in "unslung-3.0.img" |
03:50.05 | [g2] | Wrote 0x00000010 bytes (0x007FFFF0 to 0x00800000) from <Trailer> into "unslung-3.0.img" |
03:50.05 | rwhitby-lunch | [g2]: is that latest slugimage? |
03:50.07 | kergoth | eh, dood |
03:50.09 | kergoth | dont flood |
03:50.16 | dyoung-web | We'll see if [g2] has the bummer message now too. |
03:50.22 | dyoung-web | heh |
03:50.22 | [g2] | it's just a couple lines more than 4 |
03:50.26 | dyoung-web | which means I still might have chance. |
03:50.31 | rwhitby-lunch | what's the roots of the don't flood thing anyway? |
03:50.37 | kergoth | 15 is more than a couple more than 4. |
03:50.45 | kergoth | i dont have time to teach you irc ettiquite. go read the freenode rules |
03:50.49 | [g2] | it was 9 |
03:51.00 | kergoth | no, it wasnt. look again. |
03:51.16 | [g2] | it was 6 then 2 from jacques then 9 |
03:51.21 | kergoth | and? |
03:51.27 | rwhitby-lunch | I know the rules, I'm asking about what the background is behind why the rules were set that way ... |
03:51.32 | kergoth | learn to use irc. |
03:51.43 | kergoth | rwhitby-lunch: flooding can desync the channel. disconnect users. etc. |
03:51.44 | rwhitby-lunch | did people used to read IRC on five-line screens or something? |
03:51.53 | kergoth | i dont feel like explaining to the freenode ircops that'll joint he channel if that happens |
03:51.57 | kergoth | do you? |
03:51.58 | kergoth | s/joint/join/ |
03:51.59 | [g2] | it used to be async |
03:52.04 | rwhitby-lunch | ah - it's a protocol thing? |
03:52.27 | rwhitby-lunch | is it historical, or will it still desync today ? |
03:52.44 | kergoth | dunno on the desyncing. it *will* disconnect users |
03:52.53 | kergoth | if you flood anyone offline, people will not be happy with you |
03:53.18 | dyoung-web | still get chance.... |
03:53.33 | jacques | I wanna be #4 anyway |
03:55.23 | glc | Where is slugimage? |
03:55.25 | rwhitby-lunch | jacques: if we're trying to replicate the good old days, then we need to get the nefarious mr buzbee in here to be #5. |
03:55.35 | [g2] | glc cvs |
03:56.00 | peteru-work | I remember the week irc came to Australia. An exchange student brought it back with him on a Mag tape :-) We had 4 users, two of them were on TTYs, actually watching the chat print on fanfold :-) |
03:56.09 | [g2] | and someone to test some else's work first |
03:56.16 | kergoth | peteru-work: you're showing your age :) |
03:56.35 | [g2] | geezer |
03:57.07 | jacques | I was addicted to the original Bitnet Relay in college |
03:57.17 | peteru-work | I was a young-un then, able to drink Black Sambuca by the pint ;) |
03:57.34 | [g2] | Bummer, can't open /dev/tty2 |
03:57.34 | [g2] | Bummer, can't open /dev/tty3 |
03:57.34 | [g2] | Bummer, can't open /dev/tty4 |
03:57.43 | rwhitby-lunch | heh - read the description of flood here : http://support.loxinfo.co.th/security.asp?where=security/irc_privacy |
03:58.30 | kergoth | jeeze, that site is taking forever to load |
03:58.51 | rwhitby-lunch | it's 0wnzing your machine while you wait |
03:58.56 | jacques | and the text is like 1 point |
04:00.25 | rwhitby-lunch | [g2]: no go? |
04:00.26 | peteru-work | served over dialup from a boat near a Thail village. |
04:00.34 | [g2] | rwhitby-lunch, no go |
04:00.40 | peteru-work | s/ail/ai |
04:00.58 | [g2] | i get the bummer and it doesn't look like proc is mounted because that was df says |
04:01.00 | glc | Is there another CVS? I can't find it in the unslung 1.x CVS. |
04:01.39 | jacques | what broke since rwhitby-lunch made his 3.0 image ? |
04:01.50 | [g2] | Root filesystem cannot be found - rebooting ... |
04:01.50 | [g2] | + /sbin/reboot |
04:02.53 | [g2] | + /bin/mount -rt jffs2 /dev/mtdblock4 /mnt/tmpmnt |
04:02.53 | [g2] | mount: Mounting /dev/mtdblock4 on /mnt/tmpmnt failed: No such device |
04:02.55 | kergoth | | /home/kergoth/code/build-tosa/tmp/work/gcc-cross-3.4.2-r1/gcc-3.4.2/build.i686-linux.arm-linux-uclibc/arm-linux-uclibc/libstdc++-v3/include/arm-linux-uclibc/bits/codecvt_specializations.h:423: error: there are no arguments to `__iconv_adaptor' that depend on a template parameter, so a declaration of `__iconv_adaptor' must be available |
04:02.56 | rwhitby-lunch | glc: cvs module "slugimage" |
04:03.01 | kergoth | alright, this looks familiar |
04:03.02 | kergoth | here we go |
04:03.44 | [g2] | isn't this an old device-txt file ? |
04:04.08 | rwhitby-lunch | did you rebuild from scratch? |
04:04.44 | [g2] | no, I had a rebuild from a couple hours ago, and some recent pulls |
04:05.15 | rwhitby-lunch | Hmm - looks like switchbox is missing /mnt/tmpmnt |
04:05.18 | jacques | i thought the 8 mtdblock thing was committed |
04:07.33 | rwhitby-lunch | nope - it's there. |
04:07.50 | rwhitby-lunch | [g2]: did you rebuild switchbox? |
04:08.07 | [g2] | not in the last hour |
04:08.33 | rwhitby-lunch | since I pushed this morning |
04:08.47 | rwhitby-lunch | after making my son's breakfast |
04:08.52 | [g2] | it was 5 hours ago |
04:10.00 | dyoung-web | Okay, I'm not al;one. |
04:10.02 | dyoung-web | Still get chance. |
04:10.16 | jacques | my build is up to glibc |
04:10.30 | rwhitby-lunch | [g2]: loopback mount the switchbox image, and make sure it has /dev/mtdblock4 and /mnt/tmpmnt in it |
04:11.29 | rwhitby-lunch | the one I built a while ago does |
04:11.53 | rwhitby-lunch | remember that switchbox is an ipk, and it gets loaded into unslung-switchbox-image |
04:12.35 | rwhitby-lunch | an early version of the switchbox ipk didn't have /mnt/tmpmnt |
04:13.43 | [g2] | um actually the appear to be in there twice |
04:13.55 | [g2] | which seems rather odd |
04:14.04 | kergoth | come on baby.. i think i fixed the gcc w/ uclibc w/ no locales bug |
04:15.48 | kergoth | moment of truth.. libstdc++ build |
04:16.18 | kergoth | shit, still failed |
04:16.21 | kergoth | err |
04:16.27 | kergoth | no, those were warnings |
04:16.32 | kergoth | i think it worked |
04:16.35 | kergoth | hey, it did |
04:16.37 | kergoth | cool |
04:16.39 | kergoth | that was easy |
04:16.39 | kergoth | :D |
04:16.49 | kergoth | :P |
04:16.55 | jacques | :-( |
04:16.57 | jacques | i suck |
04:17.02 | jacques | i might as well give up now |
04:17.10 | kergoth | fuck, false alarm |
04:17.14 | kergoth | still failed, just later |
04:17.15 | kergoth | damnit |
04:17.30 | kergoth | when mjn3 gets back, i'm going to throw something at him |
04:18.24 | rwhitby-lunch | So this page (http://source.freenode.net/~asuffield/dancer/dancer-user-guide/dancer-user-guide.txt) says that FreeNode's server throttle floods anyway, and just automatically kick the person who is flooding ... |
04:19.23 | rwhitby-lunch | and I can't find an actual *rule* about flooding here: http://freenode.net/using_the_network.shtml or here: http://freenode.net/policy.shtml or here: http://freenode.net/channel_guidelines.shtml |
04:19.33 | dyoung-web | I remember IRC in the "early" days. it was quit handy during the first gulf war. |
04:19.50 | rwhitby-lunch | so while I agree that it's bad form, and was historically malicious, the question still stands: is it a real problem today? |
04:20.16 | kergoth | well, i've seen floods knock more people off than just the flooder. on freenode. |
04:20.21 | kergoth | so i wouldnt say its full proof. |
04:20.32 | rwhitby-lunch | recently? |
04:21.00 | kergoth | yes. |
04:21.05 | dyoung-web | This build is taking a while. [g2] might beat me. |
04:21.22 | [g2] | I'm back to building gcc |
04:21.24 | rwhitby-lunch | ok, kergoth has empirical evidence. that answers the question |
04:21.32 | jacques | I'm packaging glibc |
04:21.43 | [g2] | binutils finished |
04:21.52 | [g2] | how big was the channel ? |
04:21.55 | [g2] | 100 users ? |
04:22.12 | rwhitby-lunch | don't forget that jacques has the quad opteron 64 Titanium server farm backing him ... |
04:22.41 | [g2] | actually it mostly in ccache |
04:23.03 | [g2] | smp (HT) + 1G Mem is pretty speedy |
04:23.05 | dyoung-web | I need to un-scurvy-ify my build box. |
04:23.17 | kergoth | remember that if you rebuild the toolchain (i.e. doing a full oe build), ccache is largely worthless |
04:23.27 | kergoth | since changing toolchains dirties the cached objects for everything built with it |
04:23.58 | rwhitby-lunch | if history repeats itself, it will be dyoung, then [g2], then jacques ... |
04:24.54 | [g2] | plus oe single threads everything because glibc install is hosed |
04:25.45 | [g2] | so it'll be tomorrow at that rate |
04:25.56 | [g2] | 35 minutes here |
04:26.16 | kergoth | oe isnt threaded regardless. dont know what you mean by that |
04:26.33 | [g2] | the MAKE overrides |
04:27.05 | [g2] | -j |
04:27.40 | kergoth | uh |
04:27.48 | kergoth | overriding MAKE *will* break things in oe. |
04:27.51 | kergoth | guaranteed. |
04:27.58 | kergoth | glibc wont do_install, just to start with |
04:28.00 | [g2] | OEMAKE |
04:28.03 | kergoth | much less all the other packages that cant deal with it |
04:28.10 | kergoth | there's no such thing as an OEMAKE variable |
04:28.27 | kergoth | if you put -j in oe's MAKE variable, it *will* break the build. |
04:28.33 | kergoth | just keep that in mind |
04:28.43 | kergoth | oh those FUCKERS |
04:28.45 | kergoth | <PROTECTED> |
04:28.45 | kergoth | <PROTECTED> |
04:28.46 | kergoth | <PROTECTED> |
04:28.46 | kergoth | <PROTECTED> |
04:28.46 | kergoth | <PROTECTED> |
04:28.48 | kergoth | <PROTECTED> |
04:28.51 | kergoth | jacques: look at that shit. |
04:28.53 | kergoth | jacques: you cant explicitly disable it. |
04:28.54 | [g2] | FLOOD |
04:28.56 | kergoth | jacques: it drops back to auto |
04:29.07 | kergoth | 6 lines is not 15. fuck off. |
04:29.24 | [g2] | hey mine was 6 then 9 |
04:29.42 | jacques | kergoth wow where is that? |
04:29.53 | jacques | in gcc config ? |
04:30.20 | kergoth | jacques: libstdc++'s configure. i'm trying to disable its support for clocales completely. |
04:30.24 | jacques | why why why |
04:30.24 | kergoth | cant figure out how |
04:30.27 | kergoth | wading through its macros |
04:30.40 | [g2] | it's in the log file that dyoung has a 6 + 2 jacques then 9 |
04:31.00 | kergoth | the fact that jacques typed in the middle of your flood means nothing. |
04:31.09 | [g2] | I paused |
04:31.11 | kergoth | i dont really give a shit. just dont do it in the future |
04:31.24 | jacques | maybe buildroot rm's some stuff to make libstdc++ not detect it |
04:31.38 | kergoth | jacques: could be, i havent looked at buildroot at all. |
04:31.38 | jacques | I didn't understand all the rm's in the makefile |
04:36.09 | jacques | buildroot actually has the rm's commented out: |
04:36.11 | jacques | gcc-uclibc-3.x.mk: #rm -rf $(STAGING_DIR)/info $(STAGING_DIR)/man $(STAGING_DIR)/share/doc $(STAGING_DIR)/share/locale |
04:36.11 | jacques | gcc-uclibc-3.x.mk: #rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \ |
04:36.11 | rwhitby-lunch | kegoth has been appointed #nslu2-linux ircop apparently :-) |
04:36.48 | kergoth | thats just cleanup aftter the install |
04:36.50 | kergoth | wouldnt affect this |
04:37.27 | jacques | oh duh right |
04:37.30 | kergoth | damn you stdc++ |
04:37.31 | kergoth | checking for C locale to use... uclibc |
04:39.24 | jacques | one of the patches does patch the uclibc locale selection config in gcc, but I tried that patch in oe (it was only slightly different from the one oe already has anyway) |
04:42.28 | jacques | kergoth in the config.log of gcc-final in buildroot I see this: --enable-clocale=generic |
04:42.45 | kergoth | aha, so its not using the uclibc C locale. |
04:43.01 | kergoth | thatd explain it. |
04:43.12 | kergoth | are they specifying that on their call to configure? |
04:43.37 | jacques | checking |
04:43.51 | jacques | (I don't think so tho because I've looked at that like a million times) |
04:44.31 | jacques | nope there's nothing about locale in the configure line |
04:44.34 | kergoth | /home/kergoth/code/build-tosa/tmp/work/gcc-cross-3.4.2-r1/gcc-3.4.2/build.i686-linux.arm-linux-uclibc/arm-linux-uclibc/libstdc++-v3/include/iosfwd:46:29: bits/c++locale.h: No such file or directory |
04:44.39 | kergoth | disabling it completely doesnt work |
04:44.44 | kergoth | you must specify one |
04:45.04 | jacques | there is however a --disable-nls |
04:45.13 | kergoth | we do that too, it doesnt affect the clocale |
04:45.16 | kergoth | they're independent |
04:45.18 | jacques | oh |
04:46.26 | jacques | ok this is weird - later in the same file I see another configure line with: --enable-clocale=generic |
04:46.53 | kergoth | in what file? |
04:46.54 | jacques | oh, that's from the native compiler |
04:46.59 | jacques | ignore that :-\ |
04:47.02 | kergoth | heh |
04:47.04 | jacques | this is driving me insane |
04:47.18 | kergoth | look at the configure in arm-linux-uclibc/libstdc++ or whatever |
04:47.22 | kergoth | in the compile output from buildroot |
04:47.23 | jacques | ok |
04:47.26 | kergoth | (if you've got it handy) |
04:48.44 | dyoung-web | upslugging. |
04:49.17 | jacques | this is weird - in the gcc-final I can't fing libstdc++ anywhere |
04:49.30 | kergoth | what are they setting for languages? |
04:49.42 | jacques | hmm sigh |
04:49.50 | jacques | this buildroot I might have built with no c++ |
04:49.56 | kergoth | ah, heh |
04:49.58 | kergoth | thatd do it |
04:50.19 | jacques | but I know that buildroot will build c++/libstdc++ without uclibc locales enabled |
04:50.42 | [g2] | hey how do I oemake just the zImages ? |
04:50.49 | jacques | it doesn't take too long to do a buildroot build - I'm going to do one with c++ |
04:54.06 | jacques | [g2], you should be able to do oemake unslung-able-kernel |
04:55.01 | dyoung-web | Well, I have my 7 partitio ns now. |
04:55.04 | [g2] | jacques, thx. I did an oemake -c clean unslung-standard-kernel then unslung-able-kernel |
04:55.24 | jacques | ok this does not look right: 73147 Nov 15 21:36 unslung-switchbox-nslu2-20041116045113.rootfs.ext2.gz |
04:55.36 | *** join/#nslu2-linux kergoth (~kergoth@2001:5c0:8fff:fffe:0:0:0:c29) |
04:55.59 | rwhitby-lunch | [g2]: unslung-able-kernel |
04:56.13 | dyoung-web | mine is 875k |
04:56.51 | rwhitby-lunch | same hre |
04:57.28 | rwhitby-web | jacques: if your's has everything in it, then that's good :-) |
04:57.41 | rwhitby-web | but I'd say you're missing the dynamic libraries |
04:58.27 | rwhitby-web | which get installed into unslung-switchbox-image by switchbox requiring glibc which is provided by nslu2-linksys-libs |
04:58.41 | jacques | rwhitby-web, what did I do wrong _ there are no shared libs |
04:58.42 | kergoth | jacques: forcing to generic worked. |
04:58.49 | kergoth | i'll make it obey USE_NLS and check it all in |
04:58.57 | jacques | kergoth fantastic I can't wait to try it |
04:59.21 | jacques | rwhitby-web, something not checked in ? |
04:59.38 | rwhitby-web | jacques: we probably should make nslu2-linksys-libs explicit in UNSLUNG_BASE_PACKAGES in unslung-switchbox-image |
04:59.50 | rwhitby-web | you're shlibdeps must be different from previous builds |
05:00.22 | rwhitby-web | make it explicit in unslung-switchbox-image and it will work |
05:00.32 | rwhitby-web | dyoung-web: go or no go ? |
05:00.57 | [g2] | should I stay or should I go now ? |
05:01.12 | [g2] | If I stay there will be trouble |
05:01.13 | rwhitby-web | if I stay there will be trouble |
05:01.24 | [g2] | and I if flood it will be double |
05:01.26 | rwhitby-web | so I gotta let you know .... |
05:01.52 | rwhitby-web | s/I gotta let you/you gotta let me/ |
05:02.07 | rwhitby-web | all together now .... |
05:02.45 | [g2] | dyoung must be updating the db |
05:04.08 | dyoung-web | I no go yet. |
05:04.46 | dyoung-web | But I'll let you know. |
05:05.14 | dyoung-web | upslug kicks ass. |
05:05.22 | dyoung-web | ~worship Christopher |
05:05.24 | jbot | ACTION kneels before Christopher. "I'm not worthy!" |
05:05.35 | dyoung-web | ~botsnack |
05:05.35 | jbot | :), dyoung-web |
05:07.06 | jacques | this looks more like it: 873901 Nov 15 22:05 unslung-switchbox-nslu2-20041116060405.rootfs.ext2.gz |
05:09.11 | jacques | why are most of the devices doubled in switchbox-image ??? |
05:10.39 | jacques | yeah I saw your q [g2] but I didn't understand what you meant at the time |
05:11.01 | jacques | this is bizarre |
05:11.15 | jacques | brw-r--r-- 1 root root 31, 0 Nov 15 22:05 mtdblock0 |
05:11.22 | jacques | almost all devices are like that |
05:11.53 | [g2] | jacques, are you logged in ? |
05:12.05 | jacques | no I just mounted the switchbox image to look at it |
05:12.16 | jacques | to make sure the shared libs were in and I saw that |
05:12.25 | [g2] | ah, I'm flashing with an updated kernel |
05:12.49 | jacques | how can two files in the same dir have the same name??? |
05:13.24 | [g2] | different inodes ? |
05:13.30 | jacques | same inodes |
05:13.42 | jacques | <PROTECTED> |
05:13.56 | rwhitby-web | makedevs and also genext2fs |
05:14.18 | rwhitby-web | mkfs.jffs2 can't take a device_table.txt file, so I had to do makedevs. |
05:14.34 | rwhitby-web | if makedevs works for ext2.gz too, then we just just use that |
05:14.55 | jacques | but how can two files have the same name - I didn;t think that was possible |
05:15.23 | [g2] | # df |
05:15.23 | [g2] | Filesystem 1k-blocks Used Available Use% Mounted on |
05:15.23 | [g2] | rootfs 10070 9970 0 100% / |
05:15.23 | [g2] | /dev/root.old 10070 9970 0 100% / |
05:15.32 | rwhitby-web | and not pass the device_table.txt file to genext2fs - I seem to remember a good reason why we did that though - perhaps something to do with permissions - can makedevs create devices owned by root in ext2.gz if you are not running as root? |
05:16.07 | rwhitby-web | [g2]: you didn't use the latest slugimage which extends the last variable partition to fill the space ? |
05:16.47 | rwhitby-web | if makedevs can create what we need in the ext2.gz image, then we can just use that - but that must be verified by someone ... |
05:16.54 | [g2] | rwhitby-web, I think I did |
05:17.09 | rwhitby-web | Did slugimage report that it was padding anything? |
05:17.15 | rwhitby-web | if it did, then you didn't :-) |
05:17.34 | rwhitby-web | [or there's a bug in slugimage] |
05:18.31 | [g2] | no, not mention of padding |
05:18.42 | [g2] | I just pulled cvs and re-ran |
05:19.48 | dyoung-web | this "bummer" stuff is making me cranky. |
05:20.02 | [g2] | I didn't get the bummer |
05:20.08 | [g2] | the second time around |
05:20.23 | dyoung-web | but your rootfs is too big to be the jffs2 rootfs. |
05:20.53 | [g2] | no it's the initrd |
05:21.31 | [g2] | the linuxrc did quite work |
05:21.41 | dyoung-web | the initrd is around 4M for Unslung 3.x. |
05:21.48 | rwhitby-web | rootfs 5760 5024 736 87% / |
05:21.54 | rwhitby-web | that was my jffs2 from last night |
05:22.04 | [g2] | the jffs2 isn't mounted |
05:22.26 | [g2] | Creating 6 MTD partitions on "IXP425 Flash": |
05:22.26 | [g2] | 0x00000000-0x00040000 : "RedBoot" |
05:22.26 | [g2] | 0x00040000-0x00060000 : "SysConf" |
05:22.27 | [g2] | 0x00060000-0x00160000 : "Kernel" |
05:22.27 | [g2] | 0x00160000-0x004e0000 : "Ramdisk" |
05:22.27 | [g2] | 0x004e0000-0x007e0000 : "unallocated space" |
05:22.29 | [g2] | 0x007e0000-0x00800000 : "FIS directory" |
05:22.37 | jacques | I can't get my brain around this two files with same name thing |
05:22.50 | rwhitby-web | [g2]: you have no jffs2 |
05:23.19 | [g2] | at least it's sized right :) |
05:23.27 | jacques | the unallocated space should mount right up tho ? |
05:24.03 | rwhitby-web | dunno |
05:24.14 | jacques | if it's just a bunch of 0xffff it should be mountable as jffs2 |
05:24.42 | [g2] | ./slugimage -p -o unslung-3.0.img Ramdisk:unslung-switchbox-nslu2-20041116041613.rootfs.ext2.gz,Flashdisk:unslung-able-nslu2-20041116041613.rootfs.jffs2 |
05:24.44 | jacques | [g2], try mount -t jffs2 /dev/mtdblock4 /mnt/whatever |
05:24.58 | rwhitby-web | if it doesn't have /bin/init in it, then linuxrc will not mount it |
05:25.04 | dyoung-web | it kinda works if I ignore the bummers and pivot. |
05:25.14 | dyoung-web | bin or sbin? |
05:25.15 | [g2] | I've got the wrong jffs2 Flashdisk |
05:25.25 | jacques | why did slugimage not even make a Flashdisk partition ? |
05:25.41 | jacques | where's the -r ??? |
05:25.49 | Christopher | hmmm, wish I could work on this stuff but I have to work on my math homework |
05:25.50 | rwhitby-web | dyoung-web: linuxrc says /bin/init |
05:25.52 | jacques | I don;t think it will parse that right rithough -r |
05:25.58 | jacques | without |
05:26.06 | dyoung-web | ~praise Christopher |
05:26.08 | jbot | All hail Christopher! |
05:26.30 | dyoung-web | upslug makes it possible for me to beat [g2] to the #2 spot remotely! |
05:26.38 | [g2] | -r is helpful |
05:26.59 | rwhitby-web | still no #2 yet - you guys take longer to follow that path than I did to trailblaze it ! |
05:27.17 | jacques | I'm not going forward til we get this doubled device names thing taken care of |
05:27.42 | dyoung-web | I dunno why it dont mount. |
05:28.02 | rwhitby-web | jacques: remove the EXTRA_IMAGECMD_ext2.gz = "-f ${UNSLUNG_DEVICE_TABLE}" line from unslung-switchbox-image |
05:28.26 | rwhitby-web | or remove the makedevs call |
05:28.32 | jacques | ok |
05:28.49 | rwhitby-web | that's why it's doubling up. genext2fs will just duplicate them without checking probably |
05:30.47 | rwhitby-web | I keep forgetting that jacques is doing this on prodslug, so he needs to be very careful |
05:32.04 | [g2] | good point. |
05:32.21 | [g2] | ~praise jacques |
05:32.23 | jbot | All hail jacques! |
05:32.30 | jacques | well both of mine are pretty much devslugs :-) |
05:33.40 | jacques | OK rwhitby-web that worked (I commented out the makedevs) |
05:33.51 | jacques | now to assemble an image |
05:36.49 | [g2] | I think dyoung-web and I are in the same space |
05:37.12 | [g2] | I've got the bummer again, but I think it mounted mtdblock4 |
05:37.26 | [g2] | + /bin/mount -rt jffs2 /dev/mtdblock4 /mnt/tmpmnt |
05:37.26 | [g2] | + [ -x /mnt/tmpmnt/bin/init ] |
05:37.26 | [g2] | + [ -d /mnt/tmpmnt/unslung ] |
05:37.26 | [g2] | + /bin/umount /mnt/tmpmnt |
05:37.26 | [g2] | + [ -z ] |
05:37.27 | [g2] | + [ -x /mnt/tmpmnt/bin/init ] |
05:38.19 | [g2] | which is followed up with |
05:38.41 | [g2] | + /bin/umount /proc |
05:38.41 | [g2] | + [ -z ] |
05:38.41 | [g2] | + /bin/echo Root filesystem cannot be found - rebooting ... |
05:38.59 | [g2] | Root filesystem cannot be found - rebooting ... |
05:38.59 | [g2] | + /sbin/reboot |
05:38.59 | [g2] | + exit 0 |
05:41.38 | *** join/#nslu2-linux CIA-10 (~CIA@to.je.spocco.com) |
05:45.31 | Christopher | dyoung-web: glad to see that you like upslug |
05:46.13 | dyoung-web | dammit jim |
05:46.13 | dyoung-web | this bummer is really bumming me out |
05:46.17 | [g2] | dyoung-web, does that mean I can upslug your device remotely too :) |
05:46.39 | dyoung-web | I cant kill it either. I need slingbox with no init. |
05:46.41 | dyoung-web | anyways. |
05:46.55 | Christopher | dyoung, does upslug detect both of your slugs properly? |
05:46.58 | dyoung-web | to make a long story longer, I edited linuxrc and pivoted to the jffs2. |
05:47.28 | jacques | heh |
05:47.46 | kergoth | jacques: i pushed the uclibc and gcc changes. |
05:47.52 | kergoth | you should be able to do a build now |
05:48.05 | dyoung-web | that gives |
05:48.09 | dyoung-web | /dev/mtdblock4 5760 5020 740 87% / |
05:48.16 | rwhitby-web | [g2]: if your jffs2 stanza is checking for unslung, then it is not up to date |
05:48.31 | *** join/#nslu2-linux KsiLaptop (russ@lv-65-40-115-149.sta.sprint-hsd.net) |
05:48.44 | rwhitby-web | [16:07] <[g2]> [ -d /mnt/tmpmnt/unslung ] |
05:48.54 | [g2] | roger |
05:49.09 | rwhitby-web | that line shows you've got an old /linuxrc - you need to rebuild switchbox and unslung-switchbox-image |
05:49.13 | jacques | beep |
05:49.19 | dyoung-web | [g2], you probably wont be able to get yourself into my ethernet space. |
05:49.40 | jacques | I'm booted to the jffs2 :-D |
05:49.43 | dyoung-web | But since Tiersten 0WnZ my redboot. |
05:49.51 | jacques | Filesystem 1k-blocks Used Available Use% Mounted on |
05:49.51 | jacques | rootfs 5760 5024 736 87% / |
05:49.51 | jacques | /dev/root 5760 5024 736 87% / |
05:49.55 | rwhitby-web | jacques is #2 ? |
05:50.00 | jacques | what number does that make me? |
05:50.03 | dyoung-web | you could work with him to 0wn2 my slug and run upslug on it. |
05:50.29 | dyoung-web | jacques, if you got it without doing something ugly, youre #2. |
05:50.41 | rwhitby-web | [g2] and dyoung were too busy 0wning each other's slugs, and jacques powered through on the inside ... |
05:50.44 | jacques | I did nothing ugly - it booted to the jffs2 :-) |
05:51.14 | dyoung-web | I got the thing mounted as root. But I had to do sometihng Very Ugly. |
05:51.15 | [g2] | jacques, can you push that patch for the no mknod's |
05:51.38 | jacques | [g2], yeah I will do it now |
05:51.51 | [g2] | no win, place or show for poor [g2] |
05:52.01 | rwhitby-web | well, I'm happy it has been replicated now :-) |
05:52.22 | [g2] | oh you're just happy you were first |
05:52.29 | [g2] | :-) |
05:53.03 | Christopher | so, what has to happen before I can build an image with jffs2 in it? |
05:53.14 | rwhitby-web | [g2]: yeah, but I still want my CSR-enabled OpenSlug in OE birthday present :-) |
05:53.38 | [g2] | I'm sure it'll happen for you're next birthday :) |
05:53.47 | rwhitby-web | Christopher: we just need slugimage in OE (which just about anyone here can do except me at the moment) |
05:53.54 | Christopher | k |
05:54.18 | [g2] | Christopher, and jacques needs to push his changes |
05:54.26 | rwhitby-web | worst case, you'll be able to build an 8mb image in 5 hours |
05:54.26 | Christopher | ok |
05:54.30 | [g2] | for the dup dev devices |
05:54.38 | rwhitby-web | dup shmoop |
05:54.44 | Christopher | cool |
05:54.54 | CIA-10 | 03jacques 07 * r1.2558 10packages/meta/unslung-switchbox-image.oe: |
05:54.54 | CIA-10 | added nslu2-linksys-libs to UNSLUNG_BASE_PACKAGES |
05:54.54 | CIA-10 | removed makedevs |
05:55.02 | Christopher | ~praise jacques |
05:55.07 | jbot | All hail jacques! |
05:55.14 | [g2] | rwhitby-web, you know anyu2 builds CSR-enabled 2.6.9 out-of-the-box right |
05:55.34 | [g2] | and jacques had jffs2 running a week before you started playing with it |
05:55.59 | rwhitby-web | [g2]: I said jacques could have the #1 spot if he wanted it ... |
05:55.59 | dyoung-web | upslugging |
05:56.22 | [g2] | no, I just meant the openslug/CSR issue |
05:56.31 | jacques | #2 is fine with me - I really wanted lucky #4 but it just worked out this way :-) |
05:56.43 | [g2] | me too |
05:56.55 | dyoung-web | I wanted #3. |
05:57.00 | [g2] | that's why I waited, wink, wink |
05:57.29 | rwhitby-web | [g2]: I will not be party to continuing the fragmentation - I won't use OpenSlug/CSR until it's in OE. I thank kas11 for trail-blazing, but I'll wait for the highwaymen on that one. |
05:57.30 | dyoung-web | I thought jcques should be #1 or #2. Since he did a lot of the heavy lifting. |
05:58.07 | jacques | #2 is fine with me :-D I'll add myself now |
05:58.24 | Christopher | so, anyone volunteer to add slugimage to oe? |
05:58.26 | dyoung-web | verifying... moment of truth... |
05:59.20 | jacques | OK I added myself - it feels good :-) |
05:59.56 | rwhitby-web | jacques: note that the unslung-able-image will still have duplicate devs in the ext2.gz image - a jffs2 image needs makedev run |
06:00.37 | jacques | mkfs.jffs2 takes a device_table.txt arg you know |
06:00.49 | rwhitby-web | that I didn't know |
06:01.07 | jacques | <PROTECTED> |
06:01.20 | kergoth | oe passes it by default, using the minimal table .txt |
06:01.38 | rwhitby-web | cool - let's use that for jffs2 as well then in unslung-standard-image |
06:01.48 | rwhitby-web | passing in the device_table-unslung.txt file |
06:01.55 | rwhitby-web | from packages/files/... |
06:05.40 | Christopher | where can one download slugimage? |
06:05.51 | [g2] | sf cvs |
06:05.54 | Christopher | k |
06:05.57 | jacques | Christopher, from fs cvs module slugimage |
06:06.05 | jacques | sf cvs that is |
06:06.09 | Christopher | thanks |
06:06.35 | [g2] | how long does it take for the web interface on sf to update ? |
06:06.46 | [g2] | it's just one perl file |
06:06.58 | Christopher | my upslug file took a couple of hours |
06:08.39 | jacques | what's libntpass.so.0.0 ? |
06:08.41 | rwhitby-web | up to six hours, sometimes even longer apparently |
06:09.15 | rwhitby-web | jacques: something which should have been removed by switchbox_clean_image ... don't know why it wasn't |
06:10.03 | rwhitby-web | we should remove line 29 from unslung-switchbox-image.oe |
06:10.23 | jacques | looking |
06:10.38 | rwhitby-web | that's something different, not related to libntpass |
06:11.04 | jacques | you want to remove this: echo "unslung-switchbox" > ${IMAGE_ROOTFS}/.unlsung ? |
06:11.22 | rwhitby-web | yeah. I think we'll end up having separate unslung-switchbox-image and openslug-switchbox-image files anyway |
06:11.42 | jacques | OK I will remove it |
06:12.12 | rwhitby-web | and switchbox_clean_image will go away altogether when we get the <128Kb switchbox |
06:16.23 | jacques | I wonder how much space bash ipkg takes |
06:17.57 | dyoung-web | I give up |
06:18.18 | dyoung-web | i'll try again when I'm not hungry. |
06:18.20 | dyoung-web | bbiab |
06:18.54 | jacques | rwhitby-web, is switchbox_clean_image supposed to remove things from the jffs2 image ? I wouldn't think so |
06:21.06 | [g2] | time for some sleep |
06:21.18 | jacques | `night [g2] |
06:21.24 | [g2] | the last changes make the slug continually reboot |
06:21.35 | [g2] | one messages was bad |
06:21.52 | [g2] | jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000204: 0x656c instead |
06:21.52 | [g2] | Further such events for this erase block will not be printed |
06:21.52 | [g2] | JFFS2: Erase block at 0x00000000 is not formatted. It will be erased |
06:21.52 | [g2] | Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes |
06:22.42 | [g2] | there were some more eraseblock before that |
06:22.54 | jacques | looks like maybe not a jffs2 image |
06:22.56 | [g2] | ~praise TheCoward |
06:22.58 | jbot | All hail TheCoward! |
06:23.48 | rwhitby-web | jacques: no switchbox_clean_image only works on the switchbox ext2.gz image |
06:24.53 | rwhitby-web | oh - were you looking at libntpass in the jffs2 root? |
06:25.38 | [g2] | ah... my bad there was a SPACE before the , on the cmd line |
06:26.12 | jacques | rwhitby-web, yeah I was just looking at all the big files in the jffs2 root trying to figure out what I can delete :-D |
06:28.12 | rwhitby-web | [g2]: the sooner we get OE to type that command for you, the better :-) |
06:28.50 | rwhitby-web | jacques: we need an unslung-make-it-almost-openslug ipkg which installs nothing, but does a whole heap of removes in the postinst :-) |
06:28.54 | [g2] | rwhitby-web, it's late, I should have been sleeping hours ago, but it's been just one more build..... |
06:28.57 | [g2] | :) |
06:29.29 | Christopher | rwhitby-web: good idea |
06:29.42 | rwhitby-web | you just want to beat Christopher to #3 :-) |
06:30.03 | [g2] | I thought dyoung was #3 |
06:30.12 | rwhitby-web | not yet - it's not in the database |
06:30.14 | jacques | rwhitby-web, I think that would be quite useful - I would defnitely play with it |
06:30.29 | jacques | <dyoung-web> I give up |
06:30.34 | jacques | sounds like he didn't quite make it yet |
06:31.18 | rwhitby-web | yeah, you need to be able to boot, and run ipkg update, with no other commands inbetween :-) |
06:31.58 | rwhitby-web | that's the litmus test for whether you are truly diskless unslung from jffs2 or not ... |
06:32.41 | [g2] | it's better, but not quite rite |
06:32.43 | [g2] | right |
06:32.46 | [g2] | # df |
06:32.46 | [g2] | Filesystem 1k-blocks Used Available Use% Mounted on |
06:32.46 | [g2] | rootfs 4992 4992 0 100% / |
06:32.46 | [g2] | /dev/root 4992 4992 0 100% / |
06:33.09 | [g2] | init: /sbin/syslogd respawning too fast |
06:33.20 | jacques | cat /proc/mounts|grep root |
06:33.47 | [g2] | # cat /proc/mounts|grep root |
06:33.47 | [g2] | rootfs / rootfs rw 0 0 |
06:33.47 | [g2] | /dev/root / jffs2 rw 0 0 |
06:34.18 | jacques | that's weird |
06:34.29 | rwhitby-web | [g2]: you still have a full jffs2 |
06:34.31 | jacques | you have a full jffs2 |
06:34.37 | rwhitby-web | did slugimage report any padding? |
06:35.00 | [g2] | Wrote 39 blocks (0x00300000 to 0x007E0000) from <Flashdisk> into "unslung-3.0.img" |
06:35.00 | [g2] | Wrote 1 blocks (0x007E0000 to 0x00800000) from <FIS directory> into "unslung-3.0.img" |
06:35.05 | jacques | wanna see my slugimage line? I'll show it anyway |
06:35.09 | jacques | ./slugimage -d -p -r Ramdisk:unslung-switchbox-nslu2-20041116063005.rootfs.ext2.gz,Rootdisk:unslung-able-nslu2-20041116045113.rootfs.jffs2 -o able6 |
06:35.23 | jacques | Wrote 45 blocks (0x00240000 to 0x007E0000) from <Rootdisk> into "able6" |
06:35.25 | [g2] | what's the -d |
06:35.29 | [g2] | debug |
06:35.42 | jacques | you got 39 blocks I got 45 |
06:35.46 | rwhitby-web | [it shouldn't] - it should read the jffs2 file (and report it as N blocks) and then allocate it N X blocks in the table. |
06:36.16 | rwhitby-web | [that's N plus X - CGI::IRC doesn't pass plus signs] |
06:36.40 | rwhitby-web | in our case, N is 39 and N plus X is 45 |
06:37.17 | [g2] | the -p for pad right |
06:37.21 | rwhitby-web | pack |
06:37.33 | [g2] | boy it is late :) |
06:37.47 | kergoth | [g2]: heh, where you at? |
06:37.53 | [g2] | ./slugimage -p -o unslung-3.0.img -r Ramdisk:unslung-switchbox-nslu2-20041116055907.rootfs.ext2.gz,Flashdisk:unslung-able-nslu2-20041116055907.rootfs.jffs2 |
06:37.56 | [g2] | EST |
06:38.21 | kergoth | bah, its not late :) |
06:38.30 | rwhitby-web | [g2]: grep "fill the rest of the space" slugimage |
06:38.31 | [g2] | it's early, early |
06:39.06 | [g2] | grep "fill the rest of the space" slugimage |
06:39.06 | [g2] | <PROTECTED> |
06:39.06 | [g2] | bash-2.05b$ |
06:39.18 | rwhitby-web | ok, you have the latest slugimage |
06:39.51 | jacques | [g2], how many blocks did it write for Ramdisk ? |
06:39.57 | rwhitby-web | ignore kergoth, and paste in your whole slugimage stdout :-) |
06:40.10 | jacques | Wrote 7 blocks (0x00160000 to 0x00240000) from <Ramdisk> into "able6" |
06:40.15 | [g2] | LOL |
06:40.16 | jacques | just Ramdisk might be enough |
06:40.36 | rwhitby-web | let's not play 20 questions - paste the whole thing |
06:40.38 | [g2] | ah I think it's the ramdisk size |
06:40.53 | jacques | 20 questions is more fun/challenging |
06:41.00 | [g2] | ./slugimage -p -o unslung-3.0.img -r Ramdisk:unslung-switchbox-nslu2-20041116055907.rootfs.ext2.gz,Flashdisk:unslung-able-nslu2-20041116055907.rootfs.jffs2 |
06:41.00 | [g2] | Read 0x00040000 bytes from "Redboot" into <RedBoot> (2 blocks) |
06:41.00 | [g2] | Read 0x00020000 bytes from "SysConf" into <SysConf> (1 blocks) |
06:41.00 | [g2] | Read 0x000D0104 bytes from "vmlinuz" into <Kernel> (7 blocks) |
06:41.00 | [g2] | Read 0x0019CCEB bytes from "unslung-switchbox-nslu2-20041116055907.rootfs.ext2.gz" into <Ramdisk> (13 blocks) |
06:41.07 | [g2] | Read 0x00460000 bytes from "unslung-able-nslu2-20041116055907.rootfs.jffs2" into <Flashdisk> (35 blocks) |
06:41.10 | [g2] | Read 0x00000010 bytes from "Trailer" into <Trailer> (1 blocks) |
06:41.16 | [g2] | Allocated <RedBoot> from 0x50000000 to 0x50040000 (2 blocks) |
06:41.16 | [g2] | Allocated <SysConf> from 0x50040000 to 0x50060000 (1 blocks) |
06:41.16 | [g2] | Allocated <Kernel> from 0x50060000 to 0x50160000 (8 blocks) |
06:41.18 | [g2] | Allocated <Ramdisk> from 0x50160000 to 0x50300000 (13 blocks) |
06:41.20 | [g2] | Allocated <Flashdisk> from 0x50300000 to 0x507E0000 (39 blocks) |
06:41.22 | [g2] | Allocated <FIS directory> from 0x507E0000 to 0x50800000 (1 blocks) |
06:41.36 | [g2] | Wrote 2 blocks (0x00000000 to 0x00040000) from <RedBoot> into "unslung-3.0.img" |
06:41.36 | [g2] | Wrote 1 blocks (0x00040000 to 0x00060000) from <SysConf> into "unslung-3.0.img" |
06:41.36 | [g2] | Wrote 8 blocks (0x00060000 to 0x00160000) from <Kernel> into "unslung-3.0.img" |
06:41.36 | [g2] | Wrote 13 blocks (0x00160000 to 0x00300000) from <Ramdisk> into "unslung-3.0.img" |
06:41.36 | [g2] | Wrote 39 blocks (0x00300000 to 0x007E0000) from <Flashdisk> into "unslung-3.0.img" |
06:41.37 | [g2] | Wrote 1 blocks (0x007E0000 to 0x00800000) from <FIS directory> into "unslung-3.0.img" |
06:41.39 | [g2] | Rewound 16 bytes before <Trailer> in "unslung-3.0.img" |
06:41.41 | [g2] | Wrote 16 bytes (0x007FFFF0 to 0x00800000) from <Trailer> into "unslung-3.0.img" |
06:41.51 | [g2] | that was 3 chunks |
06:41.53 | jacques | why is your ramdisk so large? |
06:42.05 | [g2] | dunno |
06:42.38 | jacques | 872529 Nov 15 22:35 unslung-switchbox-nslu2-20041116063005.rootfs.ext2.gz |
06:42.50 | [g2] | shouldn't it be using the switchbox, right |
06:43.08 | [g2] | -rw-r--r-- 1 tom users 1690859 Nov 16 01:07 unslung-switchbox-nslu2-20041116055907.rootfs.ext2.gz |
06:43.45 | [g2] | that was 3 pastes |
06:43.50 | rwhitby-web | -rw-r--r-- 1 rwhitby rwhitby 879430 Nov 15 21:06 ramdisk.gz |
06:44.17 | [g2] | where did you get your ramdisk from ? |
06:44.27 | rwhitby-web | I get 7 blocks for ramdisk., 35 (padded to 45) for flashdisk |
06:44.38 | kergoth | jacques: okay, wiped tmp, and rebuilt the toolchain from scratch with USE_NLS=no. confirmed it worked fine and uclibc was indeed built with no locale support. |
06:44.57 | jacques | kergoth fantabulous! |
06:45.09 | jacques | is it in is it in?? |
06:45.23 | kergoth | yep, its all checked in |
06:45.25 | kergoth | packages-devel |
06:45.39 | rwhitby-web | -rw-r--r-- 1 rwhitby rwhitby 883641 Nov 16 08:51 /home/openembedded/unslung/tmp/deploy/images/unslung-switchbox-nslu2-200411152117\ |
06:46.54 | jacques | kergoth COOL |
06:47.00 | [g2] | yes the common theme is that your switchboxes are old |
06:47.07 | [g2] | and smaller |
06:47.34 | [g2] | I did an oemake -c clean switchbox and unslung-switchbox-image |
06:47.45 | [g2] | then oemake unslung-image |
06:48.00 | jacques | well I can start a clean build |
06:48.23 | [g2] | it's getting close |
06:48.33 | [g2] | very close |
06:49.01 | rwhitby-web | my switchbox was built before the pushes after I left for work this morning, so there may be a mismatch |
06:49.35 | [g2] | well I'll pull and try again in the later morning |
06:49.41 | [g2] | thx for all your help |
06:49.42 | rwhitby-web | I will do a full rm -rf tmp build tonight |
06:49.44 | [g2] | everyone |
06:50.09 | rwhitby-web | night [g2] |
06:50.18 | jacques | `night [g2] |
06:50.21 | [g2] | actually, we should be better about those PR values and have stuff automatically built |
06:50.58 | [g2] | unless there's a problem with big values like nnn |
06:51.45 | jacques | kergoth - where is packages-devel ? I tried bk://nslu2-linux@nslu2-linux.bkbits.net/packages-devel but no go |
06:51.47 | [g2] | the make clean is nice every now and then, but we should be able to oemake -c clean or just oemake and have thing build right |
06:52.00 | [g2] | sweet dreams all |
06:52.03 | jacques | ooops |
06:52.09 | kergoth | jacques: its an OE repo, not nslu2. |
06:52.15 | jacques | sorry I just figured that out |
06:52.26 | *** part/#nslu2-linux [g2] (~g2@rdu57-6-117.nc.rr.com) |
06:52.27 | kergoth | jacques: all development happens in packages-devel now, because users doing clones kept 'packages' locked all the time. slowed us down |
06:53.30 | jacques | yeah this is much better - bk://openembedded.bkbits.net/packages-devel |
06:53.59 | jacques | kergoth that makes sense - you gotta do that when you start having users |
06:58.49 | jacques | starting a uclibc USE_NLS=no build |
06:58.57 | kergoth | cool |
07:05.08 | Christopher | rwhitby-web: I think I added slugimage to oe, but I don't have push access |
07:05.35 | rwhitby-web | bk send the changeset to nslu-changesets@lists.sf.net |
07:05.49 | Christopher | ok |
07:06.00 | Christopher | i have to check it in, then I'll do that |
07:06.01 | rwhitby-web | and send me your rsa1 key |
07:06.33 | jacques | yeah Christopher why haven't you sent your key yet :-) |
07:06.51 | rwhitby-web | make sure it's rsa[one] |
07:08.18 | jacques | im hungry for some reason - biab |
07:30.54 | jacques | hmm i think i screwed something up in unslung-image |
07:31.01 | jacques | build failed |
07:31.46 | jacques | | Cannot find package nslu2-linksys-libs. |
07:36.05 | rwhitby-web | back later |
07:36.08 | *** part/#nslu2-linux rwhitby-web (www-data@netblock-66-159-209-60.dslextreme.com) |
07:56.35 | Christopher | night all |
08:00.10 | jacques | `night Christopher_zzz |
08:01.17 | dyoung-zzzz | FINALLY. |
08:01.25 | dyoung-zzzz | Did I beat [g2]? |
08:02.09 | dyoung | rootfs 5760 5024 736 87% / |
08:02.21 | dyoung | as jffs2 |
08:03.29 | *** join/#nslu2-linux KsiLaptop (russ@lv-65-40-115-149.sta.sprint-hsd.net) |
08:03.31 | dyoung | ipkg update grumbles about wget though. |
08:04.19 | dyoung | hah. |
08:04.22 | dyoung | PEBKAC. |
08:06.58 | jacques | dyoung yeah looks like you are #3 :-) |
08:08.39 | jacques | 124596 Nov 16 00:00 busybox* |
08:08.42 | jacques | :-D |
08:10.36 | rwhitby-away | jacques: how? |
08:14.37 | rwhitby-away | packages is now reparented to oe:/packages-devel |
08:14.41 | rwhitby-away | and pulled |
08:16.08 | jacques | rwhitby-away, set static in switchbox defconfig, uncommented static in switchbox .oe, used dist linux-uclibc USE_NLS=no build in local.conf |
08:19.12 | jacques | not sure what to make of this: |
08:19.15 | jacques | -rw-r--r-- 1 fontenot users 81920 Nov 16 00:17 unslung-switchbox-nslu2-20041116081414.rootfs.cramfs |
08:19.15 | jacques | -rw-r--r-- 1 fontenot users 78871 Nov 16 00:17 unslung-switchbox-nslu2-20041116081414.rootfs.ext2.gz |
08:19.35 | jacques | i expected cramfs to be smaller |
08:20.27 | kergoth | gzip compresses pretty well. |
08:20.47 | rwhitby-away | so you're saying we've got lots of room in switchbox ? |
08:20.51 | kergoth | but since cramfs doesnt have to be decompressed, thats still likely a gain |
08:20.53 | kergoth | heh |
08:21.03 | kergoth | bleh, i should sleep |
08:21.08 | jacques | rwhitby-away, I guess I am saying something like that :-) |
08:21.29 | jacques | sizes are within expectations as busybox.gz is around 70kB |
08:22.00 | rwhitby-away | so we can probably put some basic utilities in switchbox, like wget and mtd_debug :-) |
08:22.31 | jacques | if you mean the bb wget then probably |
08:22.35 | rwhitby-away | boot into switchbox, wget a new jffs2 image, mtd_debug write it, reboot |
08:22.52 | jacques | why need mtd_debug to write it? |
08:22.55 | jacques | just dd it |
08:23.03 | rwhitby-away | oh - of course :-) |
08:23.04 | kergoth`zzz | dd to flash is -bad- |
08:23.12 | kergoth`zzz | dd isnt tolerant of bad blocks. |
08:23.25 | rwhitby-away | even with a mtd device driver ? |
08:23.26 | jacques | I've never had a problem with it |
08:23.41 | jacques | if there's a bad block what do you want it to do? keep going? |
08:23.58 | kergoth`zzz | bad blocks are marked, so operations can skip that block. |
08:24.09 | rwhitby-away | jacques: let's add dd, ls and wget to switchbox |
08:24.11 | kergoth`zzz | they dont happen often, but on the off chance you have one, you want to be able to handle it |
08:24.23 | kergoth`zzz | dd doesnt know to skip it |
08:24.23 | rwhitby-away | doesn't the mtd driver handle that? |
08:24.26 | kergoth`zzz | (yes, even with mtd) |
08:24.28 | kergoth`zzz | no |
08:24.32 | rwhitby-away | oh, ok |
08:24.39 | rwhitby-away | back later |
08:24.57 | jacques | `night kergoth`zzz |
08:25.09 | jacques | thanks for doing the NLS thing!!! |
08:27.26 | jacques | the cramfs doesn't have the devices in it :-\ looks like everything else is there tho |
08:30.43 | dyoung | upslug would probably fit. |
08:31.36 | dyoung | ls. ls is so helpful. |
08:31.42 | dyoung | it sure beats echo * |
08:36.55 | jacques | rwhitby-away, above I should have said: TARGET_OS = "linux-uclibc" |
08:58.46 | rwhitby-away | hmm - I guess what we can do is build switchbox, and upload it to nslu.sf.net - then the image creation can get it from there by default. |
08:59.08 | rwhitby-away | I'm starting an rm-rf tmp build |
09:00.33 | rwhitby-away | I'll create a switchbox.conf for us to use as dist, which has all those things in it |
09:01.17 | rwhitby-away | until oe-ng arrives which multi-toolchain capability |
09:03.10 | jacques | I'm building images and running tests now |
09:03.18 | jacques | give me a few minutes and I might have some stuff to checkin |
09:03.22 | jacques | push taht is |
09:05.13 | jacques | 106496 Nov 16 01:03 unslung-switchbox-nslu2-20041116090134.rootfs.cramfs |
09:05.26 | jacques | that includes devices and featureful ls, dd and wget |
09:09.58 | jacques | crap |
09:11.04 | dyoung | I'm so giddy about this jffs2 I dont know what to do with myself. |
09:11.21 | jacques | crap crap |
09:11.34 | dyoung | Whats happened? |
09:11.45 | dyoung | (or NOT happened as the case may be...) |
09:12.06 | jacques | crap crap carp a caprapcpas |
09:12.48 | jacques | resolve: 1 unresolved conflicts, nothing is applied. |
09:12.54 | jacques | i cant push |
09:13.06 | rwhitby-away | pull first |
09:13.31 | jacques | the push doesnt work either |
09:13.33 | jacques | pull |
09:13.42 | jacques | Conflicts during automerge of meta/unslung-switchbox-image.oe |
09:13.42 | jacques | resolve: resolved 1 conflicts in pass 3 |
09:13.42 | jacques | resolve: 1 unresolved conflicts, nothing is applied. |
09:13.47 | rwhitby-away | bk resolve |
09:14.10 | jacques | then what? |
09:14.16 | jacques | (content conflict) meta/unslung-switchbox-image.oe>> |
09:14.24 | jacques | that's really intuitive as to what to do next |
09:14.29 | jacques | >> |
09:14.32 | jacques | oookaaay |
09:14.34 | rwhitby-away | hit ? |
09:15.19 | rwhitby-away | unslung-switchbox-image.oe is going to be renamed to switchbox-image.oe (part of the new switchbox distro) |
09:16.35 | rwhitby-away | jacques: what IMAGE_ROOTFS_SIZE_ext2.gz do we use now ? |
09:18.04 | jacques | why do we care? |
09:18.18 | rwhitby-away | for switchbox-image |
09:18.27 | jacques | Check FAILED, contact BitMover. |
09:18.33 | jacques | wheee |
09:18.53 | jacques | rwhitby-away, are we going to be using ext2 ? |
09:19.06 | rwhitby-away | for switchbox, yes? |
09:19.11 | jacques | cramfs |
09:19.40 | rwhitby-away | ok |
09:20.00 | rwhitby-away | has that been proven yet? |
09:20.01 | jacques | sigh |
09:20.16 | jacques | can you look at the changeset I send to the list? |
09:20.24 | jacques | because this repos is now totally fscked |
09:22.10 | jacques | going to \rm -rf it |
09:23.55 | jacques | crap my hard drive is failing - that's why the errors |
09:24.16 | jacques | stupid POS maxtor |
09:25.31 | dyoung | *comfort* |
09:28.08 | rwhitby-away | applied your patch by hand |
09:28.45 | jacques | rwhitby-away, thanks I didn't want it to get lost |
09:32.00 | jacques | running reiserfsck now |
09:32.15 | dyoung | I think I also bk recieved it properly... |
09:32.51 | jacques | i hope it doesn't cause problems for others since there is a conflict |
09:32.53 | rwhitby-away | hmm - wonder what that will do when I've applied it by hand and will be pushing that |
09:33.21 | jacques | the conflict is only in unslung-switchbox-image.oe |
09:33.55 | jacques | and the new version is what should be used |
09:34.33 | rwhitby-away | I have renamed that anyway |
09:34.47 | rwhitby-away | there is now a new "switchbox" distro |
09:35.23 | jacques | yeah that sounds like the right way to do it |
09:35.38 | jacques | man reiserfsck takes a long time |
09:36.08 | rwhitby-away | then a few people can work on switchbox, and release a binary to be used in the image creation of unslung or openslug |
09:37.07 | rwhitby-away | ok, pushing the untested changes - take care |
09:37.11 | CIA-10 | 03rwhitby 07 * r1.2561 10packages/ (busybox/switchbox-1.00/defconfig meta/switchbox-image.oe): Merge |
09:37.27 | CIA-10 | 03rwhitby 07 * r1.2553.1.1 10packages/ (5 files in 4 dirs): Created switchbox distro |
09:38.39 | rwhitby-away | should be able to copy your local.conf, and change distro to switchbox |
09:38.49 | rwhitby-away | then oemake switchbox-image |
09:38.56 | jacques | nice |
09:39.50 | rwhitby-away | dyoung: you might want to bk undo jacques's patch, and then pull |
09:40.06 | dyoung | I just did. |
09:40.12 | rwhitby-away | ok, I'd doing two rm -rf builds now, so that will take a while before I get results |
09:40.21 | rwhitby-away | remember, this stuff is not tested |
09:40.50 | rwhitby-away | did anyone see Christopher's changeset on the list ? |
09:41.02 | dyoung | I've started a switchbox-image build |
09:41.49 | jacques | rwhitby-away, did you put USE_NLS=no in the distro file ? |
09:42.26 | rwhitby-away | yep |
09:43.19 | rwhitby-away | I copied from openslug, then added USE_NLS = "no" and removed all the kernel stuff which won't be used, and removed nslu2_flash_img stuff |
09:43.58 | jacques | cool |
09:43.58 | jacques | reiserfsck is fscking useless |
09:44.20 | rwhitby-away | So no changeset email from Christopher? |
09:44.28 | jacques | how do you write to a specific clock on a drive? |
09:44.30 | jacques | block |
09:44.38 | rwhitby-away | that's unfortunate, cause it means I will have to redo his work tonight :-( |
09:45.22 | jacques | why does it give advice like that when there's no way to use it? |
09:46.30 | rwhitby-away | no pending requests on nslu-changesets ... |
09:46.43 | dyoung | This is ridiculous. I'm going to get a faster CPU when I get back next month. |
09:47.05 | dyoung | This 2Ghz Celery is .. uh... Slow. |
09:52.27 | jacques | no CR at end of switchbox.conf |
09:54.31 | jacques | rwhitby-away, I think we will get smaller binaries with hard float |
09:55.39 | rwhitby-away | it has to match the kernel we've built, doesn't it? Let's not change things like that mid-stream ... |
09:56.25 | rwhitby-away | going from ext2.gz to cramfs in switchbox tonight is making me nervous enough already ,,,, |
09:56.25 | jacques | I thought kernel had NWFPE |
09:56.37 | jacques | well go with ext2 then |
09:56.55 | rwhitby-away | no, I can live with that much uncertainty :-) |
09:57.07 | dyoung | Made a new build directory for switchbox dev. |
09:57.23 | rwhitby-away | cause that will either work or not. whereas hard/soft sounds to me like it could have subtle errors later |
09:57.38 | jacques | we are only talking about switchbox right? |
09:57.45 | rwhitby-away | but I no nothing about hard/soft, so I'm not speaking with any authority |
09:57.47 | dyoung | isnt it going to be kind of binary for switchbox? |
09:58.06 | dyoung | (ie: its going to work, or its not) ? |
09:58.13 | rwhitby-away | one binary thing at a time, please |
09:58.25 | dyoung | Tri-state. |
09:58.41 | jacques | i forgot ext2.gz is smaller |
09:58.48 | jacques | so maybe we should use that |
09:58.52 | rwhitby-away | when I have OE building a 8mb image that boots, then we can talk about all these other things |
09:58.56 | jacques | it's just such a pain to keep messing with the size |
09:59.04 | dyoung | Well, its probably going to take until tommrow to populate the tooling for switchbox dev anyways. |
09:59.38 | jacques | I guess we don;t care how big the ext2 is - only the compressed size right? |
09:59.46 | rwhitby-away | you guys feel free to experiment, but please don't push any toolchain changes |
10:00.27 | rwhitby-away | I like cramfs better anyway, cause then we can mount it from inside a jffs2 root to work on it |
10:00.44 | rwhitby-away | [read/copy, not write of course] |
10:01.28 | rwhitby-away | not that I can think of a reason to do that .... |
10:01.59 | rwhitby-away | cramfs is better cause then we don't get images confused. ext2.gz is stock ramdisk, cramfs is switchbox, jffs2 is rootfs |
10:02.03 | jacques | well any reason to not have it emit both image types ? I had that in and it worked fine |
10:02.09 | dyoung | you can kinda do that with the ext2 too... mtd_debug read ... | gzip -dc > foo; mount -o loop foo /bar |
10:02.22 | dyoung | since we have loop in there now too. |
10:02.37 | rwhitby-away | for the next 12 hours, it's cramfs |
10:04.20 | jacques | rwhitby-away, how's your clean slitchbox-image build going? I got a strange error on one of mine but that wasn't with a current packages |
10:04.45 | jacques | ERROR: log data follows (/home/packages/oe/nslu2/build_switchbox/tmp/work/unslung-switchbox-image-1.0-r1/temp/log.do_rootfs.3712) |
10:04.52 | jacques | | touch: cannot touch `/home/packages/oe/nslu2/build_switchbox/tmp/deploy/ipk/Packages': No such file or directory |
10:12.24 | rwhitby | my builds haven't got that far yet - they are both still on gcc-cross-initial |
10:12.40 | jacques | ok I just started two clean ones on two different boxes |
10:12.55 | jacques | that error was right at the end and looks maybe easy to fix anyway |
10:14.42 | rwhitby | I have to make some dinner - that's why I started clean builds |
10:15.44 | jacques | ok have a good dinner |
10:16.21 | rwhitby | it's just some pasta - no big deal :-) |
10:30.30 | dyoung | I wonder how painful imagemagick tools would be on a Slug. |
10:32.50 | jacques | depends on which ones I guess |
10:33.48 | dyoung | convert mostly. |
10:34.28 | dyoung | It'll prolly run outta memory. |
10:35.11 | jacques | i was thinking about that but it would probably depend on the data size |
10:37.36 | rwhitby | -rw-r--r-- 1 rwhitby rwhitby 102400 Nov 16 21:08 switchbox-nslu2-20041116093947.rootfs.cramfs |
10:37.36 | rwhitby | r |
10:37.43 | jacques | -rw-r--r-- 1 fontenot users 102400 Nov 16 03:36 switchbox-nslu2-20041116110222.rootfs.cramfs |
10:38.17 | rwhitby | less than 128Kb :-) |
10:39.07 | dyoung | Wait me me guys! |
10:39.16 | dyoung | machiune is slow! |
10:39.50 | jacques | rwhitby, I just mounted it on my pc - it looks good - devices are there, linuxrc, 153648 byte switchbox |
10:39.54 | rwhitby | I'm peeved that Christopher didn't send that changeset .. |
10:40.19 | rwhitby | but I'm guessing he had a good reason - must not have worked or something |
10:40.32 | dyoung | Or math homework got the best of him. |
10:41.02 | rwhitby | he sent me his key first - I wish he had sent the changeset first |
10:43.55 | rwhitby | that 102400 is such a round number ... |
10:47.25 | dyoung | furiously building! |
10:47.36 | rwhitby | http://www.nslu2-linux.org/downloads/switchbox-3.1.cramfs |
10:48.07 | dyoung | thats cheating though. |
10:49.08 | jacques | what's cheating ? |
10:49.24 | dyoung | Downloading the cramfs switchbox that rwhitby built instead of building it myself. |
10:49.35 | rwhitby | dyoung: that's not for you, it's for slugimage |
10:53.39 | *** join/#nslu2-linux Ksilebo|WARK (russ@lv-65-40-115-149.sta.sprint-hsd.net) |
10:54.29 | dyoung | what the hell, I d/l and made an image, and upslugging it now |
10:55.37 | rwhitby | cheater :-) |
10:56.27 | jacques | argh - no loop devices in able kernel |
10:56.55 | jacques | hmm no strike that |
10:57.36 | dyoung | Christopher, I dont suggest upslugging with the slug running a jffs2. It doesnt work. ;-) |
10:58.10 | rwhitby | hmm - that cramfs switchbox won't boot |
10:58.50 | jacques | what's the error? |
10:59.02 | rwhitby | RAMDISK: Couldn't find valid RAM disk image starting at 0. |
10:59.22 | jacques | yeah it's not a ramdisk |
10:59.37 | dyoung | Gotta add cramfs to linuxrc? |
10:59.39 | jacques | maybe it needs rootfstype=cramfs |
10:59.57 | jacques | the static switchbox binary runs :-) |
11:00.22 | jacques | /dev/loop0 184 184 0 100% /mnt/cramfs |
11:00.35 | jacques | (on the slug) |
11:00.56 | dyoung | Oh, I see the problem. |
11:01.02 | dyoung | its rather immediate isnt it. |
11:01.26 | jacques | argh |
11:01.31 | jacques | something just occurred to me |
11:02.22 | jacques | how do we boot to a non-ramfs fs that's in the first ramfs block |
11:03.00 | jacques | looks like we gotta use ext2.gz ... (unless I'm wrong about cramfs not being a ramfs) |
11:03.11 | jacques | yeah that's tried and true |
11:03.18 | dyoung | and smaller. |
11:03.28 | jacques | yeah that too |
11:05.01 | KsiLaptop | Oh man this is awesome... |
11:07.10 | rwhitby | what size do you think for ext2.gz ? 256 ? |
11:07.32 | dyoung | wasnt it a bit smaller? |
11:07.33 | jacques | rwhitby, that should be plenty for now |
11:07.38 | rwhitby | nope |
11:07.51 | rwhitby | lets try 512 |
11:07.58 | dyoung | 512 should be luxury. |
11:07.59 | jacques | looks like there is about 184kB of data |
11:08.24 | rwhitby | I have no idea how genext2fs uses that number |
11:08.58 | jacques | it *should* make a fs with that total size |
11:09.16 | rwhitby | yeah, but it never does .... |
11:09.20 | jacques | heh |
11:09.38 | jacques | i guess as long as the compressed size is < 128kB-16B we don;t care too much ? |
11:09.48 | jacques | <= |
11:10.00 | rwhitby | 512 didn't work either - removing the size from switchbox.conf to let the nslu2 default of 10MB rule |
11:10.22 | jacques | didn't work in what sense? |
11:11.03 | rwhitby | the old genext2fs: couldn't allocate an inode (no free inode) |
11:11.39 | jacques | ah, you might have to explicitly allocate inodes |
11:11.55 | jacques | the auto-sized number fopr a 512kB fs must be like 10 |
11:11.57 | jacques | :-) |
11:12.02 | rwhitby | -rw-r--r-- 1 rwhitby rwhitby 107263 Nov 16 21:42 switchbox-nslu2-20041116111116.rootfs.ext2.gz |
11:12.26 | jacques | it doesn't expect to have such a small average file size (most files are devices or symlinks) |
11:12.35 | jacques | or directories |
11:13.03 | jacques | rwhitby, you trying to boot to that ? |
11:13.25 | rwhitby | just about to |
11:15.30 | rwhitby | flashing |
11:16.24 | rwhitby | booting |
11:16.47 | rwhitby | linuxr |
11:17.00 | rwhitby | mounting |
11:17.24 | rwhitby | init |
11:17.50 | rwhitby | Filesystem 1k-blocks Used Available Use% Mounted on |
11:17.51 | rwhitby | rootfs 6528 5024 1504 77% / |
11:18.04 | jacques | looking goooood babyyy! |
11:18.15 | dyoung | Post um. |
11:19.44 | CIA-10 | 03rwhitby 07 * r1.2562 10packages/conf/distro/switchbox.conf: Changed switchbox back to ext2.gz |
11:22.05 | rwhitby | ok, so how to we add 20k (compressed) more stuff which allows us to get a prompt if there is no jffs2 partition ... |
11:23.04 | jacques | what we missing? |
11:23.06 | rwhitby | [I'm going to leave the slugimage package for Christopher to do] |
11:23.07 | jacques | we have ash |
11:23.45 | rwhitby | so we just change /sbin/reboot to /bin/sh in linuxrc? |
11:24.09 | jacques | yeah I think it's that easy or almost that easy |
11:24.20 | jacques | probably exactly that |
11:25.29 | rwhitby | heh - the other good thing about changing unslung-switchbox-image to just switchbox-image is that it makes it easy to rm both switchbox and switchbox-image :-) |
11:26.38 | jacques | heh |
11:29.32 | dyoung | "Do not flash this image if you are not serial enabled" ? |
11:30.08 | rwhitby | where's that ? |
11:30.53 | dyoung | If you change the reboot to sh. |
11:31.03 | rwhitby | ah - right |
11:31.19 | rwhitby | I'm actually going to flash an image now that intentionally will not boot :-) |
11:32.15 | rwhitby | ./slugimage -p -r Ramdisk:ramdisk.gz,Flashdisk:0 -o empty.bin |
11:36.13 | rwhitby | got a prompt :-) |
11:36.22 | jacques | nice :-) |
11:36.46 | jacques | so what else do we want in our 128kB? |
11:37.06 | rwhitby | a reboot that works :-) |
11:37.23 | rwhitby | Kernel panic: Attempted to kill init! |
11:38.19 | jacques | hmm |
11:39.08 | rwhitby | tftp client :-) |
11:39.47 | rwhitby | there must be a kernel thingo to reboot on panic, right? |
11:41.07 | jacques | ive seen that behavior before - Kernel panic: Attempted to kill init! - I think it's fixable... somehow |
11:41.30 | rwhitby | that's what happened when I ran /sbin/reboot |
11:41.40 | jacques | maybe you need to exec ash |
11:42.00 | jacques | exec /bin/sh that is |
11:42.11 | CIA-10 | 03rwhitby 07 * r1.2563 10packages/busybox/switchbox-1.00/linuxrc: Switchbox now drops to shell if a valid rootfs cannot be mounted |
11:48.11 | rwhitby | same result |
11:48.21 | jacques | :-\ |
11:48.49 | jacques | what's running as pid 1 ? |
11:49.03 | rwhitby | we don't have ps :-) |
11:49.09 | jacques | lol oops |
11:49.25 | jacques | maybe there's something clever you can do by looking in /proc |
11:49.34 | rwhitby | self -> 25 |
11:49.39 | rwhitby | cd 1 |
11:49.51 | jacques | cat /proc/1/cmdline |
11:49.57 | rwhitby | empty |
11:50.08 | jacques | weird |
11:50.39 | rwhitby | cat status |
11:50.41 | rwhitby | swapper |
11:50.46 | rwhitby | 2: keventd |
11:51.01 | rwhitby | 3: ksoftirqd_CPU0 |
11:51.34 | rwhitby | 9:sh |
11:52.28 | rwhitby | sys/kernel/panic ... |
11:53.39 | rwhitby | echo "5" > /proc/sys/kernel/panic |
11:56.42 | jacques | what's that do rwhitby? |
11:56.53 | rwhitby | reboot after 5 seconds on panic |
11:57.00 | jacques | interesting |
11:57.34 | rwhitby | turning off the /bin/sh -x in llinuxrc now - it's stable enough |
12:07.32 | rwhitby | uploading flashdisk.jffs2 to nslu2-linux downloads, so I can then wget it onto devslug and dd it into /dev/mtdblock4 |
12:07.44 | jacques | maybe of interest: http://www.busybox.net/lists/busybox/2002-December/007573.html |
12:11.05 | rwhitby | we need to turn on command line editing in ash :-) |
12:11.56 | jacques | ah yeah |
12:13.09 | rwhitby | and we need a /tmp on which to mount a ramdisk |
12:13.33 | jacques | CONFIG_FEATURE_COMMAND_EDITING=y |
12:13.40 | rwhitby | hmm - I'm already inside a ramdisk at this point, right? |
12:13.44 | jacques | CONFIG_FEATURE_COMMAND_TAB_COMPLETION=y |
12:13.49 | jacques | right |
12:14.53 | rwhitby | heh - wget is no good without CSR modules :-) |
12:15.18 | rwhitby | lrzsz ? |
12:15.38 | jacques | I wonder waht this feature does: CONFIG_FEATURE_INITRD=y |
12:15.57 | jacques | CSR would totally blow our budget several times over |
12:16.25 | jacques | bb should have rz |
12:17.05 | jacques | well it has rz in misc utils section |
12:17.20 | jacques | oops meant rx - receive xmodem |
12:17.44 | rwhitby | well, without network access, this isn't a very interesting line of investigation any more ,,, |
12:18.17 | rwhitby | ok, how about pluggin in a flash key, and copying a file from that .... |
12:18.53 | jacques | that should work - if we wanted we could probably fit in support for some usb nic |
12:19.51 | rwhitby | flash key is the way to go |
12:21.06 | jacques | we could do a CSR-enabled version in 256K |
12:21.59 | rwhitby | nah - then you need to go through the rigmarole of ifconfig and stuff - much easier just to plug in a usb flash disk and dd your new jffs2 partition from there |
12:22.36 | jacques | compressed CSR modules add just over 100kB |
12:22.49 | jacques | just FYI |
12:23.04 | rwhitby | tempting ... |
12:23.22 | jacques | something to keep in mind |
12:23.53 | rwhitby | dd if=flashdisk.jffs2 of=/dev/mtdblock4 |
12:23.55 | rwhitby | right? |
12:24.03 | jacques | yep |
12:25.08 | jacques | heh I know |
12:25.13 | rwhitby | should probably have said bs=128k |
12:25.50 | rwhitby | # dd if=flashdisk.jffs2 of=/dev/mtdblock4 |
12:25.51 | rwhitby | 8960+0 records in |
12:25.51 | rwhitby | 8960+0 records out |
12:26.02 | jacques | we store the compressed CSR modules in the last block after the partition table - and have a script that uses dd to extract them |
12:26.14 | jacques | into the ramdisk |
12:26.23 | rwhitby | ooooh - that's nefarious |
12:26.46 | jacques | UBE |
12:27.08 | rwhitby | rebooting |