Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 2003 23:11:23 -0500
From:      Glenn Johnson <glennpj@charter.net>
To:        Stuart Walsh <stu@ipng.org.uk>, freebsd-current@freebsd.org
Subject:   Re: 3C940 / Asus P4P800 gigabit LAN driver
Message-ID:  <20030826041123.GB718@gforce.johnson.home>
In-Reply-To: <20030825162023.GC40907@node1.cluster.srrc.usda.gov>
References:  <20030823154530.GA86441@deepfreeze.stu.ipng.org.uk> <20030824112239.GA231@freebie.xs4all.nl> <20030825034224.GA713@gforce.johnson.home> <20030825101425.GA52184@deepfreeze.stu.ipng.org.uk> <20030825162023.GC40907@node1.cluster.srrc.usda.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 25, 2003 at 11:20:23AM -0500, Glenn Johnson wrote:

> On Mon, Aug 25, 2003 at 11:14:25AM +0100, Stuart Walsh wrote:
>
> > On Sun Aug 24, 10:42P -0500, Glenn Johnson wrote:
> >
> > > On Sun, Aug 24, 2003 at 01:22:39PM +0200, Wilko Bulte wrote:
> > >
> > > > On Sat, Aug 23, 2003 at 04:45:30PM +0100, Stuart Walsh wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > I ported the openbsd additions to the sk driver to support
> > > > > the 3c940 gigabit network card which is commonly found in the
> > > > > above asus motherboard.  Testers/comments/commits welcome, but
> > > > > please don't blame me if it burns your house down or something
> > > > > :)
> > > >
> > > > Hi Stuart,
> > > >
> > > > I tried this patch instead of the earlier ones you pointed me to
> > > > on IRC.
> > > >
> > > > Unfortunately my Asus P4P800 still locks up solid (reset button
> > > > required) after printing the 3c940's ethernet address.
> > > >
> > > > I'm interested to know if other P4P800 owners have the same
> > > > issue.
> > >
> > > I have an Abit IS7 with a 3c940.  I also get a lockup at boot
> > > time.  I tried loading the module after bootup as well.  I tried
> > > that two times; it loaded one time and locked the machine up the
> > > other time.
> >
> >
> > Does it lock up after printing the ethernet address as in Wilko's
> > case?
>
> Yes.
>
> > Does the card work properly if the module does manage to load?
>
> I do not know.  I did not have a cable plugged in to the 3c940 port at
> the time.  I do remember some message about not being able to set up
> a jumbo frame.  I was going to plug a cable into the port to see if
> it worked but I was not able to get the module to load again without
> locking up the machine.
>
> > Also could you mail your dmesg.
>
> Yes, but not until I get home later this evening as the 3c940 is on my
> home system.

Here is my dmesg output:

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.1-CURRENT #94: Mon Aug 25 22:43:06 CDT 2003
    root@gforce.johnson.home:/usr/obj/usr/src/sys/GFORCE
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0433000.
Preloaded elf module "/boot/kernel/if_xl.ko" at 0xc04331f4.
Preloaded elf module "/boot/kernel/miibus.ko" at 0xc04332a0.
Preloaded elf module "/boot/kernel/snd_ich.ko" at 0xc043334c.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc04333f8.
Preloaded elf module "/boot/kernel/random.ko" at 0xc04334a4.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0433550.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2405.47-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  = 536805376 (511 MB)
avail memory = 516743168 (492 MB)
Changing APIC ID for IO APIC #0 from 0 to 2 on chip
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): apic id:  0, version: 0x00050014, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00050014, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00178020, at 0xfec00000
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <IntelR AWRDACPI> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 11 entries at 0xc00fdd30
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
acpi_tz0: <thermal zone> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
IOAPIC #0 intpin 16 -> irq 2
IOAPIC #0 intpin 19 -> irq 5
IOAPIC #0 intpin 18 -> irq 9
IOAPIC #0 intpin 23 -> irq 10
IOAPIC #0 intpin 17 -> irq 11
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pci0: <serial bus, USB> at device 29.0 (no driver attached)
pci0: <serial bus, USB> at device 29.1 (no driver attached)
pci0: <serial bus, USB> at device 29.2 (no driver attached)
pci0: <serial bus, USB> at device 29.3 (no driver attached)
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: <network, ethernet> at device 2.0 (no driver attached)
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xa400-0xa47f mem 0xfb004000-0xfb00407f irq 11 at device 9.0 on pci2
xl0: Ethernet address: 00:01:02:84:81:50
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH5 SATA150 controller> port 0xf000-0xf00f,0-0x3,0-0x7,0-0x3,0-0x7 irq 9 at device 31.2 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pcm0: <Intel ICH5 (82801EB)> port 0xdc00-0xdc3f,0xd800-0xd8ff mem 0xfc002000-0xfc0020ff,0xfc001000-0xfc0011ff irq 11 at device 31.5 on pci0
pcm0: <Avance Logic ALC650 AC97 Codec>
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
orm0: <Option ROM> at iomem 0xc0000-0xccfff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2

Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0%
acd0: CDRW <MATSHITA CD-RW CW-7586> at ata0-master WDMA2
ad2: 78167MB <Maxtor 6Y080M0> [158816/16/63] at ata1-master UDMA133
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/ad2s1a
drm0: <ATI Radeon QM R200 9100> port 0x9000-0x90ff mem 0xf9000000-0xf900ffff,0xe0000000-0xefffffff irq 2 at device 0.0 on pci1
info: [drm] Initialized radeon 1.9.0 20020828 on minor 0
info: [drm] Loading R200 Microcode

-- 
Glenn Johnson
glennpj@charter.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030826041123.GB718>