Date: Tue, 14 Dec 2004 00:34:58 -0500 (EST) From: James Risner <risner@akira.stdio.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: i386/75041: Sk driver gets "Corrupt MAC on input" during download Message-ID: <200412140534.iBE5YwwI078422@akira.stdio.com> Resent-Message-ID: <200412140540.iBE5eNGj023757@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 75041 >Category: i386 >Synopsis: Sk driver gets "Corrupt MAC on input" during download >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 14 05:40:22 GMT 2004 >Closed-Date: >Last-Modified: >Originator: James Risner >Release: FreeBSD 5.3-RELEASE-p2 i386 >Organization: home >Environment: System: FreeBSD akira.stdio.com 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #2: Mon Dec 13 19:00:26 EST 2004 root@akira.stdio.com:/usr/src/sys/i386/compile/AKIRA i386 FreeBSD 5.3-RELEASE-p2 #2: Mon Dec 13 19:00:26 EST 2004 root@akira.stdio.com:/usr/src/sys/i386/compile/AKIRA Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.60GHz (2605.92-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Hyperthreading: 2 logical CPUs real memory = 1072889856 (1023 MB) avail memory = 1040363520 (992 MB) ACPI APIC Table: <A M I OEMAPIC > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 <Version 2.0> irqs 0-23 on motherboard acpi0: <A M I OEMXSDT> on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: <ACPI CPU> on acpi0 cpu1: <ACPI CPU> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 agp0: <Intel 82875P host to AGP bridge> mem 0xe8000000-0xefffffff at device 0.0 on pci0 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0 pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.P0P1 - AE_NOT_FOUND pci1: <ACPI PCI bus> on pcib1 uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xef00-0xef1f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: <Intel 82801EB (ICH5) USB controller USB-A> on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0xef20-0xef3f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: <Intel 82801EB (ICH5) USB controller USB-B> on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0xef40-0xef5f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: <Intel 82801EB (ICH5) USB controller USB-C> on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pci0: <serial bus, USB> at device 29.7 (no driver attached) pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci2: <ACPI PCI bus> on pcib2 pci2: <serial bus, FireWire> at device 3.0 (no driver attached) skc0: <3Com 3C940 Gigabit Ethernet> port 0xd800-0xd8ff mem 0xfeaf8000-0xfeafbfff irq 22 at device 5.0 on pci2 skc0: 3Com Gigabit LOM (3C940) sk0: <Marvell Semiconductor, Inc. Yukon> on skc0 sk0: Ethernet address: 00:0c:6e:37:a0:43 miibus0: <MII bus> on sk0 e1000phy0: <Marvell 88E1000 Gigabit PHY> on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto pci2: <display, VGA> at device 9.0 (no driver attached) rl0: <RealTek 8139 10/100BaseTX> port 0xde00-0xdeff mem 0xfeafe400-0xfeafe4ff irq 22 at device 10.0 on pci2 miibus1: <MII bus> on rl0 rlphy0: <RealTek internal media interface> on miibus1 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:50:bf:d1:dd:0d asr0: <Adaptec Caching SCSI RAID> mem 0xdc000000-0xddffffff irq 20 at device 12.0 on pci2 asr0: [GIANT-LOCKED] asr0: ADAPTEC 2400A FW Rev. 3A0L, 4 channel, 256 CCBs, Protocol I2O pcib3: <PCI-PCI bridge> at device 12.1 on pci2 pci3: <PCI bus> on pcib3 isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH5 UDMA100 controller> port 0xef90-0xef9f,0xefa8-0xefab,0xefa0-0xefa7,0xefac-0xefaf,0xefe0-0xefe7 irq 18 at device 31.1 on pci0 ata2: channel #0 on atapci0 ata3: channel #1 on atapci0 ichsmb0: <Intel 82801EB (ICH5) SMBus controller> port 0x400-0x41f irq 17 at device 31.3 on pci0 ichsmb0: [GIANT-LOCKED] smbus0: <System Management Bus> on ichsmb0 smb0: <SMBus generic I/O> on smbus0 pci0: <multimedia, audio> at device 31.5 (no driver attached) acpi_button0: <Power Button> on acpi0 atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A fdc0: <floppy drive controller (FDE)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 npx0: [FAST] npx0: <math processor> on motherboard npx0: INT 16 interface orm0: <ISA Option ROMs> at iomem 0xc8000-0xcdfff,0xc0000-0xc7fff on isa0 ata0 at port 0x3f6,0x1f0-0x1f7 irq 14 on isa0 ata1 at port 0x376,0x170-0x177 irq 15 on isa0 ppc0: parallel port not found. sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 10.000 msec acd0: CDROM <ATAPI CD-ROM 52XMax/VER 1.10> at ata2-slave UDMA33 da0 at asr0 bus 0 target 0 lun 0 da0: <ADAPTEC RAID-5 3A0L> Fixed Direct Access SCSI-2 device da0: Tagged Queueing Enabled da0: 718116MB (1470701568 512 byte sectors: 255H 63S/T 91546C) SMP: AP CPU #1 Launched! # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.369.2.2 2002/12/31 05:35:45 scottl Exp $ machine i386 cpu I486_CPU cpu I586_CPU cpu I686_CPU ident AKIRA maxusers 0 makeoptions MODULES_OVERRIDE="" options INET #InterNETworking options FFS #Berkeley Fast Filesystem options SOFTUPDATES #Enable FFS soft updates support options UFS_DIRHASH #Improve performance on big directories options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem (requires PSEUDOFS) options PSEUDOFS #Pseudo-filesystem framework options HPFS #OS/2 File system options NTFS #NT File System options UNIONFS #Union filesystem options EXT2FS # SCHED_4BSD is the historical, proven, BSD scheduler. It has a global run # SCHED_ULE is a new experimental scheduler that has been designed for SMP, options SCHED_4BSD options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 #Compatible with FreeBSD4 options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions options COMPAT_LINUX # compile in Linux support options KBD_INSTALL_CDEV # install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. # To make an SMP kernel, the next two are needed options SMP # Symmetric MultiProcessor Kernel device apic # I/O APIC device isa device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives options ATA_STATIC_ID #Static device numbering # SCSI device scbus #base SCSI code device da #SCSI direct access devices (aka disks) device pass #CAM passthrough driver options SCSI_DELAY=8000 # Be pessimistic about Joe SCSI device # The 'asr' driver provides support for current DPT/Adaptec SCSI RAID # controllers (SmartRAID V and VI and later). # These controllers require the CAM infrastructure. # device asr # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device vga # VGA video card driver device splash # Splash screen and screen saver support device star_saver # stars screen saver # syscons is the default console driver, resembling an SCO console device sc device agp # support several AGP chipsets # Floating point support - do not disable. device npx # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports # # Network interfaces: # # MII bus support is required for some PCI 10/100 ethernet NICs, # namely those which use MII-compliant transceivers or implement # tranceiver control interfaces that operate like an MII. Adding # "device miibus0" to the kernel config pulls in support for # the generic miibus API and all of the PHY drivers, including a # generic one for PHYs that aren't specifically handled by an # individual driver. device miibus # dc: Support for PCI fast ethernet adapters based on the DEC/Intel 21143 device dc # DEC/Intel 21143 and various workalikes device sk # SysKonnect SK-984x and SK-982x gigabit ethernet device rl # RealTek 8129/8139 # Pseudo devices - the number indicates how many units to allocate. device random # Entropy device device loop # Network loopback device io # io device device ether # Ethernet support device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device pf # packet filter device bpf # packet filter # USB support device uhci # UHCI PCI->USB interface device usb # USB Bus (required) device uhid # "Human Interface Devices" device ukbd # Keyboard device ums # Mouse # Parallel port device ppc device ppbus # Parallel port bus (required) device lpt # Printer # Audio/Sound (broken?) # device pcm # ACPI device acpi options ACPI_DEBUG # # Certain applications can grow to be larger than the 512M limit # that FreeBSD initially imposes. Below are some options to # allow that limit to grow to 1GB, and can be increased further # with changing the parameters. MAXDSIZ is the maximum that the # limit can be set to, and the DFLDSIZ is the default value for # the limit. MAXSSIZ is the maximum that the stack limit can be # set to. You might want to set the default lower than the max, # and explicitly set the maximum with a shell command for processes # that regularly exceed the limit like INND. # options MAXDSIZ=(1536UL*1024*1024) options DFLDSIZ=(512UL*1024*1024) options MAXSSIZ=(256UL*1024*1024) # This allows you to actually store this configuration file into # the kernel binary itself, where it may be later read by saying: # strings -n 3 /boot/kernel/kernel | sed -n 's/^___//p' > MYKERNEL # options INCLUDE_CONFIG_FILE # Include this file in kernel # # SMB bus # # System Management Bus support is provided by the 'smbus' device. # Access to the SMBus device is via the 'smb' device (/dev/smb*), # which is a child of the 'smbus' device. # # Supported devices: # smb standard io through /dev/smb* # # Supported SMB interfaces: # iicsmb I2C to SMB bridge with any iicbus interface # ichsmb Intel ICH SMBus controller chips (82801AA, 82801AB, 82801BA) device smbus # Bus support, required for smb below. device ichsmb device smb # I2C Bus device iicbus # Bus support, required for ic/iic/iicsmb below. device iic device iicsmb # smb over i2c bridge >Description: Just upgraded a 5.2.1 system to 5.3 today. 5.2.1 was sup'd on March 2004. Worked fine no problems with sk driver. Today I can upload at a good rate (30 mb in less than a minute over FE.) I can not download. The faster the connection, the less I get. FE (100mb/s) gets me about 90kb downloaded. Sometimes reboots (panics) the system. 768 kb/s DSL gets me around 2 to 3 megs before the connections stalls so bad it fails. With tftp I could download a 30 mb file in 10 to 15 minutes that failed after 5 hours of "fetch." I added a rl0 driver/card to get reliable network access for now. >How-To-Repeat: Get an Asus motherboard with an onboard 3C940 gig ethernet chip and install 5.3 stable. >Fix: March 2004 SK driver does not seem to have any issues. OpenBSD: if_sk.c,v 2.33 2003/08/12 version seems to have issues causing buffer overruns? I assume that is the reason for the Corrupt MAC on input error? >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412140534.iBE5YwwI078422>