From owner-freebsd-stable Sat May 4 0: 2: 5 2002 Delivered-To: freebsd-stable@freebsd.org Received: from smtp0.adl1.internode.on.net (smtp0.adl1.internode.on.net [203.16.214.194]) by hub.freebsd.org (Postfix) with ESMTP id EF8C637B417 for ; Sat, 4 May 2002 00:01:50 -0700 (PDT) Received: from midget.dons.net.au (ppp424.sa.adsl.on.net [150.101.244.167]) by smtp0.adl1.internode.on.net (8.11.6/8.11.6) with ESMTP id g4471gQ64675; Sat, 4 May 2002 16:31:43 +0930 (CST) (envelope-from doconnor@gsoft.com.au) Received: from localhost (root@localhost [127.0.0.1]) by midget.dons.net.au (8.12.2/8.12.2) with ESMTP id g4471l52074869; Sat, 4 May 2002 16:31:47 +0930 (CST) (envelope-from doconnor@gsoft.com.au) Subject: Re: dd of=/dev/eide_drive bs=8192 if=/dev/mem kills system From: "Daniel O'Connor" To: atk2@arctic.org Cc: freebsd-stable@FreeBSD.ORG In-Reply-To: <20020501141042.5400.qmail@twinlark.arctic.org> References: <20020501141042.5400.qmail@twinlark.arctic.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 Date: 04 May 2002 16:31:00 +0930 Message-Id: <1020495661.6619.7.camel@chowder.dons.net.au> Mime-Version: 1.0 X-Spam-Status: No, hits=-5 required=5 X-Spam-Level: (-5) X-Scanned-By: MIMEDefang 2.6 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 2002-05-01 at 23:40, atk2@arctic.org wrote: > Anyways I then tried to test write speed with > > dd of=/dev/eide_drive bs=8192 if=/dev/mem > > and the system hanged. I forget the exact symbols for eide_drive but it > was an unmounted slice - yea I know if it worked it would have killed the > slice - but the slice is unused so I didn't care). I'm not overly concern > that the above killed the system as it isn't needed for daily use -- just > noting it in case it is a kernel bug... (not kernel didn't panic - it > hanged - I waited about 5 minutes then did a reset -- nothing responded during > that time including mouse (was running X) and hdd light on case was off) Reading /dev/mem is not a good idea. Try /dev/zero instead. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message