回复:Re: add_disk() make my driver's initialisation, thus kernel stall.

张云 zyunone at 163.com
Sun Mar 20 21:53:47 EDT 2016


The code is just for learning block driver


发自 网易邮箱大师
在2016年03月21日 06:18,valdis.kletnieks at vt.edu 写道:
On Sun, 20 Mar 2016 16:38:12 +0800, å¼ äº‘ said:

> My memory disk block driver was compiled successfully.
> But when I insmod my module, initialisation stall at add_disk  in =
> setup_dev function.

> int major = 0;

Are you positive that this is both safe and usable?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160321/354a255d/attachment.html 


More information about the Kernelnewbies mailing list