Re: page fault in igb driver on 8.0-RC2

From: Jack Vogel <jfvogel_at_gmail.com>
Date: Mon, 9 Nov 2009 14:59:52 -0800
Are you using standard MTU or jumbo? That get_buf error is ENOMEM, looks
like
that happens when in the bus_dma stuff reserve_bounce_pages() fails.

Are you maybe using a 32 bit kernel? I have not seen this failure here.

Jack


On Mon, Nov 9, 2009 at 2:15 PM, Mike Tancsa <mike_at_sentex.net> wrote:

> At 03:33 PM 11/9/2009, Mike Tancsa wrote:
>
>
> And with dcons connected for debugging, a clean RELENG_8 just checked out,
> this comes up on the console when trying to bring up igb0 (igb1 works just
> fine)
>
>
> GET BUF: dmamap load failure - 12
> GET BUF: dmamap load failure - 12
> GET BUF: dmamap load failure - 12
> GET BUF: dmamap load failure - 12
> GET BUF: dmamap load failure - 12
> GET BUF: dmamap load failure - 12
> GET BUF: dmamap load failure - 12
> GET BUF: dmamap load failure - 12
>
>
> Fatal trap 12: page fault while in kernel mode
> cpuid = 5; apic id = 05
> fault virtual address   = 0x10
>
> fault code              = supervisor write, page not present
> instruction pointer     = 0x20:0xc062838c
> stack pointer           = 0x28:0xe75f4c18
> frame pointer           = 0x28:0xe75f4c78
>
> code segment            = base 0x0, limit 0xfffff, type 0x1b
>                        = DPL 0, pres 1, def32 1, gran 1
> processor eflags        = interrupt enabled, resume, IOPL = 0
> current process         = 12 (irq257: igb0)
> [thread pid 12 tid 100046 ]
> Stopped at      igb_rxeof+0x1ec:        orl     $0x2,0x10(%esi)
> db> bt
> Tracing pid 12 tid 100046 td 0xc743a000
> igb_rxeof(c74ca1c0,5,5,c74ca240,c749a700,...) at igb_rxeof+0x1ec
> igb_msix_rx(c74a4b00,0,109,d40f8d68,aa,...) at igb_msix_rx+0x29
> intr_event_execute_handlers(c715f7f8,c749a700,c0c86d45,4f6,c749a770,...) at
> intr_event_execute_handlers+0x14b
> ithread_loop(c74b0a00,e75f4d38,90a490a4,e8c3e8c3,176b176b,...) at
> ithread_loop+0x6b
> fork_exit(c086b420,c74b0a00,e75f4d38) at fork_exit+0x91
> fork_trampoline() at fork_trampoline+0x8
> --- trap 0, eip = 0, esp = 0xe75f4d70, ebp = 0 ---
> db>
>
> db> ps
>  pid  ppid  pgrp   uid   state   wmesg     wchan    cmd
>  1399  1383  1399     0  S+      select   0xc8a56924 ping
>  1383  1382  1383     0  S+      pause    0xc8b79300 csh
>  1382  1379  1382  1001  S+      wait     0xc8b79000 su
>  1379  1378  1379  1001  Ss+     pause    0xc8dd7da0 csh
>  1378  1376  1376  1001  S       select   0xc7c1f224 sshd
>  1376  1231  1376     0  Ss      sbwait   0xc8b83d98 sshd
>  1361  1360  1361     0  S+      ttyin    0xc7963070 csh
>  1360  1356  1360  1001  S+      wait     0xc7a69aa0 su
>  1356  1355  1356  1001  Ss+     pause    0xc7a6ada0 csh
>  1355  1353  1353  1001  S       select   0xc7a80764 sshd
>  1353  1231  1353     0  Ss      sbwait   0xc8b71a60 sshd
>  1344     1  1344    65  Ss      select   0xc7965c64 dhclient
>  1326     1  1326     0  Ss      select   0xc7a80264 dhclient
>  1305     1  1305     0  Ss+     ttyin    0xc71a7c70 getty
>  1304     1  1304     0  Ss+     ttyin    0xc71a8870 getty
>  1303     1  1303     0  Ss+     ttyin    0xc71a8a70 getty
>  1302     1  1302     0  Ss+     ttyin    0xc71a8c70 getty
>  1301     1  1301     0  Ss+     ttyin    0xc71a8e70 getty
>  1300     1  1300     0  Ss+     ttyin    0xc76f4070 getty
>  1299     1  1299     0  Ss+     ttyin    0xc76f4470 getty
>  1298     1  1298     0  Ss+     ttyin    0xc76f4a70 getty
>  1297     1  1297     0  Ss+     ttyin    0xc76f4870 getty
>  1275     1  1275     0  Ss      select   0xc7946d64 inetd
>  1248     1  1248     0  Ss      nanslp   0xc0dcdf04 cron
>  1242     1  1242    25  Ss      pause    0xc7a69058 sendmail
>  1238     1  1238     0  Ss      select   0xc79f4c24 sendmail
>  1231     1  1231     0  Ss      select   0xc7946724 sshd
>  1209     1  1209   136  Ss      select   0xc79f48a4 dhcpd
>  1166     1  1166 65534  Ss      select   0xc79469a4 sdpd
>  1075  1074  1074     0  S       (threaded)          nfsd
> 100191                   S       rpcsvc   0xc7c206d0 nfsd: service
> 100190                   S       rpcsvc   0xc7c20710 nfsd: service
> 100189                   S       rpcsvc   0xc7946610 nfsd: service
> 100124                   S       rpcsvc   0xc7966510 nfsd: master
>  1074     1  1074     0  Ss      select   0xc7946424 nfsd
>  1066     1  1066     0  Ss      select   0xc79460e4 mountd
>  989     1   989     0  Ss      select   0xc7946b24 rpcbind
>  972     1   972     0  Rs      CPU 0               syslogd
>  795     1   795     0  Ss      select   0xc7a80b24 devd
>  744     1   744     0  Ss      select   0xc7a80464 moused
>  491   486   486    64  S       bpf      0xc7959600 pflogd
>  486     1   486     0  Ss      sbwait   0xc7bfcbfc pflogd
>  483     0     0     0  SL      pftm     0xc87610f0 [pfpurge]
>  144     1   144     0  Ss      pause    0xc7a6f5a8 adjkerntz
>   22     0     0     0  SL      flowclea 0xc0de1d48 [flowcleaner]
>   21     0     0     0  SL      sdflush  0xc0ded440 [softdepflush]
>   20     0     0     0  SL      syncer   0xc0de1b50 [syncer]
>   19     0     0     0  SL      vlruwt   0xc791e550 [vnlru]
>   18     0     0     0  SL      psleep   0xc0de1888 [bufdaemon]
>   17     0     0     0  SL      pgzero   0xc0dee114 [pagezero]
>   16     0     0     0  SL      psleep   0xc0dedd3c [vmdaemon]
>    9     0     0     0  SL      psleep   0xc0dedd04 [pagedaemon]
>    8     0     0     0  SL      waiting_ 0xc0de363c [sctp_iterator]
>    7     0     0     0  SL      -        0xc71a623c [fdc0]
>    6     0     0     0  SL      -        0xc75de000 [fw0_probe]
>   15     0     0     0  SL      (threaded)          usb
> 100111                   D       -        0xc7951608 [ucom]
> 100110                   D       -        0xc79f7408 [ucom]
> 100091                   D       -        0xc75c6d0c [usbus7]
> 100090                   D       -        0xc75c6cdc [usbus7]
> 100089                   D       -        0xc75c6cac [usbus7]
> 100088                   D       -        0xc75c6c7c [usbus7]
> 100087                   D       -        0xc75b4dac [usbus6]
> 100086                   D       -        0xc75b4d7c [usbus6]
> 100085                   D       -        0xc75b4d4c [usbus6]
> 100084                   D       -        0xc75b4d1c [usbus6]
> 100083                   D       -        0xc759ddac [usbus5]
> 100082                   D       -        0xc759dd7c [usbus5]
> 100081                   D       -        0xc759dd4c [usbus5]
> 100080                   D       -        0xc759dd1c [usbus5]
> 100079                   D       -        0xc7583dac [usbus4]
> 100078                   D       -        0xc7583d7c [usbus4]
> 100077                   D       -        0xc7583d4c [usbus4]
> 100076                   D       -        0xc7583d1c [usbus4]
> 100073                   D       -        0xc7559d0c [usbus3]
> 100072                   D       -        0xc7559cdc [usbus3]
> 100071                   D       -        0xc7559cac [usbus3]
> 100070                   D       -        0xc7559c7c [usbus3]
> 100068                   D       -        0xc7544dac [usbus2]
> 100067                   D       -        0xc7544d7c [usbus2]
> 100066                   D       -        0xc7544d4c [usbus2]
> 100065                   D       -        0xc7544d1c [usbus2]
> 100063                   D       -        0xc752fdac [usbus1]
> 100062                   D       -        0xc752fd7c [usbus1]
> 100061                   D       -        0xc752fd4c [usbus1]
> 100060                   D       -        0xc752fd1c [usbus1]
> 100058                   D       -        0xc750fdac [usbus0]
> 100057                   D       -        0xc750fd7c [usbus0]
> 100056                   D       -        0xc750fd4c [usbus0]
> 100055                   D       -        0xc750fd1c [usbus0]
>    5     0     0     0  SL      ccb_scan 0xc0d9a154 [xpt_thrd]
>   14     0     0     0  SL      -        0xc0dcdd64 [yarrow]
>    4     0     0     0  SL      -        0xc0dcbb24 [g_down]
>    3     0     0     0  SL      -        0xc0dcbb20 [g_up]
>    2     0     0     0  SL      -        0xc0dcbb18 [g_event]
>   13     0     0     0  SL      (threaded)          ng_queue
> 100028                   D       sleep    0xc0fd2160 [ng_queue7]
> 100027                   D       sleep    0xc0fd2160 [ng_queue6]
> 100026                   D       sleep    0xc0fd2160 [ng_queue5]
> 100025                   D       sleep    0xc0fd2160 [ng_queue4]
> 100024                   D       sleep    0xc0fd2160 [ng_queue3]
> 100023                   D       sleep    0xc0fd2160 [ng_queue2]
> 100022                   D       sleep    0xc0fd2160 [ng_queue1]
> 100021                   D       sleep    0xc0fd2160 [ng_queue0]
>   12     0     0     0  RL      (threaded)          intr
> 100099                   I                           [swi0: uart]
> 100098                   I                           [irq1: atkbd0]
> 100097                   I                           [irq15: ata1]
> 100096                   I                           [irq14: ata0]
> 100094                   I                           [irq263: ahci0]
> 100075                   I                           [irq23: uhci3 ehci1]
> 100074                   I                           [irq17: siis0]
> 100069                   I                           [irq18: ehci0 uhci5]
> 100064                   I                           [irq19: fwohci0++]
> 100059                   I                           [irq21: uhci1]
> 100054                   I                           [irq16: uhci0+]
> 100051                   I                           [irq261: igb1]
> 100050                   I                           [irq260: igb1]
> 100049                   I                           [irq259: igb1]
> 100047                   I                           [irq258: igb0]
> 100046                   Run     CPU 5               [irq257: igb0]
> 100045                   I                           [irq256: igb0]
> 100044                   I                           [irq9: acpi0]
> 100043                   I                           [swi6: Giant taskq]
> 100041                   I                           [swi5: +]
> 100037                   I                           [swi2: cambio]
> 100034                   I                           [swi6: task queue]
> 100020                   I                           [swi4: clock]
> 100019                   I                           [swi4: clock]
> 100018                   I                           [swi4: clock]
> 100017                   I                           [swi4: clock]
> 100016                   I                           [swi4: clock]
> 100015                   I                           [swi4: clock]
> 100014                   I                           [swi4: clock]
> 100013                   I                           [swi4: clock]
> 100012                   I                           [swi1: netisr 0]
> 100011                   I                           [swi3: vm]
>   11     0     0     0  RL      (threaded)          idle
> 100010                   CanRun                      [idle: cpu0]
> 100009                   Run     CPU 1               [idle: cpu1]
> 100008                   Run     CPU 2               [idle: cpu2]
> 100007                   Run     CPU 3               [idle: cpu3]
> 100006                   Run     CPU 4               [idle: cpu4]
> 100005                   CanRun                      [idle: cpu5]
> 100004                   Run     CPU 6               [idle: cpu6]
> 100003                   Run     CPU 7               [idle: cpu7]
>    1     0     1     0  SLs     wait     0xc715fd48 [init]
>   10     0     0     0  SL      audit_wo 0xc0decd60 [audit]
>    0     0     0     0  SLs     (threaded)          kernel
> 100092                   D       -        0xc75e88c0 [fw0_taskq]
> 100053                   D       -        0xc74e1300 [em0 taskq]
> 100052                   D       -        0xc74e2680 [igb1 taskq]
> 100048                   D       -        0xc74ca1c0 [igb0 taskq]
> 100042                   D       -        0xc73a78c0 [thread taskq]
> 100040                   D       -        0xc73a7d00 [acpi_task_2]
> 100039                   D       -        0xc73a7d00 [acpi_task_1]
> 100038                   D       -        0xc73a7d00 [acpi_task_0]
> 100035                   D       -        0xc73a7e80 [kqueue taskq]
> 100032                   D       -        0xc71468c0 [firmware taskq]
> 100000                   D       sched    0xc0dcbbe0 [swapper]
> db>
>
>
>        ---Mike
>
>
>
>
>
>
>
>
>
>  _______________________________________________
>>> freebsd-current_at_freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>>> To unsubscribe, send any mail to "
>>> freebsd-current-unsubscribe_at_freebsd.org"
>>>
>>
>> --------------------------------------------------------------------
>> Mike Tancsa,                                      tel +1 519 651 3400
>> Sentex Communications,                            mike_at_sentex.net
>> Providing Internet since 1994                    www.sentex.net
>> Cambridge, Ontario Canada                         www.sentex.net/mike
>>
>> _______________________________________________
>> freebsd-current_at_freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org
>> "
>>
>
> --------------------------------------------------------------------
> Mike Tancsa,                                      tel +1 519 651 3400
> Sentex Communications,                            mike_at_sentex.net
> Providing Internet since 1994                    www.sentex.net
> Cambridge, Ontario Canada                         www.sentex.net/mike
>
>
Received on Mon Nov 09 2009 - 21:59:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:57 UTC