Return to BSD News archive
Newsgroups: comp.os.386bsd.apps Path: sserve!csadfa.cs.adfa.oz.au!wkt From: wkt@csadfa.cs.adfa.oz.au (Warren Toomey) Subject: Rarpd src for 386bsd+patchkits Message-ID: <1993Nov18.061423.25717@sserve.cc.adfa.oz.au> Sender: news@sserve.cc.adfa.oz.au Organization: Australian Defence Force Academy, Canberra, Australia Date: Thu, 18 Nov 1993 06:14:23 GMT I finally got rarpd (code borrowed from NetBSD-current) to work on 386bsd-0.1 plus patchkits. Mainly what was needed was some judicious use of ntohs(). One slight problem is I haven't worked out why the ioctl to obtain the host's ethernet address doesn't work. I currently hard-code my address, grep CHEAT for details. You do need the bpf packet filter support compiled into your kernel, and your ethernet driver must support bpf as well. Cheers, Warren table !"#$%&'()*+,-./0123456789:;<=>? @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_ begin 644 rarpd.tar.gz M'XL( +\%ZRP ^P[_7O:1M+]%?T54S>-P<& /Y.:)F\Q8)L6 P>X;2[)T45:z M@9X(22<).[XV__L[,[L2$MA.>^?TGO=]REV*V)V9G9V=[Y4OQ7MI.Z[\XC-^y M .#XL ;T#9!\/]??^#D\W@,X.GR^?_3\Z/G>$<!>[:!V_ 74/B=3R6<9Q2($x M^"+T_?@AN*GC_1GL_-D?H]4^Z_3:(W@)NZWQV7@P:76&+]]N56,[#J8HD[=;w MQF#8/\?Y4(2!91C-LV[CG.'[\*2HT4M&LXE#,].$W9EA//F5<#Z>@'ZHF$;Av M2;'9+"&&PB_!K@]/OL/?!%!" ,/Q\"A<-T4R"GHD&8#J,@JK,E[![BZ$=[*"u M8PXK+Q0<3M&_%X;A.EZ,4/258<B(Q2S"89.^8?<FMF"'ADU7,M%P ;LV#OE@t M^J%,F?IO']@C?QQ[0E*KS#_C&I^T_Z-#;?^'AX=[S\G^#P_^LO\_Y?.5A>[?s MD] >7[2'X]>#]F38_K$Q'$#MPXO:P9&1S./0Q; U83 H[!6J.R#CN0P]&<-<r MA-:-0!L1EA7**(*=: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C#N-<./8!1M9J5L9:I2W*P.-#YWJf M@[ISX6VVM-J1]2)43BUDO0>G])$>QYGQI9S6DO.!+W6+[2HKK<E6\;;7C:SVe MT!1/U;L/9\?OCTY.CB+O01/?E7MS)@IY6/K5RM*O6DH?KRQ]K*5;P%\W"YS%d MLVB8FJ0I5X-2WD1NI+1Z'[Z9IJ4$JYF3L7CD]#@BT9FD80L%9;5TQ#^Y@FXNc M\J;LN!@$SP3^C_4</O795_Y0%D2X=8]U=^_N[L+_NS$[T\?@L$]\0=1!8&]Kb M9X=?]3[W>RB'S;D_<'DA^#H2>,6KVK^;<D#:5N*WFV:O3WN\A_I:X2FMZ+Z-a MB/&30Q<3>Z1NK7*U-CN7*Y5=O8>@2[U=?L0=/CP<FA>#("F%DZ/8X'+QF3%+z M1[:.7&IIRXEA?()$)=(@,R:N)F4-]JP', 7:X3AAT6S]"C/7^'G:ZR/7W-@Zy M2WL^A"VSE0( Q^@(JCJ<:C*K/Z>QFW2OA86 /B@S1!YLK)YB29$Q!@WPL&E%x M,RJB8]$-4V+]9<2 G.]?)/A*;)OX:J9B,.+A(&R1^)%K ,/HGPZ'O3_W8N-!w M0/R>(0":$UUFS1,O:&,PO'4(;(,9#4EC*;,B>I(F7?-Y:5$893E.%]-HE'0Wv M[WZH_D?[]8D0#5Y8O=WSM\].D\Z&WG_G'^_[V^>GL<(AN*-@I.R&X31R[9]0u M;BNE09H>L+=\^WE) TZWMZ63Z2_4>9(#$2F..WNG0]U"EDI_@@?\LE /^%+]t MWZ Q58/;DM=.2J1MHWF?2:YPDU63 BFA<N'_?=S>^EI?ZVM]K:_UM;[6U_I:s 77^MK?:VO];6^UM?__/H-(W,6WP!X "Ar q end #! rnews 3029 sserve.cc.adfa.oz.au Path: sserve!newshost.anu.edu.au!munnari.oz.au!goanna.cs.rmit.oz.au!aggedor.rmit.OZ.AU!harbinger.cc.monash.edu.au!vaxc.cc.monash.edu.au!cleese!apanix!apanix!not-for-mail Newsgroups: comp.os.386bsd.questions Subject: Re: ISA strayintr 7 - please help!! Message-ID: <2cafgi$rqs@olivaw.apanix.apana.org.au> From: hart@apanix.apana.org.au (Leigh Hart) Date: 16 Nov 1993 22:32:26 +1030 References: <2c6nga$2e8@darkstar.UCSC.EDU> <wilko.753391395@spoetnix.idca.tds.philips.nl> Organization: APANIX Public Access Unix, Australia, +61-8-373-5485 (3 lines) NNTP-Posting-Host: olivaw.apanix.apana.org.au Lines: 70 wilko@idca.tds.philips.nl (Wilko Bulte) writes: >krostrin@cats.ucsc.edu (Ken Ostrin) writes: >>I am running NetBSD 0.9 on a 386DX-40 with 8MB RAM and a mathco. When NetBSD >>boots, I get the above error message several times and then the message "Too >>many errors. will stop logging" >>I have removed all cards except the hard disk controller. Has anyone else had >>this problem? What causes it? How do I fix it? >Essentially it unclean code in the area of handling the interrupt >controller chips. You can't fix it, other than by uncommenting >the message in the kernel sources. There is nothing wrong with >your machine in general. *ROFL* It's got nothing to do with clean/unclean code in the interrupt handler routines - the fact is there ISN'T a routine handling the interrupt, THAT is what the kernel is complaining about! If you look at any PC book, or even run diagnostic software on a DOS PC you will quickly see that IRQ7 is the first parallel port (printer port). Printer ports usually have no need for interrupt routines because they very rarely are input devices. As a consequence, when the IRQ 7 line is happily floating high and low whenever it feels like it, there's no routine activated to service the interrupt. Simple solution (for 386bsd users): Comment out the following in your kernel config file: # # Interruptless printer driver # #device lpa0 at isa? port "IO_LPT1" tty and add the following one instead: # # Interrupt driven printer driver? perhaps :) # device lpt0 at isa? port "IO_LPT1" tty irq 7 vector lptintr Note: This doen't stop the IRQ request from firing off, it just stops it being logged - there is no performance gain in installing this. >(You could of course do something about the interrupt code itself, >but for the lack of enthousiasm on the net for doing so, I expect >it is difficult for non Intel chip weenies :-) It's the "It must be broken, I can't be wrong" attitude that makes it difficult. Cheers Leigh -- Leigh Hart C/- PO Box 758 North Adelaide SA 5006 hart@eppie.apana.org.au hart@apanix.apana.org.au hart@cleese.apana.org.au -- Leigh Hart C/- PO Box 758 North Adelaide SA 5006 hart@eppie.apana.org.au hart@apanix.apana.org.au hart@cleese.apana.org.au