What Jessie Did Next...

...being the inane ramblings of a mundane Yorkshire bird.

Tag: geek (page 6 of 13)

After a long wait, Mac OS X 10.5.2 is out and available in Software Update.

My MacBook Pro took 3 reboots I think before it was back to the desktop, and then a “Leopard Graphics Update” appeared! I’ll give it a bit of hammer today and see how it performs, but I’m already pleased with the ‘list view’ in Stacks – I can have a sort-of ‘start button’ to list all my applications again, something I really miss in OS X.

Just a quickie note because I’m bored of relating the same data to everyone – there’s a Linux kernel exploit which seems to affect versions 2.6.17 to 2.6.24.1 and give root privs from any local user:

joel$ ./exploit
[..]
[+] mmap: 0xb7f29000 .. 0xb7f5b000
[+] root
root#

You can in some cases patch it live (!) but I’ve got at least two installations where I had to compile a new kernel.

There’s a patch at git.kernel.org, and you can test whether you’re vulnerable using milw0rm’s exploit proof-of-concept.

As a nice bonus this weekend I got given some MDFS hardware – this was a standalone setup which ‘talked’ Econet Level 2 and Level 3, so you needn’t run the FS on a Beeb. There’s some pics of SJ Research MDFS stuff over on Chris’s site, and a more thorough rundown of what it was over here: I’ll use it to replace the A4000 doing the L4 file server probably.

I’ll take some pics and get it all working when we’ve got Ellie’s birthday done with.

Just been reading on the BBC website that the Self Assessment submission page has died on the final day for submissions (giving this error).

The Service Availability page looks to be partially dead too – the stylesheet’s failing to load and without sensible fallback the information is patchy at best.

Trebles all round!

Monty Widenius (creator of MyISAM and MySQL) has announced the first public release of the Maria engine. This basically sounds like crash-safe MyISAM crossed with the InnoDB featureset, and there’s a Bitkeeper archive here.

It would certainly be nice to have fulltext column indexing in a format which supports ACID and row-level locking, together with the capability for foreign keys. It’s useful in some cases to have a table-per-file and would be even better if it was crash-safe 😛

I guess it’ll end up being version 2 or 3 before it’s ready for production, however. I certainly wouldn’t feel safe using something like that before it’s been through the mill at larger MySQL installations such as Yahoo, either.

More fodder for the ENUM-Bad-Or-Good argument!

I’ve just read this article over on the MySQL Performance Blog, comparing speed of ENUM vs VARCHAR vs Joined Tables.

I like ENUM and find it makes my life a lot easier in a lot of cases (but not all, let’s get that straight – it’s good where it’s appropriate).

Nice to know other people can justify use of it too 😛

Once again demonstrating an utter lack of clue, the EU guy in charge of the ‘personal data and privacy’ working group has stated IP addresses are personal data. I wonder what planet he’s on?

Back at Mailbox in the late 90s we’d allocate a block of 255 IP addresses to share between approximately 3000 dialup users, for instance. Then there’s the RFC1918 private address space, which not only is reused again and again the world over, but is regularly allocated by ISPs nowadays looking to conserve address space (as an example, Vodafone do this with their 3G service).

What an astounding display of fuckwittery.

Given the service manual arriving and a day away from the Beeb heap in the garage, I was absolutely champing at the bit to try and get the Domesday system working. After finding the focus error, the service manual suggested cleaning first (easy), or replacement of the focusing module (pretty much impossible). I’d got a few photography-grade cleaning buds in my lens bag so that seemed like the first port of call; goodness me, the muck that came off that lens, all that grease and dust – it’s a wonder the sodding thing hasn’t got more in it. Anyway, that cleaned, I powered it up with the debug codes on.

I’ll be honest with you, I wasn’t expecting it to work! Thus I was really pleasantly surprised when with a ‘rumble’ the disc span up. It seemed quite shaky on its bearings and spent 2-3 minutes ‘focusing’ and recalibrating itself, and eventually I shut it off again thinking it was still bust. Bring it up to read the POST codes some more and – well I’ll be damned, I was rewarded with the intro video from the Community Disc on the screen.

A quick bypass of the CUB monitor that the Beeb was showing, and this was the result. Hooray!

Power-down of the LV player to get rid of the POST codes, and it came back up no problems. No shaky disc, no problems reading, I spent the next ten minutes trying each side of both discs in turn which worked fine. It even showed the video on side 4, and searching worked fine. Now this is important, because in order for the computer to allow searching, almost everything needs to work – the SCSI card, the Master AIV, the 65C12 coprocessor inside the Master, the genlock (which is apparently one of the more frequent things to go pop) and the LV player itself.

All is not completely happy though – we still have no sound. There’s a very slight ‘fzz’ in the speaker when the audio is meant to get to a higher volume, and if you switch off either audio channel you get a satisfying ‘pop’ from the audio as it cuts in and out. This is leading me to believe it’s something as simple as a popped bit of the amplifier circuitry, which should be trivial to fix from the service manual.

If you’re curious, photos are here. There will be more (and some screenshots) once I’ve fixed the sound, and I’ll try and encode the video too.

I’ve not done a lot of Beeb stuff recently, primarily because the garage has been in such a state it’s been impractical to work in there. However with Christmas gone I can clear a lot of the junk out and that’s given me better access to the Domesday system I acquired late last year. Plus I was in a bit of a stinky mood last night so decided to have a crack at getting it all going again.

Having fixed the monitor, I was confident that I might be able to fix the remaining non-worker! The Philips VP415 laserdisc player is a notoriously cranky piece of kit famed for failures and overheating; since the videodiscs themselves loaded fine and it seemed to try and spin up I was in a pretty bullish mood as I connected it all together and switched the BBC Master AIV unit on.

Uh-oh. Click click click. Something’s resetting the BBC Master computer repeatedly. Disconnect everything, retry, click click click. Traced it down to the PSU which had blown (and thankfully I have some spare BBC Master units I could strip one from) but still a bit of a heart-stopper moment – the SCSI interfaces in those are like hen’s teeth.

So back to the LVROM: nothing on the screen at all, and I still couldn’t find a service manual! I’d already asked on the BBC Micro mailing list with no success last year, but I thought I’d give it another stab and within 10 minutes I’d got two replies telling me about Mauritron who sell service manuals as PDF files! Hurrah! One debit for a tenner later and I was waiting.

This morning the manual arrived by email. It’s taken me five minutes to put the LVROM into service mode and got an onscreen result error code ‘007’ meaning ‘Not in focus after 5x (no rotation of disc)’. Now this could be one of three things: the focus module, the control module, or the decoder module. My money’s on the focus module, which may (fingers crossed) just need a clean.

As a side-point, at least the debug info appearing on-screen indicates that the video circuitry is working and the monitor works too. There’s still a thousand things that could go wrong yet but I’m quietly optimistic 🙂

Software update just popped up this:

This update addresses a responsiveness issue on MacBook and MacBook Pro notebook computers. Some MacBook and MacBook Pro systems may occasionally experience a temporary suspension of keyboard input which can last a minute or longer. The Mac OS X 10.5.1 update is required before installing the MacBook, MacBook Pro Software Update 1.1.

It’s installing now. I guess we see if it works. Also it appears 10.5.2 is seeding to developers for a rumoured January update (presumably to support new hardware being announced at MacWorld or whatever it is).

More Google-fodder for folks who might have the same problem. The keyboard and trackpad ‘disappearing’ under OS X 10.5.1 causes the following to appear in /var/log/system.log:

Dec 16 12:23:01 trixie kernel[0]: USBF: 31305.811 [0x3fa0000] The IOUSBFamily is having trouble enumerating a USB device that has been plugged in. It will keep retrying. (Port 2 of hub @ location: 0x1d000000)
Dec 16 12:23:05 trixie kernel[0]: USBF: 31309.651 [0x3fa0000] The IOUSBFamily was not able to enumerate a device.
Dec 16 12:23:50 trixie com.apple.launchd[1] (com.apple.dyld): Throttling respawn: Will start in 60 seconds

Seems that it ‘forgets’ the internal USB hub for the keyboard and mouse. The external keyboard/mouse work fine.

I experienced a rather annoying problem tonight. When coming back from sleep, my MacBook Pro “forgot” about its keyboard. No matter of power-cycling or removing batteries could fix it, and because it wasn’t “there” it didn’t want to reset PRAM either. External keyboard and mouse worked fine.

After much angry grrr’ing, I found that resetting the SMC worked.

Blogged in case other people have the same issue.

Update: it’s happened a few more times since then. Each time it disappears from the list of USB devices – external keyboard works fine. Lots of other people having the same issue, me and N have decided to downgrade to 10.4 this weekend and stick with that for a while.

While developing a site which did some image resizing, I noticed this morning that Apple’s version of php5 which is shipped with Leopard didn’t have this library available! It does seem a rather odd omission, given that it’s probably one of the most commonly-used libraries behind mysql/mysqli.

A quick Google revealed that I’m not alone in this, and indeed Apple Discussions has threads on this particular subject albeit for Leopard Server (I’m running the bog-standard desktop edition). After trying a few solutions, I found that the Hill’s Dorm tutorial on installing GD gave the best pointers.

There are a couple of gotchas:

  • Don’t use the Darwinports version of libjpeg – it’s a 32-bit version. This wasted half an hour while I tried to work out what was wrong only to find that I had the 32-bit libjpeg installed when everything else (including php5 and apache2) were 64-bit; the instructions given on the tutorial above does tell you how to build 64-bit versions of things which any recent Intel MacBook will require. A telltale sign of this is seeing in your logs: PHP Startup: Unable to load dynamic library ‘/usr/lib/php/extensions/no-debug-non-zts-20060613/gd.so’ – (null) in Unknown on line 0 if you’ve got the wrong architecture (you might also see architecture errors in config.log if you’re really mismatching stuff).
  • Don’t assume it’s not working because the command-line edition doesn’t work. This had me foxed and indeed seems to be that the CLI version of pph5 which Apple supply hasn’t got the capability to load dynamic libraries. The error is along the lines of dyld: Symbol not found: _php_sig_gif and puts the CLI version of php out of action pretty much.

I’m sure a more elegant solution will be along sometime, but for the moment this does seem to work.

OK, i’m going to promise right now I won’t blog about this on a daily basis like I did with the Econet, but I’ve been asked a few times about this so here’s the update.

Easy one first: I removed the monitor switch from the equation and now you need to turn it on/off at the plug, but it works.

Now, there is a fault with the Philips VP415 player: it powers up OK and appears to work, but when a disc is inserted it won’t spin it up. If I put it in ‘replay’ mode, it will ‘jerk’ the disc as though it’s trying to spin, then stop. At that point it beeps and the red standby light flashes (indicating an error maybe? I have no manual for this unit). I need to acquire a service manual for it really then I can test it properly. And I need to buy a new multimeter, since mine’s gone walkies.

In any case, the Master appears fine, and the discs appear OK too – that’s part of the battle, I might still be able to find a spare LV player from somewhere (they were ‘hacked’ from a fairly popular Philips range I think, so some of the bits will be cross-range I guess).

More anon.

Last night I acquired a new toy: a BBC Micro Domesday system, complete with laserdiscs (LVROMs), trackball, monitor, trackball and manuals. It’s been sat in a cupboard in a school for years, but almost works.

What needs doing:

  • The laser needs re-tracking on the LVD player itself – apparently it has issues reading from the disks. This isn’t a big job I don’t think unless the servo itself is gone, but I’m sure I can source parts.
  • The power switch on the monitor needs fixing – looks like the catch on it has either bust or come off. Not a big job.

The ROMs themselves appear in good state, as does the Beeb. I shall attempt to power it up over the weekend and get it going properly.

Update: More about the BBC’s Domesday Project here, and some info on CAMiLEON (the preservation of the Domesday data) here together with a photo.

Older posts Newer posts