T61 grub framebuffer resolution 

Here's an easy way to figure out the correct resolution for your T61, or pretty much anything else:

hwinfo --framebuffer

In the output, you should see something like this:
Mode 0x036e: 1680x1050 (+6720), 24 bits

Take that mode for your vga= on your kernel line:
title Debian GNU/Linux, kernel 2.6.21-2-686
root (hd0,0)
kernel /boot/vmlinuz-2.6.21-2-686 root=/dev/sda1 ro vga=0x036e
initrd /boot/initrd.img-2.6.21-2-686
savedefault

then, when you reboot, it should come up with the correct resolution.

[ add comment ] ( 33 views ) [ 0 trackbacks ] permalink ( 3 / 299 )
Apache2 + php on Debian Lenny  

This is a short howto on setting up apache2 on Lenny, it will set up the basics on getting apache2 and php5 up and running on your Deian/Lenny box:

apt-get update
apt-get install apache2

apache2 should start now, you can check to make sure like so:
lsof -i:80

Now to install the php module for apache2:

apt-get install libapache2-mod-php5

apt should enable the module for you, you can always check to make sure:
a2enmod php5

Now, we have to restart our server:
/etc/init.d/apache2 stop
/etc/init.d/apache2 start


To verify, you can put a php file in /var/www , say /var/www/test.php

Now point your browser to http://your.server/test.php , and you should see the phpinfo page.

Thats it.

[ add comment ] ( 25 views ) [ 0 trackbacks ] permalink ( 3 / 178 )
MD Ate My Acid 

Just messing around tonight with my Machine Drum and a Novation Nova.
Take a listen
[ add comment ] ( 24 views ) [ 0 trackbacks ] permalink ( 2.9 / 119 )
On my way  


[ add comment ] ( 31 views ) [ 0 trackbacks ] permalink ( 2.5 / 195 )
Sad day! No, wait, disaster avoided! 

Looks like I just lost all of my mp3s. The drive I have all of them stored on just took a dive:


May 2 13:22:10 proto kernel: ata2: no sense translation for status: 0x40
May 2 13:22:10 proto kernel: ata2: status=0x40 { DriveReady }
May 2 13:22:10 proto kernel: sd 1:0:0:0: SCSI error: return code = 0x08000002
May 2 13:22:10 proto kernel: sdb: Current: sense key: Aborted Command
May 2 13:22:10 proto kernel: Additional sense: No additional sense information
May 2 13:22:10 proto kernel: end_request: I/O error, dev sdb, sector 501481551
May 2 13:23:55 proto kernel: ata2: no sense translation for status: 0x40
May 2 13:23:55 proto kernel: ata2: status=0x40 { DriveReady }
May 2 13:23:55 proto kernel: sd 1:0:0:0: SCSI error: return code = 0x08000002
May 2 13:23:55 proto kernel: sdb: Current: sense key: Aborted Command
May 2 13:23:55 proto kernel: Additional sense: No additional sense information
May 2 13:23:55 proto kernel: end_request: I/O error, dev sdb, sector 0
May 2 13:24:25 proto kernel: ata2: no sense translation for status: 0x40
May 2 13:24:25 proto kernel: ata2: status=0x40 { DriveReady }
May 2 13:24:25 proto kernel: sd 1:0:0:0: SCSI error: return code = 0x08000002
May 2 13:24:25 proto kernel: sdb: Current: sense key: Aborted Command
May 2 13:24:25 proto kernel: Additional sense: No additional sense information
May 2 13:24:25 proto kernel: end_request: I/O error, dev sdb, sector 0


Already tried to do a fsck on it, no luck with that. Hm, maybe it's a bad cable..


UPDATE:
Turns out, yes, it was the cable. I replaced the sata cable with a different one, the one that was in there had 90deg angel connectors and didn't really seem like they fit too well. It was all I had at the time I put the drive in. But, with a new cable the drive is nice and happy. whew!

Time to do a backup.
[ add comment ] ( 1886 views ) [ 0 trackbacks ] permalink ( 3 / 190 )

<Back | 1 | 2 | 3 | 4 | Next> Last>>