News for hackers. Stuff that matters.
Re:Ask HN: Why the Linux Kernel doesn't have unit tests? by michaelt on Friday November 25, 2022 @09:57AM (#33742932)
We're supposed to be reporting Linux crashes?

I always assumed the fact I can reliably break Linux on Laptop A with Docking Station B by doing Action C was pointless to report, because how is anyone supposed to reproduce it if they don't own Laptop A and Docking Station B?

Re:Ask HN: Why the Linux Kernel doesn't have unit tests? by sph on Friday November 25, 2022 @10:04AM (#33742988)
Can you reliably break Linux on Laptop A with Docking Station B? Then go here: https://bugzilla.kernel.org (and follow the big yellow notice)

There's a good chance it's a firmware or hardware bug Linux cannot fix, but it's worth a shot.

But to answer your question, Laptop A and Docking Station B probably interface with each other with the same two chips/subsystems present in other devices. And if they work with Linux, the maintainers of these drivers, often the manufacturers, are publicly listed and are the ones that will try and troubleshoot it with you.

Re:Ask HN: Why the Linux Kernel doesn't have unit tests? by baq on Friday November 25, 2022 @10:06AM (#33742999)
Sometimes it’s just obvious like a bad assumption.