hi: I have found out some way to figure it out. In the beginning, I was confused by the "success(2): success". Then, some of my friend told me that I can use "dmesg -n 8" to set different message showing level and I can see the error messages that insmod wants to tell me. It seems the "(2)" have some special meaning, since if I successfully insmod some module, it will tell me "success(17): success". But I can find what out the number really mean, even by man. If someone knows where can get this information, please tell me. appreciate all your guys help, ps: I should check the /var/log/messages to see any message before asking this question. After all, I am writing a module vichy 2007/11/16, Pavan Kandepet <pavankp@xxxxxxxxx>: > You can also try looking at /var/log/messages while inserting the > module to see any > messages. > -Pavan > > On Nov 15, 2007 9:56 AM, Luís Henriques <lhenriques@xxxxxxxxxxx> wrote: > > Hi Vichy! > > > > On Thursday 15 November 2007, vichy wrote: > > > Dear all: > > > I write a module and try to insert it by insmod. > > > But the error message is like below: > > > insmod: cannot insert 'test.ko': Success (2): Success. > > > > > > what's wrong with my module and where can I find the "Success(2) mean"? > > > It seems (2) has some special meaning. > > > But I cannot get the information by man. > > > > > > appreciate your help, > > > > I guess that you will need to post your initialisation code in order to get > > some help... > > > > -- > > Luís Henriques > > > > > > -- > > To unsubscribe from this list: send an email with > > "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx > > Please read the FAQ at http://kernelnewbies.org/FAQ > > > > > -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ