Help! Problem with add_drv command

Help! Problem with add_drv command

Post by Artur Sawic » Sat, 05 Aug 2000 04:00:00



Hi,
I have problem with add_drv command in solaris 2.7.
In previous version ( solaris 2.6 )  I use the add_drv clnp command to
install clnp driver, if I use this command in solaris 2.7 I have this error:
Notice : Adding the CLNP Device Driver
devfsadm: driver failed to attach: clnp
Warning: Driver (clnp) successfully added to system but failed to attach

Thanks for help.
Artur

 
 
 

Help! Problem with add_drv command

Post by Anthony Collin » Sat, 05 Aug 2000 04:00:00



> Hi,
> I have problem with add_drv command in solaris 2.7.
> In previous version ( solaris 2.6 )  I use the add_drv clnp command to
> install clnp driver, if I use this command in solaris 2.7 I have this error:
> Notice : Adding the CLNP Device Driver
> devfsadm: driver failed to attach: clnp
> Warning: Driver (clnp) successfully added to system but failed to attach

> Thanks for help.
> Artur

We have seen the same problem too.  I'm not sure yet what the cause of
it is.  But, the first thing you should check, if you haven't already,
is to make sure you are booting the 32-bit kernel.  If you are booting
the 64-bit kernel and you try to load a 32-bit driver, that is exactly
the error you will see.  You can check to see which kernel you're
booting by typing "isainfo -b" and see if it returns 32 or 64.  If it
returns 64, then you need to boot the 32-bit kernel and try again.  I'm
pretty sure the Solaris FAQ has all the details on how to boot your
system with the 32-bit kernel.  If you are booting the 32-bit kernel and
still seeing the error, then you are in the same boat that we are.  The
problem seems to be coming from the new devfsadm subsytem that add_drv
now uses.  Unfortunately, I have not had the time yet to track down what
the problem is.  You might want to contact Sun to see if they can help
you.

--
Anthony Collins                 Sr. Software Engineer
Network Associates, Inc.


 
 
 

Help! Problem with add_drv command

Post by Daniel Pri » Fri, 11 Aug 2000 04:00:00



>Hi,
>I have problem with add_drv command in solaris 2.7.
>In previous version ( solaris 2.6 )  I use the add_drv clnp command to
>install clnp driver, if I use this command in solaris 2.7 I have this error:
>Notice : Adding the CLNP Device Driver
>devfsadm: driver failed to attach: clnp
>Warning: Driver (clnp) successfully added to system but failed to attach

The Solaris FAQ sez:

Quote:>5.75) A device driver that worked fine under S2.6 stopped loading under
>      S7

>There are two possible causes. It is possible that you're trying to load
>a 32 bit driver on a 64 bit kernel; this isn't supported.

>Drivers that use MT-Unsafe interfaces or that claim to be MT-Unsafe also
>no longer load in Solaris 7.

>In both cases, /var/adm/messages should give a pointer to the actual
>cause

        -dp

--

Expressed in this posting are my opinions. They are in no way related to
opinions held by my employer, Sun Microsystems. Statements on Sun products
included here are not gospel and may be fiction rather than truth.

 
 
 

1. Problem with Solaris 2.7 add_drv command

Hi,
I have problem with add_drv command in solaris 2.7.
In previous version ( solaris 2.6 )  I use the add_drv clnp command to
install clnp driver, if I use this command in solaris 2.7 I have this error:
Notice : Adding the CLNP Device Driver
devfsadm: driver failed to attach: clnp
Warning: Driver (clnp) successfully added to system but failed to attach

Thanks for help.
Artur

2. Couldnt get a file descriptor referring to the console

3. add_drv/rem_drv problems (HELP!)

4. NCSA httpd and file descriptor leakage

5. add_drv, dnet, probems. pls help.

6. dosemu 0.49 re

7. PCI driver development on 2.5 (add_drv help)

8. netscape problem: Connection refused by host

9. REQ HELP add_drv fails on Ultra5/Solaris 7

10. Problem with add_drv

11. Problem With add_drv

12. problem with add_drv ("no major numbers available")

13. need to pipe a find or locate command into the rm command....PLEASE help!