Re: Trouble booting an IBM 7248 after installation

William Orr <[email protected]> Wed, 2 Jul 2014 16:51:06 -0700
Newsgroups gmane.os.netbsd.ports.prep
Message-ID <[email protected]>
--Apple-Mail=_9AC2B20F-5902-4B87-8172-915D5EE7AEDF
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

On Jul 2, 2014, at 6:21 AM, Andy Ruhl <[email protected]> wrote:

> On Sat, Jun 28, 2014 at 10:45 PM, William Orr <[email protected]> =
wrote:
>> Hello all,
>>=20
>> I=92ve *almost* successfully installed NetBSD on my IBM 7248. My =
system is a little special though - the SCSI drive that it had was bad, =
so I instead installed on a CF Card that=92s plugged into the IDE =
controller. The installation of NetBSD went beautifully, however I can=92t=
 boot my system.
>>=20
>> The SMS sees the CF card as a bootable device, and when booting to =
it, the serial console hangs and the system never comes up. There=92s no =
real activity happening on the CF card.
>>=20
>> I then tried creating a netbootable image with the hope of netbooting =
into my installed system. I booted up the installer again, and dropped =
to a shell. I chrooted into my system and did /usr/mdec/mkbootimage -m =
prep -b /usr/mdec/boot_com0 -k /netbsd boot.fs and tried netbooting =
again. The system grabbed it via tftp, but it hung afterwards. Again, =
there were no reads on the CF card.
>>=20
>> It=92s worth noting that the CF card is 8GB, and SMS only sees it as =
roughly 3.7 GBs.
>>=20
>> Here=92s the partition table:
>>=20
>> # fdisk /dev/wd0
>> Disk: /dev/wd0c
>> NetBSD disklabel disk geometry:
>> cylinders: 15538, heads: 16, sectors/track: 63 (1008 =
sectors/cylinder)
>> total sectors: 15662304
>>=20
>> BIOS disk geometry:
>> cylinders: 975, heads: 255, sectors/track: 63 (16065 =
sectors/cylinder)
>> total sectors: 15662304
>>=20
>> Partitions aligned to 16065 sector boundaries, offset 63
>>=20
>> Partition table:
>> 0: Linux/MINIX (sharing disk with DRDOS) or Personal RISC boot (sysid =
65)
>>    start 63, size 9800 (5 MB, Cyls 0-0/156/35), Active
>>        PBR is not bootable: All bytes are identical (0x00)
>> 1: NetBSD (sysid 169)
>>    start 9863, size 15652441 (7643 MB, Cyls 0/156/36-974/237/63)
>>        PBR is not bootable: All bytes are identical (0x00)
>> 2: <UNUSED>
>> 3: <UNUSED>
>> First active partition: 0
>>=20
>>=20
>> And the disklabel:
>>=20
>> # /dev/wd0c:
>> type: unknown
>> disk: TS8GCF133
>> label:
>> flags:
>> bytes/sector: 512
>> sectors/track: 63
>> tracks/cylinder: 16
>> sectors/cylinder: 1008
>> cylinders: 15538
>> total sectors: 15662304
>> rpm: 3600
>> interleave: 1
>> trackskew: 0
>> cylinderskew: 0
>> headswitch: 0           # microseconds
>> track-to-track seek: 0  # microseconds
>> drivedata: 0
>>=20
>> 8 partitions:
>> #        size    offset     fstype [fsize bsize cpg/sgs]
>> a:  15127056      9863     4.2BSD   2048 16384     0  # (Cyl.      =
9*-  15016*)
>> b:    263088  15136919       swap                     # (Cyl.  =
15016*-  15277*)
>> c:  15662304         0     unused      0     0        # (Cyl.      0 =
-  15537)
>> e:      9800        63       boot                     # (Cyl.      =
0*-      9*)
>>=20
>> Any help would be very much appreciated.
>>=20
>> Thanks!
>> William Orr
>=20
> Sorry, I meant to reply to this a few days ago.
>=20
> I had one of the consumer IBM PowerPC machines (that would run NT and
> MacOS as well as AIX) a while back and I was playing with NetBSD on
> it. Maybe it was the same machine as yours.
>=20
> The IDE adapter never worked for whatever reason. After a few small
> problems I was able to netboot it with an NFS root, and I think it
> worked with a SCSI disk.
>=20
> It's probably worth booting with an NFS root just to make sure the
> rest of the machine works. Have you tried this?
>=20
> Andy

Hey,

So I=92ve also tried netbooting the generic_com0.fs, as well as an image =
that I=92ve made with mkbootimage. I also have tried dd=92ing an image =
(made with mkbootimage -s) to the front of a SCSI disk, and trying to =
boot that. I always get a cursor with no boot loader prompt, any way =
that I try.

William Orr

--Apple-Mail=_9AC2B20F-5902-4B87-8172-915D5EE7AEDF
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----

iQIcBAEBAgAGBQJTtJrqAAoJEOWIWopNkblktqUQALNTr4lRcJ276Tjf0F9vys4t
U+Im4NcN1pqUbU38mgRacDL7g7xEK5N23m2FSO7J56aserL+si6abyMYD44PmbAP
Pa/peYZZ6A2e0dfUjZ60GP9VN3ZkunjTnZNwYpn1Q2A4BCU0c7aJbHyFw33XQrWH
kPH85e+XHfuEEOYCoiG1HJcGpvAvWXV70R+OTVDYHbtJWWujkUGfoHj9VFaxY+w3
CmVjj50GYevtoKBbLJoN5rrZGq38GgLsa0+q/evu2qRVsXHBaw5tpPnKOIZqXtuR
a+N3WlEkekCkA/2x/7074mK5EslsPuUli6IXE9n7cEWXtxroayLIB4NPOD59eovU
dkaliFdwGU4pZu0uHEjGS8P+Fx2b1lnagC7rusyy/ZeZde/r4oZgE67Oa3L5vRF3
LzAb8P/xHKBaajUQIIcxmlzIV9jlsQi1qTTV+IgIF01x+S+3nHd9C2n3mIdZ7iXW
abVnfVl8AMEaz7auiYGX0cSbyInyjrgHkXwELJXdu0SGCDHbJb2czJU4BjpTvB5R
ZiECVxxPf59P2Aa+gzxS7EoKf8QPXCdjZGjxFAUmbfdinfqDh9NMbv5OuV6zw7U8
8PHZut84OSZ4xon9f4VHShVvnvnYTHeRvMVnCITbaVKPatpwkgOoa7F6fj0WhCoM
yLZViXTIt62m5LcVEcj9
=O0ue
-----END PGP SIGNATURE-----

--Apple-Mail=_9AC2B20F-5902-4B87-8172-915D5EE7AEDF--