Subject: Re: Network not configured on NetBSD-amd64 2.0 on ASUS A8V & Athlon
To: Quentin Garnier <cube@cubidou.net>
From: Philip Vetter <pv+compsq@math.duke.edu>
List: netbsd-help
Date: 01/23/2005 13:01:04
I note that on bootup there was two attempts at DHCPREQUEST
and about a dozen DHCPDISCOVER attempts.
Below dmesg output. -Phil

NetBSD 2.0 (GENERIC) #0: Tue Nov 30 21:54:11 UTC 2004

builds@build:/big/builds/ab/netbsd-2-0-RELEASE/amd64/200411300000Z-obj/big/builds/ab/netbsd-2-0-RELEASE/src/sys/arch/amd64/compile/GENERIC
total memory = 511 MB
avail memory = 484 MB
mainbus0 (root)
mainbus0: Intel MP Specification (Version 1.1) (ASUSTeK  Deluxe      )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) 64 Processor 3400+, 2202.94 MHz
cpu0: features: e7dbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features: e7dbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu0: features: e7dbfbff<FXSR,SSE,SSE2,LONG,3DNOW2,3DNOW>
cpu0: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu0: L2 cache 512 KB 64B/line 16-way
cpu0: ITLB 32 4 KB entries fully associative, 8 4 MB entries fully 
associative
cpu0: DTLB 32 4 KB entries fully associative, 8 4 MB entries fully 
associative
cpu0: calibrating local timer
cpu0: apic clock running at 200 MHz
cpu0: 8 page colors
mpbios: bus 0 is type PCI
mpbios: bus 1 is type PCI
mpbios: bus 2 is type ISA
ioapic0 at mainbus0 apid 1 (I/O APIC)
ioapic0: pa 0xfec00000, version 3, 24 pins
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: VIA Technologies product 0x0282 (rev. 0x00)
pchb1 at pci0 dev 0 function 1
pchb1: VIA Technologies product 0x1282 (rev. 0x00)
pchb2 at pci0 dev 0 function 2
pchb2: VIA Technologies product 0x2282 (rev. 0x00)
pchb3 at pci0 dev 0 function 3
pchb3: VIA Technologies product 0x3282 (rev. 0x00)
pchb4 at pci0 dev 0 function 4
pchb4: VIA Technologies product 0x4282 (rev. 0x00)
pchb5 at pci0 dev 0 function 7
pchb5: VIA Technologies product 0x7282 (rev. 0x00)
ppb0 at pci0 dev 1 function 0: VIA Technologies product 0xb188 (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 0 function 0: Nvidia Corporation product 0x0185 (rev. 
0xc1)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
VIA Technologies VT3606 OHCI IEEE 1394 Controller (Firewire serial bus, 
interface 0x10, revision 0x80) at pci0 dev 7 function 0 not configured
Promise Technology PDC20378 SATA/150 IDE controller (RAID mass storage, 
revision 0x02) at pci0 dev 8 function 0 not configured
skc0 at pci0 dev 10 function 0: ioapic0 pin 17 (irq 10)
skc0: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter
sk0 at skc0 port A: Ethernet address 00:11:d8:06:1b:00
makphy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
viaide0 at pci0 dev 15 function 0
viaide0: VIA Technologies VT8237 SATA Controller (rev. 0x80)
viaide0: bus-master DMA support present
viaide0: primary channel wired to native-PCI mode
viaide0: using ioapic0 pin 20 (irq 10) for native-PCI interrupt
atabus0 at viaide0 channel 0
viaide0: secondary channel wired to native-PCI mode
atabus1 at viaide0 channel 1
viaide1 at pci0 dev 15 function 1
viaide1: VIA Technologies VT8237 ATA133 controller
viaide1: bus-master DMA support present
viaide1: primary channel configured to compatibility mode
viaide1: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus2 at viaide1 channel 0
viaide1: secondary channel configured to compatibility mode
viaide1: secondary channel interrupting at ioapic0 pin 15 (irq 15)
atabus3 at viaide1 channel 1
uhci0 at pci0 dev 16 function 0: VIA Technologies VT83C572 USB Controller 
(rev. 0x81)
uhci0: interrupting at ioapic0 pin 21 (irq 11)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1: VIA Technologies VT83C572 USB Controller 
(rev. 0x81)
uhci1: interrupting at ioapic0 pin 21 (irq 11)
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2: VIA Technologies VT83C572 USB Controller 
(rev. 0x81)
uhci2: interrupting at ioapic0 pin 21 (irq 10)
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 16 function 3: VIA Technologies VT83C572 USB Controller 
(rev. 0x81)
uhci3: interrupting at ioapic0 pin 21 (irq 10)
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
VIA Technologies VT8237 EHCI USB Controller (USB serial bus, interface 
0x20, revision 0x86) at pci0 dev 16 function 4 not configured
pcib0 at pci0 dev 17 function 0
pcib0: VIA Technologies VT8237 (Apollo KT600) PCI-ISA Bridge (rev. 0x00)
auvia0 at pci0 dev 17 function 5: VIA VT8235 AC'97 (rev 0x60)
auvia0: interrupting at ioapic0 pin 22 (irq 5)
auvia0: ac97: Avance Logic ALC850 codec; no 3D stereo
auvia0: ac97: ext id 9c6<AC97_23,LDAC,SDAC,CDAC,SPDIF,DRA>
audio0 at auvia0: full duplex, independent
pchb6 at pci0 dev 24 function 0
pchb6: Advanced Micro Devices AMD64 HyperTransport configuration (rev. 
0x00)
pchb7 at pci0 dev 24 function 1
pchb7: Advanced Micro Devices AMD64 Address Map configuration (rev. 0x00)
pchb8 at pci0 dev 24 function 2
pchb8: Advanced Micro Devices AMD64 DRAM configuration (rev. 0x00)
pchb9 at pci0 dev 24 function 3
pchb9: Advanced Micro Devices AMD64 Miscellaneous configuration (rev. 
0x00)
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
ioapic0: enabling
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Kernelized RAIDframe activated
wd0 at atabus2 drive 0: <ST3120026A>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 111 GB, 232581 cyl, 16 head, 63 sec, 512 bytes/sect x 234441648 
sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(viaide1:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using 
DMA data transfers)
atapibus0 at atabus3: 2 targets
cd0 at atapibus0 drive 0: <48X12, , 7.BE> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
cd0(viaide1:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)




On Sun, 23 Jan 2005, Quentin Garnier wrote:

> On Sun, Jan 23, 2005 at 11:16:27AM -0500, Philip Vetter wrote:
>> As a mere NetBSD novice I am not sure how to describe the problem.
>> My goal is to have a working (TCP/IP) ethernet connection using dhcp.
>> The networking hardware is OK, since without making any hardware changes
>> I am able to complete network installs of Redhat linux.
>> However when I boot NetBSD,"traceroute 192.168._._" fails with
>> "Can't find any network interfaces" and "ping _" fails with
>> "cannot resolve _: (host name lookup failure)"
>>
>> ifconfig -a output shows an entry for sk0!
>> sk0: flags: 8843 (UP,...)
>>      addr: 00:11:d8:06:1b:00
>>      media: Ethernet manual (none)
>>      inet6: fe80::211::... ... %sk0 prefixlen 64 scopeid 0x1
>>
>> dmesg | grep sk reports:
>>
>> skc0 at pci0 dev 10 function 0: ioapic0 pin 17 (irq 10)
>> skc0: Yukon Gigabit Ethernet ...
>> sk0 at skc0 port A: Ethernet addr 00:11:d8:06:1b:00
>> sk0: no PHY found
>
> You'd better give the full dmesg output...  Here it says "no PHY found"
> although in your previous post a makphy was attaching.  This is
> inconsistent.
>
>

-- 
Philip Vetter

There are no ordinary people. You have never talked to a mere mortal. 
Nations, cultures, arts, civilizations--these are mortal, and their life
is to ours as the life of a gnat. But it is immortals whom we joke with,
work with, marry, snub, and exploit--immortal horrors or everlasting splendors.

          -from The Weight of Glory, by C.S. Lewis