From owner-freebsd-questions@FreeBSD.ORG Tue Aug 24 00:19:49 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73C2216A4CE for ; Tue, 24 Aug 2004 00:19:49 +0000 (GMT) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 517B343D1D for ; Tue, 24 Aug 2004 00:19:46 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (localhost [127.0.0.1]) (authenticated bits=0) by cain.gsoft.com.au (8.12.11/8.12.10) with ESMTP id i7O0JUSR030933; Tue, 24 Aug 2004 09:49:31 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: buga@auug.org.au Date: Tue, 24 Aug 2004 09:49:30 +0930 User-Agent: KMail/1.6.2 References: <20040823235451.GC3368@squirm.dsto.defence.gov.au> In-Reply-To: <20040823235451.GC3368@squirm.dsto.defence.gov.au> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200408240949.30201.doconnor@gsoft.com.au> X-Spam-Score: -4.9 () CARRIAGE_RETURNS,IN_REP_TO,PGP_SIGNATURE,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_KMAIL X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) cc: questions@freebsd.org cc: "Wilkinson, Alex" Subject: Re: [BUGA] df(1) && vnconfig(8) hanging .... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2004 00:19:49 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 24 Aug 2004 09:24, Wilkinson, Alex wrote: > This morning I wanted to edit an ISO to instruct the kernel to redirect i= ts > output to serial. > > i.e > > # sudo vnconfig -v -c /dev/vn0 5.3-BETA1-i386-miniinst.iso > # sudo mount -t cd9660 -o rw /dev/vn0 /mnt You can't write to a ISO9660 image [with the freebsd driver] The only way you're going to be able to edit it is to copy it somewhere and= =20 edit that (alternatively you could merge in a new boot.config file using=20 mkisofs) > # sudo tcsh > # echo "/boot/loader -h" > boot.config > boot.config: Read-only file system. > > Forget the afforementioned error. > > The problem that I have is now when I issue a df(1) my shell hangs: > > e.g. > > # df -h > ^C^C^D > ^C^C^D Try ctrl-t it gives you useful into about where things are bunged up. > # ps -aux | grep df > username 3333 0.0 0.0 212 96 p2 D+ 9:04AM 0:00.00 df -h > username 3332 0.0 0.0 212 96 p1 D+ 9:04AM 0:00.00 df -h > > # kill -9 3333 3332 > > # ps -aux | grep df > username 3333 0.0 0.0 212 96 p2 D+ 9:04AM 0:00.00 df -h > username 3332 0.0 0.0 212 96 p1 D+ 9:04AM 0:00.00 df -h > > No change. > > I'm not sure what has hung here, nor am I sure how to 'un-hang' my shell. > > Any thoughts anyone ? Press ctrl-t or use the -l option to ps to find the wait channel (that will= =20 tell you where in the kernel it's blocked) =2D --=20 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 - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBKomS5ZPcIHs/zowRAjziAJ93mT6IIyQVrw6eRV1ytPG9IDuvrACfTeSH l8d5m82knRLXnbcsz9LoDsQ=3D =3DZyX3 =2D----END PGP SIGNATURE-----