[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dd bug
From: |
Paul Eggert |
Subject: |
Re: dd bug |
Date: |
Tue, 22 Aug 2006 13:22:48 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
address@hidden writes:
> dd if=/dev/zero of=obj/kern/bochs.img~ count=10000 2>/dev/null
> /bin/sh: line 1: 5952 Segmentation Fault dd if=/dev/zero
> of=obj/kern/bochs.img~ count=10000 2>/dev/null
I don't observe this bug. Perhaps it's a bug in your operating system,
outside of 'dd'? I'm afraid you'll have to dig into it more.
You might try running
"strace -o tr dd if=/dev/zero of=obj/kern/bochs.img~ count=10000"
and seeing which system call is executed just before the failure.
Or you can use a debugger on your 'dd' executable.
Here's what happens for me:
$ dd if=/dev/zero of=obj/kern/bochs.img~ count=10000 2>/dev/null
$ ls -l obj/kern/bochs.img~
-rw-r--r-- 1 eggert eggert 5120000 Aug 22 13:20 obj/kern/bochs.img~
$ dd --version
dd (coreutils) 6.1
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
Written by Paul Rubin, David MacKenzie, and Stuart Kemp.
- dd bug, alu2024, 2006/08/22
- Re: dd bug,
Paul Eggert <=