But Nothing's Changed...
Randomly, the other day my computer began reporting only two CPU cores instead of the physical four cores it really has.
Forget Hyper-threading, my CPU does not do this; they are real cores, an Intel Q6600 Quad Core CPU. But Ubuntu only displayed two CPUs.
Interestingly "dmesg" did show something unusual, 2 "hotplug CPUs".
Somehow the HPET ACPI table had become corrupted (BIOS side) and flipped a few bits resulting in loss of 2 cores; 1 and 3.
Which presented as hotplug CPUs:
After trying lots of noapic, nolapic and other kernel options I decided to reset the BIOS to defaults. On some systems this really requires removing the battery but on mine it was an option in the BIOS itself, which also allowed me to set back some unrelated preferences at the same time.
Now dmesg reports 4 CPUs and /proc/cpuinfo agrees.
So although nothing changed, nothing has changed from the user or software side, minor data corruption has caused this behaviour. Machines are not utterly predictable.
Random things that interest me. Be they intellectual, technical, humorous or just plain weird. Hopefully they will be interesting or useful to someone.
Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts
Tuesday, 29 January 2013
Friday, 4 November 2011
Mounting SMB shares from NAS in Linux
When mounting SMB shares in linux from a NAS box I got this error:
I discovered that the problem is the NAS device's implementation of SMB requires the "nounix" option to be specified.
Hope this helps someone.
Friday, 30 September 2011
Converting lossless WMA to WAV/FLAC in linux.
While trying to figure this out I found this blog: http://thestrayworld.com/2010/04/23/how-to-convert-wma-lossless-to-flac-in-ubuntu-karmic/
Which should work but is not succinct and involves redundant operations.
Firstly, if you do download wmp11-windowsxp-x86-enu.exe from Microsoft (where else ;¬) , you do not need to install it under Wine.
You do need Wine though, so get that first if you don't have it.
Instructions for Ubuntu, other distributions may differ.
Right click on the wmp11-windowsxp-x86-enu.exe file and choose:
Open With > Archive Manager.
Then in the Archive Manager extract and run WindowsXP-MSCompPackV1-x86.exe .
Then install foobar2000 under wine, it will be able to play and convert lossless WMA.
I am fairly sure that this is not the only way and that there may be a way to include WMA lossless functionality into some native app's but it certainly is easy.
I hope this saves somebody some time.
Subscribe to:
Posts (Atom)