problem with MySon Ethernet Nics

GiTi qaz at airland.kiev.ua
Sat Mar 20 05:42:00 PST 2004


> > yes, my Nic has own driver but ... only for Freebsd 2.x and 3.x. And
this is
> > its instruction
>
> Ok, so there are sources, but the driver structure from 4.x and 5.x
> differs a lot from 3.x, so they cannot work.
>
> > pcib2:  at device 30.0 on pci0
> > pci3:  on pcib2
> > pci3:  at device 4.0 (no driver attached)
>
> ok, these were the lines that were important.
>
> >
> > when i run command pciconf, i also met such error:
> > Operation is not permitted
>
> Probably you weren't root, pciconf -lv needs root riviliges.
>
>
> With a 4.9-stable, it looks like this:
>
> pris 14:03 >pciconf -lv
> pciconf: /dev/pci: Permission denied
> pris 14:03 >su -
> Password:
> pris# pciconf -lv
>
> pcib1 at pci0:1:0: class=0x060400 card=0x00000000 chip=0x1a318086 rev=0x04
> hdr=0x01
>     vendor   = 'Intel Corporation'
>     device   = '82845/E/MP/MZ Brookdale CPU to AGP Bridge'
>     class    = bridge
>     subclass = PCI-PCI
>
>
> In the case above, the entries of:
> pcib2 and pci3  are important, could you post them?
>
> Also please post a uname -a string of your system.

Olaf Hoyer, thank you again

i knows Nic's driver is for 2.x and 3.x, i have compiled its driver because
i can not probe it

i was root when using pciconf. I was confused and ... And I have just
reinstall my freebsd 5.2, now i can run pciconf
And this is the result:
-------begin-----------
agp0 at pci0:0:0:  class=0x060000 card=0x00000000 chip=0x1a308086 rev=0x11
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82845/E/MP/MZ Brookdale CPU to I/O Bridge'
class    = bridge
subclass = HOST-PCI
pcib1 at pci0:1:0: class=0x060400 card=0x00000000 chip=0x1a318086 rev=0x11
hdr=0x01
vendor   = 'Intel Corporation'
device   = '82845/E/MP/MZ Brookdale CPU to AGP Bridge'
class    = bridge
subclass = PCI-PCI
uhci0 at pci0:29:0:        class=0x0c0300 card=0x56611462 chip=0x24c28086
rev=0x02
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB/DBM (ICH4/M) USB UHCI Controller #1'
class    = serial bus
subclass = USB
uhci1 at pci0:29:1:        class=0x0c0300 card=0x56611462 chip=0x24c48086
rev=0x02
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB/DBM (ICH4/M) USB UHCI Controller #2'
class    = serial bus
subclass = USB
uhci2 at pci0:29:2:        class=0x0c0300 card=0x56611462 chip=0x24c78086
rev=0x02
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB/DBM (ICH4/M) USB UHCI Controller #3'
class    = serial bus
subclass = USB
none0 at pci0:29:7:        class=0x0c0320 card=0x39801462 chip=0x24cd8086
rev=0x02
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB/DBM (ICH4/M) USB EHCI Controller'
class    = serial bus
subclass = USB
pcib2 at pci0:30:0:        class=0x060400 card=0x00000000 chip=0x244e8086
rev=0x82
hdr=0x01
vendor   = 'Intel Corporation'
device   = '82801BA/CA/DB/EB/ER (ICH2/3/4/5/5R) Hub Interface to PCI Bridge'
class    = bridge
subclass = PCI-PCI
isab0 at pci0:31:0:        class=0x060100 card=0x00000000 chip=0x24c08086
rev=0x02
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB (ICH4) LPC Interface Bridge'
class    = bridge
subclass = PCI-ISA
atapci0 at pci0:31:1:      class=0x01018a card=0x56611462 chip=0x24cb8086
rev=0x02
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB (ICH4) UltraATA/100 EIDE Controller'
class    = mass storage
subclass = ATA
none1 at pci0:31:3:        class=0x0c0500 card=0x56611462 chip=0x24c38086
rev=0x02
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB/DBM (ICH4/M) SMBus Controller'
class    = serial bus
subclass = SMBus
none2 at pci0:31:5:        class=0x040100 card=0x56611462 chip=0x24c58086
rev=0x02
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB/DBM (ICH4/M) AC'97 Audio Controller'
class    = multimedia
subclass = audio
none3 at pci1:0:0: class=0x030000 card=0x000510de chip=0x002810de rev=0x15
hdr=0x00
vendor   = 'NVIDIA Corporation'
device   = 'NV5 TNT2 / TNT2 Pro'
class    = display
subclass = VGA
none4 at pci3:4:0: class=0x020000 card=0x132010bd chip=0x08031516 rev=0x00
hdr=0x00
vendor   = 'Myson Technology Inc'
device   = '803 series PCI Ethernet controller'
class    = network
subclass = ethernet
------------end-----------
afterthat i run
# ifconfig -a
-----begin-----------
plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
--------end------
I will post the uname -a string of system if needed but it looks like :
FreeBSd 5.2 ... i386 ... GENERIC
I have not rebuilt my kernel yet.
any suggestions? Thanks in advanced


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


More information about the freebsd-questions mailing list