/srv/irclogs.ubuntu.com/2013/02/01/#ubuntu-kernel.txt

=== chiluk is now known as chiluk_away
ppisatimoin07:38
=== smb` is now known as smb
=== yofel_ is now known as yofel
* apw yawns09:23
RAOFBees! A steaming hot cup of bees!09:37
apwRAOF, how do you like your women ?09:39
=== henrix_ is now known as henrix
RAOFVery much.09:39
apw"covered in bees"09:39
RAOFNo, silly. The women are covered in honey!09:39
apwand things which are covered in honey, are convered in what ?09:39
RAOFhoneybees!09:40
* apw hands RAOF a little medal09:41
apwRAOF, hows it going?09:41
RAOFPretty well.09:41
RAOFI'm in Perth, staying at the in-law's, so there's a bit of extra babysitting available. :)09:42
apwoh very nice :)09:43
RAOFHow about you?09:44
apwyeah good i think, if i could wake up it might stop being, but in my current state ok thanks09:45
=== henrix is now known as henrix_
=== henrix_ is now known as henrix
ashwinican we use setjmp and longjmp in kernel mode ?? or any equivalent method ? kernel version 3.6*11:15
ohsixfor what? there are a bunch of mechanisms for jobs and threads11:16
ohsixif you can be specific abotu what you're trying to do i might be able to point out an alternative11:23
ograThe following NEW packages will be installed:11:28
ogra  linux-headers-3.5.0-218 linux-headers-3.5.0-218-omap411:28
ograapw, ^^^  what'S that ? (dist-upgrading my nexus7)11:29
apwogra, hmmm just doing it now ?11:30
ograwell, i do my daily upgrade, so yes11:30
* apw tries11:30
apwogra, while i think about it suspend/resume is bringing usb0 back up on the nexus, and upsetting NM on my desktop11:31
ograapw, yep, NM will get fixed to ignore usb0 11:32
ograat least for certain usb id's11:32
ograso you can still set up usbnet manually by selecting the device from the indicator, but it wont attemopt autoconnection11:32
apwhmmm, i thought you were fixing that n7 side11:32
apwby not running the interface there unless you were using it11:33
ograwell, i was abouot to, but was told NM would be fixed11:33
apwthat seems backwards, but i guess its not my problem11:33
ograit does that for other usb connections too so it makes sense to have some filtering apparently11:33
apw  libdatrie1 liblightdm-gobject-1-0 libthai-data libthai0 lightdm11:33
apw  linux-headers-3.1.10-9 linux-headers-3.1.10-9-nexus711:33
apw  linux-image-3.1.10-9-nexus7 linux-libc-dev python-imaging11:33
apw  ubuntu-defaults-nexus7 ubuntu-settings unity-greeter11:33
apwok didn't do that for me11:33
ashwiniohsix: what are the alternatives ?11:34
apwogra, you didn't install the omap binary on there did you ?11:34
ograi dont see ubuntu-drivers-common11:34
ograi assume thats at fault11:34
ohsixashwini: i don't know what you're trying to do11:34
ograapw, nothing special installed that could pull it in, check if you didnt already have it installed, i'm probably not in sync with your upgrading11:35
* apw notes that pretty much all use of setgjmp longjmp is wrong, in principle11:35
ohsixand even the marginal uses won't hold in the kernel :p11:35
apwogra, i got a nice shiney new kernel and no omap stuff, odd11:36
ograweird11:36
ograi'll dig on then11:36
ograhmm, so purging linux-headers-3.5.0-218-omap4 leaves me with ....11:37
ograThe following package was automatically installed and is no longer required:11:37
ogra  linux-headers-3.5.0-21811:37
* ogra scratches head11:38
apwthat makes sense i at least, that would be a dep of the other11:38
apwogasawara, i have pushed a rebase to v3.8-rc6, booted and running here on 32 and 64 bit x8611:38
ograwell, but it indicates that there was no dep that pulled in linux-headers-3.5.0-21811:39
ograthats the strange part here11:39
apwlinux-headers-3.5.0-218-omap4 was the dep, you purged it11:39
ogralinux-headers-3.5.0-218-omap4 was not depended on by anything but its own meta though11:39
apwoh indeed,11:40
=== ricotz__ is now known as ricotz
ppisatiapw: did you check out the versatile support?11:50
apwppisati, sorry i have lost some history, did you send me something to test?11:59
apwppisati, otherwise, i tried hard to boot your kernel using qemu and options which seemed to be vexpress (not versatile)12:00
apwppisati, and note it is vexpress12:00
apwppisati, and i have failed to get it to do anything visible12:05
apw(your kernel == the one in the archive)12:05
ppisatiapw: i sent a pull req yesterday about vexpress suport12:06
ppisatiapw: vexpress = "ARM Ltd. Versatile Express family"12:06
ppisatiapw: "enable ARM Versatile Express support"12:07
ppisatiapw: To: kernel-team@lists.ubuntu.com 12:07
ppisatiapw: here is a precompiled version of kernel, initrd and rootfs with vexpress support: http://people.canonical.com/~ppisati/vexpress/12:08
apwppisati, thanks ... i completely phased on that12:08
ppisatiapw: in the email there's the qemu command to boot it12:08
apwppisati, will get into it and get it applied thanks12:08
ppisatiapw: ack12:08
apwppisati, in all cases you are just enabling the specified option on the subject line for the omap flavour... yes ?12:20
ppisatiapw: yep12:20
apwppisati, great, i have rebased and the configs are different enough to break them, but they are easy to recreate12:21
ppisatiapw: ah yes12:21
ppisatiapw: i forgot, master-next requires an updateconfig before applying my patches12:21
apwahh ok12:21
apwppisati, oh excellent, now they work :)12:22
apwppisati, i was pushing the updateconfigs anyhow :)12:22
ppisatiapw: you can test it with my rootfs, but beware that the NIC drievr is a module12:24
ppisatiapw: so you need to install the kernel .deb in the rootfs to get networking12:24
ppisatiapw: ah, and my rootfs is linaro :P12:25
ashwiniany pointer for setjmp_pre_handler ?? How to use or any type of documentation ??12:25
* henrix -> lunch12:29
apwogasawara, i have applied ppisati's versatile stuff and am testing it now12:36
* ppisati -> goes to find some food13:04
ogasawaraapw: ack, thanks.  I think I'll prep another upload for today then.13:45
apwogasawara, i'll let you know when its 'good'13:49
apwogasawara, the rc6 testing went well on x8613:51
ogasawaraapw: good, I'm gonna test it all on my kit here as well13:53
argesogasawara: fyi. wireless patch c3e5d718 on my raring laptop has fix issues so far. is this included in rc6?13:54
ogasawaraarges: it should be, but let me double check13:54
apwv3.8-rc6~20^2~10^2^2~7^213:55
apwarges, looks to be yes13:55
argesthanks, i should be less lazy : ) 13:55
apwyes, you should :)13:55
apwppisati, ack13:55
apwif i can get a console i will be amazed13:56
ppisatiapw: you should have a console13:56
apwppisati, my panda(?) is hanging left right and centre with these kernels14:02
ppisatiapw: scheduling while atomic?14:04
apwppisati, no way to tell, it just hangs14:05
apwthough the scheduling whilst atomics in there may well be indicative14:05
ppisatiapw: i tested my patches on panda and it was ok14:05
apwppisati, and my board is hanging ... a lot ... but i use ipv6, a lot14:06
ppisatiapw: lemme try master-next tip14:06
apwso perhaps there is a connection14:06
apwor perhaps my board is dying, how the hell to tell14:06
apwppisati, i have no serial console output from my kernel14:06
ppisatiapw: that's weird14:07
apwand maybe that would be telling me something, whats the runes to get that working14:07
apwppisati, no i think its config rather than anything else14:07
apwi get uboot on there14:07
ppisatiok so14:07
ppisatiflag@flag-desktop:/media$ cat preEnv.txt14:07
ppisatibootargs=ro console=tty0 console=ttyO2,115200n8 debug earlyprintk=ttyO2,115200n8 root=UUID=be44da86-b040-478b-9ce9-4e99e29c287214:07
ppisatiand media is my /dev/mmcblk0p114:07
ppisatiyou probably just need to add: "console=tty0 console=ttyO2,115200n8 debug earlyprintk=ttyO2,115200n8" and delete "quiet splash"14:08
apwppisati, ack14:09
apwwill have a look14:09
apwso your versatile works a lot better than it did before14:09
apwthough on my image it implodes14:10
apw[    5.086795] WARNING: at /home/apw/build/ubuntu-raring/ubuntu-raring/drivers/tty/serial/serial_core.c:400 uart_get_baud_rate+0xec/0x144()14:10
apw[    5.098399] Division by zero in kernel.14:10
apwbut hey... its much better than it was14:10
ppisatiLOL :)14:10
apwand that is with an image i got from debian so anything is possible14:11
apwi'll get yours14:11
ppisatibut the img should mke any different14:11
ppisatiwait14:11
ppisatiQEMU emulator version 1.2.0 (Debian 1.2.0-2012.09-0ubuntu1)14:11
ppisatiyour?14:11
ppisatiqemu-system-arm -version14:11
ppisati*shouldn't14:12
apwQEMU emulator version 1.3.0 (Debian 1.3.0+dfsg-1~exp3ubuntu6), Copyright (c) 2003-2008 Fabrice Bellard14:18
apwppisati, ^^14:18
ppisatiapw: that would explain it14:19
apwit would?14:19
ppisatiapw: well, could be a bug on qemu14:19
apwppisati, i think its much more likely my fault to be hones14:19
apwi'll confirm with your rootfs14:20
apwif yours blows too then its qemu if not, i don't care ;)14:20
apwwell it is qemu or my -4 kernel build14:20
ppisatiflag@flag-desktop:~$ uname -a14:25
ppisatiLinux flag-desktop 3.8.0-4-omap #8~vexpressrc6 SMP Fri Feb 1 14:12:38 UTC 2013 armv7l armv7l armv7l GNU/Linux14:25
ppisatiapw: that's my pandaes booting current master-next tip14:25
apwppisati, mine boots too, but ... it doesn't stay working for more than 10s of minutes14:27
apwppisati, ok your image boots fine with my -4 kernel ..14:37
apwso ogasawara that looks good in my testing14:37
ogasawaraapw: awesome.  I just want to finish up some quick testing on my kit here and then I'll push the upload14:38
apwogasawara, sounds great14:41
apwQEMU emulator version 1.3.0 (Debian 1.3.0+dfsg-1~exp3ubuntu6), Copyright (c) 2003-2008 Fabrice Bellard14:43
apwbah14:43
ppisatiapw: can you upload your img somewhere? i should try to roll my own ubuntu BTW14:43
apwppisati, its just the debian one14:47
apwppisati, i assume in theory if i dd off my panda with this -omap installed14:48
apwppisati, that would make a valid image14:48
ppisatiapw: yep, should be14:48
apwppisati, this debian image isn't worth worrying about, its an old armel one even14:48
apwso ... we are better off making a new one off one of these pandas or someething14:48
apwppisati, the serial job isn't working on this board even though echo >/dev/ttyO2 works14:50
apwppisati, ever seen that?14:50
apwppisati, as in the getty is not throwing onto it14:51
=== chiluk_away is now known as chiluk
ppisatiapw: do you have an /etc/init/ttyO2.conf?14:52
apwppisati, no i have a serial.conf which is meant to do the right thing14:52
apwbut i think it is broke ... debugging it now14:53
* ppisati still uses /etc/init/ttyO2.conf14:53
apwahh it doesn't work if you have console=tty0 console=SERIAL14:53
apwstupid thing14:54
apwfixed14:54
apwppisati, http://paste.ubuntu.com/1597104/ feels like the last thing it said before locking up14:56
apwppisati, and 100104 is like LIST_POISON or something isn't it?14:57
ppisatiyes14:58
apwi'll let it do it again and see if it behaves the same14:58
apwppisati, even with these stability problems this is a good step15:03
ppisatiapw: i think it's ipv6 related because15:05
ppisatiapw: time DEB_BUILD_OPTIONS=parallel=4 fakeroot debian/rules binary-omap415:05
ppisatiapw: and it's still compiling15:05
ppisati(~1hr so far)15:05
apwppisati, could well be, i'll confirm it exists in this kerenl a couple more15:06
apwand then move it to my ipv4 only lan15:06
ppisatiapw: truth be told, i got a "BUG: scheduling while atomic: cc1/19926/0x40000100"15:06
apwelloco login: [  386.207427] BUG: scheduling while atomic: swapper/0/0/0x4000010015:07
apw[  386.214782] BUG: scheduling while atomic: swapper/0/0/0x4000010015:07
apwi have two, but they haven't eaten my lunch yet15:07
ppisatimy is still alive too15:07
ppisati*mine15:07
ppisatihttp://paste.ubuntu.com/1597185/15:07
apwit seems a lot happier now it has a console ... hmm15:13
apwwe shall see15:13
apwogasawara, have you wrapped the kernel yet?  we might want seth's thing15:15
ogasawaraapw: heh, I was literally about to ping sforshee about that15:16
ogasawaraapw: I'd prepped the upload but failed to see his patch till after15:16
ogasawaraapw: I was going to redo it to include it15:16
apwthat is annoying when it happens15:16
ogasawaraapw: so I'm kicking off new builds15:17
sforsheeogasawara, it's not critical, but it would be helpful for helping me debug a wireless issue that bjf has been seeing15:17
apwif it it pushed, i can do the same and boot test them15:17
ogasawaraapw: I'm applying it right now and will push, gimme 2min15:17
sforsheeif it's too much of a hassle it can wait until next time15:17
ogasawarasforshee: nah not much trouble, I'll squeeze it in15:18
apwthe more we have the less bad i feel about it being 36 hours after the last one15:18
ogasawaraindeed15:18
apwogasawara, i don't know if you followed along, but this -omap now supports omap3,4, some imx6 thing, and vexpress (for qemu) all out of the same bits15:19
apwpretty good start me thinks15:19
ogasawaraapw: yep, I saw the chatter, it's sweet!15:19
* apw is going to make a qemu'able image from his omap board when this test is done15:20
ogasawaraapw: ok, pushed to master-next what I'm intending for the upload15:21
ogasawaraapw: I've not yet tagged or reset master15:22
ogasawaraapw: will do so after my builds and testing are good15:22
apwyep15:23
* ogasawara back in 2015:38
ppisati /me -> EOW17:10
ppisatimeh17:10
ocdtechWhat do these errors mean?  http://dpaste.com/903980/17:12
sforsheeocdtech, it means there are some coding errors in the kernel you're trying to build17:19
=== zequence_ is now known as zequence
ocdtechsforshee: are the error in the code or the .config ?17:24
sforsheeocdtech, the code17:25
ocdtechmy source is the 3.2.37 stable from kernel.org how would errors get introduced?  If run make -i will it complete?  I know the kernel may not run if it does.17:26
sforsheeocdtech, you haven't modified the code at all? Applied any extra patches?17:27
sforsheeit's possible the errors only show up under certain configs, but it definitely looks like code errors to me17:27
ocdtechsforshee: I applied only one patch from a known good tarball.  It was used on another machine in my office a few weeks ago.17:29
sforsheeocdtech, to the same kernel version? If it was a different kernel version then it may contain changes incompatible with 3.2.37.17:30
ocdtechsforshee: he was using 3.2.23 and the patch worked fine, but I can't find source for 3.2.2317:31
ocdtechsforshee: think that's the problem?17:32
apwocdtech, well the simple test is to unapply the patch and see if it compiles without, if so then its the patch17:32
ocdtechapw: I didn't know I could do that.  Off to google I go!17:33
apwocdtech, patch -R undoes patch17:33
ocdtechapw: Trying it now17:34
=== henrix is now known as henrix_
=== henrix_ is now known as henrix
=== henrix is now known as henrix_
=== henrix_ is now known as henrix
ocdtechapw: I get the same errors after patch is removed.  Would an environment variable cause these errors?17:46
apwnot likely17:48
apwocdtech, though i can also say that 3.2.37 built just fine in our mainline automated builds17:49
ocdtechI've only been using linux for about 6-7 months.  This is my first kernel build so I was half expecting problems.17:51
sforsheeocdtech, the errors are exactly the same?17:53
ocdtechsforshee: yes17:53
sforsheearch/x86/kernel/init_task.c:31:8: error: unknown field ‘deadline’ specified in initializer17:53
sforsheeocdtech, I'm looking at 3.2.37 and there shouldn't be any attempts to initialize a field named deadline17:54
ocdtechsforshee: is it refering to the I/O scheduler?17:55
sforsheesforshee, this is initialization of the task_struct17:58
sforsheegotta head out for a while, back in an hour or so17:58
* sforshee -> lunch17:58
ocdtechsforshee: enjoy.17:59
ocdtechwhat is the command for pulling the build .config out of the currently running kernel?18:06
* henrix -> EOD18:14
=== henrix is now known as henrix_
bjfocdtech, if you are running ubuntu you can find the config at /boot/config-$(uname -r)18:17
ocdtechbjf: thanks18:37
=== chiluk is now known as chiluk_away
=== chiluk_away is now known as chiluk
=== chiluk is now known as chiluk_away
=== chiluk_away is now known as chiluk
* ogasawara lunch20:37
* llstarks dinner20:47
=== ben1u is now known as benlu
=== chiluk is now known as chiluk_away
=== emma is now known as em

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