Driver Installation in SunOS 5.8


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Driver Installation in SunOS 5.8
# 1  
Old 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.
# 2  
Old 06-11-2002
how if

# add_drv -m '* 0666 bin bin','a 0644 root sys' \ - i 'test,alias' -b /tmp/root/test\ test,device

give a try. I do suspect the situation you are facing is within the file/system permission that kicks you on beyond attaching what you have written. Also have you copied the driver too /usr/kernel/drv ?
# 3  
Old 06-11-2002
Yes we do have copied the driver executable in /usr/kernel/drv directory.

When we issued the following command :

# add_drv -m '* 0666 bin bin','a 0644 root sys' - i 'test,alias' -b /tmp/root/test test,device

it gave us the following error message :

Failed to create lock file.
: No such file or directory

Kindly provide us an solution to it.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Solaris 10 flash installation - fatal error. Solaris installation program exited.

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

2. Hardware

Difference between platform driver,codec driver and Machine driver

In general terms what are the differences platform driver,codec driver and Machine driver? (1 Reply)
Discussion started by: rupeshkp728
1 Replies

3. UNIX for Dummies Questions & Answers

Lumigent 6.2.8 installation in SunOS

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

4. UNIX for Dummies Questions & Answers

Linux driver installation and so on.

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

5. UNIX for Dummies Questions & Answers

boot option Available partitions 0b00 1048575 sr0 driver:sr 0800 488386584 sda driver:sd

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. Solaris

SUNWglmr -- rasctrl environment monitoring driver for i2c or SCSI device driver ?

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

7. Solaris

installation of Solaris: installation bypasses network config.

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

8. UNIX for Advanced & Expert Users

Migration of binary file from Sunos 5.8 to Sunos 5.9

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

9. Programming

Increase Device Driver Major No in SunOs 5.8

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
Login or Register to Ask a Question