problem with MySon Ethernet Nics

GiTi qaz at airland.kiev.ua
Sat Mar 20 02:11:02 PST 2004


Olaf Hoyer wrote:
> Well, do you mean with "compiled its driver" that they provide some own
> driver?

yes, my Nic has own driver but ... only for Freebsd 2.x and 3.x. And this is
its instruction
------------begin-----------------

Installation:

1. copy the source codes if_fet.c and if_fetreg.h to /sys/pci directory,

#cp if_fet.c /sys/pci
#cp if_fetreg.h /sys/pci

2. modify /sys/conf/files, add the following line

pci/if_fet.c     optional       fet      device-driver

3. modify /usr/src/sys/i386/conf/GENERIC, add the following line

device  fet0

4. compile the kernel,

#cd /usr/src/sys/i386/conf
#cp GENERIC MYKERNEL
#/usr/sbin/config MYKERNEL
#cd /usr/src/sys/compile/MYKERNEL
#make depend
#make
#make install

5. reboot the system,

#reboot

6. bind your card to an IP address

#ifconfig fet0 ${IPADDR} broadcast ${BROADCAST} netmask ${NETMASK}

7. now, you should be able to ping local network.

----------end-----------


> Ok, in order to be able to help you, we  need at least a dmesg with the
> card, and the _exact_ message, and also a pciconf -lv will be helpful.
> Because of rebranding of network chips one can never be sure what
> chip-revision you get with those relabelled products.
>
> Please boot a kernel.GENERIC and post that dmesg.

thank you, Olaf Hoyer
this is my dmesg.today:
--------begin---------
Copyright (c) 1992-2004 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.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 2004
root at wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a33000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a3326c.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(R) CPU 1.80GHz (1804.10-MHz 686-class CPU)
Origin = "GenuineIntel"  Id = 0xf13  Stepping = 3
Features=0x3febfbff<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>
real memory  = 268369920 (255 MB)
avail memory = 251047936 (239 MB)
ACPI APIC Table: <AMIINT INTEL845>
ioapic0 <Version 2.0> irqs 0-23 on motherboard
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <AMIINT INTEL845> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 10 entries at 0xc00f7a60
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
ACPI-1287: *** Error: Method execution failed [\_SB_.PCI0.MDET] (Node
0xc16b2ba0), AE_AML_REGION_LIMIT
ACPI-1287: *** Error: Method execution failed [\_SB_.PCI0._CRS] (Node
0xc16b2ae0), AE_AML_REGION_LIMIT
ACPI-0175: *** Error: Method execution failed [\_SB_.PCI0._CRS] (Node
0xc16b2ae0), AE_AML_REGION_LIMIT
can't fetch resources for \_SB_.PCI0 - AE_AML_REGION_LIMIT
ACPI-1287: *** Error: Method execution failed [\_SB_.PCI0.MDET] (Node
0xc16b2ba0), AE_AML_REGION_LIMIT
ACPI-1287: *** Error: Method execution failed [\_SB_.MEM_._CRS] (Node
0xc16bd840), AE_AML_REGION_LIMIT
ACPI-0175: *** Error: Method execution failed [\_SB_.MEM_._CRS] (Node
0xc16bd840), AE_AML_REGION_LIMIT
can't fetch resources for \_SB_.MEM_ - AE_AML_REGION_LIMIT
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
device_probe_and_attach: acpi_cpu1 attach returned 6
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82845 host to AGP bridge> mem 0xe0000000-0xe3ffffff at device
0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib1: slot 0 INTA is routed to irq 16
pci1: <display, VGA> at device 0.0 (no driver attached)
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xd400-0xd41f irq 16
at device 29.0 on pci0
usb0: <Intel 82801DB (ICH4) 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 82801DB (ICH4) USB controller USB-B> port 0xd800-0xd81f irq 19
at device 29.1 on pci0
usb1: <Intel 82801DB (ICH4) 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 82801DB (ICH4) USB controller USB-C> port 0xdc00-0xdc1f irq 18
at device 29.2 on pci0
usb2: <Intel 82801DB (ICH4) 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
pci3: <ACPI PCI bus> on pcib2
pci3: <network, ethernet> at device 4.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port
0xfc00-0xfc0f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pci0: <multimedia, audio> at device 31.5 (no driver attached)
acpi_button1: <Sleep Button> on acpi0
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
fdc0: cmd 3 failed at out byte 1 of 3
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
acpi_cpu1: <CPU> on acpi0
device_probe_and_attach: acpi_cpu1 attach returned 6
fdc0: cmd 3 failed at out byte 1 of 3
orm0: <Option ROM> at iomem 0xc0000-0xca7ff on isa0
pmtimer0 on isa0
fdc0: cannot reserve I/O port range (6 ports)
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1804102416 Hz quality 800
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
GEOM: create disk ad0 dp=0xc2dcc460
ad0: 19546MB <FUJITSU MPG3204AT E> [39714/16/63] at ata0-master UDMA100
GEOM: create disk ad1 dp=0xc2dcc060
ad1: 38166MB <WDC WD400JB-00ENA0> [77545/16/63] at ata0-slave UDMA100
acd0: DVDROM <HL-DT-STDVD-ROM GDR8160B> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s3a
cd9660: RockRidge Extension
------------end------------------

when i run command pciconf, i also met such error:
Operation is not permitted

Please help me

________________________________________________
www.airland.kiev.ua - Airland Network eMail


More information about the freebsd-questions mailing list