Re: Ethernet on ASUS EEE PC?

2008-04-04 Thread James Hartley
On Thu, Apr 3, 2008 at 9:53 AM, Joel Sing [EMAIL PROTECTED] wrote:
 This problem has been tracked down and is fixed in r1.10 of if_lii.c.
  On Wednesday 02 April 2008, James Hartley wrote:
   On Tue, Apr 1, 2008 at 4:53 AM, James Hartley [EMAIL PROTECTED] wrote:
The 31 March snapshot works;
  
   I'm now seeing multiple messages:
  
   lii0: mismatched status and packet

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!



Re: Ethernet on ASUS EEE PC?

2008-04-03 Thread Joel Sing
This problem has been tracked down and is fixed in r1.10 of if_lii.c.

On Wednesday 02 April 2008, James Hartley wrote:
 On Tue, Apr 1, 2008 at 4:53 AM, James Hartley [EMAIL PROTECTED] wrote:
  The 31 March snapshot works;

 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.
-- 

 = Joel Sing | [EMAIL PROTECTED] | 0419 577 603 =


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



Re: Ethernet on ASUS EEE PC?

2008-04-01 Thread James Hartley
On Sun, Mar 30, 2008 at 4:44 PM, Jonathan Gray [EMAIL PROTECTED] wrote:
 There have recently been some changes that make that driver
  work much better, try again with a newer snapshot in a few days.

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
[EMAIL PROTECTED]:/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 @ 0xf/0x1
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: 0xc/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 0xd000, size 0x1000
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: OUI
0x001374, model 0x0002
ppb2 at pci0 dev 28 function 2 Intel 82801FB PCIE rev 0x04: irq 10
pci3 at ppb2 bus 1
uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x04: irq 7
uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x04: irq 3
uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x04: irq 10
uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x04: irq 5
ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xd4
pci4 at ppb3 bus 5
ichpcib0 at pci0 dev 31 function 0 Intel 82801FBM LPC rev 0x04: PM disabled
pciide0 at pci0 dev 31 function 2 Intel 82801FBM SATA rev 0x04: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 1 drive 0: SILICONMOTION SM223AC
wd0: 1-sector PIO, LBA, 3815MB, 7815024 sectors
wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
ichiic0 at pci0 dev 31 function 3 Intel 82801FB SMBus rev 0x04: irq 3
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1
usb1 at uhci1: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci2: USB revision 1.0
uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci3: USB revision 1.0
uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
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
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask e7fd netmask effd ttymask 
mtrr: Pentium Pro MTRR support
umass0 at uhub2 port 1 configuration 1 interface 0 ENE UB6225 rev
2.00/1.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets
sd0 at scsibus0 targ 1 lun 0: USB2.0, CardReader SD0, 0100 SCSI0
0/direct removable
sd0: drive offline
softraid0 at root
root on wd0a swap on wd0b dump on wd0b



Re: Ethernet on ASUS EEE PC?

2008-04-01 Thread James Hartley
On Tue, Apr 1, 2008 at 4:53 AM, James Hartley [EMAIL PROTECTED] wrote:
 The 31 March snapshot works;

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.



Re: Ethernet on ASUS EEE PC?

2008-03-30 Thread Jonathan Gray
There have recently been some changes that make that driver
work much better, try again with a newer snapshot in a few days.

On Sat, Mar 29, 2008 at 07:55:16PM -0700, James Hartley wrote:
 As opposed to previous mention that the Ethernet interface is
 correctly identified on a 28 Jan -current snapshot:
 
 http://marc.info/?l=openbsd-miscm=120177549104133w=2
 
 ...the behaviour I'm seeing from the 25 Mar snapshot is similar to the
 following:
 
 http://marc.info/?l=openbsd-miscm=120185685618399w=2
 
 http://marc.info/?l=openbsd-miscm=119802047918588w=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
 [EMAIL PROTECTED]:/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 @ 0xf/0x1
 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: 0xc/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 0xd000, size 0x1000
 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
 Attansic Technology L2 rev 0xa0 at pci2 dev 0 function 0 not configured
 ppb2 at pci0 dev 28 function 2 Intel 82801FB PCIE rev 0x04: irq 10
 pci3 at ppb2 bus 1
 uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x04: irq 7
 uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x04: irq 3
 uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x04: irq 10
 uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x04: irq 5
 ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xd4
 pci4 at ppb3 bus 5
 ichpcib0 at pci0 dev 31 function 0 Intel 82801FBM LPC rev 0x04: PM disabled
 pciide0 at pci0 dev 31 function 2 Intel 82801FBM SATA rev 0x04: DMA,
 channel 0 wired to compatibility, channel 1 wired to compatibility
 wd0 at pciide0 channel 1 drive 0: SILICONMOTION SM223AC
 wd0: 1-sector PIO, LBA, 3815MB, 7815024 sectors
 wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
 ichiic0 at pci0 dev 31 function 3 Intel 82801FB SMBus rev 0x04: irq 3
 iic0 at ichiic0
 spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
 usb0 at uhci0: USB revision 1.0
 uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1
 usb1 at uhci1: USB revision 1.0
 uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
 usb2 at uhci2: USB revision 1.0
 uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
 usb3 at uhci3: USB revision 1.0
 uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
 isa0 at ichpcib0
 isadma0 at isa0
 pckbc0 at isa0 port 0x60/5
 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
 spkr0 at pcppi0
 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
 biomask e7fd netmask e7fd ttymask 
 mtrr: Pentium Pro MTRR support
 umass0 at uhub2 port 1 configuration 1 interface 0 ENE UB6225 rev
 2.00/1.00 addr 2
 umass0: using SCSI over Bulk-Only
 scsibus0 at umass0: 2 targets
 sd0 at scsibus0 targ 1 lun 0: USB2.0, CardReader SD0, 0100 SCSI0
 0/direct removable
 sd0: drive offline
 softraid0 at root
 root on wd0a swap on wd0b dump on wd0b
 WARNING: / was not properly unmounted
 uhub4 at uhub0 port 2 Prolific Technology Inc. USB Embedded Hub rev
 2.00/1.00 addr 2
 umass1 at uhub4 port 1 configuration 1 interface 0 Prolific
 Technology Inc. USB Mass Storage Device rev 2.00/1.00 addr 3
 umass1: using ATAPI 

Ethernet on ASUS EEE PC?

2008-03-29 Thread James Hartley
As opposed to previous mention that the Ethernet interface is
correctly identified on a 28 Jan -current snapshot:

http://marc.info/?l=openbsd-miscm=120177549104133w=2

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

http://marc.info/?l=openbsd-miscm=120185685618399w=2

http://marc.info/?l=openbsd-miscm=119802047918588w=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
[EMAIL PROTECTED]:/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 @ 0xf/0x1
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: 0xc/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 0xd000, size 0x1000
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
Attansic Technology L2 rev 0xa0 at pci2 dev 0 function 0 not configured
ppb2 at pci0 dev 28 function 2 Intel 82801FB PCIE rev 0x04: irq 10
pci3 at ppb2 bus 1
uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x04: irq 7
uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x04: irq 3
uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x04: irq 10
uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x04: irq 5
ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xd4
pci4 at ppb3 bus 5
ichpcib0 at pci0 dev 31 function 0 Intel 82801FBM LPC rev 0x04: PM disabled
pciide0 at pci0 dev 31 function 2 Intel 82801FBM SATA rev 0x04: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 1 drive 0: SILICONMOTION SM223AC
wd0: 1-sector PIO, LBA, 3815MB, 7815024 sectors
wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
ichiic0 at pci0 dev 31 function 3 Intel 82801FB SMBus rev 0x04: irq 3
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1
usb1 at uhci1: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci2: USB revision 1.0
uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci3: USB revision 1.0
uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
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
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask e7fd netmask e7fd ttymask 
mtrr: Pentium Pro MTRR support
umass0 at uhub2 port 1 configuration 1 interface 0 ENE UB6225 rev
2.00/1.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets
sd0 at scsibus0 targ 1 lun 0: USB2.0, CardReader SD0, 0100 SCSI0
0/direct removable
sd0: drive offline
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
WARNING: / was not properly unmounted
uhub4 at uhub0 port 2 Prolific Technology Inc. USB Embedded Hub rev
2.00/1.00 addr 2
umass1 at uhub4 port 1 configuration 1 interface 0 Prolific
Technology Inc. USB Mass Storage Device rev 2.00/1.00 addr 3
umass1: using ATAPI over Bulk-Only
scsibus1 at umass1: 2 targets
sd1 at scsibus1 targ 1 lun 0: Corsair, Flash Voyager, 1.00 SCSI0
0/direct removable
sd1: 978MB, 124 cyl, 255 head, 63 sec, 512 bytes/sec, 2002944 sec total
sd1 detached
scsibus1 detached
umass1 detached
uhub4 detached
uhub4 at uhub0 port 2 Prolific Technology