Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2002 08:47:01 +1000
From:      "Pietralla, Siegfried P" <siegfried.pietralla@eds.com>
To:        FreeBSD-Questions <freebsd-questions@FreeBSD.ORG>
Subject:   panic during 'dd'
Message-ID:  <16649A8D5C73D51183B80008C728EEB7CC0A89@AUSYM103>

next in thread | raw e-mail | index | archive | help
hi all,

i'm running v4.3 and trying to backup one hard disk to another with "dd"
e.g. "dd if=/dev/ad0s1 of=/dev/ad3s1 bs=128k". my problem is that i'm
getting a variable amount ( 5 - 60 seconds ) through the dd before i get a
"fatal trap 9: general protection fault while in kernel mode". i think it's
always failing at the same instruction/stack/frame and process=idle but i've
only noted it down for the last two times.

all i'm really after at the moment is an opinion on whether it's h/w or s/w.
to eliminate the h/w i did the following to no avail:

- i have two simms. i ran the system with both, then one then the other.

- i have the second hard disk in a caddy so i removed it and plugged it in
directly.

- i plugged both drives in on the primary ide controller ( i.e. ad0 and ad1
)

- i plugged both drives in on the secondary ide controller ( i.e. ad2 and
ad3 )


i did successfully run "dd if=/dev/ad0s1 of=/dev/null bs=128k" to
completion.

i also successfully ran "dd if=/dev/ad3s1 of=/dev/null bs=128k" to
completion.

and i successfully ran "dd if=/dev/zero of=/dev/ad3s1 bs=128k" to
completion.


so after too much stuffing around i'm back where i started :(


any ideas ? what can i do to ( start to ) fix this ?


btw, when i ran the dd with the default bs (512) it was running at .5Mb/s (
iostat ). i upped bs to 1m and i saw the xfer rate went up to ~6Mb/s with a
xfer size of 128k. is this the expected behaviour?


regards,
siegfried.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16649A8D5C73D51183B80008C728EEB7CC0A89>