Debugging drivers
Note the following points when testing a newly-built kernel:
-
The test system must have been rebooted using the new kernel. For example,
to boot the compressed kernel in unix.Z from the floppy drive,
enter the following command at the boot prompt:
fd(64)unix.Z
-
Prior to SCO OpenServer 5 Release 5, commands such as
crash(ADM),
ps(C),
and
pstat(C)
expect the booted kernel to be /unix. If this is not the case
use the -n option to specify the correct pathname.
-
The command ps -el can be used to identify which processes
are sleeping in a driver by examining the values reported in the
``WCHAN'' column. Alternatively, you can use the more powerful
crash(ADM)
command.
© 2005 The SCO Group, Inc. All rights reserved.