linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Partitioning wierdness with 2048-byte sectors
@ 2001-11-13  6:57 Erik Andersen
  2001-11-13  9:43 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Erik Andersen @ 2001-11-13  6:57 UTC (permalink / raw)
  To: Alexander Viro; +Cc: Linux Kernel Mailing List

I was just trying out 2.4.15-pre4 and noticed that I am
completely unable to create partitions on my magneto optical
drives (2048 byte hardware sectors).  Using fdisk to (try to)
create a single partition uttery fails.  dmesg shows:

    ll_rw_block: device 08:10: only 2048-char blocks implemented (1024)
    sd.c:Bad block number requested I/O error: dev 08:10, sector 0
    SCSI device sdb: 310352 2048-byte hdwr sectors (636 MB)
    sdb: Write Protect is off
     sdb: unknown partition table
    SCSI device sdb: 310352 2048-byte hdwr sectors (636 MB)
    sdb: Write Protect is off
     sdb: unknown partition table

With 2.4.13-ac5 doing the exact same thing works fine with the
following showing up when running dmesg:

    ll_rw_block: device 08:10: only 2048-char blocks implemented (1024)
    SCSI device sdb: 310352 2048-byte hdwr sectors (636 MB)
    sdb: Write Protect is off
     sdb: sdb1
    SCSI device sdb: 310352 2048-byte hdwr sectors (636 MB)
    sdb: Write Protect is off
     sdb: sdb1

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--

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

* Re: Partitioning wierdness with 2048-byte sectors
  2001-11-13  6:57 Partitioning wierdness with 2048-byte sectors Erik Andersen
@ 2001-11-13  9:43 ` Alan Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2001-11-13  9:43 UTC (permalink / raw)
  To: andersen; +Cc: Alexander Viro, Linux Kernel Mailing List

> I was just trying out 2.4.15-pre4 and noticed that I am
> completely unable to create partitions on my magneto optical
> drives (2048 byte hardware sectors).  Using fdisk to (try to)
> create a single partition uttery fails.  dmesg shows:
>     ll_rw_block: device 08:10: only 2048-char blocks implemented (1024)
>     sd.c:Bad block number requested I/O error: dev 08:10, sector 0

Looks like either Andrea's block device in page cache or the updated
partition code broke stuff. 

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

end of thread, other threads:[~2001-11-13  9:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-13  6:57 Partitioning wierdness with 2048-byte sectors Erik Andersen
2001-11-13  9:43 ` Alan Cox

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).