Mario Sergio Fujikawa Ferreira
2010-Jun-23 02:59 UTC
FreeBSD 8.1-PRERELEASE: WARNING ioctl sign-extension ioctl ffffffff8004667e
Hi, I am getting more than 4 thousand of the following messages a day: WARNING pid 24509 (python2.6): ioctl sign-extension ioctl ffffffff8004667e I've already recompiled all my python ports and dependencies. I am running up to date ports (today). $ uname -a FreeBSD exxodus.fedaykin.here 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #10: Thu Jun 17 12:28:13 BRT 2010 lioux@exxodus:/usr/obj/usr/src/sys/LIOUX amd64 These messages began this past week but I am not sure what might be to blame: latest ports or latest -STABLE. The specific python port is deluge 1.3 RC1. It was running fine before this past week of changes. Does anyone have an idea what might be causing this? Do I have to be alarmed by this? The system is reliable despite these messages. Regards, -- Mario S F Ferreira - DF - Brazil - "I guess this is a signature." feature, n: a documented bug | bug, n: an undocumented feature
Andriy Gapon
2010-Jun-23 06:31 UTC
FreeBSD 8.1-PRERELEASE: WARNING ioctl sign-extension ioctl ffffffff8004667e
on 23/06/2010 05:58 Mario Sergio Fujikawa Ferreira said the following:> Hi, > > I am getting more than 4 thousand of the following messages a day: > > WARNING pid 24509 (python2.6): ioctl sign-extension ioctl ffffffff8004667eThis ioctl is FIONBIO. I believe that I saw another report about it on this list recently (~1 week ago). But it was for a different software.> I've already recompiled all my python ports and dependencies. > I am running up to date ports (today). > > $ uname -a > FreeBSD exxodus.fedaykin.here 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #10: Thu Jun 17 12:28:13 BRT 2010 lioux@exxodus:/usr/obj/usr/src/sys/LIOUX amd64 > > These messages began this past week but I am not sure what > might be to blame: latest ports or latest -STABLE.I guess it would be some port.> The specific python port is deluge 1.3 RC1. It was running > fine before this past week of changes. > > Does anyone have an idea what might be causing this? Do I > have to be alarmed by this? The system is reliable despite these > messages.This messages just warns about bad programming, but in this case the ioctl is processed correctly. -- Andriy Gapon
Xin LI
2010-Jun-23 18:12 UTC
FreeBSD 8.1-PRERELEASE: WARNING ioctl sign-extension ioctl ffffffff8004667e
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi, On 2010/06/22 19:58, Mario Sergio Fujikawa Ferreira wrote:> Hi, > > I am getting more than 4 thousand of the following messages a day: > > WARNING pid 24509 (python2.6): ioctl sign-extension ioctl ffffffff8004667e[...] I think we may need to check the code and patch it. Basically this means that python (or some .so modules) passed an int or unsigned int as parameter 'cmd', we need to change it to unsigned long. The warning itself should be harmless to my best of knowledge, one can probably remove the printf in kernel source code as a workaround. By the way it seems to be a POSIX violation and we didn't seem to really use so wide cmd, but I have not yet verified everything myself. Cheers, - -- Xin LI <delphij@delphij.net> http://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (FreeBSD) iQEcBAEBCAAGBQJMIk58AAoJEATO+BI/yjfBvaAIALLZMVxTN8xMfutobstHHEvc OMVlLcnNM4erbCpL7ThbwsyOBEc5gbNSGtK2jvE3Z82uIhM74NXoe5PwnMeN73Gy r8ShMVdfE5hhJC6HmjGx9sV/zf88dySAQ8n0uHUsIUUL0DnvEOvS7pIEs73Ozm3u Cm9+0k2re604pj3gyFOfaXnJBH8VwSk3VPtOBHGQJnpjNRoHDpT6hw0iRO4+O6UA DoGZHIXpBvM0Qb6unisNogDL1Vsg1A208JCPk96YJegH023HE1oE/jmhgqNwiA/V jZY4VcAJUG+Gpc86VGtZv+w3YIiObMTS4ohO+ktGxfxetPbF2QboIdRUnr28yyU=Pwmz -----END PGP SIGNATURE-----
Mario Sergio Fujikawa Ferreira
2010-Jun-29 16:50 UTC
FreeBSD 8.1-PRERELEASE: WARNING ioctl sign-extension ioctl ffffffff8004667e
Quoting Jung-uk Kim <jkim@FreeBSD.org>:> On Monday 28 June 2010 02:01 pm, Jung-uk Kim wrote: >> Please drop the attached patch in ports/devel/boost-libs/files, >> rebuild all dependencies, and try your deluge ports again[1]. > > Please ignore the previous patch and try this one. Sorry, there was a > typo. :-(I updated boost-libs with your patch which fixed the issue. I no longer have the ioctl warning. :) 1) I rebuilt the libtorrent-rasterbar-14 then libtorrent-rasterbar-14-python. 2) Tried deluge, there were warnings still. 3) Then, rebuilt deluge. 4) Tried deluge, warnings were gone. I still have the lang/python26 patches you sent earlier. So I have both the python and boost-libs patches on my system. Do you want to me to do any further testing? Regards, -- Mario S F Ferreira - DF - Brazil - "I guess this is a signature." feature, n: a documented bug | bug, n: an undocumented feature
Jung-uk Kim
2010-Jun-29 19:21 UTC
FreeBSD 8.1-PRERELEASE: WARNING ioctl sign-extension ioctl ffffffff8004667e
On Tuesday 29 June 2010 12:46 pm, Mario Sergio Fujikawa Ferreira wrote:> Quoting Jung-uk Kim <jkim@FreeBSD.org>: > > On Monday 28 June 2010 02:01 pm, Jung-uk Kim wrote: > >> Please drop the attached patch in ports/devel/boost-libs/files, > >> rebuild all dependencies, and try your deluge ports again[1]. > > > > Please ignore the previous patch and try this one. Sorry, there > > was a typo. :-( > > I updated boost-libs with your patch which fixed the issue. I no > longer have the ioctl warning. :) > > 1) I rebuilt the libtorrent-rasterbar-14 then > libtorrent-rasterbar-14-python. > > 2) Tried deluge, there were warnings still. > > 3) Then, rebuilt deluge. > > 4) Tried deluge, warnings were gone. > > I still have the lang/python26 patches you sent earlier. So I > have both the python and boost-libs patches on my system. > > Do you want to me to do any further testing?No, that should be good enough. Thanks for testing my patches! Jung-uk Kim