On Wed, Sep 30, 2020 at 4:27 PM Kenneth R Westerback
<kwesterb...@gmail.com> wrote:
> If you can try a 6.8 snapshot it would be helpful.
>
> If 6.8 still fails, then the output from a 6.8 kernel compiled with
>
> option SCSIDEBUG
>
> will be useful. And if you can boot the same machine with a 6.6 kernel
> containing the option, that info would be useful as a comparison.

Thanks for the pointers. Here is the debug output from 6.8-current
(git checkout from Oct. 2, USB drive not working):
====8<====
umass1 at uhub0 port 5 configuration 1 interface 0 "Generic Mass
Storage" rev 2.00/1.07 addr 3
umass1: using SCSI over Bulk-Only
scsibus5 at umass1: 2 targets, initiator 0
probe(umass1:1:0): Check Condition (error 0) on opcode 0x0
probe(umass1:1:0): got 5 of 5 bytes of inquiry data:
------------------------------
000: 00 00 00 00 00
------------------------------
scsi_inqmatch:  match priority 2. T_DIRECT T_FIXED <"", "", "">
sd2 at scsibus5 targ 1 lun 0: <, , > SCSI/0 serial.058f6387000000011717
probe(umass1:1:0): state 0, luns 1, openings 1
probe(umass1:1:0): flags (0x0400) <UMASS>
probe(umass1:1:0): quirks (0x001e) <NOSYNC, NOWIDE, NOTAGS, NOSYNCCACHE>
sd2(umass1:1:0): read capacity 10 data:
------------------------------
000: 00 00 00 00 00 00 00 00
------------------------------
sd2(umass1:1:0): read capacity 10 data:
------------------------------
000: 00 00 00 00 00 00 00 00
------------------------------
====8<====

And here is 6.6, which does work:
====8<====
umass1 at uhub0 port 5 configuration 1 interface 0 "Generic Mass
Storage" rev 2.00/1.07 addr 3
umass1: using SCSI over Bulk-Only
scsibus5 at umass1: 2 targets, initiator 0
probe(umass1:1:0): Check Condition (error 0x70) on opcode 0x0
    SENSE KEY: Unit Attention
     ASC/ASCQ: Not Ready To Ready Transition (Medium May Have Changed)
probe(umass1:1:0): got 35 of 35 bytes of inquiry data:
------------------------------
000: 00 80 02 02 1f 00 00 00 46 4c 41 53 48 20 20 20
016: 44 72 69 76 65 20 41 55 5f 55 53 42 32 30 20 20
032: 38 2e 30
------------------------------
scsi_inqmatch:  match priority 2. T_DIRECT T_REMOV <"", "", "">
sd2 at scsibus5 targ 1 lun 0: <FLASH, Drive AU_USB20, 8.07> SCSI/2
removable serial.058f6387000000011717
probe(umass1:1:0): state 0, luns 1, openings 1
probe(umass1:1:0): flags (0x0801) <REMOVABLE, UMASS>
probe(umass1:1:0): quirks (0x400e) <NOSYNC, NOWIDE, NOTAGS, ONLYBIG>
sd2(umass1:1:0): Check Condition (error 0x70) on opcode 0x1e
    SENSE KEY: Illegal Request
     ASC/ASCQ: Illegal Field in CDB
sd2(umass1:1:0):  read Capacity 10 data:
------------------------------
000: 00 3e 17 ff 00 00 02 00
------------------------------
sd2: 1987MB, 512 bytes/sector, 4069376 sectors
sd2(umass1:1:0): Check Condition (error 0x70) on opcode 0x1e
    SENSE KEY: Illegal Request
     ASC/ASCQ: Illegal Field in CDB
sd2(umass1:1:0):  read Capacity 10 data:
------------------------------
000: 00 3e 17 ff 00 00 02 00
------------------------------
====8<====

In both cases, I hotplugged the drive after bootup to make sure the
messages weren't interleaved with those from the hard drive, etc., but
the behavior is the same if it's attached on boot.


Thanks,

Andrew

Reply via email to