Re: Newbie: ENBD on kernel 2.6?

"Peter T. Breuer" <[email protected]>
Newsgroups gmane.linux.enbd.general
Message-ID <[email protected]>
Hi.

"Also sprach Roland Paterson-Jones:"
> I'm trying to build ENBD 2.4.31 on Fedora Core 3 with kernel 2.6.9. It 
> barfs pretty early looking for file 'Rules.make' in the kernel source. 
> Is this normal?

Well, if you don't have a Rules.make, I guess it is. How exactly are you
trying to build it? I see that enbd 2.4.31 does have some patches aimed
at 2.6 kernels, but the latest patch is for 2.6.7, not 2.6.9 (as
mutilated by RH or not).

  nbd/nbd-2.4.31% ll kernel/patches/
  total 2945
  -rw-r--r--  1 ptb 267922 Aug 16  2004 enbd-2.4.17.pat
  -rw-r--r--  1 ptb 268630 Aug 16  2004 enbd-2.4.19.pat
  -rw-r--r--  1 ptb 268656 Aug 16  2004 enbd-2.4.20.pat
  -rw-r--r--  1 ptb 272079 Aug 16  2004 enbd-2.4.22.pat
  -rw-r--r--  1 ptb 317792 Aug 17  2003 enbd-2.4.8.pat
  -rw-r--r--  1 ptb 159054 Aug 17  2003 enbd-2.5.12.pat
  -rw-r--r--  1 ptb   2498 Oct 26  2002 enbd-2.5.31.pat
  -rw-r--r--  1 ptb 196478 Aug 17  2003 enbd-2.5.64.pat
  -rw-r--r--  1 ptb 159042 Aug 17  2003 enbd-2.5.7.pat
  -rw-------  1 ptb 202298 Aug 17  2003 enbd-2.5.70.pat
  -rw-r--r--  1 ptb 199617 Jan 15  2004 enbd-2.6.0-test2.pat
  -rw-r--r--  1 ptb 199993 Aug 16  2004 enbd-2.6.1.pat
  -rw-r--r--  1 ptb 239033 Aug 16  2004 enbd-2.6.3.pat
  -rw-r--r--  1 ptb 239861 Aug 16  2004 enbd-2.6.7.pat
  nbd/nbd-2.4.31% 

I doubt that the 2.6.7 patch wuld apply.

Anyway I see that the 2.4.32 Makefile has an instruction:

   test "$(KERNELMAJOR)" = 2.6 && { echo please apply kernel patch instead; exit 0; }; 

so you would have had to apply a patch and noot build standalon.  I'd be
interested to know if one succeeded.

> I guess I'll try 2.4.32pre - are these stable enough for production use?

2.4.32 is fine.


Peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.