Rebel XTi/400D with gphoto on Solaris
Canon Rebel XTi 400D with Solaris
[Read More]Posted at 09:29AM May 07, 2007 by smg in General | Comments[5]
Little Samba SMF changes a comming.
Samba changes upcoming in the Solaris Nevada trains. Theres gonna be two more SMF
services; winbind and wins. Tis for running samba in a domain controlled by ADS-PDC.
Since ADS resolves hostnames via whatever nameserver (nis, dns, ldap...) it no
longer needs the old WINS protocol (nmdb).
Though if you've got an older setup and may still need the WINS protocol you'll need
to enable the network/wins server ala:
svcadm enable network/wins
Some details of this are with this bug; 6525472
Posted at 02:10PM Mar 06, 2007 by smg in Solaris |
Keys with X and kmdb and panics
A short tale of mixed keys in the party of X and kmdb.[Read More]
Posted at 10:44PM Mar 02, 2007 by smg in Solaris |
laptop + power outage == keep running
Left me laptop at home, still powered on and networked. Came home to find the battery had half its charge left. Hmm. Going through the logs shows.
Feb 13 17:57:22 kashyyyk fr4kndis: [ID 705148 kern.notice] link down Feb 13 17:57:22 kashyyyk usba: [ID 691482 kern.warning] WARNING: /pci@0,0/pci1025,7e@13,2/storage@7 (scsa2usb3): Disconnected device was busy, please reconnect. Feb 13 17:57:24 kashyyyk scsi: [ID 107833 kern.notice] Device is gone Feb 13 17:57:24 kashyyyk last message repeated 1 time Feb 13 17:57:24 kashyyyk ufs: [ID 702911 kern.warning] WARNING: Error writing ufs log Feb 13 17:57:24 kashyyyk ufs: [ID 127457 kern.warning] WARNING: ufs log for /media/OneTouch II changed state to Error Feb 13 17:57:24 kashyyyk ufs: [ID 616219 kern.warning] WARNING: Please umount(1M) /media/OneTouch II and run fsck(1M) Feb 13 17:57:27 kashyyyk genunix: [ID 408114 kern.info] /pci@0,0/pci1025,7e@13,2/storage@7/disk@0,0 (sd4) offline Feb 13 17:57:27 kashyyyk last message repeated 1 time Feb 13 17:57:27 kashyyyk genunix: [ID 408114 kern.info] /pci@0,0/pci1025,7e@13,2/storage@7 (scsa2usb3) offline Feb 13 19:04:29 kashyyyk fr4kndis: [ID 141910 kern.notice] link up Feb 13 19:04:30 kashyyyk usba: [ID 912658 kern.info] USB 2.0 device (usbd49,7100) operating at hi speed (USB 2.x) on USB 2.0 root hub: storage@7, scsa2usb3 at bus address 3 Feb 13 19:04:30 kashyyyk usba: [ID 349649 kern.info] Maxtor OneTouch II B61KB83H Feb 13 19:04:30 kashyyyk genunix: [ID 936769 kern.info] scsa2usb3 is /pci@0,0/pci1025,7e@13,2/storage@7 Feb 13 19:04:30 kashyyyk genunix: [ID 408114 kern.info] /pci@0,0/pci1025,7e@13,2/storage@7 (scsa2usb3) online Feb 13 19:04:31 kashyyyk scsi: [ID 193665 kern.info] sd4 at scsa2usb3: target 0 lun 0 Feb 13 19:04:31 kashyyyk genunix: [ID 936769 kern.info] sd4 is /pci@0,0/pci1025,7e@13,2/storage@7/disk@0,0 Feb 13 19:04:31 kashyyyk genunix: [ID 408114 kern.info] /pci@0,0/pci1025,7e@13,2/storage@7/disk@0,0 (sd4) online Feb 13 19:05:28 kashyyyk /sbin/dhcpagent[861]: [ID 981413 daemon.warning] configure_v4_lease: incorrect broadcast address 255.255.255.255 specified for fr4kndis0; ignoring Feb 13 19:05:28 kashyyyk /sbin/dhcpagent[861]: [ID 793670 daemon.error] configure_bound: cannot add default router 192.168.1.254 on fr4kndis0: File exists
Ok, me external usb disk died for a bit and the network link went down for about an hour.
The hour or so later when power came back, everything was restored. Nice.
Posted at 08:48PM Feb 13, 2007 by smg in Solaris |
Speedy Tapes
qlogic fibre connect to tapes, get it written faster with this[Read More]
Posted at 11:47AM Aug 28, 2006 by smg in Solaris | Comments[5]
Jumpstart, patches and the world keeps turning.
Development within Sun is a fast paced F1 race track at times. While not as sunny and luxurious a location as Monte Carlo, Sun still has the racing speed. With new builds of Solaris (be it nevada or updates) every other week and patches incoming all the time for performance runs we can't afford to be the slowest pit crew on the track.
Automation is the name of the game here.
With patches there are a few ways of building a machine with a given release of Solaris and having it patches up, ready to roll all magik and nice. Jumpstart gives us a hook into the install process for us to drop in just about any scripts to do what we want.
You got a machine to reinstall, patch and get running ? Heres one way.
Say you've a machine or machines to install every now and again. So you've got a jumpstart server all ready to go. You're used to installing the machine and then logging on to add all those patches. Takes a while, you go for coffe while the patchadd goes on and on and on..
Jumpstart has a feature where you can add in your own scripts once the machine has been installed and before its been rebooted. Theres a rules file where you can name a script to be run after install. More details on this are at Custom JumpStart. This script along with knowing all your patches are in a nfs-shared path somewhere can let you automate all those patchadds. Leaving you to go more interesting things (thats your imagination, not mine :).
Anyhows heres the script
# Given a directory which contains all desired patches (unpacked),
# this script installs those patches. The script is designed to be a post
# install script added in the rules file.
# $PATCH_URL can be a fullpath or a url to a location containing the patches
# to be installed
PATCH_URL=/net/machine/with/the/patches/unpacked
PATCH_LOG=/a/var/sadm/install/patch_install.log
PATCH_ERR=/a/var/sadm/install/patch_install.log
FatalErr () {
echo "$0: $1"
echo "$0: $1" >> $PATCH_ERR
echo "Errors have been logged in $PATCH_ERR" | tee -a $PATCH_LOG
exit 1
}
if [ ! -d $PATCH_URL ]; then
FatalErr " Error: patch directory $PATCH_URL does not exist"
fi
echo "Adding patches contained at $PATCH_URL" | tee -a $PATCH_LOG
patchadd -M $PATCH_URL -R /a | tee -a $PATCH_LOG
exit 0
That script assumes you've a bunch of patches locally. What if you need to pick them up directly from Sun ? Patchadd can handle that like:
patchadd -k /etc/mycerts -P pass:abcd -x webcache.eng:8080 \
-M http://www.sun.com/solaris/patches/latest 101223-02 102323-02
as an example (straight from the manpage).
Posted at 09:01AM Jun 01, 2006 by smg in Automatic Patching | Comments[1]
one laptop, 50,003 local filesystems and counting
zfs
# zfs list | wc -l 50004 #This on a laptop, one filesystem per person...
Posted at 05:24PM Nov 16, 2005 by smg in Solaris | Comments[0]
quake3 demo screenshots on solaris x86/sparc
Even more progress from the ioq3 folks. The demos now run under both sparc and x86. Screenshot sparc here thanks to Vincent and heres the x86 one:
Onwards to get the game and mouse going. The screenshot above was using Mesa OpenGL by the way :)
Posted at 11:16PM Nov 02, 2005 by smg in quake3 | Comments[9]
quake3 on solaris x86 running
Thanks to the guys from icculus.org and Vincent in particular, I got quake3 running on Solaris x86 here. Small screenshot of the intro below (hopefully). Its small cause I'm running in software opengl mode. Need to get a box with an nVidia card to play with.
I'll have more screenshots soon. Now to help get the sparc port working :)
Some output below from the startup, and yes I have a legal copy of quake3.
kashyyyk:~/src/q3/v202/quake3/code/unix/releasei386$ ./SunOSquake3 +set r_allowSoftwareGL 1 +set ttycon 0 ioQ3 1.33 Solaris-i386 Nov 1 2005 ----- FS_Startup ----- Current search path: /export/home/sm97610/.q3a/baseq3 /export/home/sm97610/src/q3/v202/quake3/code/unix/releasei386/baseq3/pak0.pk3 (3539 files) /export/home/sm97610/src/q3/v202/quake3/code/unix/releasei386/baseq3 ./baseq3/pak0.pk3 (3539 files) ./baseq3 ---------------------- 7078 files in pk3 files execing default.cfg execing q3config.cfg couldn't exec autoexec.cfg Hunk_Clear: reset the hunk ok ----- Client Initialization ----- ----- Initializing Renderer ---- ------------------------------- ----- Client Initialization Complete ----- ----- R_Init ----- ------- Input Initialization ------- ------------------------------------ ...loading libGL.so: Initializing OpenGL display ...setting mode 0: 320 240 Using 8/8/8 Color bits, 16 depth, 0 stencil display. GL_RENDERER: Mesa GLX Indirect ...using software Mesa (r_allowSoftwareGL==1). Initializing OpenGL extensions ...GL_S3_s3tc not found ...ignoring GL_EXT_texture_env_add ...using GL_ARB_multitexture ...GL_EXT_compiled_vertex_array not found GL_VENDOR: Mesa project: www.mesa3d.org GL_RENDERER: Mesa GLX Indirect GL_VERSION: 1.2 (1.5 Mesa 6.2.1) ... . .
What ya think ?
Posted at 12:05PM Nov 01, 2005 by smg in quake3 | Comments[2]
Getting there with quake3 on solaris
Its been a long while since I've added anything here. Been busy find a place to live :) Finding some spare time (when not looking for new house and furniture) let me play about with this:
kashyyyk:~/src/q3/quake3/code/unix$ uname -a SunOS kashyyyk 5.11 snv_25 i86pc i386 i86pc kashyyyk:~/src/q3/quake3/code/unix$ kashyyyk:~/src/q3/quake3/code/unix$ gmake gmake targets B=releasei386 CFLAGS="-pipe -DDEBUG -g" gmake[1]: Entering directory `/export/home/sm97610/src/q3/quake3/code/unix' gcc -pipe -DDEBUG -g -o releasei386/client/unix_main.o -c ../unix/unix_main.c gcc -o releasei386/SunOSquake3 releasei386/client/cl_cgame.o releasei386/client/cl_cin.o releasei386/client/cl_console.o... ... ... kashyyyk:~/src/q3/quake3/code/unix/releasei386$ ls -l total 6150 drwxr-xr-x 9 sm97610 other 512 Oct 24 20:14 ./ drwxr-xr-x 6 sm97610 other 1024 Oct 24 23:39 ../ -rwxr-xr-x 1 sm97610 other 2981132 Oct 24 23:49 SunOSquake3* drwxr-xr-x 6 sm97610 other 512 Oct 24 23:40 baseq3/ drwxr-xr-x 2 sm97610 other 3072 Oct 24 23:49 client/ -rw-r--r-- 1 sm97610 other 135291 Oct 24 19:44 d2 drwxr-xr-x 2 sm97610 other 512 Oct 24 15:43 ded/ drwxr-xr-x 2 sm97610 other 512 Oct 24 15:43 ft2/ drwxr-xr-x 6 sm97610 other 512 Oct 24 15:43 missionpack/ drwxr-xr-x 2 sm97610 other 512 Oct 24 15:43 q3static/ drwxr-xr-x 2 sm97610 other 512 Oct 24 15:43 ref/ hashyyyk:~/src/q3/quake3/code/unix/releasei386$ isalist pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86 kashyyyk:~/src/q3/quake3/code/unix/releasei386$
I need to figure out why it can't call the opengl functions. It does load the libGL.so.1 Mesa library, but can't use em.
kashyyyk:~/src/q3/quake3/code/unix/releasei386$ ./SunOSquake3 ioQ3 1.33 sun-i386 Oct 24 2005 ----- FS_Startup ----- Current search path: /export/home/sm97610/.q3a/baseq3 /export/home/sm97610/src/q3/quake3/code/unix/releasei386/baseq3 ./baseq3 ---------------------- 0 files in pk3 files execing default.cfg couldn't exec q3config.cfg couldn't exec autoexec.cfg Hunk_Clear: reset the hunk ok ----- Client Initialization ----- ----- Initializing Renderer ---- ------------------------------- ----- Client Initialization Complete ----- ----- R_Init ----- ------- Input Initialization ------- ------------------------------------ ...loading libGL.so.1: Initializing OpenGL display ...setting mode 3: 640 480 Received signal 11, exiting... ----- CL_Shutdown ----- RE_Shutdown( 1 ) ----------------------- kashyyyk:~/src/q3/quake3/code/unix/releasei386$
Posted at 08:59AM Oct 25, 2005 by smg in quake3 | Comments[4]
Benchmark Outing
I've written on this before, but now Filebench has been released.
Its a flexible filesystem benchmark, by simulating other benchmarks. Try it out. We're using it for both on the box filesystem performance runs as well as network/NFS runs.
Posted at 09:37AM Jun 17, 2005 by smg in Performance |
Open doors to OpenSolaris
Here we go.
The source to the kernel, user commands, tons of stuff.
Posted at 03:55PM Jun 14, 2005 by smg in Solaris | Comments[0]
On Gaming (part 2)
A screenshot showing quake2 running under Solaris x86/amd64 using OpenGL and the nVidia Solaris drivers :-)
Oh and to link back to my ongoing dtrace obsession, the top left corner shows counts every 5 secs of the quake2 functions being called. A dtrace one liner:
dtrace -n 'pid1057:a.out::entry{@c[probefunc] = count();} tick-5sec{printa(@c); trunc(@c,1);}'
Will be trying out some other OpenGL based things as time goes on...
Posted at 12:29PM Jun 07, 2005 by smg in Dtrace | Comments[0]
Gaming on
Got a mail on an internal mailing list about the opengl nvidia driver for solaris, they've been released ! Alan's blog has the info and where to download them. We've been playing Quake II with these drivers already. At 1600x1200 its very very nice :)
Posted at 09:00AM Jun 02, 2005 by smg in Solaris | Comments[3]
New blogging boy
Seems my immediate boss Damien has started to blog. He explains more on what Fintan, Gleb, Nicky and others in my group do.
Posted at 11:43AM May 24, 2005 by smg in General | Comments[0]
