**** BEGIN LOGGING AT Fri Aug 27 02:59:57 2010 Aug 27 03:02:27 Which PID does the sendmsg? Aug 27 03:02:49 And is the specific socket referenced earlier in the strace so you can determine if it's dbus? Aug 27 03:08:20 cooloney: can you share the binary of your 2.6.35 kernel that works with your es1? Aug 27 03:08:48 persia: sometimes just ifconfig usb0 up and ifconfig usb0 down gets the problem Aug 27 03:09:03 the problem is that NM gives up to probe information and then put it down again Aug 27 03:09:09 and put it up to configure Aug 27 03:09:16 and this sequence is giving the issue Aug 27 03:09:42 nm was updated, so this new sequence could be affecting ups Aug 27 03:10:08 Right. Aug 27 03:10:50 I'd suggest first concentrating on the ifconfig bit. Once that's sorted, let's see if the other bugs are still present. Aug 27 03:11:35 sure, that's what I'm doing Aug 27 03:11:46 It's clearly unsafe coding, but ifconfig should never cause a hang anyway, and that's the bit talking to the kernel, which is making the system hang (rather than just e.g. NM) Aug 27 03:12:02 sure Aug 27 03:12:08 that's why I want to test with latest kernel Aug 27 03:12:14 from ti Aug 27 03:12:16 Is there a way to force a kerneloops during a hang? I get lost when it gets to that level. Aug 27 03:12:32 depends on the kind of hang Aug 27 03:13:10 problem with code generally can show the trace and so on Aug 27 03:13:26 but if the problem happens while communicating with the device, than things can be harder Aug 27 03:14:44 Not surprising. I get confused as soon as I get below syscalls (and usually can only solve hangs where strace is looping, or waiting indefinitely for a response that will never come), rather than on the other side, but I imagine there's a few more barriers as one approaches control lines on hardware. Aug 27 03:37:43 rsalveti: it is quite slow for me upload my package, damn it. Aug 27 03:39:32 it seems a kernel bug at the ethernet driver Aug 27 03:39:40 will take a better look at the down code Aug 27 03:40:06 it hangs when giving the ioctl to put the interface down Aug 27 03:48:37 rsalveti: http://people.canonical.com/~roc/kernel/omap4-2.6.35/ Aug 27 03:48:49 rsalveti: finally uploaded. it is cross compiled Aug 27 03:49:22 cooloney: nice, does it work fine with your es1? Aug 27 03:50:57 it boots up on my es1 and works fine with my maverick rootfs. Aug 27 03:51:03 cool Aug 27 03:51:08 but not tested it on daily image Aug 27 03:51:08 let me try it Aug 27 03:51:15 ok, thx Aug 27 03:51:16 np, I'm using a minimal one atm Aug 27 04:20:48 cooloney: do you have your usb working? Aug 27 04:21:47 doesn't work for me Aug 27 04:22:03 and the ethernet needs usb Aug 27 04:22:05 :-( Aug 27 04:25:00 rsalveti: too bad, doesn't boot at all? Aug 27 04:25:13 it boots, but doesn't work with usb Aug 27 04:25:20 that that was the test I wanted to run Aug 27 04:25:23 but thanks anyway Aug 27 04:26:24 oh, thx, for that. could you post your dmesg somewhere? Aug 27 04:26:32 i will discuss this with sebjan Aug 27 04:27:24 cooloney: http://paste.ubuntu.com/484321/ Aug 27 04:30:58 OMAP4430 ES1.0, is it ES2.0? Aug 27 04:31:12 I assume it is ES2.0, rsalveti Aug 27 04:41:32 cooloney: es1 Aug 27 04:41:46 cooloney: I wanted to test on the board I know we have issues atm Aug 27 04:41:47 :-) Aug 27 04:42:16 persia: yes, I have the dove ready for building. Aug 27 04:43:06 cooloney: I can test your deb on my es2 if you want Aug 27 04:43:27 just a sec Aug 27 04:48:38 cooloney: usb works with es2 Aug 27 04:48:42 will reply your email Aug 27 04:49:13 let me test it with 1gb Aug 27 04:50:29 rsalveti: great, man. thx for the testing in your mid night, i think Aug 27 04:50:57 sebjan: told me he fixed some EHCI or USB configuration on ES2.0, so maybe ES1.0 got some issue. Aug 27 04:51:12 cooloney: hah, yeah Aug 27 04:51:15 cooloney: oh, cool Aug 27 04:51:23 they were also working on other things yesterday Aug 27 04:51:31 mostly display and sound issues Aug 27 04:51:39 let me put that on the email Aug 27 04:57:01 cool, man, thx a lot Aug 27 04:57:13 * cooloney needs some food for his lunch Aug 27 04:58:46 cooloney: sent Aug 27 05:14:00 GrueMaster, Excellent, although I found somewhere else to run that. I'll let you know if I think I have another one solved. Aug 27 05:14:38 (but it might be too late by then) Aug 27 05:49:02 persia: If you are looking at ftbfs issues, can you check into ubiquity? I looked at the lp page, and it indicates a version of ubiquity-frontend-gtk-2.3.8 was built 7 hours ago, but there are no armel packages Aug 27 05:49:36 https://launchpad.net/ubuntu/+source/ubiquity/2.3.8/+build/1935852 Aug 27 06:08:15 GrueMaster: ogra: lag: if you want usb with ES2 uses cooloney kernel, at http://people.canonical.com/~roc/kernel/omap4-2.6.35/linux-image-2.6.35-903-omap4_2.6.35-903.8_armel.deb Aug 27 06:08:23 with mine (2.6.34) it doesn't work Aug 27 06:08:48 ogra: lag: the hang while booting ("dbus" hang): bug 625108 Aug 27 06:08:49 Launchpad bug 625108 in linux-ti-omap4 (Ubuntu) "System hangs when you run ifconfig usb0 up and ifconfig usb0 down (affects: 1) (heat: 8)" [Undecided,New] https://launchpad.net/bugs/625108 Aug 27 06:09:09 I'm still looking at it, but I can confirm that it doesn't happen with ES2 and cooloney's kernel Aug 27 06:10:22 and the driver didn't get any major changes between 2.6.34 and 2.6.35, so it could be related with the board Aug 27 06:10:57 ogra: regarding gdm, just now I got a "working" system that I can check this, and the only thing I saw is that doesn't get started Aug 27 06:11:12 Aug 27 04:13:46 acorn init: gdm goal changed from stop to start Aug 27 06:11:12 Aug 27 04:13:46 acorn init: gdm state changed from waiting to starting Aug 27 06:11:14 but that's all Aug 27 06:11:27 please continue the debugging and I can help looking into that tomorrow Aug 27 06:12:02 rsalveti: Don't you sleep? Aug 27 06:12:07 GrueMaster: ogra: another interesting thing is that the hostname is now "localhost" but I can still get the builder's name at the messages Aug 27 06:12:19 GrueMaster: I try, but doesn't work that well with me :-) Aug 27 06:12:28 That gets changed by oem-config. Aug 27 06:12:45 I know, but if we want to avoid having the builder's name logged, we should fix that Aug 27 06:12:48 Too much Brazilian coffee. Aug 27 06:12:57 I need some. :P Aug 27 06:13:00 and messages I say the syslog messages of the first boot Aug 27 06:13:03 GrueMaster: haha, possible Aug 27 06:13:11 I can try to get you some at uds :-) Aug 27 06:13:28 or even before, it all depends on ti :-) Aug 27 06:13:36 Sorry, can't make it. Wife hexed me into a cruise. Aug 27 06:13:43 TI maybe. Aug 27 06:13:47 ouch, true Aug 27 06:13:49 too bad Aug 27 06:14:51 When I mentioned UDS and conflict in the same sentence, she started speaking in tongues and I swear her head spun a few times. Aug 27 06:15:01 lol Aug 27 06:16:04 Currently testing the new oem-config fixes on babbage then off to bed. Seams to work again. I have hope that we might have a working image again soon. Aug 27 06:17:14 "Starting PC Card Services..." We really need to clean up the image next release. Aug 27 06:17:30 can't make oem-config to run here Aug 27 06:17:35 because of gdm it seems Aug 27 06:17:55 Which version of oem-config? 2.3.8 is latest. Aug 27 06:18:18 hm, 2.3.7 Aug 27 06:18:19 Just finished. Now to see if GDM starts. Aug 27 06:18:28 Oop, removing packages. Aug 27 06:19:32 cool, good luck Aug 27 06:19:35 need to go now Aug 27 06:19:40 see ya in some hours Aug 27 06:19:45 yea, understand. Aug 27 06:19:53 get some sleep. Aug 27 06:29:01 Yea, I now have a booting image again. 20100826.1 + oem-config updates are running on babbage. Very encouraging. Night all. Aug 27 07:25:29 Morning All, If you any of you are interested in having a look at omap4 TRM it is now in http://focus.ti.com/general/docs/wtbu/wtbudocumentcenter.tsp?templateId=6123&navigationId=12667 Aug 27 07:40:59 07:04:39> ogra: lag: the hang while booting ("dbus" hang): bug 625108 Aug 27 07:41:01 Launchpad bug 625108 in linux-ti-omap4 (Ubuntu) "System hangs when you run ifconfig usb0 up and ifconfig usb0 down (affects: 1) (heat: 8)" [Undecided,New] https://launchpad.net/bugs/625108 Aug 27 07:41:04 Doh Aug 27 07:41:31 ogra: lag: the hang while booting ("dbus" hang): bug625108 <- I don't have working Panda Aug 27 07:41:36 ES1.0 Aug 27 07:41:46 :( Aug 27 07:51:08 ogra: Is there anything wrong with this line? Aug 27 07:51:21 sudo mkimage -A arm -T script -C none -n "Ubuntu boot script" -d boot.script boot.scr Aug 27 08:01:38 looks ok to me Aug 27 08:08:00 Weird Aug 27 08:08:15 It's churning out boot.scr's with no header? Aug 27 08:10:09 lag, why sudo ? Aug 27 08:10:19 Does it make a difference? Aug 27 08:10:23 no ideas Aug 27 08:10:28 I'll try Aug 27 08:10:30 never used sudo with mkimage Aug 27 08:11:30 Didn't make a difference Aug 27 08:11:33 Still no header Aug 27 08:11:49 Ah Aug 27 08:11:51 No Aug 27 08:12:01 It's just that cat doesn't print it Aug 27 08:12:11 Emacs displays it fine Aug 27 08:15:45 and cat or less dont ? Aug 27 08:17:26 cat doesn't Aug 27 08:17:46 less does Aug 27 08:17:52 what nonprintables do you have in it? Aug 27 08:18:08 Maybe `TERM=dumb cat ...`? Aug 27 08:18:09 '^E^YV΄^E^B^F^@Ubuntu boot script^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^A^M^@^@^@^@ Aug 27 08:18:10 :) Aug 27 08:18:17 It's okay Aug 27 08:18:21 I can use less/emacs Aug 27 08:18:23 Yeah, cat should show that with TERM=dumb Aug 27 08:18:36 It's not a problem Aug 27 08:18:39 So long as I know Aug 27 08:20:45 ogra: When do you think the oem-* bug will be fixed? Aug 27 08:20:57 lag, i just kicked off a build Aug 27 08:21:03 it shoudl be fine in the next image Aug 27 08:21:15 though the usb0 bug will hit us hard Aug 27 08:21:32 Which usb0 bug? Aug 27 08:21:46 do you read the channel backlog if you get up ? Aug 27 08:21:51 That ifconfig up usb0; ifconfig down usb0; ifconfig up usb0 hangs the machine. Aug 27 08:21:53 its a useful practice ;) Aug 27 08:22:07 ogra: No Aug 27 08:22:08 bug 625108 Aug 27 08:22:10 Launchpad bug 625108 in linux-ti-omap4 (Ubuntu) "System hangs when you run ifconfig usb0 up and ifconfig usb0 down (affects: 1) (heat: 8)" [Undecided,New] https://launchpad.net/bugs/625108 Aug 27 08:22:16 Well, I flick though Aug 27 08:22:20 Usually it's dribble Aug 27 08:22:23 (which you mentioned to us earlier, so you ought have seen it) Aug 27 08:22:41 d Aug 27 08:22:57 Does this happen with TI's new patches? Aug 27 08:23:12 Hard to say. The reporter went to bed. Aug 27 08:23:21 I'll give it a go Aug 27 08:23:23 Try it with TI's new patches and find out :) Aug 27 08:23:50 This is Panda ES1.0 Aug 27 08:24:28 I was under the impression that all support for ES1.0 is to be halted? Aug 27 08:24:38 Bug report is for ES1.0. I'm not sure it's been tested with ES2.0 Aug 27 08:24:54 Perhaps, but let's make sure the bug is ES1.0 only before we ignore it :) Aug 27 08:25:15 hmm, theer is no bug about the dbus hang ? Aug 27 08:25:38 lag, tricky for beta we dont have es2 yet Aug 27 08:25:53 The dbus hang is dbus running NM init once dbus<->NM comes up, which is NM hanging on configuring usb0, which is 625108 Aug 27 08:25:59 lag, so i guess beta has to stay es1 ... also we dont have bootloader or kernel for es2 Aug 27 08:26:10 rsalveti spent hours hunting it down specifically. Aug 27 08:26:22 persia, hmm, i thought i saw initctrl mentioned above Aug 27 08:26:28 yes, i see that Aug 27 08:26:38 Right. initctl start dbus hangs the machine, by the process I just described. Aug 27 08:26:44 ok, then its fine with me ... just not sure what to do ... Aug 27 08:26:56 kernel bug. lag's on it. Aug 27 08:26:59 apart from disabling usb0 :) Aug 27 08:27:20 Let's give lag a couple hours to hunt before we use the big hammer :) Aug 27 08:27:24 persia, lag doesnt have working usb, no ? Aug 27 08:27:30 (on the es1) Aug 27 08:27:52 Ugh. Aug 27 08:28:22 * persia dreams of a day when mass commercial HW is available, and all these niggles go away Aug 27 08:28:31 natty FTW :) Aug 27 08:29:03 lag, so i guess beta has to stay es1 ... also we dont have bootloader or kernel for es2 - Aug 27 08:29:30 lag, show me the package on ports.ubuntu.com please Aug 27 08:29:38 *packages Aug 27 08:35:33 07:06:13> and the driver didn't get any major changes between 2.6.34 and 2.6.35, so it could be related with the board Aug 27 08:35:42 Don't you read your back-log? =;-) Aug 27 08:36:11 Well, I flick though Aug 27 08:36:12 :P Aug 27 08:36:29 That's the wrong message Aug 27 08:36:31 Doh Aug 27 08:36:51 07:05:01> I'm still looking at it, but I can confirm that it doesn't happen with ES2 and cooloney's kernel Aug 27 08:36:56 That's the one I meant to post Aug 27 08:37:02 doesnt really help Aug 27 08:37:20 we need to have booting images by thu. no matter what Aug 27 08:37:40 and since we only have software for es1 it needs to be es1 images Aug 27 08:38:25 I can't help you there I'm afraid Aug 27 08:40:25 The ES1.0 will boot, it just won't have USB working Aug 27 08:40:27 is the NIC driver a module so we can at least blacklistz it ? Aug 27 08:41:16 * ogra can apply a jasper hack that puts a blacklist file in place Aug 27 08:42:19 You know the NIC drivers needs USB right? Aug 27 08:42:39 that wasnt my question :) Aug 27 08:43:03 is it modular so we have a worst case solution to get the images booting again ? Aug 27 08:44:25 I don't believe it is Aug 27 08:45:39 damned Aug 27 08:47:54 * ogra goes to get more coffee while the images build Aug 27 08:48:51 CONFIG_USB_NET_SMSC95XX=y Aug 27 08:49:06 What happens if we make that =m ? Aug 27 08:49:21 Should get us booting, and then we can track down other stuff whilst sorting the problem. Aug 27 08:49:23 The world implodes Aug 27 08:49:31 Ah. That may impair a few things. Aug 27 08:49:40 I don't know Aug 27 08:49:54 But do you want to get that config change though SRU? Aug 27 08:50:08 Could you find out? The other option is trying to tell NM to ignore usb0. Aug 27 08:50:16 Sure. Without it, there's no booting images. Aug 27 08:50:19 So no beta. Aug 27 08:50:33 I can't give anything a go ... Aug 27 08:50:40 I don't have a working ES1.0 Aug 27 08:50:42 But let's let ogra come back: he's more awake than me, to document the issue. Aug 27 08:50:48 Ah. Aug 27 08:55:03 lag: from the kernel dmesg on my es1, i found Aug 27 08:55:06 [ 1.573303] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver Aug 27 08:55:06 [ 1.580200] ehci_hcd: block sizes: qh 60 qtd 96 itd 160 sitd 96 Aug 27 08:55:06 [ 1.580322] ehci-omap ehci-omap.0: failed to get ehci port0 regulator Aug 27 08:55:06 [ 1.580322] ehci-omap ehci-omap.0: starting TI EHCI USB Controller Aug 27 08:55:06 [ 1.580352] ehci-omap ehci-omap.0: failed to start ehci Aug 27 08:55:11 lag, SRU ? you mean asking for a freeze exception Aug 27 08:55:28 it looks like we missed some ehci port0 regulator configuration or driver? Aug 27 08:55:46 lag: any idea about that? maybe it cause our USB failed. Aug 27 08:56:00 cooloney: You'll have to fix it - I don't have an ES1.0 :( Aug 27 08:56:17 died you send back both already ? Aug 27 08:56:23 *did Aug 27 08:56:31 lag: got it, man Aug 27 08:58:25 ogra_cmpc: Nope, they are both here on my shelf Aug 27 08:58:53 cooloney: Does your HDMI port work with the current image? Aug 27 08:59:06 lag, well, the one with broken HDMI might have working USB ;) Aug 27 08:59:18 and surely has working serial Aug 27 08:59:24 ogra_cmpc: That's what I was thinking Aug 27 09:00:12 * ogra_cmpc curses TIs timing ... Aug 27 09:00:48 if we only would have been having everything (HW/SW) one week earlier .... Aug 27 09:01:52 cooloney, will we get the new sebjan tree uploaded before beta ? Aug 27 09:02:32 ogra_cmpc: when is the beta, i guess we are going to upload it soon Aug 27 09:03:05 beta is on thu but we need the package earlier, i think serious images are due monday or so Aug 27 09:03:57 ogra_cmpc: next thu? or yesterday. Aug 27 09:04:16 yesterday was beta feeeze, next thu is beta release Aug 27 09:04:49 oh, i c. Aug 27 09:05:07 i am not sure about that. Aug 27 09:05:21 still need to fix audio issue and this USB issue Aug 27 09:05:21 we wont have probs to get an upload approved but it need to happen very soon Aug 27 09:05:31 *needs Aug 27 09:05:59 does the audio issue block anything apart from the obvious ? Aug 27 09:06:25 else i'd say keep that for post beta Aug 27 09:06:45 ogra_cmpc: FATAL: Could not load /lib/modules/2.6.35-903-omap4/modules.dep: No such file or directory Aug 27 09:06:46 we can live with non working audio for beta Aug 27 09:07:11 lag, you package should have called depmod during package install Aug 27 09:07:20 looks like a bug in the klinux package Aug 27 09:07:25 *linux Aug 27 09:08:03 ogra_cmpc: I'm installing on my chroot Aug 27 09:08:23 doesnt matter, the postinst of the package should call depmod Aug 27 09:08:29 Do I just need to copy over the *.dep file from the shroot to the SD card to get it to work Aug 27 09:08:56 that might workm, though i'd just call it on the SD Aug 27 09:09:11 Better to call depmod afresh. Less prone to oddities. Aug 27 09:09:19 ogra_cmpc: i just got 2 patches from sebjan to fix audio issue, Aug 27 09:09:28 cooloney, ah, cool Aug 27 09:09:29 maybe we can fix it soon Aug 27 09:21:17 It turns out that pivot-root isn't console specific - Doh! Aug 27 09:21:42 pivot-root ??? Aug 27 09:22:00 I just pivot-root(ed) into an Arm / Aug 27 09:22:04 ubuntu hasnt used pivot-root since 2004 Aug 27 09:22:16 I wanted to use it Aug 27 09:22:26 To run depmod Aug 27 09:22:32 Why not chroot? Aug 27 09:22:43 yeah, i was about to ask :) Aug 27 09:22:59 Because you can't specify the out dir Aug 27 09:23:18 of depmod Aug 27 09:23:19 The "out dir"? Aug 27 09:23:23 ?? Aug 27 09:23:29 Oh, can you chroot into a given / Aug 27 09:23:35 Rather than a saved one Aug 27 09:23:40 Hold on Aug 27 09:23:45 sudo chroot /target/chroot depmod -a Aug 27 09:24:19 (needs qemu-arm-static installed for armel chroots) Aug 27 09:24:40 I have that Aug 27 09:24:57 And you need to copy the interpreter Aug 27 09:25:06 But my usual chroot != /SDCard/rootfs Aug 27 09:25:13 So? Aug 27 09:25:19 chroot takes the target on the command line Aug 27 09:25:28 mount /dev/mmcblk0p2 /target/chroot ;) Aug 27 09:25:28 I didn't know you could chroot into random directories Aug 27 09:25:35 that's the point :) Aug 27 09:25:44 * lag shrugs Aug 27 09:25:52 Every day's a school day Aug 27 09:25:55 If you don't need that flexibility, schroot is probably more feature-rich. Aug 27 09:27:06 sudo schroot /media/rootfs/ Aug 27 09:27:10 E: default: Chroot not found Aug 27 09:27:37 Ahhhhhhhhhhhh, that's the difference between schroot and chroot Aug 27 09:28:35 root@system1:/# uname -a Aug 27 09:28:35 Linux system1 2.6.32-24-generic #41-Ubuntu SMP Thu Aug 19 01:12:52 UTC 2010 armv7l GNU/Linux Aug 27 09:28:48 * ogra_cmpc applauds Aug 27 09:29:12 ogra_cmpc: Sarky baboon Aug 27 09:29:19 It still doesn't work Aug 27 09:29:29 WARNING: Couldn't open directory /lib/modules/2.6.32-24-generic: No such file or directory Aug 27 09:29:31 Wrong kernel Aug 27 09:29:49 man depmod :) Aug 27 09:30:53 -v? Aug 27 09:30:58 no Aug 27 09:31:13 version Aug 27 09:31:22 the manpage summary at the top is a bit confusing i admit Aug 27 09:31:30 right just give the version Aug 27 09:31:33 no -v Aug 27 09:31:46 Oh, they're separate arguments Aug 27 09:31:55 They should be separated Aug 27 09:32:12 the text below makes it clearer Aug 27 09:32:25 If a version is provided, then that kernel version's module directory is used rather than the current Aug 27 09:32:25 kernel version (as returned by uname -r). Aug 27 09:32:31 Who reads more than 5 lines of a manpage? Aug 27 09:32:32 ;) Aug 27 09:32:36 heh Aug 27 09:32:44 Yeah, that's what I read to get 'version' Aug 27 09:32:53 But I thought -v and version were related Aug 27 09:32:57 I was correct Aug 27 09:33:12 -v --verbose Aug 27 09:33:12 I'm guessing -v would churn out depmod's version Aug 27 09:33:15 Oh! Aug 27 09:33:17 Doh! Aug 27 09:33:29 -V --version Aug 27 09:33:29 Show version of program and exit. See below for caveats when run on older kernels. Aug 27 09:33:29 I would have found it - I was on the right lines Aug 27 09:34:09 funny that there is no "below" in the manpage anymore Aug 27 09:34:35 (probably refers to depmod.conf or so) Aug 27 09:35:28 sudo chroot /media/rootfs/ depmod 2.6.35-903-omap4 Aug 27 09:35:35 yeah Aug 27 10:11:34 Does anyone know how to do a remote single lined bash command Aug 27 10:11:38 Something like: Aug 27 10:12:11 chroot /root bash "for i in \`ls /lib/modules/\`; do echo \$i; done" Aug 27 10:12:45 remote ? through ssh = Aug 27 10:12:46 ? Aug 27 10:12:47 chroot /root bash -- for i in `ls /lib/modules/`; do echo $i; done Aug 27 10:12:57 Actually through chroot Aug 27 10:13:04 But I guess the principle is the same Aug 27 10:13:12 sh -c "mycommand" Aug 27 10:13:14 Similar, but not quite. Aug 27 10:13:30 `ssh foo bar` runs command "bar" on host "foo" Aug 27 10:13:32 or just leave the shell out og it completely Aug 27 10:13:40 *of Aug 27 10:13:52 `chroot foo bar` runs command "bar" with "foo" as root. Aug 27 10:14:14 So `chroot foo "for i in ..."` ought do what you seek. Aug 27 10:14:22 right Aug 27 10:14:26 quotes may not be required, but may be safer. Aug 27 10:16:36 yes, the quotes were more for ssh :) Aug 27 10:17:17 I've tried those Aug 27 10:17:18 Not working Aug 27 10:17:30 !doesntwork Aug 27 10:17:31 Doesn't work is a strong statement. Does it sit on the couch all day? Does it want more money? Is it on IRC all the time? Please be specific! Examples of what doesn't work tend to help too. Aug 27 10:18:06 You and your ridiculous !cmds Aug 27 10:18:10 Do you have a list next to you? Aug 27 10:18:30 he has the bot sitting next to him :) Aug 27 10:18:47 Quite Aug 27 10:19:18 sudo chroot /media/rootfs/ "for i in `ls /lib/modules/`; do echo $i; done" Aug 27 10:19:19 chroot: cannot run command `for i in 2.6.28-18-generic\n2.6.31-21-generic\n2.6.32-21-generic\n2.6.32-22-generic\n2.6.32-23-generic\n2.6.32-24-generic; do echo 2.6.32-24-generic; done': No such file or directory Aug 27 10:19:35 Oh, right. Aug 27 10:19:50 yeah, for chroot you *do* need to specify the interpreter. Aug 27 10:20:00 So "/bin/bash for i ... Aug 27 10:20:07 sudo chroot /media/rootfs/ bash -c "for i in `ls /lib/modules/`; do echo $i; done" Aug 27 10:20:07 /bin/bash: -c: line 1: syntax error near unexpected token `2.6.31-21-generic' Aug 27 10:20:07 /bin/bash: -c: line 1: `2.6.31-21-generic' Aug 27 10:20:11 Tried that too Aug 27 10:20:13 Otherwise it tries to find "for" in the path, and fails. Aug 27 10:20:31 Correct Aug 27 10:20:45 * ogra crosses fingers and boots the latest image Aug 27 10:21:12 But `chroot /media/rootfs ls /lib/modules` works? Aug 27 10:21:44 Yes Aug 27 10:22:43 It's a problem with the bash part Aug 27 10:22:48 bash -c "for i in `ls /lib/modules/`; do echo $i; done" Aug 27 10:22:55 That's broken in some way Aug 27 10:23:05 for i in `ls /lib/modules/`; do echo $i; done Aug 27 10:23:07 Works fine Aug 27 10:23:34 How about echo `for i in $(ls /lib/modules/); do echo $i; done" > /media/rootfs/script; chroot /media/rootfs /bin/bash /script` Aug 27 10:23:36 Got it Aug 27 10:23:45 It wanted ' not " Aug 27 10:23:49 your backticks are executed too early? Aug 27 10:23:53 Aha! Aug 27 10:23:58 XorA, On the nose. Aug 27 10:26:18 sudo chroot /media/rootfs/ bash -c 'for i in `ls /lib/modules`; do depmod $i; done' Aug 27 10:26:26 That is the winning formula Aug 27 10:32:26 GRRR Aug 27 10:32:33 so resizing and rebooting works fine Aug 27 10:32:52 but it hangs after the fourth dot in plymouth was printed Aug 27 10:33:23 see there is a reason I hate all this gui obfuscation Aug 27 10:33:41 How is plymouth obfuscation? Aug 27 10:33:56 it hides the kernel messages Aug 27 10:34:01 * persia isn't even convinced it's gui with the text profile Aug 27 10:34:19 Doesn't passing noquiet show them again? Aug 27 10:34:25 no idea Aug 27 10:34:54 Has since Breezy or so. I think it's not plymouth, but the kernel command line that causes the sense of obfuscation. Aug 27 10:35:13 But I haven't run with noquiet since jaunty or so, so I may be mistaken. Aug 27 10:35:19 If you press left/right arrow, you can see the messages Aug 27 10:36:42 yeah, seems to be the same issue ricardo sees Aug 27 10:37:07 hangs right after ureadahead when trying to start apparmor Aug 27 10:37:21 * ogra tries to add /e/n/i to üprevent NM Aug 27 10:41:55 * ogra glares at the gdm screen Aug 27 10:41:58 hrm Aug 27 10:42:02 where is my oem-config Aug 27 10:47:04 k, i think i'll add a hack to jasper to set up /e/n/i, that seems to work fine Aug 27 10:53:41 uploaded Aug 27 10:53:46 moin, does anyone here use a display with an i.MX51 (e.g. Babbage)? If yes, did you invest some efforts to improve the Freescale driver? Aug 27 10:55:38 ukleinek, I used to do so, and no. Aug 27 10:55:48 I remember it not having acceptable acceleration. Aug 27 10:56:06 (but I was mostly interested in using the device to track down build failures, etc.) Aug 27 10:57:37 ukleinek, the display driver around 10.04 time was completely unusable (and non free) so we dont have it, out netbook images used fbdev only Aug 27 10:57:49 s/out/our/ Aug 27 10:59:14 ukleinek: are you working on the fb driver for i.mx51? Robert mentioned something about pengutronix's involvement on linaro-dev... Aug 27 11:02:06 We'd certainly be happy to ship a better driver, if someone wanted to help maintain it :) Aug 27 11:05:25 ogra: lag: all you need to do to have a working image is to give "ifconfig usb0 up" before initializing network-manager service :-) Aug 27 11:05:33 then you'll get everything working fine Aug 27 11:05:35 with network Aug 27 11:05:42 as I described at the bug already Aug 27 11:06:31 so if you bring that up before, starting the services, will probably get everything working Aug 27 11:06:54 rsalveti, i uploaded a hack already, waiting for approval Aug 27 11:07:11 ogra: what did you do? Aug 27 11:07:42 rsalveti, just adding usb0 to /etc/network/interfaces Aug 27 11:07:52 amitk: yes (Robert's my boss in case you don't know) Aug 27 11:07:52 that prevents NM from managing it Aug 27 11:07:59 ogra: hm, ok Aug 27 11:08:05 will work but no valid network Aug 27 11:08:10 its a hack but will get us through beta Aug 27 11:08:13 ukleinek: I figured that might be the case :) Aug 27 11:08:31 yep, but if you give ifconfig usb0 up it'll work *with* network Aug 27 11:08:35 so, better hack Aug 27 11:08:40 but anyway Aug 27 11:08:41 rsalveti, well, it seems to work, i got the time from ntp during oem-config Aug 27 11:08:43 rsalveti: Eh? Aug 27 11:08:44 * rsalveti back to bed Aug 27 11:08:55 ogra: oh, so cool Aug 27 11:08:58 lag: what? Aug 27 11:09:19 go to bed we need you fresh in the morning :) Aug 27 11:09:20 if you bring the interface up NM will not bring up/bring down while starting Aug 27 11:09:37 right, /e/n/i has the same effect Aug 27 11:09:50 what could have happened is that the new NM is doing this procedure to get info from the interface Aug 27 11:09:57 * persia thought it *was* morning Aug 27 11:09:59 that's why it wasn't happening before Aug 27 11:10:00 I'd say Aug 27 11:10:24 ok, see ya in some hours :-) Aug 27 11:11:01 * rsalveti hopes to see a better image when starts working :-) Aug 27 11:11:23 well, its still shaky Aug 27 11:11:27 rsalveti, Do I have the time wrong? Is it 8am local for you? Aug 27 11:11:29 but gets quite far Aug 27 11:12:06 persia: yep Aug 27 11:12:12 cool Aug 27 11:12:18 Ah, good. Aug 27 11:12:20 lag: don't you have a working es1 already? Aug 27 11:12:31 I thought davidm would sent you one Aug 27 11:12:38 I have two borked ones Aug 27 11:12:47 lag: two borked? Aug 27 11:12:47 Yea, but HDMI doesn't work on the new one Aug 27 11:12:49 so you're the problem Aug 27 11:13:00 They have different issues Aug 27 11:13:01 lag: to reproduce this bug you don't need hdmi Aug 27 11:13:06 Correct Aug 27 11:13:11 just ifconfig usb0 up/down Aug 27 11:13:13 That's what I'm working on now Aug 27 11:13:19 Yeah, I read it Aug 27 11:13:38 Go to bed ;) Aug 27 11:13:40 I tried to activate the debugging messages from the module but than I got a huge trace Aug 27 11:13:48 probably wrong untested code at the debug messages Aug 27 11:13:53 :-) Aug 27 11:13:56 ok Aug 27 11:13:58 see ya Aug 27 11:15:09 * ogra dances around a working desktop Aug 27 11:15:14 wohooo Aug 27 11:16:25 \o/ Aug 27 11:17:15 On ES1.0? Aug 27 11:17:18 still way to many panels on my screen Aug 27 11:17:30 lag, yep, current image with some hacks Aug 27 11:17:45 Get it built Aug 27 11:18:11 well, there is the paperwork ... Aug 27 11:18:22 its uploaded but someone needs to approve it Aug 27 11:18:47 and it will fail after reboot because of the issues with the old u-boot, we need the new one before beta Aug 27 11:19:23 bug #623242 Aug 27 11:19:26 Launchpad bug 623242 in pulseaudio (Ubuntu) "speex-float-1 provides poor performance on armel (affects: 1) (heat: 8)" [Low,Triaged] https://launchpad.net/bugs/623242 Aug 27 11:34:19 * ogra_panda waves Aug 27 11:38:45 ogra_panda == goon :) Aug 27 11:38:52 hrw: Are you around? Aug 27 11:39:29 hey, i'm no bully ! Aug 27 11:42:21 lag: yes Aug 27 11:43:01 hrw: What is the module which controls usb0 on the XM? Is it smc91x? Aug 27 11:43:20 smsc95xx? Aug 27 11:43:41 Do you know what it is on the Panda? Aug 27 11:51:07 hrw: ? Aug 27 12:00:59 ogra: hi. is maverick moving to connman or staying with nm? Aug 27 12:01:04 * ogra twiddles thimbs waiting for the daily archive admin to get up Aug 27 12:01:16 ndec, *we* stay with NM Aug 27 12:01:49 ogra: thx. Aug 27 12:01:59 (our images do) Aug 27 12:05:50 * persia grumbles. Why is fpc *still* not bootstrapped? Aug 27 12:16:09 persia: i though it was Aug 27 12:16:51 but maybe it is not, later upstream release had arm fixes Aug 27 12:17:20 zumbi_, It was in Debian, and there was a ticket to have it done in Ubuntu for lucid, and it hasn't been. Aug 27 12:17:36 zumbi_, feel like trying a bootstrap in Ubuntu, and see if it works? Aug 27 12:17:41 persia: oh! ok, i was just talking with debian hat Aug 27 12:17:45 * persia tracks down the relevant bug number Aug 27 12:17:52 heh Aug 27 12:18:32 bug #67544 Aug 27 12:18:33 Launchpad bug 67544 in fpc (Debian) (and 2 other projects) "Bootstrapping needed for fpc for armel (heat: 5)" [Unknown,Fix released] https://launchpad.net/bugs/67544 Aug 27 12:23:57 persia: for testing ubuntu, is it maverick the right suite? Aug 27 12:24:20 ogra: I think you'd best check the Kernel Mailing list Aug 27 12:24:27 That's the one we're working on just now. Aug 27 12:25:12 i just setup 8 chroots for debian builds (4 suites for i386, amd64) adding a couple more won't hurt :) Aug 27 12:26:06 Only 8? I'd have expected you to have armel and armhf build chroots as well. Aug 27 12:26:59 persia: well this is x86 + cross builds; native arm stuff is in the stack, maybe in some weekend Aug 27 12:27:42 and arm + qemu .. this is really becoming insane Aug 27 12:27:45 heh. Aug 27 12:27:52 arm+qemu is too painful Aug 27 12:27:59 arm + qemu + croco Aug 27 12:28:12 madness Aug 27 12:28:29 I thought you had a few fairly fast settop boxes to play with though? Why cross-build? Aug 27 12:29:10 at work we cross build some stuff Aug 27 12:29:47 usually cross building is very useful for kernels and custom applications Aug 27 12:30:12 for kernels mostly because getting hardware with decent RAM is nigh impossible these days. Aug 27 12:30:36 For custom stuff, I still prefer native, unless working on deep embedded targets, but that might just be my prejudice. Aug 27 12:30:59 for development, cross building helps you being faster Aug 27 12:31:36 Depends on the HW you can get. Aug 27 12:31:47 But yeah, fast big RAM hardware is hard to find for ARM. Aug 27 12:32:17 our hardware is PXA270 Aug 27 12:34:26 Ouch. Now your propensity to cross-build makes sense :) Aug 27 12:43:56 Available chroots: lenny_i386 stable_i386 squeeze_i386 testing_i386 sid_i386 unstable_i386 experimental_i386 rc-buggy_i386 maverick_i386 lenny_amd64 stable_amd64 squeeze_amd64 testing_amd64 sid_amd64 unstable_amd64 experimental_amd64 rc-buggy_amd64 maverick_amd64 Aug 27 12:44:36 heh Aug 27 12:45:31 hrw: which are maverick cross compilers? Aug 27 12:45:46 http://people.canonical.com/~hrw/ubuntu-maverick-armel-cross-compilers/ || http://ppa.launchpad.net/hrw/arm-cross-compiler/ubuntu ? Aug 27 12:49:35 zumbi_: first Aug 27 12:49:46 zumbi_: my ppa is empty now Aug 27 12:49:56 thanks :) Aug 27 12:50:55 in few hours there will be binutils + eglibc + linux headers + libgcc there Aug 27 12:51:17 hrw: built with viro's changes? Aug 27 12:51:29 (well, for the libgcc part) Aug 27 12:54:26 no, I use ubuntu packages now Aug 27 12:54:43 zumbi_: when 4.4.4-10(ubuntu1) will land then I will get Al's changes Aug 27 12:55:22 zumbi_: Ubuntu versions have all I need now Aug 27 12:55:47 ok, great! - viro's changes are very cool Aug 27 12:59:11 lag, for what ? Aug 27 12:59:26 The USB issue Aug 27 12:59:32 Or information on said issue Aug 27 12:59:46 * ogra only sees 2 linaro pull requests Aug 27 13:00:46 bah, sigh, why do people always need to add a ton of CCs Aug 27 13:01:32 ogra: I told you the reason to that yesterday Aug 27 13:01:44 yeah, its still annoying Aug 27 13:01:53 Not everyone has the masses of spare time that you do ... Aug 27 13:02:08 you cant properly reply to it, and it ends up in the wrong folders Aug 27 13:02:24 Depends on your filters Aug 27 13:02:37 evo filters on ML headers Aug 27 13:02:38 s/mv/cp ;) Aug 27 13:02:47 ML? Aug 27 13:02:52 mailing list Aug 27 13:05:56 zumbi_: better check armel-cross-toolchain-base source package in my ppa Aug 27 13:05:58 Anyway ... we digress Aug 27 13:07:27 hrw: i was asking for the maverick chroot setup, I would like to have in the maverick chroot official maverick cross compilers Aug 27 13:07:48 hrw: i guess i need to check ppa source for the packaging (to get into Debian) Aug 27 13:08:05 zumbi_: Cross compilers? Aug 27 13:08:20 hrw: I looked you were basically calling dpkg -x Aug 27 13:08:28 lag: yeap Aug 27 13:08:48 Why would you need to cross compile if you're in a chroot? Aug 27 13:09:24 i am on an amd64 chroot wanting to cross compile a kernel, for example Aug 27 13:09:41 usen an armel chroot then ;) Aug 27 13:09:52 Exactly Aug 27 13:10:16 ogra: we talked on that arm+qemu+croco is nice, but only work for arm Aug 27 13:10:30 i would like to keep qemu stuff aside Aug 27 13:10:36 armel chroot? its insane waste of resources Aug 27 13:11:00 zumbi_, sudo apt-get install qemu-arm-static, sudo qemu-debootstrap armel ... Aug 27 13:11:05 hrw: they fake armel native compiler with cross compilers Aug 27 13:11:13 ogra: and wait 6h to build kernel? Aug 27 13:11:29 better than 18h on a beagle ;) Aug 27 13:11:37 hrw: My armel builds take 20mins Aug 27 13:11:39 worse then 0.5h with cross compiler Aug 27 13:11:40 or 16h on a qemu vm Aug 27 13:11:44 From scratch Aug 27 13:12:01 E: Unable to locate package qemu-arm-static, Aug 27 13:12:12 zumbi_, lucid or maverick ? Aug 27 13:12:17 kernel is a special case, you dont need qemu or target arch userspace - just a crosscompiler Aug 27 13:12:19 or debian? Aug 27 13:12:29 hold on, i copied from your paste Aug 27 13:12:34 well, debian has static packages too but differently named Aug 27 13:12:43 suihkulokki: to build other packages I can use xdeb Aug 27 13:12:50 ogra: maverick Aug 27 13:13:10 zumbi_: add universe Aug 27 13:13:20 yeah Aug 27 13:14:00 though it might be that the transitional package was dropped ... qemu-arm-static points to a hilariously named qemu package Aug 27 13:14:16 hrw: sounds interesting.. where can I get it? Aug 27 13:14:28 qemu-kvm-extras-static Aug 27 13:14:32 suihkulokki: maverick/universe? Aug 27 13:14:36 thats the actual package name Aug 27 13:14:58 suihkulokki: but you also need cross compiler Aug 27 13:15:10 suihkulokki: https://blueprints.launchpad.net/ubuntu/+spec/arm-m-xdeb-cross-compilation-environment Aug 27 13:15:16 suihkulokki: http://people.canonical.com/~hrw/ubuntu-maverick-armel-cross-compilers/ has ones Aug 27 13:15:35 suihkulokki: xdeb is a rebranding of cjwatson work for chromeOS Aug 27 13:15:55 * hrw -> off Aug 27 13:16:36 bye hrw|gone, and thanks :) Aug 27 13:17:02 Failed to fetch http://aptcache:3142/uk.archive.ubuntu.com/ubuntu/pool/main/b/binfmt-support/binfmt-support_1.2.18_all.deb Size mismatch Aug 27 13:17:05 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? Aug 27 13:17:07 zumbi_: once done I will discuss with #emdebian team to merge it to Debian Aug 27 13:17:13 al8 Aug 27 13:17:34 hrw|gone: ok, thanks :) Aug 27 13:19:01 ogra: on maverick, "sudo apt-get install qemu-arm-static" fails :/ Aug 27 13:19:17 well, try qemu-kvm-extras-static instead Aug 27 13:19:40 uhm... i wonder if it is taking the one from the cache with it is a debian one Aug 27 13:19:43 qemu-arm-static was a transitional package Aug 27 13:21:40 ogra: it was my aptcache fault Aug 27 13:21:46 ah Aug 27 13:25:42 ogra: Any ideas? Aug 27 13:25:46 sudo chroot /mnt1 Aug 27 13:25:46 chroot: cannot run command `/bin/bash': No such file or directory Aug 27 13:25:52 ls -l /mnt1/bin/bash Aug 27 13:25:52 -rwxr-xr-x 1 root root 658216 2010-08-27 14:23 /mnt1/bin/bash Aug 27 13:26:07 hmm, no, check your mount options Aug 27 13:26:09 ogra: btw, http://pastebin.com/k39xjk2Y Aug 27 13:26:31 zumbi_, heh, sorry typo Aug 27 13:26:35 ogra: /dev/sdc2 on /mnt1 type ext3 (rw) Aug 27 13:26:43 --arch armel was indeed the right one Aug 27 13:26:56 i guess Aug 27 13:27:03 zumbi_, and all the other typical debootstrap options too Aug 27 13:27:21 the script is just a wrapper around debootstrap Aug 27 13:27:36 to copy the static interpreter into your chroot Aug 27 13:28:37 ogra: Aug 27 13:28:39 sudo chroot /mnt1 ls Aug 27 13:28:40 chroot: cannot run command `ls': No such file or directory Aug 27 13:28:54 lag, no idea, sorry Aug 27 13:28:59 :( Aug 27 13:29:07 must have something to do with mounting i guess Aug 27 13:29:14 since it works in your normal chroot Aug 27 13:31:15 It _did_ work on the card Aug 27 13:31:25 oh, really ? Aug 27 13:31:28 I've just tried the card it used to work on Aug 27 13:31:28 now thats weird Aug 27 13:31:36 Same thing Aug 27 13:31:38 Yeah Aug 27 13:31:52 /dev/sdc2 on /media/549d738f-1c48-4c0a-a8d2-e12286a9fab1 type ext3 (rw,nosuid,nodev,uhelper=udisks) Aug 27 13:32:04 Oh, this is the daily build Aug 27 13:32:13 The last one was my homebrew Aug 27 13:32:13 nosuid,nodev ? Aug 27 13:32:24 I didn't specify it Aug 27 13:32:25 thats automounted by nautilus i guess Aug 27 13:32:28 Yeah Aug 27 13:32:47 dont do that, the mount options in udisks prevent chrooting Aug 27 13:33:47 Okay, it still works with my homebrew Aug 27 13:33:58 /dev/sdc2 on /media/rootfs type ext3 (rw,nosuid,nodev,uhelper=udisks) Aug 27 13:34:00 That works Aug 27 13:34:14 Same mount options Aug 27 13:34:32 How does rootstock and the daily build differ? Aug 27 13:36:23 SD card too big? Aug 27 13:36:47 rootstock builds a tarball daily is a partitioned image Aug 27 13:36:48 Doesn't support HC devices? Aug 27 13:37:23 * rsalveti back Aug 27 13:38:12 rsalveti: It's bed time! Aug 27 13:47:05 rsalveti, so for the images, the jasper fix sits in the release queue, i'm waiting for someone in #ubuntu-release to process it and we are waiting for the u-boot-linaro package thats stuck in NEW (and needs some script changes i have to do on the build server) Aug 27 13:47:15 then we should have relatively usable images Aug 27 13:47:59 ogra: awesome Aug 27 13:48:12 ogra: and how about the oem, gdm and efl session? Aug 27 13:48:17 is it all working now? Aug 27 13:48:19 no Aug 27 13:48:23 * rsalveti still reading the backlog Aug 27 13:48:38 oem-config had a crash after first reboot but worked for me on second Aug 27 13:48:43 hm Aug 27 13:48:48 i havent researched that yet Aug 27 13:48:55 ok Aug 27 13:49:04 gdm is just fine now after the usb0 hack Aug 27 13:49:15 let me download the latest image Aug 27 13:49:17 nice Aug 27 13:49:28 it doesnt have the usb0 hack yet Aug 27 13:50:15 ogra: is the 20100827 the latest? Aug 27 13:50:27 had that issue while browsing the webserver yesterday Aug 27 13:50:33 ogra: np, I can change that by hand Aug 27 13:51:11 rsalveti, right 0827 Aug 27 13:53:07 Does anyone get the SYNC_LOST_DIGIT errors? Aug 27 13:53:18 nope Aug 27 13:53:53 lag: with current kernel, yes Aug 27 13:54:00 lag: with my LG monitor Aug 27 13:54:10 this can be fixed with latest hdmi patches Aug 27 13:54:26 that's why I'm maintaining my own kernel until we get rebased for 2.6.35 Aug 27 13:55:00 When we get rebased, we won't be able to use ES1.0 any longer Aug 27 13:57:27 lag: I know, but we didn't get the display patches merged because we thought we would have the new version one or two weeks ago Aug 27 13:57:28 :-) Aug 27 13:57:56 lag: anyway, if you want to check that out http://kernel.ubuntu.com/git?p=rsalveti/ubuntu-maverick.git;a=shortlog;h=refs/heads/rsalveti-ti-omap4 Aug 27 13:58:10 ASSumption makes ASSes of people ;) Aug 27 13:58:28 :-) Aug 27 14:04:24 lag: fwiw at least on TI kernel tree, it is possible to build for either ES1.0 or ES2.x.. although it still has to be a compile time decision.. Aug 27 14:12:21 robclark: does it work with usb at es1? Aug 27 14:12:46 robclark: can you say what config should I set? so I can test the ethernet issue Aug 27 14:13:12 rsalveti: on es1, you need to use musb instead of ehci.. Aug 27 14:13:22 so almost need two different defconfig's Aug 27 14:13:34 hm, ok Aug 27 14:13:41 makes sense Aug 27 14:13:49 anyways, see CONFIG_OMAP4_ES1 Aug 27 14:14:17 robclark: nice, will try, thanks Aug 27 14:14:23 np Aug 27 14:14:44 lag: any progress with the ethernet issue? Aug 27 14:15:15 On ES1.0? Aug 27 14:15:53 yep, just wanted to know if you actually spent some time on that Aug 27 14:16:06 I haven't managed to get a shell yet Aug 27 14:16:20 we have a workaround and will be switching to es2 (that works) soon, so not a high priority Aug 27 14:16:32 Yes, do you know why it works? Aug 27 14:17:08 it's expected to work, the question is why it's not working on es1 Aug 27 14:17:12 USB on the ES1.0 only works due to a hack Aug 27 14:17:16 but didn't dig further Aug 27 14:17:31 There is a hardware bug on ES1.0 Aug 27 14:17:34 yep Aug 27 14:17:40 Hence the stupid cable Aug 27 14:17:40 ndec, bug 623242 Aug 27 14:17:42 Launchpad bug 623242 in pulseaudio (Ubuntu) "speex-float-1 provides poor performance on armel (affects: 1) (heat: 8)" [Low,Triaged] https://launchpad.net/bugs/623242 Aug 27 14:17:44 lots related with usb Aug 27 14:18:11 Well ES2.0 doesn't need/have/contain that hack Aug 27 14:18:26 ES1.0 uses the OTG port Aug 27 14:18:39 ES2.0 uses true host Aug 27 14:19:26 yup, true Aug 27 14:20:57 rsalveti: I'm checking out your kernel now Aug 27 14:21:22 lag: want the deb file? Aug 27 14:21:52 http://people.canonical.com/~rsalveti/maverick/kernel/linux-image-2.6.34-903-omap4_2.6.34-903.7rsalveti1_armel.deb Aug 27 14:21:59 Ta Aug 27 14:22:24 with this kernel your lg monitor should work fine Aug 27 14:26:36 I have two monitors Aug 27 14:26:46 My Phillips one just worked Aug 27 14:26:55 Until the last couple of builds Aug 27 14:27:27 Now the SYNC_* happens every time on both monitors Aug 27 14:33:28 ho ho hum Aug 27 14:35:41 davidm: you on the conference call? Aug 27 14:35:50 prpplague, we all are Aug 27 14:35:56 wanna join ? :) Aug 27 14:36:02 ogra: i'm on Aug 27 14:36:05 oh Aug 27 14:36:14 yes I am prpplague Aug 27 14:36:16 * prpplague keeps quiet Aug 27 14:36:18 Party on PSTN! Aug 27 14:36:23 prpplague, dont be shy ! Aug 27 14:43:27 ogra: Snitch! Aug 27 14:43:36 ;) Aug 27 14:43:40 *g* Aug 27 14:43:45 hm :-) Aug 27 14:44:11 rsalveti: I get SYNC_ errors, even with your kernel Aug 27 14:44:35 lag: hm, this shouldn't happen Aug 27 14:44:38 I told you lot, it's screwed Aug 27 14:44:45 I know it _shouldn't_ happen Aug 27 14:44:58 USB is borked on one, HDMI on the other! Aug 27 14:45:33 haha Aug 27 14:48:05 did they tell you to only touch the boards with gloves ? Aug 27 14:49:00 lag: which boards? panda Aug 27 14:49:00 lol Aug 27 14:49:19 prpplague, es1 Aug 27 14:49:24 ahh Aug 27 14:50:08 Yeah Aug 27 14:50:22 We are caught in the middle of two boards at the moment Aug 27 14:51:16 rsalveti: Can you send me a paste of an "lsmod" on your Panda? Aug 27 14:51:38 lag: es1 or es2? Aug 27 14:51:45 1 Aug 27 14:52:22 lag: http://paste.ubuntu.com/484517/ Aug 27 14:53:11 ubuntu@panda:~$ ifconfig usb0 up Aug 27 14:53:12 usb0: ERROR while getting interface flags: No such device Aug 27 14:53:31 odd, neither of those should be loaded for the panda Aug 27 14:53:34 hm, do you have usb working? Aug 27 14:53:41 Nope Aug 27 14:53:57 lag: which kernel are you using? Aug 27 14:54:10 rsalveti's Aug 27 14:54:22 I have it working here Aug 27 14:54:29 *shrugs* Aug 27 14:54:43 lag: you got the little black dongle plugged in? Aug 27 14:56:12 davidm: can you give me the url for that wiki page? Aug 27 14:56:15 http://paste.ubuntu.com/484518/ Aug 27 14:56:23 prpplague: Yep Aug 27 14:58:01 hey guys Aug 27 14:58:20 anybody using netbook interface on a touchscreen only device ? I am wodnering about on screen keyboard Aug 27 14:58:36 lag, ! Aug 27 14:58:47 I used the onboard keyboard in karmic Aug 27 14:58:48 ogra: Yes? Aug 27 14:58:52 lag: http://paste.ubuntu.com/484521/ Aug 27 14:58:55 * ogra just had the idea whats wrong with your chrooting :) Aug 27 14:58:56 the whole boot log Aug 27 14:59:06 lag, you need the interpreter in the SD Aug 27 14:59:14 usb 1-1.1: adding 1-1.1:1.0 (config #1, interface 0) Aug 27 14:59:15 smsc95xx 1-1.1:1.0: usb_probe_interface Aug 27 14:59:32 when your usb is recognized you'll easily notice at the boot log Aug 27 14:59:58 lag, cp your /usr/bin/qemu-arm-static binary into the same place on the SD, then you can chroot ... silly i didnt think of that in the beginning Aug 27 15:00:09 usbcore: registered new interface driver smsc95xx Aug 27 15:00:39 Does that already exist in my home brew then? Aug 27 15:01:16 check for it :) Aug 27 15:01:19 very likely Aug 27 15:01:56 a keyboard like this would be nice http://www.youtube.com/watch?v=viSW_RGXzwA Aug 27 15:04:28 ogra: That worked Aug 27 15:04:33 :) Aug 27 15:04:39 ogra: Can we have it put into the daily build? Aug 27 15:04:43 sorry i should have thought of that earlier Aug 27 15:04:45 prpplague: you should put a redirect to the new page http://www.elinux.org/Panda_Bambo Aug 27 15:04:53 If not, I'll just add it to my scripts Aug 27 15:04:58 lag, no, that would require it to be in main Aug 27 15:05:05 right, thats the best Aug 27 15:05:27 prpplague: and add internal link for PandaBoard Aug 27 15:13:23 dcordes: mainly just there for early adopter feedback Aug 27 15:13:40 http://www.elinux.org/Panda_Bamboo Aug 27 15:13:45 rsalveti: Can you dd your entire image (with USB working) and make it available to me please? Aug 27 15:15:24 prpplague: just saying Aug 27 15:15:53 dcordes: yea Aug 27 15:16:06 dcordes: i'll add more as i am allowed, hehe Aug 27 15:16:58 forgot my elinux login Aug 27 15:17:13 lag: let me post my fat partition stuff and the rootfs tarball Aug 27 15:17:16 hold on Aug 27 15:17:27 Just the rootfs would be good Aug 27 15:17:42 In fact, screw it, I'll take both Aug 27 15:18:14 ok, will ping you when I'm done Aug 27 15:19:56 This is from my other board (the one USB is properly borked Aug 27 15:19:58 usb 1-1: device descriptor read/64, error -110 Aug 27 15:19:58 usb 1-1: device descriptor read/64, error -110 Aug 27 15:19:58 usb 1-1: device not accepting address 4, error -110 Aug 27 15:19:58 usb 1-1: device not accepting address 5, error -110 Aug 27 15:20:01 hub 1-0:1.0: unable to enumerate USB device on port 1 Aug 27 15:25:08 ogra: now that mainline u-boot is used, how is x-loader built? (still relying on old u-boot headers?) Aug 27 15:25:54 sebjan: same way as before Aug 27 15:26:07 yep, I think it's included at the deb package as a patch Aug 27 15:26:14 sebjan, its still the same binary, but we plan to upgrade to the 1GB version Aug 27 15:26:26 we'll have to see how that needs to be treated Aug 27 15:26:31 but even the latest one I'd say that needs the old headers Aug 27 15:26:43 * ogra would prefer to not have to carry a megabyte big patch for the headers Aug 27 15:27:08 rsalveti, ogra: ok, we still have a small dependency on the old u-boot sources then Aug 27 15:27:32 yup, at least it didn't compile with latest source from u-boot Aug 27 15:27:39 well, in ubuntu i made a patch, the package doesnt use and u-boot tree directly Aug 27 15:27:53 didn't waste too much time on that, but it seems the they changed a lot the headers Aug 27 15:28:18 ogra: yes, I remember looking at this package, with a big patch for u-boot headers :) Aug 27 15:30:52 sigh. Today's image hangs. Likely the network manager issue. Aug 27 15:30:53 right Aug 27 15:31:01 GrueMaster, next will work Aug 27 15:31:14 respinning or tomorrow? Aug 27 15:31:23 GrueMaster, you shoudl just add usb0 to /e/n/i in advance Aug 27 15:31:33 then you wont have the issue Aug 27 15:31:37 ok Aug 27 15:32:49 GrueMaster, http://bazaar.launchpad.net/~ogra/jasper-initramfs/trunk/revision/67 Aug 27 15:33:03 was just stuck in the release queue until 20min ago Aug 27 15:33:18 perfect. Aug 27 15:33:47 now i'm waiting for the linaro u-boot to get out of NEW and into main and i can re-roll images Aug 27 15:34:04 oh, and indeed i need to change the build scripts to make use of linaro u-boot :) Aug 27 15:35:08 :-) Aug 27 15:35:23 cool, we're getting better Aug 27 15:37:56 The jasper fix is just a bit of hackery to move the ball forward, I hope. Aug 27 15:39:07 GrueMaster: yup Aug 27 15:39:14 avoiding bring the usb0 down/up Aug 27 15:39:24 will be fixed once we move to es2 Aug 27 15:39:36 but, not for beta Aug 27 15:39:38 ah Aug 27 15:40:59 I assumed we missed the boat on beta. If we can get a prerelease kernel, xloader, and uboot, I can test them on the beta image once I have tested beta. Help pick up lost time. Aug 27 15:41:20 whee. it's alive! Aug 27 15:41:30 GrueMaster: ok, ping me when you're ready to test es2 Aug 27 15:42:02 Anytime. I'm running today's image with the nic fix now. Aug 27 15:42:51 All I need is the kernel package, uboot & xloader. I can manually munge them into the es1 image from there. Aug 27 15:43:37 GrueMaster: ok, will just check latest cooloney kernel and let you know about it Aug 27 15:43:46 lag: 5 minutes to go, tested here already Aug 27 15:44:03 Remind me what this problem is again: http://paste.ubuntu.com/484545/ Aug 27 15:44:07 rsalveti: Thanks Aug 27 15:45:15 lag: use an initrd that will run fsck on the rootfs on every boot Aug 27 15:45:35 I make my own initrd Aug 27 15:45:49 How do I tell it to do that? Aug 27 15:45:51 I bootl ike this Aug 27 15:45:53 http://htc-linux.org/wiki/index.php?title=Rootfs/Userfriendly Aug 27 15:45:55 I thought Jasper took care of that Aug 27 15:46:04 ogra: ^ Aug 27 15:46:46 lag, what image is that ? Aug 27 15:46:52 seems not the latest Aug 27 15:47:03 (sorry i'm in the release meeting) Aug 27 15:47:07 It's the daily build with my initrd Aug 27 15:47:09 lag: rootfs is in a file on vfat card and initrd will fsck on it on every boot. works bullet proof for me Aug 27 15:47:18 not todays Aug 27 15:47:26 * lag checks Aug 27 15:47:34 lag: and it allows windows users to switch rootfs. hence the Userfriendly page title Aug 27 15:47:50 Yes, todays Aug 27 15:47:52 -rw-r--r-- 1 root root 2175791104 2010-08-27 08:04 maverick-preinstalled-netbook-armel+omap4.img Aug 27 15:48:10 lag, its not todays jasper Aug 27 15:48:21 lag, in any case, file a bug and attach that jasper lof Aug 27 15:48:23 *log Aug 27 15:48:29 You mean I have to update Jasper every day Aug 27 15:48:32 sorry, but i need to follow the meeting now Aug 27 15:49:14 lag, see my conversation with GrueMaster above Aug 27 15:49:20 lag: feel free to reuse anything of it Aug 27 15:49:31 there were two jasper fixes uploaded the last 24h Aug 27 15:49:32 I need to ask the initial author of the script for license Aug 27 15:49:39 lag: http://people.canonical.com/~rsalveti/maverick/lag/ Aug 27 15:49:47 rootfs and first partition content Aug 27 15:51:11 dcordes: Sorry, that's not going to help Aug 27 15:52:45 lag: hehe yes it's very hacky and I'm sure you will not release images that way Aug 27 15:52:53 lag, i suspect there is something wrong at build time, i need to research that before beta but have different issues with higher prio first Aug 27 15:53:14 so a bug will help Aug 27 15:53:27 ogra: Don't worry about it - I'll file the bug and use rsalveti's image in the mean time Aug 27 15:53:34 k Aug 27 15:53:37 lag: personally I also used to put rootfilesystems on partitioned cards directly. but that method has many advantages Aug 27 15:54:47 dcordes: But we're don't going to use that method for our released images :) Aug 27 15:58:23 lag: yes as I anticipated I thought you wouldn't Aug 27 15:58:46 as it can be useful in certain cases it can't harm Aug 27 15:59:43 for me it is a tool to supply people who are new to Linux with ubuntu for their cell phones Aug 27 16:00:04 hrm. gdm is failing now. Aug 27 16:00:22 GrueMaster, after install ? Aug 27 16:00:27 worked here Aug 27 16:00:28 GrueMaster: in the latest maverick netbook build ? Aug 27 16:00:29 Yes Aug 27 16:00:49 GrueMaster: any error? Aug 27 16:00:52 Today's current build + ogra's network fix. Aug 27 16:01:04 weird Aug 27 16:01:12 GrueMaster: ok. I am preparing a rootfs with yesterday's .1 build Aug 27 16:01:13 id definitely works here Aug 27 16:01:17 None. Startx works fine. Will deep dive to see what's amiss. Aug 27 16:02:15 my usualy question, is the system dbus running ? Aug 27 16:02:22 GrueMaster: is that network fix a user space thing ? Aug 27 16:02:55 yes Aug 27 16:03:07 ogra: GrueMaster: weird, seems oem-config failed Aug 27 16:03:13 got the gdm screen directly Aug 27 16:03:18 rsalveti, reboot Aug 27 16:03:25 oh, ok Aug 27 16:03:25 GrueMaster: where can it be found ? Aug 27 16:03:27 i saw that too, we will need to research Aug 27 16:03:39 but only once out of three test installs Aug 27 16:05:16 ogra: is there a mailing list or website to keep track of such things regarding latest maverick arm ? Aug 27 16:05:21 dcordes: Need to fix network in the omap4 image before second stage (oem-config) will boot. http://paste.ubuntu.com/484552/ Aug 27 16:05:51 GrueMaster: ah ok. that's not relevant to me Aug 27 16:06:04 htc leo has usb net but I use it in host mode Aug 27 16:06:07 That's my "fix it" script. Run as root. Aug 27 16:06:14 ogra: nops, gdm still Aug 27 16:06:19 let me get a console Aug 27 16:06:38 look for a crash report in /var/crash Aug 27 16:06:55 rsalveti: Aug 27 16:06:56 ubuntu@panda-maverick:~$ dmesg | grep -i smsc Aug 27 16:06:56 usbcore: registered new interface driver smsc95xx Aug 27 16:06:56 ubuntu@panda-maverick:~$ Aug 27 16:07:04 Gah. 6 apport crash reports to wade through. Aug 27 16:07:19 None are gdm Aug 27 16:07:28 what are they ? Aug 27 16:07:38 GrueMaster, oh, and are you on panda ? Aug 27 16:07:45 lag: ok, but did you get the usb0 interface? Aug 27 16:07:54 ogra: something like launch Aug 27 16:07:59 rsalveti: Nope Aug 27 16:08:07 rsalveti: That's the same message I get with my own builds Aug 27 16:08:15 ogra: sorry. something like a launchpad page. or are you only using IRC to discuss such things ? Aug 27 16:08:20 Ubuntu one service, indicator-session, gnome-disk-utility, and policy kit. Aug 27 16:08:39 PK is a bit worrying Aug 27 16:08:39 lag: you're out of luck Aug 27 16:09:01 rsalveti: It can't 'just so happen' that USB is broken on two of my boards!! Aug 27 16:09:10 dcordes: We are having a lot of issues atm. Trying to file bugs and wade through them. Next week is beta release. It will have a list of current issues. Aug 27 16:10:29 ogra: What should I call this bug? In the title? Aug 27 16:10:43 lag: fyi: you aren't supposed to lick the boards before booting. Thought you should know. :P Aug 27 16:10:44 "Jasper is borked" Aug 27 16:10:52 GrueMaster: Doh! Aug 27 16:10:55 GrueMaster: As I am going to do some work with yesterday's image I would like to contribute in that process Aug 27 16:10:57 lag, has nothing to do with jasper Aug 27 16:11:02 GrueMaster: But they're to tasty! Aug 27 16:11:07 GrueMaster: In that case I will just let you know here if I find something Aug 27 16:11:09 ogra: What's the issue then? Aug 27 16:11:13 ogra: there's one crash: ubiquity Aug 27 16:11:17 filesystem corruption Aug 27 16:11:27 What do I file it against then? Aug 27 16:11:28 rsalveti, open it (less) Aug 27 16:11:36 lag: my current daily image went fine Aug 27 16:11:44 rsalveti: Good for you! Aug 27 16:11:46 ogra: is it expected to break? Aug 27 16:11:46 ;) Aug 27 16:11:56 lag: I mean, without any fs corruption Aug 27 16:12:14 dcordes: If you are going to be testing the images, get the latest (which I think ogra will respin soon). If you find any bugs (highly possible), please subscribe ubuntu-armel-porters. Thanks. Aug 27 16:12:29 GrueMaster: cool. Aug 27 16:12:40 ogra: weird: XStartupError: X server exited with return code 1 Aug 27 16:13:04 I'll leave it then Aug 27 16:13:15 It's probably my borked boards Aug 27 16:13:16 rsalveti, nothing more ? Aug 27 16:13:17 I've had enough Aug 27 16:13:21 See you on Monday! Aug 27 16:13:35 lag, against cdimage please Aug 27 16:13:41 lag: haha, have a nice weekend! :-) Aug 27 16:13:42 lag: Go to the pub and have a cold one. You've earned it. Aug 27 16:14:00 ogra: You still want me to report it? rsalveti Said he's not had any trouble? Aug 27 16:14:11 GrueMaster: I intend to Aug 27 16:14:24 hmm, k, i guess once he looks into jasper.log he will see some ;) Aug 27 16:14:26 I think I'm just going to have to work on ES2.0 Aug 27 16:14:36 rsalveti: Do it Aug 27 16:14:46 less /var/log/jasper.log Aug 27 16:15:39 lag: http://paste.ubuntu.com/484554/ Aug 27 16:15:54 I'll leave it then Aug 27 16:16:02 I'm off Aug 27 16:16:07 Have a good weekend Aug 27 16:17:16 wohoo, i wasnt grilled :) Aug 27 16:17:28 dmart, that didnt work, i saw you *all* the time ! Aug 27 16:17:56 rsalveti, oh, awesome !!! Aug 27 16:18:03 * ogra likes that log :D Aug 27 16:18:29 :-) Aug 27 16:18:38 heh Aug 27 16:18:50 rsalveti, but thats es2 with your own kernel, right ? Aug 27 16:19:45 ogra: es1, with my kernel (only hdmi fixes), latest image Aug 27 16:19:54 with ubs0 fix at jasper Aug 27 16:19:58 rsalveti, great Aug 27 16:20:03 thats calming Aug 27 16:20:34 weird, now I'm the one who is getting usb errors :-( Aug 27 16:21:41 what is the policy about joining a restricted team ? Aug 27 16:22:47 ask the owner Aug 27 16:23:54 davidm: ping Aug 27 16:24:21 dcordes, what team is that ? Aug 27 16:25:49 ogra: ubuntu-armel Aug 27 16:26:10 you need to be a core dev for that iirc Aug 27 16:26:53 ok I will try to find a bug to report first ;) Aug 27 16:26:58 dcordes, yes? Aug 27 16:27:28 Ah, ogra answered good enough Aug 27 16:27:36 davidm: ok Aug 27 16:28:56 I like the well organized hierarchical development infrastructure Aug 27 16:29:42 ogra: Seems like all 6 of the crash reports I have are Sig 5 crashes. Aug 27 16:29:42 ogra: ok, after 3 reboots I got oem-config working Aug 27 16:29:48 probably a racing condition Aug 27 16:29:56 x and oem-config Aug 27 16:30:04 rsalveti, yeah, pretty sure Aug 27 16:31:00 interesting, even with more ram ureadahead doesn't generate the pack file Aug 27 16:31:09 so, useless atm Aug 27 16:31:25 let me guess, it exists with status 5 Aug 27 16:31:57 don't have the boot log Aug 27 16:32:49 ogra: my host name is localhost but if I go the the logs, inside /var/log, I can still see the builder's name Aug 27 16:32:54 sycamore Aug 27 16:33:00 at daemon.log, for example Aug 27 16:33:13 or messages Aug 27 16:33:26 hmm Aug 27 16:33:46 * ogra goes to #ubuntu-installer i guess oem-config needs to restart rsyslog Aug 27 16:34:32 very nice. htc leo touchscreen works out of the box with yesetrday's image. I suppose it is using evdev Aug 27 16:35:15 updated the bug Aug 27 16:35:22 oh now, another irc channel! Aug 27 16:35:23 hahah Aug 27 16:35:30 heh Aug 27 16:35:35 what is the default login ? Aug 27 16:35:52 dcordes, the one you gave during oem-config Aug 27 16:36:18 ogra: it booted straight to the login screen Aug 27 16:36:38 then there si something wrong with jasper or the initrd Aug 27 16:36:42 *is Aug 27 16:37:05 well, installing :-) Aug 27 16:37:10 oem-config window is smaller Aug 27 16:37:16 can't read all the banner Aug 27 16:37:19 ogra: Ok. I am not using the initrd. I extracted the second partition from the raw image and use it as bare rootfs. Aug 27 16:37:22 smaller than the slideshow even, yeah Aug 27 16:37:30 anyway, /me heads to lunch now Aug 27 16:37:31 dcordes, that wont work Aug 27 16:38:15 * dcordes reads up on oem-config Aug 27 16:38:36 you *need* the initrd Aug 27 16:38:41 its an essential part Aug 27 16:38:55 ok I will extract it and see what it does Aug 27 16:40:07 dcordes: YOu should just dd the entire image to an SD and let it boot. Aug 27 16:40:19 After gunzip of course. Aug 27 16:41:03 GrueMaster: That seems like the option for testint purpose. In the long run I will need to find a way to include it with the 'Userfriendly' rootfs method Aug 27 16:41:25 ? Aug 27 16:41:37 This is about as user-friendly as it gets. Aug 27 16:42:31 GrueMaster: assuming user has Linux Aug 27 16:43:36 Ok, before release we will add a link to something like https://launchpad.net/win32-image-writer for the windows crowd. Aug 27 16:44:28 file uInitrd Aug 27 16:45:32 * ogra goes afk ... i'll come back later and chaneg the build scripts and trigger a build with the new u-boot Aug 27 16:46:09 See you later. Aug 27 16:46:45 GrueMaster: That looks interesting, thanks Aug 27 16:46:47 GrueMaster: bye Aug 27 16:49:37 I cannot find how to extract uImage Aug 27 16:51:15 dcordes: I'm not going anywhere. Aug 27 16:51:42 Why are you trying to extract uImage? Aug 27 16:52:40 GrueMaster: sorry.. of course your replied to ogra. Aug 27 16:53:14 GrueMaster: I want to find out what happens in oem-config . Can't see a wiki page on that Aug 27 16:53:50 s/uImage/uInitrd/ Aug 27 16:54:28 It only prompts for timezone, keyboard, user info, and system name for the most part. Beyond that it only removes packages needed for firstboot. Aug 27 16:54:35 And it isn't in uImage. Aug 27 16:55:25 Ok. Yeah I confused uInitd with uImage there Aug 27 16:55:37 uImage contains jasper on first boot. It is a script that resizes the root partition to fill the SD card and contains minor hacks to get around current bugs. Aug 27 16:55:51 uImage is the kernel of course. Aug 27 16:56:39 If you want to see what jasper does, it is here: https://launchpad.net/ubuntu/+source/jasper-initramfs Aug 27 16:58:02 Thanks. Reading the scripts Aug 27 17:01:47 mkdir -p /root/var/lib/oem-config Aug 27 17:01:49 touch /root/var/lib/oem-config/run Aug 27 17:02:26 Simple semaphore to signal oem-config to run. Aug 27 17:03:47 Can you also point me to the sources/scripts used in the initramfs (oem-configs and whatever else it does) Aug 27 17:04:21 yee Aug 27 17:04:42 cool, let's see how it goes on my es2 later on Aug 27 17:04:56 wrong bars still Aug 27 17:05:06 rsalveti: XM is running first-boot. Wheee. Aug 27 17:06:13 Errr. Fail. Doesn't appear to have run jasper. Aug 27 17:08:05 oem-config is coming up, though. Aug 27 17:10:33 GrueMaster: Can you think of a way to run oem-config without the initramfs ? Aug 27 17:11:39 yes, just do what jasper does. Aug 27 17:11:40 mkdir -p /var/lib/oem-config Aug 27 17:11:40 touch /var/lib/oem-config/run Aug 27 17:12:28 ok Aug 27 17:16:13 GrueMaster: I will have to manually add a user first in order to run the commands Aug 27 17:16:41 GrueMaster: It will be better to automate it Aug 27 17:21:20 GrueMaster: is it a problem to have X running (the gdm login screen) when signaling oem-config to run ? Aug 27 17:22:07 Why can't you just boot the entire image ant let it do it's thing? Aug 27 17:22:26 It is already automated there. Aug 27 17:23:31 Yes I see that. As I mentioned earlier I agree that is the sane thing to do. As I will be using the loopfile on vfat card method it is not suitable Aug 27 17:24:16 I could simply write the configuration in the shipped rootfs but that will cut the advantage of oem-config Aug 27 17:24:38 So it will be best to put a mechanism that will call oem-config once on first boot Aug 27 17:24:47 (from the bare rootfs w/o initrd) Aug 27 17:25:17 How are you getting the bare rootfs to the SD now? Aug 27 17:25:37 GrueMaster: like so http://htc-linux.org/wiki/index.php?title=Rootfs/Userfriendly Aug 27 17:26:58 The vfat formatted storage card contains rootfs.ext2 which is loop mounted and ran using an initrd. Aug 27 17:28:55 I still am not following. Our preinstalled images are pre-partitioned. All the user needs to do is write it to an SD and boot, or is there a bootloader issue involved? Aug 27 17:29:52 Yes, there is no u-boot Aug 27 17:30:21 Our image has that. Aug 27 17:30:34 And xloader. Aug 27 17:32:03 GrueMaster: can you outline your boot chain ? Aug 27 17:32:27 http://testcases.qa.ubuntu.com/Install/ARM/PreinstalledImage has instructions from Linux. Use the win32-imagewriter to write from Windows. Aug 27 17:33:40 As to boot chain, I think it is documented in the blueprint https://blueprints.launchpad.net/ubuntu/+spec/preinstalled-sd-card-images-for-omap Aug 27 17:33:54 Awesome Aug 27 17:35:28 What I am wondering is how exactly the boot process operates from kernel execution to target rootfs init execution Aug 27 17:35:41 So I can evaluate if I can implement it on my device Aug 27 17:38:16 Essentially, on first boot, jasper copies the data from the vfat partition and reformats it to conform to CHS standards (needed for xloader), then rewrites the data back. It then resizes root partition to fill the SD card based on the size of the card used (4G or greater required). Aug 27 17:40:29 After resizing, it triggers oem-config to run and also does a little house cleaning to work around some other bugs. Then it reboots and initrd mounts the root partition after a chkdisk scan. Oem-config is launched by init and if the semephore exists, will prompt for timezone, keyboard, and user info. Aug 27 17:41:32 Oem-config then configures those areas and removes first-boot only apps (jasper, oem-config, etc). After it finishes, it restarts GDM and you are done. Aug 27 17:41:47 Ok thank you very much Aug 27 17:42:19 Are you making use of kernel modules in the entire preparation process ? Aug 27 17:42:58 I don't think so. Most are built in (audio, network, etc). Aug 27 17:43:31 I can't think of any that would need to be loaded by uInitrd. Aug 27 17:43:46 Ok that's what I was wondering Aug 27 17:43:51 So basically it seems like I can do that Aug 27 17:43:54 Some may get loaded after root is mounted./ Aug 27 17:43:54 ..on my device Aug 27 17:44:29 But I will have to modify the initramfs Aug 27 17:44:51 My bootloader can only load normal .cpio or .cpio.gz initrd Aug 27 17:47:21 what bootloader are you using? Aug 27 17:49:07 HaRET Aug 27 17:49:54 http://htc-linux.org/wiki/index.php?title=HaRET Aug 27 17:52:31 GrueMaster: where can I find the initramfs ingredients ? Aug 27 17:53:18 Are you running a linux desktop atm? You can extract the entire thing with some manual trickery. Aug 27 17:55:39 GrueMaster: yes I am running Lucid on my x86 laptop Aug 27 17:55:53 GrueMaster: I guess it has some uboot header I need to chop off ? Aug 27 17:56:04 web searches wouldn't help me find how to Aug 27 17:56:19 Yes. dd bs=1 skp=64 if=uInitrd of=initrd.img Aug 27 17:56:30 s/skp/skip Aug 27 17:57:27 Then zcat initrd | cpio -ivd Aug 27 17:58:52 http://htc-linux.org/wiki/index.php?title=Rootfs/Userfriendly&diff=prev&oldid=2213 Aug 27 17:58:59 Ok thanks Aug 27 18:04:24 rsalveti: It looks like today's image is hanging on oem-config on my XM. It has been sitting at getting the time from time server for a while now. Aug 27 18:06:11 GrueMaster: gzip claims the resulting initrd.img is not in gzip format Aug 27 18:06:31 right. Use zcat. Aug 27 18:07:52 The above is exactly what I used and it worked. Aug 27 18:08:25 (although it should be zcat initrd.img |cpio -ivd ). forgot the .img Aug 27 18:09:57 gzip/gunzip fails for some reason, but zcat works. Aug 27 18:13:13 GrueMaster: that's not because gzip without further option doesn't write to stdout? Aug 27 18:13:45 GrueMaster: Then something might be wrong on my end Aug 27 18:14:59 GrueMaster: http://pastebin.ca/1927032 Aug 27 18:18:58 What image are you pulling uInitrd from? Aug 27 18:19:30 hrm. Seeing an issue with today's image now. Aug 27 18:20:49 GrueMaster: http://cdimage.ubuntu.com/ubuntu-netbook/ports/daily-preinstalled/20100826.1/maverick-preinstalled-netbook-armel+omap4.img.gz Aug 27 18:20:55 I have very slow internet Aug 27 18:24:14 You should be using the omap image, not omap4 (unless your system is omap4). Aug 27 18:27:08 GrueMaster: Why ? Aug 27 18:27:30 Different systems. Different kernels. Aug 27 18:27:38 Rest of the image is the same. Aug 27 18:27:47 ok then it does not matter as I use my own kernel Aug 27 18:28:12 GrueMaster: So what's foul with the uInitrd ? Aug 27 18:28:41 If you are using your own kernel, and building your own image, then you should just use rootstock to build the image and not try to mess with the preinst image stuff. Aug 27 18:29:26 I'm not sure what is up with the uInitrd. Aug 27 18:32:12 GrueMaster: I made the decision to use the preinstalled image as a base for two reasons: rootstock is a time consuimg process which can come with several hurdles. with the preinst I hope to get your guys latest and greatest work with sane configuration Aug 27 18:38:28 GrueMaster: Which build has a uInitrd that you are able to convert ? Aug 27 18:38:43 GrueMaster: Is there no uInitrd 'source package' ? Aug 27 18:39:08 I don't know. One of the older images. I'm doing testing on multiple platforms. Aug 27 18:41:11 GrueMaster: I would like to look at the script that modifies the rootfs to perform the first boot oem-config Aug 27 18:41:30 That would be jasper. Aug 27 18:43:06 mkdir -p /root/var/lib/oem-config Aug 27 18:43:07 touch /root/var/lib/oem-config/run Aug 27 18:43:09 all it has is that Aug 27 18:44:02 I perform that in my rootfs before boot and it will normally boot up to gdm login Aug 27 18:44:46 [...] "Oem-config is launched by init and if the semephore exists, will prompt for timezone, keyboard, and user info." Aug 27 18:44:51 that doesn't seem to happen for me Aug 27 18:45:54 I greped jasper for oem-config and all it shows are those two lines plus the package dependency Aug 27 18:46:13 So if I am missing something it is not in jasper Aug 27 18:46:24 ogra: any hint ? Aug 27 18:53:21 rootfs# ls root/var/lib/oem-config Aug 27 18:53:21 run Aug 27 18:53:35 It is present but does not show the desired effect Aug 27 19:04:53 * dcordes drops a few pins Aug 27 19:05:05 office time over ? Aug 27 19:06:15 No, just caught up in multiple tasks. Aug 27 19:06:43 :> Aug 27 19:07:24 GrueMaster: can you give me some extracted initramfs so I can go find the answer on my own ? Aug 27 19:07:48 I'll see what I can do. Aug 27 19:07:58 Thanks Aug 27 19:21:31 My /etc/init.d/oem-config does not seem to check for semephore Aug 27 19:58:18 I don't understand how this initramfs is such a mystery Aug 27 19:58:31 how is it generated ? where are teh sources ? Aug 27 20:02:10 I really am busy atm. But I can tell you that we use livecd-rootfs to create the images. Beyond that I only really test them and don't know all the sorcery required. Aug 27 20:24:29 rsalveti, GrueMaster, http://cdimage.ubuntu.com/ubuntu-netbook/ports/daily-preinstalled/20100827.1/ there is an omap4 image with linaro u-boot Aug 27 20:26:15 ogra_cmpc: great! was looking for it right now Aug 27 20:26:19 even better Aug 27 20:26:37 want to look at the possible oem-config racing condition Aug 27 20:30:04 rsalveti, ogra_cmpc: I would like to have the bare rootfs start oem-config on first time boot Aug 27 20:30:29 dcordes: rootstock does that for you Aug 27 20:30:36 right Aug 27 20:30:45 you can check the code Aug 27 20:30:51 where is it ? Aug 27 20:31:19 in ubuntu, apt-get install rootstock Aug 27 20:31:21 'touch /root/var/lib/oem-config/run' alone does not do the trick. it will still boot to gdm login Aug 27 20:31:52 did you read the code of jasper carefully ? Aug 27 20:31:53 I am not bootstrapping but still using the autobuild Aug 27 20:31:54 dcordes: http://bazaar.launchpad.net/~project-rootstock-developers/project-rootstock/trunk/annotate/head:/rootstock#L1136 Aug 27 20:32:18 ogra: grep -ri oem-config Aug 27 20:32:28 thats not reading Aug 27 20:32:36 read what the code does Aug 27 20:32:41 or use rootstock Aug 27 20:33:39 * ogra_cmpc now really ends thye day Aug 27 20:34:33 ogra_cmpc: Have a good weekend (and a beer if you can).\ Aug 27 20:34:44 rsalveti: it seems to me that is the part that will install oem-config . the preinstalled build I have here has that included already Aug 27 20:34:55 rsalveti: I am just about the init Aug 27 20:37:47 dcordes: sorry, what are you trying to do? Aug 27 20:39:00 rsalveti: apply the 'first time boot oem-config magic' to rootfs extract from preinstall image Aug 27 20:39:12 rsalveti: (without initramfs) Aug 27 20:40:43 dcordes: but I don't think you need initramfs to run oem-config Aug 27 20:40:53 doing what rootstock does is enough Aug 27 20:41:00 it'll be an upstart init file Aug 27 20:42:40 dcordes: Bear in mind that you need to start with either Alpha 3 image or 20100827 as anything in between had a broken oem-config. Aug 27 20:47:14 yup Aug 27 20:47:25 ok thanks Aug 27 20:48:25 rsalveti: the interesting lines are Aug 27 20:48:39 apt-get install -y --no-install-recommends \$PACKAGE Aug 27 20:48:48 touch /var/lib/oem-config/run Aug 27 20:48:59 rm /usr/lib/ubiquity/plugins/ubi-tasks.py* Aug 27 20:48:59 right ? Aug 27 20:49:55 I basically did that before Aug 27 20:50:25 so it must be broken oem-config problem Aug 27 20:53:35 dcordes: probably Aug 27 20:55:09 fsck: Error 2 while executing fsck.btrfs for /dev/sde1 Aug 27 20:55:12 Can't use btrfs root. Aug 27 20:55:25 hmmm Aug 27 21:03:48 DanaG:I see in a pastebin that you posted a week ago the same problem I am seening. Aug 20 00:50:08 hmm, ubuntu kernel fails on beagleboard: http://pastebin.com/WTjJgxgm Aug 27 21:04:22 # Aug 27 21:04:22 [ 1.966705] WARNING: at /build/buildd/linux-linaro-2.6.35/arch/arm/mm/ioremap.c:207 __arm_ioremap_pfn_caller+0x20c/0x214() Aug 27 21:04:55 jcrigby: are you using the latest build ? It seems like development is moving fast here Aug 27 21:05:10 actually latest build -1 Aug 27 21:05:27 I maintain the linaro kernel that does not have the latest Ubuntu diffs Aug 27 21:05:35 the rcn patches from yesterday Aug 27 21:05:56 do those fix this problem? Aug 27 21:08:29 jcrigby: what's rcn patches ? Aug 27 21:08:54 three omap3 patches that went into ubuntu kernel yesterday Aug 27 21:14:46 jcrigby: can't comment there sorry. I only work with qualcomm devices now Aug 27 21:15:00 dcordes, no problem Aug 27 21:15:21 jcrigby: why don't you use vanilla ? Aug 27 21:16:02 dcordes, the linaro kernel is an upstream linaro-next kernel merged with ubuntu Aug 27 21:16:56 we have had display problems since the last merge and I'm trying to find out which upstream is the source of the problem Aug 27 22:32:19 aesome guys it works ! Aug 27 22:38:02 dcordes: cool Aug 27 22:39:29 rsalveti: thanks a lot for the help Aug 27 22:40:19 np Aug 27 22:45:14 rsalveti: first hurdle in removing hackiness taken Aug 27 22:45:29 rsalveti: now I need to sort out networking Aug 27 22:45:47 but nice anyway Aug 27 22:48:09 rsalveti: does the netbook interface have restrictions regarding resolution ? Aug 27 22:48:32 rsalveti: by default Xorg will give me portrait display i.e. 480x800 Aug 27 22:48:38 hm Aug 27 22:48:40 never tried Aug 27 22:48:54 oem-config finished, restart gdm and I only see the wallpaper Aug 27 23:02:12 sigh. Oem-config no longer prompts for system name. Everything defaults to ubuntu-laptop. Aug 27 23:02:52 GrueMaster: -laptop Aug 27 23:03:06 GrueMaster: fill a bug for that, we should fix it Aug 27 23:03:22 Still. I now have four systems that think they are ubuntu-laptop. Aug 27 23:03:26 hahah Aug 27 23:04:08 Thank the gods for dhcpd config on mac address. Aug 27 23:04:33 :-) Aug 27 23:07:54 rsalveti: Aug 27 23:08:03 I can't start anything on the display Aug 27 23:08:18 I am on http://cdimage.ubuntu.com/ubuntu-netbook/ports/daily-preinstalled/20100827.1/maverick-preinstalled-netbook-armel+omap4.img.gz Aug 27 23:08:21 do you get at least a mouse pointer? Aug 27 23:08:40 I don't think so. although oem-config worked fine Aug 27 23:08:48 I see no errors in Xorg log about input Aug 27 23:08:53 hm Aug 27 23:09:02 try loading X and then some application by hand Aug 27 23:09:03 just X Aug 27 23:09:06 ok Aug 27 23:09:11 brb (I only have one keyboard) Aug 27 23:09:16 should setup usb net kernel.. Aug 27 23:11:33 rsalveti: that worked. I started X and from another terminal ran DISPLAY=:0 netbook-launcher-efl Aug 27 23:11:51 hm, so at least not a display problem Aug 27 23:12:01 and wow guys this interface is awesome Aug 27 23:12:10 something is not calling nb-launcher-efl Aug 27 23:12:19 can't wait to shoot a video to show how good it looks on the HD2 ! Aug 27 23:12:30 are there gdm logs ? Aug 27 23:16:46 I'm seeing the same thing on beagleboard now. Aug 27 23:17:22 GrueMaster: should we open a bug Aug 27 23:17:40 grep -ri launcher-efl /etc/X11/ Aug 27 23:17:50 yea, if we can figure out the cause. Looking at .xsession-errors. Aug 27 23:17:51 somebody ate the corret session script ? :) Aug 27 23:19:48 Seems clutter is trying to run. Aug 27 23:23:26 * GrueMaster would rather be golfing. Aug 27 23:23:29 This is with a jasper-initialised system? The session correction was in jasper last I checked. Aug 27 23:23:48 still is. Not sure what got foobarred. Aug 27 23:24:37 I ran the fix manually. Will see what happens after reboot. Aug 27 23:27:58 wonderful. reboot and it now can't find the root partition. Aug 27 23:29:36 Window manager error: Unable to initialize Clutter. Aug 27 23:29:50 Yea, that's what I said. Aug 27 23:30:15 Try running "sudo /usr/lib/gdm/gdm-set-default-session une-efl" Aug 27 23:30:16 GrueMaster: Just confirming ;) Aug 27 23:30:29 lots of updates on clutter side Aug 27 23:30:34 probably the cause Aug 27 23:31:14 On the image after pre-inst? Jasper should be overriding that. Aug 27 23:33:13 weird. somehow the uuid for root changed. That or jasper screwed up. Aug 27 23:33:35 GrueMaster: hm, it shoudn't Aug 27 23:33:56 otherwise you'll not be able to mount rootfs Aug 27 23:34:06 !625591 Aug 27 23:34:06 Factoid '625591' not found Aug 27 23:34:13 Yea, I know. But I am staring at a system that has a different uuid for rootfs as what is in boot.scr Aug 27 23:34:16 https://bugs.launchpad.net/ubuntu/+bug/625591 Aug 27 23:34:17 Launchpad bug 625591 in ubuntu "[ARM] ubuntu-netbook xsession broken (affects: 1) (heat: 6)" [Undecided,New] Aug 27 23:35:03 dcordes: cool, thanks for reporting it Aug 27 23:35:12 * GrueMaster manually fixes uuid to proper goodness. Aug 27 23:36:05 I'm out now but will also debug the image later on Aug 27 23:36:17 rsalveti: heh it's time to repair my horrible karma on this channel Aug 27 23:36:24 I will try to help out as good as I can Aug 27 23:36:35 that's always nice :-) Aug 27 23:36:49 dcordes, Future note: syntax is like bug #3 Aug 27 23:36:50 Launchpad bug 3 in mono (Ubuntu) (and 2 other projects) "Custom information for each translation team (affects: 1) (heat: 2)" [Undecided,Invalid] https://launchpad.net/bugs/3 Aug 27 23:37:19 dcordes: please subscribe "armel" group at arm related issues :-) Aug 27 23:37:28 then we can quickly check it Aug 27 23:38:14 Actually, add armel to the tags and subscribe ubuntu-armel-porters. Aug 27 23:38:32 sure, forgot about htat Aug 27 23:38:43 sorry, I have seen the tags but how to 'subscribe' ? Aug 27 23:38:56 On the right "subscribe someone else" Aug 27 23:39:06 The tag is more important, usually. Aug 27 23:39:59 (and would be auto-generated if you ran `ubuntu-bug ubuntu-netbook` to file the bug (replace "ubuntu-netbook" with another package if you know better)) Aug 27 23:40:05 Ok thanks a lot. Aug 27 23:40:36 persia: Ok next time I will use the ubuntu-bug program Aug 27 23:41:21 * persia finds it easier than remembering all the details about doing it manually in LP Aug 27 23:43:01 GrueMaster: So you think it is related to uuid or clutter problem ? Aug 27 23:44:29 Not sure what the uuid problem is. Could be just a plbkac issue (I'm juggling 3 images on 4 systems atm). Aug 27 23:44:56 Something that would help for testing & reporting issues. https://wiki.ubuntu.com/MobileTeam/BugWorkflow Aug 27 23:45:35 Thanks that's a useful wiki page Aug 27 23:45:48 It's a little dated, but most of it is accurate. Aug 27 23:47:12 How can I make the bug affect a package after reporting ? Aug 27 23:47:15 sudo /usr/lib/gdm/gdm-set-default-session une-efl seems to have fixed my gdm default session. Aug 27 23:47:54 The easiest way is to use ubuntu-bug . After, it is up to members of bug control to triage. Aug 27 23:47:55 Also I can't subscribe to someone else 'ubuntu-armel-porters' LP says it expects a LP id or email address. Aug 27 23:48:39 Yeah I will use that in future. But now that I created this bug manually already it would be nice to fix it. Aug 27 23:49:05 Well, since I'm now on bug control, I can do that. :P Aug 27 23:49:42 :> Aug 27 23:51:42 i can remember running linuxes on my long time dead hp4700 Aug 27 23:52:24 i wonder if DanaG1 uses ubuntu or android Aug 27 23:52:55 'llo .. Aug 27 23:53:07 dcordes: Fixed data & confirmed bug 625591 Aug 27 23:53:07 Launchpad bug 625591 in jasper-initramfs (Ubuntu) "[ARM] ubuntu-netbook xsession broken (affects: 1) (heat: 10)" [Medium,Confirmed] https://launchpad.net/bugs/625591 Aug 27 23:53:16 Baybal: I bet the 1 is only an extension to the nickname in case the original nickname is in use and does not represent t-mobile g1 Aug 27 23:53:30 oh Aug 27 23:53:51 by the way, g1 seem to be a great place to deploy desktop distro on... Aug 27 23:54:33 Baybal: I am working on a phone distro for the G1 :) Aug 27 23:54:34 Updated title to be a little more detailed. bug 625591 Aug 27 23:54:35 Launchpad bug 625591 in jasper-initramfs (Ubuntu) "[ARM] ubuntu-netbook defaults to 3D session even after "fix" by jasper-initramfs (affects: 1) (heat: 10)" [Medium,Confirmed] https://launchpad.net/bugs/625591 Aug 27 23:54:59 Baybal: the htcdream (g1) display resolution is not large enough for a full desktop like gnome or so Aug 27 23:54:59 Ubuntu isn't a "desktop distro", it's just a distro, with lots of flavours. I wouldn't put any of the -desktop packages on a phone, but there are slighter-weight solutions around. Aug 27 23:55:28 fbpanel + matchbox although worked quite well Aug 27 23:55:29 GrueMaster: thanks a lot ! Aug 27 23:55:51 hp4700 had vga screen Aug 27 23:56:17 Heh, no problem. We all have to start somewhere. And the more eyes we have on the arm stuff, the better it will be in the end. Aug 27 23:57:47 Baybal: many recent smart phones have wvga Aug 27 23:58:17 yea Aug 27 23:58:32 one toshiba pda had it back in 2004 though Aug 27 23:59:36 Baybal: Yeah, the mobile makret has been there. Also see Sharp Zaurus family (VGA touchscreens) Aug 28 00:00:13 * GrueMaster drools over the Droid X. HDMI out. Aug 28 00:02:27 Well, my eyes are starting to bug out, and it is a nice afternoon/evening. Cutting out and heading to the links. Aug 28 00:02:54 GrueMaster: Enjoy ! And thanks for the help Aug 28 00:02:57 they have 5" xga in their recent model Aug 28 00:20:55 Baybal: I don't have a smartphone right now. Aug 28 00:22:45 Oh, and that Toshiba AC100 seems interesting... a bummer they phail by using a smartphone OS, without the smartphone apps store, on it. **** ENDING LOGGING AT Sat Aug 28 02:59:57 2010