[Top] [All Lists]


To: xuhaoz <>
Subject: Re:
From: Fuxin Zhang <>
Date: Sat, 04 Sep 2004 05:47:48 +0800
Cc: linux-mips <>
In-reply-to: <>
Original-recipient: rfc822;
References: <>
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040122
This is probably nothing to do with mips thus not so suitable to appear

xuhaoz wrote:

>       does somebody meet a problem like this?
>       static void __init init_mount_tree(void)
>       {
>               mnt=do_kern_mount("rootfs",0,"rootfs",NULL);
>               if(IS_ERR(mnt))
>                       panic("can't creat rootfs");
>       }

And I think you should really do a little more before ask for such questions
(I will attach you a copy of the famous "How To Ask Questions The Smart Way"
,hope that helps:)

You can use ctags or some other code reading tools(e.g. source insight) to
dig in the code, it is not hard to find out where are the possible
failing reasons
then you can insert printks to test your thoughts.

Maybe you can use remote debug to trace the code too.

>       when uclinux run here, it report panic, and i wonder which cause this 
> problem?
>       would you please give a hint? any suggestion will appreciated!! 
>       thank you !!

<Prev in Thread] Current Thread [Next in Thread>