PDA

View Full Version : Compilazione Kernel (alcuni dubbi)


NLDoMy
22-03-2005, 16:16
Mepis 3.3

- Volevo passare dal 2.6.10 al 2.6.11 (ovviamente per alcuni fix, tra i quali il surround nel volume).
- Allora dato che sono alle prime armi, volevo mantenere anche il vecchio kernel, per probabili kernel panic.
- Avevo un vecchio howto che spiegava anche come mantenere la versione precedente del kernel, ma nn lo trovo più :/

1) niubbo come sono nn ho ancora capito se devo scaricare e compilare da kernel-source oppure basta che scarico il pakketto kernel-image dal sito dei kernel?

2) volevo sapere il perchè del collegamento ln -s /usr/src/linux, perchè devo creare quel file linux? a cosa serve? (sempre se nn ho sbagliato la stringa)

3) ho letto di copiare la configurazione del vecchio kernel nella cartella di quello nuovo, però mi hanno detto di fare un "make oldconfig" (nn lo avevo mai visto nei passaggi della compilazione kernel) è giusto questo passaggio? Seguendo il "Compilare il Kernel secondo la Debian Way", quando dovrei (sempre se giusto) scrivere quel comando, appena configurato il kernel?

4) se qualcuno di voi ha un howto dove spiega come mantenere anche il vecchio kernel, o mi potrebbe elencare i passaggi (mi pare si trattasse solo di rinominare il vile vmlinux) per fare in modo di mantenere anche quello vecchio.

5) elenco dei pakketti per la compilazione l'ho trovato isi, ma volevo sapere se devo scaricare i kernel headers o mi basta scaricare il kernel dal sito.

ringrazio

PiloZ
22-03-2005, 17:39
ci provo :) visto e considerando che se non erro Mepis è Debian based :D

Originariamente inviato da NLDoMy
1) niubbo come sono nn ho ancora capito se devo scaricare e compilare da kernel-source oppure basta che scarico il pakketto kernel-image dal sito dei kernel?

consiglio di far così:
apt-get install make gcc kernel-package libncurses5-dev module-init-tools
in pratica dopo aver dato quel comando ti sei assicurato di avere installato sul sistema tutto l'occorrente.
quanto a kernel-source o kernel-image ti consiglio di scaricarti i sorgenti ufficiali dal sito base http://www.kernel.org

Originariamente inviato da NLDoMy
2) volevo sapere il perchè del collegamento ln -s /usr/src/linux, perchè devo creare quel file linux? a cosa serve? (sempre se nn ho sbagliato la stringa)

non è un file vero e proprio linux, è solo un collegamento simbolico. Ogni qual volta tu devi compilare i sorgenti bisogna per convenzione far puntare linux alla cartella con i sorgenti veri e propri.
Perchè?...beh... per esempio se dentro i sorgenti ci sono dei richiami verso la cartella dei sorgenti stessi si usa /usr/src/linux in modo standard in modo da garantire la funzionalità, se invece non esisteva il link simbolico linux si può sapere anticipatamente come te chiami la cartella vera dei sorgenti?...in questo caso il link linux sei libero di chiamarlo come vuoi, linux-2.6.x.x, 2.6.x.x, source-2.6.x.x che non avrai nessun problema.
Soprattutto quando devi compilare un qualsiasi programma che richieda i sorgenti del kernel, non possono sapere che kernel usi e come chiami la cartella dei sorgenti, scriveranno il programma affinchè arrivi ai sorgenti tramite il percorso standard /usr/src/linux devi essere te a garantire la giusta direzione di linux verso i sorgenti.
Spero ti sia più chiaro ora :D

Originariamente inviato da NLDoMy
3) ho letto di copiare la configurazione del vecchio kernel nella cartella di quello nuovo, però mi hanno detto di fare un "make oldconfig" (nn lo avevo mai visto nei passaggi della compilazione kernel) è giusto questo passaggio? Seguendo il "Compilare il Kernel secondo la Debian Way", quando dovrei (sempre se giusto) scrivere quel comando, appena configurato il kernel?

esatto, appena metti il file di configurazione del precedente kernel dentro i sorgenti nuovi, dai subito make oldconfig al fine di adattare il file della vecchia configurazione a quello nuovo e renderlo funzionale. In tal modo ti si presenteranno solo alcune domande... una diecina più o meno, che sarebbero si e no le implementazioni che nel vecchio kernel non erano presenti e ora ti chiede che farne. Nota che solitamente basta dare sempre INVIO accettando la scelta consigliata.

Originariamente inviato da NLDoMy
4) se qualcuno di voi ha un howto dove spiega come mantenere anche il vecchio kernel, o mi potrebbe elencare i passaggi (mi pare si trattasse solo di rinominare il vile vmlinux) per fare in modo di mantenere anche quello vecchio.

dopo aver scompattato i sorgenti in /usr/src/
ln -sf linux-2.6.x.x linux
cd linux
cp /boot/config-2.6.10 /usr/src/linux/.config
make oldconfig
cp .config ../
make mrproper
mv ../.config .
make-kpkg clean
make-kpkg kernel_image
alla fine otterrai un .deb da installare con il comando "dpkg -i file.deb"
dpkg -i ../kernel-image-2.6.x....Custom_i386.deb
INVIO (l'invio sarà per dare la conferma ed usare l'attuale bootloader indicato)
INVIO (l'invio sarà per lasciare invariata la configurazione del bootloader, visto che te prima l'hai modificato a mano)
ecco che scriverà dopo il secondo INVIO l'mbr...se avrai degli errori postali e non riavviare, altrimenti shutdown -r now e in bocca al lupo :)

Note: i comandi sopra ( cp .config ../ ) e ( mv ../.config . ) che forse ti incasinano e non riesci a capire a cosa servano... semplicemente è un backup del .config prima di dare (make mrproper che serve per pulire i sorgenti) poichè cancella il .config allora prima si copia il file e poi si risposta lo stesso.
nel mentre che dai: make-kpkg kernel_image che ci mette 5 minutini apriti la configurazione del bootloader e edita a manina la configurazione aggiungendo una nuova voce per la nuova configurazione del kernel senza però togliere quella del precedente al fine di ottenere 2 kernel funzionanti e non rischiare casini se qualcosa va storto.

Originariamente inviato da NLDoMy
5) elenco dei pakketti per la compilazione l'ho trovato isi, ma volevo sapere se devo scaricare i kernel headers o mi basta scaricare il kernel dal sito.

gli headers non ti servono... stanno in risposta alla prima domanda tutti i pacchetti neccessari :)

Originariamente inviato da NLDoMy
ringrazio
piacere mio, mi sto annoiando a lavoro :)
ciao :cool:

bonsaka
22-03-2005, 18:29
porgo la stessa domanda, ma per mandrake 10.1 che ha kernel 2.6.8, sempre per passaggio a 2.6.11

come si fa a mantenere le stesse configurazioni?
e come si puo tradurre per mandrake quello che ha detto piloz?

Iron Pablo
22-03-2005, 20:06
Originariamente inviato da bonsaka
e come si puo tradurre per mandrake quello che ha detto piloz?

Installando debian :ahahah: :asd: :fiufiu:

NLDoMy
22-03-2005, 21:00
lol ti ringrazio tantissimo, per il link simbolico "linux" ora me lo rileggo meglio ci ho fatto capo :D gh

ti ringrazio, mi si son chiariti quei dubbietti noiosi del "a che serve?" "perchè?" "perchè, perchè?" :D gh gh gh



lol QUOTE: INSTALLANDO DEBIAN :D gh

ora mi diletto un po' co sta mepis che me gusta davvero mucho, poi aprilozzo hardiskkozzolo nuovo e ci sparo anche ubuntu.. appena scheda video nuova.. addio winzoz! :D


oggi mio cagnolino andato in cielo.. 17 anni suonati... :cry: :cry: :cry:

PiloZ
22-03-2005, 21:35
:)

NLDoMy
22-03-2005, 22:13
spetta spe.. allora:

cd /usr/src - scompatto il file "linux-2.6.11.5.tar.bz2" e ho la dir "linux-2.6.11.5" con tutte le sotto directory.

ma nn ho capito una cosa, allora la directory "linux" nn ce la ho, faccio: ln -sf linux-2.6.10.5 linux e crea il link simbolico, ma poi se faccio "cd linux" nn entra da nessuna parte @_@ sto facendo subito capo all'inzio

cp /boot/config-2.6.10 /usr/src/linux/.config facendo il questo modo nn mi mette il cfg nella cartella del kernel, ho provato a farlo a mano e dare "make oldconfig" funzia, ma poi mi sono fermato perchè nn avevo (e nn ho) chiari passaggi che vengono prima :D

me niubbo me tapino!!! :muro:

--->>> EDIT: ASPEEEE CON "ln -s" e nn "ln -sf" posso fare cd linux!!! miiiiii

altra stupida domandina: nei normali howto è "ln -s" a cosa serve "ln -sf"? ho provato anche a fare ln -help gh gh gh da quando so niubbesco e lameriano

ma il pakketto del kernel-image-2.6.11.5.deb che alla fine "dovrebbe" venire fuori, potrei anche salvarlo già compilato e poi per esempio reinstallare mepis e reinstallarci il pakketto del kernel?

NLDoMy
22-03-2005, 22:34
a parte il post qui sopra, se ci fai caso "PiloZ" leggilo "se ti va :D ", dicevo a parte quello dato che ho un amd xp nn è che ci sta un kernel ottimizzato per questo?

ultima cosa, ma make dep - make bzImage - make modules e make modules_install centrano qualcosa?

PiloZ
22-03-2005, 23:04
Originariamente inviato da NLDoMy
spetta spe.. allora:

cd /usr/src - scompatto il file "linux-2.6.11.5.tar.bz2" e ho la dir "linux-2.6.11.5" con tutte le sotto directory.

ma nn ho capito una cosa, allora la directory "linux" nn ce la ho, faccio: ln -sf linux-2.6.10.5 linux e crea il link simbolico, ma poi se faccio "cd linux" nn entra da nessuna parte @_@ sto facendo subito capo all'inzio

cp /boot/config-2.6.10 /usr/src/linux/.config facendo il questo modo nn mi mette il cfg nella cartella del kernel, ho provato a farlo a mano e dare "make oldconfig" funzia, ma poi mi sono fermato perchè nn avevo (e nn ho) chiari passaggi che vengono prima :D

me niubbo me tapino!!! :muro:

--->>> EDIT: ASPEEEE CON "ln -s" e nn "ln -sf" posso fare cd linux!!! miiiiii

altra stupida domandina: nei normali howto è "ln -s" a cosa serve "ln -sf"? ho provato anche a fare ln -help gh gh gh da quando so niubbesco e lameriano

ma il pakketto del kernel-image-2.6.11.5.deb che alla fine "dovrebbe" venire fuori, potrei anche salvarlo già compilato e poi per esempio reinstallare mepis e reinstallarci il pakketto del kernel?

la "f" in ln -sf serve per forzarne la creazione qualora ne abbia già uno di link chiamato linux.
per leggerti i manuali il comando è sempre:
man comando o in alcuni casi trovi piccole info dando: comano --help, in questo caso con "man ls" trovi:

-f, --force
remove existing destination files


qualora avevi un link linux che puntava a vecchi sorgenti dando:
ln -sf nuovi_sorgenti linux
sei certo che il link si crea, altrimenti ti direbbe che il link linux esiste già...ecco perchè c'è quella f :)


una volta che hai creato il link assicurati che sia corretto dando all'interno di /usr/src/:
ls -al
avrai il listato dei file e delle directory e dovrai avere:
linux-2.6.11.5
linux -> linux-2.6.11.4
sulla sinistra notererai qualcosa simile a:
drwxrwxr-x e lrwxrwxrwx
la "d" iniziale sta per directory mentre la "l" per link.

a quel punto per capire a cosa serve un link devi prendere per scontanto che:
entrare in /usr/src/linux-2.6.11.4 o entrare in /usr/src/linux è la stessa identica cosa
il comando pwd ti mostra il percorso dove stai in quel momento, se hai creato bene il link e dai cd linux non capisco come mai non ti faccia entrare, assicurati che tutti questi comandi li stia facendo logato da root nella shell e non come user, analizza l'output di errore riportato ed eventualmente riportalo quà sul forum perchè altrimenti non riusciremo mai ad aiutarti.

in rif. a:
ma il pakketto del kernel-image-2.6.11.5.deb che alla fine "dovrebbe" venire fuori, potrei anche salvarlo già compilato e poi per esempio reinstallare mepis e reinstallarci il pakketto del kernel?

non dovrebbe ma deve :D se hai fatto tutto bene :p , si esatto puoi installarlo quando più ti garba, anche dopo una reinstallazione comunque non ho mai sentito gente che fa cose del genere perchè ovviamente quando uno inizia a compilare il kernel è perchè vuole arrivare alla fine e vuole il kernel subito e non dopo.

NLDoMy
22-03-2005, 23:08
Ho alcuni output "strani" per me.
Esempio di un file, ma ce ne sono diversi altri:
In file included from drivers/scsi/aha1542.c:43:
include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api"
poi:
drivers/net/tokenring/ibmtr.c:962: warning: passing arg 1 of `readw' makes pointer from integer without a cast
poi:
drivers/pcmcia/i82365.c: In function `is_alive':
drivers/pcmcia/i82365.c:672: warning: `check_region' is deprecated (declared at include/linux/ioport.h:126)
drivers/pcmcia/i82365.c: In function `isa_probe':
drivers/pcmcia/i82365.c:806: warning: `check_region' is deprecated (declared at include/linux/ioport.h:126)
poi: drivers/scsi/NCR5380.c:351: warning: `phases' defined but not used
CC [M] drivers/scsi/t128.o
drivers/scsi/NCR5380.c:351: warning: `phases' defined but not used
CC [M] drivers/scsi/dmx3191d.o
drivers/scsi/NCR5380.c:628: warning: `NCR5380_print_options' defined but not used
drivers/scsi/NCR5380.c:351: warning: `phases' defined but not used
poi:
CC [M] sound/oss/maestro.o
sound/oss/maestro.c: In function `maestro_probe':
sound/oss/maestro.c:3452: warning: `pm_register' is deprecated (declared at include/linux/pm.h:106)
sound/oss/maestro.c: In function `cleanup_maestro':
sound/oss/maestro.c:3672: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:116)

@_@ nn credo sia normale sta roba.. grrr :muro:

PiloZ
22-03-2005, 23:11
Originariamente inviato da NLDoMy
a parte il post qui sopra, se ci fai caso "PiloZ" leggilo "se ti va :D ", dicevo a parte quello dato che ho un amd xp nn è che ci sta un kernel ottimizzato per questo?

ultima cosa, ma make dep - make bzImage - make modules e make modules_install centrano qualcosa?
quì mi preme darti un consiglio:
prima impara come si ricompila un kernel... quando impari i comandi a memoria vai avanti e lo rendi ottimizzato ;) così rischi di comlicarti le cose ulteriormente.
nella configurazione del kernel c'è indicata l'architettura sul quale deve girare, per sapere per lo meno come è configurato in questo momento basta che analizzi il .config così:

cat /usr/src/linux/.config|grep K7
se leggi:
CONFIG_MK7=y
vuol dire che vi è indicato al kernel che hai una cpu AMD Athlon K7

a sua volta dando:
cat /usr/src/linux/.config|grep PENTIUM
dovrai avere:
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set

qualosa avessi Y su un PENTIUM e is not set su MK7 vale il contrario.

CiauZ

PiloZ
22-03-2005, 23:12
fregatene dei warning... sono solo i Fatal che danno problemi :)
warning ne ho sempre qualcuno anche io :)

cosa usi lilo come bootloader?

mi raccomando metti bene /etc/lilo.conf per il nuovo kernel, meglio prima di dare dpkg -i ../kernel-image.....deb

ciauz

PiloZ
22-03-2005, 23:17
minchia come ho descritto bene sul primo post :sofico: :sborone: che drago :fagiano:

NLDoMy
22-03-2005, 23:18
uso grub, per adesso sta compilando il kernel 2.6.11.5 è ancora li da nn so quanto :D cmq ho messo pari pari la stringa nel menu di grub a quella del 2.6.10 e cambiata da così title MEPIS at sda1, kernel 2.6.10
kernel (hd2,0)/boot/vmlinuz-2.6.10 root=/dev/sda1 nomce psmouse.proto=imps quiet splash=verbose vga=791
initrd (hd2,0)/boot/initrd.splash a così title MEPIS at sda1, kernel 2.6.11.5
kernel (hd2,0)/boot/vmlinuz-2.6.11.5 root=/dev/sda1 nomce psmouse.proto=imps quiet splash=verbose vga=791
initrd (hd2,0)/boot/initrd.splash appena installo il pakketto cfg guardo se la riga del vmlinuz sia giusta.

Per l'AMD ATHLON XP ho fatto:

cat /usr/src/linux/.config|grep K7 con questo output:

# CONFIG_MK7 is not set
CONFIG_X86_POWERNOW_K7=m
CONFIG_X86_POWERNOW_K7_ACPI=y

LOL nn mi ha chiesto niente di grub facendo:

dpkg -i kernel-image-2.6.11.5_10.00.Custom_i386.deb
Selezionato il pacchetto kernel-image-2.6.11.5, che non lo era.
(Lettura del database ... 85067 file e directory attualmente installati.)
Spacchetto kernel-image-2.6.11.5 (da kernel-image-2.6.11.5_10.00.Custom_i386.deb) ...
Configuro kernel-image-2.6.11.5 (10.00.Custom) ...
/vmlinuz does not exist. Installing from scratch, eh?
Or maybe you don't want a symbolic link here. Hmm? Lets See.

ma lol!

cmq come da preventivo mi ha creato il suo vmlinuz-2.6.11 che faccio provo il reboot? :D

PiloZ
22-03-2005, 23:23
:eek: se mi dici che è cambiata da così a così vuol dire che hai tolto quella del 2.6.10? :confused:

devi crearne una in più e non togliere quella vecchia.

e prima di riavviare assicurati che in /boot/ ci sia davvero: vmlinuz-2.6.11.5

ciauz

NLDoMy
22-03-2005, 23:24
nonono.. ho mantenuto quella vecchi! nn la ha cacellata perchè credo nn abbia trovato il vmlinuz.

ora ho il vmlinuz-2.6.10 e il vmlinux-2.6.11 :D

reboot?

PiloZ
22-03-2005, 23:27
Originariamente inviato da NLDoMy
nonono.. ho mantenuto quella vecchi! nn la ha cacellata perchè credo nn abbia trovato il vmlinuz.

ora ho il vmlinuz-2.6.10 e il vmlinux-2.6.11 :D

reboot?

non reboot ma shutdown -r now :ciapet:

sappi che al reboot devi reinstallarti la scheda video.
ciauz, il difficile è andato :D

NLDoMy
22-03-2005, 23:28
looool

thx davvero piloz :D gh gh gh bel culetto!

PiloZ
22-03-2005, 23:30
Originariamente inviato da NLDoMy
looool

thx davvero piloz :D gh gh gh bel culetto!
:rotfl: vola con Dio :sperem:

e poi basta con sto grazie, ti mando in pvt il mio c/c abi e cab :O :asd:

mos
22-03-2005, 23:34
mi sto annoiando a lavoro
minchia come ho descritto bene sul primo post :sofico: :sborone: che drago
gran lavoratore, non c'e' che dire :O :asd: http://www.vocinelweb.it/faccine/varie/65.gif http://www.vocinelweb.it/faccine/felici/felici-set1/45.gif

NLDoMy
22-03-2005, 23:34
moaohahoaoh KERNEL PANIC :D scusa son un po' fuso stasera, più del solito.. ora stakko un po', switchato a winzoz per farmi na partitozza a half life 2 deathmatch..

domani sarò via tutta la giornata e la sera nn so in che condizioni sarò.. cmq quale log guardo per postare l'output del kernel panic?


thx thx e ancora thx :D tiè

PiloZ
22-03-2005, 23:36
Originariamente inviato da NLDoMy
KERNEL PANIC :D

:muro: :muro: :muro: LOL :D

ciaoz :ops2:

Janky
26-03-2005, 12:30
cacchio... sarà la quinta volta ma non riesco a togliere sto errore...


drivers/char/drm/gamma_context.h:193: error: structure has no member named `next _buffer'
drivers/char/drm/gamma_context.h:193: error: structure has no member named `next _buffer'
drivers/char/drm/gamma_context.h:194: error: `lock_free' undeclared (first use i n this function)
drivers/char/drm/gamma_context.h:195: error: called object is not a function
drivers/char/drm/gamma_context.h: At top level:
drivers/char/drm/gamma_context.h:207: error: `DRM' declared as function returnin g a function
drivers/char/drm/gamma_context.h:207: warning: function declaration isn't a prot otype
drivers/char/drm/gamma_context.h:207: error: redefinition of `DRM'
drivers/char/drm/gamma_context.h:183: error: `DRM' previously defined here
drivers/char/drm/gamma_context.h:207: warning: `DRM' was declared `extern' and l ater `static'
drivers/char/drm/gamma_context.h: In function `DRM':
drivers/char/drm/gamma_context.h:210: error: `q' undeclared (first use in this f unction)
drivers/char/drm/gamma_context.h:231: error: `ctx' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:233: error: `waitlist_create' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:233: error: `dev' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:233: error: called object is not a function
drivers/char/drm/gamma_context.h: At top level:
drivers/char/drm/gamma_context.h:249: error: `DRM' declared as function returnin g a function
drivers/char/drm/gamma_context.h:249: warning: function declaration isn't a prot otype
drivers/char/drm/gamma_context.h:249: error: redefinition of `DRM'
drivers/char/drm/gamma_context.h:207: error: `DRM' previously defined here
drivers/char/drm/gamma_context.h:249: warning: `DRM' was declared `extern' and l ater `static'
drivers/char/drm/gamma_context.h: In function `DRM':
drivers/char/drm/gamma_context.h:255: error: `dev' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:267: error: `alloc' undeclared (first use in th is function)
drivers/char/drm/gamma_context.h:267: error: called object is not a function
drivers/char/drm/gamma_context.h:278: error: `realloc' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:281: error: called object is not a function
drivers/char/drm/gamma_context.h: At top level:
drivers/char/drm/gamma_context.h:297: error: `DRM' declared as function returnin g a function
drivers/char/drm/gamma_context.h:297: warning: function declaration isn't a prot otype
drivers/char/drm/gamma_context.h:297: error: redefinition of `DRM'
drivers/char/drm/gamma_context.h:249: error: `DRM' previously defined here
drivers/char/drm/gamma_context.h: In function `DRM':
drivers/char/drm/gamma_context.h:298: error: `arg' undeclared (first use in this function)
drivers/char/drm/gamma_context.h: At top level:
drivers/char/drm/gamma_context.h:324: error: `DRM' declared as function returnin g a function
drivers/char/drm/gamma_context.h:324: warning: function declaration isn't a prot otype
drivers/char/drm/gamma_context.h:324: error: redefinition of `DRM'
drivers/char/drm/gamma_context.h:297: error: `DRM' previously defined here
drivers/char/drm/gamma_context.h: In function `DRM':
drivers/char/drm/gamma_context.h:325: error: `filp' undeclared (first use in thi s function)
drivers/char/drm/gamma_context.h:328: error: `arg' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:332: error: `alloc_queue' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:332: error: called object is not a function
drivers/char/drm/gamma_context.h:334: error: `init_queue' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:334: error: called object is not a function
drivers/char/drm/gamma_context.h:335: error: called object is not a function
drivers/char/drm/gamma_context.h:337: error: called object is not a function
drivers/char/drm/gamma_context.h: At top level:
drivers/char/drm/gamma_context.h:346: error: `DRM' declared as function returnin g a function
drivers/char/drm/gamma_context.h:346: warning: function declaration isn't a prot otype
drivers/char/drm/gamma_context.h:346: error: redefinition of `DRM'
drivers/char/drm/gamma_context.h:324: error: `DRM' previously defined here
drivers/char/drm/gamma_context.h: In function `DRM':
drivers/char/drm/gamma_context.h:347: error: `filp' undeclared (first use in thi s function)
drivers/char/drm/gamma_context.h:352: error: `arg' undeclared (first use in this function)
drivers/char/drm/gamma_context.h: At top level:
drivers/char/drm/gamma_context.h:380: error: `DRM' declared as function returnin g a function
drivers/char/drm/gamma_context.h:380: warning: function declaration isn't a prot otype
drivers/char/drm/gamma_context.h:380: error: redefinition of `DRM'
drivers/char/drm/gamma_context.h:346: error: `DRM' previously defined here
drivers/char/drm/gamma_context.h: In function `DRM':
drivers/char/drm/gamma_context.h:381: error: `filp' undeclared (first use in thi s function)
drivers/char/drm/gamma_context.h:383: error: `arg' undeclared (first use in this function)
drivers/char/drm/gamma_context.h: At top level:
drivers/char/drm/gamma_context.h:413: error: `DRM' declared as function returnin g a function
drivers/char/drm/gamma_context.h:413: warning: function declaration isn't a prot otype
drivers/char/drm/gamma_context.h:413: error: redefinition of `DRM'
drivers/char/drm/gamma_context.h:380: error: `DRM' previously defined here
drivers/char/drm/gamma_context.h: In function `DRM':
drivers/char/drm/gamma_context.h:414: error: `filp' undeclared (first use in thi s function)
drivers/char/drm/gamma_context.h:418: error: `arg' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:421: error: `context_switch' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:421: error: called object is not a function
drivers/char/drm/gamma_context.h: At top level:
drivers/char/drm/gamma_context.h:426: error: `DRM' declared as function returnin g a function
drivers/char/drm/gamma_context.h:426: warning: function declaration isn't a prot otype
drivers/char/drm/gamma_context.h:426: error: redefinition of `DRM'
drivers/char/drm/gamma_context.h:413: error: `DRM' previously defined here
drivers/char/drm/gamma_context.h: In function `DRM':
drivers/char/drm/gamma_context.h:427: error: `filp' undeclared (first use in thi s function)
drivers/char/drm/gamma_context.h:431: error: `arg' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:434: error: `context_switch_complete' undeclare d (first use in this function)
drivers/char/drm/gamma_context.h:434: error: called object is not a function
drivers/char/drm/gamma_context.h: At top level:
drivers/char/drm/gamma_context.h:441: error: `DRM' declared as function returnin g a function
drivers/char/drm/gamma_context.h:441: warning: function declaration isn't a prot otype
drivers/char/drm/gamma_context.h:441: error: redefinition of `DRM'
drivers/char/drm/gamma_context.h:426: error: `DRM' previously defined here
drivers/char/drm/gamma_context.h: In function `DRM':
drivers/char/drm/gamma_context.h:442: error: `filp' undeclared (first use in thi s function)
drivers/char/drm/gamma_context.h:448: error: `arg' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:474: error: `waitlist_get' undeclared (first us e in this function)
drivers/char/drm/gamma_context.h:474: error: called object is not a function
drivers/char/drm/gamma_context.h:475: error: `free_buffer' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:475: error: called object is not a function
drivers/char/drm/gamma_drv.c:43:21: drm_dma.h: No such file or directory
In file included from drivers/char/drm/gamma_drv.c:44:
drivers/char/drm/gamma_old_dma.h: At top level:
drivers/char/drm/gamma_old_dma.h:37: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_old_dma.h:37: warning: function declaration isn't a proto type
drivers/char/drm/gamma_old_dma.h:37: error: redefinition of `DRM'
drivers/char/drm/gamma_context.h:441: error: `DRM' previously defined here
drivers/char/drm/gamma_old_dma.h: In function `DRM':
drivers/char/drm/gamma_old_dma.h:38: error: `dev' undeclared (first use in this function)
drivers/char/drm/gamma_old_dma.h:40: error: structure has no member named `next_ buffer'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_ queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_ queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_ queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_ queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_ queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_ queue'
drivers/char/drm/gamma_old_dma.h:42: error: structure has no member named `next_ queue'
drivers/char/drm/gamma_old_dma.h:44: error: structure has no member named `next_ queue'
drivers/char/drm/gamma_old_dma.h: At top level:
drivers/char/drm/gamma_old_dma.h:48: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_old_dma.h:48: warning: function declaration isn't a proto type
drivers/char/drm/gamma_old_dma.h:48: error: redefinition of `DRM'
drivers/char/drm/gamma_old_dma.h:37: error: `DRM' previously defined here
drivers/char/drm/gamma_old_dma.h: In function `DRM':
drivers/char/drm/gamma_old_dma.h:53: error: `dev' undeclared (first use in this function)
drivers/char/drm/gamma_old_dma.h:97: error: `wrapper' undeclared (first use in t his function)
drivers/char/drm/gamma_old_dma.h: At top level:
drivers/char/drm/gamma_old_dma.h:116: error: `DRM' declared as function returnin g a function
drivers/char/drm/gamma_old_dma.h:116: warning: function declaration isn't a prot otype
drivers/char/drm/gamma_old_dma.h:116: error: redefinition of `DRM'
drivers/char/drm/gamma_old_dma.h:48: error: `DRM' previously defined here
drivers/char/drm/gamma_old_dma.h: In function `DRM':
drivers/char/drm/gamma_old_dma.h:117: error: `filp' undeclared (first use in thi s function)
drivers/char/drm/gamma_old_dma.h:129: error: `d' undeclared (first use in this f unction)
drivers/char/drm/gamma_old_dma.h:173: error: `alloc' undeclared (first use in th is function)
drivers/char/drm/gamma_old_dma.h:173: error: called object is not a function
drivers/char/drm/gamma_old_dma.h:222: error: `free_buffer' undeclared (first use in this function)
drivers/char/drm/gamma_old_dma.h:222: error: called object is not a function
drivers/char/drm/gamma_old_dma.h:224: error: `waitlist_put' undeclared (first us e in this function)
drivers/char/drm/gamma_old_dma.h:224: error: called object is not a function
drivers/char/drm/gamma_old_dma.h:233: error: `free' undeclared (first use in thi s function)
drivers/char/drm/gamma_old_dma.h:233: error: called object is not a function
drivers/char/drm/gamma_old_dma.h: At top level:
drivers/char/drm/gamma_old_dma.h:240: error: `DRM' declared as function returnin g a function
drivers/char/drm/gamma_old_dma.h:240: warning: function declaration isn't a prot otype
drivers/char/drm/gamma_old_dma.h:240: error: redefinition of `DRM'
drivers/char/drm/gamma_old_dma.h:116: error: `DRM' previously defined here
drivers/char/drm/gamma_old_dma.h:240: warning: `DRM' was declared `extern' and l ater `static'
drivers/char/drm/gamma_old_dma.h: In function `DRM':
drivers/char/drm/gamma_old_dma.h:241: error: `filp' undeclared (first use in thi s function)
drivers/char/drm/gamma_old_dma.h:247: error: `d' undeclared (first use in this f unction)
drivers/char/drm/gamma_old_dma.h:248: error: `freelist_get' undeclared (first us e in this function)
drivers/char/drm/gamma_old_dma.h:248: error: `order' undeclared (first use in th is function)
drivers/char/drm/gamma_old_dma.h:249: error: called object is not a function
drivers/char/drm/gamma_old_dma.h: At top level:
drivers/char/drm/gamma_old_dma.h:276: error: `DRM' declared as function returnin g a function
drivers/char/drm/gamma_old_dma.h:276: warning: function declaration isn't a prot otype
drivers/char/drm/gamma_old_dma.h:276: error: redefinition of `DRM'
drivers/char/drm/gamma_old_dma.h:240: error: `DRM' previously defined here
drivers/char/drm/gamma_old_dma.h: In function `DRM':
drivers/char/drm/gamma_old_dma.h:281: error: `dma' undeclared (first use in this function)
drivers/char/drm/gamma_old_dma.h:281: error: called object is not a function
drivers/char/drm/gamma_old_dma.h:284: error: `dma_get_buffers_of_order' undeclar ed (first use in this function)
drivers/char/drm/gamma_old_dma.h:284: error: `filp' undeclared (first use in thi s function)
drivers/char/drm/gamma_old_dma.h:284: error: called object is not a function
drivers/char/drm/gamma_old_dma.h:295: error: called object is not a function
drivers/char/drm/gamma_old_dma.h:308: error: called object is not a function
drivers/char/drm/gamma_drv.c:45:26: drm_drawable.h: No such file or directory
drivers/char/drm/gamma_drv.c:46:21: drm_drv.h: No such file or directory
drivers/char/drm/gamma_drv.c:48:22: drm_fops.h: No such file or directory
drivers/char/drm/gamma_drv.c:49:22: drm_init.h: No such file or directory
drivers/char/drm/gamma_drv.c:50:23: drm_ioctl.h: No such file or directory
drivers/char/drm/gamma_drv.c:51:21: drm_irq.h: No such file or directory
In file included from drivers/char/drm/gamma_drv.c:52:
drivers/char/drm/gamma_lists.h: At top level:
drivers/char/drm/gamma_lists.h:36: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lists.h:36: warning: function declaration isn't a prototy pe
drivers/char/drm/gamma_lists.h:36: error: redefinition of `DRM'
drivers/char/drm/gamma_old_dma.h:276: error: `DRM' previously defined here
drivers/char/drm/gamma_lists.h: In function `DRM':
drivers/char/drm/gamma_lists.h:37: error: `bl' undeclared (first use in this fun ction)
drivers/char/drm/gamma_lists.h:39: error: `alloc' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h:40: error: called object is not a function
drivers/char/drm/gamma_lists.h:44: error: `count' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h: At top level:
drivers/char/drm/gamma_lists.h:54: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lists.h:54: warning: function declaration isn't a prototy pe
drivers/char/drm/gamma_lists.h:54: error: redefinition of `DRM'
drivers/char/drm/gamma_lists.h:36: error: `DRM' previously defined here
drivers/char/drm/gamma_lists.h: In function `DRM':
drivers/char/drm/gamma_lists.h:55: error: `bl' undeclared (first use in this fun ction)
drivers/char/drm/gamma_lists.h:56: error: `free' undeclared (first use in this f unction)
drivers/char/drm/gamma_lists.h:58: error: called object is not a function
drivers/char/drm/gamma_lists.h: At top level:
drivers/char/drm/gamma_lists.h:68: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lists.h:68: warning: function declaration isn't a prototy pe
drivers/char/drm/gamma_lists.h:68: error: redefinition of `DRM'
drivers/char/drm/gamma_lists.h:54: error: `DRM' previously defined here
drivers/char/drm/gamma_lists.h: In function `DRM':
drivers/char/drm/gamma_lists.h:72: error: `bl' undeclared (first use in this fun ction)
drivers/char/drm/gamma_lists.h:74: error: `buf' undeclared (first use in this fu nction)
drivers/char/drm/gamma_lists.h: At top level:
drivers/char/drm/gamma_lists.h:89: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lists.h:89: warning: function declaration isn't a prototy pe
drivers/char/drm/gamma_lists.h:89: error: redefinition of `DRM'
drivers/char/drm/gamma_lists.h:68: error: `DRM' previously defined here
drivers/char/drm/gamma_lists.h: In function `DRM':
drivers/char/drm/gamma_lists.h:93: error: `bl' undeclared (first use in this fun ction)
drivers/char/drm/gamma_lists.h:97: warning: return makes integer from pointer wi thout a cast
drivers/char/drm/gamma_lists.h:102: warning: return makes integer from pointer w ithout a cast
drivers/char/drm/gamma_lists.h: At top level:
drivers/char/drm/gamma_lists.h:106: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lists.h:106: warning: function declaration isn't a protot ype
drivers/char/drm/gamma_lists.h:106: error: redefinition of `DRM'
drivers/char/drm/gamma_lists.h:89: error: `DRM' previously defined here
drivers/char/drm/gamma_lists.h: In function `DRM':
drivers/char/drm/gamma_lists.h:107: error: `bl' undeclared (first use in this fu nction)
drivers/char/drm/gamma_lists.h: At top level:
drivers/char/drm/gamma_lists.h:119: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lists.h:119: warning: function declaration isn't a protot ype
drivers/char/drm/gamma_lists.h:119: error: redefinition of `DRM'
drivers/char/drm/gamma_lists.h:106: error: `DRM' previously defined here
drivers/char/drm/gamma_lists.h: In function `DRM':
drivers/char/drm/gamma_lists.h:120: error: `bl' undeclared (first use in this fu nction)
drivers/char/drm/gamma_lists.h: At top level:
drivers/char/drm/gamma_lists.h:126: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lists.h:126: warning: function declaration isn't a protot ype
drivers/char/drm/gamma_lists.h:126: error: redefinition of `DRM'
drivers/char/drm/gamma_lists.h:119: error: `DRM' previously defined here
drivers/char/drm/gamma_lists.h: In function `DRM':
drivers/char/drm/gamma_lists.h:127: error: `dev' undeclared (first use in this f unction)
drivers/char/drm/gamma_lists.h:134: error: `buf' undeclared (first use in this f unction)
drivers/char/drm/gamma_lists.h:138: error: `bl' undeclared (first use in this fu nction)
drivers/char/drm/gamma_lists.h: At top level:
drivers/char/drm/gamma_lists.h:161: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lists.h:161: warning: function declaration isn't a protot ype
drivers/char/drm/gamma_lists.h:161: error: redefinition of `DRM'
drivers/char/drm/gamma_lists.h:126: error: `DRM' previously defined here
drivers/char/drm/gamma_lists.h:161: warning: `DRM' was declared `extern' and lat er `static'
drivers/char/drm/gamma_lists.h: In function `DRM':
drivers/char/drm/gamma_lists.h:164: error: `bl' undeclared (first use in this fu nction)
drivers/char/drm/gamma_lists.h:164: warning: return makes integer from pointer w ithout a cast
drivers/char/drm/gamma_lists.h:170: warning: return makes integer from pointer w ithout a cast
drivers/char/drm/gamma_lists.h:184: warning: return makes integer from pointer w ithout a cast
drivers/char/drm/gamma_lists.h: At top level:
drivers/char/drm/gamma_lists.h:188: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lists.h:188: warning: function declaration isn't a protot ype
drivers/char/drm/gamma_lists.h:188: error: redefinition of `DRM'
drivers/char/drm/gamma_lists.h:161: error: `DRM' previously defined here
drivers/char/drm/gamma_lists.h: In function `DRM':
drivers/char/drm/gamma_lists.h:192: error: `bl' undeclared (first use in this fu nction)
drivers/char/drm/gamma_lists.h:192: warning: return makes integer from pointer w ithout a cast
drivers/char/drm/gamma_lists.h:198: error: `block' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h:203: error: `freelist_try' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h:203: error: called object is not a function
drivers/char/drm/gamma_lists.h:210: warning: return makes integer from pointer w ithout a cast
drivers/char/drm/gamma_lists.h:213: error: called object is not a function
drivers/char/drm/gamma_drv.c:53:22: drm_lock.h: No such file or directory
In file included from drivers/char/drm/gamma_drv.c:54:
drivers/char/drm/gamma_lock.h: At top level:
drivers/char/drm/gamma_lock.h:36: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lock.h:36: warning: function declaration isn't a prototyp e
drivers/char/drm/gamma_lock.h:36: error: redefinition of `DRM'
drivers/char/drm/gamma_lists.h:188: error: `DRM' previously defined here
drivers/char/drm/gamma_lock.h:36: warning: `DRM' was declared `extern' and later `static'
drivers/char/drm/gamma_lock.h: In function `DRM':
drivers/char/drm/gamma_lock.h:39: error: `dev' undeclared (first use in this fun ction)
drivers/char/drm/gamma_lock.h:39: error: `context' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h: At top level:
drivers/char/drm/gamma_lock.h:69: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lock.h:69: warning: function declaration isn't a prototyp e
drivers/char/drm/gamma_lock.h:69: error: redefinition of `DRM'
drivers/char/drm/gamma_lock.h:36: error: `DRM' previously defined here
drivers/char/drm/gamma_lock.h:69: warning: `DRM' was declared `extern' and later `static'
drivers/char/drm/gamma_lock.h: In function `DRM':
drivers/char/drm/gamma_lock.h:70: error: `dev' undeclared (first use in this fun ction)
drivers/char/drm/gamma_lock.h:70: error: `context' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h: At top level:
drivers/char/drm/gamma_lock.h:87: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lock.h:87: warning: function declaration isn't a prototyp e
drivers/char/drm/gamma_lock.h:87: error: redefinition of `DRM'
drivers/char/drm/gamma_lock.h:69: error: `DRM' previously defined here
drivers/char/drm/gamma_lock.h: In function `DRM':
drivers/char/drm/gamma_lock.h:93: error: `flags' undeclared (first use in this f unction)
drivers/char/drm/gamma_lock.h:94: error: `flush_queue' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:94: error: `dev' undeclared (first use in this fun ction)
drivers/char/drm/gamma_lock.h:94: error: called object is not a function
drivers/char/drm/gamma_lock.h:95: error: `context' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:95: error: called object is not a function
drivers/char/drm/gamma_lock.h:99: error: called object is not a function
drivers/char/drm/gamma_lock.h: At top level:
drivers/char/drm/gamma_lock.h:106: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lock.h:106: warning: function declaration isn't a prototy pe
drivers/char/drm/gamma_lock.h:106: error: redefinition of `DRM'
drivers/char/drm/gamma_lock.h:87: error: `DRM' previously defined here
drivers/char/drm/gamma_lock.h: In function `DRM':
drivers/char/drm/gamma_lock.h:112: error: `flags' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:113: error: `flush_unblock_queue' undeclared (firs t use in this function)
drivers/char/drm/gamma_lock.h:113: error: `dev' undeclared (first use in this fu nction)
drivers/char/drm/gamma_lock.h:113: error: called object is not a function
drivers/char/drm/gamma_lock.h:114: error: `context' undeclared (first use in thi s function)
drivers/char/drm/gamma_lock.h:114: error: called object is not a function
drivers/char/drm/gamma_lock.h:118: error: called object is not a function
drivers/char/drm/gamma_lock.h: At top level:
drivers/char/drm/gamma_lock.h:127: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lock.h:127: warning: function declaration isn't a prototy pe
drivers/char/drm/gamma_lock.h:127: error: redefinition of `DRM'
drivers/char/drm/gamma_lock.h:106: error: `DRM' previously defined here
drivers/char/drm/gamma_lock.h: In function `DRM':
drivers/char/drm/gamma_lock.h:128: error: `filp' undeclared (first use in this f unction)
drivers/char/drm/gamma_lock.h:135: error: `arg' undeclared (first use in this fu nction)
drivers/char/drm/gamma_lock.h:137: error: `flush_block_and_flush' undeclared (fi rst use in this function)
drivers/char/drm/gamma_lock.h:137: error: called object is not a function
drivers/char/drm/gamma_lock.h:138: error: `flush_unblock' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:138: error: called object is not a function
In file included from drivers/char/drm/gamma_drv.c:55:
drivers/char/drm/drm_memory.h: At top level:
drivers/char/drm/drm_memory.h:65: error: redefinition of `drm_lookup_map'
drivers/char/drm/drm_memory.h:65: error: `drm_lookup_map' previously defined her e
drivers/char/drm/drm_memory.h:83: error: redefinition of `agp_remap'
drivers/char/drm/drm_memory.h:83: error: `agp_remap' previously defined here
drivers/char/drm/drm_memory.h:123: error: redefinition of `drm_follow_page'
drivers/char/drm/drm_memory.h:123: error: `drm_follow_page' previously defined h ere
drivers/char/drm/drm_memory.h:151: error: redefinition of `drm_ioremap'
drivers/char/drm/drm_memory.h:151: error: `drm_ioremap' previously defined here
drivers/char/drm/drm_memory.h:163: error: redefinition of `drm_ioremap_nocache'
drivers/char/drm/drm_memory.h:163: error: `drm_ioremap_nocache' previously defin ed here
drivers/char/drm/drm_memory.h:174: error: redefinition of `drm_ioremapfree'
drivers/char/drm/drm_memory.h:174: error: `drm_ioremapfree' previously defined h ere
drivers/char/drm/gamma_drv.c:56:22: drm_proc.h: No such file or directory
drivers/char/drm/gamma_drv.c:57:20: drm_vm.h: No such file or directory
drivers/char/drm/gamma_drv.c:58:22: drm_stub.h: No such file or directory
drivers/char/drm/gamma_drv.c:59:25: drm_scatter.h: No such file or directory
drivers/char/drm/gamma_lists.h:161: warning: `DRM' defined but not used
drivers/char/drm/gamma_lock.h:36: warning: `DRM' defined but not used
drivers/char/drm/gamma_lock.h:69: warning: `DRM' defined but not used
make[4]: *** [drivers/char/drm/gamma_drv.o] Error 1
make[3]: *** [drivers/char/drm] Error 2
make[2]: *** [drivers/char] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.11.6'
make: *** [stamp-build] Error 2

ho una geforce 2 gts
cosa cacchio devo togliere per riuscire a compilare il 2.6.11.6??

NLDoMy
02-04-2005, 05:45
per la Mepis ho da poco notato il sito dotmepis.org sezione josh project, ho scaricato il suo kernel tweakato e funzia todo, anche più veloce e reattivo il sistema :D

poi ho messo la mepis nell'amd 1500+ con la a7v e sembra abbia riconsciuto propio tutto anche i vari controllers e amenità varie che sulla chaintech 7njs restavano unknown.

per il tempo che ci ho perso ho ottenuto un ottimo risultato, almeno su questo pc senza smanettiiiii vari.

unica cosa ho rimosso a manina la cartella /etc/isdn con il capi.conf dentro e al boot ho ricevuto: grep | /etc/isdn/capi.conf not found allora ho messo mani ai src e ho tolto il capi... anzi ho rimosso propio tutto il blokko isdn.. avrò fatto male? :D

--->>> visto che ho postato per l'aggiornamento adesso pozzo chiedere qualche anima pia mi può dire quanto io abbia sbagliato rimuovendo l'intero blokko isdn?!?!? :D thx

--->>> un altra cosetta, ho usato il comando make-kpkg kernel-image, però ho visto che potevo usare make-kpkg --revision e --flavour (se nn ho riportato male) nn so se questi comandi ci incastrino qualcosa, ma è possibile modificare anche il nome del pakketto che figurerà in synaptic?
(esempio sto usando il kernel 2.6.11.6-jk e vorrei cambiare quel jk finale, ed anche il nome del vmlinuz creato) come fare? thx


EDIT: capi.conf forse risolto, avevo "credo" demone attivato, con rcconf ho disattivato capiutils

Bicet
02-04-2005, 13:27
sto provando anch'io sto kernel di josh e devo dire che è davvero una scheggia, soprattutto per quanto riguarda la gestine dei driver ati, vanno davvero molto meglio, almeno da me.

NLDoMy
02-04-2005, 17:07
io devo riprovare l'accelerazione su giochi in open gl ora che nell'altro pc ho reinstallato mepis.

ho provato a cambiare al kernel di josh l'architettura, e ricompilato, ma mi dava diversi warnings (anche se alcuni sono davvero inutili tipo: scsi drivers find but not in use) però ce ne erano degli altri.

Ho fatto la mia seconda prova però devo aver sballottato qualcosa, forse anche nel cambiare architettura al kernel, io ho cambiato solo quella del CPU FAMILY, poi nn so se devo settare anche qualcos'altro. Nn mi caricava il driver nvidia, per il resto partiva, tranne X :D

cmq al boot nn vi era differenza di velox, ora riprovo un po' meglio, magari nel fare make oldconfig o il passaggio della copia del config prima, ho sbagliato qualcosa..

Ma esiste un log che viene rilasciato dopo la compilazione del kernel?


per la richiesta di capi.conf avevo ancora il demone capiutils attivo e l'applicazione installata.

NLDoMy
02-04-2005, 17:45
kernel/intermodule.c:179: warning: `inter_module_register' is deprecated (declared at kernel/intermodule.c:38)
kernel/intermodule.c:180: warning: `inter_module_unregister' is deprecated (declared at kernel/intermodule.c:79)
kernel/intermodule.c:183: warning: `inter_module_put' is deprecated (declared at kernel/intermodule.c:160)

kernel/power/pm.c: In function `pm_undo_all':
kernel/power/pm.c:201: warning: `pm_send' is deprecated (declared at kernel/power/pm.c:155)
kernel/power/pm.c: In function `pm_send_all':
kernel/power/pm.c:242: warning: `pm_send' is deprecated (declared at kernel/power/pm.c:155)
kernel/power/pm.c: At top level:
kernel/power/pm.c:259: warning: `pm_register' is deprecated (declared at kernel/power/pm.c:62)
kernel/power/pm.c:260: warning: `pm_unregister' is deprecated (declared at kernel/power/pm.c:86)
kernel/power/pm.c:261: warning: `pm_unregister_all' is deprecated (declared at kernel/power/pm.c:115)
kernel/power/pm.c:262: warning: `pm_send_all' is deprecated (declared at kernel/power/pm.c:234)

drivers/scsi/sata_svw.c: In function `k2_sata_tf_load':
drivers/scsi/sata_svw.c:106: warning: passing arg 2 of `writeb' makes pointer from integer without a cast
drivers/scsi/sata_svw.c:111: warning: passing arg 2 of `writew' makes pointer from integer without a cast
drivers/scsi/sata_svw.c:112: warning: passing arg 2 of `writew' makes pointer from integer without a cast
drivers/scsi/sata_svw.c:113: warning: passing arg 2 of `writew' makes pointer from integer without a cast
drivers/scsi/sata_svw.c:114: warning: passing arg 2 of `writew' makes pointer from integer without a cast
drivers/scsi/sata_svw.c:115: warning: passing arg 2 of `writew' makes pointer from integer without a cast
drivers/scsi/sata_svw.c:117: warning: passing arg 2 of `writew' makes pointer from integer without a cast
drivers/scsi/sata_svw.c:118: warning: passing arg 2 of `writew' makes pointer from integer without a cast
drivers/scsi/sata_svw.c:119: warning: passing arg 2 of `writew' makes pointer from integer without a cast
drivers/scsi/sata_svw.c:120: warning: passing arg 2 of `writew' makes pointer from integer without a cast
drivers/scsi/sata_svw.c:121: warning: passing arg 2 of `writew' makes pointer from integer without a cast
drivers/scsi/sata_svw.c:125: warning: passing arg 2 of `writeb' makes pointer from integer without a cast
drivers/scsi/sata_svw.c: In function `k2_sata_tf_read':
drivers/scsi/sata_svw.c:136: warning: passing arg 1 of `readw' makes pointer from integer without a cast
drivers/scsi/sata_svw.c:137: warning: passing arg 1 of `readw' makes pointer from integer without a cast
drivers/scsi/sata_svw.c:138: warning: passing arg 1 of `readw' makes pointer from integer without a cast
drivers/scsi/sata_svw.c:139: warning: passing arg 1 of `readw' makes pointer from integer without a cast
drivers/scsi/sata_svw.c:140: warning: passing arg 1 of `readw' makes pointer from integer without a cast
drivers/scsi/sata_svw.c:143: warning: passing arg 1 of `readw' makes pointer from integer without a cast

drivers/scsi/sata_vsc.c: In function `vsc_intr_mask_update':
drivers/scsi/sata_vsc.c:88: warning: passing arg 1 of `readb' makes pointer from integer without a cast
drivers/scsi/sata_vsc.c:93: warning: passing arg 2 of `writeb' makes pointer from integer without a cast
drivers/scsi/sata_vsc.c: In function `vsc_sata_tf_load':
drivers/scsi/sata_vsc.c:112: warning: passing arg 2 of `writew' makes pointer from integer without a cast
drivers/scsi/sata_vsc.c:113: warning: passing arg 2 of `writew' makes pointer from integer without a cast
drivers/scsi/sata_vsc.c:114: warning: passing arg 2 of `writew' makes pointer from integer without a cast
drivers/scsi/sata_vsc.c:115: warning: passing arg 2 of `writew' makes pointer from integer without a cast
drivers/scsi/sata_vsc.c:116: warning: passing arg 2 of `writew' makes pointer from integer without a cast
drivers/scsi/sata_vsc.c:118: warning: passing arg 2 of `writew' makes pointer from integer without a cast
drivers/scsi/sata_vsc.c:119: warning: passing arg 2 of `writew' makes pointer from integer without a cast
drivers/scsi/sata_vsc.c:120: warning: passing arg 2 of `writew' makes pointer from integer without a cast
drivers/scsi/sata_vsc.c:121: warning: passing arg 2 of `writew' makes pointer from integer without a cast
drivers/scsi/sata_vsc.c:122: warning: passing arg 2 of `writew' makes pointer from integer without a cast
drivers/scsi/sata_vsc.c:126: warning: passing arg 2 of `writeb' makes pointer from integer without a cast
drivers/scsi/sata_vsc.c: In function `vsc_sata_tf_read':
drivers/scsi/sata_vsc.c:137: warning: passing arg 1 of `readw' makes pointer from integer without a cast
drivers/scsi/sata_vsc.c:138: warning: passing arg 1 of `readw' makes pointer from integer without a cast
drivers/scsi/sata_vsc.c:139: warning: passing arg 1 of `readw' makes pointer from integer without a cast
drivers/scsi/sata_vsc.c:140: warning: passing arg 1 of `readw' makes pointer from integer without a cast
drivers/scsi/sata_vsc.c:141: warning: passing arg 1 of `readw' makes pointer from integer without a cast
drivers/scsi/sata_vsc.c:144: warning: passing arg 1 of `readb' makes pointer from integer without a cast
drivers/scsi/sata_vsc.c: In function `vsc_sata_setup_port':
drivers/scsi/sata_vsc.c:250: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/scsi/sata_vsc.c:251: warning: passing arg 2 of `writel' makes pointer from integer without a cast

arch/i386/kernel/apm.c: In function `suspend':
arch/i386/kernel/apm.c:1191: warning: `pm_send_all' is deprecated (declared at include/linux/pm.h:126)
arch/i386/kernel/apm.c:1241: warning: `pm_send_all' is deprecated (declared at include/linux/pm.h:126)
arch/i386/kernel/apm.c: In function `check_events':
arch/i386/kernel/apm.c:1357: warning: `pm_send_all' is deprecated (declared at include/linux/pm.h:126)