[03:07] re defconfig -- that's what I guessed. Would be nice to distill it down sometime. [03:18] lilstevie: what is "the blobs-be-gone enhancement"? [03:22] Hi. So I installed an ubuntu chroot on my andoid tablet using debootstrap. Debootstrap didn't give me a sources.list. (Actually it gave me an empty one). So I made myself a sources.list and ran apt-get update. It 404ed on all the repos. What is up? Here's my output from apt-get update: http://pastebin.ca/2080718 [03:23] Also, why is http://lilstevie.geek.nz/ports/nvflash-ubuntu.tar.gz a tarball when it contains only one file. [03:23] Galaxor2: resolv.conf [03:30] Hm. Resolv.conf exists and has the contents I expect. debootstrap doesn't seem to have installed any other programs capable of attempting to resolve domain names, so I can't check it with another program. I don't have host or ping or wget pr nslookup... [03:31] libc performs hostname resolution [03:31] Try "getent hosts" [03:31] Or just put IPs in sources.list for now [03:31] I mean "getent hosts example.net". Also check nsswitch.conf, I guess. [03:35] getent hosts ubuntu.com resolved it. [03:37] Also I notice that the error I was seeing was not a hostname lookup failure but a 404. The webserver was in fact contacted. [03:43] Then I dunno [03:44] Sorry, I should've read your error pastebin, I just jumped to the DNS conclusion [03:45] Your problem is that armel isn't carried on that mirror [03:45] It looks like armel isn't hosted in the normal archive at all. [03:46] Mrr...? Where should I look for the armel stuff? Debootstrap seems to have found it somewhere... [03:47] Dunno, I use Debian. [03:52] Ha. I have sometimes gone to #debian for help if I have a general enough problem but they always get mad at me when they find out I'm actually using ubuntu. I guess the rivalry isn't so intense in the other direction. [03:53] It's more that I'm asking lilstevie for help and he is here, not in #debian-arm [03:53] I do use ubuntu x86-64, but not arm. [03:57] Aha. [03:59] Ok, I found the answer. In my sources.list, I s/us.archive.ubuntu.com\/ubuntu/ports.ubuntu.com/. That did the trick. [04:03] twb: it is a tarball to make it smaller [04:04] it is a 4GB image or 950MB compressed [04:05] Why not gzip it [04:05] An archive of one file is silly [04:09] I mean: ubuntu.img.gz rather than ubuntu.img.tar.gz [04:11] eh [04:11] doesn't really matter tbh [04:15] I guess not, it's just a bit wasteful [04:22] lilstevie: what's the GPT partition table for? [04:23] When you said yesterday that I can blow away everything after EBT, I think that GPT needs to stay [04:24] when I say you can blow it away I mean that they are mobile [04:24] GP1 and GPT are bookends [04:25] GP1 at the start and GPT at the end, everything between them will be able to be addressed from /dev/mmcblk0px [04:30] OK, let me put it this way. default.cfg ships with: BCT, PT, EBT, SOS, LNX, BAK, GP1, APP, CAC, MSC, USP, PER, YTU, UDA and GPT. Of these, [04:30] BCT, PT, EBT, GP1, GPT -- leave these completetly as is. [04:30] BAK, APP, CAC, MSC, USP, PER YTU, UDA -- can all be removed. [04:30] LNX and SOS should exist, but everything except the label can change [04:30] Is that right? [04:34] everything else is irrelevant if you aren't using android [04:35] my current layout is MBR for u-boot [04:35] but I have BCT PT EBT as standard [04:36] Oh, OK [04:37] I thought you needed e.g. EBT still if you wanted to use nv3p/nvflash [04:37] then MBR UES (u-boot environment store) UIM (u-boot information and media) UBT (ubuntu) MPT(MBR Partition Table endpoint) [04:37] nv3p resides in the bootloader you upload [04:38] And the APX stuff is baked into a separate ROM, and I *can't* accidentally host it? [04:38] EBT is so it is picked up as the bootloader during boot [04:38] s/host/hose/ [04:38] correct [04:38] APX is baked into the SoC [04:51] in allocation_attribute, which 8 in 0x808 is "allocate to the end of the disk"? And what does the other 8 mean? [04:53] the allocation attribute as a whole means that [04:53] 0x808 is the allocation attribute to allocate to end of disk [04:53] OK [04:54] Oh, I misread. YTU has 8, UDA has 808 [04:54] in which case size= is an exclusion [04:54] YTU has 8 UDA has 0x808 :p [04:54] there is a difference [04:54] Yeah sorry [04:55] What do you mean by exclusion? As in, leave that much off the end unallocated? [04:55] yep [04:59] You omitted "ro" from the recoveryimg.cfg -- any reason for that? [04:59] accident [04:59] k [04:59] nobodys perfect :p [05:01] OK, do you expect this to result in something that'll boot? [05:01] http://paste.debian.net/129314/ [05:01] Oops, the id=3 in flash.cfg doesn't match your bootimg.cfg abootimg args [05:02] ? [05:03] I'm doing a first test using your kernel, ramdisk and rootfs, so that I know that much of the process works, and because building a rootfs is a bit more tedious than I hoped [05:03] You have root=/dev/mmcblk0p8, but I has set the partition number to 3 in flash.cfg [05:05] Although when I look, your purelinux.cfg sets UBT to id=16, so clearly those don't need to match up [05:06] it is a bit different to that [05:06] your thing is wrong [05:06] btw [05:06] BCT must be ID2 PT needs to be 3 [05:07] and the config starts from 2 [05:07] Thought you said I didn't need that stuff since I wasn't using android [05:07] nonono [05:07] if you read I said that is the bare minimum you must keep always [05:07] OK, sorry [05:07] that is a requirement from the tegra2 [05:08] http://paste.debian.net/129315/ how about that [05:09] ok better [05:10] but [05:10] still one more thing [05:11] Yeah? [05:11] you need to wrap in a partition format [05:12] for the partitions you want to have a /dev/mmcblk0px [05:12] Aaaah, that's how it gets to p8 being UBT in your one [05:13] well it is p8 because it is the 8th partition after the GP1 [05:13] count them :p [05:13] Yeah [05:13] I get that now [05:14] Do you also put LNX and SOS "inside" GP1/GPT, so that you can reflash them from within the TF101? [05:14] Or can flash-kernel(?) do that without a mmcblk0px ? [05:15] yes that is the "blobs-be-gone" enhancement [05:15] anything outside is a pita [05:16] OK, I think I get that [05:16] And if I calculate correctly, your purelinux.cfg leaves space at the end for 1MB more than the size of LNX+SOS+UBT -- is that the space required for the GPT partition? [05:17] thats the placeholder space yes [05:18] OK. And you have GP1 and GPT because it's basically GPT-style partitioning, and that's why you're also passing "gpt" to the kernel in bootimg.cfg? [05:18] yes [05:18] the GPT on the command line is to force though [05:18] OK [05:18] because the GPT at the end of the disk ALA traditional GPT doesn't actually work [05:19] it needs to use the backup GPT which is located at GP1 [05:19] Is that because nvflash is fucked up, or what? [05:19] I mean: why is the end-of-disk GPT buggered [05:19] yeah [05:19] nvflash is badly put together [05:20] OK, I'm trying it now [05:23] Heh, no asus splash, it was going straight into APX mode and I didn't realize at first. [05:23] (My first upload failed because I told it to use EBT.bin but the file was called EBT.img.) [05:24] heh [05:24] And again with recovery.img vs. SOS.img [05:24] It seems that after it bork borks, I need to reboot back into APX mode [05:27] lilstevie: could you use e.g. parted from inside the TF to fix the GPT partition? [05:27] Goddammit, OS.img is too large for partition [05:27] oh yeah [05:27] this is another issue due to how poorly nvflash is coded [05:28] remove filename= from the config [05:28] after the create go back into APX [05:28] and use --download? [05:28] then --download [05:28] yeah [05:28] also no parted does not work [05:29] Is that because the validation thing doesn't check if size is 0x808'd ? [05:29] due to the lack of pmbr [05:29] correct [05:29] parted speaks GPT [05:29] Not just msdos I mean [05:29] yeah parted speaks mbr but it likes a protective mbr [05:29] Oh right [05:29] to let it know that it is GPT [05:30] Ooh [05:30] It rebooted and I got penguins and into initramfs prompt [05:30] It was even fast [05:30] :) [05:31] ok so now drop her back into APX [05:31] and upload that nice osimg [05:31] now, do you have a dock? [05:31] yeah [05:31] ok [05:31] Can't hit volup fast enough anymore, it boots too quick :-/ [05:32] hold volup and power [05:32] not power then volup [05:32] :) [05:32] oh, that kicks in *after* the penguins [05:32] I thought I had to hit power, then hold both while I had the asus splash logo [05:32] nah [05:32] bootrom man :p [05:32] needs to detect that button within a few hundred miliseconds of the reset vector [05:32] I'm used to PCs where if you get penguins you have missed the boat [05:33] so as long as both are triggered at the same time if not before power you are good [05:36] Oh fuck, I really shouldn't have done --download from within Emacs' terminal [05:36] I can see it writing each char of b y t e ... s [05:37] lol [05:37] Hmm, it seems to be doing the writes themselves OK, though [05:37] It's done 10% of the 2GB already [05:37] Maybe nvflash is smart enough to STFU and write progress slowly if you have TERM=dumb or something [05:38] Am I write in thinking the eMMC is going to have a "modern" number of writes? [05:38] yeah [05:38] it is a toshiba nand [05:38] I mean, it's not like those really early MTD devices where you get like 100 writes and then you're fucked [05:38] well at least on the 16GB one [05:38] and a hardware drivven FTL [05:39] Yeah [05:39] Although it would be nice if I had an open implementation of the FTL, to go with Coreboot and OpenFirmware ;-) [05:40] 50% done [05:40] heh [05:42] well when we are looking at the FTL is so hw driven that the raw device is post processing [05:44] 100% done, now to reboot [05:44] ./nvflash -r --go will work too [05:44] Can I issue a reboot via nvflash, or do I need to let the kernel- [05:44] Ahahahaha [05:45] It's refusing to work because the ext last-mount timestamp is in the future. [05:45] lol [05:45] you never booted android once did you? [05:45] Right [05:45] RTC wasn't set :p [05:46] you could always drop into single and run fs recovery though right? [05:46] Actually I did but then I reset it to factory defaults, and I couldn't get it on the network because I use WPA2 Enterprise, and I couldn't get it to recognize an ext2 SD card with the SSL cert on it [05:46] single ≠ break [05:46] idk [05:46] I will try tho, because otherwise I need to reupload the whole rootfs again [05:46] I have not had a problem with the RTC losing time though [05:47] oh nm I can just hit "stfu fsck, continue anyway" [05:47] hah [05:47] I am so used to mountall just completely failing [05:47] esp. with diskless clients [05:47] ah [05:47] Screen is nice and high-res compared to my 1005PE [05:49] The map part of ubuiquity still needs work tho, hard to pick melbourne instead of hobart or sydney with my chubby fingers [05:49] so tsp is working? [05:49] awesome [05:49] yeah single touch anyway [05:49] heh I have skinny fingers and it is still hard to pick melbourne [05:50] The trackpad thing beneath the keyboard isn't [05:50] yeah expected [05:50] there is a patch for that somewhere in the thread on xda-devs [05:50] keyboard is, which is the importantest thing [05:50] yeah [05:50] keyboard works great [05:50] keymap could do with a tweak [05:50] which it does have in teh uboot kernel [05:51] if you compiled from my 2.6.36.4 kernel though you have the important 2 [05:51] esc, and ctrl [05:51] I'm currently just testing your pre-compiled kernel [05:52] The APX-flavoured one, not the u-boot flavoured one [05:52] oh so you didn't compile your own? [05:52] :p [05:52] Not yet [05:52] I think I want the CrOS one but then I need to learn about u-boot [05:53] And having my own rootfs is more important than my own kernel, at least until Debian starts pre-rolling them for me with everything =m [05:53] :-) [05:53] heh yeah [05:53] Stupid password checker thinks passwords are weak unless they contain at least one uppercase character [05:54] I already have tat [05:54] but meh, bruteforcable passwords are not the issue that todays society faces [05:54] it is password entropy :p [05:54] My old laptop has no password at all [05:54] If you want to log in remotely you have to use multifactor auth [05:55] I use cert based authentication myself [05:55] One of the things I'm thinking about doing is LUKSing the user partition [05:56] And keeping the something-you-have on an SD card or something [05:56] heh [05:58] Hmm, it's looking for /lib/modules/2.6.38-8-omap/modules.dep [05:59] When oem-config finishes I have a white bar down the left, presumably there are supposed to be apps there [05:59] hmm you are using the ubuntu fs? [05:59] the bar is white due to a bug in unity [06:00] ok [06:01] the apps take quite a while to come up [06:01] Even for gnome [06:03] Is it supposed to wake up from suspend? [06:04] button [06:04] the power one, push it [06:04] it didn't like it [06:05] sometimes it glitches waking up though [06:05] Also the backlight was still on [06:05] oh, that isn't suspend [06:05] I managed to power it off by holding the power button down [06:05] that is just screensvaer [06:05] I put it into suspend by hitting power button and picking suspend frmo teh gnome-power-manager popup [06:05] power management is up the creek though [06:05] Nod [06:05] due to how android handles it vs. a real os [06:06] I remember all that wakup crap that android wanted to get into mainline [06:06] wakelocks [06:06] ya [06:06] the most god aweful system ever :p [06:07] yeah, well I'm not a fan of upstart or polkit/consolekit or udisks either :P [06:07] heh [06:14] I guess i can expect at least 30% faster once I switch to armhf [06:17] I was talking to somebody yesterday and they said "so when you have the tablet part disconnected, how does the kb work... bluetooth?" [06:17] And damn that would be awesome if it did [06:20] In unity, where's the equivalent of the gnome preferences menu? [06:20] well [06:20] there isn't really one [06:21] the scrollbar in the gnome appearances pane is really fucking with my head, I can't work out how to make it scroll [06:22] it is a bit odd to get used to [06:22] It's got a little thin bar instead of a scrollbar, and when I try to scroll on it, an up/down arrow thing appears, but doesn't seem to do anything [06:22] hold the up/down arrow thing and drag it [06:22] OK I got it [06:23] That would give Fitts a fit. [06:23] Is that part of that libhildon stuff that nobody uses? [06:23] no idea where it comes from but it is in unity [06:25] It's not smart enough to know it's upside-down, either [06:26] Unity does not make use of hildon [06:26] k [06:30] There should probably be an easy way to start onboard from within unity or gnome [06:31] there is :p [06:31] Boy, I hope I can remap the magnifying glass to Alt_L [06:31] twb: yeah look at my 2.6.36.4 kernel [06:31] already done :p [06:31] That's what I'm running isn't it [06:32] nah, the prebuilt one is the asus drop [06:32] But surely you can do it in /etc/default/kbd or so [06:32] yeah [06:32] you can edit the keymap too [06:34] Looks like the asus one has RT stuff in it too [06:34] That's what "PREEMPT" means, right? [06:35] What's /bin/adbd? [06:35] adbd :p [06:35] Yeah but what is it. There's no manpage [06:36] thats because it is from android [06:36] android developer bridge daemon [06:36] And it's not provided from deb [06:36] Ew [06:36] that is so people without a dock can get through ubiquity [06:37] Presumably it does something useful even when there's no android? [06:37] yeah it allows usb connection using adb [06:37] Oh, it's an RPC listener to allow you to connect from other other- right [06:38] FYI, it's still running even after ubiquitity is done and a restart [06:38] yeah, [06:38] it is started every boot [06:38] it does have more uses than just ubiquity [06:38] k [06:39] It just sounds to me like an attack vector [06:39] heh [06:39] Gah, I'm so used to Caps being a control key [06:40] This is why I never learnt dvorak – too disonnant on random other devices [06:40] *dissonant [06:43] twb: adbd may be an attack vector, but that is moot as you would already have the device in your hands :p [06:46] Yeah, I *mostly* agree with that [06:46] adbd ONLY works over usb [06:46] :p [06:46] as it requires the kernel interface [06:47] resize2fs worked on the device, as expected [06:47] IOW I made a 2G image from your 4G one, uploaded that, then grew it to the full ~30GB [06:48] yeah [06:49] my new image is 2GB [06:49] just need to get around to uploading it [06:57] Hmm, bluetooth doesn't work? [07:00] Hmm, in /sys/class/power I have ac, battery and usb [07:00] Where's the second battery? === Jack87|Away is now known as Jack87 [07:03] Hmm, acpid isn't installed [07:31] lilstevie: when you build your kernels, do you use "make deb-pkg zImage" or what? [07:48] twb: the second battery stats arent in all kernels [07:49] bluetooth requires you to compile brcm_patchram_plus [07:49] Hum [07:49] and no I just make CROSS_COMPILE= LOCALVERSION= BLAH= [07:49] On all the other Eee's I just leave this stuff to SynrG to get folded into the debian kernel :P [07:49] and been using linaro packaging to get debs build [07:50] deb-pkg is handy because it gives you a deb with the =m .kos [07:50] linaro packaging does too [07:57] Well, I'm done for today. [07:57] See you next weekend or so [07:58] haha kk === Quintasan_ is now known as Quintasan === Jack87 is now known as Jack87|Away [12:50] Hello, I'm trying to get networking up on a beagleboard-xM [12:50] what is the recommended module [12:50] ? === tty234_ is now known as tty234 [15:52] travalas: smsc95xx === travalas_ is now known as travalas [16:50] is anybody here using natty on a beagle board-xM rev C? I installed it and ethernet and usb doesn't work === travalas_ is now known as travalas === jussi01_ is now known as jussi === travalas_ is now known as travalas === axle is now known as sauerbraten === michaelh1|away is now known as michaelh1