[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    problem in 4.5-REL with nge and GA621
From:       Matt Wilbur <matt () efs ! org>
Date:       2002-01-31 18:43:25
[Download RAW message or body]

Hello,

Please smack me if I've missed something stupid.  I have a Netgear GA-621,
DP83820 controller, that won't attach w/4.5-REL, and I can't figure out
why.  I'm loathe to admit it, but it "works fine in leenux", so I know the
hardware's OK.  I've attached dmesg output (first dmesg is as it happened,
second is with some printf()s i slapped in right after the
mii_phy_probe() call in if_nge.c). 

Here's the nge snippet from the dmesg output:
nge0: <National Semiconductor Gigabit Ethernet> port 0xe800-0xe8ff mem
0xfebff000-0xfebfffff irq 7 at device 2.0 on pci2
nge0: Ethernet address: 00:40:f4:29:ec:0d
nge0: MII without any PHY!
device_probe_and_attach: nge0 attach returned 6

Here's the card's pciconf -v -l entry:
none2@pci2:2:0:	class=0x020000 card=0x621a1385 chip=0x0022100b rev=0x00
hdr=0x00
    vendor   = 'National Semiconductor'
    device   = 'DP83820/1 10/100/1000 Gigabit Ethernet Adapter'
    class    = network
    subclass = ethernet

Is there some PCI conflict I'm or some other dumb thing I'm missing
here?  if_nge.c looks perfectly happy with a DP83820.

Am I nuts?
-Matt

["nge_dmesg" (TEXT/PLAIN)]

Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.5-RELEASE #2: Thu Jan 31 09:15:19 PST 2002
    root@droneserver.photon.com:/usr/src/sys/compile/DRONE
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (999.53-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
 real memory  = 536870912 (524288K bytes)
config> di sn0
No such device: sn0
Invalid command or syntax.  Type `?' for help.
config> di lnc0
No such device: lnc0
Invalid command or syntax.  Type `?' for help.
config> di ie0
No such device: ie0
Invalid command or syntax.  Type `?' for help.
config> di fe0
No such device: fe0
Invalid command or syntax.  Type `?' for help.
config> di ed0
No such device: ed0
Invalid command or syntax.  Type `?' for help.
config> di cs0
No such device: cs0
Invalid command or syntax.  Type `?' for help.
config> di bt0
config> di aic0
config> di aha0
config> di adv0
config> q
avail memory = 518279168 (506132K bytes)
Programming 16 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
Programming 16 pins in IOAPIC #1
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  4, version: 0x000f0011, at 0xfec00000
 io1 (APIC): apic id:  5, version: 0x000f0011, at 0xfec01000
Preloaded elf kernel "kernel" at 0xc03ff000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc03ff09c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 10 entries at 0xc00f52e0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <ServerWorks host to PCI bridge> on motherboard
IOAPIC #1 intpin 10 -> irq 2
IOAPIC #1 intpin 11 -> irq 5
IOAPIC #1 intpin 15 -> irq 9
pci0: <PCI bus> on pcib0
pcib4: <PCI to PCI bridge (vendor=1166 device=0009)> at device 0.1 on pci0
IOAPIC #1 intpin 14 -> irq 10
pci1: <PCI bus> on pcib4
pci1: <ATI Mach64-GM graphics accelerator> at 0.0 irq 10
ahc0: <Adaptec aic7899 Ultra160 SCSI adapter> port 0xd000-0xd0ff mem \
                0xfeafe000-0xfeafefff irq 2 at device 5.0 on pci0
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/255 SCBs
ahc1: <Adaptec aic7899 Ultra160 SCSI adapter> port 0xd800-0xd8ff mem \
                0xfeaff000-0xfeafffff irq 5 at device 5.1 on pci0
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/255 SCBs
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xd400-0xd43f mem \
                0xfe900000-0xfe9fffff,0xfeafd000-0xfeafdfff irq 9 at device 6.0 on \
                pci0
fxp0: Ethernet address 00:30:48:22:50:bc
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <ServerWorks IB6566 PCI to ISA bridge> at device 15.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <ServerWorks ROSB4 ATA33 controller> at device 15.1 on pci0
atapci0: Busmastering DMA not supported
pci0: <OHCI USB controller> at 15.2 irq 0
pcib1: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard
IOAPIC #1 intpin 8 -> irq 11
pci2: <PCI bus> on pcib1
nge0: <National Semiconductor Gigabit Ethernet> port 0xe800-0xe8ff mem \
                0xfebff000-0xfebfffff irq 11 at device 2.0 on pci2
nge0: Ethernet address: 00:40:f4:29:ec:0d
nge0: MII without any PHY!
device_probe_and_attach: nge0 attach returned 6
pcib2: <ServerWorks host to PCI bridge> on motherboard
pci3: <PCI bus> on pcib2
pcib3: <ServerWorks host to PCI bridge> on motherboard
pci4: <PCI bus> on pcib3
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xd1800-0xd27ff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: parallel port not found.
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 intpin 2
APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0
Waiting 15 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/da0s1a
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DDYS-T36950M S9YB> Fixed Direct Access SCSI-3 device 
da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da0: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C)
No debugger in kernel
boot() called on cpu#1
Waiting (max 60 seconds) for system process `vnlru' to stop...stopped
Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped
Waiting (max 60 seconds) for system process `syncer' to stop...stopped

syncing disks... 7 
done
Uptime: 43m57s
Rebooting...
cpu_reset called on cpu#0
cpu_reset: Stopping other CPUs
Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.5-RELEASE #3: Thu Jan 31 09:50:47 PST 2002
    root@droneserver.photon.com:/usr/src/sys/compile/DRONE
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (999.53-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
 real memory  = 536870912 (524288K bytes)
config> di sn0
No such device: sn0
Invalid command or syntax.  Type `?' for help.
config> di lnc0
No such device: lnc0
Invalid command or syntax.  Type `?' for help.
config> di ie0
No such device: ie0
Invalid command or syntax.  Type `?' for help.
config> di fe0
No such device: fe0
Invalid command or syntax.  Type `?' for help.
config> di ed0
No such device: ed0
Invalid command or syntax.  Type `?' for help.
config> di cs0
No such device: cs0
Invalid command or syntax.  Type `?' for help.
config> di bt0
config> di aic0
config> di aha0
config> di adv0
config> q
avail memory = 518279168 (506132K bytes)
Programming 16 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
Programming 16 pins in IOAPIC #1
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  4, version: 0x000f0011, at 0xfec00000
 io1 (APIC): apic id:  5, version: 0x000f0011, at 0xfec01000
Preloaded elf kernel "kernel" at 0xc03ff000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc03ff09c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 10 entries at 0xc00f52e0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <ServerWorks host to PCI bridge> on motherboard
IOAPIC #1 intpin 10 -> irq 2
IOAPIC #1 intpin 11 -> irq 5
IOAPIC #1 intpin 15 -> irq 9
pci0: <PCI bus> on pcib0
pcib4: <PCI to PCI bridge (vendor=1166 device=0009)> at device 0.1 on pci0
IOAPIC #1 intpin 14 -> irq 10
pci1: <PCI bus> on pcib4
pci1: <ATI Mach64-GM graphics accelerator> at 0.0 irq 10
ahc0: <Adaptec aic7899 Ultra160 SCSI adapter> port 0xd000-0xd0ff mem \
                0xfeafe000-0xfeafefff irq 2 at device 5.0 on pci0
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/255 SCBs
ahc1: <Adaptec aic7899 Ultra160 SCSI adapter> port 0xd800-0xd8ff mem \
                0xfeaff000-0xfeafffff irq 5 at device 5.1 on pci0
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/255 SCBs
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xd400-0xd43f mem \
                0xfe900000-0xfe9fffff,0xfeafd000-0xfeafdfff irq 9 at device 6.0 on \
                pci0
fxp0: Ethernet address 00:30:48:22:50:bc
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <ServerWorks IB6566 PCI to ISA bridge> at device 15.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <ServerWorks ROSB4 ATA33 controller> at device 15.1 on pci0
atapci0: Busmastering DMA not supported
pci0: <OHCI USB controller> at 15.2 irq 0
pcib1: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard
IOAPIC #1 intpin 8 -> irq 11
pci2: <PCI bus> on pcib1
nge0: <National Semiconductor Gigabit Ethernet> port 0xe800-0xe8ff mem \
                0xfebff000-0xfebfffff irq 11 at device 2.0 on pci2
nge0: Ethernet address: 00:40:f4:29:ec:0d
nge0: nge_ldata not null
nge0: allocated jumbo buffers
nge0: beginning MII Setup
nge0: MII without any PHY!
nge0: dev: -1038297088, &sc->nge_miibus: -1038233348, nge_ifmedia_upd: -1072147396, \
                nge_ifmedia_sts: -1072147316
device_probe_and_attach: nge0 attach returned 6
pcib2: <ServerWorks host to PCI bridge> on motherboard
pci3: <PCI bus> on pcib2
pcib3: <ServerWorks host to PCI bridge> on motherboard
pci4: <PCI bus> on pcib3
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xd1800-0xd27ff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: parallel port not found.
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 intpin 2
APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0
Waiting 15 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/da0s1a
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DDYS-T36950M S9YB> Fixed Direct Access SCSI-3 device 
da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da0: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic