Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jan 2009 10:47:29 -0800 (PST)
From:      dvg_lab <dvg@tjc.ru>
To:        freebsd-current@freebsd.org
Subject:   Re: RFC: new utility, kmodpatch
Message-ID:  <21267890.post@talk.nabble.com>
In-Reply-To: <20090101183026.GA15385@onelab2.iet.unipi.it>
References:  <20090101183026.GA15385@onelab2.iet.unipi.it>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi,

I mentioned this utility a couple of months ago, and it's now working
> so i would like to receive feedback on whether this is good to have
> as part of the system, or just keep it as a port (which is what
> i plan to do by default).
> 
> In a nutshell, the kmodpatch utility can print or alter the content
> of device/quirk tables in kernel modules (I think Linux has some
> similar tool, though i don't remember the name -- or perhaps it is
> a feature of insmod ?).
> 

Can't make it on CURRENT (31.12.2008) amd64 

dvg-nb# make
cc -O2 -pipe  -O1 -Wall -Werror -Wunused -g -I/usr/local/include
-L/usr/local/lib -lkvm  kmodpatch.c  -o kmodpatch
cc1: warnings being treated as errors
kmodpatch.c: In function 'dump':
kmodpatch.c:234: warning: format '%d' expects type 'int', but argument 3 has
type 'size_t'
kmodpatch.c:291: warning: format '%016llx' expects type 'long long unsigned
int', but argument 3 has type 'uint64_t'
kmodpatch.c: In function 'do_rw':
kmodpatch.c:535: warning: format '%d' expects type 'int', but argument 5 has
type 'size_t'
*** Error code 1

Stop in /home/dvg/downloads/kmodpatch.

WBR,
Vyacheslav Druzhinin
-- 
View this message in context: http://www.nabble.com/RFC%3A-new-utility%2C-kmodpatch-tp21243504p21267890.html
Sent from the freebsd-current mailing list archive at Nabble.com.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?21267890.post>