/srv/irclogs.ubuntu.com/2010/08/27/#ubuntu-arm.txt

prpplaguetwo line paste00:02
prpplaguePandaBoard Revision: 00100:02
prpplagueoops00:03
prpplaguePandaBoard Revision: 00100:03
prpplaguewell darn00:03
prpplagueGrueMaster / rsalveti  http://paste.ubuntu.com/484228/00:03
GrueMasternice.00:04
prpplaguequestion though, do you want it more human readable, or more parse friendly00:04
GrueMasternow to get other arch/platforms to follow suit.00:04
prpplaguei.e. should i just report revision without referencing pandaboard?00:05
GrueMasterno, platform/revision is great info.00:05
prpplagueokie dokie00:06
* prpplague gets ready to send patch to L24.9 team00:06
GrueMasterThis way we can differentiate between systems (i.e. Blaze/Panda or Beagle/BeagleXM/Gumstix, etc).00:06
GrueMasterI'm assuming this info is gathered through probing the system & using a lookup table of some sort?00:09
rsalvetiargh, my system is trashing... very slow00:11
rsalvetiopening the link00:11
rsalvetiprpplague: cool :-)00:11
prpplagueGrueMaster: 3-bit value on three gpios00:12
GrueMasterok00:13
rsalvetiprpplague: if we have a separator like : I guess it's ok for parsers00:13
rsalvetiname : version00:13
prpplaguersalveti: thats what i was thinking00:13
rsalvetior something like that00:13
prpplaguersalveti: i was thinking00:14
prpplaguersalveti: something like this00:14
prpplagueboardname - revision : revisionnumber00:14
prpplaguePandaBoard - revision : 00100:15
prpplagueis it that too much?00:15
prpplaguejust leave it00:15
prpplaguePandaBoard : 00100:15
rsalvetihm00:17
rsalvetidon't know, most of the time just the revision should be ok00:17
* GrueMaster finds nothing wrong with the pastebin version.00:17
rsalvetilike beagleboard: c400:17
rsalvetipandaboard: es100:17
rsalvetian example00:17
prpplagueyea00:17
prpplagueok, do the KISS thing00:17
rsalveti:-)00:18
rsalvetialways00:18
GrueMasterrsalveti: Back to the image issues, I am really having doubts as to what could be breaking the system.  I created a manifest of the A3 image and compared it with 20100809 (first failing image).  Upstart & ureadahead are unchanged.00:20
rsalvetihm...00:20
rsalvetimaybe a dependency between the upstart services00:21
rsalvetiwaiting for something that doesn't get started00:21
rsalvetidebugging upstart would be the way to go00:21
GrueMastertesting new theory.  We now have a new oem-config apparently.  Will flash 20100809 image and update oem-config on it.00:21
GrueMasterTwo issues that I have seen; latest images fail oem-config and updating from A3 fails to boot.  I doubt there is any relation to the two.00:22
=== XorA is now known as XorA|gone
GrueMastertoo many variables and not enough fast test systems.00:24
rsalvetinow I can see 20100826.100:25
rsalvetiwill also download it00:25
* GrueMaster has spent a frustrating 2.5 weeks on this issue.00:25
rsalveti:-(00:25
rsalvetisd card performance is frustrating00:25
GrueMasterYes.  Very.00:25
GrueMasterEven on my desktop.00:25
rsalvetiGrueMaster: 152K/s of download is also frustrating00:27
GrueMasteryes.  Which is why I have my own mirror.00:28
rsalvetibut this is for the image files00:28
rsalvetiI have a cache server around00:29
GrueMaster1Gb network throughout the house also helps00:29
rsalvetifor normal stuff00:29
rsalvetifor sure00:29
rsalvetibut an sd card with 3, 4m/s doesn't help00:29
rsalvetihaha00:29
GrueMasterI mirror both.  And retain dailys until final.00:29
GrueMasterNot that arm dailys take much room given the pool churn.00:30
rsalvetiyep, will start mirroring the image stuff00:32
rsalvetithe problem is that my stupid internet provider limits the amount of gb per month00:32
rsalvetiI can download only 80gb I guess00:32
rsalvetiwith a 10m/s link00:33
rsalvetiso I avoid doing mirror and downloading only what's needed00:33
GrueMasterouch.  Some in the US are doing the same.  Fortunately, my ISP has been around since early '90s and has a fat pipe.00:33
rsalvetithat's nice00:33
rsalvetiwith my previous provider I didn't have this issue, but doesn't reach my current city00:34
rsalvetiso I had to change to the stupid one00:34
GrueMasterI'm currently limited by DSL speeds.  Which out here in the sticks is ~6.5M/768k00:35
* GrueMaster wishes he could get FIOS.00:35
rsalvetimine is currently 10/1 m/s00:36
GrueMasternice00:36
persiarsalveti, What blocks getting newest rootstock upstream into Ubuntu?00:42
rsalvetipersia: a new release? :-)00:43
rsalvetipersia: just 2 simple bug fix, still need to get some work at the ui to create a new release00:43
persiaYou don't happen to know any upstream rootstock folk that might feel like rolling a release, do you?00:43
rsalvetipersia: it works fine with our version, but with upstream you'll always get the initrd and vmlinuz outside the rootfs00:44
persiaAh, makes sense.  Best to get the FFe filed *before* beta-release, as otherwise getting it into maverick will be sticky.00:44
rsalvetithat's why I said GrueMaster to try it00:44
rsalvetieasier to run mkimage later00:44
rsalvetipersia: can you buy me some time? :P00:44
persiaUnfortunately, time and tuits are the two things of which I currently have shortages :(00:45
rsalvetiI'd love to do it, but have more important issues do solve atm00:45
rsalvetiyup :-(00:45
GrueMasterrsalveti: Running now (got sidetracked by lack of lunch).00:52
rsalvetiGrueMaster: with latest minimal image it boots...00:52
rsalvetilet me start the upstart debugging session00:52
GrueMasterLooks like rootstock finished ok.01:00
rsalveti:-)01:00
GrueMasteroops.  All three of my microSD cards are preoccupied atm.  hrm.01:01
GrueMasterGahhh.  Brb.  Need to start dinner (roast).01:05
persiaAnyone good at picking the right place to drop casts for qreal != double issues?  Seems like the outstanding bit for koffice.01:25
rsalvetiargh, nothing works today01:28
GrueMasterOk, roast is now...roasting.01:31
persiaWhich part of nothing is most annoying at the moment?01:31
rsalvetihaha, like boards not booting? :-)01:32
GrueMasterI get that all the time.01:33
persiaOh yeah.  that one.  This is why we need large volumes of consumer-grade hardware (although I think I once heard a story about a chicken and an egg...)01:33
GrueMasterI just file bugs and let the engineers fix it.  Oh, wait...01:33
rsalveti...01:34
GrueMaster:P01:34
rsalvetithat's weird, I can't see 20100826.1 anymore02:00
rsalvetiwtf02:00
rsalvetisome times it works, some times it doesn't02:00
rsalvetipersia: any clue?02:00
persiatransparent proxies should be removed, and everyone should use IPv6 with endpoint verification.02:01
rsalvetiargh02:01
rsalvetiand the weird thing is that my current wget is still working!02:02
rsalvetibut I can't browse this link02:02
rsalveticlean cache, different browsers02:02
rsalvetijust can't02:02
persiaOnce you get a hit that works, it will be fine.  But stale/erroneous cache data needs to wait for timeout to pass.02:02
* persia forgets how to trick those offhand02:02
rsalvetiyep02:02
rsalvetiGrueMaster: weird, it hangs completely02:08
rsalvetithe kernel, serial, everything02:08
persiarsalveti, Alternate thought: tell me which file you seek, and I can probably give you a deep URL (which may not be cached)02:10
rsalvetipersia: now I'm able to download it! haha02:11
rsalvetipersia: for the fs I'm still looking for it02:11
* persia fails at parsing02:11
rsalvetinevermind :-)02:13
* rsalveti needs a lot more coffee02:13
persiaOr a good night's sleep...02:13
rsalvetiwell, that'd help, for sure02:15
cooloneyrsalveti: you work so late and hard, man02:19
cooloneyrsalveti: do you have chance to test the 2.6.35 on your es2?02:19
rsalveticooloney: well... nothing better to do haha :-)02:19
rsalveticooloney: not yet, too much problems during the day02:19
rsalveticooloney: do you have a binary?02:20
rsalvetiI can easily test02:20
cooloneyrsalveti: i got an update patch from sebjan, will try to build again.02:22
cooloneyrsalveti: if i am ready, i will post the url for you, thx02:22
rsalveticooloney: cool, just ping me when you're done02:22
rsalvetihm, installed network-manager and rebooted, now it hangs02:32
persiaExcellent!  Uninstall network-manager (from a cross-chroot mounted on something else), and see if that unhangs.02:33
rsalvetithat's what I'm doing now02:34
rsalvetibut got many other packages installed as a consequence, but let's se02:34
rsalvetisee02:34
persiaThat's OK.  We can dig through dpkg.log, and find the responsible party.02:35
rsalvetiGrueMaster: persia: seems to be dbus, will test more02:53
persiaThat's what ogra was finding02:54
rsalvetiyep, will try to identify why02:54
GrueMasterSorry, had to take a break.  Odd that dbus is giving you guys grief.  I had updated that a couple of days ago and it has worked fine.02:54
rsalvetiyep, it's dbus :-)02:57
rsalvetiinitct dbus start -> hangs02:57
rsalveti*initctl02:57
rsalvetior some dependency from upstart02:57
persiaExcellent!  Can you get a strace?02:58
rsalvetichecking again02:58
rsalvetiwill try02:58
GrueMasterIs it dbus or network-manager?  Like I said, I updated dbus a couple of days ago while slowly churning through the 400+ package updates.  Didn't hang until network-manager update.03:00
rsalvetinetwork-manager03:01
GrueMasterBut oddly it doesn't appear to start anything after mounting root.03:01
rsalvetiremoved the dbus dependency and it started fine03:01
rsalvetinot networkmanager got the hang03:01
persiaIt's obviously dbus if "initct dbus start -> hangs"03:01
persiaMight only happen in combination with other stuff, but strace should tell us.03:02
rsalvetinops, remove the dbus trigger from networkmanager03:02
rsalvetithen started by hand03:02
rsalvetiand it hang03:02
persiastack trace (rather than syscall trace) would be better, but hard to get for a hang.03:02
rsalvetiso it's probably nm03:02
* persia suspects two bugs, rather than one03:02
rsalvetilet me start nm with strace or logs03:02
rsalveticould be related with dbus also, on how it's using it03:02
rsalvetibut would say it's closer with nm03:03
rsalvetilet me check03:03
rsalveti1 sec03:03
persiaPlease strace the initctl hang first: that's lower level.  it7s not worth masking it in nm if that makes it hard to find the dbus part.03:03
rsalvetione thing at a time03:04
rsalvetiI want to first find the binary that's causing this03:04
rsalvetithen we can trace that03:04
persiaHonestly, strace the symptom.03:05
persiaif you set strace to follow, you'll track over *many* binaries.03:05
persiathen dpkg -S will tell you the package.03:05
persiaSaves time doing it twive.03:05
rsalvetibut for that I'd have to trace upstart03:06
rsalvetiand not initctl start dbus03:06
rsalvetibecause when dbus is started, upstart tells nm to start03:06
rsalvetiand that hangs03:07
GrueMasterhrm.  Having power & serial console on XM is not fun.03:07
persiaRight.  strace -f -p ...03:08
persiaThen run initctl, and wait for the hang.03:08
persiathen check the strace to find out what hung it.03:08
persiathen dpkg -S to find the offending binary.03:08
GrueMasterrsalveti: Did you need to use a null modem with your XM?03:13
rsalvetiGrueMaster: nops03:13
rsalvetiusb-serial only03:14
rsalvetisame for panda03:14
GrueMasterOk.03:14
GrueMasterOops.  Forgot xloader & uboot.  That would explain things.03:15
rsalvetiGrueMaster: :-)03:19
GrueMasterI only appear to be getting garbage on serial03:21
GrueMasterSame xloader & uboot as on the daily for beagle, right?03:22
persiaspeed?03:22
rsalvetiGrueMaster: yep03:22
GrueMasterSerial works fine on the beagle.03:23
GrueMasterNot on XM03:23
* GrueMaster was worried that the exterior renovations done with the dremel may have fouled serial usb adapter.03:24
* persia wishes koffice would build faster.03:28
GrueMastersigh.   Time to fix dinner.  Back later.03:28
persiaGrueMaster, You still have spare buildd cycles about?03:29
persiaAh, not now :)03:29
rsalvetipersia: GrueMaster: interesting, the hang happens when NM tries to activate the usb0 interface03:35
rsalvetiif I give ifconfig usb0 up before initializing NM everything goes well03:36
rsalvetibut if I try to load it directly, it'll hang when trying to activate the usb003:36
persiaWhat's the last syscall before it hangs?03:43
rsalvetia sendmsg to a socket03:57
rsalveticould be dbus03:57
persiaWhich PID does the sendmsg?04:00
persiaAnd is the specific socket referenced earlier in the strace so you can determine if it's dbus?04:01
rsalveticooloney: can you share the binary of your 2.6.35 kernel that works with your es1?04:06
rsalvetipersia: sometimes just ifconfig usb0 up and ifconfig usb0 down gets the problem04:07
rsalvetithe problem is that NM gives up to probe information and then put it down again04:07
rsalvetiand put it up to configure04:07
rsalvetiand this sequence is giving the issue04:07
rsalvetinm was updated, so this new sequence could be affecting ups04:07
persiaRight.04:08
persiaI'd suggest first concentrating on the ifconfig bit.  Once that's sorted, let's see if the other bugs are still present.04:09
rsalvetisure, that's what I'm doing04:09
persiaIt'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)04:10
rsalvetisure04:10
rsalvetithat's why I want to test with latest kernel04:10
rsalvetifrom ti04:10
persiaIs there a way to force a kerneloops during a hang?  I get lost when it gets to that level.04:10
rsalvetidepends on the kind of hang04:10
rsalvetiproblem with code generally can show the trace and so on04:11
rsalvetibut if the problem happens while communicating with the device, than things can be harder04:11
persiaNot 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.04:12
cooloneyrsalveti: it is quite slow for me upload my package, damn it.04:35
rsalvetiit seems a kernel bug at the ethernet driver04:37
rsalvetiwill take a better look at the down code04:37
rsalvetiit hangs when giving the ioctl to put the interface down04:38
cooloneyrsalveti: http://people.canonical.com/~roc/kernel/omap4-2.6.35/04:46
cooloneyrsalveti: finally uploaded. it is cross compiled04:47
rsalveticooloney: nice, does it work fine with your es1?04:47
cooloneyit boots up on my es1 and works fine with my maverick rootfs.04:49
rsalveticool04:49
cooloneybut not tested it on daily image04:49
rsalvetilet me try it04:49
cooloneyok, thx04:49
rsalvetinp, I'm using a minimal one atm04:49
rsalveticooloney: do you have your usb working?05:19
rsalvetidoesn't work for me05:20
rsalvetiand the ethernet needs usb05:20
rsalveti:-(05:20
cooloneyrsalveti: too bad, doesn't boot at all?05:23
rsalvetiit boots, but doesn't work with usb05:23
rsalvetithat that was the test I wanted to run05:23
rsalvetibut thanks anyway05:23
cooloneyoh, thx, for that. could you post your dmesg somewhere?05:24
cooloneyi will discuss this with sebjan05:24
rsalveticooloney: http://paste.ubuntu.com/484321/05:25
cooloneyOMAP4430 ES1.0, is it ES2.0?05:29
cooloneyI assume it is ES2.0, rsalveti05:29
rsalveticooloney: es105:39
rsalveticooloney: I wanted to test on the board I know we have issues atm05:40
rsalveti:-)05:40
GrueMasterpersia: yes, I have the dove ready for building.05:40
rsalveticooloney: I can test your deb on my es2 if you want05:41
rsalvetijust a sec05:41
rsalveticooloney: usb works with es205:46
rsalvetiwill reply your email05:46
rsalvetilet me test it with 1gb05:47
cooloneyrsalveti: great, man. thx for the testing in your mid night, i think05:48
cooloneysebjan: told me he fixed some EHCI or USB configuration on ES2.0, so maybe ES1.0 got some issue.05:49
rsalveticooloney: hah, yeah05:49
rsalveticooloney: oh, cool05:49
rsalvetithey were also working on other things yesterday05:49
rsalvetimostly display and sound issues05:49
rsalvetilet me put that on the email05:49
cooloneycool, man, thx a lot05:55
* cooloney needs some food for his lunch05:55
rsalveticooloney: sent05:57
persiaGrueMaster, Excellent, although I found somewhere else to run that.  I'll let you know if I think I have another one solved.06:12
persia(but it might be too late by then)06:12
GrueMasterpersia: 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 packages06:47
persiahttps://launchpad.net/ubuntu/+source/ubiquity/2.3.8/+build/193585206:47
rsalvetiGrueMaster: 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.deb07:06
rsalvetiwith mine (2.6.34) it doesn't work07:06
rsalvetiogra: lag: the hang while booting ("dbus" hang):  bug 62510807:07
ubot2Launchpad 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/62510807:07
rsalvetiI'm still looking at it, but I can confirm that it doesn't happen with ES2 and cooloney's kernel07:07
rsalvetiand the driver didn't get any major changes between 2.6.34 and 2.6.35, so it could be related with the board07:08
rsalvetiogra: 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 started07:09
rsalvetiAug 27 04:13:46 acorn init: gdm goal changed from stop to start07:09
rsalvetiAug 27 04:13:46 acorn init: gdm state changed from waiting to starting07:09
rsalvetibut that's all07:09
rsalvetiplease continue the debugging and I can help looking into that tomorrow07:09
GrueMasterrsalveti: Don't you sleep?07:10
rsalvetiGrueMaster: ogra: another interesting thing is that the hostname is now "localhost" but I can still get the builder's name at the messages07:10
rsalvetiGrueMaster: I try, but doesn't work that well with me :-)07:10
GrueMasterThat gets changed by oem-config.07:10
rsalvetiI know, but if we want to avoid having the builder's name logged, we should fix that07:10
GrueMasterToo much Brazilian coffee.07:11
GrueMasterI need some.  :P07:11
rsalvetiand messages I say the syslog messages of the first boot07:11
rsalvetiGrueMaster: haha, possible07:11
rsalvetiI can try to get you some at uds :-)07:11
rsalvetior even before, it all depends on ti :-)07:11
GrueMasterSorry, can't make it.  Wife hexed me into a cruise.07:11
GrueMasterTI maybe.07:11
rsalvetiouch, true07:12
rsalvetitoo bad07:12
GrueMasterWhen I mentioned UDS and conflict in the same sentence, she started speaking in tongues and I swear her head spun a few times.07:13
rsalvetilol07:13
GrueMasterCurrently 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.07:14
GrueMaster"Starting PC Card Services..."  We really need to clean up the image next release.07:15
rsalvetican't make oem-config to run here07:15
rsalvetibecause of gdm it seems07:15
GrueMasterWhich version of oem-config?  2.3.8 is latest.07:16
=== amitk is now known as amitk-afk
rsalvetihm, 2.3.707:16
GrueMasterJust finished.  Now to see if GDM starts.07:16
=== hrw|gone is now known as hrw
GrueMasterOop, removing packages.07:16
rsalveticool, good luck07:17
rsalvetineed to go now07:17
rsalvetisee ya in some hours07:17
GrueMasteryea, understand.07:17
GrueMasterget some sleep.07:18
GrueMasterYea, I now have a booting image again.  20100826.1 + oem-config updates are running on babbage.  Very encouraging.  Night all.07:27
mythripkMorning 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=1266708:23
=== amitk-afk is now known as amitk
lag<rsalveti> 07:04:39> ogra: lag: the hang while booting ("dbus" hang):  bug 62510808:39
ubot2Launchpad 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/62510808:39
lagDoh08:39
lag<rsalveti> ogra: lag: the hang while booting ("dbus" hang):  bug625108 <- I don't have working Panda08:39
lagES1.008:39
ogra:(08:39
lagogra: Is there anything wrong with this line?08:49
lagsudo mkimage -A arm -T script -C none -n "Ubuntu boot script" -d boot.script boot.scr08:49
ogralooks ok to me08:59
lagWeird09:06
lagIt's churning out boot.scr's with no header?09:06
ogralag, why sudo ?09:08
lagDoes it make a difference?09:08
ograno ideas09:08
lagI'll try09:08
ogranever used sudo with mkimage09:08
lagDidn't make a difference09:09
lagStill no header09:09
lagAh09:10
lagNo09:10
lagIt's just that cat doesn't print it09:10
lagEmacs displays it fine09:10
ograand cat or less dont ?09:13
lagcat doesn't09:15
lagless does09:15
persiawhat nonprintables do you have in it?09:16
persiaMaybe `TERM=dumb cat ...`?09:16
lag'^E^YV<A7><a.Lwmm^@^@^A^U^@^@^@^@^@^@^@^@<80><C8>΄^E^B^F^@Ubuntu boot script^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^A^M^@^@^@^@09:16
lag:)09:16
lagIt's okay09:16
lagI can use less/emacs09:16
persiaYeah, cat should show that with TERM=dumb09:16
lagIt's not a problem09:16
lagSo long as I know09:16
lagogra: When do you think the oem-* bug will be fixed?09:18
ogralag, i just kicked off a build09:19
ograit shoudl be fine in the next image09:19
ograthough the usb0 bug will hit us hard09:19
lagWhich usb0 bug?09:19
ogrado you read the channel backlog if you get up ?09:19
persiaThat ifconfig up usb0; ifconfig down usb0; ifconfig up usb0 hangs the machine.09:20
ograits a useful practice ;)09:20
lagogra: No09:20
persiabug 62510809:20
ubot2Launchpad 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/62510809:20
lagWell, I flick though09:20
lagUsually it's dribble09:20
persia(which you mentioned to us earlier, so you ought have seen it)09:20
lagd09:20
lagDoes this happen with TI's new patches?09:21
persiaHard to say.  The reporter went to bed.09:21
lagI'll give it a go09:21
persiaTry it with TI's new patches and find out :)09:21
lagThis is Panda ES1.009:22
lagI was under the impression that all support for ES1.0 is to be halted?09:22
persiaBug report is for ES1.0.  I'm not sure it's been tested with ES2.009:22
persiaPerhaps, but let's make sure the bug is ES1.0 only before we ignore it :)09:23
ograhmm, theer is no bug about the dbus hang ?09:23
ogralag, tricky for beta we dont have es2 yet09:23
persiaThe dbus hang is dbus running NM init once dbus<->NM comes up, which is NM hanging on configuring usb0, which is 62510809:24
ogralag, so i guess beta has to stay es1 ... also we dont have bootloader or kernel for es209:24
persiarsalveti spent hours hunting it down specifically.09:24
ograpersia, hmm, i thought i saw initctrl mentioned above09:24
ograyes, i see that09:24
persiaRight.  initctl start dbus hangs the machine, by the process I just described.09:24
ograok, then its fine with me ... just not sure what to do ...09:24
persiakernel bug.  lag's on it.09:25
ograapart from disabling usb0 :)09:25
persiaLet's give lag a couple hours to hunt before we use the big hammer :)09:25
ograpersia, lag doesnt have working usb, no ?09:25
ogra(on the es1)09:25
persiaUgh.09:26
* persia dreams of a day when mass commercial HW is available, and all these niggles go away09:26
ogranatty FTW :)09:26
laglag, so i guess beta has to stay es1 ... also we dont have bootloader or kernel for es2 - <Yes we do>09:27
ogralag, show me the package on ports.ubuntu.com please09:27
ogra*packages09:27
lag<rsalveti> 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 board09:33
lagDon't you read your back-log? =;-)09:33
ograWell, I flick though09:34
ogra:P09:34
lagThat's the wrong message09:34
lagDoh09:34
lag<rsalveti> 07:05:01> I'm still looking at it, but I can confirm that it doesn't happen with ES2 and cooloney's kernel09:35
lagThat's the one I meant to post09:35
ogradoesnt really help09:35
ograwe need to have booting images by thu. no matter what09:35
ograand since we only have software for es1 it needs to be es1 images09:35
lagI can't help you there I'm afraid09:36
lagThe ES1.0 will boot, it just won't have USB working09:38
ograis the NIC driver a module so we can at least blacklistz it ?09:38
* ogra can apply a jasper hack that puts a blacklist file in place09:39
lagYou know the NIC drivers needs USB right?09:40
ograthat wasnt my question :)09:40
ograis it modular so we have a worst case solution to get the images booting again ?09:41
lagI don't believe it is09:42
ogradamned09:43
* ogra goes to get more coffee while the images build09:46
lagCONFIG_USB_NET_SMSC95XX=y09:47
persiaWhat happens if we make that =m ?09:47
persiaShould get us booting, and then we can track down other stuff whilst sorting the problem.09:47
lagThe world implodes09:47
persiaAh.  That may impair a few things.09:47
lagI don't know09:47
lagBut do you want to get that config change though SRU?09:48
persiaCould you find out?  The other option is trying to tell NM to ignore usb0.09:48
persiaSure.  Without it, there's no booting images.09:48
persiaSo no beta.09:48
lagI can't give anything a go ...09:48
lagI don't have a working ES1.009:48
persiaBut let's let ogra come back: he's more awake than me, to document the issue.09:48
persiaAh.09:49
=== XorA|gone is now known as XorA
cooloneylag: from the kernel dmesg on my es1, i found09:53
cooloney[    1.573303] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver09:53
cooloney[    1.580200] ehci_hcd: block sizes: qh 60 qtd 96 itd 160 sitd 9609:53
cooloney[    1.580322] ehci-omap ehci-omap.0: failed to get ehci port0 regulator09:53
cooloney[    1.580322] ehci-omap ehci-omap.0: starting TI EHCI USB Controller09:53
cooloney[    1.580352] ehci-omap ehci-omap.0: failed to start ehci09:53
ogra_cmpclag, SRU ? you mean asking for a freeze exception09:53
cooloneyit looks like we missed some ehci port0 regulator configuration or driver?09:53
cooloneylag: any idea about that? maybe it cause our USB failed.09:53
lagcooloney: You'll have to fix it - I don't have an ES1.0 :(09:54
ogra_cmpcdied you send back both already ?09:54
ogra_cmpc*did09:54
cooloneylag: got it, man09:54
lagogra_cmpc: Nope, they are both here on my shelf09:56
lagcooloney: Does your HDMI port work with the current image?09:57
ogra_cmpclag, well, the one with broken HDMI might have working USB ;)09:57
ogra_cmpcand surely has working serial09:57
lagogra_cmpc: That's what I was thinking09:57
* ogra_cmpc curses TIs timing ... 09:58
ogra_cmpcif we only would have been having everything (HW/SW) one week earlier ....09:59
ogra_cmpccooloney, will we get the new sebjan tree uploaded before beta ?10:00
cooloneyogra_cmpc: when is the beta, i guess we are going to upload it soon10:00
ogra_cmpcbeta is on thu but we need the package earlier, i think serious images are due monday or so10:01
cooloneyogra_cmpc: next thu? or yesterday.10:02
ogra_cmpcyesterday was beta feeeze, next thu is beta release10:02
cooloneyoh, i c.10:03
cooloneyi am not sure about that.10:03
cooloneystill need to fix audio issue and this USB issue10:03
ogra_cmpcwe wont have probs to get an upload approved but it need to happen very soon10:03
ogra_cmpc*needs10:03
ogra_cmpcdoes the audio issue block anything apart from the obvious ?10:04
ogra_cmpcelse i'd say keep that for post beta10:04
lagogra_cmpc: FATAL: Could not load /lib/modules/2.6.35-903-omap4/modules.dep: No such file or directory10:04
ogra_cmpcwe can live with non working audio for beta10:04
ogra_cmpclag, you package should have called depmod during package install10:05
ogra_cmpclooks like a bug in the klinux package10:05
ogra_cmpc*linux10:05
lagogra_cmpc: I'm installing on my chroot10:06
ogra_cmpcdoesnt matter, the postinst of the package should call depmod10:06
lagDo I just need to copy over the *.dep file from the shroot to the SD card to get it to work10:06
ogra_cmpcthat might workm, though i'd just call it on the SD10:07
persiaBetter to call depmod afresh.  Less prone to oddities.10:07
cooloneyogra_cmpc: i just got 2 patches from sebjan to fix audio issue,10:07
ogra_cmpccooloney, ah, cool10:07
cooloneymaybe we can fix it soon10:07
lagIt turns out that pivot-root isn't console specific - Doh!10:19
ogra_cmpcpivot-root ???10:19
lagI just pivot-root(ed) into an Arm /10:20
ogra_cmpcubuntu hasnt used pivot-root since 200410:20
lagI wanted to use it10:20
lagTo run depmod10:20
persiaWhy not chroot?10:20
ogra_cmpcyeah, i was about to ask :)10:20
lagBecause you can't specify the out dir10:21
lagof depmod10:21
persiaThe "out dir"?10:21
ogra_cmpc??10:21
lagOh, can you chroot into a given /10:21
lagRather than a saved one10:21
lagHold on10:21
ogra_cmpcsudo chroot /target/chroot depmod -a10:21
ogra_cmpc(needs qemu-arm-static installed for armel chroots)10:22
lagI have that10:22
persiaAnd you need to copy the interpreter10:23
lagBut my usual chroot != /SDCard/rootfs10:23
persiaSo?10:23
persiachroot takes the target on the command line10:23
ogra_cmpcmount /dev/mmcblk0p2 /target/chroot ;)10:23
lagI didn't know you could chroot into random directories10:23
persiathat's the point :)10:23
* lag shrugs 10:23
lagEvery day's a school day10:24
persiaIf you don't need that flexibility, schroot is probably more feature-rich.10:24
lagsudo schroot /media/rootfs/10:25
lagE: default: Chroot not found10:25
lagAhhhhhhhhhhhh, that's the difference between schroot and chroot10:25
lagroot@system1:/# uname -a10:26
lagLinux system1 2.6.32-24-generic #41-Ubuntu SMP Thu Aug 19 01:12:52 UTC 2010 armv7l GNU/Linux10:26
* ogra_cmpc applauds10:27
lagogra_cmpc: Sarky baboon10:27
lagIt still doesn't work10:27
lagWARNING: Couldn't open directory /lib/modules/2.6.32-24-generic: No such file or directory10:27
lagWrong kernel10:27
ogra_cmpcman depmod :)10:28
lag-v?10:29
ogra_cmpcno10:29
lagversion10:29
ogra_cmpcthe manpage summary at the top is a bit confusing i admit10:29
ogra_cmpcright just give the version10:29
ogra_cmpcno -v10:29
lagOh, they're separate arguments10:29
lagThey should be separated10:30
ogra_cmpcthe text below makes it clearer10:30
ogra_cmpcIf a version is provided, then that kernel version's module directory is used rather  than  the  current10:30
ogra_cmpc       kernel version (as returned by uname -r).10:30
lagWho reads more than 5 lines of a manpage?10:30
lag;)10:30
ogra_cmpcheh10:30
lagYeah, that's what I read to get 'version'10:30
lagBut I thought -v and version were related10:31
lagI was correct10:31
ogra_cmpc-v --verbose10:31
lagI'm guessing -v would churn out depmod's version10:31
lagOh!10:31
lagDoh!10:31
ogra_cmpc-V --version10:31
ogra_cmpc              Show version of program and exit. See below for caveats when run on older kernels.10:31
lagI would have found it - I was on the right lines10:31
ogra_cmpcfunny that there is no "below" in the manpage anymore10:32
ogra_cmpc(probably refers to depmod.conf or so)10:32
lagsudo chroot /media/rootfs/ depmod 2.6.35-903-omap410:33
ogra_cmpcyeah10:33
=== amitk is now known as amitk-afk
lagDoes anyone know how to do a remote single lined bash command11:09
lagSomething like:11:09
lagchroot /root bash "for i in \`ls /lib/modules/\`; do echo \$i; done"11:10
ograremote ? through ssh =11:10
ogra?11:10
lagchroot /root bash -- for i in `ls /lib/modules/`; do echo $i; done11:10
lagActually through chroot11:11
lagBut I guess the principle is the same11:11
ogrash -c "mycommand"11:11
persiaSimilar, but not quite.11:11
persia`ssh foo bar` runs command "bar" on host "foo"11:11
ograor just leave the shell out og it completely11:11
ogra*of11:11
persia`chroot foo bar` runs command "bar" with "foo" as root.11:12
persiaSo `chroot foo "for i in ..."` ought do what you seek.11:12
ograright11:12
persiaquotes may not be required, but may be safer.11:12
ograyes, the quotes were more for ssh :)11:14
lagI've tried those11:15
lagNot working11:15
persia!doesntwork11:15
ubot2Doesn'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.11:15
lagYou and your ridiculous !cmds11:16
lagDo you have a list next to you?11:16
ograhe has the bot sitting next to him :)11:16
lagQuite11:16
lagsudo chroot /media/rootfs/ "for i in `ls /lib/modules/`; do echo $i; done"11:17
lagchroot: 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 directory11:17
persiaOh, right.11:17
persiayeah, for chroot you *do* need to specify the interpreter.11:18
persiaSo "/bin/bash for i ...11:18
lagsudo chroot /media/rootfs/ bash -c "for i in `ls /lib/modules/`; do echo $i; done"11:18
lag/bin/bash: -c: line 1: syntax error near unexpected token `2.6.31-21-generic'11:18
lag/bin/bash: -c: line 1: `2.6.31-21-generic'11:18
lagTried that too11:18
persiaOtherwise it tries to find "for" in the path, and fails.11:18
lagCorrect11:18
* ogra crosses fingers and boots the latest image11:18
persiaBut `chroot /media/rootfs ls /lib/modules` works?11:19
lagYes11:19
lagIt's a problem with the bash part11:20
lagbash -c "for i in `ls /lib/modules/`; do echo $i; done"11:21
lagThat's broken in some way11:21
lagfor i in `ls /lib/modules/`; do echo $i; done11:21
lagWorks fine11:21
persiaHow about echo `for i in $(ls /lib/modules/); do echo $i; done" > /media/rootfs/script; chroot /media/rootfs /bin/bash /script`11:21
lagGot it11:21
lagIt wanted ' not "11:21
XorAyour backticks are executed too early?11:22
persiaAha!11:22
persiaXorA, On the nose.11:22
lagsudo chroot /media/rootfs/ bash -c 'for i in `ls /lib/modules`; do depmod $i; done'11:24
lagThat is the winning formula11:24
ograGRRR11:30
=== amitk-afk is now known as amitk
ograso resizing and rebooting works fine11:30
ograbut it hangs after the fourth dot in plymouth was printed11:31
XorAsee there is a reason I hate all this gui obfuscation11:31
persiaHow is plymouth obfuscation?11:31
XorAit hides the kernel messages11:32
* persia isn't even convinced it's gui with the text profile11:32
persiaDoesn't passing noquiet show them again?11:32
XorAno idea11:32
persiaHas since Breezy or so.  I think it's not plymouth, but the kernel command line that causes the sense of obfuscation.11:33
persiaBut I haven't run with noquiet since jaunty or so, so I may be mistaken.11:33
lagIf you press left/right arrow, you can see the messages11:33
ograyeah, seems to be the same issue ricardo sees11:34
ograhangs right after ureadahead when trying to start apparmor11:35
* ogra tries to add /e/n/i to üprevent NM11:35
* ogra glares at the gdm screen11:40
ograhrm11:40
ograwhere is my oem-config11:40
ograk, i think i'll add a hack to jasper to set up /e/n/i, that seems to work fine11:45
ograuploaded11:51
ukleinekmoin, 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?11:51
persiaukleinek, I used to do so, and no.11:53
persiaI remember it not having acceptable acceleration.11:54
persia(but I was mostly interested in using the device to track down build failures, etc.)11:54
ograukleinek, the display driver around 10.04 time was completely unusable (and non free) so we dont have it, out netbook images used fbdev only11:55
ogras/out/our/11:56
amitkukleinek: are you working on the fb driver for i.mx51? Robert mentioned something about pengutronix's involvement on linaro-dev...11:57
persiaWe'd certainly be happy to ship a better driver, if someone wanted to help maintain it :)12:00
rsalvetiogra: lag: all you need to do to have a working image is to give "ifconfig usb0 up" before initializing network-manager service :-)12:03
rsalvetithen you'll get everything working fine12:03
rsalvetiwith network12:03
rsalvetias I described at the bug already12:03
rsalvetiso if you bring that up before, starting the services, will probably get everything working12:04
ograrsalveti, i uploaded a hack already, waiting for approval12:05
rsalvetiogra: what did you do?12:05
ograrsalveti, just adding usb0 to /etc/network/interfaces12:05
ukleinekamitk: yes (Robert's my boss in case you don't know)12:06
ograthat prevents NM from managing it12:06
rsalvetiogra: hm, ok12:06
rsalvetiwill work but no valid network12:06
ograits a hack but will get us through beta12:06
amitkukleinek: I figured that might be the case :)12:06
rsalvetiyep, but if you give ifconfig usb0 up it'll work *with* network12:06
rsalvetiso, better hack12:06
rsalvetibut anyway12:06
ograrsalveti, well, it seems to work, i got the time from ntp during oem-config12:06
lagrsalveti: Eh?12:06
* rsalveti back to bed12:06
rsalvetiogra: oh, so cool12:07
rsalvetilag: what?12:07
ogrago to bed we need you fresh in the morning :)12:07
rsalvetiif you bring the interface up NM will not bring up/bring down while starting12:07
ograright, /e/n/i has the same effect12:07
rsalvetiwhat could have happened is that the new NM is doing this procedure to get info from the interface12:08
* persia thought it *was* morning12:08
rsalvetithat's why it wasn't happening before12:08
rsalvetiI'd say12:08
rsalvetiok, see ya in some hours :-)12:08
* rsalveti hopes to see a better image when starts working :-)12:09
ograwell, its still shaky12:09
persiarsalveti, Do I have the time wrong?  Is it 8am local for you?12:09
ograbut gets quite far12:09
rsalvetipersia: yep12:10
rsalveticool12:10
persiaAh, good.12:10
rsalvetilag: don't you have a working es1 already?12:10
rsalvetiI thought davidm would sent you one12:10
lagI have two borked ones12:10
rsalvetilag: two borked?12:10
lagYea, but HDMI doesn't work on the new one12:10
rsalvetiso you're the problem12:11
lagThey have different issues12:11
rsalvetilag: to reproduce this bug you don't need hdmi12:11
lagCorrect12:11
rsalvetijust ifconfig usb0 up/down12:11
lagThat's what I'm working on now12:11
lagYeah, I read it12:11
lagGo to bed ;)12:11
rsalvetiI tried to activate the debugging messages from the module but than I got a huge trace12:11
rsalvetiprobably wrong untested code at the debug messages12:12
rsalveti:-)12:12
rsalvetiok12:12
rsalvetisee ya12:12
* ogra dances around a working desktop 12:13
ograwohooo12:13
persia\o/12:14
lagOn ES1.0?12:15
ograstill way to many panels on my screen12:15
ogralag, yep, current image with some hacks12:15
lagGet it built12:15
ograwell, there is the paperwork ...12:16
ograits uploaded but someone needs to approve it12:16
ograand it will fail after reboot because of the issues with the old u-boot, we need the new one before beta12:16
=== zyga is now known as zyga-lunch
ograbug #62324212:17
ubot2Launchpad bug 623242 in pulseaudio (Ubuntu) "speex-float-1 provides poor performance on armel (affects: 1) (heat: 8)" [Low,Triaged] https://launchpad.net/bugs/62324212:17
* ogra_panda waves12:32
lagogra_panda == goon :)12:36
laghrw: Are you around?12:37
ograhey, i'm no bully !12:37
hrwlag: yes12:40
laghrw: What is the module which controls usb0 on the XM? Is it smc91x?12:41
hrwsmsc95xx?12:41
lagDo you know what it is on the Panda?12:41
=== zyga is now known as zyga-3g
laghrw: ?12:49
=== ian_brasil__ is now known as ian_brasil
ndecogra: hi. is maverick moving to connman or staying with nm?12:59
* ogra twiddles thimbs waiting for the daily archive admin to get up12:59
ograndec, *we* stay with NM12:59
ndecogra: thx.13:00
ogra(our images do)13:00
* persia grumbles. Why is fpc *still* not bootstrapped?13:04
zumbi_persia: i though it was13:14
zumbi_but maybe it is not, later upstream release had arm fixes13:15
persiazumbi_, It was in Debian, and there was a ticket to have it done in Ubuntu for lucid, and it hasn't been.13:15
persiazumbi_, feel like trying a bootstrap in Ubuntu, and see if it works?13:15
zumbi_persia: oh! ok, i was just talking with debian hat13:15
* persia tracks down the relevant bug number13:15
persiaheh13:16
persiabug #6754413:16
ubot2Launchpad bug 67544 in fpc (Debian) (and 2 other projects) "Bootstrapping needed for fpc for armel (heat: 5)" [Unknown,Fix released] https://launchpad.net/bugs/6754413:16
zumbi_persia: for testing ubuntu, is it maverick the right suite?13:22
lagogra: I think you'd best check the Kernel Mailing list13:22
persiaThat's the one we're working on just now.13:22
zumbi_i just setup 8 chroots for debian builds (4 suites for i386, amd64) adding a couple more won't hurt :)13:23
persiaOnly 8?  I'd have expected you to have armel and armhf build chroots as well.13:24
zumbi_persia: well this is x86 + cross builds; native arm stuff is in the stack, maybe in some weekend13:25
zumbi_and arm + qemu .. this is really becoming insane13:25
persiaheh.13:25
persiaarm+qemu is too painful13:26
zumbi_arm + qemu + croco13:26
persiamadness13:26
persiaI thought you had a few fairly fast settop boxes to play with though?  Why cross-build?13:26
zumbi_at work we cross build some stuff13:27
zumbi_usually cross building is very useful for kernels and custom applications13:27
persiafor kernels mostly because getting hardware with decent RAM is nigh impossible these days.13:28
persiaFor custom stuff, I still prefer native, unless working on deep embedded targets, but that might just be my prejudice.13:28
zumbi_for development, cross building helps you being faster13:29
persiaDepends on the HW you can get.13:29
persiaBut yeah, fast big RAM hardware is hard to find for ARM.13:29
zumbi_our hardware is PXA27013:30
persiaOuch.  Now your propensity to cross-build makes sense :)13:32
zumbi_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_amd6413:42
persiaheh13:42
zumbi_hrw: which are maverick cross compilers?13:43
zumbi_http://people.canonical.com/~hrw/ubuntu-maverick-armel-cross-compilers/ || http://ppa.launchpad.net/hrw/arm-cross-compiler/ubuntu ?13:43
hrwzumbi_: first13:47
hrwzumbi_: my ppa is empty now13:47
zumbi_thanks :)13:48
hrwin few hours there will be binutils + eglibc + linux headers + libgcc there13:49
zumbi_hrw: built with viro's changes?13:49
zumbi_(well, for the libgcc part)13:49
hrwno, I use ubuntu packages now13:52
hrwzumbi_: when 4.4.4-10(ubuntu1) will land then I will get Al's changes13:52
hrwzumbi_: Ubuntu versions have all I need now13:53
zumbi_ok, great! - viro's changes are very cool13:53
ogralag, for what ?13:57
lagThe USB issue13:57
lagOr information on said issue13:57
* ogra only sees 2 linaro pull requests 13:57
ograbah, sigh, why do people always need to add a ton of CCs13:58
lagogra: I told you the reason to that yesterday13:59
ograyeah, its still annoying13:59
lagNot everyone has the masses of spare time that you do ...14:00
ograyou cant properly reply to it, and it ends up in the wrong folders14:00
lagDepends on your filters14:00
ograevo filters on ML headers14:00
lags/mv/cp ;)14:00
lagML?14:00
ogramailing list14:01
hrwzumbi_: better check armel-cross-toolchain-base source package in my ppa14:04
lagAnyway ... we digress14:04
zumbi_hrw: i was asking for the maverick chroot setup, I would like to have in the maverick chroot official maverick cross compilers14:05
zumbi_hrw: i guess i need to check ppa source for the packaging (to get into Debian)14:05
lagzumbi_: Cross compilers?14:06
zumbi_hrw: I looked you were basically calling dpkg -x14:06
zumbi_lag: yeap14:06
lagWhy would you need to cross compile if you're in a chroot?14:07
zumbi_i am on an amd64 chroot wanting to cross compile a kernel, for example14:07
ograusen an armel chroot then ;)14:07
lagExactly14:08
zumbi_ogra: we talked on that arm+qemu+croco is nice, but only work for arm14:08
zumbi_i would like to keep qemu stuff aside14:08
hrwarmel chroot? its insane waste of resources14:08
ograzumbi_, sudo apt-get install qemu-arm-static, sudo qemu-debootstrap armel ...14:09
zumbi_hrw: they fake armel native compiler with cross compilers14:09
hrwogra: and wait 6h to build kernel?14:09
ograbetter than 18h on a beagle ;)14:09
laghrw: My armel builds take 20mins14:09
hrwworse then 0.5h with cross compiler14:09
ograor 16h on a qemu vm14:09
lagFrom scratch14:09
zumbi_E: Unable to locate package qemu-arm-static,14:10
ograzumbi_, lucid or maverick ?14:10
suihkulokkikernel is a special case, you dont need qemu or target arch userspace - just a crosscompiler14:10
hrwor debian?14:10
zumbi_hold on, i copied from your paste14:10
ograwell, debian has static packages too but differently named14:10
hrwsuihkulokki: to build other packages I can use xdeb14:10
zumbi_ogra: maverick14:11
hrwzumbi_: add universe14:11
ograyeah14:11
ograthough it might be that the transitional package was dropped ... qemu-arm-static points to a hilariously named qemu package14:12
suihkulokkihrw: sounds interesting.. where can I get it?14:12
ograqemu-kvm-extras-static14:12
hrwsuihkulokki: maverick/universe?14:12
ograthats the actual package name14:12
hrwsuihkulokki: but you also need cross compiler14:13
zumbi_suihkulokki: https://blueprints.launchpad.net/ubuntu/+spec/arm-m-xdeb-cross-compilation-environment14:13
hrwsuihkulokki: http://people.canonical.com/~hrw/ubuntu-maverick-armel-cross-compilers/ has ones14:13
zumbi_suihkulokki: xdeb is a rebranding of cjwatson work for chromeOS14:13
* hrw -> off14:14
=== hrw is now known as hrw|gone
zumbi_bye hrw|gone, and thanks :)14:14
zumbi_Failed to fetch http://aptcache:3142/uk.archive.ubuntu.com/ubuntu/pool/main/b/binfmt-support/binfmt-support_1.2.18_all.deb  Size mismatch14:15
zumbi_E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?14:15
hrw|gonezumbi_: once done I will discuss with #emdebian team to merge it to Debian14:15
hrw|goneal814:15
zumbi_hrw|gone: ok, thanks :)14:15
zumbi_ogra: on maverick, "sudo apt-get install qemu-arm-static" fails :/14:17
ograwell, try qemu-kvm-extras-static instead14:17
zumbi_uhm... i wonder if it is taking the one from the cache with it is a debian one14:17
ograqemu-arm-static was a transitional package14:17
zumbi_ogra: it was my aptcache fault14:19
ograah14:19
lagogra: Any ideas?14:23
lagsudo chroot /mnt114:23
lagchroot: cannot run command `/bin/bash': No such file or directory14:23
lagls -l /mnt1/bin/bash14:24
lag-rwxr-xr-x 1 root root 658216 2010-08-27 14:23 /mnt1/bin/bash14:24
ograhmm, no, check your mount options14:24
zumbi_ogra: btw, http://pastebin.com/k39xjk2Y14:24
ograzumbi_, heh, sorry typo14:24
lagogra: /dev/sdc2 on /mnt1 type ext3 (rw)14:24
ogra--arch armel was indeed the right one14:24
zumbi_i guess14:25
ograzumbi_, and all the other typical debootstrap options too14:25
ograthe script is just a wrapper around debootstrap14:25
ograto copy the static interpreter into your chroot14:25
lagogra:14:26
lagsudo chroot /mnt1 ls14:26
lagchroot: cannot run command `ls': No such file or directory14:26
ogralag, no idea, sorry14:27
lag:(14:27
ogramust have something to do with mounting i guess14:27
ograsince it works in your normal chroot14:27
lagIt _did_ work on the card14:29
ograoh, really ?14:29
lagI've just tried the card it used to work on14:29
ogranow thats weird14:29
lagSame thing14:29
lagYeah14:29
lag/dev/sdc2 on /media/549d738f-1c48-4c0a-a8d2-e12286a9fab1 type ext3 (rw,nosuid,nodev,uhelper=udisks)14:30
lagOh, this is the daily build14:30
lagThe last one was my homebrew14:30
ogranosuid,nodev ?14:30
lagI didn't specify it14:30
ograthats automounted by nautilus i guess14:30
lagYeah14:30
ogradont do that, the mount options in udisks prevent chrooting14:30
lagOkay, it still works with my homebrew14:31
lag/dev/sdc2 on /media/rootfs type ext3 (rw,nosuid,nodev,uhelper=udisks)14:32
lagThat works14:32
lagSame mount options14:32
lagHow does rootstock and the daily build differ?14:32
lagSD card too big?14:34
ograrootstock builds a tarball daily is a partitioned image14:34
lagDoesn't support HC devices?14:34
* rsalveti back14:35
lagrsalveti: It's bed time!14:36
ograrsalveti, 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)14:45
ograthen we should have relatively usable images14:45
rsalvetiogra: awesome14:46
rsalvetiogra: and how about the oem, gdm and efl session?14:46
rsalvetiis it all working now?14:46
ograno14:46
* rsalveti still reading the backlog14:46
ograoem-config had a crash after first reboot but worked for me on second14:46
rsalvetihm14:46
ograi havent researched that yet14:46
rsalvetiok14:47
ogragdm is just fine now after the usb0 hack14:47
rsalvetilet me download the latest image14:47
rsalvetinice14:47
ograit doesnt have the usb0 hack yet14:47
rsalvetiogra: is the 20100827 the latest?14:48
rsalvetihad that issue while browsing the webserver yesterday14:48
rsalvetiogra: np, I can change that by hand14:48
ograrsalveti, right 082714:49
=== dmart is now known as Guest61744
lagDoes anyone get the SYNC_LOST_DIGIT errors?14:51
ogranope14:51
rsalvetilag: with current kernel, yes14:52
rsalvetilag: with my LG monitor14:52
rsalvetithis can be fixed with latest hdmi patches14:52
rsalvetithat's why I'm maintaining my own kernel until we get rebased for 2.6.3514:52
lagWhen we get rebased, we won't be able to use ES1.0 any longer14:53
rsalvetilag: I know, but we didn't get the display patches merged because we thought we would have the new version one or two weeks ago14:55
rsalveti:-)14:55
rsalvetilag: 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-omap414:56
lagASSumption makes ASSes of people ;)14:56
rsalveti:-)14:56
=== bjf[afk] is now known as bjf
robclarklag: 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..15:02
=== Guest61744 is now known as dmart_
rsalvetirobclark: does it work with usb at es1?15:10
rsalvetirobclark: can you say what config should I set? so I can test the ethernet issue15:10
robclarkrsalveti: on es1, you need to use musb instead of ehci..15:11
robclarkso almost need two different defconfig's15:11
rsalvetihm, ok15:11
rsalvetimakes sense15:11
robclarkanyways, see CONFIG_OMAP4_ES115:12
rsalvetirobclark: nice, will try, thanks15:12
robclarknp15:12
rsalvetilag: any progress with the ethernet issue?15:12
lagOn ES1.0?15:13
rsalvetiyep, just wanted to know if you actually spent some time on that15:14
lagI haven't managed to get a shell yet15:14
rsalvetiwe have a workaround and will be switching to es2 (that works) soon, so not a high priority15:14
lagYes, do you know why it works?15:14
rsalvetiit's expected to work, the question is why it's not working on es115:15
lagUSB on the ES1.0 only works due to a hack15:15
rsalvetibut didn't dig further15:15
lagThere is a hardware bug on ES1.015:15
rsalvetiyep15:15
lagHence the stupid cable15:15
ograndec, bug 62324215:15
ubot2Launchpad bug 623242 in pulseaudio (Ubuntu) "speex-float-1 provides poor performance on armel (affects: 1) (heat: 8)" [Low,Triaged] https://launchpad.net/bugs/62324215:15
rsalvetilots related with usb15:15
lagWell ES2.0 doesn't need/have/contain that hack15:16
lagES1.0 uses the OTG port15:16
lagES2.0 uses true host15:16
rsalvetiyup, true15:17
lagrsalveti: I'm checking out your kernel now15:19
rsalvetilag: want the deb file?15:19
rsalvetihttp://people.canonical.com/~rsalveti/maverick/kernel/linux-image-2.6.34-903-omap4_2.6.34-903.7rsalveti1_armel.deb15:20
lagTa15:20
rsalvetiwith this kernel your lg monitor should work fine15:20
lagI have two monitors15:24
lagMy Phillips one just worked15:24
lagUntil the last couple of builds15:25
lagNow the SYNC_* happens every time on both monitors15:25
prpplagueho ho hum15:31
prpplaguedavidm: you on the conference call?15:33
ograprpplague, we all are15:34
ograwanna join ? :)15:34
prpplagueogra: i'm on15:34
ograoh15:34
davidmyes I am prpplague15:34
* prpplague keeps quiet15:34
lagParty on PSTN!15:34
ograprpplague, dont be shy !15:34
=== ian_brasil_ is now known as ian_brasil
lagogra: Snitch!15:41
lag;)15:41
ogra*g*15:41
rsalvetihm :-)15:41
lagrsalveti: I get SYNC_ errors, even with your kernel15:42
rsalvetilag: hm, this shouldn't happen15:42
lagI told you lot, it's screwed15:42
lagI know it _shouldn't_ happen15:42
lagUSB is borked on one, HDMI on the other!15:43
rsalvetihaha15:43
ogradid they tell you to only touch the boards with gloves ?15:46
prpplaguelag: which boards? panda15:47
rsalvetilol15:47
ograprpplague, es115:47
prpplagueahh15:47
lagYeah15:48
lagWe are caught in the middle of two boards at the moment15:48
lagrsalveti: Can you send me a paste of an "lsmod" on your Panda?15:49
rsalvetilag: es1 or es2?15:49
lag115:49
rsalvetilag: http://paste.ubuntu.com/484517/15:50
lagubuntu@panda:~$ ifconfig usb0 up15:51
lagusb0: ERROR while getting interface flags: No such device15:51
prpplagueodd, neither of those should be loaded for the panda15:51
rsalvetihm, do you have usb working?15:51
lagNope15:51
prpplaguelag: which kernel are you using?15:52
lagrsalveti's15:52
rsalvetiI have it working here15:52
lag*shrugs*15:52
prpplaguelag: you got the little black dongle plugged in?15:52
prpplaguedavidm: can you give me the url for that wiki page?15:54
laghttp://paste.ubuntu.com/484518/15:54
lagprpplague: Yep15:54
dcordeshey guys15:56
dcordesanybody using netbook interface on a touchscreen only device ? I am wodnering about on screen keyboard15:56
ogralag, !15:56
dcordesI used the onboard keyboard in karmic15:56
lagogra: Yes?15:56
rsalvetilag: http://paste.ubuntu.com/484521/15:57
* ogra just had the idea whats wrong with your chrooting :)15:57
rsalvetithe whole boot log15:57
ogralag, you need the interpreter in the SD15:57
rsalvetiusb 1-1.1: adding 1-1.1:1.0 (config #1, interface 0)15:57
rsalvetismsc95xx 1-1.1:1.0: usb_probe_interface15:57
rsalvetiwhen your usb is recognized you'll easily notice at the boot log15:57
ogralag, 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 beginning15:58
lagusbcore: registered new interface driver smsc95xx15:58
lagDoes that already exist in my home brew then?15:58
ogracheck for it :)15:59
ogravery likely15:59
dcordesa keyboard like this would be nice http://www.youtube.com/watch?v=viSW_RGXzwA16:00
lagogra: That worked16:02
ogra:)16:02
lagogra: Can we have it put into the daily build?16:02
ograsorry i should have thought of that earlier16:02
dcordesprpplague: you should put a redirect to the new page http://www.elinux.org/Panda_Bambo16:02
lagIf not, I'll just add it to my scripts16:03
ogralag, no, that would require it to be in main16:03
ograright, thats the best16:03
dcordesprpplague: and add internal link for PandaBoard16:03
prpplaguedcordes: mainly just there for early adopter feedback16:11
prpplaguehttp://www.elinux.org/Panda_Bamboo16:11
lagrsalveti: Can you dd your entire image (with USB working) and make it available to me please?16:11
dcordesprpplague: just saying16:13
prpplaguedcordes: yea16:14
prpplaguedcordes: i'll add more as i am allowed, hehe16:14
dcordesforgot my elinux login16:15
rsalvetilag: let me post my fat partition stuff and the rootfs tarball16:15
rsalvetihold on16:15
lagJust the rootfs would be good16:15
lagIn fact, screw it, I'll take both16:15
rsalvetiok, will ping you when I'm done16:16
lagThis is from my other board (the one USB is properly borked16:18
lagusb 1-1: device descriptor read/64, error -11016:18
lagusb 1-1: device descriptor read/64, error -11016:18
lagusb 1-1: device not accepting address 4, error -11016:18
lagusb 1-1: device not accepting address 5, error -11016:18
laghub 1-0:1.0: unable to enumerate USB device on port 116:18
sebjanogra: now that mainline u-boot is used, how is x-loader built? (still relying on old u-boot headers?)16:23
rsalvetisebjan: same way as before16:24
rsalvetiyep, I think it's included at the deb package as a patch16:24
ograsebjan, its still the same binary, but we plan to upgrade to the 1GB version16:24
ograwe'll have to see how that needs to be treated16:24
rsalvetibut even the latest one I'd say that needs the old headers16:24
* ogra would prefer to not have to carry a megabyte big patch for the headers16:24
sebjanrsalveti, ogra: ok, we still have a small dependency on the old u-boot sources then16:25
rsalvetiyup, at least it didn't compile with latest source from u-boot16:25
ograwell, in ubuntu i made a patch, the package doesnt use and u-boot tree directly16:25
rsalvetididn't waste too much time on that, but it seems the they changed a lot the headers16:26
sebjanogra: yes, I remember looking at this package, with a big patch for u-boot headers :)16:26
GrueMastersigh.  Today's image hangs.  Likely the network manager issue.16:29
ograright16:29
ograGrueMaster, next will work16:29
GrueMasterrespinning or tomorrow?16:29
ograGrueMaster, you shoudl just add usb0 to /e/n/i in advance16:29
ograthen you wont have the issue16:29
GrueMasterok16:29
ograGrueMaster, http://bazaar.launchpad.net/~ogra/jasper-initramfs/trunk/revision/6716:31
ograwas just stuck in the release queue until 20min ago16:31
GrueMasterperfect.16:31
ogranow i'm waiting for the linaro u-boot to get out of NEW and into main and i can re-roll images16:31
ograoh, and indeed i need to change the build scripts to make use of linaro u-boot :)16:32
rsalveti:-)16:33
rsalveticool, we're getting better16:33
GrueMasterThe jasper fix is just a bit of hackery to move the ball forward, I hope.16:36
rsalvetiGrueMaster: yup16:37
rsalvetiavoiding bring the usb0 down/up16:37
rsalvetiwill be fixed once we move to es216:37
rsalvetibut, not for beta16:37
GrueMasterah16:37
GrueMasterI 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.16:39
GrueMasterwhee.  it's alive!16:39
rsalvetiGrueMaster: ok, ping me when you're ready to test es216:39
GrueMasterAnytime.  I'm running today's image with the nic fix now.16:40
GrueMasterAll I need is the kernel package, uboot & xloader.  I can manually munge them into the es1 image from there.16:41
rsalvetiGrueMaster: ok, will just check latest cooloney kernel and let you know about it16:41
rsalvetilag: 5 minutes to go, tested here already16:41
lagRemind me what this problem is again: http://paste.ubuntu.com/484545/16:42
lagrsalveti: Thanks16:42
dcordeslag: use an initrd that will run fsck on the rootfs on every boot16:43
lagI make my own initrd16:43
lagHow do I tell it to do that?16:44
dcordesI bootl ike this16:44
dcordeshttp://htc-linux.org/wiki/index.php?title=Rootfs/Userfriendly16:44
lagI thought Jasper took care of that16:44
rsalvetiogra: ^16:44
ogralag, what image is that ?16:44
ograseems not the latest16:45
ogra(sorry i'm in the release meeting)16:45
lagIt's the daily build with my initrd16:45
dcordeslag: rootfs is in a file on vfat card and initrd will fsck on it on every boot. works bullet proof for me16:45
ogranot todays16:45
* lag checks16:45
dcordeslag: and it allows windows users to switch rootfs. hence the Userfriendly page title16:45
lagYes, todays16:46
lag-rw-r--r-- 1 root    root    2175791104 2010-08-27 08:04 maverick-preinstalled-netbook-armel+omap4.img16:46
ogralag, its not todays jasper16:46
ogralag, in any case, file a bug and attach that jasper lof16:46
ogra*log16:46
lagYou mean I have to update Jasper every day16:46
ograsorry, but i need to follow the meeting now16:46
ogralag, see my conversation with GrueMaster above16:47
dcordeslag: feel free to reuse anything of it16:47
ograthere were two jasper fixes uploaded the last 24h16:47
dcordesI need to ask the initial author of the script for license16:47
rsalvetilag: http://people.canonical.com/~rsalveti/maverick/lag/16:47
rsalvetirootfs and first partition content16:47
lagdcordes: Sorry, that's not going to help16:49
dcordeslag: hehe yes it's very hacky and I'm sure you will not release images that way16:50
ogralag, i suspect there is something wrong at build time, i need to research that before beta but have different issues with higher prio first16:51
ograso a bug will help16:51
lagogra: Don't worry about it - I'll file the bug and use rsalveti's image in the mean time16:51
ograk16:51
dcordeslag: personally I also used to put rootfilesystems on partitioned cards directly. but that method has many advantages16:51
lagdcordes: But we're don't going to use that method for our released images :)16:52
dcordeslag: yes as I anticipated I thought you wouldn't16:56
dcordesas it can be useful in certain cases it can't harm16:56
dcordesfor me it is a tool to supply people who are new to Linux with ubuntu for their cell phones16:57
GrueMasterhrm.  gdm is failing now.16:58
ograGrueMaster, after install ?16:58
ograworked here16:58
dcordesGrueMaster: in the latest maverick netbook build ?16:58
GrueMasterYes16:58
rsalvetiGrueMaster: any error?16:58
GrueMasterToday's current build + ogra's network fix.16:59
ogra_pandaweird16:59
dcordesGrueMaster: ok. I am preparing a rootfs with yesterday's .1 build16:59
ogra_pandaid definitely works here16:59
GrueMasterNone.  Startx works fine.  Will deep dive to see what's amiss.16:59
ogramy usualy question, is the system dbus running ?17:00
dcordesGrueMaster: is that network fix a user space thing ?17:00
GrueMasteryes17:01
rsalvetiogra: GrueMaster: weird, seems oem-config failed17:01
rsalvetigot the gdm screen directly17:01
ograrsalveti, reboot17:01
rsalvetioh, ok17:01
dcordesGrueMaster: where can it be found ?17:01
ograi saw that too, we will need to research17:01
ograbut only once out of three test installs17:01
dcordesogra: is there a mailing list or website to keep track of such things regarding latest maverick arm ?17:03
GrueMasterdcordes: Need to fix network in the omap4 image before second stage (oem-config) will boot.  http://paste.ubuntu.com/484552/17:03
dcordesGrueMaster: ah ok. that's not relevant to me17:04
dcordeshtc leo has usb net but I use it in host mode17:04
GrueMasterThat's my "fix it" script.  Run as root.17:04
rsalvetiogra: nops, gdm still17:04
rsalvetilet me get a console17:04
ogralook for a crash report in /var/crash17:04
lagrsalveti:17:05
lagubuntu@panda-maverick:~$ dmesg | grep -i smsc17:05
lagusbcore: registered new interface driver smsc95xx17:05
lagubuntu@panda-maverick:~$17:05
GrueMasterGah.  6 apport crash reports to wade through.17:05
GrueMasterNone are gdm17:05
ograwhat are they ?17:05
ograGrueMaster, oh, and are you on panda ?17:05
rsalvetilag: ok, but did you get the usb0 interface?17:05
dcordesogra: something like launch17:06
lagrsalveti: Nope17:06
lagrsalveti: That's the same message I get with my own builds17:06
dcordesogra: sorry. something like a launchpad page. or are you only using IRC to discuss such things ?17:06
GrueMasterUbuntu one service, indicator-session, gnome-disk-utility, and policy kit.17:06
ograPK is a bit worrying17:06
rsalvetilag: you're out of luck17:06
lagrsalveti: It can't 'just so happen' that USB is broken on two of my boards!!17:07
GrueMasterdcordes: 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.17:07
lagogra: What should I call this bug? In the title?17:08
GrueMasterlag: fyi:  you aren't supposed to lick the boards before booting.  Thought you should know.  :P17:08
lag"Jasper is borked"17:08
lagGrueMaster: Doh!17:09
dcordesGrueMaster: As I am going to do some work with yesterday's image I would like to contribute in that process17:09
ogralag, has nothing to do with jasper17:09
lagGrueMaster: But they're to tasty!17:09
dcordesGrueMaster: In that case I will just let you know here if I find something17:09
lagogra: What's the issue then?17:09
rsalvetiogra: there's one crash: ubiquity17:09
ografilesystem corruption17:09
lagWhat do I file it against then?17:09
ograrsalveti, open it (less)17:09
rsalvetilag: my current daily image went fine17:09
lagrsalveti: Good for you!17:09
rsalvetiogra: is it expected to break?17:09
lag;)17:09
rsalvetilag: I mean, without any fs corruption17:10
GrueMasterdcordes: 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.17:10
dcordesGrueMaster: cool.17:10
rsalvetiogra: weird: XStartupError: X server exited with return code 117:10
lagI'll leave it then17:11
lagIt's probably my borked boards17:11
ograrsalveti, nothing more ?17:11
lagI've had enough17:11
lagSee you on Monday!17:11
ogralag, against cdimage please17:11
rsalvetilag: haha, have a nice weekend! :-)17:11
GrueMasterlag: Go to the pub and have a cold one.  You've earned it.17:11
=== dmart_ is now known as dmart_|invisible
lagogra: You still want me to report it? rsalveti Said he's not had any trouble?17:12
lagGrueMaster: I intend to17:12
ograhmm, k, i guess once he looks into jasper.log he will see some ;)17:12
lagI think I'm just going to have to work on ES2.017:12
lagrsalveti: Do it17:12
lagless /var/log/jasper.log17:12
rsalvetilag: http://paste.ubuntu.com/484554/17:13
lagI'll leave it then17:14
lagI'm off17:14
lagHave a good weekend17:14
=== dmart_|invisible is now known as dmart
ograwohoo, i wasnt grilled :)17:15
ogradmart, that didnt work, i saw you *all* the time !17:15
ograrsalveti, oh, awesome !!!17:16
* ogra likes that log :D17:16
rsalveti:-)17:16
dmartheh17:16
ograrsalveti, but thats es2 with your own kernel, right ?17:17
rsalvetiogra: es1, with my kernel (only hdmi fixes), latest image17:17
rsalvetiwith ubs0 fix at jasper17:18
ograrsalveti, great17:18
ograthats calming17:18
rsalvetiweird, now I'm the one who is getting usb errors :-(17:18
dcordeswhat is the policy about joining a restricted team ?17:19
ograask the owner17:20
dcordesdavidm: ping17:22
ogradcordes, what team is that ?17:22
dcordesogra: ubuntu-armel17:23
ograyou need to be a core dev for that iirc17:24
dcordesok I will try to find a bug to report first ;)17:25
davidmdcordes, yes?17:25
davidmAh, ogra answered good enough17:25
dcordesdavidm: ok17:25
dcordesI like the well organized hierarchical development infrastructure17:27
GrueMasterogra: Seems like all 6 of the crash reports I have are Sig 5 crashes.17:27
rsalvetiogra: ok, after 3 reboots I got oem-config working17:27
rsalvetiprobably a racing condition17:27
rsalvetix and oem-config17:28
ograrsalveti, yeah, pretty sure17:28
rsalvetiinteresting, even with more ram ureadahead doesn't generate the pack file17:29
rsalvetiso, useless atm17:29
ogralet me guess, it exists with status 517:29
rsalvetidon't have the boot log17:30
rsalvetiogra: my host name is localhost but if I go the the logs, inside /var/log, I can still see the builder's name17:31
rsalvetisycamore17:31
rsalvetiat daemon.log, for example17:31
rsalvetior messages17:31
ograhmm17:31
* ogra goes to #ubuntu-installer i guess oem-config needs to restart rsyslog17:31
dcordesvery nice. htc leo touchscreen works out of the box with yesetrday's image. I suppose it is using evdev17:32
rsalvetiupdated the bug17:33
rsalvetioh now, another irc channel!17:33
rsalvetihahah17:33
ograheh17:33
dcordeswhat is the default login ?17:33
ogradcordes, the one you gave during oem-config17:34
dcordesogra: it booted straight to the login screen17:34
ograthen there si something wrong with jasper or the initrd17:34
ogra*is17:34
rsalvetiwell, installing :-)17:35
rsalvetioem-config window is smaller17:35
rsalvetican't read all the banner17:35
dcordesogra: Ok. I am not using the initrd. I extracted the second partition from the raw image and use it as bare rootfs.17:35
ograsmaller than the slideshow even, yeah17:35
rsalvetianyway, /me heads to lunch now17:35
ogradcordes, that wont work17:35
* dcordes reads up on oem-config17:36
ograyou *need* the initrd17:36
ograits an essential part17:36
dcordesok I will extract it and see what it does17:37
GrueMasterdcordes: YOu should just dd the entire image to an SD and let it boot.17:38
GrueMasterAfter gunzip of course.17:38
dcordesGrueMaster: 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 method17:39
GrueMaster?17:39
GrueMasterThis is about as user-friendly as it gets.17:39
dcordesGrueMaster: assuming user has Linux17:40
GrueMasterOk, before release we will add a link to something like https://launchpad.net/win32-image-writer for the windows crowd.17:41
dcordesfile uInitrd17:42
* ogra goes afk ... i'll come back later and chaneg the build scripts and trigger a build with the new u-boot17:43
GrueMasterSee you later.17:44
dcordesGrueMaster: That looks interesting, thanks17:44
dcordesGrueMaster: bye17:44
dcordesI cannot find how to extract uImage17:47
GrueMasterdcordes: I'm not going anywhere.17:49
GrueMasterWhy are you trying to extract uImage?17:49
dcordesGrueMaster: sorry.. of course your replied to ogra.17:50
dcordesGrueMaster: I want to find out what happens in oem-config . Can't see a wiki page on that17:51
dcordess/uImage/uInitrd/17:52
GrueMasterIt only prompts for timezone, keyboard, user info, and system name for the most part.  Beyond that it only removes packages needed for firstboot.17:52
GrueMasterAnd it isn't in uImage.17:52
dcordesOk. Yeah I confused uInitd with uImage there17:53
GrueMasteruImage 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.17:53
GrueMasteruImage is the kernel of course.17:54
GrueMasterIf you want to see what jasper does, it is here:  https://launchpad.net/ubuntu/+source/jasper-initramfs17:54
dcordesThanks. Reading the scripts17:56
dcordesmkdir -p /root/var/lib/oem-config17:59
dcordestouch /root/var/lib/oem-config/run17:59
GrueMasterSimple semaphore to signal oem-config to run.18:00
dcordesCan you also point me to the sources/scripts used in the initramfs (oem-configs and whatever else it does)18:01
rsalveti-pandayee18:02
rsalveti-pandacool, let's see how it goes on my es2 later on18:02
rsalveti-pandawrong bars still18:03
GrueMasterrsalveti: XM is running first-boot.  Wheee.18:03
GrueMasterErrr.  Fail.  Doesn't appear to have run jasper.18:04
GrueMasteroem-config is coming up, though.18:06
dcordesGrueMaster: Can you think of a way to run oem-config without the initramfs ?18:08
GrueMasteryes, just do what jasper does.18:09
GrueMastermkdir -p /var/lib/oem-config18:09
GrueMastertouch /var/lib/oem-config/run18:09
dcordesok18:10
dcordesGrueMaster: I will have to manually add a user first in order to run the commands18:14
dcordesGrueMaster: It will be better to automate it18:14
dcordesGrueMaster: is it a problem to have X running (the gdm login screen) when signaling oem-config to run ?18:19
GrueMasterWhy can't you just boot the entire image ant let it do it's thing?18:20
GrueMasterIt is already automated there.18:20
dcordesYes 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 suitable18:21
dcordesI could simply write the configuration in the shipped rootfs but that will cut the advantage of oem-config18:22
dcordesSo it will be best to put a mechanism that will call oem-config once on first boot18:22
dcordes(from the bare rootfs w/o initrd)18:22
GrueMasterHow are you getting the bare rootfs to the SD now?18:23
dcordesGrueMaster: like so http://htc-linux.org/wiki/index.php?title=Rootfs/Userfriendly18:23
dcordesThe vfat formatted storage card contains rootfs.ext2 which is loop mounted and ran using an initrd.18:25
GrueMasterI 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?18:27
dcordesYes, there is no u-boot18:28
=== fta_ is now known as fta
GrueMasterOur image has that.18:28
GrueMasterAnd xloader.18:28
dcordesGrueMaster: can you outline your boot chain ?18:30
GrueMasterhttp://testcases.qa.ubuntu.com/Install/ARM/PreinstalledImage has instructions from Linux.  Use the win32-imagewriter to write from Windows.18:30
GrueMasterAs to boot chain, I think it is documented in the blueprint https://blueprints.launchpad.net/ubuntu/+spec/preinstalled-sd-card-images-for-omap18:31
dcordesAwesome18:32
dcordesWhat I am wondering is how exactly the boot process operates from kernel execution to target rootfs init execution18:33
dcordesSo I can evaluate if I can implement it on my device18:33
GrueMasterEssentially, 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).18:36
GrueMasterAfter 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.18:38
GrueMasterOem-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.18:39
dcordesOk thank you very much18:39
dcordesAre you making use of kernel modules in the entire preparation process ?18:40
GrueMasterI don't think so.  Most are built in (audio, network, etc).18:41
GrueMasterI can't think of any that would need to be loaded by uInitrd.18:41
dcordesOk that's what I was wondering18:41
dcordesSo basically it seems like I can do that18:42
GrueMasterSome may get loaded after root is mounted./18:42
dcordes..on my device18:42
dcordesBut I will have to modify the initramfs18:42
dcordesMy bootloader can only load normal .cpio or .cpio.gz initrd18:43
GrueMasterwhat bootloader are you using?18:45
dcordesHaRET18:47
dcordeshttp://htc-linux.org/wiki/index.php?title=HaRET18:48
dcordesGrueMaster: where can I find the initramfs ingredients ?18:50
GrueMasterAre you running a linux desktop atm?  You can extract the entire thing with some manual trickery.18:51
=== DanaG1 is now known as DanaG
dcordesGrueMaster: yes I am running Lucid on my x86 laptop18:53
dcordesGrueMaster: I guess it has some uboot header I need to chop off ?18:54
dcordesweb searches wouldn't help me find how to18:54
GrueMasterYes.  dd bs=1 skp=64 if=uInitrd of=initrd.img18:54
GrueMasters/skp/skip18:54
GrueMasterThen zcat initrd | cpio -ivd18:55
dcordeshttp://htc-linux.org/wiki/index.php?title=Rootfs/Userfriendly&diff=prev&oldid=221318:57
dcordesOk thanks18:57
=== fta_ is now known as fta
GrueMasterrsalveti: 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.19:02
dcordesGrueMaster: gzip claims the resulting initrd.img is not in gzip format19:04
GrueMasterright.  Use zcat.19:04
GrueMasterThe above is exactly what I used and it worked.19:06
GrueMaster(although it should be zcat initrd.img |cpio -ivd ).  forgot the .img19:06
GrueMastergzip/gunzip fails for some reason, but zcat works.19:08
ukleinekGrueMaster: that's not because gzip without further option doesn't write to stdout?19:11
dcordesGrueMaster: Then something might be wrong on my end19:11
dcordesGrueMaster: http://pastebin.ca/192703219:13
GrueMasterWhat image are you pulling uInitrd from?19:17
GrueMasterhrm.  Seeing an issue with today's image now.19:17
dcordesGrueMaster: http://cdimage.ubuntu.com/ubuntu-netbook/ports/daily-preinstalled/20100826.1/maverick-preinstalled-netbook-armel+omap4.img.gz19:18
dcordesI have very slow internet19:19
GrueMasterYou should be using the omap image, not omap4 (unless your system is omap4).19:22
dcordesGrueMaster: Why ?19:25
GrueMasterDifferent systems.  Different kernels.19:25
GrueMasterRest of the image is the same.19:25
dcordesok then it does not matter as I use my own kernel19:25
dcordesGrueMaster: So what's foul with the uInitrd ?19:26
GrueMasterIf 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.19:26
GrueMasterI'm not sure what is up with the uInitrd.19:27
dcordesGrueMaster: 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 configuration19:30
dcordesGrueMaster: Which build has a uInitrd that you are able to convert ?19:36
dcordesGrueMaster: Is there no uInitrd 'source package' ?19:36
GrueMasterI don't know.  One of the older images.  I'm doing testing on multiple platforms.19:37
dcordesGrueMaster: I would like to look at the script that modifies the rootfs to perform the first boot oem-config19:39
GrueMasterThat would be jasper.19:39
dcordesmkdir -p /root/var/lib/oem-config19:41
dcordestouch /root/var/lib/oem-config/run19:41
dcordesall it has is that19:41
dcordesI perform that in my rootfs before boot and it will normally boot up to gdm login19:42
dcordes[...] "Oem-config is launched by init and if the semephore exists, will prompt for timezone, keyboard, and user info."19:42
dcordesthat doesn't seem to happen for me19:43
dcordesI greped jasper for oem-config and all it shows are those two lines plus the package dependency19:44
dcordesSo if I am missing something it is not in jasper19:44
dcordesogra: any hint ?19:44
dcordesrootfs# ls root/var/lib/oem-config19:51
dcordesrun19:51
dcordesIt is present but does not show the desired effect19:51
* dcordes drops a few pins20:03
dcordesoffice time over ?20:03
GrueMasterNo, just caught up in multiple tasks.20:04
dcordes:>20:04
dcordesGrueMaster: can you give me some extracted initramfs so I can go find the answer on my own ?20:05
GrueMasterI'll see what I can do.20:05
dcordesThanks20:06
=== fta_ is now known as fta
dcordesMy /etc/init.d/oem-config does not seem to check for semephore20:19
=== fta_ is now known as fta
dcordesI don't understand how this initramfs is such a mystery20:56
dcordeshow is it generated ? where are teh sources ?20:56
GrueMasterI 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.21:00
ogra_cmpcrsalveti, GrueMaster, http://cdimage.ubuntu.com/ubuntu-netbook/ports/daily-preinstalled/20100827.1/ there is an omap4 image with linaro u-boot21:22
rsalvetiogra_cmpc: great! was looking for it right now21:24
rsalvetieven better21:24
rsalvetiwant to look at the possible oem-config racing condition21:24
dcordesrsalveti, ogra_cmpc: I would like to have the bare rootfs start oem-config on first time boot21:28
rsalvetidcordes: rootstock does that for you21:28
ogra_cmpcright21:28
rsalvetiyou can check the code21:28
dcordeswhere is it ?21:29
ogra_cmpcin ubuntu, apt-get install rootstock21:29
dcordes'touch /root/var/lib/oem-config/run' alone does not do the trick. it will still boot to gdm login21:29
ogra_cmpcdid you read the code of jasper carefully ?21:30
dcordesI am not bootstrapping but still using the autobuild21:30
rsalvetidcordes: http://bazaar.launchpad.net/~project-rootstock-developers/project-rootstock/trunk/annotate/head:/rootstock#L113621:30
dcordesogra: grep -ri oem-config21:30
ogra_cmpcthats not reading21:30
ogra_cmpcread what the code does21:30
ogra_cmpcor use rootstock21:30
* ogra_cmpc now really ends thye day21:31
GrueMasterogra_cmpc: Have a good weekend (and a beer if you can).\21:32
dcordesrsalveti: it seems to me that is the part that will install oem-config . the preinstalled build I have here has that included already21:32
dcordesrsalveti: I am just about the init21:33
rsalvetidcordes: sorry, what are you trying to do?21:35
dcordesrsalveti: apply the 'first time boot oem-config magic' to rootfs extract from preinstall image21:37
dcordesrsalveti: (without initramfs)21:37
rsalvetidcordes: but I don't think you need initramfs to run oem-config21:38
rsalvetidoing what rootstock does is enough21:39
rsalvetiit'll be an upstart init file21:39
GrueMasterdcordes: Bear in mind that you need to start with either Alpha 3 image or 20100827 as anything in between had a broken oem-config.21:40
rsalvetiyup21:45
dcordesok thanks21:45
dcordesrsalveti: the interesting lines are21:46
dcordesapt-get install -y --no-install-recommends \$PACKAGE21:46
dcordestouch /var/lib/oem-config/run21:46
dcordesrm /usr/lib/ubiquity/plugins/ubi-tasks.py*21:47
dcordesright ?21:47
dcordesI basically did that before21:48
dcordesso it must be broken oem-config problem21:48
rsalvetidcordes: probably21:51
=== fta_ is now known as fta
DanaGfsck: Error 2 while executing fsck.btrfs for /dev/sde121:53
DanaGCan't use btrfs root.21:53
Baybal_hmmm21:53
=== bjf is now known as bjf[afk]
jcrigbyDanaG:I see in a pastebin that you posted a week ago the same problem I am seening.  Aug 20 00:50:08 <DanaG> hmm, ubuntu kernel fails on beagleboard: http://pastebin.com/WTjJgxgm22:01
jcrigby#22:02
jcrigby[    1.966705] WARNING: at /build/buildd/linux-linaro-2.6.35/arch/arm/mm/ioremap.c:207 __arm_ioremap_pfn_caller+0x20c/0x214()22:02
dcordesjcrigby: are you using the latest build ? It seems like development is moving fast here22:03
jcrigbyactually latest build -122:03
jcrigbyI maintain the linaro kernel that does not have the latest Ubuntu diffs22:03
jcrigbythe rcn patches from yesterday22:03
jcrigbydo those fix this problem?22:04
dcordesjcrigby: what's rcn patches ?22:06
jcrigbythree omap3 patches that went into ubuntu kernel yesterday22:07
dcordesjcrigby: can't comment there sorry. I only work with qualcomm devices now22:12
jcrigbydcordes, no problem22:13
dcordesjcrigby: why don't you use vanilla ?22:13
jcrigbydcordes, the linaro kernel is an upstream linaro-next kernel merged with ubuntu22:14
jcrigbywe have had display problems since the last merge and I'm trying to find out which upstream is the source of the problem22:15
=== fta_ is now known as fta
=== Baybal_ is now known as Baybal
dcordesaesome guys it works !23:30
rsalvetidcordes: cool23:36
dcordesrsalveti: thanks a lot for the help23:37
rsalvetinp23:38
dcordesrsalveti: first hurdle in removing hackiness taken23:43
dcordesrsalveti: now I need to sort out networking23:43
rsalvetibut nice anyway23:43
dcordesrsalveti: does the netbook interface have restrictions regarding resolution ?23:46
dcordesrsalveti: by default Xorg will give me portrait display i.e. 480x80023:46
rsalvetihm23:46
rsalvetinever tried23:46
dcordesoem-config finished, restart gdm and I only see the wallpaper23:47

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!