News for hackers. Stuff that matters.
Re:Plugging in Kindle is crashing Windows 10 after summer up... by peterkelly on Saturday August 20, 2016 @09:04AM (#12326386)
It's 2016 and we're still doing drivers in kernel mode :(

Andrew Tanenbaum's arguments for microkernels still ring just as true today as they always did.

Re:Plugging in Kindle is crashing Windows 10 after summer up... by tobias3 on Saturday August 20, 2016 @09:14AM (#12326435)
For USB devices it would be theoretically possible: https://msdn.microsoft.com/en-us/windows/hardware/drivers/wd...

A kindle is just a USB drive, though. And that driver is probably kernel mode for performance reasons.

Re:Plugging in Kindle is crashing Windows 10 after summer up... by pjmlp on Saturday August 20, 2016 @10:11AM (#12326683)
Windows is probably the desktop OS with better support for user mode drivers, still many developers still make them kernel mode, even if not needed.

As for micro-kernels, at least they have won in the embedded and real time space, with the likes of QNX, L4 and a few others.

Re:Plugging in Kindle is crashing Windows 10 after summer up... by digi_owl on Saturday August 20, 2016 @11:28AM (#12326979)
Funny thing is that NT is micro-kernel (to some degree at least), but Microsoft keep moving things in and out of kernel space with each release as they are weighing performance vs stability.
Re:Plugging in Kindle is crashing Windows 10 after summer up... by cm3 on Saturday August 20, 2016 @09:57AM (#12326620)
Given the new crash-proof video driver architecture since Windows 8 and the variety of USB devices and their associated complexity, I had assumed the USB stack would be equally crash-proof by now. Isn't that the case?

I recall they did a major overhaul like that for audio drivers too.

Re:Plugging in Kindle is crashing Windows 10 after summer up... by vertex-four on Saturday August 20, 2016 @10:09AM (#12326668)
It's generally pretty "easy" to overhaul the graphics driver layer and get everyone to rewrite their drivers - the graphics card vendors work closely with Microsoft in the first place, and there's only a very small handful of them. USB, not so much.
Re:Plugging in Kindle is crashing Windows 10 after summer up... by digi_owl on Saturday August 20, 2016 @11:26AM (#12326974)
USB is also a very ambiguous protocol. Observe the amount of problems device suspend on Linux was until someone noticed that the one minute mentioned in the spec was a recommendation rather than a rule.
Re:Plugging in Kindle is crashing Windows 10 after summer up... by jschwartzi on Saturday August 20, 2016 @10:22AM (#12326724)
I have had QNX drivers crash in such a way as to bring down the entire microkernel before. Address space separation doesn't completely resolve the problem, but it does make it much rarer.
Re:Plugging in Kindle is crashing Windows 10 after summer up... by userbinator on Saturday August 20, 2016 @10:32AM (#12326758)
IMHO microkernels - and isolation in general - are just workarounds for sub-par processes elsewhere that leads to barely-working code. Fix the root cause, not the symptoms.
Re:Plugging in Kindle is crashing Windows 10 after summer up... by nly on Saturday August 20, 2016 @10:25AM (#12326734)
Portable USB driver development options exist.

http://libusb.info/

Re:Plugging in Kindle is crashing Windows 10 after summer up... by wslh on Saturday August 20, 2016 @10:26AM (#12326740)
It's 2016 and Microsoft doesn't know how to test an operating system used by the majority.

BTW, beyond the exciting development stuff that they are releasing there are a lot of issues inside the company. For example, they made it almost impossible to renew my company MSDN Premium account after talking with support guys for weeks.