Booting straight to the console on Mac OS X

The guide on O’reilly Network covering howto bypass the OS X GUI doesn’t seem to work on 10.4.x (I haven’t verified it on previous versions yet), as the guide mentions you need to uncomment the first console entry & comment out the second entry in /etc/ttys

You then need to goto /etc/mach_init.d/ & remove WindowsServer.plist
I highly recommend that you move the file into somewhere else instead (I moved mine into /etc as it’s alot easier to roll back).

Once you’ve rebooted & logged in you should find that the system stays at the shell instead of jumping to a blank blue screen with a cursor.

Surprise, More Benchmark results

This time from a £300 Dell Dimension 3000 running OS X 10.4.4 with a 16MB TNT2 m64 PCI graphics card installed as the onboard card is not supported.

compare results here

Results 47.91
System Info
Xbench Version 1.2
System Version 10.4.4 (8G1171)
Physical RAM 512 MB
Model ADP2,1
Drive Type SAMSUNG SP0401N
CPU Test 50.12
GCD Loop 71.35 3.76 Mops/sec
Floating Point Basic 68.36 1.62 Gflop/sec
vecLib FFT 29.68 978.99 Mflop/sec
Floating Point Library 57.23 9.97 Mops/sec
Thread Test 95.33
Computation 70.31 1.42 Mops/sec, 4 threads
Lock Contention 147.98 6.37 Mlocks/sec, 4 threads
Memory Test 69.75
System 60.54
Allocate 45.84 168.33 Kalloc/sec
Fill 83.04 4037.70 MB/sec
Copy 63.72 1316.09 MB/sec
Stream 82.27
Copy 79.54 1642.87 MB/sec
Scale 79.94 1651.63 MB/sec
Add 85.41 1819.49 MB/sec
Triad 84.52 1808.05 MB/sec
Quartz Graphics Test 36.45
Line 33.85 2.25 Klines/sec [50% alpha]
Rectangle 23.61 7.05 Krects/sec [50% alpha]
Circle 25.20 2.05 Kcircles/sec [50% alpha]
Bezier 66.73 1.68 Kbeziers/sec [50% alpha]
Text 94.28 5.90 Kchars/sec
User Interface Test 36.60
Elements 36.60 167.97 refresh/sec
Disk Test 38.91
Sequential 71.79
Uncached Write 44.16 27.11 MB/sec [4K blocks]
Uncached Write 91.29 51.65 MB/sec [256K blocks]
Uncached Read 78.80 23.06 MB/sec [4K blocks]
Uncached Read 106.13 53.34 MB/sec [256K blocks]
Random 26.69
Uncached Write 8.84 0.94 MB/sec [4K blocks]
Uncached Write 68.24 21.85 MB/sec [256K blocks]
Uncached Read 74.52 0.53 MB/sec [4K blocks]
Uncached Read 115.52 21.44 MB/sec [256K blocks]

More Benchmark Results

XBench results from my G4 PowerMac with SATA disks installed

compare results here

Results 19.38
System Info
Xbench Version 1.2
System Version 10.4 (8A428)
Physical RAM 640 MB
Model PowerMac3,1
Processor PowerPC G4 @ 450 MHz
Version 7400 (Max) v2.8
L1 Cache 32K (instruction), 32K (data)
L2 Cache 1024K @ 225 MHz
Bus Frequency 100 MHz
Video Card ATY,R350
Drive Type WDC WD1200JS-55NCB1
CPU Test 20.67
GCD Loop 43.58 2.30 Mops/sec
Floating Point Basic 14.04 333.48 Mflop/sec
vecLib FFT 22.79 751.85 Mflop/sec
Floating Point Library 18.04 3.14 Mops/sec
Thread Test 21.41
Computation 19.39 392.84 Kops/sec, 4 threads
Lock Contention 23.90 1.03 Mlocks/sec, 4 threads
Memory Test 14.00
System 18.66
Allocate 46.73 171.62 Kalloc/sec
Fill 18.49 899.16 MB/sec
Copy 11.72 242.17 MB/sec
Stream 11.20
Copy 10.54 217.72 MB/sec [altivec]
Scale 10.65 219.94 MB/sec [altivec]
Add 11.91 253.66 MB/sec [altivec]
Triad 11.84 253.26 MB/sec [altivec]
Quartz Graphics Test 23.58
Line 21.31 1.42 Klines/sec [50% alpha]
Rectangle 19.14 5.71 Krects/sec [50% alpha]
Circle 20.11 1.64 Kcircles/sec [50% alpha]
Bezier 30.81 777.20 beziers/sec [50% alpha]
Text 32.61 2.04 Kchars/sec
OpenGL Graphics Test 28.94
Spinning Squares 28.94 36.71 frames/sec
User Interface Test 9.87
Elements 9.87 45.29 refresh/sec
Disk Test 60.80
Sequential 80.24
Uncached Write 98.83 60.68 MB/sec [4K blocks]
Uncached Write 105.54 59.72 MB/sec [256K blocks]
Uncached Read 45.87 13.43 MB/sec [4K blocks]
Uncached Read 118.21 59.41 MB/sec [256K blocks]
Random 48.94
Uncached Write 18.52 1.96 MB/sec [4K blocks]
Uncached Write 110.22 35.28 MB/sec [256K blocks]
Uncached Read 90.48 0.64 MB/sec [4K blocks]
Uncached Read 131.51 24.40 MB/sec [256K blocks]

b0 error

You’ll receive this error if you have partitioned your disk using the 10.4.4 Disk Utility, using a Windows 98 Bootdisk run
fdisk /mbr
then run fdisk & make the partition you installed OS X on active & reboot, OS X should boot now without any probs 🙂

One of the following problems exists: Hardware failure Unformatted disk

If you’re trying to install Solaris (SPARC) on a disc which previously had another O/S (*BSD) on it, you will more then likely come across the following error after the system identification stage is complete:
One or more disks are found, but one of the following problems exists:
> Hardware failure

> Unformatted disk.
The problem is to do with the disc label, at the shell fireup format with the e switch
format -e
select the disc which you are trying to install onto, if you are told that the disc doesnt not contain a disk label, would you like to write a lablel, say yes & specify the type as SMI Label, If youre not asked about the label & presented with a menu, goto the partition section, choose label, specify the type as SMI.
quit & reboot & all should be well 🙂

Switching between XFree86 & Xorg

To switch between the XFree86 X server & the Xorg X Server on OpenBSD simply delete the X symbolic link
rm /usr/X11R6/bin/X
& create a new symbolic link from your preferred X server to X
e.g for Xorg
ln -s /usr/X11R6/bin/Xorg /usr/X11R6/bin/X
or XFree86 SVGA
ln -s /usr/X11R6/bin/XF86_SVGA /usr/X11R6/bin/X

No more NIA forums :'( / New NeXT Community Forum

Openstep.se Forum is now closed

Friends,

it’s with some sadness that I have to announce that the Openstep.se forum is now closed. After almost four years, things have become more and more impossible
for me in terms of hosting and running a forum. So after being hacked three times, numerous hardware failures and now a severe lack of time, I have close it down.

A week ago, the forum server gave up. This server was built to last but one of the Ultrawide Scsi-III harddrives decided to take a permanent wacation. Doing that,
it also brought down the SCSI controller and damaged some of the other hardware in the server as well. The forum database is beyond repair and the backup was on
harddrive in the same server (for performance reasons this file was not pulled from the server every night since it was almost a gigabyte in size). This backup
harddrive was also dead when I got to the hosting facility.

I can’t afford to keep this as a free service and although I have recieved many a donations over the years, they does not even come close to actually cover all the
expenses I’ve had with getting new hardware, paying for bandwith, electricity, etc. The new threat with script kiddies hacking forums left, right and center
does not make it any easier and with a fulltime job, two daughters, a wife, a house and friends to look after, I have to say goodbye since buying a professional
forum software and a real server simply is out of my league.

Running the forum as a pay-for-access service is also out of the question for me, as probably also for many of you who have visited over the years.

So, on behalf of myself and Markus (mk_schmidt), I bid you farewell and extend our sincere gratitude for sticking with us over the years.
Thanks, Joacim ‘z80’ Update: The NeXT community is one that does not seem to be interested in just laying down and die. A new forum has been formed and I highly suggest you find your way there: http://www.nextcomputers.org/

Great work, Guys!

NeXT Iconset for OS X

I stumbled across an old post on the NIA forum which featured a link to a review for a NeXT theme for OS X
Unfortunately the theme doesnt work with Tiger, but using a combo of eXec theme for ShapeShifter & the NeXT iconset for ShapeShifter which I made using ThemePark you can get a pretty cool desktop

The NeXT Iconset contains itomato’s NeXT flavour pack icons which I resaved (as Preview has issues opening some of the .icns files) using Iconographer & the NeXT Desktop Hue from the NeXT theme for OS X

The end result is this!
eXec theme for ShapeShifter + my NeXT Iconset

Overlapped Extent Allocation Errors (File 123465x) Fix

Due to a lack of disk space I decided to zap my /System & /Library folders while my PowerBook was in Target Disk mode & connected to my G4 PowerMac, only to find out that I couldnt install Tiger when I got the PowerBook home 🙁
Running Disk Utility & trying to repair the disk brought up several Overlapped Extent Allocation Errors (File 123465x)

After laying a few bricks here & there as I hadn’t backed up (surprise! surprise!!!) I googled around & came up with this

As Keoneo mentions in the 3rd tip, if you make a note of the file numbers DiskUtility complains about, fire up terminal.app & run find / -inum 123456 (dont worry about any of the letters at the end of the file number)
You’ll be given the file name of the offending file number, unfortunately you cant actually delete the individual file, you have the delete the folder which the file is in by typing the following command in terminal.app rm -rf /path/to/offending/file/
If you are doing all this from the OS X install Disk or if you have connected the broken disk/System to a healthy Mac add /Volumes/*disk_label*/ to the beginning of the path e.g if your broken disk is called "Macintosh HD" you would issue the follwing command
rm -rf /Volumes/Machintosh\ HD/path/to/offending/file/
note the backslash between the word Macintosh & HD, you need to have that in so the shell understands that whatever you are referring to has a space in otherwise it treats the text either side of the space as two seperate things which wont work!!
Once you have removed the offending files, run repair disk in Disk Utility again & all should be well again!! 😀

Verify and Repair disk "Macintosh HD"
Checking HFS Plus volume.
Checking Extents Overflow file.
Checking Catalog file.
Incorrect number of thread records
Checking Catalog hierarchy.
Checking Extended Attributes file.
Checking volume bitmap.
Volume Bit Map needs minor repair
Checking volume information.
Invalid volume file count
(It should be 29573 instead of 466435)
Invalid volume directory count
(It should be 5662 instead of 80007)
Invalid volume free block count
(It should be 5920335 instead of 1269081)
Volume Header needs minor repair
Repairing volume.
Rechecking volume.
Checking HFS Plus volume.
Checking Extents Overflow file.
Checking Catalog file.
Checking Catalog hierarchy.
Checking Extended Attributes file.
Checking volume bitmap.
Checking volume information.
The volume Macintosh HD was repaired successfully.
Mounting Disk

1 HFS volume checked
Repair attempted on 1 volume
1 HFS volume repaired

Howto Move the IIS Metabase from One Server to another

Using the following 2 commands you can export the metabase from one webserver & import it onto another, making migration between boxes very easy!

To Export:
C:\WINDOWS\system32>cscript iiscnfg.vbs /export /f plzwork.xml /d test /inherited /children /sp /LM/W3SVC

To Import:
C:\WINDOWS\system32>cscript iiscnfg.vbs /import /f plzwork.xml /dp LM/W3SVC /children /inherited /merge /d test /sp /LM/W3SVC

Linksys BEFSX41 Random Reboots

The release firmware for the Linksys BEFSX41 router contains a bug which causes the router to reboot when you run a traceroute from any machine connected on the internal interfaces. If you contact linksys support they have a beta version firmware available which addresses the issue (v1.52.5 beta)