$ uname -a Linux v40z1 2.6.33-rc1 #1 SMP Sat Dec 19 02:25:22 PST 2009 x86_64 GNU/Linux $ kexec -l /boot/2.6/bzImage.old --append="root=/dev/sda2" $ date Sat Dec 19 02:35:30 PST 2009 $ kexec -e I'm in purgatory Ubuntu 9.10 v40z1 ttyS0 v40z1 login: root Password: $ date Sat Dec 19 02:35:47 PST 2009 $ uname -a Linux v40z1 2.6.32 #1 SMP Mon Dec 14 05:26:12 PST 2009 x86_64 GNU/Linux
While the title of this entry is just a play on words, this is really about serial consoles:
$ grep -v ^\# /etc/init/ttyS0.conf start on stopped rc RUNLEVEL= stop on runlevel [!2345] respawn exec /sbin/getty -L 115200 ttyS0 vt102 $ sudo start ttyS0
$ pfexec eeprom console=ttya ttya-mode="115200,8,n,1,-" $ egrep '^console:' /etc/ttydefs console:115200 hupcl opost onlcr:115200::console $ pfexec svcadm restart console-login
> platform set console --noprune --speed 115200 > platform get console Rear Panel Console Redirection Speed Pruning Log Trigger SP Console Enabled 115200 No 244 KB
Yes, I knew this day would come that I too have my own rant about this ISP. For the record, I wasn't really able to choose a different ISP, as I they don't serve ADSL in this area and Comcast seems to be the only cable provider around. There's Roadrunner Internet and they have the cooler logo but they just offered a Comcast resale package, which is not really what I was looking for. And for another record I have to say that Comcast is pretty stable, I only have to reset the modem every other month or so - which is totally acceptable for a low-cost homeuser contract, IMHO.
That being said, I'm not too happy with Comcast's approach to net neutrality or just content mangling in general. IOW: Keep your hands off my traffic! Two major annoyances so far and the reason for this blogentry:
I found the FAQ entry on which ports they're blocking, saying:
Type the name and password of a user in the 'Developer Tools' group to allow Developer Tools Access to make changesHuh? I don't want to "make changes", I just want to debug a process. Turns out that monitoring/inspecting a process has been changed in Tiger and again in Leopard so that only members of the 'Developer Tools' group are allowed to debug. (Wow, I have never used
gdbon Darwin before?). The right thing to do here is:
sudo dscl . append /Groups/_developer GroupMembership username...and get on with our actual debugging.
The following programs are missing: Ghostscript: You cannot use EPS images or Print PreviewLuckily this entry explained how to fix this, but instead of installing the whole foomatic package, I just used the MacPorts equivalent:
$ port install espgs -x11Now
/opt/local/bin/gsshould be in place and Scribus should even find it by itself.
This occured to me earlier this year, when trying to download from a redhat.com server:
$ wget --version | head -1 GNU Wget 1.12 built on darwin10.2.0. $ wget http://www.redhat.com/archives/ext3-users/2009-August.txt.gz --2009-11-16 00:03:34-- http://www.redhat.com/archives/ext3-users/2009-August.txt.gz Resolving www.redhat.com (www.redhat.com)... 22.214.171.124 Connecting to www.redhat.com (www.redhat.com)|126.96.36.199|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3284 (3.2K) [application/x-gzip] Saving to: “2009-August.txt.gz” 2009-11-16 00:03:34 (60.2 MB/s) - Connection closed at byte 3283. Retrying.And yes, it would retry to download and will eventually grab the whole file - but the result was always corrupt. Luckily, this happened to others as well and now the download from these redhat.com archives succeed when
--header "Accept-Encoding: gzip"is added to wget :-)
I always wondered if those ext* mountoptions did anything performance wise. Turns out they do, kind of:
FS mount option avg over 3 runs ------------------------------------ ext2 option: orlov - 56.3333 sec ext2 option: oldalloc - 66.3333 sec ext2 option: atime - 62.6667 sec ext2 option: noatime - 57.3333 sec ext2 option: data=journal --- ext2 option: data=ordered --- ext2 option: data=writeback --- ext2 option: acl - 59 sec ext2 option: noacl - 57.6667 sec ext2 option: user_xattr - 59 sec ext2 option: nouser_xattr - 59 sec ext3 option: orlov - 61.3333 sec ext3 option: oldalloc - 62.3333 sec ext3 option: atime - 62.3333 sec ext3 option: noatime - 60.6667 sec ext3 option: data=journal - 114 sec ext3 option: data=ordered - 62.6667 sec ext3 option: data=writeback - 61.6667 sec ext3 option: acl - 62.6667 sec ext3 option: noacl - 61.6667 sec ext3 option: user_xattr - 64.3333 sec ext3 option: nouser_xattr - 60.6667 sec ext4 option: orlov - 49.6667 sec ext4 option: oldalloc - 52.6667 sec ext4 option: atime - 49.6667 sec ext4 option: noatime - 50 sec ext4 option: data=journal - 101.333 sec ext4 option: data=ordered - 49.3333 sec ext4 option: data=writeback - 51 sec ext4 option: acl - 48.6667 sec ext4 option: noacl - 51.6667 sec ext4 option: user_xattr - 49.6667 sec ext4 option: nouser_xattr - 50.6667 secThis was done by a script extracting a ~800MB tarball onto a freshly created ext* filesystem, 3 times in a row.