Okay I will buy it …
Should I put something like this specially on those threads …
" …, all littering mistakes are not intentional and may not be from english litters "
Well, as if I’ve to sign something !
Prokash Sinha
http://prokash.squarespace.com
Success has many fathers, but failure is an orphan.
----- Original Message -----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Monday, December 22, 2008 10:10 AM
Subject: RE: [ntdev] Keeping bus driver version and enumerated device driver version in sync
The mistake is intentional ![:wink: :wink:](/images/emoji/twitter/wink.png?v=12)
d
Sent from my phone with no t9, all spilling mistakes are not intentional.
From: Prokash Sinha
Sent: Monday, December 22, 2008 10:05 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Keeping bus driver version and enumerated device driver version in sync
Ah, I meant to say your phone.
" Sent from my phone with no t9, all *spilling mistakes are not intentional"
Not sure if spilling == spelling !
Well, as if I’ve to sign something !
Prokash Sinha
http://prokash.squarespace.com
Success has many fathers, but failure is an orphan.
----- Original Message -----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Monday, December 22, 2008 9:59 AM
Subject: RE: [ntdev] Keeping bus driver version and enumerated device driver version in sync
Me have no T9 on my phone, just a full qwerty keyboard
d
Sent from my phone with no t9, all spilling mistakes are not intentional.
----------------------------------------------------------------------------
From: Prokash Sinha
Sent: Monday, December 22, 2008 9:31 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Keeping bus driver version and enumerated device driver version in sync
Is it possible that your t9 itself has a spilling mistake ![:slight_smile: :slight_smile:](/images/emoji/twitter/slight_smile.png?v=12)
Well, as if I’ve to sign something !
Prokash Sinha
http://prokash.squarespace.com
Success has many fathers, but failure is an orphan.
----- Original Message -----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Monday, December 22, 2008 9:23 AM
Subject: RE: [ntdev] Keeping bus driver version and enumerated device driver version in sync
Adding a version to the instance id will change the identity of the device. 2 potential issues.
1 IIRC, the device instance id should be the same as the first reported hw id, so if you change the hw id to include the version, you might need to spin up new INFs on every change. I guess you can keep you hw id without the version in it as the 2nd hw id reported.
2 doing this for the boot stack might be very bad mojo because windows needs the boot device to be accessible at the early stages of boot, well before your revised storage drivers can be installed. The critical device database may save you here, but that only works if your driver was previously installed on the same hw id
d
Sent from my phone with no t9, all spilling mistakes are not intentional.
--------------------------------------------------------------------------
From: Mark Roddy
Sent: Monday, December 22, 2008 6:22 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Keeping bus driver version and enumerated device driver version in sync
While that would be ideal, in reality it is difficult particularly where the underlying technology (in this case a virtualized system IO bus) is changing frequently and/or extensively as it is more or less in a rapid development prototyping stage. If there are functional incompatibilities that cannot be managed by a support N and N-1 strategy, or at least not managed easily, then forcing a new function driver by producing a different enough PnP ID seems like a safe way to go to me.
Mark Roddy
On Mon, Dec 22, 2008 at 12:52 AM, David Craig wrote:
Doron is very correct in having the support for earlier versions of the buss
driver in the function drivers. Also most Windows components use a
registration structure to indicate the version of the driver making the
call. This can be done in a bi-directional way so both can communicate
their versions and maybe what version clients they can support.
“James Harper” wrote in message
news:xxxxx@ntdev…
My Xen PV drivers consist of a bus driver that attaches to a virtual PCI
device (the presence of which indicates that it is a Xen machine), and
then enumerates network, block (scsiport), and some other devices. The
enumerated devices may be present at boot time or can be hot-added after
boot.
I have encountered the situation before where the hot-added device
remembers the version of the driver it was hot-added with previously,
even though the driver has since been upgraded. At best this just
doesn’t work. At worst, a system crash could result (obviously only
because of a bug in my driver though).
Also, when I upgrade the drivers on a running system, what happens is:
. bus driver updates but the bus driver is connected to a block device
which is holding the paging file and operating system, so the
unload/reload is deferred
. scsiport driver for the system disk also deferred as above
. network driver upgrades, unloads, but then can’t reload because the
bus driver version doesn’t match the upgraded network driver version.
Suddenly I have no network anymore until the next reboot.
While writing this it occurred to me that maybe I should put a version
number into the enumerated device, eg currently it is ‘xen\vbd’
(scsiport) or ‘xen\vif’ (network), but maybe it should be
‘xen\vbd_’ or something like that? Will things like boot
devices get confused? Time for some testing I think ![:slight_smile: :slight_smile:](/images/emoji/twitter/slight_smile.png?v=12)
Is there a ‘best practices’ document or a blog somewhere that discusses
this?
Thanks
James
—
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
—
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
—
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
—
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
—
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
—
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer