/srv/irclogs.ubuntu.com/2011/10/17/#ubuntu-kernel.txt

VladimirShushkovHi, mates! Sorry for my english and maybe stupid queston. I dont use linux for a long time since the times of kernel 2.6.10 maybe. Now I have installed Ubuntu and I want to rebuild my kernel. I want to compile kernel 3.0. I tried to find ppa for this kernel. I just added ppa:kernel-ppa/ppa to my repository. But after apt-get update and trying to execute "apt-get install linux-headers" I didnt see linux-headers v.3.0, only 2.6.38. Maybe I 07:22
ohsixwhy do you want to build your own kernel?07:24
ohsixyou can install kernel packages from mainline that are built almost nightly, or you can install something like xorg-edgers which has a 3.0 kernel in it; to support the updated drivers in the same repo07:24
jk-VladimirShushkov: `apt-get install linux-headers-$version` ?07:26
VladimirShushkovohsix: Why do you ask about reasons to build new kernel? Is it bad idea? In the past I used slackware linux and always built my own kernel after linux installation. I built some of kernel features right in kernel but some left in modules. Building of you own kernel give you some definition. Also in the past I found that some of kernel features (e.x. packet filtering features) were not included in kernel nor in modules. Maybe today is diff07:37
VladimirShushkovjk-: Sorry, I dont understand what do you mean. As I said after typing apt-get install linux-headers- and pressing tab I see all candidates for installation: root@WorkstationX:~# apt-get install linux-headers-07:41
VladimirShushkovlinux-headers-2.6.38-10              linux-headers-2.6.38-8-virtual07:41
VladimirShushkovlinux-headers-2.6.38-10-generic      linux-headers-generic07:41
VladimirShushkovlinux-headers-2.6.38-10-server       linux-headers-lbm-2.6.38-10-generic07:41
VladimirShushkovlinux-headers-2.6.38-10-virtual      linux-headers-lbm-2.6.38-10-server07:41
VladimirShushkovlinux-headers-2.6.38-11              linux-headers-lbm-2.6.38-11-generic07:41
VladimirShushkovlinux-headers-2.6.38-11-generic      linux-headers-lbm-2.6.38-11-server07:41
VladimirShushkovlinux-headers-2.6.38-11-server       linux-headers-lbm-2.6.38-8-generic07:41
VladimirShushkovlinux-headers-2.6.38-11-virtual      linux-headers-lbm-2.6.38-8-server07:41
VladimirShushkovlinux-headers-2.6.38-8               linux-headers-server07:41
VladimirShushkovlinux-headers-2.6.38-8-generic       linux-headers-virtual07:41
VladimirShushkovlinux-headers-2.6.38-8-server07:41
smbVladimirShushkov, I think it would be linux-headers-<something> while the something is the same as you see when you run uname -r07:47
smb(like generic or generic-pae or server)07:47
smbmorning .+07:50
VladimirShushkovohsix: thanks, xorg-edgers is what i need. One stupid question. What do you mean saying mainline? Is it kernel.org? Because when I used slackware I just downloaded kernel source in tar.bz2 format and used it.07:51
smbVladimirShushkov, It is the same, but instead of taking certain tar version, the source is taken from git directly and then compiled with the same configuration options as the released kernel packages. Any ubuntu specific modules are missing, but those are less often needed.08:03
Q-FUNKhowdy! any news on re-enabling vesafb on mainline kernels?08:05
VladimirShushkovsmb: Thanks for your explanation. As I see mainline doesnt contain kernel 3.0 for natty, only for oneiric. If I will use oneiric kernel dont I break depencies?08:07
smbVladimirShushkov, There are no hard dependencies. The natty or oneiric postfix rather tells you which config options where used to build the kernel. There always may be problems but rather due to the fact that a newer kernel could potentially have changed interfaces to user-space. Though 3.0 in Natty is working 08:09
VladimirShushkovsmb: thank you!08:11
smbQ-FUNK, No (though that merely means "I have no clue whether there are news")08:11
Q-FUNKsmb: ok :)08:48
apwppisati, yo ... cve-tracker ?09:39
ppisatiare you and smb mentally connected? :)09:42
smbppisati, Didn't you know. ;-P09:42
ppisatigood to know :)09:42
ppisatianyway09:42
ppisatihttps://code.launchpad.net/~ubuntu-security/ubuntu-cve-tracker/master?09:42
ppisatithis one?09:42
smbNot if you want to change anything09:43
smbThat is the other teams original copy09:43
ppisatihttps://code.launchpad.net/~canonical-kernel-team/ubuntu-cve-tracker/kernel-team09:43
ppisatiok09:43
ppisatithis one09:43
smbYup, looks better09:43
smbppisati, Anything in special that you need to achieve?09:44
ppisatino no09:44
ppisatijust flip a cve status09:45
ppisatiseems lp and cve tracker are not connected yet09:45
smbppisati, They should be. But its something that apw has to trigger (or any real person). So it probably just runs or ran09:46
apwppisati, they are connected but there is security-team latency involved09:47
apwbut there isn't any problem flipping the state if you want to09:48
apwthough other than 'not-affected' there isn't many that make sense to apply manually09:48
* apw watches his upgrade go at 160k/s ... sigh09:49
apwi presume the mirrors are still being hammered09:52
apwppisati, for -2479 do you know which commit added the the huge page support in error ?10:39
ppisatiapw: huge page support was added in 71e3aac0724ffe8918992d76acfe3aad7d8724a510:41
apwppisati, so we can represent when something is added too on the break-fix line and get the not-affected status for free ... /me tries it out on this cve10:42
Kanohi apw , why are daily builds older than rc9?11:17
apwolder in date or older than commit list11:20
Kanothey are not build11:20
apwthat is not really an answer to the question11:21
Kanohttp://kernel.ubuntu.com/~kernel-ppa/mainline/daily/11:21
Kano10-04 is older than rc9 date11:21
apwbut by the looks of it linus has not pushed his master bracnh correctly to kernel.org11:22
Kanobut there are much  newer commits there11:22
apwthere == where ?11:22
Kanohttp://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=summary11:22
Kanowhat should be wrong there?11:23
apwDate:   Sun Feb 20 10:15:57 2011 -080011:24
apwinteresting, the latest commit if you pull the branch from kernel.org is nothing like that in gitweb11:25
Kanoreally weird11:25
Kanowell usually i parse web gits to dl snapshots11:27
* apw switches mainline over to github again, we'll see if that changes anything11:28
Kanoany diff there?11:37
apwKano, take a while before we know11:45
apwcking, yo ... i have just confiermed my 35s of black screen is a win7 thing, if i set acpi_osi="!Windows 2009" it no longer occurs :(12:38
Kanodid anybody manage to suspend a system booted via uefi correctly?12:39
apwwhat sort of machine is it, ie is it real uefi12:40
apwand not broken mac near a bit efi12:40
Kanoi7 with q6712:41
apwyou could easily be the first12:41
apwdoes the machine suspend if you enable bios emulation?12:41
Kanoit does not even suspend correctly win7 64 bit sp1 via efi12:42
Kanoit works fine booted via mbr12:42
Kanosomehow suspend does not seem to be that easy with efi...12:43
apwnope, efi is a bit of a disaster at the moment12:43
nuschIs there avaiable or could someone build for me standard 3.0.0-12-generic with CONFIG_RCU_TRACE option enabled ?  12:43
apwnusch, i doubt there is one available, i might be able to make you one, what you need it for12:44
apw(and which architectures)12:44
Kanobbl12:44
nuschI installed new RAM and got message about RCU detected CPU 0 stall12:44
nuschtrying to examine where exactly it locks12:44
apwdid it come out of the stall ?12:44
nuschyes12:45
nuschkernel runs about 30x slower than normally12:45
nuschlooking at tty lines12:45
apwand you get constant stalls ?12:45
apwall from adding some new RAM ?12:45
nuschyes12:45
nusch8GB instead of previous 4GB12:45
nuschthis is x86_6412:46
apwdoesn't seem like a change we'd expect to affect the kernel12:46
apwnone of those values are exactly remarkable12:46
smbIf you assume the RAM has no flaw12:46
apwand you've run a memory check?12:46
nuschmemtest looks ok12:47
nuschand it boots on another hardware without problems12:47
nuschsome people sugested buggy BIOS, is it correctable by kernel?12:47
apwi wonder where it got put, in the memory map12:47
apwif it is a physical layout issue triggered by the bios, not so easy12:47
apwcould you pastebin a dmesg from the kernel with 8G inserted12:48
apwi wonder if the mtrrs could be wrong12:48
smbYeah either that or maybe the timing goes wrong. Some BIOS may decide something bad based on what is in SPD12:49
nuschI asked people at ##kernel their also suggested mtrr but said it's ok, here is my dmesg https://bugs.launchpad.net/ubuntu/+source/linux/+bug/87565512:50
ubot2Launchpad bug 875655 in linux "Kernel extremally slow after upgrade from 4 to 8GB RAM on x86_64 machine, "RCU detected CPU0 stall"" [Undecided,Confirmed]12:50
nuschit was run with kernel mem=3G, becuse otherwise unusable. Here is another http://pastebin.com/YtLNPiCc with 8GB inserted and no kernel mem= option12:51
* smb wished that dmesg would not just print the hard to understand mask format...13:14
smbThough it feels like only the first 3G and then 1G above 4G are cacheable...13:15
nuschsmb, and what is the reason of such behaviour ?13:24
smbnusch, Don't know exact. Actually I start to wonder whether it matters that much in 64bit mode... My system here also only has the first 4G declared in mtrrs and does not care that much13:26
nuschsmb, and what about PAT, if PAT is enabled doesn't it mean MTRR don't have to strore correct information ?13:27
smbThinking along similar lines. But I am sufficiently in doubt about my knowledge here...13:28
smbnusch, Theoretically there could also be the problem that the module reports incorrect RAM timing (or the bios fails to make a sense of it). Unfortunately netbooks usually have nothing useful (in the sense of tunable) as a bios13:33
nuschI hope that's not striclty hardware issue, that's why I want check it with CONFIG_RCU_TRACE13:35
smbnusch, Maybe you could add the output of "sudo dmidecode" to the bug report. That may contain some more bits of info13:38
nuschsmb, I have no access to this computer at the moment , can send evening, but if it helps I have DSDT dump there13:43
smbnusch, Don't think the DSDT helps us here. That would be rather static info, while the dmidecode could show some info about what the bios detected/has set up13:46
nuschok, will try that this evening, BTW could I pass commands like dmidecode | tee  to kernel init= parameter ? Because it was not possible to boot system to bash prompt anytime. I was only able to sysrq reset or poweroff after few seconds pressing keys13:49
smbnusch, It should be ok to run the command even with mem=3G. As long as the memory module is present the bios will configure it and dmidecode reports it. Just the kernel make no use of the additional memory13:52
nuschok13:52
* ogasawara back in 2014:16
bjfogasawara: are you still handling the oneiric kernel or has the batton been passed to stable ?15:11
ogasawarabjf: should probably pass to stable now15:12
=== smb` is now known as smb
Q-FUNKwho updated the mainline kernel today? :)15:34
evtCan someone explain the "isra" suffix I see on some symbols via /proc/kallsyms? (ex: do_anonymous_page.isra.40())15:56
=== firewave is now known as FireWaveJob
nuschsmb: here is my dmicodede you asked http://pastebin.com/bKeT9iuw16:46
nuschsmb, sorry that one was without one module mounted, paste in a moment16:53
pmatulisjsalisbury: hello sir, do you still need any vm's on kvm-server-2?17:35
DBOhi, I am having issues with my realtek wireless. rtl8192ce is the wireless driver I am currently using. It seems to randomly stop talking to my access point at which point I have to reconnect to keep talking19:55
DBOit really makes pushing to bzr a frustrating experience :)19:56
jjohansenDBO: your lucky it doesn't oops your machine, what kernel version are you using19:59
jjohansenDBO: I have found the oneiric driver much better than (still not good), the natty one19:59
DBOoneiric latest20:00
DBOis there a better driver to use?20:00
DBOor something I can do to improve its stability and usefulness?20:00
bjfogasawara: what's your timeframe on uploading the first precise kernel ?20:10
ogasawarabjf: am about to send out email for the proposed -generic and -server config flavors.  Assuming I get Acks, I'd like to upload tomorrow.20:11
bjfogasawara: cool20:11
Q-FUNKbjf: we have separate desktop and server flavors, now?  are the desktop ones full preempt?20:12
jjohansenDBO: try black listing the rtl8192ce driver and see if another of the rtl drivers will handle it20:12
bjfQ-FUNK: that's a question for ogasawara 20:12
Q-FUNKΓΆΓΆ, yes20:13
ogasawaraQ-FUNK: we have separate flavors at the moment, we're proposed merging them.  the desktop uses the voluntary preemption model.20:13
Q-FUNKogasawara: why merge them?  20:14
DBOwoops, xchat crashed20:14
ogasawaraQ-FUNK: because aside form the preemption model and the scheduler, the configs are almost identical20:14
bjfQ-FUNK: this is being discussed on the ubuntu kernel team mailing list20:14
Q-FUNKogasawara: the preemption model is already a significant factor.20:14
ogasawaraQ-FUNK: that's why we're discussing on the mailing list20:15
ogasawaraQ-FUNK: and I'd like to keep the discussion there rather than having separate discussion on IRC and email20:15
Q-FUNKogasawara: ok.  fair enough :)20:17
Q-FUNKogasawara: have you and apw had the time to figure out why 'vesafb' is missing from default mainline builds, btw?20:18
ogasawaraQ-FUNK: sorry I haven't looked as I thought you'd discussed with apw20:19
ogasawaraQ-FUNK: as he is the primary care taker of the mainline builds20:19
Q-FUNKogasawara: we did.  sorry if the hierarchy of the kernel team seems unclear to me at times.20:19
Q-FUNKogasawara: we however never came to a definite answer about it.  I noticed a new mainline build toda, but vesafb was still missing.20:27
DBOjjohansen, okay I tried that, no joy, blacklisting rtlwifi and rtl8192ce results in no wifi :/20:27
jjohansenDBO: :(20:28
DBOis it possible that the driver isn't dealing with network manager doing its "scans"20:29
ogasawaraQ-FUNK: might be best to follow back up with him tomorrow?  I think he reset the mainline builds to point to github earlier today.20:29
Q-FUNKogasawara: that's possible. I'm not updated on the situation. I'm merely waiting for vesafb to return so that I can test mainline as jsalisbury requested on several bugs.20:34
jjohansenDBO: from what I have seen, no its the driver having problems20:38
DBOjjohansen, is there anything I can do? It kinda makes hacking on Unity hard :P20:39
jjohansenDBO: I found a usb wifi dongle fixes the proble :/20:39
DBOjjohansen, are we dependent on a fix from realtek or can we FOSS our way to a win here?20:40
jjohansenDBO: well FOSS away, but as I hear it the driver is pretty poor and needs a lot of work.  It certainly take someone who knows their way around the wireless driver stack20:41
DBOjjohansen, I wasn't intending to imply *I* would fix it, more looking for hope :)20:42
DBOI'll see if I cant order an intel wifi card and just be done with it20:42
DBOswapping out hardware is fun20:42
jjohansenDBO: hehe :)  I can give you the hope that I have only seen it crash oneiric once, which is better than natty where it was taking out the machine every 30 min20:43
DBOjjohansen, I have to admit, I find it a bit discouraging that the driver is in such a poor state20:43
jjohansenyeah /me too20:44
DBOjjohansen, I've never done wifi driver work, but I am an experienced hacker, is this a whole other world of pain or could I potentially help out here?20:44
jjohansenpossibly, its just a driver, nothing magical.  You need to learn the wifi driver stack some and maybe have card specs20:45
jjohansenI've never had the time to chase it20:45
DBOlast one and I promise to leave oyu be: http://www.newegg.com/Product/Product.aspx?Item=N82E16833106061 will that be trouble free?20:46
=== yofel_ is now known as yofel
=== emma_ is now known as emma
=== emma is now known as EMMA
=== EMMA is now known as emma
=== emma is now known as em
apwQ-FUNK (and ogasawara), i know why it is missing at least, it can no longer be a module -- fixing it is on my list22:30

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