On Mon, 25 Apr 2011 23:15:25 -0000 "OpenWrt" <[email protected]> wrote:
> #7768: block-extroot on WRT54GL (v1.1) SD card (mmc) overlay double
> mount problem
> --------------------------------+-------------------------------------------
> Reporter: lance@… | Owner: cshore Type:
> defect | Status: reopened Priority:
> normal | Milestone: Backfire 10.03.1 Component:
> packages | Version: Backfire 10.03.1 RC1
> Resolution: | Keywords: block-extroot
> response-needed
> --------------------------------+-------------------------------------------
> Changes (by anonymous):
>
> * status: closed => reopened
> * resolution: invalid =>
>
>
> Comment:
>
> I faced the same issue and could now identify why extroot is not
> beeing used at preinit state.
> But I don't know whether there is a problem in the code or in my
> config.
>
> I used the last rev r26741. I was always wondering why the extroot
> was not used and I always recieved the message:
> {{{
> sdcard - Card detected and initialized
> switching to jffs2
> mini_fo: using base directory: /
> mini_fo: using storage directory: /overlay
> - init -
> }}}
> With the result that my SD card was mounted later on to /overlay.
>
> After I figured out that the file "50_determine_usb_root" from the
> package "block-extroot" would need set the var
> "pi_extroot_mount_success" to "true" in order to successfully mount a
> device other than the jffs, I added some debug lines to the file.
>
> I noticed that during the mount process of the file
> "50_determine_usb_root" the ext2 module was still not loaded which
> ended up with jffs is beeing used.
> {{{
> sdcard - Card detected and initialized
> **** /etc/config/fstab before load
> ***
> Module Size Used by Not tainted
> sdhc 20576 0
> switch-robo 5724 0
> switch-core 5104 0 switch-robo
> diag 57968 0
> ***
> *** pi_extroot_mount_success= ***
> switching to jffs2
> mini_fo: using base directory: /
>
> mini_fo: using storage directory: /overlay
>
> - init -
> }}}
> So simply "insmod ext2" fixed my problem, but don't think this is on
> purpose. I could not figured out where the modules for preinit will
> be loaded.
>
Sorry for not getting back to you sooner. I think what happened is the
autoload of ext2/3 got lost in the openwrt config when ext2/3 was
removed in favour of ext4 and wasn't brought back when ext2/3 was
brought back because some people needed it. ext4 is preferred (without
journalling it's faster than ext2 with journalling it's safer than
ext3).
Regards,
Daniel
--
<erno> hm. I've lost a machine.. literally _lost_. it responds to ping,
it works completely, I just can't figure out where in my apartment it
is. GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org
signature.asc
Description: PGP signature
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
