Package: util-linux
Version: 2.12p-4
Severity: normal

I have a couple of disks (both SCSI and IDE) which were partitioned
and formatted on Debian GNU/Linux (Alpha). I connected them to my
x86_64 box, and the driver sees the disks fine, i.e.,
remaxp:~# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA      Model: Maxtor 6Y160M0   Rev: YAR5
  Type:   Direct-Access                    ANSI SCSI revision: 05
Host: scsi3 Channel: 00 Id: 00 Lun: 00
  Vendor: IBM      Model: DCAS-34330W      Rev: S65A
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 01 Lun: 00
  Vendor: IBM      Model: DCHS04U          Rev: 6464
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 02 Lun: 00
  Vendor: IBM OEM  Model: DCHS09U          Rev: 6363
  Type:   Direct-Access                    ANSI SCSI revision: 02

(note the first one is my regular SATA disk). 

I can mount and access the data, and the device mapper even sees the 
logical volumes, but I cannot read the partition table using fdisk.
For any disk I get the following message:
remaxp:~# fdisk -l /dev/sdb

Disk /dev/sdb: 4335 MB, 4335206400 bytes
134 heads, 62 sectors/track, 1019 cylinders
Units = cylinders of 8308 * 512 = 4253696 bytes

Disk /dev/sdb doesn't contain a valid partition table

Of course, the first lines vary, but both non-interactive and
interactive fdisk cannot obtain the partition table. Since this is
independent of bus protocol (SCSI and PATA), and all tools I tried
(mount, lvm, cp) accessed the disks just fine, I conclude that this is
not a kernel issue (yes, BSD disk labels are configured in) but a
problem in fdisk. Please reassing if this assumption is incorrect. 

So this bug can be worked around by simply trying to mount /dev/sda1,
.. /dev/sdaN (/dev/hda1, .., /dev/hdaN) but still IMHO fdisk should be
fixed.

-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.10-9-amd64-k8
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages util-linux depends on:
ii  libc6                       2.3.2.ds1-21 GNU C Library: Shared libraries an
ii  libncurses5                 5.4-4        Shared libraries for terminal hand
ii  libuuid1                    1.37-2       universally unique id library
ii  slang1a-utf8                1.4.9dbs-8   The S-Lang programming library wit
ii  zlib1g                      1:1.2.2-4    compression library - runtime

-- no debconf information
-- 
Dr. Helge Kreutzmann, Dipl.-Phys.           [EMAIL PROTECTED]
                       gpg signed mail preferred 
    64bit GNU powered                  http://www.itp.uni-hannover.de/~kreutzm
       Help keep free software "libre": http://www.freepatents.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to