Subject: Re: drvctl -p returns ENOMEM
To: Jason Thorpe <email@example.com>
From: Juan RP <firstname.lastname@example.org>
Date: 09/26/2006 00:14:54
On Mon, 25 Sep 2006 14:52:15 -0700
Jason Thorpe <email@example.com> wrote:
> On Sep 25, 2006, at 2:36 PM, Juan RP wrote:
> > Hi,
> > Thanks for your work on drvctl(8) to report the device properties
> > dictionary. I wanted to try it out with the wd driver (you added
> > properties for this one too) but does not seem to work:
> > [juan@nocturno][~]> sudo drvctl -p wd0
> > drvctl: DRVCTLCOMMAND: Cannot allocate memory
> > [juan@nocturno][~]>
> > I added a printf into drvctl_command() to see if the error was
> > creating the dictionary but it's not, so the problem might come
> > from prop_dictionary_copyin_ioctl() which returns error if there's
> > one.
> > Could you please take a look at it?
> Are your kernel and userland in-sync?
Yes, userland/kernel updated some minutes ago.