/srv/irclogs.ubuntu.com/2009/03/25/#ubuntu-arm.txt

loolMar 25 09:00:52 babbage init: Re-executing /sbin/init09:21
loolgetty on ttymxc0 doesn't come up anymore09:21
ogralool, on my image or on an installed system10:28
loologra: Any system where you upgrade libc6 or run "init u"; see #-devel10:33
ograheh, i just read the latest changes on the bug :)10:33
ogralool, btw, how about seeding flash-kernel to desktop on armel and make redboot-tools a dep ?10:34
ograso we have it in at least, even though there might be hooks missing we can write a howto to make an sd bootable from a running system10:36
loologra: Perhaps boot instead?10:37
ograwe have a separate boot seed ?10:37
ograthats new to me10:37
loolWe do10:37
ograoh10:37
ogradoes desktop/live use it =10:37
ogra?10:37
loolDunno10:40
loologra: I just grepped for grub in the seeds, I would expect flash-kernel to be selected in similar situations10:40
ograi'll talk to colin10:40
ograogra@osiris:~/Devel/seeds/ubuntu.jaunty$ ls10:41
ograblacklist  desktop  development  dns-server  doc  dvd  dvd-live  lamp-server  live  mail-server  openssh-server  postgresql-server  print-server  samba-server  server  server-ship  ship  ship-live  STRUCTURE  supported  tomcat-server  virt-host10:41
ograhmm, where do you see that boot seed ?10:41
ogralool, grub is a dep of the linux-image-* package on x86 and amd6410:46
loologra: That's how I'd expect flash-kernel as well10:47
ograi'll file a bug against linux-image-*-imx51 so flash-kernel gets in there, we need a MIR for redboot-tools though10:47
loologra: The boot seed is in platform.jaunty10:48
ograintresting10:48
loologra: Happy if you do the redboot-tools MIR; I can then review it10:48
ograok10:48
ograredboot-imx is still not approved :/10:48
ograi think doko looked at it but didnt even leave comments on the bug10:48
ogra(its funny that ecos made it but redboot didnt yet)10:49
loolI think people are reluctant to touch archive-ish stuff at the dawn of a beta release10:50
ograwell, we want it in post beta at least10:51
ograBug #34838211:01
ubot4Launchpad bug 348382 in linux "linux-image-*-imx51 is missing a dependency on flash-kernel" [High,New] https://launchpad.net/bugs/34838211:01
loologra: arm tag...11:02
ogralool, what about the redboot binary ? do we want flash-kernel to depend on it and overwrite redboot on every flash-kernel run (i assume thats the safest to guarantee the SD is actually bootable)11:03
suihkulokkigenarally on arm systems updating users's bootloader is to be avoided11:04
ograwell, but we cant be sure the binary is actually in place11:04
ograall we see from flash-kernel is the fis table11:04
ograwhich doesnt mean there is a redboot binary11:05
ograi was wondering if we can just rely on the presence of redboot once we find a fis table11:05
ograi'm not sure we can11:06
loologra: I think installing redboot is entirely different from flash-kernel's task11:18
loologra: And isn't needed11:18
loolflash-kernel is run on kernel installs and upgrades, and on initramfs creation and updates11:18
loolIf we need to install redboot, we will need a redboot udeb and a tool to write it, perhaps flash-kernel, perhaps a new one11:19
loolJust like install-grub11:19
lools/install-grub/grub-install11:20
NCommanderWe need an MIR for flash-kernel11:33
NCommander^- lool ogra11:33
ograNCommander, ??11:33
ograits used on nslu211:33
NCommanderflash-kernel is in universe11:33
NCommanderunless someone moved it without me looking11:33
NCommanderCorrection11:34
NCommanderIt was promoted two weeks ago11:34
NCommander(er, three)11:34
ograwe need redboot-tools in main though11:35
NCommanderUgh11:36
ograwh yugh11:36
ograits tiny enough11:36
ogramore important is that someone finally approves redboot-imx11:37
ogralool, geezy, ubiquity seems to work on the babbage11:56
ograit went properly through partitioning and is now in base install11:56
loolCool11:56
ograi'm sure it will fail with the last step, but if we can get the rootfs installed properly we can worst case add a howto for setting the SD to do a local boot11:57
=== Omegamoon is now known as Omegamoon|work
ograhmm, ubiquity is at 66% of base install already :)12:29
ograthough i just noticed i picked the wrong usb key as targe device :/12:30
ogra*target12:30
ogra2G will not suffice12:30
looldave_m_: http://people.ubuntu.com/~ogra/arm/babbage/ has a recent image with redboot, kernel, desktop live session and all15:16
ograsadly my board commits suicide at 80-90% of the install every time15:17
loologra: are you sure it's not the bug which was affecting persia?15:18
ograi'm just trying with shut down syslog15:18
ogralets see where that gets me15:18
persiaogra, Don't shut down syslog.  Just comment out the kern.* line in /etc/syslog.conf, and kill -HUP syslogd.15:19
ograpersia, that makes /var/log/debug and /var/log/syslog still grow to 1200s of megabytes15:20
ogra*100s15:20
ograso now i'm trying without any syslog and without USB NIC15:21
ograits at 60%15:21
persiaOK.  I just had syslog and kern.log.  /var/log/debug wasn't so bad.15:21
persiaI'm at 64% with kern.log commented out right now.15:21
ograthe same messages go into all three15:21
ograi really like the option to attach partitions to the end of the disk15:22
ograthat makes it easy to keep 20M free space on my target SD15:22
ograwhere i then can install and configure redboot and fis manually i hope15:22
ograi also switched to install from SDHC to SDHC now ... std. SD was just to slow15:24
looldave_m_: You might run into https://bugs.launchpad.net/ubuntu/+source/linux/+bug/348504 if installing to USB; happy to hear about your install report15:49
ubot4Launchpad bug 348504 in linux "USB issues with linux-image-2.6.28-11-imx51 fill /var/log" [Undecided,New]15:49
dave_m_Not currently trying this, but I'll keep my eyes open...15:50
dave_m_ogra, lool: I now have updated RedBoot and the kernel, but it looks like the MMC driver is not built in... it looks like I need an initrd to boot fully.  Can someone advise me on how to set up RedBoot to pass the initrd data?15:52
looldave_m_: I can boot fully of the SD card without an initramfs15:54
looldave_m_: Try to add a rootdelay15:54
dave_m_lool: Not used that before... it is rootdelay=<secs>, or what?15:55
loolYes15:56
dave_m_ok15:58
dave_m_lool: Seems to be working for me now. No rootdelay= option needed; perhaps I got the root= argument wrong before.16:03
MartynGood morning16:10
Martynlool, is there a way to get the live image to use a serial console instead of the framebuffer?16:10
Martynor does the live image lack a serial getty?16:10
loolMartyn: It lacks the serial getty16:10
Martynpoodles16:11
Martyn*grumble*16:12
Martynthat means I'm going to have to poke around the office for a monitor, keyboard .. -sigh-16:12
dave_m_Martyn: you can probably add a serial login just by adding an extra file for ttymxc0 in /etc/event.d (using e.g., tty1 as a template)16:15
looldave_m_: It's not trivial to do for the lice image16:16
lool*live16:16
loolBecause it's a read-only rootfs with a ramdisk overlay16:16
dave_m_lool: Ah, yes, I see the problem...16:16
ograMartyn, we have a way to modify redboot without the need of serial now btw16:17
dave_m_lool: Is the rootfs really non-modifiable, or is it just mounted ro by default?16:17
Martynogra : yay!  the commandline tool works!16:18
looldave_m_: You can't write to squashfs16:18
ogradave_m_, its modifiable while it run16:18
dave_m_lool: Right, I wasn't sure what type of fs was used.  Fair enough.16:18
Martynyay for unionfs16:18
ograaufs :)16:18
Martynokay, aufs :)16:19
Martynogra : where can I snag the new tool?16:20
ograits about to enter the archive, but lool made a pre packaged version ...16:20
ograhttps://launchpad.net/~lool/+archive/ppa redboot-tools ...16:22
Martynwe still get ttyfail on the new image?16:22
Martynthank you lool16:22
ograMartyn, depends on your hwclock :)16:23
Martynogra : I set the hwclock a while ago though.   Shouldn't it be able to survive being unplugged for a day?16:26
Martynthere's a huge honking capacitor or battery on the board, after all16:26
Martynaw, come ON16:28
Martynif I go into text mode, none of the tty's will work if the hwclock has reset?16:28
ograit doesnt survive more than 10min here16:28
Martyni -have- to reset it in X?16:28
MartynOh, I'm -so- going to go solder in a damned lithium battery to the RTC now16:29
ograheh16:29
Martynbecause this is frigging annoying16:29
Martynshrink wrap, two wires, some double sticky tape, and my handy capacitive welder16:29
Martynthis is like the /ninth/ board I've seen from pegatron where they pull this crap16:29
ograif i set it once it survives reboots ... if i unplug it goes back to 1970 after a while16:29
Martynyeah, it means they used a /really/ weak capacitor with a leak characteristic equivalent to a sieve16:30
Martynand as usual, they don't even provide a couple pins to connect a battery to.  "Who would need it?"16:31
Martyni'll make up a lithium cell battery backup, document the procedure, and make the link available later16:31
Martynogra : is there a way to address this in 9.04?  It's definitely a bug.16:32
MartynEven if the date is insane, the getty should spawn >and< authentication should still work.16:32
ografile it, its a bug in useradd that it enforces the password to be reset if your system is at 197016:33
Martynso the bug is in useradd and not in the PAM configuration?16:35
MartynFiled16:38
Martynor not?   500 error16:38
Martynwhy does the useradd bug cause tty to fail?16:41
Martynor the RTC clock being wrong?16:41
ograuseradd creates the autologin data during boot ... the second field in /etc/shadow is zero16:44
Martyn*snarl*16:44
ograwhich enforces that you should update your pw immediately16:44
ograthe ttys on the livesystem all use autologin16:44
Martynright, which snarfs login, and the tty's spin16:44
ograwhich fails if the pw needs to be updated16:44
ograright16:44
MartynOkay, I think I have a fix for the wonky network driver16:47
ograif you file a bug for it and attach a patch we can get it included by the kernel team16:48
Martynshould the bug be filed against mx51/kernel?16:48
ogralinux16:48
ogramention imx51 in the description and add an arm tag16:48
Martynwill do.  I'm going to stress test the solution for a couple hours to see if I get lockups16:49
Martynasix diver works nicely now :)16:55
Martynbut my patch makes the internal nic work too slowly16:56
dave_m_lool: Now I have the kernel working, I am seeing the ludicrously enourous amount of usb-storage debug you mentioned...  Is there a way to turn this off without rebuilding the kernel?16:59
persiadave_m_, I've been advised that it would be difficult, and have edited syslog.conf to reflect my desire for significantly less information to be saved to disk (commented out the kern.log and debug.log sections).17:04
persiaMind you, one needs to do this *each boot* with the live environment, which is a bit annoying.17:04
dave_m_persia: Is the debug enabled on all architectures?  This seems excessive for a production kernel...17:05
Martyndave_m : Won't they be turning that off in the final build?17:05
dave_m_Could be... wasn't sure whether a further rebuild was proposed.17:05
MartynI'm still looking for a way to disable the SCSI detection at boot.  Costs 50 seconds for nothing.17:05
dave_m_But it makes sense.17:05
persiadave_m_, No.  As far as I can tell, it's just for armel.17:06
persiaI understand a new kernel is planned without the messages, but likely not until after the Beta release.17:06
dave_m_persia: No problem17:06
Martynthat makes sense17:06
MartynOkay, I've corrected the error in the fec / SMSC LAN8700 code17:07
dave_m_Martyn: I'm not seeing the big SCSI detection delay, have you got something unusual plugged in?17:07
MartynI'm going to leave my tests running for a couple hours.  If I see no errors, I'll submit the patch17:07
Martyndave_m : Nothing's plugged in at all, but the board has a USB->SATA on the motherboard17:08
Martynso it sits there and tries to detect a disk that isn't there.17:08
Martyntoo bad the live image doesn't pay attention to "noscsi"17:08
dave_m_Hmmm, I've got a disk plugged in there, but I haven't usually seen it actually wait even when nothing was plugged in. This sounds like a bug somewhere.17:09
ograMartyn, can you subscribe (not assign) me to the bugs you file ?17:09
Martynfec.c is a bit of fail17:10
Martynabsolutely17:10
MartynJust right now I got a 500 server error when trying to file a bug.17:10
MartynI'll look at it again when I come back from a trip to the computer store (Fry's)17:10
Martyn<-- ran out of ethernet cable.17:11
dave_m_Martyn: Is your network bug causing really slow throughput?17:13
persiadave_m_, That sounds like bug #34833317:18
ubot4Launchpad bug 348333 in linux "armel/imx51: Poor ethernet behavior with 2.6.28" [Undecided,New] https://launchpad.net/bugs/34833317:18
dave_m_I may stick with FSL's 2.6.26 until this is resolved... network throughput appears 20-50x faster for me17:19
dave_m_...so long as it's being dealt with in the meantime.17:20
looldave_m_: If you don't have an USB ethernet adapter, I recommend you do indeed17:21
persiaIt's at least reported.  Some people report that using a USB network adaptor works around it: it seems related specifically to the onboard adaptor.17:21
dave_m_lool, persia: In general, the new kernel seems fine though.  I thought I ought to give it a try.17:22
looldave_m_: It works ok for me in, but then I use that ethernet usb adapter and I don't use usb storage17:23
loologra: To clarify, the target install we discussed was not really SD card in an USB reader17:23
loologra: We came back to this after the call on boot options17:23
ogralool, oh17:24
loologra: The target install scenario is to use the install SD card as install media *and* as the place to host kernel and initrd and all17:24
loologra: That is, use the redboot partition with fis data, config and all from the install SD card to boot the installed system17:24
ograso only modify the cmdline with fconfig then17:24
loolSo the SD media is destroyed17:24
dave_m_I've subscribed to https://launchpad.net/bugs/348333; I'll probably switch to this kernel when this issue has been sorted17:24
ubot4Launchpad bug 348333 in linux "armel/imx51: Poor ethernet behavior with 2.6.28" [Undecided,New]17:24
loologra: Yes, and install target kernel and initramfs17:25
ogralool, fine with me, makes the howto a lot shorter17:25
loologra: *however* I think installing to a SD card in an USB reader is an useful option, so if you like to document how to achieve it, that's welcome17:25
ograwell, i'd only modify the cmdline then17:25
ograthe install kernel and initramfs wont differ17:25
persiaYes they will.17:25
persiaIf nothing else, the installed initramfs won't contain casper.17:26
ogranot in functionallity17:26
ograjust in size17:26
persiaWell, size and content, but yes.17:26
loolso highest priority: make sure we have an installer an a howto which covers install to anything + boot from install SD17:26
ograas son as you drop boot=casper it will behave the same17:26
ograright17:26
loolAnd lower priority: have another guide for people who want to create an autonomous SD card17:26
loolAn installed one that is17:26
ograyep17:26
ograi'll do the latter post beta ... the former tonight17:27
loologra: The install kernel will differ in that they will be generated from the installed system; typically after release you might get an updated kernel which has security updates17:27
ograi just need to confirm the preseeding works, then i'll change the script and roll the final image17:27
ogralool, we dont even have flash-kernel in beta17:27
ograwe can have all that for final17:28
ograbut beta will be different17:28
loologra: All my arguments are for final and are what I would aim at for beta; I prefer looking at our release target and making concessions than looking at we can do now, and have to redo everything for final17:28
loolFor instance I don't mind instructions which tell you to use a PPA or to disable syslog or whatever for beta17:29
ografor now my howto will be: install with ubiquity (working around the known bugs) ... install redboot-tools ... modify cmdline of SD17:29
loolIf that gives an installation experience which works technically like the final one will, but with extra steps17:29
loolThat's ok17:29
ograright17:29
ografor final some of that will be automated anyway by flash-kernel17:30
loolYes17:30
loologra: One thing I didn't look into is who's responsible for setting the installed system to run flash-kernel17:30
ograthe linux-image package17:31
ograoh, wait, you mean kernel-img.conf settings i guess17:31
ograhmm17:31
ogracould we make flash-kernel postinst do that ?17:32
ograi dont think kernel-img.conf is a conffile of any sort so a maintainer script could add it if its missing17:32
persiaIsn't that what flash-kernel-installer does?17:34
ograwhats flash-kernel-installer ?17:34
* ogra never heard of it17:34
ograis that a udeb ? i cant find it in apt-cache17:35
persiaYes, it's a udeb.17:35
ograah17:36
persiaIt consist primarily of a postinst that checks the subarchitecture, and maybe does stuff to make flash-kernel work.17:36
persias/consist/consists/17:36
loolpersia: it is17:36
ograyeah17:37
ograits postinst writes kernel-img.conf17:37
persialool, OK.  Then for alternates, we just need to have flash-kernel-installer in the initrd, which is done.  For the live images, we need to have the relevant logic be performed during the ubiquity run.17:37
persiaI need to look at flash-kernel-installer a bit more, but I think that's just creating a component to drive it, and running that component out of install.py.17:38
ka6sox-workdoes anyone know how to get ahold of dave mandala? I met him @ the Canonical Booth @ SCALE and talked to him about making update-manager-core available for non-supported old releases available so that we could easily upgrade.18:36
ograka6sox-work, he is usually around here, might be in a meeting or so, just idle here for a while18:43
Martynre20:17
MartynThe driver edit didn't work.  I got a full lockup of the fec20:17
MartynRx stops receiving packets.20:18
Martyndreck, I'm getting "no route to host" when trying to hit ports.ubuntu.com20:26
Guest94492hey guys23:22
Guest94492where I can download ubuntu-ARM source code?23:23
Guest94492it's opensource?23:24
Guest94492Hello?23:25
=== Guest94492 is now known as _Carlo_
lool_Carlo_: It's the ubuntu source code, it's at archive.ubuntu.com23:28
_Carlo_witch folder?23:29
_Carlo_dists -> indices -> poll -> project23:30
lool_Carlo_: Perhaps you should start with the ubuntu wiki23:40
* lool => bed &23:40
_Carlo_or you tell me where I get23:45

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