[SOLVED] What is a xzm linux kernel module?

Post here if you are a new Porteus member and you're looking for some help.
niculinux
White ninja
White ninja
Posts: 18
Joined: 19 Feb 2012, 14:43
Location: italy

[SOLVED] What is a xzm linux kernel module?

Post#1 by niculinux » 19 Feb 2012, 15:39

Like the subject says:

1)what is it?

2) it's tipycal of porteus kernel

3) how do I use manage them? (load into kerel and remove from it?
Last edited by niculinux on 23 Feb 2012, 13:22, edited 2 times in total.

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: What is a xzm linux kernel module?

Post#2 by Ahau » 19 Feb 2012, 20:25

Hello and welcome, niculinux!

xzm modules and linux kernel modules are two separate things:

kernel modules are the same as any linux *.ko module in any other distribution (similar to a driver in windows) -- it controls hardware/kernel interface and is loaded and managed with the modprobe, lsmod, etc. commands that are common to the linux kernel.

Porteus xzm modules are like zip or tar archives, and contain the files and directories that Porteus needs in order to run. These modules are mounted when the kernel is loaded up, so that the system can use all of the software contained in the modules.

Now, there is an .xzm module inside the porteus ISO called "000-kernel.xzm". This is an .xzm module which contains the various kernel modules. This module is loaded and activated into your live filesystem at startup, so the system can see the files in it. All you have to do is start up your system as usual, and manage kernel modules as normal with modprobe. If there are any specific hardware issues you're having, or other trouble, please let us know and we'll do what we can to help.
Please take a look at our online documentation, here. Suggestions are welcome!

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: What is a xzm linux kernel module?

Post#3 by brokenman » 20 Feb 2012, 00:02

I will just add here that you can unpack any porteus module and do work on it. I would assume that you need to add some drivers to your 000-kernel.xzm module. You will need to open a konsole (the black TV looking icon on the task bar)

mkdir /tmp/000
xzm2dir /path/to/000-kernel.xzm /tmp/000


Now you can add your files into /tmp/000 and recreate the module

dir2xzm /tmp/000 /path/to/000-kernel.xzm
How do i become super user?
Wear your underpants on the outside and put on a cape.

niculinux
White ninja
White ninja
Posts: 18
Joined: 19 Feb 2012, 14:43
Location: italy

Re: What is a xzm linux kernel module?

Post#4 by niculinux » 20 Feb 2012, 12:19

g r e a t

thanks :Yahoo!:

Post Reply