Subject: Re: drvctl -p returns ENOMEM
To: Juan RP <email@example.com>
From: Jason Thorpe <firstname.lastname@example.org>
Date: 09/25/2006 14:52:15
On Sep 25, 2006, at 2:36 PM, Juan RP wrote:
> 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
> 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
> Could you please take a look at it?
Are your kernel and userland in-sync?