tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* REQUEST: Listing device driver details on Tru64 Unix
@ 2001-04-30 11:45 LHERCAUD
  0 siblings, 0 replies; 4+ messages in thread
From: LHERCAUD @ 2001-04-30 11:45 UTC (permalink / raw)
  To: tru64-unix-managers

	Hi all,

	Regarding this summary, I was thinking it might be a nice feature if
	Tru64 had some "dev" entries in /proc for instance. Solaris and
Linux have it.

	Maybe if we (many) ask for it, Compaq will do it sooner ?

	Regards

	Lucien Hercaud

Lucien HERCAUD
Consultant Systeme UNIX en mission chez Bouygues T=E9l=E9com
DSI / IPR / IRS / INF

*	Tel. Fixe    +33 1 3945 4260	* BOUYGUES Telecom
*  	Tel. Mobile  +33 6 0944 2880	* 11 Avenue Maurane Saulnier
*  	Fax          +33 1 3463 8551	* 78944 VELIZY Cedex
* 	lhercaud@bouyguestelecom.fr
mailto:lhercaud@mail.dotcom.fr


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=20
from the base OS component, there is a file in /usr/sys/conf called=20
.product.list that gets used during a kernel build to incorporate=20
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.

^ permalink raw reply	[flat|nested] 4+ messages in thread
* REQUEST: Listing device driver details on Tru64 Unix
@ 2001-04-30 11:45 LHERCAUD
  0 siblings, 0 replies; 4+ messages in thread
From: LHERCAUD @ 2001-04-30 11:45 UTC (permalink / raw)
  To: tru64-unix-managers

	Hi all,

	Regarding this summary, I was thinking it might be a nice feature if
	Tru64 had some "dev" entries in /proc for instance. Solaris and
Linux have it.

	Maybe if we (many) ask for it, Compaq will do it sooner ?

	Regards

	Lucien Hercaud

Lucien HERCAUD
Consultant Systeme UNIX en mission chez Bouygues T=E9l=E9com
DSI / IPR / IRS / INF

*	Tel. Fixe    +33 1 3945 4260	* BOUYGUES Telecom
*  	Tel. Mobile  +33 6 0944 2880	* 11 Avenue Maurane Saulnier
*  	Fax          +33 1 3463 8551	* 78944 VELIZY Cedex
* 	lhercaud@bouyguestelecom.fr
mailto:lhercaud@mail.dotcom.fr


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=20
from the base OS component, there is a file in /usr/sys/conf called=20
.product.list that gets used during a kernel build to incorporate=20
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.


^ permalink raw reply	[flat|nested] 4+ messages in thread
* REQUEST: Listing device driver details on Tru64 Unix
@ 2001-04-30 11:45 LHERCAUD
  0 siblings, 0 replies; 4+ messages in thread
From: LHERCAUD @ 2001-04-30 11:45 UTC (permalink / raw)
  To: tru64-unix-managers

	Hi all,

	Regarding this summary, I was thinking it might be a nice feature if
	Tru64 had some "dev" entries in /proc for instance. Solaris and
Linux have it.

	Maybe if we (many) ask for it, Compaq will do it sooner ?

	Regards

	Lucien Hercaud

Lucien HERCAUD
Consultant Systeme UNIX en mission chez Bouygues T=E9l=E9com
DSI / IPR / IRS / INF

*	Tel. Fixe    +33 1 3945 4260	* BOUYGUES Telecom
*  	Tel. Mobile  +33 6 0944 2880	* 11 Avenue Maurane Saulnier
*  	Fax          +33 1 3463 8551	* 78944 VELIZY Cedex
* 	lhercaud@bouyguestelecom.fr
mailto:lhercaud@mail.dotcom.fr


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=20
from the base OS component, there is a file in /usr/sys/conf called=20
.product.list that gets used during a kernel build to incorporate=20
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.



^ permalink raw reply	[flat|nested] 4+ messages in thread
* REQUEST: Listing device driver details on Tru64 Unix
@ 2001-04-30 11:45 LHERCAUD
  0 siblings, 0 replies; 4+ messages in thread
From: LHERCAUD @ 2001-04-30 11:45 UTC (permalink / raw)
  To: tru64-unix-managers

	Hi all,

	Regarding this summary, I was thinking it might be a nice feature if
	Tru64 had some "dev" entries in /proc for instance. Solaris and
Linux have it.

	Maybe if we (many) ask for it, Compaq will do it sooner ?

	Regards

	Lucien Hercaud

Lucien HERCAUD
Consultant Systeme UNIX en mission chez Bouygues T=E9l=E9com
DSI / IPR / IRS / INF

*	Tel. Fixe    +33 1 3945 4260	* BOUYGUES Telecom
*  	Tel. Mobile  +33 6 0944 2880	* 11 Avenue Maurane Saulnier
*  	Fax          +33 1 3463 8551	* 78944 VELIZY Cedex
* 	lhercaud@bouyguestelecom.fr
mailto:lhercaud@mail.dotcom.fr


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=20
from the base OS component, there is a file in /usr/sys/conf called=20
.product.list that gets used during a kernel build to incorporate=20
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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-04-30 11:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-30 11:45 REQUEST: Listing device driver details on Tru64 Unix LHERCAUD
  -- strict thread matches above, loose matches on Subject: below --
2001-04-30 11:45 LHERCAUD
2001-04-30 11:45 LHERCAUD
2001-04-30 11:45 LHERCAUD

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