1

Topic: Scanning for devices never returns

Hi,

I have an 80GB Western Digital SATA IDE drive. It contains two NTFS partitions of 35GB and a few GB of backup data that I'm not sure what it's for.

I just got the live cd 0.3.1-1. It boots up fine, but when it scans for devices it doesn't display anything. I've added in the IDE-SATA module.

Some output (typed in by hand, so there may be errors..):

/prop/partitions:
7 0 22808 loop0
8 0 78156288 sda
8 1 37238038 sda1
8 2 37021792 sda2
8 3 3887730   sda3

fdisk -ul
Device
/dev/sda1  *  63                74477339    37238638+  7  HPFS/NTFS
/dev/sda2     74477340      148520924  37021792+  7  HPFS/NTFS
/dev/sda3     148520925    156296384  3887730      12 Compaq diagnostics

If I run "gparted /dev/sda" the scanning doesn't end.
If I run "gparted /dev/sda1" or "gparted /dev/sda2" then it shows information for the device, but as an unallocated device, and the message is diplayed by libparted on the command line:

"Can't have partition outside the disk!"

If I just run "gparted" then I get the message

"Unable to open /dev/hdc: unrecognised disk label"

Any ideas how I can get this working?

Thanks and regards,
Dave

2

Re: Scanning for devices never returns

so fdisk -ul only shows /dev/sda?

can you send us the output of 'print' inside parted? (start with 'parted /dev/sda')

btw, Are you sure it's scanning forever? scanning NTFS might take a while and maybe you just need to wait a bit longer. IF it takes longer than a couple of minutes something is wrong.

3

Re: Scanning for devices never returns

Yes, the fdisk output just shows /dev/sda. Is that what you'd expect?

This is the print output from parted:

Disk /dev/sda: 80.0 GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start     End       Size       Type     File system    Flags
1           32.3kb  38.1GB  38.1GB  primary ntfs              boot
2           38.1GB 76.0GB  37.9GB  primary ntfs
3           76.0GB 80.0GB  3981MB primary fat32

It is taking more than a couple of minutes and still not displaying anything...

Thanks,
Dave

4

Re: Scanning for devices never returns

this is very interesting and seems to be a real bug. Can you file it in bugzilla please? see http://gparted.sourceforge.net/bugs.php for more information.

thnx