df(1) vnconfig(8) hanging ....

2004-08-23 Thread Wilkinson, Alex
Hi all,

This morning I wanted to edit an ISO to instruct the kernel to redirect its
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
# 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

# ps -aux | grep df 
username   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  3332

# ps -aux | grep df
username   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 ?

 - aW

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [BUGA] df(1) vnconfig(8) hanging ....

2004-08-23 Thread Wilkinson, Alex
0n Tue, Aug 24, 2004 at 09:24:51AM +0930, Wilkinson, Alex wrote: 

This morning I wanted to edit an ISO to instruct the kernel to redirect its
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
# 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

# ps -aux | grep df 
username   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  3332

# ps -aux | grep df
username   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 ?

 - aW


To follow up to my own question, an NFS server not responding  DOH !

 - aW
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [BUGA] df(1) vnconfig(8) hanging ....

2004-08-23 Thread Wilkinson, Alex
0n Tue, Aug 24, 2004 at 09:30:09AM +0930, Wilkinson, Alex wrote: 

0n Tue, Aug 24, 2004 at 09:24:51AM +0930, Wilkinson, Alex wrote: 

This morning I wanted to edit an ISO to instruct the kernel to 
redirect its
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
# 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

# ps -aux | grep df 
username   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  3332

# ps -aux | grep df
username   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 ?

 - aW


To follow up to my own question, an NFS server not responding  DOH !

 - aW

To follow-up again, why doesn't this work ?

# sudo umount -v -t nfs -f /cdrom/ports/distfiles

Just hangs.

Surely you can force an un-mount of an NFS filesystem ?

 - aW
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [BUGA] df(1) vnconfig(8) hanging ....

2004-08-23 Thread Daniel O'Connor
-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 its
 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 
edit that (alternatively you could merge in a new boot.config file using 
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   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  3332

 # ps -aux | grep df
 username   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 
tell you where in the kernel it's blocked)

- -- 
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
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBKomS5ZPcIHs/zowRAjziAJ93mT6IIyQVrw6eRV1ytPG9IDuvrACfTeSH
l8d5m82knRLXnbcsz9LoDsQ=
=ZyX3
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [BUGA] df(1) vnconfig(8) hanging ....

2004-08-23 Thread Daniel O'Connor
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 24 Aug 2004 09:40, Wilkinson, Alex wrote:
 To follow-up again, why doesn't this work ?

 # sudo umount -v -t nfs -f /cdrom/ports/distfiles

umount -f mountpoint

should be sufficient.

 Just hangs.

 Surely you can force an un-mount of an NFS filesystem ?

I think it depends how you mount it as to how long the kernel will wait before 
unmounting it.

- -- 
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
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBKo7Q5ZPcIHs/zowRAmkAAKCKk/7ycWS2+sWc7tBYc4T03AbOLQCfaaxc
2sZ8/pYP2sumd8C+RONwdTs=
=P2r0
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]