Partition exceeds drive capacity
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Using the 2.6.27-3-generic kernel in in Ibex Alpha 6.
The problem is that it is only seeing the first 10 partitions on the disk drive.
Most likely because of the message :sda: p11 exceeds device capacity. So any partition past sda10 is not being mounted. Gparted also sees the drive as "unallocated" which also prevented me from installing Ibex using the CD because it wouldn't let me choose a partition from sda to install Ibex.
When using the 2.6.24-19-generic kernel with rest of Ibex all is fine and all the partitions are detected (incl. Gparted).
Here is the suspect dmesg from 2.6.27-3-generic.
[ 4.500491] Driver 'sd' needs updating - please use bus_type methods
[ 4.500785] sd 0:0:0:0: [sda] 312575599 512-byte hardware sectors (160039 MB)
[ 4.500903] sd 0:0:0:0: [sda] Write Protect is off
[ 4.500979] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 4.501049] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 4.501279] sd 0:0:0:0: [sda] 312575599 512-byte hardware sectors (160039 MB)
[ 4.501393] sd 0:0:0:0: [sda] Write Protect is off
[ 4.501468] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 4.501534] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 4.501635] sda:<4>Driver 'sr' needs updating - please use bus_type methods
[ 4.524491] sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 sda9 sda10 sda11 sda12 sda13 sda14 >
[ 4.657052] sda: p11 exceeds device capacity
[ 4.657451] sd 0:0:0:0: [sda] Attached SCSI disk
[ 4.659618] sd 0:0:1:0: [sdb] 312579695 512-byte hardware sectors (160041 MB)
[ 4.659759] sd 0:0:1:0: [sdb] Write Protect is off
[ 4.659845] sd 0:0:1:0: [sdb] Mode Sense: 00 3a 00 00
[ 4.659934] sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
The problem was that one of the partitions sda11 hadn't had fsck run on it for sometime.
After running it sda11 was recognised but the partitions after that were not recognised.
But this disk had a peculiar setup in that on disk it was arranged sda1 ......sda10 sda12 sda13 sda11
After deleting the partitions sda12 sda13 sda11 and recreating them the partitions are recognised.
But Gparted still sees the drive as being unallocated in the new kernel 2.6.27 while with the older Kernel (one from Hardy) it still sees the partitions.
I suspect this is because of the bug :
Driver 'sr' needs updating - please use bus_type methods