Bug 71412

Summary: Flash Plugin problems with SMP enabled kernel.
Product: Ports & Packages Reporter: Jacobo Arvelo <unix4all>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Jacobo Arvelo 2004-09-06 00:50:17 UTC
When Im browsing flash enabled webpages with any mozilla based browser ( I dont know if it is reproducible with Opera or Konqueror) with an SMP enabled kernel the browser freezes when it loads the flash portion of the page, it come to live when I move the cursor over the "flash area" and freezes when I move off the cursor of the area, very strange.

Fix: 

A temporary work-around is running with SMP disabled, with an UP kernel it works well.
How-To-Repeat: Enter any webpage with flash.
Comment 1 Joe Marcus Clarke freebsd_committer freebsd_triage 2004-09-06 01:21:08 UTC
I believe this is related to the recent mpsafenet enabling.  Try
setting:

debug.mpsafenet="0"

In /boot/loader.conf (while staying on an SMP kernel) and see if that
helps.  If so, then try applying the most recent patch to
src/sys/kern/uipc_socket.c and see if that corrects the problem with
mpsafenet set back to 1.

Joe

-- 
Joe Marcus Clarke
FreeBSD GNOME Team	::	gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
Comment 2 Jacobo Arvelo 2004-09-06 02:02:21 UTC
Yes, with debug.mpsafenet=3D"0" it works OK ! Where I can find the
patches for uipc_socket.c ? I need upgrade to 6.0-CURRENT ?

I=B4m looking forward for another problem with Nvidia driver and SMP
kernel, the X hangs randomly, but now, with mpsafenet disabled it
works too.


On Sun, 05 Sep 2004 20:21:08 -0400, Joe Marcus Clarke
<marcus@freebsd.org> wrote:
> I believe this is related to the recent mpsafenet enabling.  Try
> setting:
>=20
> debug.mpsafenet=3D"0"
>=20
> In /boot/loader.conf (while staying on an SMP kernel) and see if that
> helps.  If so, then try applying the most recent patch to
> src/sys/kern/uipc_socket.c and see if that corrects the problem with
> mpsafenet set back to 1.
>=20
> Joe
>=20
> --
> Joe Marcus Clarke
> FreeBSD GNOME Team      ::      gnome@FreeBSD.org
> FreeNode / #freebsd-gnome
> http://www.FreeBSD.org/gnome
>=20
>=20
>=20
>=20



--=20
Jacobo Arvelo "UNIX4ALL"

Free/Open/Net/DragonFly BSD Powered User

http://www.corralito.org
Comment 3 Joe Marcus Clarke freebsd_committer freebsd_triage 2004-09-06 02:30:04 UTC
On Sun, 2004-09-05 at 21:02, Jacobo Arvelo "UNIX4ALL" wrote:
> Yes, with debug.mpsafenet="0" it works OK ! Where I can find the
> patches for uipc_socket.c ? I need upgrade to 6.0-CURRENT ?


You can get it from CVS:

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/uipc_socket.c.diff?r1=1.211&r2=1.212&f=u

> 
> I´m looking forward for another problem with Nvidia driver and SMP
> kernel, the X hangs randomly, but now, with mpsafenet disabled it
> works too.


This sounds like the same problem.

Joe

> 
> 
> On Sun, 05 Sep 2004 20:21:08 -0400, Joe Marcus Clarke
> <marcus@freebsd.org> wrote:
> > I believe this is related to the recent mpsafenet enabling.  Try
> > setting:
> > 
> > debug.mpsafenet="0"
> > 
> > In /boot/loader.conf (while staying on an SMP kernel) and see if that
> > helps.  If so, then try applying the most recent patch to
> > src/sys/kern/uipc_socket.c and see if that corrects the problem with
> > mpsafenet set back to 1.
> > 
> > Joe
> > 
> > --
> > Joe Marcus Clarke
> > FreeBSD GNOME Team      ::      gnome@FreeBSD.org
> > FreeNode / #freebsd-gnome
> > http://www.FreeBSD.org/gnome
> > 
> > 
> > 
> > 

-- 
Joe Marcus Clarke
FreeBSD GNOME Team	::	gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
Comment 4 Jacobo Arvelo 2004-09-06 11:26:17 UTC
I patched uipc_socket.c  to version 1.212 (latest) and now at least
the flash issue is gone and I hope Nvidia issue too, mpsafenet and
mpsafevm turned on.

-- 
Jacobo Arvelo "UNIX4ALL"

Free/Open/Net/Dragonfly BSD Powered User

http://www.corralito.org
Comment 5 Mark Linimon freebsd_committer freebsd_triage 2004-09-06 20:07:34 UTC
State Changed
From-To: open->closed

Fix to the kernel was required; it is in -CURRENT and will be MFCed soon.