[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#402946: linux-image-2.6.18-3-686: wrong harddisk size detected



> > The kernel 2.6.18-3-686 detects a wrong harddisk size, which leads
> > to "access beyond end of device" errors and thereby makes the system
> > unusable. The corresponding partition cannot be mounted. Even cfdisk
> > does not run, because it detects a corrupted partition table.
>
> It also reports that the partition exceeds the disk, why? The error
> message just reports that it tries to access sectors beyond the reported
> size.

Dec 13 13:35:04 werckmeister kernel:  sda: p7 exceeds device capacity

The drive has 80MB, as stated by the manufacturer and correctly reported by 
the 2.6.17 and previous kernels: SCSI device sda: 156368016 512-byte hdwr 
sectors (80060 MB).

The disc was partitioned when the kernel saw the whole disk, i.e. 156368016 
blocks. 2.6.18 sees only 139968963 blocks (16399053 blocks are missing), but 
the last partition ends after block 139968963.

Partition table:
               First       Last
 # Type       Sector      Sector   Offset    Length   Filesystem Type (ID) 
Flag
-- ------- ----------- ----------- ------ ----------- -------------------- ----
 1 Primary           0   146834099     63   146834100 W95 Ext'd (LBA) (0F) 
Boot
 5 Logical          63*    1108484     63     1108422*Linux swap / So (82) 
None
 6 Logical     1108485    32579819     63    31471335 Linux (83)           
None
 7 Logical    32579820   146834099     63   114254280 Linux (83)           
None
   Pri/Log   146834100   156360644      0     9526545 Free Space           
None

Klaus

Attachment: pgp9TLj90fyBa.pgp
Description: PGP signature


Reply to: