Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jun 2019 19:36:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        usb@FreeBSD.org
Subject:   [Bug 238529] System hangs during boot when attaching da0
Message-ID:  <bug-238529-19105@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238529

            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@FreeBSD.org
          Reporter: moritz@schmi.tt

Created attachment 205016
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D205016&action=
=3Dedit
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 la=
st
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 0x0a2=
b>
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 =3D 0x4000
        umass0:0:0: Attached to scbus0
        (probe0:umass-sim0:0:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 0=
0 00
10 00 00=20
        (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 devi=
ce
        da0: Serial Number 20120501030900000
        da0: 400.000MB/s transfers
        da0: Attempt to query device size failed: NOT READY, Medium not pre=
sent
        da0: quirks=3D0x2<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=3DBSD1993
        # cd /usr/src
        # sudo make installkernel KERNCONF=3DBSD1993
        # 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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238529-19105>