Please consider a donation to the Higher Intellect project. See https://preterhuman.net/donate.php or the Donate to Higher Intellect page for more info.

Apple UNIX (A/UX): Difference between revisions

From Higher Intellect Vintage Wiki
No edit summary
(35 intermediate revisions by the same user not shown)
Line 1: Line 1:
Also known as A/UX.
[[File:Picture-5.jpg|thumb|A/UX]]
[[File:Auxq700.png|thumb|A/UX 3.1.1 on Quadra 700]]
 
A/UX is [[Apple Computer]]'s implementation of UNIX System V on the Macintosh, with the System 7 graphical interface running as a UNIX application (A/UX version 3.x).
 
===Compatibility===
The later versions of A/UX require a [[Motorola 68030]] or [[Motorola 68040]] based Macintosh with an FPU and PMMU, and it will not run on AV models or LC models. Version 3.1.1 of A/UX was specifically designed to run on the Quadra 900 series, and version 3.0.1 is recommended for any other Mac model. The following Macintosh models should work with A/UX:
* [[Macintosh SE/30]]
* [[Macintosh IIci]]
* [[Macintosh IIfx]]
* [[Macintosh Quadra 610]]
* [[Macintosh Quadra 650]]
* [[Macintosh Quadra 700]]
* [[Macintosh Quadra 800]]
* [[Macintosh Quadra 900]]
* [[Macintosh Quadra 950]]
 
'''NOTE:''' Certain 68040 systems from this list may require the use of a system enabler both in the install boot media and in the initial Mac boot partition after A/UX has been installed.
 
Other models including those in the Macintosh II line should also work assuming an FPU is present. Likewise if you take a Centris model and switch out the 68LC040 chip with a full FPU version, it should work just like a Quadra.
 
====What's the minimum system I need (CPU, disk and RAM) to run A/UX 2.0.1?====
 
A/UX 2.0 works on the MacII (with PMMU _or_ 68030 upgrade with FDHD ROM's installed). IIx, IIcx, IIci, IIfx and SE/30 machines. A/UX 2.0.1 additionally supports the IIsi (although the IIsi requires the 68882 chip). A/UX is available preinstalled on a hard disk, on CD-ROM and on floppies (DC2000 tape is no longer supported).
 
== Troubleshooting ==
===Cannot mount "/dev/dsk/c100d0s0" - Invalid argument.===
Encountered this error during the A/UX 3.0 installer process when it attempted to read its software package list. The system had an 8GB SCSI2SD with A/UX slices pre-partitioned from before the installer launched. Deleting these partitions leaving only the Mac driver bit at the start of the drive and reloading the installer fixed this issue.
 
You may choose to pre-partition your disk but they will need to be formatted before A/UX installer will work on them. See the instruction link further down on the "floodgap" server for more information. Alternatively you can create your HFS partition before opening the A/UX installer, then using the HD SC utility in A/UX to create your UNIX slices (custom partitioning in 3.0.1 installer is missing the Macintosh volume type).
 
===The desktop folder on the startup disk could not be created. Try unlocking the disk.===
Not entirely sure what triggered this problem but it prevented an A/UX user from logging into the Mac environment. The Desktop Folder directories within the user home did not appear to be broken but the solution was to delete the "System Folder" and ".mac" directories in the user home directory and re-create with the "systemfolder" command as root ("systemfolder -u username_goes_here").
 
===Error: Can't load 'ranlib' (No such file or directory)===
(from the A/UX FAQ) 'ranlib' is a program that increases the efficiency of accessing and using archives (*.a files). A/UX's 'ar' already does this, so it isn't needed. To get around this, do something like:
<pre>
ln /bin/true /bin/ranlib
</pre>
 
You could also use '/bin/touch' but the above will (hopefully) take care of cases when ranlib is called with options. If you want to put 'ranlib' somewhere else, then that's OK. If the location is a different file system, then you'll need to use a symbolic link:
<pre>
ln -s /bin/true /usr2/local/bin/ranlib
</pre>
===panic: kmem_alloc===
If you encounter this message in a system failure, try bumping the MAXCORE to 0x50000.
 
===Fixing the 32-bit clean error message===
If you are sure the Macintosh program you are trying to run is 32-bit clean, just click the OK button and the program will run normally. To prevent the error message from appearing in the future, enter the changesize command where "/path/to/ProgramName" is your application:
<pre>
/mac/bin/changesize +32BitCompatible /path/to/ProgramName
</pre>
This will not make 24-bit applications into 32-bit applications, so you must use A/UX's 24-bit mode for older applications.
 
== Notes ==
* When no console user is logged in, the path "/Desktop Folder" points to /tmp. When a user account logs in to the physical console, "/Desktop Folder" changes to the path "/users/(username)/.mac/(hostname)/Desktop Folder"
 
===AWS95 vs. Standard A/UX versions===
The most basic differences between 3.0.1 and 3.0.1dt are:
 
* Buffer cacher size
* Packages installed during Easy Install
* Swap space size on Easy Install
* Autologin enabled in 3.0.1 (AWS95)
* lpr daemon off in 3.0.1, on in 3.0.1dt
* Partitions choices in HDSC SetUp
 
===How come my Login screen is gray, not color?===
 
Because that's the way Apple wanted it :) Actually, the reason why is
because the "scrn" resource is missing from "System" in /mac/sys/Login System
Folder. If you're handy, you can copy "scrn" from some other System and
paste it in Login's using ResEdit. Make sure the "Is Color" field in "scrn"
is "1".


== Manuals ==
== Manuals ==
Line 9: Line 82:
* [https://cdn.preterhuman.net/texts/computing/macintosh/030-0762-A_AUX_Local_System_Administration_1990.pdf A/UX Local System Administration (1990)]
* [https://cdn.preterhuman.net/texts/computing/macintosh/030-0762-A_AUX_Local_System_Administration_1990.pdf A/UX Local System Administration (1990)]
* [https://cdn.preterhuman.net/texts/computing/macintosh/030-0778-A_AUX_Network_System_Administration_1990.pdf A/UX Network System Administration (1990)]
* [https://cdn.preterhuman.net/texts/computing/macintosh/030-0778-A_AUX_Network_System_Administration_1990.pdf A/UX Network System Administration (1990)]
* [https://cdn.preterhuman.net/texts/computing/macintosh/030-0779_AUX_System_Administrators_Reference_Sections_1M_7_8_1990.pdf A/UX System Administrator's Reference
* [https://cdn.preterhuman.net/texts/computing/macintosh/030-0779_AUX_System_Administrators_Reference_Sections_1M_7_8_1990.pdf A/UX System Administrator's Reference Sections 1M, 7, and 8 (1990)]
Sections 1M, 7, and 8 (1990)]
* [https://cdn.preterhuman.net/texts/computing/macintosh/030-0781_AUX_Command_Reference_Section_1_A-L_1990.pdf A/UX Command Reference Section 1 (A-L) (1990)]
* [https://cdn.preterhuman.net/texts/computing/macintosh/030-0782_AUX_Command_Reference_Sections_1_M-Z_and_6_1990.pdf A/UX Command Reference Sections 1 (M-Z) and 6 (1990)]
* [https://cdn.preterhuman.net/texts/computing/macintosh/030-0783-A_AUX_Reference_Summary_And_Index_1990.pdf A/UX Reference Summary And Index (1990)]
* [https://cdn.preterhuman.net/texts/computing/macintosh/030-0784_AUX_Programmers_Reference_Sections_2_And_3_A-L_1990.pdf A/UX Programmers Reference Sections 2 and 3 (A-L) (1990)]
* [https://cdn.preterhuman.net/texts/computing/macintosh/030-0785_AUX_Programmers_Reference_Sections_3_M-Z_4_And_5_1990.pdf A/UX Programmers Reference Sections 3 (M-Z), 4, and 5 (1990)]
* [https://cdn.preterhuman.net/texts/computing/macintosh/030-0786-A_AUX_Programming_Languages_And_Tools_Volume_1_1990.pdf A/UX Programming Languages and Tools Volume 1 (1990)]
* [https://cdn.preterhuman.net/texts/computing/macintosh/031-0127_AUX_Programming_Languages_And_Tools_Volume_2_1990.pdf A/UX Programming Languages and Tools Volume 2 (1990)]
* [https://cdn.preterhuman.net/texts/computing/macintosh/030-0787-A_AUX_Toolbox_Macintosh_ROM_Interface_1990.pdf A/UX Toolbox: Macintosh ROM Interface (1990)]
* [https://cdn.preterhuman.net/texts/computing/macintosh/030-3253-A_AUX_1.0_Installation_Guide_1987.pdf A/UX 1.0 Installation Guide (1987)]
* [https://cdn.preterhuman.net/texts/computing/macintosh/031-0117-A_AUX_2.0_Release_Notes_1990.pdf A/UX 2.0 Release Notes (1990)]
* [https://cdn.preterhuman.net/texts/computing/macintosh/031-0124_AUX_Text_Editing_Tools_1990.pdf A/UX Text Editing Tools (1990)]
* [https://cdn.preterhuman.net/texts/computing/macintosh/031-0125_AUX_User_Interface_1990.pdf A/UX User Interface (1990)]
* [https://cdn.preterhuman.net/texts/computing/macintosh/031-0126_AUX_Communications_User_Guide_1990.pdf A/UX Communications User Guide (1990)]
 
==Resources==
* [[Newbie Guide To A/UX (Apple UNIX)]]
* http://aux.preterhuman.net - netfreak's A/UX experience
* http://christtrekker.users.sourceforge.net/doc/aux/faq.html - A/UX FAQ
* http://www.floodgap.com/retrotech/os/aux/ - A/UX install instructions
* http://www.aux-penelope.com/
* http://www.nleymann.de/appleAUX/AppleAUXMain.htm
 
==Videos==
<youtube>https://www.youtube.com/watch?v=veOLuYgWkls</youtube>


==See Also==
* [[Apple A/UX Operating System Version 1.1.1]]
* [[A/UX Development]]
* [[Apple Computer]]


[[Category:Computing]] [[Category:Apple]]
[[Category:Operating Systems]] [[Category:Apple]]
[[Category:A/UX]]

Revision as of 23:08, 31 January 2021

A/UX
A/UX 3.1.1 on Quadra 700

A/UX is Apple Computer's implementation of UNIX System V on the Macintosh, with the System 7 graphical interface running as a UNIX application (A/UX version 3.x).

Compatibility[edit]

The later versions of A/UX require a Motorola 68030 or Motorola 68040 based Macintosh with an FPU and PMMU, and it will not run on AV models or LC models. Version 3.1.1 of A/UX was specifically designed to run on the Quadra 900 series, and version 3.0.1 is recommended for any other Mac model. The following Macintosh models should work with A/UX:

NOTE: Certain 68040 systems from this list may require the use of a system enabler both in the install boot media and in the initial Mac boot partition after A/UX has been installed.

Other models including those in the Macintosh II line should also work assuming an FPU is present. Likewise if you take a Centris model and switch out the 68LC040 chip with a full FPU version, it should work just like a Quadra.

What's the minimum system I need (CPU, disk and RAM) to run A/UX 2.0.1?[edit]

A/UX 2.0 works on the MacII (with PMMU _or_ 68030 upgrade with FDHD ROM's installed). IIx, IIcx, IIci, IIfx and SE/30 machines. A/UX 2.0.1 additionally supports the IIsi (although the IIsi requires the 68882 chip). A/UX is available preinstalled on a hard disk, on CD-ROM and on floppies (DC2000 tape is no longer supported).

Troubleshooting[edit]

Cannot mount "/dev/dsk/c100d0s0" - Invalid argument.[edit]

Encountered this error during the A/UX 3.0 installer process when it attempted to read its software package list. The system had an 8GB SCSI2SD with A/UX slices pre-partitioned from before the installer launched. Deleting these partitions leaving only the Mac driver bit at the start of the drive and reloading the installer fixed this issue.

You may choose to pre-partition your disk but they will need to be formatted before A/UX installer will work on them. See the instruction link further down on the "floodgap" server for more information. Alternatively you can create your HFS partition before opening the A/UX installer, then using the HD SC utility in A/UX to create your UNIX slices (custom partitioning in 3.0.1 installer is missing the Macintosh volume type).

The desktop folder on the startup disk could not be created. Try unlocking the disk.[edit]

Not entirely sure what triggered this problem but it prevented an A/UX user from logging into the Mac environment. The Desktop Folder directories within the user home did not appear to be broken but the solution was to delete the "System Folder" and ".mac" directories in the user home directory and re-create with the "systemfolder" command as root ("systemfolder -u username_goes_here").

Error: Can't load 'ranlib' (No such file or directory)[edit]

(from the A/UX FAQ) 'ranlib' is a program that increases the efficiency of accessing and using archives (*.a files). A/UX's 'ar' already does this, so it isn't needed. To get around this, do something like:

ln /bin/true /bin/ranlib

You could also use '/bin/touch' but the above will (hopefully) take care of cases when ranlib is called with options. If you want to put 'ranlib' somewhere else, then that's OK. If the location is a different file system, then you'll need to use a symbolic link:

ln -s /bin/true /usr2/local/bin/ranlib

panic: kmem_alloc[edit]

If you encounter this message in a system failure, try bumping the MAXCORE to 0x50000.

Fixing the 32-bit clean error message[edit]

If you are sure the Macintosh program you are trying to run is 32-bit clean, just click the OK button and the program will run normally. To prevent the error message from appearing in the future, enter the changesize command where "/path/to/ProgramName" is your application:

/mac/bin/changesize +32BitCompatible /path/to/ProgramName

This will not make 24-bit applications into 32-bit applications, so you must use A/UX's 24-bit mode for older applications.

Notes[edit]

  • When no console user is logged in, the path "/Desktop Folder" points to /tmp. When a user account logs in to the physical console, "/Desktop Folder" changes to the path "/users/(username)/.mac/(hostname)/Desktop Folder"

AWS95 vs. Standard A/UX versions[edit]

The most basic differences between 3.0.1 and 3.0.1dt are:

  • Buffer cacher size
  • Packages installed during Easy Install
  • Swap space size on Easy Install
  • Autologin enabled in 3.0.1 (AWS95)
  • lpr daemon off in 3.0.1, on in 3.0.1dt
  • Partitions choices in HDSC SetUp

How come my Login screen is gray, not color?[edit]

Because that's the way Apple wanted it :) Actually, the reason why is because the "scrn" resource is missing from "System" in /mac/sys/Login System Folder. If you're handy, you can copy "scrn" from some other System and paste it in Login's using ResEdit. Make sure the "Is Color" field in "scrn" is "1".

Manuals[edit]

Resources[edit]

Videos[edit]

See Also[edit]