Unable to sysupgrade to 6.7!

2020-05-23 Thread Federico Giannici

I was unable to upgrade my amd64 6.6 workstation to 6.7.

Here is what happens: https://www.neomedia.it/tmp/67.jpg

Then system reboot in an infinite loop (finally I changed the boot image 
to "bsd" and returned to previous 6.6).


Other system infos at the end of the email.

Anybody knows what the problem could be?

I don't understand if it's related to the "CHECK AND RESET THE DATE" 
warning (never seen before and in normal 6.6 boots). I tried to advance 
the BIOS clock two hours (I'm UTC+2) so it shows the corret time, but 
nothing changed.


Thanks.



casa:/home/giannici# df
Filesystem  1K-blocks  Used Avail Capacity  Mounted on
/dev/sd2a92878104  42769116  4546508448%/
/dev/sd2d   143421884 103486968  3276382476%/home


casa:/home/giannici# mount
/dev/sd2a on / type ffs (local, wxallowed)
/dev/sd2d on /home type ffs (local, nodev, nosuid)


casa:/home/giannici# disklabel sd2
# /dev/rsd2c:
type: SCSI
disk: SCSI disk
label: SR RAID 1
duid: 409ffd737f4265d7
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 30400
total sectors: 488391473
boundstart: 64
boundend: 488376000
drivedata: 0

16 partitions:
#size   offset  fstype [fsize bsize   cpg]
  a:188747616   64  4.2BSD   2048 16384 12958 # /
  b: 10490450188747680swap# none
  c:4883914730  unused
  d:289137856199238144  4.2BSD   4096 32768 26062 # /home


casa:/home/giannici# bioctl sd2
Volume  Status   Size Device
softraid0 0 Online   250056434176 sd2 RAID1
  0 Online   250056434176 0:0.0   noencl 
  1 Online   250056434176 0:1.0   noencl 


casa:/home/giannici# fdisk sd2
Disk: sd2   geometry: 30400/255/63 [488391473 Sectors]
Offset: 0   Signature: 0xAA55
Starting Ending LBA Info:
 #: id  C   H   S -  C   H   S [   start:size ]
---
 0: 00  0   0   0 -  0   0   0 [   0:   0 ] 
unused
 1: 00  0   0   0 -  0   0   0 [   0:   0 ] 
unused
 2: 00  0   0   0 -  0   0   0 [   0:   0 ] 
unused
*3: A6  0   1   2 -  30399 254  63 [  64:   488375936 ] 
OpenBSD



casa:/home/giannici# dmesg
OpenBSD 6.6 (GENERIC.MP) #8: Fri Apr 17 15:06:32 MDT 2020

r...@syspatch-66-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 17075994624 (16284MB)
avail mem = 16545767424 (15779MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.2 @ 0xe6f40 (70 entries)
bios0: vendor American Megatrends Inc. version "1407" date 04/02/2020
bios0: ASUSTeK COMPUTER INC. PRIME X570-P
acpi0 at bios0: ACPI 6.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT SSDT WSMT SSDT SSDT MCFG HPET 
SSDT UEFI WPBT IVRS PCCT SSDT CRAT CDIT SSDT
acpi0: wakeup devices GPP0(S4) GPP2(S4) GPP3(S4) GPP4(S4) GPP5(S4) 
GPP6(S4) GPP7(S4) GPP8(S4) X161(S4) GPP9(S4) X162(S4) GPPA(S4) GPPB(S4) 
GPPC(S4) GPPD(S4) GPPE(S4) [...]

acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Ryzen 5 3600 6-Core Processor, 3593.74 MHz, 17-71-00
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu0: 32KB 64b/line 8-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 
64b/line 8-way L2 cache, 32MB 64b/line disabled L3 cache
cpu0: ITLB 64 4KB entries fully associative, 64 4MB entries fully 
associative
cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully 
associative

cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: AMD Ryzen 5 3600 6-Core Processor, 3593.25 MHz, 17-71-00
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu1: 32KB 64b/line 8-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 
64b/line 8-way L2 ca

Re: Unable to sysupgrade to 6.7!

2020-05-23 Thread Otto Moerbeek
On Sat, May 23, 2020 at 09:33:59AM +0200, Federico Giannici wrote:

> I was unable to upgrade my amd64 6.6 workstation to 6.7.
> 
> Here is what happens: https://www.neomedia.it/tmp/67.jpg
> 
> Then system reboot in an infinite loop (finally I changed the boot image to
> "bsd" and returned to previous 6.6).
> 
> Other system infos at the end of the email.
> 
> Anybody knows what the problem could be?
> 
> I don't understand if it's related to the "CHECK AND RESET THE DATE" warning
> (never seen before and in normal 6.6 boots). I tried to advance the BIOS
> clock two hours (I'm UTC+2) so it shows the corret time, but nothing
> changed.

This has nothing to do with the time or date.

You have an inconsistency on your filesystem fsck -p cannot fix.

Boot into bsd.rd and fsck /dev/rsd2a

That said, the auto upgrade script should abort in this case.

-Otto

> 
> Thanks.
> 
> 
> 
> casa:/home/giannici# df
> Filesystem  1K-blocks  Used Avail Capacity  Mounted on
> /dev/sd2a92878104  42769116  4546508448%/
> /dev/sd2d   143421884 103486968  3276382476%/home
> 
> 
> casa:/home/giannici# mount
> /dev/sd2a on / type ffs (local, wxallowed)
> /dev/sd2d on /home type ffs (local, nodev, nosuid)
> 
> 
> casa:/home/giannici# disklabel sd2
> # /dev/rsd2c:
> type: SCSI
> disk: SCSI disk
> label: SR RAID 1
> duid: 409ffd737f4265d7
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 255
> sectors/cylinder: 16065
> cylinders: 30400
> total sectors: 488391473
> boundstart: 64
> boundend: 488376000
> drivedata: 0
> 
> 16 partitions:
> #size   offset  fstype [fsize bsize   cpg]
>   a:188747616   64  4.2BSD   2048 16384 12958 # /
>   b: 10490450188747680swap# none
>   c:4883914730  unused
>   d:289137856199238144  4.2BSD   4096 32768 26062 # /home
> 
> 
> casa:/home/giannici# bioctl sd2
> Volume  Status   Size Device
> softraid0 0 Online   250056434176 sd2 RAID1
>   0 Online   250056434176 0:0.0   noencl 
>   1 Online   250056434176 0:1.0   noencl 
> 
> 
> casa:/home/giannici# fdisk sd2
> Disk: sd2 geometry: 30400/255/63 [488391473 Sectors]
> Offset: 0 Signature: 0xAA55
> Starting Ending LBA Info:
>  #: id  C   H   S -  C   H   S [   start:size ]
> ---
>  0: 00  0   0   0 -  0   0   0 [   0:   0 ] unused
>  1: 00  0   0   0 -  0   0   0 [   0:   0 ] unused
>  2: 00  0   0   0 -  0   0   0 [   0:   0 ] unused
> *3: A6  0   1   2 -  30399 254  63 [  64:   488375936 ] OpenBSD
> 
> 
> casa:/home/giannici# dmesg
> OpenBSD 6.6 (GENERIC.MP) #8: Fri Apr 17 15:06:32 MDT 2020
> 
> r...@syspatch-66-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 17075994624 (16284MB)
> avail mem = 16545767424 (15779MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 3.2 @ 0xe6f40 (70 entries)
> bios0: vendor American Megatrends Inc. version "1407" date 04/02/2020
> bios0: ASUSTeK COMPUTER INC. PRIME X570-P
> acpi0 at bios0: ACPI 6.0
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP APIC FPDT FIDT SSDT WSMT SSDT SSDT MCFG HPET SSDT
> UEFI WPBT IVRS PCCT SSDT CRAT CDIT SSDT
> acpi0: wakeup devices GPP0(S4) GPP2(S4) GPP3(S4) GPP4(S4) GPP5(S4) GPP6(S4)
> GPP7(S4) GPP8(S4) X161(S4) GPP9(S4) X162(S4) GPPA(S4) GPPB(S4) GPPC(S4)
> GPPD(S4) GPPE(S4) [...]
> acpitimer0 at acpi0: 3579545 Hz, 32 bits
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: AMD Ryzen 5 3600 6-Core Processor, 3593.74 MHz, 17-71-00
> cpu0: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
> cpu0: 32KB 64b/line 8-way I-cache, 32KB 64b/line 8-way D-cache, 512KB
> 64b/line 8-way L2 cache, 32MB 64b/line disabled L3 cache
> cpu0: ITLB 64 4KB entries fully associative, 64 4MB entries fully
> associative
> cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully
> associative
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: apic clock running at 99MHz
> cpu0: mwait min=64, max=64, C-substates=1.1, IBE
> cpu1 at mainbus0: apid 2 (application processor)
> cpu1: AMD Ryzen 5 3600 6-Core Processor, 3593.25 MHz, 17-71-00
> cpu1: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP

Re: Unable to sysupgrade to 6.7!

2020-05-23 Thread Federico Giannici

On 2020-05-23 10:45, Otto Moerbeek wrote:

On Sat, May 23, 2020 at 09:33:59AM +0200, Federico Giannici wrote:


I was unable to upgrade my amd64 6.6 workstation to 6.7.

Here is what happens: https://www.neomedia.it/tmp/67.jpg

Then system reboot in an infinite loop (finally I changed the boot image to
"bsd" and returned to previous 6.6).

Other system infos at the end of the email.

Anybody knows what the problem could be?

I don't understand if it's related to the "CHECK AND RESET THE DATE" warning
(never seen before and in normal 6.6 boots). I tried to advance the BIOS
clock two hours (I'm UTC+2) so it shows the corret time, but nothing
changed.


This has nothing to do with the time or date.

You have an inconsistency on your filesystem fsck -p cannot fix.


It was!
Thanks...



Boot into bsd.rd and fsck /dev/rsd2a

That said, the auto upgrade script should abort in this case.

-Otto



Thanks.



casa:/home/giannici# df
Filesystem  1K-blocks  Used Avail Capacity  Mounted on
/dev/sd2a92878104  42769116  4546508448%/
/dev/sd2d   143421884 103486968  3276382476%/home


casa:/home/giannici# mount
/dev/sd2a on / type ffs (local, wxallowed)
/dev/sd2d on /home type ffs (local, nodev, nosuid)


casa:/home/giannici# disklabel sd2
# /dev/rsd2c:
type: SCSI
disk: SCSI disk
label: SR RAID 1
duid: 409ffd737f4265d7
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 30400
total sectors: 488391473
boundstart: 64
boundend: 488376000
drivedata: 0

16 partitions:
#size   offset  fstype [fsize bsize   cpg]
   a:188747616   64  4.2BSD   2048 16384 12958 # /
   b: 10490450188747680swap# none
   c:4883914730  unused
   d:289137856199238144  4.2BSD   4096 32768 26062 # /home


casa:/home/giannici# bioctl sd2
Volume  Status   Size Device
softraid0 0 Online   250056434176 sd2 RAID1
   0 Online   250056434176 0:0.0   noencl 
   1 Online   250056434176 0:1.0   noencl 


casa:/home/giannici# fdisk sd2
Disk: sd2   geometry: 30400/255/63 [488391473 Sectors]
Offset: 0   Signature: 0xAA55
 Starting Ending LBA Info:
  #: id  C   H   S -  C   H   S [   start:size ]
---
  0: 00  0   0   0 -  0   0   0 [   0:   0 ] unused
  1: 00  0   0   0 -  0   0   0 [   0:   0 ] unused
  2: 00  0   0   0 -  0   0   0 [   0:   0 ] unused
*3: A6  0   1   2 -  30399 254  63 [  64:   488375936 ] OpenBSD


casa:/home/giannici# dmesg
OpenBSD 6.6 (GENERIC.MP) #8: Fri Apr 17 15:06:32 MDT 2020

r...@syspatch-66-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 17075994624 (16284MB)
avail mem = 16545767424 (15779MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.2 @ 0xe6f40 (70 entries)
bios0: vendor American Megatrends Inc. version "1407" date 04/02/2020
bios0: ASUSTeK COMPUTER INC. PRIME X570-P
acpi0 at bios0: ACPI 6.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT SSDT WSMT SSDT SSDT MCFG HPET SSDT
UEFI WPBT IVRS PCCT SSDT CRAT CDIT SSDT
acpi0: wakeup devices GPP0(S4) GPP2(S4) GPP3(S4) GPP4(S4) GPP5(S4) GPP6(S4)
GPP7(S4) GPP8(S4) X161(S4) GPP9(S4) X162(S4) GPPA(S4) GPPB(S4) GPPC(S4)
GPPD(S4) GPPE(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Ryzen 5 3600 6-Core Processor, 3593.74 MHz, 17-71-00
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu0: 32KB 64b/line 8-way I-cache, 32KB 64b/line 8-way D-cache, 512KB
64b/line 8-way L2 cache, 32MB 64b/line disabled L3 cache
cpu0: ITLB 64 4KB entries fully associative, 64 4MB entries fully
associative
cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully
associative
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: AMD Ryzen 5 3600 6-Core Processor, 3593.25 MHz, 17-71-00
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND