Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 2004 14:14:16 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Julien Gabel <jpeg@thilelli.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Can't *write* to a hard disk, problem related to GEOM(4)?
Message-ID:  <20040416121416.GG24376@darkness.comp.waw.pl>
In-Reply-To: <50219.192.168.0.105.1082116474.squirrel@webmail.thilelli.net>
References:  <50267.192.168.0.105.1082054761.squirrel@webmail.thilelli.net> <5236.1082057026@critter.freebsd.dk> <49481.192.168.0.105.1082110471.squirrel@webmail.thilelli.net> <20040416113702.GF24376@darkness.comp.waw.pl> <50219.192.168.0.105.1082116474.squirrel@webmail.thilelli.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--bygAmIonOAIqBxQB
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Apr 16, 2004 at 01:54:34PM +0200, Julien Gabel wrote:
+> >>>> /dev/ad10 was previously part of a hardware miror (ar(4) device with
+> >>>> a HighPoint HPT374 (channel 2+3) UDMA133 controller), but since it =
was
+> >>>> broken for an unknown reason, thid drive is no more usable, even
+> >>>> alone. For example, I am not be able to create a new slice on it.
+>=20
+> >>> Could you try to compile a kernel without the ar(4) driver in it ?
+> >>> It may still be latching on to this disk...
+>=20
+> >> Since the ar(4) driver is part of ata(4) generic ATA/ATAPI disk
+> >> controller driver, I don't think it is possible to do that without
+> >> shooting myself on the foot. Any ideas?
+>=20
+> > Could you post output from:
+> > 	# sysctl -b kern.geom.confxml
+>=20
+> Sure. Because the output is 1128 lines long, the output is attached.

It doesn't look like a GEOM problem:

        <provider id=3D"0xc6cad980">
          <geom ref=3D"0xc6cad880"/>
          <mode>r0w0e0</mode>
          <name>ad10</name>
          <mediasize>122942324736</mediasize>
          <sectorsize>512</sectorsize>
          <config>
            <fwheads>16</fwheads>
            <fwsectors>63</fwsectors>
          </config>
        </provider>

As you can see, this provider is not opened (r0w0e0).

Try to set kern.geom.debugflags to 4. It will show you all access requests.

--=20
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd@FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!

--bygAmIonOAIqBxQB
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAf84YForvXbEpPzQRAoTRAJ9R6KRJEjfyO5SebOHW2otqqPbgfQCggpiK
6RTEnCBAGF24G0IUKMqu2kM=
=Lgns
-----END PGP SIGNATURE-----

--bygAmIonOAIqBxQB--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040416121416.GG24376>