[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] ioctl 0000126c not supported by XL blkif
On Tue, 2006-12-05 at 10:44 -0800, Luke Crawford wrote: > I am using the srpm from > http://xenbits.xensource.com/kernels/rhel3x/kernel-2.4.21-47.0.1.EL.xs0.3.5. > 15.src.rpm > > (I get the same issue using the binary RPM) > > the dom0 is running 3.0.3_0 > > Upon booting the DomU, (the DomU has been passed phy:/dev/sda6, which has > been partitioned using qemu) I get the following ioctl errors. > > ioctl 0000126c not supported by XL blkif 0x12 seems to be the type used for the BLK* ioctls defined in include/linux/fs.h and 0x6c==108 is listed as BLKGETLASTSECT. Strangely it is #ifdef CONFIG_IA64 everywhere in the kernel source (header and drivers/block/blkpg.c). In the system wide version (/usr/include/linux/fs.h) it is defined unconditionally. There is also a comment in the source which says "108-111 have been used for various private purposes". The IOCTL was added by linux-2.4.21-lastsector.patch from the SRPM. Anyway, I don't see these errors on my RHEL38 guest during normal booting, only when I do something extra like running "parted". You are running a RHEL3x userspace aren't you? Could you try the patch below, hopefully it will give some indication which process is calling the unimplemented ioctl. Once we have confirmed for sure that it is BLKGETLASTSECT on x86 we can look at fixing it up. My feeling is that the warning is pretty harmless. Though it might bite you if you wanted to repartition or something. Ian. [BLKFRONT] Report the process making an unsupported IOCTL. Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxxxxx> diff -r d2d1872fce96 drivers/xen/blkfront/blkfront.c --- a/drivers/xen/blkfront/blkfront.c Mon Dec 04 09:32:41 2006 +0000 +++ b/drivers/xen/blkfront/blkfront.c Wed Dec 06 10:31:31 2006 +0000 @@ -621,7 +621,8 @@ int blkif_ioctl(struct inode *inode, str return -ENOSYS; default: - printk(KERN_ALERT "ioctl %08x not supported by XL blkif\n", command); + printk(KERN_ALERT "ioctl %08x from pid %d \"%s\" not supported by XL blkif\n", + command, current->pid, current->comm); return -ENOSYS; } _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |