Debugging error -12

View: New views
2 Messages — Rating Filter:   Alert me  

Debugging error -12

by Stefan Sassenberg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I'm the one who has error -12 when plugging in his 0ace:1215. I started debugging it and this is what I found out:
Right before the error 12, there's a line in the logs:

phy1: Failed to initialize wep
which should be caused by a negative value returned by ieee80211_wep_init (net/mac80211/wep.c)
what happened because the call to crypto_alloc_blkcipher returned a negative value.
crypto_alloc_blkcipher is an inline function defined in include/linux/crypto.h

This is everything I know about the problem because somehow I wasn't able to debug crypto_alloc_base in crypto/api.c.

The same thing happened with another device (0586:3401) and also with the same device on another machine, kernels 2.6.25 and 2.6.26.

Any idea? Please give me a hint.

Stefan

Re: Debugging error -12

by Stefan Sassenberg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Is it me that people don't answer to my posts?

Anyway, I have a solution that fits for me. As I wrote above, I am not able to debug crypto_alloc_base in crypto/api.c. If anyone is interested in locating the problem: The function was called successfully after compiling mac80211 into the kernel instead of loading it as a module. So it doesn't seem to be a zd1211 driver problem.

Have fun.

Stefan