07 Jul, 2011

1 commit


02 Jul, 2011

1 commit

  • On Linux x86_64 host with 32bit userspace, running
    qemu or even just "qemu-img create -f qcow2 some.img 1G"
    causes a kernel warning:

    ioctl32(qemu-img:5296): Unknown cmd fd(3) cmd(00005326){t:'S';sz:0} arg(7fffffff) on some.img
    ioctl32(qemu-img:5296): Unknown cmd fd(3) cmd(801c0204){t:02;sz:28} arg(fff77350) on some.img

    ioctl 00005326 is CDROM_DRIVE_STATUS,
    ioctl 801c0204 is FDGETPRM.

    The warning appears because the Linux compat-ioctl handler for these
    ioctls only applies to block devices, while qemu also uses the ioctls on
    plain files.

    Signed-off-by: Johannes Stezenbach
    Acked-by: Arnd Bergmann
    Signed-off-by: Jens Axboe

    Johannes Stezenbach
     

09 Oct, 2008

1 commit

  • The current floppy_struct allows floppies to number sectors starting
    from 0 or 1. This patch allows arbitrary first-sector numbers - for
    example, 0xC1 for Amstrad CPC disks.

    This extends the existing 1-bit field (FD_ZEROBASED, bit 2 of stretch)
    to 8 bits (FD_SECTMASK, bits 2 to 9).

    Currently 0x00 denotes a first sector number of 1, and 0x01 denotes a
    first sector number of 0. We extend this by interpreting FD_SECTMASK
    as the first sector number with the LSB flipped.

    Signed-off-by: Keith Wansbrough
    Cc: Alain Knaff
    Cc: Michael Kerrisk
    Cc: Karel Zak
    Signed-off-by: Andrew Morton
    Signed-off-by: Jens Axboe

    Keith Wansbrough
     

17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds