**** BEGIN LOGGING AT Wed Jul 21 02:59:58 2010 Jul 21 08:05:04 cooloney: I updated the bug with another defconfig Jul 21 08:05:37 cooloney: with this defconfig I got the musb working with maverick kernel, now just need to identify what needs to be changed to make it work by default Jul 21 08:06:15 rsalveti: awesome Jul 21 08:06:22 rsalveti: let me check Jul 21 08:08:13 cooloney: but is a little painful to recompile it, install and test :-) Jul 21 08:08:14 rsalveti: is that defconfig the omap3_beagle_defconfig? Jul 21 08:08:28 rsalveti: yeah, i need to compile it in our server Jul 21 08:08:43 cooloney: http://bazaar.launchpad.net/~beagleboard-kernel/+junk/2.6.35-devel/annotate/head:/patches/defconfig Jul 21 08:09:01 cooloney: I tried one time merging the usb and musb stuff, but didn't get it to work Jul 21 08:09:05 so it must be something else Jul 21 08:10:22 rsalveti: yeah, i also tried that, set the usb and musb config as the same as those in beagle_defconfig Jul 21 08:10:29 but doesnot help Jul 21 08:12:27 cooloney: you can try to trace the code, with debug activated, from the version that works Jul 21 08:12:34 and then compare with the version that doesn't work Jul 21 08:12:44 the state tracing is easy to see inside the code Jul 21 08:26:42 cooloney: yep, for some reason the otg state changes from one config file to the other at the point you put the cable in Jul 21 08:27:12 the path to set it to a_idle is simple, the question is why the checking failed and it got into that path Jul 21 08:32:32 rsalveti: exactly, looks like there is no power on the OTG port Jul 21 08:32:54 rsalveti: so it never change to the right a_host mode Jul 21 08:33:14 and failed to enable roothub to enumerate USB device Jul 21 08:33:30 yep Jul 21 08:33:47 rsalveti: i am also comparing the defconfig from you with our Maverick config Jul 21 08:38:40 cooloney: ok, I'm now looking again what I need to have for the zippy 2 support Jul 21 08:38:58 our kernel is missing lots of patches, it seems Jul 21 08:50:42 NCommander: http://paste.ubuntu.com/466880 Jul 21 08:51:50 rsalveti: could you please help me to post the dmesg which is from the OTG working Maverick kernel? Jul 21 08:52:07 rsalveti: i think you cross build it with the working defconfig Jul 21 08:54:04 cooloney: just the dmesg? Jul 21 08:54:15 cooloney: just a sec, need to change the uImage Jul 21 08:54:20 rsalveti: oh, the uImage is the better. hehe Jul 21 08:54:32 rsalveti: np, man Jul 21 09:15:39 cooloney: http://rsalveti.net/tmp/test-kernel.tar.bz2 Jul 21 09:15:49 cooloney: you can find the uImage, uInitrd, modules and dmesg.txt Jul 21 09:15:53 from the working maverick kernel Jul 21 09:16:23 cooloney: if you still didn't compile it Jul 21 09:17:42 rsalveti: thanks a lot, man Jul 21 09:20:57 rsalveti: i saw this in the dmesg Jul 21 09:20:58 musb_hdrc musb_hdrc: MUSB HDRC host driver Jul 21 09:20:58 [ 0.933654] musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2 Jul 21 09:21:01 [ 0.934417] hub 2-0:1.0: USB hub found Jul 21 09:21:04 [ 0.934448] hub 2-0:1.0: 1 port detected Jul 21 09:21:29 cooloney: yep, the otg recognized that it should act as host, and activated the host modue Jul 21 09:21:35 that's we want Jul 21 09:24:12 cooloney: yep Jul 21 09:26:05 cooloney: and with this kernel I'm unable to reproduce the stack we have with lucid Jul 21 09:26:09 so it seems to be working better Jul 21 09:36:27 hi rsalveti... I tryied your new release of rootstock from bzr ( rev 104) but I have the segmentation fault with qemu again :-( Jul 21 09:36:47 furibondox: more than one time? Jul 21 09:36:51 yes Jul 21 09:36:57 argh Jul 21 09:37:07 every time I run rootstock I have the segmentation fault Jul 21 09:37:11 furibondox: what packages are you giving by default? Jul 21 09:37:21 ubuntu-minimal,openssh-server Jul 21 09:37:40 furibondox: did you run as root or as user? Jul 21 09:37:44 as root Jul 21 09:37:56 rsalveti: yeah, for the otg oops, i am pretty sure we need to build int twl4030_usb Jul 21 09:38:00 from ubuntu lucid server Jul 21 09:38:01 furibondox: what ubuntu version are you running? Jul 21 09:38:12 10.04 Jul 21 09:38:28 rsalveti: and the OTG host failure is another problem. Jul 21 09:38:40 cooloney: yep, sure Jul 21 09:39:39 furibondox: that's really weird, as I saw it break just a few times when running as root and installing a small package set Jul 21 09:39:55 furibondox: does it also break when you just request ubuntu-minimal? Jul 21 09:40:00 that will avoid the apt-get install phase Jul 21 09:40:14 it breaks in the second stage Jul 21 09:40:33 furibondox: yeah, I know, and probably when trying to give apt-get install on the openssh-server Jul 21 09:40:41 furibondox: do you have the log? Jul 21 09:40:49 just after python-support Jul 21 09:40:56 furibondox: you can paste it at paste.ubuntu.com and set me the link Jul 21 09:41:21 ok Jul 21 09:42:03 * rsalveti needs to update rootstock to run only as user mode emulation when running as root Jul 21 09:42:35 that would avoid this kind of weird full emulation stuff, until we get qemu fixed upstream Jul 21 09:42:57 http://paste.ubuntu.com/466907/ Jul 21 09:43:08 that is the log generated Jul 21 09:45:45 this is the output of the error in the console: http://paste.ubuntu.com/466909/ Jul 21 09:48:11 furibondox: what's the whole command line you passed to rootstock? going to check here Jul 21 09:49:49 ./rootstock --fqdn NGP --imagesize 2G --seed openssh-server --copy-package-cache --restore-package-cache Jul 21 09:55:17 furibondox: why do you want to copy and restore at the same time? Jul 21 09:55:32 furibondox: you can just copy one time and later you can use restore if you need it Jul 21 09:55:50 going to test here, but it should work fine Jul 21 09:57:09 just to be sure that if some packages are not already present they will be cached Jul 21 10:03:15 furibondox: yeah, but it shouldn't make much difference for a basic image, but ok :-) Jul 21 10:03:58 yes I know... but it was just to be sure ;-) Jul 21 10:07:06 furibondox: please, try giving a user and a password argument Jul 21 10:07:14 than the oem stuff is not going to be installed by default Jul 21 10:07:26 and you'll probably be able to get your image without seg faults Jul 21 10:08:07 --login ubuntu --password ubuntu Jul 21 10:08:10 something like that Jul 21 10:08:29 ok i try Jul 21 10:18:03 rsalveti: now it seems to stop earlier... Jul 21 10:18:06 start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused Jul 21 10:18:20 just a moment that I paste the log... Jul 21 10:21:26 http://paste.ubuntu.com/466920/ Jul 21 10:22:27 and this is the output of the console: http://paste.ubuntu.com/466921/ Jul 21 10:28:22 furibondox: yep, but it did finish correctly Jul 21 10:30:02 mmm I thought that error compromised the generated image Jul 21 10:47:45 rsalveti: do you know where can i find the initrd.gz after i build a kernel package which contains zImage Jul 21 10:52:46 rsalveti: the error appear again using username/password http://paste.ubuntu.com/466941/ Jul 21 10:54:28 furibondox: this log is telling that rootstock is installing the oem stuff, and that only gets installed when you don't put the user/passwd Jul 21 10:54:30 I: Enabling firstboot configuration Jul 21 10:54:33 ^ Jul 21 10:54:46 this is the full log generated http://paste.ubuntu.com/466943/ Jul 21 10:55:21 I'm going to lunch Jul 21 10:55:23 see you later... bye Jul 21 10:56:23 furibondox: still, it seems that didn't got the user/passwd Jul 21 10:56:31 if [ ! "${NEWUSER}" ] || [ ! "${PASSWD}" ];then install oem stuff Jul 21 10:56:37 furibondox: see ya Jul 21 10:57:25 cooloney: you mean, inside the package? Jul 21 10:58:24 rsalveti: i don't think i can find it in the package Jul 21 11:30:44 re Jul 21 11:30:53 rsalveti: now I try with this command line: Jul 21 11:30:54 ./rootstock -f NGP --username spot --password gilbarco --seed openssh-server,ubuntu-minimal -i 2G --serial ttyS2 --doswap --swapsize 256 --script /root/setup.sh --restore-package-cache Jul 21 11:48:32 same error: ./rootstock: line 360: 967 Segmentation fault qemu-system-arm $QEMUOPTS -append "${APPEND}" > $QEMUFIFO 2>&1 Jul 21 12:15:48 furibondox: --login not --username Jul 21 12:15:58 * rsalveti still needs to change how rootstock parse it's arguments Jul 21 12:19:55 ogra_cmpc: can you tell me what offset I need to loop mount the correct partition in the 20100719 daily image? Jul 21 12:20:26 my naive calculation based on fdisk -l output seems to have been incorrect Jul 21 12:25:30 ogra_cmpc: n/m, sorted it; works better when I use sectors as units Jul 21 12:30:57 slangasek: Perhaps you can kpartx it? Jul 21 12:31:23 lool: nah, sorted Jul 21 12:31:47 yeah, sectors helps Jul 21 12:32:32 * ogra has some livecd-rootfs code ready to shove off 2h buildtime just waiting for a lamont signoff Jul 21 12:32:47 that might help a bit with building test images Jul 21 12:33:38 slangasek, btw, i wouldnt mind if we started building base images, would that help you ? Jul 21 12:34:21 (in parallel to the netbook ones) Jul 21 12:34:24 don't see that it would help Jul 21 12:34:51 k Jul 21 12:35:16 hrw: hi! I tried to apt-get upgrade the gcc-4.4-arm-linux-gnueabi package, and get an error because the libmpfr4 'is not installable' (I have a i386 workstation). Any idea what is going on? Jul 21 12:35:23 rsalveti: argh! sorry... now I try with --login Jul 21 12:35:53 furibondox: yep, np, there's a bug on the way it's parsing the arguments Jul 21 12:36:15 normally it should display you an error when you give a wrong arguments Jul 21 12:36:38 i hope that now it will work... Jul 21 12:50:25 rsalveti: great! it generates the image!! Jul 21 12:50:39 furibondox: cool Jul 21 12:50:58 I've another question for you, is possibile to ADD another repository to the default? Jul 21 12:51:13 -m option only replace the mirror or add a new mirror? Jul 21 13:05:06 furibondox: yep, --extra-mirror Jul 21 13:06:56 great! Jul 21 13:07:04 I'll try Jul 21 13:30:12 sebjan: hmm... Jul 21 13:31:16 sebjan: 4.4.4-7ubuntu1~ppa2hrw1 version? Jul 21 13:31:58 sebjan: and pastebin me whole installation output Jul 21 13:32:17 hrw: ok, let me do that... Jul 21 13:45:34 persia: MMC hang fix patch is: http://gitorious.org/~robclark/pandaboard/robclarks-kernel-omap4/commit/6c8d7209371b5969ea6769382693019ef6cb5eb5 Jul 21 13:45:41 (I don't know if it is in ubuntu kernel yet) Jul 21 13:48:42 hrw: here it is, and ensuring the proper version (which is the one I see with an apt-cache show) http://ubuntu.pastebin.com/YqiGpzBa Jul 21 13:50:00 sebjan: strange Jul 21 13:50:12 apt-cache policy libmpfr4 tells that this is in main Jul 21 13:50:31 sebjan: and try with aptitude - it has better dependency solving Jul 21 13:52:16 15 minutes for resizing an 8gb sd card, seems ok Jul 21 13:52:25 just missing a progress bar :-) Jul 21 13:53:15 yeah Jul 21 13:54:48 zumbi: hey Jul 21 13:54:59 XorA: hey ... so, when and where does the drinking take place :) Jul 21 13:56:14 hrw: not better - http://ubuntu.pastebin.com/06wwXfmS Jul 21 13:56:58 hrw: is there a simple way to clean-up all the previous packages I installed (I may have been playing with dpkg when there packages were first available, and did not upgrade since then) Jul 21 13:58:08 sebjan: run aptitude, limit to .*-armel-cross and remove all of them Jul 21 14:03:26 hrw: apt-cache search or policy does not find libmpfr4 for me... Jul 21 14:03:34 Marex: hi Jul 21 14:03:35 sebjan: maverick? Jul 21 14:03:56 hrw: no I am on lucid Jul 21 14:03:59 zumbi: don't tell me you're in prague too Jul 21 14:04:11 Marex: no, i am not :) Jul 21 14:04:17 zumbi: pity :) Jul 21 14:04:19 Marex: did you get a new toy? Jul 21 14:04:22 sebjan: http://people.canonical.com/~hrw/ubuntu-maverick-armel-cross-compilers/ Jul 21 14:04:30 zumbi: what new toy ? Jul 21 14:04:49 zumbi: you mean the one I was speaking last week ? yea Jul 21 14:04:49 Marex: the one we were talking about.. Jul 21 14:05:00 sebjan: I do not provide packages for mythripk: ping Jul 21 14:05:05 zumbi: and Eric gave me an akita and made me (forcibly) a new maintainer for that Jul 21 14:05:08 I mean Marex: akita? what's that? Jul 21 14:05:25 omg.. akita Jul 21 14:05:29 zumbi: there are so many of them I barely recall which one was that :) Jul 21 14:05:31 zumbi: sharp zaurus sl-c1000 Jul 21 14:05:42 hrw: thanks :) Jul 21 14:05:43 zumbi: pile of crap hardware loaded with crap software Jul 21 14:05:59 zumbi: pxa272/416MHz 64mb ram, 128mb flash Jul 21 14:06:02 hrw: argh, so I would need to upgrade to Maverick now? It used to work with the previous version I had :'( Jul 21 14:06:05 antique Jul 21 14:06:22 sebjan: you can use chroot Jul 21 14:07:09 hrw: right, I'll try with chroot then. Thanks! Jul 21 14:07:58 sebjan: I was aksed about lucid packages before but rejected - it takes too much time to build maverick ones Jul 21 14:09:32 and my goal is to have package which will build cross compiler. but that would require maverick packages Jul 21 14:10:36 hrw: np, I shall have a maverick chroot already, just need to upgrade it :) Jul 21 14:10:56 ;D Jul 21 14:12:03 Marex: uhm... well.. sounds like fun :) Jul 21 14:16:09 zumbi: yea ... not really ... I'm slowly reaching the point where I'll have so many machines I won't be capable of maintaining them all Jul 21 14:17:01 Marex: know that... Jul 21 14:17:10 Marex: have spare not needed palmos device? Jul 21 14:17:42 hrw: I have a palm lifedrive here ... it was still running palmos yesterday Jul 21 14:17:45 hrw: why ? Jul 21 14:18:13 just asked to know do you still play with them Jul 21 14:18:29 hrw: yea, I maintain them in mainline Jul 21 14:18:57 hrw: but I'm moving to newer hardware ... pxa3xx stuff and soon iMX Jul 21 14:19:58 imx3 or imx5? Jul 21 14:20:05 or maybe imx6? :D Jul 21 14:20:26 hrw: I dunno ... lemme check Jul 21 14:21:00 i.MX25 Jul 21 14:21:02 robclark, persia: this mmc fix (6c8d7209371) is not yet into the ubuntu kernel, but is part of the patch set that I have provided to cooloney today Jul 21 14:23:22 sebjan: Thanks for chasing that down. Jul 21 14:23:30 Marex: which device? Jul 21 14:24:10 zumbi: something that still haven't left the manufacturing it seems :D Jul 21 14:24:30 zumbi: I don't know the details yet ... I just know this board is in planning Jul 21 14:25:01 Marex: but imx25 is old Jul 21 14:25:12 well, i guess it has its use Jul 21 14:25:21 sebjan: yeah, thx, i'm looking at your branch Jul 21 14:26:05 persia: no pb, I just saw a commit pass by, and I care of getting all the necessary ones in our kernel :) Feel free to notify/ping me when there is a doubt Jul 21 14:29:19 zumbi: I wasnt looking into imx yet ... I will when I have the board Jul 21 14:30:06 Marex: imx5, i had a NDA datasheet of 5000 pages.. fun! :) Jul 21 14:39:03 rsalveti: how do you think we firstly built-in twl4030_usb in kernel to kill the oops Jul 21 14:39:35 rsalveti: and mark the OTG config bug as fixed, and file another bug to let us work on the host mode issue Jul 21 14:40:02 cooloney: didn't you change the config file to let it as built-in already? Jul 21 14:40:08 the kernel you posted on the bug Jul 21 14:40:40 cooloney: also, the bug was reported for lucid, so we still need to check at lucid if that fixes the problem Jul 21 14:41:24 rsalveti: yeah, i did that for testing, the patches are not in our official kernel tree Jul 21 14:41:29 i am going to do that, Jul 21 14:41:53 i think we need built-in that, and enable OTG Jul 21 14:45:11 cooloney: yep, but I tested your testing kernel at lucid and it didn't work Jul 21 14:45:25 the ops was gone, but as a side effect the host mode don't work anymore for otg Jul 21 14:45:40 so it actually doesn't fix the bug Jul 21 14:46:29 we can't say we're fixing something when we're removing features :-) Jul 21 14:46:54 cooloney: but I agree we should create a different bug Jul 21 14:47:20 cooloney: I can do that from my beagle Jul 21 14:48:15 rsalveti: i agree, we need a different bug. Jul 21 14:51:00 cooloney: will create it soon Jul 21 14:51:18 let me just boot maverick again Jul 21 14:52:18 but for the oops, we can still mark that Fix, since when we got oops, the host mode does not work at all Jul 21 14:52:32 we can point it out to the new bug in OTG config launchpad log Jul 21 15:06:40 cooloney: yeah, but some times it does work Jul 21 15:06:48 most of the time when you add the cable later on Jul 21 15:07:03 so just changing the config file will kill this "feature" Jul 21 15:07:32 we go from something that works sometimes, to something that doesn't work at all Jul 21 15:12:01 yeah, so new bug for the host mode missing Jul 21 15:12:18 rsalveti: and the old one is a oops fixing. Jul 21 15:12:52 now it looks to me like some timing issue. Jul 21 15:13:15 cooloney: just opening the bug right now Jul 21 15:13:26 rsalveti: ok Jul 21 15:19:08 I hope that one day libelf-dev libelf0g-dev conflict/transition will be done Jul 21 15:24:16 NCommander, cn you bump https://edge.launchpad.net/ubuntu/+source/update-notifier/0.103ubuntu1/+build/1883485 a bit higher ? Jul 21 15:24:39 (so i can test the image build speedup (its bocking atm)) Jul 21 15:24:45 *blocking Jul 21 15:32:03 cooloney: bug 608312 Jul 21 15:32:04 Launchpad bug 608312 in linux (Ubuntu) "Usb host mode on OTG doesn't work on Maverick with BeagleBoard (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/608312 Jul 21 15:34:36 rsalveti: thanks a lot, man Jul 21 15:37:10 np Jul 21 17:20:18 packages.ubuntu.com/lucid as it stands doesn't include any notation of arm which packages are built for arm ... is there another webpage or command line tool where one can see a list of what is built for arm? Jul 21 18:40:40 tgall_foo: do you want something like http://ports.ubuntu.com/ubuntu-ports/pool/main/? Jul 21 18:40:58 there are lots of arm packages over there Jul 21 18:45:15 rsalveti, was hoping there might be something like packages.ubuntu.com that listed arm packages instead of having to pull down the individual package text files from like : http://ports.ubuntu.com/dists/maverick/main/binary-armel/ Jul 21 18:46:02 tgall_foo: oh, ok Jul 21 18:46:55 you can try from the repository itself, but I don't think it's on-line in any other way Jul 21 18:47:02 at least I never saw it Jul 21 18:48:25 tgall_foo: the packages files are easily parsed using grep-dctrl Jul 21 18:49:47 ukleinek, yeah I'm probably being picky .. it's not like text files are hard to deal with Jul 21 23:55:06 rcn-ee: haha, you just need to load g_ether! Jul 21 23:55:07 dammit Jul 21 23:55:20 bug 608312 Jul 21 23:55:22 Launchpad bug 608312 in linux (Ubuntu) "Usb host mode on OTG doesn't work on Maverick with BeagleBoard (affects: 1) (heat: 8)" [Undecided,New] https://launchpad.net/bugs/608312 Jul 21 23:55:26 then the OTG works as expected Jul 21 23:55:37 at your config file you have this as built-in Jul 21 23:55:52 well, time for some sleep now :-) Jul 21 23:55:59 * rsalveti -> out Jul 22 00:14:44 good to hear rsalveti (yeah the musb stuff is very fragile, one little thing will kill it.. ;) ) **** ENDING LOGGING AT Thu Jul 22 02:59:56 2010