Current-Users archive

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

NetBSD 5 STABLE wm0 panic




From sources updated today, I built the world on an earlier NetBSD 5.0_STABLE i386 system, for i386. I built a custom kernel for my i386 (MP) router, and it doesn't boot successfully.

In further testing, it appears that it's the act of simply bringing "up" the wm0 interface, after which I would attach multiple vlan interfaces onto it.

Rebooting with a GENERIC kernel, into single-user mode, I can bring online all of the filesystems, and then simply executing:

  ifconfig wm0 up

  causes a panic.  Handwritten/copied here it is:

uvm_fault(0xcadffd40, 0, 1) -> 0xe
fatal page fault in supervisor mode
trap type 6 code 0 eip c061788b cs 8 eflags 10286 cr2 0 ilevel 6
kernel: supervisor trap page fault, code=0
Stopped in pid 29.1 (ifconfig) at netbsd:wm_tbi_mediachange+0xb: movl 0
(%eax),%esi
db{0}>

I know there have been changes singe 5.0 release that affect wm, but I don't know if 5.0 release works either. I'm going to build a netbsd-5-0 kernel next, but that will take some time to fetch that source tree.

  NetBSD 4.0_STABLE reports my wm as:

wm0 at pci0 dev 13 function 0: Intel i82543GC 1000BASE-X Ethernet, rev. 2
wm0: interrupting at ioapic0 pin 17 (irq 11)
wm0: 32-bit 33MHz PCI bus
wm0: 64 word (6 address bits) MicroWire EEPROM
wm0: Ethernet address 00:03:47:0d:eb:86
wm0: 1000baseSX, 1000baseSX-FDX, auto

  ..and the pcictl dump for this device is attached.

  Anyone have any idea?  Thanks.

                 - Chris

--
Chris Ross
cross+netbsd%distal.com@localhost


PCI configuration registers:
  Common header:
    0x00: 0x10018086 0x02300156 0x02000002 0x00004008

    Vendor Name: Intel (0x8086)
    Device Name: i82453GC 1000baseX Ethernet (0x1001)
    Command register: 0x0156
      I/O space accesses: off
      Memory space accesses: on
      Bus mastering: on
      Special cycles: off
      MWI transactions: on
      Palette snooping: off
      Parity error checking: on
      Address/data stepping: off
      System error (SERR): on
      Fast back-to-back transactions: off
      Interrupt disable: off
    Status register: 0x0230
      Capability List support: on
      66 MHz capable: on
      User Definable Features (UDF) support: off
      Fast back-to-back capable: off
      Data parity error detected: off
      DEVSEL timing: medium (0x1)
      Slave signaled Target Abort: off
      Master received Target Abort: off
      Master received Master Abort: off
      Asserted System Error (SERR): off
      Parity error detected: off
    Class Name: network (0x02)
    Subclass Name: ethernet (0x00)
    Interface: 0x00
    Revision ID: 0x02
    BIST: 0x00
    Header Type: 0x00 (0x00)
    Latency Timer: 0x40
    Cache Line Size: 0x08

  Type 0 ("normal" device) header:
    0x10: 0xc6ee0000 0xc6ed0000 0x00000000 0x00000000
    0x20: 0x00000000 0x00000000 0x00000000 0x10038086
    0x30: 0x00000000 0x000000dc 0x00000000 0x00ff010b

    Base address register at 0x10
      type: 32-bit nonprefetchable memory
      base: 0xc6ee0000, not sized
    Base address register at 0x14
      type: 32-bit nonprefetchable memory
      base: 0xc6ed0000, not sized
    Base address register at 0x18
      not implemented(?)
    Base address register at 0x1c
      not implemented(?)
    Base address register at 0x20
      not implemented(?)
    Base address register at 0x24
      not implemented(?)
    Cardbus CIS Pointer: 0x00000000
    Subsystem vendor ID: 0x8086
    Subsystem ID: 0x1003
    Expansion ROM Base Address: 0x00000000
    Capability list pointer: 0xdc
    Reserved @ 0x38: 0x00000000
    Maximum Latency: 0x00
    Minimum Grant: 0xff
    Interrupt pin: 0x01 (pin A)
    Interrupt line: 0x0b

  Capability register at 0xdc
    type: 0x01 (Power Management, rev. 1.0)

  Device-dependent header:
    0x40: 0x00000000 0x00000000 0x00000002 0x00000000
    0x50: 0x00000000 0x00000000 0x00000000 0x00000000
    0x60: 0x00000000 0x00000000 0x00000000 0x00000000
    0x70: 0x00000000 0x00000000 0x00000000 0x00000000
    0x80: 0x00000000 0x00000000 0x00000002 0x00000000
    0x90: 0x00000000 0x00000000 0x00000000 0x00000000
    0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xc0: 0x00000000 0x00000000 0x00000002 0x00000000
    0xd0: 0x00000000 0x00000000 0x00000000 0x00220001
    0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xf0: 0x00000000 0x00000000 0x00000000 0x00000000




Home | Main Index | Thread Index | Old Index