* compile (newbie)
@ 2011-02-05 4:12 Roberto Spadim
2011-02-05 6:02 ` NeilBrown
0 siblings, 1 reply; 7+ messages in thread
From: Roberto Spadim @ 2011-02-05 4:12 UTC (permalink / raw)
To: Linux-RAID
hi, how could i compile raid1.c?
i have kernel headers, kernel source, kernel binary
all my md (raid1,raid5,raid0,all md options on make menuconfig) are modules
could i just goto md directory and
gcc raid1.c
?
--
Roberto Spadim
Spadim Technology / SPAEmpresarial
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: compile (newbie)
2011-02-05 4:12 compile (newbie) Roberto Spadim
@ 2011-02-05 6:02 ` NeilBrown
2011-02-05 14:33 ` Roberto Spadim
0 siblings, 1 reply; 7+ messages in thread
From: NeilBrown @ 2011-02-05 6:02 UTC (permalink / raw)
To: Roberto Spadim; +Cc: Linux-RAID
On Sat, 5 Feb 2011 02:12:37 -0200 Roberto Spadim <roberto@spadim.com.br>
wrote:
> hi, how could i compile raid1.c?
>
> i have kernel headers, kernel source, kernel binary
> all my md (raid1,raid5,raid0,all md options on make menuconfig) are modules
>
> could i just goto md directory and
> gcc raid1.c
> ?
>
From the top level in the kernel tree run
make drivers/md/raid1.o
or
make drivers/md/raid1.ko
to get a kernel module that you can load (if you are running a compatible
kernel).
NeilBrown
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: compile (newbie)
2011-02-05 6:02 ` NeilBrown
@ 2011-02-05 14:33 ` Roberto Spadim
2011-02-05 14:50 ` Roberto Spadim
0 siblings, 1 reply; 7+ messages in thread
From: Roberto Spadim @ 2011-02-05 14:33 UTC (permalink / raw)
To: NeilBrown; +Cc: Linux-RAID
nice thanks neil
2011/2/5 NeilBrown <neilb@suse.de>:
> On Sat, 5 Feb 2011 02:12:37 -0200 Roberto Spadim <roberto@spadim.com.br>
> wrote:
>
>> hi, how could i compile raid1.c?
>>
>> i have kernel headers, kernel source, kernel binary
>> all my md (raid1,raid5,raid0,all md options on make menuconfig) are modules
>>
>> could i just goto md directory and
>> gcc raid1.c
>> ?
>>
>
> From the top level in the kernel tree run
>
> make drivers/md/raid1.o
>
> or
> make drivers/md/raid1.ko
>
> to get a kernel module that you can load (if you are running a compatible
> kernel).
>
> NeilBrown
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
Roberto Spadim
Spadim Technology / SPAEmpresarial
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: compile (newbie)
2011-02-05 14:33 ` Roberto Spadim
@ 2011-02-05 14:50 ` Roberto Spadim
2011-02-05 15:40 ` Mathias Burén
0 siblings, 1 reply; 7+ messages in thread
From: Roberto Spadim @ 2011-02-05 14:50 UTC (permalink / raw)
To: NeilBrown; +Cc: Linux-RAID
what diference between raid1.ko, and raid1.o ?
sorry i'm new to kernel modules
2011/2/5 Roberto Spadim <roberto@spadim.com.br>:
> nice thanks neil
>
> 2011/2/5 NeilBrown <neilb@suse.de>:
>> On Sat, 5 Feb 2011 02:12:37 -0200 Roberto Spadim <roberto@spadim.com.br>
>> wrote:
>>
>>> hi, how could i compile raid1.c?
>>>
>>> i have kernel headers, kernel source, kernel binary
>>> all my md (raid1,raid5,raid0,all md options on make menuconfig) are modules
>>>
>>> could i just goto md directory and
>>> gcc raid1.c
>>> ?
>>>
>>
>> From the top level in the kernel tree run
>>
>> make drivers/md/raid1.o
>>
>> or
>> make drivers/md/raid1.ko
>>
>> to get a kernel module that you can load (if you are running a compatible
>> kernel).
>>
>> NeilBrown
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>
>
>
> --
> Roberto Spadim
> Spadim Technology / SPAEmpresarial
>
--
Roberto Spadim
Spadim Technology / SPAEmpresarial
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: compile (newbie)
2011-02-05 14:50 ` Roberto Spadim
@ 2011-02-05 15:40 ` Mathias Burén
2011-02-05 15:43 ` Roberto Spadim
0 siblings, 1 reply; 7+ messages in thread
From: Mathias Burén @ 2011-02-05 15:40 UTC (permalink / raw)
To: Roberto Spadim; +Cc: NeilBrown, Linux-RAID
On 5 February 2011 14:50, Roberto Spadim <roberto@spadim.com.br> wrote:
> what diference between raid1.ko, and raid1.o ?
> sorry i'm new to kernel modules
>
> 2011/2/5 Roberto Spadim <roberto@spadim.com.br>:
>> nice thanks neil
>>
>> 2011/2/5 NeilBrown <neilb@suse.de>:
>>> On Sat, 5 Feb 2011 02:12:37 -0200 Roberto Spadim <roberto@spadim.com.br>
>>> wrote:
>>>
>>>> hi, how could i compile raid1.c?
>>>>
>>>> i have kernel headers, kernel source, kernel binary
>>>> all my md (raid1,raid5,raid0,all md options on make menuconfig) are modules
>>>>
>>>> could i just goto md directory and
>>>> gcc raid1.c
>>>> ?
>>>>
>>>
>>> From the top level in the kernel tree run
>>>
>>> make drivers/md/raid1.o
>>>
>>> or
>>> make drivers/md/raid1.ko
>>>
>>> to get a kernel module that you can load (if you are running a compatible
>>> kernel).
>>>
>>> NeilBrown
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>>
>>
>>
>>
>> --
>> Roberto Spadim
>> Spadim Technology / SPAEmpresarial
>>
>
>
>
> --
> Roberto Spadim
> Spadim Technology / SPAEmpresarial
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
http://tinyurl.com/5tyg7b3 .
// Mathias
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: compile (newbie)
2011-02-05 15:40 ` Mathias Burén
@ 2011-02-05 15:43 ` Roberto Spadim
2011-02-05 16:19 ` Roberto Spadim
0 siblings, 1 reply; 7+ messages in thread
From: Roberto Spadim @ 2011-02-05 15:43 UTC (permalink / raw)
To: Mathias Burén; +Cc: NeilBrown, Linux-RAID
ehehehehehe thanks!
2011/2/5 Mathias Burén <mathias.buren@gmail.com>:
> On 5 February 2011 14:50, Roberto Spadim <roberto@spadim.com.br> wrote:
>> what diference between raid1.ko, and raid1.o ?
>> sorry i'm new to kernel modules
>>
>> 2011/2/5 Roberto Spadim <roberto@spadim.com.br>:
>>> nice thanks neil
>>>
>>> 2011/2/5 NeilBrown <neilb@suse.de>:
>>>> On Sat, 5 Feb 2011 02:12:37 -0200 Roberto Spadim <roberto@spadim.com.br>
>>>> wrote:
>>>>
>>>>> hi, how could i compile raid1.c?
>>>>>
>>>>> i have kernel headers, kernel source, kernel binary
>>>>> all my md (raid1,raid5,raid0,all md options on make menuconfig) are modules
>>>>>
>>>>> could i just goto md directory and
>>>>> gcc raid1.c
>>>>> ?
>>>>>
>>>>
>>>> From the top level in the kernel tree run
>>>>
>>>> make drivers/md/raid1.o
>>>>
>>>> or
>>>> make drivers/md/raid1.ko
>>>>
>>>> to get a kernel module that you can load (if you are running a compatible
>>>> kernel).
>>>>
>>>> NeilBrown
>>>> --
>>>> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
>>>> the body of a message to majordomo@vger.kernel.org
>>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>>>
>>>
>>>
>>>
>>> --
>>> Roberto Spadim
>>> Spadim Technology / SPAEmpresarial
>>>
>>
>>
>>
>> --
>> Roberto Spadim
>> Spadim Technology / SPAEmpresarial
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>
> http://tinyurl.com/5tyg7b3 .
>
> // Mathias
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
Roberto Spadim
Spadim Technology / SPAEmpresarial
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: compile (newbie)
2011-02-05 15:43 ` Roberto Spadim
@ 2011-02-05 16:19 ` Roberto Spadim
0 siblings, 0 replies; 7+ messages in thread
From: Roberto Spadim @ 2011-02-05 16:19 UTC (permalink / raw)
To: Mathias Burén; +Cc: NeilBrown, Linux-RAID
another question, i just founded sysfs todo, for proc fs have a lot of examples
any example for (how to code) sysfs?
thanks
2011/2/5 Roberto Spadim <roberto@spadim.com.br>:
> ehehehehehe thanks!
>
> 2011/2/5 Mathias Burén <mathias.buren@gmail.com>:
>> On 5 February 2011 14:50, Roberto Spadim <roberto@spadim.com.br> wrote:
>>> what diference between raid1.ko, and raid1.o ?
>>> sorry i'm new to kernel modules
>>>
>>> 2011/2/5 Roberto Spadim <roberto@spadim.com.br>:
>>>> nice thanks neil
>>>>
>>>> 2011/2/5 NeilBrown <neilb@suse.de>:
>>>>> On Sat, 5 Feb 2011 02:12:37 -0200 Roberto Spadim <roberto@spadim.com.br>
>>>>> wrote:
>>>>>
>>>>>> hi, how could i compile raid1.c?
>>>>>>
>>>>>> i have kernel headers, kernel source, kernel binary
>>>>>> all my md (raid1,raid5,raid0,all md options on make menuconfig) are modules
>>>>>>
>>>>>> could i just goto md directory and
>>>>>> gcc raid1.c
>>>>>> ?
>>>>>>
>>>>>
>>>>> From the top level in the kernel tree run
>>>>>
>>>>> make drivers/md/raid1.o
>>>>>
>>>>> or
>>>>> make drivers/md/raid1.ko
>>>>>
>>>>> to get a kernel module that you can load (if you are running a compatible
>>>>> kernel).
>>>>>
>>>>> NeilBrown
>>>>> --
>>>>> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
>>>>> the body of a message to majordomo@vger.kernel.org
>>>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Roberto Spadim
>>>> Spadim Technology / SPAEmpresarial
>>>>
>>>
>>>
>>>
>>> --
>>> Roberto Spadim
>>> Spadim Technology / SPAEmpresarial
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>>
>>
>> http://tinyurl.com/5tyg7b3 .
>>
>> // Mathias
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>
>
>
> --
> Roberto Spadim
> Spadim Technology / SPAEmpresarial
>
--
Roberto Spadim
Spadim Technology / SPAEmpresarial
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-02-05 16:19 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-05 4:12 compile (newbie) Roberto Spadim
2011-02-05 6:02 ` NeilBrown
2011-02-05 14:33 ` Roberto Spadim
2011-02-05 14:50 ` Roberto Spadim
2011-02-05 15:40 ` Mathias Burén
2011-02-05 15:43 ` Roberto Spadim
2011-02-05 16:19 ` Roberto Spadim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox