Opened 6 years ago

Closed 6 years ago

Last modified 3 years ago

#9454 closed defect (fixed)

block-extroot not working on backfire trunk-latest (brcm-2.4)

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:


Tried to build an own image of backfire brcm-2.4 from svn -r 27000 with block-mount and block-extroot enabled. After setting up /etc/config/fstab and /etc/init.d/fstab enable the mount of the external usb drive is not working.

Afaik /lib/functions/

er_load_modules() {
	mkdir -p /tmp/extroot_modules/modules.d
	mkdir -p /tmp/extroot_modules/modules
	ln -sf /etc/modules.d/* /tmp/overlay/etc/modules.d/* /tmp/extroot_modules/modules.d
	ln -sf /lib/modules/*/* /tmp/overlay/lib/modules/*/* /tmp/extroot_modules/modules
    	local modules="$(grep -l '# May be required for rootfs' /tmp/extroot_modules/modules.d/*)"
	cd /tmp/extroot_modules/modules && {
		cat $modules | sed -e 's/^\([^#].*\)/insmod \.\/\1.ko/'| sh 2>&- || :
	rm -rf /tmp/extroot_modules

is causing the problems ...
a) 2.4 kernel modules end with .o and b) additional module parameters in the files mess up the insmod line

Attachments (0)

Change History (3)

comment:1 Changed 6 years ago by F1aw <admin@…>

I have build r27837/brcm-2.4 and changing .ko to .o worked for mounting extroot on /overlay. Doing whole external root (whole_root) still does not work.

comment:2 Changed 6 years ago by jow

  • Resolution set to fixed
  • Status changed from new to closed

The file extension has been fixed with r27964. Whole root is not supposed to work as the corresponding support changes for it have never been backported to backfire.

comment:3 Changed 3 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.