Hey coreplayer2!
I tried your script this morning and all worked smoothly (although I could not test the part with kernel modules because the computer I have access to right now does not have the specs for compiling a kernel, nor do I have the time). That said, your script basically does the same thing mine does.
However, I tried to boot on this computer the core-new.gz attempts that failed on the computer I used before: all boot attempts worked! The former PC was your standard core-duo- or amd-based 4-core tower PC, whereas the computer I use now is a low-power Shuttle PC…
That will certainly complicate things, because it will be months, if not a year, before I can access the PC where the tests failed again
In a week or so, I should be able to use a computer more similar to the PC where the boot attempts failed; I’ll update the topic then.
As for the number of processors/cores, I mentioned it because the problem I experienced before disappears when boot is forced in mono-processor mode, either with maxcpus=0, or with ioapic=0 iolapic=0.