Bug 205356 - Minnowboard Max boot delayed by 12 x 10 second sdhci_pci2 timeouts
Summary: Minnowboard Max boot delayed by 12 x 10 second sdhci_pci2 timeouts
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-16 18:57 UTC by Ed Maste
Modified: 2015-12-16 18:57 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Maste freebsd_committer freebsd_triage 2015-12-16 18:57:16 UTC
Booting a fresh -CURRENT image on Minnowboard Max is delayed for 2 minutes by sdhci timeouts from (the seemingly unused) sdhci_pci2.

Timeouts messages:

sdhci_pci2-slot0:  Controller timeout
sdhci_pci2-slot0: ============== REGISTER DUMP ==============
sdhci_pci2-slot0: Sys addr: 0x00000000 | Version:  0x00001002
sdhci_pci2-slot0: Blk size: 0x00000000 | Blk cnt:  0x00000000
sdhci_pci2-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_pci2-slot0: Present:  0x1fff0001 | Host ctl: 0x00000001
sdhci_pci2-slot0: Power:    0x00000000 | Blk gap:  0x00000080
sdhci_pci2-slot0: Wake-up:  0x00000000 | Clock:    0x0000fa07
sdhci_pci2-slot0: Timeout:  0x00000000 | Int stat: 0x00000000
sdhci_pci2-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci_pci2-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci_pci2-slot0: Caps:     0x446cc801 | Max curr: 0x00000000
sdhci_pci2-slot0: ===========================================

pciconf -lv shows these three sdhci_pci devices:

sdhci_pci0@pci0:0:17:0: class=0x080501 card=0x72708086 chip=0x0f158086 rev=0x0c hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Atom Processor Z36xxx/Z37xxx Series SDIO Controller'
    class      = base peripheral
    subclass   = SD host controller
sdhci_pci1@pci0:0:18:0: class=0x080501 card=0x72708086 chip=0x0f168086 rev=0x0c hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Atom Processor Z36xxx/Z37xxx Series SDIO Controller'
    class      = base peripheral
    subclass   = SD host controller
sdhci_pci2@pci0:0:23:0: class=0x080501 card=0x72708086 chip=0x0f508086 rev=0x0c hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Atom Processor E3800 Series eMMC 4.5 Controller'
    class      = base peripheral
    subclass   = SD host controller

The micro-SD slot on the MB Max is attached to sdhci_pci1, and it works.