**** BEGIN LOGGING AT Wed Oct 07 02:59:57 2009 Oct 07 05:15:09 dieter_: it looks like openrd_base is in linux next http://git.kernel.org/?p=linux/kernel/git/next/linux-next.git;a=summary Not sure how complete it is. No sign of openrd client bits though and no sign of openrd in mainline uboot Oct 07 05:20:26 dieter_: actually looks like openrd_base bits have been merged into http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6-stable.git;a=summary Oct 07 05:24:51 uboot upstream is running a backlog by the look of it. I only just got a ping back about a separate patch I sent at the same time as a bunch of kirkwood changes for them Oct 07 05:58:53 tinker-f595: hi, hm - I wonder when this happen :) Oct 07 05:59:22 tinker-f595: I read lkml but never stumbled over some post regarding openrd - but never mind! Oct 07 05:59:31 tinker-f595: thanks for the hint! Oct 07 06:00:12 dieter_: you need to drill down into /arch/arm/mach_kirkwood Oct 07 06:00:36 not sure how complete it is Oct 07 06:01:45 I wish the client stuff was ready Oct 07 06:01:45 and the uboot stuff for the client Oct 07 06:01:47 history will tell when it happened Oct 07 06:03:37 tinker-f595: what u-boot stuff do you need for the client? Oct 07 06:04:40 well don't want the pci getting initialized incorrectly cause the video chip uses that Oct 07 06:05:17 plus last I looked the SATA was not being initialized by uboot Oct 07 06:06:42 oh - ok. Sorry about that. Which u-boot have you tried? The latest one from Prafulla at http://git.denx.de/?p=u-boot/u-boot-arm.git;a=summary ? Oct 07 06:08:08 Think I was looking at that Oct 07 06:10:04 dieter_: I know you are just starting for the day...but I am fading...end of my day and time for sleep. Oct 07 06:10:38 tinker-f595: Sure - so have a good night! Maybe we see us tomorrow... Oct 07 06:11:00 actually I was looking at the uboot at http://git.denx.de/?p=u-boot/u-boot-marvell.git;a=summary Oct 07 06:11:26 dieter_: have a good morning Oct 07 06:18:18 tinker-f595: thanks and bye Oct 07 08:10:32 tinker-f595: yes - as Prafulla said this is the most recent kirkwood tree. So I fear there is no read solution for PCI at the moment. Oct 07 08:10:52 tinker-f595: as far as I remember the SATA init is allready fixed there. Oct 07 08:27:34 if it is, it's only been the last few weeks. there was no mv sata support in mainline uboot, but it's in the old one from the devkit Oct 07 14:26:17 ron__: SATA support is broken in the uboot in the devkit. The second port (eSata) is not supported correctly. This is due to a general bug in that ancient version of uboot. I tracked through the history a few weeks ago and confirmed that it had been fixed in the more recent releases. The uboot code has changed so much over the years from the devkit fork that it does not look like a backport point fix would be easy. Oct 07 14:27:08 eSATA basically crashes in the devkit uboot fork Oct 07 14:36:41 the mv_sata support is 'fine', I've been booting solely off that for a couple of months or more now Oct 07 14:37:31 but I couldn't justify the time to port it forward to mainline uboot right now, and don't know of anyone else doing that yet either Oct 07 14:41:35 that was the only thing that stopped me using the mainline patchset though, it could boot the system fine off other storage **** BEGIN LOGGING AT Wed Oct 07 14:49:23 2009 Oct 07 16:00:27 ron__: ron__ no, the uBoot sata support is not fine. eSATA does not work correctly Oct 07 16:02:26 ron__: have you actually attempted to use eSATA from uBoot that comes with the openrd devkit? Oct 07 16:03:03 it does not work correctly. Oct 07 20:08:24 timtimred: do you feel involved with kirkwood support in oe ? Oct 07 20:11:19 hi Oct 08 01:44:05 Hey there. Oct 08 01:44:21 I just found most peculiar behavior of sheevaplug's eth0, which I described here: http://plugcomputer.org/plugforum/index.php?topic=811.0 Oct 08 01:44:42 if anyone seen anything like that, I'm all ears. Oct 08 01:46:40 as I said, I'm booting entirely from sata, and didn't need to modify the mv_sata driver to do that, so it's 'fine'. if you've got problems with the generic sata support in uboot, backport the fix for that, or better, forward port mv_sata to denx Oct 08 01:47:18 it WFM. if it doesn't for you, you've got the same source I have ... Oct 08 02:09:36 yacoob: that's really weird -- I've never seen anything like it. On mine, it was configured to use dhcp out of the box, and I reconfigured it through /etc/network/interfaces to a static IP. On next reboot, it was using that static IP, so I'm not sure if it was happening but got changed, or what... Oct 08 02:23:15 darkstar62, thing is, you won't see it normally :) Oct 08 02:23:24 if it comes back with old ip, it's either there and ready Oct 08 02:23:29 or will get reconfigured by dhcp Oct 08 02:24:04 I might have missed something obvious, but it's almost 4 AM and I'm kind of tired of debugging this :) Oct 08 02:24:13 have you put anything in the networking scripts to see if they're being called that early in the bootup? Oct 08 02:25:05 they're not Oct 08 02:25:13 weird... Oct 08 02:25:17 ifup -a is called from /etc/init.d/networking Oct 08 02:25:24 it sees that interface is already up Oct 08 02:25:32 and it doesn't call any scripts Oct 08 02:25:41 wait a minute...I wonder if that's a red hering Oct 08 02:25:48 does ifdown ever get called on shutdown? Oct 08 02:25:53 yes Oct 08 02:26:01 well, ifdown -a Oct 08 02:26:02 hrm, ok... Oct 08 02:26:04 right Oct 08 02:26:18 http://pastebin.ca/1602866 - this is strace of ifup -a being called from /etc/init.d/networking Oct 08 02:27:01 and yeah, I thought about the same thing - I've removed the state file from /var/run/network/ifstate, to make sure it's not ifup that's getting confused about state Oct 08 02:27:28 you said you're booting off SD card? Does that mean you have a real /var/run directory, and it isn't a tmpfs? Oct 08 02:27:56 nah, it's still tmpfs Oct 08 02:28:07 hmm...wonder if that could have something to do with it Oct 08 02:28:18 if that directory doesn't exist (/var/run/network), does ifup work? Oct 08 02:28:31 that's common approach nowadays, I'd say Oct 08 02:28:43 and it's up and mounted before ifup arrives Oct 08 02:29:12 hrm, ok Oct 08 02:29:31 weird, I'm running out of ideas Oct 08 02:30:22 what does your /etc/network/interfaces contain? Oct 08 02:30:42 auto lo Oct 08 02:30:42 iface lo inet loopback Oct 08 02:30:42 auto eth0 Oct 08 02:30:42 iface eth0 inet static Oct 08 02:30:47 ...plus config for eth0 Oct 08 02:30:54 nothing out of the ordinary Oct 08 02:31:07 and of course it runs fine when I do /etc/init.d/networking restart or equivalent Oct 08 02:31:27 that is, mountnfs runs and things Just Work [tm] Oct 08 02:32:13 if you can reboot your sheeva, you can test something for me Oct 08 02:32:38 what do you need? Oct 08 02:32:43 add 'ifconfig' call, at the beginning of udev script (in /etc/rcS.d) and at the beginning of next script Oct 08 02:33:08 (next one is S11mountdevsubfs.sh here) Oct 08 02:33:22 you'd have to look at the console to find the output of that Oct 08 02:33:48 but I'm very interested to see whether it's only here that it misbehaves, or is to common behavior Oct 08 02:34:39 ok, I'm gonna lose IRC when I do this, so I'll be right back Oct 08 02:40:42 so the ifconfig only ran once for me, but when it did, the interface was up and configured Oct 08 02:40:57 and it happened right after "Loading hardware drivers..." Oct 08 02:41:18 if you haven't put a comment around ifconfig, it probably ran twice, but first run was silent :) Oct 08 02:41:33 comment as in 'echo running ifconfig; ifconfig; echo there' Oct 08 02:41:45 ah, that makes sense Oct 08 02:41:54 and looks like it behaves the same way for you Oct 08 02:42:02 ifconfig -a is your friend there too Oct 08 02:42:04 the moment it appears in system, it's up and configured Oct 08 02:42:25 ron__, I don't want -a, I only want to see interfaces that are up Oct 08 02:43:00 yes, but you'll see it was run and the interface wasn't configured yet Oct 08 02:43:45 sounds like ubuntu hal/udev/network-manager? magic to me though ... Oct 08 02:44:07 maybe hal... Oct 08 02:44:21 someone added something to 'help' you :) did you grep all the udev and/or fdi scripts? Oct 08 02:45:03 there's only one rule for eth Oct 08 02:45:11 and it's for mapping to device names Oct 08 02:45:13 pretty standard Oct 08 02:45:16 what's fdi? Oct 08 02:45:48 something you're really never supposed to (have to) touch with a user hat on ... Oct 08 02:45:52 (and of course there's no hal nor network-manager on that device) Oct 08 02:45:54 hardware descriptions for hal Oct 08 02:46:11 ok, then it's not involved here Oct 08 02:46:19 you can get rid of hal ;? Oct 08 02:46:55 `dpkg -L udev` and look through everything it has for you Oct 08 02:48:16 like I said above, no weird rules about eth Oct 08 02:48:33 SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:43:01:d7:08", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" Oct 08 02:48:34 check out /lib/udev/rules.d/85-ifupdown.rules Oct 08 02:48:36 that's for mapping Oct 08 02:48:46 specifically Oct 08 02:48:50 SUBSYSTEM=="net", ACTION=="add", RUN+="/sbin/start-stop-daemon --start --background --pidfile /var/run/network/bogus --startas /sbin/ifup -- --allow auto $env{INTERFACE}" Oct 08 02:49:00 holy crap! Oct 08 02:49:07 who puts config files in /lib :( Oct 08 02:49:15 * ron__ touches his nose and points at darkstar62 :) Oct 08 02:49:52 that's really weird: P Oct 08 02:49:59 dpkg -L udev told me about that Oct 08 02:49:59 yacoob: that's why I told you to look at `dpkg -L udev` Oct 08 02:50:05 snap Oct 08 02:50:17 madness Oct 08 02:50:19 I thought it really odd there was practically no udev configuration in /etc/udev Oct 08 02:50:32 udev moves stuff there that it didn't want to let you fix locally anymore Oct 08 02:50:37 but interesting Oct 08 02:51:00 /lib though? Oct 08 02:51:10 what about /etc/udev/dont_touch Oct 08 02:51:12 like the thing that will make sure you don't have an eth0 anymore if you ever change your mac Oct 08 02:51:14 or somesuch Oct 08 02:51:36 if it's in /etc debian policy says it _has_ to respect local admin changes Oct 08 02:51:54 oh, I see...in /lib they can just replace it willy-nilly Oct 08 02:52:01 /lib is none of the admins business, it can stomp all over you how it likes Oct 08 02:52:37 if you delete persistent-net-generator, it will just put it back again next time :( Oct 08 02:53:55 so yacoob, it seems putting it in ifup.d is only half of it...maybe put a mount command in /etc/rc.local too Oct 08 02:53:55 that still isn't right, if it runs ifup, it should run scripts Oct 08 02:54:18 darkstar62, I have a workaround for that, I just want to understand why isn't it working the way I expect Oct 08 02:54:26 ah, ok Oct 08 02:54:33 tadam.wav Oct 08 02:54:53 (that is, works fine once I removed ADD rule) Oct 08 02:55:04 now, why doesn't it work in the first place... Oct 08 02:55:25 it probably is running your scripts Oct 08 02:55:39 they're just failing because it's Too Early for them Oct 08 02:56:01 do you boot completely from SD or is some internal flash use involved? Oct 08 02:56:17 hrm, nevermind, that doesn't make sense Oct 08 02:56:24 (and it's not telling you they are failing) Oct 08 02:56:34 ron__, yes, I expect that it's something like that Oct 08 02:56:39 still, they should be fine Oct 08 02:57:12 I'm not depending on name resolution **** ENDING LOGGING AT Thu Oct 08 02:59:58 2009