tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Prasad V.S." <vspra () hotmail ! com>
To: tru64-unix-managers
Subject: SUMMARY: Listing device driver details on Tru64 Unix.
Date: Fri, 27 Apr 2001 08:11:00 +0000	[thread overview]
Message-ID: <102653646721759.tru64-unix-managers.marc@archive.invalid> (raw)

Sorry for the delay in summarizing.
Thanks to Alan and Dr.Thomas.

Here are the replies from them.

Reply from Dr.Thomas.Blinn@Compaq.com
--------------------------------------

You can't.  There is no interface to do this.  The closest thing is the
sysconfig interface, but it is generically for all kernel modules, not
just for device drivers, and there is no requirement on the people who
write device drivers that they export any particularly useful data via
that interface (most drivers are NOT configurable in any useful way via
the sysconfig interface).

For instance, if you want to know what drivers were delivered separately 
from the base OS component, there is a file in /usr/sys/conf called 
.product.list that gets used during a kernel build to incorporate 
static-link drivers into the custom kernel;
but some drivers are loaded dynamically after the kernel boots, and they
are usually loaded via commands in a startup script in /sbin/init.d and
you need to know what to look for there..


Reply from alan@nabeth.cxo.dec.com
-----------------------------------

	You should also take a look at the manual page for the
	getsysinfo(2) system call.  It has a set of codes for
	wandering through the I/O subsystem table, many of which
	have associated drivers.  The data structure used by
	these codes may offer a clue what sort of information
	are easily available.  Even if you can't a program yourself
	to step through the data structures, you could probably
	use dbx to examine the relevant data structures.

	The Monitor "names" feature uses these routines to generate
	the device listing.  The most recent version of Monitor on
	ftp.digital.com (/pub/DEC/monitor.alpha.tar.Z) has an
	improved version of this feature.

Once again thanks for the info provided.

Cheers,

vsp



>From: "Prasad V.S." <vspra@hotmail.com>
>To: tru64-unix-managers@ornl.gov
>Subject: Listing device driver details on Tru64 Unix.
>Date: Fri, 20 Apr 2001 08:14:13
>
>Hi Managers,
>
>       How can I list out the full details about the drivers loaded on my 
>Tru64Unix machine?
>
>Many thanks,
>
>Cheers,
>
>vsp.
>
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

                 reply	other threads:[~2001-04-27  8:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox