* Mips compiler controversy
@ 2001-05-11 22:09 Fry, Dan
2001-05-13 16:40 ` David Woodhouse
0 siblings, 1 reply; 2+ messages in thread
From: Fry, Dan @ 2001-05-11 22:09 UTC (permalink / raw)
To: linux-mtd
Hi list,
Mips doesn't seem to compile the JFFS2 code as is. In write.c
within function jffs2_new_inode there is an undefined reference to
new_inode(). I've greped through the kernel source and can't find a
new_inode(). Is this function responsible for anything more than
this:
/* some kind of kmalloc for an inode */
inode->sb=sb;
I replaced the new_inode call with the above, and got the code to compile.
I can mount the chips, however any witting or deletion causes:
Unable to handle kernel paging request at virtual address 00000004, epc ==
80150
Oops in fault.c do_page_fault, line 159
And then the system locks up after spitting out tons of hex. Funny thing is
that after reboot the file or directory I created show up but trying to
access them causes the kernel lockup again.
Any ideas??
Cheers,
- Dan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Mips compiler controversy
2001-05-11 22:09 Mips compiler controversy Fry, Dan
@ 2001-05-13 16:40 ` David Woodhouse
0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2001-05-13 16:40 UTC (permalink / raw)
To: Fry, Dan; +Cc: linux-mtd
dfry@bb.directv.com said:
> Mips doesn't seem to compile the JFFS2 code as is. In write.c within
> function jffs2_new_inode there is an undefined reference to
> new_inode().
It's an inline function in newer kernels. See include/linux/fs.h I think.
JFFS2 certainly does work on MIPS.
--
dwmw2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-05-13 16:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-11 22:09 Mips compiler controversy Fry, Dan
2001-05-13 16:40 ` David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox