From owner-freebsd-questions Wed May 15 15:47: 7 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ns5.eds.com (ns5.eds.com [203.17.185.230]) by hub.freebsd.org (Postfix) with ESMTP id AF52F37B404 for ; Wed, 15 May 2002 15:47:02 -0700 (PDT) Received: from nnsy.eds.com (nnsy-3.eds.com [192.168.1.1]) by ns5.eds.com (8.11.6/8.11.1) with ESMTP id g4FMktk11171 for ; Thu, 16 May 2002 08:46:56 +1000 (EST) Received: from nnsy.eds.com (localhost [127.0.0.1]) by nnsy.eds.com (8.11.6/8.11.3) with ESMTP id g4FMkmQ12931 for ; Thu, 16 May 2002 08:46:49 +1000 (EST) Received: from ausym000.exau01.exch.eds.com ([134.251.177.117]) by nnsy.eds.com (8.11.6/8.11.3) with ESMTP id g4FMkhu12875 for ; Thu, 16 May 2002 08:46:44 +1000 (EST) Received: by AUSYM000 with Internet Mail Service (5.5.2653.19) id ; Thu, 16 May 2002 08:46:30 +1000 Message-ID: <16649A8D5C73D51183B80008C728EEB7CC0A89@AUSYM103> From: "Pietralla, Siegfried P" To: FreeBSD-Questions Subject: panic during 'dd' Date: Thu, 16 May 2002 08:47:01 +1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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