• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Ioctl 0x304 failed: Inappropriate ioctl for device

    Scheduled Pinned Locked Moved
    General
    3
    4
    3.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rob barrett
      last edited by

      Hey All,

      Having an ongoing issue with Fog, running on Ubuntu 12.4.

      Concerning all PC"s connected to the Fog Server, once full host inventory has been selected, i get the same issue.

      [SIZE=6][B]ioctl 0x304 failed: Inappropriate ioctl for device[/B][/SIZE]

      I have followed Tom’s Suggestions looking into the Fog Settings, ensuring /'s appear at the end of the web paths. I have also checked the PXE settings in the /tftpboot/pxe… directory, same thing as normal.

      On a network side i have rebooted, and used a completely different route / switch - still same issue.

      I have also upgraded and downgraded the Kernel through many variations. Interestingly enough, the most recent varient - as hosted on Sound Forge - causes a NVIDIAfb issue, and Green Screens…

      Please let me know any other ideas to look into… I have 200 Systems to buil in the next week, and if i cant use Fog, I May have to use Clone Zilla!

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        Search is a wonderful tool!

        First the ioctl 0x304 failed: Inappropriate ioctl for device error isn’t really a “bad” thing. It’s just reporting that the device it’s trying to load can’t use what ever driver throws that error.

        Second, Try other kernels. I’ve got plenty of posts that seem to help others out with this:
        As Root on your FOG Server run these commands:
        [code]cd /tftpboot/fog/kernel
        mv bzImage bzImage.orig.2014APR02
        wget -O bzImage https://mastacontrola.com/fogboot/kernel/bzImage32[/code]

        Try rebooting and registering the system after getting the new kernel.

        This kernel is the one I build, and it doesn’t have ANY of the vga specific drivers included, so nearly all systems should display and be readable. It’s also got a ton of drivers built in so hopefully it will help you out. Plus, I haven’t seen an ioctl errors thrown with this kernel. That’s not to say you won’t, but I’d believe your issues are all because of the kernel.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • R
          rob barrett
          last edited by

          Why Search when you can Ask a Legend!

          Up and running my friend!

          1 Reply Last reply Reply Quote 0
          • Jaymes DriverJ
            Jaymes Driver Developer
            last edited by

            [quote=“rob barrett, post: 24902, member: 23386”]Why Search when you can Ask a Legend!

            Up and running my friend![/quote]

            I realize your message is meant to be “cute”, but this is what is wrong with this community!

            We don’t mind troubleshooting and helping the find the solution, but the more time we spend spoon feeding capable users takes away from time we could spend fixing bugs.

            We spend a number of hours here on our own free will because we LOVE FOG and it’s capabilities, we spend a lot of time making entries in the Wiki so that others can solve their issue.

            Please use the search feature.

            WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            276

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project