Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bsdinstaller very slow on mmc/sd cards #5

Closed
AdSchellevis opened this issue Feb 27, 2015 · 1 comment
Closed

bsdinstaller very slow on mmc/sd cards #5

AdSchellevis opened this issue Feb 27, 2015 · 1 comment
Assignees
Labels
feature Adding new functionality
Milestone

Comments

@AdSchellevis
Copy link
Member

When installing on a mmc device, this sometimes takes a very long time ( > 1hour).
The reason for this is that the target device is mounted without the async option, when adding "-o async" to the mount tag in usr/local/share/dfuibe_lua/conf/BSDInstaller.lua the problem is fixed.

Proposed fix: change the default setting for the installer to async.

@AdSchellevis AdSchellevis added the feature Adding new functionality label Feb 27, 2015
@fichtner fichtner added this to the 15.7 milestone Mar 5, 2015
@fichtner fichtner self-assigned this Mar 5, 2015
fichtner added a commit that referenced this issue Mar 14, 2015
Ad pointed out that SD cards can take a very long time to write
due to FreeBSD handling disks `noasync' by default.  While it is
labeled `dangerous', it is fine for the bsdinstaller's use case
as we bootstrap a system and are not overly concerned with data
loss due to sudden power outages.  The final system will still
be `noasync' so the world is still a safe place.
@fichtner
Copy link
Member

Yay, thanks for pointing that out! :)

fichtner added a commit that referenced this issue Oct 28, 2023
… yet"

This reverts commit 80b3a2f.

Breaks everything at the moment:

 [28-Oct-2023 10:34:57 Europe/Berlin] Phalcon\Mvc\Router\Exception: A dependency injection container is required to access the 'request' service in phalcon/Mvc/Router.zep:724
 Stack trace:
 #0 /usr/local/opnsense/mvc/app/config/services.php(106): Phalcon\Mvc\Router->handle('/ui/captiveport...')
 #1 [internal function]: Closure->{closure}()
 #2 [internal function]: Phalcon\Di\Service->resolve(NULL, Object(Phalcon\Di\FactoryDefault))
 #3 [internal function]: Phalcon\Di\Di->get('router', NULL)
 #4 [internal function]: Phalcon\Di\Di->getShared('router')
 #5 /usr/local/opnsense/www/index.php(70): Phalcon\Mvc\Application->handle('/ui/captiveport...')
 #6 {main}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Adding new functionality
Development

No branches or pull requests

2 participants