Subject: sysctl machdep.diskinfo broken in -current?
To: None <>
From: Darrin B. Jewell <>
List: port-i386
Date: 07/30/2004 20:02:01
Can someone running -current test "sysctl machdep.diskinfo"
and see if it reports:
  sysctl: machdep.diskinfo: sysctl() failed with Bad address

I notice its failing on my system, although my sources may
be out of date and have local modifications.

I also notice in ddb that:
  db> x i386_alldisks
  netbsd:i386_alldisks:   0
  db> x i386_ndisks
  netbsd:i386_ndisks:     0

Which may contribute to the error.

Additionally, one of my disks does not contain a disklabel,
which may be relevant to diagnosing the problem.