From: Digestifier To: Linux-Development@senator-bedfellow.mit.edu Reply-To: Linux-Development@senator-bedfellow.mit.edu Date: Thu, 3 Mar 94 09:13:04 EST Subject: Linux-Development Digest #516 Linux-Development Digest #516, Volume #1 Thu, 3 Mar 94 09:13:04 EST Contents: Re: NCSA Mosaic 2.0 Complile Problem (Glenn Koh) Re: undefined symbols in modules (Andy Burgess) Re: Context switch for pthreads (Dan Miner) Re: ISDN card comments wanted (Mark Evans) Re: Amiga FileSystem, Anyone? (David Holland) Re: Netmasks not on byte boundaries? (Charles Hedrick) Re: _doprnt under Linux... (Rob Janssen) Multi-Serial Cards? (marauder) Re: Help! GCC errors (Christopher L Seawood) Re: PLEASE use the GPL (Tim Smith) Re: structs ip and icmp not defined in pl15h (Alan Cox) CD Audio informations through Linux (Bruno Cornec) Re: Why not put cluster diffs in nominal kernel before 1.0? (Rick) Re: eth0: transmit timed out in PL15h (Clint Olsen) eth0: Missed interrupts (Johann Friedrich Heinrichmeyer) Re: eth0: transmit timed out in PL15h (Rand Dow) Where's ioperm() and in/outb()? (Robert Lipe) Re: ISDN card comments wanted (Alan Cox) Re: Lint for Linux! (Niels J. Bagger) Re: Amiga FileSystem, Anyone? (Richard Krehbiel) Quick help with a 49hour compile! (Brian Shell) Re: Is there a driver for BusLogic 445 VLB (not aha1540). (Peter Suetterlin) ---------------------------------------------------------------------------- From: gkoh@athena.mit.edu (Glenn Koh) Crossposted-To: comp.os.linux.help,comp.os.linux.admin Subject: Re: NCSA Mosaic 2.0 Complile Problem Date: 2 Mar 1994 19:48:10 GMT Where can I ftp mosaic for linux? Thanks, Glenn ------------------------------ From: aab@cichlid.com (Andy Burgess) Subject: Re: undefined symbols in modules Date: Wed, 2 Mar 1994 06:06:02 GMT In <2klvfa$gtv@bigblue.oit.unc.edu> ewt@sunSITE.unc.edu (Erik Troan) writes: >Since my girlfriend left me for a while this afternoon, I started to play >with module development, using modutils-0.99.15.tgz as uploaded >to sunsite. ... >Any clues? Sorry no time to help you right now. Your girlfriend is here... :-) -- Andrew A. Burgess | SLIP and UUCP connections aab@cichlid.com | finger or email info@cichlid.com ------------------------------ From: dminer@nyx10.cs.du.edu (Dan Miner) Subject: Re: Context switch for pthreads Date: Wed, 2 Mar 94 19:49:26 GMT In article <2ku1ct$igp@meaddata.meaddata.com>, Peyton Reed wrote: >In article <2klvbb$5b9@genesis.ait.psu.edu>, donadio@mxd120.rh.psu.edu (Matthew Donadio) writes: >|> Christopher Andrew Smith (z1g192@rick.cs.ubc.ca) wrote: >|> : As one of my currrent projects, I am attempting to port a package called >|> : pthreads ( for preemptive threads ) to Linux. Most of the code should be >|> : relatively straightforward to port, since it is written in Ansi C, but >|> >|> You shouldn't have to do any porting. The file >|> sipb.mit.edu:/pub/pthreads/pthreads-1.??.tar.gz >|> has a linux port the should work with pl15. I haven't had time to test >|> it thouroughly, but all the built in tests seemed to work. > >I tried ftp from anonymous@sipb.mit.edu, bot got "Anonymous ftp not allowed." >Is there another site for this, or another method at this site? > >Thanks. > >Peyton > That's odd.. I got 1.19 from there a couple of days ago. Maybe I should upload it to the linux archives? :) [BTW, I've not check it for "working" order. :)] Dan -- Dan Miner dminer@nyx.cs.du.edu Future student Linux: try it, you'll like. "Your program is encoded in pi." I started with a 64 ------------------------------ From: evansmp@mb48026.aston.ac.uk (Mark Evans) Subject: Re: ISDN card comments wanted Date: Wed, 2 Mar 1994 22:11:38 GMT Alan Cox (iiitac@swan.pyr) wrote: : Linux has few 'special' requirements. In general DMA is a nuisance and for : small transfers on the PC a total loser. Linux does need interrupts because What do you mean by 'small'? i.e. above what size does using DMA become usefull. : unlike DOS it can't afford to poll all the time. Congestion of IRQ's does appear to be a problem. Depends what hardware is in use and if it's IRQ's are alterable. ------------------------------ Subject: Re: Amiga FileSystem, Anyone? From: dholland@husc9.harvard.edu (David Holland) Date: 2 Mar 94 04:28:44 armb@setanta.demon.co.uk's message of Mon, 28 Feb 1994 18:27:08 GMT said: > Most PC disk drives won't read Amiga disks - Possibly. The Amiga uses a different track layout, but I don't think it does anything particularly strange. The hardware, when not crippled by MS-DOS, *ought* to be able to do it. > I doubt an Amiga file system would be easier to write under Linux > than MS-DOS, That's complete nonsense. MS-DOS has no hooks for adding alternate file systems. Linux does. > and "How do I read Amiga disks on a PC? - You don't, use an MS-DOS > filesystem on the Amiga" is definitely an Amiga FAQ. Ok, anybody have minix-fs or ext2fs for the Amiga? -- - David A. Holland | Nobody ever went broke underestimating dholland@husc.harvard.edu | the intelligence of the American public. ------------------------------ From: hedrick@athos.rutgers.edu (Charles Hedrick) Subject: Re: Netmasks not on byte boundaries? Date: 2 Mar 94 07:29:06 GMT evansmp@mb48026.aston.ac.uk (Mark Evans) writes: >The RFC specified behaviour is to treat ALL redirects as HOST >redirects. >(Until someone specs a redirect which includes the netmask) This is fixed in pl15i. (I did say I'd try to get it fixed.) ------------------------------ Crossposted-To: comp.os.linux.help From: rob@pe1chl.ampr.org (Rob Janssen) Subject: Re: _doprnt under Linux... Date: Wed, 2 Mar 1994 09:14:03 GMT Reply-To: pe1chl@rabo.nl In <2l0nrh$435@darkstar.UCSC.EDU> galpin@cats.ucsc.edu (Dan) writes: >In porting an app to Linux, I discovered that Linux does not seem to >have the "standard" UNIX _doprnt library function.. (this is with gcc). Applications are not supposed to use _doprnt, this is a library internal. >Is there an equivalent function that I could use? Look at the v*printf functions and recode the functions using _doprnt Rob -- ========================================================================= | Rob Janssen | AMPRnet: rob@pe1chl.ampr.org | | e-mail: pe1chl@rabo.nl | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU | ========================================================================= ------------------------------ From: marauder@lod.amaranth.com (marauder) Subject: Multi-Serial Cards? Date: Mon, 28 Feb 1994 20:55:48 GMT I am looking for som input on which multi-serial cards are available and compatible for use with Linux. I am basically looking for a 4-port card that would support dialup modems. Are there any people who have a setup like this in place? -- any input would be greatly appteciated. td ------------------------------ From: mgrcls@manager (Christopher L Seawood) Subject: Re: Help! GCC errors Date: 2 Mar 1994 16:32:38 GMT Dean Junk (us292121@bulldog.mmm.com) wrote: : I am having the following problem compiling xmix: : /usr/lib/libgcc.sa(__libc.o): Definition of symbol __NEEDS_SHRLIB_libc_4 (multiply defined) : /usr/lib/libc.sa(__libc.o): Definition of symbol __NEEDS_SHRLIB_libc_4 (multiply defined) : make: *** [xmix] Error 1 : : Do you have any ideas? I have everything else working great but this! Take this how you wish.... Read the release notes. It specifically says to 'rm -f /usr/lib/libgcc.*' -- Christopher Seawood seawoocl@nextwork.rose-hulman.edu mgrcls@nextwork.rose-hulman.edu ------------------------------ From: tzs@u.washington.edu (Tim Smith) Subject: Re: PLEASE use the GPL Date: 3 Mar 1994 07:17:49 GMT Kai Petzke wrote: >>The best way to do this would be to make a list of the rights, restrictions, >>and obligations spelled out in the GPL. Delete those you don't want. Add >>any new ones you want. Then give the list to a lawyer and tell him or her >>to write a license agreement for you. > >If you only want to add or change a few things of the GPL in your case, >you can also make a Copyright file, which says: > >1) This file/programme/whatever is Copyrighted by me. You can use/modify/ > bla/bla it under the terms of the GNU Copyleft Version 2. > >2) In exception to 1), you may not ... I didn't suggest that approach, because certain people will then say that this is a subtrefuge to get around the part of GPL that says that you can't modify GPL. That claim makes no sense, but why open yourself to the hassle? --Tim Smith ------------------------------ From: iiitac@swan.pyr (Alan Cox) Subject: Re: structs ip and icmp not defined in pl15h Date: Wed, 2 Mar 1994 21:28:58 GMT In article jrozes@allegro.cs.tufts.edu (J Rozes) writes: >don't ya' think? How else do you tell your program what the structure of >an ip or icmp packet is--just let it guess? Additionally, take a look at Well either you tell it, you use the BSD compatibility or you use the Linux definitions - up to you. Only number 1 of those is portable. >Solaris, which definitely is _NOT_ NetBSD, yet includes these structure >definitions (not in /usr/ucbinclude, either). I know linux is a far cry from >BSD, but I just don't consider IP and ICMP to be BSD-isms only. SVR4 networking takes a lot from BSD. Unfortunately they took the worst bits. Sun also had to get good compatibility with SunOS which was BSD derived. >So, if Linux doesn't define ip/icmp packets in header, how does one go >about such programming? Might it have something to do with the C library? You make sure you have the right headers and use -Ibsd. Very few programs need to go into the ip layer in that level of detail > >jonathan > ------------------------------ From: cornec@stna.dgac.fr (Bruno Cornec) Subject: CD Audio informations through Linux Date: Thu, 3 Mar 1994 10:00:24 GMT Hello, I want to realize a program to manage my CD Audio collection. (I know that workman is fine but it's both an exercise and a need to have my own program). I have read cdrom.h and partly the code of workman and it's really usefull to begin my program. BUT : Are there other informations available on the CD (Track name, Title, unique number - UPC?, ...) How to find that information ? How to know the interface with ioctl. Can anyone point me to some documentation on the subject ? or better explain me how it works, if you have time -:) Thanks by advance of any information Bruno. -- Bruno Cornec E-mail : cornec@stna7.stna.dgac.fr Phone : (33 1) 60 79 82 28 Services Techniques de la Navigation Aerienne 95, Rue Henri Rochefort 91000 Evry - FRANCE ------------------------------ From: rick@razorback.brisnet.org.au (Rick) Subject: Re: Why not put cluster diffs in nominal kernel before 1.0? Date: 2 Mar 1994 08:03:16 +1000 pclink@qus102.qld.tne.oz.au (Rick) writes: >While cluster-08a on pl15a and pl15h boost the iozone performance on my >FD885+767Mb Seagate, fsck runs 3-4 times slower on a 75% full 200Mb >ext2 partition. Anybody else noticed this? Just after compiling a large package last night while running X (ie, significant swappping earlier on but system quiet), I got a kernel panic: Free list contains shared buffers I wouldn't recommend adding the cluster diffs until the cause of this problem is rooted out. Rick. -- _-_|\ | Rick Lyons : C/C++/X/Unix/DOS/86/DSP | "Sometimes, I think the proof / + | rick@razorback.brisnet.org.au | that intelligent life exists \_.-._/ | Work: +61.7.837.4008 (2300-0700 GMT) | elsewhere in the Universe is v | Home: +61.7.349.2764 (0800-1300 GMT) | that it hasn't contacted us." ------------------------------ From: olsenc@maxwell.ee.washington.edu (Clint Olsen) Subject: Re: eth0: transmit timed out in PL15h Date: 3 Mar 1994 09:06:56 GMT In article <2kve7c$b98@renux.frmug.fr.net>, Rene COUGNENC wrote: >Ce brave Peter Suetterlin ecrit: > >> eth0: transmit timed out, TX status 0x9c, ISR 0x0 >> eth0: Possible network cable problem? > >> 486DX/2-66VL, 3com 503 Etherlink card, Slackware 1.1.0, PL15h > ^^^^^^^^^^^^^^^^^^^^^ > >I have the same card in one of my two machines. >When there is a small network problem, like the Ethernet disconnected >during less than 1 second, the card seems to hang (not always), and I get >these messages. > >I have to issue a COLD reboot to correct this. > >No problem whith the Ne2000 clone plugged in my second machine... > >But most of the time, it works fine. We have those every once in a while on our 3c503. We thought it was an external network problem. Slackware Pat wasn't aware of any problems. You are the first person other than myself with this problem. We never have to reboot, though. It just passes. Oh, 99pl15(b) with Slackware 1.1.2. We also had these problems with Slack 1.1.1 with the pl14 kernels. -Clint -- Clint Olsen University of Washington Electrical Engineering olsenc@maxwell.ee.washington.edu ------------------------------ From: jfh@ES-sun2 (Johann Friedrich Heinrichmeyer) Subject: eth0: Missed interrupts Date: 3 Mar 1994 08:36:11 GMT We have 3com 3c509 ethercards and live for months with spurious "eth0: Missed interrupt, status then 2011 now 2011 Tx 00 Rx 3a22" warnings. Now the new thing: On my sun i installed "xnetload" and for this program to work the "rpc.etherd" daemon. This daemon now brings (sometimes) the message "rpc.etherd: bad lnth 42 dst ffffffffffffsrc 0800200ce987" when i open a "rsh" connection to my linux-box. The number 0800200ce987 identifies the ethercard on the sun-box. Maybe this helps someone and someone can explain what this means to me. -- Fritz Heinrichmeyer FernUniversitaet Hagen FAX: +49 2371/52212 LG Elektronische Schaltungen EMAIL: fritz.heinrichmeyer@fernuni-hagen.de Frauenstuhlweg 31 PHONE: +49 02371/566-243 58644 Iserlohn (Germany) ------------------------------ From: rand@athen.mch.sni.de (Rand Dow) Subject: Re: eth0: transmit timed out in PL15h Date: Thu, 3 Mar 94 10:36:15 GMT I just want to say that I have a WD8003, and also had these problems with the Slackware 1.1.2 pl15f kernel, I put up the pl15h kernel and the problems went away, but I still can't remotely log into the machine. (telnet, ftp, rlogin: no go; ping: works; pl15h: transmit timed out) Rand ------------------------------ From: robertl@arnet.com (Robert Lipe) Subject: Where's ioperm() and in/outb()? Date: Thu, 3 Mar 1994 06:12:03 GMT Maybe I'm working from old or just not the right docs. If this is the case, please point me to the right set. In the Kernel Hacker's Guide (I think it was 0.5), it's explained that a user app can hit I/O latches by calling ioperm() (which presumably cracks the iopl on those ports open so that the app can get to them w/o faulting). I've nm'ed and ar'ed everything I can find that looks like a library and zgrep'ed throught he man pages. What library should this be in? On some other UNIX'es, I can issue a sysi86() and do this, and on most others, there is an undocumented way of hitting I/O. And on inb and outb, I see that the macros (from hell) in are trying to do, but I still get unresolved externals on (I think) ___inp and ___outp (not sure). I tried the same manner to locate those functions, and again drew blanks. What am I missing? Thanx in advance, RJL ------------------------------ From: iiitac@swan.pyr (Alan Cox) Subject: Re: ISDN card comments wanted Date: Thu, 3 Mar 1994 12:29:48 GMT In article evansmp@mb48026.aston.ac.uk (Mark Evans) writes: >Alan Cox (iiitac@swan.pyr) wrote: > >: Linux has few 'special' requirements. In general DMA is a nuisance and for >: small transfers on the PC a total loser. Linux does need interrupts because > >What do you mean by 'small'? >i.e. above what size does using DMA become usefull. It depends on the use. There are numerous problems with DMA 1. You take a large cache miss as a result 2. Setting up a DMA transfer on a PC is quite slow and messy 3. Using the on board DMA controller is quite slow. Bus mastering DMA is fast but no tall motherboards do it right. 4. On an ISA bus you have to fight the 16Mb DMA ceiling Basically for anything but large block transfers you are better using I/O ports. > >Congestion of IRQ's does appear to be a problem. >Depends what hardware is in use and if it's IRQ's are >alterable. I guess since its a sort of super serial port you stick them on the serial IRQ's. Most ISDN cards I've seen do 16 bit irqs Alan ------------------------------ From: elmnjb@unidhp.uni-c.dk (Niels J. Bagger) Subject: Re: Lint for Linux! Date: Thu, 3 Mar 1994 11:17:05 GMT FYI. It seems like, I should read my manuals before I post anything next time... I wrote: > As the title says: Does lint(1) exist for Linux? After numerous (kind) replies I think I got the picture. The facts are: 1. lint(1) does not exist for Linux 2. Use gcc(1) with the appropriate flags instead, namely '-W' with one or several of the -W options, together with '-ansi' and '-pedantic'. Eg. gcc -ansi -pendantic -Wall Thank you all for your replies. -njb PS: My friend is a very happy man now ;-) +--------------------------------+-----------------------------------------+ | _/_/_/ _/ _/ _/_/_/ | Niels J. Bagger, M.Sc.E.E. | | _/ _/_/ _/_/ _/ | Technical University of Denmark | | _/_/ _/ _/ _/ _/ | DK-2800 Lyngby | | _/ _/ _/ _/ | Denmark | | _/_/_/ _/ _/ _/_/_/ +-----------------------------------------+ | Electromagnetics Institute | e-mail: njb@emi.dth.dk | +--------------------------------+-----------------------------------------+ ------------------------------ From: richk@netcom6.netcom.com (Richard Krehbiel) Subject: Re: Amiga FileSystem, Anyone? Date: Thu, 3 Mar 1994 13:15:08 GMT In article dholland@husc9.harvard.edu (David Holland) writes: > armb@setanta.demon.co.uk's message of Mon, 28 Feb 1994 18:27:08 GMT said: > > > Most PC disk drives won't read Amiga disks - > > Possibly. The Amiga uses a different track layout, but I don't think > it does anything particularly strange. The hardware, when not crippled > by MS-DOS, *ought* to be able to do it. Oh, yes, the Amiga definitey does something particularly strange. The PC floppy controller chip works with sectors, each with a preamble and header and CRC and trailer. The only command that doesn't work by sector is "format track". The Amiga floppy controller "chip" is a section of the "Paula" custom chip. All it does is get raw patters to and from the drive via DMA. This gives the software a lot of latitude, to come up with creative new layout schemes. The Amiga's floppy format uses one big sector per track, with one preamble at the beginning and one trailer at the end and 5632 data bytes in between. The PC floppy chip just can't make sense of this. -- Richard Krehbiel richk@netcom.com Picture a clever one-liner here... ------------------------------ From: bshell@csi.compuserve.com (Brian Shell) Subject: Quick help with a 49hour compile! Date: 3 Mar 1994 08:25:58 -0500 I need some suggestions! After adding a SCSI card and Drive to my Linux box the system would not boot. I was running 0.99.14, Previously I think I had recompiled the kernel with out SCSI support. So instead of removing the hardware and then recompiling the kernel I downloaded one of the boot disks that would see the scsi hard- ware and not crash. I then proceeded to boot the machine. Once it came up, taking more memorey due to loading the ram disk. I went into the /usr/src/linux directoy and started to config the new kernel. Well all went well with this. Every thing did seem a little slow due to the lack of free memory, but not to bad. After the make config I started the make dep which took 3.5 hours. With everything as slow as it was after the make dep finished I issued the command: make clean ; make zImage Well now 49 hours in the recompile I am getting a little upset! Started looking around and found cron holding 145% of the memory!! This should not happen should it? I have a 4meg system with a 20meg swap file. No doubt the reason for the loooonnnng compile is due to the lack of memory. Can cron be killed and not hurt the Compile? Why is Cron holding so much memory all of the time? The system is @ 85% idle but showing all the memory used up and a large portion of the swap file. Any suggestions ? Need help quick! Thanks Brian! Please disregard spelling and other errors, I had to compose this on a hardcopy terminal. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ Brian Shell \ CRIMINALS ~ ~ CompuServe Inc. \ PREFER ~ ~ 5000 Arlington Centre Blvd. \ UNARMED ~ ~ Columbus, Ohio 43220 \ VICTIMS ;) ~ ~ bshell@csi.compuserve.com \ ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------ From: pit@lupo.kis.uni-freiburg.de (Peter Suetterlin) Subject: Re: Is there a driver for BusLogic 445 VLB (not aha1540). Date: 3 Mar 1994 13:13:48 GMT Joseph P DeCello III (decello@discovery.uucp) wrote: > Is there a driver available or in development that FULLY supports > the capabilities of this card. It's work well with AHA1540 emulation > but I imagine, I won't get the performance of a BusLogic VLB driver. > Thanks, > Joe > -- > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > Joseph P. DeCello III **Computer Asst.** Email: decello@cad.msu.edu > Michigan State University CPP Phone: (517) 355-9582 > Dept. of Campus Park and Planning hours: MWF 8-11,2-4 EDT Yes, there is. It's on tsx-11, in the BETA directory. I'm using it since about 3 months now and am very content. It is indeed faster than in Adaptec mode. Peter ---------------------- Peter 'PIT' Suetterlin ------------------- | Kiepenheuer Institut | Sternfreunde | Planetarium Freiburg | | fuer Sonnenphysik | Breisgau e.V | | | 0761/3198-210 | 0761/71571 | 0761/276099 | -pit@lupo.kis.uni-freiburg.de---!! Hey, this is my linux box !!------ ------------------------------ ** FOR YOUR REFERENCE ** The service address, to which questions about the list itself and requests to be added to or deleted from it should be directed, is: Internet: Linux-Development-Request@NEWS-DIGESTS.MIT.EDU You can send mail to the entire list (and comp.os.linux.development) via: Internet: Linux-Development@NEWS-DIGESTS.MIT.EDU Linux may be obtained via one of these FTP sites: nic.funet.fi pub/OS/Linux tsx-11.mit.edu pub/linux sunsite.unc.edu pub/Linux End of Linux-Development Digest ******************************