Update Notes
Am I the only one who is always looking forward to
getting the next update?
Prerequisites for Update 6
The README of the update reads
"This is the one that many of you have been waiting for! This update has
improved serial support on both the NuBus and PCI class machines. Yes,
you can now run PPP reliably on the PCI machines. In addition, a few other
bugs were fixed, and a few new features are included."
Another good news is that this update now supports audio
for NuBus Macs though the sound is a little bit scratchy.
Applying this update requires DR2.1.
If you are still running MkLinux
DR2 or DR2 with updates, then you should upgrade to DR2.1
(see Installation Notes ).
On the other hand, this update does not assume previous updates
to DR2.1. Nevertheless the update paths differ depending upon
whether you have already installed DR2.1update5 and the
update4 shared library support or not.
In the following, I assume that you have already fully installed
update5. If not, you should read
the READEM.install
file and take the ALTERNATE path.
If you have update5 and the DR2.1update4 shared library support
already installed,
then you can go directly to Update 6.
Caution: Update 6 definitely needs
the Update5 booter to boot.
Update to MkLinux DR2.1 Update 1 (Apr 17, '97)
Backup
In MacOS
- copy "Mach Kernel" in "Extensions" folder to
- "Mach Kernel DR2.1".
Reboot and enter MkLinux.
- $ su
- # cp /mach_servers/vmlinux /mach_servers/vmlinux.DR2.1
FTP
- # mkdir /usr/src/update1
- # cd /usr/src/update1
- # ftp ftp.cc.miyazaki-u.ac.jp
- ....
- Name (....): anonymous
- ....
- Password: <my e-mail address>
- ftp> cd pub1/Mac-UNIX/MkLinux/MkLinux_DR2.1/Updates/DR2.1update1
- ftp> get Mach_Kernel.gz
- ftp> get vmlinux.gz
- ftp> bye
Decompression
- # gunzip Mach_Kernel.gz
- # gunzip vmlinux.gz
Copy "Mach Kernel" to MacOS Desktop
- # hmount /dev/sdg6
- # hcopy -r /usr/src/update1/Mach_Kernel ":Mach Kernel"
Notice that the underscore between the "Mach" and
the "Kernel" must be replaced by a blank when copied
to MacOS.
Replace vmlinux
- # cd /usr/src/update1
- # chmod a+x vmlinux
- # cp vmlinux /mach_servers/.
Reboot to MacOS
Replace "Mach Kernel" in the "Extensions" folder by the new one.
Reboot to MkLinux
Update to MkLinux DR2.1 Update 2 (Apr 18, '97)
Backup
In MacOS
- copy "Mach Kernel" in "Extensions" folder to
- "Mach Kernel DR2.1update1".
Reboot and enter MkLinux.
- $ su
- # cp /mach_servers/vmlinux /mach_servers/vmlinux.DR2.1update1
- # cp /mach_servers/default_pager /mach_servers/default_pager.DR2.1
FTP
- # mkdir /usr/src/update2
- # cd /usr/src/update2
- # ftp ftp.cc.miyazaki-u.ac.jp
- ....
- Name (....): anonymous
- ....
- Password: <my e-mail address>
- ftp> cd pub1/Mac-UNIX/MkLinux/MkLinux_DR2.1/Updates/DR2.1update2
- ftp> get Mach_Kernel.gz
- ftp> get vmlinux.gz
- ftp> get default_pager.gz
- ftp> bye
Decompression
- # gunzip Mach_Kernel.gz
- # gunzip vmlinux.gz
- # gunzip default_pager.gz
Copy "Mach Kernel" to MacOS Desktop
- # hmount /dev/sdg6
- # hcopy -r /usr/src/update2/Mach_Kernel ":Mach Kernel"
Notice that the underscore between the "Mach" and
the "Kernel" must be replaced by a blank when copied
to MacOS.
Replace vmlinux
- # cd /usr/src/update2
- # chmod a+x vmlinux
- # cp vmlinux /mach_servers/.
- # cp default_pager /mach_servers/.
Reboot to MacOS
Replace "Mach Kernel" in the "Extensions" folder by the new one.
Reboot to MkLinux
Prerequisites for Update 3
Applying this update requires DR2.1.
If you are still running MkLinux
DR2 or DR2 with updates, then you should upgrade to DR2.1
(see Installation Notes ).
On the other hand, this update does not assume previous updates
to DR2.1. Everything in the previous updates are to be overwritten
by files from Update 3.
Thus you can go directly to Update 3,
once you have DR2.1 installed, though the following update
records are those of step-by-step updates.
Backup
In MacOS
- copy "Mach Kernel" in "Extensions" folder to
- "Mach Kernel DR2.1update2".
Reboot and enter MkLinux.
- $ su
- # cp /mach_servers/vmlinux /mach_servers/vmlinux.DR2.1update2
- # cp /mach_servers/default_pager /mach_servers/default_pager.DR2.1.update2
FTP
- # mkdir /usr/src/update3
- # cd /usr/src/update3
- # mkdir -p RPMS/ppc
- # ftp ftp.cc.miyazaki-u.ac.jp
- ....
- Name (....): anonymous
- ....
- Password: <my e-mail address>
- ftp> cd pub1/Mac-UNIX/MkLinux/MkLinux_DR2.1/Updates/DR2.1update3
- ftp> get Mach_Kernel.gz
- ftp> get vmlinux.gz
- ftp> get default_pager.gz
- ftp> get install_shlibs
- ftp> lcd RPMS/ppc
- ftp> cd RPMS/ppc
- ftp> prompt
- ftp> mget *
- ftp> bye
FTPed files are also available from
here .
Decompression
- # gunzip Mach_Kernel.gz
- # gunzip vmlinux.gz
- # gunzip default_pager.gz
- # chmod a+x install_shlibs
Copy "Mach Kernel" to MacOS Desktop
Copy the Mach Kernel" to the MacOS disk (in my case, it's
SCSI ID = 6 (/dev/sdg), and partition 6) by doing
- # hmount /dev/sdg6
- # hcopy -r /usr/src/update3/Mach_Kernel ":Mach Kernel"
Notice that the underscore between the "Mach" and
the "Kernel" must be replaced by a blank when copied
to MacOS.
Replace vmlinux
- # cd /usr/src/update3
- # chmod a+x vmlinux
- # cp vmlinux /mach_servers/.
- # cp default_pager /mach_servers/.
Reboot to MacOS
Replace "Mach Kernel" in the "Extensions" folder by the new one.
Reboot to MkLinux and Update Shared Libraries
- $ su
- # cd /usr/src/update3
- # export PATH=$PATH:/sbin
- # ./install_shlibs
- .....
- Do you want to proceed with the shared library installation? yes
- .....
- control-command-power
Go Back to the Refreshed MkLinux and Test Some Applications
There were some problems reported for the BETA versions of the
shared library supports. Try those applications that previously
had problems with Update3 here.
Tests in console
- $ finger
- $ top
- $ w
- $ last
- $ who
- $ more memo
- $ su
- # cd /bin
- # mv more more.ORIG
- # ln -s ../usr/local/bin/less more
- # exit
Tests in X
- $ startx
- $ finger
- $ top
- $ w
- $ last
- $ who
- $ more memo
- $ tcsh
- % finger
- % top
- % w
- % last
- % who
- % more memo
Notice that the tests in X have been carried out in
the shared X11
environment.
Prerequisites for Update 4
The shared X11R6.3 is now officially supported by this
update to DR2.1.
Applying this update requires DR2.1.
If you are still running MkLinux
DR2 or DR2 with updates, then you should upgrade to DR2.1
(see Installation Notes ).
On the other hand, this update does not assume previous updates
to DR2.1. Nevertheless the update paths differ depending upon
whether you have already installed the DR2.1update3 shared library
support or not. In the following, I assume the presence of the
update3 shared library support. If not, you should read
the READEM.shared
file and take the ALTERNATE path.
If you have the DR2.1update3 shared library support,
then you can go directly to Update 4.
Backup
In MacOS
- copy "Mach Kernel" in "Extensions" folder to
- "Mach Kernel DR2.1update3".
Reboot and enter MkLinux.
- $ su
- # cp /mach_servers/vmlinux /mach_servers/vmlinux.DR2.1update3
- # cp /mach_servers/default_pager /mach_servers/default_pager.DR2.1.update3
FTP
- # mkdir /usr/src/update4
- # cd /usr/src/update4
- # mkdir -p RPMS/ppc
- # ftp ftp.cc.miyazaki-u.ac.jp
- ....
- Name (....): anonymous
- ....
- Password: <my e-mail address>
- ftp> cd pub1/Mac-UNIX/MkLinux/MkLinux_DR2.1/Updates/DR2.1update4
- ftp> get Mach_Kernel.gz
- ftp> get vmlinux.gz
- ftp> get default_pager.gz
- ftp> get install_shlibs.u3u4
- ftp> lcd RPMS/ppc
- ftp> cd RPMS/ppc
- ftp> prompt
- ftp> mget *
- ftp> bye
FTPed files are also available from
here .
Notice
As of August 2, 1997, there is a single rpm file missing in
the RPMS/ppc directory of the Miyazaki site, that is
glibc-info-0.961212-1Q.ppc.rpm
I have FTPed this from
ftp://ftp.mklinux.apple.com/pub/Updates/DR2.1update4/RPMS/ppc/.
Decompression
- # gunzip Mach_Kernel.gz
- # gunzip vmlinux.gz
- # gunzip default_pager.gz
- # chmod a+x install_shlibs.u3u4
Copy "Mach Kernel" to MacOS Desktop
Copy the Mach Kernel" to the MacOS disk (in my case, it's
SCSI ID = 6 (/dev/sdg), and partition 6) by doing
- # hmount /dev/sdg6
- # hcopy -r /usr/src/update4/Mach_Kernel ":Mach Kernel"
Notice that the underscore between the "Mach" and
the "Kernel" must be replaced by a blank when copied
to MacOS.
Replace vmlinux
- # cd /usr/src/update4
- # chmod a+x vmlinux
- # cp vmlinux /mach_servers/.
- # cp default_pager /mach_servers/.
Reboot to MacOS
Replace "Mach Kernel" in the "Extensions" folder by the new one.
Reboot to MkLinux and Update Shared Libraries
- $ su
- # cd /usr/src/update4
- # export PATH=$PATH:/sbin
- # ./install_shlibs.u3u4
- .....
- Do you want to proceed with the shared library installation? yes
- .....
- # /sbin/shutdown -r now
Now Restore the X Environment
Now that all the X11 is renewed, I have to recustomize my
X11 environment:
- Fonts
You have to restore your favorite additional fonts like:
- # cd /usr/X11R6.3/lib/X11/fonts/misc
- # cp /usr/oldX11/lib/X11/fonts/misc/6x12rk.pcf.Z .
- # cp /usr/oldX11/lib/X11/fonts/misc/k12.pcf.Z .
- # cp /usr/oldX11/lib/X11/fonts/misc/a12.pcf.Z .
- # mkfontdir
- # cat <somewhere>/fonts.alias.misc.added >> fonts.alias
- # cd ../75dpi
- # cat <somewhere>/fonts.alias.75dpi.added >> fonts.alias
- X Applications
My favorite X applications are also gone with the update.
In my case, the first thing to do is to restore Xaw3d:
- # cd /
- # tar -zxvf <somewhere>/Xaw3d-1.3-bin.tar.gz
- # cd /usr/X11R6.3/lib
- # libXaw.so libXaw.so.6
- # ln -s libXaw3d.so.6.1 libXaw.so
- # ln -s libXaw3d.so.6.1 libXaw.so.6
Then I had to restore the rest such as fvwm2, ghostview,
kinput2, kterm, tgif, xarchie, xcalc, xcalendar, xfig, xftp,
xv, ..etc like:
- # cd /
- # tar -zxvf <somewhere>/<application>.tar.gz
or if they are RPM packages:
- # rpm -i --force <somewhere>/<application>.ppc.rpm
- App-defaults
You may also want to restore app-defaults:
- # cd /usr/X11R6.3/lib/X11/app-defaults
- # ls
- .....
- # ls /usr/oldX11/lib/X11/app-defaults
- .....
- # cp /usr/oldX11/lib/X11/app-defaults/* .
OK. I'm back.
Prerequisites for Update 5
All the memory in large memory machines can now be used:
a good news since I have just increased my ram to 104MB.
Another good news is that this update now officially supports JDK:
though you have to install JDK separately.
Applying this update requires DR2.1.
If you are still running MkLinux
DR2 or DR2 with updates, then you should upgrade to DR2.1
(see Installation Notes ).
On the other hand, this update does not assume previous updates
to DR2.1. Nevertheless the update paths differ depending upon
whether you have already installed the DR2.1update4 shared library
support or not. In the following, I assume the presence of the
update4 shared library support. If not, you should read
the READEM.install
file and take the ALTERNATE path.
Backup
In MacOS
- copy "Mach Kernel" in "Extensions" folder to
- "Mach Kernel wip970926".
- copy "MkLinux Booter" in "Extensions" folder to
- "MkLinux Booter wip970922".
Use appropriate names for the backup files, depending upon
which versions you have been using.
Reboot and enter MkLinux.
- $ su
- # cp /mach_servers/vmlinux /mach_servers/vmlinux.DR2.wip970926
- # cp /mach_servers/default_pager /mach_servers/default_pager.DR2.1.update4
Again use appropriate names for the backup files, depending upon
which versions you have been using.
FTP
- # mkdir /usr/src/update5
- # cd /usr/src/update5
- # ftp ftp.cc.miyazaki-u.ac.jp
- ....
- Name (....): anonymous
- ....
- Password: <my e-mail address>
- ftp> cd pub1/Mac-UNIX/MkLinux/MkLinux_DR2.1/Updates/DR2.1update5
- ftp> get Mach_Kernel.gz
- ftp> get MkLinux_Booter.hqx
- ftp> get vmlinux.gz
- ftp> get default_pager.gz
- ftp> bye
FTPed files are also available from
here .
Decompression
- # gunzip Mach_Kernel.gz
- # gunzip vmlinux.gz
- # gunzip default_pager.gz
Copy "Mach Kernel" to MacOS Desktop
Copy the Mach Kernel" to the MacOS disk (in my case, it's
SCSI ID = 6 (/dev/sdg), and partition 6) by doing
- # hmount /dev/sdg6
- # hcopy -r /usr/src/update5/Mach_Kernel ":Mach Kernel"
- # hcopy -r /usr/src/update5/MkLinux_Booter.hqx ":MkLinux_Booter.hqx"
Notice that the underscore between the "Mach" and
the "Kernel" must be replaced by a blank when copied
to MacOS.
Replace vmlinux
- # cd /usr/src/update5
- # chmod a+x vmlinux default_pager
- # cp vmlinux /mach_servers/.
- # cp default_pager /mach_servers/.
Reboot to MacOS
Replace "Mach Kernel" in the "Extensions" folder by the new one.
After un-binhexing, replace "MkLinux Booter" in the "Extensions"
folder, too.
Caution:
This Booter will not work with any Mach Kernel
prior to the one in DR2.1update5.
Reboot to MkLinux and Check Versions
- $ cat /proc/version
- Linux version 2.0.30-osfmach3 (gilbert@venus) (gcc version 2.7.2.1-ppclinux) #1 Tue Oct 21 13:59:18 PDT 1997
- $ cat /proc/osfmach3/version
- Mach 3.0 VERSION(PMK1.1): gilbert ; Tue Oct 21 13:50:08 PDT 1997; mach_kernel/PRODUCTION (venus)
OK. I am now fully DR2.1update5. Now try some quick tests.
- $ free
total used free shared buffers cached
Mem: 106496 61680 44816 0 1420 28012
-/+ buffers: 32248 74248
Swap: 79996 2428 77568
- $ hotjava
- ...
Great! I can now see more than 90MB from MkLinux.
Hotjava works, too.
Backup
In MacOS
- backup "Mach Kernel" in "Extensions" folder with an appropriate name:
- "Mach Kernel wip971027"
- in my case.
Reboot and enter MkLinux.
- $ su
- # cp /mach_servers/vmlinux /mach_servers/vmlinux.DR2.wip971027
- # cp /mach_servers/default_pager /mach_servers/default_pager.DR2.1.wip971027
Again use appropriate names for the backup files, depending upon
which versions you have been using.
FTP
- # mkdir /usr/src/update6
- # cd /usr/src/update6
- # ftp ftp.cc.miyazaki-u.ac.jp
- ....
- Name (....): anonymous
- ....
- Password: <my e-mail address>
- ftp> cd pub1/Mac-UNIX/MkLinux/MkLinux_DR2.1/Updates/DR2.1update6
- ftp> get Mach_Kernel.gz
- ftp> get vmlinux.gz
- ftp> get default_pager.gz
- ftp> bye
FTPed files are also available from
here .
Decompression
- # gunzip Mach_Kernel.gz vmlinux.gz default_pager.gz
Copy "Mach Kernel" to MacOS Desktop
Copy the Mach Kernel" to the MacOS disk (in my case, it's
SCSI ID = 6 (/dev/sdg), and partition 6) by doing
- # hmount /dev/sdg6
- # hcopy -r /usr/src/update6/Mach_Kernel ":Mach Kernel"
Notice that the underscore between the "Mach" and
the "Kernel" must be replaced by a blank when copied
to MacOS.
Replace vmlinux
- # cd /usr/src/update6
- # chmod a+x vmlinux default_pager
- # cp vmlinux default_pager /mach_servers/.
Reboot to MacOS
Replace "Mach Kernel" in the "Extensions" folder by the new one.
Caution:
You have to use the Booter coming with DR2.1update5 to
boot MkLinux with this new kernel
Reboot to MkLinux and Check Versions
- $ cat /proc/version
- Linux version 2.0.30-osfmach3 (gilbert@venus) (gcc version 2.7.2.1-ppclinux) #1 Wed Nov 12 16:06:55 PST 1997
- $ cat /proc/osfmach3/version
- Mach 3.0 VERSION(PMK1.1): gilbert ; Wed Nov 12 16:02:05 PST 1997; mach_kernel/PRODUCTION (venus)
OK. I am now fully DR2.1update6. Now try some quick tests.
- $ su
- # cd /dev
- # ./MAKEDEV audio
- # ls au*
- /dev/audio /dev/audio1
- # cat <somewhere>/foobar.au > /dev/audio
Great! I can now use /dev/audio.
Back to Keisuke Fujii's MkLinux Page
fujiik@jlcuxf.kek.jp May 12, 1997