Modify

Opened 5 years ago

Last modified 5 years ago

#13693 new defect

usbmode switch to late for extroot pivot

Reported by: patrick@… Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: base system Version: Trunk
Keywords: extroot pivot usbmode Cc:

Description

I have a problem with my tp link mr3040 in connection with a huawei 3g stick with a 32gb microSD card: the usbmode is switched after the extroot overlay was mounted. This causes in a corrupted boot with several ext4 inode read errors and a readonly mount when the usbmode is finaly switched.

It has to be this race condition, because if I reboot, the usbmode seems not to be need switched and everythink is alright.

My first attempt this was to disable the usbmode hotplug.d entry and manually switch usbmode as early as possible at boot. rc.d ist already to late and in lib/preinit new entries are ignored (maybe because the flash overlay is not mounted there yet?)

I think this setup is not that exotic that this issue is worth to be fixed. A quick hotfix is also welcome :)

I'm using the current trunk OpenWrt Barrier Breaker r36920

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by anonymous

No one?

comment:2 Changed 5 years ago by anonymous

Any news on this? I'm experiencing the same issue but haven't got enough knowledge to fix it by myself...

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.