List Info

Thread: pf as a module for XEN3_DOM0




pf as a module for XEN3_DOM0
user name
2006-07-17 15:05:33
Hi,

I can't modload pf.o into running xen3 dom0 nbsd kernel (v.
3.99.22). 
These are the symptoms:

$  sudo modload -vd pf.o
ld -R /dev/ksyms -e pf_lkmentry -o pf -Ttext 0x0 pf.o
pf.o: In function `pf_init_threshold':
: undefined reference to `time_second'
pf.o: In function `pf_add_threshold':
: undefined reference to `time_second'
pf.o: In function `pf_state_expires':
: undefined reference to `time_second'
pf.o: In function `pf_src_tree_remove_state':
: undefined reference to `time_second'
pf.o: In function `pf_src_tree_remove_state':
: undefined reference to `time_second'
pf.o:: more undefined references to `time_second' follow
modload: can't prelink `pf.o' creating `pf'

The time_second symbol is defined in kern_tc.c, but even if
this file is 
compiled, no symbols gets to the resulting kernel file. The
nm command 
on kern_tc.o gives nothing - no symbols.

If I compile pf into kernel, everything's ok, but I'd like
to use old 
altq as well and it's possible only with pf as module in
-current HEAD 
branch.

What is the proper solution of this problem and what are the
hacks (if any)?

Thanks.

--
Juraj


pf as a module for XEN3_DOM0
user name
2006-07-17 15:31:15
On Mon, Jul 17, 2006 at 05:05:33PM +0200, Juraj Hercek
wrote:
> Hi,
> 
> I can't modload pf.o into running xen3 dom0 nbsd
kernel (v. 3.99.22). 
> These are the symptoms:

I'd like an answer to this, but I ended up just re-building
the kernel
with PF.

-- 
Chris Dukes
"The key to effective management is properly timed
hovering."
pf as a module for XEN3_DOM0
user name
2006-07-17 15:31:15
On Mon, Jul 17, 2006 at 05:05:33PM +0200, Juraj Hercek
wrote:
> Hi,
> 
> I can't modload pf.o into running xen3 dom0 nbsd
kernel (v. 3.99.22). 
> These are the symptoms:

I'd like an answer to this, but I ended up just re-building
the kernel
with PF.

-- 
Chris Dukes
"The key to effective management is properly timed
hovering."
pf as a module for XEN3_DOM0
user name
2006-07-17 16:16:32
On Mon, Jul 17, 2006 at 11:31:15AM -0400, Chris Dukes wrote:
> I'd like an answer to this, but I ended up just
re-building the kernel
> with PF.
> 
Has Xen been converted to timecounter ? only sparc, amd64,
prep and i386
seems to have __HAVE_TIMECOUNTER defined. It would explain
why
`time_second' is missing in time_tc.o as its definition is
wrapped
around #ifdef __HAVE_TIMECOUNTER ... #endif

regards,

Arnaud

pf as a module for XEN3_DOM0
user name
2006-07-17 16:16:32
On Mon, Jul 17, 2006 at 11:31:15AM -0400, Chris Dukes wrote:
> I'd like an answer to this, but I ended up just
re-building the kernel
> with PF.
> 
Has Xen been converted to timecounter ? only sparc, amd64,
prep and i386
seems to have __HAVE_TIMECOUNTER defined. It would explain
why
`time_second' is missing in time_tc.o as its definition is
wrapped
around #ifdef __HAVE_TIMECOUNTER ... #endif

regards,

Arnaud

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )