linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* fdisk on scsi disks in 2.5.21
@ 2002-06-11  0:28 Douglas Gilbert
  2002-06-11  6:28 ` Martin Dalecki
       [not found] ` <3D059893.60206@evision-ventures.com>
  0 siblings, 2 replies; 5+ messages in thread
From: Douglas Gilbert @ 2002-06-11  0:28 UTC (permalink / raw)
  To: linux-kernel, linux-scsi

$ 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?

Doug Gilbert

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: fdisk on scsi disks in 2.5.21
  2002-06-11  0:28 fdisk on scsi disks in 2.5.21 Douglas Gilbert
@ 2002-06-11  6:28 ` Martin Dalecki
       [not found] ` <3D059893.60206@evision-ventures.com>
  1 sibling, 0 replies; 5+ messages in thread
From: Martin Dalecki @ 2002-06-11  6:28 UTC (permalink / raw)
  To: Douglas Gilbert; +Cc: linux-kernel, linux-scsi

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: fdisk on scsi disks in 2.5.21
       [not found] ` <3D059893.60206@evision-ventures.com>
@ 2002-06-11 12:40   ` Douglas Gilbert
  0 siblings, 0 replies; 5+ messages in thread
From: Douglas Gilbert @ 2002-06-11 12:40 UTC (permalink / raw)
  To: Martin Dalecki; +Cc: linux-kernel, linux-scsi

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: fdisk on scsi disks in 2.5.21
@ 2002-06-11 12:51 Andries.Brouwer
  0 siblings, 0 replies; 5+ messages in thread
From: Andries.Brouwer @ 2002-06-11 12:51 UTC (permalink / raw)
  To: dougg, linux-kernel, linux-scsi

> One head, one cylinder and lots of sectors??

> Is my fdisk (from RH 7.2) too old?

No, it is too modified.
Get a vanilla fdisk from a recent util-linux,
and probably all will be fine.

Andries


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: fdisk on scsi disks in 2.5.21
       [not found] <UTC200206111251.g5BCpDN18038.aeb@smtp.cwi.nl>
@ 2002-06-12 12:19 ` Douglas Gilbert
  0 siblings, 0 replies; 5+ messages in thread
From: Douglas Gilbert @ 2002-06-12 12:19 UTC (permalink / raw)
  To: Andries.Brouwer; +Cc: linux-kernel, linux-scsi

Andries.Brouwer@cwi.nl wrote:
> 
> > One head, one cylinder and lots of sectors??
> 
> > Is my fdisk (from RH 7.2) too old?
> 
> No, it is too modified.
> Get a vanilla fdisk from a recent util-linux,
> and probably all will be fine.
 
Andries,
Thanks. Confirming that the fdisk in util-linux-2.11r
works fine.

Doug Gilbert

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-06-12 12:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-11  0:28 fdisk on scsi disks in 2.5.21 Douglas Gilbert
2002-06-11  6:28 ` Martin Dalecki
     [not found] ` <3D059893.60206@evision-ventures.com>
2002-06-11 12:40   ` Douglas Gilbert
  -- strict thread matches above, loose matches on Subject: below --
2002-06-11 12:51 Andries.Brouwer
     [not found] <UTC200206111251.g5BCpDN18038.aeb@smtp.cwi.nl>
2002-06-12 12:19 ` Douglas Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).