From: Kenji Arisawa Date: Thu, 2 Jul 98 09:09:13 GMT To: 9fans@cse.psu.edu Subject: [9fans] 100base ether card Reply-To: arisawa@aichi-u.ac.jp Sender: owner-9fans@cse.psu.edu Reply-To: 9fans Hello 9fans! Does anyone use 100-base ether cards? I would like to buy the cards for my plan9 system. Please advise me. Kenji Arisawa E-mail: arisawa@aichi-u.ac.jp Date: Thu, 2 Jul 1998 11:54:17 -0400 To: 9fans@cse.psu.edu From: "jim mckie" Subject: re: [9fans] 100base ether card Sender: owner-9fans@cse.psu.edu Reply-To: 9fans We have used a mixture of 100BASE-X cards with Brazil using the following chips: 3COM 3C595, 3905, 3C905B Intel 82557/8 EtherExpress PRO/100B Allied Telesyn 2560FX Digital 21140 Fast EtherWORKS PCI 10/100 adapter (DE-500-X) Accton EN1207-COM Adaptec (Cogent) ANA-6910FX SMC 9332 I also have, but untried as yet 3COM 3C572 (EISA) Digital 21140 Netgear FA-310TX 10/100 PCI Kingston ENET PCI 10/100 The Netgear costs ~$30, the Kingston ~$40. All of the tried cards work fine. Third-party cards based on the 21140 sometimes require more tweaking than they should to get the link established and I'll be working on that in the near future. As to drivers, I gave copies of Brazil drivers for these cards to a couple of people on the mailing list early this year (maybe even last year) on the understanding that the backported Plan9 drivers would be made available, but I haven't heard anything back. --jim Date: Fri, 03 Jul 1998 11:06:08 -0300 From: Franklin <973930@dcc.unicamp.br> X-Mailer: Mozilla 4.04 [en] (WinNT; I) To: 9fans@cse.psu.edu Subject: [9fans] Problems Installing Plan 9 Sender: owner-9fans@cse.psu.edu Reply-To: 9fans 1. I have a PC Pentium 90 MHz with the following hard disk configurations: hd0: 0 *TYPE: FAT(HUGE) LBA: 63 ----> 524159 1 TYPE: EXTENDED LBA: 524160 ----> 1040255 2 TYPE: HPFS LBA: 524223 ----> 1040255 3 TYPE: LINUX(SWAP) LBA: 1040256 ----> 1104767 4 TYPE: LINUX LBA: 1104768 ----> 2128895 hd1: 0 TYPE: EXTENDED LBA: 8064 ----> 6273791 1 TYPE: HPFS LBA: 8127 ----> 2104703 2 TYPE: EXTENDED LBA: 2104704 ----> 4201343 3 *TYPE: FAT(HUGE) LBA: 2104767 ----> 4201343 4 TYPE: EMPTY LBA: 4201344 ----> 6281854 I have installed Plan 9 (CD version) in the hd1 disk on april/98 without problems. Since then, I have tried to re-install the Plan 9 in this PC and I always get the same error messages (with the directory plan9 both on hd0 and hd1 disk): Problem Acessing File File: /n/c/plan9 Errstr: permission denied Press almost any key to continue Problem Acessing File File: /n/c/plan9/rc/bin/cpurc Errstr: file does not exist Press almost any key to continue Problem Acessing File File: /n/c/plan9/lib/namespace Errstr: file does not exist Press almost any key to continue Inspecting the file /sys/lib/pcdist/src/inst.c, I concluded that the error ocurrs in the rcp() function in the following point: if(dirstat(todir, &b)< 0){ scroll(todir); fd=create(todir, OREAD, CHDIR+0777L); if(fd<0){ warn(todir); /* HERE ERROR MESSAGE */ return; } close(fd); The rcp() function is invoked from the install() function. I changed, in the library function create(todir, OREAD, CHDIR+0777L), the omode flag from OREAD to OWRITE and the same error continues: Permission denied. It looks like I don't have permission to write(or create) the "plan9" directory in the disk. But the disc isn't protected against writing, because from the DOS prompt I can create files and diretories. 2. I installed Plan 9 (CD version) in a PC with a network board (type=NE2000) for ISA bus. I installed Plan 9 sucessfully, but at boot time, I get the following message: ipconfig: can't write bootp 'interrupted', hope that's OK. ipconfig: setip 143.106.23.196 255.255.255.192 ipconfig: add 0.0.0.0 0.0.0.0 143.106.23.193 And I could not communicate with others machines (via telnet,ftpfs etc). I tried this with several ISA network boards and I always got the same error message. Then I replaced the ISA network board with a PCI network board and it works fine. Doesn't Plan 9 work with vanilla ISA network cards ( these are 3 year old cards)? The error ocurrs in the /sys/src/cmd/ip/ipconfig.c file, bootp() function: for(rp=0; rp==0 && tries++ < 10;){ alarm(1000); if(write(fd, &req, sizeof(req))<0){ fprint(2, "ipconfig:can't write bootp'%r', hope that's OK\n"); close(fd); return -1; } 3. I installed the Plan 9 as a terminal (option 2: Install CD-ROM to local drive) in a SCSI PC and it works. But, in the same PC, when I try to install a file server (Starting up the file server after the Option: Make a PC file server boot disk), I get the following message: Configuration: config: service ares config: ip 143.106.23.196 config: ipgw 143.106.23.193 config: ipmask 255.255.255.192 (already try 255.255.0.0) config: config w0 config: filsys main w0 config: ream main config: end Message that I get: sysinit config w0 devinit D6.0.0.0 The system then halts and the floppy drive led stays lighted. I have the following configuration in the /lib/ndb/local file: dom=dcc.unicamp.br ip=143.106.7.8 sys=ares dom=ares.dcc.unicamp.br ip=143.106.23.196 ether=0000214bb1dd ipnet=ic-unicamp-net ip=143.106.0.0 ipmask=255.255.255.192 ipgw=143.106.23.193 And the following configuration in the ipifc and iproute files: /'#P'/ipifc: #10 1500 143.106.23.195 255.255.255.192 143.106.23.192 /'#P'/iproute 0.0.0.0 & 0.0.0.0 ----> 143.106.23.193 SCSI0: aha1542 sd0: 0 *TYPE: FAT(HUGE) LBA: 32 ----> 409599 1 TYPE: EMPTY LBA: 409600 ----> 2110811 What did we miss? Any suggestions? Franklin From: forsyth@caldo.demon.co.uk To: 9fans@cse.psu.edu Date: Fri, 3 Jul 1998 18:49:05 BST Subject: Re: [9fans] Problems Installing Plan 9 Sender: owner-9fans@cse.psu.edu Reply-To: 9fans you don't say what type of SCSI adapter is used in the file server machine but i'd suspect that the file server kernel's driver isn't happy with it. if it's an Adaptec 1542 it might be recent enough that the file server kernel needs some of the changes (now) in the pc/cpu kernel driver that set it up correctly. Date: Fri, 3 Jul 1998 12:28:13 -0700 From: Eric Dorman To: 9fans@cse.psu.edu Subject: Re: [9fans] 100base ether card X-Mailer: Mutt 0.91 In-Reply-To: <9807020909.AA12418@ken.aichi-u.ac.jp>; from Kenji Arisawa on Thu, Jul 02, 1998 at 09:09:13AM +0000 Sender: owner-9fans@cse.psu.edu Reply-To: 9fans On Thu, Jul 02, 1998 at 09:09:13AM +0000, Kenji Arisawa wrote: > Hello 9fans! > Does anyone use 100-base ether cards? > I would like to buy the cards for my plan9 system. > Please advise me. > Kenji Arisawa > E-mail: arisawa@aichi-u.ac.jp Hello, I've done some of the work in getting a dec 21140-based card to work, a Linksys LNE100TX (sadly NLA) though the BayNetworks Netgear FA310TX is also based on this chip. The driver is based on a brazil driver kindly supplied by jmk, which is supposed to work with with some other dec 21140-based cards as well. The driver compiles cleanly now and I'm going through and checking out all the functions. I hope to have it working relatively soon. If you'd like to play with it I can forward the code to you. One problem I've yet to decide how to solve is how to have the fs and everything else use precisely the same driver for ether. While the differences are relatively minor, the decision of which target to compile for tends to be decided using #ifdefs. I feel this hides structural weakness (fs uses different buffering structure from everything else) and is just plain hard to read.. a more complete solution would be to rewrite the interface layer on the fs (which I have to do anyway to support multiple interfaces in the fs) to use the same structure as the other codes, then just use the usual set of ether drivers. Damn sight more work but I think more rewarding in the long run :) I've been delayed on this work since my auth server died an unnatural death and now I have to replace it :< Regards, Eric Dorman edorman@ucsd.edu To: 9fans@cse.psu.edu Reply-to: lucio@proxima.alt.za Subject: [9fans] Diamond Stealth 3D 2000 PCI (S3/Virge) Date: Mon, 06 Jul 1998 06:30:54 +0200 From: Lucio de Re Sender: owner-9fans@cse.psu.edu Reply-To: 9fans I was convinced I had an up to date copy of "vgadb" but I certainly don't have any S3/Virge support in any copy I've found. I'm also having trouble trying to fetch //plan9.bell-labs.com/plan9/pcdist/disk1 which seems to hang around 130kbytes. Is there some other place I can find an entry for the Diamond Stealth card (I have my doubts that I would be able to concoct my own, even though I have the XFree86 source to work from :-)? ++L From: forsyth@caldo.demon.co.uk To: 9fans@cse.psu.edu Date: Mon, 6 Jul 1998 10:03:42 BST Subject: Re: [9fans] Diamond Stealth 3D 2000 PCI (S3/Virge) Sender: owner-9fans@cse.psu.edu Reply-To: 9fans >>I was convinced I had an up to date copy of "vgadb" but I certainly >>don't have any S3/Virge support in any copy I've found. here is the vgadb entry i use with two variants of virge-based chips: ctlr 0xC0043="Stealth 3D 3000" # Diamond Stealth 3D 3000/3400 0xC004B="S3 Virge/DX" # Video Excel link=vga hwgc=s3hwgc ctlr=virge linear=1 if your aux/vga source hasn't got a file virge.c, you need to fetch a more recent aux/vga boddle.