Subject: Linux-Development Digest #15
From: Digestifier <Linux-Development-Request@senator-bedfellow.MIT.EDU>
To: Linux-Development@senator-bedfellow.MIT.EDU
Reply-To: Linux-Development@senator-bedfellow.MIT.EDU
Date:     Thu, 11 Aug 94 21:13:05 EDT

Linux-Development Digest #15, Volume #2          Thu, 11 Aug 94 21:13:05 EDT

Contents:
  Re: Anyone want T1 access from Linux? (Greg Boehlein)
  Re: * QIC-36 tape support * (John Lellis)
  Re: -= good programmer's editor for X? (ADAM P JENKINS)
  Re: SUGGESTION for new TeX dist. (Murali Chaparala)
  Frame Relay and Linux (Phil Hughes)
  Re: Typo in kernel 1.1.43 (Linus Torvalds)
  Re: latest 3c589 driver (pcmcia 3com etherlink III) (Donald Becker)
  Kernel 1.1.42 and 1.1.43 problems (Mark Fernyhough)
  Re: 1.1.39 and lost modem characters (Ramon Martinez)
  pcsnd-0.5 patches for 1.1.43 and later (Chris Metcalf)
  [Q] Problem: block on freelist at xxxxx isn't free. (Kenneth Wong)
  Re: IRQs attached to what? (Rob Janssen)
  Re: Linux backup of MSDOS? (Payne)
  Re: Changing to 1024x768 in X? (R. D. Thomas)
  [Q]: Slack - ram mem reqs (J Jeffrey Thomas)
  Linux 1.1.43 boot problem (Sam Oscar Lantinga)
  [Q] What aren't my processes dying when logged out? (Jerry Ablan)
  Re: Registrar for major device #s? (Jay Denebeim P025)

----------------------------------------------------------------------------

From: damin@csuohio.edu (Greg Boehlein)
Subject: Re: Anyone want T1 access from Linux?
Date: Thu, 11 Aug 1994 17:09:13 GMT

Bill Kress (kress@kentrox.com) wrote:
:   My company produces high bandwidth access products, mostly CSUs and DSUs.
: We currently have a PC card with software for Novel Netware, and I was
: wondering if there was anyone who thinks that this kind of product
: would be usefull under Linux.

: So, basically, is there anyone out there who wants an internal CSU/DSU
: card for Linux, or Linux still too hobbie oriented to support this kind
: of a product?

I would be very interested in seeing such a card with Linux drivers. i
am currently looking at setting up an Internet Provider service and
would love to use high end Linux workstations to handle routing
duties. 

Please E-mail me more details on the card you currently have (For Novell)

------------------------------

From: lellis@dmccorp.com (John Lellis)
Subject: Re: * QIC-36 tape support *
Date: 11 Aug 1994 16:15:09 GMT

Jason ROOT George (jbg@infomat.ve6mgs.ampr.ab.ca) wrote:

: [anxious calls to 'rtfm' > /dev/null]

: I picked up an Everex QIC-36 interface and QIC-150 tape drive
: for absolutely nothing.  They work fine under the circa-1987 
: DOS backup software.  I'd like to try to get this beast to work
: under Linux, but I know little to nothing about QIC interface
: standards and programming.  I'm willing to give the task of writing
: an interface a stab if I can be pointed in the right direction.


: The card is an Everex-833 and the drive a Wangtek 5150EN, packaged
: as an Everex.

: I know that there is a DOS device driver that will convert a QIC36
: into a virtual QIC02.  I'm not sure of the name, but it is available
: as a suppliment to a commercial product.  If it is possible to spoof
: the Linux QIC02 driver, I'd like to try. 

I believe that is exactly the combination that I am using here with the
unmodified QIC02 driver.  I'd have to open up the case to make sure, but
the numbers sure sound familiar.  Like you, the price was right for me.

: BTW, anyone got a manual for the DIPs on the card?  :-)

If you run the TAPE program and select F8 INSTALL/CONFIG, then F5 SETUP
HARDWARE CONFIGURATION, you will reach a HARDWARE CONFIGURATION MENU, in
which you can page through ASCII pictures of the various controller cards.
Select the one which physically looks like yours, then hit <ENTER>.  You
will be presented a diagram of the DIP switches and jumpers with what they
mean.

: Thanks.

: --Jason
: jbg@infomat.ve6mgs.ampr.ab.ca
: george@ee.ualberta.ca

--

John Lellis (lellis@dmccorp.com)

--
... Our continuing mission: To seek out knowledge of C, to explore
strange UNIX commands, and to boldly code where no one has man page 4.




------------------------------

From: apj@twain.ucs.umass.edu (ADAM P JENKINS)
Subject: Re: -= good programmer's editor for X?
Date: 11 Aug 1994 16:41:51 GMT

Eric J. Schwertfeger (eric@pandora.Las-Vegas.NV.US) wrote:
: Bill Heiser (bill@bhhome.ci.net) wrote:
: : >] > Not to mention I'm not a believer in having everything AND the
: : >] > kitchen sink installed in my editor.

: : Yeah!  What's wrong with 'vi'?   Emacs isn't an Editor, it's a Lifestyle!  :-)

: I want DME for X :)  Lightweight, customizable, and I knew the "macro" 
: language well enough to write one-liner's on the fly.  Even wrote my own
: C-mode for it.

: Currently I'm using joe, but I can't figure out how to call ispell from
: within joe easily, so that will probably change, most likely in favor of
: something based on tcl/tk.

: I don't like having to deal with vi's modes, but you are definitely right
: about Emacs.  Anything that takes up 10% of my /usr partition had better
: be damn important :)


        I've been using jed. It emulates emacs, (or wordstar, vi, ed ,
or borland IDE).  It has a powerful, c-like macro language, comes with
color syntax highlighting for c, and has many of the powerful editing
features of emacs, but only takes up about 1.5 megs.  It comes with a
console version and and X-version; you select at compile time.
Definitely check it out.  

sunsite.unc.edu:/pub/Linux/apps/editors/jed096.tar.gz

--Adam
apj@twain.ucs.umass.edu

------------------------------

From: murali@magnet.fsu.edu (Murali Chaparala)
Subject: Re: SUGGESTION for new TeX dist.
Date: 10 Aug 1994 03:54:23 -0400

In article <3257gf$fm8@theke.heim2.tu-clausthal.de>,
Torsten "Teg" Grust <Teggy@heim2.tu-clausthal.de> wrote in reply to
my earlier article:

>: http://xxx.lanl.gov/hyperlatex
>                      ^^^^^^^^^^
>       Hmm, the URL didn't work for me. I think you mean
>
>                       http://xxx.lanl.gov/hypertex
>Regards,
>       --Teggy

        Thanks for catching the error. It is "hypertex" and not
        "hyperlatex".
-Murali
--
Murali Chaparala
murali@magnet.fsu.edu




------------------------------

From: fyl@eskimo.com (Phil Hughes)
Subject: Frame Relay and Linux
Date: Thu, 11 Aug 1994 15:02:04 GMT

I have just been approached about using Linux systems to do "real work"
and would like to know if anyone is doing this or, if not, are interested
in getting involved in doing it.

The idea is to connect a Linux system directly to a frame relay circuit
for Internet connectivity. By directly, I mean through a CSU/CSU but
without a router. There are reasonably priced DSU/CSUs that will handle a
56K frame relay circuit.  But the Linux box would then have to handle
X.400 (I think that is right) packets.

An alternative would be to use something similar to pcroute.  It is a
program that turns a scrap PC into a router.  But it doesn't understand
Frame Relay.

--
Phil Hughes, Publisher, Linux Journal (206) 527-3385
usually phil@fylz.com, sometimes fyl@eskimo.com

------------------------------

From: torvalds@cc.Helsinki.FI (Linus Torvalds)
Subject: Re: Typo in kernel 1.1.43
Date: 11 Aug 1994 20:18:46 +0300

In article <1994Aug11.123718.375@spectre.apana.org.au>,
Richard Lindner <rjl@spectre.apana.org.au> wrote:
>the 1.1.43 patches include a typo - in tpqic02.c, SA_INTERRUP should be
>SA_INTERRUPT.

There is also a "&" in drivers/sound/soundcard.c before the second
argument to the register_irq() call.  You'd better remove it if you
include the sound-drivers, or you'll get a warning at compile-time and a
system crash when trying to use the sound driver at run-time.  Oops. 
Silly me for not even trying to compile it,

                Linus

------------------------------

From: becker@cesdis.gsfc.nasa.gov (Donald Becker)
Subject: Re: latest 3c589 driver (pcmcia 3com etherlink III)
Date: 11 Aug 1994 13:27:56 -0400

In article <1994Aug8.190240.187@news.wrc.xerox.com>,
Edward Pendzik Summer intern 212 <edp@news.cc> wrote:
>where would the latest latest 3c589 (pcmcia 3com etherlink III) driver be?
>I don't see it in any of the FAQs.  all I need is a ftp site and a 
>pathname.

Read
http://cesdis.gsfc.nasa.gov/linux/pcmcia/pcmcia.html

or

cesdis.gsfc.nasa.gov:/pub/linux/pcmcia/README.3c589

-- 
Donald Becker                                     becker@cesdis.gsfc.nasa.gov
USRA-CESDIS, Center of Excellence in Space Data and Information Sciences.
Code 930.5, Goddard Space Flight Center,  Greenbelt, MD.  20771
301-286-0882         http://cesdis.gsfc.nasa.gov/pub/people/becker/whoiam.html

------------------------------

From: fernym@pc64.maths.bris.ac.uk (Mark Fernyhough)
Subject: Kernel 1.1.42 and 1.1.43 problems
Reply-To: Mark.Fernyhough@bristol.ac.uk
Date: Thu, 11 Aug 1994 19:15:18 GMT

I can't seem to get 1.1.42 and 1.1.43 to boot up properly (everything upto
1.1.41 no problems).

1.1.42 & 1.1.43 starts to boot ok but just before it's starts my back ground
daemons i get:

Going multiuser...
Mounting remote filesystems

eth0: card not present
eth0: card not present

and then it hangs there (ctrl+alt+del still works).

It recognised the card to start with:

NE*000 ethercard probe at 0x300: 00 00 21 35 19 27
eth0: NE2000 found at 0x300, using IRQ 11

Has anybody got any ideas whats going wrong?

Cheers

Mark Fernyhough

------------------------------

From: rampa@encomix.exnet.com (Ramon Martinez)
Subject: Re: 1.1.39 and lost modem characters
Date: Thu, 11 Aug 1994 13:28:25 GMT

:>      I have the modem on irq 9 port 0x2e8, which is (as far as I
:>know) unused by anything else.  Is this a problem?  Any other ideas?


  mmm have you in your rc something like

/bin/setserial /dev/ttyS3 port 0x2e8 irq 0x9 
 
-Ramon-


------------------------------

From: metcalf@CATFISH.LCS.MIT.EDU (Chris Metcalf)
Subject: pcsnd-0.5 patches for 1.1.43 and later
Date: 11 Aug 1994 21:42:40 GMT

This diff is needed to use pcsndrv-0.5 with kernels 1.1.43 and newer.

                        Chris Metcalf, MIT Laboratory for Computer Science
                        metcalf@lcs.mit.edu   //   +1 (617) 253-7766

--- 1.1 1994/08/11 14:39:06
+++ linux/drivers/pcsnd/pcsndriv.c      1994/08/11 14:40:40
@@ -356,7 +356,7 @@
                free_irq(TIMER_IRQ);
                if (IN_RANGE(pcsp.srate))
-                       request_irq(TIMER_IRQ,(void (*)(int)) pcsp_do_quick_timer);
+                       request_irq(TIMER_IRQ,(void (*)(int)) pcsp_do_quick_timer, 0, "pcsp");
                else
-                       request_irq(TIMER_IRQ,(void (*)(int)) pcsp_do_timer);
+                       request_irq(TIMER_IRQ,(void (*)(int)) pcsp_do_timer, 0, "pcsp");
        }
        else {
@@ -371,7 +371,7 @@
                free_irq(TIMER_IRQ);
                if (pcsp.act_dev == SNDCARD_STO1) 
-                               request_irq(TIMER_IRQ,(void (*)(int)) pcsp_do_sto1_timer);
+                               request_irq(TIMER_IRQ,(void (*)(int)) pcsp_do_sto1_timer, 0, "pcsp");
                else
-                               request_irq(TIMER_IRQ,(void (*)(int)) pcsp_do_dac_timer);
+                               request_irq(TIMER_IRQ,(void (*)(int)) pcsp_do_dac_timer, 0, "pcsp");
        }
                pcsp.timer_on = 1;
@@ -386,5 +386,5 @@
         outb(LATCH >> 8 , 0x40);        /* MSB */
        free_irq(TIMER_IRQ);
-       request_irq(TIMER_IRQ,(void (*)(int)) do_timer);
+       request_irq(TIMER_IRQ,(void (*)(int)) do_timer, 0, "timer");
 
        /* reset the buffer */
-- 
                        Chris Metcalf, MIT Laboratory for Computer Science
                        metcalf@lcs.mit.edu   //   +1 (617) 253-7766

------------------------------

From: ypwong@ie.cuhk.hk (Kenneth Wong)
Subject: [Q] Problem: block on freelist at xxxxx isn't free.
Date: Thu, 11 Aug 1994 11:27:35 GMT

Hi, I have written a bit of network driver. It works when I use UDP
things like ping, but with TCP things it says:

        Problem: block on freelist at xxxxx isn't free.

this usually come after using TCP for a few packets, then nothing works,
saying there's not enough memory.

I found the above line in kmalloc.c, apperently kmalloc (eg alloc_skb)
tries to reuse a page and found that the page->firstfree->bh_flags has
not been set (not either MF_FREE or MF_USED, just 0). That page has been
allocated. Also, sometimes there's a complain saying next/prev sk_buff
is bad.

Anyone has any idea? I am very frustrated working on this for 2 days,
banging my head on the walls.

My driver is similar to skeleton.c and kernel version is 1.1.8. I used
alloc_skb and kfree_skb (as in skeleton.c in that kernel).

Thanks!

--
Kenneth Wong
ypwong@ie.cuhk.hk

------------------------------

From: rob@pe1chl.ampr.org (Rob Janssen)
Subject: Re: IRQs attached to what?
Reply-To: pe1chl@rabo.nl
Date: Thu, 11 Aug 1994 16:31:54 GMT

In <32clg9$igh@zeus.rbi.informatik.uni-frankfurt.de> lingnau@tm.informatik.uni-frankfurt.de (Anselm Lingnau) writes:

>In article <1994Aug10.215841.545@kf8nh.wariat.org>, bsa@kf8nh.wariat.org
>(Brandon S. Allbery) writes:

>> Anything beyond just the raw information --- that includes both title lines
>> and formatting --- is just bloat.

>Random crud like title lines is a nuisance to people trying to parse the
>output, too.

Is it so difficult to skip a title line?

What I think is wrong is the format of /proc/devices:

    Character devices:
     1 mem
     4 tty
     5 tty
     6 lp
     9 st
    14 sound
    21 sg

    Block devices:
     2 fd
     8 sd
    11 sr

Such subtitles are a nuisance.  It should be done like this:

    c  1 mem
    c  4 tty
    c  5 tty
    c  6 lp
    c  9 st
    c 14 sound
    c 21 sg
    b  2 fd
    b  8 sd
    b 11 sr

This allows you to read and interpret it line-by-line.  The presence
of a header at the top, as long as it is done consistently, is of minor
importance IMHO.

Rob
-- 
=========================================================================
| Rob Janssen                | AMPRnet:   rob@pe1chl.ampr.org           |
| e-mail: pe1chl@rabo.nl     | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU     |
=========================================================================

------------------------------

From: rickp@dcs.qmw.ac.uk (Payne)
Subject: Re: Linux backup of MSDOS?
Date: 11 Aug 1994 20:05:52 GMT

J. Robert Suckling <bobs> (bobs@apgea.army.mil) wrote:
: In article <325hp2$7hi@sun.cais.com>
: toehser@cais2.cais.com (Tom Oehser) writes:
: >*Actually*, having started this misbegotten thread, the *idea* was not to 
: >make gzip do a better job.  Since what I am doing is putting 540mb of 
: >data onto a 525mb tape, the *idea* was to find a much dumber faster 
: >compression program than gzip --fast, so as to not waste time compressing 
: >it down to 300mb of data.

: Also be warned, that compresion can not skip over tape errors.
: But a raw tar or cpio with out compression can skip over a file.
: Ie. should something happen to part of the tape. You can still
: read past that and recover data.  Compression is always not a good
: thing.  The reason for back up, I assume, is to lower risk.
: Using compression is a higher risk then not using compression.

I use afio. afio compresses each file individually, so if you get a tape
error, you only lose the one file.
afio also allows you to put limits on the file sizes to consider
compressing. So you can tell it to only compresses file bigger than say
300k, then it will not waste time compressing anything smaller.

RickP

------------------------------

From: rdt@kaiwan.com (R. D. Thomas)
Subject: Re: Changing to 1024x768 in X?
Date: 11 Aug 1994 14:52:19 -0700

In article <329ii4$kft@cmcl2.NYU.EDU>, Ron  Olson <rqo3606@acf3.nyu.edu> wrote:
>Hi all...
>
>I am currently running X using the SVGA driver that was patched
>with the Mach64 driver. I am able to run in 800x600, but I'm
>afraid that's still too big for me. I want to run in 1024x768, but
>all the changes I make to the Xconfig file and it still defaults
>to 800x600, even after putting it at the top of my ModeDB section.
>
>Might anyone know how this is done?
>
>Thanks a lot for any info
>
>Ron
>

Actually, you want to put "1024x768" as the First field on you Modes
line in your Xconfig file!

-- 
===========================================================================
                                                             rdt@kaiwan.com
===========================================================================

------------------------------

From: thomjj@aurxc1.aur.alcatel.com (J Jeffrey Thomas)
Crossposted-To: comp.os.linux.admin,comp.os.linux.misc
Subject: [Q]: Slack - ram mem reqs
Date: 11 Aug 1994 20:27:17 GMT

excuse the cross postings, I tried this question in the help group and 
got only one response (maybe everyone there is asking questions?). 
Hopefully a broader audience will help.

I'm trying to install the latest release of Slackware. This is my
first try with Slackware or Linux.
I have a 386DX machine, with 2 meg of RAM, and 270meg of hard disk.

I have made a floppy boot and root disk (bare, and tty12). When I try
and boot, the screen starts displaying boot up information but gets an
error when it tries to access memory location 2097152. Since I only
have 2 Meg of memory (0-2097151), I understand that this could be a
problem ;-)
I had thought that Linux could be run with a basic setup with only
2 meg of Ram. Is this correct, and is it correct for Slackware? From
reading the FAQ's and How-To's (installation), I know that sometimes
the boot floppy will try to load ramdisk code between 2 and 4 meg and
that the user needs to indicate that this should not be done. I do
not believe this is being done in this case because the boot disk does
prompt me for boot up parameters (and lists these by typing a 'tab').
One of the prompts is to use the ramdisk, which I am not doing, so I
don't think that is happening.

Any ideas? Will Slackware run with only 2 meg?

thank you
_______________________________________________________________________
J Jeffrey Thomas                "The sea was angry that day my friends,
Phone:   (919) 850-5249          angry like an old man in a deli 
Fax:     (919) 850-5131          trying to return soup."
Email:   thomjj@aur.alcatel.com

------------------------------

From: slouken@cs.ucdavis.edu (Sam Oscar Lantinga)
Subject: Linux 1.1.43 boot problem
Date: Thu, 11 Aug 1994 20:28:10 GMT


        I can't boot 1.1.43 up using bootlin (I haven't tried loadlin
yet) due to the lack of "signature".  Nice bit of code, but it breaks
my machine at work.  Any fixes?  Can I modify bootlin to install a
signature?

Thanks,

        -Sam


------------------------------

From: munster@kevorke.cboe.com (Jerry Ablan)
Crossposted-To: comp.os.linux.admin,comp.os.linux.help
Subject: [Q] What aren't my processes dying when logged out?
Date: 11 Aug 1994 17:20:38 -0500

I'm having a weird problem. Whenever my users log out, most of their
processes (like ftp, tin, telnet, etc) stay running but their TTY port
switches to con instead of pp2 or whatever it was.

Any way to stop this from happening? Like a kernel switch?

I'm running v1.1.35 too.

My domain name is not yet registered so email will not get to me. You can
email me at munster@mcs.com if you'd like.

-- Jerry


------------------------------

From: denebeim@bnr.ca (Jay Denebeim P025)
Subject: Re: Registrar for major device #s?
Date: Thu, 11 Aug 1994 21:39:48 GMT

In article <329nqf$ghu@smurf.noris.de> urlichs@smurf.noris.de (Matthias Urlichs) writes:
>In comp.os.linux.development, article <3274jk$6mi@nntp2.stanford.edu>,
>  dhinds@allegro.stanford.edu (David Hinds) writes:
>> Does anyone know who I should talk to about "registering" a major
>> device # for a Linux device driver?
>
>I'd like this requirement to Just Go Away.
>
>With the new release of the MAKEDEV script, there's not much reason for
>most drivers to use a fixed major number; MAKEDEV will find out the correct
>number from /proc/devices.
>register_{chr,blk}dev() just has to look for an empty slot if it's passed a
>zero (and return the allocated number so you can unregister yourself).

This doesn't sound like a good idea to me.  The problem is every time
the kernel changes the major devices could change.  This adds an
initialization order dependency to the major numbers.  Also, I believe
that replaceable device drivers will mean that either you'd have a
dependency in the rc file, or at card insertion time.

-- 
Jay Denebeim     Address: UUCP:     duke!wolves!deepthot!jay
                          Internet: jay@deepthot.cary.nc.us
                 BBS:(919)-233-9937      VOICE:(919)-233-0776

------------------------------


** 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
******************************
