/srv/irclogs.ubuntu.com/2010/01/23/#ubuntu-arm.txt

ograhrm10:56
ograwith the latest dist-upgrade my babbage hangs somewhere in the init-bottom scripts10:56
ograwow, i cant even chroot into the disk anymore from initramfs11:37
armin76you broke it12:04
ograyeah, definately12:06
ograno way to get it booting again12:06
ograsigh13:21
ogragrrr and cdimage isnt reachable through rsync13:24
* ogra goes mad13:24
* persia provides ogra with a tea in which to dip himself13:35
ograheh13:55
ograi really dont get what broke it13:56
ogralooks like upstart hangs13:56
persiaupstart hangs?14:03
persiaMaybe set init to strace upstart? :)14:03
ograwell, if i boot without initramfs its hangs at Freeing init memory: 176K14:04
ograno output afterwards at all14:04
persiaOK.  What if you boot with init=/bin/bash without initramfs?14:09
ogradidnt try that yet, i'm just checking what updates come on a 1day old livefs14:09
ograsince it stopped booting after apt-get dist-upgrade14:09
ograbut there is nothing noticeable ...14:10
ograi removed plymouth from disk already14:10
ograbusybox-initramfs cant be it since i did boot without initramfs14:10
ograand the rest are desktop libs14:10
persiaThat shouldn't have done much: I heard it didn't work for non-intel FBs right now.14:10
ograwell, plars said he sees a splash14:11
ogra(on dove)14:11
persiaI know.  I don't understand why.14:11
persiaBut slangasek said he didn't (on some non-intel x86 box)14:11
persiaAnd that he was trying to sort it, and suspected it was intel-only.14:11
persiaBut my knowledge of plymouth stops after configure runs :)14:12
ograhttp://paste.ubuntu.com/361263/ thats what apt-get dist-upgrade on a running livefs gets me14:12
ogranot sure what libbsd0 does14:12
ograseems its in standard14:13
persiaIt's some random BSD-only stdlib stuff that doesn't appear in linux.14:13
* ogra tries what happens if he uses the redboot setup from teh livefs to boot 14:14
persiaI don't see anything there that should break it either :(14:14
ograBegin: Running /scripts/init-bottom ...14:16
ograDone.14:16
ograhangs ...14:16
ograthe funbs stuff is, it doesnt actually hang hard or something14:16
ograi have a cursor and pressing enter moves it on the screen14:17
persiaCool!14:18
ograits just that init doesnt seem to proceed14:18
persiaset -x ?14:18
ograin init ?14:18
ograits a binary, not a script14:18
persiaAh, I missed the "Done."14:18
ograyeah14:19
ograFreeing init memory: 176K doesnt show up if using an initramfs14:19
ograi'll try /bin/bash14:19
ograbash: cannot set terminal process group (-1): Inappropriate ioctl for device14:20
ograbash: no job control in this shell14:20
ograroot@(none):/#14:20
ograworks14:21
persiaOK, so it's not the kernel.14:21
ograno, else i wouldnt get into busybox either14:21
ograi can properly break and the like14:21
ograits also not uboot14:22
ograsince redboot shows the same bahavior14:22
ogra*be14:22
persiabootloader shouldn't be affecting anything post-kernel load anyway.14:22
ograif the HW is wrongly initialized it does14:23
ograelse we wouldnt have issues with the NIC ion uboot :)14:23
ogra*in14:23
persiaWell, that's HW interfaces.  I like to live in a happy little world where userspace apps just talk to each other.  Sometimes USB HID is permitted.14:24
persiaBut yeah, blame upstart.  See if there's some debug mode: perhaps you can get it to output which job it's trying when it hangs.14:25
ograwell, either upstart or the first script that runs or so14:26
ograi dont get to fsck14:26
ograand i dont see the mount /dev to none error message14:26
persiaRight, but for both cases you need upstart debug messages.14:27
persiaOr strace14:27
ogragah, running dhclient in init=/bin/bash mode isnt such a good idea14:27
persia(can one strace init on boot?  That would be very helpful to determine the issue, since it's likely to be either exec(...) or some HW call.14:27
ograno job control ... no ctrl-c14:27
persiaheh.  No!14:27
* ogra reboots14:28
ograi think you can start init from bash in that setup somehow, Keybuk has magic commands for that14:28
ograbut i dont know them14:28
ograoh14:29
persia`strace /sbin/init` ?14:29
ogramy mtab is totally messy14:29
ograwrite(2, "init: Failed to connect to socke"..., 74init: Failed to connect to socket /com/ubuntu/upstart: Connection refused14:30
ogra) = 7414:30
ograpfft14:30
persiaTry asking in #upstart.  Might be some leftover upstream around.14:30
ograi can wait for monday too :)14:31
ograi wouldnt see why upstart should suddenly stop working14:31
ograespecially since it works in the live image14:31
persiaAre there any update-initramfs calls that happen with apt-get dist-upgrade?14:32
ograyes, plymouth enforces them14:32
ograbut i'm currently booting a live initramfs14:33
persiaThen get plymouth out before you upgrade, and see if that works.14:33
ograalready done14:33
ogralong ago14:33
persiamount, chroot :)14:33
ograthat was my first setp :)14:33
ogra*step14:33
persiaAh.14:33
ograsince indeed i did install plymouth yesterday14:33
persiaBut you've already messed up the initramfs.14:33
ograand then ran a dist-upgrade later14:33
persiaThanks for that, by the way.  I'd think it'd be cool if it worked.14:34
ograno, i have plenty of initramfses around14:34
ogralots of backups14:34
persiaWell, stuff in a working initramfs, and try to boot :)14:34
ograits definately nothing in the initramfs14:34
ograthe live initramfs boots the live system just fine14:34
ograso why shouldnt it boot my SATA disk14:35
ograand in the livefs plymouth is the older version14:35
persiaThe *same* initramfs can't boot your drive?  Something is seriously wonky.14:35
ograyes14:35
ograbut the issue has to be on the drive14:35
* ogra removes the messy mtab14:36
ograand rebbots ...14:36
ograiirc the first thing that runs on boot is mountall14:37
ogranope, mtab didnt help14:38
asac_hey ...14:39
asac_weekend reminder ;)14:39
ograbah ..14:39
ografix my board and i can sleep tonight :)14:39
ograroot@(none):/# cat /etc/init/mountall.conf14:46
ograroot@(none):/#14:46
ograhmm14:46
persiaheh14:47
asac_ogra: you shouldnt have tried to upgrade just today ;)14:48
asac_j.k.14:49
asac_dont know whats going on14:49
ograasac_, i left it running yesterday14:49
asac_still wrestling ffox14:49
ograwhen i got up today i just wanted to take a look14:49
ograDone.14:49
ogramountall: Could not connect to Plymouth14:49
ografsck from util-linux-ng 2.1614:49
ograe2fsck 1.41.9 (22-Aug-2009)14:49
ogra/dev/sda6: clean, 146974/2321984 files, 1007361/9277521 blocks14:49
* ogra dances14:49
ografinally !14:49
asac_cheers14:49
asac_https://edge.launchpad.net/ubuntu/lucid/+queue?queue_text=chromium-browser#14:50
asac_;)14:50
ogradoesnt seem to move further though14:50
asac_archive admins are laggers :)14:50
ograheh14:50
asac_12h14:50
asac_;)14:50
ograhmm, i suspect there is more trashed in /etc/init/14:50
ogracrap14:50
persiaasac_: None of the archive admins have signed up for saturday or sunday as archive admin days.  You'll probably have to wait until Monday.14:55
asac_i know14:57
persiaSo, how are they laggers?14:58
persiaYou could volunteer to be an archive admin :)14:58
ograpersia, they didnt approve it last night before finishing their day14:58
persiaand then you could pick one of the unclaimed days ...14:58
ograindeed they are laggers :)14:58
* persia does a timezone check14:59
ograit surely was in the queue for at least 1h before the last AA left :)14:59
persiaFriday needs a backup archive-admin, it only has one.14:59
persiaTuesday would also qualify for a backup, but doesn't need one.14:59
ograbah, i'll do a reinstall on monday ... there is more broken than i thought ...15:20
ograalways hitting the reset button when working on bootloaders doesnt do good to a filesystem :P15:21
ograthough i thought ext4 was more robust15:21
asac_ogra: what error are you getting?15:43
asac_my usb-storage issues also complained about ext4 issues15:43
ograi havent got any errors15:44
ograi have some zero byte files15:44
ograbut its to late now, i wiped the partition15:44
ograi threatened the disk really hard the last two weeks though ... its no wonder that there are corrupted files15:45
ograabout 50 resets per day or so15:45
ogranever shot it down properly15:46
ograasac_, our uboot installation will cause a lot more issues than we had yet btw15:47
ograit just struck me that we need to teach ubiquity that /boot can *only* live on an SD card15:48
ograi dont think there is any code in partman that could do that yet15:48
ograthat will be a huge task to implement15:48
asac_unless we also want to put the images directly to the boot floppy as a backup15:49
ograwell, still the "boot floppy" has to be the SD15:49
asac_no15:49
asac_well15:49
asac_yes15:49
ogra?15:49
ograthe babbage can only boot from Sd or flash15:49
asac_not on fs ... just behind the master boot record15:49
asac_raw data15:49
ograand flash is to small to hold more than a bootloader15:50
asac_so flash-kernel will do it15:50
asac_right15:50
asac_but how does redboot do it?15:50
ograredboot doesnt cerate /boot15:50
ograraw fis partition15:50
asac_but where does it put the stuff?15:50
asac_right15:50
ograwhich we dont have15:50
asac_so thats the equivalent we could do as a fall back15:50
ograwith uboot15:50
ograhrm15:51
ograwe already have a /boot partition15:51
ograwhy use two15:51
ograwe need to re-use that /boot partition anyway15:51
asac_yes. what i mean is: make the non-fs data partition bigger and put it in there as raw data if we dont find it through the boot.scr looping15:51
ograbut we need to teach partman and ubiquity that this is the only option15:51
asac_does redboot support usb?15:52
ograno15:52
ograthats why we took the bootfloppy approach with it15:52
asac_anyway15:52
ograuboot will just make everything a lot more complicated15:52
asac_ogra: right. i mean we can do both15:52
asac_would be waste sure15:52
ograsure, but that doesnt go into flash-kernel15:52
asac_but if ubiquity fix is too hard15:52
ograwell, it has to go into ubiquity15:53
asac_flash-kernel updates the data in the fis partition, right?15:53
ograright15:53
ograand not right :)15:53
asac_thats waht flash-kernel would do for uboot ... just put it in the no-fs data15:53
ogradepends where you look at15:53
asac_ok15:53
ograin the installer it uses the postinst from the package instead15:53
ograthat would be the complex part15:53
ograadditionally /boot as vfat in the installed system wont work15:54
asac_something else ... can we grep sed etc. something in hushshell?15:54
ograi did some tests and update-initramfs gets very unhappy15:54
asac_e.g. basically parsing numberes out of command output?15:54
ograno, no grep, no sed15:54
ograhush only has loops and conditionals15:54
ograand the test binary15:55
asac_i didnt expect them to be there ... just hoped it had some syntax for parsing stuff15:55
asac_ok15:55
asac_why do we go for uboot again?15:55
asac_;)15:55
ograbecause david wants it :P15:55
asac_whats his motivation?15:55
ograhe thinks we gain anything if we can put multiple kernels into /boot15:55
asac_i thoguth we told fsl to move there and now they moved there and we have to follow15:55
ograwhich is very hard to do (not impossible though) with a fis partition15:56
asac_yeah i see that15:56
ograyou can do it indeed15:56
ograbut you wont be able to easily select15:56
asac_i mean the gain from multiple kernels15:56
ografallback15:56
asac_but we need framebuffer in uboot to make that really useful for normal users15:56
ograalso if you write to fis and power off the board, your bootloader setup is trashed15:56
asac_(as you properly mentioned at some point)15:57
ograyeah15:57
ograthe power-off scenario is the one that bothers david most15:57
asac_thats true. imo you would just another set of fallback fis partitions15:57
asac_and then you have at least 215:57
ograbut effectively, the more i work on our uboot i notice drawbacks15:57
asac_which should resolve that15:57
ograuboot is definately slower in loading15:58
asac_well. uboot is buggy. that lets one think its all crap ;)15:58
ogralikely because of the FS inbetween15:58
asac_if it works and has usb support that would be great15:58
ograyeah15:58
ograi dont say its bad15:58
asac_ogra: uboot is probably slower because the mmc code is busted15:58
asac_loading the raw dat wasnt fast either15:58
ograbut loading kernel and initramfs takes abouot twice as long15:58
asac_i managed to load a 2M kernel with mmc read15:58
asac_and that took about 5 seconds (optimistically measured)15:58
ogradid you compare to redboot15:59
asac_but since we get hangs i wonder if thats really a generic mmc bug15:59
asac_yes, it should be really fast15:59
asac_< 1s15:59
ograthe time we load the kernel and initramfs the user sits in front of a black screen15:59
asac_there is something fishy with the mmc part i am 98% sure15:59
ograi noticed i get impatient since  using uboot15:59
ograi doubt that15:59
ograyou simply have an additional layer between you and the data15:59
asac_how can you doubt that? loading 2M with rad mmc read15:59
asac_taking 5 seconds means that the mmc driver is busted16:00
asac_ogra: i am not talking about fatload16:00
ograhmm, k16:00
ograwith the 2009.01 uboot ?16:00
asac_do this: type mmc read 0x90008000 300016:00
asac_or something16:00
asac_dont have help mmc at hand16:00
ograi'm only takling about .0116:00
asac_ogra: i only tried it on .0816:00
ogracurrently i cant, just running a reinstall16:00
asac_the blk number * 512 is the size16:01
asac_so 2048 is 1M16:01
asac_try to load that to some random address16:01
asac_if its fast then its fat16:01
ograwill do16:01
ograwe cant use fat in the installation anyway16:01
asac_we cant?16:01
ograupdate-initramfs gets very unhappy16:01
asac_how?16:02
asac_we should fix that16:02
ograit tries to do hardlinks in /boot for the backup files16:02
asac_isnt fat even included in default initram?16:02
ograi'm talking about *update*-initramfs :)16:02
ogranot the initramfs itself16:02
asac_the hardlinks are temporary?16:03
asac_i dont se them in my /boot16:03
ograyup16:03
ograits during the .bak file creation16:03
ograbut surely has a speed reason that hardlinks are used16:03
ograbeyond that se should have vmlinuz and initrd.img symlinks that point to the current kernel16:04
ograwhich isnt possible either on vfat16:04
ograso during install we should reformat the SD /boot partition to ext216:04
ograwhich sadly means we wipe it, which in turn adds another risk like the power-off scenario david fears so much16:05
ogra(only during install indeed, not for every kernel update or re-rolled initramfs)16:06
asac_so dove uboot supports ext3/4 or what?16:06
ograno, it uses ext216:06
ograbut that can be anywhere (ide, usb, MMC)16:06
asac_but it uses fat on the live image?16:07
ograand it doesnt re-use the installation media16:07
asac_or ext2 there too?16:07
ograi think so16:07
ografat16:07
ograbut as i said, you dont re-use the same media16:07
ograits differnt16:07
asac_we have at least 1 spare place for another partition on our live image in worst case16:07
ograsure16:08
ograbut they will show up on your desktop :)16:08
asac_so we could simulate that, just that we have a special partition on the live disk because we cant do usb etc.16:08
asac_i will ask freescale whats up with usb support16:08
asac_maybe its really just filling in right numbers etc16:08
ografar out ... last time i asked16:08
ograno direver was written yet16:08
asac_hmm ok16:08
ograbut indeed we should ask16:09
ograi asked at UDS time last time16:09
asac_maybe we should stop shipping images, but rather a image builder that allows to reproduce our exact "release" images and many more thing ;)16:10
ograheh16:11
ograthat was the initial approach of rootstock16:11
asac_yes. something like that16:11
asac_just much more professional16:11
ograthat was the initial approach of rootstock :)16:11
asac_well ... professional in a way that i covers the whole stack16:11
ograrotostock was only a quick first approach16:11
asac_from fs production to image for target device16:11
asac_i know16:12
ograright16:12
ograthat were my plans16:12
ograbut they always fell over because of other more important specs16:12
ograor because the images didnt work or... or ...16:12
ograalways something that stopped work on it16:12
asac_right. so we should kill the images and focus on that ;) j.k.16:12
ograheh16:13
asac_but a good idea imo16:13
ograwe might be able next release, who knows16:13
ograhrm, whats up with that installer16:13
ogradoesnt run16:13
asac_sigh16:13
ograi thought partman was fixed16:14
asac_now that dove is fixed, imx51 is broken? ;)16:14
ograits not arch specific16:14
asac_joking16:14
ograthe partman bug was there in A2 already16:14
asac_not sure if you were here still ... the images work again now ... the bootchartgui hangs  turned out to be triggered by outdated .pyc files of the previous python ;)16:15
asac_the import uno hang feels like its caused because of our libgcc3_uno.so.jaunty to me16:16
asac_which i found out is pulled in by that import16:16
asac_uno == ooo16:17
asac_dove really feels like a bloody minefield to me :-P16:17
ograyeah, i read the backlog16:17
ograit is16:17
ograthe prob is that the silicon often doesnt fulfill the actually promoted features16:18
asac_seems if everything is working right, then all is fine16:18
asac_but if stuff that isnt expected happens, it goes mad16:18
ograimx51 has its own issues though16:18
ogralike being behind on kernel or software being not ready (see uboot)16:18
asac_too bad ... so the fact that there were still firefox packages in hardy/dapper didnt help16:18
asac_the source is in new :(16:19
ograthat hit us way harder in the last reelases16:19
ograthe luck with imx51 vs dove this time is that the silicon doesnt change anymore16:19
ograso for you it feels like dove is a minefield :)16:20
ograbut it was both arches behaving like that in the last releases16:20
asac_yeah. i can bet that16:20
asac_i think we could have done better16:21
asac_doko for instance need both boards16:21
asac_if thta was the case he would have noticed that dove hangs before uploading the thumb2 switch16:21
ograyeah16:21
asac_otherwise ncommander or someone else should have checked that16:21
ograwell, but thzumb2 was advertised by the vendor16:21
asac_;)16:21
ograso whom do you trust :)16:22
ogragrumble ...16:24
ograinstall doesnt want to start16:24
asac_ogra: so how was lost?16:31
asac_;)16:31
ogragreat :)16:31
asac_is that on kabel 1?16:31
ograyeah, the new episodes are on K!16:31
ograK116:31
asac_the new season starts while we are in portland :)16:31
asac_unfortunately final season16:31
ograno, thats one season ahead of us16:32
ograwe have 5 here16:32
asac_yes, i am tracking US ;)16:32
ograwhen we're in portland 6 starts in the US16:32
ograah16:32
asac_already have seen all ;)16:32
ograheh16:32
asac_unforunately16:32
asac_but fortunately too16:32
ograi'm pondering a HD+ reciever to watch them in HD16:32
asac_the voices are really better in original16:32
ograas usual16:32
ograbut i watch them with susie16:33
asac_heh16:33
ograhe english doesnt suffice :)16:33
asac_i can give you the full collection ;)16:33
ograbut not dubbed :)16:33
asac_noo16:33
asac_subtitles are good for her ;)16:33
ograheh16:34
ograbut i would have to type them16:34
asac_she has to catch up on reading chars compared to you ;)16:34
ograheh16:34
ograbut i have to translate *and* to type16:34
asac_there are probably subtitles somewhere on the net16:34
ograyeah, likely16:35
ogratoo much effort though ...16:35
asac_just need to figure how to sync them with the tv broadcast ;)16:35
asac_so might be a bit off at first :)16:35
ogramy PVR is programmed and records it every week now16:35
ograwe'll just watch them if it fits16:35
asac_ah16:36
asac_does that cut out ads?16:36
ograno, but it has a fast forward button :)16:36
ograand timeshift16:37
asac_i wonder if chromium will have to go to non-free in debian16:37
ograso for live TV i just have to start watching a little later16:37
ograbecause of the licenses ?16:37
asac_they rejected my modemmanager upload because i didnt listed one copyright holder in the whole tree ;)16:37
asac_yes16:37
ograheh16:37
asac_there are a bunch of files with just license, but without copyright holder16:37
asac_the licenses can be fixed with some effort16:38
ograthey will revoke your DD status one day16:38
asac_but the copyright owners will never be there16:38
asac_ogra: why?16:38
ogra"behaves to much like an ubuntu developer"16:38
asac_heh16:38
asac_well. i addressed the copyright issues and reuploaded modemmanager ;)16:38
ogratony uploaded NM recently16:39
asac_i sponsored it16:39
ogradid he take it over now ?16:39
asac_no16:39
asac_i wanted him to drive that ... but it took ages :(16:39
asac_well we all are supposed together16:39
asac_the idea was to get it out 1 month after release ;)16:39
ograwell, he has other projects too16:39
asac_right16:40
asac_not complainig16:40
asac_just saying that he didnt take it over ;)16:40
ograyeah16:40
asac_we have someone new though16:40
ograah, nice16:40
asac_but i guess he will be utilized enough with browser16:40
asac_and we need another for network16:41
ograheh16:41
ograyeah,m not everyone is insane like you16:41
asac_fortunately :)16:41
ograhmm, my babbage SATA disk starts to rattle madly16:41
ograi wonder if the installer now wipes my dev system too16:42
ogra(i picked side by side install this time, at least the installer does something with that setting)16:42
asac_do you see anything on the console?16:45
ogranope16:45
asac_k16:45
ograit checks the disk i think16:45
ograjust awfully slow16:45
asac_:(16:45
ograi hope it doesnt try to resize the used space16:46
asac_what did you select?16:46
ograthat has my dev chroot16:46
ograside by side16:46
asac_so fill up the rest of space?16:46
ogradidnt work16:47
ograthat was the one i tried before16:47
ograoh, it moved16:47
ograso lets see if the second stage starts this time16:48
ograhmm, even though the disk rattles still and i see parted_server in the processlist, the second stage doesnt seem to want to start16:50
ograwell, i'll leave it running over night ... who knows i'll probably have a finished install tomorrow16:51
asac_sounds bad16:51
ograelse i'll take alternate ...16:51
asac_what size is the install partition?16:51
ogra40gig or so16:51
ograor even 5016:51
asac_do you know what its doing right now? fs creation?16:51
ograrat .. rat ... rat ... rat ... rat ... rat ... rat16:52
ograin a nice rhythm16:52
ogranothing in the logs16:52
asac_that really sounds like my usb-storage issues ;)16:52
asac_cant you see dmest?16:52
asac_dmest16:52
ograyeah, nothing in there16:52
asac_i hear rat .. rat ... rat ... rat ... rat ... rat ... rat too there ;)16:52
ograwell, i didnt have issues16:52
ograuntil now16:52
asac_first it worked for me too16:53
asac_then it failed on lucid16:53
ograit worked since A216:53
ograand before16:53
asac_right16:53
asac_i dont really think its the same16:53
ograA2 was a complete reinstall though16:53
asac_what doest dmesg tell you ?16:53
ogranothing16:53
asac_did it like the disk at all?16:53
ograsure16:54
asac_can you hotplug and see what happens?16:54
ograi have it in the partitioner too16:54
ograhmm, not sure hotplugging is so good for a real SATA disk16:54
asac_yeah. dont do it16:54
asac_;)16:54
ograi think i'll start a download of alternate now16:55
ograand try an install tomorrow16:55
asac_yeah16:57
* asac_ goes and plays a game16:57
GrueMasterogra: asac To hotplug a SATA drive, you need to treat it as a hot swap scsi drive.  To remove (as root), type ' echo "scsi remove-single-device 0 0 2 0" > /proc/scsi/scsi ' (where 0 0 2 0 is the Host Channel ID LUN of the desired drive).  To add (as root), type 'echo "scsi add-single-device 0 0 2 0" > /proc/scsi/scsi '20:31
GrueMasterJust don't do this with a mounted filesystem.  Bad juju happens if you do.20:32
GrueMasterI've done this several times on my system without issue.  Mainly when upgrading the drive I use for VirtualBox, or when testing or backing up a drive from a different system.  More convenient than trying to hook up a full system on my already crowded desk.20:34

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