memleak w kernelu?
Kosmo
kosmo w miechow.com
Pią, 30 Kwi 2004, 11:28:55 CEST
Dnia pią 30. kwietnia 2004 08:16, Wojciech 'Sas' Cieciwa napisał:
> czy ta gra uzywa sieci ?
> co mowu top jak sie zaczynaja problemy ?
> co jest w logach ?
Mam 2.4.26 i mam to samo. W logach dostaję tylko:
__alloc_pages: 0-order allocation failed (gfp=0x1f0/0)
Dołączam spec'a do vegastrike nad którymś kiedyś pracowałem - może coś pomoże
w poprawianiu tego co jest w CVS'ie ...
-------------- następna część ---------
# $Revision: 1.15 $, $Date: 2003/08/28 12:28:52 $
Summary: Vegastrike - a free 3D space fight simulator
Summary(pl): Vegastrike - trójwymiarowy symulator lotu
Name: vegastrike
Version: 0.4.1
Release: 0.11
License: GPL
Group: X11/Applications/Games
Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}-installer.tar.bz2
# Source0-md5: 650c69438d4f3b382c1697b422706b53
URL: http://vegastrike.sourceforge.net/
BuildRequires: OpenAL-devel
BuildRequires: OpenGL-devel
BuildRequires: SDL-devel
BuildRequires: SDL_mixer-devel
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: expat-devel
BuildRequires: glut-devel
BuildRequires: python-devel
BuildRequires: vorbis-tools
Requires: OpenGL
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _noautoreqdep libGL.so.1 libGLU.so.1
%description
Vega Strike is an Interactive Flight Simulator/Real Time Strategy
being developed for Linux and Windows in 3D OpenGL... With stunning
Graphics reminiscent of Wing Commander, Vega Strike will be a hit for
all gamers!!!
%description -l pl
Vega Strike to interaktyny symulator lotu / strategia czasu
rzeczywistego korzystająca z OpenGL, rozwijana pod Linuksa i Windows.
%prep
%setup -q -n %{name}-%{version}-installer
tar -zxf %{name}-%{version}-data.tgz
tar -zxf %{name}-%{version}-setup.tgz
tar -zxf %{name}-%{version}-source.tgz
cd %{name}
sed -i 's#glXGetProcAddressARB#glXGetProcAddress#' \
src/gldrv/gl_init.cpp
sed -i 's#^AC_OUTPUT(#AC_OUTPUT(tools/Makefile #' \
configure.in
sed -i 's#\./soundserver#%{_libexecdir}/%{name}/soundserver#g' \
src/main.cpp
%build
cd %{name}
%{__aclocal}
%{__autoconf}
%{__autoheader}
%{__automake}
%configure \
--enable-net-threads=posix \
--enable-boost-128 \
--enable-flags="%{rpmcflags}" \
--with-data-dir="%{_datadir}/%{name}"
%{__make}
cd ../data/.%{name}
sed -i 's#^\.\./music/#%{_datadir}/%{name}/music/#' *.m3u
tar -c *.m3u | bzip2 -9c > ../m3u.tar.bz2
cd ..
rm -rf .%{name}
rm -f vsinstall
find -type d -name CVS \
| xargs rm -rf
find -type f -name 'Makefile*' \
-o -type f -name '*~' \
-o -type f -name '.*' \
-o -type f -name '#*' \
-o -type f -name '*.pyc' \
-o -type f -name '*.sh' \
-o -type f -name '*.nsi' \
-o -type f -name '*.spec' \
| xargs rm -f
find -type f -name '*.ogg' \
| xargs -n 1 vorbiscomment -c /dev/null -w
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}
mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/%{name}
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
cp %{name}/src/%{name} $RPM_BUILD_ROOT%{_bindir}
cp %{name}/src/networking/soundserver $RPM_BUILD_ROOT%{_libexecdir}/%{name}
cp %{name}/launcher/vslauncher $RPM_BUILD_ROOT%{_bindir}
cp %{name}/doc/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
cp -Rf data/* $RPM_BUILD_ROOT%{_datadir}/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc %{name}/README %{name}/AUTHORS %{name}/ChangeLog
%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) %{_libexecdir}/%{name}*
%{_mandir}/*/*
%{_datadir}/%{name}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback w pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log: vegastrike.spec,v $
Revision 1.15 2003/08/28 12:28:52 qboosh
- added build fixes, use configure macro, removed junk from data dir
Revision 1.14 2003/08/26 23:19:18 gotar
- no // in paths, sort, white space cleaning
Revision 1.13 2003/05/28 13:02:33 malekith
- massive attack: source-md5
Revision 1.12 2003/05/25 06:27:40 misi3k
- massive attack s/pld.org.pl/pld-linux.org/
Revision 1.11 2003/03/12 16:07:50 qboosh
- working Source URL, cosmetics
Revision 1.10 2003/01/18 22:57:40 juandon
- removed two lines with define
Revision 1.9 2002/12/13 22:46:55 ankry
- adapterized
Revision 1.8 2002/12/01 22:37:08 qboosh
- BRs cleanup
Revision 1.7 2002/11/30 23:00:29 juandon
- new %%doc
Revision 1.6 2002/11/30 17:54:42 newrom
- added BuildRequires: expat-devel, expat.h is needed
Revision 1.5 2002/02/23 05:04:58 kloczek
- adapterized.
Revision 1.4 2002/02/22 23:29:52 kloczek
- removed all Group fields translations (oure rpm now can handle translating
Group field using gettext).
Revision 1.3 2002/01/18 02:15:17 kloczek
perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
Revision 1.2 2001/11/19 09:25:22 qboosh
- fixed Log, use more macros, added pl translations
Why are base and -data separated, they require themselves?
Więcej informacji o liście dyskusyjnej pld-devel-pl