You are here

Bulding and getting registerd a DLKM module by hand in HPUX 11.11

Tenemos que renombar el objeto de 64 bits, si el dtc ya existe dentro del /usr/conf/master.d este paso no es necesario:

root@hprert:/var/tmp/DEPOT/DTC/Programs/usr/conf/dtc> cp mod64.o mod.o
root@hprert:/var/tmp/DEPOT/DTC/Programs/usr/conf/dtc> kminstall -a dtc

Ya nos crear el master del modulo, que es necesario para poder ser registrado:
root@hprert:/usr/conf/master.d> ls -ltr | grep -i dtc
-rw-r--r-- 1 root sys 1553 May 18 11:09 dtc

Realizamos un config, que nos hace el build del modulo:

root@hprert:/usr/conf/master.d> config -M dtc
Generating module: dtc...

Y después lo registramos en el kernel actual:

root@hprert:/usr/conf/master.d> kmupdate -M dtc -i

Specified module(s) below is(are) activated successfully.
Dtc

Como podemos ver ya lo tenemos registrado y ya existe en el /stand/dlkm/:

root@hprert:/usr/conf/master.d> kmadmin -s
Name ID Status Type
=====================================================
rng 1 LOADED WSIO
krm 2 UNLOADED WSIO
dtc 3 UNLOADED WSIO

root@hprert:/usr/conf/master.d> ls -l /stand/dlkm/mod.d | grep -i dtc
-rw-r--r-- 1 root sys 259736 May 18 11:12 dtc

Finalmente lo cargamos dinámicamente:

root@hprert:/usr/conf/master.d> kmadmin -L dtc
kmadmin: Module dtc loaded, ID = 3
You have mail in /var/mail/root
root@hprert:/usr/conf/master.d> kmadmin -s
Name ID Status Type
=====================================================
rng 1 LOADED WSIO
krm 2 UNLOADED WSIO
dtc 3 LOADED WSIO

Unix Systems: 

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.

Fatal error: Class CToolsCssCache contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (DrupalCacheInterface::__construct) in /homepages/37/d228974590/htdocs/sites/all/modules/ctools/includes/css-cache.inc on line 52