/srv/irclogs.ubuntu.com/2009/09/02/#ubuntu-arm.txt

NCommandertlee2, you have to use the mkimage command01:22
NCommandertlee2, we made that change to make other things in our backend work a bit more sanely :-)01:22
erikcorryAnyone awake?10:20
erikcorryI tried rootstock.10:21
erikcorryIt did a whooole lot of work.10:21
erikcorryI'm wondering if it made anything.10:21
erikcorryNo new files in current directory.10:21
erikcorryWhere should I be looking?10:21
ograthere should be files in the current dir10:27
ograwhat was the commandline you used, which release are you on ?10:27
erikcorryI'm running on a Hardy-based x86 host.10:29
erikcorrySo probably I'm hosed?10:29
erikcorrysudo ./rootstock -f name.example.com -l erikcorry -p foobar10:30
ograhardy is to old10:31
erikcorrydamn10:31
ograyou can bootstrap a jaunty chroot (using the jaunty debootstrap) and run rootstock inside there10:32
erikcorryOK10:32
ogra(well, hardy isnt necessarily to old, but i never tested it on hardy and didnt develop it on hardy so i wouldnt know what issues can come up there)10:32
erikcorryWhen it says I: Switching to Virtual Machine for second stage processing10:33
erikcorryI can't see anything.10:34
erikcorryWould I be able to see the VM running if I had my X display set up right?10:34
ogranope, it doesnt use graphical output10:35
ograit spawns the VM with a serial terminal and the script interacts through that with the VM10:35
ogramight be that hardy's qemu doesnt work for armel10:36
ograwe didnt support that arch back then, so i dont know if anyone paid attention to arm stuff10:37
ograthough if you say it switches to the VM, did you wait long enough ... it can take quite a while until it moves on10:38
erikcorryIt's running at 100% CPU so it's doing something.10:38
erikcorryI have qemu 0.9110:38
ograhow long did you wait yet10:39
erikcorry I waited a long time and it continued.10:39
ograah10:39
ograyeah, the qemu part is very slow10:39
erikcorryNow it's scrolled off the top of the scrollback buffer so I can't see what happened10:39
ograi hope to fix that for karmic10:39
erikcorryI'm running it again.10:39
erikcorryI'll report what happens.10:39
erikcorryIs it just because the qemu ARM emulator is slow?10:39
ograyeah10:40
erikcorryI: Unpacking required packages...10:41
ogralooks good :)10:41
ograjust let it run... make some coffee ... drink it ... take a walk and then look again :)10:42
loologra: Could you blacklist older dists in rootstock11:12
loologra: Also could you stop installing ubuntu-minimal by default?  It's pulled by debootstrap in all cases and breaks on Debian11:12
ograrootstock only builds for jaunty and karmic and is only packaged for karmic11:12
loolOh so it refuses a hardy target already ok11:13
ograi cant stop people from pulling from bzr11:13
loolWe could runtime check for the qemu version if that's the issue11:13
ogra-minimal was explicitly added as a no-op ... i didnt take debian into account back when i created rootstock11:14
ograthere is apparently no issue, its just the general slowness11:14
loolYeah could you make it "" instead of ubuntu-minimal?11:14
ograindeed11:14
loolCause it's always pulled11:14
ograthough it will still break on debian without additional changes i guess11:15
erikcorrydpkg: failed to write status record about `libxslt1.1' to `/var/lib/dpkg/status': No space left on device11:15
ogra$DIST defaulting to karmic for example (though you can override it)11:15
ograerikcorry, you picked the imagesize wrong11:16
ogratake a bigger value11:16
erikcorryYeah, I just let it use the default.11:16
erikcorry1G11:16
erikcorry4G is big enough?11:16
ografuture versions will properly compute the size they need based on the package selection11:16
ograwhat do you install ? a desktop will need 4G, yes11:17
erikcorryThx11:17
erikcorrystarting it again11:17
erikcorryI think I probably ran out of host disk space first time I ran it.11:17
erikcorryTarget disk space second time.11:17
ograoh, yeah, you will need some space for that on your host :)11:18
ograat least the amount of the imagesize11:18
ograplus whatever comes out of the script at the end as tarball11:18
ogra1.5 times imagesize should be a good measure11:19
ogralool, that will require more than ""11:27
ograogra@osiris:~/Devel/branches/rootstock-0.1.1$ LANG=C sudo apt-get -y install ""11:28
ograReading package lists... Done11:28
ograBuilding dependency tree11:28
ograReading state information... Done11:28
ograE: Couldn't find package11:28
loolYou need me to help fix that?  :)11:28
ogranah11:28
ografixed and pushed11:35
loolthanks11:36
erikcorrydpkg-preconfigure: unable to re-open stdin:11:55
erikcorryIt looks like it might be harmless11:55
erikcorryOK that didn't work.12:17
erikcorryLooks like my old Qemu isn't up to the task, as you predicted.12:17
erikcorryAny tips on making a jaunty chroot area with debootstrap?12:25
erikcorryhttps://help.ubuntu.com/community/DebootstrapChroot12:28
erikcorry" the debootstrap that is bundled with Hardy cannot prepare a Jaunty chroot."12:28
erikcorryDamn12:28
ograits just scripts ... you can pull the jaunty one and just dpkg -i it12:29
erikcorryIt seemed to build something anyway.12:31
erikcorryBut when I chroot into it apt-get doesn't work.12:31
erikcorry# apt-get install svn12:32
erikcorryReading package lists... Done12:32
erikcorryBuilding dependency tree... Done12:32
erikcorryE: Couldn't find package svn12:32
erikcorrydoh!12:32
erikcorryIt's called subversion12:32
erikcorryStandard debootstrap from jaunty doesn't seem to have a script for karmic.13:44
ograno, for jaunty13:44
erikcorryBut if I want the latest greatest ARM stuff I have to use karmic, right?13:44
ograif you want the unstable arm stuff you want karmic :)13:44
erikcorryFor some reason the debootstrap I had on hardy already had that script.13:44
ograindeed that also has the latest and greatest13:44
erikcorryIs there any other kind of arm stuff?13:45
erikcorry:-)13:45
ograheh13:45
erikcorryWhat's the best way to upgrade one single package?  Just download it as a deb or should I do something to my sources.list file?13:46
erikcorrySorry about all these newbie questions.13:47
ograwhat package ?13:49
erikcorryIt's OK.13:50
erikcorryI found a newer debootstrap than the one that came with jaunty and installed it.13:50
erikcorryNow I have the karmic script.13:50
ograok13:51
erikcorryEnhancement request for rootstock:  If the /usr/share/debootstrap/scripts/karmic file is not there then give a good error message.13:52
ograit does if the debootstrap version isnt right13:52
erikcorryDebootstrap was newer than 1.0.1013:52
erikcorryWhich I think is what it tests for.13:53
ograit looks for something that can build jaunty13:53
ograin karmic it is packaged and the package depends hard on the right version13:53
erikcorryBut the -d option defaults to karmic13:53
erikcorryThe standard debootstrap in jaunty is 1.0.12 which can't build karmic.13:54
erikcorryThe 1.0.13~jaunty1_all version can13:54
ograright, but i dont want to force jaunty users to update debootstrap, they should use -d jaunty13:56
erikcorryWhatever -d option they use that should be the one that you check for in /usr/share/debootstrap/scripts/13:56
erikcorryAt the moment it bombs out with a cryptic error message and leaves the image mounted.13:57
ograthats a bug indeed13:57
ograit should clean up after itself13:57
ograi will make $DIST default to the host distro and make it throw an error if its pre jaunty13:58
erikcorryBut you do expect that one can build a karmic ARM system on a Jaunty host?14:01
loolIf you install debootstrap probably14:01
ograsure14:02
ograand thats why the script has a -d option14:02
ograthe default for that options is picked wrong though14:02
erikcorryI sent you a patch.14:07
ograoh, thanks !14:08
erikcorryIt's not tested :-/14:08
erikcorryIt's just to illustrate what I mean.14:08
* ogra waits for it 14:08
ograessentially it should just be: DIST=$(lsb_release -cs)14:08
ograand probably an error message telling you you cant build for future distros without future debootstrap14:09
ograah, there it is14:09
ograperfect, that and the lsb_release change together will make it work right14:10
* ogra adds that to bzr14:10
ograerikcorry, mind if i move that check a bit earlier so it fails before it actually uses diskspace ?14:13
ogracommitted and pushed14:15
erikcorrySounds fine.14:18
=== bjf-afk is now known as bjf-
=== bjf- is now known as bjf
NCommanderlool, ogra, would you like to look over my flash-kernel changes? (I'm about to do an install with them in place to make sure they work as excepted, but I'd like any input: http://paste.ubuntu.com/263860/)16:13
zulhi has anyone seen bug #41631316:23
ubot4Launchpad bug 416313 in samba "On samba of ubuntu-arm, large file copy fails " [Undecided,New] https://launchpad.net/bugs/41631316:23
=== bjf is now known as bjf-afk
loologra: You kicked some live builds?16:55
loolI mean livefs16:55
tleeogra:  How do I use hte linux-mvl-dove from uboot?17:24
ograNCommander, ^^^17:24
NCommandertlee, is your root filesystem ext2 or ext3?17:24
NCommanderIf the answer is no, then you can't load it directly :-/17:24
tleeext3 on sata17:24
NCommanderWell17:24
NCommanderThat will work :-)17:25
NCommandertlee, are you using a separate boot partition or no?17:25
tleeyes.17:25
tleeI can configure it anyway you like.17:25
* NCommander thinks he just found a test victim :-)17:25
tleeIs there a wiki howto?17:25
NCommandertlee, its not fully up to dat eyet, I'm currently working on extending u-boot's boot scripts to automatically scan usb and SATA HDDs for the ubuntu boot.scr file :-)17:26
tleetlee thinks he just been victimized.  :-)17:26
tleeI play with boot.scr before.17:26
NCommandertlee, we do have working live images, but the installer kinda fubar'ed17:26
NCommandertlee, http://people.canonical.com/~mcasadevall/karmic-desktop-armel+dove.img17:26
NCommandertlee, download that, stick it on a pendrive, and then you can start the live environment :-)17:27
tleeWhich uboot do I need to support this scan function?17:27
NCommandertlee, the one I haven't written yet ;-)17:27
tleeWould the default Y0 uboot work? (Whatever default means...)17:28
NCommandertlee, (I'm working off the Marvelll 4.2.3 source drop with a few patches to turn the Hush shell on)17:28
NCommandertlee, you need Y0 4.2.317:28
NCommander(check the version string)17:28
tleeWill check which one I have now.17:28
NCommanderbut thats just to start the live image, I'll have a new u-boot binary that sits in NAND flash (vs. spi-nor) which handles the scanning17:28
tleeNCommander, my uboot is  4.1.7.  Do I get the updated uboot from u?17:40
tleeor MVL17:40
NCommandertlee, I'm not sure if I can post u-boot binaries or not17:40
NCommanderbut you'll need a newer one :-/17:40
tleeWill email u....17:41
=== bjf-afk is now known as bjf
armin76NCommander: what is a dove board? :)19:02
ograarmin76, upcoming hardware19:03
armin76rabeeh: i want one :P19:04
suihkulokkiwithout knowing what it is? :)19:04
rjune_suihkulokki: it's new, therefore it must be cool19:05
ograsuihkulokki, be sure you want one too once they are on the market19:05
NCommanderarmin76, wow, your a real ARM diehard :-)19:05
NCommanderarmin76, :-)19:05
armin76NCommander: i always like to try new stuff :)19:05
NCommanderarmin76, I should send you my MIPS laptop19:10
armin76NCommander: got bored of it? :)19:17
NCommanderarmin76, it doesn't work too well with lenny19:17
NCommanderand the Xorg I need is still stuck in sid I think19:17
NCommanderand sid is extra broken recently19:17
=== bjf is now known as bjf-afk
=== cbrake is now known as cbrake_away

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