Subject: Re: scsi problems (error #5)
To: None <port-mac68k@netbsd.org>
From: Jacques Perrocheau <Jacques.Perrocheau@univ-rennes1.fr>
List: port-mac68k
Date: 06/15/1999 12:45:24
Hello,

>i'm trying to install netbsd1.4 on an old iicx and ran into the
>#5-problem in a way not described in any faq...
>
>i did a first installation on an outboard scsi disk - an old dec 1gb
>disk - and everything went fine. then i downloaded the x-sets and tried
>installing them - crash. unfortunately i dowloaded them as text and not
>as binary, my bad, what the hell.
>
>[snip]
>
>not being in a hurry, i decided to just reformat and start over, yet the
>mkfs-tool has the same problem: i select the disk, it spits out about 5
>read errors (#5) and hangs. the ontrack-tool tells me the disk isn't
>ready and won't let me repartition.

I have no solution but it seems to me that I got similarly pb (I am not
shure) on a LC475 with NetBSD 1.3.3 install (second installation after a
crash du to a misuse of NDD on the MacOS partition :-(. I posted this pb on
fr.comp.os.bsd and fr.comp.os.unix.mac.


>[snip]et l=E0 le pb arrive :-(.

> Here what hapens in the "Mini Shell":
>----
>sd0 at scsi ID0
>partition read, SCSI ID =3D0
>Mounting partition 'A' as /
>sd0a: Root 'NetBsd Root' at 574144 size 327680
>sd0g: Usr 'NetBSD User' at 901824 size 1024000
>sd0b: Swap 'NetBsD swap' at 4076224 size 143360
>sd0d: Other (APPLE_PATCHES) 'Patche partition at 192 size 512
>sd0e: HFS_PART 'Sans titre' at 704 size 573440
>sd0f: Usr 'NetBSD User' at 1925824 size 614400
>sd0h: Usr 'NetBSD User' at 2540224 size 1536000
>sd0i: Other (APPLE_FREE) 'Extra' at 4219584 size 7141
>----

I made "dir"

>----
>>mkdir /usr
>>mkdir /opt
>>mkdir /home
>----

followed by "mount"

>----
>>mount /dev/sd0g /usr
>>mount /dev/sd0f /opt
>>mount /dev/sd0h /home    ;and it answers
>Error on SCSIRead(), #5
>/home : Invalid argument
>----
>
>fstab force  ;accepted

I stoped the installation here.

=46or information, I give the partition map, I used for the "first"
installation, which was successfull.

>----
>sd0 at scsi ID 0
>sd1 at scsi ID 1 ; un disque externe =E9tait connect=E9 pendant cette insta=
llation
>partition read, SCSI ID =3D0
>Mounting partition 'A' as /
>sd0a: Root 'NetBsd Root' at 704 size 307200
>sd0g: Usr 'NetBSD User' at 307904 size 1064960
>sd0b: Swap 'NetBsD swap' at 3568320 size 102400
>sd0d: Other (APPLE_PATCHES) 'Patche partition at 192 size 512
>sd0e: Usr 'NetBSD User' at 1372864 size 614400
>sd0f: Usr 'NetBSD User' at 1987264 size 1581056
>sd0h: HFS_PART 'Sans titre 6' at 3670720 size 552960
>sd0i: Other (APPLE_FREE) 'Extra' at 4223680 size 3045
>sd1a: [snip]
>
>"mount"
>
>mount /dev/sd0e /opt
>mount /dev/sd0f /home
>mount /dev/sd0g /usr
>----

During this (second) installation, I had a CD-ROM present and on...this is
the message of MKfs_1.45.

>----
>Console Inited
>
>sd0  at scsi ID0.
>     at scsi ID1 - not present.
>     at scsi ID2 - not present.
>     at scsi ID3 - *WARNING* no Mode Sense, use with caution!.
>     at scsi ID4 - not present.
>     [snip]
>----

=46inaly, I dedided to reformat, CD-ROM off, with the "first" partition map,
and it runs... I have no explanation.
--
Jacques PERROCHEAU
Synth=E8se et Electrosynth=E8se Organiques, C.N.R.S. UMR 6510
Universit=E9 de Rennes I, Campus de Beaulieu, F-35042 RENNES Cedex
Tel: +33 2 99 28 63 74, Fax: +33 2 99 28 63 74
------------------------------------------------------------------