Skip to contentSkip to conversation

lvm 1.0 and kernel 2.2.19.Is rawio patch necessary ??

linux-lvm christian e 3 participants 6 messages Oct 4, 2001

lore
Share & tools
lore
#0 lore raw

Hi,all

I downloaded lvm 1.0 and kernel 2.2.19.Couldn't find a rawio for 2.2.19 so I thought it wasn't necessary.Is it ? The rawio patch for 2.2.19 is not here:

ftp://ftp.kernel.org/pub/linux/kernel/people/sct/raw-io/ or in the PATHCES dir..

I did a ./configure and then a make in the patches dir.Applied that patch without problems.After compiling the kernel and booting up again I did a make install in the lvm src dir and it worked fine..I can make volumes and everything,but it troubles me if I missed something here..What won't work if the rawio patch is not applied (if it even has to)

Hope someone can help me out here.

best regards

Christian

#1 lore raw

Hi, Christian:

Quoted 10 lines · christian e

Hi,all

I downloaded lvm 1.0 and kernel 2.2.19.Couldn't find a rawio for 2.2.19 so I thought it wasn't necessary.Is it ? The rawio patch for 2.2.19 is not here:

ftp://ftp.kernel.org/pub/linux/kernel/people/sct/raw-io/ or in the PATHCES dir..

Well, I'm in same position than you, but having problems. I also asked about the necesity of raw-io patches (specifically for 2.2.19) but till the moment no answer.

Quoted 2 lines

I did a ./configure and then a make in the patches dir.Applied that patch without problems.After compiling the kernel and booting up again I

Well, I patched kernel with raw-io for 2.2.18, and then with the lvm patch provided by ./configure then make at PATCHES, but my kernel didn't compile (well, the kernel did, but the make modules failed).

So, from your experience I'm going to try to compile *without* the raw-io patch and see what happens. Anyway, since I know that at least your compilation was ended with success, would you be kind enough to e-mail me your configuration file (/usr/src/linux/.config) to look for differencies?

And, if you know about the reason or necesity (or lack of) the raw-io patch stuff, please post it to the list, so others like will know. TIA

Signature · 5 lines
SALUD,
Jes�s
***
[email protected]
***
#2 lore raw
Quoted 3 lines · Jesus Manuel NAVARRO LOPEZ

Well, I'm in same position than you, but having problems. I also asked about the necesity of raw-io patches (specifically for 2.2.19) but till the moment no answer.

This concerns me if it's so important to patch with someone ought to know..
I'm not keen on rolling this setup into production if I don't know the consequences of not having a rawio patch applied (if any).

Quoted 3 lines

Well, I patched kernel with raw-io for 2.2.18, and then with the lvm patch provided by ./configure then make at PATCHES, but my kernel didn't compile (well, the kernel did, but the make modules failed).

I think I'll try the 2.2.18 patch as well..Will let you all know if it turned out ok or not..

Quoted 6 lines

So, from your experience I'm going to try to compile *without* the raw-io patch and see what happens. Anyway, since I know that at least your compilation was ended with success, would you be kind enough to e-mail me your configuration file (/usr/src/linux/.config) to look for differencies?

You've got mail :-)

Quoted 5 lines

And, if you know about the reason or necesity (or lack of) the raw-io patch stuff, please post it to the list, so others like will know. TIA

So far I haven't found out..If someone could enlighten us ,please ??

best regards

Christian

#3 lore raw
Quoted 2 lines · christian e

I think I'll try the 2.2.18 patch as well..Will let you all know if it turned out ok or not..

Just tried the following:

removed old kernel source tree,untarred a fresh 2.2.19 source.Did a ./configure in the lvm source dir.Then a make in the PATCHES DIR.Then applied the rawio patch for 2.2.18 and then the lvm-1.0 patch for my kernel 2.2.19.Patched clean without problems.

Then compiled the kernel again.Then the modules..mind you I compiled lvm into the kernel not as module..No problems.

Bootup withput problems (only forgetting to patch with aacraid driver but htat's another story :-)

compiled lvm and installed..Works ok..

best regards

Christian

#4 lore raw

Hi again christian:

Quoted 13 lines · christian e
Quoted 2 lines · christian e

I think I'll try the 2.2.18 patch as well..Will let you all know if it turned out ok or not..

Just tried the following:

removed old kernel source tree,untarred a fresh 2.2.19 source.Did a ./configure in the lvm source dir.Then a make in the PATCHES DIR.Then applied the rawio patch for 2.2.18 and then the lvm-1.0 patch for my kernel 2.2.19.Patched clean without problems.

Quoted 8 lines

Then compiled the kernel again.Then the modules..mind you I compiled lvm into the kernel not as module..No problems.

Bootup withput problems (only forgetting to patch with aacraid driver but htat's another story :-)

compiled lvm and installed..Works ok..

I had a fast day with some other snmp stuff so I didn't have time for the LVM stuff. Only concern i I won't use root as LVM and it is stayed that LVM should be compiled as a module preferably (I think coz the developers don't considered that code so stable). Anyway, it seems that we're near of a goal (at least, what's the problem with the de struct member is allocated and pointed out to some 2.3.x kernel addition, so I
think it can be repaired for rc5 next week). Let's see...
In any case, thanks for your aid folks.

Signature · 5 lines
SALUD,
Jes�s
***
[email protected]
***
#5 lore raw
In reply to Jesus Manuel NAVARRO LOPEZ
Quoted 18 lines · Jesus Manuel NAVARRO LOPEZ

Hi, Christian:

Quoted 10 lines · christian e

Hi,all

I downloaded lvm 1.0 and kernel 2.2.19.Couldn't find a rawio for 2.2.19 so I thought it wasn't necessary.Is it ? The rawio patch for 2.2.19 is not here:

ftp://ftp.kernel.org/pub/linux/kernel/people/sct/raw-io/ or in the PATHCES dir..

Well, I'm in same position than you, but having problems. I also asked about the necesity of raw-io patches (specifically for 2.2.19) but till the moment no answer.

Quoted 6 lines
Quoted 2 lines

I did a ./configure and then a make in the patches dir.Applied that patch without problems.After compiling the kernel and booting up again I

Well, I patched kernel with raw-io for 2.2.18, and then with the lvm patch provided by ./configure then make at PATCHES, but my kernel didn't compile (well, the kernel did, but the make modules failed).

The rawio patch is needed for snapshots.

- Joe