[MinnowBoard] Minnowboard MAX UART Failed to request DMA

Abraham Arce xe1gyq at gmail.com
Thu Sep 3 05:11:50 UTC 2015


Hi,

In my first attempt to use High Speed UART1 and High Speed UART2 from the
Low Speed Expansion, I am getting a Failed to request DMA, 2 BIOS
configurations were tested, below is the BIOS, Kernel and OS version used +
the specific logs, any help would be highly appreciated! thanks!

BIOS Release 0.82
Kernel Version 4.1.0-rc7
OS Debian Jessie

First BIOS Configuration

LPSS & SCC Devices Mode = PCI Mode
LPSS DMA #1 Support = Enable
LPSS HSUART #1 Support = Enable
LPSS HSUART #1 FlowCtrl = Disable
LPSS HSUART #2 Support = Enable
LPSS HSUART #2 FlowCtrl = Disable


root at minnowboard:/home/xe1gyq/Projects/linux# setserial -ag /dev/ttyS*
/dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4
    Baud_base: 115200, close_delay: 50, divisor: 0
    closing_wait: 3000
    Flags: spd_normal skip_test
<stuck here, other UARTs info is not given>

xe1gyq at minnowboard:~/Projects/linux$ dmesg | grep tty
[    0.000000] console [tty0] enabled
[    6.999761] 00:02: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a
16550A
[    7.000939] 0000:00:1e.3: ttyS1 at MMIO 0x90c14000 (irq = 19, base_baud
= 2764800) is a 16550A
[    7.001504] 0000:00:1e.4: ttyS2 at MMIO 0x90c16000 (irq = 19, base_baud
= 2764800) is a 16550A
[   12.077815] ttyS1 - failed to request DMA
[   12.082367]  [<ffffffff813aaf97>] ? tty_set_termios+0x1c7/0x290
[   12.082544]  [<ffffffff813abab0>] ? tty_mode_ioctl+0x4b0/0x570
[   12.082726]  [<ffffffff813a48f5>] ? tty_ioctl+0x415/0xc40

xe1gyq at minnowboard:~/Projects/linux$ dmesg

[   12.077815] ttyS1 - failed to request DMA
[   12.078443] divide error: 0000 [#1] SMP
[   12.078535] Modules linked in: cfg80211 rfkill nfsd auth_rpcgss
oid_registry nfs_acl nfs lockd grace fscache sunrpc snd_hda_codec_hdmi
intel_powerclamp coretemp kvm_intel kvm crct10dif_pclmul crc32_pclmul
ghash_clmulni_intel nls_utf8 nls_cp437 i915 aesni_intel vfat fat iTCO_wdt
aes_x86_64 iTCO_vendor_support lrw gf128mul glue_helper ablk_helper cryptd
snd_hda_intel snd_hda_controller snd_hda_codec snd_hda_core joydev evdev
pcspkr snd_hwdep snd_pcm snd_timer lpc_ich mfd_core efivars drm_kms_helper
snd i2c_i801 spi_pxa2xx_pci pwm_lpss_pci soundcore drm shpchp
i2c_designware_pci iosf_mbi i2c_algo_bit video i2c_designware_platform
i2c_designware_core spi_pxa2xx_platform i2c_core pwm_lpss_platform pwm_lpss
processor button fuse autofs4 hid_generic usbhid hid ext4 crc16 mbcache
jbd2 sg sd_mod crc32c_intel
[   12.080004]  ahci libahci xhci_pci xhci_hcd libata usbcore r8169 mii
usb_common scsi_mod thermal sdhci_pci thermal_sys sdhci_acpi sdhci mmc_core
[   12.080273] CPU: 0 PID: 461 Comm: ModemManager Not tainted 4.1.0-rc7+ #4
[   12.080373] Hardware name: Circuitco Minnowboard Max B3
PLATFORM/MinnowBoard MAX, BIOS MNW2MAX1.X64.0082.R02.1507271125 07/27/2015
[   12.080541] task: ffff88007722aa60 ti: ffff88007750c000 task.ti:
ffff88007750c000
[   12.080650] RIP: 0010:[<ffffffff813cd11c>]  [<ffffffff813cd11c>]
byt_set_termios+0x3c/0xb0
[   12.080785] RSP: 0018:ffff88007750fc08  EFLAGS: 00010246
[   12.080865] RAX: 0000000005f5e100 RBX: 0000000000000001 RCX:
00000000ffffffff
[   12.080969] RDX: 0000000000000000 RSI: ffff8800770b2d30 RDI:
ffff8800770b2d30
[   12.081073] RBP: ffff88007750fca4 R08: 0000000000000000 R09:
ffff88007750fc10
[   12.081178] R10: 00007fff182809b0 R11: 0000000000000202 R12:
ffffffff81b04890
[   12.081283] R13: ffff8800770b2d30 R14: ffff880056eb42a8 R15:
00007fff182809b0
[   12.081389] FS:  00007f754f4b1840(0000) GS:ffff880078200000(0000)
knlGS:0000000000000000
[   12.081507] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   12.081592] CR2: 00007fb5ff7a6000 CR3: 000000006083b000 CR4:
00000000001007f0
[   12.081696] Stack:
[   12.081731]  0000000000002400 0000000000003d09 ffff880056e5f068
ffffffff81b04890
[   12.081863]  ffff8800770b2c00 ffff88007750fca4 ffff880056eb4198
ffffffff813c3796
[   12.081994]  ffff8800770b2c00 ffffffff81b04890 ffff88007750fca4
ffffffff813c4701
[   12.082124] Call Trace:
[   12.082174]  [<ffffffff813c3796>] ? uart_change_speed.isra.13+0x36/0x100
[   12.082276]  [<ffffffff813c4701>] ? uart_set_termios+0x81/0x1b0
[   12.082367]  [<ffffffff813aaf97>] ? tty_set_termios+0x1c7/0x290
[   12.082458]  [<ffffffff813ab49f>] ? set_termios+0x15f/0x260
[   12.082544]  [<ffffffff813abab0>] ? tty_mode_ioctl+0x4b0/0x570
[   12.082635]  [<ffffffff8156e551>] ? ldsem_down_read+0x21/0x210
[   12.082726]  [<ffffffff813a48f5>] ? tty_ioctl+0x415/0xc40
[   12.082812]  [<ffffffff810a0f9a>] ? set_next_entity+0x6a/0x480
[   12.082902]  [<ffffffff810a86f0>] ? pick_next_task_fair+0x710/0x8e0
[   12.082999]  [<ffffffff811da648>] ? do_vfs_ioctl+0x2e8/0x4f0
[   12.087009]  [<ffffffff8156ab20>] ? __schedule+0x2a0/0x8f0
[   12.090992]  [<ffffffff811da8d1>] ? SyS_ioctl+0x81/0xa0
[   12.094965]  [<ffffffff8156efb2>] ? system_call_fastpath+0x16/0x75
[   12.098969] Code: 49 89 f5 48 89 d5 bb 01 00 00 00 48 83 ec 18 e8 3b d7
fd ff c1 e0 04 31 d2 b9 ff ff ff ff 41 89 c0 b8 00 e1 f5 05 4c 8d 4c 24 08
<49> f7 f0 48 0f bd c8 48 d3 e3 ba ff 7f 00 00 b9 ff 7f 00 00 be
[   12.107744] RIP  [<ffffffff813cd11c>] byt_set_termios+0x3c/0xb0
[   12.111944]  RSP <ffff88007750fc08>
[   12.116232] ---[ end trace 9446d22ad0b59fc0 ]---

Second BIOS Configuration

LPSS & SCC Devices Mode = ACPI Mode
LPSS DMA #1 Support = Enable
LPSS HSUART #1 Support = Enable
LPSS HSUART #1 FlowCtrl = Enable
LPSS HSUART #2 Support = Enable
LPSS HSUART #2 FlowCtrl = Disable

xe1gyq at minnowboard:~/Projects/linux$ dmesg | grep tty
[    0.000000] console [tty0] enabled
[    7.001445] 00:02: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a
16550A

root at minnowboard:/home/xe1gyq/Projects/linux# setserial -ag /dev/ttyS*
/dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4
    Baud_base: 115200, close_delay: 50, divisor: 0
    closing_wait: 3000
    Flags: spd_normal skip_test

/dev/ttyS1, Line 1, UART: unknown, Port: 0x02f8, IRQ: 3
    Baud_base: 115200, close_delay: 50, divisor: 0
    closing_wait: 3000
    Flags: spd_normal skip_test

/dev/ttyS2, Line 2, UART: unknown, Port: 0x03e8, IRQ: 4
    Baud_base: 115200, close_delay: 50, divisor: 0
    closing_wait: 3000
    Flags: spd_normal skip_test

/dev/ttyS3, Line 3, UART: unknown, Port: 0x02e8, IRQ: 3
    Baud_base: 115200, close_delay: 50, divisor: 0
    closing_wait: 3000
    Flags: spd_normal


Best Regards
Abraham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elinux.org/pipermail/elinux-minnowboard/attachments/20150903/e364d603/attachment.html>


More information about the elinux-MinnowBoard mailing list