Hi, someone can explain me why the official kernel do not include in usbatm.c the OAM support patch? (see below)
I need this support an now I want apply this patch to the FC5 standard kernel.
I have the usbatm.c whit the patch, howto I can rebuild it without rebuild all component of kernel ?
Please, someone can help me to do that? I am not a kernel's Guru :-(
Many thanks
Dario Lesca
------- Messaggio inoltrato -------
Da: Aurelio Arroyo listas_sk3@yahoo.es A: Dario Lesca d.lesca@solinos.it Cc: usbatm@lists.infradead.org usbatm@lists.infradead.org Oggetto: RE: [Linux-ATM-General] Activate OAM support Data: Mon, 8 May 2006 17:49:30 +0200 (CEST)
Yesterday I have install a new server bind to a new Telecom (italy) ADSL (2048Kb down/640Kb Op), the adsl line up but when I generate TCP traffic (ping) I got the "OAM not supported" into /var/log/messages and the traffic not work.
Is the OAM support not present the my problem? The OAM support must enabled in kernel space? How to I can activate the OAM Support?
I think this error are from usbatm module: http://www.kernel.org/git/?p=linux/kernel/git/stable/linux-2.6.16.y.git;a=bl...
This is a old patch to usbatm: http://sourceforge.net/mailarchive/message.php?msg_id=11685926
A version of usbatm.c with OAM (But not full sync with last kernel version, - mutex, kzalloc, etc -): http://cvs.sourceforge.net/viewcvs.py/zyxel630-11/amedyn2/module/usbatm.c?re...
Please, confirm that the change work for you. I don't remember why usbatm don't have this patch.
______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com
On Mon, 2006-05-08 at 19:45 +0200, Dario Lesca wrote:
Hi, someone can explain me why the official kernel do not include in usbatm.c the OAM support patch? (see below)
Fedora tracks the upstream kernel as closely as possible. Therefore, if you want a patch in Fedora, you need to get it merged with the Linux kernel. Either submit the patch yourself (to the Linux Kernel Mailing List), or better yet, get the maintainer of the patch to submit it.
I need this support an now I want apply this patch to the FC5 standard kernel.
I have the usbatm.c whit the patch, howto I can rebuild it without rebuild all component of kernel ?
If the patch is to a kernel _module_, then you can rebuild that module fairly easily. Get the 'kernel-devel' package for your kernel (ie, 'yum install kernel-devel'), and then cd into the directory of the module. Assuming the makefile is set up right (which should have been done for you), you can:
make -C /lib/modules/`uname -r`/build M=`pwd` modules
And your module will build. Then copy the .ko file to /lib/modules/`uname -r`/... over top of the stock version, but make _sure_ to back up the stock version of the module before copying the new one over it.
Dan
Please, someone can help me to do that? I am not a kernel's Guru :-(
Many thanks
Dario Lesca
------- Messaggio inoltrato -------
Da: Aurelio Arroyo listas_sk3@yahoo.es A: Dario Lesca d.lesca@solinos.it Cc: usbatm@lists.infradead.org usbatm@lists.infradead.org Oggetto: RE: [Linux-ATM-General] Activate OAM support Data: Mon, 8 May 2006 17:49:30 +0200 (CEST)
Yesterday I have install a new server bind to a new Telecom (italy) ADSL (2048Kb down/640Kb Op), the adsl line up but when I generate TCP traffic (ping) I got the "OAM not supported" into /var/log/messages and the traffic not work.
Is the OAM support not present the my problem? The OAM support must enabled in kernel space? How to I can activate the OAM Support?
I think this error are from usbatm module: http://www.kernel.org/git/?p=linux/kernel/git/stable/linux-2.6.16.y.git;a=bl...
This is a old patch to usbatm: http://sourceforge.net/mailarchive/message.php?msg_id=11685926
A version of usbatm.c with OAM (But not full sync with last kernel version, - mutex, kzalloc, etc -): http://cvs.sourceforge.net/viewcvs.py/zyxel630-11/amedyn2/module/usbatm.c?re...
Please, confirm that the change work for you. I don't remember why usbatm don't have this patch.
______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com
-- Dario Lesca d.lesca@solinos.it
On Mon, 2006-05-08 at 14:44 -0400, Dan Williams wrote:
And your module will build. Then copy the .ko file to /lib/modules/`uname -r`/... over top of the stock version, but make _sure_ to back up the stock version of the module before copying the new one over it.
Hmm, isn't it actually sufficient to copy the module into /lib/modules/`uname -r`/updates/ for it to override the original one? (Perhaps a depmod is needed too though?)
/Per