lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091217083046.GD2121@bicker>
Date:	Thu, 17 Dec 2009 10:30:46 +0200
From:	Dan Carpenter <error27@...il.com>
To:	Mark Hounschell <markh@...pro.net>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Unable to format or use floppies since 2.6.28

On Thu, Dec 10, 2009 at 02:46:15PM -0500, Mark Hounschell wrote:
> I have many boxes. They all do the same thing. Running different 
> versions of SuSE, 10.3-11.2. Any kernel at or above 2.6.28 fails to 
> fdformat a floppy. These same machines, using the same floppies and 
> drives, running kernels older than 2.6.28 work just fine. I googled 
> and found other such reports but no solution. I know better than to 
> just assume it's a kernel bug but it sure looks like it could be so 
> I'm inquiring about it here. 
> 

I don't know if this is related to your bug, but it's a weirdness in 
floppy.c (from 2.6.32-rc8 sorry I suck for being up to date).

drivers/block/floppy.c 
  2532          size = blk_rq_cur_bytes(current_req);
  2533
  2534          rq_for_each_segment(bv, current_req, iter) {
  2535                  if (!remaining)
  2536                          break;
  2537
  2538                  size = bv->bv_len;
 
We never use the first size = blk_rq_cur_bytes() assignment.

regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ