Following up my own message, here are the exact messages from dkload,
if anyone can decipher them:

% uname -a
HP-UX orchid A.09.05 C 9000/710 2005688340 32-user license

>The failure is happening during the dkload operation.  It fails with a
>message (paraphrased from a faulty memory) "Cannot access libafs.a".
>This happens after things have apparently gone well with the load.

Running 'ld -r -d -N -u KernelEntry -o /tmp/kload kalloc.o  1> 
/tmp/undefined_kernel_symbols 2> /tmp/undefined_kernel_symbols' to get undefined 
kernel symbols
Skipping parsing of undefined symbols in loader's tty output for hp-ux.
Running 'nm -h -n -p -x /tmp/kload > /tmp/global_kernel_symbols' to get global symbols
Running 'ld -r -d -N -u KernelEntry -o /tmp/kload libafs.a libcommon.a 1> 
/tmp/undefined_kernel_symbols 2> /tmp/undefined_kernel_symbols' to get undefined 
kernel symbols
Skipping parsing of undefined symbols in loader's tty output for hp-ux.
Running 'nm -h -n -p -x /tmp/kload > /tmp/global_kernel_symbols' to get global symbols
Searching /hp-ux for kernel symbols
/tmp/kload: text (0 + 61240), data (0 + 2d40), bss (+ 92a6) = 0x6dfe6
Running 'ld -e KernelEntry -u KernelEntry -o /tmp/kload -N -R 123d6c kalloc.o  
/tmp/ksyms.o crtx.o' to resolve kernel symbols
/tmp/kload: text (2000 + 6c), data (0 + 0), bss (+ 0) = 0x6c
First kernel address not written is 125000
Replacing system call 32 (       2           19c2a4).
warning: system call not unused.
  with (       2           124008).
Calling kernel with 463021...Restoring previous value of sysent[32]
returned value=4212000, code = 0(797144)
kmem_alloc returns 4212000, loading at 0x4212000
Running 'ld -e KernelEntry -u KernelEntry -o /tmp/kload -N -R 4212000 libafs.a 
libcommon.a /tmp/ksyms.o crtx.o' to resolve kernel symbols
/tmp/kload: text (e000 + 61244), data (70000 + 3000), bss (+ 9000) = 0x6e000
extra allocation was 12.2K bytes
First kernel address not written is 4280000
Replacing system call 32 (       2           19c2a4).
warning: system call not unused.
  with (       2          4212040).
Calling kernel with 1234567...returned value=0, code = -1(65535)
couldn't call libafs.a in kernel: code = -1
Restoring previous value of sysent[32]

-jem

Reply via email to