Re: Trouble booting an IBM 7248 after installation

William Orr <[email protected]> Mon, 30 Jun 2014 18:55:36 -0700
Newsgroups gmane.os.netbsd.ports.prep
Message-ID <[email protected]>
--Apple-Mail=_3361263D-64C6-48E8-A6DA-0492599F831B
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_4C6D357E-4497-44A7-B013-B9B9CF89E450"


--Apple-Mail=_4C6D357E-4497-44A7-B013-B9B9CF89E450
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

On Jun 29, 2014, at 3:08 AM, David Brownlee <[email protected]> wrote:

> On 29 June 2014 06:45, 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
> Its possible the 7248 is not happy with the CF to IDE adaptor, but
> they are generally pretty compatible. Are you booting from SCSI CD and
> running sysinst to install onto CF-on-IDE ?
>=20
> I can't recall NetBSD's prep boot loader offhand - does it give a few
> seconds countdown and an option to hit space to abort? If so could you
> try interrupting the CD boot and then running 'boot netbsd -a'? If it
> works it should prompt for a root device, which is probably going to
> be wd0a to run from the installed system. If that works then it means
> one workaround (for right now) would be to build a bootable CD with a
> kernel set to use root on wd0a.

It seems to have a timeout regardless of whether or not you=92ve =
interacted with it - there=92s not way to abort.

In my seconds where I could specify a manual boot, I tried:
>> NetBSD/prep BOOT, Revision 1.8

Boot: netbsd -a
Loading netbsd (howto 0x1)
open netbsd: Input/output error

Boot: wd0a:/netbsd
Loading wd0a:/netbsd
open wd0a:/netbsd: Input/output error

Boot: wd0:/netbsd
Loading wd0:/netbsd
open wd0:/netbsd: Input/output error

Boot: wd0a:/netbsd
Loading wd0a:/netbsd
open wd0a:/netbsd: Input/output error

Boot: rd0a:/netbsd
Loading rd0a:/netbsd
open rd0a:/netbsd: Input/output error

As well as those but prefaced with boot. I got the same out output you =
see above.

I=92m trying from the netbootable sysinst image. The generic images =
don=92t even give me a boot loader.

--Apple-Mail=_4C6D357E-4497-44A7-B013-B9B9CF89E450
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space;"><div>On Jun 29, 2014, at 3:08 AM, David Brownlee =
&lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt; =
wrote:</div><div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div style=3D"font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;">On 29 June 2014 06:45, William Orr =
&lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt; =
wrote:<br><blockquote type=3D"cite">Hello all,<br><br>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.<br><br>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.<br><br>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.<br><br>It=92s worth noting that the CF =
card is 8GB, and SMS only sees it as roughly 3.7 GBs.<br><br>Here=92s =
the partition table:<br><br># fdisk /dev/wd0<br>Disk: =
/dev/wd0c<br>NetBSD disklabel disk geometry:<br>cylinders: 15538, heads: =
16, sectors/track: 63 (1008 sectors/cylinder)<br>total sectors: =
15662304<br><br>BIOS disk geometry:<br>cylinders: 975, heads: 255, =
sectors/track: 63 (16065 sectors/cylinder)<br>total sectors: =
15662304<br><br>Partitions aligned to 16065 sector boundaries, offset =
63<br><br>Partition table:<br>0: Linux/MINIX (sharing disk with DRDOS) =
or Personal RISC boot (sysid 65)<br>&nbsp;&nbsp;&nbsp;start 63, size =
9800 (5 MB, Cyls 0-0/156/35), =
Active<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PBR is not bootable: =
All bytes are identical (0x00)<br>1: NetBSD (sysid =
169)<br>&nbsp;&nbsp;&nbsp;start 9863, size 15652441 (7643 MB, Cyls =
0/156/36-974/237/63)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PBR is =
not bootable: All bytes are identical (0x00)<br>2: &lt;UNUSED&gt;<br>3: =
&lt;UNUSED&gt;<br>First active partition: 0<br><br><br>And the =
disklabel:<br><br># /dev/wd0c:<br>type: unknown<br>disk: =
TS8GCF133<br>label:<br>flags:<br>bytes/sector: 512<br>sectors/track: =
63<br>tracks/cylinder: 16<br>sectors/cylinder: 1008<br>cylinders: =
15538<br>total sectors: 15662304<br>rpm: 3600<br>interleave: =
1<br>trackskew: 0<br>cylinderskew: 0<br>headswitch: 0 =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# =
microseconds<br>track-to-track seek: 0 &nbsp;# =
microseconds<br>drivedata: 0<br><br>8 partitions:<br># =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;size &nbsp;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nbsp;&nbsp;&nbsp;&nbsp;9*)<br><br>Any help would be very much =
appreciated.<br></blockquote><br>Its possible the 7248 is not happy with =
the CF to IDE adaptor, but<br>they are generally pretty compatible. Are =
you booting from SCSI CD and<br>running sysinst to install onto =
CF-on-IDE ?<br><br>I can't recall NetBSD's prep boot loader offhand - =
does it give a few<br>seconds countdown and an option to hit space to =
abort? If so could you<br>try interrupting the CD boot and then running =
'boot netbsd -a'? If it<br>works it should prompt for a root device, =
which is probably going to<br>be wd0a to run from the installed system. =
If that works then it means<br>one workaround (for right now) would be =
to build a bootable CD with a<br>kernel set to use root on =
wd0a.</div></blockquote></div><br><div>It seems to have a timeout =
regardless of whether or not you=92ve interacted with it - there=92s not =
way to abort.</div><div><br></div><div>In my seconds where I could =
specify a manual boot, I tried:</div><div>&gt;&gt; NetBSD/prep BOOT, =
Revision 1.8<br><br>Boot: netbsd -a<br>Loading netbsd (howto =
0x1)<br>open netbsd: Input/output error<br><br>Boot: =
wd0a:/netbsd<br>Loading wd0a:/netbsd<br>open wd0a:/netbsd: Input/output =
error<br><br>Boot: wd0:/netbsd<br>Loading wd0:/netbsd<br>open =
wd0:/netbsd: Input/output error<br><br>Boot: wd0a:/netbsd<br>Loading =
wd0a:/netbsd<br>open wd0a:/netbsd: Input/output error<br><br>Boot: =
rd0a:/netbsd<br>Loading rd0a:/netbsd<br>open rd0a:/netbsd: Input/output =
error<br><br>As well as those but prefaced with boot. I got the same out =
output you see above.</div><div><br></div><div>I=92m trying from the =
netbootable sysinst image. The generic images don=92t even give me a =
boot loader.</div></body></html>=

--Apple-Mail=_4C6D357E-4497-44A7-B013-B9B9CF89E450--

--Apple-Mail=_3361263D-64C6-48E8-A6DA-0492599F831B
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-----

iQIcBAEBAgAGBQJTshUYAAoJEOWIWopNkblkXtMP/j2iIk2hRrE1L5EgWAAmg+XI
u755uaJXdQuVKLzBhm99sR1E+8MLGhanViijFARvWOBJYgygYIQWDcW8glFv9fdB
+Iwi2WgBdBIzYJSHh0ksXS7Wjc+GgqzZG6E9l5I2dGjCky9BIjVMyyTSnG17kVjK
hnsIT6CUxE4d+2MaFTjzRSvXJhASVa0G7jxgCdwiV6qDzt/Gdry4fIkBfdyS/QX8
Jw/DAk22BbIWo+9y2GPUceDgl/L9b944st6F64Qp0aAe/JukZU17cK9rdnqUAsLB
BmOK1s6DQjZyHJzGmP5GetrCz85Ds6WWoi+gmeMn3PtLNKQrRgud4BHHOxPWkXWz
kUflI/XNBzvl1XU9KHVUvxPLJeYgFCqf7bgknJu9RCwG0Jwy/3/2j87R4Ce4vXQp
6Cqq+cM+tdkBA8gl9+gsDPI8q5dgzhKSC0VBOUVKhauKLIp8t3+27f/IY57qzcpV
rCC8l+iyiT4LaNB0DaXXrVi+GLfeO640vGpUcKwhAQ7BdG7KlkwTUCUJSQ8OEeGV
45+5SkHeq3EM93Ypk1pjwekZC2mkD3FjLkd7Ywj+ovLMocw1suG4SMpBV6JlpbXr
tuXJ43inNWL3+zNujL4byTpt8sVgm2urZeibK6ahvt0ln5hq1mqpVWLrUpKyfKsM
2zBzhxbd3XXY1/J1ITmw
=wawQ
-----END PGP SIGNATURE-----

--Apple-Mail=_3361263D-64C6-48E8-A6DA-0492599F831B--