Skip site navigation (1)Skip section navigation (2)
Date:      04 May 2002 16:31:00 +0930
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        atk2@arctic.org
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: dd of=/dev/eide_drive bs=8192 if=/dev/mem kills system
Message-ID:  <1020495661.6619.7.camel@chowder.dons.net.au>
In-Reply-To: <20020501141042.5400.qmail@twinlark.arctic.org>
References:  <20020501141042.5400.qmail@twinlark.arctic.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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