[pso] [Tema 2][Lin] Eroare la inserare

Vladimir-Andrei Olteanu kooliva at gmail.com
Fri Apr 23 20:35:58 EEST 2010


Salut!

In modul am scris urmatoarea bucata de cod:

static int mode = OPTION_BOTH;
static int major = 42;
module_param(mode, int, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP);
module_param(major, int, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP);

Cand scriu "insmod uart16550.ko major=42", totul e ok. Dar cand scriu 
"insmod uart16550.ko option=1", primesc urmatoarea eroare:

insmod: error inserting 'uart16550.ko': -1 Unknown symbol in module

Aveti vreo idee de ce major merge, dar mode nu?

Vlad



More information about the pso mailing list