**** BEGIN LOGGING AT Wed Aug 17 02:59:57 2011 Aug 17 03:05:02 prpplague thanks Aug 17 03:05:04 Can you indicate some link to study? Aug 17 03:06:02 there is no file in: /lib/modules/kernel Aug 17 03:06:08 http://marcin.juszkiewicz.com.pl/2010/10/19/how-to-cross-compile-arm-kernel-under-ubuntu-10-10/ Aug 17 08:25:45 hi Aug 17 08:26:03 jcrigby: is there an updated u-boot about yet with pxe fixes? Aug 17 08:26:16 I've installed the official pre-installed 11.04 headless image for beagleboard-xm Aug 17 08:26:27 and changed the kernel like it says in the website Aug 17 08:26:45 everything seems to work fine but the ethernet Aug 17 08:27:02 I've tried insmod g_ether.ko, but it's not working Aug 17 08:27:06 any idea? Aug 17 08:28:35 headless is super minimal rather for developers that need a basic system to build on top Aug 17 08:28:46 it might miss bits and pieces in userspace Aug 17 08:29:06 do you see the NIC with "cat /proc/net/dev" ? Aug 17 08:29:40 um, I'm going to boot it up now and see Aug 17 08:29:51 I know headless is minimal, but I need a minimal system Aug 17 08:30:10 It's going to act as an on board computer Aug 17 08:30:19 alternatively you could use the oneiric server image, that should also not require fiddling with the kernel Aug 17 08:30:32 I won't need a screen Aug 17 08:30:50 I need the ethernet for connecting to it and develop Aug 17 08:31:03 sure Aug 17 08:31:06 and the spi and i2c in the expansion slots Aug 17 08:35:08 It's not there, only the loopback interface Aug 17 08:37:18 that looks like a kernel bug Aug 17 08:38:17 yep Aug 17 08:38:28 but I'm suprised that I couldn't find it anywhere Aug 17 08:38:36 in the forums or google Aug 17 08:39:01 seems like noone tries those headless images Aug 17 08:39:02 well, i would recommend to at least test the server image (it is what was headless in natty but has additionally installable packages available Aug 17 08:39:22 we didnt really promote them much Aug 17 08:40:04 but our QA tests them heavily (thats how we i.e. find out that you need another kernel tarball for certain boards etc) Aug 17 08:40:35 the server image of oneirc you mean? Aug 17 08:40:40 yes Aug 17 08:40:43 oneiric* Aug 17 08:41:03 server is headless+a package pool of server packages you can install from Aug 17 08:41:21 but uses a 3.0 kernel that should definitely support your board Aug 17 08:41:32 but still lets me select the packages, right? Aug 17 08:41:38 sure Aug 17 08:41:46 at least in categories like the natty headless Aug 17 08:41:50 the user experience is the same ... just the image is b igger Aug 17 08:42:11 because it shops a pool of deb's Aug 17 08:42:12 is it going to fit in a 2GB SD? Aug 17 08:42:14 *ships Aug 17 08:42:18 yes Aug 17 08:42:25 should fit i think Aug 17 08:42:26 ok, thanks :) Aug 17 09:32:20 ogra_: uhmmm... didn't the early 3.0 omap3 kernels have broken usb? Aug 17 09:32:38 ogra_: perhaps that's why he doesn't see the ethernet Aug 17 09:32:49 he is on natty still Aug 17 09:34:28 ah ok Aug 17 09:34:41 and he has a board that came out fater natty released Aug 17 09:34:45 *after Aug 17 09:35:19 its likely that 3.0 will at least be fine with that part ... USb has to be checked indeed, but i think it should work again Aug 17 09:36:46 but ethernet in the beagle works over a usb interface i think Aug 17 09:36:56 yes Aug 17 09:37:01 well anyway I'm installing oneiric, so I'll try Aug 17 09:37:09 right :) Aug 17 10:03:03 ogra_, it says the same during the installation as the natty version Aug 17 10:03:06 "No network interfaces detected ? Aug 17 10:03:06 ? ? Aug 17 10:03:06 ? No network interfaces were found. The installation system was unable to ? Aug 17 10:03:06 ? find a network device. " Aug 17 10:03:15 ops, sorry for the crappy copy-paste Aug 17 10:03:34 "You may need to load a specific module for your network card" Aug 17 10:03:52 hmm, first file a bug :) Aug 17 10:04:06 do you have other USB devices you can see ... i.e. with lsusb ? Aug 17 10:04:28 i don't have any other usb device connected Aug 17 10:04:51 i can try I mouse or something to see if it shows up, when i finish the installation Aug 17 10:05:49 just run lsusb, it should at least show you hubs etc Aug 17 10:24:17 well, something is working Aug 17 10:24:17 lsusb Aug 17 10:24:18 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Aug 17 10:24:18 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Aug 17 10:27:41 oh, nice Aug 17 10:27:53 ogra_, it doesn't work out of the box, the ethernet Aug 17 10:27:57 but the usbs work Aug 17 10:28:11 with modprobe g_ether, now the usb0 interface is up Aug 17 10:28:12 weird Aug 17 10:28:29 yeah, gadget wont indeed work by default Aug 17 10:28:29 but i don't know why insmod g_ether.ko doesn't work Aug 17 10:28:41 but a general network connection should Aug 17 10:34:09 um.. Aug 17 10:34:17 the interface usb0 for the ethernet gadget is up Aug 17 10:34:33 but dhclient can't find a dhcp server Aug 17 10:34:41 yes, but we dont load any gadget modules by default afaik Aug 17 10:35:03 and the leds in the ethernet aren't on either Aug 17 10:35:13 leds on the ethernet ? Aug 17 10:35:23 why would you have any leds lit up ? Aug 17 10:35:23 the physical connector has 2 leds Aug 17 10:35:29 you use gadget ethernet Aug 17 10:35:39 not the NIC Aug 17 10:35:46 the one that comes with the board Aug 17 10:36:20 you know what g_ether is, right ? Aug 17 10:36:41 yes, but if i'm not mistaken, the ethernet connector in the board Aug 17 10:36:43 (hint, itr has nothing to do with the network card at all) Aug 17 10:36:44 works that way Aug 17 10:36:48 no Aug 17 10:36:55 it's wired through an usb Aug 17 10:37:04 it initializes a usb ethernet connection on the mini USB port Aug 17 10:37:44 oh, then I was mistaken.. Aug 17 10:38:25 in all the info I've read everyone was using usb0/usb1 devices for ethernet Aug 17 10:39:00 ogra@panda:~$ ifconfig |grep HWaddr Aug 17 10:39:00 eth0 Link encap:Ethernet HWaddr 2e:40:70:f0:12:06 Aug 17 10:39:17 ogra@panda:~$ uname -a Aug 17 10:39:18 Linux panda 2.6.38-1309-omap4 #14tiomap4v201107060935 SMP PREEMPT Wed Jul 6 08:35:55 UTC 2011 armv7l armv7l armv7l GNU/Linux Aug 17 10:39:39 (thats oneiric though, but the kernel should still be the same as natty's on this install) Aug 17 10:40:08 but that's a different board Aug 17 10:40:35 ?? Aug 17 10:41:22 that's a pandaboard, right? Aug 17 10:41:24 oh, wait, you said beagle Aug 17 10:41:27 yes Aug 17 10:41:31 a beagleboard-xm revC Aug 17 10:42:03 yeah, that might be usb0 ... but its definitely not g_ether :) Aug 17 10:42:13 ogra_, yes it's usb0 Aug 17 10:42:19 though i thoght we fixed it for both boards Aug 17 10:42:27 u guess dhclient usb0 will work Aug 17 10:42:30 *i Aug 17 10:42:38 right Aug 17 10:42:52 it's not g_ether the module then? Aug 17 10:43:02 right, just ignore g_ether Aug 17 10:43:04 with g_ether the usb0 is up, but dhclient not working Aug 17 10:43:16 unless you want to actually use g_ether indeed :) Aug 17 10:43:55 then what would be the right module to load? Aug 17 10:44:30 I'm reading that it's treated indeed as an usb gadget Aug 17 10:44:59 it shouldnt Aug 17 10:45:17 its a fully fledged USB NIC Aug 17 10:45:31 just weirdly named Aug 17 10:46:00 uh, strange Aug 17 10:46:33 http://groups.google.com/group/beagleboard/browse_thread/thread/356f0edcd90a6320 Aug 17 10:46:35 did you ifconfig usb0 up before running dhclient btw ? Aug 17 10:46:58 yes Aug 17 10:47:02 it shows in ifconfig -a Aug 17 10:47:17 and what did the installer actually offer you ? Aug 17 10:47:29 nothing Aug 17 10:47:33 it should tell you name and description of the device before trying to configure it Aug 17 10:47:40 it says that it couldn't detect any network interface Aug 17 10:47:45 ah Aug 17 10:47:55 then i just tried modprobe g_ether Aug 17 10:48:10 and usb0 appeared Aug 17 10:48:28 you are sure it wasnt there before ? Aug 17 10:48:57 yes Aug 17 10:49:56 hmm, weird Aug 17 10:51:07 y can reboot and try again Aug 17 10:57:15 yep, no network interface when i reboot Aug 17 10:57:17 only lo Aug 17 10:57:24 very weird Aug 17 10:57:29 and thats natty ? Aug 17 10:57:39 no, oneiric Aug 17 10:57:45 ah, no, wait Aug 17 10:57:47 yeah Aug 17 10:57:56 natty didn't even work loading g_ether Aug 17 10:58:00 * ogra_ is active in too many channels today Aug 17 10:58:08 modprobe g_ether with natty gave an error Aug 17 10:58:29 well, it definitely sounds like a kernel bug you should file Aug 17 10:58:56 afaik we only have revA XMs in the team so its hard to test such issues Aug 17 10:59:37 do you see any oopses or some such in dmesg ? Aug 17 10:59:48 ogra_, I think revA also having the same issue Aug 17 11:00:08 siji, well, then we would have seen it during release testing Aug 17 11:00:19 ok Aug 17 11:00:23 that's strange, should've noticed it Aug 17 11:00:30 natty definitely has a working NIC on the XM revA Aug 17 11:01:00 out of the box? Aug 17 11:01:03 yes Aug 17 11:01:09 ogra_, yes it's working but every boot i have to establisht he command dhclient usb0 Aug 17 11:01:19 (dont knw whether it's a bug or not) Aug 17 11:01:26 that would have blocked the release if such an issue would have shown up during final release testing Aug 17 11:02:16 though check the known issues page, it might be that there were issues with the non netbook images the netbook images dont have Aug 17 11:02:29 ogra_, ok Aug 17 11:03:36 any way i simply made a init script and executing it while booting which solved my prblm :) Aug 17 11:04:27 dhclient usb0 doesn't work for me i'm afraid Aug 17 11:04:47 well, you dont see the NIC at all Aug 17 11:04:51 thats different Aug 17 11:04:58 since you dont even have usb0 Aug 17 11:05:11 but with modprobe g_ether it shows up Aug 17 11:05:26 thats a totally different device, ignore gadget stuff Aug 17 11:05:27 siji, does g_ether shows up in your lsmod? Aug 17 11:05:39 ok then Aug 17 11:05:44 Johansson, checking .. Aug 17 11:05:48 sadly they are both named usb* Aug 17 11:06:02 Johansson, no Aug 17 11:06:03 then the problem is that I need to load the right module, which I don't know Aug 17 11:06:09 no Aug 17 11:06:23 the omap kernel should have all bits the beagle needs compiled in Aug 17 11:06:45 can you pastebin /var/log/dmesg soemwhere ... after a boot without touchuing g_ether Aug 17 11:08:02 ogra_, me ? Aug 17 11:08:09 no, me probabl Aug 17 11:08:11 siji, no Aug 17 11:08:13 :) Aug 17 11:08:14 ok Aug 17 11:08:17 :) Aug 17 11:08:40 gotta go now, we'll back in about half an hour and will check Aug 17 11:08:54 btw, thanks for the help Aug 17 11:12:07 welcome Aug 17 12:02:39 ogra_, the full dmesg: http://pastebin.com/CZq8WfXJ Aug 17 12:04:42 well, looks like it doesnt have any NIC there, thats definitely a kernel issue Aug 17 12:05:47 will it be fixed compiling a new kernel? Aug 17 12:07:14 well, first of all make sure to file a bug, then hassle ppisati about it enough to make him fix it ;) Aug 17 12:08:00 (you can alsdo try to bribe him with beer or so, that might even get faster results) Aug 17 12:08:08 hehe, ok Aug 17 12:08:25 rsalveti, ^^^ have you heard of XM revC board NIC issues ? Aug 17 12:08:37 but my question was if the problem is with this image Aug 17 12:09:13 or if there is no support at all for this nic in the kernel Aug 17 12:09:30 well, thats what the bug is supposed to tell us :) Aug 17 12:09:53 afauik it should just be the same smsc adapter the panda uses Aug 17 12:10:44 and i think it should be even compiled in statically ... though that might have changed since i touched omap3 kernel stuff last Aug 17 12:12:21 ogra_: it seems that there's an issue with usb x revc Aug 17 12:12:32 aha ! Aug 17 12:12:43 still didn't check the details yet, but I remember the patches to fix it were applied Aug 17 12:12:49 well, that would explain everything then :) Aug 17 12:12:51 so could be a new bug against 3.0 Aug 17 12:13:00 even with linaro kernels Aug 17 12:13:03 well, he sees it on natty too Aug 17 12:13:21 i was about to suggest to try a linaro .deb Aug 17 12:13:37 but if thats the same it wont be worth the effort Aug 17 12:14:49 hm, weird, I remember we fixed this at natty Aug 17 12:15:09 [ 0.079040] OMAP3 Beagle Rev: xM C Aug 17 12:15:14 it's properly identified Aug 17 12:39:36 bah, crap ... the ac100 installer cant work the way it is designed Aug 17 12:39:39 sigh Aug 17 12:42:22 infinity, i fear i need to go back to the overlay initrd and to using abootimg on antimony Aug 17 12:43:04 infinity, the tarball is renamed n times i will never have the right filename in the initrd Aug 17 12:56:02 ogra_: in theory http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-natty.git;a=commitdiff;h=ee67d920c47e8a804560eed1e3b8f3157df50fe2;hp=bbe1f061a9bcc183c60921a70c98c08668bb9984 fixed the revc support for natty Aug 17 12:56:22 at least this was tested by some folks that had revc and it worked fine Aug 17 12:57:04 but this is not at the released kernel Aug 17 12:57:10 aha Aug 17 12:57:20 guess we have that documented at the wiki page Aug 17 12:57:33 well, the wuestion is if it is in the revC kernel that tobin offers as tarball :) Aug 17 12:57:56 you cant use the release kernel anyway with that board Aug 17 14:26:03 howdy guys Aug 17 14:26:17 yo Aug 17 14:26:20 I was wondering what mirror to use to install arm (i.e. archive.ubuntu.com)? Aug 17 14:26:33 ports.ubuntu.com/ubuntu-ports Aug 17 14:26:54 whats your installation taget device Aug 17 14:28:05 ogra_: cool Aug 17 14:28:07 thanks Aug 17 14:28:09 using a pandaboard Aug 17 14:28:32 what image ? they should all be properly pre-configured to DTRT Aug 17 14:28:53 (i.e. the mirror should be pre-selected) Aug 17 14:29:41 if not, thats a bug that should be filed Aug 17 14:38:42 * ogra_ could really need some brilliant idea for the tarball naming problem Aug 17 14:39:17 * ogra_ looks at infinity trying to find out if thats a snore coming from there or not Aug 17 15:22:36 ogra_: Hrm? How does the filename matter? Aug 17 15:22:53 infinity, it i ued to find the file :) Aug 17 15:22:57 *used Aug 17 15:23:16 Well, find-live-filesystem is going to give you a consistent filename on antimony. Aug 17 15:23:21 ele i would have to iterate over all posible tarballs and check all md5's (as you noticed before) Aug 17 15:23:30 *else Aug 17 15:24:00 Of course, it might change again when you publish. Aug 17 15:24:04 if i create the md5sum file before find-live-filesystem, the filename is differebt Aug 17 15:24:17 right, and publishing chnges it again Aug 17 15:24:19 So? Aug 17 15:24:47 with my way of doing the post processing on antimony i know the final filename Aug 17 15:24:56 The md5sum file shouldn't matter. It could just be stdin, for all one cares. Aug 17 15:24:57 so that wasnt a problem before Aug 17 15:25:09 And actually, no. You still don't know the final filename with doing it all on antimony. Aug 17 15:25:35 Since we rename dailies to ubuntu-$version-whatever when we publish milestones and final releases. Aug 17 15:25:59 hmm, right, thats in cdimage Aug 17 15:26:02 btw Aug 17 15:26:04 http://paste.ubuntu.com/668356/ Aug 17 15:26:14 a review would be appreciated before i merge that Aug 17 15:28:43 Your script just needs to know all the possible names it could be looking for, I suppose. Or a pattern. Aug 17 15:29:22 Why didn't you use the live-build helpers to mount/umount your special filesystems? Would have avoided that case statement, since it already knows the right thing. Aug 17 15:29:39 either that or i could pre-filter against the filesize Aug 17 15:29:53 hmm Aug 17 15:30:35 you mean lb_chroot_sysfs and friends ? Aug 17 15:30:42 *nod* Aug 17 15:30:45 how do i call them, are they in PATH ? Aug 17 15:31:03 also do they mount in the right chroot :) Aug 17 15:31:10 given i seem to have two Aug 17 15:31:13 You call them as "lb chroot_sysfs $args" Aug 17 15:31:32 And yeah, they operate on chroot/ not on binary/foo/blah. Aug 17 15:31:37 The one in binary is just a copy of the other. Aug 17 15:32:10 hmm, so i should change my code to point to chroot/ then Aug 17 15:32:59 Possibly. Aug 17 15:42:22 infinity, bah, that now looks boring http://paste.ubuntu.com/668365/ Aug 17 15:42:36 any obvious typos ? Aug 17 15:43:40 hmm, i could drop rootpath as well i guess Aug 17 15:43:42 Nope, but you want to pass "$@" as the second argument to all your lb calls. Aug 17 15:44:15 In the case of those three, it probably doesn't matter that it gets all the arguments, but one never knows what some crazy person might do later. :) Aug 17 15:44:26 And yeah, the rootpath thing is pointless. Aug 17 15:45:31 * ogra_ adds, though the code only chcks for install|remove anyway Aug 17 15:46:10 Yeah, I know. It's just lb best practice, since all the tools are meant to potentially care about environment. Aug 17 15:46:27 (And they really should have a better way of doing that than passing the CLI on to everything) Aug 17 15:46:30 But whatever. Aug 17 15:46:50 heh, yeah Aug 17 15:47:05 ok, merging and uploading ... i'm curious if it will work :) Aug 17 15:48:52 Is 9:45am too early to hit the gin? Aug 17 15:49:14 depends on the amount of tonic Aug 17 15:49:38 Ahh, that's how it works? Good to know. Aug 17 15:50:01 My best friend's grandpa died last night, and I did the only sane and manly thing -- kept him up all night drinking. Aug 17 15:50:16 And now I'm trying to sort out how to operate on 3 hours' sleep with a splitting headache. :P Aug 17 15:51:30 alka selzer ftw Aug 17 15:51:48 and yes, after a 3h night gin at 9:45 is a sanr thing Aug 17 15:51:50 *sane Aug 17 15:52:01 (if you drank the night before) Aug 17 20:48:36 using an ubuntu core (oneiric) base, i've gone through and installed ubuntu-desktop, and I'm getting a few issues, one being locale can't seem to set the default locale (is this because I'm in a chroot without a kernel yet?) or am I missing something else, I do recall it asking me for the locale(s) to use, and I set it to US/US/UTF-8, the other is that dpkg seems to die because of modemmanager, ar Aug 17 20:48:36 e these known issues already? **** ENDING LOGGING AT Thu Aug 18 02:59:56 2011