Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re(4) trouble



Netbooted a new box with this morning's -current/amd64, so its
network interface is successfully configured. ftping the sets
failed. I just typed dhcpcd to check, and:

uvm_fault(0xffffffff815a7aa0, 0x0, 1) -> e
fatal page fault in supervisor mode
trap type 6 code 0 rip ffffffff8022de45 cs 8 rflags 10286 cr2 10 ilevel 6
sp fffffe811ddf4af0
curlwp 0xfffffe811de4dba0 pid 0.92 lowest kstack 0xfffffe811ddf12c0
kernel: page fault trap, code=0
stopped in pid 0.92 (system) at netbsd:bus_dmamap_load+0x20: testb $0x4,10(%rdi)

It is in ddb, but given the USB keyboard, I can't do anything...

(gdb) info line *(bus_dmamap_load+0x20)
Line 1389 of "../../../../arch/x86/x86/bus_dma.c" starts at address 0xffffffff8022de45 <bus_dmamap_load+32>
   and ends at 0xffffffff8022de4b <bus_dmamap_load+38>.

  1383  int
  1384  bus_dmamap_load(bus_dma_tag_t t, bus_dmamap_t dmam, void *buf,
  1385                  bus_size_t buflen, struct proc *p, int flags)
  1386  {
  1387          bus_dma_tag_t it;
  1388  
  1389          if ((t->bdt_exists & BUS_DMAMAP_OVERRIDE_LOAD) == 0)
  1390                  ;       /* skip override */
  1391          else for (it = t; it != NULL; it = it->bdt_super) {
  1392                  if ((it->bdt_present & BUS_DMAMAP_OVERRIDE_LOAD) == 0)
  1393                          continue;
  1394                  return (*it->bdt_ov->ov_dmamap_load)(it->bdt_ctx, t, dmam,
  1395                      buf, buflen, p, flags);
  1396          }
  1397  
  1398          return _bus_dmamap_load(t, dmam, buf, buflen, p, flags);
  1399  }


Just rebooted with DDB_COMMAND bt. Successfully ran dhcpcd, tried ftp, quit ftp,
mounted the disks, tried ftp again - 100% packet loss. Tried dhcpcd -k, and
it didn't return - hang.

re1 at pci4 dev 0 function 0: RealTek 8168/8111 PCIe Gigabit Ethernet (rev. 0x07)
re1: interrupting at msi4 vec 0
re1: Ethernet address 00:01:2e:67:bc:68
re1: using 256 tx descriptors
rgephy1 at re1 phy 7: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 5
rgephy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto

is the interface involved...


Cheers,

Patrick
Cheers,

Patrick


Home | Main Index | Thread Index | Old Index