Subject: Gem0 Problems with NetBSD 4.0 Beta2
To: None <port-macppc@netbsd.org>
From: Allen Wong <allen@submoron.org>
List: port-macppc
Date: 04/10/2007 16:33:02
--W/nzBZO5zC0uMSeA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


Greetings all,

I'm running NetBSD 4.0 Beta2 on a 350MHz iMac G3.  The system sources were
last updated and compiled/installed on April 6.

I'm not sure when this problem started but I first noticed it a few days ago
when I tried to back up a large (612MB) file to a remote system.  The scp=
=20
transfer times out after two or three minutes.  Here are the relevant
entries from the system logs:

Apr 11 00:09:49 abel /netbsd: gem0: discarding oversize frame (len=3D21002)
Apr 11 00:09:49 abel /netbsd: gem0: discarding oversize frame (len=3D32767)
Apr 11 00:09:51 abel /netbsd: gem0: discarding oversize frame (len=3D21002)
Apr 11 00:09:51 abel /netbsd: gem0: discarding oversize frame (len=3D13095)
Apr 11 00:11:37 abel /netbsd: gem0: discarding oversize frame (len=3D7677)
Apr 11 00:11:37 abel /netbsd: gem0: discarding oversize frame (len=3D13095)
Apr 11 00:11:39 abel /netbsd: gem0: discarding oversize frame (len=3D2548)
Apr 11 00:11:39 abel /netbsd: gem0: discarding oversize frame (len=3D13095)
Apr 11 00:11:50 abel last message repeated 2 times
Apr 11 00:12:02 abel /netbsd: gem0: discarding oversize frame (len=3D1926)
Apr 11 00:12:02 abel /netbsd: gem0: discarding oversize frame (len=3D13095)
Apr 11 00:12:21 abel /netbsd: gem0: discarding oversize frame (len=3D20368)
Apr 11 00:12:21 abel /netbsd: gem0: discarding oversize frame (len=3D13095)
Apr 11 00:12:27 abel /netbsd: gem0: discarding oversize frame (len=3D5254)
Apr 11 00:12:27 abel /netbsd: gem0: discarding oversize frame (len=3D13095)
Apr 11 00:12:56 abel /netbsd: gem0: device timeout
Apr 11 00:13:53 abel last message repeated 4 times

This is the output from dmesg:

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 4.0_BETA2 (ANGIE) #0: Sun Apr  8 02:45:56 UTC 2007
    allen@abel.effcomp.com:/usr/obj/sys/arch/macppc/compile/ANGIE
total memory =3D 384 MB
avail memory =3D 365 MB
timecounter: Timecounters tick every 10.000 msec
init_interrupt: found OpenPIC @ pa 0x80040000, 0x80040000
mainbus0 (root)
cpu0 at mainbus0: 750 (Revision 3.0), ID 0 (primary)
cpu0: HID0 8090c0a4<EMCP,DOZE,DPM,ICE,DCE,SGE,BTIC,BHT>, powersave: 1
cpu0: 350.00 MHz, no-parity 512KB WB L2 cache (PB SRAM) at 2.5:1 ratio
uninorth0 at mainbus0
pci0 at uninorth0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 11 function 0
pchb0: Apple Computer UniNorth AGP Interface (rev. 0x00)
ofb0 at pci0 dev 16 function 0: ATI Technologies Rage 128 VR AGP 2x
ofb0: 1024 x 768, 8bpp
wsdisplay0 at ofb0 kbdmux 1: console (std, vt100 emulation)
wsmux1: connecting to wsdisplay0
uninorth1 at mainbus0
pci1 at uninorth1 bus 0
pci1: i/o space, memory space enabled
pchb1 at pci1 dev 11 function 0
pchb1: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
obio0 at pci1 dev 23 function 0: addr 0x80000000
enabling KeyLargo internal modem
zsc0 at obio0: irq 22,50
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
awacs0 at obio0 offset 0x14000: irq 24,9,10
audio0 at awacs0: full duplex
adb0 at obio0 offset 0x16000 irq 47: pm_adb_op: timeout. command =3D 0x0
0 targets
aed0 at adb0 addr 0: ADB Event device
apm0 at adb0: battery flags 0x9, 0% charged
wdc0 at obio0 offset 0x1f000 irq 19: DMA transfer
atabus0 at wdc0 channel 0
wdc1 at obio0 offset 0x20000 irq 20: DMA transfer
atabus1 at wdc1 channel 0
wdc2 at obio0 offset 0x21000 irq 21: DMA transfer
atabus2 at wdc2 channel 0
ohci0 at pci1 dev 24 function 0: Apple Computer KeyLargo USB Controller
(rev. 0x00)
ohci0: interrupting at irq 27
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Apple Computer OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1 at pci1 dev 25 function 0: Apple Computer KeyLargo USB Controller
(rev. 0x00)
ohci1: interrupting at irq 28
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Apple Computer OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uninorth2 at mainbus0
pci2 at uninorth2 bus 0
pci2: i/o space, memory space enabled
pchb2 at pci2 dev 11 function 0
pchb2: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
gem0 at pci2 dev 15 function 0: Apple Computer GMAC Ethernet (rev. 0x00)
gem0: interrupting at irq 41
gem0: Ethernet address 00:0a:27:b3:09:a2, 10KB RX fifo, 9KB TX fifo
bmtphy0 at gem0 phy 0: BCM5201 10/100 media interface, rev. 2
bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "mftb" frequency 24967326 Hz quality 100
IPsec: Initialized Security Association Processing.
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 1: <CRN-8242B, 1999/07/30, LAS8> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2
wd0 at atabus0 drive 0: <ST380013A>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488
sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
(using DMA)
cd0(wdc0:0:1): using PIO mode 4, DMA mode 2 (using DMA)
uhub2 at uhub1 port 1aue0 at uhub0 port 1
uhub2: ALCOR macally Kbd Hub, class 9/0, rev 1.10/1.00, addr 2
uhub2: 3 ports with 2 removable, bus powered

aue0: LINKSYS Inc. LINKSYS USB Adapter, rev 1.10/1.01, addr 2
aue0: Ethernet address 00:04:5a:9c:65:76
ukphy0 at aue0 phy 1: Generic IEEE 802.3u media interface
ukphy0: ACXXX 10/100 media interface (OUI 0x0010a9, model 0x0001), rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
uhidev0 at uhub2 port 1 configuration 1 interface 0
uhidev0: ALCOR macally Kbd Hub, rev 1.10/1.00, addr 3, iclass 3/1
ukbd0 at uhidev0
wskbd0 at ukbd0 mux 1
wskbd0: connecting to wsdisplay0
uhidev1 at uhub2 port 2 configuration 1 interface 0
uhidev1: Logitech USB-PS/2 Optical Mouse, rev 2.00/13.00, addr 4, iclass 3/1
ums0 at uhidev1: 4 buttons and Z dir.
wsmouse0 at ums0 mux 0
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs

What can I do to help troubleshoot this further?


Allen
--=20
When in doubt, mumble.
    Jim Boren founder of International Association of Professional Bureaucr=
ats
 4:20PM  up 19 days, 20:41, 1 user, load averages: 0.00, 0.00, 0.00

--W/nzBZO5zC0uMSeA
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFGHB6uaiDOxrzhkxgRAjpDAJ99yE8wcLEDlGENQSqydiU+ViD6igCfauvK
WzDQ4vc4TrBksjJ4y1w9vDo=
=u2B6
-----END PGP SIGNATURE-----

--W/nzBZO5zC0uMSeA--