Patrick Finnegan | 7 Sep 2002 18:50
Favicon

Installing on an RS/6000 43P-140

I've downloaded the '7043boot.fs' file, and am able to successfully boot
to a point where it asks me for a root device.

Now, can anyone tell me how to get an installer running?

Thanks!

-- Pat

jkunz | 8 Sep 2002 12:39
Picon

Re: Installing on an RS/6000 43P-140

On  7 Sep, Patrick Finnegan wrote:

> I've downloaded the '7043boot.fs' file, and am able to successfully boot
> to a point where it asks me for a root device.
> 
> Now, can anyone tell me how to get an installer running?
You need to boot the machine with the "install" image. This should be
in the same directory where you found the "7043boot.fs". (BTW: where
did you find this file? I never noticed it bevore.) At least on
ftp://releng.netbsd.org/ should be the image you need. 

Note that sysinstall doesn't make the disk bootable. You will need to
do some black magic with fdisk to create a bootable disk. The PREP
machins have a MBR partition table (like i386) with a partition of type
65 that contains the bootimage. There is an other partition of type 169
(?) that contains the BSD part of the disk, i.e. there is a BSD
disklabel and all BSD slices in it. I was never successful in creating
a bootable MBR partition table. Finaly I dd-ed the boot.fs image to the
disk. This image has a valid, bootable MBR partition table. Then I
edited this MBR partition table by hand and added the BSD partition. The
rest was the usual "install by hand": disklabel, newfs, mount, tar, ...
The machine can boot from its own disk now, but I have to enter the
root device each time. And I don't know how to install an other kernel. 

Additional note: As usual I was not able to find a working floppy to
boot the machine from. So I simlpy tried to boot the floppy image via
network (bootp/tftp). Surprisingly this worked very well. (On a
43P-100, your machie is a different type.)
--

-- 

(Continue reading)

Patrick Finnegan | 8 Sep 2002 17:42
Favicon

Re: Installing on an RS/6000 43P-140


On Sun, 8 Sep 2002 jkunz <at> unixag-kl.fh-kl.de wrote:

> On  7 Sep, Patrick Finnegan wrote:
>
> > I've downloaded the '7043boot.fs' file, and am able to successfully boot
> > to a point where it asks me for a root device.
> >
> > Now, can anyone tell me how to get an installer running?
> You need to boot the machine with the "install" image. This should be
> in the same directory where you found the "7043boot.fs". (BTW: where
> did you find this file? I never noticed it bevore.) At least on
> ftp://releng.netbsd.org/ should be the image you need.

I found the file on the main netbsd ftp server in:
ftp://ftp.netbsd.org/pub/NetBSD/arch/prep/tmp/
It's the only file in that directory.

I've just tried the newest sysinst image:
ftp://releng.netbsd.org/pub/NetBSD-daily/200209060000/prep/installation/floppy/sysinst_com0.fs.gz
It has the same problem of panicing that the May 'official' snapshot does:

panic: intr_establish: can't share level-triggered with edge-triggered irq 7

In fact, it seems that the file '7043boot.fs' is the only thing I can make
boot on here besides my set of IBM diagnostics, which isn't useful as an
OS.

> Note that sysinstall doesn't make the disk bootable. You will need to
> do some black magic with fdisk to create a bootable disk. The PREP
(Continue reading)

Jochen Kunz | 8 Sep 2002 18:49
Picon

Re: Installing on an RS/6000 43P-140

On 2002.09.08 17:42 Patrick Finnegan wrote:

> I found the file on the main netbsd ftp server in:
> ftp://ftp.netbsd.org/pub/NetBSD/arch/prep/tmp/
> It's the only file in that directory.
Ahh, I always used the stuff from releng.netbsd.org...

> I've just tried the newest sysinst image:
> ftp://releng.netbsd.org/pub/NetBSD-daily/200209060000/prep/installation/floppy/sysinst_com0.fs.gz
> It has the same problem of panicing that the May 'official' snapshot
> does:
> 
> panic: intr_establish: can't share level-triggered with edge-triggered
> irq 7
Seams like you have the chance to help one of the NetBSD developers to
improve the PREP port. ;-)

> In fact, it seems that the file '7043boot.fs' is the only thing I can
> make boot on here besides my set of IBM diagnostics, which isn't 
> useful as an OS.
Bad. When it asks for a root-fs, you can enter the name of a network
interface. The kernel will try bootp and then NFS to mount a NFS
root-fs... At least the kernel should do that. ;-)

> I think you mean 41 -- 'PPC Prep Boot'.  
0x41 == 65 

> All I've had to do on linux is dd a new zImage.prep into the 'boot
> partition'.  I'm sure there's something similar for netBSD.
I know. We have some 43P-100 and 43P-133 at the Unix-AG runing Debian
(Continue reading)

Patrick Finnegan | 8 Sep 2002 19:41
Favicon

Re: Installing on an RS/6000 43P-140

On Sun, 8 Sep 2002, Jochen Kunz wrote:

> On 2002.09.08 17:42 Patrick Finnegan wrote:
>
> > I've just tried the newest sysinst image:
> > ftp://releng.netbsd.org/pub/NetBSD-daily/200209060000/prep/installation/floppy/sysinst_com0.fs.gz
> > It has the same problem of panicing that the May 'official' snapshot
> > does:
> >
> > panic: intr_establish: can't share level-triggered with edge-triggered
> > irq 7
> Seams like you have the chance to help one of the NetBSD developers to
> improve the PREP port. ;-)

But, there is a working kernel... the one in '7043boot.fs'.  All that
needs to be done is make an install image with that kernel on it.  If I
knew how to do that myself, I would.

> > In fact, it seems that the file '7043boot.fs' is the only thing I can
> > make boot on here besides my set of IBM diagnostics, which isn't
> > useful as an OS.
> Bad. When it asks for a root-fs, you can enter the name of a network
> interface. The kernel will try bootp and then NFS to mount a NFS
> root-fs... At least the kernel should do that. ;-)

OK, what do I need on that rootfs in order to make it do an installation?
Or, can I just explode the tarballs into the nfsroot for it and just use
fdisk/mkfs/cp to move everything over?  I'm about to just try hooking the
drive up to my PC and partitioning/mkfsing/exploding the tarballs using
it.
(Continue reading)

Jochen Kunz | 8 Sep 2002 20:52
Picon

Re: Installing on an RS/6000 43P-140

On 2002.09.08 19:41 Patrick Finnegan wrote:

> But, there is a working kernel... the one in '7043boot.fs'.  All that
> needs to be done is make an install image with that kernel on it.  If
> I knew how to do that myself, I would.
If you can boot the machine diskless with that kernel, you don't need
any special install image. 

> OK, what do I need on that rootfs in order to make it do an
> installation?
In short: RTFM http://www.netbsd.org/Documentation/network/netboot/

> Or, can I just explode the tarballs into the nfsroot for it and just
> use fdisk/mkfs/cp to move everything over?  
In long: Yes. You need bootp + tftp too load the kernel and to inform
the kernel, once it wants to mount the NFS root, where to mount what.
You must un-tar at least etc.tgz and base.tgz into the NFS root and run
"./MAKEDEV all" in the /dev directory of the NFS root. Remember to
export the NFS root with "-alldirs -maproot=root:wheel". 
When the system is running diskless, just dd the floppy image to the
disk, edit the MBR partition table with fdisk to add the NetBSD
partition. (Type 169?) put a disklabel on that BSD partition. Create at
least a "a" slice for /, a "b" slice for swap (at least as big as you
have RAM in the machine to be able to store a crash dump) and I
recommend a extra "e" slice for /usr. newfs the slices, mount them (with
"-o async" to speed up un-tar-ing), un-tar the sets you need ("tar
xzpf"), "cd /mnt/dev ; ./MAKEDEV all", edit /mnt/etc/rc.conf (see
/mnt/etc/defaults/rc.conf for all options) and that's it. 

> I'm about to just try hooking the drive up to my PC and
(Continue reading)


Gmane