[pso] Tema3 - Problema rmmod

Orasanu Eduard edi_o2001 at yahoo.com
Thu Apr 16 08:07:07 EEST 2009


Am aplelat del_len_disk() dar ideea e ca nu ajunge sa se apeleaze exit-ul modulului.
Probabil vede ca e o referinta la modul si intoarce direct eroarea.

--- On Wed, 4/15/09, Octavian Voicu <octavian.voicu at gmail.com> wrote:

> From: Octavian Voicu <octavian.voicu at gmail.com>
> Subject: Re: [pso] Tema3 - Problema rmmod
> To: "Proiectarea Sistemelor de Operare" <pso at cursuri.cs.pub.ro>
> Date: Wednesday, April 15, 2009, 5:20 PM
> Conform laboratorului ar
> trebui sa faci un del_gen_disk( ) in
> module_exit_function.
> 
> 
> Daca ai pus asta, probabil ai uitat sa eliberezi
> altceva (pe principiul totul trebuie eliberat in ordinea
> inversa fata de cum le-ai creat) si kernelul stie ca inca
> mai sunt obiecte care depind de modulul tau si nu te lasa
> sa-l descarci.
> 
> 
> 
> On Thu, Apr 16, 2009 at 12:06 AM,
> Orasanu Eduard <edi_o2001 at yahoo.com>
> wrote:
> 
> 
> 
> 
> Desi inca n-am implementat "open" si
> "release", dupa ce fac insmod la modulul meu am
> reference count = 1 si imi da eroare la rmmod:"Module
> sraid is in use".
> 
> 
> 
> Am observat ca se intampla lucrul asta cand apelez
> add_disk(..).
> 
> Nu merge nici rmmod -f din pacate.
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 
> pso mailing list
> 
> pso at cursuri.cs.pub.ro
> 
> http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/pso
> 
> 
> 
> 
> -- 
> Octavian Voicu
> 
> 
> 
> -----Inline Attachment Follows-----
> 
> _______________________________________________
> pso mailing list
> pso at cursuri.cs.pub.ro
> http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/pso
> 


      


More information about the pso mailing list