From owner-freebsd-questions Fri Jan 4 3:15:32 2002 Delivered-To: freebsd-questions@freebsd.org Received: from fepD.post.tele.dk (fepD.post.tele.dk [195.41.46.149]) by hub.freebsd.org (Postfix) with ESMTP id F217837B41B for ; Fri, 4 Jan 2002 03:15:15 -0800 (PST) Received: from p350 ([80.196.16.30]) by fepD.post.tele.dk (InterMail vM.4.01.03.23 201-229-121-123-20010418) with SMTP id <20020104111512.NHBY16766.fepD.post.tele.dk@p350> for ; Fri, 4 Jan 2002 12:15:12 +0100 Message-ID: <001801c19512$52747b80$1e10c450@opasia.dk> From: "Simon Strandgaard" <0bz63fz3m1qt3001@sneakemail.com> To: Subject: myson MTD803 driver does NOT work for me! Date: Fri, 4 Jan 2002 12:24:06 +0100 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0014_01C1951A.B3E4F720" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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
Any help would be = appriciated.
 
3 days ago i purchased a MTD803 NIC = card.
I run=20 FreeBSD 4.4 stable.
I obtained the newest freebsd4 drivers = from their=20 website (www.myson.com.tw).
I followed thier specified procedure: =
 
1. Copy the source codes if_my.c and = if_myreg.h to=20 /sys/pci directory,
#cp if_my.c /sys/pci
#cp if_myreg.h=20 /sys/pci
 
2. Modify /sys/conf/files, add the = following=20 line
pci/if_my.c optional my
 
3. Modify = /usr/src/sys/i386/conf/GENERIC, add the=20 following line
device my
 
4. Compile the kernel
 
i configured the kernel=20 with:
-------------------------------------------------------------device  miibus   ;=20 MII bus support
device  my    ; myson=20 MTD803
device  xl    ; 3Com 3c90x=20 (``Boomerang=B4=B4,=20 ``Cyclone=B4=B4)
-----------------------------------------------------= --------
 
During kernel startup there come no = status on the=20 myson card at all??
I hoped there would have shown up some kind = of=20 status info,
at least an error. But nothing at=20 all!!
 
I have no clue what to do.
Is there any other logs than dmesg.boot = that can=20 tell me what went wrong?
 
regards
Simon=20 Strandgaard
------=_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=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: on motherboard=0A= npx0: INT 16 interface=0A= pcib0: on motherboard=0A= pci0: on pcib0=0A= isab0: at device 7.0 on pci0=0A= isa0: on isab0=0A= atapci0: 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: on xl0=0A= nsphy0: on miibus0=0A= nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto=0A= pci0: (vendor=3D0x1516, dev=3D0x0803) at 9.0 irq 11=0A= pci0: at 10.0=0A= orm0: