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

error404notfoundHi!06:55
error404notfoundhow easy it is to install ubuntu on an arm machine with no usb port, no cd rom, no ethernet, just wifi and 3g?07:11
persiaNot very.  You'd need some way to download enough to boot, and then be able to boot off that.07:14
error404notfoundpersia: hmmm, actually I am really confused that if it doesn't have a usb port, a cdrom, or ethernet, how can even copy anything from network to it. I don't know from where should I even start07:15
persiaI'd recommend starting by looking for someone else who has gotten any linux running on your device.07:16
persiaYou can probably adjust those instructions as required to have the install be Ubuntu.07:17
error404notfoundI am following your first recommendation by joining this channel...07:18
persiaIn that case, you might want to mention the specific device name :)07:20
error404notfoundhmmm, wanna know the truth? I still haven't got one, its stuck for clearance on airport and I am waiting for it... may take couple of days.. :P07:21
Stskeepssometimes i want to shoot whoever chose right click as paste.07:46
persiaOughtn't be right-click.  Ought be middle-click.07:47
Stskeepsyeah07:47
tomshis it normal when using build-arm-rootfs08:02
tomsh* Setting kernel variables (/etc/sysctl.d/10-network-security.conf)...          error: "net.ipv4.tcp_syncookies" is an unknown key08:02
tomsh* Setting kernel variables (/etc/sysctl.d/10-process-security.conf)...          error: "vm.mmap_min_addr" is an unknown key08:02
tomsh?08:02
persiatomsh: It depends on your kernel configuration, really.  It's been reported before.08:33
loolpersia: Do you know whether we have bug for these?  It shouldn't happen with the versatile kernel as it's a distro kernel08:56
loolAnd the imx51 one is as well now08:57
persiaWe don't have a bug for it: it's never been reported against a distro kernel (that I've heard).08:59
loolNCommander: Do you think you could report these issues as well as the babbage ones?14:00
loolNCommander: Tag them arm14:01
ogralool, they are on my list of bugs for amitk_14:04
ogranet.ipv4.tcp_syncookies definately shows on babbage as well14:04
loologra: Which list?14:04
ogramy personal one i'nm assembling while testing the babbage kernel here14:04
ograklogd not starting is another one ...14:05
ograthough currently i'm after finding out whats wrong with aufs/apparmor that makes all ttys die and X not start up14:06
ograthats more important than cosmetical boormessages14:06
ogra*boot14:06
ogralool, i wont manage to file these bugs right now, can you mention in the release meeting that there are imx51 bugs to come we will need to fix before beta ?14:10
loologra: No14:11
loolI'll give a general status update14:11
ograok14:11
loolI remember quite well the day were I was shot in place for mentionning bugs which I hadn't filed yet14:11
ograwell, they are all under investigation only atm ...14:12
ograthe imx51 kernel isnt 100% merged and i assume a lot will be solved once that happened14:13
loolNCommander: Please Cc: slangasek on the RedBoot build issues with native toolchain14:20
obraHi. I'm seeing some weird behaviour with ubuntu (and debian) arm ports on qemu. It _appears_ that some of the time the SCSI device just stops responding.  It appears to be fairly random. When it happens, spurious "a"s get printed to my terminal.14:22
obraI'm seeing the behaviour across several versions of qemu on OSX and Linux.14:23
obraIs there an obvious FAQ I'm missing?14:23
Stskeepsversatile kernel or?14:40
obraversatile kernel.14:41
obra/usr/local/qemu/bin/qemu-system-arm -M versatilepb -m 256 -kernel vmlinuz-2.6.28-8-versatile -hda armel.img -append "mem=256M root=/dev/sda1"14:41
obra(Starting from the initrd images and doing an install)14:42
obraI get the same behaviour using http://people.debian.org/~aurel32/qemu/armel/14:42
MartynGood morning.16:25
MartynOgra, look, amit .. any of you online?16:25
Martynlool rather16:26
loolMartyn: I'm around, but I'm out for an hour or so16:27
loolI'll be back here later16:27
MartynAllright.  I'm trying to do a first bringup of ubuntu on the board, and wanted to verify some settings16:32
amitk_Martyn: is this something quick?16:33
* amitk_ is about to wrap up for the day16:33
=== amitk_ is now known as amitk
Martynamitk : Relatively.  The image that ogra put up (the SD card image) seems to have reboot on it, and the first partition is a few sectors from the beginning of the card...16:39
ograright16:39
ograi think i left 20M ... though 15M shoudl suffice16:40
MartynWhen I put it in the board and power up, I do see the keyboard flash, but no console output or display output.. is that normal for this image?16:40
Martynyep, about 20M16:40
ograyou should get console output on VGA16:40
Martyndreck, I don't.16:40
ograafter redboot decompressed the kernel16:40
ograprobably an issue with your DIP switch settings16:40
Martynwould you mind going through a quick board comparison?  I want to make sure the DIP switches on mine match yours.16:40
Martynthe two that are together at the top, read from SATA->pushbutton are:16:41
Martyn0-0-0-0-0-0-0-1 1-0-0-0-0-0-0-016:41
ograthe middle ones are  on16:41
ograright16:42
Martynthe one next to the SD card is (read from VGA to serial breakout)16:42
Martynsorry, read from serial->vga direction16:42
ograthe second should be on16:42
Martyn0-1-0-0-0-0-0-016:42
MartynOkay, those match16:42
ogralooks ok16:42
MartynSo, in theory it should have just worked16:42
ograyes16:43
MartynI'll try a different SD card then.   Darnit!16:43
ogranote the kernel doesnt support DVI16:43
MartynWait, I thought the kernel didn't support VGA...16:43
ograyou need to use VGA16:43
ograno16:43
Martynokay, switching connectors.16:43
Martynand switching to a real SanDisk card16:43
ograyup, sandisk ++16:44
Martynokay, I'm going to re dd it to a sandisk 2Gb card.16:44
Martynallright, once the DD is finished, I'll try again.16:46
* ogra finally got the initramfs booting for amitk's latest kernel 16:46
Martyncongrats!16:47
ograwell, i dont see the bugs fixed yet ...16:47
* ogra waits for casper to find the squashfs 16:47
ograamitk, tty's still die :(16:48
ograamitk, oh, but you added fusectl ....16:48
ograat least it doesnt complain anymore16:48
ograoh, and X now starts up but i get a "your session lasted less than 10 secs."+ message now16:49
amitkhmm16:49
Martynogra : At least X starts up.16:49
ograhmm, that looks a bit like the former error though, i see attempts fopr autologin on tty116:50
amitkogra: this is live image?16:50
ograyep16:50
amitkwith union=aufs?16:50
ograwithout union=16:50
ograwhich defaults to aufs16:50
ograi see it loading aufs16:50
amitkok16:50
ograswitching to console i see multiple motd messages16:50
ograsomething is wrong with the login, but its hard to debug since i konw if i boot into single mode i will see everything with the user is right16:51
* ogra will boot into single and start executing the initscripts piece by piece ... time consuming, but probably i see where i hit the issue16:52
ograoh16:53
* Martyn chuckles, the dd is still going :)16:53
Martynthis isn't my first dance with new hardware, but I'm frankly amazed at how fast you guys at canonical are doing the bring-up of this one16:53
ograwell, we know our tools :)16:54
ograso its just a matter of adapting them16:54
MartynHUZZAH16:54
Martynwe're up.16:54
ograthe main issue was to get initramfs working with redboot16:54
ograeverything beyond that is just small adjustments16:55
ogracongrats !16:55
Martyngets as far as sd16:55
Martynthen stops16:55
ogragive it time :)16:55
Martyntimeout issue?16:55
ograit looks for the squashfs that takes some seconds ...16:55
ograamitk, klogd still dies16:56
Martynthere it goes..16:56
MartynI should probably disable SATA16:56
Martynokay, I'm seing the tty messages16:56
Martynnice X16:56
Martynand there we go.  Thanks ogra :)16:56
ograenjoy16:57
ogranote that its not installable16:57
MartynThis is a much faster bring-up than I usually have to do (kernel, then busybox, then ...)16:57
MartynThat's fine.  This is enough for us to do some very, very important tests for the work we're doing.16:57
ograbut you could for example use debootstrap or the rootfs script from the channel topic and install a system to a usb disk16:58
Martyn*nod*16:58
MartynOr sata?16:58
ograthen just change the cmdline in redboot to not use casper16:58
MartynOr is boot-to-sata not quite yet ready for prime time?16:58
ograand add root=UUID=<uuid of your disk partition>16:58
ograi havent tried sata at all yet16:58
amitkusb disk should work well16:58
ograand i think sata is just a fake ...16:59
ograin the backend its attached to usb16:59
MartynOh, you think there's a bridge chip?16:59
ograyes16:59
MartynThe mx51's spec shows a SATA controller though.16:59
Martynwell, doesn't matter :)16:59
ograwell, feel free to try it :)16:59
ogra(if amitk has the sata driver enabled)17:00
MartynI'm pleased as punch to have a working install.   I'll track your builds from this point.17:00
MartynIt looked like it was at least trying to bring sata up during kernel initialization17:00
amitkogra: no sata drivers yet IIRC17:00
Martynamitk : Danke.17:00
ograright, thats what i thought17:00
amitkMartyn: I'll flesh out support for _every_ storage driver as a module in the next upload17:01
ograif we find one that doesnt make the consoles die :P17:02
Martynamitk : Ooooo :)17:02
Martynogra : Just out of curiosity, where are the authentication token error messages coming from?17:03
ograwhich one ? "your password is expired" ?17:03
Martynyep17:04
ograrun "sudo hwclock --systohc" and reboot ...17:04
ogra(if your system clock is right at least)17:04
ograthat fixes it17:04
ograuseradd somehow sets the expiry time to zero if the system date is at 01 01 197017:05
ograsetting the hwclock fixes it17:05
Martynfixed, and thanks.17:07
Martynworth adding to your README17:07
Martynnow I want the serial debug dongle ... -sigh-17:08
ograworth fixing the bug rather :)17:08
Martynbeing a unionfs based image, I'm assuming any changes I make to the FS will be lost at reboot?17:09
Martynvery much worth fixing the bug!  It's just more of an appnote for that very first release of the image17:09
Martynthanks :) You guys just made my day.17:14
ograamitk, hmm, klogd tries to access /dev/console17:16
ograand then dies17:16
Martyninteresting!17:16
Martynwhen the hwclock is set correctly, the tty's also come to life17:16
ograyep17:16
ograthe autologin works then17:17
Martynit does indeed17:17
ograupstart makes them die if the user isnt set up correctly17:17
Martynno modules.dep file?17:17
ogranope, next image will have the kernel package inside17:17
Martynheh, no modules at all :)17:17
Martyn*chuckle*17:17
ograand have the modules.dep17:17
Martynshould I apt-get it?17:17
ograapt-get install linux-imx5117:18
Martyndone17:18
ograthat will get you everything you need17:18
ogranote that the NIC driver is shaky17:18
MartynYeah, I know.  Works okay though.17:18
Martynyou guys should be very, very proud of this.   Most hardware first bring-ups are a hell of a lot more shaky than this.17:19
MartynThis is practically almost useable in comparison to some projects I've worked on.17:19
ogra:)17:20
MartynWow, everything is arm V7 clean?17:23
Martynno v4 compiles?17:23
Martynwhat's the process I have to kill to prevent the 100% cpu spinning?17:36
Martyngnome-keyring?17:36
Martynogra, how do I get the live image to boot single user, if I don't have access to the serial console?17:46
StskeepsMartyn: think it's armv5te targeted, not armv717:55
MartynStskeeps : Thanks.18:05
MartynI was wondering how far the system was going to be optimised...18:06
Martynv5 is good enough18:06
Stskeepsthink they're looking at HWCAP of libraries too, which makes sense18:06
ograMartyn, we might switch to v7 completely with 9.1018:14
ograits still being benchmarked what we gain from it and will be discussed at next UDS18:14
Stskeepsor loose in terms of supporting less devices, heh18:15
Martynogra : *nod*18:15
Martynogra : If I don't have access to the redboot monitor (thanks to having no serial debug board), how can I get the liveimage you've posted to come up single user?18:16
ogranot at all ...18:16
* Martyn tried hexediting the redboot, to change the kernel bootparams, but that didn't work :)18:17
ogralool is working on something we should see next week that will make it possible to dd changes into the fis partitions18:17
MartynIs there a way to bring down X safely once the livecd has booted, without triggering a reboot?18:17
ograyou can switch to a console and sudo /etc/init.d/gdm stop i guess18:18
MartynTried that.  No joy.18:18
ograwell, both options you can set are cmdline options to get into single18:19
ograand the cmdline is only accessible via serial atm18:19
ograone would be to add "text" to it, the other would be "single"18:19
Martynyep18:19
ogratext actually gets you a full system, while single gets you only a recovery console18:19
MartynOh well :)  I guess I have to be patient and wait until Monday when a serial debug dongle will arrive as if by magic.18:20
* ogra was pondering to add a menu to the boot ....18:20
ograbut i have to much to do to track down the kernel issues on the weekend ...18:20
ograif i magically find the solution i might look into adding some bootmenu18:21

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