Atomic I/O letters column #117

Originally published 2010, in Atomic: Maximum Power Computing
Reprinted here June 9, 2011
Last modified 16-Jan-2015.
 

The flash-RAM anti-TARDIS

I made a foolish impulse bid or two on eBay the other week, and soon became the proud owner of two 32GB SDHC memory cards for around $24 each, free postage. They arrived in my hands a short time later; I opened the package... but something didn't seem quite right. In fact the only thing running through my mind was that I had bought counterfeit chips. Shouldn't there be some sort of cardboard packaging saying how fantastic it is? Why is there an air bubble underneath the sticker? How can the sticker claim this to be "Class 6" (the highest class) when it looks terribly boring (it's not shiny!)??

I ran off to Google and found that "h2testw" was the weapon of choice in testing whether an SD card was fake or not, and the results of course confirmed it was. Curse that seller's 99.2% positive feedback! The test reported "1.9 GByte OK 29.0 GByte DATA LOST" among other things.

I am wondering how they managed to trick the operating system into thinking a 1.9GB card is 32GB? Is this something I could do as a cool party trick? Could I "upgrade" the family's old 40GB hard drive to 1TB?

James

h2testw reporting bad news
H2Testw, the Bearer of Bad News.

Answer:
It's quite easy to, with the right firmware-burning software, tell a memory card or USB stick to report a much higher capacity than it actually has. This is the way this irritatingly common scam always works. The card or thumb drive really does have some memory on it, and the real memory is at the "front" of the device, the first to be filled.

So, at first, these devices seem to work, and the scam artist responsible gets good eBay feedback (though they often fold up their eBay/PayPal accounts and steal away into the night, if you file a dispute).

Unless, of course, the buyer is suspicious like you and runs a testing program, or just manually fills the device with data and then sees if it's possible to read all of it back (you only need to test the last file you copied...). Then the subterfuge becomes apparent.

It's theoretically possible to re-flash the firmware to only report the real capacity and thus get some use out of the thing, but in practice you probably won't be able to do it.

The correct course of action is to save the fake cards in a baggie for giving to people you don't like, and file an eBayPal complaint with ABSOLUTELY NO EXPECTATION that you will actually get your money back, even after weeks on end of Kafka-esque interactions with a long sequence of pseudonymed eBayPal representatives who will cheerfully instruct you to do the same impossible things over and over and over, like have the fake cards somehow "appraised", or get a US police report form from the Australian police.

No, I'm not speaking from experience. Whatever gave you that idea?

And yes, it's possible to do similar tricks with all sorts of other storage devices. Just as it's possible to make a Zip file that will try to expand into countless hyperbytes of data, it is also possible to make a hard drive with more apparent capacity than Google, or indeed a floppy disk with more capacity than the NCC-1701E's computer. This trick was used as a (rather weak) copy-protection technique, back in the floppy-disk days.

 

The Diamond (Heatsink) Age

The precariousness of the diamond "market" is well known among internet types, however a crash hasn't happened as predicted in this fascinating old (1982) article.

Nor have high-pressure high-temperature synthesis and chemical vapour deposition diamonds had much impact on the general public's idea of the worth of diamonds.

Do you think there will ever be diamond crash? Will we ever see the fabled diamond heatsink? Would we even want one? I imagine they would be pretty difficult to manufacture practically.

Alex

Answer:
Diamond does indeed have very high thermal conductivity. Super-pure synthetic diamond can beat the thermal conductivity of copper (silver's only around 20% better than copper) by at least a factor of ten, and possibly a lot more.

And, as that Atlantic article explains, the major players in the diamond market have kept diamond prices artificially high for a very long time, by restricting supply and by strangling the second-hand market. Artificial diamond technologies have been advancing steadily - it's been possible to make small industrial diamonds inexpensively in bulk for a long time. But artificial diamonds haven't had much of an effect on the gem market yet.

The demand for cheap gem diamonds is smaller than you might think, too, because of non-diamond artificial gems - today usually cubic zirconia (cubic-crystalline zirconium dioxide) and clear silicon carbide, a.k.a. "moissanite".

These fake diamonds look great, and are already quite cheap to make (very cheap, in the case of CZ). And CZ is a lousy thermal conductor, but moissanite is a very good one, and has already been used for heat-transfer in chip packages.

(So, by the way, have several composites that mix diamond dust into metal alloys. Their conductivity is much lower than plain diamond, but their composition can be fine-tuned so it matches the thermal expansion of the chip materials they're bonded to.)

You shouldn't expect to see an actual diamond heat sink - as opposed to some sort of diamond heat spreader inside or on top of a chip package - of any significant size for a long time. Possibly never. You'd need to be making really huge synthetic diamonds to be able to carve 'em into something even the size of a northbridge-chip cooler, and I don't think anybody knows how to make 'em that big yet.

We can, and do, already make giant "boules" of synthetic silicon and corundum - and synthetic rubies and sapphires chemically identical to the "real" stones, are very cheap. But diamond is much more difficult to make in big lumps.

Diamond is also very difficult to shape, because it's so very hard, and also brittle. (There's a myth that diamonds are as strong as they are hard, so you can test an unknown stone by whacking it with a hammer. Nobody knows how many real diamonds have been smashed this way.)

To minimise the shaping problem, you'd want to make your original synthetic diamond lump as close as possible to the shape of whatever the final product is going to be. In the case of a finned heatsink, this would probably be extremely difficult.

As I said the last time I wrote about this, there are several industries that have a use for big artificial diamond lumps - like people making "anvils" for ultra-high-pressure science, for instance. Those industries are willing to pay a very great deal more than heat-sink prices for big diamonds. So unless someone does come up with an inexpensive process for making tennis-ball-sized diamonds in bulk, you shouldn't expect to ever see a diamond heat sink.

 

Another bug hunt

One day, not so very long ago, I turned on my monitor to find no picture. As the computer was still sharing files on the network, the monitor worked fine with my laptop, and the standard fix-it technique of any computer user (restarting) didn't change anything, I thought it was probably a faulty (PCIe) video card. I turned the computer off, and requested a replacement.

A few days later, I tried turning the computer on (without a video card) to access a file on a network share, only to hear continual long beeps from the PC speaker. The manual suggested that this meant faulty memory, so I made a new diagnosis: faulty northbridge. A few days later, a replacement motherboard arrived. I plugged the CPU, RAM, and video card back in, turned the power on, and again, no picture and continual long beeps. I replaced the memory with two new sticks, and tried again. This time, while there was still no picture, the computer booted and showed up on the network. So, after using some moderately offensive language, I requested replacement RAM and I bought a new video card (since there was a month-long wait to get the old card replaced).

I left the computer running headless while I awaited the replacement parts. Of course, the PC was not to be treated in such a blatantly disrespectful way, and so it shut itself down one night. When I tried to restart it, I was relieved not to hear any POST error beeps. Not so happy not to hear any POST success beep - the CPU fan turned on, but the PC now refused to boot at all. Even removing the memory entirely couldn't convince it to signal any errors. So, resigned to my fate, I bought a new CPU (a Core 2 Duo 7400), which arrived today. I plugged it in, along with the new video card and new RAM... with no change. Still no picture, still no POST beep, still nothing.

So here, at last, is my question: WTF? Could the source of all these problems be the PSU (a 520W Corsair modular unit, and the only component which hasn't been replaced in the last month), or am I unlucky enough to have got a bad replacement for the motherboard? Or, as I am beginning to suspect, am I missing something completely bloody obvious?

Craig

Answer:
Yes, the PSU would be my first guess given pretty much any cluster of bizarre symptoms like these. Hardware does peculiar things when it doesn't get enough volts. And, as I've written many times, a spare PSU is a good thing to have on the shelf anyway, so there's not much lost if the PSU turns out to not be the problem.

If swapping in a new PSU doesn't help, my next step would be to look for electrical weirdness inside the case. Are there, for instance, any motherboard standoffs accidentally installed in places where there is not actually a hole through the motherboard? Also look for loose screws, washers, eggbeaters, crowbars et cetera that may have fallen into the works. And make sure all of the cooling fans can spin, and that the heat sinks aren't clogged with dust. Also make sure all heat sinks are properly installed, and haven't come loose. A stone-cold heat sink is one that probably isn't making proper thermal contact with the thing it's meant to be cooling.

It is also possible that one or more components of the PC have been static-zapped before, or during, your attempts to rectify the problem. Many totally mystifying PC problems are like this; there's something wrong with Component X, but in the process of replacing it Component Y gets half-toasted, and now the hapless user thinks the replacement X has something wrong with it.

Just talismanically touching the computer chassis while working is a good enough anti-static precaution 95% of the time, but it's very cheap to do it properly. Get yourself an anti-static wrist strap (if you've got a PayPal account, it's hard to go past this one!), and use it.

 

Stop cursing during prime time

When I change the volume on my Windows XP laptop (shut up, it works), I get a DEAFENING beep. Stupidly loud. I'm afraid that it's hurting the tiny speakers. I could swear it even did it once when the audio was muted.

I've updated the audio drivers, I've removed the sound adapter and redetected it, I've sacrificed a goat, nothing works. Is this God telling me to upgrade?

Cai

Answer:
Maybe, but you can ignore Him.

Go to Device Manager, View menu, "Show Hidden Devices", and under "Non-Plug and Play Drivers" you'll find "Beep". That's the old "PC speaker" error/notification beep, which is being redirected to your audio device at maximum volume.

Disable Beep, and the outrageous noise will be silenced.

 

Other letters columns

I/O #1
I/O #2
I/O #3
I/O #4
I/O #5
I/O #6
I/O #7
I/O #8
I/O #9
I/O #10
I/O #11
I/O #12
I/O #13
I/O #14
I/O #15
I/O #16
I/O #17
I/O #18
I/O #19
I/O #20
I/O #21
I/O #22
I/O #23
I/O #24
I/O #25
I/O #26
I/O #27
I/O #28
I/O #29
I/O #30
I/O #31
I/O #32
I/O #33
I/O #34
I/O #35
I/O #36
I/O #37
I/O #38
I/O #39
I/O #40
I/O #41
I/O #42
I/O #43
I/O #44
I/O #45
I/O #46
I/O #47
I/O #48
I/O #49
I/O #50
I/O #51
I/O #52
I/O #53
I/O #54
I/O #55
I/O #56
I/O #57
I/O #58
I/O #59
I/O #60
I/O #61
I/O #62
I/O #63
I/O #64
I/O #65
I/O #66
I/O #67
I/O #68
I/O #69
I/O #70
I/O #71
I/O #72
I/O #73
I/O #74
I/O #75
I/O #76
I/O #77
I/O #78
I/O #79
I/O #80
I/O #81
I/O #82
I/O #83
I/O #84
I/O #85
I/O #86
I/O #87
I/O #88
I/O #89
I/O #90
I/O #91
I/O #92
I/O #93
I/O #94
I/O #95
I/O #96
I/O #97
I/O #98
I/O #99
I/O #100
I/O #101
I/O #102
I/O #103
I/O #104
I/O #105
I/O #106
I/O #107
I/O #108
I/O #109
I/O #109
I/O #110
I/O #111
I/O #112
I/O #113
I/O #114
I/O #115
I/O #116
I/O #117
I/O #118
I/O #119
I/O #120
I/O #121
I/O #122
I/O #123
I/O #124
I/O #125
I/O #126
I/O #127
I/O #128
I/O #129
I/O #130
I/O #131
I/O #132
I/O #133
I/O #134
I/O #135
I/O #136
I/O #137
I/O #138
I/O #139
I/O #140
I/O #141
I/O #142
I/O #143
I/O #144
I/O #145
I/O #146
I/O #147
I/O #148
I/O #149
I/O #150
I/O #151
I/O #152
I/O #153
I/O #154
I/O #155
I/O #156
I/O #157
I/O #158
I/O #159
I/O #160
I/O #161
I/O #162
I/O #163
I/O #164
Dan's Data letters #1
Dan's Data letters #2
Dan's Data letters #3
Dan's Data letters #4
Dan's Data letters #5
Dan's Data letters #6
Dan's Data letters #7
Dan's Data letters #8
Dan's Data letters #9
Dan's Data letters #10
Dan's Data letters #11
Dan's Data letters #12
Dan's Data letters #13
Dan's Data letters #14
Dan's Data letters #15
Dan's Data letters #16
Dan's Data letters #17
Dan's Data letters #18
Dan's Data letters #19
Dan's Data letters #20
Dan's Data letters #21
Dan's Data letters #22
Dan's Data letters #23
Dan's Data letters #24
Dan's Data letters #25
Dan's Data letters #26
Dan's Data letters #27
Dan's Data letters #28
Dan's Data letters #29
Dan's Data letters #30
Dan's Data letters #31
Dan's Data letters #32
Dan's Data letters #33
Dan's Data letters #34
Dan's Data letters #35
Dan's Data letters #36
Dan's Data letters #37
Dan's Data letters #38
Dan's Data letters #39
Dan's Data letters #40
Dan's Data letters #41
Dan's Data letters #42
Dan's Data letters #43
Dan's Data letters #44
Dan's Data letters #45
Dan's Data letters #46
Dan's Data letters #47
Dan's Data letters #48
Dan's Data letters #49
Dan's Data letters #50
Dan's Data letters #51
Dan's Data letters #52
Dan's Data letters #53
Dan's Data letters #54
Dan's Data letters #55
Dan's Data letters #56
Dan's Data letters #57
Dan's Data letters #58
Dan's Data letters #59
Dan's Data letters #60
Dan's Data letters #61
Dan's Data letters #62
Dan's Data letters #63
Dan's Data letters #64
Dan's Data letters #65
Dan's Data letters #66
Dan's Data letters #67
Dan's Data letters #68
Dan's Data letters #69
Dan's Data letters #70
Dan's Data letters #71
Dan's Data letters #72
Dan's Data letters #73
Dan's Data letters #74
Dan's Data letters #75
Dan's Data letters #76
Dan's Data letters #77
Dan's Data letters #78
Dan's Data letters #79
Dan's Data letters #80
Dan's Data letters #81
Dan's Data letters #82
Dan's Data letters #83
Dan's Data letters #84
Dan's Data letters #85
Dan's Data letters #86
Dan's Data letters #87
Dan's Data letters #88
Dan's Data letters #89
Dan's Data letters #90
Dan's Data letters #91
Dan's Data letters #92
Dan's Data letters #93
Dan's Data letters #94
Dan's Data letters #95
Dan's Data letters #96
Dan's Data letters #97
Dan's Data letters #98
Dan's Data letters #99
Dan's Data letters #100
Dan's Data letters #101
Dan's Data letters #102
Dan's Data letters #103
Dan's Data letters #104
Dan's Data letters #105
Dan's Data letters #106
Dan's Data letters #107
Dan's Data letters #108
Dan's Data letters #109
Dan's Data letters #110
Dan's Data letters #111
Dan's Data letters #112
Dan's Data letters #113
Dan's Data letters #114
Dan's Data letters #115
Dan's Data letters #116
Dan's Data letters #117
Dan's Data letters #118
Dan's Data letters #119
Dan's Data letters #120
Dan's Data letters #121
Dan's Data letters #122
Dan's Data letters #123
Dan's Data letters #124
Dan's Data letters #125
Dan's Data letters #126
Dan's Data letters #127
Dan's Data letters #128
Dan's Data letters #129
Dan's Data letters #130
Dan's Data letters #131
Dan's Data letters #132
Dan's Data letters #133
Dan's Data letters #134
Dan's Data letters #135
Dan's Data letters #136
Dan's Data letters #137
Dan's Data letters #138
Dan's Data letters #139
Dan's Data letters #140
Dan's Data letters #141
Dan's Data letters #142
Dan's Data letters #143
Dan's Data letters #144
Dan's Data letters #145
Dan's Data letters #146
Dan's Data letters #147
Dan's Data letters #148
Dan's Data letters #149
Dan's Data letters #150
Dan's Data letters #151
Dan's Data letters #152
Dan's Data letters #153
Dan's Data letters #154
Dan's Data letters #155
Dan's Data letters #156
Dan's Data letters #157
Dan's Data letters #158
Dan's Data letters #159
Dan's Data letters #160
Dan's Data letters #161
Dan's Data letters #162
Dan's Data letters #163
Dan's Data letters #164
Dan's Data letters #165
Dan's Data letters #166
Dan's Data letters #167
Dan's Data letters #168
Dan's Data letters #169
Dan's Data letters #170
Dan's Data letters #171
Dan's Data letters #172
Dan's Data letters #173
Dan's Data letters #174
Dan's Data letters #175
Dan's Data letters #176
Dan's Data letters #177
Dan's Data letters #178
Dan's Data letters #179
Dan's Data letters #180
Dan's Data letters #181
Dan's Data letters #182
Dan's Data letters #183
Dan's Data letters #184
Dan's Data letters #185
Dan's Data letters #186
Dan's Data letters #187
Dan's Data letters #188
Dan's Data letters #189
Dan's Data letters #190
Dan's Data letters #191
Dan's Data letters #192
Dan's Data letters #193
Dan's Data letters #194
Dan's Data letters #195
Dan's Data letters #196
Dan's Data letters #197
Dan's Data letters #198
Dan's Data letters #199
Dan's Data letters #200
Dan's Data letters #201
Dan's Data letters #202
Dan's Data letters #203
Dan's Data letters #204
Dan's Data letters #205
Dan's Data letters #206
Dan's Data letters #207
Dan's Data letters #208
Dan's Data letters #209
Dan's Data letters #210



Give Dan some money!
(and no-one gets hurt)