[Bug 238529] System hangs during boot when attaching da0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jun 12 19:36:43 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238529

            Bug ID: 238529
           Summary: System hangs during boot when attaching da0
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: usb
          Assignee: usb at FreeBSD.org
          Reporter: moritz at schmi.tt

Created attachment 205016
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=205016&action=edit
Output of dmesg, sysctl -a, and pciconf -lv

I am using FreeBSD-CURRENT (Rev. 348849) on a Lenovo Thinkpad T470. Every
second time or so when I boot my system stops booting with the following last
messages:

        (...)
        uhub0: 18 ports with 18 removable, self powered
        ugen0.2: <Generic EMV Smartcard Reader> at usbus0
        Enter passphrase for nvd0s1d: ugen0.3: <vendor 0x8087 product 0x0a2b>
at usbus0
        ugen0.4: <SunplusIT Inc Integrated Camera> at usbus0
        ugen0.5: <vendor 0x138a product 0x0097> at usbus0
        ugen0.6: <Generic USB3.0-CRW> at usbus0
        umass0 on uhub0
        umass0: <Bulk-In, Bulk-Out, Interface> on usbus0
        umass0:  SCSI over Bulk-Only; quirks = 0x4000
        umass0:0:0: Attached to scbus0
        (probe0:umass-sim0:0:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00
10 00 00 
        (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
        (probe0:umass-sim0:0:0:0): SCSI status: Check Condition
        (probe0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0
(Invalid field in CDB)
        (probe0:umass-sim0:0:0:0): Error 22, Unretryable error
        da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
        da0: <Generic- SD/MMC 1.00> Removable Direct Access SPC-4 SCSI device
        da0: Serial Number 20120501030900000
        da0: 400.000MB/s transfers
        da0: Attempt to query device size failed: NOT READY, Medium not present
        da0: quirks=0x2<NO_6_BYTE>

When I press Enter I get

        GEOM_ELI: Wrong key for nvd0s1d. Tries left: 2.
        Enter passphrase for nvd0s1d:

After entering my password to unlock the harddisk encryption everything
continues normally

        GEOM_ELI: Device nvd0s1d.eli created.
        GEOM_ELI: Encryption: AES-XTS 256
        GEOM_ELI:     Crypto: hardware
        GEOM_ELI: Device nvd0s1b.eli created.
        GEOM_ELI: Encryption: AES-XTS 128
        GEOM_ELI:     Crypto: hardware
        (...)

I compiled FreeBSD from source by doing:

        # cd /usr/src
        # sudo make cleanworld
        # sudo make -j4 buildworld
        # sudo make -j4 buildkernel KERNCONF=BSD1993
        # cd /usr/src
        # sudo make installkernel KERNCONF=BSD1993
        # shutdown -r now
        # cd /usr/src
        # make installworld
        # shutdown -r now

The custom kernel config I use is GENERIC plus the following two lines:

        device iwm
        device iwmfw

Any idea what's going on?

Please find attached the output of dmesg, sysctl -a, and pciconf -lv.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-usb mailing list