Port-i386 archive

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

Re: 6.0.1 upgrade dhcp problem



Thanks for the replies.

 > Can you check the media types it is selecting?

Is this what you mean Joerg?

# ifconfig fxp0
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 00:13:20:4f:fa:f3
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet 192.168.37.199 netmask 0xfffffe00 broadcast 192.168.37.255
        inet6 fe80::213:20ff:fe4f:faf3%fxp0 prefixlen 64 scopeid 0x1


I discovered when copying dhcpcd's output from the console for my previous email I'd missed some that had disappeared "under" the previous menu. In case it's helpful, this is from /tmp/sysinst.log:

executing: /sbin/ifconfig fxp0 media autoselect
executing: /sbin/dhcpcd -d -n fxp0
dhcpcd[49]: version 5.5.4 starting
dhcpcd[49]: Kernel is not configured to accept IPv6 RAs
dhcpcd[49]: fxp0: using hwaddr 00:10:dc:7b:92:a9
dhcpcd[49]: fxp0: executing `/libexec/dhcpcd-run-hooks', reason PREINIT
dhcpcd[49]: fxp0: executing `/libexec/dhcpcd-run-hooks', reason NOCARRIER
dhcpcd[49]: fxp0: carrier acquired
dhcpcd[49]: fxp0: using hwaddr 00:10:dc:7b:92:a9
dhcpcd[49]: fxp0: executing `/libexec/dhcpcd-run-hooks', reason CARRIER
dhcpcd[49]: fxp0: carrier lost
dhcpcd[49]: fxp0: executing `/libexec/dhcpcd-run-hooks', reason NOCARRIER
dhcpcd[49]: fxp0: waiting for carrier
dhcpcd[49]: fxp0: carrier acquired
dhcpcd[49]: fxp0: using hwaddr 00:10:dc:7b:92:a9
dhcpcd[49]: fxp0: executing `/libexec/dhcpcd-run-hooks', reason CARRIER
dhcpcd[49]: fxp0: broadcasting for a lease
dhcpcd[49]: fxp0: sending DISCOVER (xid 0x3f7aa835), next in 4.09 seconds
dhcpcd[49]: fxp0: sending DISCOVER (xid 0x3f7aa835), next in 8.02 seconds
dhcpcd[49]: fxp0: offered 192.168.36.135 from 192.168.36.1
dhcpcd[49]: fxp0: sending REQUEST (xid 0x3f7aa835), next in 4.06 seconds
dhcpcd[49]: fxp0: ignoring offer of 192.168.36.135 from 192.168.36.24
dhcpcd[49]: fxp0: acknowledged 192.168.36.135 from 192.168.36.1
dhcpcd[49]: fxp0: checking for 192.168.36.135
dhcpcd[49]: fxp0: sending ARP probe (1 of 3), next in 1.72 seconds
dhcpcd[49]: fxp0: sending ARP probe (2 of 3), next in 1.06 seconds
dhcpcd[49]: fxp0: sending ARP probe (3 of 3), next in 2.00 seconds
dhcpcd[49]: fxp0: leased 192.168.36.135 for 604800 seconds
dhcpcd[49]: fxp0: adding IP address 192.168.36.135/23
dhcpcd[49]: fxp0: adding route to 192.168.36.0/23
dhcpcd[49]: fxp0: adding default route via 192.168.36.30
dhcpcd[49]: fxp0: writing lease `/var/db/dhcpcd-fxp0.lease'
dhcpcd[49]: fxp0: executing `/libexec/dhcpcd-run-hooks', reason BOUND
dhcpcd[49]: forking to background
dhcpcd[49]: forked to background, child pid 50
executing: /sbin/ifconfig lo0 127.0.0.1
executing: /sbin/ping -v -c 5 -w 5 -o -n 192.168.36.1

PING 192.168.36.1
 (192.168.36.1): 52 data bytes
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host

----192.168.36.1
 PING Statistics----
5 packets transmitted, 0 packets received, 100.0% packet loss


Curiously, I tried the 6.0.1 CD on another PC with an fxp0 NIC today and it worked. The cards aren't the same model though. dmesg output for the PC which doesn't work:

fxp0 at pci1 dev 8 function 0: Intel PRO/100 VE Network Controller with 82562ET/EZ (CNR) PHY (rev. 0x81)
fxp0: interrupting at irq 12
fxp0: Ethernet address 00:10:dc:7b:92:a9
inphy0 at fxp0 phy 1: i82562ET 10/100 media interface, rev. 0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

dmesg output for the PC that works:

fxp0 at pci6 dev 8 function 0: Intel i82801FB LAN Controller (rev. 0x01)
fxp0: interrupting at ioapic0 pin 20
fxp0: Ethernet address 00:13:20:4f:fa:f3
inphy0 at fxp0 phy 1: i82562ET 10/100 media interface, rev. 0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

Hm, I see the inphy0 is the same for both though--does that mean the NICs are in fact the same?

I thought I'd try using the sk0 NIC in the problem PC and found it doesn't work under 6.0.1:

from dmesg:

skc0 at pci1 dev 1 function 0: irq 11
skc0: interrupt moderation is 0 us
skc0: DGE-530T Gigabit Ethernet Adapter rev. (0x9)
sk0 at skc0 port A: Ethernet address 00:22:b0:6b:60:49
makphy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto

from sysinst.log:
executing: /sbin/ifconfig sk0 media autoselect
executing: /sbin/dhcpcd -d -n sk0
dhcpcd[49]: version 5.5.4 starting
dhcpcd[49]: Kernel is not configured to accept IPv6 RAs
dhcpcd[49]: sk0: using hwaddr 00:22:b0:6b:60:49
dhcpcd[49]: sk0: executing `/libexec/dhcpcd-run-hooks', reason PREINIT
dhcpcd[49]: sk0: executing `/libexec/dhcpcd-run-hooks', reason NOCARRIER
dhcpcd[49]: sk0: waiting for carrier
dhcpcd[49]: timed out
dhcpcd[49]: allowing 8 seconds for IPv4LL timeout
dhcpcd[49]: timed out
executing: /sbin/ifconfig lo0 127.0.0.1

But sk0 did work using the 5.2 CD.

It seems the best idea is to stick with 5.x on this PC.


Ray


Home | Main Index | Thread Index | Old Index