Re: Ethernet on ASUS EEE PC?

Previous thread: AUDIO-VIZUELNA METODA UCENJA ENGLESKOG JEZIKA na 10 CD-a by KURS ENGLESKOG JEZIKA NA 10 CD-a on Saturday, March 29, 2008 - 2:35 pm. (1 message)

Next thread: Any Audigy users here? by Zbigniew Baniewski on Saturday, March 29, 2008 - 7:56 pm. (14 messages)
From: James Hartley
Date: Saturday, March 29, 2008 - 7:55 pm

As opposed to previous mention that the Ethernet interface is
correctly identified on a 28 Jan -current snapshot:

http://marc.info/?l=openbsd-misc&m=120177549104133&w=2

...the behaviour I'm seeing from the 25 Mar snapshot is similar to the
following:

http://marc.info/?l=openbsd-misc&m=120185685618399&w=2

http://marc.info/?l=openbsd-misc&m=119802047918588&w=2

Perhap different hardware revisions are being employed by ASUS.  I'm
using a EEE PC 4G Surf.

My dmesg follows.  Any suggestions or requests are welcomed.

Jim

==========8<--------------------

OpenBSD 4.3-current (GENERIC) #723: Mon Mar 24 18:23:49 MDT 2008
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) M processor 900MHz ("GenuineIntel" 686-class) 631 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF
real mem  = 2138140672 (2039MB)
avail mem = 2059415552 (1964MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 01/04/08, BIOS32 rev. 0 @
0xf0010, SMBIOS rev. 2.5 @ 0xf06c0 (37 entries)
bios0: vendor American Megatrends Inc. version "0703" date 01/04/2008
bios0: ASUSTeK Computer INC. 701
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 3.0 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf76b0/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801FB LPC" rev 0x00)
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc0000/0xf800! 0xcf800/0x1000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82915GM Host" rev 0x04
vga1 at pci0 dev 2 function 0 "Intel 82915GM Video" rev 0x04
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: aperture at 0xd0000000, size 0x10000000
"Intel 82915GM Video" rev 0x04 at pci0 dev 2 function 1 not ...
From: Jonathan Gray
Date: Sunday, March 30, 2008 - 4:44 pm

There have recently been some changes that make that driver
work much better, try again with a newer snapshot in a few days.


From: James Hartley
Date: Tuesday, April 1, 2008 - 4:53 am

Thanks for pointing this out!  The 31 March snapshot works;  dmesg follows:

OpenBSD 4.3-current (GENERIC) #731: Mon Mar 31 18:33:01 MDT 2008
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) M processor 900MHz ("GenuineIntel" 686-class) 631 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF
real mem  = 2138140672 (2039MB)
avail mem = 2059407360 (1964MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 01/04/08, BIOS32 rev. 0 @
0xf0010, SMBIOS rev. 2.5 @ 0xf06c0 (37 entries)
bios0: vendor American Megatrends Inc. version "0703" date 01/04/2008
bios0: ASUSTeK Computer INC. 701
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 3.0 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf76b0/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801FB LPC" rev 0x00)
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc0000/0xf800! 0xcf800/0x1000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82915GM Host" rev 0x04
vga1 at pci0 dev 2 function 0 "Intel 82915GM Video" rev 0x04
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: aperture at 0xd0000000, size 0x10000000
"Intel 82915GM Video" rev 0x04 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801FB HD Audio" rev 0x04: irq 5
azalia0: codec[s]: Realtek/0x0662
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x04: irq 5
pci1 at ppb0 bus 4
ppb1 at pci0 dev 28 function 1 "Intel 82801FB PCIE" rev 0x04: irq 11
pci2 at ppb1 bus 3
lii0 at pci2 dev 0 function 0 "Attansic Technology L2" rev 0xa0: irq
11, address 00:1e:8c:b5:31:b4
ukphy0 at lii0 phy 1: Generic IEEE 802.3u media interface, rev. 2: ...
From: James Hartley
Date: Tuesday, April 1, 2008 - 2:12 pm

I'm now seeing multiple messages:

lii0: mismatched status and packet

...when checking out the CVS tree.  If anyone can point out what
information would be pertinent for including in a PR, I would gladly
comply.

Thanks.

From: Joel Sing
Date: Thursday, April 3, 2008 - 9:53 am

This problem has been tracked down and is fixed in r1.10 of if_lii.c.

-- 
----------------------------------------------------------------------------
             => Joel Sing | joel@ionix.com.au | 0419 577 603 <=
----------------------------------------------------------------------------

         "Real stupidity beats artificial intelligence every time."
          - Terry Pratchett, Hogfather

From: James Hartley
Date: Friday, April 4, 2008 - 3:51 pm

Great job, Joel!

Looking at the timestamps, it appears that your fix made it into the 3
Apr snapshot, & I've had no problems grabbing the CVS tree using it.
Since rebuilding the kernel (where I can confirm inclusion of your
fix...), netstat(1) shows no errors in the traffic passed.  Thanks for
promptly fixing the TXD buffer!

Previous thread: AUDIO-VIZUELNA METODA UCENJA ENGLESKOG JEZIKA na 10 CD-a by KURS ENGLESKOG JEZIKA NA 10 CD-a on Saturday, March 29, 2008 - 2:35 pm. (1 message)

Next thread: Any Audigy users here? by Zbigniew Baniewski on Saturday, March 29, 2008 - 7:56 pm. (14 messages)