I wrote a service script in /etc/init.d
How can I get the system is doing reboot or shutdown in the script
I need to do some different work when reboot and shutdown
Search found 4 matches
- 2020/06/12 10:31:14
- Forum: CentOS 7 - Software Support
- Topic: How to get the system is doing reboot or shutdown?
- Replies: 1
- Views: 640
- 2019/05/10 02:42:41
- Forum: CentOS 7 - Hardware Support
- Topic: issues with pcie rescan
- Replies: 4
- Views: 2843
Re: issues with pcie rescan
I suspect x86 not support this operation(bios do the pcie initialize), or kernel driver of pcie not support ? I think these days, BIOS is mainly used to power on, boot, it's switched out quite early in the boot (although I'm not 100% sure in the EFI case). PCI was/is bus mastering, so I figure re-i...
- 2019/05/09 02:16:01
- Forum: CentOS 7 - Hardware Support
- Topic: issues with pcie rescan
- Replies: 4
- Views: 2843
Re: issues with pcie rescan
Um, ask the vendor of the hardware (or possibly whomever wrote the driver). Thanks for the reply. The cpu is Intel(R) Xeon(R) CPU D-1548 @ 2.00GHz I try not to use fpga card driver,just map bar memory at 90800000 and read it, it's all ffffffff I suspect x86 not support this operation(bios do the pc...
- 2019/05/08 02:45:50
- Forum: CentOS 7 - Hardware Support
- Topic: issues with pcie rescan
- Replies: 4
- Views: 2843
issues with pcie rescan
Hi, I'm using CentOS 7.6 The system connected to a fpga card using pcie fpga initialization is slower then the cpu, so there is no pcie device of fpga found after os starts After execute echo 1 > /sys/bus/pci/rescan the fpga pcie device found lspci as follows [root@localhost ~]# lspci -vxs 06:00.0 0...