[linux-lvm] Can't locate modules when running vgscan

Heinz Mauelshagen mauelsha at ez-darmstadt.telekom.de
Fri Mar 31 22:34:10 UTC 2000


Because the LVM library scans for a bunch of devices heading to find disks,
the module loader tries to load the corresponding modules in case the drivers
for these devices dont exist in the kernel.

In your case block-major-48 for eg. corresponds to the Mylex DAC960 driver
which you probably dont have in your system.

Basically you can either just ignore these messages _or_
you can change /etc/conf.modules (or /etc/modules.conf) and
set the value in the last field to "off" to avoid them.

Heinz

> I've recently started using the LVM software on one of my systems, and
> I've noticed that there are numerous messages are produced each time I run
> vgscan:
> 
> Mar 30 13:50:19 fmslan kernel: LVM version 0.8i  by Heinz Mauelshagen
> (02/10/1999) 
> Mar 30 13:50:19 fmslan kernel: lvm -- Module successfully initialized 
> Mar 30 13:50:20 fmslan modprobe: can't locate module block-major-48
> Mar 30 13:50:22 fmslan last message repeated 63 times
> Mar 30 13:50:22 fmslan modprobe: can't locate module block-major-49
> Mar 30 13:50:23 fmslan last message repeated 63 times
> Mar 30 13:50:27 fmslan kernel: cdrom: open failed. 
> Mar 30 13:50:27 fmslan modprobe: can't locate module block-major-33
> Mar 30 13:50:27 fmslan modprobe: can't locate module block-major-33
> Mar 30 13:50:27 fmslan modprobe: can't locate module block-major-34
> Mar 30 13:50:27 fmslan modprobe: can't locate module block-major-34
> Mar 30 13:50:27 fmslan modprobe: can't locate module block-major-7
> Mar 30 13:50:27 fmslan modprobe: can't locate module block-major-7
> Mar 30 13:50:27 fmslan modprobe: can't locate module block-major-9
> Mar 30 13:50:27 fmslan modprobe: can't locate module block-major-9
> 
> I've added these two lines to my /etc/modules.conf:
> alias block-major-58      lvm
> alias char-major-109      lvm
> 
> The system is running kernel version 2.2.14, with version 0.8i of the LVM
> patch.  
> 
> The filesystem created in the logical volume I have created seems to work
> just fine, but I've not sure if I've missed something in the setup that is
> causing these messages to appear.
> 
> Chris Shelton
> 
> 


-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Systemmanagement TS                              T-Nova
                                                 Entwicklungszentrum Darmstadt
Heinz Mauelshagen                                Otto-Roehm-Strasse 71c
Senior Systems Engineer                          Postfach 10 05 41
                                                 64205 Darmstadt
mge at EZ-Darmstadt.Telekom.de                      Germany
                                                 +49 6151 886-425
                                                          FAX-386
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the linux-lvm mailing list