Machine boots up properly only on UPS and not on Mains

Siju George at
Tue Mar 3 04:05:31 PST 2020


On this particular machine I have both Debian & DragonflyBSD.
Debian hangs sometimes or goes for a reboot automatically but it does not
boot up properly when the system is on main power supply. The CPU fan goes
on in variable speed, on and off kind of perpetual rebooting with out
giving even BIOS display. It boots up properly if it is on the UPS alone (
when the switch to the main power supply is off )
DragonflyBSD does not hang or reboot automatically. So that is what I use
most of the time :-)
But if I reboot DragonflyBSD some times it hangs.
But if DragonflyBSD reboots without hanging then I have to switch off the
mains so that it will get power from the UPS to boot up properly.
If DragonflyBSD is on the mains the CPU fan goes on in variable speed, on
and off kind of perpetual rebooting with out giving even BIOS display just
like debian.
It boots up properly if it is on the UPS alone ( when the switch to the
main power supply is off )
I could get a coredump when DragonFlyBSD hangs if someone can tell me how.

Any idea why this is happening?

Thank you


dmesg is

Copyright (c) 2003-2020 The DragonFly Project.
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
DragonFly v5.7.0.1284.g34ca1-DEVELOPMENT #0: Fri Jan 17 11:33:25 UTC 2020
    root at
acpi_hpet: frequency 14318180
Using cputimer HPET for TSC calibration
Timer latency (in TSC ticks): 2781 min=2700 max=2970
TSC invariant clock: 2994372204 Hz
CPU: AMD Ryzen 7 1700 Eight-Core Processor           (2994.37-MHz K8-class
  Origin = "AuthenticAMD"  Id = 0x800f11  Stepping = 1


  AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
  Structured Extended
  Thermal and PM Features=0x4<ARAT>
CPU Special Features Installed: SMAP SMEP
real memory  = 17128202240 (16334 MB)
avail memory = 16526249984 (15760 MB)
   LAPIC AMD elvt0: 0x00010000
   LAPIC AMD elvt1: 0x00010000
   LAPIC AMD elvt2: 0x00010000
   LAPIC AMD elvt3: 0x00010000
LAPIC latency (in TSC ticks): 346 min: 330 max: 360
lapic: divisor index 0, frequency 49906209 Hz
core_bits 4 logical_CPU_bits 0
2-way htt, 1 Nodes, 8 cores/node
CPU Topology: cores_per_chip: 8; threads_per_core: 2; chips_per_package: 1;
Compute unit iDS:
vm_page: avg 3798 pages per queue, 1024 queues
SMI Frequency (worst case): 78 Hz (12675 us)
Initialize MI interrupts for 16 cpus
TSC testing MP synchronization ...
TSC MPSYNC TEST 3150 16 -> 196 (10uS=29943)
TSC is MP synchronized
TSC: cputimer freq 93574131, shift 5
Spectre: support=( none ) req=ffff operating=( none )
MDS: support=( MDS_NOT_REQUIRED ) req=0000 operating=( none )
wdog: In-kernel automatic watchdog reset enabled
evdev device loaded.
kbd1 at kbdmux0
md0: Malloc disk
ACPI: DSDT 0x00000000DC0921E8 0058E9 (v02 ALASKA A M I    01072009
INTL 20120913)
ACPI: FACS 0x00000000DC46EC80 000040
ACPI: APIC 0x00000000DC097BF0 0000DE (v03 ALASKA A M I    01072009 AMI
ACPI: FPDT 0x00000000DC097CD0 000044 (v01 ALASKA A M I    01072009 AMI
ACPI: SSDT 0x00000000DC097D18 008C4C (v02                 00000002
MSFT 04000000)
ACPI: FIDT 0x00000000DC0A0968 00009C (v01 ALASKA A M I    01072009 AMI
ACPI: SSDT 0x00000000DC0A0A08 0020E4 (v01 AMD    AmdTable 00000001 AMD
ACPI: SRAT 0x00000000DC0A2AF0 000130 (v03 AMD    AmdTable 00000001 AMD
ACPI: CRAT 0x00000000DC0A2C20 000F50 (v01 AMD    AmdTable 00000001 AMD
ACPI: CDIT 0x00000000DC0A3B70 000029 (v01 AMD    AmdTable 00000001 AMD
ACPI: SSDT 0x00000000DC0A3BA0 0017E1 (v01 AMD    AOD      00000001
INTL 20120913)
ACPI: MCFG 0x00000000DC0A5388 00003C (v01 ALASKA A M I    01072009
MSFT 00010013)
ACPI: HPET 0x00000000DC0A53C8 000038 (v01 ALASKA A M I    01072009 AMI
ACPI: SSDT 0x00000000DC0A5400 000024 (v01 AMDFCH FCHZP    00001000
INTL 20120913)
ACPI: UEFI 0x00000000DC0A5428 000042 (v01                 00000000
ACPI: BGRT 0x00000000DC0A5470 000038 (v01 ALASKA ALASKAA  01072009 AMI
ACPI: IVRS 0x00000000DC0A54A8 0000D0 (v02                 00000001 AMD
ACPI: SSDT 0x00000000DC0A5578 0000F8 (v01                 00001000
INTL 20120913)
ACPI: SSDT 0x00000000DC0A5670 001664 (v01 AMD    CPMCMN   00000001
INTL 20120913)
sc0: <System console> on motherboard
sc0: EFI_FB <16 virtual consoles, flags=0x700>
cryptosoft0: <software crypto> on motherboard
acpi0: <ALASKA A M I> on motherboard
ACPI: 7 ACPI AML tables successfully acquired and loaded
ACPI FADT: SCI testing interrupt mode ...
ACPI FADT: SCI select level/low
acpi0: Power Button (fixed)
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on
acpi_timer0 on acpi0
cpu0: <ACPI CPU> on acpi0
cpu_cst0: <ACPI CPU C-State> on cpu0
cpu_pst0: <ACPI CPU P-State> on cpu0
cpu1: <ACPI CPU> on acpi0
cpu_cst1: <ACPI CPU C-State> on cpu1
cpu_pst1: <ACPI CPU P-State> on cpu1
cpu2: <ACPI CPU> on acpi0
cpu_cst2: <ACPI CPU C-State> on cpu2
cpu_pst2: <ACPI CPU P-State> on cpu2
cpu3: <ACPI CPU> on acpi0
cpu_cst3: <ACPI CPU C-State> on cpu3
cpu_pst3: <ACPI CPU P-State> on cpu3
cpu4: <ACPI CPU> on acpi0
cpu_cst4: <ACPI CPU C-State> on cpu4
cpu_pst4: <ACPI CPU P-State> on cpu4
cpu5: <ACPI CPU> on acpi0
cpu_cst5: <ACPI CPU C-State> on cpu5
cpu_pst5: <ACPI CPU P-State> on cpu5
cpu6: <ACPI CPU> on acpi0
cpu_cst6: <ACPI CPU C-State> on cpu6
cpu_pst6: <ACPI CPU P-State> on cpu6
cpu7: <ACPI CPU> on acpi0
cpu_cst7: <ACPI CPU C-State> on cpu7
cpu_pst7: <ACPI CPU P-State> on cpu7
cpu8: <ACPI CPU> on acpi0
cpu_cst8: <ACPI CPU C-State> on cpu8
cpu_pst8: <ACPI CPU P-State> on cpu8
cpu9: <ACPI CPU> on acpi0
cpu_cst9: <ACPI CPU C-State> on cpu9
cpu_pst9: <ACPI CPU P-State> on cpu9
cpu10: <ACPI CPU> on acpi0
cpu_cst10: <ACPI CPU C-State> on cpu10
cpu_pst10: <ACPI CPU P-State> on cpu10
cpu11: <ACPI CPU> on acpi0
cpu_cst11: <ACPI CPU C-State> on cpu11
cpu_pst11: <ACPI CPU P-State> on cpu11
cpu12: <ACPI CPU> on acpi0
cpu_cst12: <ACPI CPU C-State> on cpu12
cpu_pst12: <ACPI CPU P-State> on cpu12
cpu13: <ACPI CPU> on acpi0
cpu_cst13: <ACPI CPU C-State> on cpu13
cpu_pst13: <ACPI CPU P-State> on cpu13
cpu14: <ACPI CPU> on acpi0
cpu_cst14: <ACPI CPU C-State> on cpu14
cpu_pst14: <ACPI CPU P-State> on cpu14
cpu15: <ACPI CPU> on acpi0
cpu_cst15: <ACPI CPU C-State> on cpu15
cpu_pst15: <ACPI CPU P-State> on cpu15
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <base peripheral> (vendor 0x1022, dev 0x1451) at device 0.2
pcib1: <ACPI PCI-PCI bridge> at device 1.1 on pci0
pci1: <ACPI PCI bus> on pcib1
nvme0: <NVME-PCIe> mem 0xfe900000-0xfe903fff irq 24 at device 0.0 on pci1
nvme0: mapped 8 MSIX IRQs
nvme0: NVME Version 1.2 maxqe=16384 caps=00f000203c033fff
nvme0: Model Samsung_SSD_960_PRO_512GB BaseSerial S3EWNX0J705737N nscount=1
nvme0: Request 32/16 queues, Returns 8/8 queues, rw-sep map (8, 8)
nvme0: Interrupt Coalesce: 100uS / 4 qentries
nvme0: Disk nvme0 ns=1 blksize=512 lbacnt=1000215216 cap=476GB
pcib2: <ACPI PCI-PCI bridge> at device 1.3 on pci0
pci3: <ACPI PCI bus> on pcib2
xhci0: <XHCI (generic) USB 3.0 controller> mem 0xfe7a0000-0xfe7a7fff
irq 32 at device 0.0 on pci3
xhci0: 32 bytes context size, 64-bit DMA
usbus0 on xhci0
usbus0: 5.0Gbps Super Speed USB v3.0
ahci0: <AHCI-PCI-SATA> mem 0xfe780000-0xfe79ffff irq 33 at device 0.1 on
ugen0.1: <0x1022> at usbus0
uhub0: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
ahci0: AE did not auto-clear!
ahci0: AHCI 1.3.1 cap
cap2 0x3c<DESO,SADM,SDS,APST>, 8 ports, 32 tags/port, gen 3 (6Gbps)
uhub0: 22 ports with 22 removable, self powered
ugen0.2: <VIA Labs, Inc.> at usbus0
uhub1: <VIA Labs, Inc. USB2.0 Hub, class 9/0, rev 2.10/b.e0, addr 1> on
uhub1: 4 ports with 4 removable, self powered
ugen0.3: <Logitech> at usbus0
ukbd0: <Logitech USB Receiver, class 0/0, rev 2.00/29.00, addr 2> on usbus0
kbd2 at ukbd0
ums0: <Logitech USB Receiver, class 0/0, rev 2.00/29.00, addr 2> on usbus0
ums0: 18 buttons and [XYZT] coordinates ID=2
ugen0.4: <SIGMACHIP> at usbus0
ukbd1: <SIGMACHIP USB Keyboard, class 0/0, rev 1.10/1.50, addr 3> on usbus0
kbd3 at ukbd1
uhid0: <SIGMACHIP USB Keyboard, class 0/0, rev 1.10/1.50, addr 3> on usbus0
ahci0.0: PMPROBE PM Signature not detected
ugen0.5: <Realtek> at usbus0
ahci0.0: Found DISK "ST2000DM006-2DM164 CC26" serial="Z4Z8Y30L"
ahci0.0: tags=32/32 satacap=850e satacap2=0006 satafea=00cc NCQ=YES
ahci0.0: f85=3469 f86=bc49 f87=4163 WC=enabled RA=enabled SEC=frozen
ahci0.1: No device detected
ahci0.5: No device detected
ahci0.4: No device detected
pcib3: <ACPI PCI-PCI bridge> irq 34 at device 0.2 on pci3
pci4: <ACPI PCI bus> on pcib3
pcib3: No _PRT found, routing with pci
pcib3: No _PRT found, routing with pci
pcib3: No _PRT found, routing with pci
pcib4: <ACPI PCI-PCI bridge> irq 32 at device 0.0 on pci4
pci5: <ACPI PCI bus> on pcib4
pcib4: No _PRT found, routing with pci
pcib3: No _PRT found, routing with pci
re0: <RealTek 8111/8168 PCIe Gigabit Ethernet> port 0xf000-0xf0ff mem
0xf0000000-0xf0003fff,0xfe600000-0xfe600fff irq 32 at device 0.0 on
re0: MAC version 0x4c000000, MACFG 56, support MSI
re0: bus speed 125MHz
re0: MAC address: 1c:1b:0d:e6:86:fb
pcib5: <MPTABLE PCI-PCI bridge> irq 33 at device 1.0 on pci4
pci6: <PCI bus> on pcib5
pcib6: <MPTABLE PCI-PCI bridge> irq 32 at device 4.0 on pci4
pci7: <PCI bus> on pcib6
pcib3: No _PRT found, routing with pci
pcib3: No _PRT found, routing with pci
vgapci0: <VGA-compatible display> port 0xe000-0xe0ff mem
0xfe520000-0xfe53ffff,0xe0000000-0xefffffff irq 32 at device 0.0 on
vgapci0: Boot video device
hdac0: <ATI RV910 HDA Controller> mem 0xfe540000-0xfe543fff irq 33 at
device 0.1 on pci7
hdac0: link ctrl 0x2910
hdac0: disable nosnoop
pcib7: <ACPI PCI-PCI bridge> at device 7.1 on pci0
pci17: <ACPI PCI bus> on pcib7
acpi_sysresource2: Conflicts with PCI device 17:0:2
pci17: <unknown> (vendor 0x1022, dev 0x145a) at device 0.0
pci17: <encrypt/decrypt> (vendor 0x1022, dev 0x1456) at device 0.2 irq 36
xhci1: <XHCI (generic) USB 3.0 controller> mem 0xfe200000-0xfe2fffff
irq 37 at device 0.3 on pci17
xhci1: 64 bytes context size, 64-bit DMA
usbus1 on xhci1
usbus1: 5.0Gbps Super Speed USB v3.0
pcib8: <ACPI PCI-PCI bridge> at device 8.1 on pci0
pci18: <ACPI PCI bus> on pcib8
pci18: <unknown> (vendor 0x1022, dev 0x1455) at device 0.0
ugen1.1: <0x1022> at usbus1
ahci1: <AHCI-PCI-SATA> mem 0xfe808000-0xfe808fff irq 42 at device 0.2 on
uhub2: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1
ahci1: AE did not auto-clear!
uhub2: 8 ports with 8 removable, self powered
ahci1: AHCI 1.3.1 cap
cap2 0x0, 2 ports, 32 tags/port, gen 3 (6Gbps)
ahci1.1: No device detected
ahci1.0: No device detected
hdac1: <AMD (0x1457) HDA Controller> mem 0xfe800000-0xfe807fff irq 43
at device 0.3 on pci18
hdac1: link ctrl 0x2830
hdac1: disable nosnoop
pci0: <serial bus, SMBus> (vendor 0x1022, dev 0x790b) at device 20.0
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
aesni0: <AES-CBC,AES-XTS> on motherboard
padlock0: No ACE support.
rdrand0: <RdRand RNG> on motherboard
orm0: <ISA Option ROM> at iomem 0xc0000-0xcffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
sio0: can't drain, serial port might not exist, disabling
sio1: can't drain, serial port might not exist, disabling
hpt27xx: no controller detected.
hdacc0: <ATI R6xx HDA CODEC> at cad 0 on hdac0
hdaa0: <ATI R6xx Audio Function Group> at nid 1 on hdacc0
pcm0: <ATI R6xx (HDMI)> at nid 3 on hdaa0
hdacc1: <Realtek (0x1220) HDA CODEC> at cad 0 on hdac1
hdaa1: <Realtek (0x1220) Audio Function Group> at nid 1 on hdacc1
pcm1: <Realtek (0x1220) (Rear Analog 5.1/2.0)> at nid 20,22,21 and
24,26 on hdaa1
pcm2: <Realtek (0x1220) (Front Analog)> at nid 27 and 25 on hdaa1
pcm3: <Realtek (0x1220) (Rear Digital)> at nid 30 on hdaa1
CAM: Configuring 6 busses
CAM: finished configuring all busses
da0 at ahci0 bus 0 target 0 lun 0
da0: <SATA ST2000DM006-2DM1 CC26> Fixed Direct Access SCSI-4 device
da0: Serial Number Z4Z8Y30L
da0: 600.000MB/s transfers
da0: 1907729MB (3907029168 512 byte sectors: 255H 63S/T 243201C)
Mounting root from hammer2:serno/S3EWNX0J705737N-1.s1d
hammer2_mount: root 'serno/S3EWNX0J705737N-1.s1d'
hammer2_mount: dev="serno/S3EWNX0J705737N-1.s1d" label="ROOT" rdonly=1
hammer2: using volume header #2
hammer2_mount hmp=0xfffff80161280000 pmp=0xfffff8015cc30a00
DMA space used: 10452k, remaining available: 131072k
Mounting devfs
hammer2_mount: '/dev/serno/S3EWNX0J705737N-1.s1d at ROOT'
hammer2_mount: dev="/dev/serno/S3EWNX0J705737N-1.s1d" label="ROOT" rdonly=1
hammer2 mount "serno/S3EWNX0J705737N-1.s1d":  no recovery needed
hammer2_mount: '/dev/serno/S3EWNX0J705737N-1.s1e at DATA'
hammer2_mount: dev="/dev/serno/S3EWNX0J705737N-1.s1e" label="DATA" rdonly=0
hammer2: using volume header #0
hammer2 mount "/dev/serno/S3EWNX0J705737N-1.s1e":  no recovery needed
hammer2_mount hmp=0xfffff8037b300000 pmp=0xfffff8037b942e00
cdce0: <CDC Communications Control> on usbus0
ue0: <USB Ethernet> on cdce0
ue0: MAC address: 00:e0:97:00:3f:37
swap low/high-water marks set to 335541/503312
[drm] Initialized
[drm] radeon kernel modesetting enabled.
[drm] pdev:  vendor=0x1002  device=0x6779 rev=0x00
[drm]       svendor=0x1458 sdevice=0x22b2 irq=17
[drm] initializing kernel modesetting (CAICOS 0x1002:0x6779 0x1458:0x22B2
radeon: No suitable DMA available.
radeon: No coherent DMA available.
[drm] register mmio base: 0xFE520000
[drm] register mmio size: 131072
[drm] radeon_atrm_get_bios: ===> Try ATRM...
[drm] radeon_atrm_get_bios: pci_find_class() found: 0:7:0:0,
vendor=1002, device=6779
[drm] radeon_atrm_get_bios: Get ACPI device handle
[drm] radeon_acpi_vfct_bios: ===> Try VFCT...
[drm] radeon_acpi_vfct_bios: Get "VFCT" ACPI table
[drm] radeon_acpi_vfct_bios: Failed to get "VFCT" table: AE_NOT_FOUND
drm0: info: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
drm0: info: GTT: 1024M 0x0000000040000000 - 0x000000007FFFFFFF
[drm] Detected VRAM RAM=1024M, BAR=256M
[drm] RAM width 64bits DDR
[TTM] (struct ttm_mem_global *)0xfffff8037c2cb300
[TTM] Zone  kernel: Available graphics memory: 65536 kiB
[TTM] Zone   dma32: Available graphics memory: 65536 kiB
[TTM] Initializing pool allocator
[drm] radeon: 1024M of VRAM memory ready
[drm] radeon: 1024M of GTT memory ready.
[drm] Loading CAICOS Microcode
[drm] Internal thermal controller with fan control
[drm] radeon: dpm initialized
[drm] GART: num cpu pages 262144, num gpu pages 262144
error: [drm:pid861:evergreen_init] *ERROR* GPU acceleration disabled
for now on DragonFly
[drm] probing gen 2 caps for device 1002:6779 = 2/0
[drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
[drm] PCIE GART of 1024M enabled (table at 0x0000000000162000).
drm0: info: WB enabled
drm0: info: fence driver on ring 0 use gpu addr 0x0000000040000c00 and
cpu addr 0x0xffffb800033b7c00
drm0: info: fence driver on ring 3 use gpu addr 0x0000000040000c0c and
cpu addr 0x0xffffb800033b7c0c
drm0: info: fence driver on ring 5 use gpu addr 0x0000000000072118 and
cpu addr 0x0xfffff803805b9118
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] Driver supports precise vblank timestamp query.
[drm] radeon: irq initialized.
[drm] ring test on 0 succeeded in 1 usecs
[drm] ring test on 3 succeeded in 8 usecs
[drm] ring test on 5 succeeded in 2 usecs
[drm] UVD initialized successfully.
[drm] ib test on ring 0 succeeded in 0 usecs
[drm] ib test on ring 3 succeeded in 0 usecs
[drm] ib test on ring 5 succeeded
[drm] radeon_device_init: Taking over the fictitious range
[drm] hw_i2c forced on, you may experience display detection problems!
tunable is not set
tunable is not set
tunable is not set
[drm] Radeon Display Connectors
[drm] Connector 0:
[drm]   HDMI-A-1
[drm]   HPD2
[drm]   DDC: 0x6460 0x6460 0x6464 0x6464 0x6468 0x6468 0x646c 0x646c
[drm]   Encoders:
[drm] Connector 1:
[drm]   DVI-D-1
[drm]   HPD4
[drm]   DDC: 0x6450 0x6450 0x6454 0x6454 0x6458 0x6458 0x645c 0x645c
[drm]   Encoders:
[drm] Connector 2:
[drm]   VGA-1
[drm]   DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c
[drm]   Encoders:
[drm] fb mappable at 0xE0363000
[drm] vram apper at 0xE0000000
[drm] size 5324800
[drm] fb depth is 24
[drm]    pitch is 5888
kms console: xpixels 1440 ypixels 900
[drm] Initialized radeon 2.48.0 20080528 for (null) on minor 0
drm0 on vgapci0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Users mailing list