Re: livelocks and deadlocks on 8.0BETA2

2009-08-28 Thread Henrik Hudson
On Fri, 21 Aug 2009, Ed Jobs wrote:

 On Friday 21 August 2009 02:56, Kevin Oberman wrote:
  I have a quad-core system that I updated to 8.0 about 2 weeks 
 ago. It
  ran fine until yesterday when I used the PATA/ATAPI DVD drive to 
 read a
  disk. Then the fun began. I saw two totally different presentations, 
 but
  I hope that they both are manifestations of the same problem.
 
 
 [snip]
 
 i have no idea about the second problem, but the 1st one it's not 
 fbsd-specific. it has happened to me on a linux box. repeatedly i 
 might add. after a couple of hours playing videos, X would use 100% 
 of cpu and i wasn't able to switch to a VTY or kill it via ctrl-alt-
 backspace.
 i think it might be a problem related to mplayer, but i'm not sure, 
 cause it did not crash, so no bad-behavour log.
 on the linux box, it's easy to handle (just /etc/rc.d/kdm restart via 
 ssh). But since fbsd doesn't use kdm it's only reboot.

Just FYI. You don't need to reboot FreeBSD either for this. Just
restart X in the same way if you're using gdm or kdm. The scripts
should be in /usr/local/etc/rc.d   

If it's the standard xdm install, via /etc/ttys,  then just kill the
xdm process and it will restart from the tty setting.

Henrik
-- 
Henrik Hudson
li...@rhavenn.net
-
God, root, what is difference? Pitr; UF 

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


Re: livelocks and deadlocks on 8.0BETA2

2009-08-22 Thread Eugene Grosbein
Kevin Oberman wrote:

 Then it got worse. The second time this happened, I inserted an erased
 DVD while the system was in POST. The system started to boot, but,
 shortly after probing acd0, while the boot was waiting for: usbus7
 usbus6 usbus5 usbus4 usbus3 usbus2 usbus1 usbus0, and about the time it
 should have probed for cd0 (atapicam), the system locked up and would not
 finish the boot. This is prior to mounting root.
 
 After several repeats of this, I ejected the disk from the drive and it
 booted just fine. Clearly something with ATAPI is not happy. Should I
 not be using atapicam with 8.0?

This one is old one. I get it sometimes since 7.0
(perhaps, 6.x affected too) on my desktop and it sometimes repeats
with 8.0-BETA2 too (GENERIC kernel). It's some kind of race condition
because it does not always hang, but often enough to be annoying.

There should be a media in drive to make it happen, blank or written.

Eugene Grosbein
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: livelocks and deadlocks on 8.0BETA2

2009-08-21 Thread Ed Jobs
On Friday 21 August 2009 02:56, Kevin Oberman wrote:
 I have a quad-core system that I updated to 8.0 about 2 weeks 
ago. It
 ran fine until yesterday when I used the PATA/ATAPI DVD drive to 
read a
 disk. Then the fun began. I saw two totally different presentations, 
but
 I hope that they both are manifestations of the same problem.


[snip]

i have no idea about the second problem, but the 1st one it's not 
fbsd-specific. it has happened to me on a linux box. repeatedly i 
might add. after a couple of hours playing videos, X would use 100% 
of cpu and i wasn't able to switch to a VTY or kill it via ctrl-alt-
backspace.
i think it might be a problem related to mplayer, but i'm not sure, 
cause it did not crash, so no bad-behavour log.
on the linux box, it's easy to handle (just /etc/rc.d/kdm restart via 
ssh). But since fbsd doesn't use kdm it's only reboot.

i don't use mplayer or X on my fbsd box so i don't really know on what 
version X or mplayer are. The problem has stopped happening on the 
linux box. it uses mplayer 29411-3 and xorg-server 1.6.3-3.

just my 2 cents


signature.asc
Description: This is a digitally signed message part.


Re: livelocks and deadlocks on 8.0BETA2

2009-08-21 Thread Kevin Oberman
 From: Ed Jobs olori...@gmail.com
 Date: Fri, 21 Aug 2009 10:52:30 +0300
 Sender: owner-freebsd-sta...@freebsd.org
 
 On Friday 21 August 2009 02:56, Kevin Oberman wrote:
  I have a quad-core system that I updated to 8.0 about 2 weeks 
 ago. It
  ran fine until yesterday when I used the PATA/ATAPI DVD drive to 
 read a
  disk. Then the fun began. I saw two totally different presentations, 
 but
  I hope that they both are manifestations of the same problem.
 
 
 [snip]
 
 i have no idea about the second problem, but the 1st one it's not 
 fbsd-specific. it has happened to me on a linux box. repeatedly i 
 might add. after a couple of hours playing videos, X would use 100% 
 of cpu and i wasn't able to switch to a VTY or kill it via ctrl-alt-
 backspace.
 i think it might be a problem related to mplayer, but i'm not sure, 
 cause it did not crash, so no bad-behavour log.
 on the linux box, it's easy to handle (just /etc/rc.d/kdm restart via 
 ssh). But since fbsd doesn't use kdm it's only reboot.
 
 i don't use mplayer or X on my fbsd box so i don't really know on what 
 version X or mplayer are. The problem has stopped happening on the 
 linux box. it uses mplayer 29411-3 and xorg-server 1.6.3-3.

Okay. Since it shows up with very different players (mplayer and xine),
it sounds like an Xorg issue. Could you tell me what graphics card you
are running on the Linux box?

I have an NVIDIA GeForce 7800 GT with the NV driver and a pair of
1280x1024 screens.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: ober...@es.net  Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: livelocks and deadlocks on 8.0BETA2

2009-08-21 Thread Ed Jobs
On Friday 21 August 2009 18:15, Kevin Oberman wrote:
  From: Ed Jobs olori...@gmail.com
  Date: Fri, 21 Aug 2009 10:52:30 +0300
  Sender: owner-freebsd-sta...@freebsd.org
 
  On Friday 21 August 2009 02:56, Kevin Oberman wrote:
   I have a quad-core system that I updated to 8.0 about 2 weeks
 
  ago. It
 
   ran fine until yesterday when I used the PATA/ATAPI DVD drive to
 
  read a
 
   disk. Then the fun began. I saw two totally different 
presentations,
 
  but
 
   I hope that they both are manifestations of the same problem.
 
  [snip]
 
  i have no idea about the second problem, but the 1st one it's 
not
  fbsd-specific. it has happened to me on a linux box. repeatedly i
  might add. after a couple of hours playing videos, X would use 
100%
  of cpu and i wasn't able to switch to a VTY or kill it via ctrl-alt-
  backspace.
  i think it might be a problem related to mplayer, but i'm not sure,
  cause it did not crash, so no bad-behavour log.
  on the linux box, it's easy to handle (just /etc/rc.d/kdm restart via
  ssh). But since fbsd doesn't use kdm it's only reboot.
 
  i don't use mplayer or X on my fbsd box so i don't really know on 
what
  version X or mplayer are. The problem has stopped happening on 
the
  linux box. it uses mplayer 29411-3 and xorg-server 1.6.3-3.

 Okay. Since it shows up with very different players (mplayer and 
xine),
 it sounds like an Xorg issue. Could you tell me what graphics card 
you
 are running on the Linux box?

 I have an NVIDIA GeForce 7800 GT with the NV driver and a pair of
 1280x1024 screens.

i use the nvidia driver on a GTX280
driver version: 185.18.31


signature.asc
Description: This is a digitally signed message part.


livelocks and deadlocks on 8.0BETA2

2009-08-20 Thread Kevin Oberman
I have a quad-core system that I updated to 8.0 about 2 weeks ago. It
ran fine until yesterday when I used the PATA/ATAPI DVD drive to read a
disk. Then the fun began. I saw two totally different presentations, but
I hope that they both are manifestations of the same problem.

First, the livelock. When attempting to play video off of the disk (xine
or mplayer) while the CPU was busy, xorg would lock up solid. All CPUs
were running a threaded code that run them all at 100%, but they were
running niced to 10.

Couldn't kill xorg, even with a 'kill -9'. Ate 100% of a CPU, though the
CPU it was running on changed periodically. Could not switch to vty. The
display was frozen and I could do nothing from the console.

I could log in from another system and the system behaved normally.
While I could not free the console, I could and did manage to shut down
the system and reboot. This happened repeatedly and within a few
seconds of starting the video playing.

Now the deadlock. This one is weird in one instance. I had finished with
a disk and unmounted it. No problems. Then I ejected the unmounted
disk. (Yes, df(1) did not show it.) After the disk ejected, the system
deadlocked. Frozen completely. Could not even ping it on the net, so it
was in the kernel. I had no luck doing anything, so I had to kill power.

Then it got worse. The second time this happened, I inserted an erased
DVD while the system was in POST. The system started to boot, but,
shortly after probing acd0, while the boot was waiting for: usbus7
usbus6 usbus5 usbus4 usbus3 usbus2 usbus1 usbus0, and about the time it
should have probed for cd0 (atapicam), the system locked up and would not
finish the boot. This is prior to mounting root.

After several repeats of this, I ejected the disk from the drive and it
booted just fine. Clearly something with ATAPI is not happy. Should I
not be using atapicam with 8.0? 

I won't have access to this system until next Tuesday and the time I
have to tinker will be limited, but I can try setting up to break into
the debugger (if the system is even seeing the keyboard) or do something
else to get an idea of what is going on.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: ober...@es.net  Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org