Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Problem with umass/scsibus/wd0



Well, the power adapter cable arrived today but it doesn't solve
the problem.  With 'scsictl sd0 start' and 'dkctl sd0 makewedges'
it works fine, so I'm moving on to finding something to address
the display problem.

Thanks for all the help so far.

On Wed, 13 Mar 2024, Paul Goyette wrote:

On Wed, 13 Mar 2024, Michael van Elst wrote:

On Tue, Mar 12, 2024 at 11:00:02PM -0700, Paul Goyette wrote:

``scsictl sd0 start'' makes a little bit of progress, and claims
to be "fabricating a geometry".  ``gpt show -a sd0'' shows two
partitions (one for NetBSD backups, and one for Windoze backups)

	# gpt show sd0
	       start        size  index  contents
	           0           1         PMBR
	           1           1         Pri GPT header
	           2          32         Pri GPT table
	          34        2014         Unused
	        2048  4294967296      1  GPT part - NetBSD FFSv1/FFSv2
	  4294969344  3518951424      2  GPT part - Windows basic data
	  7813920768       49119         Unused
	  7813969887          32         Sec GPT table
	  7813969919           1         Sec GPT header

That looks fine.

But it does not seem to progress to the discover-wedges process,
and no wedges seem to exist:

	# dkctl sd0 listwedges
	/dev/rsd0: no wedges configured

The wedge autodetection happens when the device attaches (and failed
since the disk was offline). This is different from disklabels that
are fetched by the first opener (and are usually dropped with
the last close, except traditionally for vnd).

You can manually trigger autodetection with

dkctl sd0 makewedges

Yup, that's the magic word.  I used scsictl and dkctl both, and the
external drive appeears normal.  Thanks!


+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)           | 1B11 1849 721C 56C8 F63A | paul%whooppee.com@localhost    |
| Software Developer  | 6E2E 05FD 15CE 9F2D 5102 | pgoyette%netbsd.org@localhost  |
| & Network Engineer  |                          | pgoyette99%gmail.com@localhost |
+---------------------+--------------------------+----------------------+

!DSPAM:65f231e1156131740011365!



+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)           | 1B11 1849 721C 56C8 F63A | paul%whooppee.com@localhost    |
| Software Developer  | 6E2E 05FD 15CE 9F2D 5102 | pgoyette%netbsd.org@localhost  |
| & Network Engineer  |                          | pgoyette99%gmail.com@localhost |
+---------------------+--------------------------+----------------------+


Home | Main Index | Thread Index | Old Index