Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DRBD: Users

Problems updating to 8.3.6 - could not load drbd module

 

 

DRBD users RSS feed   Index | Next | Previous | View Threaded


tappel at eso

Nov 26, 2009, 4:02 AM

Post #1 of 4 (1015 views)
Permalink
Problems updating to 8.3.6 - could not load drbd module

Hi,

I'm running Scientific Linux (RHEL) and just updated our kernel. Since I
had to build a new kernel module I thought why not upgrade from 8.3.4 to
8.3.6.

So I configured drbd with this command:

./configure --prefix=/usr --sysconfdir=/etc --with-km

Then obviously did make and make install - no problems.

Then I did cd drbd and ran make clean all which left me with the drbd.ko
and it seems fine.

But when I try to start DRBD it says:

Starting DRBD resources: Can not load the drbd module.

When I try to locate drbd.ko it looks like it's in the correct place:

/lib/modules/2.6.18-164.6.1.el5PAE/kernel/drivers/block/drbd.ko
/lib/modules/2.6.18-92.1.22.el5PAE/kernel/drivers/block/drbd.ko

As you can see, the one from before and the one for the new (currently
running) kernel.

What else could be the problem now? I did the compile and make as root.

Bye,
Tobias
_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user


nine at detonation

Nov 26, 2009, 4:15 AM

Post #2 of 4 (984 views)
Permalink
Re: Problems updating to 8.3.6 - could not load drbd module [In reply to]

On Thursday 26 November 2009 13:02:49 Tobias Appel wrote:

> What else could be the problem now? I did the compile and make as root.

Well you could try loading the module manually and/or have a look at dmesg to
see what the kernel has to say about the module loading.

Regards,
Stefan
Attachments: signature.asc (0.19 KB)


tappel at eso

Nov 26, 2009, 4:25 AM

Post #3 of 4 (977 views)
Permalink
Re: Problems updating to 8.3.6 - could not load drbd module [In reply to]

On 11/26/2009 01:15 PM, Stefan Seifert wrote:
> On Thursday 26 November 2009 13:02:49 Tobias Appel wrote:
>
>> What else could be the problem now? I did the compile and make as root.
>
> Well you could try loading the module manually and/or have a look at dmesg to
> see what the kernel has to say about the module loading.
>
> Regards,
> Stefan

Thanks for the hint. Now I found out what I had to do:

insmod /lib/modules/`uname -r`/kernel/drivers/block/drbd.ko
rmmod drbd.ko
depmod -ae

Now it works. I'm off to update the 2nd node now :)

Bye,
Tobi

_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user


florian.haas at linbit

Nov 26, 2009, 4:37 AM

Post #4 of 4 (981 views)
Permalink
Re: Problems updating to 8.3.6 - could not load drbd module [In reply to]

On 11/26/2009 01:25 PM, Tobias Appel wrote:
> Thanks for the hint. Now I found out what I had to do:
>
> insmod /lib/modules/`uname -r`/kernel/drivers/block/drbd.ko

No.

> rmmod drbd.ko

No.

> depmod -ae

Yes. That's the only thing you really needed. This is due to a botched
default in a Makefile, which was fixed in git about a week ago.

> Now it works. I'm off to update the 2nd node now :)

When you do, you probably want to rebuild with --localstatedir=/var. You
could have just built RPMs where that's taken of for you, but you seem
not to like that. :)

Cheers,
Florian
Attachments: signature.asc (0.25 KB)

DRBD users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.