1836970 Members
2647 Online
110111 Solutions
New Discussion

Re: mk_kernel fails..

 
Stefano_65
Regular Advisor

mk_kernel fails..

hp-ux 11.i on rp3410.
mk_kernel -s /stand/build/system fails with 560 of these errors:

ld: Duplicate symbol "write_vga_reg" in files mod_wk.d/gvid_him_fglrx/smod.o and /usr/conf/lib/libgraf.a[sti_vga.o]

any suggest?

s.
5 REPLIES 5
Steve Steel
Honored Contributor

Re: mk_kernel fails..

Hi

Is this a new 11i or a change

The steps of kernel configuration are documented beginning in this manual, "Managing Systems and Workgroups"
http://docs.hp.com/hpux/pdf/5187-2216.pdf

Starts about page 177

Read note on p180.

NOTE: Direct edits to the HP-UX system description files no longer
work as in previous releases. Direct edits have no supported kernel
configuration interface and are likely to introduce configuration
errors. Instead, use the commands kmsystem and kmtune. These
commands are new for Release 11.0; consult kmsystem(1M) and
kmtune(1M) in the HP-UX Reference.

Steps that may have been valid on earlier OS releases likely did not
take into account the existence of DLKMs (Dynamic Loadable Kernel
Modules).


You seem to be having DLKM problems.


How did you set up the kernel make


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Stefano_65
Regular Advisor

Re: mk_kernel fails..

the system is an 11.i clean.
these the steps I made:

cp /stand/system /stand/build/system
vi /stand/build/system (10 parameters)
mk_kernel -s /stand/build/system

I tryed also to set parameters via sam but no way..

s.

Cheryl Griffin
Honored Contributor

Re: mk_kernel fails..

"write_vga_reg" is associated with the gvid (AGP Graphics Driver). The library in question is part of PHKL_29650 the 11.11 AGP, cumulative graphics patch.

However, this gvid driver is not required on rp34xx systems. Remove it from the kernel and try to regen.
"Downtime is a Crime."
Steve Steel
Honored Contributor

Re: mk_kernel fails..

Hi


You edited the system file

From previouis entry

NOTE: Direct edits to the HP-UX system description files no longer
work as in previous releases.


You need to set it up as shown in my previous input



Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Stefano_65
Regular Advisor

Re: mk_kernel fails..

I've canged my parameters with kmtune, but I can't do kmupdate:
kmupdate: Newly built kernel /stand/build/vmunix_test is not found
What I've to do to rebuild kernel now?

thanx.