Subject: Re: Samsung drive not found
To: None <current-users@netbsd.org>
From: Staffan Thomen <duck@multi.fi>
List: current-users
Date: 03/02/2004 19:35:36
--Signature=_Tue__2_Mar_2004_19_35_36_+0200_mtvhoEpP.yX3iX_R
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, 2 Mar 2004 13:54:36 +0100
Kurt Schreiner <ks@ub.uni-mainz.de> wrote:

> On Tue, Mar 02, 2004 at 01:03:14PM +0100, cube@cubidou.net wrote:
> > On Tue, Mar 02, 2004 at 12:24:54PM +0100, Kurt Schreiner wrote:
> > > I now have this shiny new Shuttle-Box w/ an Samsung 120G Drive,
> > > Model SP1203N....which is not detected during boot. Setting
> > > wdc.c:wdcdebug_mask to 0xff gives the attached dmesg. I tried to
> > > change some delay(2000) in wdc.c to 5000 but that had no effect.
> > > Any ideas what to try next?
> > [...]
> > > wd0 at atabus0 drive 0ata_get_parms
> > [...]
> > > : <SAMSUNG SP1203N>
> > > wd0: drive supports 16-sector PIO transfers, LBA48 addressing
> > > wd0: 111 GB, 232632 cyl, 16 head, 63 sec, 512 bytes/sect x
> > > 234493056 sectors
> >=20
> > Then what is this?
> Ok, I should have been more precise: I's not found **w/o** setting
> wdcdebug_mask! Ie, using a freshly compiled or downloaded, vanilla
> kernel - GENERIC, INSTALL, or self-configured - doesn't matter,
> without any further changes such as setting wdcdebug_mask doesn't find
> the disk.
> As another poster has said, the disk _is_ detected by vanilla kernel
> if there's another disk or cdrom on the same cable (just confirmed by
> attaching the dvd-burner in this machine to the cable the disk is on.)
> I've even tried some tool from the samsung web-site to configure the
> disk to do only Ultra/100 instead of Ultra/133 - to no effect.
>=20
> BTW: FreeBSD, Linux, Windoof have no problems at all finding this
> beast.

 Here's a me-too so sue me :-)

 I see something much like this on a G4 mac at work, but it won't ever
 find the disk. It also shows the same kind of DRDY loops. I'm not sure
 if the disk is a samsung, but it never finds it. OSX and Linux both
 happily use it.

 I had some debugging exchange with boyer@ about this, but it seems
 he turned too busy to help me further. I'll build a new kernel tonight
 and see if it works.

 Now that I think of it, the disk might actually be a samsung.

 Regards,

--=20
Staffan Thom=E9n
     GPG key: 1024D/7C7E2EF8
 Fingerprint: ADB3 455F 10D5 86D1 78D6  048D 11BB D66E 7C7E 2EF8


--Signature=_Tue__2_Mar_2004_19_35_36_+0200_mtvhoEpP.yX3iX_R
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (IRIX)

iD8DBQFARMXrEbvWbnx+LvgRAt+cAJ9yzG69427qqkP8++eMzrbjAiqYXACeOW5+
Loq3Hfx4szWi7xTvVN1gCFE=
=YobC
-----END PGP SIGNATURE-----

--Signature=_Tue__2_Mar_2004_19_35_36_+0200_mtvhoEpP.yX3iX_R--