Skip to contentSkip to conversation

Real time Clock access from a Guest Kernel

uml-devel Scott Hadley 1 participant 1 message Apr 4, 2008 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

Hi,

I am trying to port a kernel module from a host machine to a guest kernel but am having some troubles with the real time clock.

The kernel module uses the mc146818rtc.h driver to access the hardware clock from the CMOS. Unfortunately the mc146818rtc.h does not appear to be in the asm-um directory and so my module will not compile.

Is there any other way that I can get the timing signal from the UML kernel? I need a 8 KHz timing signal for the module to work.

What would happen if I try and modify the UM kernel to allow virtual machines direct access to the CMOS clock. I am only reading the time not setting it? Is this even possible.

I would appreciate any help anyone can give me.

Yours

Scott Hadley

      ___________________________________________________________ 

Yahoo! For Good helps you make a difference

http://uk.promotions.yahoo.com/forgood/

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel