Re: Problem kernel module DRBD on CentOS 5.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Alan Sparks wrote:
> David Suhendrik wrote:
>   
>> Akemi Yagi wrote:
>>   
>>     
>>> On Wed, Sep 9, 2009 at 6:22 PM, David Suhendrik<david@xxxxxxxxxxxx> wrote:
>>>
>>>   
>>>     
>>>       
>>>> Akemi,
>>>> $ sudo rpm -qa --qf "%{name}-%{version}-%{release}.%{arch}\n" kernel\* |
>>>> sort
>>>> kernel-2.6.18-128.7.1.el5.i686
>>>> kernel-debug-2.6.18-128.1.16.el5.i686
>>>> kernel-debug-2.6.18-128.2.1.el5.i686
>>>> kernel-debug-2.6.18-128.4.1.el5.i686
>>>> kernel-debug-2.6.18-128.7.1.el5.i686
>>>> kernel-headers-2.6.18-128.7.1.el5.i386
>>>> kernel-PAE-2.6.18-128.1.14.el5.i686
>>>> kernel-PAE-2.6.18-128.1.16.el5.i686
>>>> kernel-PAE-2.6.18-128.2.1.el5.i686
>>>> kernel-PAE-2.6.18-128.4.1.el5.i686
>>>> kernel-PAE-2.6.18-128.7.1.el5.i686
>>>> kernel-PAE-devel-2.6.18-128.1.14.el5.i686
>>>> kernel-PAE-devel-2.6.18-128.1.16.el5.i686
>>>> kernel-PAE-devel-2.6.18-128.2.1.el5.i686
>>>> kernel-PAE-devel-2.6.18-128.4.1.el5.i686
>>>> kernel-PAE-devel-2.6.18-128.7.1.el5.i686
>>>>
>>>> $ sudo rpm -qa --qf "%{name}-%{version}-%{release}.%{arch}\n" | grep drbd
>>>> drbd83-8.3.2-6.el5_3.i386
>>>>
>>>> ls -l `find /lib/modules -name drbd.ko`
>>>> -rwxr--r-- 1 root root 242152 Sep  3 11:22 /lib/modules/2.6.18-128.1.16.el5PAE/kernel/drivers/block/drbd.ko
>>>>
>>>> That's all, next?
>>>>     
>>>>       
>>>>         
>>> You missed 2 commands:
>>>
>>> uname -mri
>>>
>>> /sbin/modinfo drbd
>>>
>>> Akemi
>>> _______________________________________________
>>> CentOS mailing list
>>> CentOS@xxxxxxxxxx
>>> http://lists.centos.org/mailman/listinfo/centos
>>>
>>>   
>>>     
>>>       
>> Ok, i;m sorry =D
>> $ sudo uname -mri
>> Password:
>> 2.6.18-128.7.1.el5PAE i686 i386
>> $ /sbin/modinfo drbd
>> modinfo: could not find module drbd
>>
>> So?
>>
>>
>>   
>>     
>
> Based on this and earlier emails, it appears you've got a lot of
> confusion on where the modules are installed.  Your running kernel is
> 2.6.18-128.7.1.el5PAE, but the module is installed under
> 2.6.18-128.1.16.el5PAE (an older kernel).
>
> First suggestion is remove the kmod-drbd modules you've previously
> installed (perhaps before a kernel update?) and reinstall the
> kmod-drbd83-PAE package.  Try:
>
> yum remove kmod-drbd83-xen kmod-drbd83-PAE kmod-drbd83
> yum install kmod-drbd83-PAE
>
>
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>
>   
All,
Many thanks for many suggestions
Now drbd can load and chould start
This is my result:
$ sudo rpm -qa | grep kernel 
Password:
kernel-PAE-devel-2.6.18-128.1.14.el5
kernel-PAE-devel-2.6.18-128.4.1.el5
kernel-PAE-2.6.18-128.1.16.el5
kernel-PAE-devel-2.6.18-128.2.1.el5
kernel-debug-2.6.18-128.2.1.el5
kernel-headers-2.6.18-128.7.1.el5
kernel-debug-2.6.18-128.1.16.el5
kernel-PAE-2.6.18-128.4.1.el5
kernel-debug-2.6.18-128.7.1.el5
kernel-xen-2.6.18-128.7.1.el5
kernel-PAE-2.6.18-128.1.14.el5
kernel-PAE-devel-2.6.18-128.7.1.el5
kernel-PAE-devel-2.6.18-128.1.16.el5
kernel-PAE-2.6.18-128.2.1.el5
kernel-PAE-2.6.18-128.7.1.el5
kernel-debug-2.6.18-128.4.1.el5
kernel-2.6.18-128.7.1.el5

$ uname -r
2.6.18-128.7.1.el5PAE

$ sudo rpm -qa | grep drbd 
kmod-drbd83-8.3.2-6.el5_3
kmod-drbd83-PAE-8.3.2-6.el5_3
drbd83-8.3.2-6.el5_3
kmod-drbd83-xen-8.3.2-6.el5_3

$ sudo locate drbd.ko
/lib/modules/2.6.18-128.1.14.el5PAE/weak-updates/drbd83/drbd.ko
/lib/modules/2.6.18-128.1.16.el5PAE/kernel/drivers/block/drbd.ko
/lib/modules/2.6.18-128.1.16.el5PAE/weak-updates/drbd83/drbd.ko
/lib/modules/2.6.18-128.2.1.el5PAE/weak-updates/drbd83/drbd.ko
/lib/modules/2.6.18-128.4.1.el5PAE/weak-updates/drbd83/drbd.ko
/lib/modules/2.6.18-128.7.1.el5/extra/drbd83/drbd.ko
/lib/modules/2.6.18-128.7.1.el5PAE/extra/drbd83/drbd.ko
/lib/modules/2.6.18-128.7.1.el5xen/extra/drbd83/drbd.ko

$ cat /proc/drbd
version: 8.3.2 (api:88/proto:86-90)
GIT-hash: dd7b86d4bff5ca8c94234ce840e build by 
mockbuild@xxxxxxxxxxxxxxxxxxxxxx, 2009-08-29 14:02:48

Ok, next step i'll configure both node and hopefully for next support 
after i ask, i'll using search engine before ask..., anyway really 
apreciated for Milist and Alan, Wes, Akemi and all participants....

I love CentOS full =D




-- 
Regards,
David
------------------------------------------------------------------------
./nobody
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux