Date: Tue, 24 Aug 2004 09:49:30 +0930 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: buga@auug.org.au Cc: "Wilkinson, Alex" <alex.wilkinson@dsto.defence.gov.au> Subject: Re: [BUGA] df(1) && vnconfig(8) hanging .... Message-ID: <200408240949.30201.doconnor@gsoft.com.au> In-Reply-To: <20040823235451.GC3368@squirm.dsto.defence.gov.au> References: <20040823235451.GC3368@squirm.dsto.defence.gov.au>
next in thread | previous in thread | raw e-mail | index | archive | help
=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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408240949.30201.doconnor>