A disk header that cannot be read refuses the attach (BLK_EIO, with a message naming the disk by size); it was taken as blank and offered for a format. A data read that fails is refused, not cached as zeros. An eviction whose writeback fails keeps the slot and refuses the new one; the changes were lost. test_host_blocks, a device whose reads can fail: 7 of 65 failed against the old code, 65 pass (63 at 32 bits). The test's own errors (a detached device not reopened; two devices declared out of the later checks' scope) corrected. ident_attach_fail on amd64: the attach refused; its two failures left are #179's. The five write results still thrown away are reported, not changed. Gates pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2.8 KiB
2.8 KiB
LOG: logs/20261120-225815/amd64/qemu-amd64-20261120-225815.log
PASS: POST: PASSED
[23:03:03.694] INFO: blk: disk 'StarForth Volume' v2 LBN 2048..777305 (775258 user blocks); devblocks=264704 bam=6144 base=6146 total=775290 free=775258 fence=128
[23:03:03.785] INFO: blk: disk 'StarForth Volume' v2 LBN 2048..777305 (775258 user blocks); devblocks=264704 bam=6144 base=6146 total=775290 free=775258 fence=128
PASS: no ok> for 20 s with no drive
FAIL: Zuse: the stick's identity partition failed -- not used
--- serial log, after /Artemis|Zuse|xhci/, line 186 (logs/20261120-225815/amd64/qemu-amd64-20261120-225815.log):
186 | Artemis: the stick's partition attached
187 | \x1b[33m[HADES][WARN ] \x1b[0m[KRELTSC: 0] blk: a disk of 512000 KiB: its header could not be read -- not
188 | xhci: USB MSC block-subsystem attach failed
---
--- the CPUs, 1 of 3: RIP=000000003d2d4105 RFL=00000287 [--S--PC] CPL=0 II=0 A20=1 SMM=0 HLT=1
the code at the PC: 000000003d2d4105: 0x0f2e66c3 0x0000841f 0xf3000000 0xfafa1e0f 000000003d2d4115: 0xfffffeb8 0x0f64e6ff 0xfa00401f 0x66fcebf4
--- the CPUs, 2 of 3: RIP=000000003d2d4105 RFL=00000283 [--S---C] CPL=0 II=0 A20=1 SMM=0 HLT=1
the code at the PC: 000000003d2d4105: 0x0f2e66c3 0x0000841f 0xf3000000 0xfafa1e0f 000000003d2d4115: 0xfffffeb8 0x0f64e6ff 0xfa00401f 0x66fcebf4
--- the CPUs, 3 of 3: RIP=000000003d2d4105 RFL=00000283 [--S---C] CPL=0 II=0 A20=1 SMM=0 HLT=1
the code at the PC: 000000003d2d4105: 0x0f2e66c3 0x0000841f 0xf3000000 0xfafa1e0f 000000003d2d4115: 0xfffffeb8 0x0f64e6ff 0xfa00401f 0x66fcebf4
FAIL: Artemis: the stick's partition let go -- both or neither
--- serial log, after /Artemis|Zuse|xhci/, line 186 (logs/20261120-225815/amd64/qemu-amd64-20261120-225815.log):
186 | Artemis: the stick's partition attached
187 | \x1b[33m[HADES][WARN ] \x1b[0m[KRELTSC: 0] blk: a disk of 512000 KiB: its header could not be read -- not
188 | xhci: USB MSC block-subsystem attach failed
---
--- the CPUs, 1 of 3: RIP=000000003d2d4105 RFL=00000297 [--S-APC] CPL=0 II=0 A20=1 SMM=0 HLT=1
the code at the PC: 000000003d2d4105: 0x0f2e66c3 0x0000841f 0xf3000000 0xfafa1e0f 000000003d2d4115: 0xfffffeb8 0x0f64e6ff 0xfa00401f 0x66fcebf4
--- the CPUs, 2 of 3: RIP=000000003d2d4105 RFL=00000287 [--S--PC] CPL=0 II=0 A20=1 SMM=0 HLT=1
the code at the PC: 000000003d2d4105: 0x0f2e66c3 0x0000841f 0xf3000000 0xfafa1e0f 000000003d2d4115: 0xfffffeb8 0x0f64e6ff 0xfa00401f 0x66fcebf4
--- the CPUs, 3 of 3: RIP=000000003d2d4105 RFL=00000283 [--S---C] CPL=0 II=0 A20=1 SMM=0 HLT=1
the code at the PC: 000000003d2d4105: 0x0f2e66c3 0x0000841f 0xf3000000 0xfafa1e0f 000000003d2d4115: 0xfffffeb8 0x0f64e6ff 0xfa00401f 0x66fcebf4
PASS: no ok> for 20 s with the faulty stick
PASS: the same stick, without the fault: genesis
PASS: [zuse@Hera] ok>
RESULT: FAIL
PASS: POST: PASSED
[23:03:03.694] INFO: blk: disk 'StarForth Volume' v2 LBN 2048..777305 (775258 user blocks); devblocks=264704 bam=6144 base=6146 total=775290 free=775258 fence=128
[23:03:03.785] INFO: blk: disk 'StarForth Volume' v2 LBN 2048..777305 (775258 user blocks); devblocks=264704 bam=6144 base=6146 total=775290 free=775258 fence=128
PASS: no ok> for 20 s with no drive
FAIL: Zuse: the stick's identity partition failed -- not used
--- serial log, after /Artemis|Zuse|xhci/, line 186 (logs/20261120-225815/amd64/qemu-amd64-20261120-225815.log):
186 | Artemis: the stick's partition attached
187 | \x1b[33m[HADES][WARN ] \x1b[0m[KRELTSC: 0] blk: a disk of 512000 KiB: its header could not be read -- not
188 | xhci: USB MSC block-subsystem attach failed
---
--- the CPUs, 1 of 3: RIP=000000003d2d4105 RFL=00000287 [--S--PC] CPL=0 II=0 A20=1 SMM=0 HLT=1
the code at the PC: 000000003d2d4105: 0x0f2e66c3 0x0000841f 0xf3000000 0xfafa1e0f 000000003d2d4115: 0xfffffeb8 0x0f64e6ff 0xfa00401f 0x66fcebf4
--- the CPUs, 2 of 3: RIP=000000003d2d4105 RFL=00000283 [--S---C] CPL=0 II=0 A20=1 SMM=0 HLT=1
the code at the PC: 000000003d2d4105: 0x0f2e66c3 0x0000841f 0xf3000000 0xfafa1e0f 000000003d2d4115: 0xfffffeb8 0x0f64e6ff 0xfa00401f 0x66fcebf4
--- the CPUs, 3 of 3: RIP=000000003d2d4105 RFL=00000283 [--S---C] CPL=0 II=0 A20=1 SMM=0 HLT=1
the code at the PC: 000000003d2d4105: 0x0f2e66c3 0x0000841f 0xf3000000 0xfafa1e0f 000000003d2d4115: 0xfffffeb8 0x0f64e6ff 0xfa00401f 0x66fcebf4
FAIL: Artemis: the stick's partition let go -- both or neither
--- serial log, after /Artemis|Zuse|xhci/, line 186 (logs/20261120-225815/amd64/qemu-amd64-20261120-225815.log):
186 | Artemis: the stick's partition attached
187 | \x1b[33m[HADES][WARN ] \x1b[0m[KRELTSC: 0] blk: a disk of 512000 KiB: its header could not be read -- not
188 | xhci: USB MSC block-subsystem attach failed
---
--- the CPUs, 1 of 3: RIP=000000003d2d4105 RFL=00000297 [--S-APC] CPL=0 II=0 A20=1 SMM=0 HLT=1
the code at the PC: 000000003d2d4105: 0x0f2e66c3 0x0000841f 0xf3000000 0xfafa1e0f 000000003d2d4115: 0xfffffeb8 0x0f64e6ff 0xfa00401f 0x66fcebf4
--- the CPUs, 2 of 3: RIP=000000003d2d4105 RFL=00000287 [--S--PC] CPL=0 II=0 A20=1 SMM=0 HLT=1
the code at the PC: 000000003d2d4105: 0x0f2e66c3 0x0000841f 0xf3000000 0xfafa1e0f 000000003d2d4115: 0xfffffeb8 0x0f64e6ff 0xfa00401f 0x66fcebf4
--- the CPUs, 3 of 3: RIP=000000003d2d4105 RFL=00000283 [--S---C] CPL=0 II=0 A20=1 SMM=0 HLT=1
the code at the PC: 000000003d2d4105: 0x0f2e66c3 0x0000841f 0xf3000000 0xfafa1e0f 000000003d2d4115: 0xfffffeb8 0x0f64e6ff 0xfa00401f 0x66fcebf4
PASS: no ok> for 20 s with the faulty stick
PASS: the same stick, without the fault: genesis
PASS: [zuse@Hera] ok>
RESULT: FAIL