=== _LibertyZero is now known as LibertyZero
fairuzHi, I got this when booting a linux kernel, http://pastebin.com/W7YyBM2n .. any idea?08:13
jjohansenfairuz: what does your grub entry look like08:15
fairuzjjohansen: I use uboot actually08:19
fairuzjjohansen: you need something like this? console=ttyO2,115200n8 mem=456M@0x80000000 mem=512M@0xA0000000  root=/dev/mmcblk0p2 rw rootdelay=2 init=/init vram="10M"  omapfb.vram="0:4M"08:21
jjohansenfairuz: ah did you get a typo in /dev/mmcblk0p2 maybe?08:22
* jjohansen has very little experience with current arm08:23
jjohansenuboot etc08:23
jjohansenhrmm no, I see it mounted okay08:23
fairuzjjohansen: the /dev/mmcblk0p2 is correct08:24
fairuzjjohansen: it's just somehow can't start init?08:24
jjohansensorry no ideas, here.  Though I expect I will have some better ideas in a week08:25
* jjohansen has an arm box coming this week08:25
fairuzjjohansen: cool08:25
jjohansenfairuz: which os?08:27
fairuzjjohansen: android08:27
fairuzjjohansen: froyo08:27
jjohansenmaybe /sbin/init?08:27
fairuzjjohansen: i'll try that08:28
fairuzjjohansen: I don't think so since the init executable is in /08:35
jjohansenfairuz: okay, well it was worth a shot, my next suggestion was mounting somewhere else and checking the init was in /08:36
fairuzjjohansen: btw, what init will do exactly? because i see there are the init exec, and also some .rc files such as init.rc, init_omap4430.rc etc08:37
fairuzthese files are useful to init?08:37
jjohansenfairuz: I assume so08:38
jjohansenfairuz: it really depends on the init system08:38
jjohansenbasically the kernel will exec init and then init can do what it wants08:39
jjohansentraditionally that is controlled /etc/init and .rc files etc08:39
jjohanseninit will exec processes to take care of the rest of boot08:39
* jjohansen has never played with android, so /me is not sure what their boot sequence is like08:40
jjohansendoes the /init file has exec permissions?08:40
fairuzjjohansen: yes08:40
jjohansenwhat does file init report?08:41
fairuzjjohansen: sorry but I dont get what you mean. You mean the init log file or something like that?08:44
jjohansenno, run the file command on the init binary08:44
jjohansen> file init08:45
jjohanseninit: ELF 32-bit LSB executable, ARM, version 1 (SYSV), statically linked, stripped08:45
=== lonewolf is now known as serious__sam
fairuzjjohansen: I have some other problems. Will get to you later. Btw, thanks for the help, really appreciate it.08:56
jjohansenfairuz: np, I hope you get it working, /me is interested as I expect to be having similar fun08:56
fairuzjjohansen: what arm platform you will be getting btw?08:57
jjohansenefika mx08:57
fairuzjjohansen: nice08:58
fairuzI got 2.6.38-00366-g65e01eb when i do uname -r. Is it weird or normal? :D10:15
fairuzMaybe I compile it wrong?10:16
=== ogra is now known as Guest34611
=== Guest34611 is now known as ogra_
=== jjohansen is now known as jj-afk
fairuzI installed linux-headers-2.6.38-1204 but why it doesnt appear in /lib/modules/ ? 11:59
jk-fairuz: the -headers package doesn't provide any modules; what are you looking to find in /lib/modules?12:03
fairuzjk-: the headers file 12:03
jj-afkfairuz: linux-headers only installs into /usr/src/12:04
fairuzjj-afk: ok, my bad ty12:04
jk-fairuz: the headers will be in /usr/src/linux-headers-$version/12:04
jk-(there should be a symlink from /lib/modules/$version/build though)12:04
jk-fairuz: for future reference, `dpkg -L <package>` will list the files installed by a package12:05
fairuzjk-: Ah ok, thats will be useful12:05
fairuzI got Kernel Configuration is invalid error when compiling module using my new 2.3.38 kernel12:07
=== yofel_ is now known as yofel
fairuzHi, I got error: unknown field 'ioctl' specified in initializer when compiling a module on 2.6.3812:29
fairuzIt compiles OK on 2.6.3512:29
=== chuck_ is now known as zul
fairuzHmm they stop supporting ioctl in the file_operations?12:36
fairuzI found the solution in the git log, have to change ioctl to unlocked_ioctl :D12:39
ogasawaraI'm doing one final upload of the natty kernel before beta due to the new compiler, any last minute patches we need? (as long as they're not ABI bumpers)13:11
=== diwic is now known as diwic_afk
tgardnerogasawara, how about the CONFIG_NR_CPUS patch thats still on the mailing list?13:13
tgardnerbug #73712413:14
ubot2Launchpad bug 737124 in linux "Support workstations with greater than 64 cores" [Medium,In progress] https://launchpad.net/bugs/73712413:14
* ogasawara looks for it13:14
=== ogra_ is now known as ogra
tgardnerogasawara,  CONFIG_NR_CPUS appears to be an ABI bumper13:45
ogasawaratgardner: just out of curiosity, did that CONFIG_NR_CPUS patch accidentally get dropped along the way?  Looking at bug 706058, it looks like it was previously applied?13:45
ubot2Launchpad bug 706058 in linux "amd64 x86-64 boot fails with more then 64 CPUs" [Undecided,Fix released] https://launchpad.net/bugs/70605813:45
tgardnerogasawara, I think it was -server only13:45
apwyeah it was only server we applied it for13:46
* apw isn't here13:46
tgardnerogasawara, rather, it was only applied to -server13:46
ogasawaratgardner: hrm, was hoping to not have an ABI bumper.  Can it wait till post beta?13:46
tgardnerogasawara, yep, I thingk so13:46
ogasawaratgardner: ack, I'll shove it on master-next then and just do a no-change upload of the kernel for the new compiler13:47
tgardnerogasawara, fire away13:47
=== diwic_afk is now known as diwic
* ogasawara slaps forehead. pulled the trigger too soon with the upload.14:27
ogasawaraI should actually wait for the compiler to finish building for the other aches, sigh14:27
mterryWhat's the most useful way to report a kernel panic?  I don't see anything in /var/crash, and I don't get an apport prompt14:33
Krunchmterry: do you have the full oops message?14:36
mterryKrunch, I didn't write it down from the screen, no...  Is it written on my disk anywhere?14:40
cndanyone know where to submit patches for latencytop?14:41
Krunchmterry: it might be in the kernel logs (/var/log/kern.log on Debian, not sure for Ubunut) if you are lucky but probably not14:41
Krunchmterry: without the oops message or the vmcore, there is probably not enough to write a bug report14:41
cndactually, it looks kinda dead...14:42
Krunchmterry: look into netconsole to send the oops message (and all the console messages) to a remote system14:42
sorenmterry: I usually take a photo with my phone and attach it to a bug report.14:42
Krunchand depending on the oops message, that might not be enough either14:43
mterrysoren, good idea14:43
mterryKrunch, k, thanks.  (/var/log/kern.log is also there in Ubuntu, btw)14:44
fairuzHi, if I do sudo dpkg --unpack file.deb, where the unpacked files will go?14:59
sforsheefairuz, I believe they go to the same locations as if you installed the package15:03
bjffairuz, dpkg --extract unpacks them in the current folder15:05
fairuzsforshee: I found them in /boot 15:06
fairuzbjf: ok ty15:06
diwiccnd, hmm, isn't latencytop maintained by the Redhat Realtime group (or whatever they call themselves)?15:06
cnddiwic, maybe, but they have no info about that on their website15:07
cndI have no clue who is the maintainer or how to contact them...15:07
cndno changes to their git tree in 17 months either...15:07
fairuzWhen I do sudo flash-kernel, I got cannot find default kernel in /vmlinuz or /boot/vmlinuz ..... I got 3 different vmlinuz in my /boot15:08
diwiccnd, hmm, actually it says Intel Open Source Group on the homepage...15:09
diwiccnd, so I'm correcting myself, the Redhat people probably does the hard realtime stuff rather than this15:10
diwiccnd, from the git tree looks like arjan@linux.intel.com and benh@kernel.crashing.org have several commits in there, so start by emailing them directly and ask where to submit patches? 15:11
cnddiwic, probably, but I'm just doing patch piloting15:12
cndand the patch fixes a type in the man page15:12
cndso I'm reluctant to put too much effort into it :)15:12
diwiccnd, ah, ok. Well, just send it to those two people and see what happens :-)15:12
tgardnerogasawara, I rebased Natty master-next against master and added the CONFIG_NR_CPUS=256 patch (after a bump ABI)15:16
ogasawaratgardner: ack, thanks15:16
tgardnerogasawara, I worked on a set of build scripts while in London a couple of weeks ago that I haven't really advertised much. You might want to give 'em a  spin. kteam-tools/buildscripts/ukb-make*15:19
ogasawaratgardner: cool, I'll take a peek15:20
=== bjf is now known as bjf[afk]
=== jj-afk is now known as jjohansen
=== herton is now known as herton_lunch
=== bjf[afk] is now known as bjf
ogasawaratgardner: ukb-make works well for me16:42
tgardnerogasawara, cool. the only issue I've noted so far is an inelegant error when the armel chroot isn't supported,. like on Lucid amd64 hosts.16:43
tgardneractually, natty armel schroots on Lucid build hosts16:44
sconklinogasawara: welcome back!16:46
ogasawarasconklin: thank :)16:46
ogasawarathanks even16:46
=== herton_lunch is now known as herton
=== sforshee is now known as sforshee-lunch
lil_petehey guys do you happen to know why my usb-bus doesnt detect devices if i plug them in after (!) booting? they work perfectly well when plugged in before booting... :-(17:17
* tgardner --> lunch17:47
=== sforshee-lunch is now known as sforshee
=== chuck_ is now known as zul
ckingkentb, that vida is now en-route back to Dell18:09
kentbcking, thanks :)18:10
xuruhowdy, I'm trying to build a kernel with a few changed options (CONFIG_SYSFS_DEPRECATED=y, etc), and I keep running into an error when I build it.  Here is the commands I used and the output:  http://paste.pocoo.org/show/357263/18:12
=== chuck_ is now known as zul
xuruwhen I do the make mrproper, it seems to blow away the debian directory18:16
jjohansenxuru: yes you will need to mv the debian and debain.master directory out of the source directory when you run mrproper and then you can mv them back18:17
xuruany idea what's causing this in the first place?18:19
xuruseems to be pretty strait forward following https://help.ubuntu.com/community/Kernel/Compile18:19
jjohansenxuru: I can't remember but it does show up occasionally, especially if you poke the kernel build system without specifying it should dump thing in the debian/build directory18:20
xuruok, I'll try doing the make mrproper and copying those files back18:21
xuruinteresting...  I did a 'make mrproper' and then copied the debian* directories back, then did a build (forgetting to copy my .config back) and it's building fine18:27
xuruso it must be one of the two options I set that are causing the build error18:28
xuruI'll try adding in each one at a time and see18:28
=== chuck_ is now known as zul
sforsheexuru, it's probably the presence of the .config file that's causing the error18:38
sforsheethere's a section on the page you linked to about how to change config options18:38
xuruoh?  must have missed that18:38
sforsheexuru, it's a little hidden, it's under "Modify the source for your needs"18:39
xuruok, I thought that was just if you were making a special non-generic kernel18:41
xuruso x86_64 == ia64 or amd64?18:41
xuruk, thanks18:44
xuruis there a way to point make menuconfig to that config file?18:45
xurunevermind, I can use the load alternate configuration option right?18:46
xuruis debian.master/config/config.common.ubuntu read in first?  and then debian.master/config/amd64/config.common.amd64?18:53
=== chuck_ is now known as zul
ogasawarabjf, sconklin:  I think an incorrect version of a CVE patch I sent to the ml was applied to hardy master-next, care if I just fix it up?18:57
ogasawarabjf, sconklin: it's for "econet: Fix crash in aun_incoming(). CVE-2010-4342"18:57
ubot2ogasawara: The aun_incoming function in net/econet/af_econet.c in the Linux kernel before 2.6.37-rc6, when Econet is enabled, allows remote attackers to cause a denial of service (NULL pointer dereference and OOPS) by sending an Acorn Universal Networking (AUN) packet over UDP. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-4342)18:57
bjfogasawara, go for it, that's what "master-next" is all about and we have started a new cycle18:58
bjfogasawara, so we won't look at master-next until next week some tim18:58
bjfogasawara, s/tim/time/18:58
ogasawarabjf: cool18:58
tgardnerogasawara, whats wrong with it?18:58
ogasawaratgardner: struct dst_entry *dst = skb_dst(skb);18:59
ogasawaratgardner: skb_dst() isn't defined in Hardy18:59
tgardnerogasawara, doh! I bet I used the Karmic patch.18:59
tgardnerbjf, sconklin, shall I upload the Lucid/Maverick LBM packages with the new compat-wireless 2.6.38 support ?19:02
bjftgardner, i think that's ok with me19:04
sconklinI can't think of a reason not to19:04
* bjf -> lunch19:46
=== bjf is now known as bjf[afk]
kirklandtgardner: is there a known reason why my CPU's load never goes below 1.00 on natty?19:48
kirklandtgardner: system is totally idle19:48
kirklandtgardner: but the lowest /proc/loadavg ever says is 1.0019:48
kirklandtgardner: model name      : Intel(R) Core(TM) i7 CPU       M 620  @ 2.67GHz19:49
tgardnerkirkland, none that I know of. lemme check,19:49
tgardnerkirkland, here is a dual CPU: 13:49:41 up 1 day, 19:52,  1 user,  load average: 0.00, 0.01, 0.0519:50
kirklandtgardner: hrm19:50
kirklandkees: when you were here, you pointed me toward something that might have to do with my load-never-goes-below-1.00 problem...  I can't remember what it was, though19:52
kirklandkees: aha, found it in my log19:55
kirklandtgardner: ah, i see:19:55
kirkland$ ps auwwx | grep " D "19:55
kirklandroot       701  0.0  0.0      0     0 ?        D    09:07   0:01 [ips-monitor]19:55
kirklandtgardner: what is ips-monitor?19:55
tgardnerkirkland, intel power save (I think)19:56
kirklandtgardner: https://lkml.org/lkml/2011/3/19/3719:56
tgardnerintelligent power sharing19:57
kirklandtgardner: https://lkml.org/lkml/2011/3/21/23719:57
kirklandtgardner: so it is "phantom" load, as suspected19:57
kirklandtgardner: still, annoying;  looks like Intel is looking for a fix19:58
tgardnerkirkland, yep. 19:59
=== bjf[afk] is now known as bjf
kristian-aalborghi all, has anyone gotten apmd working?20:46
=== ogra is now known as Guest27445
* ogasawara back on later21:21
=== sconklin is now known as sconklin-gone
Specialisthi all! quick question: whch target do i need to build for an ubuntu kernel using debian/rules to get the linux-headers*_all.deb (binary-generic does not produce that deb)?22:56
jjohansenSpecialist: do fakeroot debian/rules binary-headers binary-generic 22:58
Specialistjjohansen: thanks!22:58

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