urxvt & utf-8

Found an interesting problemo tonight with using vim in rxvt-unicode. Since the German umlauts and the old double-S (ä ö ü ß) are a bit tricky for me to make without a copy/pasting then where needed I usually use the alternative (ue oe ue ss) where possible. Since vim 7 has spell checking, I’ve got spelllang set to handle US and British english plus German in the spell checker. Which really works very nice because my spelling is a bit of a hodge podge for those ‘differences’ in English spelling.

While I was working on the translation last night, I employed both Vims spell checker and a translator program to help me with the grammer. Vims spell checker has the lovely ability of being able to correct things, taking the form I can easily get out of a US QWERTY board and replacing with the proper characters (ä ö ü ß), I knew there was some thing I loved about vim xD

The only thing is, trying to open the file again with vim caused it to display weird, all of the umlauts replaced with strange characters. I checked Vims idea of the files encoding and it was UTF-8, just like my system locale settings should be saying.

Yet, (n)vi, cat, and other utilities were showing them fine. Setting the terminal encoding in vim or launching it with LANG=de_DE.ISO8859-1 got them to display properly but still senseless :. My ~/.zshrc sets LANG to en_US.UTF-8, why nothing seemed to work right i dunno. Forcing urxvt (rxvt-unicode) to run with the C locale set (LC_CTYPE=”en_US.UTF-8″) got it working fine.

I’m not familiar with that end of C++ but I wouldn’t be surprised if it relied on the same setlocale() routine as C apps tend to. The FreeBSD handbook said to set LANG and MM_CHARSET and not LC_* variables for the environment. I’ve fixed it so the system kicks urxvt off with the right locale settings so the problem is fixed.

still a little odd imho lol

Well after a bit of work the system is now fully operational and I can pass out >_>

Managed to get to bed at a nice early post 0415, only for a crazy set of dreams. I dreamed that my allergies were so bad I could barely breath and my throat so dry it was choking me to death. Yet as much water as I drank, it was as if it never touched my tongue :

It’s kind of strange but when I dream, I usually know I’m dreaming pretty quickly so I wasn’t afraid just uncomfortable.

Transition to leading a SEAL team on an dockside assault with an M4 in hand and MP5 slung. Sent the team below while I took down the ships bridge, left the ‘abnormal’ terrorist leader with a few 9x19mm in the head after I figured out a way around the personal engey shield and regrouped.
Some talk about a dead mans switch and time to evacuate. The SEAL team pulled out while I went to check on the status of the lower level, only to find the NSA and Nurses tending to the hostages.

Transition yet again to being stuck in the middle of the desert with just a pistol in each hand, Tomb Raider style and a bet on who makes it out of their first. Only to end up with a psycho-path trying to get there first, a fairly attractive brunette in toe but horriabley useless in a gun fight in the race to the LZ lol.

Dang man, I have strange dreams lol.

My allergies have not been to bad today but I haven’t eaten much all day… There is nothing to take, even the stuff that comes most highly recommended doesn’t do squat. Most of them are just 10mg of loratadine which is pretty useless IMHO. With the way I’ve been feeling I think a decongestant might be helpful but not exactly worth the price tag. I can’t wait for winter to come back !!!!!!!!!

I’ve spent most of my time working on the laptop and chatting with friends. Still havn’t gotten much done today of productive use. Next on my list is restoring TeX Live from backup which I can do tonight. If Martínez ever gets back to me about the PBI Testing ftp server I might be able to get a TeX Live PBI set ready to rock & roll, it’s a little to freaking big for any of the places I have storage on >_>. Once a working PBI is out, I can try and see what I can do about making a port of it once the PBI’s out of my hair.

Reinstalling all the software

still to do:

mencoder -> build from source
konverter -> I still ain’t used it but want it installed just in case
linux-flock -> from ports (rpm)
linux-realplayer -> from ports (rpm)
linux-mplayerplug-in -> install after flock
libdvdcss -> build from source
portupgrade -> needed for Neo Ports Manager development (it’s the backend)
emacs or xemacs -> from source, rarly use emacs but I like to have a fat and micro sized emacsen installed.

Ports/Packages that PC-BSD actually saves me time on are perl, python, ruby, gtk2, subversion, kdegames, xv, kdegraphics, kdepim, libdvdread, libdvdnav, cdrtools, mplayer, and X.Org 😉

I’ve been using Window Maker for a long time now, I think I’ll go back to KDE3 for awhile. I’ve always liked using KDE3, even though I love Window Maker hehe. I’ve thought about switching to a less ‘common’ window manager as well but lack the time to RTFM and bend it to my wishes, especially since the ones that interest me can be quite keyboard driven hehe. I can use just about any window manager but I’m partial to Window Maker, the Box family, KDE, and Gnome. The only window manager I’ve used that I don’t like, depending on what one considers ‘explorer.exe’ any way ^_^ is TWM, I used to use it over VNC to my test machine back in the PC-BSD 1.0RC2 days… I find it very much less then pretty. I don’t care much for FVWM1/2 and most of it’s variants either but would prefer them to TWM for using 24 * 7 * 365 ! Oh and I also have to reinstall TeX Live 2007 but that I have backed up to beat the bands hehe.

All that is left for tonight is to configure and build Vim before I hit the hay.

./configure –with-features=big –with-x –enable-gui=gtk2 –enable-xfontsel –enable-rubyinterp –enable-pythoninterp –enable-perlinterp –enable-cscope && gmake -j4 && gmake install

Technically all I could leave it as –with-features big and –enable-gui=gtk2 but I usually su[pply the other args to the configure script instictively.

Tomorrow I can finish installing the remaining apps since most of it is just waiting on me to install a ports tree. I also need to get the NFS/SMB shares sorted on Vectra & SAL1600, look up my ICQ# as it seems I lost both my KDM Theme and Pidgin settings by lack of forsite :-(. No matter, I actually like the more Gnome’ish PC-BSD KDM theme lol. I also remember the logins for my AIM/M$N/Y!M/XMPP so that one is not a big problem hehe.

And of course as always to playfully mold KDE to match my work flow, muhauahuaha !

/*
* list of software I’ve installed tonight:
*/

// languages
gcc43 // including the GNU Compiler for Java
javavmwrapper, JRE, and JDK
rubygem-rtags
rubygem-rake
guile
scheme48

// libraries
Qt4

// development tools
gmake // needed for vim, gtk+, qt3/4, and my tex makefiles
ctags // extended multi-language ctags, *BSD has a C based one
cscope and kscope
webcpp

// games
xgalaga
prboom with freeware doom-data
wesnoth

// graphics software
gimp with animation package (gimp-gap)
inkscape

// browsers
lynx

// local mail clients just in case
thunderbird
thunderbird-i18n
mutt

// chat
konversation // worlds best irc client
pidgin // aim/msn/yim/icq/etc
pidgin-hotkeys
pidgin-guifications
pidgin-libnotify
pidgin-otr
pidgin-encryption
teamspeak_client // linux version

// multimedia
libdvdplay
xmms
xmms-skins
xmms-pipe // control xmms from a named pipe

// documents
gnumeric
abiword
koffice

// personal
zsh
docker
rxvt-unicode
terminus-font
mg // micro gnu emacs, openbsds alterntive to vi

Reinstalling PC-BSD

I complted my backups during dinner so when I booted my laptop tonight, compared the MD5 checksums on the PC-BSD v1.5 CD#1 ISO file and burned the disk. I had K3B installed from PBI when I installed PC-BSD from a 2-Disk set awhile ago but I’ve never actually used K3B to do things lol. So I put a blank CD-R in my laptops acd0 and looked around on how to burn the ISO.

cdrecord -scanbus               # find out my 'dev'ice
Cdrecord-Clone 2.01 (i386-unknown-freebsd6.2) Copyright (C) 1995-2004 Jörg Schilling
Using libscg version 'schily-0.8'.
scsibus2:
2,0,0 200) 'PHILIPS ' 'DVD+-RW SDVD8441' 'PA48' Removable CD-ROM
2,1,0 201) *
2,2,0 202) *
2,3,0 203) *
2,4,0 204) *
2,5,0 205) *
2,6,0 206) *
2,7,0 207) *

cdrecord -v -pad speed=1 dev=2,0,0 PCBSD1.5-x86-CD1.iso
# with very nice verbose output ;-)

I’ve never used my laptops DVD+-RW drive for burning disks before, normally I use the install of Nero that came with my Desktop but good ol’Dixie ain’t let me down, the CD-ROM came out great. I did an install with the decision to use the entire disk and a custom disk label. The dang gum installer still doesn’t have an option to set the time zone to UTC so I set it to Europe/London GMT 0000 which is close enough (my .zshrc sets TZ)

I noticed three problems with the custom disk label part of the installer. The first is, although PC-BSD finally fixed their default of 1024MB SWAP to instead use a more dynamic algorithim… For which it alloted 512MB of SWAP when my laptop has 512MB of PC2700 RAM. My previous install had that much RAM and when under the ‘worst loads of its life’ top some times reported ~300-400MB swap usage.

The installer woulnd’t let me create a second swap partition, so I upped the size to 1024MB. Normally I double check my values with a calculator since the installer seems to lack fdisks ability to handle K, M, and G suffixes but I found BC was gone. I didn’t have one handy so I started an XTerm only to find out that ‘bc’ was not on the install disk 🙁 so I did it manually.

The other two problems are that I created /usr, /home, /var, and /tmp partitions. It converted the /home mount point to /usr/home and made /home a symlink, the only problem is I created /home before /usr in the installer. So when I rebooted I found a nice surprise that /usr/home was not mounting because /usr was not mounted yet :-(. Also although I made a /tmp partition the PC-BSD installer failed to disable tmpmfs in rc.conf, I had to do that manually. I know rc.conf.local is supposed to be a bit out dated on FreeBSD and the proper way on OpenBSD… But I always use /etc/rc.conf.local for changing rc.conf on PC-BSD, less trouble ;-).

Started PC-BSD, noted the boot menu now shows FreeBSD instead of PC-BSD like in the last release and the splash screen was gone which is fine by me. I usually would clear it when booting but was always too lazy to disable it 8=)

Setup the display for 1280×800 24-bit with ‘ati-3d-enable’ and switched to a vtty with control+alt+F2 and logged in as root. I had to change roots password, because my is to strong to ‘pass’ the PC-BSD installers concept of an acceptible multinational password lol. And to add my personal user, during install I only added ‘rstaff’ because I wanted to create my user ‘Terry’ with the same UID and GID settings as on my OpenBSD machine, tired of remapping stuff…

passwd                                  # fix roots pw
adduser # add my user

Then I realized that there was one fatal flaw in my plan, all the backups were on Vectra including the copy of my wpa_supplicant.conf file used for an internetconnection via wireless.

There is more ways then one to solve a problem 😉

Since I don’t have a USB Flash Drive I booted my desktop into Windows and stuck in my spare SD Memory card in the hopes of copying the backup of /etc to it but Windows couldn’t access the bloody file shares, *Grrr* so I used PuTTY to SSH into Vectra and used cat, copy, and paste to create a new wpa_supplicant file.

Since my laptops card reader is not supported on FreeBSD 6.3 I swapped memory cards in my camera and attached the USB cable, I keep it set to ‘Mass Storage’ mode rather then PTP so I can transfer pictures to my laptop.

I plugged in the cable, turned on the camera, and in the time it took for me to type ls /dev | grep da the entire computer locked up, frozen solid on ‘ls /d’ so I had to shutdown with the magic on/off button 🙁

So this time I turned off the camera and started my laptop again, turning on the camera during the kernel probe so it would stay in umass mode. Booted into single user mode and did a fsck -y then mounted the camera so I could get the file.

mount -t msdosfs /dev/da0s1 /mnt
cp /mnt/wpa_* /etc/
umount /mnt
# exit single user mode

Logged into KDE with my main user, ‘Terry’ and I decided to give PC-BSDs networking tool a try, set up my wireless card. It failed to detect my wireless access point so I specified the SSID manually and cat, copy, and pasted my passphrase from wpa_supplicant into the GUI. I then proceded with my master plan, mount my stored backups off Vectra via NFS and start restoring files. So I booted into single user mode again and set to work, I knew I’d need single user mode because with X running things would get fucked soon if I didn’t get my xorg.conf back!

Since I rarely write out a mission plan in that much detail when I am ‘playing’ with one of my computers. I’ve kept a log of my actions using vi to write /root/fixit.log and have ordered and commented the entries in a more logical order, I just did them in the order I thunk of them hehe.

fsck -y
mount -u -o rw /
mount -a
/etc/rc.d/netif start # start the network connection
# and mount my backup files on /mnt
mount_nfs -r 8192 -w 8192 xxx.xxx.xxx.xxx:/srv/nfs/Backups/today /mnt
bash # /bin/sh lacks a bit on tab-completion

cd /tmp
tar -xf /mnt/etc.tar
cd etc
cp ssh/ssh*_config /etc/ssh/
cp /etc/X11/xorg.conf /etc/X11/xorg.conf.pcbsd15.install
cp X11/xorg.conf /etc/X11/
cp rc.conf.local /etc/ && vi /etc/rc.conf.local # trim my rc.conf
cp pf.conf /etc/pf.conf.my-old
vi /etc/fstab # create fstab entries for the NFS shares
cd /
tar -xf /mnt/local-share-ri.tar # install ruby docs pc-bsd lacks
tar -xf /mnt/local-etc /usr/local/etc/sudoers # restore my sudo config
cd /usr/home/Terry

# add nfs-users and smb groups
pw groupadd -g 7778 -n nfs-users -M rstaff,Terry
pw groupadd -g 19132 -n smb -M rstaff,Terry
pw groupmod -n operator -m Terry # add myself to the operator group
su - Terry
mv Images Pictures # I prefer that name ;-)
mkdir code
# adjust the ownsership of my dirs
chown Terry:nfs-users {Documents,Music,Pictures,code,Videos}
tar -xf /mnt/my-home-backups.tar # various files, extracts as 'backups/'
# restore the stuff I want saved
mv backups/GNUstep ~/
mv backups/sh ~/
mv backups/misc ~/
mv backups/konversation ~/.kde/share/apps/
mv backups/knode ~/.kde/share/apps/
mv backups/.* ~/ # restore selected 'dot' files

# connect to my file server and create a new dir for nfs
ssh -p 22222 -i .ssh/mykey Terry@vectra
su - root
mkdir -m 1770 /srv/nfs/code # I'll extract files later
groupadd -g 7778 nfs-users
vi /etc/group # added my user to nfs-users
^D # exit vectra root shell
^D # exit vectra Terry's shell
cd /srv/nfs
chown -R Terry:nfs-users ./*
^D# back to working as root on dixie in single user mode
cd /tmp
tar -xf /mnt/root-home.tar
cd root # restore a few files I want there
cp *.ogg ~/
cp .login ~/
cp *-supfile ~/
reboot

on reboot I set out to work with molding KDE into shape and installing PC-BSD updates. With no lockups within the first half hour of operation.

Well, downloading a PC-BSD v1.5 install disk via KGet… Looks like a reinstall / repair is probably going to be the only way to fix Linux GTK+ apps without spending more time and effort then it pays to on the issue. I even tried booting off my FreeBSD 7 partition and setting up linux-flock there. Much more successful then PC-BSD, it died due to a missing gnome library which is probably what I get for installing gnome2, gtk2, linux-gtk2, and mutual friends from packages >_>

I actually like KGet as far as download utilities go. I’m used to using FreeBSDs fetch command which just wraps around a few library routines. What I like most about kget is it just stays out of my way, sits in the system tray, and doesn’t take a Ph.D to figure it out 😉

It’s been awhile since I’ve tried the konqueror integration but it probably would be nice. I do rather like keeping downloads separated from my browser when it’s a _big_ file though. That way at least if my browser crashes the download won’t get FUBAR’d on me.

So here I sit, downloading the remaining ~500MB of the ISO image and watching The Negotiator which is one of my favorite thrillers. I remember I once caught it on cable one night and had to get the VHS when the chance came up. Now I enjoy the movie twice as much while I watch crooked SWAT team members break almost every damn rule their is to hostage rescue. To quote Kevin Spacey’s charactor, “You want to kill him on national television now!?”. The whole point of SWAT is to *_save_* lives, even the suspects if you can… but never, ever do you jeprodize the lives of hostages like that.

I need to get my system files backed up, shouldn’t take long it’s mostly the /etc folder, the parts of my home dir that are still local, and a few things in /usr/local/{share,etc} that I might want to keep. Guess it’s time to update my partitioning scheme while I’m at it….

I’ve had a lot of rolling about on [SAS] related business today, generally productive as far as the NCO and RSM matters go. I also posted a file with my ‘musings’ on a few tactical matters in an appropriate place. Not sure if it was a good idea to share my thoughts in this case but I’ve never really cared much about what others think of me, no point starting now 8=).

I’ve had some time to play with my little music management toy hehe. Basically the idea is to track filename changes in my music collection and then update my playlist files. It’s not meant to be pretty or optimal, just effective. If I ever get it finished I’ll probably leave it running on the file server so it can look after my music files. Every now and then I do like to rearrange files in ~/Music and it always breaks my playlists, and even when using Amarok for the excellent playlist editing… It kind of sucks to have to redo them manually through Amaroks collection browser, it’s a great system but my playlists can some times get quite large.

I’ve also managed to get my server and laptop set up to use NFS instead of SSHFS. Since it seems I can’t count on SSHFS, it has already incured a ‘price tag’. Samba’s mount_smbfs is to much bother on FreeBSD atm, the program that comes with the fusefs-smbnetfs port seems to be as good as KiA if you want to know any thing more about it beyond the sample config file and source code… That leaves NFS and AFS, not familiar very greatly with AFS but NFS a bit more so. The BSDs seem to do things a bit differently with the exports file then what I’ve encountered before, the fbsd handbook / obsd faq also leaves a little to be desired compared to some nice BNF notation ^_^. I might be able to do some thing with a SSH tunnel later, right now some thing that works is all that is important…

My allergies have been tremendous lately but it’s that time of year again. One thing I really did like about living in Fl. It was to damn hot for most of the stuff that makes me sneeze! It was kind of one of those places you are soaked to the bone just crossing the parking lot to get to the car lol.

Time to get some rest, tomorrows another day… Primary objectives for the near future are getting more work done on the SOP Rewrites and trying to fix my laptops problem with Linux GTK+ apps..grrr.

A crashing BSD

Ok, now I dunno what is worse that my very stable laptop has gone nuts or that I’m not surprised by it at all.

mentally back tracing events:

using urxvt with zsh
vim running in background during perl file editing session
linux-flock playing my favorite radio station via linux-mplayerplug-in and native mplayer
mv ./myfile.mp3 /tmp/ -> trying to move a file off a sshfs mount to /tmp
system locked up with sound stuck replaying a single note
tried to switch to vtty1
system auto-rebooted, never saw the vtty

On reboot I restarted flock and tried to move the file again, system locked up and rebooted when I tried to switch to vtty0…

Now linux-flock segfaults when I run it and the only other linux app I know that is handy, realplayer also segflauts. I ain’t seen any thing informative in /var/ yet either.

Now, my Windows XP machine Blue Screen of Deaths and occasionally Black Screens of Deaths! On me all the time when listing to music while using the server browser in Raven Shield, if I use any thing other then WMP: trying WinAmp == instanto death and often same with MPlayer using the usual DirectX related sound/video opts.

So why do I find it sad that for me it is not so much of a shocker that with a third party kernel module installed from pre-compiled binary (fuse) that was ported from another OS, moving data from a mounted network file system (sshfs) to the local hard drive through SSH and said driver, while running binary programs designed for an entirely different system (linux flock+mplayerplug-in), could possibly cause a system to crash?

At least it’s got a better damn reason then Windows XP has got looooool

I’ve tried fsck’ing the drive but the Linux ABI still seems FUBAR.. All things considered with SSHFS and SMB/CIFS, I am seriously considering putting both NFS and AFS into testing here to see if either will fill the gap.

Some musings from ~/Music/Playlists/manager/ideas.outline. The file outlines a format for the stored records and as much of the scripts operation as my mind can think of right now, it is 0420 already…


tags file format
| every song listed as 'file := checksum'

daemon/script
| for all files in collection loop
| | if md5 == known then
| | | if filename == known then
| | | | continue
| | | else
| | | | if md5(filename) in file then
| | | | | generate new entry in file
| | | | else
| | | | | update file with new name
| | | | | update playlists with new name
| | | | end
| | | end
| | end
| done

I like to outline my ideas every now and then for later reference, especially when I’m very tired it helps me make sense of my notes next week.

There is a vim plugin for outlining but that is kind of over kill for me. Vim has a ‘listchars’ setting that alters from Vi’s behavior how and what it displays things when ‘list’ is set.

I have a function named My_OutlineMode() and an automcmd that calls the function whenever creating a new file or reading a new buffer with a file.outline

setl listchars =tab:| " Mark t's with |'s
setl list

That makes each level of indentation be highlighted and displays a pipe symbol ‘|’ at each tab stop (e.g. indentation level) without inserting it into the file. I find it a tad distracting while coding — indentation is used in programs for a reason after all! But for outlining ideas, I find it really helps to visually display the collation of ideas to indents. Maybe because I use blank lines and tabs to order thoughts in my outlines but what ever works hehe.

I remember I first learned about list/listchars when trying to help someone in #vim that wanted code to display each indent level with leading dots, kind of like how KATE can be set to show a ‘.’ at each tab stop. So I made a note of it in case I would want to do something like that myself later.

After having been wanting to for ages I have finally fixed up my OpenBSD machines partitions.

I had an 80GB hard drive formated (wd1a) and moved /usr/local/ on to it and put my SMB shares on it for the free space.

Since wd0 is a 8GB disk split into a, b, h, d, g, and e partitions the biggest is wd0g mounted on /usr with ~6GB free but I had almost 10GB of files on /usr/local (wd1a). So I had to copy my backups and videos to the windows machine via Samba/Network Neighborehood before I could move all of my files in /usr/local/srv to a temporary place in /usr and then archived the rest of the directory.

cd /usr
mkdir storage
mv local/srv storage
tar -cf /var/tmp/local.tar local

I had to relabel the disk and then format the partitions, I created wd1a and wd1d to use as /usr/local and /srv with ~15GB more free space in case I need it.

umount -f local
disklabel -E wd1
newfs wd1a
newfs wd1d

During the disk label I changed to ‘disk geometry’ (g d), deleted the a partition (d a) and created the a and d partitions (c a and c d) keeping with the prompts on it and specifying 12G and 45G for the partition sizes.

Fixed my fstab and then mounted the partitions

vi /etc/fstab
# 8GB Primary Master, PATA drive
# device mount type opts dump fsck
/dev/wd0a / ffs rw 1 1
/dev/wd0h /home ffs rw,nodev,nosuid 1 2
/dev/wd0d /tmp ffs rw,nodev,nosuid 1 2
/dev/wd0g /usr ffs rw,nodev 1 2
/dev/wd0e /var ffs rw,nodev,nosuid 1 2
# 80GB Primary Slave, PATA drive
# device mount type opts dump fsck
/dev/wd1a /usr/local ffs rw,nodev 1 2
/dev/wd1d /srv ffs rw,nodev,nosuid 1 2

mount -o rw,nodev /dev/wd1a /usr/local
mount -o rw,nodev,nosuid /srv

I’m some what tempted to mark wd1d ‘noexec’ but I may wish to run scripts from there later if I ever move ~/code over. After that it was just a quick hop, skip, and jump to restore my files.

tar xpf /var/tmp/local.tar
mv storage/srv/smb /srv/
vi /etc/samba/smb.conf

I corrected all of my shares in smb.conf from command line mode:

:1,$s//usr/local/srv//srv/g

I could’ve used ex but I rather like paging up/down with ^U and ^D instead of using ‘addr1,addr2p’ in ex.

mount
/dev/wd0a on / type ffs (local)
/dev/wd0h on /home type ffs (local, nodev, nosuid)
/dev/wd0d on /tmp type ffs (local, nodev, nosuid)
/dev/wd0g on /usr type ffs (local, nodev)
/dev/wd0e on /var type ffs (local, nodev, nosuid)
/dev/wd1a on /usr/local type ffs (local, nodev)
/dev/wd1d on /srv type ffs (local, nodev, nosuid)
# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/wd0a 147M 30.4M 110M 22% /
/dev/wd0h 393M 35.6M 337M 10% /home
/dev/wd0d 98.3M 2.0K 93.4M 0% /tmp
/dev/wd0g 6.7G 398M 6.0G 6% /usr
/dev/wd0e 148M 84.1M 56.2M 60% /var
/dev/wd1a 11.8G 76.9M 11.1G 1% /usr/local
/dev/wd1d 44.3G 5.1G 37.0G 12% /srv

Windows wouldn’t see the file shares and sending the HUP signal to Samba to reread it’s conf file immediately didn’t help any. So I gave Vectra a reboot to double check my fstab entry (yes I am paranoid), I could’ve just killed the processes and reloaded them manually for the same effect.

# uptime
9:14PM up 19 days, 3:29, 1 user, load averages: 4.12, 4.16, 3.86
# reboot

I love OpenBSD 🙂

EDIT:

To prevent some nasty time outs.

vi /etc/ssh/sshd_config
ClientAliveInterval 15
ClientAliveCountMax 45

vi ~/.ssh/config # or /etc/ssh/ssh_config for all clients
ServerAliveInterval 15

This was a funky one, XMMS locked up on me and refused to play any files in my playlist, which I know usually means they either don’t exist or can’t be played but I also saw in mount that they should be there. I wish they’d add a pop up message about that but the auto-skip response to non existent files is actually one feature of XMMS I like.

Just trying to load a new playlist by pressing the lord list button in the playlist manager would cause it to lock up and I’d have to kill the process. So I figured I’d open another urxvt and leave mplayer running. Only thing odd was Music/Pl wouldn’t tab-complete to ~/Music/Playlists.

Terry@dixie$ ls Music                                                      3:45
ls: Music: Socket is not connected
Terry@dixie$ mount 3:46
/dev/ad0s2a on / (ufs, local, soft-updates)
devfs on /dev (devfs, local)
/dev/ad0s2e on /home (ufs, local, soft-updates)
/dev/ad0s2f on /usr (ufs, local, soft-updates)
/dev/ad0s2g on /var (ufs, local, soft-updates)
/dev/ad0s2h on /tmp (ufs, local, soft-updates)
linprocfs on /compat/linux/proc (linprocfs, local)
procfs on /proc (procfs, local)
/dev/fuse0 on /home/Terry/Documents (fusefs, local, nosuid, synchronous, mounted by Terry)
/dev/fuse1 on /home/Terry/Music (fusefs, local, nosuid, synchronous, mounted by Terry)
/dev/fuse2 on /home/Terry/Pictures (fusefs, local, nosuid, synchronous, mounted by Terry)
/dev/fuse3 on /home/Terry/Videos (fusefs, local, nosuid, synchronous, mounted by Terry)
Terry@dixie$ ls Pictures 3:46
ls: Pictures: Socket is not connected
Terry@dixie$ sshfs-mounter.sh -i ~/.ssh/vectra_rsa_key_nopw -u 1001 -g 1001
mount_fusefs: /dev/fuse5 on /home/Terry/Music: Operation not permitted
mount_fusefs: /dev/fuse6 on /home/Terry/Pictures: Operation not permitted
Terry@dixie$ ls Music 3:47
ls: Music: Socket is not connected
Terry@dixie$ ls Videos 3:47
... my video files

So I umount’d all of them and reran mounting script and all worked

Terry@dixie$ sshfs-mounter.sh -i ~/.ssh/vectra_rsa_key_nopw -u 1001 -g 1001
Terry@dixie$ mount 3:48
/dev/ad0s2a on / (ufs, local, soft-updates)
devfs on /dev (devfs, local)
/dev/ad0s2e on /home (ufs, local, soft-updates)
/dev/ad0s2f on /usr (ufs, local, soft-updates)
/dev/ad0s2g on /var (ufs, local, soft-updates)
/dev/ad0s2h on /tmp (ufs, local, soft-updates)
linprocfs on /compat/linux/proc (linprocfs, local)
procfs on /proc (procfs, local)
/dev/fuse0 on /home/Terry/Documents (fusefs, local, nosuid, synchronous, mounted by Terry)
/dev/fuse1 on /home/Terry/Music (fusefs, local, nosuid, synchronous, mounted by Terry)
/dev/fuse2 on /home/Terry/Pictures (fusefs, local, nosuid, synchronous, mounted by Terry)
/dev/fuse3 on /home/Terry/Videos (fusefs, local, nosuid, synchronous, mounted by Terry)
Terry@dixie$ ls Pictures 3:48
... the directories contents
Terry@dixie$ 3:48

After fixing that, XMMS worked great so I conclude that XMMS has a bit of a nasty issue if files it knows are there just ‘disappear’ on it, which is kind of strange. Whether it is a bug or not, I don’t have time to spend on multiple code-compile-debug cycles to try and fix it if there is a problem some where in the code or I would investigate it myself.

I would rather like to know what happened with the mount though because the only thing I’ve been fiddling with before it went was my firewall rules. Which amounts to enabling / disabling pf and reloading the rules out of /etc/pf.conf. I think I’ll keep a close eye on my mounts for awhile, XMMS will keep its eyes even closer on them I guess lol.