From: Will M. <wjm...@gm...> - 2008-11-27 18:00:46
|
Andre Puschmann wrote: >> So when you attempt to mount AXFS as the root filing system, with a >> profiled >> image, and you mount via rootflags=physaddr, you get a segfault? > No segfault, using the physaddr flag raises this: > <log> > [ 1.170000] VFS: Mounted root (axfs filesystem) readonly. > [ 1.170000] Freeing init memory: 72K > Illegal instruction > sh: rcBoot: unknown operand > Illegal instruction > Illegal instruction > </log> > > As you can see, mounting is ok. Executing any application raises the > illegal instruction. If I append "init=/bin/sh" to my command line, I > get the shell, so busybox seems to _work partly_. If I then run "ls" > or "dmesg" or whatever, I get the illegal instruction again. Odd that XIP fails when mounted as root but behaves normally when mounted after boot. I'm assuming you have no issues if you generate the image without the profile. >> We've had rumblings of a bug in mkfs.axfs that we've been needing to >> track down. > So let's do this! You need my images or profiles? If you can share both, that would be excellent. > >>> Seems like there is something wrong :-) Maybe mapping the XIP >>> sections fails? >>> If I mount the same image after booting the rootfs via nfs it works >>> with the -o physaddr-flag, but I can't umount the image afterwards. >> We have some noisy unmounts, depending on the kernel. When you mount >> after >> booting with nfs, does XIP work? > Yes, works. > > > Regards, > Andre Will Marone |