Skocz do zawartości

Prelink I Naruszenie Ochrony Pamiecie


blaszki

Rekomendowane odpowiedzi

Tytułem wstępu:

 

Po dzisiejszej próbie yum update

[root@robert ~]# yum update
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package tar.x86_64 2:1.15.1-27.fc7 set to be updated
---> Package qt.i386 1:3.3.8-6.fc7 set to be updated
---> Package libpurple.x86_64 0:2.1.1-1.fc7 set to be updated
---> Package cryptsetup-luks.x86_64 0:1.0.5-4.fc7.1 set to be updated
---> Package autofs.x86_64 1:5.0.1-26 set to be updated
---> Package perl-Net-DNS.x86_64 0:0.61-1.fc7 set to be updated
---> Package cryptsetup-luks.i386 0:1.0.5-4.fc7.1 set to be updated
---> Package crontabs.noarch 0:1.10-15.fc7 set to be updated
---> Package control-center.x86_64 1:2.18.0-20.fc7 set to be updated
---> Package qt-devel.x86_64 1:3.3.8-6.fc7 set to be updated
---> Package kde-filesystem.noarch 0:3.5-13.fc7 set to be updated
---> Package qt.x86_64 1:3.3.8-6.fc7 set to be updated
---> Package gdm.x86_64 1:2.18.4-2.fc7 set to be updated
---> Package ntp.x86_64 0:4.2.4p2-3.fc7 set to be updated
---> Package control-center.i386 1:2.18.0-20.fc7 set to be updated
---> Package pidgin.x86_64 0:2.1.1-1.fc7 set to be updated
---> Package dcraw.x86_64 0:8.77-1.fc7 set to be updated

Dependencies Resolved

=============================================================================
Package                 Arch       Version          Repository        Size 
=============================================================================
Updating:
autofs                  x86_64     1:5.0.1-26       updates           863 k
control-center          x86_64     1:2.18.0-20.fc7  updates           2.8 M
control-center          i386       1:2.18.0-20.fc7  updates           2.8 M
crontabs                noarch     1.10-15.fc7      updates           6.7 k
cryptsetup-luks         x86_64     1.0.5-4.fc7.1    updates           631 k
cryptsetup-luks         i386       1.0.5-4.fc7.1    updates           638 k
dcraw                   x86_64     8.77-1.fc7       updates           176 k
gdm                     x86_64     1:2.18.4-2.fc7   updates           4.3 M
kde-filesystem          noarch     3.5-13.fc7       updates            15 k
libpurple               x86_64     2.1.1-1.fc7      updates           6.6 M
ntp                     x86_64     4.2.4p2-3.fc7    updates           1.4 M
perl-Net-DNS            x86_64     0.61-1.fc7       updates           237 k
pidgin                  x86_64     2.1.1-1.fc7      updates           1.1 M
qt                      i386       1:3.3.8-6.fc7    updates           3.5 M
qt                      x86_64     1:3.3.8-6.fc7    updates           3.6 M
qt-devel                x86_64     1:3.3.8-6.fc7    updates            11 M
tar                     x86_64     2:1.15.1-27.fc7  updates           743 k

Transaction Summary
=============================================================================
Install      0 Package(s)         
Update      17 Package(s)         
Remove       0 Package(s)         

Total download size: 40 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
--> Populating transaction set with selected packages. Please wait.
---> Package tar.x86_64 2:1.15.1-27.fc7 set to be updated
---> Package qt.i386 1:3.3.8-6.fc7 set to be updated
---> Package libpurple.x86_64 0:2.1.1-1.fc7 set to be updated
---> Package cryptsetup-luks.x86_64 0:1.0.5-4.fc7.1 set to be updated
---> Package autofs.x86_64 1:5.0.1-26 set to be updated
---> Package perl-Net-DNS.x86_64 0:0.61-1.fc7 set to be updated
---> Package cryptsetup-luks.i386 0:1.0.5-4.fc7.1 set to be updated
---> Package crontabs.noarch 0:1.10-15.fc7 set to be updated
---> Package control-center.x86_64 1:2.18.0-20.fc7 set to be updated
---> Package qt-devel.x86_64 1:3.3.8-6.fc7 set to be updated
---> Package kde-filesystem.noarch 0:3.5-13.fc7 set to be updated
---> Package qt.x86_64 1:3.3.8-6.fc7 set to be updated
---> Package gdm.x86_64 1:2.18.4-2.fc7 set to be updated
---> Package ntp.x86_64 0:4.2.4p2-3.fc7 set to be updated
---> Package control-center.i386 1:2.18.0-20.fc7 set to be updated
---> Package pidgin.x86_64 0:2.1.1-1.fc7 set to be updated
---> Package dcraw.x86_64 0:8.77-1.fc7 set to be updated
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
 Updating  : qt                           ####################### [ 1/34] 
Naruszenie ochrony pamięci

 

zgodnie z tym wątkiem http://forum.fedora.pl/index.php?showtopic...3%8B%EF%BF%BDci

[robert@robert ~]$ su -
Hasło: 
[root@robert ~]# rpm -q kernel
kernel-2.6.22.1-41.fc7
kernel-2.6.22.4-65.fc7
[root@robert ~]# rpm -q prelink
prelink-0.3.10-1
[root@robert ~]# touch /var/lib/misc/prelink.force && /etc/cron.daily/prelink
[root@robert ~]# ls /var/lib/misc/
prelink.full  prelink.quick

niestety nie ma pliku prelink.force (nie jestem pewien czy powinien taki się pojawić ponieważ powyższy watek opisywał FC6 ). Dodam, że próbowałem także yum clean all, nie pomogło i nadal mam błędy z naruszeniem pamięci. I nie jest to problem qt ponieważ próba pojedynczej aktualizacji jakiegokolwiek pakietu kończy się podobnie.

Odnośnik do komentarza
Udostępnij na innych stronach

[robert@robert ~]$ su -
Hasło: 
[root@robert ~]# yum clean all
Cleaning up Everything
[root@robert ~]# rpm --rebuilddb
Naruszenie ochrony pamięci

 

Ogólnie tylko yum clean all nie wyrzuca komunikatu o naruszeniu i to tylko dopóki wcześniej taki komunikat nie pojawił się (tzn. po odpaleniu kompa dopóki nie wywołam operacji, która wywali komunikat o naruszeniu wówczas nawet yum clean all się wysypuje).

Co do prelink:

[robert@robert ~]$ su -
Hasło: 
[root@robert ~]# prelink -a
prelink: /usr/libexec/nx/nxdesktop: Could not find one of the dependencies
prelink: /usr/libexec/nx/nxviewer: Could not find one of the dependencies
prelink: /usr/libexec/nx/nxproxy: Could not find one of the dependencies
prelink: /usr/libexec/nx/nxagent: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/b2f: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/xfsm: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/vasy: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/graal: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/ocp: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/k2f: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/pat2spi: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/mips_asm: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/asimut: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/sxlib2lef: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/flatbeh: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/x2vy: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/proof: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/l2p: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/nero: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/fmi: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/flatph: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/moka: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/ring: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/alcbanner: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/cougar: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/lvx: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/fsp: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/a2def: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/xsch: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/flatlo: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/druc: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/xvpn: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/loon: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/pdv: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/boog: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/s2r: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/def2a: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/boom: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/x2y: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/flatrds: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/dreal: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/xpat: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/scapin: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/syf: Could not find one of the dependencies
prelink: /usr/lib/alliance/bin/m2e: Could not find one of the dependencies
prelink: /usr/lib/debug/usr/bin/qtpfsgui.debug: PT_INTERP segment not corresponding to .interp section
prelink: /usr/lib64/esc-1.0.1/xulrunner/xulrunner-bin: Could not find one of the dependencies
prelink: /usr/bin/emacs-22.1: COPY relocations don't point into .bss or .sbss section
prelink: /usr/lib64/maxima/5.12.0/binary-gcl/maxima: COPY relocations don't point into .bss or .sbss section
prelink: /sbin/fxload: Not enough room to add .dynamic entry
prelink: /usr/lib/opera/9.22-20070716.1/opera: Not enough room to add .dynamic entry
prelink: /usr/lib/opera/9.22-20070716.1/works: Not enough room to add .dynamic entry
prelink: /usr/lib/opera/plugins/operaplugincleaner: Not enough room to add .dynamic entry
prelink: /usr/lib/opera/plugins/operapluginwrapper: Not enough room to add .dynamic entry

więc chyba to prelink. Okazało się że nie tylko yum narusza ochronę pamięci ale także parę innych programów t.j gedit, firefox.

Odnośnik do komentarza
Udostępnij na innych stronach

Mam zbyt mało czasu i muszę pracować nad pewnym innym problem i dlatego zrobiłem coś w stylu "błyskawiczna naprawa Windowsa". Przeinstalowałem cały system i na razie jest w porządku (doszedłem do takiego samego wniosku jak neo_fox w podanym przez was linku). Podsumuje tylko do czego doszedłem:

1. Tylko livecd fedory odpalił się na moim sprzęcie, i tutaj utknąłem ponieważ nie mogłem pod montować dysku i zrobić fsck. (nie szukałem za dużo dlaczego tak może być , później mi się przypomniało, że jak instalowałem F7 to dałem "zrób domyślny podział dysku" =LVM). (sprawdzałem jeszcze na knoppixie, gentoo, i jeszcze jakimś <nie pamietam nazwy> aden się nie odpalił)

2. ps -e nie pokazywał nic takiego

3. Jak usunąłem pakiety, przez które wysypywały się linker to liczba błedów zmiejszyła się (chociaż nie wszystko udało mi się usunąć) ,błąd ochrony nadal pozostał.

4. Jak już postanowiłem zainstalować ponownie system to zauważałem opcje "napraw instniejacy system"<czy jakoś tak>. Wysypał się z komunikatem coś o bash, wówczas przypomniało mi się że niedawno instalowałem coś do JTAG Xilinxa i tam było jakieś kombinowanie (INSTALL.txt) z powłokami więc być może to się to posypało.

pozdrawiam

 

ps. Co było łatwe do przewidzenia problem pojawił się ponownie. Rozwiązywanie problemów metoda "znajdź przyczynę"->usuń problem->"ciesz się sprawnym OS" jest dużo skuteczniejsze niż prosty i stosunkowo mniej czasochłonny "zainstaluj ponownie OS a może problem sam zniknie". Podejrzane w tym wszystkim było to ,iż system pracował na początku dobrze, natomiast po zainstalowaniu wszystkich programów coś się zaczęło sypać. Dziwne również było to, że czasami wszystko było ok czasami sypało się. Poszedłem waszym tropem, iż to może wina sprzętu i zapuściłem memtest. Okazało się, że druga pamięć (mam 2x512) sypała jakimiś błędami w okolicach 180MB. Prawdopodobnie po odpaleniu systemu wadliwy obszar nie był wykorzystywany a yum update zużywa sporo pamięci i pewnie już używał tych wadliwych.

ps.2. rozwiązałem także problem z livecd. Posiadam płyty Intela DQ965 i należy w niej ustawić tryb dysku->AHCI oraz odpalać z parametrem linux all-generic-ide.

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...