[DRBD-user] 2.6.18 fedora and devfs error

Lars Ellenberg Lars.Ellenberg at linbit.com
Thu Jan 4 16:31:55 CET 2007

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


/ 2007-01-04 11:14:38 +0100
\ Achim Stumpf:
> Hi List,
> 
> I am trying to compile the original 2.6.18 fedora kernel with drdb 0.7.22 from 
> http://oss.linbit.com/drbd/0.7/drbd-0.7.22.tar.gz
> 
> I have created a patch like that:
> make KDIR=/usr/src/linux-2.6.18-1.2239.fc5/ KVER=2.6.18-1.2239.fc5 kernel-patch
> 
> If I am not specifying the kernel version I get an error like that:
> 
> make KDIR=/usr/src/linux-2.6.18-1.2239.fc5/  kernel-patch
> Makefile:164: *** "could not determine uts_release".  Stop.

quite possibly the "kernel-patch" make target is slightly broken.
we don't use it.

> drivers/block/drbd/drbd_main.c:53:35: error: linux/devfs_fs_kernel.h: No such file or directory
> drivers/block/drbd/drbd_main.c:1803: error: implicit declaration of function 'devfs_remove'

> In the changelog I read of drbd 0.7.22:
> * Gracefull removal of devfs and other updates.
> 
> I thought it is removed and would compile now with newer kernels.
> I have found a thread where they wrote that this will be solved in 0.7.22, but maybe not.

have a look into drbd_config.h

-- 
: Lars Ellenberg                            Tel +43-1-8178292-0  :
: LINBIT Information Technologies GmbH      Fax +43-1-8178292-82 :
: Vivenotgasse 48, A-1120 Vienna/Europe    http://www.linbit.com :
__
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list