NATM still scheduled for removal - please follow up to keep it in-tree

2011-02-14 Thread Bjoern A. Zeeb

Hi,

now that stable/8 (not part of the upcoming 8.2-R) once again has support for
NATM I'd like to remind people of
http://lists.freebsd.org/pipermail/freebsd-net/2010-December/027215.html
especially:

:: 1) the extra couple of months; this will not prevent the evitable removal
:: yet only defer it.
:: 
:: 2) If anyone of you is using (or want to be able to (continue to) use) NATM

:: or can test things, I re-enabled it with most of the code in HEAD and
:: the patch is available for 8,x as well but need to work with somoene
:: to make sure it'll really work.  I am willing to spend more time on it
:: if you send me an email.

So if anyone of you is still using NATM, please follow-up with me to
keep your functionality.  If there is no feedback NATM is still
scheduled for removal.

Thank you.

/bz

--
Bjoern A. Zeeb You have to have visions!
 Stop bit received. Insert coin for new address family.

-- Forwarded message --
Date: Mon, 14 Feb 2011 16:54:03 + (UTC)
From: Bjoern A. Zeeb 
To: src-committ...@freebsd.org, svn-src-...@freebsd.org,
svn-src-sta...@freebsd.org, svn-src-stabl...@freebsd.org
Subject: svn commit: r218684 - in stable/8/sys: conf netinet

Author: bz
Date: Mon Feb 14 16:54:03 2011
New Revision: 218684
URL: http://svn.freebsd.org/changeset/base/218684

Log:
  MFC r216466:

Bring back (most of) NATM to avoid further bitrot after r186119.
Keep three lines disabled which I am unsure if they had been used at all.
This will allow us to seek testers and possibly bring it all back.

Discussed with:   rwatson

Modified:
  stable/8/sys/conf/NOTES
  stable/8/sys/netinet/if_atm.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
___
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: ATI Radeon LW RV200 Mobility 7500 M7 locks up on X exit

2011-02-14 Thread Ted Faber
On Sat, Feb 12, 2011 at 03:20:54PM -0700, Warren Block wrote:
> On Fri, 11 Feb 2011, Ted Faber wrote:
> 
> > For the last couple weeks (maybe more) I've been having an intermittent
> > problem on my Thinkpad T42 where exiting X causes my screen to lock up
> > and the system seems to stop doing anything.  Lately it's happening
> > about every 3rd time.
> 
> My T42 is months out of date and needs updating, but I haven't seen that 
> issue before.  Have you made any changes to xorg-related stuff lately? 
> There are some things in your xorg.conf Device section that might be 
> questionable, but if it was working before...

I commented all the options out and still see the problem.

What did you see that looked suspect?

-- 
Ted Faber
http://www.isi.edu/~faber   PGP: http://www.isi.edu/~faber/pubkeys.asc
Unexpected attachment on this mail? See http://www.isi.edu/~faber/FAQ.html#SIG


pgpldqOtwyoXb.pgp
Description: PGP signature


Re: ATI Radeon LW RV200 Mobility 7500 M7 locks up on X exit

2011-02-14 Thread Ted Faber
On Fri, Feb 11, 2011 at 10:52:43PM -0800, Chris H wrote:
> I noticed a potential issue in the output of your attached Xorg.conf.

Can you tell me what looked fishy?  I'm happy to poke it it.

> Bottom line (for me anyway) has been that if I disable hald(8), I have nearly
> no (video related) issues. This is both on x86 && amd64 systems.

When I turn off hald, X xan no longer find the mouse and keyboard.  I
can probably hard wire them down, but I get the impression that lots of
other gnome-ish things will get confused w/o hald.

-- 
Ted Faber
http://www.isi.edu/~faber   PGP: http://www.isi.edu/~faber/pubkeys.asc
Unexpected attachment on this mail? See http://www.isi.edu/~faber/FAQ.html#SIG


pgpvVVuOmcQ1a.pgp
Description: PGP signature


Re: ATI Radeon LW RV200 Mobility 7500 M7 locks up on X exit

2011-02-14 Thread Chris H

On Mon, February 14, 2011 10:21 am, Ted Faber wrote:
> On Fri, Feb 11, 2011 at 10:52:43PM -0800, Chris H wrote:
>
>> I noticed a potential issue in the output of your attached Xorg.conf.
>>
>
> Can you tell me what looked fishy?  I'm happy to poke it it.
>
>
>> Bottom line (for me anyway) has been that if I disable hald(8), I have nearly
>>  no (video related) issues. This is both on x86 && amd64 systems.
>
> When I turn off hald, X xan no longer find the mouse and keyboard.  I
> can probably hard wire them down, but I get the impression that lots of other
> gnome-ish things will get confused w/o hald.
dbus is still available, and should help here (still enabled).

I'm /not/ on a GENERIC kernel, but here are some relevant pieces from
my setup that might help;
rc.conf(5)
hald_enable="NO"
dbus_enable="YES"

xorg.conf(5)
Section "ServerLayout"
Identifier "X.org Configured"
...
InputDevice"Mouse0" "CorePointer"
InputDevice"Keyboard0" "CoreKeyboard"

Section "ServerFlags"
Option  "AllowEmptyInput"   "false"
Option  "AutoAddDevices""true"
Option  "AutoEnableDevices" "true"
...

Section "InputDevice"
Identifier  "Keyboard0"
Driver  "kbd"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "auto"
Option  "Device" "/dev/sysmouse"
Option  "ZAxisMapping" "4 5 6 7 8"
...

I run Gnome && KDE(4.x) w/o any issues using this setup (no hald(8).

I don't have your dmesg(8) output in front of me, at the momment. So I can't
comment on what I felt might be "suspect".

I might also note, that for awhile there, there were issues on laptops
w/FreeBSD. I can't remember exactly, but I think it was related to (ACPI?).
Essentially, it's related to the suspend/resume support in the FreeBSD kernel.
Perhaps some additional "tweaks" might be found in the laptop section(s)
in the FreeBSD docs, or list(s).

HTH

--Chris

OH, one other thing that comes to mind;
Did you let Xorg(1) create your xorg.conf(8) file? and if so (you /should/ 
have),
what was the output? Again, if so, is that the conf file you're using now?


>
> --
> Ted Faber
> http://www.isi.edu/~faber   PGP: http://www.isi.edu/~faber/pubkeys.asc
> Unexpected attachment on this mail? See http://www.isi.edu/~faber/FAQ.html#SIG
>
>


-- 


___
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: ATI Radeon LW RV200 Mobility 7500 M7 locks up on X exit

2011-02-14 Thread Warren Block

On Mon, 14 Feb 2011, Chris H wrote:


I'm /not/ on a GENERIC kernel, but here are some relevant pieces from
my setup that might help;
rc.conf(5)
hald_enable="NO"
dbus_enable="YES"


Half a dozen machines here (roughly, it varies) say that hal is fine. 
One of those machines is a T42, but needs updating to the latest 
8-stable.  Apparently I put the significant files on the FLCL site a 
while back:

http://laptop.bsdgroup.de/freebsd/index.html?action=show_laptop_detail&laptop=12947


xorg.conf(5)
Section "ServerLayout"
Identifier "X.org Configured"
...
InputDevice"Mouse0" "CorePointer"
InputDevice"Keyboard0" "CoreKeyboard"

Section "ServerFlags"
Option  "AllowEmptyInput" "false"


No, please stop doing that.  See
http://www.wonkity.com/~wblock/docs/html/aei.html


Option  "AutoAddDevices"  "true"
Option  "AutoEnableDevices" "true"


These are defaults.


OH, one other thing that comes to mind;
Did you let Xorg(1) create your xorg.conf(8) file? and if so (you /should/ 
have),
what was the output? Again, if so, is that the conf file you're using now?


Sorry, must disagree with that.  -configure creates outmoded xorg.conf 
files, with older options that are either no longer needed or outright 
obsolete.  It also leaves out useful settings.

___
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: ATI Radeon LW RV200 Mobility 7500 M7 locks up on X exit

2011-02-14 Thread Warren Block

On Mon, 14 Feb 2011, Ted Faber wrote:


On Sat, Feb 12, 2011 at 03:20:54PM -0700, Warren Block wrote:


My T42 is months out of date and needs updating, but I haven't seen that
issue before.  Have you made any changes to xorg-related stuff lately?
There are some things in your xorg.conf Device section that might be
questionable, but if it was working before...


I commented all the options out and still see the problem.

What did you see that looked suspect?


AGPMode, GARTSize, ColorTiling.  But if they were working before, they 
should not suddenly be a new problem.

___
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: ATI Radeon LW RV200 Mobility 7500 M7 locks up on X exit

2011-02-14 Thread Warren Block
Updated the T42 tonight, which has the same video.  -STABLE as of today, 
all ports updated as of today, and it seems fine.  At least no lock up 
on restarting X or shutting down.  Your xorg.conf had some interesting 
things, including XAA acceleration, which I didn't notice before. 
Here's the one from this machine, comments stripped.  Composite enabled 
does not provide composite, but otherwise no problems noticed:


Section "ServerLayout"
Identifier   "Manually Configured"
Screen   0  "Screen0" 0 0
Option   "DontZap" "Off"
EndSection

Section "Files"
ModulePath   "/usr/local/lib/xorg/modules"
FontPath "/usr/local/lib/X11/fonts/misc/"
FontPath "/usr/local/lib/X11/fonts/TTF/"
FontPath "/usr/local/lib/X11/fonts/OTF"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
FontPath "/usr/local/lib/X11/fonts/bitstream-vera/"
EndSection

Section "DRI"
Group 0
Mode  0660
EndSection

Section "Extensions"
Option   "Composite" "Enable"
EndSection

Section "Device"
Identifier  "Card0"
Driver  "radeon"
VendorName  "ATI Technologies Inc"
BoardName   "Radeon Mobility M7 LW [Radeon Mobility 7500]"
BusID   "PCI:1:0:0"
Option  "AccelMethod" "EXA"
Option  "EXAVSync" "On"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"Monitor0"
SubSection "Display"
Virtual 1024 768
Modes "1024x768"
EndSubSection
EndSection
___
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: ATI Radeon LW RV200 Mobility 7500 M7 locks up on X exit

2011-02-14 Thread Ted Faber
On Mon, Feb 14, 2011 at 08:58:31PM -0700, Warren Block wrote:
> Updated the T42 tonight, which has the same video.  -STABLE as of today, 
> all ports updated as of today, and it seems fine.  At least no lock up 
> on restarting X or shutting down.  Your xorg.conf had some interesting 
> things, including XAA acceleration, which I didn't notice before. 
> Here's the one from this machine, comments stripped.  Composite enabled 
> does not provide composite, but otherwise no problems noticed:

I tried that xorg.conf, and still got the lockups.  The acceleration was
less effective as well.

I've attached the xorg.conf I'm using, which is pretty close to the one
you sent, as well as the log from /var/log/Xorg.0.log

I still see the lockups.

-- 
http://www.lunabase.org/~faber
Unexpected attachment? http://www.lunabase.org/~faber/FAQ.html#SIG
Section "ServerLayout"
Identifier "X.org Configured"
Screen  0  "Screen0" 0 0
#   InputDevice"Mouse0" "CorePointer"
#   InputDevice"Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
#   Option "AutoAddDevices" "Off"
#   Option "AutoEnableDevices" "Off"
#   Option "AllowEmptyInput" "Off"
EndSection

Section "Files"
#RgbPath  "/usr/local/share/X11/rgb"
ModulePath   "/usr/local/lib/xorg/modules"
FontPath "/usr/local/lib/X11/fonts/misc/"
FontPath "/usr/local/lib/X11/fonts/TTF/"
FontPath "/usr/local/lib/X11/fonts/OTF"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
Load  "extmod"
# Load  "record"
Load  "dbe"
Load  "glx"
Load  "GLcore"
Load  "xtrap"
Load  "dri"
Load  "freetype"
Load  "type1"
EndSection

#Section "InputDevice"
#   Identifier  "Keyboard0"
#   Driver  "kbd"
#EndSection

#Section "InputDevice"
#   Identifier  "Mouse0"
#   Driver  "mouse"
#   Option  "Protocol" "auto"
#   Option  "Device" "/dev/sysmouse"
#   Option  "ZAxisMapping" "4 5 6 7"
#EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName"Monitor Model"
EndSection

Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel"   # []
#Option "SWcursor"  # []
#Option "Dac6Bit"   # []
#Option "Dac8Bit"   # []
#Option "BusType"   # []
#Option "CPPIOMode" # []
#Option "CPusecTimeout" # 
#Option "AGPMode"   # 
#Option "AGPFastWrite"  # []
#Option "AGPSize"   # 
#Option "GARTSize"  # 
#Option "RingSize"  # 
#Option "BufferSize"# 
#Option "EnableDepthMoves"  # []
#Option "EnablePageFlip"# []
#Option "NoBackBuffer"  # []
#Option "DMAForXv"  # []
#Option "FBTexPercent"  # 
#Option "DepthBits" # 
#Option "PCIAPERSize"   # 
#Option "AccelDFS"  # []
#Option "DDCMode"   # []
#Option "IgnoreEDID"# []
#Option "DisplayPriority"   # []
#Option "PanelSize" # []
#Option "ForceMinDotClock"  # 
#Option "ColorTiling"   # []
#Option "VideoKey"  # 
#Option "RageTheatreCrystal"# 
#Option "RageTheatreTunerPort"  # 
#Option "RageTheatreCompositePort"  # 
#Option "RageTheatreSVideoPort" # 
#Option "TunerType" # 
#Option "RageTheatreMicrocPath" # 
#Option "RageTheatreMicrocType" # 
#Option "ScalerWidth"   # 
#Option "RenderAccel"   # []
#Option "SubPixelOrder" # []
#Option "ShowCache" # []
#Option "DynamicClocks" # []
#Option "VGAAccess" # []
#Option "ReverseDDC"# []
#Option "LVDSProbePLL"  # []
#Option "AccelMethod"   # 
#Option "DRI"   # []
#Option "ConnectorTable"# 
#Option "DefaultConnectorTable" # []
#Option

Re: ATI Radeon LW RV200 Mobility 7500 M7 locks up on X exit

2011-02-14 Thread Warren Block

On Mon, 14 Feb 2011, Ted Faber wrote:


On Mon, Feb 14, 2011 at 08:58:31PM -0700, Warren Block wrote:

Updated the T42 tonight, which has the same video.  -STABLE as of today,
all ports updated as of today, and it seems fine.  At least no lock up
on restarting X or shutting down.  Your xorg.conf had some interesting
things, including XAA acceleration, which I didn't notice before.
Here's the one from this machine, comments stripped.  Composite enabled
does not provide composite, but otherwise no problems noticed:


I tried that xorg.conf, and still got the lockups.  The acceleration was
less effective as well.


EXA is what it picks by default, and I did find that composite works 
now.  The ChipID matches yours, 0x4c57.  The BIOS on this system is 3.23 
(1RETDRWW), it has 1.5G of RAM.  I have dbus, hal, and moused enabled in 
rc.conf.

___
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"