hello,

already tried this, but behaviour is still the same, 
"add_drv -i ... mydriver" works but "add_drv mydriver" not.

the message i get when running add_drv without "-i" is:
Warning: Driver (mydriver) successfully added to system but failed to attach

and debug-messages within /var/adm/messages show that only _info and _init
have been called, no probe and no attach !!

why ??

thanks,
christian


--
"I sense much NT in you, NT leads to Blue Screen. 
Blue Screen leads to downtime, downtime leads to suffering. NT is the path to 
the darkside." 

- Unknown Unix Jedi  

> -----Original Message-----
> From: Liu, Jiang [mailto:[EMAIL PROTECTED] 
> Sent: Monday, November 03, 2008 9:00 AM
> To: Masopust, Christian; [email protected]
> Subject: RE: why does my driver not load after a reboot?
> 
> Hi Masopust,
>       The device driver will be loaded when you first access 
> the corresponding devices. You may force loading your driver 
> at boot time by adding "ddi-forceattach=1" to mydriver.conf file.
> 
> Masopust, Christian <> wrote:
> > hello,
> > 
> > i've written a driver which runs now fine but i still have
> > the problem that it won't load after a reboot. also after a
> > reboot i cannot load it with simply running "add_drv mydriver",
> > i always have to specify "-i ...." to load it.
> > 
> > what did i wrong?  any hints?
> > 
> > thanks a lot,
> > christian
> 
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to