Accessing static variables from kernel modules

2015-03-31 Thread Elazar Leibovich
Hi, I was extending perf counters to sample the stack of a KVM guest from a module[0]. The current KVM profiling architecture, keeps a CPU local variable current_vcpu of the current vcpu running before vm_enter, and removes it after a vm_exit. Then, when an NMI occurs, it could check the current

Re: Where to find modules for pre-compiled debian kernel

2008-09-23 Thread sammy ominsky
On 23/09/2008, at 10:38, Tzafrir Cohen wrote: It's PPP. As in ppp.o or ppp.ko I'm trying to build a VPN server for it. modprobe ppp But as root, in the host. All openvz guests share the same kernel. Sorry, no ppp in openvz yet. http://forum.openvz.org/index.php?t=msg&goto=31072&&srch=ppp

Re: Where to find modules for pre-compiled debian kernel

2008-09-23 Thread Yedidyah Bar-David
odprobe a module from a openvz guest? > > There are no modules to try it with. /lib/modules is empty. I do not think it was clearly mentioned previously - is it an openvz VM? If so, AFAIK, it's not a VM at all - it does not have its own kernel and its own modules. It's more like a chroot

Re: Where to find modules for pre-compiled debian kernel

2008-09-23 Thread Tzafrir Cohen
On Tue, Sep 23, 2008 at 07:56:13AM +0300, Geoffrey S. Mendelson wrote: > It's PPP. As in ppp.o or ppp.ko I'm trying to build a VPN server for it. modprobe ppp But as root, in the host. All openvz guests share the same kernel. -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafr

Re: Where to find modules for pre-compiled debian kernel

2008-09-23 Thread Geoffrey S. Mendelson
On Mon, Sep 22, 2008 at 09:34:11PM +, Tzafrir Cohen wrote: To add? Or to build? The problem is that it does not exist in the vitrual machine. Can you modprobe a module from a openvz guest? There are no modules to try it with. /lib/modules is empty. Loading a module is the same

Re: Where to find modules for pre-compiled debian kernel

2008-09-22 Thread Tzafrir Cohen
rivatives, YUM. Loading a module is the same everywhere. > > I assume this was a pre-compiled kernel, can I find the modules for it > without having to recompile them? I hope so. Is that a .ko file? -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il |

Where to find modules for pre-compiled debian kernel

2008-09-22 Thread Geoffrey S. Mendelson
root access via sudo. What I lack is Debian knowledge to this point. I'm too spoilt by Red Hat and it's derivatives, YUM. I assume this was a pre-compiled kernel, can I find the modules for it without having to recompile them? Thanks, Geoff. -- Geoffrey S. Mendelson, Jerusalem, Israel

Re: good docs about writing apache 2.2 modules?

2007-07-27 Thread Amos Shapira
On 27/07/07, ik <[EMAIL PROTECTED]> wrote: > > Hi, > > While the following link is not what you would expect, it might give > you a way to start... > http://wiki.lazarus.freepascal.org/FPC_and_Apache_Modules Thanks - but the book it mentions is circa 1999, Apache 2 alpha was release at 2000 with

Re: good docs about writing apache 2.2 modules?

2007-07-26 Thread ik
/reference If you will follow the first link, you will find some more links, including a recommendation to use the apache malling lists. On 7/27/07, Amos Shapira <[EMAIL PROTECTED]> wrote: > Hello, > > I'm looking for good documentation, either online or offline, for writing >

good docs about writing apache 2.2 modules?

2007-07-26 Thread Amos Shapira
Hello, I'm looking for good documentation, either online or offline, for writing modules for Apache 2.2. Apache's own documentation says that it's somewhere in the middle of the process to update the docs from 1.3 to 2.0, and I'm not sure what to make of it. A first attempt

Re: Learning kernel modules development

2007-02-14 Thread Tzahi Fadida
10x for the tip. Mostly solved it by attaching the consoles to pty. On Wednesday 14 February 2007 23:20, Yedidyah Bar-David wrote: > On Wed, Feb 14, 2007 at 10:10:52PM +0200, Tzahi Fadida wrote: > > The problem with NFS Root is that i don't have a second machine :(. > > Anycase, it took a while an

Re: Learning kernel modules development

2007-02-14 Thread Yedidyah Bar-David
On Wed, Feb 14, 2007 at 10:10:52PM +0200, Tzahi Fadida wrote: > The problem with NFS Root is that i don't have a second machine :(. > Anycase, it took a while and i got a uml to work on a debootstrap ubuntu edgy > with network support and no super user for the helpers so i won't make a > mistake (

Re: Learning kernel modules development

2007-02-14 Thread Tzahi Fadida
ebruary 2007 20:02, Gilboa Davara wrote: > On Tue, 2007-02-13 at 18:54 +0200, Tzahi Fadida wrote: > > Hi, > > As you might guess from a previous thread, i am trying to learn modules > > development. I use kubuntu as my dist. > > My first goal is to be able to run the h

Re: Learning kernel modules development

2007-02-13 Thread Peter
And you only ned to do it once, Make is smart enough to recompile only changes after that (when you do make modules). Been there done that. Peter = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscrib

Re: Learning kernel modules development

2007-02-13 Thread Peter
On Tue, 13 Feb 2007, Tzahi Fadida wrote: Hi, As you might guess from a previous thread, i am trying to learn modules development. I use kubuntu as my dist. My first goal is to be able to run the hello world module example in the linux device drivers 3rd edition book. Apparently in 2.6 you need

Re: Learning kernel modules development

2007-02-13 Thread Gilboa Davara
On Tue, 2007-02-13 at 18:54 +0200, Tzahi Fadida wrote: > Hi, > As you might guess from a previous thread, i am trying to learn modules > development. I use kubuntu as my dist. > My first goal is to be able to run the hello world module example in the > linux > device driver

Re: Learning kernel modules development

2007-02-13 Thread michael
On Tue, 13 Feb 2007, Tzahi Fadida wrote: Hi, As you might guess from a previous thread, i am trying to learn modules development. I use kubuntu as my dist. My first goal is to be able to run the hello world module example in the linux device drivers 3rd edition book. Apparently in 2.6 you

Re: Learning kernel modules development

2007-02-13 Thread guy keren
Tzahi Fadida wrote: Hi, As you might guess from a previous thread, i am trying to learn modules development. I use kubuntu as my dist. My first goal is to be able to run the hello world module example in the linux device drivers 3rd edition book. Apparently in 2.6 you need to have the whole

Learning kernel modules development

2007-02-13 Thread Tzahi Fadida
Hi, As you might guess from a previous thread, i am trying to learn modules development. I use kubuntu as my dist. My first goal is to be able to run the hello world module example in the linux device drivers 3rd edition book. Apparently in 2.6 you need to have the whole kernel compiled just to

Re: [Haifux] [HAIFUX LECTURE] guy keren on "Kernel, Modules, Drivers" part II

2004-01-31 Thread Muli Ben-Yehuda
On Sat, Jan 31, 2004 at 12:36:55PM +0200, Orna Agmon wrote: > Future lectures include: Proving once again that nepotism is the further thing from Haifux's mind, the next lecture is actually mine. 09/02/2004, "Introduction to Linux Device Drivers". Abstract and slides are available at http://www.h

[HAIFUX LECTURE] guy keren on "Kernel, Modules, Drivers" part II

2004-01-31 Thread Orna Agmon
Next Monday (2/2/2004), 18:30, the Haifa Linux Club will once again meet to hear guy keren talk about: Kernel, Modules, Drivers (part II, including compilation of the kernel) The slides are not yet available on-line, as guy has been prepering quite a lot

Re: Kernel Modules Legal Status (was: Re: [REOPENED TOPIC] Re: [OT???]...

2003-11-17 Thread Oron Peled
On Monday 17 November 2003 15:29, Micha Feigin wrote: > The problem is with older hardware I pick up from people that no longer > use it (which is most of my hardware). This is right to the point. Having hardware with binary drivers is like having an expiration date built into the hardware ("Pag T

Re: Kernel Modules Legal Status (was: Re: [REOPENED TOPIC] Re: [OT???]...

2003-11-17 Thread Micha Feigin
On Mon, Nov 17, 2003 at 09:02:05AM +0200, Oron Peled wrote: > On Monday 17 November 2003 05:54, Micha Feigin wrote: > > > On Sun, Nov 16, 2003 at 09:11:08PM +0200, Oron Peled wrote: > > > If you are warried about hardware support for Linux -- than try to accept > > > only OSS drivers and wait for

Re: Kernel Modules Legal Status (was: Re: [REOPENED TOPIC] Re: [OT???]...

2003-11-17 Thread Micha Feigin
On Mon, Nov 17, 2003 at 10:01:37AM +0200, Idan Sofer wrote: > On Monday 17 November 2003 05:54, you wrote: > > solutions, but I also want my hardware to work, and to have some > > professional quality software that there is no chance will ever hit the > > opensource. Although drifting off again, pe

Re: Kernel Modules Legal Status (was: Re: [REOPENED TOPIC] Re: [OT???]...

2003-11-17 Thread Idan Sofer
On Monday 17 November 2003 05:54, you wrote: > solutions, but I also want my hardware to work, and to have some > proffessional quallity software that there is no chance will ever hit the > opensource. Although drifting off again, peer pressure wont solve all the > opensource problems. Lets see pee

Re: Kernel Modules Legal Status (was: Re: [REOPENED TOPIC] Re: [OT???]...

2003-11-17 Thread Oron Peled
On Monday 17 November 2003 05:54, Micha Feigin wrote: > On Sun, Nov 16, 2003 at 09:11:08PM +0200, Oron Peled wrote: > > If you are warried about hardware support for Linux -- than try to accept > > only OSS drivers and wait for critical mass to force the vendors. > but I also want my hardware to

Re: Kernel Modules Legal Status (was: Re: [REOPENED TOPIC] Re: [OT???]...

2003-11-16 Thread Micha Feigin
On Sun, Nov 16, 2003 at 09:11:08PM +0200, Oron Peled wrote: > On Sunday 16 November 2003 19:46, Micha Feigin wrote: > > Allowing binary only modules has its advantages ... > > ... This approach opens up the chance for more hardware support for > > linux... > > This is

Re: Kernel Modules Legal Status (was: Re: [REOPENED TOPIC] Re: [OT???]...

2003-11-16 Thread Oron Peled
On Sunday 16 November 2003 19:46, Micha Feigin wrote: > Allowing binary only modules has its advantages ... > ... This approach opens up the chance for more hardware support for > linux... This is very shortsighted point of view. If most of the Linux developers would think so, we could

Re: Kernel Modules Legal Status (was: Re: [REOPENED TOPIC] Re: [OT???]...

2003-11-16 Thread Shachar Shemesh
Micha Feigin wrote: On Sunday 16 November 2003 16:38, Omer Zak wrote: I don't think the question was stupid. If anyone earned the 'stupid' label in this story it is those managers, who caused the need for the question in the first place. This is because I learned some things from the technical

Re: Kernel Modules Legal Status (was: Re: [REOPENED TOPIC] Re: [OT???]...

2003-11-16 Thread Micha Feigin
On Sunday 16 November 2003 16:38, Omer Zak wrote: > On Sun, 16 Nov 2003, Gilad Ben-Yossef wrote: > > On Sunday 16 November 2003 12:51, Omer Zak wrote: > > [... snipped ...] > > > > 2. If Linus allows use of closed code Kernel modules with Linux and > > > they p

Kernel Modules Legal Status (was: Re: [REOPENED TOPIC] Re: [OT???]...

2003-11-16 Thread Omer Zak
On Sun, 16 Nov 2003, Gilad Ben-Yossef wrote: > On Sunday 16 November 2003 12:51, Omer Zak wrote: [... snipped ...] > > 2. If Linus allows use of closed code Kernel modules with Linux and they > > probably are obfuscation champions of the Linux world, then Ilan > > shou

Re: devfs and modules autoload

2003-09-06 Thread Ilya Konstantinov
On Sat, Sep 06, 2003 at 05:06:24PM +0300, Shachar Shemesh wrote: > However, many of the devices on my system were set to be autoloaded when > needed. I'm using debian's wonderful /etc/modutils/ directory to set up > aliases so that when a device is first accessed, the corresponding > kernel modu

Re: devfs and modules autoload

2003-09-06 Thread Muli Ben-Yehuda
On Sat, Sep 06, 2003 at 05:06:24PM +0300, Shachar Shemesh wrote: > I've decided to make the move and try devfs on for size. The system is a > Debian sid. In case you care, devfs is considered semi-deprecated in 2.6, and the move is to replace is with a user space replacement, udev. Google for gr

devfs and modules autoload

2003-09-06 Thread Shachar Shemesh
Hi list, I've decided to make the move and try devfs on for size. The system is a Debian sid. I've managed to pass most of the obvious hurdles. The system boots, opens the consoles, starts X and the mouse (mice, in my case) work. However, many of the devices on my system were set to be autoloa

Re: changing name of modules directory

2002-05-29 Thread Gilad Ben-Yossef
compiled a kernel for the first time"). > Because I am still clumsy and will mess up a few times. I figure that before I > delete a custom kernel I want one that works better, so that I can see the > results of my mistakes. Well, I do not consider myself a kernel hacker ei

Re: changing name of modules directory

2002-05-29 Thread Arie Folger
On Wednesday 29 May 2002 18:43, Muli Ben-Yehuda wrote: > On Wed, May 29, 2002 at 02:49:41PM -0400, Arie Folger wrote: > > I just compiled a kernel for the first time, and although there are some > Congratulations! Doesn't it just feel good? Well, yes, but I can do better. In the first kernel, a U

Re: changing name of modules directory

2002-05-29 Thread Arie Folger
clumsy and will mess up a few times. I figure that before I delete a custom kernel I want one that works better, so that I can see the results of my mistakes. > For most people, compiling the kernel with all the features they're > interested in turned on (or as modules) is enough and you do

Re: changing name of modules directory

2002-05-29 Thread Muli Ben-Yehuda
gt; planning to compile a few more which I want to test side by side. Problem is > that when custom configuring the kernel, the modules directory becomes > /lib/modules/custom, which is fine for a single custom kernel, > but no good if I want 3 or 4 of them with separate modules dirs

Re: changing name of modules directory

2002-05-29 Thread Nadav Har'El
On Wed, May 29, 2002, Shaul Karl wrote about "Re: changing name of modules directory": > > I just compiled a kernel for the first time, and although there are some > > glitches (probably didn't configure well enough, gotta do it again ;-)), I am > > planning t

Re: changing name of modules directory

2002-05-29 Thread Shaul Karl
iguring the kernel, the modules directory becomes > /lib/modules/custom, which is fine for a single custom kernel, > but no good if I want 3 or 4 of them with separate modules dirs. > > How do I force another naming scheme? > > Also, anybody built the 2.4.19-pre8 from Alan Cox? I

changing name of modules directory

2002-05-29 Thread Arie Folger
Hi, I just compiled a kernel for the first time, and although there are some glitches (probably didn't configure well enough, gotta do it again ;-)), I am planning to compile a few more which I want to test side by side. Problem is that when custom configuring the kernel, the mo

RFIs: Various Perl Modules

2002-05-12 Thread Shlomi Fish
e made, we came to the conclusion that modules that perform the enlisted tasks would greatly help us. If you can supply names and pointers of such implementations, we would really appreciate it. (I realize the important of RTFMing and STFWing. However, I am sending this E-mail to save me some p

Re: Hijacking binary kernel modules symbols (was Re: monitoringmodule memory)

2002-05-05 Thread Gilad Ben-Yossef
On Mon, 2002-05-06 at 00:46, Gilad Ben-Yossef wrote: > Content-Disposition: attachment; filename=hack.tar.bz2 > Content-Type: application/x-bzip; name=hack.tar.bz2 > Content-Transfer-Encoding: base64 Listar is a harsh code critic it seems. Use this online copy instead: http://benyossef.com/hack.

Hijacking binary kernel modules symbols (was Re: monitoring modulememory)

2002-05-05 Thread Gilad Ben-Yossef
--=-q1LfLdM4UO/PglxEILgl Content-Type: text/plain Content-Transfer-Encoding: 7bit On Sun, 2002-05-05 at 22:10, Muli Ben-Yehuda wrote: > > Is there a way to monitor how much memory a kernel module uses? I can > > do it very crudely by watching top while rmmoding/insmoding. Is there > > any tool

"make modules" getting crazy?

2002-02-06 Thread TCL
hi all i've decided to upgrade my kernel from 2.4.5 to 2.4.17 (on a slack 8 box) i've d/l the kernel and upgraded all need utilities i've done everything exactly like the last time i upgraded then, in the end, i've got to "make modules" after a while i've got a

Flyvideo 98 modules config

2000-12-21 Thread Hetz Ben Hamo
Hi, It seems I lost my Lifevideo 98 configuration in the /etc/conf.modules.. I know that many people here have it - could someone post it please? Thanks Hetz = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscr

RE: Modules

2000-12-15 Thread David Hananel
Hello! > do these messages refer to modules that you have compiled, or modules that > were left from a previous kernel installation? it refers to the new kernel's modules I've compiled, 2.2.18 (I've downloaded the kernel 2.2.18 since I emailed the last email which was

Re: Modules

2000-12-14 Thread guy keren
tendency to break their soruces annoyingly. > I recompiled also the > modules, and I had some errors when I recompiled the modules, and now, > everytime I start linux, I get the messages: > > "depmod: *** unresolved simboles in /lib/modules. > depmod: *** unresolved simb

Modules

2000-12-14 Thread David Hananel
Hello I have RedHat 6.2. When I recompiled my kernel from 2.2.14-50 to 2.2.17, I recompiled also the modules, and I had some errors when I recompiled the modules, and now, everytime I start linux, I get the messages: "depmod: *** unresolved simboles in /lib/modules. depmod: *** unres

Re: modules question

2000-05-16 Thread Omer Efraim
Yaniv Kimchi wrote: > I have upgraded my laptop to RH6.2 from 6.1 and suddenly I get many > unresolved symbols when trying to load 6.2 modules any idea ??? Remove the old modules directory from /lib/modules. depmod -a to make sure you're ok. Check if /lib/modules/preferred is symli

modules question

2000-05-14 Thread Yaniv Kimchi
Hello list, I have upgraded my laptop to RH6.2 from 6.1 and suddenly I get many unresolved symbols when trying to load 6.2 modules any idea ??? Thanks, Yaniv Kimchi [EMAIL PROTECTED] = To unsubscribe, send mail to [EMAIL

Re: ppp modules!! and.. dhcp?

1999-11-20 Thread Shaul Karl
> as you suggested to deal with my ppp support problam > i did a make xconfig but in there i didnt found any ppp module or any thing > like that... > > so my quastion is... > > what am i looking for in the xconfig menu? > Something like CONFIG_PPP. When included as a module, your /usr/src/lin

ppp modules!! and.. dhcp?

1999-11-20 Thread rantz
as you suggested to deal with my ppp support problam i did a make xconfig but in there i didnt found any ppp module or any thing like that... so my quastion is... what am i looking for in the xconfig menu? (i've been told i need a dhcp client to connect to mishkei.. so.. im asking mishkei users