06-11-2002
Driver Installation in SunOS 5.8
I have written and compiled successfully, a device driver code for SunOS 5.8 but on issusing add_drv command, it gives me the following error :
# add_drv test
devfsadm: driver failed to attach: test
Warning: Driver (test) successfully added to system but failed to attach
Thanks in advance to anyone who provides me a solution for this. I am really in dead need of it.
9 More Discussions You Might Find Interesting
1. Programming
Hai,
I am Developing Device Driver For SunOs 5.8.
I want to Add more then 100 Device Driver in My Server.
But, Server Giving this "No available major numbers."
Now, How will increase this Major Number Count.
Sun Os is having any configuration for this ?
-Udhaya Kumar.V (1 Reply)
Discussion started by: haiudhaya
1 Replies
2. UNIX for Advanced & Expert Users
I have compiled binary file using "cc" on SunOS 5.8 and the same binary file i have copied to SunOS 5.9 and it is giving me core dump error.I want to know whether migration of compiled code from lower version to higer version created this problem. how can i solve this problem.I am pasting the core... (1 Reply)
Discussion started by: Arvind Maurya
1 Replies
3. Solaris
hello solaris friends,
I've tried installing Sun Solaris 10.0, but everytime it seems to bypass the network config. screen that looks similar to this...here's the url:
http://www.hup.hu/old/images/hup/Solaris/Sol10beta7/9.png
I'm able to install it all the way through but I get no... (2 Replies)
Discussion started by: cadmiumgreen
2 Replies
4. Solaris
I've been researching minimizeing Solaris 8 and found that on the web page http://www.sun.com/bigadmin/content/packagelist/s8u7PkgList/p2.html the package SUNWglmr
is listed as "rasctrl environment monitoring driver for i2c, (Root) (32-bit)" while in the document "Solaris 8 minimize-updt1.pdf"... (1 Reply)
Discussion started by: roygoodwin
1 Replies
5. UNIX for Dummies Questions & Answers
Help, suspect hacked via serial or electric! any ideas on error "Pid:1, comm:swapper Tainted:G W 2.6.35-22 generic #33 -unbutu device = "(null)" or unknown-blocklist(8.1) please append a correct "root"boot option Available partitions 0b00 1048575 sr0 driver:sr 0800 488386584 sda driver:sd. Thanks... (3 Replies)
Discussion started by: kryclear
3 Replies
6. UNIX for Dummies Questions & Answers
I find Linux drivers to be the most elusive topic that there is and have enough questions about them that could fill a guide or tutorial if there was one.
From what I can gather drivers are installed by one of three ways.
1- Recompile the kernel to include a driver that is included in the... (2 Replies)
Discussion started by: theKbStockpiler
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
In my unix system, the admin have installed the Lumigent 6.2.8 and asked me to check.
but i dont know how to check.. I have used pkginfo -l. But there were no informations regarding this.
Log for Admin:
<host-name>:/# ps -ef|grep lmEntegraAgent
lumigent 17256 1 0 06:23:50... (0 Replies)
Discussion started by: help_scr_seeker
0 Replies
8. Hardware
In general terms what are the differences platform driver,codec driver and Machine driver? (1 Reply)
Discussion started by: rupeshkp728
1 Replies
9. Solaris
Not very helpful to say the least. Seems to read the flar file and go through the upgrade and then come up with this error.
Any ideas? (1 Reply)
Discussion started by: psychocandy
1 Replies
LEARN ABOUT OPENDARWIN
drvconfig
drvconfig(1M) System Administration Commands drvconfig(1M)
NAME
drvconfig - apply permission and ownership changes to devices
SYNOPSIS
drvconfig [-bn] [-a alias_name] [-c class_name] [-i drivername] [-m major_num] [-r root_dir]
DESCRIPTION
devfsadm(1M) is now the preferred command and should be used instead of drvconfig.
The default operation of drvconfig is to apply permission and ownership changes to devices. Normally, this command is run automatically
after a new driver has been installed (with add_drv(1M)) and the system has been rebooted.
OPTIONS
The following options are supported:
-aalias_name Add the name alias_name to the list of aliases that this driver is known by. This option, if used, must be used with the -m
major_num, the -b and the -i drivername options.
-b Add a new major number to name binding into the kernel's internal name_to_major tables. This option is not normally used
directly, but is used by other utilities such as add_drv(1M). Use of the -b option requires that -i and -m be used also. No
/devices entries are created.
-cclass_name The driver being added to the system exports the class class_name. This option is not normally used directly, but is used
by other utilities. It is only effective when used with the -b option.
-idrivername Only configure the devices for the named driver. The following options are used by the implementation of add_drv(1M) and
rem_drv(1M), and may not be supported in future versions of Solaris:
-mmajor_num Specify the major number major_num for this driver to add to the kernel's name_to_major binding tables.
-n Do not try to load and attach any drivers, or if the -i option is given, do not try to attach the driver named drivername.
-rroot_dir Perform operations under root_dir, rather than directly under root.
EXIT STATUS
0 Successful completion.
non-zero An error occurred.
FILES
/devices Device nodes directory
/etc/minor_perm Minor mode permissions
/etc/name_to_major Major number binding
/etc/driver_classes Driver class binding file
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
sh(1), add_drv(1M), modinfo(1M), modload(1M), modunload(1M), rem_drv(1M), update_drv(1M), path_to_inst(4), attributes(5), devfs(7FS)
SunOS 5.10 9 Aug 2004 drvconfig(1M)