1 Oct 13:37
Re: How to load a file from kernel?
Ferenc Havasi <havasi <at> inf.u-szeged.hu>
2004-10-01 11:37:16 GMT
2004-10-01 11:37:16 GMT
> Almost everything works but I've problem at loading the model files. > I know the inode number of the file, I can "iget" it and see its > attributes, allocate memory for it. It's OK. But if I try to read the > content of the file by jffs2_read_inode_range() there will be a lots of > > Sep 27 22:07:45 kpax vmunix: bad: scheduling while atomic! I still don't know the reason of that error messages above, but I find a better way to load model file at mount time. Now I do it "by hand", using ino_cache, and a way similar to one is described in jffs2_read_dnode(). Regards, Ferenc To unsubscribe from this list: send the line "unsubscribe jffs-dev" in the body of a message to majordomo <at> axis.com
RSS Feed