[rds-devel] testing with RDS on the mainline kernel

Olaf Kirch olaf.kirch at oracle.com
Thu May 15 08:41:16 PDT 2008


On Thursday 15 May 2008 17:02:11 Or Gerlitz wrote:
> Olaf Kirch wrote:
> >> sysctl table check failed: /net/rds .3.9912 Unknown sysctl binary path
> >> Pid: 8653, comm: insmod Not tainted 2.6.26-rc2 #1
> >>     
> >
> > There are two issues here with sysctl.
> >
> > the "unknown binary path" happens because the new sysctl check code
> > no longer allows you to do recursive sysctl registrations anymore.
> > You now need to do a lot of funky stuff involving path structs
> > and so on - I look at it briefly and haven't grokked it fully yet.
> > I'd ignore the issue for now and hard-code af_rds and sol_rds in your
> > test app, just so that you can go ahead with your testing.
> >
> >   
> I am fine with doing these hard-coding at the app that uses rds, can you 
> give me a rough sketch what to comment out at the rds code?

I don't think you need to comment out anything. You can either just
live with these warnings, or remove the call to register_sysctl_table
in net/rds/sysctl.c - or maybe it's enough to build the kernel
without CONFIG_SYSCTL_CHECKS (or whatever it's called - there's an
option to turn off these extra checks)

Olaf
-- 
Olaf Kirch  |  --- o --- Nous sommes du soleil we love when we play
okir at lst.de |    / | \   sol.dhoop.naytheet.ah kin.ir.samse.qurax



More information about the rds-devel mailing list