Hello List,

I am porting a block device driver(for a PCIe NAND flash disk driver) from OpenSolaris to Solaris 10. On Solaris 10 (10/09) I'm having an issues creating a zpool with the disk. Apparently I have an 'invalid argument' somewhere:

% pfexec zpool create mypool c4d0p0
cannot create 'mypool': invalid argument for this pool operation

Is there any way to enable debug in zpool so I can discover what the invalid argument is?

I do see the following IOCTLs issued to my device when trying to create the zpool:

Jan 14 14:35:48 dlx-a36 pflash: [ID 896041 kern.notice] DEBUG (TMS: pflash.c pflash_ioctl ln:1254 ) DKIOCINFO supported Jan 14 14:35:48 dlx-a36 pflash: [ID 896041 kern.notice] DEBUG (TMS: pflash.c pflash_ioctl ln:1227 ) DKIOCGEXTVTOC supported by CMLB Jan 14 14:35:48 dlx-a36 pflash: [ID 896041 kern.notice] DEBUG (TMS: pflash.c pflash_ioctl ln:1254 ) DKIOCINFO supported Jan 14 14:35:48 dlx-a36 pflash: [ID 896041 kern.notice] DEBUG (TMS: pflash.c pflash_ioctl ln:1227 ) DKIOCGEXTVTOC supported by CMLB Jan 14 14:35:48 dlx-a36 pflash: [ID 896041 kern.notice] DEBUG (TMS: pflash.c pflash_ioctl ln:1254 ) DKIOCINFO supported

I've reviewed all the DKIO structures and I can't find anything that's wrong in my driver. This command does work with my OpenSolaris driver and the only difference between the two drivers is the CMLB version. Any help would be greatly appreciated. Let me know if I can provide anymore information.

Thank you,

Josh Morris
josh.mor...@texmemsys.com



_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to