[DRBD-user] Compile problems on redhat 9 with drbd .7.2 - complete issue.

Dan Didier dan at mapolce.com
Tue Aug 24 03:35:18 CEST 2004


Hello,

First let me appologize for my previous message - I had web client
issues.


I am having problems compiling on redhat9.  I will list my error first
in case something pops out at you, and then I will list my process /
system info.
 
I did the following:
[root at rome1 linux-2.4]#cp /boot/vmlinux-2.4.20-31.9smp
/usr/src/linux-2.4/.config
[root at rome1 linux-2.4]#make -s kernel-2.4.20-i386-smp.config ; make -s
kernel-2.4.20-i386-smp.config
[root at rome1 linux-2.4]# make dep
.config:1: warning: NUL character seen; rest of line ignored
.config:1: *** missing separator.  Stop.

Detailed explination of what I have done thus far:
 
what I have done thus far:
verified my kernel version and source:
[root at rome1 src]# rpm -qa|grep kernel
kernel-smp-2.4.20-8
kernel-smp-2.4.20-31.9
kernel-2.4.20-8
kernel-pcmcia-cs-3.1.31-13
kernel-2.4.20-31.9
kernel-source-2.4.20-31.9
 
I am booting from kernel-smp-2.3.20.31.9 and you can see I have the
source for that version.
 
following instructions from the INSTALL file:
[root at rome1 drbd]# cd /usr/src/linux-2.4

Instructions say to do something similar to the following:

	redhat# cp /boot/kernel-2.4.some-thing.config  .config
      	# make -s oldconfig_nonint ; make -s oldconfig_nonint

I couldn't find /boot/kernel-2.4.something... So when I do an ls I have
the following:

[root at rome1 linux-2.4]# ls /boot/
boot.b                       kernel.h
System.map-2.4.20-8
chain.b                      lost+found
System.map-2.4.20-8smp
config-2.4.20-31.9           message
vmlinux-2.4.20-31.9
config-2.4.20-31.9smp        message.ja
vmlinux-2.4.20-31.9smp
config-2.4.20-8              module-info
vmlinux-2.4.20-8
config-2.4.20-8smp           module-info-2.4.20-31.9
vmlinux-2.4.20-8smp
grub                         module-info-2.4.20-31.9smp  vmlinuz
initrd-2.4.20-31.9.img       module-info-2.4.20-8
vmlinuz-2.4.20-31.9
initrd-2.4.20-31.9smp.img    module-info-2.4.20-8smp
vmlinuz-2.4.20-31.9smp
initrd-2.4.20-8.img          os2_d.b
vmlinuz-2.4.20-8
initrd-2.4.20-8.img.orig     System.map
vmlinuz-2.4.20-8smp
initrd-2.4.20-8smp.img       System.map-2.4.20-31.9
initrd-2.4.20-8smp.img.orig  System.map-2.4.20-31.9smp

Now, I wasn't sure which one was the right on.  I thought maybe
vmlinux-2.4.20-31.9smp because it was larger.  But what is the
difference between vmlinuz and vmlinux?

I did the following:
[root at rome1 linux-2.4]#cp /boot/vmlinux-2.4.20-31.9smp
/usr/src/linux-2.4/.config
[root at rome1 linux-2.4]#make -s kernel-2.4.20-i386-smp.config ; make -s
kernel-2.4.20-i386-smp.config
[root at rome1 linux-2.4]# make dep
.config:1: warning: NUL character seen; rest of line ignored
.config:1: *** missing separator.  Stop.

You can see the error I get.  I am assuming it is having to do with my
copy of the kernel to the .config but I'm not sure.  Any help is
appreciated.

Thanks
Dan





More information about the drbd-user mailing list