Need advice/help with my driver debug
Jan. 18, 2011
11:22 p.m.
I am trying out a scheme where in I want to emulate a disk storage in the app space. With this in mind, I created a chain of "BlkDrv <-> CharDrv <-> DiskApp" Disk_app has the real storage (done in memory); BlkDrv is to have block driver interface to this disk for the rest of the system; While CharDrv is use for communicating between BlkDrv and DiskApp. (Order of loading is insmod chardrv; create a link node; run DiskApp.out ; insmod blkDrv) BlkDrv is mostly something I picked up from the web (RamDisk). And use to work fine with a local vmalloc-ed RAM. But once I added my logic; I see that once I do fdisk and try to mkfs on the disk it hangs my system. Can you please advice something which I might be doing wrong. Thanks, -Vic
5687
Age (days ago)
5687
Last active (days ago)
0 comments
1 participants
participants (1)
-
Vic lix