Subject: Re: RAID-diagnostic with amr-driver
To: Thor Lancelot Simon <tls@rek.tjls.com>
From: Paul Ripke <stix@stix.id.au>
List: tech-kern
Date: 11/30/2006 21:54:17
On Thu, Nov 30, 2006 at 04:52:50AM -0500, Thor Lancelot Simon wrote:
> On Thu, Nov 30, 2006 at 08:16:36PM +1100, Paul Ripke wrote:
> >
> > Out of curiosity, how recent does the hardware need to be? I get:
> > 
> > # amrctl stat -g
> > ioctl enquiry: Input/output error
> 
> You're at securelevel 1, right?  Elad and I are working on this.

ksh$ sysctl kern.securelevel
kern.securelevel = -1

"Nope."

ktruss says:

  1597      1 amrctl   __sysctl(0xbfbfea3c, 0x2, 0xbbbd9a00, 0xbfbfea44, 0, 0) = 0
  1597      1 amrctl   open("/dev/amr0", 0, 0x8049aa2) = 3
  1597      1 amrctl   ioctl(0x3, AMR_IO_VERSION, 0xbfbfea74) = 0
       "\M^Y\0\0\0"
  1597      1 amrctl   ioctl(0x3, AMR_IO_COMMAND, 0xbfbfe0ec) Err#5 EIO
       "\M-!\^N\0\0\0M\M-1\M-;\0\M-D\M->o<\M-k\M-?\M-;`\M-1\M->\M-;\0\0\0\0\^A\0\0\0\M^]q\M-?\M-;\M-@\M-"\^D\b\0\^D\0"

Which made me think it was hardware support lacking. Although
I haven't dug into the source, and don't particularly see
the need (it's an old box).

-- 
stix