also - the latest bsdrp you gave a link is a freebsd 14..
https://sourceforge.net/projects/bsdrp/files/BSD_Router_Project/nightly/2021-02-23/amd64/

So i can't find and install packages into the system...

PS.the system resize-system-slice also is not working
on bsdrp 1.97 and 1.98 i get "geom /dev/da0 operation is not permitted"



On Wed, Feb 24, 2021 at 6:46 PM Сучасні Системи Безпеки <grino....@gmail.com>
wrote:

> i have tried to disable every possible ACPI subsystem using 
> *debug.acpi.disabled
> in /boot/loader.conf*
> *but with no luck*
> *i understand it's a bug neigher in bios or with cpu or with motherboard*
> *so i tried to completely disable the ACPI system *
>
> but while boot a get a panic
>
> panic: running without device atpic requires a local APIC
>
>
> please advise, how to disable ACPI in bsdrp and i can boot the system ?
>
>
> On Wed, Feb 24, 2021 at 9:34 AM Сучасні Системи Безпеки <
> grino....@gmail.com> wrote:
>
>> upgraded to latest bsdrp
>>
>> look at my sysctl dev.cpu output (it's on every cpu)
>>
>> dev.cpu.1.cx_usage: 100.00% 0.00% last 49455us
>> dev.cpu.1.cx_lowest: C1
>> dev.cpu.1.cx_supported: C1/1/1 C2/2/41
>>
>> i run pmcstat and see this
>>
>> 41.4 kernel     acpi_cpu_idle_mwait            acpi_cpu_idle
>>
>> ok. I have added in /etc/rc.conf -> performance_cx_lowest="LOW"
>> rebooted the system
>>
>> now this is how the sysctl dev.cpu looks like
>>
>> dev.cpu.0.cx_usage: 2.25% 97.74% last 4711us
>> dev.cpu.0.cx_lowest: C8
>> dev.cpu.0.cx_supported: C1/1/1 C2/2/41
>>
>> in pmcstat there is a new string with high %
>>
>> %SAMP IMAGE      FUNCTION                       CALLERS
>>  54.4 kernel     lock_delay                     _mtx_lock_spin_cookie
>>  18.0 kernel     acpi_cpu_idle_mwait            acpi_cpu_idle
>>
>> by the way the acpi_cpu_idle is lower now but the mtx_lock_spin is high..
>>
>> ok i run lockstat -x aggsize=4m sleep 10 > lock-type.txt
>>
>> Adaptive mutex spin: 2 events in 10.058 seconds (0 events/sec)
>>
>> Count indv cuml rcnt     nsec Lock                   Caller
>>
>> -------------------------------------------------------------------------------
>>     2 100% 100% 0.00     2649 Giant
>>  uhub_explore_handle_re_enumerate+0x1d
>>
>> -------------------------------------------------------------------------------
>>
>> Spin lock spin: 1912 events in 10.058 seconds (190 events/sec)
>>
>> Count indv cuml rcnt     nsec Lock                   Caller
>>
>> -------------------------------------------------------------------------------
>>  1909 100% 100% 0.00   558053 ACPI lock (0xfffff80003954580)
>> AcpiWriteBitRegister+0x2b
>>     1   0% 100% 0.00      756 icu                    ithread_loop+0x33c
>>     1   0% 100% 0.00      622 icu
>>  intr_event_handle+0x12f
>>     1   0% 100% 0.00      769 callout
>>  _callout_stop_safe+0xda
>>
>> -------------------------------------------------------------------------------
>>
>> Thread lock spin: 2 events in 10.058 seconds (0 events/sec)
>>
>> Count indv cuml rcnt     nsec Lock                   Caller
>>
>> -------------------------------------------------------------------------------
>>     1  50%  50% 0.00     2449 sleepq chain
>> softclock_call_cc+0x13d
>>     1  50% 100% 0.00      885 sched lock 6           fork_exit+0x7e
>>
>> -------------------------------------------------------------------------------
>>
>>
>> now the lock-stack output
>>
>> Spin lock spin: 1917 events in 10.051 seconds (191 events/sec)
>>
>>
>> -------------------------------------------------------------------------------
>> Count indv cuml rcnt     nsec Lock                   Caller
>>  1417  74%  74% 0.00   673953 ACPI lock (0xfffff80003954580)
>> AcpiWriteBitRegister+0x2b
>>
>>       nsec ------ Time Distribution ------ count     Stack
>>        512 |                               1
>> AcpiWriteBitRegister+0x2b
>>       1024 |                               2         acpi_cpu_idle+0x2ab
>>       2048 |                               15        cpu_idle_acpi+0x3e
>>       4096 |                               15        cpu_idle+0x9f
>>       8192 |                               33        sched_idletd+0x2e4
>>      16384 |@                              84        fork_exit+0x7e
>>      32768 |@                              84        0xffffffff80dd494e
>>      65536 |                               43
>>     131072 |@                              78
>>     262144 |@                              94
>>     524288 |@@@                            174
>>    1048576 |@@@@@@@@                       423
>>    2097152 |@@@@@@@                        333
>>    4194304 |                               38
>>
>> -------------------------------------------------------------------------------
>> Count indv cuml rcnt     nsec Lock                   Caller
>>   473  25%  99% 0.00   276647 ACPI lock (0xfffff80003954580)
>> AcpiWriteBitRegister+0x2b
>>
>>       nsec ------ Time Distribution ------ count     Stack
>>        512 |                               1
>> AcpiWriteBitRegister+0x2b
>>       1024 |                               14        acpi_cpu_idle+0x1a7
>>       2048 |                               5         cpu_idle_acpi+0x3e
>>       4096 |                               10        cpu_idle+0x9f
>>       8192 |@@                             38        sched_idletd+0x2e4
>>      16384 |@@@@@@@                        112       fork_exit+0x7e
>>      32768 |@                              31        0xffffffff80dd494e
>>      65536 |@@@                            52
>>     131072 |@@@@                           78
>>     262144 |@                              22
>>     524288 |@                              20
>>    1048576 |@@                             45
>>    2097152 |@@                             39
>>    4194304 |                               6
>>
>> -------------------------------------------------------------------------------
>> Count indv cuml rcnt     nsec Lock                   Caller
>>    21   1% 100% 0.00   794069 ACPI lock (0xfffff80003954580)
>> AcpiWriteBitRegister+0x2b
>>
>>       nsec ------ Time Distribution ------ count     Stack
>>       8192 |@                              1
>> AcpiWriteBitRegister+0x2b
>>      16384 |@                              1         acpi_cpu_idle+0x2b7
>>      32768 |@@@@                           3         cpu_idle_acpi+0x3e
>>      65536 |@@                             2         cpu_idle+0x9f
>>     131072 |                               0         sched_idletd+0x2e4
>>     262144 |@                              1         fork_exit+0x7e
>>     524288 |@@                             2         0xffffffff80dd494e
>>    1048576 |@@@@@                          4
>>    2097152 |@@@@@@@@                       6
>>    4194304 |@                              1
>>
>> -------------------------------------------------------------------------------
>> Count indv cuml rcnt     nsec Lock                   Caller
>>     5   0% 100% 0.00    79080 ACPI lock (0xfffff80003954580)
>> AcpiWriteBitRegister+0x2b
>>
>>       nsec ------ Time Distribution ------ count     Stack
>>       8192 |@@@@@@                         1
>> AcpiWriteBitRegister+0x2b
>>      16384 |@@@@@@@@@@@@                   2         acpi_cpu_idle+0x1b6
>>      32768 |@@@@@@                         1         cpu_idle_acpi+0x3e
>>      65536 |                               0         cpu_idle+0x9f
>>     131072 |                               0         sched_idletd+0x2e4
>>     262144 |                               0         fork_exit+0x7e
>>     524288 |@@@@@@                         1         0xffffffff80dd494e
>>
>> -------------------------------------------------------------------------------
>> Count indv cuml rcnt     nsec Lock                   Caller
>>     1   0% 100% 0.00      465 icu
>>  intr_event_handle+0x12f
>>
>>       nsec ------ Time Distribution ------ count     Stack
>>        512 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
>> intr_event_handle+0x12f
>>
>>  intr_execute_handlers+0x4b
>>                                                      0xffffffff80dd4afc
>>                                                      cpu_idle_acpi+0x3e
>>                                                      cpu_idle+0x9f
>>                                                      sched_idletd+0x2e4
>>                                                      fork_exit+0x7e
>>                                                      0xffffffff80dd494e
>>
>> -------------------------------------------------------------------------------
>>
>>
>>
>> i have absolutely no idea what's this is about - so i request help from
>> you %)
>>
>>
>> On Wed, Feb 24, 2021 at 1:26 AM Olivier Cochard-Labbé <oliv...@cochard.me>
>> wrote:
>>
>>> And I forgot about your lockstat bug, here the nightly release that
>>> should fix it:
>>>
>>>
>>> https://sourceforge.net/projects/bsdrp/files/BSD_Router_Project/nightly/2021-02-23/amd64/
>>>
>>> Regards,
>>> Olivier
>>>
>>>> _______________________________________________
>>> Bsdrp-users mailing list
>>> Bsdrp-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/bsdrp-users
>>>
>>
>>
>> --
>> "Cучасні Системи Безпеки"
>> http://www.itlogix.com.ua
>> +38 (050) 523-66-17
>> +38 (067) 523-66-17
>>
>
>
> --
> "Cучасні Системи Безпеки"
> http://www.itlogix.com.ua
> +38 (050) 523-66-17
> +38 (067) 523-66-17
>


-- 
"Cучасні Системи Безпеки"
http://www.itlogix.com.ua
+38 (050) 523-66-17
+38 (067) 523-66-17
_______________________________________________
Bsdrp-users mailing list
Bsdrp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bsdrp-users

Reply via email to