Skip to contentSkip to conversation

domU and loadable modules

DISCUSSION Mike Culbertson 5 participants 6 messages Feb 11, 2005 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

I don't see an obvious answer for this anywhere: Can you use loadable kernel modules in a domU? I have loadable module support enabled in my domU, but any module utilities I try (lsmod, insmod, modprobe) return this, as if I had disabled loadable module support:

modprobe: QM_MODULES: Function not implemented

If I compile everything into the kernel, all the available options I've tried work fine (iptables, etc), only modules produce errors. If this normal behavior or is there something wrong with my setup?

-mike

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#1 lore raw
Quoted 4 lines · Mike Culbertson

I don't see an obvious answer for this anywhere: Can you use loadable kernel modules in a domU? I have loadable module support enabled in my domU, but any module utilities I try (lsmod, insmod, modprobe) return this, as if I had disabled loadable module support:

yes you can. modload in domU is fine.

ron

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#2 lore raw
In reply to Mike Culbertson
Quoted 10 lines · Mike Culbertson

I don't see an obvious answer for this anywhere: Can you use loadable kernel modules in a domU? I have loadable module support enabled in my domU, but any module utilities I try (lsmod, insmod, modprobe) return this, as if I had disabled loadable module support:

modprobe: QM_MODULES: Function not implemented

If I compile everything into the kernel, all the available options I've tried work fine (iptables, etc), only modules produce errors. If this normal behavior or is there something wrong with my setup?

Is this a 2.6 xenU? Make sure you have the mod-init-tools package for your distro installed in the domain to use modules with a 2.6 kernel.

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#3 lore raw
In reply to Mike Culbertson
Quoted 10 lines · Mike Culbertson

I don't see an obvious answer for this anywhere: Can you use loadable kernel modules in a domU? I have loadable module support enabled in my domU, but any module utilities I try (lsmod, insmod, modprobe) return this, as if I had disabled loadable module support:

modprobe: QM_MODULES: Function not implemented

If I compile everything into the kernel, all the available options I've tried work fine (iptables, etc), only modules produce errors. If this normal behavior or is there something wrong with my setup?

Install module-init-tools for 2.6.

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#6 lore raw

Blah, it was something as dumb as a distro issue, my domU is debian (not what I normally run) and I didn't even think that it was defaulting to 2.4's modutils.  Module tools work fine now, sorry bout that.

-mike

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click

#7 lore raw
In reply to Mike Culbertson
Quoted 8 lines · Mike Culbertson

I don't see an obvious answer for this anywhere: Can you use loadable kernel modules in a domU? I have loadable module support enabled in my domU, but any module utilities I try (lsmod, insmod, modprobe) return this, as if I had disabled loadable module support:

modprobe: QM_MODULES: Function not implemented

If I compile everything into the kernel, all the available options I've tried work fine (iptables, etc), only modules produce errors. If this normal behavior or is there something wrong with my setup?

Did you have installed module-init-tools ?

Gonéri

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click