[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kernel crash after adding ethernet driver



Hi,

Can you please recheck if you are not holding any spinlocks.Also check if you are not doing a memory allocation with spinlock held or in interrupt context.May be you are doing something like printk which may sleep IMO.Rechcek any methods you are calling which may sleep.

printk will not sleep. Thus it is safe to call printk from any where except from very few restricted locations like some scheduler etc.

Thanks,

Rajat

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ