[question:loadbalancer] Multiple SSL certificates for Multiple Domains

Rancher Version: v1.0.1
Docker Version: 1.10.3
OS and where are the hosts located? : Ubuntu 14.04 / bare metal
Setup Details: Single Node Rancher, external DB
Environment Type: Cattle
Question:
Let's suppose following setup:

How would a setup for the Loadbalancer look like, if I would like to serve several different applications, accessible by different domains via HTTPS.
I've searched a lot in the internet, but I couldn't find a solution, that would fit the needs.
Thanks in advance,
René

I've shied from the built-in Load Balancer in this use case... it's basically just a UI around HAProxy, so you could bake your own. Though, you don't get the pretty UI and graphs. Also there's #2179 which aims to refactor the LB, anyway. You may want to provide input there but use your own HAProxy implementation in the meantime. I'm using https://github.com/BradJonesLLC/docker-haproxy-letsencrypt which rolls in Let's Encrypt and dnsmasq, too.

Thanks for your input!
Do you want to share how you do dynamic configuration of your domains & service discovery when your applications shift nodes upon restart/scaling?

@create-renegr you can have it "build in" in rancher. Use a rancher lb like this rancher.com/virtual-host-routing-using-rancher-load-balancer/
and then add the letsencrypt catalog from the community marketplace. You will then be able to simply select the needed certificates in the lb setup - since the certificates are then part of "ranches certificate store" very neat!
I think seperating letsencrypt and the lb makes a lot of sense, having rancher, thats even very convinient.

@create-renegr Please re-open if you have further questions, but the Rancher load balancer supports L7 load balancing.
http://docs.rancher.com/rancher/latest/en/cattle/adding-load-balancers/#advanced-routing-options
http://docs.rancher.com/rancher/latest/en/cattle/adding-load-balancers/#advanced-load-balancing-l7


Problem with control of some accessories

Hi,
here is my environment:
Z-Wave Controller:
Raspberry Pi 2
razberry Controller
z-way server 2.2.1 rc6
HomeKit Bridge:
Raspberry Pi 2
Homebridge
homekit-zway-plugin
HomeKitBridge zway-plugin connected to z-wave controller successfully.
iPhone HomeKit App paired successfully to HomeKitBridge and all accessories are shown.
z-way server has some accessories included:
Figaro Wall-Plug
Figaro Roller Shutter
Figaro Dimmer
Each accessory can be controlled correctly from the z-way UI.
But the problem is, the only accessory which i can control with iOS HomeKit App is the Fibaro Wall-Plug.
The Dimmer and Roller Shutter only shows the actually state, but when trying to change value, it doesn´t change.
What can i do? Which information do you exactly need for help? (did´t know what exactly is meant in readme.)

Hello,
I need a copy of your devices output. You'll need to login to the Z-Way standard UI--e.g. at http://your.pi.i.p:8083/, and then from that same browser window hit http://your.pi.i.p:8083/ZAutomation/api/v1/devices (replacing your.pi.i.p with your device's IP address of course), and attach or post the contents here.
Funny, the dimmer definitely should have worked, but I have no roller shutters, so I probably need to make some changes to get that to work.

Thanks!
So, here I attached the devices.
1.Fibar Group Switch 2-0 -> works (Fibar Wall-Plug)
2.Switch 3-0 Everspring -> not working (Fibar Roller Shutter, weird because titel is named "Evererspring", but it is really the Fibar Roller Shutter)
3. Fibar Group Dimmer (15.0) -> not working (Fibar Dimmer Switch)
Hope this iformation will help with the problem.
btw: where can i find the "/accessories" from HomeBrige instance? is this useful too?
devices.txt

Hmm.
Everything here looks correct. Can you try something for me: the way homebridge-zway controls accessories is to call the URLs defined in the Z-Way server API. If those are working, then the problem is in my code. If they don't work, then there's some problem on the Z-Way side...or they have changed something in rc6.
Try this: after logging into the Z-Way web UI--like you did to get the devices file--in the same browser, hit this URL:
http://longsword.local:8083/ZAutomation/api/v1/devices/ZWayVDev_zway_3-0-37/command/on

or
http://longsword.local:8083/ZAutomation/api/v1/devices/ZWayVDev_zway_3-0-37/command/off

Does that raise and lower your window shutters?
Or, do these:
http://longsword.local:8083/ZAutomation/api/v1/devices/ZWayVDev_zway_15-0-38/command/on
http://longsword.local:8083/ZAutomation/api/v1/devices/ZWayVDev_zway_15-0-38/command/off

Turn on and off the dimmer?
If those don't work, did you get any error text in the browser window? If they do work, let me know and I'll give you the next troubleshooting steps.

Hi,
i tried the commands, and every command works.
As i edited my post, now its working also with the home kit app and siri. :)
So, i have no idea, why it is working now. only think i have done again was a device interview for both devices.

Hmm. Okay, we'll leave this open for a bit--in case it acts up again we can troubleshoot further. But good news!

It would be interesting to se your device list now after new Interview of your shutter to see if it has changed from a switchbinary to something else. Can you upload your device list again?

I've got a similar issue after upgrading to 0.4.0 and ZWay 2.2.2. My dimmers don't have any controls (on/off or dimming), only switches (binary lights) work. Using the direct URL hit works (as described above). Any suggestions?

@Fingerz Your problem is that you've upgraded to Z-Way 2.2.2. They changed one little field--probeType--in 2.2.2 but they changed it on a BUNCH of device types, if not all of them. 😡 Looks like it's time for me to upgrade and royally break myself just so I can see what all the heck they did.

What version of ZWay should I roll back to until you’ve had time to implement a workaround? I was on 2.2.0 before…is 2.2.1 safe? Is their version roll back process reliable or am I hosed?

On Apr 18, 2016, at 8:59 AM, SphtKr<EMAIL_ADDRESS>wrote:
@Fingerz https://github.com/Fingerz Your problem is that you've upgraded to Z-Way 2.2.2. They changed one little field--probeType--in 2.2.2 but they changed it on a BUNCH of device types, if not all of them. 😡 Looks like it's time for me to upgrade and royally break myself just so I can see what all the heck they did.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub https://github.com/SphtKr/homebridge-zway/issues/13#issuecomment-211200423

Update: as expected rolling back to ZWay v2.2.1 has resolved the issues I was having.

Great! Glad to hear it, but of course I do intend to support those changes in 2.2.2 soon. And the way I handle those, it should be backwards compatible so you won't have to switch to 2.2.2 immediately after I release 0.5.0.

Closing as it appears this issue resolved and did not recur.


valid/datetime/milliseconds nanosecond precision

The current test gives:
1987-07-05T17:45:56.6Z

and expects:
1987-07-05T17:45:56.600000Z

I expected nanosecond precision to be preserved and survive a round time without the value changing.
Should this behavior be enforced by toml-test or left as a implementation detail for the user to decide?

I expected nanosecond precision to be preserved and survive a round time without the value changing.

.6Z and .600000Z are equivalent, right? Although the trailing zeros are a bit funky and probably shouldn't be there. Or am I not understanding how this works?

I expected nanosecond precision to be preserved and survive a round time without the value changing.

.6Z and .600000Z are equivalent, right? Although the trailing zeros are a bit funky and probably shouldn't be there. Or am I not understanding how this works?

Not necessarily, it's a fine distinction that concerns the precision of the timekeeping device. If .6Z is treated as equivalent to .600000Z, this implies that the timekeeping device used for the timestamp is limited only to precision up to tenths of a second when in fact it measures to 10^-6 s.

Thanks @jidicula for reminding me of what the spec says.
@arp242,
I agree...this feels like a trick question.  :wink:  Why am I hesitant to agree that .6 and .600000 are equivalent??  It's a fraction of a second, so 6 tenths of a second.  They're equal.  I think my brain is working properly.
My question is whether the toml-test suite should fail on something the spec says is implementation dependent.  How can we avoid false negatives?

Why am I hesitant to agree that .6 and .600000 are equivalent?? It's a fraction of a second, so 6 tenths of a second. They're equal. I think my brain is working properly.

I was confused about this as well. It's because "6" and "60" aren't the same when talking about seconds, minutes, or hours, so you're using two different notations. Also it's mixing base-60, base-10, and base-24 for double the fun.

My question is whether the toml-test suite should fail on something the spec says is implementation dependent. How can we avoid false negatives?

Yes, I thought about this yesterday too; but couldn't really come up with a good answer. My best is a tests/valid/optional directory (or something to that effect) and put all the implementation-defined and/or optional stuff in there, and possibly skip it by default too (but how do you enable it then?) Not entirely sure yet.
At the very least this test should be split in to two tests, so it's testing one thing per test.

I ended up just truncating these tests to millisecond precision; there's no telling what an implementation supports, and mucking about with an "optional" test directory gets pretty complicated when you consider all the different permutations.
Instead, I documented it in the README as "implementation-defined behaviour". There could perhaps be some other things in that section as well.


Add CRI proxy documentation

This change is

Reviewed 5 of 5 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Retry http request when unexpected error occurs

What will this PR change?

implement https://github.com/google/google-auth-library-ruby/issues/89

retry when request failed or timeout in GCECredentials#fetch_access_token and UserRefreshCredentials#revoke!
when give up retrying, raise Signet::AuthorizationError with the string of original_error.inpsect

@googlebot I signed it!

@blowmage
Could you review this? I implemented for this issue https://github.com/google/google-auth-library-ruby/issues/89 which you wrote.

@blowmage
Thank you fore your feedback. I fixed retry_with_error method and squashed into 960cac289c398ff2d4527ce8daa6ce1068595ea0 .
Travis CI job was failed for rubocop error, but I confirmed all specs were passed in my env(ruby 2.3.3p222).

@serihiro Thanks for submitting this PR.
Our team has recently taken over the ownership of this repository, and I'm in process of triaging the PRs and issues. I'll merge this PR once you can fix the rubocop violations.

Coverage increased (+0.03%) to 98.443% when pulling 227ba09a7ee993fdfb9c891603305963fee56d3c on serihiro:retry-request-with-unexpected-error into 0f7fe1ea91c1270a6d63a81852943d7a0f1ee594 on google:master.

@hxiong388
I fixed rubocop violations and rebased master branch.
Could you check this again?

@serihiro Thanks! Looks great.


support: C implicitCast

Codecov Report

Merging #109 (035e687) into main (4ee6443) will increase coverage by 0.03%.
The diff coverage is 90.90%.

@@            Coverage Diff             @@
##             main     #109      +/-   ##
==========================================
+ Coverage   93.87%   93.91%   +0.03%
==========================================
  Files          14       14
  Lines        5580     5583       +3
==========================================
+ Hits         5238     5243       +5
+ Misses        263      261       -2
  Partials       79       79

Impacted Files
Coverage Δ

template.go
81.55% <80.00%> (+0.11%)
:arrow_up:

ast.go
94.27% <100.00%> (+0.27%)
:arrow_up:

package.go
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4ee6443...035e687. Read the comment docs.


iOS string encoding produces plain-text duplicate

Description
The string-encoding pass removes or encodes strings in a binary. We have it working on x86 Linux and arm64 macOS. When we run it with triple arm64-apple-ios, however, it appears to produce a wrapped version of the encoded string by accident.
How to reproduce the issue

Check out main, configure a build and run ninja check
It will report passes/strings-encoding/basic-aarch64.cpp as "Expectedly Failed"
Run the test in isolation: bin/llvm-lit -a --filter=basic-aarch64 test. The output will be something like this:

o-mvll/src/test/passes/strings-encoding/basic-aarch64.cpp:29:24: error: CHECK-REPLACED-NOT: excluded string found in input
// CHECK-REPLACED-NOT: [[FILE_NAME]]
                       ^
<stdin>:33:3: note: found here
l_o-mvll/src/test/passes/strings-encoding/basic-aarch64.cpp:.str.2
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<stdin>:33:3: note: with "FILE_NAME" equal to "o-mvll/src/test/passes/strings-encoding/basic-aarch64\\.cpp"
l_o-mvll/src/test/passes/strings-encoding/basic-aarch64.cpp:.str.2
  ^

O-MVLL Python Configuration
https://github.com/open-obfuscator/o-mvll/blob/9ce24ea838970558fbff1549e5a3fe1a1299866d/src/test/passes/strings-encoding/config_replace.py
Environment

Host: x86 Linux or arm64 macOS
Target: arm64-apple-ios
O-MVLL Version: 9ce24ea838970558fbff1549e5a3fe1a1299866d (current mainline)
Compilation of O-MVLL: https://github.com/build38/o-mvll/actions/runs/5487732701/jobs/9999593479

Additional context
It cannot be reproduce on x86 macOS right now, because clang crashes for a different reason before.

Thanks to @antoniofrighetto for fixing the target triples in the iOS tests https://github.com/open-obfuscator/o-mvll/pull/19, which revealed this issue!


Need USDT - OMNI core

As you know, USDT works on the OMNI blockchain - hence the requirement: how to tie OmniCore to our exchange?
here is a link to the wallet https://github.com/OmniLayer/omnicore/releases
http://www.omnilayer.org/download.html
If I already have BTC installed will it be easier to connect USDT?

@diakas Add another RPC call page and make it request using that page instead of RPC 1.0 RPC.

You could do this with every coin etc Cryptonote and such.

Hi @ExchangeTime , can you write in more details? :) Im also get error when trying add cryptonote coin "ERROR [daemon] Exception in main! unrecognised option 'rpcuser'
"

Add another RPC call page and make it request using that page instead of RPC 1.0 RPC.

@blacklevel7 RPC page. Make another and write a script that choose what RPC calls to use depending on coin.

@ExchangeTime im intersted in cryptonote addition on this exchange, can you do that?

@altcoin-services Mail me at<EMAIL_ADDRESS>about your offering for the job.


Steam library extension requiring authentification when API key is used

Short description:
Playnite requires extra steam authentification despite added API key
Expected behaviour:
No extra authentification should be required
Detailed description:
I have set up playnite to use the steam API key to log into steam. However, every now and then playnite notifies me that I have to authenticate my steam account.

No log is generated when clicking on that notification.
Now, I wouldn't mind just pressing the button, but Steam flagged my account as stolen because playnite needed authentification while I had it open on my desktop. That is a huge issue and steam accounts can be suspended for this issue.

Please fix this ASAP.
Not trying to be arrogant here, but I really do not want my steam account being suspended due to playnite having the double authentification problem since last year....

If you account has been disabled temporarily, it also means that API access will not work as far as I know, you need to unblock your account.

Steam flagged my account as stolen because playnite needed authentification

I have never seen Steam account being disabled because you logged into your Steam account via Playnite. We've been using this auth process for years now and this is first time somebody had this issue. Authentication process is done the same way as if you logged in via any other browser, there's no difference from Valve's point of view if your login via browser or Playnite. So I'm 99% confident that this is not Playnite's fault.

double authentification problem

There is no double authentication being done in Playnite. You login once to get your Steam ID and then API is always used, even if you don't use your own API key (our "public" key is used instead). After the initial login and successful Steam ID download, there are no other login attempts, just Steam web API calls.

Before my account was flagged, I had this notification pop up multiple times last week.
The plugin success story uses the API key, also (it's stored separately in the extensions settings, so I had playnite configured in two locations to use the API key). Could that be the culprit?
I unfortunately didn't keep track of the time I used playnite last Friday, but I am pretty sure that this happened due to my system logging into steam in different ways (I had to log into the website, playnite complained, and I use the mobile authenticator, too).

False alarm. Got word back from steam support, my account was accessed from some russian IP address.

It would be good to wait for the response from support in the future before going to reddit and spreading panic about how Playnite compromised your account...


German typos

Fixed some typos.

Sieht gut aus!
Shouldn't it also say "URL Seeds" instead of "URL seeds", btw?

Sieht gut aus!
Shouldn't it also say "URL Seeds" instead of "URL seeds", btw?


Disassembly involving overlays can encounter undefined reference to .L...

I am working through updating splat for mp3. (I was almost a year out of date, pre-spimdisasm.)
Mario Party 3 has an overlay setup where there's a small number of core overlays in one location (lets call them A and B) and there are many other (mini-game etc.) overlays in a different location (call them 1, 2, 3). Overlay 1 might have an assumption that overlay A is also in memory, and it is linked such that it accesses functions from A, and never B.
With newer splat, I'm seeing that an overlay like Overlay 1 has asm such that it refers to "hidden" local symbols of B when it should be referring to a global symbol of A.
Ex:
A defines func_800E92D4_FCEF4 (with .globl)
B happens to define .L800E92D4_D10A4
1 has asm that refers to .L800E92D4_D10A4 when it really should be func_800E92D4_FCEF4.
I am getting tons of linker errors like undefined reference to .L800E92D4_D10A4 since the symbol that was chosen for the asm is not visible.
exclusive_ram_id is an interesting feature. It is nice for isolating symbols between overlays 1, 2, 3... for example, but there doesn't seem to be a setting that allows expressing "A is in memory with 1, 3, 4, 5, .." etc. which, if it existed, would likely help generate better asm.
Perhaps a simpler (but maybe sketchy) fix would be to not prefer an .L symbol over one that is visible globally. (Maybe that's more of a spimdisasm issue; not sure where the boundary lies.)
I think today, it just happens that it picks maybe the first symbol from the first segment processed.

@AngheloAlf This might be an issue that we could solve from spimdisasm.
Basically if two overlays define symbols like .L800E92D4_D10A4 and func_800E92D4_FCEF4 to the same VRAM address, and a third overlay refers to that address, the disassembly for that third overlay can end up referring to .L800E92D4_D10A4 which is not visible globally.
If there was some sort of prioritization of the global symbol, that would help unbreak my mp3 decomp.

From what I know the other Mario party 3 decomp repo already fixed this issue by properly setting stuff on the yaml file.
https://github.com/zestydevy/marioparty3

It looks like that repo is setting exclusive_ram_id to the same value for every overlay. That prevents any overlay from seeing symbols from another, which does avoid linker issues. The accuracy of the disassembly is affected by this approach though, as some overlays are supposed to be referencing symbols from others. I think there could be issues with shiftability with this approach.
However, I do seem to be unblocked by using that strategy for the time being, and the shiftability concerns are not an immediate issue for me. It would still be nice if the disassembly for this kind of scenario was improved in the future though.

If you have ideas for a spec that would allow doing what you want, I'm open to it. I see there are limitations with the existing system, but we've tried to keep a balance between flexibility and simplicity that I fear may get out of whack if we start adding all sorts of "this sees that, but not the other" features

@PartyPlanner64 gonna close this since you seemed to have a workaround for your issue, but if you can think of a design that works for what you want and isn't too crazy, feel free to open this back up or a new one and we can discuss.


"Drăguțești", "Cârbești", "Dâmbova", "Iași-Gorj", "Tâlvești", "Urechești" are listed in the drop-down menu

Description:
”Drăguțești”, ”Cârbești”, "Dâmbova", "Iași-Gorj", "Tâlvești", "Urechești" are listed in the drop-down menu alongside their corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 3
Write in the search bar "Cârbești"

Expected results
The location appears in the drop-down menu as "Sat Cârbești, GORJ (Drăguțești)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Dâmbova"

Expected results
The location appears in the drop-down menu as "Sat Dâmbova, GORJ (Drăguțești)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Write in the search bar "Iași-Gorj"

Expected results
The location appears in the drop-down menu as "Sat Iași-Gorj, GORJ (Drăguțești)".

Step 8
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 9
Write in the search bar "Tâlvești"

Expected results
The location appears in the drop-down menu as "Sat Tâlvești, GORJ (Drăguțești)".

Step 10
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 11
Write in the search bar "Urechești"

Expected results
The location appears in the drop-down menu as "Sat Urechești, GORJ (Drăguțești)".


test: add jest roots for less greedy test search

Types of changes

[x] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description

This should save at least 1 second on running tests. By default jest searches for modules/tests on <rootDir>. That is normally pretty ok, but (at least on linux) jest uses the following command to saerch for modules: find <rootDir> -type f -iname *.snap -o -iname *.js -o iname *.json
This is pretty greedy and also searched all examples, all node_modules dirs (main and from examples). So it will find a lot of files, on my machine that takes about 1 second. On circleci that will probably be multiple seconds because find is quite i/o intensive (thats also how I noticed this command was being run because it was showing on iotop for some time).
Also it appears that the time it takes for the find command to run does not count for the total run time that jest reports. Eg if you run the tests like this time yarn test then the time reported by jest and by the time command should be closer to each other now.
Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly. (PR: #)
[ ] I have added tests to cover my changes (if not applicable, please state why)
[ ] All new and existing tests are passing.

LGTM except lint error

Oops! Thanks for the heads-up

Codecov Report

Merging #6300 into dev will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##             dev   #6300   +/-   ##
=====================================
  Coverage   95.7%   95.7%
=====================================
  Files         79      79
  Lines       2652    2652
  Branches     683     683
=====================================
  Hits        2538    2538
  Misses        98      98
  Partials      16      16

Flag
Coverage Δ

#e2e
100% <ø> (ø)
:arrow_up:

#fixtures
50.22% <ø> (ø)
:arrow_up:

#unit
92.3% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3eb1710...d0e5b22. Read the comment docs.


Page keeps loading and after a point of time, the image breaks.

issue
I'm guessing the page keeps loading even after the connection is closed considering this error popping up in the console.

Even if we don't manually stop the reload, eventually it stops and the image breaks.

Hi, thanks for your bug report!
When the page load is manually stopped, since the browser has still not received the end chunk (0\r\n\r\n), it assumes that all the image data has not yet been received and displays the broken image icon. I don't think this can be fixed, since we indefinitely keep sending data and never plan on sending an end chunk.
However, in the case of the image eventually breaking - I've pushed an update (cpp branch) that should hopefully increase the duration of the image load before it times out.


KAFKA-13071; Deprecate support for changing acls through the authorizer

This patch marks the following arguments as deprecated in kafka-acls.sh as documented in KIP-604: --authorizer, --authorizer-properties, and --zk-tls-config-file.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

cc @dajac It would be nice to do this in 3.1 if possible.


How to set keybinding to accept and execute

[x] I have read through the manual page (man fzf)
[x] I have the latest version of fzf
[x] I have searched through the existing issues

Info

OS

[ ] Linux
[x] Mac OS X
[ ] Windows
[ ] Etc.

Shell

[ ] bash
[x] zsh
[ ] fish

Problem / Steps to reproduce
I want to using one keybing to accept the current item and execute the result after fzf paste.
The following example using fzf + fzf-tab.

You should do it in your script. execute bindings are for running external programs without quitting fzf.
output=$(fzf) && echo "Do something with $output"


Camel Route diagram enhancements

This is less an issue, more an enhancement request.
I'm using the Camel route diagram feature which is pretty neat, but I have two requests - just curious on their feasibility

I've got a bunch of routes which all inherit from the same RouteBuilder that defines a common Exception Handler. When the diagrams render of course the value is slightly buried since the exception handle path is repeated each time (often the steps are more than the underlying route itself). Any chance there could be an option to either suppress rendering this, or some how render once and reference out from each route? I guess that might be tough since it isn't a route in it's own right.
What I would find really useful is if as part of my CI project build the routes diagram could be generated as an svg I could embed as part of documentation. Obviously the stats aspect would not be required. Is there an easy way to basically trigger the diagram generation from a script and write to a file. Having googled around Hawtio seems the closest thing to the diagram format I had in mind

Moved to hawtio/hawtio-next#572


Todoist shortcuts don't work with Firefox

Hi,
I've tried using Firefox 61.0.1 with Ubuntu 18.04 with this add-on installed.
However the keyboard shortcuts don't seem to work, not even the single key ones (h,j,k,l).
Iv'e tried the following:

Change my todoist language to English.
Disable every other extension I have.
Refresh Firefox.

It still doesn't work. Any ideas?

Whoah, good catch, I can reproduce the problem.  I wonder how long it's been broken on firefox.  I typically use it with chrome.

I've spent an hour trying to debug this, but it's very puzzling.  Mousetrap's keydown and keyup events are getting called, but the keypress events aren't getting, and that's the one that matters here.
The weirdest thing is that if I put event breakpoints on the keypress events, there are no breakpoints.  If mousetrap doesn't register its handler, then the breakpoint does get invoked.  I noticed that the addEventListener call has been monkeypatched by some lib called raven from https://github.com/getsentry/sentry-javascript .  So my theory is that the monkeypatched function is malfunctioning.
The hack workaround for now is to instead use the keypress event on firefox.  This means no key repeat for firefox users, which can suck for usage of j / k.

Ok, actually miraculously switching the mousetrap bind over to use keydown fixed the issue entirely.  Surprisingly, key repeat still functions, which is quite unexpected.  I won't dig into the details of why that's happening, instead just happy to declare victory.

Released as version 19!


Differences between 2.5.0 and 1.2.7

Hello, From the functionality point of view, is there any difference between (geoportal-server-catalog 2.5.0 + geoportal-server-harvester 2.5.0) and geoportal-server 1.2.7?
Are there funcionalities that version 1.2.7 has and 2.5.0 hasn't implemented yet?
Thanks a lot for your attention.
Luis

Yes there are many functions in Geoportal server 1.2.7 that do not exist in catalog/harvester v2.5
All the items "under consideration" in catalog 2.5 release notes are not implemented in v2.5
https://github.com/Esri/geoportal-server-catalog/releases

Correct. We are filling that gap based on priorities we hear from our users like yourselves. On the other hand, 2.5.x does things that 1.2.x cannot do, such as:

faceted search (that is configurable to the index at hand)
handle very large (millions) catalogs with multi-node indexes
handle arbitrary json (we have built indexes for image catalogs and a bunch of ArcGIS Servers in ways 1.2.x can't)
use the ArcGIS JS API-based metadata editor (yes, the same one as in ArcGIS Online/Portal!)
harvest to multiple targets at once
harvest directly from CKAN

to name a few

Yes good points Marten. On behalf of the GeoDiscover Alberta team,  for functions on the "under consideration"  list,  we would like to vote for the following two functions to be implemented next/soon.

Restricted metadata option for some metadata records to be visible only to authenticates users. A boolean restricted yes/no flag for each record would be sufficient.
Approved or Review status flag for each record.
Thanks.

Both of them have been implemented.


Riak Control errors

It seems that when I modify appconfig.pp in order to launch the Riak Control it sets by default on the app.config file
    riak_control => {
      enabled  => true,
      auth     => '__atom_userlist',
      userlist => ['__tuple', 'user', 'pass'],
      admin    => true
    },

but this makes riak control fail with a error 500
Internal Server Error

The server encountered an error while processing this request:
{error,function_clause,
       [{proplists,get_value,
                   ["user",{"user","pass"},undefined],
                   [{file,"proplists.erl"},{line,222}]},
        {riak_control_security,valid_userpass,3,
                               [{file,"src/riak_control_security.erl"},
                                {line,127}]},
        {riak_control_security,enforce_user_pass,5,
                               [{file,"src/riak_control_security.erl"},
                                {line,115}]},
        {webmachine_resource,resource_call,3,
                             [{file,"src/webmachine_resource.erl"},
                              {line,183}]},
        {webmachine_resource,do,3,
                             [{file,"src/webmachine_resource.erl"},
                              {line,141}]},
        {webmachine_decision_core,resource_call,1,
                                  [{file,"src/webmachine_decision_core.erl"},
                                   {line,48}]},
        {webmachine_decision_core,decision,1,
                                  [{file,"src/webmachine_decision_core.erl"},
                                   {line,209}]},
        {webmachine_decision_core,handle_request,2,
                                  [{file,"src/webmachine_decision_core.erl"},
                                   {line,33}]}]}

The correct form of the riak_control section is

 {riak_control, [
                {enabled, true},
                {auth, userlist},
                {userlist, [{"user", "pass"}
                           ]},
                {admin, true}
        ]},

I'm closing this issue because the code has been refactored such that the impacted code no longer exists. I haven't tested it, but you should be able to enable riak control with something like the following syntax in the new version, which will install Riak 2.
class { '::riak':
  settings       => {
    'riak_control' => 'on',
  },
}

If that doesn't work for you we'll add a test case and fix it, just re-open the issue.


Parameter verification in API

Need to verify JSON sent in with PUT operations are valid. For instance a flex up operation needs to verify that the profile name sent with the PUT exists.

work started

This is complete in a feature branch on my github.
https://github.com/klucar/myriad/tree/issue_78
its a branch off the dashboard work I did because there were a lot of web service changes there. I'll submit a PR once the dashboard changes have been merged.

are we ready for this now?  dashboard is merged.

Yeah, I can pull the latest and submit a PR.

I merged easy enough, but while testing an invalid parameter, it is getting an NPE in the server, not just an invalid request response. I'll have to spend more time digging in tomorrow and gasp write a unit test for it.


My NFTs

Display all "My NFTs" in one page
Only those in localstorage, as a first phase
(old "NFT list multi collection multi chain" title)

done, in alpha


background to small for "play more" text.

Sometime MoE has not enough data to display the needed values.
in calcBattlePercents you replace the missing values with set config.i18n['NaN'], which shows the  "play more" info.
when this happens some of the predefined background sizes are too small. It works fine when the values are there, but not with the NaN replacement-text.
if you need more infos or a screenshot feel free to drop me a line.

Oh, try fix in next version. Thx

returned NaN

It returns NaN, right, and NaN will be replaced with the specified translation for it. i my case with "play more". And this text still doesnt fit into the background. The total text goes over the right side of the background.


Emulator subscription to an application

User story: As a player, I want an emulator to be able to subscribe to commands from an application, so that application will allow me to control tank movements.
Acceptance criteria:

emulator can subscribe to comments published by the Android application
tank can interpret and follow these commands

This issue was suppsed to be closed by pull request #29


Polkadot collection metadata is wrong on kodadot

What happened?
in collection 7 on AHP my collection metadata is wrong, wrong description
original metadata https://nftstorage.link/ipfs/bafkreia6ic7hcz76fcpsz3mgt7rkrmzc3um6twjkpmtghyalzk4hq3w5qm

Please reproduce in steps
Metadata is wrong and maybe a indexer issue
Expected Behavior
wrong metadata
What browsers are you seeing the problem on?
Chrome
At which address did you encounter bug?
kodadot.xyz
Are you logged in?
Yes
Which wallet you are using?
PolkadotJS
Screenshots

Relevant log output
No response
Payment link for reward
https://kodadot.xyz/ahp/transfer?target=1HzwKkNGv4gdWq4ds1C5k63u8hvmjC6ULneAaZbwUBZEauF&usdamount=0
Code of Conduct

[X] I agree to follow this project's Code of Conduct

query MyQuery {
  collectionEntityById(id: "7") {
    id
    max
    name
    meta {
      description
      id
      image
      name
    }
    metadata
  }
}

{
  "data": {
    "collectionEntityById": {
      "id": "7",
      "max": 3000,
      "name": "Polkadot Punks",
      "meta": {
        "description": "Polkadot Punks are the first ever nft collection to be Minted on Polkadot Network over 10,000 items will be minted in the collection",
        "id": "ipfs://bafkreifp2ujcb5h53v5rlfaztgde37puycetgrkdytt4mawbwbhewtv3da",
        "image": "ipfs://bafkreiegheqozgetcwlnrwbnlse3e4lriot7ywkvg5jhhbptazhdkwqnp4",
        "name": "Polkadot Punks"
      },
      "metadata": "ipfs://bafkreia6ic7hcz76fcpsz3mgt7rkrmzc3um6twjkpmtghyalzk4hq3w5qm"
    }
  }
}

relevant log output
processing.log

Looks like the metadata is not propagated or something


Nice board!

What are your plans for it? I would be interested in reselling via my OpenEnergyMonitor webshop. We use the RFM69CW modules to communicate between our energy and environmental monitoring units e.g. emonTx, emonTH, emonPi etc.

Thank you for your interest! This is the gateway/receiving end for our wireless sensor nodes. The gateway is plugged into a host computer such as a Raspberry Pi which runs our home automation system - Rosetta Home. One of the many features of the system is that it aggregates all incoming wireless data from the sensor nodes which can then be used for monitoring, long-term studies or automation uses. Our project is open-source; you can use the information we provide to assemble your own boards and setup the network, but we're not at the commercial/mass-production stage yet. Would be interested in talking further about it though - it appears that your project has a lot of overlap with ours.

Sounds, great. Let me know when your in production.


Allow email attachment mime type definition

Update email gateway to allow the attachment mime type to be pre defined.
The php finfo_file is not always accurate, and is at times unable to determine csv types, and similar text types, giving them plain text types. For remote files such as those generated using Content Type Mappings there is also no extension. The only way to properly attach these files is by allowing the developer to set a mime type attribute.
PS. before merging kindly confirm that it does not have any adverse effect on anything else, I don't think so as the other pre-defined mime types should trigger the description.

I do not see why it could break. Also very aligned with discussion in https://github.com/symphonycms/symphony-2/issues/1821

Nor do I. It looks pretty straightforward, so I am not afraid of merging it.


Adding SSO support to rdflib-neo4j library

We are in the process of adding Neo4J in our Data Processing pipelines and started using reflib-neo4j library. As part of our organisation policies, our pipeline can only talk to Neo4J instances vis Single Sign On(SSO) using Non Personal Account(NPA).
It seems SSO support is not added to the library and we were in touch with Nicolas Mervaillie and advised to report here.
Could you please review this and help us to have the SSO functionality in rdflib-neo4j library.
Please let us know if you need any further details.

What we were thinking is to add the possibility to pass the driver, instead of configuring the driver inside the store. In this way we can have the maximum flexibility. Let us know if this solution is suitable for you

Thank you for started looking into this. As long as we can able to authenticate via sso and also normal user/passwd, we are good.


[azservicebus] Receive 'prefetched' messages, even on error

This is a bit of an investigation, mostly just to see if this can happen (and if so, make sure we handle it).
The scenario is:

ReceiveMessages() is called
While we're waiting the link detaches (which comes back as an error from amqpLink.Receive()

What I'm wondering about is if it's possible for there to be messages stored in the internal channel of go-amqp if Receive() has returned an error.
If this can happen then we need to amend the current ReceiveMessages behavior to use the Prefetched() call (similar to how we do in the drain path) before we return. This will give us only the messages stored in the receiver's buffer but not request any new ones.
CC: @jhendrixMSFT

Related investigation in go-amqp: https://github.com/Azure/go-amqp/issues/125

(Note: we've provided this guarantee in azservicebus, but it'd be nice to know it exists directly in go-amqp)

Closing this, as we added code into azservicebus to ensure the net effect is the same.
There's already an issue filed in go-amqp to track more. "Fixing" it there would not break us.


Update business-events-workflow.md

Added section: Templates for work item completion in Microsoft Flow

@sericks007


Network: Validation scenarios, hostname

IP validation scenarios
Gateway validation scenarios & netmask validation scenarios
hostname testing
DNS testing

@prkatti1 please use this task to complete the remaining

This is addressed @ https://gerrit.openbmc-project.xyz/c/openbmc/openbmc-test-automation/+/23864

Code merged


Don't fail the build if verification fails against a pending pact.

Fixes #51
I'm not sure how to properly handle this with MUnit tests. I also need to verify this fix.

Examples of test output.
MUnit
pact4s.munit.PendingPactVerificationTestSuite:
  + pending pact failure should be skipped 0.275s
[info] Passed: Total 1, Failed 0, Errors 0, Passed 1
[success] Total time: 5 s, completed Sep 11, 2021, 5:28:05 PM

Looks like MUnit doesn't log anything when a test is skipped, just marks it as passed. Maybe this is a common/okay expectation for that library? If not, we could add some logs ourselves, but it seems strange that the library wouldn't do that itself.
Scalatest
[info] PendingPactVerificationTestSuite:
[info] pending pact failure
[info] - should be skipped !!! CANCELED !!!
[info]   Verification failed [PENDING]: "description" (PendingPactVerificationTestSuite.scala:6)
[info] Run completed in 3 seconds, 86 milliseconds.
[info] Total number of tests run: 0
[info] Suites: completed 1, aborted 0
[info] Tests: succeeded 0, failed 0, canceled 1, ignored 0, pending 0
[info] No tests were executed.
[success] Total time: 8 s, completed Sep 11, 2021, 5:28:38 PM

Weaver
[info] pact4s.weaver.PendingPactVerificationTestSuite
[info] - pending pact failure should be skipped 253ms !!! CANCELLED !!!
[info]   Verification failed [PENDING]: "description" (PendingPactVerificationTestSuite.scala:7)
[info] Passed: Total 0, Failed 0, Errors 0, Passed 0, Canceled 1
[success] Total time: 9 s, completed Sep 11, 2021, 5:33:16 PM


chore: Add coverage and test watch script

Issue
{#15}
Description
Add testing coverage and watcher
Changes Summary

[x] Added coverage to Jest tests
[x] Added test:watch script
[x] Fixed current existing test cases

Attachments

Remember add
Closes #15


StartReplayBuffer()/StartRecording() not working.

Hey
im not sure why but the StartReplayBuffer() and StartRecording() functions are not doing anything in my application. The IsConnected Event gets triggered though so i guess it is connected just fine.
Any Suggestions are apreciated.
attached is the whole code of my class. I use StartRecording in private static void setScene();
OBS Supporter.txt

Closing this issue as it's over 1 year old. If issue still exists, please reopen


Unable to open '/frameworks/locale/.../MyApplication.mxml'

I'm farther along but I've now encountered an error after import of a previous project.
The problems view has this error:

/SDKs/Flex_SDK/Flex_4.16.1_AIR_32.0/frameworks/locale/Users/user/Documents/projects/MyProject/src/MyApplication.mxml'. /Users/user/Downloads/SDKs/Flex_SDK/Flex_4.16.1_AIR_32.0/frameworks/air-config.xml (line: 85)

air-config.xml line 85 is the last entry here:
  <!-- List of SWC files or directories that contain SWC files. -->
  <library-path>
     <path-element>libs</path-element>
     <path-element>libs/mx</path-element>
     <path-element>libs/air</path-element>
     <path-element>libs/air</path-element>
     <path-element>locale/{locale}</path-element>
  </library-path>

And my asconfig.json is:
{
"compilerOptions": {
	"output": "bin-debug/MyApplication.swf",
	"accessible": false,
	"source-path": [
		"src"
	],
	"library-path": [
		"libs"
	]
},
"files": [
	"src/MyApplication.mxml"
],
"application": "src/MyApplication-app.xml",
"copySourcePathAssets": true,
"additionalOptions": "-locale en_US",
"airOptions": {
	"output": "MyApplication.air",
	"signingOptions": {
		"keystore": "...",
		"storetype": "..."
	}
},
"config": "air"
}

Have you seen this error before?

If I remove the additionalOptions line the error goes away.
"additionalOptions": "-locale en_US",

Hi, I have the same error, but I can't remove locale.
"additionalOptions": "-locale=pt_PT -allow-source-path-overlap=true -source-path=locale/{locale}"

Elapsed time: 0.22642595 seconds
at flex2.compiler.common.CompilerConfiguration.addPathElementToListAsVirtualFile(CompilerConfiguration.java:231)
at flex2.compiler.common.CompilerConfiguration.expandLocaleToken(CompilerConfiguration.java:197)
at flex2.compiler.common.CompilerConfiguration.expandTokens(CompilerConfiguration.java:125)
at flex2.compiler.common.CompilerConfiguration.cfgSourcePath(CompilerConfiguration.java:1904)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at flex2.compiler.config.ConfigurationBuffer.commitVariable(ConfigurationBuffer.java:695)
at flex2.compiler.config.ConfigurationBuffer.commit(ConfigurationBuffer.java:644)
at flex2.tools.Mxmlc.processConfiguration(Mxmlc.java:706)
at flex2.tools.Mxmlc.processConfiguration(Mxmlc.java:559)
at flex2.tools.Fcsh.mxmlc(Fcsh.java:835)
at flex2.tools.Fcsh.process(Fcsh.java:141)
at flex2.tools.Fcsh.main(Fcsh.java:78)
command line: Error: unable to open 'locale/pt_PT'

@joshtynjala can you see closed issues?

at flex2.tools.Fcsh.main(Fcsh.java:78)
command line: Error: unable to open 'locale/pt_PT'

This error seems to be when you are compiling.
It may be related to -source-path=locale/{locale}. You should be using += there because = will remove all other source-path entries.

"additionalOptions" were defined by the auto-import feature from FlashBuilder project.
I changed to "-locale=pt_PT -allow-source-path-overlap=true -source-path+=locale/{locale}" and the result was the same.
I noticed that the output from compiler had 2 dashes -- before each parameter:

(fcsh) mxmlc --debug=false --output=bin-debug/main.swf --accessible=true --source-path+=src --library-path+=libs -locale=pt_PT -allow-source-path-overlap=true -source-path+=locale/{locale} -- src/main.mxml

So I changed asconfig.json also to match:
"--locale=pt_PT --allow-source-path-overlap=true --source-path+=locale/{locale}"
But keeps throwing same error.
Then I had set full path to the locale folder and compiled!
I also tried to remove the '+=' and worked too, I guess is because of the -allow-source-path-overlap=true`
In conclusion, this works for me: -locale=pt_PT -allow-source-path-overlap=true -source-path=C:/app/src/locale/{locale}
I hope it helps you to fix

@devlfm I'm guessing that this might also work, if you prefer a relative path:
-source-path=src/locale/{locale}

Yes it works! thank you josh.. maybe this should be added to documentation to help others that use the auto-import feature.


Error: WebSocket must not subscribe or unsubscribe to topics while iterating its topics!

Hi, with latest release I'm getting: Error: WebSocket must not subscribe or unsubscribe to topics while iterating its topics! which wasn't occurring with v19.x. Is that something to be expected?

JS people are not supposed to get that error because internal function is wrapped to avoid it https://github.com/uNetworking/uWebSockets.js/blob/master/src/WebSocketWrapper.h#L285
But I don't get that error, can you post code to produce it?
require('uWebSockets.js').App()
.get('/',res=>res.end(`<script>ws=new WebSocket('ws://localhost:8080')</script>`))
.ws('/',{open:ws=>{ws.subscribe('123');console.log(ws.getTopics())}})
.listen(8080,s=>{})

Ok I figured it out, I was looking through your public repo and the uWebSocket source code, this error only occurs when you try to unsubscribe from a topic when the websocket is not subscribed to any topics, this code will reproduce:
require('uWebSockets.js').App()
.get('/',res=>res.end(`<script>ws=new WebSocket('ws://localhost:8080')</script>`))
.ws('/',{open:ws=>ws.unsubscribe('123')})
.listen(8080,s=>{})

There needs to be a check added here to fix that: https://github.com/uNetworking/uWebSockets/blob/master/src/WebSocket.h#L252
Side note, I see you are using the websocket Ratelimit code, nice https://github.com/tardis-dev/serum-vial/blob/master/src/minion.ts#L36

@e3dio thank you! I really appreciate it, that's great. Even without a fix I can handle that by simply checking first if socket is already subscribed isSubscribed and only then unsubscribe? I should actually do that anyways I think.
Thanks again!

You can do that for now to prevent error, it's fixed in master branch and the next release will return "false" instead of throwing error for that situation so checking isSubscribed won't be necessary


feat: feature to send strings as index

will save bandwidth when sending many strings that are the same
This works, but requires test and a better way to use it before merging

example use
public static void WriteMission(this NetworkWriter finalWriter, Mission mission)
{
    var writer = finalWriter;
    var stringStore = new StringStore();
    var writer = new NetworkWriter(64_000, true);
    writer.StringStore = stringStore;

    // write large message with lots of strings here
    // ...

    // write strings then large message
    finalWriter.WriteStringStore(stringStore);
    finalWriter.WriteBytesAndSizeSegment(writer.ToArraySegment());
}

public static Mission ReadMission(this NetworkReader finalReader)
{
    // read strings, then set it on the inner reader
    var stringStore = finalReader.ReadStringStore();
    var reader = new NetworkReader();
    reader.Reset(finalReader.ReadBytesAndSizeSegment());
    reader.StringStore = stringStore;

    // read large message, reader will use the stringStore we read above
    // ...
}


Add milkv duo s support

This adds milkv duo s support.
Basically followed the documentation for the duo256 and managed to boot it.
CS/rW%.ST�00ɂ00rBiEP*S��/�0/�0/rPQB*S��/�4/�4/rBQJ
FSBL Jb2829:g4f2dc97a0:2024-06-08T20:06:37+02:00
st_on_reason=d0000
st_off_reason=0
P2S/0x1000/0xc00a400.
SD/0x9400/0x1000/0x1000/0.P2E.
DPS/0xa400/0x2000.
```
SD/0xa400/0x2000/0x2000/0.DPE.
cv181x DDR init.
ddr_param[0]=0x78075562.
pkg_type=1
D2_4_1
DDR3-4G-BGA
Data rate=1866.
DDR BIST PASS
PLLS/OD.
C2S/0xc400/0x9fe00000/0x3600.
[R2TE:. 0/0x3600/0x3600/0.RSC.
 1M.S5/909x0f2a70]0P/r0ex 8s0y0s0t0e0m0 0i/n0ixt1 bd0o0n0e.

RT: [1.605353]CVIRTOS Build Date:Jun  8 2024  (Time :20:06:36)
RT: [1.611267]Post system init done
RT: [1.614583]create cvi task
RT: [1.617399][cvi_spinlock_init] succeess
RT: [1.621302]prvCmdQuRunTask run
SD/0xfa00/0x1b000/0x1b000/0.ME.
L2/0x2aa00.
SD/0x2aa00/0x200/0x200/0.L2/0x414d3342/0xcafef6f7/0x80200000/0x40000/0x40000
COMP/1.
SD/0x2aa00/0x40000/0x40000/0.DCP/0x80200020/0x1000000/0x81900020/0x40000/1.
DCP/0x86578/0.
Loader_2nd loaded.
Switch RTC mode to xtal32k
Jump to monitor at 0x80000000.
OPENSBI: next_addr=0x80200020 arg1=0x80080000
OpenSBI v0.9
   ____                    _____ ____ _____
  / __ \                  / ____|  _ \_   _|
 | |  | |_ __   ___ _ __ | (___ | |_) || |
 | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |
 | |__| | |_) |  __/ | | |____) | |_) || |_
  \____/| .__/ \___|_| |_|_____/|____/_____|
        | |
        |_|

Platform Name             : Milk-V DuoS
Platform Features         : mfdeleg
Platform HART Count       : 1
Platform IPI Device       : clint
Platform Timer Device     : clint
Platform Console Device   : uart8250
Platform HSM Device       : ---
Platform SysReset Device  : ---
Firmware Base             : 0x80000000
Firmware Size             : 132 KB
Runtime SBI Version       : 0.3

Domain0 Name              : root
Domain0 Boot HART         : 0
Domain0 HARTs             : 0*
Domain0 Region00          : 0x0000000074000000-0x000000007400ffff (I)
Domain0 Region01          : 0x0000000080000000-0x000000008003ffff ()
Domain0 Region02          : 0x0000000000000000-0xffffffffffffffff (R,W,X)
Domain0 Next Address      : 0x0000000080200020
Domain0 Next Arg1         : 0x0000000080080000
Domain0 Next Mode         : S-mode
Domain0 SysReset          : yes

Boot HART ID              : 0
Boot HART Domain          : root
Boot HART ISA             : rv64imafdcvsux
Boot HART Features        : scounteren,mcounteren,time
Boot HART PMP Count       : 16
Boot HART PMP Granularity : 4096
Boot HART PMP Address Bits: 38
Boot HART MHPM Count      : 8
Boot HART MHPM Count      : 8
Boot HART MIDELEG         : 0x0000000000000222
Boot HART MEDELEG         : 0x000000000000b109

U-Boot 2021.10 (Jun 08 2024 - 20:06:23 +0200) cvitek_cv181x

DRAM:  510 MiB
gd->relocaddr=0x94f4c000. offset=0x14d4c000
set_rtc_register_for_power
MMC:   cv-sd@4310000: 0, wifi-sd@4320000: 1
Loading Environment from nowhere... OK
In:    serial
Out:   serial
Err:   serial
Net:
Warning: ethernet@4070000 (eth0) using random MAC address - f6:e3:a1:4b:f2:19
eth0: ethernet@4070000
Hit any key to stop autoboot:  0
Boot from SD ...
mmc1 : finished tuning, code:65
switch to partitions #0, OK
mmc0 is current device
17993248 bytes read in 783 ms (21.9 MiB/s)
## Loading kernel from FIT Image at 81800000 ...
   Using 'config-cv1813h_milkv_duos_sd' configuration
   Trying 'kernel-1' kernel subimage
     Description:  kernel
     Type:         Kernel Image
     Compression:  uncompressed
     Data Start:   0x818000e4
     Data Size:    8503808 Bytes = 8.1 MiB
     Architecture: RISC-V
     OS:           Linux
     Load Address: 0x80200000
     Entry Point:  0x80200000
     Hash algo:    crc32
     Hash value:   d11bf6e8
   Verifying Hash Integrity ... crc32+ OK
## Loading ramdisk from FIT Image at 81800000 ...
   Using 'config-cv1813h_milkv_duos_sd' configuration
   Trying 'ramdisk-1' ramdisk subimage
     Description:  ramdisk
     Type:         RAMDisk Image
     Compression:  uncompressed
     Data Start:   0x8201c3c4
     Data Size:    9466612 Bytes = 9 MiB
     Architecture: RISC-V
     OS:           Linux
     Load Address: 0x00000000
     Entry Point:  0x00000000
   Verifying Hash Integrity ... OK
## Loading fdt from FIT Image at 81800000 ...
   Using 'config-cv1813h_milkv_duos_sd' configuration
   Trying 'fdt-1' fdt subimage
     Description:  flat_dt
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x82923758
     Data Size:    20841 Bytes = 20.4 KiB
     Architecture: RISC-V
     Hash algo:    sha256
     Hash value:   d800188ed457ce641261c969732918656352f428c49eb5eb9b4d598162012d93
   Verifying Hash Integrity ... sha256+ OK
   Booting using the fdt blob at 0x82923758
   Loading Kernel Image
   Decompressing 8503808 bytes used 8ms
   Loading Ramdisk to 93cfc000, end 946032f4 ... OK
   Loading Device Tree to<PHONE_NUMBER>cf3000, end<PHONE_NUMBER>cfb168 ... OK

Starting kernel ...

[    0.000000] Linux version 5.10.4 (nixbld@localhost) (riscv64-unknown-linux-gnu-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.41) #1-NixOS PREEMPT Tue Jan 1 00:00:00 UTC 1980
[    0.000000] earlycon: sbi0 at I/O port 0x0 (options '')
[    0.000000] printk: bootconsole [sbi0] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] Initial ramdisk at: 0x(____ptrval____) (9469952 bytes)
[    0.000000] Ion: Ion memory setup at 0x0000000095400000 size 170 MiB
[    0.000000] OF: reserved mem: initialized node ion, compatible id ion-region
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000080000000-0x000000009fdfffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000009fdfffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000009fdfffff]
[    0.000000] On node 0 totalpages: 130560
[    0.000000]   DMA32 zone: 2040 pages used for memmap
[    0.000000]   DMA32 zone: 0 pages reserved
[    0.000000]   DMA32 zone: 130560 pages, LIFO batch:31
[    0.000000] SBI specification v0.3 detected
[    0.000000] SBI implementation ID=0x1 Version=0x9
[    0.000000] SBI v0.2 TIME extension detected
[    0.000000] SBI v0.2 IPI extension detected
[    0.000000] SBI v0.2 RFENCE extension detected
[    0.000000] riscv: ISA extensions acdfimsuv
[    0.000000] riscv: ELF capabilities acdfimv
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 128520
[    0.000000] Kernel command line: init=/nix/store/95xw1bjrbx4xyc4mjhma7nzyrb7b83is-nixos-system-nixos-duo-24.11.20240606.c27234e/init console=ttyS0,115200 earlycon=sbi riscv.fwsz=0x80000 loglevel=9
[    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.000000] Sorting __ex_table...
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 318984K/522240K available (4494K kernel code, 540K rwdata, 3059K rodata, 148K init, 215K bss, 203256K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] 	Trampoline variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] riscv-intc: 64 local interrupts mapped
[    0.000000] plic: interrupt-controller@70000000: mapped 101 interrupts with 1 handlers for 2 contexts.
[    0.000000] random: get_random_bytes called from start_kernel+0x2f4/0x428 with crng_init=0
[    0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
[    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns:<PHONE_NUMBER>46 ns
[    0.000007] sched_clock: 64 bits at 25MHz, resolution 40ns, wraps every<PHONE_NUMBER>100ns
[    0.008402] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=100000)
[    0.019118] pid_max: default: 4096 minimum: 301
[    0.023998] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.031498] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.041276] ASID allocator initialised with 65536 entries
[    0.046962] rcu: Hierarchical SRCU implementation.
[    0.052298] EFI services will not be available.
[    0.057413] devtmpfs: initialized
[    0.067352] early_time_log: do_initcalls: 5159825us
[    0.073109] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>100000 ns
[    0.083150] futex hash table entries: 16 (order: -4, 384 bytes, linear)
[    0.090173] pinctrl core: initialized pinctrl subsystem
[    0.096022] NET: Registered protocol family 16
[    0.100965] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.108269] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.117008] thermal_sys: Registered thermal governor 'step_wise'
[    0.131577] OF: /gpio@03020000/gpio-controller@0: could not find phandle
[    0.144779] OF: /gpio@03021000/gpio-controller@1: could not find phandle
[    0.151771] OF: /gpio@03022000/gpio-controller@2: could not find phandle
[    0.158756] OF: /gpio@03023000/gpio-controller@3: could not find phandle
[    0.165747] OF: /gpio@05021000/gpio-controller@4: could not find phandle
[    0.174365] clk reset: nr_reset=64 resource_size=8
[    0.179827] get audio clk=24576000
[    0.183347] cvitek-i2s-subsys 4108000.i2s_subsys: Set clk_sdma_aud0~3 to 24576000
[    0.205681] dw_dmac 4330000.dma: CVITEK DMA Controller, 8 channels, probe done!
[    0.214055] SCSI subsystem initialized
[    0.218345] usbcore: registered new interface driver usbfs
[    0.224092] usbcore: registered new interface driver hub
[    0.229624] usbcore: registered new device driver usb
[    0.237759] Ion: ion_parse_dt_heap_common: id 0 type 2 name carveout align 1000
[    0.245717] Ion: rmem_ion_device_init: heap carveout base 0x0000000095400000 size 0x000000000aa00000 dev (____ptrval____)
[    0.256988] ion_carveout_heap_create, size=0xaa00000
[    0.262292] cvi_get_rtos_ion_size, rtos ion_size get:0x1600000
[    0.268269] ion_carveout_heap_create, size(exclusion of rtos_ion_size)=0x9400000
[    0.860604] platform carveout: [ion] add heap id 0, type 2, base 0x95400000, size 0xaa00000
[    0.869524] Advanced Linux Sound Architecture Driver Initialized.
[    0.876974] clocksource: Switched to clocksource riscv_clocksource
[    0.885213] NET: Registered protocol family 2
[    0.890594] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.899301] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.907304] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.914744] TCP: Hash tables configured (established 4096 bind 4096)
[    0.921457] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.928221] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.935661] NET: Registered protocol family 1
[    0.940731] RPC: Registered named UNIX socket transport module.
[    0.946850] RPC: Registered udp transport module.
[    0.951726] RPC: Registered tcp transport module.
[    0.956647] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.964743] Unpacking initramfs...
[    1.867900] Freeing initrd memory: 9244K
[    1.872661] Initialise system trusted keyrings
[    1.877455] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[    1.893656] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.900774] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    1.908255] NET: Registered protocol family 38
[    1.912819] Key type asymmetric registered
[    1.917094] Asymmetric key parser 'x509' registered
[    1.927426] cvi_rtos_cmdqu_init
[    1.930856] cvi_rtos_cmdqu_probe start ---
[    1.935041] name=1900000.rtos_cmdqu
[    1.938878] res-reg: start: 0x1900000, end: 0x1900fff, virt-addr(ffffffd005d82000).
[    1.946766] RTOS_CMDQU_INIT
[    1.949691] mbox_reg=(____ptrval____)
[    1.953535] mbox_done_reg=(____ptrval____)
[    1.957835] mailbox_context=(____ptrval____)
[    1.962348] cvi_rtos_cmdqu_probe DONE
[    1.966292] cvi_rtos_cmdqu_init done
[    1.969951] [cvi_spinlock_init] success
[    1.974214] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[    1.982612] printk: console [ttyS0] disabled
[    1.987116] 4140000.serial: ttyS0 at MMIO 0x4140000 (irq = 14, base_baud = 1562500) is a 16[    1.996139] printk: console [ttyS0] enabled
[    1.996139] printk: console [ttyS0] enabled
[    2.004735] printk: bootconsole [sbi0] disabled
[    2.004735] printk: bootconsole [sbi0] disabled
[    2.014857] 4150000.serial: ttyS1 at MMIO 0x4150000 (irq = 15, base_baud = 1562500) is a 16550A
[    2.024618] 4160000.serial: ttyS2 at MMIO 0x4160000 (irq = 16, base_baud = 1562500) is a 16550A
[    2.034379] 4170000.serial: ttyS3 at MMIO 0x4170000 (irq = 17, base_baud = 1562500) is a 16550A
[    2.044151] 41c0000.serial: ttyS4 at MMIO 0x41c0000 (irq = 18, base_baud = 1562500) is a 16550A
[    2.054812] zram: Added device: zram0
[    2.061671] libphy: Fixed MDIO Bus: probed
[    2.066405] bm-dwmac 4070000.ethernet: IRQ eth_wake_irq not found
[    2.072755] bm-dwmac 4070000.ethernet: IRQ eth_lpi not found
[    2.078716] bm-dwmac 4070000.ethernet: Hash table entries set to unexpected value 0
[    2.086762] bm-dwmac 4070000.ethernet: no reset control found
[    2.092958] bm-dwmac 4070000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    2.099888] bm-dwmac 4070000.ethernet: 	DWMAC1000
[    2.104787] bm-dwmac 4070000.ethernet: DMA HW capability register supported
[    2.112005] bm-dwmac 4070000.ethernet: RX Checksum Offload Engine supported
[    2.119222] bm-dwmac 4070000.ethernet: COE Type 2
[    2.124105] bm-dwmac 4070000.ethernet: TX Checksum insertion supported
[    2.130872] bm-dwmac 4070000.ethernet: Normal descriptors
[    2.136476] bm-dwmac 4070000.ethernet: Ring mode enabled
[    2.141988] bm-dwmac 4070000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.149745] bm-dwmac 4070000.ethernet: device MAC address f6:e3:a1:4b:f2:19
[    2.181940] libphy: stmmac: probed
[    2.185723] CVITEK CV182XA stmmac-0:00: attached PHY driver [CVITEK CV182XA] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    2.196797] CVITEK CV182XA stmmac-0:01: attached PHY driver [CVITEK CV182XA] (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[    2.209056] bm-dwmac 4070000.ethernet: Cannot get clk_500m_eth!
[    2.215271] bm-dwmac 4070000.ethernet: Cannot get gate_clk_axi4!
[    2.222481] dwc2 4340000.usb: axi clk installed
[    2.227231] dwc2 4340000.usb: apb clk installed
[    2.231950] dwc2 4340000.usb: 125m clk installed
[    2.236753] dwc2 4340000.usb: 33k clk installed
[    2.241465] dwc2 4340000.usb: 12m clk installed
[    2.246248] dwc2 4340000.usb: EPs: 8, dedicated fifos, 3072 entries in SPRAM
[    2.254083] dwc2 4340000.usb: DWC OTG Controller
[    2.258938] dwc2 4340000.usb: new USB bus registered, assigned bus number 1
[    2.266202] dwc2 4340000.usb: irq 39, io mem 0x04340000
[    2.272493] hub 1-0:1.0: USB hub found
[    2.276489] hub 1-0:1.0: 1 port detected
[    2.282103] usbcore: registered new interface driver usb-storage
[    2.288527] using random self ethernet address
[    2.293170] using random host ethernet address
[    2.298378] usb0: HOST MAC 2a:72:2d:84:39:25
[    2.302961] usb0: MAC ee:6c:18:a3:36:49
[    2.306999] using random self ethernet address
[    2.311629] using random host ethernet address
[    2.316331] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[    2.323205] g_ether gadget: g_ether ready
[    2.327380] dwc2 4340000.usb: bound driver g_ether
[    2.332756] mousedev: PS/2 mouse device common for all mice
[    2.338834] i2c /dev entries driver
[    2.344639] sdhci: Secure Digital Host Controller Interface driver
[    2.351116] sdhci: Copyright(c) Pierre Ossman
[    2.355681] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.361791] cvi:sdhci_cvi_probe
[    2.408993] mmc0: SDHCI controller on 4310000.cv-sd [4310000.cv-sd] using ADMA 64-bit
[    2.417151] cvi_proc_init cvi_host 0x(____ptrval____)
[    2.422564] cvi:sdhci_cvi_probe
[    2.464993] mmc1: SDHCI controller on 4320000.wifi-sd [4320000.wifi-sd] using ADMA 64-bit
[    2.474492] usbcore: registered new interface driver usbhid
[    2.480357] usbhid: USB HID core driver
[    2.485965] cvitek-i2s 4100000.i2s: cvi_i2s_probe
[    2.491532] cvitek-i2s 4130000.i2s: cvi_i2s_probe
[    2.497643] cviteka-adc sound_adc: cviteka_adc_probe, dev name=sound_adc
[    2.512786] cviteka-adc sound_adc: cviteka_adc_probe start devm_snd_soc_register_card
[    2.521341] cvitekaadc 300a100.adc: cvitekaadc_probe
[    2.533687] cviteka-dac sound_dac: cviteka_dac_probe, dev name=sound_dac
[    2.541222] cvitekadac 300a000.dac: cvitekadac_probe
[    2.550720] cvitekadac_probe gpio_is_valid mute_pin_l
[    2.556051] cvitekadac_probe gpio_is_valid mute_pin_r
[    2.567094] NET: Registered protocol family 10
[    2.580709] Segment Routing with IPv6
[    2.585165] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.595227] NET: Registered protocol family 17
[    2.601918] Loading compiled-in X.509 certificates
[    2.611297] random: fast init done
[    2.682350] cviteka-adc sound_adc: cviteka_adc_probe, dev name=sound_adc
[    2.689404] cviteka-adc sound_adc: cviteka_adc_probe start devm_snd_soc_register_card
[    2.718656] cviteka-dac sound_dac: cviteka_dac_probe, dev name=sound_dac
[    2.745604] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    2.759515] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    2.766995] cfg80211: failed to load regulatory.db
[    2.772604] ALSA device list:
[    2.776862] dw-apb-uart 4140000.serial: forbid DMA for kernel console
[    2.785446] Freeing unused kernel memory: 148K
[    2.790167] Kernel memory protection not selected by kernel config.
[    2.796770] Run /init as init process
[    2.800760]   with arguments:
[    2.803962]     /init
[    2.806446]   with environment:
[    2.809834]     HOME=/
[    2.812367]     TERM=linux
[    2.815308] early_time_log: run_init_process: 7907780us

<<< NixOS Stage 1 >>>

running udev...
[    3.393438] stage-1-init: [Thu Jan  1 00:00:03 UTC 1970] running udev...
[    3.517361] mmc0: new ultra high speed SDR104 SDHC card at address 59b4
[    3.533826] mmcblk0: mmc0:59b4 SMI   14.8 GiB
[    3.546373]  mmcblk0: p1 p2
Starting systemd-udevd version 255.6
[    3.605928] stage-1-init: [Thu Jan  1 00:00:03 UTC 1970] Starting systemd-udevd version 255.6
[    4.260232] bm-dwmac 4070000.ethernet end0: renamed from eth0
kbd_mode: KDSKBMODE: Inappropriate ioctl for device
loadkmap: can't open console
starting device mapper and LVM[    4.752724] stage-1-init: [Thu Jan  1 00:00:04 UTC 1970] kbd_mode: KDSKBMODE: Inappropriate ioctl for device
...
[    4.788141] random: lvm: uninitialized urandom read (4 bytes read)
[    4.796203] stage-1-init: [Thu Jan  1 00:00:04 UTC 1970] loadkmap: can't open console
[    4.818571] stage-1-init: [Thu Jan  1 00:00:04 UTC 1970] starting device mapper and LVM...
  Failed to set up async io, using sync io.
[    4.845990] stage-1-init: [Thu Jan  1 00:00:04 UTC 1970] Failed to set up async io, using sync io.
checking /dev/disk/by-label/NIXOS_SD...
fsck (busybox 1.36.1)
[fsck.ext4 (1) -- /mnt-root/] [    4.960116] stage-1-init: [Thu Jan  1 00:00:04 UTC 1970] checking /dev/disk/by-label/NIXOS_SD...
fsck.ext4 -a /dev/disk/by-label/NIXOS_SD
NIXOS_SD: clean, 46105/69696 files, 240175/281270 blocks
[    4.990430] stage-1-init: [Thu Jan  1 00:00:04 UTC 1970] fsck (busybox 1.36.1)
[    5.006627] stage-1-init: [Thu Jan  1 00:00:04 UTC 1970] [fsck.ext4 (1) -- /mnt-root/] fsck.ext4 -a /dev/disk/by-label/NIXOS_SD
[    5.024959] stage-1-init: [Thu Jan  1 00:00:04 UTC 1970] NIXOS_SD: clean, 46105/69696 files, 240175/281270 blocks
mounting /dev/disk/by-label/NIXOS_SD on /...
[    5.078708] stage-1-init: [Thu Jan  1 00:00:04 UTC 1970] mounting /dev/disk/by-label/NIXOS_SD on /...
[    5.118676] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    5.133286] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)

<<< NixOS Stage 2 >>>

[    5.819837] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    5.827890] booting system configuration /nix/store/95xw1bjrbx4xyc4mjhma7nzyrb7b83is-nixos-system-nixos-duo-24.11.20240606.c27234e
running activation script...[    6.085946] stage-2-init: running activation script...

[    6.262543] random: perl: uninitialized urandom read (4 bytes read)
[    6.327128] random: perl: uninitialized urandom read (4 bytes read)
[    7.889591] random: perl: uninitialized urandom read (4 bytes read)
setting up /etc...[    8.029607] stage-2-init: setting up /etc...

[    8.052798] random: perl: uninitialized urandom read (4 bytes read)
[    8.060330] random: perl: uninitialized urandom read (4 bytes read)
[    9.066605] random: crng init done
++ /nix/store/8niyr0c1h9gj9jfrb8[    9.388939] stage-2-init: ++ /nix/store/8niyr0c1h9gj9jfrb8bqcigr1q9zbkrp-util-linux-riscv64-unknown-linux-gnu-2.39.4-bin/bin/findmnt -n -o SOURCE /
bqcigr1q9zbkrp-util-linux-riscv64-unknown-linux-gnu-2.39.4-bin/bin/findmnt -n -o SOURCE /
+ rootPart=/dev/disk/by-label/NIXOS_SD
++ lsblk -npo PKNAME /de[    9.418431] stage-2-init: + rootPart=/dev/disk/by-label/NIXOS_SD
v/disk/by-label/NIXOS_SD
[    9.429244] stage-2-init: ++ lsblk -npo PKNAME /dev/disk/by-label/NIXOS_SD
+ bootDevice=/dev/mmcblk0[    9.453713] stage-2-init: + bootDevice=/dev/mmcblk0

++ lsblk -npo MAJ:MIN /dev/disk/[    9.464819] stage-2-init: ++ lsblk -npo MAJ:MIN /dev/disk/by-label/NIXOS_SD
by-label/NIXOS_SD
++ /nix/store/rvgvgbfswcab5bm3k59gn7s2mvh2s7ds-gawk-riscv64-unknown-linux-gnu-5.2.2/bin/awk -F: '{print $2}'
[    9.487330] stage-2-init: ++ /nix/store/rvgvgbfswcab5bm3k59gn7s2mvh2s7ds-gawk-riscv64-unknown-linux-gnu-5.2.2/bin/awk -F: '{print $2}'
+ partNum='2  '[    9.539168] stage-2-init: + partNum='2  '

+ echo ,+,
+ sfdisk -N2 --no-reread /dev/[    9.548770] stage-2-init: + echo ,+,
mmcblk0
[    9.555095] stage-2-init: + sfdisk -N2 --no-reread /dev/mmcblk0
Disk /dev/mmcblk0: 14.8 GiB, 158[   10.177458] stage-2-init: Disk /dev/mmcblk0: 14.8 GiB,<PHONE_NUMBER>0 bytes, 31037440 sectors
91169280 bytes, 31037440 sectors[   10.189424] stage-2-init: Units: sectors of 1 * 512 = 512 bytes

Units: sectors of 1 * 512 = 51[   10.197838] stage-2-init: Sector size (logical/physical): 512 bytes / 512 bytes
2 bytes
Sector size (logical/ph[   10.208452] stage-2-init: I/O size (minimum/optimal): 512 bytes / 512 bytes
ysical): 512 bytes / 512 bytes
[   10.218260] stage-2-init: Disklabel type: dos
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel typ[   10.227940] stage-2-init: Disk identifier: 0x2178694e
e: dos
Disk identifier: 0x21786[   10.238281] stage-2-init: Old situation:
94e

Old situation:

Device [   10.245707] stage-2-init: Device         Boot  Start     End Sectors  Size Id Type
        Boot  Start     End Sect[   10.254779] stage-2-init: /dev/mmcblk0p1       16384  147455  131072   64M  b W95 FAT32
ors  Size Id Type
/dev/mmcblk0p[   10.266063] stage-2-init: /dev/mmcblk0p2 *<PHONE_NUMBER>615 2250160  1.1G 83 Linux
1       16384  147455  131072   [   10.276961] stage-2-init: /dev/mmcblk0p2:
64M  b W95 FAT32
/dev/mmcblk0p2[   10.284387] stage-2-init: New situation:
 *<PHONE_NUMBER>615 2250160  1.[   10.290354] stage-2-init: Disklabel type: dos
1G 83 Linux

[   10.298290] stage-2-init: Disk identifier: 0x2178694e

New situation:
Disklabel type:[   10.307070] stage-2-init: Device         Boot  Start      End  Sectors  Size Id Type
 dos
Disk identifier: 0x2178694[   10.317892] stage-2-init: /dev/mmcblk0p1       16384   147455   131072   64M  b W95 FAT32
e

Device         Boot  Start [   10.328199] stage-2-init: /dev/mmcblk0p2 *<PHONE_NUMBER>7439 30889984 14.7G 83 Linux
[   10.340276] stage-2-init: The partition table has been altered.

/dev/mmcblk0p1       16384   14[   10.348500] stage-2-init: Calling ioctl() to re-read partition table.
7455   131072   64M  b W95 FAT32[   10.358241] stage-2-init: Re-reading the partition table failed.: Device or resource busy

/dev/mmcblk0p2 *    147456 310[   10.370358] stage-2-init: The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or partx(8).
37439 30889984 14.7G 83 Linux
[   10.386324] stage-2-init: Syncing disks.

The partition table has been al[   10.393356] stage-2-init: + /nix/store/4bvs0xsasy9v52i629q6fg7v77p9cbgb-parted-riscv64-unknown-linux-gnu-3.6/bin/partprobe
tered.
Calling ioctl() to re-read partition table.
Re-reading the partition table failed.: Device or resource busy
The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or partx(8).
Syncing disks.
+ /nix/store/4bvs0xsasy9v52i629q6fg7v77p9cbgb-parted-riscv64-unknown-linux-gnu-3.6/bin/partprobe
+ /nix/store/4ja3hjlcpwnay7k86wy[   10.535024] stage-2-init: + /nix/store/4ja3hjlcpwnay7k86wy9551jflilgd9c-e2fsprogs-riscv64-unknown-linux-gnu-1.47.1-bin/bin/resize2fs /dev/disk/by-label/NIXOS_SD
9551jflilgd9c-e2fsprogs-riscv64-unknown-linux-gnu-1.47.1-bin/bin/resize2fs /dev/disk/by-label/NIXOS_SD
resize2fs 1.47.1 (20-May-2024)[   10.591510] stage-2-init: resize2fs 1.47.1 (20-May-2024)

[   10.604293] EXT4-fs (mmcblk0p2): resizing filesystem from 281270 to 3861248 blocks
[   11.098899] EXT4-fs (mmcblk0p2): resized filesystem to 3861248
Filesystem at /dev/disk/by-label[   11.440298] stage-2-init: Filesystem at /dev/disk/by-label/NIXOS_SD is mounted on /; on-line resizing required
/NIXOS_SD is mounted on /; on-line resizing required
old_desc_b[   11.457134] stage-2-init: old_desc_blocks = 1, new_desc_blocks = 2
locks = 1, new_desc_blocks = 2
[   11.465855] stage-2-init: The filesystem on /dev/disk/by-label/NIXOS_SD is now 3861248 (4k) blocks long.
The filesystem on /dev/disk/by-l[   11.479885] stage-2-init: + /nix/store/xfmh69fhjnsrzhc03kjpqfq4m5wfchcx-nix-riscv64-unknown-linux-gnu-2.18.2/bin/nix-store --load-db
abel/NIXOS_SD is now 3861248 (4k) blocks long.

+ /nix/store/xfmh69fhjnsrzhc03kjpqfq4m5wfchcx-nix-riscv64-unknown-linux-gnu-2.18.2/bin/nix-store --load-db
+ touch /etc/NIXOS[   14.036169] stage-2-init: + touch /etc/NIXOS

+ /nix/store/xfmh69fhjnsrzhc03kj[   14.050405] stage-2-init: + /nix/store/xfmh69fhjnsrzhc03kjpqfq4m5wfchcx-nix-riscv64-unknown-linux-gnu-2.18.2/bin/nix-env -p /nix/var/nix/profiles/system --set /run/current-system
pqfq4m5wfchcx-nix-riscv64-unknown-linux-gnu-2.18.2/bin/nix-env -p /nix/var/nix/profiles/system --set /run/current-system
+ rm -f /nix-path-registration[   14.519932] stage-2-init: + rm -f /nix-path-registration

starting systemd...
[   15.025304] systemd[1]: System time before build time, advancing clock.
[   15.094427] systemd[1]: systemd 255.6 running in system mode (+PAM +AUDIT -SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK -XKBCOMMON +UTMP -SYSVINIT default-hierarchy=unified)
[   15.127462] systemd[1]: Detected architecture riscv64.

Welcome to NixOS 24.11 (Vicuña)!

[   15.154535] systemd[1]: Hostname set to <nixos-duo>.
[   15.164954] systemd[1]: Initializing machine ID from random generator.
[   15.268109] systemd[1]: bpf-lsm: BPF LSM hook not enabled in the kernel, BPF LSM not supported
[   18.187883] systemd[1]: Queued start job for default target Multi-User System.
[   18.213306] systemd[1]: init.scope: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[   18.225481] systemd[1]: init.scope: (This warning is only shown for the first unit using IP firewalling.)
[   18.246726] systemd[1]: Created slice Slice /system/getty.
[  OK  ] Created slice Slice /system/getty.
[   18.272447] systemd[1]: Created slice Slice /system/modprobe.
[  OK  ] Created slice Slice /system/modprobe.
[   18.296665] systemd[1]: Created slice Slice /system/serial-getty.
[  OK  ] Created slice Slice /system/serial-getty.
[   18.320569] systemd[1]: Created slice Slice /system/systemd-zram-setup.
[  OK  ] Created slice Slice /system/systemd-zram-setup.
[   18.348124] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[   18.369791] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[   18.397738] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[   18.425375] systemd[1]: Expecting device /dev/ttyS0...
         Expecting device /dev/ttyS0...
[   18.445199] systemd[1]: Expecting device /dev/zram0...
         Expecting device /dev/zram0...
[   18.465189] systemd[1]: Expecting device /sys/subsystem/net/devices/usb0...
         Expecting device /sys/subsystem/net/devices/usb0...
[   18.489238] systemd[1]: Reached target Local Encrypted Volumes.
[  OK  ] Reached target Local Encrypted Volumes.
[   18.509428] systemd[1]: Reached target Containers.
[  OK  ] Reached target Containers.
[   18.529396] systemd[1]: Reached target Path Units.
[  OK  ] Reached target Path Units.
[   18.549321] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[   18.569292] systemd[1]: Reached target Slice Units.
[  OK  ] Reached target Slice Units.
[   18.606829] systemd[1]: Listening on Process Core Dump Socket.
[  OK  ] Listening on Process Core Dump Socket.
[   18.630627] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   18.654706] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[   18.673445] systemd[1]: Userspace Out-Of-Memory (OOM) Killer Socket was skipped because of an unmet condition check (ConditionPathExists=/proc/pressure/memory).
[   18.690378] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[   18.710624] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[   18.730276] systemd[1]: Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[   18.752215] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[   18.785962] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[   18.817699] systemd[1]: Create List of Static Device Nodes was skipped because of an unmet condition check (ConditionFileNotEmpty=/run/booted-system/kernel-modules/lib/modules/5.10.4/modules.devname).
[   18.896204] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[   18.954581] systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
[   19.014148] systemd[1]: Starting Load Kernel Module efi_pstore...
         Starting Load Kernel Module efi_pstore...
[   19.078583] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[   19.130066] systemd[1]: Starting mount-pstore.service...
         Starting mount-pstore.service...
[   19.205815] systemd[1]: Starting Create SUID/SGID Wrappers...
         Starting Create SUID/SGID Wrappers...
[   19.253516] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
[   19.334219] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[   19.392436] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[   19.450486] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[   19.526137] systemd[1]: Starting Create Static Device Nodes in /dev gracefully...
         Starting Create Static Device Nodes in /dev gracefully...
[   19.618554] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[   19.808534] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[   19.882434] systemd[1]: Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Debug File System.
[   19.940089] systemd[1]<EMAIL_ADDRESS>Deactivated successfully.
[   20.001155] systemd[1]: Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module configfs.
[   20.100410] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   20.124792] systemd[1]<EMAIL_ADDRESS>Deactivated successfully.
[   20.176585] systemd[1]: Finished Load Kernel Module drm.
[  OK  ] Finished Load Kernel Module drm.
[   20.259522] systemd[1]<EMAIL_ADDRESS>Deactivated successfully.
[   20.312643] systemd[1]: Finished Load Kernel Module efi_pstore.
[  OK  ] Finished Load Kernel Module efi_pstore.
[   20.364675] systemd[1]<EMAIL_ADDRESS>Deactivated successfully.
[   20.398620] systemd[1]: Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Module fuse.
[   20.440116] systemd[1]: mount-pstore.service: Skipped due to 'exec-condition'.
[   20.485201] systemd[1]: Condition check resulted in mount-pstore.service being skipped.
[   20.529421] systemd[1]: Finished Load Kernel Modules.
[  OK  ] Finished Load Kernel Modules.
[   20.559212] systemd-journald[318]: Collecting audit messages is disabled.
[   20.568904] systemd[1]: Finished Remount Root and Kernel File Systems.
[  OK  ] Finished Remount Root and Kernel File Systems.
[   20.614473] systemd[1]: Finished Create Static Device Nodes in /dev gracefully.
[  OK  ] Finished Create Static Device Nodes in /dev gracefully.
[   20.672630] systemd[1]: FUSE Control File System was skipped because of an unmet condition check (ConditionPathExists=/sys/fs/fuse/connections).
[   20.761632] systemd[1]: Mounting Kernel Configuration File System...
         Mounting Kernel Configuration File System...
[   20.821416] systemd[1]: Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).
[   20.910214] systemd[1]: Starting Load/Save OS Random Seed...
         Starting Load/Save OS Random Seed...
[   20.990111] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[   21.066111] systemd[1]: Starting Create Static Device Nodes in /dev...
         Starting Create Static Device Nodes in /dev...
[   21.179521] systemd[1]: Mounted Kernel Configuration File System.
[  OK  ] Mounted Kernel Configuration File System.
[   21.483953] systemd[1]: Finished Load/Save OS Random Seed.
[  OK  ] Finished Load/Save OS Random Seed.
[   21.644363] systemd[1]: Finished Apply Kernel Variables.
[  OK  ] Finished Apply Kernel Variables.
[   21.740686] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Preparation for Local File Systems.
[  OK  ] Reached target Local File Systems.
         Starting Flush Journal to Persistent Storage...
         Starting Rule-based Manager for Device Events and Files...
[   22.403166] systemd-journald[318]: Received client request to flush runtime journal.
[  OK  ] Finished Create SUID/SGID Wrappers.
[  OK  ] Finished Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Coldplug All udev Devices.
[  OK  ] Started Rule-based Manager for Device Events and Files.
[  OK  ] Found device /dev/zram0.
         Starting Create swap on /dev/zram0...
[  OK  ] Found device /dev/ttyS0.
[   23.889443] dwc2 4340000.usb: new device is high-speed
[   24.021753] dwc2 4340000.usb: new device is high-speed
[  OK  ] Finished Create Volatile Files and Directories.
[   24.107771] dwc2 4340000.usb: new address 2
[   24.313691] zram0: detected capacity change from 0 to 671088640
[  OK  ] Found device /sys/subsystem/net/devices/usb0.
[  OK  ] Finished Create swap on /dev/zram0.
[  OK  ] Reached target Sound Card.
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Activating swap Compressed Swap on /dev/zram0...
         Starting Rebuild Journal Catalog...
         Starting Network Time Synchronization...
         Starting Record System Boot/Shutdown in UTMP...
[   25.837106] Adding 655356k swap on /dev/zram0.  Priority:100 extents:1 across:655356k SSDsc
[  OK  ] Activated swap Compressed Swap on /dev/zram0.
[  OK  ] Reached target Swaps.
[  OK  ] Finished Record System Boot/Shutdown in UTMP.
[  OK  ] Finished Rebuild Journal Catalog.
         Starting Update is Completed...
[  OK  ] Finished Update is Completed.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Initialization.
[  OK  ] Started logrotate.timer.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timer Units.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Socket Units.
[  OK  ] Reached target Basic System.
         Starting Logrotate configuration check...
[  OK  ] Started Reset console on configuration changes.
         Starting resolvconf update...
         Starting User Login Management...
         Starting D-Bus System Message Bus...
[  OK  ] Finished Logrotate configuration check.
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Finished resolvconf update.
[  OK  ] Reached target Preparation for Network.
         Starting Address configuration of usb0...
[  OK  ] Started User Login Management.
[  OK  ] Finished Address configuration of usb0.
         Starting Networking Setup...
[  OK  ] Finished Networking Setup.
         Starting Extra networking commands....
[  OK  ] Finished Extra networking commands..
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
         Starting Dnsmasq Daemon...
         Starting SSH Daemon...
         Starting Permit User Sessions...
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started Dnsmasq Daemon.

<<< Welcome to NixOS 24.11.20240606.c27234e (riscv64) - ttyS0 >>>

Run 'nixos-help' for the NixOS manual.

nixos-duo login: root (automatic login)

[root@nixos-duo:~]#

`

Thanks!