Thanks a lot jg, On recent build its working. MK.
-----Original Message----- From: Jerry Gilliam [mailto:[email protected]] Sent: Monday, May 09, 2011 11:00 PM To: Kumar, Manish Cc: [email protected] Subject: Re: Fwd: [install-discuss] Can we have two drivers for the same device? On 05/ 8/11 11:58 AM, [email protected] wrote: > Thanks Jg, > > Driver removal is successful. Driver_detach is called for all the devices and > then _fini. > > I tried to add the alias for the second driver after adding the first driver. > # update_drv -a -i '"xxxx,xxxx"' mod_name > I see an error message saying the alias already exists " already in use as a > driver or alias." > If I remove the driver and then use this command, it says "driver not > installed". But it adds an entry to the driver_aliases. This entry is not > deleted by the rem_drv command. Am I doing something wrong? > > 1. how does the devfsadm calls the attach for each device, if we provide the > device_id in add_drv command (add_drv -i ....)? > 2. How does it know the device instance numbers for each attaching device? I > have read that the /etc/path_to_inst keeps this record for the next boot and > is read only at the boot time. Who gives this info if we use > add_drv/update_drv? > > > Thanks, > MK. > Manish, You need to use a more recent build. The "already in use as a driver or alias" problem was addressed in build 106 and the support for dynamically switching aliases that I mentioned was introduced in build 109. Cheers! -jg _______________________________________________ install-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/install-discuss
