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

Bug#401156: marked as done (linux-image-2.6.18-3-486: Geometry of IDE disks messed up)

Your message dated Fri, 01 Dec 2006 14:05:03 +0100
with message-id <20061201140503.t6p0mlxzc4wow8c0@mail.stepet.ch>
and subject line linux-image-2.6.18-3-486: Geometry of IDE disks messed up
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: linux-image-2.6.18-3-486
Version: 2.6.18-6
Severity: normal

When trying to install an additional Harddisk, I noted that fdisk reported a wrong size for it.
Some investigation revealed that /proc/ide/hdc/geometry reported
physical     16383/16/63  # this is ok
logical      58140/16/63  # this is wrong

fdisk reported
Disk /dev/hdc: 30.0 GB, 30005821440 bytes
255 heads, 63 sectors/track, 3648 cylinders

sfdisk -g
/dev/hdc: 58140 cylinders, 16 heads, 63 sectors/track

sfdisk -G
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
/dev/hdc: 3648 cylinders, 255 heads, 63 sectors/track

I have seen this behavior on linux-image-2.6.17-2-{4,5}86, too.
It is present on at least three different computers

An excerpt from dmesg on an Inspirion 1150:

ICH4: chipset revision 1
ICH4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xbfa0-0xbfa7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xbfa8-0xbfaf, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: FUJITSU MHT2030AT, ATA DISK drive
ide1 at 0x170-0x177,0x376 on irq 15
hdc: max request size: 128KiB
hdc: 58605120 sectors (30005 MB) w/2048KiB Cache, CHS=58140/16/63, UDMA(100)
hdc: cache flushes supported
 hdc: hdc1 hdc2 hdc3 < hdc5 >

Further information is available upon request.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'unstable'), (500, 'testing-proposed-updates')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-486
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8)

Versions of packages linux-image-2.6.18-3-486 depends on:
ii  coreutils                     5.97-5     The GNU core utilities
ii  debconf [debconf-2.0]         1.5.8      Debian configuration management sy
ii  module-init-tools             3.3-pre3-1 tools for managing Linux kernel mo
ii  yaird [linux-initramfs-tool]  0.0.12-18  Yet Another mkInitRD

linux-image-2.6.18-3-486 recommends no packages.

-- debconf information excluded

--- End Message ---
--- Begin Message --- Sorry, I acted upon a wrong assumption here. Therefore, I withdraw my bug report.


Stefan Peter

--- End Message ---

Reply to: