**** BEGIN LOGGING AT Mon May 23 23:59:56 2005 May 24 11:24:39 I remember reading something about the csr being removed or something but is that why my fresh new openslug build starts without it? May 24 11:53:14 VoodooZ_Work - the module code is all loaded on demand. On the second boot if /etc/network/interfaces has been changed to remove the 'auto eth0' the drivers won't be loaded. May 24 11:55:34 I see. May 24 11:57:15 jbowler: Yes, there was no such auto eth0 in interfaces on the first boot. Is that the default? May 24 12:02:51 jbowler: Ok, adding the auto eth0 and rebooting worked fine. thanks. May 24 12:04:23 <[g2]> If the auto eth0 is missing we need to get that added back in May 24 12:04:39 <[g2]> if things to automatically come up May 24 12:04:46 <[g2]> if things don't automatically come up May 24 12:05:10 Well, It used to. I don't understand why it changed. Not me. May 24 12:05:23 Unless it's done on the second boot? May 24 12:05:29 <[g2]> well thx for the heads up.... May 24 12:05:49 no problem. you can always count on me to break things! :) May 24 12:07:23 <[g2]> VoodooZ_Work, I've got an auto eth0 in my /etc/network/interfaces May 24 12:08:26 on the first boot after flashing? May 24 12:08:47 <[g2]> think so... But this was yesterdays build May 24 12:09:28 it's possible. Mine is today's and there was quite a few openslug related changes. May 24 12:12:12 [g2]: So the -mm kernel is optional? I couldn't find any "description" of it on kernel.org. May 24 12:12:31 I'm not too sure what it adds... May 24 12:12:34 <[g2]> it's a branch like the -ac kernel May 24 12:12:38 <[g2]> Alan Cox May 24 12:12:44 yes, that I know. May 24 12:12:49 but is the goal of the branch? May 24 12:13:04 <[g2]> different maintainers May 24 12:13:09 that's it? May 24 12:13:12 <[g2]> feature tweaks May 24 12:13:35 I see. I thought it was like the rt patches and was feature specific. May 24 12:13:48 so why are we using that particular one then? May 24 12:13:57 Must be some useful feature. May 24 12:17:53 The auto eth0 won't be there if lan_interface in sysconf has been changed to something other than ixp0 May 24 12:18:32 VoodooZ_Work - can you take a look at /etc/default/sysconf and send the lan_interface line? May 24 12:18:44 right away SIR! :) May 24 12:19:37 strange... I can't find such a file. May 24 12:20:10 Then the read of SysConf failed. May 24 12:20:21 not good! May 24 12:20:32 What does cat /proc/mtd output? May 24 12:21:05 the list of 6 dev May 24 12:21:11 mtd0 - mtd5 May 24 12:21:29 Um... Do you have the file /etc/default/functions? May 24 12:22:15 yep May 24 12:23:07 Try this: /etc/init.d/sysconfsetup (it will overwrite the files listed at the top of the script) May 24 12:23:37 done. May 24 12:23:56 Any errors, does /etc/default/sysconf now exist? May 24 12:24:07 no errors. But still no sysconf May 24 12:25:08 More and more mysterious. Try ". /etc/default/functions" (i.e source it) then "mtdev SysConf" May 24 12:25:39 no errors on 1st command. May 24 12:25:46 and the second one returns: /dev/mtd1 May 24 12:26:44 Then try "test -c /dev/mtd1 && echo yes" May 24 12:27:10 returned nothing. May 24 12:27:23 Ah ha! ls -l /dev/mtd1 May 24 12:27:27 (keep in mind I use udev though) May 24 12:27:53 I only have mtdblockx (x 0-5) May 24 12:28:36 But I've been using udev for a long while so I don't see why that would affect it. May 24 12:29:08 sysconfsetup used to read /dev/mtdblock1, with my change it reads /dev/mtd1 (the character device) May 24 12:29:22 ok. May 24 12:29:49 shouldn't udev pick it up? May 24 12:29:56 If you change the 'sysdev="$(mtdev SysConf)" line to 'sysdev=$(mtblockdev SysConf)' it should work. May 24 12:30:19 where? May 24 12:30:28 the functions file? May 24 12:30:40 line 42 of /etc/init.d/sysconfsetup May 24 12:31:10 Then just re-run /etc/init.d/sysconfsetup, or reboot. May 24 12:31:44 udev should be putting in the character devices too, it's presumably a bug in the mtd driver. May 24 12:31:54 ok. May 24 12:32:06 I could also hard-code it using udev's links.conf May 24 12:32:12 rebooting May 24 12:33:06 sysconfsetup is the only use of 'mtdev', turnup is using 'mtblockdev' May 24 12:33:19 ic May 24 12:33:27 what is turnup again? May 24 12:33:40 Duh... one thing - the 'test -c' needs to be 'test -b', sorry. May 24 12:34:25 IN the init.d file? May 24 12:34:44 In the sysconfsetup script, immediately after the mtdev line (i.e. line 43) May 24 12:35:14 turnup is the root thing - it will create a new root (a modified copy of the flash root) and will change the boot to use it. May 24 12:35:18 -c changed to -b May 24 12:35:52 I guess I don't really to use that in normal cases. May 24 12:38:53 jbowler: seems to work May 24 12:39:03 I have my old IP address now May 24 12:39:18 (which is normal) May 24 12:39:56 Ah good. I'll change it to use mtblockdev (assuming it works on my system too...) May 24 12:40:02 cool. May 24 12:40:16 Thanks for taking the time May 24 12:40:47 np, it's good to find bugs ;-) May 24 12:41:00 I'm good at breaking things! May 24 12:41:22 /dev/mtdblockx is what I have . **** BEGIN LOGGING AT Tue May 24 14:51:25 2005 **** ENDING LOGGING AT Tue May 24 23:59:57 2005