Re: sometimes 5.3-RELEASE-p5 is stuck at the last steps of shutdown

2005-01-27 Thread Rostislav Krasny
--- Michael Nottebrock [EMAIL PROTECTED] wrote:
 Rostislav Krasny wrote:
 
  Hello all.
  
  I use FreeBSD 5.3-RELEASE-p5 on i386. Sometimes my system is stuck at
 the
  last steps of shutdown. Following quoting is what I saw yesterday when
 my
  system was stuck again (the last lines):
  
  init: some processes would not die; ps axl advised
 
 You should try to find out what's causing that. I personally got this a
 few 
 times, too, when a mount command got badly stuck because trouble with the
 hdd.

I don't know how could I find, during the shutdown, what are those
unkillable processes. I didn't find anything suspicious in
/var/log/messages. Could init(8) be configured/patched to print/log a list
of such unkillable processes during the shutdown?

There are following PATA devices in this box:
ad0: 14649MB IBM-DTLA-307015/TX2OA5AA [29765/16/63] at ata0-master UDMA33
ad1: 3098MB ST33210A/1.70 [6296/16/63] at ata0-slave UDMA33
ad2: 14324MB IBM-DTLA-307015/TX2DA5AA [29104/16/63] at ata1-master UDMA33
acd0: CDROM SAMSUNG CD-ROM SC-152L/C100 at ata1-slave PIO4
And ACPI is disabled.

In a past ad2 was not physically installed, acd0 was different  and I ran
FreeBSD 5.3-RELEASE (lower patchlevel) on ad1. I had experienced the same
shutdown problem with the same low periodicity. I believe it is not an HDD 
problem.



__ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sometimes 5.3-RELEASE-p5 is stuck at the last steps of shutdown

2005-01-27 Thread Michael Nottebrock
On Thursday, 27. January 2005 10:04, Rostislav Krasny wrote:
 --- Michael Nottebrock [EMAIL PROTECTED] wrote:
  Rostislav Krasny wrote:
   Hello all.
  
   I use FreeBSD 5.3-RELEASE-p5 on i386. Sometimes my system is stuck at
 
  the
 
   last steps of shutdown. Following quoting is what I saw yesterday when
 
  my
 
   system was stuck again (the last lines):
  
   init: some processes would not die; ps axl advised
 
  You should try to find out what's causing that. I personally got this a
  few
  times, too, when a mount command got badly stuck because trouble with the
  hdd.

 I don't know how could I find, during the shutdown, what are those
 unkillable processes. I didn't find anything suspicious in
 /var/log/messages. Could init(8) be configured/patched to print/log a list
 of such unkillable processes during the shutdown?

Probably, but doing shutdown now (i.e., going into single user) instead of an 
actual power-down might also work.

-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org


pgpfMgVOAtzpq.pgp
Description: PGP signature


sometimes 5.3-RELEASE-p5 is stuck at the last steps of shutdown

2005-01-24 Thread Rostislav Krasny
Hello all.

I use FreeBSD 5.3-RELEASE-p5 on i386. Sometimes my system is stuck at the
last steps of shutdown. Following quoting is what I saw yesterday when my
system was stuck again (the last lines):

init: some processes would not die; ps axl advised
Waiting (max 60 seconds) for system process `vnlru' to stop... done
Waiting (max 60 seconds) for system process `bufdaemon' to stop... done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining... 2 1 0 0 0 done
No buffers busy after final sync

I've experienced such system stucks after short and also not so short
uptimes. I don't know how to reproduce it for sure. Before that specific
shutdown I ran Xorg 6.8.1 with KDE 3.3.2 but then I quit KDE, quit X and
logged out. I don't use either xdm nor kdm.

On the next boot '/', '/tmp' and '/usr' were declared as not properly
dismounted.

How could the shutdown processing be fixed so it will never stuck?



__ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sometimes 5.3-RELEASE-p5 is stuck at the last steps of shutdown

2005-01-24 Thread Michael Nottebrock
Rostislav Krasny wrote:
Hello all.
I use FreeBSD 5.3-RELEASE-p5 on i386. Sometimes my system is stuck at the
last steps of shutdown. Following quoting is what I saw yesterday when my
system was stuck again (the last lines):
init: some processes would not die; ps axl advised
You should try to find out what's causing that. I personally got this a few 
times, too, when a mount command got badly stuck because trouble with the hdd.

--
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sometimes 5.3-RELEASE-p5 is stuck at the last steps of shutdown

2005-01-24 Thread Parv
in message [EMAIL PROTECTED],
wrote Rostislav Krasny thusly...

 I use FreeBSD 5.3-RELEASE-p5 on i386. Sometimes my system is stuck
 at the last steps of shutdown. Following quoting is what I saw
 yesterday when my system was stuck again (the last lines):
 
 init: some processes would not die; ps axl advised

I did not have seen or notice this message.


 Waiting (max 60 seconds) for system process `vnlru' to stop... done
 Waiting (max 60 seconds) for system process `bufdaemon' to stop... done
 Waiting (max 60 seconds) for system process `syncer' to stop...
 Syncing disks, vnodes remaining... 2 1 0 0 0 done
 No buffers busy after final sync

I am using the same version as above on IBM ThinkPad T42 (2373-5TU).
Before i removed the, well, removable CD/DVD drive, system would
either turn off the power or bring up System halted ... Press a key
to reboot or turn off power like message, depending upon the
command issued (apm or acpi).

After removing the CD/DVD drive (while the computer was turned off),
system refused to shutdown (or bring up the message System halted
...), or to respond to Ctrl-Alt-Esc or Ctrl-Alt-Del keys.  It just
stuck at the above mentioned message, No buffers busy   I
tried 2-3 times, w/ acpi only, both in console and X.  (I did not
see anything interesting in the logs later.)

(Yes, after reinserting the drive, system halts/shuts down as
expected.)


  - Parv

-- 

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