After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 363340 - No devices detected in gparted
No devices detected in gparted
Status: RESOLVED FIXED
Product: gparted
Classification: Other
Component: application
0.2.5
Other All
: Normal major
: ---
Assigned To: gparted maintainers alias
gparted maintainers alias
Depends on:
Blocks:
 
 
Reported: 2006-10-19 07:02 UTC by Stefan Reichör
Modified: 2008-05-08 18:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stefan Reichör 2006-10-19 07:02:47 UTC
Please describe the problem:
I use the ubuntu edgy beta version.

When I start gparted, no devices are detected on the following PC.
here is the output from lspci:

# lspci
00:00.0 Host bridge: ATI Technologies Inc RS480 Host Bridge (rev 01)
00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:06.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
00:19.0 PCI bridge: ALi Corporation M5249 HTT to PCI Bridge
00:1c.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:1c.1 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:1c.2 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:1c.3 USB Controller: ALi Corporation USB 2.0 Controller (rev 01)
00:1d.0 Audio device: ALi Corporation High Definition Audio/AC'97 Host Controller
00:1e.0 ISA bridge: ALi Corporation PCI to LPC Controller (rev 31)
00:1e.1 Bridge: ALi Corporation M7101 Power Management Controller [PMU]
00:1f.0 IDE interface: ALi Corporation M5229 IDE (rev c7)
00:1f.1 RAID bus controller: ALi Corporation ULi 5287 SATA (rev 02)
01:05.0 VGA compatible controller: ATI Technologies Inc RS480 [Radeon Xpress 200G Series]
02:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5789 Gigabit Ethernet PCI Express (rev 11)
03:15.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80)


When I start parted, I can see the partitition table for /dev/hdb:

# sudo parted /dev/hdb
GNU Parted 1.7.1
Using /dev/hdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print                                                            

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

Number  Start   End     Size    Type     File system  Flags
 1      32.3kB  73.4GB  73.4GB  primary  ntfs         boot 
 2      73.4GB  105GB   31.5GB  primary  ext3              
 3      105GB   107GB   2056MB  primary  linux-swap        


It also works, when I specify /dev/hdb to gparted:
sudo gparted /dev/hdb


The problem is, that "sudo gparted" doesn't show any disks.
That is also a big problem in the installer, since there is no target for the
installation.


Steps to reproduce:
1. sudo gparted
2. 
3. 


Actual results:
I get the message "No devices detected"

Expected results:
I expect to see /dev/hdb

Does this happen every time?
yes

Other information:
Jeff Greene asked me to file the bug, since I first filed it
in launchpad as bug 66676
Comment 1 Curtis Gedak 2008-04-25 18:52:31 UTC
Hello Stefan,

My name is Curtis Gedak and I am the new C++ developer for GParted.

Would you be able to test if this bug still exists with the most recent versions of GParted and libparted?

Current versions are:
GParted   0.3.6
libparted 1.8.8

These versions can be found on the most recent GParted live CD and also the System Rescue CD.

If the problem still persists, please try starting parted without providing the device (e.g., sudo parted) to see what happens.

Thanks,
Curtis Gedak
Comment 2 Curtis Gedak 2008-05-08 18:44:41 UTC
Changes have recently been committed to the gnome repository regarding automatic device detection.  These changes are to be included in the next release of GParted.

The logic implemented in the change is:

If /proc/partitions exists, then parse the devices from this file
Else, use the libparted function call ped_device_probe_all()

My understanding is that /proc/partitions contains storage device partitions recognized by the kernel.

Closing this bug.

Stefan, if you have reason to believe that this bug is not fixed, then please feel free to re-open this bug and provide additional details on the contents of your /proc/partitions file.