Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: xbd and large sectors



On Sat, 22 Jul 2023, Christian Kujau wrote:
> By the time I built the kernel myself, the latest kernels showed up on the 
> mirrors and just to be sure I booted 202307220710Z in PV mode and the same 
> happens: the disk size is calculated correctly, but it still errors out 
> with the messages above.

Oh, and here's the dmesg attached from both boot attempts.

Christian.
-- 
BOFH excuse #8:

static buildup
Parsing config from /etc/xen/netbsd.cfg
[   1.0000000] cpu_rng: rdrand
[   1.0000000] entropy: ready
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[   1.0000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[   1.0000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023
[   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All rights reserved.

[   1.0000000] NetBSD 10.99.6 (INSTALL_XEN3_DOMU) #3: Sat Jul 22 09:24:44 PDT 2023
[   1.0000000] 	dummy@netbsd0:/var/pkgtmp/obj/sys/arch/amd64/compile/INSTALL_XEN3_DOMU
[   1.0000000] total memory = 4096 MB
[   1.0000000] avail memory = 3939 MB
[   1.0000000] mainbus0 (root)
[   1.0000000] hypervisor0 at mainbus0: Xen version 4.17.1
[   1.0000000] vcpu0 at hypervisor0
[   1.0000000] vcpu0: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, id 0x306c3
[   1.0000000] vcpu0: node 0, package 0, core 0, smt 0
[   1.0000000] vcpu1 at hypervisor0
[   1.0000000] vcpu1: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, id 0x306c3
[   1.0000000] vcpu1: node 0, package 0, core 0, smt 0
[   1.0000000] vcpu2 at hypervisor0
[   1.0000000] vcpu2: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, id 0x306c3
[   1.0000000] vcpu2: node 0, package 0, core 0, smt 0
[   1.0000000] vcpu3 at hypervisor0
[   1.0000000] vcpu3: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, id 0x306c3
[   1.0000000] vcpu3: node 0, package 0, core 0, smt 0
[   1.0000000] xenbus0 at hypervisor0: Xen Virtual Bus Interface
[   1.0000000] xencons0 at hypervisor0: Xen Virtual Console Driver
[   1.1500584] xenbus0: can't get state for device/suspend/event-channel (2)
[   1.1614497] xbd0 at xenbus0 id 51712: Xen Virtual Block Device Interface
[   1.1700963] xbd1 at xenbus0 id 51728: Xen Virtual Block Device Interface
[   1.2000782] xennet0 at xenbus0 id 0: Xen Virtual Network Interface
[   1.2000782] xennet0: backend features 0x7<IPV6-CSUM,SG,RX-COPY>
[   1.2101386] xennet0: MAC address 00:16:3e:ab:cd:06
[   1.2101386] xbd0: 8192 MB, 512 bytes/sect x 16777216 sectors
[   1.2101386] xbd0: backend features 0xc<PERSISTENT,INDIRECT>
[   1.2101386] xbd0d: error reading fsbn 0 (xbd0 bn 0; cn 0 tn 0 sn 0)
[   1.2101386] xbd0: dos partition I/O error
[   1.2200578] xbd0d: error reading fsbn 0 of 0-31 (xbd0 bn 0; cn 0 tn 0 sn 0)
[   1.2200578] xbd0d: error reading fsbn 1 (xbd0 bn 1; cn 0 tn 0 sn 1)
[   1.2200578] balloon0 at xenbus0 id 0: Xen Balloon driver
[   1.2200578] balloon0: current reservation: 4194304 KiB
[   1.2501213] xenbus0: can't get state for device/suspend/event-channel (2)
[   1.2501213] balloon0: current reservation: 1048576 pages => target: 1048576 pages
[   1.2600760] xenbus0: can't get state for device/suspend/event-channel (2)
[   1.2701473] xbd1: 16384 MB, 512 bytes/sect x 33554432 sectors
[   1.2701473] xbd1: backend features 0xc<PERSISTENT,INDIRECT>
[   1.2701473] xbd1d: error reading fsbn 0 (xbd1 bn 0; cn 0 tn 0 sn 0)
[   1.2701473] xbd1: dos partition I/O error
[   1.2701473] xbd1d: error reading fsbn 0 of 0-31 (xbd1 bn 0; cn 0 tn 0 sn 0)
[   1.2800689] xbd1d: error reading fsbn 1 (xbd1 bn 1; cn 0 tn 0 sn 1)
[   1.2800689] xbd0d: error reading fsbn 0 (xbd0 bn 0; cn 0 tn 0 sn 0)
[   1.2800689] xbd0: dos partition I/O error
[   1.2800689] xenbus0: can't get state for device/suspend/event-channel (2)
[   1.2800689] xbd0d: error reading fsbn 0 (xbd0 bn 0; cn 0 tn 0 sn 0)
[   1.2800689] xbd0: dos partition I/O error
[   1.2900738] xbd0d: error reading fsbn 32 of 32-33 (xbd0 bn 32; cn 0 tn 0 sn 32)
[   1.2900738] xbd1d: error reading fsbn 0 (xbd1 bn 0; cn 0 tn 0 sn 0)
[   1.2900738] xbd1: dos partition I/O error
[   1.2900738] xbd1d: error reading fsbn 0 (xbd1 bn 0; cn 0 tn 0 sn 0)
[   1.2900738] xbd1: dos partition I/O error
[   1.2900738] xbd1d: error reading fsbn 32 of 32-33 (xbd1 bn 32; cn 0 tn 0 sn 32)
[   1.2900738] WARNING: 4 errors while detecting hardware; check system log.
[   1.2900738] boot device: xbd0
[   1.2900738] xbd0d: error reading fsbn 0 (xbd0 bn 0; cn 0 tn 0 sn 0)
[   1.2900738] xbd0: dos partition I/O error
[   1.2900738] root on md0a dumps on md0b
[   1.2900738] Your machine does not initialize mem_clusters; sparse_dumps disabled
[   1.2900738] root file system type: ffs
[   1.2900738] kern.module.path=/stand/amd64/10.99.6/modules
Created tmpfs /dev (1835008 byte, 3552 inodes)





# disklabel xbd0
[  22.6400867] xbd0d: error reading fsbn 0 (xbd0 bn 0; cn 0 tn 0 sn 0)
[  22.6400867] xbd0: dos partition I/O error
# /dev/rxbd0:
type: ESDI
disk: xbd0
label: default label
flags:
bytes/sector: 512
sectors/track: 2048
tracks/cylinder: 1
sectors/cylinder: 2048
cylinders: 8192
total sectors: 16777216
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# microseconds
track-to-track seek: 0	# microseconds
drivedata: 0 

4 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a:  16777216         0     4.2BSD      0     0     0  # (Cyl.      0 -   8191)
 d:  16777216         0     4.2BSD      0     0     0  # (Cyl.      0 -   8191)
disklabel: boot block size 0
disklabel: super block size 0
disklabel: partitions a and d overlap
Parsing config from /etc/xen/netbsd.cfg
[   1.0000000] cpu_rng: rdrand
[   1.0000000] entropy: ready
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[   1.0000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[   1.0000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023
[   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All rights reserved.

[   1.0000000] NetBSD 10.99.6 (INSTALL_XEN3_DOMU) #0: Fri Jul 21 22:07:59 UTC 2023
[   1.0000000] 	mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/xen/compile/INSTALL_XEN3_DOMU
[   1.0000000] total memory = 4096 MB
[   1.0000000] avail memory = 3939 MB
[   1.0000000] mainbus0 (root)
[   1.0000000] hypervisor0 at mainbus0: Xen version 4.17.1
[   1.0000000] vcpu0 at hypervisor0
[   1.0000000] vcpu0: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, id 0x306c3
[   1.0000000] vcpu0: node 0, package 0, core 0, smt 0
[   1.0000000] vcpu1 at hypervisor0
[   1.0000000] vcpu1: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, id 0x306c3
[   1.0000000] vcpu1: node 0, package 0, core 0, smt 0
[   1.0000000] vcpu2 at hypervisor0
[   1.0000000] vcpu2: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, id 0x306c3
[   1.0000000] vcpu2: node 0, package 0, core 0, smt 0
[   1.0000000] vcpu3 at hypervisor0
[   1.0000000] vcpu3: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, id 0x306c3
[   1.0000000] vcpu3: node 0, package 0, core 0, smt 0
[   1.0000000] xenbus0 at hypervisor0: Xen Virtual Bus Interface
[   1.0000000] xencons0 at hypervisor0: Xen Virtual Console Driver
[   1.2000594] xenbus0: can't get state for device/suspend/event-channel (2)
[   1.2103269] xbd0 at xenbus0 id 51712: Xen Virtual Block Device Interface
[   1.2300625] xbd1 at xenbus0 id 51728: Xen Virtual Block Device Interface
[   1.2500773] xennet0 at xenbus0 id 0: Xen Virtual Network Interface
[   1.2500773] xennet0: backend features 0x7<IPV6-CSUM,SG,RX-COPY>
[   1.2601481] xennet0: MAC address 00:16:3e:ab:cd:06
[   1.2700874] xbd0: 8192 MB, 512 bytes/sect x 16777216 sectors
[   1.2700874] xbd0: backend features 0xc<PERSISTENT,INDIRECT>
[   1.2700874] xbd0d: error reading fsbn 0 (xbd0 bn 0; cn 0 tn 0 sn 0)
[   1.2700874] xbd0: dos partition I/O error
[   1.2700874] xbd0d: error reading fsbn 0 of 0-31 (xbd0 bn 0; cn 0 tn 0 sn 0)
[   1.2800993] balloon0 at xenbus0 id 0: Xen Balloon driver
[   1.2800993] balloon0: current reservation: 4194304 KiB
[   1.2800993] xbd0d: error reading fsbn 1 (xbd0 bn 1; cn 0 tn 0 sn 1)
[   1.3000844] xenbus0: can't get state for device/suspend/event-channel (2)
[   1.3000844] balloon0: current reservation: 1048576 pages => target: 1048576 pages
[   1.3100971] xenbus0: can't get state for device/suspend/event-channel (2)
[   1.3200872] xbd1: 16384 MB, 512 bytes/sect x 33554432 sectors
[   1.3200872] xbd1: backend features 0xc<PERSISTENT,INDIRECT>
[   1.3200872] xbd1d: error reading fsbn 0 (xbd1 bn 0; cn 0 tn 0 sn 0)
[   1.3200872] xbd1: dos partition I/O error
[   1.3301172] xbd1d: error reading fsbn 0 of 0-31 (xbd1 bn 0; cn 0 tn 0 sn 0)
[   1.3301172] xbd1d: error reading fsbn 1 (xbd1 bn 1; cn 0 tn 0 sn 1)
[   1.3301172] xbd0d: error reading fsbn 0 (xbd0 bn 0; cn 0 tn 0 sn 0)
[   1.3301172] xbd0: dos partition I/O error
[   1.3301172] xenbus0: can't get state for device/suspend/event-channel (2)
[   1.3301172] xbd0d: error reading fsbn 0 (xbd0 bn 0; cn 0 tn 0 sn 0)
[   1.3301172] xbd0: dos partition I/O error
[   1.3400767] xbd0d: error reading fsbn 32 of 32-33 (xbd0 bn 32; cn 0 tn 0 sn 32)
[   1.3400767] xbd1d: error reading fsbn 0 (xbd1 bn 0; cn 0 tn 0 sn 0)
[   1.3400767] xbd1: dos partition I/O error
[   1.3400767] xbd1d: error reading fsbn 0 (xbd1 bn 0; cn 0 tn 0 sn 0)
[   1.3400767] xbd1: dos partition I/O error
[   1.3501170] xbd1d: error reading fsbn 32 of 32-33 (xbd1 bn 32; cn 0 tn 0 sn 32)
[   1.3501170] WARNING: 4 errors while detecting hardware; check system log.
[   1.3501170] boot device: xbd0
[   1.3501170] xbd0d: error reading fsbn 0 (xbd0 bn 0; cn 0 tn 0 sn 0)
[   1.3501170] xbd0: dos partition I/O error
[   1.3501170] root on md0a dumps on md0b
[   1.3501170] Your machine does not initialize mem_clusters; sparse_dumps disabled
[   1.3501170] root file system type: ffs
[   1.3501170] kern.module.path=/stand/amd64/10.99.6/modules
Created tmpfs /dev (1835008 byte, 3552 inodes)











# disklabel xbd0
[  21.3900843] xbd0d: error reading fsbn 0 (xbd0 bn 0; cn 0 tn 0 sn 0)
[  21.3900843] xbd0: dos partition I/O error
# /dev/rxbd0:
type: ESDI
disk: xbd0
label: default label
flags:
bytes/sector: 512
sectors/track: 2048
tracks/cylinder: 1
sectors/cylinder: 2048
cylinders: 8192
total sectors: 16777216
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# microseconds
track-to-track seek: 0	# microseconds
drivedata: 0 

4 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a:  16777216         0     4.2BSD      0     0     0  # (Cyl.      0 -   8191)
 d:  16777216         0     4.2BSD      0     0     0  # (Cyl.      0 -   8191)
disklabel: boot block size 0
disklabel: super block size 0
disklabel: partitions a and d overlap


Home | Main Index | Thread Index | Old Index