All of lore.kernel.org
 help / color / mirror / Atom feed
From: Douglas Gilbert <dougg@torque.net>
To: Martin Dalecki <dalecki@evision-ventures.com>
Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: Re: fdisk on scsi disks in 2.5.21
Date: Tue, 11 Jun 2002 08:40:39 -0400	[thread overview]
Message-ID: <3D05EFC7.10C17B08@torque.net> (raw)
In-Reply-To: 3D059893.60206@evision-ventures.com

Martin Dalecki wrote:
> 
> Douglas Gilbert wrote:
> > $ fdisk -l /dev/sda
> >
> > Disk /dev/sda: 1 heads, 35843670 sectors, 1 cylinders
> > Units = cylinders of 35843670 * 512 bytes
> >
> >    Device Boot    Start       End    Blocks   Id  System
> > /dev/sda1   *         1         1     32098+  83  Linux
> > Partition 1 has different physical/logical beginnings (non-Linux?):
> >      phys=(0, 1, 1) logical=(0, 0, 64)
> > Partition 1 has different physical/logical endings:
> >      phys=(3, 254, 63) logical=(0, 0, 64260)
> > Partition 1 does not end on cylinder boundary:
> >      phys=(3, 254, 63) should be (3, 0, 35843670)
> > /dev/sda2             1         1    168682+  83  Linux
> > Partition 2 has different physical/logical beginnings (non-Linux?):
> >      phys=(4, 0, 1) logical=(0, 0, 64261)
> > Partition 2 has different physical/logical endings:
> >      phys=(24, 254, 63) logical=(0, 0, 401625)
> > Partition 2 does not end on cylinder boundary:
> >      phys=(24, 254, 63) should be (24, 0, 35843670)
> > ....
> >
> > One head, one cylinder and lots of sectors??
> > I put some debug in drivers/scsi/scsicam.c and it doesn't
> > seem like it was called.
> >
> > Is my fdisk (from RH 7.2) too old?
> 
> No please: Just please don't look at ide-scsi in 2.5.21
> without applying IDE  patch number 86.

$ cat /proc/scsi/scsi 
Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: SEAGATE  Model: ST318451LW       Rev: 0003
  Type:   Direct-Access                    ANSI SCSI revision: 03

This disk i(/dev/sda) is an Ultra 160 (SPI) connected to 
a Tekram DC-309U3W controller.

The reported problem occurs with all disks seen by the scsi
subsystem in lk 2.5.21 that I have tested including usb mass
storage and ieee1394 sbp2. I am not aware of any ATA disks
that support ATAPI and hence could be used with ide-scsi
driver (if it didn't crash in 2.5.21).

My guess is that there is a problem in the block (or genhd)
subsystem.

Doug Gilbert

  reply	other threads:[~2002-06-11 12:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-11  0:28 fdisk on scsi disks in 2.5.21 Douglas Gilbert
2002-06-11  6:28 ` Martin Dalecki
2002-06-11  6:28 ` Martin Dalecki
2002-06-11 12:40   ` Douglas Gilbert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-06-11 12:51 Andries.Brouwer
2002-06-12 12:19 ` Douglas Gilbert
2002-06-11 12:51 Andries.Brouwer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D05EFC7.10C17B08@torque.net \
    --to=dougg@torque.net \
    --cc=dalecki@evision-ventures.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.