Re: Ax88172 vs FreeBSD USB stack
In article <[EMAIL PROTECTED]>, Bill Paul <[EMAIL PROTECTED]> writes > >So. I picked up a Linksys USB200M USB 2.0 ethernet adapter that uses >the ASIX Electronics AX88172 chip, and I started cobbling together a >driver. This chip uses a series of vendor specific commands to do >things like read/write the MII management interface on the MAC, >read/write the SROM, set the RX filter, multicast hash table, etc. >I can do all this no problem. The Linksys NIC uses a RealTek 8201L >PHY, and I can attach it and negotiate a link. I have a Netgear FA120, also following ASIX's 'demonstration design', (i.e. reference design), of AX88172 and Realtek 8201L phy. I've not tried it with FreeBSD yet, but I had in mind to use NetBSD's uax driver for the AX88172 as the starting point! uax man page: http://netbsd.gw.com/cgi-bin/man-cgi/man?uax+4+NetBSD-current Netbsd cvs web: http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/usb/if_uax.c Hope this helps! Tony ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
hi
___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Ax88172 vs FreeBSD USB stack
Ok, I figured it out. Turns out the AX88172 only has one interface after all, in spite of what the manual says. Maybe the info about the second interface was a holdover from the AX88170 datasheet which they forgot to expunge. Or maybe ASIX is on crack. Anyway, I discovered I was doing two things wrong: 1) The RX control register has to be set correctly to enable the RX filter on the MAC. The AX88172 datasheet doesn't tell you what the bits in the RX control byte mean. The AX88170 datasheet does, but only documents bits 0 through 4. It forgets to mention that you must also turn on bit 7. If you don't set this bit, you don't receive any packets. 2) For transmission, you must initialize the three inter-packet gap (IPG) registers correctly. They are unset by default, and until they are set, the MAC won't send any frames. Now that I fixed these two things, the driver works. In fact, I'm using it to type this e-mail right now. :) I uploaded a copy to: http://www.freebsd.org/~wpaul/ASIX/USB All it really needs is for me to fix the multicast filtering. Right now, it defaults to all multicast mode. I need to fill in the axe_setmulti() function so that it sets up the hash table correctly. I think I also need to fix promisc mode. This code is for 5.0-RELEASE or better. -Bill -- = -Bill Paul(510) 749-2329 | Senior Engineer, Master of Unix-Fu [EMAIL PROTECTED] | Wind River Systems = "If stupidity were a handicap, you'd have the best parking spot." = ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
[PATCH] linux shm semantic patch + vmware3.2.0 modules
Hi all, working to make vmware 3.2.0 run on freebsd I found that the Linux shm emulation semantic was wrong, I did a small patch with a description file which is available with the vmware 3.2.0 modules at http://mad.ieo-research.it/. If you're going to use vmware 3.2.0, you will need to patch the kernel with this patch; VMware will complain about querying bridge status, but the network will work anyway. The modules have been tested on a UP system only. Best regards, Orlando. -- Orlando Bassotto European Institute of Oncology [EMAIL PROTECTED] Dept. Experimental Oncology Via Ripamonti, 435 - 20141 Milano (Italy) Phone# +39-02-57489-865/857 - Fax# +39-02-57489-851 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Making pkg_XXX tools smarter about file types...
Brandon D. Valentine wrote: On Fri, Mar 28, 2003 at 10:47:43PM -0800, Tim Kientzle wrote: P.S. It's galled me for a while that pkg_add has to fork 'tar' to extract the archive. I've started piecing together a library that reads/writes tarfiles. FYI, libtar[0] is BSD-licensed and might be useful to such a project. [0] - http://www-dev.cites.uiuc.edu/libtar/ Thanks for the pointer. I took a look, and there are some good ideas there, although my current libtarfile work has a few features that libtar lacks. Cribbing from libtar could be useful, though. (I'm also using John Gilmore's old PD tar as a source of ideas.) Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD Installation Problems
By the way, I am now installing FreeBSD version 4.7 not version 5.0 any longer. When I try installing it using the Floppy disk method it gives me a different type of error message. This time it gives me an error message like, "unable to transfer the bin distribution from fd0 Do you want to try to retrieve it again? Yes No " If I press yes it keeps on showing the same error message "unable to transfer the bin distribution from fd0 Do you want to try to retrieve it again? Yes No ". If I press No it gives me another message like, "unable to save boot -c changes to new kernel, please see the debug screen (ALT -F2) for details. Then finally it gives me another message like "MAKEDEV returned non - zero status. " can anyone help concerning this problem. Do I need to custom my the kernel first before setting anything up, because I did went pass the kernel configuration stage, I did not do any kernel configuration or custom configuration on kernel but passed it. Thanks, bye... Sukhbinder Singh" <[EMAIL PROTECTED]> wrote: > > > First, I made the 2 image floppy disk for the 2 image files by > >downloading them from ftp.freebsd.org. These 2 files are kern.flp and > >msfroot.flp. I also downloaded and made an image disk for drvivers.flp just > >to download the drivers at the installation process. > > Sounds like you are trying to install the 5.0 version. I would advise > anyone who is fairly new to FreeBSD to try 4.7 instead. You would need > to obtain the 4.7 images for kern.flp and mfsroot.flp. There is no > driver.flp for 4.7. > > > > >I have 2 MB of my hard disk space devoted to FreeBSD. > > 2MB isn't enough! I presume you meant 2GB :) > > > > >Then in the next screen I get another window > >with a request message like "Do you want to try DHCP configuration at the > >Interface ? Yes No ". I selected No and proceeded to the next level of the > >installation process. In this next level, I get a big screen called the > >"Network Configuration" window to proceed with my ftp. I think or suspect > >this is where the problem is. This window has 7 fields which it requires > me > >to enter. These 7 fields are host, domain, ipv4 gateway, name server, IPv4 > >address netmask :, extra option to ifconfig. I do not know any information > >regarding any of the fields. If I leave all of these fields empty, the > >installation program prompts me with an error message like "must specify a > >host name of some sort !" Then I just entered a host name for the host, > >like foo.com and pressed enter to proceed all the way through the 7 fields > >to the OK button. > > You definitely need some more entries there. Choose something that you > would not find on the net for domain. I use the rather boring my.domain > and the hostname can be any word you like. > > You must insert a valid IP in the Name Server (DNS) field. If you usually > use Microsoft Windows to connect to your ISP, you should be able to see > the Name Server address by using winipcfg while connected. Or you may be > able to find this from your ISP's www help pages, or contact their Tech. > Support as a last resort. > > Without a Name Server the installation won't be able to convert a name > like ftp.freebsd.org into a number (62.243.72.50). And therefore will > not be able to connect. > > It would probably help to put an entry in the interface netmask field. > 255.255.255.0 should be ok. > > > > >It fails to download freebsd automatically from the freebsd ftp site like > >it should. Any help will be helpful. > > I hope this is helpful. > > Good luck. > John. > > > I did what you asked me to do. This time I had a little bit of progress but > still I got a differen error message. I used the windows command winipcfg > command to get the DNS information. As I indicated in my previous mail there > are 6 fields in the windows in the "Network Configuration" window where > these 6 fields are host, domain, ipv4 gateway, name server, IPv4 address > netmask : , extra option to ifconfig. > > The hostname I typed as :- foo > The domain name as you indicated in your mail that you used my.domain I also > used my.domain > The netmask automatically chaged to :- 255.255.255.0 > The name server address or the DNS address after checking using winipcfg > was: 202.188.0.133 but when I use the arp command it gives me a different > address instead. It gives me 202.188.0.132 instead. The ipv4 gateway > information is blank with no information on this. The IPv4 information is > also left blank with no information and the extra option to ifconfig is > also left blank with no information. I chose to download using FTP. after > keying in all the information like the login name, password and the > telephone number for my ISP, I tried connecting, I got an error message like > " Cannot resolve hostname 'ftp.freebsd.org' ! Are you sure that your name se > rver, gateway and network interface are correctly configured ?" then I > pressed enter after this I got another message
Re: FreeBSD Installation Problems
- Original Message - From: John Murphy <[EMAIL PROTECTED]> To: Sukhbinder Singh <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, March 27, 2003 10:22 PM Subject: Re: FreeBSD Installation Problems "Sukhbinder Singh" <[EMAIL PROTECTED]> wrote: > First, I made the 2 image floppy disk for the 2 image files by >downloading them from ftp.freebsd.org. These 2 files are kern.flp and >msfroot.flp. I also downloaded and made an image disk for drvivers.flp just >to download the drivers at the installation process. Sounds like you are trying to install the 5.0 version. I would advise anyone who is fairly new to FreeBSD to try 4.7 instead. You would need to obtain the 4.7 images for kern.flp and mfsroot.flp. There is no driver.flp for 4.7. >I have 2 MB of my hard disk space devoted to FreeBSD. 2MB isn't enough! I presume you meant 2GB :) >Then in the next screen I get another window >with a request message like "Do you want to try DHCP configuration at the >Interface ? Yes No ". I selected No and proceeded to the next level of the >installation process. In this next level, I get a big screen called the >"Network Configuration" window to proceed with my ftp. I think or suspect >this is where the problem is. This window has 7 fields which it requires me >to enter. These 7 fields are host, domain, ipv4 gateway, name server, IPv4 >address netmask :, extra option to ifconfig. I do not know any information >regarding any of the fields. If I leave all of these fields empty, the >installation program prompts me with an error message like "must specify a >host name of some sort !" Then I just entered a host name for the host, >like foo.com and pressed enter to proceed all the way through the 7 fields >to the OK button. You definitely need some more entries there. Choose something that you would not find on the net for domain. I use the rather boring my.domain and the hostname can be any word you like. You must insert a valid IP in the Name Server (DNS) field. If you usually use Microsoft Windows to connect to your ISP, you should be able to see the Name Server address by using winipcfg while connected. Or you may be able to find this from your ISP's www help pages, or contact their Tech. Support as a last resort. Without a Name Server the installation won't be able to convert a name like ftp.freebsd.org into a number (62.243.72.50). And therefore will not be able to connect. It would probably help to put an entry in the interface netmask field. 255.255.255.0 should be ok. >It fails to download freebsd automatically from the freebsd ftp site like >it should. Any help will be helpful. I hope this is helpful. Good luck. John. I did what you asked me to do. This time I had a little bit of progress but still I got a differen error message. I used the windows command winipcfg command to get the DNS information. As I indicated in my previous mail there are 6 fields in the windows in the "Network Configuration" window where these 6 fields are host, domain, ipv4 gateway, name server, IPv4 address netmask : , extra option to ifconfig. The hostname I typed as :- foo The domain name as you indicated in your mail that you used my.domain I also used my.domain The netmask automatically chaged to :- 255.255.255.0 The name server address or the DNS address after checking using winipcfg was: 202.188.0.133 but when I use the arp command it gives me a different address instead. It gives me 202.188.0.132 instead. The ipv4 gateway information is blank with no information on this. The IPv4 information is also left blank with no information and the extra option to ifconfig is also left blank with no information. I chose to download using FTP. after keying in all the information like the login name, password and the telephone number for my ISP, I tried connecting, I got an error message like " Cannot resolve hostname 'ftp.freebsd.org' ! Are you sure that your name se rver, gateway and network interface are correctly configured ?" then I pressed enter after this I got another message like "Killing previous PPP process 34". Can anyone help regarding this problem. Any help will be helpful. thanks, sukh ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD Installation Problems
Sukhbinder Singh wrote: By the way, I am now installing FreeBSD version 4.7 not version 5.0 any longer. When I try installing it using the Floppy disk method it gives me a different type of error message. This time it gives me an error message like, "unable to transfer the bin distribution from fd0 Do you want to try to retrieve it again? Yes No " If I press yes it keeps on showing the same error message "unable to transfer the bin distribution from fd0 Do you want to try to retrieve it again? Yes No ". If I press No it gives me another message like, "unable to save boot -c changes to new kernel, please see the debug screen (ALT -F2) for details. Then finally it gives me another message like "MAKEDEV returned non - zero status. " can anyone help concerning this problem. Do I need to custom my the kernel first before setting anything up, because I did went pass the kernel configuration stage, I did not do any kernel configuration or custom configuration on kernel but passed it. The last time I did a floppy install (about 3 years ago) I had to scrap every third disk as bad. It's very likely that the particular disk you're trying to use is bad. That "unable to transfer xxx distribution" seems to happen the most often with bad media (i.e. disks/cds or bad disk/cd drive) I would check there first. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"