Not all partitions are detected

Nicolae Ghimbovschi xfreebird at gmail.com
Tue Apr 22 18:34:07 UTC 2008


Hello ,

I have installed ubuntu 8.04 RC
Linux ubuntu-titan 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC
2008 i686 GNU/Linux

The problem is in that it doesn't detect all partitions.


root at ubuntu-titan:~# cat  /proc/partitions
major minor  #blocks  name

   8     0   80043264 sda
   8     1   20482843 sda1
   8     2   20482875 sda2
   8     3    1020127 sda3
   8     4          1 sda4

But when I use fdisk , it shows all the existing partitions:

root at ubuntu-titan:~# fdisk /dev/sda

The number of cylinders for this disk is set to 9964.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/sda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0fed0fed

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        2550    20482843+   7  HPFS/NTFS
/dev/sda2            2551        5100    20482875   83  Linux
/dev/sda3            5101        5227     1020127+  82  Linux swap / Solaris
/dev/sda4            5228        9964    38049952+   5  Extended
/dev/sda5            5228        9964    38049921    7  HPFS/NTFS

Command (m for help): q


Below is a part from dmesg listing:

...
[   23.578223] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   23.578244] sd 0:0:0:0: [sda] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[   23.578249]  sda:<4>Driver 'sr' needs updating - please use bus_type methods
[   23.590495]  sda1 sda2 sda3 sda4 <<3>ata1.00: exception Emask 0x0
SAct 0x0 SErr 0x0 action 0x2
[   23.656917] ata1.00: BMDMA stat 0x24
[   23.656929] ata1.00: cmd c8/00:08:a8:4e:01/00:00:00:00:00/e5 tag 0
dma 4096 in
[   23.656931]          res 51/84:00:a8:4e:01/00:00:00:00:00/e5 Emask
0x10 (ATA bus error)
...

bus_type is a kernel boot parameter ?

Additional info:
root at ubuntu-titan:~# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8378 [KM400/A] Chipset Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
00:09.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host
Controller (rev 43)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc.
VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2
MX/MX 400] (rev b2)

The dmesg listing is in the attached file.

-- 
 Be the change you want to see in the world !




More information about the ubuntu-users mailing list