NetBSD Problem Report #41808
From www@NetBSD.org Tue Aug 4 00:06:17 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 0219063BFAC
for <gnats-bugs@gnats.netbsd.org>; Tue, 4 Aug 2009 00:06:16 +0000 (UTC)
Message-Id: <20090804000616.8D9B563BD7C@www.NetBSD.org>
Date: Tue, 4 Aug 2009 00:06:16 +0000 (UTC)
From: wlgivens@gmail.com
Reply-To: wlgivens@gmail.com
To: gnats-bugs@NetBSD.org
Subject: 'ed' doesn't work!
X-Send-Pr-Version: www-1.0
>Number: 41808
>Category: port-alpha
>Synopsis: 'ed' doesn't work!
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-alpha-maintainer
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Aug 04 00:10:00 +0000 2009
>Closed-Date: Tue Aug 04 06:15:47 +0000 2009
>Last-Modified: Tue Aug 04 06:15:47 +0000 2009
>Originator: Will L G
>Release: 5.0.1
>Organization:
na
>Environment:
can't run 'uname -a'... it's NOT running!
Alpha UP1500
GeForce 6200
2GB ram
2x74GB Fujitsu
>Description:
when booted in SUM (single user mode) and you attempt to run 'ed' it does NOTHING! I attempted to edit rc.conf and found that little bug-a-boo out... Use 'vi' you say? Well that shit doesn't work as well! You can view the file, even save it, but you CAN'T edit it!
With 'ed' I ran the following command:
ed 's,rc_configured=NO/rc_configured=YES/g' rc.conf
*not certain if the last bracket was there, I copied DIRECTLY from the NetBSD FAQ and used different variations, NONE worked*
When I mounted / sed worked fine:
sed -i 's/rc.configured=NO/rc.configured=YES/g' rc.conf
>How-To-Repeat:
simply call on 'ed'!
>Fix:
Use Gentoo ;-)
>Release-Note:
>Audit-Trail:
From: Matthew Mondor <mm_lists@pulsar-zone.net>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: port-alpha/41808: 'ed' doesn't work!
Date: Mon, 3 Aug 2009 20:51:26 -0400
On Tue, 4 Aug 2009 00:10:00 +0000 (UTC)
wlgivens@gmail.com wrote:
> >Description:
> when booted in SUM (single user mode) and you attempt to run 'ed' it does NOTHING! I attempted to edit rc.conf and found that little bug-a-boo out... Use 'vi' you say? Well that shit doesn't work as well! You can view the file, even save it, but you CAN'T edit it!
Did you mount / as well as made sure there's a writable /tmp/
and/or /var/tmp/? Then ex/vi normally should work, possibly ed as well.
> Use Gentoo ;-)
No thanks :)
--
Matt
From: "Will L Givens" <wlgivens@gmail.com>
To: <gnats-bugs@NetBSD.org>
Cc:
Subject: RE: port-alpha/41808: 'ed' doesn't work!
Date: Mon, 3 Aug 2009 20:28:10 -0500
I couldn't get 'ed' to work at all, I tried several times ever when I was in
'multi user mode' and had everything installed and up and running. I
installed several packages (lynx, xserver, wget, apache, samba, etc.). I
have to reinstall it again, I had a nasty crash while copying some files and
after running fsck_ffs terminal ttyE1 stopped working.
I think one of my drives might be going out but it's hard to say, I've never
received a "waiting for pack to spin up" error before and the drives aren't
that old. In fact, the UP1500 motherboard/cpu I bought new-in-box. The
company I purchased them from are in Japan and they had a couple of hundred
UP1500 for sale... they were misplaced inventory. My drives are about a
year old. Anywho, I installed another scsi drive for good measure... Will L
G
-----Original Message-----
From: Matthew Mondor [mailto:mm_lists@pulsar-zone.net]
Sent: Monday, August 03, 2009 07:55
To: port-alpha-maintainer@netbsd.org; gnats-admin@netbsd.org;
netbsd-bugs@netbsd.org; wlgivens@gmail.com
Subject: Re: port-alpha/41808: 'ed' doesn't work!
The following reply was made to PR port-alpha/41808; it has been noted by
GNATS.
From: Matthew Mondor <mm_lists@pulsar-zone.net>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: port-alpha/41808: 'ed' doesn't work!
Date: Mon, 3 Aug 2009 20:51:26 -0400
On Tue, 4 Aug 2009 00:10:00 +0000 (UTC)
wlgivens@gmail.com wrote:
> >Description:
> when booted in SUM (single user mode) and you attempt to run 'ed' it does
NOTHING! I attempted to edit rc.conf and found that little bug-a-boo out...
Use 'vi' you say? Well that shit doesn't work as well! You can view the
file, even save it, but you CAN'T edit it!
Did you mount / as well as made sure there's a writable /tmp/
and/or /var/tmp/? Then ex/vi normally should work, possibly ed as well.
> Use Gentoo ;-)
No thanks :)
--
Matt
State-Changed-From-To: open->closed
State-Changed-By: spz@NetBSD.org
State-Changed-When: Tue, 04 Aug 2009 06:15:47 +0000
State-Changed-Why:
a read-only file system will not let you write files?
I'd say that works as advertized.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.