Date: Fri, 4 Jan 2002 12:24:06 +0100 From: "Simon Strandgaard" <0bz63fz3m1qt3001@sneakemail.com> To: <freebsd-questions@freebsd.org> Subject: myson MTD803 driver does NOT work for me! Message-ID: <001801c19512$52747b80$1e10c450@opasia.dk>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_0014_01C1951A.B3E4F720 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0015_01C1951A.B3E4F720" ------=_NextPart_001_0015_01C1951A.B3E4F720 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Any help would be appriciated. 3 days ago i purchased a MTD803 NIC card. I run FreeBSD 4.4 stable. I obtained the newest freebsd4 drivers from their website = (www.myson.com.tw). I followed thier specified procedure:=20 1. Copy the source codes if_my.c and if_myreg.h to /sys/pci directory, #cp if_my.c /sys/pci #cp if_myreg.h /sys/pci 2. Modify /sys/conf/files, add the following line pci/if_my.c optional my 3. Modify /usr/src/sys/i386/conf/GENERIC, add the following line device my 4. Compile the kernel i configured the kernel with: ------------------------------------------------------------- device miibus ; MII bus support device my ; myson MTD803 device xl ; 3Com 3c90x (``Boomerang=B4=B4, ``Cyclone=B4=B4) ------------------------------------------------------------- During kernel startup there come no status on the myson card at all?? I hoped there would have shown up some kind of status info, at least an error. But nothing at all!! I have no clue what to do. Is there any other logs than dmesg.boot that can tell me what went = wrong? regards Simon Strandgaard ------=_NextPart_001_0015_01C1951A.B3E4F720 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#c8e0d8> <DIV><FONT face=3DArial size=3D2>Any help would be = appriciated.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>3 days ago i purchased a MTD803 NIC = card.<BR>I run=20 FreeBSD 4.4 stable.<BR>I obtained the newest freebsd4 drivers = from their=20 website (<A = href=3D"http://www.myson">www.myson</A>.com.tw).</FONT></DIV> <DIV><FONT face=3DArial size=3D2>I followed thier specified procedure: = </FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>1. Copy the source codes if_my.c and = if_myreg.h to=20 /sys/pci directory,</FONT></DIV> <DIV><FONT face=3DArial size=3D2>#cp if_my.c /sys/pci<BR>#cp if_myreg.h=20 /sys/pci</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>2. Modify /sys/conf/files, add the = following=20 line</FONT></DIV> <DIV><FONT face=3DArial = size=3D2>pci/if_my.c optional my</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>3. Modify = /usr/src/sys/i386/conf/GENERIC, add the=20 following line</FONT></DIV> <DIV><FONT face=3DArial size=3D2>device my</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>4. Compile the kernel</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>i configured the kernel=20 with:<BR>-------------------------------------------------------------<BR= >device miibus ;=20 MII bus support<BR>device my ; myson=20 MTD803<BR>device xl ; 3Com 3c90x=20 (``Boomerang=B4=B4,=20 ``Cyclone=B4=B4)<BR>-----------------------------------------------------= --------</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>During kernel startup there come no = status on the=20 myson card at all??<BR>I hoped there would have shown up some kind = of=20 status info,</FONT></DIV> <DIV><FONT face=3DArial size=3D2>at least an error. But nothing at=20 all!!</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I have no clue what to do.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Is there any other logs than dmesg.boot = that can=20 tell me what went wrong?</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>regards<BR>Simon=20 Strandgaard</FONT></DIV></BODY></HTML> ------=_NextPart_001_0015_01C1951A.B3E4F720-- ------=_NextPart_000_0014_01C1951A.B3E4F720 Content-Type: application/octet-stream; name="uname_a" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="uname_a" FreeBSD neoneye.opasia.dk 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Fri Jan 4 = 00:53:30 CET 2002 = root@neoneye.opasia.dk:/usr/src/sys/compile/MYKERNEL3 i386=0A= ------=_NextPart_000_0014_01C1951A.B3E4F720 Content-Type: application/octet-stream; name="MYKERNEL3" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="MYKERNEL3" # Simon Strandgaards FreeBSD Kernel=0A= # 03-Jan-2002=0A= #=0A= # haandtere 2 samtidige netkort: 3com-3c90x, myson-MTD803 =0A= # bridge/firewall/nat=0A= # dhcp server=0A= # diverse sikkerheds foranstaltninger mod hackere=0A= # 64Mb ram=0A= #=0A= =0A= machine i386=0A= cpu I586_CPU=0A= ident MYKERNEL3 =0A= maxusers 32=0A= =0A= #makeoptions DEBUG=3D-g #Build kernel with gdb(1) debug symbols=0A= =0A= #options MATH_EMULATE #Support for x87 emulation=0A= options INET #InterNETworking=0A= options INET6 #IPv6 communications protocols=0A= options FFS #Berkeley Fast Filesystem=0A= options FFS_ROOT #FFS usable as root device [keep this!]=0A= options SOFTUPDATES #Enable FFS soft updates support=0A= options MFS #Memory Filesystem=0A= options MD_ROOT #MD is a potential root device=0A= #options NFS #Network Filesystem=0A= #options NFS_ROOT #NFS usable as root device, NFS required=0A= options MSDOSFS #MSDOS Filesystem=0A= options CD9660 #ISO 9660 Filesystem=0A= options CD9660_ROOT #CD-ROM usable as root, CD9660 required=0A= options PROCFS #Process filesystem=0A= options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]=0A= options SCSI_DELAY=3D15000 #Delay (in ms) before probing SCSI=0A= options UCONSOLE #Allow users to grab the console=0A= options USERCONFIG #boot -c editor=0A= options VISUAL_USERCONFIG #visual boot -c editor=0A= options KTRACE #ktrace(1) support=0A= options SYSVSHM #SYSV-style shared memory=0A= options SYSVMSG #SYSV-style message queues=0A= options SYSVSEM #SYSV-style semaphores=0A= options P1003_1B #Posix P1003_1B real-time extensions=0A= options _KPOSIX_PRIORITY_SCHEDULING=0A= options ICMP_BANDLIM #Rate limit bad replies=0A= options KBD_INSTALL_CDEV # install a CDEV entry in /dev=0A= =0A= device isa=0A= device eisa=0A= device pci=0A= =0A= # Floppy drives=0A= device fdc0 at isa? port IO_FD1 irq 6 drq 2=0A= device fd0 at fdc0 drive 0=0A= device fd1 at fdc0 drive 1=0A= =0A= # ATA and ATAPI devices=0A= #device ata0 at isa? port IO_WD1 irq 14=0A= #device ata1 at isa? port IO_WD2 irq 15=0A= device ata=0A= device atadisk # ATA disk drives=0A= device atapicd # ATAPI CDROM drives=0A= #device atapifd # ATAPI floppy drives=0A= #device atapist # ATAPI tape drives=0A= options ATA_STATIC_ID #Static device numbering=0A= =0A= # atkbdc0 controls both the keyboard and the PS/2 mouse=0A= device atkbdc0 at isa? port IO_KBD=0A= device atkbd0 at atkbdc? irq 1 flags 0x1=0A= device psm0 at atkbdc? irq 12=0A= =0A= device vga0 at isa?=0A= =0A= # splash screen/screen saver=0A= pseudo-device splash=0A= =0A= # syscons is the default console driver, resembling an SCO console=0A= device sc0 at isa? flags 0x100=0A= =0A= # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver=0A= #device vt0 at isa?=0A= #options XSERVER # support for X server on a vt console=0A= #options FAT_CURSOR # start with block cursor=0A= # If you have a ThinkPAD, uncomment this along with the rest of the PCVT = lines=0A= #options PCVT_SCANSET=3D2 # IBM keyboards are non-std=0A= =0A= # Floating point support - do not disable.=0A= device npx0 at nexus? port IO_NPX irq 13=0A= =0A= # Power management support (see LINT for more options)=0A= #device apm0 at nexus? disable flags 0x20 # Advanced Power Management=0A= =0A= # Serial (COM) ports=0A= device sio0 at isa? port IO_COM1 flags 0x10 irq 4=0A= device sio1 at isa? port IO_COM2 irq 3=0A= #device sio2 at isa? disable port IO_COM3 irq 5=0A= #device sio3 at isa? disable port IO_COM4 irq 9=0A= =0A= # Parallel port=0A= #device ppc0 at isa? irq 7=0A= #device ppbus # Parallel port bus (required)=0A= #device lpt # Printer=0A= #device plip # TCP/IP over parallel=0A= #device ppi # Parallel port interface device=0A= #device vpo # Requires scbus and da=0A= =0A= # PCI Ethernet NICs that use the common MII bus controller code.=0A= # NOTE: Be sure to keep the 'device miibus' line in order to use these = NICs!=0A= device miibus # MII bus support=0A= device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')=0A= device my # myson-MTD803 (``Safeway lancard'')=0A= =0A= # Pseudo devices - the number indicates how many units to allocate.=0A= pseudo-device loop # Network loopback=0A= pseudo-device ether # Ethernet support=0A= #pseudo-device sl 1 # Kernel SLIP=0A= #pseudo-device ppp 1 # Kernel PPP=0A= #pseudo-device tun # Packet tunnel.=0A= pseudo-device pty # Pseudo-ttys (telnet etc)=0A= pseudo-device md # Memory "disks"=0A= pseudo-device gif # IPv6 and IPv4 tunneling=0A= pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation)=0A= =0A= # The `bpf' pseudo-device enables the Berkeley Packet Filter.=0A= # Be aware of the administrative consequences of enabling this!=0A= pseudo-device bpf #Berkeley packet filter (DHCP)=0A= =0A= =0A= # firewall/gateway=0A= options BRIDGE=0A= options IPFIREWALL=0A= options IPFIREWALL_VERBOSE=0A= options IPFIREWALL_VERBOSE_LIMIT=3D100=0A= options IPDIVERT=0A= =0A= # security=0A= options IPSTEALTH=0A= options RANDOM_IP_ID=0A= options ICMP_BANDLIM=0A= =0A= # memory=0A= #options MAXMEM=3D65152000 # 96Mbytes todo: fix size=0A= =0A= =0A= =0A= ------=_NextPart_000_0014_01C1951A.B3E4F720 Content-Type: application/octet-stream; name="dmesg.boot" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="dmesg.boot" Copyright (c) 1992-2001 The FreeBSD Project.=0A= Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994=0A= The Regents of the University of California. All rights reserved.=0A= FreeBSD 4.4-RELEASE #0: Fri Jan 4 00:53:30 CET 2002=0A= root@neoneye.opasia.dk:/usr/src/sys/compile/MYKERNEL3=0A= Timecounter "i8254" frequency 1193182 Hz=0A= Timecounter "TSC" frequency 132955079 Hz=0A= CPU: Pentium/P54C (132.96-MHz 586-class CPU)=0A= Origin =3D "GenuineIntel" Id =3D 0x52c Stepping =3D 12=0A= Features=3D0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>=0A= real memory =3D 67108864 (65536K bytes)=0A= avail memory =3D 62504960 (61040K bytes)=0A= Preloaded elf kernel "kernel" at 0xc02d1000.=0A= Intel Pentium detected, installing workaround for F00F bug=0A= md0: Malloc disk=0A= npx0: <math processor> on motherboard=0A= npx0: INT 16 interface=0A= pcib0: <Host to PCI bridge> on motherboard=0A= pci0: <PCI bus> on pcib0=0A= isab0: <Intel 82371SB PCI to ISA bridge> at device 7.0 on pci0=0A= isa0: <ISA bus> on isab0=0A= atapci0: <Intel PIIX3 ATA controller> port 0xffa0-0xffaf at device 7.1 = on pci0=0A= ata0: at 0x1f0 irq 14 on atapci0=0A= ata1: at 0x170 irq 15 on atapci0=0A= xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xee80-0xeebf irq 10 at = device 8.0 on pci0=0A= xl0: Ethernet address: 00:10:4b:3e:80:0c=0A= miibus0: <MII bus> on xl0=0A= nsphy0: <DP83840 10/100 media interface> on miibus0=0A= nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto=0A= pci0: <unknown card> (vendor=3D0x1516, dev=3D0x0803) at 9.0 irq 11=0A= pci0: <Cirrus Logic GD5446 SVGA controller> at 10.0=0A= orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xf4000-0xf4fff on isa0=0A= fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0=0A= fdc0: FIFO enabled, 8 bytes threshold=0A= fd0: <1440-KB 3.5" drive> on fdc0 drive 0=0A= atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0=0A= atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0=0A= kbd0 at atkbd0=0A= vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0=0A= sc0: <System console> at flags 0x100 on isa0=0A= sc0: VGA <16 virtual consoles, flags=3D0x300>=0A= sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0=0A= sio0: type 16550A=0A= sio1 at port 0x2f8-0x2ff irq 3 on isa0=0A= sio1: type 16550A=0A= IP packet filtering initialized, divert enabled, rule-based forwarding = disabled, default to deny, logging limited to 100 packets/entry by = default=0A= BRIDGE 010131, have 3 interfaces=0A= -- index 1 type 6 phy 0 addrl 6 addr 00.10.4b.3e.80.0c=0A= ad0: 1549MB <WDC AC31600H> [3148/16/63] at ata0-master WDMA2=0A= Mounting root from ufs:/dev/ad0s1a=0A= ------=_NextPart_000_0014_01C1951A.B3E4F720-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001801c19512$52747b80$1e10c450>