Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
is nmi_watchdog in 2.6.38?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
nordic bro
Guru
Guru


Joined: 25 Oct 2003
Posts: 569

PostPosted: Tue Mar 29, 2011 12:56 am    Post subject: is nmi_watchdog in 2.6.38? Reply with quote

I have vbox 2.2.4 (don't want to change) and gentoo-sources 2.6.38 (was using 2.6.34 before). I'm using the vbox bin from their site, not an emerge. when I build a new kernel I run "/etc/init.d/vbox setup" or compile vboxdrv and vboxnetflt modules myself.

doing either w/2.6.38 I keep getting this from vboxdrv:

Code:
SUPDrv-linux.c:431: error: 'nmi_watchdog' undeclared (first use in this function)

the problem(?) is that doesn't seem defined anywhere in 2.6.38 (grep -r src). I can find lots of "touch_nmi_watchdog" but no definition of "nmi_watchdog".

I looked in my 2.6.34 source and arch/x86/include/asm/nmi.h has nmi_watchdog defined there; 2.6.38 nmi.h is quite a bit different. so I included the 2.6.34 nmi.h in vboxdrv compile and it finished fine but now won't run once I try to load it :)

Code:
dmesg: vboxdrv: Unknown symbol nmi_watchdog (err 0)

afaik I don't need nmi_watchdog myself and I think vbox doesn't either but just wants to ensure it's turned off(?).

so does anyone know a) what happened to 2.6.38 nmi_watchdog definition (it's not in 2.6.38.2 either) or some way around this? is there some way I can 'harmlessly' get my own nmi_watchdog definition compiled into the 2.6.38 kernel so vbox will find the symbol and be happy?

thanks.
Back to top
View user's profile Send private message
nordic bro
Guru
Guru


Joined: 25 Oct 2003
Posts: 569

PostPosted: Tue Mar 29, 2011 3:50 am    Post subject: Reply with quote

ha, when all else fails, comment, I guess :) I kept recompiling vboxdrv and commented assoc lines for each nmi error until it completed and module loads. for nmi it seems all references are self-contained in the single SUP*.c file anyway and afaik it's not something I've ever used. in my 2.6.34 /proc/sys/kernel/nmi_watchdog indicated it was always off and I don't use "nmi_watchdog=0" in grub.conf. vbox runs now so I'll use it on a throw-away vm to see if it holds up.

when I google on this all I can find are kernel mailing list threads which are over my head but presumably if nmi_watchdog is still there, it's been renamed? I find no '*nmi*' under /proc so maybe it's just gone or something?

can anyone tell me, is nmi_watchdog something an ordinary desktop user would ever have enabled? and why does vbox care anyway? it would help because then I'd know if I can leave SUP* like it is or if I have to put everything back and figure another way to get it to work.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum