Автор Тема: P9 Simple Linux not shutting down on desktop  (Прочитано 59967 раз)

Оффлайн gosts 87

  • Завсегдатай
  • *
  • Сообщений: 2 636
  • Дмитрий/Dmitry/德米特里/दिमित्री
Re: P9 Simple Linux not shutting down on desktop
« Ответ #75 : 27.11.2020 21:04:34 »
the reboot not work now !!!!
Do you need it? ;-D ;-D ;-D

Оффлайн Δημητριος

  • Давно тут
  • **
  • Сообщений: 309
Re: P9 Simple Linux not shutting down on desktop
« Ответ #76 : 27.11.2020 21:57:50 »
the reboot not work now !!!!
Do you need it? ;-D ;-D ;-D

hahaha good  🤯🤯🤯

Оффлайн Δημητριος

  • Давно тут
  • **
  • Сообщений: 309
Re: P9 Simple Linux not shutting down on desktop
« Ответ #77 : 27.11.2020 23:44:24 »
well install alt-p9-xfce-sysv-20200912-x86_64 and the results is same not shutdown  :-\

/W path   Device  Class          Description
=============================================
                   system         To Be Filled By O.E.M. (To Be Filled By O.E.M.)
/0                 bus            M3N78D FX
/0/0               memory         64KiB BIOS
/0/3               processor      AMD FX(tm)-8350 Eight-Core Processor
/0/3/5             memory         384KiB L1 cache
/0/3/6             memory         8MiB L2 cache
/0/3/7             memory         8MiB L3 cache
/0/f               memory         8GiB System Memory
/0/f/0             memory         4GiB DIMM Synchronous 333 MHz (3.0 ns)
/0/f/1             memory         [empty]
/0/f/2             memory         4GiB DIMM Synchronous 333 MHz (3.0 ns)
/0/f/3             memory         [empty]
/0/4               memory         RAM memory
/0/1               bridge         MCP78S [GeForce 8200] LPC Bridge
/0/1.1             bus            MCP78S [GeForce 8200] SMBus
/0/1.2             memory         RAM memory
/0/1.3             processor      MCP78S [GeForce 8200] Co-Processor
/0/1.4             memory         RAM memory
/0/2               bus            MCP78S [GeForce 8200] OHCI USB 1.1 Controller
/0/2.1             bus            MCP78S [GeForce 8200] EHCI USB 2.0 Controller
/0/5               bus            MCP78S [GeForce 8200] OHCI USB 1.1 Controller
/0/4.1             bus            MCP78S [GeForce 8200] EHCI USB 2.0 Controller
/0/6               storage        MCP78S [GeForce 8200] IDE
/0/7               multimedia     MCP72XE/MCP72P/MCP78U/MCP78S High Definition Audio
/0/8               bridge         MCP78S [GeForce 8200] PCI Bridge
/0/9               storage        MCP78S [GeForce 8200] SATA Controller (non-AHCI mode)
/0/a       eth0    network        MCP77 Ethernet
/0/10              bridge         MCP78S [GeForce 8200] PCI Express Bridge
/0/10/0            display        GK106 [GeForce GTX 650 Ti Boost]
/0/10/0.1          multimedia     GK106 HDMI Audio Controller
/0/12              bridge         MCP78S [GeForce 8200] PCI Express Bridge
/0/13              bridge         MCP78S [GeForce 8200] PCI Bridge
/0/14              bridge         MCP78S [GeForce 8200] PCI Bridge
/0/100             bridge         Family 15h Processor Function 0
/0/101             bridge         Family 15h Processor Function 1
/0/102             bridge         Family 15h Processor Function 2
/0/103             bridge         Family 15h Processor Function 3
/0/104             bridge         Family 15h Processor Function 4
/0/105             bridge         Family 15h Processor Function 5
/0/b               system         PnP device PNP0c02
/0/c               system         PnP device PNP0b00
/0/d               system         PnP device PNP0c02
/0/e               communication  PnP device PNP0501
/0/11              system         PnP device PNP0c02
/0/15              system         PnP device PNP0c02
/0/16              system         PnP device PNP0c01
/1         scsi8  storage   

updated from lshw
*-scsi
       physical id: 1
       bus info: scsi@8
       logical name: scsi8
       capabilities: scsi-host
       configuration: driver=usb-storage

is normal ???

UPD2
*-memory:1 UNCLAIMED
          description: RAM memory
          product: MCP78S [GeForce 8200] Memory Controller
          vendor: NVIDIA Corporation
          physical id: 4
          bus info: pci@0000:00:00.0
          version: a2
          width: 32 bits
          clock: 66MHz (15.2ns)
          capabilities: ht bus_master cap_list
          configuration: latency=0
*-memory:2 UNCLAIMED
          description: RAM memory
          product: MCP78S [GeForce 8200] Memory Controller
          vendor: NVIDIA Corporation
          physical id: 1.2
          bus info: pci@0000:00:01.2
          version: a1
          width: 32 bits
          clock: 66MHz (15.2ns)
          configuration: latency=0
*-processor UNCLAIMED
          description: Co-processor
          product: MCP78S [GeForce 8200] Co-Processor
          vendor: NVIDIA Corporation
          physical id: 1.3
          bus info: pci@0000:00:01.3
          version: a2
          width: 32 bits
          clock: 66MHz
          capabilities: bus_master
          configuration: latency=0 maxlatency=1 mingnt=3
          resources: memory:dee80000-deefffff
*-memory:3 UNCLAIMED
          description: RAM memory
          product: MCP78S [GeForce 8200] Memory Controller
          vendor: NVIDIA Corporation
          physical id: 1.4
          bus info: pci@0000:00:01.4
          version: a1
          width: 32 bits
          clock: 66MHz (15.2ns)
          configuration: latency=0

« Последнее редактирование: 28.11.2020 00:44:04 от Δημητριος »

Оффлайн Δημητριος

  • Давно тут
  • **
  • Сообщений: 309
Re: P9 Simple Linux not shutting down on desktop
« Ответ #78 : 28.11.2020 03:59:59 »
finally  we did it,  :-D :-D :-D :-D Слава Господу
the machine can restart ,but it can also shut down.

Τhe procedure I followed is the following,and based on the guide created by  Speccyfighter downgrade kernel and valuable help by ghost 87 :-)

At first
install alt-simply-8.2.0-x86_64.iso
after installation
I opened the terminal, changed the repositories
at fisrt
Create Pin-Priority configuration
su - mcedit /etc/apt/preferencesPackage: *
Pin: release c=classic
Pin-Priority: 1001
and saved

after i install repositories
mcedit /etc/apt/sources.listrpm http://ftp.altlinux.org/pub/distributions/archive/p9/date/2020/03/17/ x86_64 classic
rpm http://ftp.altlinux.org/pub/distributions/archive/p9/date/2020/03/17/ x86_64-i586 classic
rpm http://ftp.altlinux.org/pub/distributions/archive/p9/date/2020/03/17/ noarch classic
and saved
apt-get update
and
apt-get dist-upgrade
when the process was over ,I restarted immediately through the terminal with the command
rebootand yes working very nice !!!!!

now that i can do my job, i will wait for the correction from the specialist...Thanks you :-)
« Последнее редактирование: 28.11.2020 04:02:32 от Δημητριος »

Оффлайн Speccyfighter

  • Мастер
  • ***
  • Сообщений: 10 259
Re: P9 Simple Linux not shutting down on desktop
« Ответ #79 : 28.11.2020 09:00:06 »
finally  we did it,  :-D :-D :-D :-D Слава Господу
the machine can restart ,but it can also shut down.

Τhe procedure I followed is the following,and based on the guide created by  Speccyfighter downgrade kernel and valuable help by ghost 87 :-)

At first
install alt-simply-8.2.0-x86_64.iso
after installation
I opened the terminal, changed the repositories
at fisrt
Create Pin-Priority configuration
su - mcedit /etc/apt/preferencesPackage: *
Pin: release c=classic
Pin-Priority: 1001
and saved

after i install repositories
mcedit /etc/apt/sources.listrpm http://ftp.altlinux.org/pub/distributions/archive/p9/date/2020/03/17/ x86_64 classic
rpm http://ftp.altlinux.org/pub/distributions/archive/p9/date/2020/03/17/ x86_64-i586 classic
rpm http://ftp.altlinux.org/pub/distributions/archive/p9/date/2020/03/17/ noarch classic
and saved
apt-get update
and
apt-get dist-upgrade
when the process was over ,I restarted immediately through the terminal with the command
rebootand yes working very nice !!!!!

now that i can do my job, i will wait for the correction from the specialist...Thanks you :-)

Hmm. Interesting. In alt-simply-8.2.0 kernel-image-un-def-4.9.35-alt0.M80P.1.x86_64.rpm. In slinux-9.0 kernel-image-std-def-5.4.28-alt1.x86_64.rpm. They not only have a different version of the kernel, but also a different flavor.

Хм-м. Интересно. В alt-simply-8.2.0 kernel-image-un-def-4.9.35-alt0.M80P.1.x86_64.rpm. В slinux-9.0 kernel-image-std-def-5.4.28-alt1.x86_64.rpm. У них не только версия kernel разная, но и разный flavour.

http://ftp.altlinux.org/pub/distributions/ALTLinux/p8/images/simply/alt-simply-8.2.0-x86_64.iso.txt

http://ftp.altlinux.org/pub/distributions/ALTLinux/p9/images/simply/x86_64/slinux-9.0-x86_64.iso.txt

https://www.altlinux.org/Kernels/Flavours


But for the sake of interest, boot from a flash drive with this starterkit and try to turn off the computer:
http://nightly.altlinux.org/p9/release/alt-p9-xfce-20200912-x86_64.iso

Inside this starterkit is the un-def kernel:
When the starterkit xfce-sysv was created, we settled on the agreement that for a change, the starterkit xfce-sysv with sysvinit will have the std-def kernel, and the starterkit xfce with systemd will have the un-def kernel.


А вот ради интереса, загрузитесь с флешки с этим стартеркитом и попробуйте выключить компьютер:
http://nightly.altlinux.org/p9/release/alt-p9-xfce-20200912-x86_64.iso

Внутри этого стартеркита ядро un-def
Когда создавался стартеркит xfce-sysv, то остановились на договорённости, что для разнообразия, в стартерките xfce-sysv с sysvinit будет ядро std-def, а в стартерките xfce с systemd будет ядро un-def.
« Последнее редактирование: 28.11.2020 09:17:59 от Speccyfighter »

Оффлайн Speccyfighter

  • Мастер
  • ***
  • Сообщений: 10 259
Re: P9 Simple Linux not shutting down on desktop
« Ответ #80 : 28.11.2020 10:08:47 »
...
обновлено 25/11/20 это мое оборудование.
updated 25/11/20 this is my equipment.
Цитировать
my pc
my motherboard
M3N78D FX
...
...

Between times:
Между делом:

M3N78D FX update BIOS:
https://www.asrock.com/MB/NVIDIA/M3N78D%20FX/index.asp#BIOS

Version:
1.10   

Date:
2012/6/13

Description:
1. Update CPU code.
2. Modify for Windows8 shut down behavior.
3. "Floppy Controller" default set to disable.


A question that does not require a mandatory answer:
What is the essence of the shutdown modification and what it consists of.

Вопрос не требующий обязательного ответа:
В чём суть модификации shut down и в чём она состоит.

Оффлайн Δημητριος

  • Давно тут
  • **
  • Сообщений: 309
Re: P9 Simple Linux not shutting down on desktop
« Ответ #81 : 28.11.2020 11:44:37 »
dear friend  Speccyfighter , i would like to ask you ,
1)what can I do now with repositories?
2)how can I update the system without changing the kernel or modules ???
3)how to change this(look photo)to display correctly??? P9
3) what can i do now with pin configuration ????
thanks you

Оффлайн gosts 87

  • Завсегдатай
  • *
  • Сообщений: 2 636
  • Дмитрий/Dmitry/德米特里/दिमित्री
Re: P9 Simple Linux not shutting down on desktop
« Ответ #82 : 28.11.2020 15:18:33 »
Hmm. Interesting. In alt-simply-8.2.0 kernel-image-un-def-4.9.35-alt0.M80P.1.x86_64.rpm. In slinux-9.0 kernel-image-std-def-5.4.28-alt1.x86_64.rpm.
Значит косяк всё-таки в ядре...
So the problem is in the kernel.
« Последнее редактирование: 28.11.2020 15:21:25 от gosts 87 »

Оффлайн gosts 87

  • Завсегдатай
  • *
  • Сообщений: 2 636
  • Дмитрий/Dmitry/德米特里/दिमित्री
Re: P9 Simple Linux not shutting down on desktop
« Ответ #83 : 28.11.2020 18:04:03 »
Δημήτριος, ρίξτε μια ματιά.

Оффлайн Speccyfighter

  • Мастер
  • ***
  • Сообщений: 10 259
Re: P9 Simple Linux not shutting down on desktop
« Ответ #84 : 29.11.2020 05:53:44 »
dear friend  Speccyfighter , i would like to ask you ,
1)what can I do now with repositories?
2)how can I update the system without changing the kernel or modules ???
3)how to change this(look photo)to display correctly??? P9
3) what can i do now with pin configuration ????
thanks you

Hello Dimitrios son of Hellas. :-)

I would not have guessed to perform `apt-get dist-upgrade` from p8 to p9 with Pin-Priority :-)
Technically, it is wrong to dist-upgrade from the p8 repository to the p9 repository with Pin-Priority (Pin-Priority applies to downgrade):
man apt_preferences Pin-Priority:
       P> 1000
              causes a version to be installed even if this constitutes a downgrade of the package

However, the system updated in this way to p9 from 2020/03/17 still shuts down and reboots. I would use this to clarify the source of the shutdown failure a little more precisely: is the kernel to blame, if the kernel is what, or is the system to blame. To clarify what can be in the system on p9 and what should not be, so that there is no shutdown failure. And to make it more predictable in the future.

First, without removing the un-def-4.9 kernel (kernel in Simply p8), install the un-def-5.7 and std-def-5.4 kernels from p9:

Rename /etc/apt/preferences to fallback and inactive:
# mv /etc/apt/preferences /etc/apt/preferences.bak

Comment out the lines through mcedit in /etc/apt/sources.list, putting the # symbol at the beginning of these lines:
# rpm http://ftp.altlinux.org/pub/distributions/archive/p9/date/2020/03/17/ x86_64 classic
# rpm http://ftp.altlinux.org/pub/distributions/archive/p9/date/2020/03/17/ x86_64-i586 classic
# rpm http://ftp.altlinux.org/pub/distributions/archive/p9/date/2020/03/17/ noarch classic

Add repository p9
# apt-repo add p9

Run the command to update the package database
# apt-get update

Install un-def and std-def kernels from p9
# update-kernel -t un-def
# update-kernel -t std-def

Boot with each of them and see which kernel the shutdown fails on. Booting with each of the kernels will show which of the kernels will (or will not) fail shutdown.
In the system, you will also have the un-def-4.9 kernel with which you can boot at any time.

This sequence of actions will more clearly show whether the kernel is indeed at fault. And if the core is to blame, then which one. And if necessary, you can remove the std-def-5.4 and un-def-5.7 kernels, leaving un-def-4.9 - only the specified kernels will be removed.

If any of these kernels are really to blame, you can write a bug report to bugzilla.altlinux.org to fix the error.



Я бы не догадался выполнять `apt-get dist-upgrade` с p8 на p9 с Pin-Priority :-)
Технически, это неправильно выполнять dist-upgrade с перездом с репозитория p8 на репозиторий p9 с Pin-Priority (Pin-Priority применяется для downgrade):
man apt_preferences Pin-Priority:
       P > 1000
              causes a version to be installed even if this constitutes a downgrade of the package

Однако система обновленная таким образом до p9 от 2020/03/17 у вас всё таки выключается и перезагружается. Я бы воспользовался этим, чтобы прояснить источник отказа выключения чуть более точнее: виновато ли ядро, если ядро то какое, или виновата система. Чтобы уточнить, что в системе на p9 может быть, а чего быть не должно, чтобы не было отказа shutdown. И чтобы в будущем это было более предсказуемым.

Сначала, не удаляя ядро un-def-4.9 (ядро в Simply p8), из p9 установить ядра un-def-5.7 и std-def-5.4:

Переименовать /etc/apt/preferences в резервный и неактивный:
# mv /etc/apt/preferences /etc/apt/preferences.bak

Закомментировать через mcedit в /etc/apt/sources.list строки, поставив в начале этих строк символ #:
# rpm http://ftp.altlinux.org/pub/distributions/archive/p9/date/2020/03/17/ x86_64 classic
# rpm http://ftp.altlinux.org/pub/distributions/archive/p9/date/2020/03/17/ x86_64-i586 classic
# rpm http://ftp.altlinux.org/pub/distributions/archive/p9/date/2020/03/17/ noarch classic

Выполнить добавление репозитория p9
# apt-repo add p9

Выполнить команду обновления базы пакетов
# apt-get update

Выполнить установку ядер un-def и std-def из p9
# update-kernel -t un-def
# update-kernel -t std-def

Загрузиться с каждым из них и посмотреть, на каком ядре последует отказ shutdown. Загрузка с каждым из ядер, покажет, на каком из ядер последует (или не последует) отказ shutdown.
В системе у вас останется и ядро un-def-4.9 с которым можно будет загрузиться в любой момент.

Эта последовательность действий, более ясно покажет, дествительно ли виновато ядро. И если виновато ядро, то какое. А при необходимости можно удалить ядра std-def-5.4 и un-def-5.7, оставив un-def-4.9, - будут удалены только указанные ядра.

Если действительно виновато какое-то из этих ядер, можно будет писать багрепорт на bugzilla.altlinux.org для исправления ошибки.

Оффлайн Speccyfighter

  • Мастер
  • ***
  • Сообщений: 10 259
Re: P9 Simple Linux not shutting down on desktop
« Ответ #85 : 29.11.2020 06:20:43 »
Hmm. Interesting. In alt-simply-8.2.0 kernel-image-un-def-4.9.35-alt0.M80P.1.x86_64.rpm. In slinux-9.0 kernel-image-std-def-5.4.28-alt1.x86_64.rpm.
Значит косяк всё-таки в ядре...
So the problem is in the kernel.

Я бы загрузился с этого стартеркита на флешке и проверил бы shutdown с reboot:
But for the sake of interest, boot from a flash drive with this starterkit and try to turn off the computer:
http://nightly.altlinux.org/p9/release/alt-p9-xfce-20200912-x86_64.iso

Inside this starterkit is the un-def kernel:
When the starterkit xfce-sysv was created, we settled on the agreement that for a change, the starterkit xfce-sysv with sysvinit will have the std-def kernel, and the starterkit xfce with systemd will have the un-def kernel.


А вот ради интереса, загрузитесь с флешки с этим стартеркитом и попробуйте выключить компьютер:
http://nightly.altlinux.org/p9/release/alt-p9-xfce-20200912-x86_64.iso

Внутри этого стартеркита ядро un-def
Когда создавался стартеркит xfce-sysv, то остановились на договорённости, что для разнообразия, в стартерките xfce-sysv с sysvinit будет ядро std-def, а в стартерките xfce с systemd будет ядро un-def.

Внутри этого стартеркита на xfce, который и в Simply, тоже ядро un-def как и в SL8, но более высокой версии:
un-def-5.7.19-alt1--versus--un-def-4.9.35(SL8)
Будет ли отказ shutdown на том же un-def, но версии 5.7.
Этот стартеркит на сентябрьском бранче p9. И в нём systemd.

Оффлайн Δημητριος

  • Давно тут
  • **
  • Сообщений: 309
Re: P9 Simple Linux not shutting down on desktop
« Ответ #86 : 29.11.2020 15:07:47 »
thanks you for a new drive=νεο οδηγώ=спасибо за новый я езжу

but  I must tell you the state of the system fisrt,  when update kernel look image (udt_kernel ) and packages  , not working kernel 4,9 , and specifically does not  reboot  .
Now I do not execute this step, and working fine, but ,
 i must report and something else , now without update  kernel ,  when start linux  on boot  , appear error load modules , look (p8_to P9 modules) ,but the same message also appeared when
I installed kernel 5.4 ,when I did the update kernel before.
however I must say the general situation in the system is not very good even though the restart and shutdown works, i thing missing  drivers .....
but look and tel me  there is a case of machine failure with so many driver shortages



« Последнее редактирование: 29.11.2020 15:23:25 от Δημητριος »

Оффлайн gosts 87

  • Завсегдатай
  • *
  • Сообщений: 2 636
  • Дмитрий/Dmitry/德米特里/दिमित्री
Re: P9 Simple Linux not shutting down on desktop
« Ответ #87 : 29.11.2020 18:42:06 »
Δημητριος, do you still have a distribution kit with a systemd on the flash drive?
« Последнее редактирование: 29.11.2020 18:43:45 от gosts 87 »

Оффлайн Δημητριος

  • Давно тут
  • **
  • Сообщений: 309
Re: P9 Simple Linux not shutting down on desktop
« Ответ #88 : 30.11.2020 11:17:53 »
Δημητριος, do you still have a distribution kit with a systemd on the flash drive?
ok i have usb already !!!  with live cd
and i check this,like you told me....


su- reboot -f work fine and reboot
poweroff -f  stack  like picture look


« Последнее редактирование: 30.11.2020 11:21:56 от Δημητριος »

Оффлайн Δημητριος

  • Давно тут
  • **
  • Сообщений: 309
Re: P9 Simple Linux not shutting down on desktop
« Ответ #89 : 04.12.2020 16:06:08 »
install the un-def-5.7 and std-def-5.4 kernels from p9:
i ca not find this packages!!!
« Последнее редактирование: 04.12.2020 16:08:30 от Δημητριος »