DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 21st May 2021
CiotBSD CiotBSD is offline
c107:b5d::
 
Join Date: Jun 2019
Location: Under /
Posts: 175
Default ahci0: stopping the port, softreset slot 31 was still active.

Hi.

On my server @home where VMs exists, I rebooted after the new syspatch for net80211, on 6.9.
But I've this repeated message:

> ahci0: stopping the port, softreset slot 31 was still active.

See this screenshot:


Here the pastebin of dmesg:
https://bin.disroot.org/?cbbe15c78ed...nQ7kRvHJhXGwKf

Result: the server run slowly, very slowly.
I cant connect by SSH on mines VM.

What can I do?
__________________
GPG:Fingerprint ed25519 : 072A 4DA2 8AFD 868D 74CF 9EA2 B85E 9ADA C377 5E8E
GPG:Fingerprint rsa4096 : 4E0D 4AF7 77F5 0FAE A35D 5B62 D0FF 7361 59BF 1733

Last edited by CiotBSD; 21st May 2021 at 01:44 PM. Reason: paste dmesg
Reply With Quote
  #2   (View Single Post)  
Old 21st May 2021
CiotBSD CiotBSD is offline
c107:b5d::
 
Join Date: Jun 2019
Location: Under /
Posts: 175
Default

Ok, it seems relative with the relinking kernel phase. This stops and now, the system responds correctly!

I paste the relink.log:
Quote:
$ cat /usr/share/relink/kernel/GENERIC.MP/relink.log
(SHA256) /bsd: OK
LD="ld" sh makegap.sh 0xcccccccc gapdummy.o
ld -T ld.script -X --warn-common -nopie -o newbsd ${SYSTEM_HEAD} vers.o ${OBJS}
ld: error: cannot open intel_dram.o: Input/output error
ld: error: cannot open intel_huc_fw.o: Input/output error
ld: error: cannot open if_sm_pcmcia.o: Input/output error
ld: error: cannot open if_re_cardbus.o: Input/output error
ld: error: cannot open if_pgt_cardbus.o: Input/output error
ld: error: cannot open intel_engine_heartbeat.o: Input/output error
ld: error: cannot open if_sf_pci.o: Input/output error
ld: error: cannot open intel_context_sseu.o: Input/output error
ld: error: cannot open intel_memory_region.o: Input/output error
ld: error: cannot open if_iwn.o: Input/output error
ld: error: cannot open if_tun.o: Input/output error
ld: error: cannot open intel_guc_fw.o: Input/output error
ld: error: cannot open intel_frontbuffer.o: Input/output error
ld: error: cannot open if_ether.o: Input/output error
ld: error: cannot open if_ppp.o: Input/output error
ld: error: cannot open if_axen.o: Input/output error
ld: error: cannot open if_em_soc.o: Input/output error
ld: error: cannot open intel_dpll_mgr.o: Input/output error
ld: error: cannot open intel_dsb.o: Input/output error
ld: error: cannot open intel_hdmi.o: Input/output error
ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
*** Error 1 in /usr/share/relink/kernel/GENERIC.MP (Makefile:1724 'newbsd': @echo ld -T ld.script -X --warn-common -nopie -o newbsd '${SYSTE...)
https://bin.disroot.org/?d7560ac2084...UeigYjsWeXe7T1

The log messages informs:
Quote:
May 21 15:49:22 sh1 /bsd: ahci0: stopping the port, softreset slot 31 was still active.
May 21 15:49:25 sh1 reorder_kernel: failed -- see /usr/share/relink/kernel/GENERIC.MP/relink.log
May 21 16:04:34 sh1 smartd[25666]: Device: /dev/sd0c [SAT], 7 Currently unreadable (pending) sectors
May 21 16:04:34 sh1 smartd[25666]: Device: /dev/sd0c [SAT], ATA error count increased from 8 to 11
Result of "smartctl -a":
https://bin.disroot.org/?91df7aee212...9kubo5X71PAyHt

It seems the hard disk is at the end of the life, isn't-it!?
__________________
GPG:Fingerprint ed25519 : 072A 4DA2 8AFD 868D 74CF 9EA2 B85E 9ADA C377 5E8E
GPG:Fingerprint rsa4096 : 4E0D 4AF7 77F5 0FAE A35D 5B62 D0FF 7361 59BF 1733

Last edited by CiotBSD; 21st May 2021 at 02:24 PM. Reason: paste smartctl
Reply With Quote
  #3   (View Single Post)  
Old 22nd May 2021
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,984
Default

The ahci(4) driver communicates with the SATA bus that connects to your disk drive. You could have a problem with the bus, connector, cable, .. or disk drive. The disk drive electronics self-reported 11 errors all occurring during the same hour. The report shows only the last 5 errors, and those all occurred at the same millisecond.

Since you have smartmontools installed, I recommend using it to instruct the drive to run two offline self-tests: start with the short test, which will test the drive electronics, and if successful then run the long test, which will read all addressable sectors.
Reply With Quote
  #4   (View Single Post)  
Old 25th May 2021
CiotBSD CiotBSD is offline
c107:b5d::
 
Join Date: Jun 2019
Location: Under /
Posts: 175
Default

OK. Ty!

Finally, I changed the hard disk, and reinstall all is needed on a new!
(and no pb; this run correctly)

Bye.
__________________
GPG:Fingerprint ed25519 : 072A 4DA2 8AFD 868D 74CF 9EA2 B85E 9ADA C377 5E8E
GPG:Fingerprint rsa4096 : 4E0D 4AF7 77F5 0FAE A35D 5B62 D0FF 7361 59BF 1733
Reply With Quote
Reply

Tags
6.9, ahci, openbsd, softreset


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stopping X turning the display black after 10 minutes greyfledge OpenBSD General 6 6th December 2020 12:54 AM
network and USB stopping on /macppc Junkman NetBSD General 1 27th November 2017 08:52 PM
Active Directory Authentication ComputerErik OpenBSD General 3 20th May 2011 03:21 AM
Copy w/ active verification Weaseal FreeBSD General 4 5th February 2009 12:23 AM
USB keyboard/mouse not active after boot teig FreeBSD General 9 27th October 2008 04:20 PM


All times are GMT. The time now is 12:21 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick