Upgrading a KVM/QEMU Windows Guest Domain to Windows 10

You are likely to run into the following error during the upgrade process:

Windows 10 installation failed in SAFE_OS phas with error during boot

The error code reported to you when you reboot the system and it rolls back changes into the old OS is likely:

0xC1900101 – 0x20017

This appears to occur because Windows doesn’t care for the QEMU-provided CPU unless you’re using (as far as I am aware) the core2duo emulation option.

So, simply shut down the guest domain, choose “core2duo” as the CPU type, downgrade your processor count to 2 (if necessary), and retry the operation.  It succeeded for me!  After the upgrade, it seems you can reset the CPU to host (or whatever you use) and increase the processor count without issue.

Additional note:  If you’re using the Red hat VirtIO drivers in Windows 7, Windows 10 will work with those drivers during the upgrade process without an issue.


Posted in Information Technology | Tagged , , , | Leave a comment

Extending Storage for an LVM-Backed Windows Guest Domain with KVM/QEMU

Well that was significantly more painful than I had anticipated.  Here’s the quick and dirty instruction set which involves multiple tools, perhaps needlessly, since I was investigating the issue for some time:

  1. Shut down the guest domain (someone might be able to whip up an online resize method, but given the GPT modifications I required, I’m not sure).
  2. Extend the logical volume providing the guest domain’s storage (I’m using raw storage on an LVM) with lvextend as usual.
    1. Example:  lvextend guests/domainVolume -L +40G
  3. Open up the logical volume with gdisk and repair the now-corrupt GPTs (both primary and backup) so that they properly recognize the disk size.
    1. If gpart detects the GPTs as valid, then perform a ‘v’ (to verify the disk).  The gpart utility will inform you that the secondary header’s self-pointer indicates that it doesn’t reside at the end of the disk. You may then use the ‘x’
      option to enter the experts’ menu where you can use the ‘e’ option to relocate the secondary header to the end of the now-extended volume.
  4. Start up the guest domain
    1. Within Windows’ Virtual Disk Manager, I noted that my partition layout was correct (with the system volume extended and everything); this was likely because I had attempted to extend the system partition previously (between steps 2 and 3) and was receiving “Invalid Operation” errors from Windows.  It probably made some headway but failed halfway through, so the partition was properly recognized as extended after I fixed the GPT.
  5. Use Windows diskpart to select the volume targeted for extension (e.g. select volume 3), and extend the filesystem on the volume (extend filesystem).

That is more of a pain than it should be.  Silly Windows VDS.

Posted in Information Technology | Tagged , , , , | Leave a comment

If trump Found the Ring of Gyges..

You know, I actually said to the illustrious philosoraptor a while back, “If that guy found the Ring of Gyges, people would start disappearing.”  And now we have a little insight into just how accurate that assessment seems to have been.

It is really pretty amazing how fervently trump supporters are defending his words as “locker room banter” or what the hell ever.

First, a wee, less important point: I have a hard time thinking most men aren’t garbage. That is my reflexive, perhaps largely emotional position on that general matter. Despite that, and despite having been exposed to my fair share of private interpersonal dialogue between men who were actually garbage, only once or twice did the content of those dialogues resemble trump’s speech. I guess I don’t find it incredibly hard to believe that a large portion of this country is defending his words by asserting abject disbelief in the possibility that other men don’t speak like this in private, given my general inclination towards the belief that most men are garbage, but given that trump’s particularly vile speech is an order of magnitude or so above that which I have typically felt earns men the classification of “garbage,” it is kinda surprising, actually.

The second, most important point, however, seems to be completely eclipsed by the fact that trump was speaking about his penchant for casual sexual assault. The most important point, I think, is that we have this guy, somehow being considered for the office of the President of the United States, on tape saying that he can freely express his penchant for sexual assault because he’s “a star” (loosely construed, apparently), and so he can do anything he wants.

Of course, it should have been an easy inference for anyone to make up until this point that trump is approximately this kind of person. He does not seem to care for anything other than his own aggrandizement and pleasure, and he has repeatedly voiced positions that would have disqualified him from mainstream Republican support were the Republicans not already self-whipped into a near-completely-irrational frenzy over the grossly exaggerated failings of HRC, but now we have actual, direct evidence that he takes whatever advantage conferred upon him by a (much) lower position of social power to do nothing less than sexually assault women for fun.

It is a testament in favor of all those great thinkers of history who thought democracy untenable that the completely irrational means by which so many of our country’s denizens make their decisions should be laid so plainly bare before us all.

HRC is not a great choice. I’ve even written that, were we a stronger nation, she would indeed face jail for her willful negligence in handling our national security. But, sadly, we have a simple choice: it’s her or far, far, unambiguously disastrously far worse. Trump has all the makings of the next Nixon, though without any of Nixon’s good qualities. You can rightfully bemoan the two-party system. You can bemoan the poor choice had in HRC. But in my estimation, the actually unprecedented risk to the nation posed by Trump merits extreme caution and discipline which mandates of us all a vote for HRC. And if she is evaluated objectively, again sadly, it will be found that she is not that far worse than a typical American political candidate.

I don’t like the status quo. I want to see something awesome happen, and I don’t think HRC will bring that about, but I’ll be damned if I fail to cast my vote in a way that does anything other than seek most efficaciously to prevent someone like trump from holding our nation’s highest office.

Posted in Politics | Leave a comment

Linux Kernel 4.7 Memory Allocation Bug (mm/slub.c)

Just a heads up if you’re seeing unpalatable behavior with your Fedora 23 or Fedora 24 rig running any of the 4.7.* kernels:  It looks like Kernel 4.7 may have introduced a memory management bug.  It looks like the bug may be happening as a result of commits to the slub.c code, an example of which can be found here.

I was reticent to blame the kernel since I’m making use of Tianocore firmware in running a fairly sophisticated virtualization platform, but after running known good versions of the firmware and a vast array of combinations of operations, it appears the issue is likely with the kernel.  The fact that two individuals have issues a bug report involving the exact same line of slub.c code which I am seeing referenced in my journal (mm/slub.c:3661) and the fact that this code was updated with Kernel 4.7 gives me some confidence in the diagnosis.

The issue as documented in the bug reports spreads it across two fairly distinct server implementations (NFS and Virtualization) with my issue falling into the latter category.  Both of these services, of course, are tightly integrated with the kernel and it appears that both reports show the crash occurring during kernel memory management operations (kfree and kmalloc syscalls).  With NFS, the sunrpc do_cache_clean process looks to be causing issues across the Interwebs.  With KVM/QEMU, the VMs making use of host-based USB devices likely cause crashes when they are shut down because the kernel is then remapping those devices to memory spaces for the KVM/QEMU host OS.

This is all pretty good diagnostic information, I imagine; a more knowledgeable kernel programmer will likely be able to determine the cause of the issue here far more readily and precisely than I, so I’m hopeful that the issue is addressed with kernel 4.8.

Kernel 4.6.* works without a problem, but, of course, one ought not to run old kernels if it can be avoided at all.  Unfortunately, the order to upgrade from the 4.6.7 kernel has already been given.


Posted in Information Technology | Tagged , , , , | Leave a comment

Navigating the Tianocore UEFI Shell

Just in case you end up getting dropped to the UEFI shell when attempting to start a Windows guest domain with KVM/QEMU/Tianocore, I thought I might post a little shot from Alex Williams’ extremely helpful series (to which I’ve already linked in my Windows VM + PCI Passthrough instructions):

I’m not sure why I got dropped in there since the VM has been working without issue for a while, but I’ll update the post if I figure out the cause.

Update:  Looks like it was due to an upgrade for the Tianocore firmware.

Posted in Information Technology | Tagged , , , , , | Leave a comment

The Apparent Correlation Between Race and IQ

Look, there seems to be one.  Deal with it.

I can’t get over the fact that these people opposed to merely observing an apparent correlation between race and IQ seem to be victims of their own inability to understand the simple fact that odious ends are not warranted by such observations.

Per the article, for example; if it is true that Hispanic people have, on average, a lower IQ than white people, that does not justify screening immigrants for IQ.  What the hell is that?  We don’t give people IQ tests before they’re permitted to be Americans.  There’s no justification for choosing characteristics such as IQ (or strength, or weight, or height…) to be requirements for citizenship in America.  What, are we going to give these tests to all children born in America, as well, and deport any who fail to meet the standard?

Such a measure has nothing to do with the correlation between race and IQ at all.  Its worthiness of implementation has nothing to do with that correlation.

It would probably actually be better for America if people had this data shoved into their faces so the population at large would have to grow up and figure out the simple fact that people aren’t to be discriminated against because of such attributes.  People would have to realize that a morally upright person who seeks what is good despite a low IQ is far more valuable than a morally despicable person who makes use of a high IQ to do wrong.  And who would you rather have as a neighbor?

Humans covered this subject matter forever ago.  Socrates whomped Thrasymachus, proving that might does not make right, and that applies to physical as well as intellectual might.  You don’t get to abuse others because you’re stronger than they are, and you don’t get to abuse others because you’re smarter than they are.

Unless I’m missing something extremely obvious, this stuff is so simple, it’s just pathetic.  If we can’t realize that we must respectfully coexist despite even important, consequential distinctions in our qualities, we’re going to be eugenicist, totalitarian asshats in no time flat.

The worst of it all is that these people arguing against investigation into correlations between race and IQ are basically agreeing with the racists they despise in some critical fashion.  They’re saying, in effect, that we must avert our eyes, for if we see the facts we think we will see, then we’ll have to admit the racists are right.

And that’s some bull shit, right there.  A real difference in qualities such as IQ or strength among races does not mean we get to segregate the races.  The American ideal of meritocracy has been remediated so that it applies equally to all races and sexes, as it should have from the beginning.  And it should be further refined, in my opinion, to be more aligned with a moral meritocracy, at that.  I am tired of watching hard-working blue collar people forced to live with a pittance because their labor, still absolutely necessary for the success of America, is less valued by virtue of some sort of unreasonable worship for intelligence in this country.  There was a time when I worked an extremely labor-intensive warehouse job, and I think back on this from my comfortable white collar office often, especially when I observe laziness or incompetence among other white collar workers who nonetheless earn far more than honest, unbelievably hard-working blue collar laborers.

So far from banning research into IQ differences among human beings, we should allow the recognition of IQ differences and our moral obligations to one another to provoke us to better our condition.  I disagree with the author of the above-linked article suggesting a ban on such research, for its use is not in the end of the racist, but rather the end of those who want to better our society; principally, we should focus on ensuring that the horrendous income inequality plaguing this nation is addressed.  We neither need, nor should we desire, that positions more easily reached by those bearing natural advantages should offer the outrageously superior access to wealth currently featured in our society.  Everywhere we should endeavor to equally reward honest effort.

If you don’t win the genetic lottery and you wind up starting the game with a lower IQ than others, well then you’re playing the game of life on hard mode.  That is to be respected, and your successes are that much more valuable for it.  And even though it wasn’t that great of a movie overall, my favorite part of Alien 3, by far, was Francis Aaron’s character, called “85” mockingly by those around him who learned of his IQ from his personnel file.  His courage and moral fortitude was indispensable, and his work ethic allowed him to overcome that particular genetic disadvantage.

Next up: people argue we should stop investigating a correlation between genetic disorders and disability.  ‘Cause I mean, if there is such a correlation, we’ll just have to kick all people with genetic disorders out of America, right?


P.S.  White people aren’t the ultimate winners of the IQ genetic lottery; that seems to be those of Asian or Jewish descent.  So that’s always fun to point out to wrongheaded white supremacists, too.

Posted in Politics | Leave a comment

The Crux of Modern PC Sophistry: The False Equivocation of Violence and Speech

As most people are aware, there has been a recent (within the past few years) surge on American college campuses in the creation of and request for “safe spaces” in which certain topics of discussion are verboten and dissent of certain forms is prohibited.

These “safe spaces” accompany “trigger warnings” and “de-platforming” among neo-PC tactics designed to quash opinions which are considered not only disagreeable or wrong, but downright violent.

This attempt to expand the concept of violence to include the expression of opinions which one may even contend can lead to irrational acts of actual violence (e.g. a speech which condemns homosexuality as immoral could be drawn upon as justification by individuals who would stalk, assault, or even murder homosexuals) is, itself, dangerous.  It is simply not true that speech is violent; violence refers to the use of physical force against someone or something.  This is a distinction which has long been held as important by civilized society, referenced in even the old adage “sticks and stones may break my bones, but words will never hurt me.”  It is a mark of maturity to recognize the distinction between violence and speech, and to give wide opportunity for the latter and narrow permission for the former.

Of course, there is such a thing as hurtful speech.  It is a different kind of hurt from physical violence, but it can cause mental anguish nonetheless, and this is important.  It is immoral to groundlessly insult others.  It is immoral to harass others.  It is to behave in the manner of undisciplined children and it should be called out for being what it is.  We of a civilized society ought not to sit idly by while others act in such a way.

But, seemingly dissatisfied with the extent of opposition to this behavior afforded by reason, the modern PC movement rests, perhaps primarily, on an attempt to falsely equivocate between violence and unpalatable speech.  Just take a look at the following crucial excerpt from the recent faculty letter written in response to the University of Chicago’s letter to the incoming class of 2020 which informs the class, in part:

Our commitment to academic freedom means that we do not support so called ‘trigger warnings,’ we do not cancel invited speakers because their topics might prove controversial, and we do not condone the creation of intellectual ‘safe spaces’ where individuals can retreat from ideas and perspectives at odds with their own.

This is a strike back at exactly what has been discussed above: de-platforming, safe spaces, and trigger warnings.  Now take a look at the following crucial excerpt from the recent faculty letter written in response to that letter:

The history of “safe spaces” goes back to gay, civil rights, and feminist efforts of the mid–20th century to create places protected from quite real forces of violence and intimidation. They also served as incubators of new ideas away from the censure of the very authorities threatened by these movements. It would be naïve to think that the University of Chicago is immune from social problems. Yet the administration confusingly disconnects “safe spaces” it supports (see the list of mentoring services on the College’s own website) from “intellectual safe spaces” that it does not, as if issues of power and vulnerability stop at the classroom door.

In this excerpt, the faculty plainly and falsely equate the actual violence and intimidation (using the threat of violence) against black Americans during the Civil Rights movement of the 1960s and the “issues of power and vulnerability” within a college classroom.

This may seem to be frivolous nit-picking when the discussion is honed down to a single example, but it is representative of a large scale problem.  Just Googling about in today’s news will quickly skim examples for anyone curious to see them.  This false equivocation is pervading modern discussion, often injected by means of reference to some actual immoral behavior (see the examples link above) in order to quell dissent.  Who would want to argue a technical point when a person has committed suicide in a desperate attempt to escape humiliating harassment?  Who would want to defend the harassers from allegations of violence?

But the technical point is important.  The truth is important.  And the truth does not fail to satisfy, for though its recognition brings clarity which prevents error, it does not exonerate the immoral.  Though they are not guilty of violence, those who coerce suicide through harassment are despicable.  We need no false equivocation to understand this.  Though we must treat them differently from those who are violent, those who berate and insult others remain guilty of their immorality.

Losing sight of this distinction, we are now at a risk in our culture of turning to serious error.  For, if these are genuinely equivalent issues, the violent opposition faced by black Civil Rights activists of the 1960s and the trials and tribulations of modern college classroom discussion, then one is forced to accept that one who believes, for example, that homosexuality is immoral, is doing the same thing as committing violence against homosexuals by even respectfully expressing this belief.  This is the premise on which the neo-PC movement relies for its arguments in favor of so-called “safe spaces” and “trigger warnings.”  Beyond the usual consideration for others which is required of those participating in civil discussions (e.g. one shall not harass, nor insult, nor berate an interlocutor, particularly in discussions revolving around the morality of such an interlocutor’s life), the neo-PC wants to argue that beliefs which run against a certain subset of decisions or behaviors which have been declared off-limits by the neo-PC must not be expressed, lest this constitute an act of violence.

If this false equivalence is accepted, then of course it is equally as legitimate to prohibit a person from speaking to an audience as it is to prohibit a person from physically assaulting that audience.  This is how the neo-PC is attempting to force agreement with their often obviously wrongheaded ideals.  They have abandoned the use of reason, for such a path will not lead them to their intended destination; it will not free them from their duty to entertain, and even endure, dissent and critique, so they instead move to categorize all who disagree with them as violent aggressors from whom they must be protected.

It is difficult to argue against the neo-PC crowd and simultaneously lead them from their confusion.  This group has a serious slave mentality about them where victimhood is prized above all as an unassailable platform from which to hold any number of opinions with which others are compelled to agree.  Sometimes people who have endured actual victimhood at the hands of abusers or violent criminals find their homes within this group and, misled though they are, the issue is made murkier by their genuine suffering.  “You can’t tell me my trauma doesn’t matter,” they will scream.  “You can’t tell me how I ought to feel,” will be hurled at every opportunity.

But, of course, the fact is that people can overvalue things.  They can place unwarranted emphasis on things.  Their feelings can be wrong.  Their opinions can be wrong.  Their opinions about their feelings can be wrong.  And those who are actual victims do not triumph over their aggressors by living the rest of their lives cowering at anything which threatens to remind them of their past.  It is not easy to overcome legitimate hardship or come to terms with one’s own deficiencies, particularly when one is put in a particularly strenuous situation, but an answer to this difficulty the neo-PC has not.

And mankind has already treaded this ground.  It has long been established that there is an important distinction between objectivity and subjectivity, and it is the personal responsibility of every person to recognize and bring the latter into alignment with the former where necessary.  My subjective inclinations are no basis for the condemnation or oppression of others who disagree with them.  My personal hardship and sensitivities do not make microaggressors out of those around me.  To live together harmoniously and productively, we have to become capable of understanding how to reconcile our emotions and other often arational, or even irrational, inclinations with objective facts.

And this is what the neo-PC is fighting.  They want an impossible world in which they are free from critique (which they fear as much as violence), for they have established by fiat the areas of their lives for which critique is off-limits.  They do not see that, even were they to be granted permission to continue with their misguided venture, they would eventually collide with one another as their rising numbers would make the incompatibility of their irrational dictates less easily ignored.  We are all subject to objective reasoning not because our subjectivity is without value, but because, at the very least, its incommensurability with reason threatens unsustainable discord.  A civilized society simply cannot exist on the basis of governance with subjective whim for its basis.

We all have our struggles with civilization; at times, it seems it is everywhere a conspiracy against the individual.  But a studious and curious mind is compelled to admit of its benefits and the capabilities bestowed upon us which, in its absence, would be impossible to come by.  And it is only because of these invaluable consequences of civilized society that discussion of this neo-PC phenomenon is possible at all.  Its defeat is necessary to sustain the systems which provide the very opportunity for its entertainment.

Posted in Politics | Leave a comment