Date: Fri, 27 Jun 2008 00:37:40 -0700 From: Jeremy Chadwick <koitsu@FreeBSD.org> To: karim sk <karimulla@krify.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Modifying the loaded kernel image Message-ID: <20080627073740.GA29727@eos.sc1.parodius.com> In-Reply-To: <20080626230421.BD605429@resin17.mta.everyone.net> References: <20080626230421.BD605429@resin17.mta.everyone.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 26, 2008 at 11:04:21PM -0700, karim sk wrote: > <DIV style=3D"font-family:Arial, sans-serif; font-size:10pt;"><FONT size= =3D"2"><SPAN style=3D"font-family: Arial,sans-serif;">Hi,<BR><BR>I need to = modify one of the kernel hardware module ( which is part of kernel image) a= nd i have to load that module instead of the old one.<BR>So what i am doing= now is <BR>During boot up step into loader prompt and i am typing the foll= owing commands.<BR>load kernel (Load the kernel )<BR>load module ( To load = my customized module)<BR>boot ( To start the normal boot).<BR><BR>Now i am = facing some problem here. Loading of my module is successful but my module = registration is not getting successful. i.e. OS is reporting that module_re= gister got failed as there exists already a module with that name. Now the = problem is i cant do unload of the old component as it is not a module.&nbs= p; Can any body tell me how to remove the component from the kernel image w= ith out recompiling the kernel.<BR><BR><BR>Thanks in advance.<BR>Karim.<BR>= <BR></SPAN></FONT><BR> <BR><HR>I use Krify Mail - http://mail.krify.co= m Get yourmail at Krify today!</DIV> Short answer: you can't. Also, HTML Email is incredibly annoying. And you know what's even *more* annoying? HTML Email that is sent with a text/plain MIME type, indicating it's not HTML. Fix your mail client, it's very rude. --=20 | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080627073740.GA29727>