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

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri Apr 16 05:14:35 PDT 2004


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!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040416/3dd96f83/attachment.bin


More information about the freebsd-current mailing list