Hacker Newsnew | past | comments | ask | show | jobs | submit | is_taken's commentslogin

As usually the schematics were available in the manual it was not too hard to add some additional static ram. There were unused address lines available which could be used for chip select.

a) Do these inode issues also happen with the supplied (v4) kernel? b) Do these inode issues also happen with a rebuilded kernel which uses the original lib1 and lib2?

I once had strange effects on V6 if lib1 and/or lib2 were rebuild by me.

Should be not hard to test.


In my experience, yes: always happens. So far i have not found a way to mount multiple disks without getting these inode errors. And this is just v4, the nsys kernel doesn't even work with a single disk. i hope i'll get to the bottom of this in the near future.

Seems to redirect to some online casino?


Jetbrain's CLion with the pico sdk. Yeah, that means C.


If you want to use multiple technologies in a single project you should not run Goland, PhpStorm etc. but IntelliJ with plugins. Then you don't need to switch IDEs.


You could checkout void and alpine.


Maybe wrapfs.WithModTime(... should not use time.Now() but get the mod time of the running binary?


Well, this is left to the application developer to decide and the library should not make the choice for them. In my own application it makes sense to use time.Now(), for example.


Are you sure the memory in this system is ok?

As it dumped core, could be interesting to "gdb it" and get a stackframe.


The systemd config is default and it should dump core and logs a message that it dumped core but I have not been able to find it. Usually core dumps are in /var/lib/systemd/coredump but the directory is empty.

The server has ECC memory and there are no messages in the syslog about ECC failures. The SEGV occurred on two consecutive days when systemd was reloading so for the moment I find it unlikely that memory may be the root cause but looking at a core dump would certainly help. Where is it?


Try this:

  find / -name '*core*'


It was in /var/lib/apport/coredump

The bt full of gdb seems to indicate that systemd chokes on a unit file. I bet it is clamav-freshclam. I am going to reboot now.

  (gdb) bt full
  #0  0x00007fec4596675b in kill () at ../sysdeps/unix/syscall-template.S:120
  No locals.
  #1  0x000055d907cfab1c in crash (sig=11) at ../src/core/main.c:257
        sa = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0 <repeats 16 times>}},
          sa_flags = 0, sa_restorer = 0x0}
        pid = <optimized out>
        __func__ = "crash"
        __PRETTY_FUNCTION__ = "crash"
  #2  <signal handler called>
  No locals.
  #3  0x000055d907d74d73 in unit_active_state (u=<optimized out>) at ../src/core/unit.c:830
        __PRETTY_FUNCTION__ = "unit_active_state"
  #4  0x000055d907d84d86 in unit_may_gc (u=0x55d908ddfa00) at ../src/core/unit.c:392
        state = <optimized out>
        r = <optimized out>
        __PRETTY_FUNCTION__ = <optimized out>
        __func__ = <optimized out>
  #5  0x000055d907d739fe in unit_may_gc (u=0x55d908ddfa00) at ../src/core/unit.c:389
        state = <optimized out>
        r = <optimized out>
        __PRETTY_FUNCTION__ = <optimized out>
        __func__ = <optimized out>
        _found = <optimized out>
        __assert_in_set = <optimized out>
        _error = <optimized out>
        _u = <optimized out>
        _l = <optimized out>
  #6  unit_add_to_gc_queue (u=0x55d908ddfa00) at ../src/core/unit.c:468
        __PRETTY_FUNCTION__ = "unit_add_to_gc_queue"
  #7  0x000055d907d85ab1 in unit_clear_dependencies (u=0x55d908da3000) at ../src/core/unit.c:555
        other_deps = 0x0
        other = 0x55d908ddfa00
        deps = 0x55d908dc4878
        __PRETTY_FUNCTION__ = <optimized out>
  #8  unit_free (u=0x55d908da3000) at ../src/core/unit.c:698
        slice = 0x55d908cb92a0
        t = 0x0
        __PRETTY_FUNCTION__ = <optimized out>
  #9  0x000055d907d45d05 in unit_free (u=<optimized out>) at ../src/core/unit.c:654
        slice = <optimized out>
        t = <optimized out>
        __PRETTY_FUNCTION__ = <optimized out>
        __unique_prefix_i15 = <optimized out>
        j = <optimized out>
        j = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
  #10 manager_clear_jobs_and_units (m=m@entry=0x55d908cb78f0) at ../src/core/manager.c:1421
        u = <optimized out>
        __PRETTY_FUNCTION__ = <optimized out>
  #11 0x000055d907d4b01a in manager_clear_jobs_and_units (m=0x55d908cb78f0) at ../src/core/manager.c:1418
        u = <optimized out>
        __PRETTY_FUNCTION__ = <optimized out>
  #12 manager_reload (m=0x55d908cb78f0) at ../src/core/manager.c:3826
        reloading = 0x0
        fds = 0x7fec45112ba8
        f = 0x55d908f6c940
        r = <optimized out>
        __PRETTY_FUNCTION__ = "manager_reload"
        __func__ = "manager_reload"
  #13 0x000055d907cf9a7b in invoke_main_loop (ret_error_message=0x7ffd4b3057f0, ret_switch_root_init=<synthetic pointer>,
    ret_switch_root_dir=<synthetic pointer>, ret_fds=0x7ffd4b3057e0, ret_shutdown_verb=<synthetic pointer>,
    ret_retval=<synthetic pointer>, ret_reexecute=<synthetic pointer>, saved_rlimit_memlock=0x7ffd4b305820,
    saved_rlimit_nofile=0x7ffd4b305830, m=0x55d908cb78f0) at ../src/core/main.c:1934
        saved_log_target = <optimized out>
        saved_log_level = <optimized out>
        r = <optimized out>
        r = <optimized out>
        __PRETTY_FUNCTION__ = <optimized out>
        __func__ = <optimized out>
        _error = <optimized out>
        _level = <optimized out>
        _e = <optimized out>
        saved_log_target = <optimized out>
        saved_log_level = <optimized out>
        _level = <optimized out>
        _e = <optimized out>
        _level = <optimized out>
        _e = <optimized out>
        _level = <optimized out>
        _e = <optimized out>
        _ptr_ = <optimized out>
        _ptr_ = <optimized out>
        _level = <optimized out>
        _e = <optimized out>
        table = <optimized out>
        _level = <optimized out>
        _e = <optimized out>
  #14 main (argc=1, argv=0x7ffd4b305ab8) at ../src/core/main.c:2910
        initrd_timestamp = {realtime = 0, monotonic = 0}
        userspace_timestamp = {realtime = 1726568591653978, monotonic = 37908672}
        kernel_timestamp = {realtime = 1726568553745306, monotonic = 0}
        security_start_timestamp = {realtime = 1726568591655330, monotonic = 37910024}
        security_finish_timestamp = {realtime = 1726568591655914, monotonic = 37910609}
        saved_rlimit_nofile = {rlim_cur = 1024, rlim_max = 4096}
        saved_rlimit_memlock = {rlim_cur = 65536, rlim_max = 65536}
        skip_setup = <optimized out>
        loaded_policy = false
        queue_default_job = <optimized out>
        first_boot = <optimized out>
        reexecute = false
        switch_root_dir = 0x0
        switch_root_init = 0x0
        before_startup = <optimized out>
        after_startup = <optimized out>
        timespan = "\000\000\000\000\000\000\000\000\000\303t\255\211[\367\r\000\000\000\000\000\000\000\000\310\375\377\377\377\377\377\377\002", '\000' <repeats 15 times>, "\002\000\000\000\000\000\000\000\006\000\000\000\000\000\000\200"
        shutdown_verb = 0x0
        error_message = 0x0
        r = <optimized out>
        retval = 1
        m = 0x55d908cb78f0
        fds = 0x0
        finish = <optimized out>
        systemd = "systemd"
        __func__ = "main"
        __PRETTY_FUNCTION__ = "main"
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>

        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
  #10 manager_clear_jobs_and_units (m=m@entry=0x55d908cb78f0) at ../src/core/manager.c:1421
        u = <optimized out>
        __PRETTY_FUNCTION__ = <optimized out>
  #11 0x000055d907d4b01a in manager_clear_jobs_and_units (m=0x55d908cb78f0) at ../src/core/manager.c:1418
        u = <optimized out>
        __PRETTY_FUNCTION__ = <optimized out>
  #12 manager_reload (m=0x55d908cb78f0) at ../src/core/manager.c:3826
        reloading = 0x0
        fds = 0x7fec45112ba8
        f = 0x55d908f6c940
        r = <optimized out>
        __PRETTY_FUNCTION__ = "manager_reload"
        __func__ = "manager_reload"
  #13 0x000055d907cf9a7b in invoke_main_loop (ret_error_message=0x7ffd4b3057f0, ret_switch_root_init=<synthetic pointer>,
    ret_switch_root_dir=<synthetic pointer>, ret_fds=0x7ffd4b3057e0, ret_shutdown_verb=<synthetic pointer>,
    ret_retval=<synthetic pointer>, ret_reexecute=<synthetic pointer>, saved_rlimit_memlock=0x7ffd4b305820,
    saved_rlimit_nofile=0x7ffd4b305830, m=0x55d908cb78f0) at ../src/core/main.c:1934
        saved_log_target = <optimized out>
        saved_log_level = <optimized out>
        r = <optimized out>
        r = <optimized out>
        __PRETTY_FUNCTION__ = <optimized out>
        __func__ = <optimized out>
        _error = <optimized out>
        _level = <optimized out>
        _e = <optimized out>
        saved_log_target = <optimized out>
        saved_log_level = <optimized out>
        _level = <optimized out>
        _e = <optimized out>
        _level = <optimized out>
        _e = <optimized out>
        _level = <optimized out>
        _e = <optimized out>
        _ptr_ = <optimized out>
        _ptr_ = <optimized out>
        _level = <optimized out>
        _e = <optimized out>
        table = <optimized out>
        _level = <optimized out>
        _e = <optimized out>
  #14 main (argc=1, argv=0x7ffd4b305ab8) at ../src/core/main.c:2910
        initrd_timestamp = {realtime = 0, monotonic = 0}
        userspace_timestamp = {realtime = 1726568591653978, monotonic = 37908672}
        kernel_timestamp = {realtime = 1726568553745306, monotonic = 0}
        security_start_timestamp = {realtime = 1726568591655330, monotonic = 37910024}
        security_finish_timestamp = {realtime = 1726568591655914, monotonic = 37910609}
        saved_rlimit_nofile = {rlim_cur = 1024, rlim_max = 4096}
        saved_rlimit_memlock = {rlim_cur = 65536, rlim_max = 65536}
        skip_setup = <optimized out>
        loaded_policy = false
        queue_default_job = <optimized out>
        first_boot = <optimized out>
        reexecute = false
        switch_root_dir = 0x0
        switch_root_init = 0x0
        before_startup = <optimized out>
        after_startup = <optimized out>
        timespan = "\000\000\000\000\000\000\000\000\000\303t\255\211[\367\r\000\000\000\000\000\000\000\000\310\375\377\377\377\377\377\377\002", '\000' <repeats 15 times>, "\002\000\000\000\000\000\000\000\006\000\000\000\000\000\000\200"
        shutdown_verb = 0x0
        error_message = 0x0
        r = <optimized out>
        retval = 1
        m = 0x55d908cb78f0
        fds = 0x0
        finish = <optimized out>
        systemd = "systemd"
        __func__ = "main"
        __PRETTY_FUNCTION__ = "main"


Maybe this already helps: https://github.com/tldr-pages/tldr


or something with a bit more interactivity: https://github.com/denisidoro/navi


Assuming using same account, use history command to show past commands[0a, 0b]

'load random example' on shellcheck using own custom examples from history command.[1]

ncurse, dialog, zenity[2].

"Gooey: Turn command line programs into GUI applications"[3]

Many command line programs were not designed with i/o buffering in mind.[4a,4b]

describe what want bashgpt[5] to write/display using aforementioned zenity/Gooey.

chatgp shellmaster[6]

--------

[6] : http://community.openai.com/t/introducing-chatgpt-shellmaste...

[5] : http://github.com/dtegunov/bashgpt

[4a] : http://www.gnu.org/software/coreutils/manual/html_node/stdbu...

[4b] : http://unix.stackexchange.com/questions/25372/how-to-turn-of...

[3] : http://news.ycombinator.com/item?id=8218785

[2] : http//funprojects.blog/2021/01/25/zenity-command-line-dialogs/

[1a] : http://www.shellcheck.net/

[1b] : http://github.com/koalaman/shellcheck

[0a] : http://www.tecmint.com/history-command-examples/

[0b] : http://www.tecmint.com/remember-linux-commands/

web based documentation: https://www.tecmint.com/linux-commands-cheat-sheet/

commands grouped by typical usage patterns : https://www.tecmint.com/essential-linux-commands/


Have a look at the Teensy 4.1, it comes with 7936K Flash, 1024K RAM and you can even add up to 2x8Mb PSRAM iirc. Of course it's a bit more expensive but not much.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: