[05:35] hi anybody there [05:36] i want to know the exact flow of rootstock script [05:36] and its functioning === JaMa|Zzzz is now known as JaMa|Gprs [08:05] good morning [08:07] morning [08:35] hi [08:35] how good is 10.04 on beagleboard? [08:37] neure: it works fairly well on the C4 board [08:37] though, rcn-ee's kernels are better than the official Ubuntu one. [08:38] DanaG: Do we know precisely how? Is this fixable? [08:39] https://bugs.launchpad.net/ubuntu/lucid/+source/linux-ti-omap [08:41] amitk: Do we have an SRU in progress? [08:41] persia: some of those bugs will be fixed as SRUs, yes [08:41] I'm also interested in this: https://blueprints.launchpad.net/ubuntu/+spec/foundations-m-uefi-support [08:42] though, it'd be nice to get HP to fix the first-gen elitebooks' broken UEFI. [08:42] * persia looks again, having thought all of them were listed as SRU candidates [08:42] DanaG: That ought drop in fairly smoothly. EFI already (mostly) works. The main issue with UEFI is the CDs. [08:44] My issue, specifically, is that my firmware seems to claim GraphicsOutputProtocol support... but the framebuffer is at 0x0. [08:44] also: http://h30499.www3.hp.com/hpeb/?category.id=business-support [08:44] Ah, that's broken firmware then *) [08:44] er [08:45] fail.... urls are now dead. [08:45] morning === XorA|gone is now known as XorA [08:47] Next-gen models are supposedly fixed... but that does me no good. =( [08:47] It'll be interesting to see uefi + ARM. [08:47] well i'd like to know what does not work [08:48] "fairly well" is rather meaningless [08:48] OTG is broken ATM, and DanaG has pointed you to the buglist [08:48] bugs at launchpad? hmm let me see [08:48] my computer is really slow right now though :/ [09:03] which package has 7za? [09:06] p7zip at one point [09:06] neure, apt-cache search 7za ;) [09:07] thx [09:12] "Everything is Ok" [09:12] lol [09:12] so comforting [09:15] im on my x86 linux now, how do i figure out what device is my memory card reader? [09:15] dmesg? [09:16] or if its formatted it should just automount :) [09:16] (once you plug an SD in) [09:16] ogra: depends on system config - my ubuntus do not automount [09:16] mine does [09:17] definately in karmic and lucid [09:17] with the builtin mmc reader as well as with an external USB one [09:17] [161018.255969] sd 8:0:0:0: [sdi] Assuming drive cache: write through [09:17] [161018.255973] sdi: sdi1 [09:17] 10:17 hrw@home:~$ mount|grep sdi [09:17] 10:17 hrw@home:~$ [09:18] wow, file a bug [09:18] devkit-disks should definately pick it up [09:18] ogra: for me it is not a bug but proper behaviour [09:18] it should only not automount if you added a specific udev rule to omit it [09:18] hmm mine is sdb [09:19] by default all block devices are supposed to be automounted [09:19] * neure ./setup_sdcard.sh --mmc /dev/sdb --uboot beagle --swap_file 100 [09:20] neure: I have hdds as sda/b/c, one card reader as sdd/e/f/g, pendrive as sdh and second card reader as sdi [09:20] i hope i get this Lucid 10.04 Xfce4 to boot on my C2 beagleboard [09:21] for a C2 make sure to have a proper power supply attached [09:21] and a powered hub as well [09:21] check, check [09:21] it has HW issues wrt USB/power [09:21] keyboard and mouse is in the powered hub [09:21] the mini usb thing, also ethernet is there [09:22] i wonder if i need any specific boot arguments [09:22] no, just boot [09:22] beyond that i'd recommend the netinstall image and then install xubuntu-desktop (or xfce ) [09:22] https://wiki.ubuntu.com/ARM/Beagle [09:22] would that be somehow better? [09:22] its tested and supported :) [09:23] ok i'll go that instead then [09:23] * ogra just closed a bunch of bugs as invalid from people that use their own kernels [09:23] 10 years ago my desktop had 128MB ram and it was enough for gnome1. today with beagleboard/256MB ram it is hard to fit something [09:24] 640k is enough for everyone !! [09:24] why is the netinstall image half a gig?) [09:24] hrw: that's called progress [09:24] neure, the netinstall image isnt half a gig [09:24] neure: its SD card image [09:24] neure: lot of empty space inside [09:24] neure, dont mix up netinstall with netbook :) [09:25] netinstall is about 10MB [09:25] "Download installation software" Download the ubuntu-10.04-netbook-armel+omap.img image file from ... [09:25] amitk: add >logger "autogetty: $GETTY_ARGS"< to /etc/init/autogetty.conf and restart. then tell what was in syslog [09:25] that is the first thing on https://wiki.ubuntu.com/ARM/BeagleNetbookInstall [09:25] and that image is half a gig [09:25] https://wiki.ubuntu.com/ARM/BeagleNetInstall [09:25] you are looking at the wrong one [09:25] oh [09:26] the netbook image contains the whole netbook release :) === JaMa|Gprs is now known as JaMa [09:26] which gets you what the screenshot at https://wiki.ubuntu.com/ARM/Beagle shows [09:27] (only tested on beagle C4 though, not sure it works on a C2) [09:27] I got netbook installed on C3 [09:27] not that I would suggest using it [09:27] does C2 have 256M ? [09:27] * ogra thought that was still 128 [09:27] netbook definately needs 256 [09:28] (and a lot of swap) [09:29] hrw, yeah, netbook was mainly thought as a base for the upcoming panda/blaze images in maverick ... probably also good to demo whats possible but surely not for daily use [09:29] Cx have 256MB [09:29] Ax/Bx were 128MB [09:29] right, i wasnt sure if there wasnt some overlap [09:29] there was cpu overlap [09:30] B7 got newer silicon [09:30] C4 got even newer one [09:30] ah [09:32] cooloney, so i was trying to build touchbook kernels on my blaze over the weekend ... seems there are still some issues, usually make uImage works fine but in make modules i then get bus errors (or the other way round if i build modules first on the second run when using make uImage i get the same) [09:32] ogra: I thought the only problem with touchbook was the display resolution? [09:32] i was using make -j2 so it might be a heat problem or it might trigger the same issue we see with git clone, not sure [09:33] amitk, nope, there are DSS2 patches (that break all other boards) that arent in our tree [09:33] i finally found a 2.6.32 tree to build that actually has all patches i need, but now my touchbook seems ot have power issues [09:34] so i didnt get very far yet but seeing a tty on console [09:34] somehow the battery doesnt charge ... i wonder if the power supply has issues with 220v (even though the printed specs disagree) [09:35] it shuts down after a minute or two [09:35] ogra: OE 2.6.32 works on TB iirc [09:35] hrw, i dont use OE, i want a plain kernel tree [09:35] so i can diff patches against the ubuntu tree [09:35] ogra: my 4430 SDP hard locks on occasion, but this is the sort of thing we expect with ES1.0 hardware :-D [09:35] but anyway the TB patches are to intrusive [09:36] we would need a standalone kernel for it i guess [09:36] (which i'm fine to provide from people.u.c once i have one that works though) [09:36] (as unsupported build indeed :) ) [09:36] ogra: what's touchbook kernel? i have no idea about that. -:/ [09:37] cooloney, its just a kernel [09:37] cooloney, the point is thet the blaze kernel misbehaves when i try to build a kernel with it [09:37] it either overheats or exposes the same issue we see with git [09:37] its fine after i reboot the blaze [09:37] ogra: so what's the difference between blaze kernel and touchbook kernel? [09:38] cooloney, forget about the touchbook kernel [09:38] my point is that building soemthing heavyweight on the blaze with -j2 makes it die at some point [09:38] gcc spills out bus errors after 1-2h of building [09:38] ogra: ok, terrible. [09:39] which are gone after a reboot [09:39] bus errors [09:39] we need to talk to nicolas [09:39] but its a bank holiday across most of europe today [09:39] ogra: right, maybe they did similar test on blaze [09:39] so it has to wait until tomorrow [09:39] ogra: ok, understand [09:40] just wanted to notify you that there is some issue [09:40] and a kernel is the heaviest i can build atm ... thats why i took a touchbook kernel [09:40] (i didnt like to build OO.o :P ) [09:40] ogra: ok, so if ~test6 works on your hardware, [09:41] i am going to ask merge the kernel as a branch in lucid [09:41] ok [09:41] and upload it to PPA [09:41] i'm still running test5 [09:41] what changed ? [09:41] oh, i went throught the email from Sebastein [09:41] ah [09:41] and built-in SysLink driver which will cause linking error before [09:42] and rebased to omap4 latest kernel from omapzoom [09:42] they updated some wifi MMC things in their kernel [09:42] ok [09:42] so mostly are not big change since ~test5 [09:43] and ogra, before I upload it to PPA, need i solve the ABI dump and modules list issue in kernel? [09:43] well, you discuss some SMP related option there [09:43] oh, that KGDB, [09:43] i guess for the first upload you need to disable the abi and module checks [09:43] amitk will know though [09:44] they did not implement a function for KGDB in SMP [09:44] cooloney, since my building fails with -j2 it might be related [09:44] so we have to disable KGDB in our kernel [09:44] i havent tried without -j2 though [09:44] ogra: so -j1 works fine in your blaze? [09:44] ok [09:45] cooloney: for first upload, just ignore the abi and modules list (see wiki) [09:45] havent tried yet, building a kernel with -j1 will take ages :) [09:45] ogra: ok, IC, heh [09:45] amitk: thx, i failed to find the wiki about that. [09:45] amitk: where is it? [09:46] whoops [09:46] cooloney: see the first few omap uploads in lucid, there is a ignore and modules.ignore file in the abi dir [09:46] -j2 finishes building uImage in 45min ... i think -j1 will take 3h or more :) === ogra_ is now known as ogra [09:47] amitk: so i just touch those 2 files and upload the kernel source. [09:48] hmm ?? where does that underscore guy come from [09:48] weird, i have two xchats running but see only one on the desktop [09:49] cooloney: each of those files should contain a single line with '1' in it. [09:50] amitk: thanks, i understand. so for uploading, the page in our ppa is quite simple. [09:50] amitk: 'dput ' what does that mean? [09:51] use the .changes file for uploading with dput [09:51] cooloney: https://wiki.ubuntu.com/KernelTeam/KernelMaintenance (seearch for ignore) [09:52] cooloney: you have to build the kernel (debuild) and upload the resulting .changes files to PPA [09:52] cooloney, you need to generate a debian source package (which generates _source.changes) and then upload the .changes file (it pulls the other bits of the source package with it) [09:53] ah, got it. so how to generate a debian source package for kernel? [09:54] either using "dpkg-buildpackage -S -sa" or debuaild -S in the source tree [09:54] *debuild [09:54] make sure to have your gpg key set up right before doing that, you need to sign the package [09:56] ogra: thx, will try soon [09:56] (debuild/dpkg-buildpackage will automatically ask for your passphrase and do everything for you) [09:57] ogra: it is so smart now, much easier in lucid than before [09:58] building packages ? [09:58] that has always been like that :) [09:58] (cant speak for the kernel though, not sure that was different before lucid, but i dont think so) [09:59] ogra: need i use root or fackroot? [09:59] fakeroot is ok, but you shouldnt even need that for building a source package [09:59] err ... hmm, you might [09:59] use fakeroot :) [10:00] never use root for building packages [10:00] ogra: you should like this: http://hrw.pastebin.com/aR3VSxJS [10:00] hrw, great ! [10:00] hrw, how about dropping all the if/then ? :) [10:01] [ -z $BITS ] && BITS=8 [10:01] works the same way and is more readable [10:01] I like if/then/fi more [10:01] (makes no difference execution wise) [10:01] ogra: I prefer programing languages then shell ones so if/then/fi [10:02] hrw, will you put that into initramfs-tools by default ? [10:02] * ogra votes for it [10:02] ogra: asac did put it in some package already [10:02] ogra: so ask him [10:02] oh, /bin/autologinroot wont work in initramfs-tools [10:02] hrm [10:03] hrw, i want that function in ubuntu proper too [10:03] but /bin/autologinroot will make that impossible [10:04] ogra: I think that /etc/default/autogetty can solve that [10:04] you mean by just checking for a variable ? yeah, that would help [10:05] asac, where do you plan to put that script ? [10:06] (it wasnt uploadedd to maverick apparently) [10:06] ogra: http://hrw.pastebin.com/LtbQBMa0 [10:06] ogra: I think that so far it landed in newcore package [10:07] right, i'd like to have that function in maverick (and i'd like to use it for 10.07) [10:07] why do you set line 17 ? [10:07] if AUTOGETTY_ARGS="-n -l /bin/autologinroot" is in /etc/default/autogetty that should be fine [10:07] cause I am testing it on system where I do not want to create such one [10:08] ah [10:09] well, for having it in maverick it would have to not use autogetty by default [10:09] so you need the eaxct opposite here :/ [10:10] ogra: or add "START=yes/no" in /etc/default/autogetty [10:10] right, something like that [10:10] though that would even require to have the autogetty binary in the main distro [10:11] i would propose to just source the default file if it exists, put your stuff into the distro and for your project just have a package that creates the file [10:11] i.e. an autogetty package that ships binary and /etc/default/autogetty [10:12] that way the distro can have serail gettys automatically without using root access on them by default [10:13] ok, will discuss with asac [10:13] cool, thanks :) [10:13] i guess he's off today as well [10:14] and i'll go enjoying a bit of my free day too now ... back later [10:15] national holiday? [10:18] yes whit monday [10:21] I need to readd US/UK/FR national holidays to calendar [10:23] ogra_cmpc: curious, .fi has a WhitSunday [10:24] amitk, we have that too [10:24] its both days in .de [10:27] amitk: what's the point on having sunday off? ;) [10:28] kblin: if you work in supermarket then it matters [10:28] hrw: not in .de [10:28] kblin: but in .pl yes [10:28] at least in my state supermarkets aren't allowed to open on sundays [10:29] kblin: basically if you work in businnes which is open 7 days a week then sundayOff matters [10:29] same here [10:29] which is funny, given how much more religious the polish people are in general [10:29] in Poland supermarkets can be open on sundays and I even like it. [10:29] during week I do not have a time to go and make big shopping [10:30] well, people tried to do that in .de as well, but unions and churches lobbied against it [10:31] so if you have a gas station with an attached supermarket you can open on sunday, but if you're a normal supermarket you can't [10:31] obviously god likes gas stations ;) [10:55] heh [10:55] * ogra_cmpc just found out why his touchbook batteries didnt charge [10:55] apparetnly you can only charge it while its running [10:58] common problem with cheap hardware [10:59] ogra_cmpc: I'm guessing they have a driver to do charging then? [11:00] apparently [11:00] i wish the NIC would work :( [11:03] quit complaining, at least you have one to play with :-D [11:03] ok, lets plug some dongles and report bugs against linux-omap-ti [11:03] linux-ti-omap [11:03] right - have it open in browser [11:03] test1: rt2570 [11:03] ogra_cmpc: Yes, on N900 the phone actually boots in a special mode when charging the batteires [11:04] well, its supposed to be a rt2879 [11:04] err [11:04] 2870 [11:04] ogra: no, I have rt2570 and rt3072 here [11:04] loading the shipped module in OE doesnt get me a device [11:04] ah [11:05] and plugging the device into an x86 system also only gets me errors in dmesg [11:05] i suspect the HW is dead [11:05] let me check [11:06] plugging in my zd1211rw NIC makes the system shut down ... i guess i need to charge some more hours [11:06] ok, got same in desktop. shit... it was working [11:06] 6€ turned to dust [11:07] sadly OE only ships that single one USB wlan NIC driver :( [11:07] will check under maverick kernel later (on desktop) [11:07] so even if it wouldnt shut down, my zd1211rw wouldnt work :( [11:08] without network its a pretty useless thing ... [11:09] * amitk boots a 2.6.34 maverick kernel on the beagle [11:09] * ogra_cmpc is envious [11:10] amitk: share [11:10] will surely be in the archive soon [11:11] cool [11:11] rt3072 under lucid/desktop suxx [11:13] geez [11:13] erm [11:13] i cant get ARM/BeagleNetInstall to work [11:13] * ogra_cmpc reads the AI FAQ [11:13] fatload mmc 0 0x82000000 boot.scr says 227 bytes read [11:13] source 0x82000000 says Unknown command 'source' [11:14] "My batteries does not seem to charge ..." [11:14] "With a voltmeter, check the voltage of pin 7 of the battery connector" [11:14] oh my [11:14] neure, ouch, your u-boot is to old i guess [11:14] neure, open the boot.scr file in vi on your desktop and type in the lines manually [11:16] ugh [11:16] "Your wifi dongle may not work. Try to plug it into another USB port an wait a minute: the LED should blink. If not, please reinstall your OS" [11:16] hrw: display is broken, dss2 patch was merged only after 2.6.34, cherry-picking now... [11:16] reinstall your OS, yah [11:16] Oh my. That:s not a good recommedation. [11:16] persia, the AI FAQ is full of that stuff [11:17] grab your voltmeter ... reinstall your OS [11:17] Right. Need to get those folk off email and in here and then everything should work [11:17] hahah [11:17] There seems to be something loose in my bottom part [11:17] You might have a loose counterweight: you can easily re-glue it by un-mounting your bottom part [11:18] ogra, could you pastebin that http://ports.ubuntu.com/ubuntu-ports/dists/lucid/main/installer-armel/current/images/omap/netboot/omap/boot.scr somewhere for me? [11:18] i cant seem to see it properly in windows :/ [11:19] hmm i think i can read this somehow.. [11:20] fatload mmc 0:1 0x80000000 uImage [11:20] fatload mmc 0:1 0x82000000 uInitrd [11:20] setenv bootargs vram=12M omapfb.mode=dvi:1280x720MR-16@60 [11:20] bootm 0x80000000 0x82000000 [11:21] :/ [11:22] ogra_cmpc: what do you think about a feature in flash-kernel where it can flash to a different area in flash, so that if the new/test kernel is broken, I can stop uboot autobooting and point it to the alternate (old) address for a working kernel [11:22] amitk, planned for maverick already [11:23] * amitk ^5s ogra_cmpc [11:23] amitk, since we will provide preinstalled SD images its no prob to keep a uImage.bak in place in the vfat partition [11:23] amitk: Mind you, if you implement it first/faster, that's lovely :) [11:23] i still cant get keyboard work :/ [11:23] we wont use NAND in maverick (since most OMAP4 devicdes we'll suppport dont have NAND) [11:24] Rather, we won't use NAND for any images, or by default. No reason we can't have support there. [11:24] * amitk better figure out why mmc isn't working in the 2.6.34 kernel then :) [11:24] In fact, that makes it significantly easier to do other stuff later. [11:24] we wont use NAND at all in flash-kernel with the new images [11:26] neurre: are you connected via your usb-hub to the ehci port of beagle? [11:30] if netinstall fails, what is the next best option [11:30] SD install [11:30] url? [11:32] neure: what reason for the failure? [11:32] amitk, when i boot the netinstall image on my C2 beagle, usb does not seem to work [11:32] usb works when i boot to ångström [11:33] this is powered usb hub on miniusb [11:33] so im stuck at the language selection screen in the beginnin [11:35] amitk, any suggestions? [11:35] neure: Do you want GTK, Qt, or server? [11:35] neurre: is your keyboard connected via your usb-hub to the ehci port of beagle? [11:35] persia, i just want X [11:35] amitk, usb-hub [11:35] powered usb hub [11:35] neure: where is the usb hub connected? [11:35] neure: OK. For SD install, we have two images that have X, one with GTK and one with Qt. [11:35] to the ehci port or the smaller otg port? [11:36] amitk, the smaller usb connector on the board [11:36] smaller one [11:36] the normal looking usb port has nothing in it [11:36] neure: that is broken ATM, see bug list [11:36] amitk, so, what should i do? [11:37] neure: if you can fix it, I'll take patches. Otherwise, you'll have to wait while we fix that bug. [11:37] persia, which one has less space wasted?) [11:37] can i use preinstalled images? [11:37] neure: They're about the same size: you can look at manifests at http://releases.ubuntu.com/lucid/ or http://cdimage.ubuntu.com/kubuntu-netbook/ports/releases/lucid/release/ [11:37] i hate those huge borders in ångström enlightenment [11:38] neure, you should use the netinstall image but using the OTG port wont work, use a powered hub on the big USB port [11:38] persia, i was talking about wasted screen pixels :) [11:38] There are no preinstalled images available. [11:38] ah [11:38] ogra_cmpc: the B2 boards don't have the ehci port populated, I believe. So he is out of luck [11:38] so if i'd use usb hub on normal usb, it'd work? [11:38] I think the Qt interface scales better, but it requires 2D accelleration to be acceptable. The GTK interface breaks down at less than 1024x600, but works with no accel [11:38] i have C2 [11:38] not B2 [11:38] neure, and a proper power supply on the board itself since the C2/3 have HW issuess otherwise [11:39] i have proper power supply [11:39] ok [11:39] then just plug your powered hub into the big USB port and it should just work [11:39] the OTG port is not supported in the lucid kernel as amitk said above [11:40] The port is entirely unsupported, or it fails to work in one or the other mode? [11:41] entirely unsupported with that kernel version [11:41] Ugh. That's awkward. [11:45] i had to take one usb hub from my computer [11:45] i had two in a chain [11:45] ok, I will not fight with ogra or amitk but OTG works in lucid 10.04 kernel on C3 BB [11:45] this usb hub is bigger than the beagleboard itself :D [11:45] it's HUGE [11:45] hrw: Maybe different chip revs? [11:46] great, now that i moved usb serial thing to new usb port.. it's now COM6 :D [11:46] neure: my desktop has 7 serials out-of-box [11:46] hrw: Are you sure you run the ubuntu kernel? CONFIG_USB_MUSB_OTG is disabled on it... [11:47] hrw, my "desktop" is macbook running windows xp with.. 2 usb ports :D [11:48] now, i did not get that error [11:48] lets see if keyboard will work .. [11:48] yes [11:48] \o/ [11:49] amitk: fun... I could swear that I installed on otg [11:49] hrw: switch in Angstrom kernel, do install :-D [11:49] netinstall proceeds :) [11:50] lunch-time [11:50] XorA: I have ubuntu installed [11:50] XorA: 0.22uF capacitor hack helps [11:50] amitk: smacznego [11:51] hrw: my usb died completely, but I have Lucid on my omap4430 [11:51] hrw: thanks! [11:51] which is the worlds hugest board [11:51] XorA: is that the OMAP4 SDP? [11:52] amitk: yes === amitk is now known as amitk-afk [11:52] amitk: took my rootstocked image and used custom kernel [11:52] erm [11:53] it doesnt detect my network :/ [11:53] i get a redscreen during netinstall coz my network is not detected :/ [11:55] :( [11:56] might be that we are missing some drivers here [11:56] a) file a bug with the exact description of your NIC so we can fix it in maverick, b) use the server image [11:57] its some logilink usb 2.0 to fast ethernet thing i have [11:57] (or the netbook one) [11:57] Will the server image help? I thought it was the same initramfs as the netinstall image. [11:57] it doesnt neet network :) [11:57] it was in the beagleboard box [11:57] Or do you mean: perform the install without network, get network working, install X. [11:57] ok where do i get server image? [11:57] network works fine once the kernel is installed [11:58] there are issues with the udeb [11:58] neure, same wikipage [11:58] i rebooted.. [11:58] neure, note though that you need a usb disk/key to install to [11:59] got one [11:59] Um, the lucid server image seems to have gone missing, unfortunately :( [11:59] netinst is the only one that can diretly install to the SD you booted from [11:59] so what, there is no server image? [11:59] No. Just odd URL: http://cdimage.ubuntu.com/ports/releases/lucid/release/ [11:59] so now what?-| [11:59] thx! [12:00] will try that now [12:00] * persia was expecting http://cdimage.ubuntu.com/ubuntu-server/ports/releases/lucid/release/ [12:00] erm [12:00] which image? [12:00] Texas Instruments OMAP server install image [12:00] http://cdimage.ubuntu.com/ports/releases/lucid/release/ [12:00] armel+omap [12:00] right [12:01] nothing odd about that url [12:01] so once i have that .img.. what do i do with it? [12:01] * hrw -> lucnh [12:01] dd it to the SD card [12:02] device? [12:02] ? [12:02] dd to /dev/sdb ? [12:02] if sdb is your sd card, yes [12:02] Depends on how your SD is mapped, really. [12:03] and why would i need usb stick? [12:03] to install to [12:03] the img is an installer image [12:03] and thats the destination where it will be running?) [12:03] right [12:03] so i wont need sdcard after? [12:04] it well keep booting from the usb key? [12:04] it will start from NAND and boot the OS from USB, right [12:04] not exactly ideal [12:04] is there any other way? [12:05] only wiht the netinstall, that will boot from NAND and then be able to run the OS from SD [12:05] but you will need a different NIC for it apparetnly [12:05] :/ [12:06] would be great to have install from usbkey [12:06] all will get better in maverick with the preinstalled images :) [12:06] they will just run from SD directly [12:07] so your thrid option would be to wait 6 months *g* [12:07] this is AU0025C [12:07] neure: The main blocker to install-from-USB is the lack of support for it on the hardware. [12:08] really? [12:08] neure: if you want to play, and you have NAND, you can try to put the bootloader in NAND, and then have that boot from USB, but it might be tricky. [12:08] well, thats what we currently do post install [12:08] Yeah, the ROM in the processor on that chip can only load the bootloader from MMC or NAND. [12:08] but pre-install you have to rely on the possibilities the HW offers [12:08] ogra_cmpc: I thought it was still bootloader-on-MMC postinstall: glad to hear it's not. [12:09] nah, we have kernel and initrd in NAND [12:09] so we can boot off whatever device we want [12:09] Well, no. [12:09] we could even do bluetooth NFS [12:09] :) [12:09] When you put kernel and initrd in NAND, you mostly boot off NAND. [12:10] but your rootfs can live wherever you want [12:10] The location of root is completely arbitrary, but that's mounted post-boot [12:10] Right. [12:10] right [12:10] * persia is quibbling about nomenclature and semantics, but likes that NAND is used [12:10] well, not anymore after lucid [12:10] where should i file the bug report about the missing driver? [12:11] http://www.itbank.us/Logilink+UA0025C/ [12:11] thats the device i have [12:11] neure, launchpad against linux-ti-omap [12:11] mention that its missing in the udeb package [12:11] neure: Best if you can run `ubuntu-bug linux-ti-omap` from the board, with the nonfunctional device attached. [12:11] haha [12:11] without network :P [12:11] Sure. [12:12] the way it works is that it prepares a report, and then, if you don't have X, gives instructions for getting that offline and filing the bug. [12:12] sure [12:12] well [12:12] its easier to do it via the web interface though [12:12] first i would need to INSTALL :) [12:12] So you copy the files containing the report details, and then do something like apport-submit (I forget: instructions for the process are part of the process), which submits the right stuff. [12:12] for a simple omission in the udeb at least [12:13] But less complete :) [12:13] Anyway. [12:13] we only need info about the NIC [12:13] and we most likely have the module in the std kernel package [12:13] its just about making sure it ends up in the udeb [12:14] lsusb in vmware says Bus 001 Device 002: ID 9710:7830 MosChip Semiconductor MCS7830 Ethernet [12:14] is that sufficient? [12:14] yeah [12:14] moschip only has one driver [12:14] url for filing a bug? [12:14] launchpad [12:14] and its not included? [12:15] it isnt in the udeb package which the installer uses [12:15] it is the the actual kernel after installation [12:16] i should first search if it is already registered as a bug? [12:22] https://bugs.launchpad.net/ubuntu/+source/linux-ti-omap/+bug/584920 [12:22] Launchpad bug 584920 in linux-ti-omap (Ubuntu) "netinstall fails, it has no network driver for moschip (affects: 1)" [Undecided,New] [12:22] there [12:25] ah, great [12:26] since this was in the beagleboard box that we bought, i would expect there are other ppl with the same adapter [12:27] unfortunately it also comes with the [12:27] otg usb hub :/ [12:27] in maverick everything will be better [12:27] we only had three weeks to build the lucid image [12:27] well i need this working today :) [12:28] it will work after install [12:28] well i will endup running it from the usb stick :D [12:28] just use the server image and it will be fine after installation [12:28] yeas [12:28] i just had sdcard bought for me [12:29] now i need to tell 'oops i need usb stick too' :D [12:29] but hmm [12:29] i could get even bigger usb stick?) [12:29] you can even use a real USB HDD [12:39] cool [12:40] looks like i can actually get a real usb hdd [12:40] is that possibly more performant than the sdcard? [12:41] depending on the usb hdd.. Yes. ;) === amitk-afk is now known as amitk [12:50] it also won't wear out as fast [12:51] well [12:51] turns out i only got usb stick :/ [12:51] well, more portable [12:51] are there NEON mplayer/ffmpeg packages for ubuntu lucid? [12:52] so what I use is an sdcard for the system an put all the bigger data on /data [12:52] which is, depending on the system either a usb stick, a usb hdd or a cifs network mount [12:55] ah, ok [12:55] so i can add that later, yeah [12:55] half way downloading network image [12:55] i mean server image [13:03] how does that dd work anyway? [13:03] my sdcard is 16gig [13:04] i can safely dd anything smaller that that to it? [13:04] yeas [13:11] just dd img -of=/dev/sdb or do i need something more? [13:11] dd if=/path/to/img of=/dev/sdb [13:11] (with sudo) [13:12] this is going to take a while ... [13:22] only 10 minutes :) [13:23] so.. [13:23] how do i boot from this image? [13:24] mmcinit - init mmc card [13:24] ** Unable to use mmc 0:1 for fatload ** [13:28] got ut [13:30] erm [13:30] the installer seems to hang [13:30] [!] Partition dsiks [13:30] Installation medium on /dev/mmcblk0p1 [13:31] i dont seem to be able to get past that dialog [13:31] no, you want to use the usb disk [13:31] as installation medium? [13:31] asw target device [13:31] yeah but i cant get rid of this dialog [13:32] installer gets stuck there [13:32] it doesnt here [13:32] you should just be able to hit enter there [13:32] well i do, nothing happens [13:32] and then get to the partitioner [13:33] thats before the paritioner ? [13:33] (before it asks you to select a device for paritioning?) [13:33] yes [13:33] before [13:33] strange [13:34] and you are sure you have the USB key attached already ? [13:34] yes [13:34] it should really just tell you that mmc isnt a valid media to install to [13:34] thats what happens on mz B3 and C4 at least [13:34] morning [13:35] detecting disks... [13:35] ogra : do you think the 2.6.35 merge window will last as long as Jun 1? [13:35] starting up the partitioner [13:35] then i get this dialog [13:35] oh [13:35] now it worked [13:35] on second boot [13:36] what should i select? [13:36] guided - use entire disc? [13:36] yeah [13:36] its 16GB kingston usb stick [13:37] Failed to create a file system [13:37] ugh [13:37] Martyn, no idea, ask the kernel team [13:37] which image is neure using, on which hardware, out of curiosity? [13:37] The ext4 file system creation in partition #1 of /dev/sda failed. [13:38] Martyn: doubtful, Linus should release the -rc1 this week IMO [13:38] beagleboard C2 [13:38] ogra_cmpc: can i use the versatile kernel to run the netinstall of the beagle initrd in qemu and then copy the resulting image file to an sd card? [13:38] image is ubuntu-10.04-server-armel+omap.img [13:38] (because i dont have an usb-ethernet card) [13:38] xorAxAx, well, you wont have a kernel in the target and your NAND wont be set up right [13:38] and when i get that red screen, keyboard no longer works [13:39] amit : damnit... i need one more week to get the mach-sstone patch ready [13:39] for creating a rootfs you can for sure use qemu netinstall [13:39] ogra_cmpc: can i somehow manually execute those steps? [13:39] neure, but your hub is powered, right ? [13:39] Martyn: you're assuming that the patches will be accepted in the first submission... [13:39] yes [13:39] it is powered [13:40] amitk : yes, i know [13:40] xorAxAx, for setting up the nand and kernel ? thats a bit tricky ... but you can look into the source of flash-kernel what it does for the beagle [13:41] xorAxAx, you should be able to use the netbook or the server image (at least thats properly tested on C3 and C4 beagles, looking at neure the C2 seems to have issues) [13:41] both dont need networking [13:42] ogra_cmpc: but i want to install to the sd card [13:42] ogra_cmpc: why isnt that possible using the server image? [13:42] because the installer runs from the SD [13:42] its not capable to install to the media it runs from [13:43] silly limitation [13:43] the netinst image copies the 10MB installer to ram after booting and doesnt need the SD afterwards ... the server install has all the packages on the SD [13:43] neure, well, add a gig of ram to your beagle and i can overcome that :P [13:44] if you have a whole package archive on the SD that needs to live somewhere [13:44] couldnt you use usb stick as a temp file system during installation or something like that? [13:44] ogra_cmpc: can i run the server installer from an usb stick? [13:44] we could copy it to ram as the netinst installer does but that would require at least the amount of ram the SD carries as packages [13:45] and why not usb stick? [13:45] you could install the installer to usb first :) [13:45] xorAxAx, with some tricks you should be able to have the archive on usb, but dont ask me how === XorA is now known as XorA|lunch [13:45] should be described in the debian installer docs somewhere [13:46] neure, because beagle cant boot from USb [13:46] we had that discussion before [13:46] ogra, it doesnt need to boot from there [13:46] for the installer it does [13:46] really? [13:46] the installer is the initrd [13:47] in case of debian-installer images (server and netinst) [13:47] so uImage and initrd need to come from SD [13:47] at least with this HW [13:48] but once loaded they dont need the sdcard [13:48] hrw: I've renamed the wiki page with the arm-m-cross-compilers spec to CrossCompilers instead of CrossCompilation [13:48] hrw: https://wiki.ubuntu.com/Specs/M/ARMCrossCompilers [13:48] hrw: Also, did a large pass on it [13:48] hrw: Could you have a look? [13:48] there are tricks that you can tell d-i to use the archive from a different media [13:48] but as i said above you have to look them up in the d-i docs [13:49] and have to modify the image accordingly [13:49] hrw: If you're happy with the overall text, I'll add work items [13:50] lool: in few minutes I will look [13:50] hrw: Once thing which we failed discussing is how the runtime libs should be named and packaged, either they could use the dpkg-cross namespace (package name and file locations), or the cross-compiler one; the latter seems safer, but it could confuse dpkg-cross later and means we have two runtime libs (one dpkg-crossed, the other cross-built) which is also confusing [13:55] or we move to sysroot and keep all crossarch stuff in sysroot only. maybe will require adaptations in dpkg-cross to follow. and I would follow dpkg-cross naming of packages [13:55] but would be nice to have 'cross/' section maybe for them [13:56] cross? [13:56] "no, we do not cross compile" [13:57] ogra_cmpc: what if i install to a usb storage device which is a sd-card and then later plug the sd card into the beagle, will it still find the root fs? [13:57] xorAxAx: UUID is same so it should [13:57] ok [13:57] hrw: What does moving to a third location gain us? [13:58] Besides the location is only half of the problem, the other namespace issue is with package names, dpkg-cross also converts dependencies [14:01] lool: location is small problem which can be solved in any way. naming/deps are more important. I think that it depends on how much multiarch ubuntu will be. so far on x86-64 we have ia32-* packages for 32bit compatibility and they are stored in defined places and have own deps. but they are also ugly. [14:02] lool: dpkg-cross way gives simple visibility which pacakges are cross ones but require all that converting (which can be also done at build time of packages if we will go that way) [14:02] lool: I mean: how to show that libpng12 is x86-64 (host) or armel (cross)... [14:06] hrw: Multiarch isn't in the picture yet; we know that's what we want in the end, but it's not available right now [14:06] hrw: ia32-libs is horrible [14:13] * ogra_cmpc dances ... [14:13] finally got the touchbook booting [14:13] and I got auto-serial-console working in a way wanted [14:31] hrw: Are you happy with the wiki page? [14:32] yes, I am [14:47] now im trying again with a different usb stick [14:49] also fails for another partition :D [14:50] i mean stick [14:52] lool: personally, I prefer sysroot too. nice wiki page [14:54] neure, but it is listed in the partitioner ? [14:56] fuck [14:56] i switched to another usb hub [14:57] now the usb hub i tried on beagle .. is giving me issues on the pc :D [14:57] like, mouse is not working through it :D [14:57] well, the C2 definately has USB power issues [14:57] now it is [14:58] see http://elinux.org/BeagleBoard#EHCI [14:58] hrw: BTW did you manage to build an emdebian style cross-compiler using the Ubuntu sources? [14:58] yes, I did [14:59] hrw: did you hit the configure problem with libstdc++ and libiberty ? [14:59] rsavoye: during build of gcc? nope [14:59] no c++ ? [15:00] g++-4.4-arm-linux-gnueabi_4.4.3-4ubuntu5_amd64.deb [15:01] I built gcc, g++, gfortran, gobcj, gobcj++ [15:01] using the code sourcery patches ? [15:02] no, ubuntu sources [15:03] I plan to recreate it from scratch tomorrow anyway [15:03] I'd have to check, mostly I'm just curious as I use FSF sources [15:04] oh dear === robclark is now known as robclark|pb === robclark|pb is now known as robclark [15:19] hrw: Do you have some tasks you feel like you can attack already with the cross-toolchains? [15:21] lool: was thinking about dropping dh_movefiles for start and then looking how binary-cross is made [15:22] lool: sysroot changes from 4.5 would be nice to have in 4.4 but did not looked at 4.5 yet [15:29] Hmm ok, movefiles was actually assigned to me [15:30] ok, can skip it [15:33] mumble [15:33] so i got a working kernel but the screen shuts off after some minutes [15:34] energy saving feature :D [15:34] i wish it would be that easy [15:40] ogra_cmpc: oops? [15:40] amitk, yes, but unrelated to the framebuffer [15:41] arch/arm/mach-omap2/dpll.c:439 omap3_noncore_dpll_set_rate+0x220/0x264() [15:41] seems it doesnt like that i picked performance as governor at compile time [15:42] but its unrelated to the screen [15:42] (note that is the 2.6.34 touchbook tree i'm trying here) [15:43] should be unrelated to the governor, but a real bug in the dpll code (that could take down the dss on its way down) [15:44] if i start/restart gdm i see some message about GFX underrun [15:44] saldy that doesnt show up in any log [15:46] aha ! [15:46] this time it wrote to dmesg [15:46] [ 3859.026519] omapdss DISPC error: GFX_FIFO_UNDERFLOW, disabling GFX [15:47] hmm, and the screen didnt shut down yet i still see my xterm [15:47] wow and the touchscreen works out of the box [15:48] so apparently issuing xset dpms force on and restarting gdm made it work [15:49] * ogra_cmpc is brave and installs ubuntu-netbook [15:49] i hope the 4G SD card is sufficiant [15:51] * robclark|pb finds 4gb a bit small once you install build-essentials and a handful of builddeps.. [15:52] yeah, its only a test setup to get a touchbook image together [15:52] i wont really do work on it [15:52] basically i just want a std ubuntu install to work on the touchbook [15:52] that SD is supposed to be my reference [15:53] ogra_cmpc: How much variance do you see? Do you expect that we could have a single image that worked on that and on the beagles? [15:54] persia, not until someone uinfies u-boot [15:54] Oh, heh. same problem as always [15:55] persia, but the pkan is to provide a script or at least a wikipage to replace MLO and u-boot on the maverick preinstall images we,ll provide [15:55] since amitk fights for a unified kernel at least :) [15:55] ogra_cmpc: having a brain freeze here, what is the program that writes the kernel/initrd to nand on beagle? flash-kernel? [15:55] * persia omits a repitition of the the extended whining about the parlourous state of bootloaders [15:55] amitk: Yes [15:55] amitk, in lucid and later its update-initramfs calling flash-kernel [15:56] before it was the kernel posinst via kernel-img.conf [15:56] what package? [15:56] kernel-img.conf doesnt come from any package afaik [15:56] its cretaed by the installer [15:56] Indeed, it is. [15:57] the ac tual work is done by flash-kernel though [15:57] no, I meant flash-kernel. I want to find out the commands and addresses you write the kernel to [15:57] and the flash-kernel-installer.postinst which is used by d-i/ubiquity [15:57] ah [15:58] look at debian/flash-kernel-installer.postinst in the flash-kernel source then [15:58] it sets up the adresses etc [15:58] * amitk is trying to rescue a broken (test) kernel upgrade [15:58] ow [15:58] * ogra_cmpc checks the source [15:59] Isn't flash-kernel-installer.postinst basically just a reimplmentation of flash-kernel for use in a udeb? [16:00] persia, nope [16:00] its doing all the setup for flash-kernel [16:00] amitk, so basically its just writing to the mtdblock device that holds the kernel [16:01] dd if=/dev/zero of=$kmtd bs=$kmtdsize count=1 [16:01] cat $tmp.uboot > $kmtd [16:01] $kmtd is the mtdblock device that is labeled as Kernel in /proc/mtd [16:01] and $tmp.uboot is the uImage [16:02] and $mtdsize is the size of the mdtblock device in bytes [16:03] *$kmtdsize [16:03] and that part is definately in flash-kernel not the installer [16:04] ogra_cmpc: and initramfs? [16:04] same thing [16:04] but its using the "File System" space for the uInitrd [16:05] ohh, they probably use offset [16:05] using a fixed size of 16777216 bytes [16:05] (for zeroing it) [16:05] ogra_cmpc: What is "File system" space? [16:06] cat /proc/mtd [16:06] try that [16:07] you should get u-boot, u-boot config, kernel and file system [16:07] the device labeled filesystem is the one we use for initrd [16:08] ogra_cmpc: I'm at uboot prompt, transferred over a kernel using ymodem. Now hoping to flash that to nand [16:08] oh [16:08] no idea [16:08] i always do it from a running system [16:08] i guess i have to refer you to the beagle wiki [16:08] could I do it from initramfs? (I don't think so) [16:09] you should be able to [16:09] as soon as the /dev/mtdblock* nodes exost [16:09] exists [16:09] ssvb: cosmicparrot :D [16:11] did someone built maverick's gcc-4.4 for armel? ports.ubuntu.com has it but no libstdc++ package [16:11] i think doko uploaded it, yes [16:12] should be named libstdc++6 though [16:12] yes, but there is -dbg, -pic, -dev but no lib [16:13] anyway I will rebuild it here [16:13] ogra_cmpc: the problem is that the test kernel broke mmc :-/ [16:13] hrw: Check the build log: maybe something fixable went wrong. [16:13] k [16:14] amitk, ouch, you could x/yload kernel and initramfs and boot from ram though [16:15] hrw, http://ports.ubuntu.com/pool/main/g/gcc-4.4/libstdc++6-4.4-dev_4.4.4-2ubuntu2_armel.deb [16:15] built may 19 [16:15] facepalm... [16:16] hmm, only -dev though [16:16] and -pic [16:17] ~curse apt-cross [16:17] there is no non-pic version [16:21] exactly [16:21] well, as persia said and also ask doko [16:21] yep [16:22] anybody knows what i need to pass on the kernel param line to get omapfb run on s-video out? [16:23] xorAxAx: Check on #beagle or #linux-omap? [16:24] hrw: the runtime libs are built from gcc-4.5 in maverick [16:25] thx [16:26] https://launchpad.net/ubuntu/+source/gcc-4.5/4.5.0-3ubuntu1 has links to the .debs [16:26] now /me facepalms :P [16:34] hrw: I added work items to https://blueprints.edge.launchpad.net/ubuntu-arm/+spec/arm-m-cross-compilers the dh_movefiles action was originally assigned to me, but I don't mind if you pick it up [16:35] hrw: ogra: 2.6.34-based omap3 kernel - display and usb works, nand driver broken, but xubuntu works fine. Find it here -> http://people.canonical.com/~amitk/ti/ [16:36] lool: tomorrow I will rebuild toolchain with maverick sources and then start from movefiles [16:36] it looks "good enough" to start the maverick cycle, IMHO [16:37] amitk: fetching [16:50] amitk, thats beagle only ? or did you add any other nofty HW support [16:50] *nifty [16:51] ogra_cmpc: nothing notably new, except for OTG support (I have no HW to test though). Once this is verified on beagles, we can start playing with more features. === rsalveti_ is now known as rsalveti [16:51] amitk: during UDS persia was giving otg host cables [16:52] JamieBennett: It seems one can retarget blueprints to a different project [16:52] JamieBennett: I wonder whether it would make sense to move the bps back to /ubuntu [16:52] It would give us all the regular milestones [16:52] * persia suspects this would make it easier to collaborate effectively [16:58] * hrw -> off [16:58] have a nice rest of day === hrw is now known as hrw|gone === XorA|lunch is now known as XorA [17:10] lool: That is possible, I'm not completely convinced its the right option though [17:22] hmm, is a headless box supposed to automount usb drives? [17:23] ah, usbmount just didn't use ntfs. [17:30] JamieBennett: What would it take to convince you? [17:32] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=321694#17 [17:32] Debian bug 321694 in usbmount "usbmount: use vendor/model in mountpoints" [Wishlist,Open] [17:43] DanaG1: I'm really tempted to mark that Won'tFix, for several reasons. Firstly, I have several devices with the *same* vendor/modle that I use simultaneously. Secondly, I have other devices with nice names I want to keep. Thirdly, I think most users would be confused. [17:43] Please rebut, and I'll delay doing that :) === amitk is now known as amitk-afk [17:47] * zyga enjoys evening working spree :-) [17:48] JamieBennett: Do you have some time for a call? === XorA is now known as XorA|gone [18:41] ndec: you around? === sumitsemwal is now known as sumitsemwal|home === amitk-afk is now known as amitk [19:27] NCommander: national holiday today [19:28] lool: d'oh :-/ [19:43] NCommander, so i dont undrestand what your issues with genext2fs are, it works fine for me on the babbage and rolls a netbook image in ~30min [19:51] ogra_cmpc: when I tried it, it ate more and more RAM until it eventually OOMed. If it works for you, then I'll leave the code be :-) [19:52] well, you have a weird way of computing the size, it might get confused because you allocate more than actually needed [19:53] the -b parameter should take exactly the size of the chroot contents [19:53] the tool will allocate enough to add a journal later [19:54] also there is no need to add 10MB spare space, we wont need them [19:55] the partition will be resized before the first boot anyway [19:56] i agreed that genext2fs isnt actually a beauty with its habit to allocate the full image size in ram before writing to it, but we have 30G swap on the builder so no worries [19:56] *agree [19:58] * ogra_cmpc goes back to slurp cool Cidre and watch TV [20:06] So, the reason the magic 10M exists is to contain pool/ [20:07] If debian-cd isn't going to insert that later, it's not needed, but... [20:07] ogra_cmpc: tune2fs fails if there's no free space [20:07] ogra_cmpc: feel free to improve the code, its free software afterall :-) [20:07] * NCommander runs [20:08] * persia lassos the running target [20:08] NCommander: So, where does pool/ end up living with this new order? [20:09] persia: what pool? [20:09] The set of stuff that some folk need to be able to connect to the network to get other stuff. [20:09] If we need a pool, then we need to expend toe spec [20:09] We need a pool. [20:09] I thought that it was going to prepopulate /var/cache/apt/... somehow, but there are other ways to make it work. [20:10] persia: this is a corner case IMHO. [20:10] It's really not. [20:10] persia: this image is for demostration purposes only [20:10] do we *really* need a pool? [20:10] Three of the last four machines I've installed needed pool/ [20:10] what did you need from the pool? [20:10] Drivers for network [20:10] Drivers for video [20:10] persia: drivers for the network are included on OMAP4 in kernel [20:11] You sure? [20:11] video can be downloaded from a PPA [20:11] persia: its supposed to work [20:11] So, what kind of network drivers are in the kernel? [20:11] Do they work for my odd network environment? [20:11] What about with my 3G dongle? [20:11] persia: we don't have a USB port on blaze [20:12] That kinda limits what drivers are needed :-) [20:12] And there's onboard network of some sort? [20:12] And this will remain true for other devices that would use this class of image? [20:12] persia: can't speak for hardware I don't have [20:14] persia, why would you want /pool on an installed system ? [20:14] NCommander, tune2fs works for me without leaving a gap in the image [20:14] ogra_cmpc: I don't. I want to be able to get to the network to install other stuff. [20:15] persia, right, and even if we would ship a pool dir it wouldnt be inside the rootfs [20:15] persia: we'll provide drivers for the machines the image is supposed that will make the onboard stuff work [20:15] * persia has had all sorts of devices, the most obscure network requirement was PPP-over-ISDN-on-CF card, which caused no end of annoyance to StevenK when trying not to have pool/ for MID [20:15] persia: ...... my eyes just bled from that sentence [20:16] pool is pointless for that kind of image [20:16] I'm against the very concept of designing software to build images that can only be used for a single device. [20:16] persia: why can't we pre-install this stuff? (or is it in restricted) [20:16] I've no issues with designing software that ends up being used to generate an image that can only be used for a single device. [20:16] Notice the different. [20:16] but thats what we'll do, feel free to come up with a better concept [20:16] Err, Difference. [20:17] ogra_cmpc: As I suggested last week, we could prepopulate /var/cache/apt/ archives with some stuff. [20:17] indeed [20:17] but with what ? all thats intresting cant be shipped anyway [20:17] persia: why don't we just preinstall it now? [20:17] i.e. the 3D drivers [20:17] But we really should include the debs from the ship seed *somewhere*. This may happen to be the empty set for some specific image, but that's coincidence. [20:18] PPPoE is a good example of software most folks don't need and some cannot live without. [20:18] persia: at risk of stupid question, why can't we pre-install it then? [20:18] if you can tell a good reason to have the ship seed for anything i'm happy to prepopulate /var/cache/apt [20:18] NCommander: Because it's useless for most folks. [20:19] persia: we ship IPv6 stuff out of the box, that's useless for more folks than PPPoE :-P [20:19] the only reason i see for ship is to have the closed stuff available [20:19] * NCommander agrees with ogra_cmpc [20:19] ogra_cmpc: Because some use cases for some devices require it. Like I said, I don't care if you make an image where it's empty, but please make sure the facility is there to use the ship seed to populate *somewhere* on the result image for folks/devices/environments that do require it. [20:19] in which case neither preinstallinf nor perpopulating the cache will work [20:20] It's not about open/closed. it's about stuff that most folk don't want and others need. [20:20] Is there an open SD slot? [20:20] no [20:20] else we could use an installer [20:20] No USB, no SD. Anything? [20:20] Any expansion of any sort? [20:21] we will have devices that only come with a single SD slot and nothing else [20:21] No USB? [20:21] No expansion port? [20:21] persia: nothing usable out of the box without a custom kernel [20:21] Nothing? [20:21] NCommander: Why not? [20:21] persia: you'd have to remove the UART gadget and replace it with something else as far as I can tell [20:21] and I'm not even sure if that's possible [20:21] Oh, it has a serial port? [20:21] persia: it has a mini-USB port, and a micro-USB port [20:22] my Blaze won't boot if I have anything in the micro port [20:22] That's USB. I can attach all sorts of things to that. [20:22] well, the blaze has eMMC [20:22] And I might need to have my 3G dongle attached to be able to download updated software. [20:22] and could boot from it [20:22] persia: mini-USB is OTG, and stuck in Host mode out of the box [20:22] Host mode means I can attach a dongle. [20:22] thats a matter of dip switches [20:22] ogra_cmpc: I thought it was panada that had eMMC, not Blaze, or do i have it backwards. [20:22] * NCommander probably has it backwards [20:22] both do [20:23] oh [20:23] just have a look :) [20:23] ogra_cmpc: ... then why can't we have an installer to the eMMC? [20:23] * persia didn't think panda specs were available yet, and wants a URL [20:23] you have mmcblk0 and 1 [20:23] NCommander, because panda and blaze arent the only devices [20:24] So, anyway, regardless of what's in the device, at least someone is going to have an awkward use case. [20:24] And that person is going to need the stuff that usually goes in pool/ [20:24] So that stuff belongs somewhere in the image. [20:24] erm, i'm wrong [20:24] panda wont have eMMC [20:26] persia, make a list of poackages that need to be in pool and dont need a pre-download EULA agreement and i'll happily add them to the cache [20:26] Use the content of the ship seed. [20:26] Same as for any other sort of image. [20:27] hmm, how do I get usb hard drives to automount, by-label, on a headless box? [20:28] ogra_cmpc: the eMMC is available for expansion, so you could have a secondary mmc card, or use eMMC [20:28] usbmount doesn't work for me... I need persistent labels. [20:28] DanaG1: Watch for udev events, and do something with them :) [20:29] persia, so looking at the lucid netbook ship seed i dont see a single package i would ship [20:30] Unfortunately, udev alone doesn't seem to expose the label. [20:31] udevadm info --query=all -a -p $(udevadm info -q path -n /dev/sda2) [20:31] DanaG1: Your program would respond to udev, then perform operations on the device to do things like get the label, then mount it. [20:31] * persia looks at the maverick netbook seed [20:31] If I can run gnome-volume-manager (or an equivalent) in xpra, that'd work, too. [20:32] DanaG1, just create a custom rule [20:32] /etc/udev/rules.d/README has info [20:33] I found one here that tries to use an ENV that doesn't exist as an ATTR. [20:33] ogra_cmpc: So, based on http://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu-seeds/netbook.maverick/annotate/head:/ship-live I'd include pptp-linux, sl-modem-daemon, bpalogin, libatm1, setserial, b43-fwcutter, bcmwl-kernel-source, [20:33] * DanaG1 digs up link... [20:33] Extra langpacks are nice, but it's the network stuff that7s critical. [20:33] http://superuser.com/questions/53978/ubuntu-automatically-mount-external-drives-to-media-label-on-boot-without-a-us [20:34] we wont ship any langpacks [20:34] there's a udev rule... but it doesn't work. [20:34] oem-config will install them if network is available [20:34] if not, the image will stay english [20:35] ogra_cmpc: Fine, but the network stuff is critical. [20:35] Lots of folks have broadcomm. Lots of folks still use modems. Lots of folks need pptp auth to get out of the local net. [20:36] what does b43-fwcutter gain you without the firmware ? [20:37] I don't know. I just know that if I do a fresh install on a machine, and install b43-fwcutter and bcmwl-kernel-source I get a working network,. [20:37] you dont [20:37] I do. I did it on the 11th of May. [20:37] you need trird party frimware files [20:38] I really didn't. [20:38] thats what b43-fwcutter does [20:38] then you only need the source file [20:38] b43-fwcutter extracts windows firmware files [20:39] OK. Maybe I have a windows driver CD that came with my dongle. [20:39] fine then put the CD in your pandaboard :P [20:40] No problem. I have USB DVD drives around. [20:40] * persia should really get a new one, as the one that uses PS/2 power is mostly obsolete, and the other one requires *two* USB ports [20:41] my point is that you have used another computer to download your image and ot write the SD, why cant you just copy debs with that computer on the SD ? [20:41] Because there's no space in the filesystem [20:41] ?? [20:41] the filesystem is as big as the card [20:41] weird.... ata_id and scsi_id are both returning empty strings! [20:41] I'd have to do the install, and then post-install monkey with the SD card, and then install more stuff, etc. [20:42] right [20:42] ogra_cmpc: Not at the time I dd it. Only post-install. [20:42] So, that's an unpleasant experience. [20:42] alternatively you have to bastardize livecd-rootfs to install ship inside the image [20:42] Plus it fails the case where I get passed an already burned SD card somewhere from some guy in an overcoat [20:42] pathces accepted if the cdimage team accepts them [20:42] (yes, this happens: I have been on both sides of such an SD exchange) [20:43] OK, As a rep of the CD image team, do you expect them to be accepted? [20:43] no idea, depends on the code :) [20:43] NCommander: Please present ogra with code to review :) [20:44] pfft [20:44] thats lame [20:44] NCommander has enough work with debian-cd atm [20:44] Well, I guess. I'm just not expecting to get to it for 3-4 weeks, and that's probably late to jam it in. [20:44] Very true. [20:45] just do it if you have time [20:45] i'm happy to review it [20:45] and to merge it too [20:45] OK, consider my protest registerd. I'll send a patch when I can. Otherwise, I'll complain about it for next time. [20:45] next time livecd-rootfs wont exist anymore [20:46] What? Why not? [20:46] Or is it being reimplemented differently? [20:47] d-cd and l-r are being dropped [20:47] In favour of? [20:47] apparently someone decided to switch everything to luvehelper [20:47] *live [20:47] Everything? [20:47] * persia clearly needs to read more of the specs [20:47] i havent seen a spec [20:48] it was a m+1 decision apparently [20:48] cody told me at the corridor [20:48] at UDS [20:48] I'm reluctant to believe that level of infrastructure migration would happen wholesale without a spec. [20:48] m+1 qill likely have a spec then [20:48] will [20:49] But anyway, I'll send you a patch in July, *OR* I'll make sure there is a pool/ equivalent on produced images in m+1 (regardless of the underlying technologies.) [20:51] pool/ wont happen, cache prepopulation can though [20:51] Oh, of course. [20:51] hmm [20:52] I'm not fussed about the name, so long as users can end up with a working system post-install without needing to mount the storage on *another* device. [20:52] pool/ might if we pick to ship with a huge vfat [20:52] though my plan waws to make that hidden actually [20:52] huge vfat? Why? [20:53] But yeah, pool/ on vfat is fine, and can be wiped if the user doesn't need it. [20:53] because we boot from that vfat [20:53] If it's just a boot vfat, it ought be small, I think. [20:53] so the boot partition would be bigger but carry pool/ [20:53] indeed that makes the plan to make it a hidden partition tricky [20:53] I don't like that. I'd rather prepopulate the cache. [20:53] ok, fine as well [20:53] I don't think you want to hide the partition. [20:54] For the EFI/GPT case, the FAT partition is unhidden, which people seem to like. [20:54] i want to hide the partition [20:54] else it gets mounted [20:54] persia: you can hack up a ps/2 to usb-power-only cable. [20:54] or rather, the other way around. [20:55] that fat partition is our replacement for the NAND and will be handled similar [20:56] DanaG1: both ways, actually, but I've seen new devices that have an onboard capacitor to handle spinup with only a 5V/500mA draw. [20:56] ah yeah, usb->ps/2->usb. [20:56] ogra_cmpc: Doesn't have to mount. The FAT partition for EFI/GPT doesn't get mounted. [20:56] Suck power from it, while passing it right back to USB protocol. [20:56] persia, it shows up in nautilus [20:56] ogra_cmpc: Not on a new macbook. [20:56] i dont want people to be able to muck about with it [20:57] * ogra_cmpc didnt know there will be panda based macbooks :P [20:57] http://www.cablesdirect.com/prodimages/USB-PS2F_LR.jpg [20:57] TI will be happy to hear that :D [20:57] I wish my UEFI weren't broken. =( [20:57] ogra_cmpc: The point isn't panda-macbooks. The point is that we have technology that causes special bootloader partitions not to be mounted by nautilus. [20:58] right [20:58] So we ought use that to do this, rather than fiddling with hidden partitions. [20:58] we also have udev rules that hide such partitions completely [20:58] Right. [20:58] HP_TOOLS is another example. [20:58] Which is the right way to do it, not with the hidden flag in the parition table. [20:58] HP boots in CSM mode, but has their EFI partition for stuff like QuickLook. [20:58] i didnt talk about flags [20:59] Oh, then I've misunderstood you. Please forget I said anything :) [20:59] but i want it completely hidden so users dont fiddle manually with the contents and instead use the provided tools [20:59] You can't do completely hidden. [20:59] you can through udev [20:59] Closest is with partition table flags (which I'll argue against) [20:59] No, you can't. [21:00] All udev does is not provide a /dev/ link, at best. [21:00] the system wont see it [21:00] Isn't there something like UML that'll let different apps see different file systems? [21:01] DanaG1: Yes. [21:01] sudo scsiadd -p [21:01] scsiadd:scsidump():could not open /proc/scsi/scsi (r): No such file or directory [21:01] argh... for some reason, that udev rule doesn't work. [21:01] ogra_cmpc: You really don't need to go to that extent. Look up how the EFI/GPT case is handled for Intel Macs. That7s well-tested code. [21:01] It acts as if ENV{ID_FS_LABEL_ENC} does not exist. [21:01] Intel Macs are weird... they don't use protective MBR. [21:02] Well, kinda. [21:02] I wish Apple would recommend using EFI-installed Windows instead of CSM-installed Windows. [21:02] they leave space for it, but don't pay any attention to it. [21:03] i just plan to add it to /lib/udev/rules.d/80-udisks.rules at the bottom [21:03] * ogra_cmpc needs to go now [21:30] ah, fixed the udev rule. [21:30] had to change SUBSYSTEM=usb to SUBSYSTEM=block [21:30] and rename a file I had mis-named. [22:25] * NCommander is dealing with some really sucky internet in his test builds :-/