News for hackers. Stuff that matters.
Re:Linux kernel exceeds 15 million lines of code by 4ad on Friday January 13, 2012 @10:22AM (#3460889)
> in the early days, Linus actually used to reboot to test the kernel, booting from floppy disks. I wouldn't have the patience.

Still required all the time if you develop drivers for physical hardware.

Still required at some point if you develop other kernel mode components because you can get bugs reproducible only on physical hardware because of different timings, cache coherency bugs (rare, but more often than you think) or broken ACPI routing tables (Every motherboard in existence has a broken ACPI table and the kernel has to deal with it).

Re:Linux kernel exceeds 15 million lines of code by exDM69 on Friday January 13, 2012 @04:10PM (#3462422)
> Still required all the time if you develop drivers for physical hardware.

Thankfully, this is not quite true. Most Linux drivers are implemented as kernel modules, which can be loaded and unloaded at runtime. No rebooting necessary.

The guys who develop drivers for hardware that cannot be implemented as a kernel module (like some motherboard chipsets) probably have another machine for debugging or have some kind of dev boards to make their workflow more efficient.

Re:Linux kernel exceeds 15 million lines of code by 4ad on Friday January 13, 2012 @07:15PM (#3463018)
Thanks for telling me how to do my job, I'm a kernel developer :-).

A bug in kernel code means you panic the machine, so you have to do a reboot.

Whether you load the modules at runtime, on demand, or the driver is statically compiled into the kernel has nothing to do with it. The decision of when to do linking does not influence development a bit.

Also, having multiple machines is required, not optional, because you use the dev machine to connect with a kernel debugger through a serial/firewire link to the test machine.

Re:Linux kernel exceeds 15 million lines of code by tuukkah on Friday January 13, 2012 @12:08PM (#3461346)
You're not required to boot from floppy disks these days :-) You can even test on another machine without installing the new kernel by using network boot.
Re:Linux kernel exceeds 15 million lines of code by 4ad on Friday January 13, 2012 @12:40PM (#3461494)
Of course, I was just saying the reboot - test cycle on a physical machine is still required, details are insignificant :-).