Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Odinstalowywanie łatek w kernelu
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
kadu
Apprentice
Apprentice


Joined: 09 Oct 2005
Posts: 267

PostPosted: Tue Nov 01, 2005 8:23 am    Post subject: Odinstalowywanie łatek w kernelu Reply with quote

Czy patcha z vesafb mozna jakos odinstalowac?? Jesli tak to jak??
Back to top
View user's profile Send private message
chojny
Apprentice
Apprentice


Joined: 26 Feb 2004
Posts: 166
Location: Poznan Poland

PostPosted: Tue Nov 01, 2005 8:37 am    Post subject: Reply with quote

zainstalowac taki sam kernel tylko ze bez latki? ;)
_________________
Linux Registered User #344460
Back to top
View user's profile Send private message
kadu
Apprentice
Apprentice


Joined: 09 Oct 2005
Posts: 267

PostPosted: Tue Nov 01, 2005 8:49 am    Post subject: Reply with quote

nie ma innej opcji??? Bo nie jestem zbyt chetny do ponownego kompilowania calego kernela
Back to top
View user's profile Send private message
rudyyy
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jul 2005
Posts: 134
Location: /root

PostPosted: Tue Nov 01, 2005 9:01 am    Post subject: Reply with quote

pewnie ze mozna, wchodzisz do katalogu ze zrodlami kernela i wpisujesz
Code:
patch -p1 -R < /sciezka/do/patcha
Back to top
View user's profile Send private message
kadu
Apprentice
Apprentice


Joined: 09 Oct 2005
Posts: 267

PostPosted: Tue Nov 01, 2005 9:16 am    Post subject: Reply with quote

mam pytanie w graphic support mam tylko sterownik vesafb, a nie mam vesafb-tng, pomimo ze zainstalowalem ponownie patch
Back to top
View user's profile Send private message
Crenshaw
Guru
Guru


Joined: 23 Jun 2004
Posts: 474
Location: Poland

PostPosted: Tue Nov 01, 2005 9:23 am    Post subject: Reply with quote

Moze napisz dokladnie co chcesz zrobic, co zrobiles i co nie dziala. Nie kazdy ma szklana kole i certyfikat wrozki... :)
Back to top
View user's profile Send private message
kadu
Apprentice
Apprentice


Joined: 09 Oct 2005
Posts: 267

PostPosted: Tue Nov 01, 2005 10:00 am    Post subject: Reply with quote

Chce zainstalowac fbsplash, ale musze przy tym zaznaczyc obsluge vesafb i inne bajery (zgodnie z faq). Zainstalowalem ze strony spocka patch na vesafb, a w VGA graphic support widze tylko sterownik vesafb (vesafb-tng nie ma). No to sobie sproboalem jadro skomplilowac i dostalem blad :evil:
Code:
drivers/video/console/fbcon.c: In function `fbcon_switch':
drivers/video/console/fbcon.c:1986: error: `old_info' undeclared (first use in this function)
drivers/video/console/fbcon.c:1986: error: (Each undeclared identifier is reported only once
drivers/video/console/fbcon.c:1986: error: for each function it appears in.)
make[3]: *** [drivers/video/console/fbcon.o] Error 1
make[2]: *** [drivers/video/console] Error 2
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2

Moj kernel to 2.6.12-r10
Back to top
View user's profile Send private message
martin.k
Guru
Guru


Joined: 28 Nov 2004
Posts: 493
Location: Wylatowo, Polska

PostPosted: Tue Nov 01, 2005 10:16 am    Post subject: łatki Reply with quote

Najpierw sprawdź, czy masz właściwa łatkę dla swojego jądra i czy po nałożeniu nie będzie rejectów:
Code:
patch -p1 --dry-run < łatka

Po tej komendzie łatka zostanie zaaplikowana na sucho, czyli bez zmian plików. Jeśli nie będziesz miał
rejectów to puść komendę już bez --dry-run i powinno być O.K.
Co do nakładania patchy, jeśli nie jesteś już pewien co ci się dobrze zaaplikowało, a co nie, to najlepiej zacząć od nowa: rozpakuj źródła i ponakładaj łatki, potem przekompiluj jądro.
_________________
linux-2.6.17 +ck +R4 +lockless +genetic-as +... więcej nie pamiętam :)
LRU #299256
Back to top
View user's profile Send private message
kadu
Apprentice
Apprentice


Joined: 09 Oct 2005
Posts: 267

PostPosted: Tue Nov 01, 2005 10:30 am    Post subject: Reply with quote

Wydalem to polecenie i dostalem
Code:
patch -p1 --dry-run < /home/leshek/vesafb-tng-1.0-rc1-r2-2.6.14.patch
patching file Documentation/fb/vesafb.txt
Reversed (or previously applied) patch detected!  Assume -R? [n] y
Hunk #5 FAILED at 84.
1 out of 5 hunks FAILED -- saving rejects to file Documentation/fb/vesafb.txt.rej
patching file arch/i386/boot/video.S
Reversed (or previously applied) patch detected!  Assume -R? [n] y
Hunk #1 succeeded at 169 (offset 4 lines).
Hunk #2 succeeded at 205 (offset 4 lines).
Hunk #6 succeeded at 671 (offset 66 lines).
patching file drivers/video/Kconfig
Reversed (or previously applied) patch detected!  Assume -R? [n] y
Hunk #1 succeeded at 477 (offset -16 lines).
Hunk #2 succeeded at 489 (offset -16 lines).
patching file drivers/video/Makefile
Hunk #1 FAILED at 97.
1 out of 1 hunk FAILED -- saving rejects to file drivers/video/Makefile.rej
patching file drivers/video/console/fbcon.c
Reversed (or previously applied) patch detected!  Assume -R? [n] y
Hunk #1 succeeded at 2792 (offset 34 lines).
patching file drivers/video/fbmem.c
Reversed (or previously applied) patch detected!  Assume -R? [n] y
Hunk #1 succeeded at 1205 (offset 43 lines).
patching file drivers/video/modedb.c
Reversed (or previously applied) patch detected!  Assume -R? [n] y
Hunk #1 succeeded at 600 (offset -63 lines).
Hunk #2 succeeded at 724 (offset -63 lines).
The next patch would create the file drivers/video/vesafb-thread.c,
which already exists!  Assume -R? [n] y
patching file drivers/video/vesafb-thread.c
Hunk #1 FAILED at 1.
File drivers/video/vesafb-thread.c is not empty after patch, as expected
1 out of 1 hunk FAILED -- saving rejects to file drivers/video/vesafb-thread.c.rej
The next patch would create the file drivers/video/vesafb-tng.c,
which already exists!  Assume -R? [n] y
patching file drivers/video/vesafb-tng.c
Hunk #1 FAILED at 1.
File drivers/video/vesafb-tng.c is not empty after patch, as expected
1 out of 1 hunk FAILED -- saving rejects to file drivers/video/vesafb-tng.c.rej
patching file include/linux/fb.h
Hunk #1 succeeded at 901 (offset 3 lines).
patching file include/linux/sched.h
Reversed (or previously applied) patch detected!  Assume -R? [n] y
Hunk #1 succeeded at 1014 (offset -72 lines).
The next patch would create the file include/video/vesa.h,
which already exists!  Assume -R? [n] y
patching file include/video/vesa.h
patching file kernel/fork.c
Reversed (or previously applied) patch detected!  Assume -R? [n] y
Hunk #1 succeeded at 94 (offset -1 lines).
Hunk #2 succeeded at 379 (offset -7 lines).
patching file mm/memory.c
Reversed (or previously applied) patch detected!  Assume -R? [n] y
patching file mm/mmap.c
Reversed (or previously applied) patch detected!  Assume -R? [n] y
Hunk #1 succeeded at 1968 (offset -31 lines).
Back to top
View user's profile Send private message
kadu
Apprentice
Apprentice


Joined: 09 Oct 2005
Posts: 267

PostPosted: Tue Nov 01, 2005 1:15 pm    Post subject: Reply with quote

i co to sa te rejecty??
_________________
:*
Back to top
View user's profile Send private message
BeteNoire
Veteran
Veteran


Joined: 25 Sep 2005
Posts: 1827

PostPosted: Tue Nov 01, 2005 1:38 pm    Post subject: Reply with quote

rudyyy wrote:
pewnie ze mozna, wchodzisz do katalogu ze zrodlami kernela i wpisujesz
Code:
patch -p1 -R < /sciezka/do/patcha

Dobry tekst :D Niby, że z skompilowanego kernela można usunąć patch?
Back to top
View user's profile Send private message
kadu
Apprentice
Apprentice


Joined: 09 Oct 2005
Posts: 267

PostPosted: Tue Nov 01, 2005 1:47 pm    Post subject: Reply with quote

Chyba mozna usunac ale bez kernela z wkompilowana obsluga vesafb.
_________________
:*
Back to top
View user's profile Send private message
rudyyy
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jul 2005
Posts: 134
Location: /root

PostPosted: Tue Nov 01, 2005 2:50 pm    Post subject: Reply with quote

BeteNoire wrote:
rudyyy wrote:
pewnie ze mozna, wchodzisz do katalogu ze zrodlami kernela i wpisujesz
Code:
patch -p1 -R < /sciezka/do/patcha

Dobry tekst :D Niby, że z skompilowanego kernela można usunąć patch?


a kto powiedzial ze to ze skompilowanego kernela?
Back to top
View user's profile Send private message
BeteNoire
Veteran
Veteran


Joined: 25 Sep 2005
Posts: 1827

PostPosted: Tue Nov 01, 2005 2:54 pm    Post subject: Reply with quote

kadu wrote:
nie jestem zbyt chetny do ponownego kompilowania calego kernela
Back to top
View user's profile Send private message
argasek
Bodhisattva
Bodhisattva


Joined: 06 May 2004
Posts: 1121
Location: Sol [0,0], Poland, Kraków

PostPosted: Tue Nov 01, 2005 6:00 pm    Post subject: Reply with quote

kadu wrote:
i co to sa te rejecty??



Reject, http://www.ling.pl/, http://www.dictionary.com, ...

Polecam man patch, to nie jest jakaś ezoteryczna wiedza, do której nie można się dokopać...

W skrócie: w przypadku działania programu patch "reject" to odrzucona linijka kodu / blok, zwykle z powodu nakładnia patcha na zły plik źródła (lub odwrotnie ;) ), co powoduje, że źródło nie jest łatane w całości. Konsekwencje mogą być od żadnych po całkowite niedziałanie.
_________________
RLU #137109 | http://soundcloud.com/argasek
Back to top
View user's profile Send private message
Poe
Bodhisattva
Bodhisattva


Joined: 03 Apr 2004
Posts: 2155
Location: Mysłowice/Lublin, Poland

PostPosted: Tue Nov 01, 2005 6:17 pm    Post subject: Reply with quote

rejecty czesto recznie sie poprawia. bo wystarczy inny komentarz (bo patch jest np. do 2.6.0 a naladasz na wyzsza), troszke inny kod i juz wypluwa rejecta. czasami warto sie pobawic przy odrobinie cierpliowoci i czasu :)
_________________
Hardware:HP Pavilion DV6875SE[C2DT5550@1.83GHz_3GB-DDR2_320GB-SATA_GF8400GS]
http://popularcoffee.blogspot.com - Popkulturowa Kawa
RLU#342333
Back to top
View user's profile Send private message
kadu
Apprentice
Apprentice


Joined: 09 Oct 2005
Posts: 267

PostPosted: Tue Nov 01, 2005 7:53 pm    Post subject: Reply with quote

Odechcialo juz mi sie instalowac tego fbs. Nie chce mi sie odinstalowywac jadra i potem sie meczyc z dodawaniem wszystkich modulow od nowa :( Life is brutal :evil:
_________________
:*
Back to top
View user's profile Send private message
argasek
Bodhisattva
Bodhisattva


Joined: 06 May 2004
Posts: 1121
Location: Sol [0,0], Poland, Kraków

PostPosted: Tue Nov 01, 2005 7:59 pm    Post subject: Reply with quote

kadu wrote:
Linux leshek 2.6.12-gentoo-r10 #3


:lol:
_________________
RLU #137109 | http://soundcloud.com/argasek
Back to top
View user's profile Send private message
pwe
Guru
Guru


Joined: 12 Mar 2005
Posts: 445
Location: Polska aka Poland

PostPosted: Tue Nov 01, 2005 8:02 pm    Post subject: Reply with quote

argasek wrote:
kadu wrote:
Linux leshek 2.6.12-gentoo-r10 #3


:lol:


hehe dobre argasek dobre!! stary dobry przyjaciel :wink:
_________________
there is no empty MHz :)
Back to top
View user's profile Send private message
kadu
Apprentice
Apprentice


Joined: 09 Oct 2005
Posts: 267

PostPosted: Tue Nov 01, 2005 8:17 pm    Post subject: Reply with quote

A no owszem :twisted: Zapodaliscie mi bana na mail, dlatego teraz staram sie juz nie zasmiecac forum.
_________________
:*
Back to top
View user's profile Send private message
BeteNoire
Veteran
Veteran


Joined: 25 Sep 2005
Posts: 1827

PostPosted: Tue Nov 01, 2005 8:36 pm    Post subject: Reply with quote

kadu wrote:
Odechcialo juz mi sie instalowac tego fbs. Nie chce mi sie odinstalowywac jadra i potem sie meczyc z dodawaniem wszystkich modulow od nowa :( Life is brutal :evil:

Przecież możesz ten sam konfig wrzucić do nowo rozpakowanych źródeł...
Back to top
View user's profile Send private message
kadu
Apprentice
Apprentice


Joined: 09 Oct 2005
Posts: 267

PostPosted: Tue Nov 01, 2005 9:30 pm    Post subject: Reply with quote

Czyli wywale sobie kernela i zostawie config, rozpakuje tego samego kernela z powrotem i bede mial zachowane wszystkie ustawienia, ktore mialem dotychczas??
_________________
:*
Back to top
View user's profile Send private message
pwe
Guru
Guru


Joined: 12 Mar 2005
Posts: 445
Location: Polska aka Poland

PostPosted: Tue Nov 01, 2005 9:37 pm    Post subject: Reply with quote

tak, wszystkie zmiany sa w pliku .config -> przegrasz i masz na zawsze
_________________
there is no empty MHz :)
Back to top
View user's profile Send private message
kadu
Apprentice
Apprentice


Joined: 09 Oct 2005
Posts: 267

PostPosted: Tue Nov 01, 2005 9:39 pm    Post subject: Reply with quote

Czy jest moze jakis alternatywny sterownik dla vesafb i vesafb-tng, ktory by umozliwial korzystalnie z fbsplash
??
_________________
:*
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum