Kezdőlap › Fórumok › Slackware, Slax problémák › Slackware Linux 10.1
- This topic has 160 hozzászólás, 24 résztvevő, and was last updated 20 years telt el by
balev.
-
SzerzőBejegyzés
-
2005-05-11-17:51 #2001586
Találtam a neten egy jópár (köztük Gyuszk által közzétett) linket, ahol lehet modelines-okat generálni. Csináltam is. De nekem nem jött össze eddig.
2005-05-11-20:58 #2001587Sajnos errõl annyit tudok, hogy a gtf nvidia kártyákkal mûködik csak igazán jól. 🙁
2005-05-13-23:19 #2001588LOL!
Ugyebár szenvedek itt a 85Hz beállításával már mióta. Gondoltam egyet, megpróbálom felrakni az ATI driver-t (eddig azért nem tököltem vele, mert UHU alatt nem lehetett belõni, kivéve 1.1). Nos, Slackware alatt beindította az X-t és frankón jó a képfrissítés. Mindamellett ugye van direct rendering is (igaz egy-két gl képernyõvédõ szaggat – hogy miért nem tudom, UHU alatt nem csinálta ezt).
2005-05-14-00:00 #2001589Még egy kérdés: hogyan tudok user-ként csatolni? Elõzményként annyi, hogy a fórumon belül és google-ben is rákerestem, valamint megnéztem az fstab és a mount manual-ját is, de mindenhol csak ugyanazt találtam > fstab-ba beírni a kívánt helyre: user v. users.
Namost…továbbra is az a válasz, hogy „mount: only root can do that”. Mi lehet itt a megoldás?
2005-05-14-06:52 #2001590Mountoláshoz help
http://slackware.hu/content.php?article.4A másik kérdésedre a válasz: miért nem teszed fel az origi slackis 2.6-s kernelt és állítod be a LILO-ba??? Nekem volt olyan Slackim amiben egyszerre 5 db indítható kernel volt…
ftp://ftp.slackware.hu/slackware/slackwar…s/linux-2.6.10/
Egy kis help a 2.6-s kernel beüzemeléséhez…
ftp://ftp.slackware.hu/slackware/slackwar…0/README.initrd2005-05-14-06:57 #2001591Rengeteg-rengeteg változás a Current ágban…
http://www.slackware.com/changelog/current.php?cpu=i386Fri May 13 12:51:03 PDT 2005
Here’s the (I’m sure) long awaited upgrade to Slackware’s glibc to
include support for NPTL (the Native POSIX Thread Library). NPTL
works with newer kernels (meaning 2.6.x, or a 2.4 kernel that is
patched to support NPTL, but not an unmodified „vanilla” 2.4 kernel
such as Slackware uses) to provide improved performance for threads.
This difference can be quite dramatic in some situations. For example,
a benchmark test mentioned on Wikipedia started 100,000 threads
simultaneously in about 2 seconds on a system using NPTL. The same
test using the old Linuxthreads glibc thread support took around 15
minutes to run! For most applications that do not start large numbers
of threads the difference will not be so large, but for high traffic
servers, databases, or anything that runs large numbers of threads,
NPTL should bring big improvements in scalability and performance.
For compatibility, the regular (linuxthreads) libraries are installed
in /lib, and the new NPTL versions are installed in /lib/tls. Which
versions are used depends on the kernel you’re using. If it’s newer
than 2.6.4, then the NPTL libraries in /lib/tls will be used. TLS
stands for „thread-local storage”, and the directory name /lib/tls is
a little bit misleading since now both the linuxthreads and NPTL
versions of glibc are compiled with TLS support included (this is
needed to produce versions of tools such as ldconfig that can run under
either kind of system).Getting all the kinks out of the build script to be able to get this to
work with either 2.4 or 2.6 kernels and be able to switch back and forth
without issues was quite a challenge, to say the least, and would have
been much harder without all the good advice and help folks sent in to
help me along and give me important hints. A special thanks goes to
Chad Corkrum for sending in some ./configure options that really helped
get the ball rolling here.Here’s some information about compiling things using these libraries —
by default, if you compile something the headers and shared libraries
used to compile and link the binary will be the linuxthreads versions,
but when you go to run the binary it will link to the NPTL library
versions (and you’ll get the NPTL speed improvements) if you are running
an NPTL capable kernel. In rare cases you may find that an old binary
doesn’t work right when run against the NPTL libs, and in this case you
can force it to run against the linuxthreads versions by setting the
LD_ASSUME_KERNEL variable to assume the use of a 2.4.x (non-NPTL) kernel
so that NPTL will not be used. An easy way to see the effect of this is
to try something like the following while using an NPTL enabled kernel:
volkerdi@tree:~$ ldd /bin/bash
linux-gate.so.1 => (0xffffe000)
libtermcap.so.2 => /lib/libtermcap.so.2 (0xb7fcf000)
libdl.so.2 => /lib/tls/libdl.so.2 (0xb7fcb000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7eaf000)
/lib/ld-linux.so.2 (0xb7feb000)Note that in the example above, the binary is running against the NPTL
libraries in /lib/tls. Now, let’s try setting LD_ASSUME_KERNEL:volkerdi@tree:~$ LD_ASSUME_KERNEL=2.4.30 ldd /bin/bash
linux-gate.so.1 => (0xffffe000)
libtermcap.so.2 => /lib/libtermcap.so.2 (0xb7fcf000)
libdl.so.2 => /lib/libdl.so.2 (0xb7fcb000)
libc.so.6 => /lib/libc.so.6 (0xb7eb2000)
/lib/ld-linux.so.2 (0xb7feb000)As you can see, now the binary is running against the linuxthreads
version of glibc in /lib. If you find old things that won’t work with
NPTL (which should be rare), this is the method you’ll want to use to
work around it.Now for a little note about compiling things. In most cases it will be
just fine to compile against linuxthreads and run against NPTL, and this
approach will produce the most flexible binaries (ones that will run
against either linuxthreads or NPTL.) However, in some cases you might
want to use some of the new functions that are only available in NPTL,
and to do that you’ll need to use the NPTL versions of pthread.h and
other headers that are different and link against the NPTL versions of
the glibc libraries. To do this you’ll need to add these compile flags
to your build in an appropriate spot:-I/usr/include/nptl -L/usr/lib/nptl
(and link with -lpthread, of course)Have fun, and report any problems to volkerdi@slackware.com.
a/glibc-solibs-2.3.5-i486-1.tgz: Upgraded to glibc-2.3.5 shared libs.
a/glibc-zoneinfo-2.3.5-noarch-1.tgz: Upgraded to time zone files from
glibc-2.3.5.
l/glibc-2.3.5-i486-1.tgz: Upgraded to glibc-2.3.5.
l/glibc-i18n-2.3.5-noarch-1.tgz: Upgraded to glibc-2.3.5 i18n files.
l/glibc-profile-2.3.5-i486-1.tgz: Upgraded to glibc-2.3.5 profile libs.
xap/gaim-1.3.0-i486-1.tgz: Upgraded to gaim-1.3.0. This fixes a few
bugs which could be used by a remote attacker to annoy a GAIM user by
crashing GAIM and creating a denial of service.
(* Security fix *)
extra/linux-wlan-ng/linux-wlan-ng-0.2.1pre25_2.6.11.9-i486-1.tgz:
Recompiled linux-wlan-ng-0.2.1pre25 for Linux 2.6.11.9.
testing/packages/linux-2.6.11.9/alsa-driver-1.0.8_2.6.11.9-i486-1.tgz:
Recompiled for Linux 2.6.11.9.
testing/packages/linux-2.6.11.9/kernel-generic-2.6.11.9-i486-1.tgz:
Upgraded to Linux 2.6.11.9. Note that as far as these so-called
„sucker” kernels go, I won’t be intending to follow every one that’s
released, but I figure I might as well upgrade _occasionallly_, as
there’s no reason to be testing for bugs that are already well-known.
Anyway, I guess my point here is that when 2.6.11.10 comes out (if it’s
not out already ;-), I won’t need everyone to be sending me email saying
„new kernel! new kernel!”. If, on the other hand, you are personally
affected by a kernel bug that’s fixed by a new kernel in this series
feel free to let me know about it. Thanks! 🙂
testing/packages/linux-2.6.11.9/kernel-headers-2.6.11.9-i386-1.tgz:
Upgraded to kernel headers from Linux 2.6.11.9.
testing/packages/linux-2.6.11.9/kernel-modules-2.6.11.9-i486-1.tgz:
Upgraded to kernel modules for Linux 2.6.11.9.
testing/packages/linux-2.6.11.9/kernel-source-2.6.11.9-noarch-1.tgz:
Upgraded to kernel source for Linux 2.6.11.9.2005-05-14-09:35 #2001592Paca, elõre is kösz az infókat! Lehet, hogy én vagyok maki, de eszembe se jutott eddig, hogy megnézzem, van-e slackware-nek magyar oldala. 🙂
2005-05-14-12:26 #2001593Na most annyi még, hogy lehet, hogy én nem fogalmaztam jól, de nem csak megnéztem, át is írtam az fstab-ot, de továbbra se megy a mount user-ként.
2005-05-14-15:14 #2001594Nem látok tisztán, ezért megpróbálok kellõ részletességgel írni.
Van ugyebár nekem egy
Code:balev@slack:~$uname -a
Linux slack 2.4.29 #8 Thu Jan 20 16:36:28 PST 2005 i686 unknown unknown GNU/Linux
balev@slack:~$verziójú Slackware 10.1-em, telepítéskor a bareacpi.i kernellel a telepítõ cd-rõl. Azért bareacpi.i, mert a sima bare.i-vel nem ment pl. a haltolás.
Ahhoz, hogy a 2.6.10-es kernelt feltegyem, két lehetõségem van:
1. precompiled kernel a slacware ftp szerverérõl, ahol megtalálom a
System.map
bzImage
config
fájlokat egy installpkg kernel-generic-2.6.10-i486-1.tgz fájlban. Ezeket a megfelelõ helyre kell másolni, majd gondolom a modulokat is (installpkg kernel-modules-2.6.10-i486-1.tgz), aztán a mkinitrd script-tel elkészíteni az initrd-t végül beállítani a boot-olást.2. Forrásból telepítek kernelt. Tudom, hogy Paca is pl. az elõzõ verziót preferálja, de ha mégis ezt a verziót szeretném (vagy vagyok kénytelen) választani akkor a kernel-source-2.6.10-noarch-1.tgz fájl-ra van szükségem, igaz? Ez lenne elvileg a teljes forrás.
2005-05-15-08:10 #2001595miért nem töltesz le egy kernelt a kernel.org-rõl aztán fordítod azt, nem csomagokkal variálsz???
Csináltam egy leírás a kernel fordításról a klubunk lapján…olvass bele…
Ebben az esetben a /usr/src-be csomizod ki a linux-2.6.valahányas kernelt és kövesd a leírás útmutatását -
SzerzőBejegyzés
- Be kell jelentkezni a hozzászóláshoz.
legutóbbi hsz