search for: driver_sense

Displaying 20 results from an estimated 32 matches for "driver_sense".

2012 Apr 17
2
Kernel bug in BTRFS (kernel 3.3.0)
...0.19 Write is done through an LVS volume formated with BTRFS of course; Mount options are : rw,noatime,nodiratime,compress=lzo,nospace_cache Dmesg gives me following error : [370517.203926] sd 0:0:15:0: [sdo] Device not ready [370517.203930] sd 0:0:15:0: [sdo]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [370517.203935] sd 0:0:15:0: [sdo]  Sense Key : Not Ready [current] [370517.203940] sd 0:0:15:0: [sdo]  ASC=0x4 <<vendor>> ASCQ=0xf2 [370517.203946] sd 0:0:15:0: [sdo] CDB: Write(10): 2a 00 00 00 6a 00 00 00 80 00 [370517.203955] end_request: I/O error, dev sdo, sector 27136 [370517.204...
2014 Dec 01
2
[PATCH v7 42/46] virtio_scsi: v1.0 support
...se, > > - min_t(u32, resp->sense_len, VIRTIO_SCSI_SENSE_SIZE)); > > + min_t(u32, > > + virtio32_to_cpu(vscsi->vdev, resp->sense_len), > > + VIRTIO_SCSI_SENSE_SIZE)); > > if (resp->sense_len) > > set_driver_byte(sc, DRIVER_SENSE); > > } > > Otherwise looks good to me.
2014 Dec 01
2
[PATCH v7 42/46] virtio_scsi: v1.0 support
...se, > > - min_t(u32, resp->sense_len, VIRTIO_SCSI_SENSE_SIZE)); > > + min_t(u32, > > + virtio32_to_cpu(vscsi->vdev, resp->sense_len), > > + VIRTIO_SCSI_SENSE_SIZE)); > > if (resp->sense_len) > > set_driver_byte(sc, DRIVER_SENSE); > > } > > Otherwise looks good to me.
2014 Nov 30
2
[PATCH v7 42/46] virtio_scsi: v1.0 support
...;sense_buffer) { memcpy(sc->sense_buffer, resp->sense, - min_t(u32, resp->sense_len, VIRTIO_SCSI_SENSE_SIZE)); + min_t(u32, + virtio32_to_cpu(vscsi->vdev, resp->sense_len), + VIRTIO_SCSI_SENSE_SIZE)); if (resp->sense_len) set_driver_byte(sc, DRIVER_SENSE); } @@ -323,7 +326,7 @@ static void virtscsi_handle_transport_reset(struct virtio_scsi *vscsi, unsigned int target = event->lun[1]; unsigned int lun = (event->lun[2] << 8) | event->lun[3]; - switch (event->reason) { + switch (virtio32_to_cpu(vscsi->vdev, event->reaso...
2014 Nov 30
2
[PATCH v7 42/46] virtio_scsi: v1.0 support
...;sense_buffer) { memcpy(sc->sense_buffer, resp->sense, - min_t(u32, resp->sense_len, VIRTIO_SCSI_SENSE_SIZE)); + min_t(u32, + virtio32_to_cpu(vscsi->vdev, resp->sense_len), + VIRTIO_SCSI_SENSE_SIZE)); if (resp->sense_len) set_driver_byte(sc, DRIVER_SENSE); } @@ -323,7 +326,7 @@ static void virtscsi_handle_transport_reset(struct virtio_scsi *vscsi, unsigned int target = event->lun[1]; unsigned int lun = (event->lun[2] << 8) | event->lun[3]; - switch (event->reason) { + switch (virtio32_to_cpu(vscsi->vdev, event->reaso...
2020 May 14
0
[virtio-dev] [PATCH v3 00/15] virtio-mem: paravirtualized memory
...tag 0 dma 118784 in > [ 26.779131] res 50/00:00:0a:80:03/00:00:00:00:00/a0 Emask 0x40 (internal error) > [ 26.780691] ata2.00: status: { DRDY } > [ 26.781603] ata2.00: configured for MWDMA2 > [ 26.782034] sd 1:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s > [ 26.782958] sd 1:0:0:0: [sda] tag#0 Sense Key : Illegal Request [current] > [ 26.783646] sd 1:0:0:0: [sda] tag#0 Add. Sense: Unaligned write command > [ 26.784321] sd 1:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 ad 92 00 00 e8 00 > [ 26.785056] blk_update_request...
2011 Jan 13
6
bug: kernel 2.6.37-12 READ FPDMA QUEUED
I''ve been trying to install a 2.6.37-12 kernel from kernel-ppa on one of my Ubuntu machines without success. It keeps giving errors like this: [ 9.115544] ata9: exception Emask 0x0 SAct 0xf SErr 0x0 action 0x10 frozen [ 9.115550] ata9.00: failed command: READ FPDMA QUEUED [ 9.115556] ata9.00: cmd 60/04:00: d4:82:85/00:00:1f:00:00/40 tag 0 ncq 2048 in [ 9.115557]
2009 Mar 04
1
file system, kernel or hardware raid failure?
I had a busy mailserver fail on me the other day. Below is what was printed in dmesg. We first suspected a hardware failure (raid controller or something else), so we moved the drives to another (identical hardware) machine and ran fsck. Fsck complained ("short read while reading inode") and asked if I wanted to ignore and rewrite (which I did). After booting up again, the problem came
2011 Jun 27
1
How to handle badblocks with btrfs?
...00:00/40 Emask 0x409 (media error) <F> [ 556.283982] ata1.00: status: { DRDY ERR } [ 556.283987] ata1.00: error: { UNC } [ 556.292610] ata1.00: configured for UDMA/133 [ 556.292671] sd 0:0:0:0: [sda] Unhandled sense code [ 556.292678] sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [ 556.292686] sd 0:0:0:0: [sda] Sense Key : Medium Error [current] [descriptor] [ 556.292697] Descriptor sense data with sense descriptors (in hex): [ 556.292703] 72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00 [ 556.292725] 1d 7a b7 a0 [ 556.292735] sd 0:0:0:0: [sda] Add. Se...
2014 Dec 01
0
[PATCH v7 42/46] virtio_scsi: v1.0 support
...>sense_buffer, resp->sense, > - min_t(u32, resp->sense_len, VIRTIO_SCSI_SENSE_SIZE)); > + min_t(u32, > + virtio32_to_cpu(vscsi->vdev, resp->sense_len), > + VIRTIO_SCSI_SENSE_SIZE)); > if (resp->sense_len) > set_driver_byte(sc, DRIVER_SENSE); > } Otherwise looks good to me.
2014 Dec 01
0
[PATCH v7 42/46] virtio_scsi: v1.0 support
...>sense_buffer, resp->sense, > - min_t(u32, resp->sense_len, VIRTIO_SCSI_SENSE_SIZE)); > + min_t(u32, > + virtio32_to_cpu(vscsi->vdev, resp->sense_len), > + VIRTIO_SCSI_SENSE_SIZE)); > if (resp->sense_len) > set_driver_byte(sc, DRIVER_SENSE); > } Otherwise looks good to me.
2012 Mar 23
2
btrfs crash after disk reconnect
...121.695903] ata4.01: status: { DRDY ERR } [44121.695908] ata4.01: error: { UNC } [44121.736972] ata4.00: configured for UDMA/133 [44121.744314] ata4.01: configured for UDMA/133 [44121.744347] sd 3:0:1:0: [sdf] Unhandled sense code [44121.744354] sd 3:0:1:0: [sdf] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [44121.744362] sd 3:0:1:0: [sdf] Sense Key : Medium Error [current] [descriptor] [44121.744372] Descriptor sense data with sense descriptors (in hex): [44121.744377] 72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00 [44121.744398] 4f 72 ca a3 [44121.744408] sd 3:0:1:0: [sdf] Add....
2014 Nov 24
0
[PATCH v3 37/41] virtio_scsi: v1.0 support
...ense_buffer) { memcpy(sc->sense_buffer, resp->sense, - min_t(u32, resp->sense_len, VIRTIO_SCSI_SENSE_SIZE)); + min_t(u32, + __virtio32_to_cpu(vscsi->vdev, resp->sense_len), + VIRTIO_SCSI_SENSE_SIZE)); if (resp->sense_len) set_driver_byte(sc, DRIVER_SENSE); } @@ -323,7 +326,7 @@ static void virtscsi_handle_transport_reset(struct virtio_scsi *vscsi, unsigned int target = event->lun[1]; unsigned int lun = (event->lun[2] << 8) | event->lun[3]; - switch (event->reason) { + switch (__virtio32_to_cpu(vscsi->vdev, event->rea...
2014 Nov 24
0
[PATCH v3 37/41] virtio_scsi: v1.0 support
...ense_buffer) { memcpy(sc->sense_buffer, resp->sense, - min_t(u32, resp->sense_len, VIRTIO_SCSI_SENSE_SIZE)); + min_t(u32, + __virtio32_to_cpu(vscsi->vdev, resp->sense_len), + VIRTIO_SCSI_SENSE_SIZE)); if (resp->sense_len) set_driver_byte(sc, DRIVER_SENSE); } @@ -323,7 +326,7 @@ static void virtscsi_handle_transport_reset(struct virtio_scsi *vscsi, unsigned int target = event->lun[1]; unsigned int lun = (event->lun[2] << 8) | event->lun[3]; - switch (event->reason) { + switch (__virtio32_to_cpu(vscsi->vdev, event->rea...
2014 Nov 27
0
[PATCH v5 41/45] virtio_scsi: v1.0 support
...;sense_buffer) { memcpy(sc->sense_buffer, resp->sense, - min_t(u32, resp->sense_len, VIRTIO_SCSI_SENSE_SIZE)); + min_t(u32, + virtio32_to_cpu(vscsi->vdev, resp->sense_len), + VIRTIO_SCSI_SENSE_SIZE)); if (resp->sense_len) set_driver_byte(sc, DRIVER_SENSE); } @@ -323,7 +326,7 @@ static void virtscsi_handle_transport_reset(struct virtio_scsi *vscsi, unsigned int target = event->lun[1]; unsigned int lun = (event->lun[2] << 8) | event->lun[3]; - switch (event->reason) { + switch (virtio32_to_cpu(vscsi->vdev, event->reaso...
2014 Nov 27
0
[PATCH v6 42/46] virtio_scsi: v1.0 support
...;sense_buffer) { memcpy(sc->sense_buffer, resp->sense, - min_t(u32, resp->sense_len, VIRTIO_SCSI_SENSE_SIZE)); + min_t(u32, + virtio32_to_cpu(vscsi->vdev, resp->sense_len), + VIRTIO_SCSI_SENSE_SIZE)); if (resp->sense_len) set_driver_byte(sc, DRIVER_SENSE); } @@ -323,7 +326,7 @@ static void virtscsi_handle_transport_reset(struct virtio_scsi *vscsi, unsigned int target = event->lun[1]; unsigned int lun = (event->lun[2] << 8) | event->lun[3]; - switch (event->reason) { + switch (virtio32_to_cpu(vscsi->vdev, event->reaso...
2014 Dec 01
0
[PATCH v8 42/50] virtio_scsi: v1.0 support
...;sense_buffer) { memcpy(sc->sense_buffer, resp->sense, - min_t(u32, resp->sense_len, VIRTIO_SCSI_SENSE_SIZE)); + min_t(u32, + virtio32_to_cpu(vscsi->vdev, resp->sense_len), + VIRTIO_SCSI_SENSE_SIZE)); if (resp->sense_len) set_driver_byte(sc, DRIVER_SENSE); } @@ -323,7 +326,7 @@ static void virtscsi_handle_transport_reset(struct virtio_scsi *vscsi, unsigned int target = event->lun[1]; unsigned int lun = (event->lun[2] << 8) | event->lun[3]; - switch (event->reason) { + switch (virtio32_to_cpu(vscsi->vdev, event->reaso...
2014 Nov 27
0
[PATCH v5 41/45] virtio_scsi: v1.0 support
...;sense_buffer) { memcpy(sc->sense_buffer, resp->sense, - min_t(u32, resp->sense_len, VIRTIO_SCSI_SENSE_SIZE)); + min_t(u32, + virtio32_to_cpu(vscsi->vdev, resp->sense_len), + VIRTIO_SCSI_SENSE_SIZE)); if (resp->sense_len) set_driver_byte(sc, DRIVER_SENSE); } @@ -323,7 +326,7 @@ static void virtscsi_handle_transport_reset(struct virtio_scsi *vscsi, unsigned int target = event->lun[1]; unsigned int lun = (event->lun[2] << 8) | event->lun[3]; - switch (event->reason) { + switch (virtio32_to_cpu(vscsi->vdev, event->reaso...
2014 Nov 27
0
[PATCH v6 42/46] virtio_scsi: v1.0 support
...;sense_buffer) { memcpy(sc->sense_buffer, resp->sense, - min_t(u32, resp->sense_len, VIRTIO_SCSI_SENSE_SIZE)); + min_t(u32, + virtio32_to_cpu(vscsi->vdev, resp->sense_len), + VIRTIO_SCSI_SENSE_SIZE)); if (resp->sense_len) set_driver_byte(sc, DRIVER_SENSE); } @@ -323,7 +326,7 @@ static void virtscsi_handle_transport_reset(struct virtio_scsi *vscsi, unsigned int target = event->lun[1]; unsigned int lun = (event->lun[2] << 8) | event->lun[3]; - switch (event->reason) { + switch (virtio32_to_cpu(vscsi->vdev, event->reaso...
2014 Dec 01
0
[PATCH v8 42/50] virtio_scsi: v1.0 support
...;sense_buffer) { memcpy(sc->sense_buffer, resp->sense, - min_t(u32, resp->sense_len, VIRTIO_SCSI_SENSE_SIZE)); + min_t(u32, + virtio32_to_cpu(vscsi->vdev, resp->sense_len), + VIRTIO_SCSI_SENSE_SIZE)); if (resp->sense_len) set_driver_byte(sc, DRIVER_SENSE); } @@ -323,7 +326,7 @@ static void virtscsi_handle_transport_reset(struct virtio_scsi *vscsi, unsigned int target = event->lun[1]; unsigned int lun = (event->lun[2] << 8) | event->lun[3]; - switch (event->reason) { + switch (virtio32_to_cpu(vscsi->vdev, event->reaso...