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

Andrei Dragus adragus at gmail.com
Fri Apr 23 20:45:48 EEST 2010


pai din cate vad parametrul tau se numeste "mode" nu "option".

2010/4/23 Vladimir-Andrei Olteanu <kooliva at gmail.com>

> 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
>
> _______________________________________________
> pso mailing list
> pso at cursuri.cs.pub.ro
> http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/pso
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/lurker/list/pso.html/attachments/20100423/9d5ac1f5/attachment.htm>


More information about the pso mailing list