[Bug 155047] Re: gparted hangs "Scanning all Devices" forever (because of /dev/fd0)

Per Kristian Hareide hareide85 at gmail.com
Fri Nov 29 10:25:13 UTC 2013


GParted 0.12.1
libparted : 2.3
Debian GNU/Linux 7.2 (wheezy)

Gparted hangs with "Scanning all devices..'. Dosn't produce an error
when starting it from terminal.

It takes me over 14 minutes before gparted finally give up fd0.
(workaround is of course 'gparted /dev/sdX' OR uncomment fd0 in /etc/fstab and 'rmmod floppy' OR some kind of blacklisting of floppy module OR disable floppy in bios)

'dmesg' shows:
[ 1195.692582] end_request: I/O error, dev fd0, sector 0
[ 1207.868596] end_request: I/O error, dev fd0, sector 0
[ 1207.868602] Buffer I/O error on device fd0, logical block 0
..
[ 2048.356502] end_request: I/O error, dev fd0, sector 0
[ 2048.356508] Buffer I/O error on device fd0, logical block 0

Still think its a silly that the program tries this 'hard' to read the
device. Might be an idea to make a popup asking the user if he wants to
continue trying the device (fd0) after 3 failed attempts.

Its easy to reproduce this on my computer:
modprobe floppy && gparted

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gparted in Ubuntu.
https://bugs.launchpad.net/bugs/155047

Title:
  gparted hangs "Scanning all Devices" forever (because of /dev/fd0)

Status in Gnome Partition Editor:
  Fix Released
Status in “gparted” package in Ubuntu:
  Fix Released

Bug description:
     In my system, starting gparted all I get is the app window saying
  "Scanning all devices" for ever (== at least half an hour... that's as
  far as my patience goes :))

  If a floppy drive is activated in the computer BIOS, but not available
  physically, gparted enters an infinite loop while scanning devices.

  WORKAROUNDS:
  a) disable your floppy drive in the computer BIOS
  b) start gparted with the device you want to work on, e.g. "gparted /dev/sda"
  c) NOT RECOMMENDED/UNTESTED: move away /dev/fd0 before starting gparted

To manage notifications about this bug go to:
https://bugs.launchpad.net/gparted/+bug/155047/+subscriptions



More information about the foundations-bugs mailing list