Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Soapbox
  4. MSFT HCK, crock of shit

MSFT HCK, crock of shit

Scheduled Pinned Locked Moved The Soapbox
questioncsharphardwaretestingbeta-testing
15 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Munchies_Matt
    wrote on last edited by
    #1

    So as a driver writer I have to run my drivers through the Microsoft HCK to get a signature. Why does one test, CHAOS, fail in one of the Microsoft system drivers on some platforms? (even without using my driver). Why does this test fail with different kinds of hardware used as a test device? Why does this test pass 50% of the time with some hardware combinations (test PC and test device)? Why does this test pass all the time with Windows 8 on the test PC? Now in all of this, I have written a driver, a driver that doesn't vary, and which I want testing. I don't want to test the OS, the OS drivers, the PC hardware, the USB host controller, or the hardware the driver is written for. All I want to test is the driver, that little tiny bit that sits between the host and the IO manager. And yet I cant. So I have to spend days and days farting around trying to get a pass. (And this one test takes hours to run, in total, its a day of testing). And this has to be done on Win7, 8, 8.1, 32 and 64 bit. HCK is a joke. An utter waste of time written by morons who have no idea whats gong on in the real world. Oh, and I once wrote a filter driver for the ppm CPU driver. Both intelppm.sys and amdppm.sys BSOD if HCK is run on them demonstrating that Microsoft don't run their own drivers through HCK.

    Hammas: “We accept existence of Israel within 1967 borders”

    T J G 3 Replies Last reply
    0
    • M Munchies_Matt

      So as a driver writer I have to run my drivers through the Microsoft HCK to get a signature. Why does one test, CHAOS, fail in one of the Microsoft system drivers on some platforms? (even without using my driver). Why does this test fail with different kinds of hardware used as a test device? Why does this test pass 50% of the time with some hardware combinations (test PC and test device)? Why does this test pass all the time with Windows 8 on the test PC? Now in all of this, I have written a driver, a driver that doesn't vary, and which I want testing. I don't want to test the OS, the OS drivers, the PC hardware, the USB host controller, or the hardware the driver is written for. All I want to test is the driver, that little tiny bit that sits between the host and the IO manager. And yet I cant. So I have to spend days and days farting around trying to get a pass. (And this one test takes hours to run, in total, its a day of testing). And this has to be done on Win7, 8, 8.1, 32 and 64 bit. HCK is a joke. An utter waste of time written by morons who have no idea whats gong on in the real world. Oh, and I once wrote a filter driver for the ppm CPU driver. Both intelppm.sys and amdppm.sys BSOD if HCK is run on them demonstrating that Microsoft don't run their own drivers through HCK.

      Hammas: “We accept existence of Israel within 1967 borders”

      T Offline
      T Offline
      TheGreatAndPowerfulOz
      wrote on last edited by
      #2

      Why is this in the soapbox? Yeah, it's a problem.

      If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
      You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun
      Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

      Z 1 Reply Last reply
      0
      • T TheGreatAndPowerfulOz

        Why is this in the soapbox? Yeah, it's a problem.

        If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
        You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun
        Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

        Z Offline
        Z Offline
        ZurdoDev
        wrote on last edited by
        #3

        TheGreatAndPowerfulOz wrote:

        Why is this in the soapbox?

        His signature is offensive. :-\

        There are only 10 types of people in the world, those who understand binary and those who don't.

        T M 2 Replies Last reply
        0
        • Z ZurdoDev

          TheGreatAndPowerfulOz wrote:

          Why is this in the soapbox?

          His signature is offensive. :-\

          There are only 10 types of people in the world, those who understand binary and those who don't.

          T Offline
          T Offline
          TheGreatAndPowerfulOz
          wrote on last edited by
          #4

          LMAO

          If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
          You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun
          Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

          1 Reply Last reply
          0
          • Z ZurdoDev

            TheGreatAndPowerfulOz wrote:

            Why is this in the soapbox?

            His signature is offensive. :-\

            There are only 10 types of people in the world, those who understand binary and those who don't.

            M Offline
            M Offline
            Mycroft Holmes
            wrote on last edited by
            #5

            RyanDev wrote:

            His signature is offensive

            This again, you are too sensitive and munchies is a troll. Stop feeding him!

            Never underestimate the power of human stupidity RAH

            M Z 2 Replies Last reply
            0
            • M Munchies_Matt

              So as a driver writer I have to run my drivers through the Microsoft HCK to get a signature. Why does one test, CHAOS, fail in one of the Microsoft system drivers on some platforms? (even without using my driver). Why does this test fail with different kinds of hardware used as a test device? Why does this test pass 50% of the time with some hardware combinations (test PC and test device)? Why does this test pass all the time with Windows 8 on the test PC? Now in all of this, I have written a driver, a driver that doesn't vary, and which I want testing. I don't want to test the OS, the OS drivers, the PC hardware, the USB host controller, or the hardware the driver is written for. All I want to test is the driver, that little tiny bit that sits between the host and the IO manager. And yet I cant. So I have to spend days and days farting around trying to get a pass. (And this one test takes hours to run, in total, its a day of testing). And this has to be done on Win7, 8, 8.1, 32 and 64 bit. HCK is a joke. An utter waste of time written by morons who have no idea whats gong on in the real world. Oh, and I once wrote a filter driver for the ppm CPU driver. Both intelppm.sys and amdppm.sys BSOD if HCK is run on them demonstrating that Microsoft don't run their own drivers through HCK.

              Hammas: “We accept existence of Israel within 1967 borders”

              J Offline
              J Offline
              Jarek Kruza
              wrote on last edited by
              #6

              Munchies_Matt wrote:

              I don't want to test the OS, the OS drivers, the PC hardware, the USB host controller, or the hardware the driver is written for. All I want to test is the driver, that little tiny bit that sits between the host and the IO manager.

              Well, I'm not sorry for you. That seems the way some manufacturers do and we end up with brilliant drivers that work all the time except the real hardware is connected :)

              M 1 Reply Last reply
              0
              • M Mycroft Holmes

                RyanDev wrote:

                His signature is offensive

                This again, you are too sensitive and munchies is a troll. Stop feeding him!

                Never underestimate the power of human stupidity RAH

                M Offline
                M Offline
                Munchies_Matt
                wrote on last edited by
                #7

                Oh yeah, sure, I am just a big bad troll, expressing my utter frustration with Microsoft's tool chain just like all other trolls do. Why don't you try to come up with a rational counter poi9nt instead of a pathetic insult? We might give yo more credibility if you do.

                Hammas: “We accept existence of Israel within 1967 borders”

                1 Reply Last reply
                0
                • J Jarek Kruza

                  Munchies_Matt wrote:

                  I don't want to test the OS, the OS drivers, the PC hardware, the USB host controller, or the hardware the driver is written for. All I want to test is the driver, that little tiny bit that sits between the host and the IO manager.

                  Well, I'm not sorry for you. That seems the way some manufacturers do and we end up with brilliant drivers that work all the time except the real hardware is connected :)

                  M Offline
                  M Offline
                  Munchies_Matt
                  wrote on last edited by
                  #8

                  Have you ever heard of the words 'modularisation' and 'un coupling' in reference to software design? if not look them up and then come back and tell me why the driver has any connection at al with the hardware. Unless of course you just don't know anything about the windows kernel and therefore assume that in some way the two are linked. (They aren't, they are completely separate, and the only connection between them is by a handful of standard windows functions exposed by the Microsoft supplied bus drivers.)

                  Hammas: “We accept existence of Israel within 1967 borders”

                  J 1 Reply Last reply
                  0
                  • M Munchies_Matt

                    Have you ever heard of the words 'modularisation' and 'un coupling' in reference to software design? if not look them up and then come back and tell me why the driver has any connection at al with the hardware. Unless of course you just don't know anything about the windows kernel and therefore assume that in some way the two are linked. (They aren't, they are completely separate, and the only connection between them is by a handful of standard windows functions exposed by the Microsoft supplied bus drivers.)

                    Hammas: “We accept existence of Israel within 1967 borders”

                    J Offline
                    J Offline
                    Jarek Kruza
                    wrote on last edited by
                    #9

                    Calm down, this is soapbox. Why so serious? But if you insist... ;) Yes, I've heard of all these terms and yes I know the idea behind microkernels (but had no real life experience with Windows drivers, I admit). As a customer I would appreciate if the certification "yes this hardware driver works with this OS and this HW" was backed by a test with this OS and this HW. I'm not interested in certificate that just say "this driver works as piece of software". I would compare this to doing just unit tests on "modularised" and "un coupled" pieces of software without doing an UAT (I really hope you don't need to look this term up...). Do you understand my point now?

                    M 1 Reply Last reply
                    0
                    • J Jarek Kruza

                      Calm down, this is soapbox. Why so serious? But if you insist... ;) Yes, I've heard of all these terms and yes I know the idea behind microkernels (but had no real life experience with Windows drivers, I admit). As a customer I would appreciate if the certification "yes this hardware driver works with this OS and this HW" was backed by a test with this OS and this HW. I'm not interested in certificate that just say "this driver works as piece of software". I would compare this to doing just unit tests on "modularised" and "un coupled" pieces of software without doing an UAT (I really hope you don't need to look this term up...). Do you understand my point now?

                      M Offline
                      M Offline
                      Munchies_Matt
                      wrote on last edited by
                      #10

                      You still don't get it. Both the hardware and the driver agree to support an interface. If they do, they both pass, regardless of each other. If the hardware doesn't, it wont work with ANY driver so the driver can, and should, be tested in isolation and independent of the hardware. And as for the windows system causing tests to fail, that's just plain stupid.

                      Hammas: “We accept existence of Israel within 1967 borders”

                      J 1 Reply Last reply
                      0
                      • M Mycroft Holmes

                        RyanDev wrote:

                        His signature is offensive

                        This again, you are too sensitive and munchies is a troll. Stop feeding him!

                        Never underestimate the power of human stupidity RAH

                        Z Offline
                        Z Offline
                        ZurdoDev
                        wrote on last edited by
                        #11

                        Mycroft Holmes wrote:

                        This again, you are too sensitive and munchies is a troll. Stop feeding him!

                        I think you missed the ":-\" in my message.

                        There are only 10 types of people in the world, those who understand binary and those who don't.

                        1 Reply Last reply
                        0
                        • M Munchies_Matt

                          You still don't get it. Both the hardware and the driver agree to support an interface. If they do, they both pass, regardless of each other. If the hardware doesn't, it wont work with ANY driver so the driver can, and should, be tested in isolation and independent of the hardware. And as for the windows system causing tests to fail, that's just plain stupid.

                          Hammas: “We accept existence of Israel within 1967 borders”

                          J Offline
                          J Offline
                          Jarek Kruza
                          wrote on last edited by
                          #12

                          Ok. I get it. This is unit testing. But the certificate is for the whole chain working: HW<->OS interface<->Driver<->OS interface<->Application I don't say you should not test driver and HW separately. I repeat: certification is thing after unit testing. It is to certify that pieces tested and approved separately before DO WORK TOGETHER!

                          Munchies_Matt wrote:

                          And as for the windows system causing tests to fail, that's just plain stupid.

                          And here we are: Driver is working? Yes. HW is working? Yes. Whole solution is working? NO. Still no need to test the whole thing? Ok, arguments aside, something constructive now: Are you 200% sure that neither HW nor driver makes the interface unstable? Ok, after unit tests you have the right to be. Most common cases? Flaw in interface, wrong driver or HW reaction to nonconforming signal on the bus or interference with other (faulty?) drivers/HW ... As far as I remember CHAOS is the test that is doing exactly this kind of tests. If it fails without your driver you should suspect there is something unstable already in your system. All patches installed? All drivers for all hardware updated? Known problems checked? Look, if you are the only one who is suffering this type of problems - it probably means there is something wrong with your setup. If there are many others like you - leave the Soapbox and join them on MS forums - MS should hear you and fix the problem :)

                          M 1 Reply Last reply
                          0
                          • J Jarek Kruza

                            Ok. I get it. This is unit testing. But the certificate is for the whole chain working: HW<->OS interface<->Driver<->OS interface<->Application I don't say you should not test driver and HW separately. I repeat: certification is thing after unit testing. It is to certify that pieces tested and approved separately before DO WORK TOGETHER!

                            Munchies_Matt wrote:

                            And as for the windows system causing tests to fail, that's just plain stupid.

                            And here we are: Driver is working? Yes. HW is working? Yes. Whole solution is working? NO. Still no need to test the whole thing? Ok, arguments aside, something constructive now: Are you 200% sure that neither HW nor driver makes the interface unstable? Ok, after unit tests you have the right to be. Most common cases? Flaw in interface, wrong driver or HW reaction to nonconforming signal on the bus or interference with other (faulty?) drivers/HW ... As far as I remember CHAOS is the test that is doing exactly this kind of tests. If it fails without your driver you should suspect there is something unstable already in your system. All patches installed? All drivers for all hardware updated? Known problems checked? Look, if you are the only one who is suffering this type of problems - it probably means there is something wrong with your setup. If there are many others like you - leave the Soapbox and join them on MS forums - MS should hear you and fix the problem :)

                            M Offline
                            M Offline
                            Munchies_Matt
                            wrote on last edited by
                            #13

                            Jarek Kruza wrote:

                            And here we are: Driver is working? Yes. HW is working? Yes. Whole solution is working? NO. Still no need to test the whole thing?

                            Because the failure occurs inside Microsoft components ONLY when the HCK test is running. A component over which you have NO control and yet one that is standing in your way. Take the xhci test on windows 8. Why does THEIR driver crash just enumerating the device, and that's before the driver under test even gets loaded? Its because its unstable.

                            Jarek Kruza wrote:

                            Are you 200% sure that neither HW nor driver makes the interface unstable

                            Yes. Its a very very old interface, goes back 15 years its that old. This hardware is ancient, the driver is too, just a few tweaks here and there, and has been running since the days of windows 2K.

                            Jarek Kruza wrote:

                            All patches installed? All drivers for all hardware updated? Known problems checked?

                            Yes, ran WU, didn't help.

                            Jarek Kruza wrote:

                            join them on MS forums

                            I have posted countless times and you don't get a response. By the way I have been working with the windows kernel since 1997, the days of NT4 writing serial and network drivers so even someone with vast experience like me, who knows windows inside out, and who has used the previous tool, WHQL, extensively, for many many years, has issues with HCK. I just don't understand MSFTS philosophy here, surely it is the DRIVER that is being signed, it is the DRIVER that should be tested, and not the OS, the hardware device, and the hardware of the OS!

                            Hammas: “We accept existence of Israel within 1967 borders”

                            1 Reply Last reply
                            0
                            • M Munchies_Matt

                              So as a driver writer I have to run my drivers through the Microsoft HCK to get a signature. Why does one test, CHAOS, fail in one of the Microsoft system drivers on some platforms? (even without using my driver). Why does this test fail with different kinds of hardware used as a test device? Why does this test pass 50% of the time with some hardware combinations (test PC and test device)? Why does this test pass all the time with Windows 8 on the test PC? Now in all of this, I have written a driver, a driver that doesn't vary, and which I want testing. I don't want to test the OS, the OS drivers, the PC hardware, the USB host controller, or the hardware the driver is written for. All I want to test is the driver, that little tiny bit that sits between the host and the IO manager. And yet I cant. So I have to spend days and days farting around trying to get a pass. (And this one test takes hours to run, in total, its a day of testing). And this has to be done on Win7, 8, 8.1, 32 and 64 bit. HCK is a joke. An utter waste of time written by morons who have no idea whats gong on in the real world. Oh, and I once wrote a filter driver for the ppm CPU driver. Both intelppm.sys and amdppm.sys BSOD if HCK is run on them demonstrating that Microsoft don't run their own drivers through HCK.

                              Hammas: “We accept existence of Israel within 1967 borders”

                              G Offline
                              G Offline
                              Gary R Wheeler
                              wrote on last edited by
                              #14

                              The Microsoft driver group are a bunch of vicious morons. They are number three on my list of development-teams-put-against-the-wall-when-the-revolution-comes (just behind the Lotus Notes and InstallShield/whatever-their-name-is teams). I've never written a Windows driver myself, but I did have to write installers for a couple. There are three ways to install a Windows driver: 1. The method documented in the DDK/WDK 2. The method used in the DDK/WDK samples 3. The method used in pathetic Google search results while sobbing quietly 4. The method you finally arrive at after weeks of pounding the keyboard randomly

                              Software Zen: delete this;

                              M 1 Reply Last reply
                              0
                              • G Gary R Wheeler

                                The Microsoft driver group are a bunch of vicious morons. They are number three on my list of development-teams-put-against-the-wall-when-the-revolution-comes (just behind the Lotus Notes and InstallShield/whatever-their-name-is teams). I've never written a Windows driver myself, but I did have to write installers for a couple. There are three ways to install a Windows driver: 1. The method documented in the DDK/WDK 2. The method used in the DDK/WDK samples 3. The method used in pathetic Google search results while sobbing quietly 4. The method you finally arrive at after weeks of pounding the keyboard randomly

                                Software Zen: delete this;

                                M Offline
                                M Offline
                                Munchies_Matt
                                wrote on last edited by
                                #15

                                You have my sympathy, in fact, if you had written code, you would also find out, painfully, slowly, and on your own, that the code in the samples is also wrong. Yep, THE most complex bit of coding you can do, and you get fuck all guidance. However, let me say, if you think writing inf files is bad for 2k on, you should have seen NT4. It was a completely undocumented script language, as arcane and impenetrable as the best secrets of the Vatican. :) For example, my HCKX package wouldn't upload the other day, so I asked MSFT. They said "rename it .zip. Unzip it. Rezip it. Rename it .hckx" and guess what, it uploaded. I see, so the zip mechanism they put in their tool isn't compatible with their website, but 7zip is compatible with both? Are they fucking mad? :wtf: :confused: :omg: :omg: :omg:

                                1 Reply Last reply
                                0
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • World
                                • Users
                                • Groups