Re: [PATCH] 64 bit scsi read/write

Ben LaHaise (bcrl@redhat.com)
Fri, 10 Aug 2001 16:02:29 -0400 (EDT)


On Fri, 10 Aug 2001, Ragnar Kjørstad wrote:

> * >1TB devices over scsi.
> * /proc/partitions report incorrect sizes

Okay, interesting, I'll have to dig through that.

> * mkreiserfs fails: "mkreiserfs: can not create filesystem on that
> small device (0 blocks)."
> * mkfs.xfs fails: "warning - cannot set blocksize on block device
> /dev/sdb: Invalid argument"

Someone needs to patch reiserfs/xfs.

> I assume both mkreiserfs and mkfs.xfs use ioctl to get the size
> of the device, and that ioctl uses an unsigned int? How is
> userspace supposed to get the devicesize of >2GB devices with
> your code?

See the e2fsprogs patch (again, below).

> * mkfs.ext2 makes the machine panic after a while.
> Unfortenately I don't have the panic message anymore, and at the
> moment I don't have the hardware to redo the test.

That would've been a useful bug report.

> * fdisk bails out with 'Unable to read /dev/sdb'

MS-DOS partitions do not work on huge devices, so at best we can make it
report a more informative message.

The amount of response I've received is absolutely dismal for a feature
lots of people are clamouring on about needing. At this rate, I doubt
we'll have any of it decently tested before we start advertising it as a
supported feature in 2.6.

-ben

-- 
"The world would be a better place if Larry Wall had been born in
Iceland, or any other country where the native language actually
has syntax" -- Peter da Silva

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/