Macbook X Crashing

I’m having some problems with X crashing on my Macbook which runs Debian:

From /var/log/Xorg.log:

Jul 25 10:56:24 diamondshell acpid: client connected from 3740[0:0]
Jul 25 10:56:34 diamondshell gdm[3733]: WARNING: gdm_slave_xioerror_handler: Fatal X error - Restarting :0
Jul 25 10:56:37 diamondshell acpid: client connected from 3754[0:0]
Jul 25 10:56:47 diamondshell gdm[3752]: WARNING: gdm_slave_xioerror_handler: Fatal X error - Restarting :0
Jul 25 10:56:50 diamondshell acpid: client connected from 3771[0:0]
Jul 25 10:57:00 diamondshell gdm[3767]: WARNING: gdm_slave_xioerror_handler: Fatal X error - Restarting :0
Jul 25 10:57:02 diamondshell gdm[3732]: WARNING: Failed to start X server several times in a short time period; disabling display :0
Jul 25 10:57:05 diamondshell gdm[3732]: WARNING: main daemon: Got SIGABRT. Something went very wrong. Going down!
Jul 25 10:57:05 diamondshell gdm[3732]: GLib-CRITICAL: g_hash_table_lookup_extended: assertion `hash_table != NULL' failed
Jul 25 10:57:05 diamondshell gdm[3732]: WARNING: Request for invalid configuration key xdmcp/Enable=false

And the segfault from dmesg:

[   50.968499] [drm] Initialized drm 1.1.0 20060810
[   50.348948] ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
[   50.348948] PCI: Setting latency timer of device 0000:00:02.0 to 64
[   50.348948] [drm] Initialized i915 1.6.0 20060119 on minor 0
[   52.879335] appletouch: incomplete data package (first byte: 2, length: 4).
[   94.708087] usbcore: deregistering interface driver hci_usb
[   96.539034] ACPI: PCI interrupt for device 0000:01:00.0 disabled
[   96.663554] ACPI: PCI interrupt for device 0000:03:03.0 disabled
[   96.663568] firewire_ohci: Removed fw-ohci device.
[ 1156.502334] gdm[2989]: segfault at 7672657f ip b78183c2 sp bf9723a0 error 6 in libglib-2.0.so.0.1600.3[b77c5000+af000]

After it happened, I decided to apt-get dist-upgrade, which turned out to be a bad idea ( I hadn’t had my coffee yet! ). First my keyboard was non-responsive, then my madwifi drivers were missing in action. Ooop! I did get it straightened out, but I think the X11 issue is still there.

VirtuaLenny!

This post from Mak is most welcome:

OpenVZ Debian Linux images

I’ve been hankering for the power-saving features of 2.6.24+ and the openvz stability of 2.6.18. Looks like 2.6.26 is the way to go! I’m also looking forward to having a distro I can manage and maintain for awhile.

Etch was released while I first became accustomed to Debian and its release process, so I wasn’t aware how much care is taken to stability. Inasmuch, I’ve been embracing testing and unstable for awhile. I’m eager to stick with lenny for at least a few years on my production servers. I’ll continue use testing and unstable on my desktop.

But anyway, back to VirtuaLenny, 2.6.26 is going to bring not only openvz to lenny, but also xen and kvm. I’m planning to build a xen machine very soon.

Samsung ML-1740 Driver




I had trouble tracking down the driver for this printer. I’m not sure if this model was discontinued or what, but we had a hard time connecting it to the network and are still unable to do so, even with the driver, which I finally found here. This download is strictly for Win 98/ME/2K/XP OS

Why LUA Rocks!

This is very interesting…

http://www.timestretch.com/FractalBenchmark.html

I don’t want to start a flame war here. The benchmark is just one facet of the programming languages listed, but its interesting to look at and simple enough easily digest. For a more comprehensive analysis of programming languages, see the programming language benchmark shootout game.

In the timestretch benchmarks, lua comes in remarkably competitive with some heavy duty languages. Considering how free, lightweight, and simple lua is, I’m very impressed.

Its a great thing that mod_wombat is coming along, I’m very interested in making use of that when its ready. I should also note that LUA is also used with the new mysql-proxy server that’s in the works.

LUA might also be useful for routing tables, additional types of proxies, or rule set managers for in general. Think about more sophisticated firewalls, spam filtering / email organization, and load balancing. The rules for this stuff is usually written in an incredibly simple syntax, like key value pairs, or on the flip side, sometimes overly complicated regular expressions, and can be compiled into native code using C. That works very well for most cases, but if a little more “logical flexibility”, LUA might just be the answer.