Re: Can't *write* to a hard disk, problem related to GEOM(4)?

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Fri, 16 Apr 2004 14:14:16 +0200
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.
+> 
+> >>> Could you try to compile a kernel without the ar(4) driver in it ?
+> >>> It may still be latching on to this disk...
+> 
+> >> 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?
+> 
+> > Could you post output from:
+> > 	# sysctl -b kern.geom.confxml
+> 
+> Sure. Because the output is 1128 lines long, the output is attached.

It doesn't look like a GEOM problem:

        <provider id="0xc6cad980">
          <geom ref="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.

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

Received on Fri Apr 16 2004 - 03:14:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:51 UTC