[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 11/15] s390-bios: cio error handling
From: |
Cornelia Huck |
Subject: |
Re: [Qemu-devel] [PATCH v4 11/15] s390-bios: cio error handling |
Date: |
Wed, 13 Mar 2019 11:18:05 +0100 |
On Mon, 11 Mar 2019 11:21:29 -0400
"Jason J. Herne" <address@hidden> wrote:
> Add verbose error output for when unexpected i/o errors happen. This eases the
> burden of debugging and reporting i/o errors. No error information is printed
> in the success case, here is an example of what is output on error:
>
> cio device error
> ssid : 0x0000000000000000
> cssid : 0x0000000000000000
> sch_no: 0x0000000000000000
>
> Interrupt Response Block Data:
> Function Ctrl : [Start]
> Activity Ctrl : [Start-Pending]
> Status Ctrl : [Alert] [Primary] [Secondary] [Status-Pending]
> Device Status : [Unit-Check]
> Channel Status :
> cpa=: 0x000000007f8d6038
> prev_ccw=: 0x0000000000000000
> this_ccw=: 0x0000000000000000
> Eckd Dasd Sense Data (fmt 32-bytes):
> Sense Condition Flags :
> Residual Count =: 0x0000000000000000
> Phys Drive ID =: 0x000000000000009e
> low cyl address =: 0x0000000000000000
> head addr & hi cyl =: 0x0000000000000000
> format/message =: 0x0000000000000008
> fmt-dependent[0-7] =: 0x0000000000000004
> fmt-dependent[8-15]=: 0xe561282305082fff
> prog action code =: 0x0000000000000016
> Configuration info =: 0x00000000000040e0
> mcode / hi-cyl =: 0x0000000000000000
> cyl & head addr [0]=: 0x0000000000000000
> cyl & head addr [1]=: 0x0000000000000000
> cyl & head addr [2]=: 0x0000000000000000
Maybe add:
"This is currently only printed for ECKD DASD."
>
> Signed-off-by: Jason J. Herne <address@hidden>
> ---
> pc-bios/s390-ccw/cio.c | 237
> +++++++++++++++++++++++++++++++++++++++++++++++-
> pc-bios/s390-ccw/libc.h | 11 +++
> 2 files changed, 247 insertions(+), 1 deletion(-)
There are some rules when certain bits in the irb are meaningful, but
as you are only dumping the bits and not processing them, that's fine :)
Reviewed-by: Cornelia Huck <address@hidden>
- [Qemu-devel] [PATCH v4 00/15] s390: vfio-ccw dasd ipl support, Jason J. Herne, 2019/03/11
- [Qemu-devel] [PATCH v4 10/15] s390-bios: Support for running format-0/1 channel programs, Jason J. Herne, 2019/03/11
- [Qemu-devel] [PATCH v4 07/15] s390-bios: Decouple channel i/o logic from virtio, Jason J. Herne, 2019/03/11
- [Qemu-devel] [PATCH v4 11/15] s390-bios: cio error handling, Jason J. Herne, 2019/03/11
- Re: [Qemu-devel] [PATCH v4 11/15] s390-bios: cio error handling,
Cornelia Huck <=
- [Qemu-devel] [PATCH v4 13/15] s390-bios: Use control unit type to determine boot method, Jason J. Herne, 2019/03/11
- [Qemu-devel] [PATCH v4 03/15] s390-bios: decouple common boot logic from virtio, Jason J. Herne, 2019/03/11
- [Qemu-devel] [PATCH v4 08/15] s390-bios: Map low core memory, Jason J. Herne, 2019/03/11
- [Qemu-devel] [PATCH v4 04/15] s390-bios: Extend find_dev() for non-virtio devices, Jason J. Herne, 2019/03/11
- [Qemu-devel] [PATCH v4 15/15] s390-bios: Support booting from real dasd device, Jason J. Herne, 2019/03/11
- [Qemu-devel] [PATCH v4 14/15] s390-bios: Add channel command codes/structs needed for dasd-ipl, Jason J. Herne, 2019/03/11
- [Qemu-devel] [PATCH v4 12/15] s390-bios: Refactor virtio to run channel programs via cio, Jason J. Herne, 2019/03/11
- [Qemu-devel] [PATCH v4 09/15] s390-bios: ptr2u32 and u32toptr, Jason J. Herne, 2019/03/11