Subject: 3c940 problem
To: None <current-users@netbsd.org>
From: None <Krejcik@dkv.hkr.cd.cz>
List: current-users
Date: 02/03/2004 07:36:23
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_000_01C3EA20.0A5B8270
Content-Type: text/plain;
	charset="iso-8859-2"

Hi,
  I tried netbsd-current on ASUS A7V600 (VIA KT600 chipset). Everything
works fine except the integrated gigabit ethernet.
It prints
skc0 at pci0 dev 9 function 0skc0: can't find mem space
during start up.
In mailing list I found this post:

Subject: Re: SK driver and Marvell chips?
To: None <tls@rek.tjls.com>
From: None <sdegler@degler.net>
List: port-i386
Date: 12/19/2003 07:38:01 
Hi,

3c940 is running fine for me.

Try taking the interrupt mitigation timer from 200us to 100us.
Seems to help for me.  Let me know if if fixes things for you.

skd


> On Wed, Dec 17, 2003 at 03:20:11AM -0800, Brian Baird wrote:
>> Works fine for me (1.6ZF on i386).  It would actually be nice if
>> skc/sk was uncommented from GENERIC and INSTALL unless there's some
>> kind of gotcha I don't see.
>
> How does it perform for you?  I have it working with the DGE-530 but
> performance is awful.
>
> Thor

What does it mean interrupt mitigation? Could it solve my problem? Where can
I set this?

I' ve attached dmesg output also.
Thanks and have a nice day.
Jirka
 <<DMESG.OUT>>  

------_=_NextPart_000_01C3EA20.0A5B8270
Content-Type: application/octet-stream;
	name="DMESG.OUT"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="DMESG.OUT"

NetBSD 1.6ZH (MYKERNEL) #0: Mon Jan 26 21:55:27 CET 2004=0A=
	root@:/usr/src/sys/arch/i386/compile/MYKERNEL=0A=
total memory =3D 511 MB=0A=
avail memory =3D 498 MB=0A=
BIOS32 rev. 0 found at 0xf1940=0A=
mainbus0 (root)=0A=
cpu0 at mainbus0: (uniprocessor)=0A=
cpu0: AMD K7 (Athlon) XP 2500+ (686-class), 1833.25 MHz, id 0x6a0=0A=
cpu0: features =
c3c3fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>=0A=
cpu0: features c3c3fbff<PGE,MCA,CMOV,PAT,PSE36,MMXX,MMX>=0A=
cpu0: features c3c3fbff<FXSR,SSE,3DNOW2,3DNOW>=0A=
cpu0: I-cache 64 KB 64b/line 2-way, D-cache 64 KB 64b/line 2-way=0A=
cpu0: L2 cache 512 KB 64b/line 16-way=0A=
cpu0: ITLB 16 4 KB entries fully associative, 8 4 MB entries fully =
associative=0A=
cpu0: DTLB 32 4 KB entries fully associative, 8 4 MB entries 4-way=0A=
cpu0: 8 page colors=0A=
pci0 at mainbus0 bus 0: configuration mode 1=0A=
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok=0A=
pchb0 at pci0 dev 0 function 0=0A=
pchb0: VIA Technologies VT8377 Apollo KT400 CPU to PCI Bridge (rev. =
0x80)=0A=
agp0 at pchb0: aperture at 0xf8000000, size 0xf900000=0A=
ppb0 at pci0 dev 1 function 0: VIA Technologies VT8377CE CPU-AGP Bridge =
(KT600) (rev. 0x00)=0A=
pci1 at ppb0 bus 1=0A=
pci1: i/o space, memory space enabled=0A=
skc0 at pci0 dev 9 function 0skc0: can't find mem space=0A=
vga0 at pci0 dev 13 function 0: Nvidia Corporation RIVA TNT2 Model 64 =
(rev. 0x15)=0A=
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)=0A=
wsmux1: connecting to wsdisplay0=0A=
viaide0 at pci0 dev 15 function 0=0A=
viaide0: VIA Technologies VT8237 SATA Controller (rev. 0x80)=0A=
viaide0: bus-master DMA support present=0A=
viaide0: primary channel wired to native-PCI mode=0A=
viaide0: using irq 5 for native-PCI interrupt=0A=
atabus0 at viaide0 channel 0=0A=
viaide0: secondary channel wired to native-PCI mode=0A=
atabus1 at viaide0 channel 1=0A=
viaide1 at pci0 dev 15 function 1=0A=
viaide1: VIA Technologies VT8237 ATA133 controller=0A=
viaide1: bus-master DMA support present=0A=
viaide1: primary channel configured to compatibility mode=0A=
viaide1: primary channel interrupting at irq 14=0A=
atabus2 at viaide1 channel 0=0A=
viaide1: secondary channel configured to compatibility mode=0A=
viaide1: secondary channel interrupting at irq 15=0A=
atabus3 at viaide1 channel 1=0A=
uhci0 at pci0 dev 16 function 0: VIA Technologies VT83C572 USB =
Controller (rev. 0x81)=0A=
uhci0: interrupting at irq 5=0A=
usb0 at uhci0: USB revision 1.0=0A=
uhub0 at usb0=0A=
uhub0: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr =
1=0A=
uhub0: 2 ports with 2 removable, self powered=0A=
uhci1 at pci0 dev 16 function 1: VIA Technologies VT83C572 USB =
Controller (rev. 0x81)=0A=
uhci1: interrupting at irq 5=0A=
usb1 at uhci1: USB revision 1.0=0A=
uhub1 at usb1=0A=
uhub1: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr =
1=0A=
uhub1: 2 ports with 2 removable, self powered=0A=
uhci2 at pci0 dev 16 function 2: VIA Technologies VT83C572 USB =
Controller (rev. 0x81)=0A=
uhci2: interrupting at irq 9=0A=
usb2 at uhci2: USB revision 1.0=0A=
uhub2 at usb2=0A=
uhub2: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr =
1=0A=
uhub2: 2 ports with 2 removable, self powered=0A=
uhci3 at pci0 dev 16 function 3: VIA Technologies VT83C572 USB =
Controller (rev. 0x81)=0A=
uhci3: interrupting at irq 9=0A=
usb3 at uhci3: USB revision 1.0=0A=
uhub3 at usb3=0A=
uhub3: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr =
1=0A=
uhub3: 2 ports with 2 removable, self powered=0A=
VIA Technologies VT8237 EHCI USB Controller (USB serial bus, interface =
0x20, revision 0x86) at pci0 dev 16 function 4 not configured=0A=
pcib0 at pci0 dev 17 function 0=0A=
pcib0: VIA Technologies VT8237 (Apollo KT600) PCI-ISA Bridge (rev. =
0x00)=0A=
auvia0 at pci0 dev 17 function 5: VIA VT8235 AC'97 Audio (rev 0x60)=0A=
auvia0: interrupting at irq 11=0A=
auvia0: ac97: Analog Devices AD1980 codec; headphone, 20 bit DAC, no 3D =
stereo=0A=
auvia0: ac97: ext id 3c7<AMAP,LDAC,SDAC,CDAC,SPDIF,DRA,VRA>=0A=
audio0 at auvia0: full duplex, mmap, independent=0A=
isa0 at pcib0=0A=
lpt0 at isa0 port 0x378-0x37b irq 7=0A=
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo=0A=
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo=0A=
pckbc0 at isa0 port 0x60-0x64=0A=
pckbd0 at pckbc0 (kbd slot)=0A=
pckbc0: using irq 1 for kbd slot=0A=
wskbd0 at pckbd0: console keyboard, using wsdisplay0=0A=
pms0 at pckbc0 (aux slot)=0A=
pckbc0: using irq 12 for aux slot=0A=
wsmouse0 at pms0 mux 0=0A=
pcppi0 at isa0 port 0x61=0A=
midi0 at pcppi0: PC speaker=0A=
sysbeep0 at pcppi0=0A=
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support=0A=
npx0 at isa0 port 0xf0-0xff: using exception 16=0A=
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2=0A=
isapnp0: no ISA Plug 'n Play devices found=0A=
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec=0A=
uhub0: port error, restarting port 1=0A=
uhub0: port error, giving up port 1=0A=
uhub0: port error, restarting port 2=0A=
uhub0: port error, giving up port 2=0A=
uhub1: port error, restarting port 1=0A=
uhub1: port error, giving up port 1=0A=
uhub1: port error, restarting port 2=0A=
uhub1: port error, giving up port 2=0A=
uhub2: port error, restarting port 1=0A=
uhub2: port error, giving up port 1=0A=
uhub2: port error, restarting port 2=0A=
uhub2: port error, giving up port 2=0A=
uhub3: port error, restarting port 1=0A=
uhub3: port error, giving up port 1=0A=
uhub3: port error, restarting port 2=0A=
uhub3: port error, giving up port 2=0A=
wd0 at atabus2 drive 0: <WDC WD1200BB-00CAA1>=0A=
wd0: drive supports 16-sector PIO transfers, LBA addressing=0A=
wd0: 111 GB, 232581 cyl, 16 head, 63 sec, 512 bytes/sect x 234441648 =
sectors=0A=
wd0: 32-bit data port=0A=
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 =
(Ultra/100)=0A=
wd0(viaide1:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using =
DMA data transfers)=0A=
atapibus0 at atabus3: 2 targets=0A=
cd0 at atapibus0 drive 0: <TEAC DW-548D, , K4H6> cdrom removable=0A=
cd0: 32-bit data port=0A=
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 =
(Ultra/33)=0A=
cd0(viaide1:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using =
DMA data transfers)=0A=
boot device: wd0=0A=
root on wd0a dumps on wd0b=0A=
root file system type: ffs=0A=
wsdisplay0: screen 1 added (80x25, vt100 emulation)=0A=
wsdisplay0: screen 2 added (80x25, vt100 emulation)=0A=
wsdisplay0: screen 3 added (80x25, vt100 emulation)=0A=
wsdisplay0: screen 4 added (80x25, vt100 emulation)=0A=
wsdisplay0: screen 5 added (80x25, vt100 emulation)=0A=
wsdisplay0: screen 6 added (80x25, vt100 emulation)=0A=
wsdisplay0: screen 7 added (80x25, vt100 emulation)=0A=

------_=_NextPart_000_01C3EA20.0A5B8270--