Subject: Linux-Development Digest #17
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:     Fri, 12 Aug 94 11:13:07 EDT

Linux-Development Digest #17, Volume #2          Fri, 12 Aug 94 11:13:07 EDT

Contents:
  patch43 breaks 1.1.42 qic02 tape and ne2000 (BARRY TITMARSH)
  Supplemental packages to dev kernels (Stephen Vance)
  Re: DOSEMU 0.53: Developers and testers needed! (Rob Janssen)
  Re: cdu31a: Too many consecutive attentions: 11 (Vincent Fatica)
  Re: Program that demonstrates a problem with getwd (David Fox)
  Re: XFree86-Server for Spea Mirage P64 (John Saunders)
  Re: Anyone want T1 access from Linux? (yuan tzeng)
  locale, strcoll, strxfm (Thomas Koenig)
  Re: gcc and Linux (compiling)... (John Saunders)
  Re: 1.1.40 released. (Mark Buckaway)
  Re: cdu31a: Too many consecutive attentions: 11 (Tim Smith)
  Kernel panic in 1.1.44 (Martin Ludwig)
  Re: DOSEMU 0.53: Developers and testers needed! (Jason White)
  Re: Suggestion: Lets have a standard for numeric uid/gids (Frank Lofaro)

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

Date: Fri, 12 Aug 1994 08:56:07 EST
From: BARRY TITMARSH <BTITMARS@ESOC.BITNET>
Subject: patch43 breaks 1.1.42 qic02 tape and ne2000

tape qic02 is broken by a undefined SA_INTERUPT
and ne2000 card is first detected but later kernel
reports eth0: card not present and hangs.
All ok with 1.1.42
Idears.
Barry

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

From: srvance@unix.secs.oakland.edu (Stephen Vance)
Subject: Supplemental packages to dev kernels
Date: 12 Aug 1994 11:22:05 GMT

As a newbie to kernel hacking, I am wondering what other packages people
would recommend I keep up on to have a forefront installation.  I have
been keeping up with the kernel and PCMCIA support (a laptop on the way
is my main motivator, but while I am at it ...).  I am not using SLIP or
PPP just yet, but may over the next couple months.  My desktop machine
has SCSI (Adaptec), CD-ROM (SCSI/Texel), Ether Card (3COM) and Colorado
Jumbo.  I also have a LaserJet IIP on which I usually run PostScript.

        Also does anyone have practical suggestions for running multiple
boot configurations with LILO in such a way to accomodate both stable
and development installations without another hard drive or machine?

Thanks in advance,
Steve

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

From: rob@pe1chl.ampr.org (Rob Janssen)
Subject: Re: DOSEMU 0.53: Developers and testers needed!
Reply-To: pe1chl@rabo.nl
Date: Fri, 12 Aug 1994 07:15:23 GMT

In <CuE0F6.2L6@ucdavis.edu> slouken@cs.ucdavis.edu (Sam Oscar Lantinga) writes:

>Mark Rejhon (mdrejhon@calum.csclub.uwaterloo.ca) wrote:
>: I am interested in having more DOSEMU developers on the team,
>: even those who only want to look through DOSEMU and offer suggetions
>: on how it can be improved!  Testers are also welcome.

>       I'm testing it out, and I have found that under ansi_xterm
>and regular xterm, dosemu doesn't recognize <CR>
>It works fine in the console.  Is this a termcap problem, or is it
>something with dosemu?

It is an error in the termios settings inside DOSEMU.  You can fix it
by running "stty -icrnl </dev/ttyxx" for the tty/pty where DOSEMU is running,
from another tty/pty.

I think this has already been fixed or will be fixed soon.

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

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

From: vefatica@cockpit.syr.edu (Vincent Fatica)
Subject: Re: cdu31a: Too many consecutive attentions: 11
Date: 12 Aug 1994 11:42:54 GMT
Reply-To: vefatica@mailbox.syr.edu

In article <32f890$9em@news.u.washington.edu>,
Tim Smith <tzs@u.washington.edu> wrote:
>
>Do you by any chance have another card at an address the cdu31a driver will
>probe while it is looking for the CD-ROM controller?  I've noticed that
>the cdu31a driver has a propensity for mistaking my NE2000 clone ethernet
>card for a CD-ROM controller, and the result is a stream of those
>"cdu31a: Too many consecutive attentions: 11" messages.
>
>The cdu31a driver seems to look in these places, in this order,
>for the controller:
>
>   0x340,   /* Standard configuration Sony Interface */
>   0x1f88,  /* Fusion CD-16 */
>   0x230,   /* SoundBlaster 16 card */
>   0x360,   /* Secondary standard Sony Interface */
>   0x320,   /* Secondary standard Sony Interface */
>   0x330,   /* Secondary standard Sony Interface */
>
>If you've got some other controller at an address in this table that is
>earlier than the position in the table of your cdu31a, then you may be
>seeing the same problem.  The obvious thing to try in that case would
>be to change the table so that your actual address is probed first.

None of the above!

Besides the normal video card and I/O/disk-controller card, I have only
an internal PPI modem using the standard com1, an additional I/O with
UART 16550 (disabled but for com3 at 0x3E8 IRQ5), and 16 Mb RAM on a
memory expansion card. Otherwise, it's a pretty normal 486DX33.

Respectfully.

Vince Fatica
Syracuse University Math



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

From: fox@graphics.cs.nyu.edu (David Fox)
Subject: Re: Program that demonstrates a problem with getwd
Date: 12 Aug 1994 10:39:44 GMT

In article <32cshv$nqi@hahn.informatik.hu-berlin.de> news@informatik.hu-berlin.de (H.Boehme U.Kunitz) writes:
] 
] In article <FOX.94Aug9130908@first.cs.nyu.edu>,
] David Fox <fox@graphics.cs.nyu.edu> wrote:
] >#include <stdlib.h>
] >
] >#define MAX_PATH_LENGTH       256
] >
] Here you assume the Maximum of path length is 256, that is not correct.
] in /usr/include/linux/limits.h 
] #define PATH_MAX        1024

You are basically restating what I said in my message.  My point
is that there is no mention of PATH_MAX in the linux man page,
nor of the fact that getwd will use more space than that needed
to hold the cwd string.  As someone else pointed out by mail,
it is mentioned in the libc documentation.

] getwd() calls internal getcwd(), witch need a parameter length.
] The programmers of libc assumed, that the buffer has at least 1k size.
] getwd(&buf[0]) ==> getcwd(&buf[0],1024);

Of course I know this, I stepped through getwd and getcwd trying
to track down the bug in the program I was porting to Linux.
--
David Fox                                               xoF divaD
NYU Media Research Lab                     baL hcraeseR aideM UYN

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

Crossposted-To: comp.os.linux.admin
From: john@odin.apana.org.au (John Saunders)
Subject: Re: XFree86-Server for Spea Mirage P64
Date: Mon, 8 Aug 1994 10:20:31 GMT

Christoph Martin (martin@wilbur.zdv.Uni-Mainz.DE) wrote:
> Hello,

> I fetched the X11R6-beta XF86_S3 server from Yggdrasil.com and tried
> it with my Spea V7 Mercury P64. It is only running in 640x480 mode,
> because the server can't change the dotclock (ATI 18818-1). There was
> no documentation with the Yggdrasil-distribution only the remark in
> the ANNOUNCE-file, that the XF86_S3 supports S3 864.

> Are there undocumented options or a separate program to set the clock
> or what is the trick with the card?

I read on a news group that you shouldn't use a dot clock of more that
55MHz with the hacked XF86_S3 from Yggdrasil (and others). I believe they
simply treat the 864 as a 928. The post says that the RAMDAC is unsupported
and isn't properly configured so a higher dot clock may damage it. The post
was from the person who is doing the XF86_S3 for XFree86 3.1 so I guess he
knows what he's talking about. BTW the version 3.1 XF86_S3 server gets
230K xstones in the first cut with hopes of getting a bit higher.
-- 
                              _____..---======~~~~~=======---.._____
 ______________________ __,-='=====____  ================ _____=====`=
(._____________________I__) - _-=_/    `--------=+=-------'
    /      /__...---===='---+---_' Captain John Saunders
   '------'---.___ -  _ =   _.-'   johns@rd.scitec.com.au  <- work
                  `--------'       john@odin.apana.org.au  <- play

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

From: yuan@cfic2.com.tw (yuan tzeng)
Subject: Re: Anyone want T1 access from Linux?
Date: 12 Aug 1994 09:26:32 -0000

Greg Boehlein (damin@csuohio.edu) &p&9;!:
: 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 have been monitoring this sort of product. Yes, I do have a need.
I am using my Linux for a production force, not for fun.


: 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)

  I feel you may consider resposding publicly because there could
be a lot of people like me wanting it. More importanly, not for
novell, but Linux.



--
%xFW0j 4?7g7= yuan@cfic2.com.tw, A Linux Internet Host


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

From: ig25@fg70.rz.uni-karlsruhe.de (Thomas Koenig)
Subject: locale, strcoll, strxfm
Date: 11 Aug 1994 20:40:21 GMT
Reply-To: Thomas.Koenig@ciw.uni-karlsruhe.de

I've been looking at the locale stuff in POSIX.2 (to be exact, the 1991
draft, but I don't think much has changed), and fully implementing
locale support (including the localedef utility) will be a pretty hard
job.

Getting a parser for a localedef together should be pretty
straightforward, although there's one annoyance (you can set the escape
character, so using lex is out).  They were, however, thoughtful enough
to provide a yacc grammar :-)

However, the string collating functions are very general, and accordingly
hard.

To quote the draft:

# 2.5.2.2  LC_COLLATE
#
# A collation sequence definition shall define the relative order between
# collating elements (characters and multicharacter collating elements) in
# the locale.  This order is expressed in terms of collation values; i.e.,
# by assigning each element one or more collation values (also known as
# collation weights).  This does not imply that implementations shall
# assign such values, but that ordering of strings using the resultant
# collation definition in the locale shall behave as if such assignment is
# done and used in the collation process.  The collation sequence
# definition shall be used by regular expressions, pattern matching, and
# sorting.  The following capabilities are provided:
#
#     (1)  Multicharacter collating elements.  Specification of
#          multicharacter collating elements (i.e., sequences of two or
#          more characters to be collated as an entity).
#
#     (2)  User-defined ordering of collating elements.  Each collating
#          element shall be assigned a collation value defining its order
#          in the character (or basic) collation sequence.  This ordering
#          is used by regular expressions and pattern matching and, unless
#          collation weights are explicitly specified, also as the
#          collation weight to be used in sorting.
#
#     (3)  Multiple weights and equivalence classes.  Collating elements
#          can be assigned one or more (up to the limit {COLL_WEIGHTS_MAX})
#          collating weights for use in sorting.  The first weight is
#          hereafter referred to as the primary weight.
#
#     (4)  One-to-Many mapping.  A single character is mapped into a string
#          of collating elements.
#
#     (5)  Many-to-Many substitution.  A string of one or more characters
#          is substituted by another string (or an empty string, i.e., the
#          character or characters shall be ignored for collation
#          purposes).
#
#     (6)  Equivalence class definition.  Two or more collating elements
#          have the same collation value (primary weight).
#
#     (7)  Ordering by weights.  When two strings are compared to determine
#          their relative order, the two strings are first broken up into a
#          series of collating elements, and each successive pair of
#          elements are compared according to the relative primary weights
#          for the elements.  If equal, and more than one weight has been
#          assigned, then the pairs of collating elements are recompared
#          according to the relative subsequent weights, until either a
#          pair of collating elements compare unequal or the weights are
#          exhausted.

For generating the many-to-many substitutions and the multicharacter
collating elements from the desctiption file, it would seem that
a powerful finite state machine generator would be needed, about
the class of lex.

Hmm...  maybe it would be possible to put a modified flex.skel into libc,
generate the binary locale file with modified flex, which writes the
tables which normally drive a flex, and then mmap them at runtime?  Just
a wild idea...
--
Thomas Koenig, Thomas.Koenig@ciw.uni-karlsruhe.de, ig25@dkauni2.bitnet.
The joy of engineering is to find a straight line on a double
logarithmic diagram.

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

From: john@odin.apana.org.au (John Saunders)
Subject: Re: gcc and Linux (compiling)...
Date: Mon, 8 Aug 1994 12:54:19 GMT

Bill C. Riemers (bcr@k9.via.term.none) wrote:

>   void main(int argc, char *argv[])

The strictly correct version is:

int main(int argc, char *argv[])

This is so that main can return termination status back to the
OS.

If you use exit(0) at the end of the main function then there is
no problem with what you have. However if the code execution path
drops off the end of the main function then the result returned to
the OS is undefined and is likely to be some trashed value.
-- 
                              _____..---======~~~~~=======---.._____
 ______________________ __,-='=====____  ================ _____=====`=
(._____________________I__) - _-=_/    `--------=+=-------'
    /      /__...---===='---+---_' Captain John Saunders
   '------'---.___ -  _ =   _.-'   johns@rd.scitec.com.au  <- work
                  `--------'       john@odin.apana.org.au  <- play

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

From: mark@datasoft.com (Mark Buckaway)
Subject: Re: 1.1.40 released.
Date: 10 Aug 1994 03:45:07 GMT
Reply-To: mark@datasoft.com

In article dmo@sun.cais.com, ericy@cais2.cais.com (Eric Youngdale) writes:
>In article <yeul.776016964@marsh>, Loong Yeu <yeul@cs.curtin.edu.au> wrote:
>>
>>Kernel panic : scsi_devices corrupt (sd)
>>In swapper task - not syncing
>
>       This problem should have been corrected in 1.1.40.  The problem 
>with out of mailboxes may also have been fixed along with a bunch of 
>other assorted things.
>
>       Some people have complained about problems with isofs because it
>would modify the contents of the buffer cache (both filenames and file
>contents), depending upon the mapping options selected.  Other people have
>complained about problems with incorrect backlinks and so forth. I believe
>that all of these problems are also now fixed in 1.1.40.  There were some 
>fast and furious patches at the last minute and I am not 100% sure that 
>isofs is completely stable, but if there are problems they should show up 
>right away and a quick fix would get things back on track.

This is good information to know. I know I'll be upgrading.

I do find it interesting however that I did receive the same error when the SCSI termination was not correct....

My two cents.
Mark


---
=======================================================================
Mark Buckaway          |  mark@datasoft.com        |  62 Rock Fernway |
System Admin.          |  uunorth!datasoft!root    |  Willowdale, ON  |
DataSoft Communications|  (416) 756-4497           |  M2J 4N5 CANADA  |
=======================================================================
  How many Microsoft programmers does it take to change a lightbulb?
  None. They defined darkness a standard.  - UNIXWorld, Dec. 1993
======================================================================= 



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

From: tzs@u.washington.edu (Tim Smith)
Subject: Re: cdu31a: Too many consecutive attentions: 11
Date: 12 Aug 1994 07:27:28 GMT

Vincent Fatica <vefatica@mailbox.syr.edu> wrote:
>I had been on a long streak of kernels which mounted mt cdu31a at boot-time
>with no problems. That streak came to an end with 1.1.41 and things have not
>gotten better with 1.1.42.
>
>On booting, I get a lot of "cdu31a: Too many consecutive attentions: 11"
>messages followed by a register dump, then nothing. At this point, a
>cold reboot is required.

Do you by any chance have another card at an address the cdu31a driver will
probe while it is looking for the CD-ROM controller?  I've noticed that
the cdu31a driver has a propensity for mistaking my NE2000 clone ethernet
card for a CD-ROM controller, and the result is a stream of those
"cdu31a: Too many consecutive attentions: 11" messages.

The cdu31a driver seems to look in these places, in this order,
for the controller:

   0x340,   /* Standard configuration Sony Interface */
   0x1f88,  /* Fusion CD-16 */
   0x230,   /* SoundBlaster 16 card */
   0x360,   /* Secondary standard Sony Interface */
   0x320,   /* Secondary standard Sony Interface */
   0x330,   /* Secondary standard Sony Interface */

If you've got some other controller at an address in this table that is
earlier than the position in the table of your cdu31a, then you may be
seeing the same problem.  The obvious thing to try in that case would
be to change the table so that your actual address is probed first.

--Tim Smith

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

From: ludwimax@rubc.rz.ruhr-uni-bochum.de (Martin Ludwig)
Subject: Kernel panic in 1.1.44
Date: 12 Aug 1994 12:45:56 GMT

Hello!
 
In Kernel 1.1.44 it happens:
 
Unable to handle kernel NULL pointer dereference at virtual address c0000246
current->tss.cr3 = 00101000, %cr3 = 00101000
*pde = 00102027
*pte = 00000027
Oops: 0000
EIP: 0010:0010e47c
EFLAGS: 00010002
eax: 0035bee8 ebx: 00000246 ecx: 00000000 edx: 0003e000
esi: 0035bee8 edi: 00000001 ebp: 001912dc esp: 001912d4
ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
Process swapper (pid: 0, process nr: 0, stackpage=0019038c)
Stack: 00000000 001a8f5c 00000000 0016678d 0035bee8
Code: 8b 13 85 d2 74 2e 8b 02 83 f8 02 74 07 8b 02 83 f8 01 75 20
Aiee, killing interrupt handler task[0] (swapper) killed: unable to recover
Kernel panic: Trying to free up swapper memory space
In swapper task - not syncing
 
I use this kernel on a 4MB 486SX with 11852k swap (swap partition) and the error
occures by freeing the swap-space by exiting emacs or other programs.
 
On my other Linux-Box with 8MB 386/387 with 16600k swap-partition no error
occures even if swap-space is heavily used! 

Martin 

Martin.Ludwig@ruba.rz.ruhr-uni-bochum.de  ee










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

From: jdwhite@iastate.edu (Jason White)
Subject: Re: DOSEMU 0.53: Developers and testers needed!
Date: 12 Aug 1994 07:35:17 GMT

In article <CuE0F6.2L6@ucdavis.edu>,
Sam Oscar Lantinga <slouken@cs.ucdavis.edu> wrote:
>Mark Rejhon (mdrejhon@calum.csclub.uwaterloo.ca) wrote:
>: I am interested in having more DOSEMU developers on the team,
>: even those who only want to look through DOSEMU and offer suggetions
>: on how it can be improved!  Testers are also welcome.
>
>       I'm testing it out, and I have found that under ansi_xterm
>and regular xterm, dosemu doesn't recognize <CR>
>It works fine in the console.  Is this a termcap problem, or is it
>something with dosemu?
>

  I'm having the exact same problem except that it doesn't matter what type of
terminal I'm using (*xterm, console, vt100) and that it only seems to happen
inside of programs, not at the dos prompt.

-Jason
Kernel 1.1.37, DOSEMU 0.53pl12
-- 
   Jason D. White                        Durham Center Operations Staff
 jdwhite@iastate.edu             Repeater Chairman, Cyclone Amateur Radio Club
Iowa State University
     Ames, Iowa

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

From: ftlofaro@unlv.edu (Frank Lofaro)
Subject: Re: Suggestion: Lets have a standard for numeric uid/gids
Date: Fri, 12 Aug 94 07:22:14 GMT

Uid 0 always should be root.
Uid 1 always should be daemon.

Gid 0 always should be wheel.
Gid 1 preferrably should be daemon.


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


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