/srv/irclogs.ubuntu.com/2009/02/23/#ubuntu-kernel.txt

=== Tim-away is now known as TimStarling
=== pgraner__ is now known as pgraner
=== jldugger_ is now known as jldugger
=== maco_ is now known as maco
msaI've kernel mod doing debug <7> msg's, however cant seem to get them visible anywhere on intrepid... (used to -work fine earlier into syslog12:59
msakilling syslogd and klogd, and doing "sudo cat /proc/kmsg" shows them, but does not do it continuously (again, -used to work fine)13:00
msa(e.g. I can see all messages wth cat /proc/kmsg, but have to keep doing ctrl-c and reissuing the command)13:02
rihamguys, I would like to ask a Q about kernel native aio , io_submit seems to be blocking so ...  does anybody have a clue ?13:15
JackWinteris this the right place for problems compiling a kernel module under kubuntu 8.04 ?15:15
JackWinteri'm trying to install vbox-2.1.4 on kubuntu 8.04.  i can compile the kernel module but when i try to load it i get the following error: [  621.528827] vboxdrv: Unknown symbol __stack_chk_fail15:19
JackWinterhave tried different kernels and also removing and reinstalling linux-headers15:20
mjg59Build with -fno-stack-protector15:20
JackWintermjg59: sorry not very good at this.  how do i do that ?  can i change a global option for my system ?15:20
mjg59I've no idea how the virtualbox build system works15:21
JackWinterit's got a Makefile.  what is strange is that it worked before, something must have changed on my system15:22
smb_tpIn general I would suspect they use a "normal" out of tree thing...15:22
smb_tpWhat exactly is before. 8.04 but older kernel?15:23
JackWinteri think i have a problem loading the closed nvidia drivers too.  also a kernel module15:23
smb_tpJackWinter, Hm, could it be that this happened after getting 2.6.24-23.48 kernel?15:25
JackWinterno i have the problem with any 8.04 kernels i try.  before = a few weeks ago with the same kernels i'm trying now.   probably my fault, since i've tried to compile my  own kernel and failed on something related to the nvidia driver.  not sure if it has anything to do with it, but i suspect so...15:25
JackWintersmb_tp: could be but happens with .21 .16 etc....15:26
smb_tpOk, in that case it isn't what I had in mind.15:27
JackWintervbox people tell me that the vbox module should compile with settings from the linux-headers of my kernel, so i don't understand why it doesn't15:27
smb_tpRight IIRC those builds take the config from /lib/modules/$(uname -r)/build. So it should be right if nothing changed that contents15:29
JackWinterif it helps ls -l /usr/src: http://pastebin.com/d3e12080615:30
smb_tplooks sensible15:31
JackWinterand ls -l /lib/modules/2.6.24-16-generic: http://pastebin.com/d1683e7b615:34
JackWintercould it not be that some global default has changed for my build enviroment, and that the Makefile doesn't take it into account so tries to build the module with stack checking while the kernel doesn't have it ?15:36
smb_tpwhat does "grep STACK /lib/modules/2.6.24-23-generic/build/.config" print for you15:36
JackWintersmb_tp: http://pastebin.com/d363cc5a715:37
smb_tpok, same here15:38
JackWinterand "grep STACK /lib/modules/2.6.24-16-generic/build/.config" shows the same15:40
smb_tpJackWinter, A compile for 1.5.6 vboxdrv works here. Maybe you want to pastebin a build log to compare15:44
JackWintersmb_tp: here is the build log: http://pastebin.com/d501a6128, but think that works fine, it's when it's trying to load it that there is a problem15:48
JackWintermy guess is that something went wrong when i tried to build a kernel.  i managed to build a couple of kernels based on the config of my existing kernel.  they failed to install from package though due to some conflict with the nvidia driver.  i had some problems until i manually removed the half installed kernels, but think i've cleaned the system out...15:50
smb_tpJackWinter, I had hoped the log would be a bit more verbose. To see which options are taken.15:51
JackWinterno it doesn't really show very much at all :(15:51
JackWintermy guess is that for some reasons the modules build with the wrong options and thus can't load.  i think i have the same problem with the nvida closed driver, the module builds but can't load.  prefer to trouble shoot with the vbox module though :)15:53
smb_tpAs it saves a little time, yes. :)15:53
JackWintersmb_tp: mind you that i have no clue what i'm doing, but i copied the vbox module source from /var/lib/dkms/vboxdriver/2.1.4 to my home and tried to run a make from the build directory, this is the output: http://pastebin.com/m30123aa116:10
smb_tpJackWinter, Well, good clueless thinking... ;-)16:11
JackWintersmb_tp: in any case the beginning of the output.  i have no clue as to what i'm expecting, but it doesn't look like all is in order ?16:15
smb_tpIt looks strange, some things might be testing some environment. Give me a sec16:16
JackWinterhere is ls -l /usr/local: http://pastebin.com/d7d6df7c2  include is indeed not a dierectory and the date is recent ?  and no worries about when, i am happy for all help i can get :)16:19
=== TimStarling is now known as Tim-away
JackWinteron another install i have /usr/local/include is indeed a driectory, so this must be at least one thing borked with my system16:22
smb_tpIt is an empty directory on my system16:24
smb_tpSo at least this being a file is quite strange16:25
JackWinterlooks to be emtpy on my 8.10 system too.  do you think i can just delete it and then recreate it with the right owner and access rights ?16:26
smb_tpMay be look into it (or at least save it as evidence) to know what probably has written there16:27
smb_tpIt might be worth a try to replace it by an empty dir again, but who knows what else got changed16:28
JackWinterhehe, looks like cpp code :)16:31
JackWintermust have been written when i tried to install a program from source...:(16:32
smb_tpJackWinter, Things like this could happen more likely if /usr/local/include was not there before. 16:35
JackWintersmb_tp: think it was always there...  in any case i removed it, recreated the dir and recompiled the kernel module.  it installed without a problem.  hopefully that was the extent of the problem, because i don't really feel like reinstalling the whole system...16:37
smb_tpMaybe it got its options wrong since the build system got confused. With the older vboxdrv module on my system here, I saw that -fno-stack-protector was used. This seems to be the case for you again.16:38
JackWinteram gonna remove the offending source, because that build didn't complete anyway and i don't really need it.  hopefully nvidia will also build again...  Many thanks for your help!16:38
smb_tpJackWinter, Np, I was just pointing a bit :)16:39
JackWinter:))16:39
LaneyQuick instant-triage on this: https://s3.amazonaws.com/pikchurimages/pic_mba_l.jpg - kernel issue?16:45
Laney(just happened to my PC on Jaunty upgrade)16:45
mjg59Either your hard drive died or it's a kernel issue16:45
mjg59The latter is probably more likely16:45
Laneyhdd dying is a coincidence too far16:46
LaneyI will file a bug soon then16:46
mdzI noticed the following run-on message in dmesg:16:52
mdz[   20.835571] psmouse serio1: ID: 10 00 64<6>elantech.c: unexpected magic knock result 0x5a, 0x03, 0xc8.16:52
mdzI think there was supposed to be a newline in there somewhere16:52
JackWinterprobably off topic but since i'm already here and you guys might know.  if i install the closed nvidia 180.29 drivers on my kubuntu 8.04 system, kernel 2.6.24, will dkms still work ?17:18
apwmdz, what did the next line look like?17:59
apwits possible they really are interlieved one from the interrupt handler18:00
mdzapw: 18:00
mdz[   20.835571] psmouse serio1: ID: 10 00 64<6>elantech.c: unexpected magic knock result 0x5a, 0x03, 0xc8.18:00
mdz[   21.197163] Adding 1023976k swap on /dev/sdb6.  Priority:-1 extents:1 across:1023976k18:00
apwmdz ta18:00
apwmdz indeed that looks like a missing newline18:02
apwmdz can you confirm you have an alps touchpad: cat /sys/devices/platform/i8042/serio1/protocol18:03
mdzapw: no I do not, this is a desktop18:03
apwhmmmm18:03
mdzmizar:[~] cat /sys/devices/platform/i8042/serio1/protocol18:03
mdzImPS/218:03
apwoddness18:03
apwahh i see, this gets dropped out whether the alps driver attaches or not18:05
apwmdz i'll get that patched and push it upstream18:06
mdzapw: thanks18:06
_rubenhmm .. for some reason my module-assistant built kmod wont load .. earlier versions did work just fine .. now i get: scst: disagrees about version of symbol struct_module18:33
_rubenthe headers i built against match the running system's kernel18:34
maxb"Latest kernel upload:" in the topic really really isn't18:45
_rubenbah .. this is annoying .. cant figure out what broke it18:50
_rubenhmm .. apparently using m-a on a 2.6.27-9-server system with 2.6.27-11-server headers installed, doesnt create proper kmods for 2.6.27-11-server systems19:08
_ruben(did use the -l option, and the package name looked ok)19:08
=== JanC_ is now known as janc
=== janc is now known as JanC
=== JanC_ is now known as JanC
macoapw: hello?20:19
apwmaco, hi20:19
macoapw: pgraner says you'd be the person to ask about figuring out how to add support for 2 hotkeys that are on my laptop but don't show up in asus_laptop.c20:21
macoapw: i disassembled the dsdt with iasl, but i don't really understand it20:23
apwi can have a look at the problem, is there a bug for it?20:23
macobug 268429 and bug 327949 ...the web browser key and the video output switch key respectively.20:25
ubot3Malone bug 268429 in linux "asus-laptop module has incomplete support for hotkeys on Asus" [Undecided,New] https://launchpad.net/bugs/26842920:25
ubot3Malone bug 327949 in linux "Asus Z37E no keypress registered for video output switching key" [Low,New] https://launchpad.net/bugs/32794920:25
macohrm i should probably attach the dsdt to the bugs20:26
apwyeah do that20:26
macook its attached to 3274920:28
macoer 32794920:28
apwmaco, ok will have a look at the pair, and see what i can do, whats your normal around hours UTC?20:29
macoi looked about half way through it trying to make sense of it. i saw CPU and LED sections, and dtchen said the hotkeys won't be named, they'll likely be hex values....but that's all i got20:29
macoum...16 UTC to 7 UTC, i guess20:30
apwok cool.  will see what i can figure out, likely talk to you your am20:30
macook. do you mind explaining it after you have a look? i'd like to learn20:31
apwsure, we can learn together!20:34
macohahaha20:35
macothe most sense i can make of it is that it looks rather similar to verilog20:36
=== lifeless_ is now known as lifeless
macoKeybuk: that email you just sent out about stop_machine_create(), you mentioned a 1/2 second delay.  is that 1/2 second total for 40 modules, or is that 1/2 second *per* module?21:35
Keybuktotal for 40 modules21:36
macook21:36
macowas just wondering :)21:37
=== Tim-away is now known as TimStarling

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