Skip to contentSkip to conversation

Might be a solution to run Asterisk inside DOMU with rtc feature ...

DISCUSSION Sébastien CRAMATTE 1 participant 1 message Jan 14, 2007

lore
Share & tools
lore
#0 lore raw

Hello

Today, I've discovered "zaptelrtc" driver
<http://www.junghanns.net/downloads/zaprtc.0.0.1.tar.g> that aim to replace rtc kernel module.
this module is independant of IRQ 8 and use the pc clock instead

If this module is really independent, it was be a very good news and will allow to use asterisk meeting features and many other things without dedicated card and inside multiple domU

Some months ago we talk about this problem

http://lists.xensource.com/archives/html/xen-users/2006-08/msg00499.html
http://lists.xensource.com/archives/html/xen-devel/2006-08/msg00998.html

I've tried to compile it under debian eth with 2.6.18 for xen 3.0.3 ... Unfortunately I've got many compilations problems

...
/usr/src/linux/include/linux/mm.h:983: error: expected declaration specifiers or '...' before 'pgoff_t' /usr/src/linux/include/linux/mm.h:986: error: expected declaration specifiers or '...' before 'pgoff_t' /usr/src/linux/include/linux/mm.h:1062: error: expected declaration specifiers or '...' before 'size_t' /usr/src/linux/include/linux/mm.h:1062: error: expected declaration specifiers or '...' before 'loff_t'
In file included from /usr/src/linux/include/linux/rtc.h:113,

                 from /usr/src/linux/include/linux/mc146818rtc.h:15,
                 from zaprtc.c:66:

/usr/src/linux/include/linux/poll.h: In function 'get_fd_set':
/usr/src/linux/include/linux/poll.h:94: error: too many arguments to function '__constant_c_and_count_memset' /usr/src/linux/include/linux/poll.h:94: error: too many arguments to function '__constant_c_memset' /usr/src/linux/include/linux/poll.h:94: error: too many arguments to function '__memset_generic' /usr/src/linux/include/linux/poll.h:94: error: too many arguments to function '__memset_generic' /usr/src/linux/include/linux/poll.h: In function 'zero_fd_set':
/usr/src/linux/include/linux/poll.h:109: error: too many arguments to function '__constant_c_and_count_memset' /usr/src/linux/include/linux/poll.h:109: error: too many arguments to function '__constant_c_memset' /usr/src/linux/include/linux/poll.h:109: error: too many arguments to function '__memset_generic' /usr/src/linux/include/linux/poll.h:109: error: too many arguments to function '__memset_generic'
In file included from zaprtc.c:66:
/usr/src/linux/include/linux/mc146818rtc.h:94:1: warning:
"RTC_IO_EXTENT" redefined
zaprtc.c:49:1: warning: this is the location of the previous definition
...

But maybe someone can give us an hand ?
Regards

Sébastien