Author Topic: G parted takes forever to scan all devices  (Read 1026 times)

Offline xr200

  • Full Member
  • ***
  • Posts: 95
Re: G parted takes forever to scan all devices
« Reply #15 on: October 30, 2012, 09:39:17 PM »
Here's what I learned today.

I do not have a floppy drive.  udev creates /dev/fd0 and /dev/fd1 when I boot up.   
Maybe it shouldn't (since I don't have a floppy drive, I dunno).   This happens
both with the old kernel and the new kernel.

gparted calls /sbin/blkid if it exists.

If I boot in the old kernel and run /sbin/blkid, it never looks at /dev/fd0.

If I boot in the new kernel and run /sbin/blkid, it does look at /dev/fd0,
and it hangs.   I learned that if you wait (in my case 9 minutes), it will
eventually time out and return.     Similarly, if you start gparted and
wait for about 9 minutes, it will start up.

In the old kernel, if I run "/sbin/blkid /dev/fd0" is hangs.     
In both the old and new kernel, "/sbin/blkid /dev/fd1"
works immediately.   I have no idea what the difference
is between fd0 and fd1: when I run ls -l they sure look
the same to me.

On my laptop, running the new kernel, gparted starts
up fine, but "/sbin/blkid /dev/fd0" hangs as well.
There appears to be something special about
/dev/fd0 that I just am missing.

I don't know if I'll ever figure out why in the new kernel, blkid looks
at /dev/fd0 but in the old kernel, it does not.   I'm still looking,
but I'm in over my head already.....

For right now, I am just manually removing /dev/fd0 after I boot up
and then gparted and blkid behave appropriately.   I'm not too worried
about breaking anything because I know when I reboot, udev will
recreate /dev/fd0 it is really is needed.     If anyone has an opinion
on if it's OK to remove /dev/fd0 (since I don't have a floppy drive),
maybe I'll try to figure out how to modify the udev rules to stop
creating those files.  That still isn't the real fix, either, I know.

xr200

Offline CaptainSarcastic

  • Sr. Member
  • ****
  • Posts: 328
Re: G parted takes forever to scan all devices
« Reply #16 on: October 31, 2012, 12:16:23 AM »
Here's another bit of information:  Gparted runs fine in XFCE running in Virtualbox on Windows 7.  Instantly starts up, in less than a second shows the partitions.  This is fully up to date Phoenix with kernel 3.2.18 running.

I'll check on my netbook in a minute, and see how it handles it.

Edit:  Okay, I updated my netbook, and it ran Gparted without a hitch, too.  It is running KDE 4.9.2 and kernel 3.2.18.a64.
« Last Edit: October 31, 2012, 01:23:41 AM by CaptainSarcastic »

Offline xr200

  • Full Member
  • ***
  • Posts: 95
Re: G parted takes forever to scan all devices
« Reply #17 on: October 31, 2012, 04:43:54 PM »
I do not have a floppy drive on my desktop.   After discussing this problem with
a (very smart) friend, he suggested I check my BIOS and make sure I didn't have
any floppy drive enabled in the BIOS.  He was right.   I disabled the floppy drive
in my BIOS.   When I boot up now, everything works.     

So if you're having a problem, and you don't have  floppy drive, check your
BIOS and make sure you don't have any floppy's enabled.

xr200

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1472
  • In theory, theory=practice, in practice ???
Re: G parted takes forever to scan all devices
« Reply #18 on: November 01, 2012, 02:31:30 PM »
I do not have a floppy drive on my desktop.   After discussing this problem with
a (very smart) friend, he suggested I check my BIOS and make sure I didn't have
any floppy drive enabled in the BIOS.  He was right.   I disabled the floppy drive
in my BIOS.   When I boot up now, everything works.     

So if you're having a problem, and you don't have  floppy drive, check your
BIOS and make sure you don't have any floppy's enabled.

xr200

Glad it's solved.   Not many BIOS' allow activating things that aren't there.
Mine doesn't.   FYI.

FF
ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Offline CaptainSarcastic

  • Sr. Member
  • ****
  • Posts: 328
Re: G parted takes forever to scan all devices
« Reply #19 on: November 02, 2012, 11:44:18 AM »
I went into the BIOS on my desktop at boot this morning, and found that it did have a floppy set up even though I don't actually have a drive installed.  I set the floppy to "none" in the BIOS, and now Gparted is behaving properly.

Thanks for mentioning this!

Offline ScourKing

  • New Friend
  • *
  • Posts: 1
Re: G parted takes forever to scan all devices
« Reply #20 on: November 02, 2012, 01:12:27 PM »
I am also suffering the same long scanning problem. Diskdrake works fine almost instantly. I am using Pclinuxos 2012 Full Monty. I am newer to linux almost a year of using Kubuntu and just a few monthes of using Pclinuxos.

Offline xr200

  • Full Member
  • ***
  • Posts: 95
Re: G parted takes forever to scan all devices
« Reply #21 on: November 02, 2012, 05:34:20 PM »
Do you have a floppy drive?

If no, have you checked your system BIOS to verify you do not have a floppy drive enabled?

xr200

Offline jamesmayxt

  • Jr. Member
  • **
  • Posts: 34
Re: G parted takes forever to scan all devices
« Reply #22 on: November 03, 2012, 02:14:08 PM »
               xr200 thanX for help & interest
                              G Parted now running at its glorious BEST .Installed GP14 from synaptic this 
            evening.  God Bless those package updaters for a second time. Do they have names?
             Iam sure they must. Rodger & Out     

                                                                Jim


Offline BobK54

  • Sr. Member
  • ****
  • Posts: 332
Re: G parted takes forever to scan all devices
« Reply #23 on: November 07, 2012, 06:17:47 PM »
NICE!!  Have to try that when I get home.  I have had the same hang problem for a while.  See sig for hardware, kernel.  This sounds like an easy fix!  Thanks xr200!
MLU.  Always in training.

AMD64 X2 4000, MSI K9N6SGM-V mobo, 2 Gig Crutial, WD 500G SATA. Lite-On 20X DVD-RW.  SINGLE-boot PCLinuxOS 2013 KDE4.10.1  3.2.18.bfs kernel.

eeepc900 netbook, 900MHz! 2 Gig ram upgrade, 16G drive upgrade, PCLinuxOS 2012 KDE4.9.2  3.2.18bfs kernel

Offline xr200

  • Full Member
  • ***
  • Posts: 95
Re: G parted takes forever to scan all devices
« Reply #24 on: November 09, 2012, 07:23:18 AM »
Please post what you learn. 

xr200