Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: xbd and large sectors
On Mon, 24 Jul 2023, Manuel Bouyer wrote:
> OK, so here's an updated diff and I also updated the binaries.
> This time I enabled XBD_DEBUG
> please try and report the boot messages
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) #4: Mon Jul 24 15:38:46 CEST 2023
[ 1.0000000] bouyer@bip:/dsk/l1/misc/bouyer/tmp/amd64/obj/dsk/l1/misc/bouyer/HEAD/clean/src/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.0000000] event 2 bound to VCPU vcpu0 0
[ 1.1200447] event 1 bound to VCPU vcpu0 0
[ 1.1200447] xenbus0: can't get state for device/suspend/event-channel (2)
[ 1.1300502] xbd0 at xenbus0 id 51712: Xen Virtual Block Device Interface
[ 1.1300502] event 12 bound to VCPU vcpu3 3
[ 1.1400535] xbd1 at xenbus0 id 51728: Xen Virtual Block Device Interface
[ 1.1400535] xbd0: new backend state 2
[ 1.1400535] event 13 bound to VCPU vcpu3 3
[ 1.1500543] xennet0 at xenbus0 id 0: Xen Virtual Network Interface
[ 1.1500543] xbd1: new backend state 2
[ 1.1500543] xennet0: backend features 0x7<IPV6-CSUM,SG,RX-COPY>
[ 1.1500543] xennet0: MAC address 00:16:3e:ab:cd:06
[ 1.1500543] event 14 bound to VCPU vcpu3 3
[ 1.1600488] xbd0: new backend state 4
[ 1.1600488] xbd0: 8192 MB, 4096 bytes/sect x 2097152 sectors
[ 1.1600488] xbd0: backend features 0xc<PERSISTENT,INDIRECT>
[ 1.1600488] xbdopen(8e03, 1073741825)
[ 1.1600488] xbdstrategy(0xffffb18008b8c038): b_bcount = 4096
[ 1.1600488] xbd_diskstart(0xffffb18008b8c038): b_bcount = 4096
[ 1.1600488] xbd_handler(xbd0)
[ 1.1600488] xbd_handler(0xffffb18008b8c038): b_bcount = 4096
[ 1.1600488] xbd0d: error reading fsbn 0 of 0-7 (xbd0 bn 0; cn 0 tn 0 sn 0)
[ 1.1600488] xbd0: dos partition I/O error
[ 1.1600488] xbdioctl(8e03, 80206468, 0xffffb181386e7d60, 1, 0xffffb18007f14040)
[ 1.1600488] xbdopen(8e03, 1)
[ 1.1600488] xbdioctl(8e03, 80206468, 0xffffb181386e7b40, 1, 0xffffb18007f14040)
[ 1.1600488] xbdstrategy(0xffffb18008b8d038): b_bcount = 16384
[ 1.1600488] xbd_diskstart(0xffffb18008b8d038): b_bcount = 16384
[ 1.1600488] balloon0 at xenbus0 id 0: Xen Balloon driver
[ 1.1600488] balloon0: current reservation: 4194304 KiB
[ 1.1600488] xbd_handler(xbd0)
[ 1.1600488] xbd_handler(0xffffb18008b8d038): b_bcount = 16384
[ 1.1600488] xbd0d: error reading fsbn 0 of 0-31 (xbd0 bn 0; cn 0 tn 0 sn 0)
[ 1.1600488] xbdclose(8e03, 1)
[ 1.1600488] xbdopen(8e03, 1)
[ 1.1600488] xbdioctl(8e03, 80206468, 0xffffb181386e7a80, 1, 0xffffb18007f14040)
[ 1.1600488] xbdstrategy(0xffffb18008b8d038): b_bcount = 512
[ 1.1600488] xbdclose(8e03, 1)
[ 1.1600488] xbdclose(8e03, 1)
[ 1.1800610] xenbus0: can't get state for device/suspend/event-channel (2)
[ 1.1800610] balloon0: current reservation: 1048576 pages => target: 1048576 pages
[ 1.1800610] xenbus0: can't get state for device/suspend/event-channel (2)
[ 1.1800610] xbd1: new backend state 4
[ 1.1900473] xbd1: 8192 MB, 4096 bytes/sect x 2097152 sectors
[ 1.1900473] xbd1: backend features 0xc<PERSISTENT,INDIRECT>
[ 1.1900473] xbdopen(8e13, 1073741825)
[ 1.1900473] xbdstrategy(0xffffb18008b8c380): b_bcount = 4096
[ 1.1900473] xbd_diskstart(0xffffb18008b8c380): b_bcount = 4096
[ 1.1900473] xbd_handler(xbd1)
[ 1.1900473] xbd_handler(0xffffb18008b8c380): b_bcount = 4096
[ 1.1900473] xbd1d: error reading fsbn 0 of 0-7 (xbd1 bn 0; cn 0 tn 0 sn 0)
[ 1.1900473] xbd1: dos partition I/O error
[ 1.1900473] xbdioctl(8e13, 80206468, 0xffffb181386e7d60, 1, 0xffffb18007f14040)
[ 1.1900473] xbdopen(8e13, 1)
[ 1.1900473] xbdioctl(8e13, 80206468, 0xffffb181386e7b40, 1, 0xffffb18007f14040)
[ 1.1900473] xbdstrategy(0xffffb18008b8d038): b_bcount = 16384
[ 1.1900473] xbd_diskstart(0xffffb18008b8d038): b_bcount = 16384
[ 1.1900473] xbd_handler(xbd1)
[ 1.1900473] xbd_handler(0xffffb18008b8d038): b_bcount = 16384
[ 1.1900473] xbd1d: error reading fsbn 0 of 0-31 (xbd1 bn 0; cn 0 tn 0 sn 0)
[ 1.2000543] xbdclose(8e13, 1)
[ 1.2000543] xbdopen(8e13, 1)
[ 1.2000543] xbdioctl(8e13, 80206468, 0xffffb181386e7a80, 1, 0xffffb18007f14040)
[ 1.2000543] xbdstrategy(0xffffb18008b8d038): b_bcount = 512
[ 1.2000543] xbdclose(8e13, 1)
[ 1.2000543] xbdclose(8e13, 1)
[ 1.2000543] xbdopen(8e03, 1073741825)
[ 1.2000543] xbdstrategy(0xffffb18008b8c6c8): b_bcount = 4096
[ 1.2000543] xbd_diskstart(0xffffb18008b8c6c8): b_bcount = 4096
[ 1.2000543] xbd_handler(xbd0)
[ 1.2000543] xbd_handler(0xffffb18008b8c6c8): b_bcount = 4096
[ 1.2000543] xbd0d: error reading fsbn 0 of 0-7 (xbd0 bn 0; cn 0 tn 0 sn 0)
[ 1.2000543] xenbus0: can't get state for device/suspend/event-channel (2)
[ 1.2000543] xbd0: dos partition I/O error
[ 1.2000543] xbdioctl(8e03, 80206468, 0xffffffff8176da20, 1, 0xffffffff80c9dac0)
[ 1.2000543] xbdioctl(8e03, 40d0647a, 0xffffffff8176d9a0, 1, 0xffffffff80c9dac0)
[ 1.2000543] xbdioctl(8e03, 80206468, 0xffffffff8176d980, 1, 0xffffffff80c9dac0)
[ 1.2000543] xbdioctl(8e03, 41986465, 0xffffffff8176dbf0, 1, 0xffffffff80c9dac0)
[ 1.2000543] xbdclose(8e03, 3)
[ 1.2000543] xbdopen(8e03, 1)
[ 1.2000543] xbdstrategy(0xffffb18008b8c7e0): b_bcount = 4096
[ 1.2000543] xbd_diskstart(0xffffb18008b8c7e0): b_bcount = 4096
[ 1.2000543] xbd_handler(xbd0)
[ 1.2000543] xbd_handler(0xffffb18008b8c7e0): b_bcount = 4096
[ 1.2000543] xbd0d: error reading fsbn 0 of 0-7 (xbd0 bn 0; cn 0 tn 0 sn 0)
[ 1.2000543] xbd0: dos partition I/O error
[ 1.2000543] xbdioctl(8e03, 80206468, 0xffffffff8176da20, 1, 0xffffffff80c9dac0)
[ 1.2000543] xbdstrategy(0xffffb18008b8c8f8): b_bcount = 4096
[ 1.2000543] xbd_diskstart(0xffffb18008b8c8f8): b_bcount = 4096
[ 1.2000543] xbd_handler(xbd0)
[ 1.2000543] xbd_handler(0xffffb18008b8c8f8): b_bcount = 4096
[ 1.2000543] xbd0d: error reading fsbn 32 of 32-39 (xbd0 bn 32; cn 0 tn 0 sn 32)
[ 1.2000543] xbdclose(8e03, 3)
[ 1.2000543] xbdopen(8e13, 1073741825)
[ 1.2000543] xbdstrategy(0xffffb18008b8ca10): b_bcount = 4096
[ 1.2000543] xbd_diskstart(0xffffb18008b8ca10): b_bcount = 4096
[ 1.2000543] xbd_handler(xbd1)
[ 1.2000543] xbd_handler(0xffffb18008b8ca10): b_bcount = 4096
[ 1.2000543] xbd1d: error reading fsbn 0 of 0-7 (xbd1 bn 0; cn 0 tn 0 sn 0)
[ 1.2000543] xbd1: dos partition I/O error
[ 1.2000543] xbdioctl(8e13, 80206468, 0xffffffff8176da20, 1, 0xffffffff80c9dac0)
[ 1.3979900] xbdioctl(8e13, 40d0647a, 0xffffffff8176d9a0, 1, 0xffffffff80c9dac0)
[ 1.3979900] xbdioctl(8e13, 80206468, 0xffffffff8176d980, 1, 0xffffffff80c9dac0)
[ 1.3979900] xbdioctl(8e13, 41986465, 0xffffffff8176dbf0, 1, 0xffffffff80c9dac0)
[ 1.3979900] xbdclose(8e13, 3)
[ 1.3979900] xbdopen(8e13, 1)
[ 1.3979900] xbdstrategy(0xffffb18008b8cb28): b_bcount = 4096
[ 1.3979900] xbd_diskstart(0xffffb18008b8cb28): b_bcount = 4096
[ 1.3979900] xbd_handler(xbd1)
[ 1.3979900] xbd_handler(0xffffb18008b8cb28): b_bcount = 4096
[ 1.3979900] xbd1d: error reading fsbn 0 of 0-7 (xbd1 bn 0; cn 0 tn 0 sn 0)
[ 1.3979900] xbd1: dos partition I/O error
[ 1.3979900] xbdioctl(8e13, 80206468, 0xffffffff8176da20, 1, 0xffffffff80c9dac0)
[ 1.3979900] xbdstrategy(0xffffb18008b8cc40): b_bcount = 4096
[ 1.3979900] xbd_diskstart(0xffffb18008b8cc40): b_bcount = 4096
[ 1.4000553] xbd_handler(xbd1)
[ 1.4000553] xbd_handler(0xffffb18008b8cc40): b_bcount = 4096
[ 1.4000553] xbd1d: error reading fsbn 32 of 32-39 (xbd1 bn 32; cn 0 tn 0 sn 32)
[ 1.4000553] xbdclose(8e13, 3)
[ 1.4000553] WARNING: 4 errors while detecting hardware; check system log.
[ 1.4000553] boot device: xbd0
[ 1.4000553] xbdopen(8e03, 1073741825)
[ 1.4000553] xbdstrategy(0xffffb18008b8cd58): b_bcount = 4096
[ 1.4000553] xbd_diskstart(0xffffb18008b8cd58): b_bcount = 4096
[ 1.4000553] xbd_handler(xbd0)
[ 1.4000553] xbd_handler(0xffffb18008b8cd58): b_bcount = 4096
[ 1.4000553] xbd0d: error reading fsbn 0 of 0-7 (xbd0 bn 0; cn 0 tn 0 sn 0)
[ 1.4000553] xbd0: dos partition I/O error
[ 1.4000553] xbdioctl(8e03, 80206468, 0xffffffff8176dbf0, 1, 0xffffffff80c9dac0)
[ 1.4000553] xbdioctl(8e03, 41986465, 0xffffffff8176dcd0, 1, 0xffffffff80c9dac0)
[ 1.4000553] xbdclose(8e03, 1)
[ 1.4000553] root on md0a dumps on md0b
[ 1.4000553] Your machine does not initialize mem_clusters; sparse_dumps disabled
[ 1.4000553] root file system type: ffs
[ 1.4000553] kern.module.path=/stand/amd64/10.99.6/modules
Created tmpfs /dev (1835008 byte, 3552 inodes)
erase ^?, werase ^W, kill ^U, intr ^C
---- exit to /bin/sh
# disklabel xbd0
[ 19.4600692] xbdopen(8e03, 1)
[ 19.4600692] xbdstrategy(0xffffb18008ec45c0): b_bcount = 4096
[ 19.4600692] xbd_diskstart(0xffffb18008ec45c0): b_bcount = 4096
[ 19.4600692] xbd_handler(xbd0)
[ 19.4600692] xbd_handler(0xffffb18008ec45c0): b_bcount = 4096
[ 19.4600692] xbd0d: error reading fsbn 0 of 0-7 (xbd0 bn 0; cn 0 tn 0 sn 0)
[ 19.4600692] xbd0: dos partition I/O error
[ 19.4600692] xbdioctl(8e03, 80206468, 0xffffb181386d3b60, 1, 0xffffb18007f13780)
[ 19.4600692] xbdioctl(8e03, 41986465, 0xffffb18008dda200, 1, 0xffffb18007f13780)
# /dev/rxbd0:
type: ESDI
disk: xbd0
label: default label
flags:
bytes/sector: 4096
sectors/track: 256
tracks/cylinder: 1
sectors/cylinder: 256
cylinders: 8192
total sectors: 2097152
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: 2097152 0 4.2BSD 0 0 0 # (Cyl. 0 - 8191)
d: 2097152 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
[ 19.4700520] xbdclose(8e03, 1)
---- dmesg from dom0:
xenbr0: port 5(netbsd) entered disabled state
vif vif-77-0 netbsd: renamed from vif77.0
xenbr0: port 5(netbsd) entered blocking state
xenbr0: port 5(netbsd) entered disabled state
vif vif-77-0 netbsd: entered allmulticast mode
vif vif-77-0 netbsd: entered promiscuous mode
xen-blkback: backend/vbd/77/51712: using 1 queues, protocol 1 (x86_64-abi)
xen-blkback: backend/vbd/77/51728: using 1 queues, protocol 1 (x86_64-abi)
vif vif-77-0 netbsd: Guest Rx ready
IPv6: ADDRCONF(NETDEV_CHANGE): netbsd: link becomes ready
xenbr0: port 5(netbsd) entered blocking state
xenbr0: port 5(netbsd) entered forwarding state
vif vif-77-0 netbsd: Guest Rx stalled
xenbr0: port 5(netbsd) entered disabled state
Thanks!
Christian.
--
BOFH excuse #254:
Interference from lunar radiation
Home |
Main Index |
Thread Index |
Old Index