Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
casini vari... : modprobe rivatv e misteri di boot
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Mon Jun 23, 2003 10:33 am    Post subject: casini vari... : modprobe rivatv e misteri di boot Reply with quote

Inizio subito a dire che all'avvio mi da questi errori:
Code:
* Caching service dependecies...
*  Services 'bootsplash' and 'local' have circular
*  dependecy of type 'iafter'; continuing...

e poco più avanti:
Code:
* /etc/conf.d/lm_sensors does not exists, try running sensors-detect

ok, per quanto riguarda il primo non so proprio che fare..

per il secondo ho ovviamente lanciato sensors-detect il quale ora mi viene fuori con questa uscita a metà della configurazione:
Code:
...
Probing for PCI bus adapters...
Use driver `i2c-viapro' for device 00:11.0: VIA Technologies VT8233 VLink South Bridge
Use driver `i2c-riva' for device 01:00.0: GeForce2 GTS2
Probe succesfully concluded.
 
 We will now try to load each adapter module in turn.
Module `i2c-viapro' already loaded.
Load `i2c-riva' (say NO if built into your kernel)? (YES/no):
modprobe: Can't locate module i2c-riva
Loading failed... skipping.
** Note: i2c-riva module is available at
** http://drama.obuda.kando.hu/~fero/cgi-bin/rivatv.shtml
...


ok alla fine mi esce e mi da picche.
allora che faccio:
Code:
# emerge rivatv

il quale alla fine dell'emerge mi dice:
Code:
 * You will need support for videodev, i2c-core, i2c-algo-bit
 * for this driver to work, plus your cards' specific modules
 * from /lib/modules/2.4.20-gentoo-r5/kernel/drivers/media/video
 *
 * To load the module automatically at boot up, add these and
 * "rivatv" to your /etc/modules.autoload.
 *
 * Also, see http://rivatv.sourceforge.net/ for more information.
 *
 * NOTE: Your kernel must not include framebuffer support.


ok very easy.. al di la' del fatto che non ho ancora ben chiaro di che card stiamo parlando (penso la geffo a sto punto) sistemo il tutto e
Code:
# lsmod
Module                  Size  Used by    Tainted: P
i2c-algo-bit            8360   0  (unused)
i2c-dev                 4772   0
snd-pcm-oss            40068   0  (autoclean)
snd-mixer-oss          13880   1  (autoclean) [snd-pcm-oss]
ide-cd                 30536   0  (autoclean)
snd-cmipci             21248   4
snd-pcm                68384   1  [snd-pcm-oss snd-cmipci]
snd-page-alloc          5616   0  [snd-pcm]
snd-mpu401-uart         4096   0  [snd-cmipci]
snd-rawmidi            15712   0  [snd-mpu401-uart]
snd-opl3-lib            7012   0  [snd-cmipci]
snd-timer              17000   0  [snd-pcm snd-opl3-lib]
snd-seq-device          4516   0  [snd-rawmidi snd-opl3-lib]
snd-hwdep               5344   0  [snd-opl3-lib]
snd                    34340   2  [snd-pcm-oss snd-mixer-oss snd-cmipci snd-pcm snd-mpu401-uart snd-rawmidi snd-opl3-lib snd-timer snd-seq-device snd-hwdep]
soundcore               4580   7  [snd]
nls_iso8859-15          3356   2  (autoclean)
nls_cp437               4348   2  (autoclean)
w83781d                20432   0
i2c-proc                7472   0  [w83781d]
i2c-viapro              3956   0
i2c-core               16168   0  [i2c-algo-bit i2c-dev w83781d i2c-proc i2c-viapro]
nvidia               1548416  10
8139too                16392   1
mii                     2592   0  [8139too]
sr_mod                 18328   0  (unused)
cdrom                  29824   0  [ide-cd sr_mod]
sg                     30188   0  (unused)
ide-scsi                9008   0
scsi_mod               89716   3  [sr_mod sg ide-scsi]
mousedev                4440   1
hid                    14024   0  (unused)
input                   3776   0  [mousedev hid]

mi pare non manchi niente, no?
ora visto che prima ho emerso il ciccio lì di rivatv faccio:
Code:
# modprobe rivatv
/lib/modules/2.4.20-gentoo-r5/kernel/drivers/media/video/rivatv.o: unresolved symbol video_register_device_Rsmp_a769860f
/lib/modules/2.4.20-gentoo-r5/kernel/drivers/media/video/rivatv.o: unresolved symbol video_unregister_device_Rsmp_787dcbc4
/lib/modules/2.4.20-gentoo-r5/kernel/drivers/media/video/rivatv.o: insmod /lib/modules/2.4.20-gentoo-r5/kernel/drivers/media/video/rivatv.o failed
/lib/modules/2.4.20-gentoo-r5/kernel/drivers/media/video/rivatv.o: insmod rivatv failed

e qui mi cascano los marones... c'è qualcosa che ho sbagliato? devo pure compiarlmi V4L ? (ho una scheda d'acquisizione tv di cui mi dimentico della sua presenza all'interno del case...) ma non credo sia quella... in fondo mi dice riva per la geffo... dai... che roba è sta qui? non posso avere il framebuffer perchè è quello che mi fa casini??? :(

quindi mi basta togliere il framebuffer, ricompilare il kernel... e basta? insomma niente framebuffer solo perchè i2c vuole vedermi alkdjslkdjakljdalnkdaklòdaskdaskldjaklsdjal argh!!!!!
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Mon Jun 23, 2003 1:36 pm    Post subject: Reply with quote

Dimenticavo un'altra cosa del boot...
Code:
...
 * Configuring kernel parameters...
 * Cleaning /var/lock, /var/run...
xargs: environment is too large for exec
 * Cleaning /tmp directory...
...


mah

tra l'altro ho notato solo ora videodev... qualcuno sa dove si trova sto modulo nel menu del kernel ?
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Mon Jun 23, 2003 1:52 pm    Post subject: Reply with quote

si lo so mi sto facendo un topic e mi sto rispondendo da solo... ma magari a qualcuno interessa...
allora ho scoperto che videodev.o è il modulo di Video4Linux aka V4L, l'ho compilato e lanciando
Code:
# modprobe rivatv
/lib/modules/2.4.20-gentoo-r5/kernel/drivers/media/video/rivatv.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.      You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20-gentoo-r5/kernel/drivers/media/video/rivatv.o: insmod /lib/modules/2.4.20-gentoo-r5/kernel/drivers/media/video/rivatv.o failed
/lib/modules/2.4.20-gentoo-r5/kernel/drivers/media/video/rivatv.o: insmod rivatv failed

ok
do un occhio a dmesg e scopro che il framebuffer rompe le *alle...
Code:
...
Linux video capture interface: v1.00
rivatv: Video4Linux driver for NVIDIA cards
rivatv: Version 0.8.0
rivatv: MMX processor extension detected
rivatv: Could not identify your board
rivatv: PCI identifiers: 10DE 0151 1681 0051
rivatv: decoder module autoloading failed
rivatv: MTRR successfully enabled
rivatv: cannot reserve FB region at 0xf0000000

uff... vabè dopo tolgo il FrameBuffer e ricompilo il kernel e vediamo se si risolve qualcosa...

per il resto qualcuno sa qualcosa?
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Mon Jun 23, 2003 4:03 pm    Post subject: Reply with quote

Per gli errori di xargs e bootsplash ho gli stessi errori, ma non sembrano importanti (leggi: ho pochissimo tempo, funziona tutto comunque quindi... ;)).
_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Tue Jun 24, 2003 9:35 pm    Post subject: Reply with quote

Per quanto riguarda xargs, anch'io ho lo stesso messaggio di errore al boot.

Per l'altro problema: stai per caso utilizzando il rivafb con i driver closed source nvidia? Se è così mi sembra di ricordare che non vadano molto d'accordo insieme.
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Tue Jun 24, 2003 9:50 pm    Post subject: Reply with quote

no ora come ora sto usando il framebuffer per lo splashboot logo o come cavolo si chiama ed effettivamente il supporto per il framebuffer compilato nel kernel conflitta con i driver rivatv per ragioni ignote (così dicono sul sito di rivatv), quindi vedo se c'è altro problema... tra l'altro se lancio
Code:
# sensors
as99127f-i2c-0-2d
Adapter: SMBus Via Pro adapter at e800
Algorithm: Non-I2C SMBus adapter
VCore 1:   +1.84 V  (min =  +1.76 V, max =  +2.14 V)
VCore 2:   +0.11 V  (min =  +1.76 V, max =  +2.14 V)       ALARM
+3.3V:     +3.36 V  (min =  +2.97 V, max =  +3.63 V)
+5V:       +4.91 V  (min =  +4.50 V, max =  +5.48 V)
+12V:     +12.50 V  (min = +10.79 V, max = +13.11 V)
-12V:     -14.34 V  (min = -15.06 V, max = -12.32 V)
-5V:       -4.47 V  (min =  -5.48 V, max =  -4.50 V)       ALARM
fan1:     5113 RPM  (min = 3000 RPM, div = 2)
fan2:        0 RPM  (min = 3000 RPM, div = 2)              ALARM
fan3:        0 RPM  (min = 3000 RPM, div = 2)              ALARM
temp1:       +39°C  (limit =  +60°C)
temp2:     +65.0°C  (limit = +120°C, hysteresis = +100°C)        (beep)
temp3:    +224.4°C  (limit = +120°C, hysteresis = +100°C)
vid:      +1.950 V
alarms:
beep_enable:
          Sound alarm enabled


quindi davvero un grande boh...
magari ripartendo da zero con l'installazione senza avere moduli caricati... mah.... ho postato in giro su vari forum specifici per queste (framebuffer e lmsensors) vediamo che dicono....
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
Josuke
Veteran
Veteran


Joined: 07 May 2003
Posts: 1175
Location: Italy - Bolzano

PostPosted: Tue Jun 24, 2003 9:51 pm    Post subject: Reply with quote

il problema di xargs è dovuto ad un limite settato nei sorgenti del programma se, come ho fatto io, prendete il sorgente e commentate in esso la parte del limit poi il messaggio d'errore non ve lo da più, questo comunque non è un problema, diciamo che è più un fatto estetico ;)
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Tue Jun 24, 2003 9:57 pm    Post subject: Reply with quote

Josuke wrote:
il problema di xargs è dovuto ad un limite settato nei sorgenti del programma se, come ho fatto io, prendete il sorgente e commentate in esso la parte del limit poi il messaggio d'errore non ve lo da più, questo comunque non è un problema, diciamo che è più un fatto estetico ;)


ottimo da sapersi.. è documentata da qualche parte questa cosa? sicuro sia _solo_ un fattore estetico?
cmq se possibile puoi postare nello specifico la risoluzione che proponi a riguardo?
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Tue Jun 24, 2003 10:29 pm    Post subject: Reply with quote

si tratta di un baco di xargs.

Le righe da commentare in xargs.c dovrebbero essere queste:

Code:
  if (arg_max > 20 * 1024)
    arg_max = 20 * 1024;
Back to top
View user's profile Send private message
Josuke
Veteran
Veteran


Joined: 07 May 2003
Posts: 1175
Location: Italy - Bolzano

PostPosted: Tue Jun 24, 2003 10:36 pm    Post subject: Reply with quote

ti dirò...non mi ricordo assolutamente dove ho trovato la documentazione di quello che ti ho appena detto..haha che esaurito...mm ora la cerco e appena la trovo ve la posto va :)
Back to top
View user's profile Send private message
Josuke
Veteran
Veteran


Joined: 07 May 2003
Posts: 1175
Location: Italy - Bolzano

PostPosted: Tue Jun 24, 2003 10:38 pm    Post subject: Reply with quote

sono così esaurito che non ho nemmeno notato che MyZelF ha già postato la soluzione al problema hehee :oops:
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Wed Jun 25, 2003 7:47 am    Post subject: Reply with quote

In effetti il sonno gioca brutti scherzi anche a me, di solito... :)
Back to top
View user's profile Send private message
maur8
Apprentice
Apprentice


Joined: 04 Mar 2003
Posts: 229
Location: Pescara (in serie B!!!), Italy

PostPosted: Wed Jun 25, 2003 9:58 am    Post subject: Reply with quote

Per il problema di bootsplash prova a scrivere nel file /etc/init.d/bootsplash al posto di
Code:
after local
Code:
before local
E' una soluzione un pò "rozza", ma funziona ;-)
_________________
Maur8.
"They decided our fate in a microsecond. Extermination"
Sgt. Kyle Rise, The Terminator
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Sat Jun 28, 2003 4:50 pm    Post subject: Reply with quote

Risolto dall'ultimo aggiornamento.
Code:
--- /etc/init.d/bootsplash      2003-06-21 11:35:47.000000000 +0200
+++ /etc/init.d/._cfg0000_bootsplash    2003-06-28 19:48:10.000000000 +0200
@@ -11,7 +11,7 @@
 depend() {
        # run after local so that the boot time splash image
        # is visible for as long as possible
-       after local
+       need local
 }
 
 box () {

_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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