|
Jump-start your project by learning from devs who write Windows drivers and file systems every day. Take an OSR seminar! OSR is Hiring! Click here to find out more. |
Windows Internals & Software Drivers Lab, Santa Clara, CA 5-9 August, 2013 |
|
Welcome, Guest
You must login to post to this list |
||||||
|
Message 1 of 18
16 Oct 12 20:08
|
||
|
||
|
swapping IRP's MDLs
|
|
Message 2 of 18
16 Oct 12 20:30
|
||
|
||
|
Re: swapping IRP's MDLs
|
|
Message 3 of 18
17 Oct 12 02:42
|
||
|
||
|
RE: swapping IRP's MDLs
|
|
Message 4 of 18
17 Oct 12 08:52
|
||
|
||
|
RE: swapping IRP's MDLs
|
|
Message 5 of 18
17 Oct 12 13:04
|
||
|
||
|
RE: swapping IRP's MDLs
|
|
Message 6 of 18
18 Oct 12 00:20
|
||
|
||
|
Re: swapping IRP's MDLs
|
|
Message 7 of 18
18 Oct 12 11:05
|
||
|
||
|
RE: swapping IRP's MDLs
|
|
Message 8 of 18
20 Oct 12 15:24
|
||
|
||
|
RE: swapping IRP's MDLs
|
|
Message 9 of 18
20 Oct 12 18:31
|
||
|
||
|
RE: swapping IRP's MDLs
|
|
Message 10 of 18
20 Oct 12 20:21
|
||
|
||
|
Re: swapping IRP's MDLs
|
|
Message 11 of 18
21 Oct 12 10:52
|
||
|
||
|
RE: swapping IRP's MDLs
I hope they also open source storport.sys, ndis.sys and even better, tcpip.sys, netio.sys too.We have hoped, wished, even PRAYED for this for many years. ESPECIALLY StorPort -- Having this source readily available would make life SOOO much easier for storage developers. So, while I continue to beg for the release of the StorPort source code, I don't hold out much hope that this will happen. I suspect that the intent of keeping the source private is that they want us to be writing to the PUBLISHED interface as its documented, and not rely on details of the interface implementation. I get that. But the docs on StorPort are, ah, "a bit sketchy" -- they have always been. And there are inherent complexities in the storage stack that make the task of writing truly truly comprehensive documentation for StorPort very difficult. I, for one, would prefer an approach that said "Here's the StorPort code, but we're not going to be constrained by the fact that the source is available for reference... so if you rely on some aspect that's not documented and we break your stuff in the field, too bad." Of course, THAT's easier said than done, right? Break the driver running the main storage adapter on 5 million desktops, because some otherwise well-meaning dev used the source code and relied on an undocumented detail of implementation that gets changed in a Service Pack? Who do you think would get the phone calls... So, like I said... I'm not exactly holding my breath waiting for StorPort source code to appear in the WDK. While our prayers have yet to be answered, we continue to hope... Peter OSR |
|
Message 12 of 18
21 Oct 12 13:33
|
||
|
||
|
RE: swapping IRP's MDLs
|
|
Message 13 of 18
21 Oct 12 13:50
|
||
|
||
|
RE: swapping IRP's MDLs
Therefore, one fine day you may find your product shattered to pieces if you rely upon these featuresAnd here we were doing so well, too, you and I. You REALLY don't get it, do you. If YOU wrote a driver that relies on the internal behaviors of StorPort, and an OEM ships that, and it's in use on MILLIONS of desktops... and the behavior of StorPort changes in a way that breaks MILLIONS of desk tops... YOU'RE not going to get millions phone calls from angry customers. Microsoft is. People will say "Windows Update broke my system... Microsoft sucks." I'm telling you this is often the thinking internally and it, not the desire to engage in some cabalistic activity, is what dictates many behaviors you obviously do not understand. You are not trying to say that you have no access to these sources, are you.....I don't think I even implied anything of the sort. As I think you already know, I spend a great deal of my time/effort trying to be a positive advocate for the community. It has nothing to do with what I have or OSR has or you have. It has to do with what's good for the community. Peter OSR |
|
Message 14 of 18
21 Oct 12 14:59
|
||
|
||
|
Re: swapping IRP's MDLs
and an OEM ships that, and it's in use on MILLIONS of desktops... and the behavior of StorPort changes in a way that breaks MILLIONS of desk tops.I guess it won't take long to for the GM of chipmaker to get a nasty phone call from the OEM demanding x,y and z. Well thank God, it never happened to me:). My approach is be creative as much as possible while debugging; actively explore system internal behaviors, write them down on paper before I forget. Don't hesitate to make use of any undocumented facts to setup a theory or construct a proof or counter proof. While comes to code implementation, in particular the contracting part, just be conservative, forget about all internals discovered. Just as USAF fighter pilots, if it is not on the thick book, you are not allowed to do it --- as opposed to Navy fighter pilots, if that small book doesn't say you can't do it, you can do whatever it takes to get the job done, come back and land on the flight deck of the carrier safely. Make no mistake, they are both the world's best fighter pilots. Calvin -- |
|
Message 15 of 18
21 Oct 12 15:17
|
||
|
||
|
RE: swapping IRP's MDLs
|
|
Message 16 of 18
21 Oct 12 15:18
|
||
|
||
|
RE: swapping IRP's MDLs
> Therefore, > one fine day you may find your product shattered to pieces if you rely upon > these features >> > And here we were doing so well, too, you and I. > > You REALLY don't get it, do you. If YOU wrote a driver that relies on the internal behaviors of StorPort, and an OEM ships that, and it's in use on MILLIONS of desktops... and the behavior of StorPort changes in a way that breaks MILLIONS of desk tops... YOU'RE not going to get millions phone calls from angry customers. Microsoft is. People will say "Windows Update broke my system... Microsoft sucks." > <...excess quoted lines suppressed...> |
|
Message 17 of 18
21 Oct 12 19:17
|
||
|
||
|
RE: swapping IRP's MDLs
I really don't get itSad... And we were making such good progress, too. You really do need to get out more. Hang with a different group of folks, perhaps. Try to see things from a different perspective, through someone else's eyes. Maybe you should get a job at Microsoft. WinSE is hiring, and I can tell you from personal knowledge they're a smart group of folks who get their hands into all sorts of interesting places in the OS. Peter OSR |
|
Message 18 of 18
21 Oct 12 21:22
|
||
|
||
|
RE: swapping IRP's MDLs
|
|