All of lore.kernel.org
 help / color / mirror / Atom feed
* help with page_fault
@ 2013-03-11  1:10 ishare
  0 siblings, 0 replies; 2+ messages in thread
From: ishare @ 2013-03-11  1:10 UTC (permalink / raw)
  To: linux-newbie

   
   At boot stage , my kernel get into loop restart due to page_fault.
   I have catched the source . here is the backtrace :

   #3  0xc01c686e in new_inode (sb=0xc8df5800) at fs/inode.c:551
   #4  0xc01d076d in get_sb_pseudo (fs_type=0xc02e1d00, name=0xc02c3747 "futex", ops=0x0, magic=195894762) at fs/libfs.c:201
   #5  0xc015cbbf in futexfs_get_sb (fs_type=0xc02e1d00, flags=0, dev_name=0xc02c374d "futexfs", data=0x0) at kernel/futex.c:679
   #6  0xc01a62c5 in do_kern_mount (fstype=0xc02c374d "futexfs", flags=0, name=0xc02c374d "futexfs", data=0x0) at fs/super.c:718

   code  at  the frame 3  is :
   struct inode *root = new_inode(s);
   after return from  the new_inode , the root->i_dentry=(0x1,0x3).

   then calling  the function  d_instantiate(entry, root),here entry is of type struct entry*,

   this calls do list_add(&entry->d_alias, root->i_dentry),
   Obviously,this need to address the inode->i_dentry->next,which is ox3,
   but 0x3 is low address ,addressing to it causes a page_fault ,then make system  restart .


  I doubt that the returned root inode need to be initialized using a applicable i_dentry .
  If so ,what value can be used ? If not , where am I wrong?

  thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 2+ messages in thread

* help with page_fault
@ 2013-03-09 13:38 ishare
  0 siblings, 0 replies; 2+ messages in thread
From: ishare @ 2013-03-09 13:38 UTC (permalink / raw)
  To: kernelnewbies


   In boot stage , my kernel get into loop restart due to page_fault.
   I have catched the source . here is the backtrace :

   #3  0xc01c686e in new_inode (sb=0xc8df5800) at fs/inode.c:551
   #4  0xc01d076d in get_sb_pseudo (fs_type=0xc02e1d00, name=0xc02c3747 "futex", ops=0x0, magic=195894762) at fs/libfs.c:201
   #5  0xc015cbbf in futexfs_get_sb (fs_type=0xc02e1d00, flags=0, dev_name=0xc02c374d "futexfs", data=0x0) at kernel/futex.c:679
   #6  0xc01a62c5 in do_kern_mount (fstype=0xc02c374d "futexfs", flags=0, name=0xc02c374d "futexfs", data=0x0) at fs/super.c:718

   code  at  the frame 3  is :
   struct inode *root = new_inode(s);
   after return from  the new_inode , the root->i_dentry=(0x1,0x3).
   
   then calling  the function  d_instantiate(entry, root),here entry is of type struct entry*,

   this calls do list_add(&entry->d_alias, root->i_dentry), 
   Obviously,this need to address the inode->i_dentry->next,which is ox3,
   but 0x3 is low address ,addressing to it causes a page_fault ,then make system  restart .
 

  I doubt that the returned root inode need to be initialized using a applicable i_dentry . 
  If so ,what value can be used ? If not , where am I wrong?

  thanks!


                      

    
 
   
  

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-11  1:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-11  1:10 help with page_fault ishare
  -- strict thread matches above, loose matches on Subject: below --
2013-03-09 13:38 ishare

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.