NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/47154: dd gives strange error on 4095m blocksize



>Number:         47154
>Category:       bin
>Synopsis:       dd gives strange error on 4095m blocksize
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 03 03:55:00 +0000 2012
>Originator:     Ben Carroll
>Release:        6.0 release
>Organization:
>Environment:
No uname; on installer shell
>Description:
I am using the shell provided by the installer.  I'm not sure if the bug is 
present elsewhere, but my guess is yes so I did categorize this as an installer 
bug.  This is a 64 bit intel xeon e3 cpu.  

I have a picture from my KVM session here:
http://tinypic.com/view.php?pic=2qx19o8&s=6

If you notice, I try to use a 4096m blocksize and it informs me that this is 1 
byte too large.  If you don't want to look at the picture or the picture is no 
longer available, to reproduce:

# dd if=/dev/zero of=/dev/rwd0d bs=4096m progress=1 
dd: block size 4294967296 is greater than 4294967295

.. a perfectly resonable error... however, any larger and:

# dd if=/dev/zero of=/dev/rwd0d bs=4095m progress=1 
dd: /dev/rwd0d: Invalid Argument

And, I tried again with a more reasonable block size to proove I did not detach 
or do anything to cause rwd0d to become invalid
>How-To-Repeat:
# dd if=/dev/zero of=/dev/rwd0d bs=4095m progress=1 
dd: /dev/rwd0d: Invalid Argument

>Fix:



Home | Main Index | Thread Index | Old Index