Linux-Development-Sys Digest #727, Volume #6     Wed, 19 May 99 22:14:00 EDT

Contents:
  Re: Linux and PCI modems (Keith Wright)
  Big trouble with 2.2.7 ("Arne K. Haaje")
  Re: boot/root disk problem with login (Emile van bergen)
  Re: Help for MMX (Mark Evans Jeffcoat)
  Re: How to Increase Maximum Number of Processes??? (Arun Sharma)
  Re: never reboot to upgrade ? (David Fox)
  Re: Slow Interrupt vs. Fast Interrupt (lckun)
  Re: VGA Buffer Access (Emile van bergen)
  Re: Glibc rant (Steve Peltz)
  Re: Stefan Monnier <[EMAIL PROTECTED]> (James Bean)
  Re: Glibc rant (Steve Peltz)
  Re: never reboot to upgrade ? (Petri Kaukasoina)
  Re: Intentions on Kernel 2.4 (Marcus Sundberg)
  alsa - is it a way to kick out module? (Jacek Pop�awski)
  Stefan Monnier <[EMAIL PROTECTED]> (Nick Bailey)
  Help on a script ("Juan Manuel Garrido")
  Re: Changes in signals (kernel > 2.2.1) ? (Jason Neudorf)
  Re: Stefan Monnier <[EMAIL PROTECTED]> (Nick Bailey)
  Re: Hostile Takeover of Linux ("Ross Vandegrift")
  Re: Help on a script (Alex Rhomberg)
  Re: Stefan Monnier <[EMAIL PROTECTED]> (David Fox)

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

From: Keith Wright <[EMAIL PROTECTED]>
Subject: Re: Linux and PCI modems
Date: 19 May 1999 00:38:50 -0400

jychat <[EMAIL PROTECTED]> writes:

> i've got a PCI Modem from Olitec and i cant configure it under RH5.2

This is a FAQ that is getting tiresome, see:

http://www.o2.net/~gromitkc/winmodem.html
http://linmodems.org

> what's the problem ?

You don't have a modem.  The man who sold you the thing you call a
modem is either deluded, a liar, or did not understand what you
wanted.

> is there something to do to resolve this problem ?

Get a modem.

-- 
     -- Keith Wright  <[EMAIL PROTECTED]>

Programmer in Chief, Free Computer Shop <http://www.free-comp-shop.com>
         ---  Food, Shelter, Source code.  ---

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

From: "Arne K. Haaje" <[EMAIL PROTECTED]>
Subject: Big trouble with 2.2.7
Date: Wed, 19 May 1999 07:24:44 +0200

I get the following error on 2.2.7 with libc 2.1 every day. The machine
usually stays up, but kswapd is listed as a zombie.

===================
Unable to handle kernel NULL pointer dereference at virtual address
00000014
current->tss.cr3 = 00101000, %cr3 = 00101000
*pde = 00000000
Oops: 0000
CPU:    0
EIP:    0010:[<c0124606>]
EFLAGS: 00010207
eax: 00000000   ebx: c01ec3d8   ecx: 0000007f   edx: 00018000
esi: 00000000   edi: c01c6840   ebp: c01ec3d8   esp: c000bfa8
ds: 0018   es: 0018   ss: 0018
Process kswapd (pid: 4, process nr: 4, stackpage=c000b000)
Stack: 00000030 c000a000 c0119efe c01ec3d8 00000012 00000006 c011ebb2
00000006 
       00000030 00000000 c0190f2e c000a1c1 c011ec67 00000030 00000f00
c0003fb4 
       c0106000 000000f2 c010651f 00000000 00000f00 c01bbfd8 
Call Trace: [<c0119efe>] [<c011ebb2>] [<c0190f2e>] [<c011ec67>]
[<c0106000>] [<c010651f>] 
Code: 8b 76 14 83 78 20 00 75 06 f6 40 18 46 74 0f 6a 00 e8 6c 01 
=====================

Does anyone have an idea of what is wrong ? Is this a bug in the kernel,
or perhaps I need to upgrade some programs ?

BTW, I tried upgrading to 2.2.8 but this gave me a LOT more problems. Is
2.2.9 now considered as safe ?

Arne

-- 
================================
Arne K. Haaje   | 
Enebakkveien 2  | M: 92 88 44 66
N-1825 Tomter   | [EMAIL PROTECTED]
================================
The system needed Windows 95
or better, so I installed Linux!

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

From: Emile van bergen <[EMAIL PROTECTED]>
Subject: Re: boot/root disk problem with login
Date: Wed, 19 May 1999 20:12:57 +0200

On Wed, 19 May 1999, Stuart Pomerantz wrote:

>Mr. Wright:
>
>I've tried that. Doesn't work. It still says "login incorrect".

Are you sure there isn't an /etc/securetty file lying around on the
floppy? This could prevent logging in as root as well... see man login
for more information.

-- 

M.vr.gr. / Best regards,

Emile van Bergen (e-mail address: [EMAIL PROTECTED])

This e-mail message is 100% electronically degradeable and produced
on a GNU/Linux system.


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

From: [EMAIL PROTECTED] (Mark Evans Jeffcoat)
Subject: Re: Help for MMX
Date: 19 May 1999 17:52:38 GMT

[EMAIL PROTECTED] wrote:
: Anyone could tell where I can find MMX instructions set that GCC
: recognizes? Or is there any other compilers on linux that can process
: MMX instructions?

A recent Linux Journal article is aimed toward stepping 
a first-time Linux+MMX programmer through a simple program,
if you'd be interested in something like that, and it 
almost certainly (I don't have it here) has pointers to
further information. Try their website (http://www.linuxjournal.com)
or your local magazine stand.



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

From: [EMAIL PROTECTED] (Arun Sharma)
Subject: Re: How to Increase Maximum Number of Processes???
Reply-To: [EMAIL PROTECTED]
Date: Wed, 19 May 1999 05:53:29 GMT

You need to edit NR_TASKS in linux/tasks.h and recompile the kernel.

        -Arun


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

From: d s f o x @ c o g s c i . u c s d . e d u (David Fox)
Subject: Re: never reboot to upgrade ?
Date: 19 May 1999 12:29:23 -0700

Mike Rushford <[EMAIL PROTECTED]> writes:

> I have enjoyed the stability of Linux for years and have only had to
> shut down my Linux boxes to upgrade the next Kernel version.
> 
> Is there a way of building a kernel so that it takes the place of a
> currently running one without ever shutting down?

No.
-- 
David Fox           http://hci.ucsd.edu/dsf             xoF divaD
UCSD HCI Lab                                         baL ICH DSCU

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

From: lckun <[EMAIL PROTECTED]>
Subject: Re: Slow Interrupt vs. Fast Interrupt
Date: Wed, 19 May 1999 15:54:37 +0900



Soohyung Lee wrote:

> What are the differences between
> Slow interrupt, Fast Interrupt, and System call ?
> Can you tell me ?
> Thanks ..

For example IRQ 13 is a fast IRQ handler that does not obtain the locks,
and cannot cause a reschedule,
but IRQ 16 is a slow IRQ handler that must aquire the kernel spinlocks
and can cause a reschedule.

Lee



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

From: Emile van bergen <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Re: VGA Buffer Access
Date: Wed, 19 May 1999 10:05:52 +0200

On 19 May 1999, David Z. Maze wrote:

> For that matter, Linux 2.2.x will run perfectly happy on a system
> with no graphics card at all (with a serial console).

Humm... I guess I'll have to upgrade my 2.0.31 kernel on my black box
router fast then, before it finds out it hasn't got any video card...!
;-)

-- 

M.vr.gr. / Best regards,

Emile van Bergen (e-mail address: [EMAIL PROTECTED])

This e-mail message is 100% electronically degradeable and produced
on a GNU/Linux system.


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

From: [EMAIL PROTECTED] (Steve Peltz)
Subject: Re: Glibc rant
Date: 19 May 1999 08:37:45 GMT

In article <[EMAIL PROTECTED]>,
Stefan Monnier  <[EMAIL PROTECTED]> wrote:
>To me the main problem is more profound:  the inability to have a single
>executable working with both glibc-2.1 and glibc-2.0 makes NFS sharing
>painful.  Yes, there are workarounds, of course, but the libc5 to libc6
>switch was much less painful from a syadmin point of view.

I don't understand. Doesn't an incompatible new version of a library
come out with a different soname? Why can't you have multiple versions
of the library? You're wasting a bit of disk and memory, but that's all.

RPM should have an option (probably on by default) to not completely
delete a package that provides a library that is still referenced when
doing an update with a newer version of that package, unless the new
package replaces the same version of the library.

The dynamic loader could also be smarter (perhaps it is in the latest
release, I'm still using 2.0). If the specified library version isn't
available, attempt to load a newer one (with the same major version
number). Of course, you can get a similar effect just by creating a
symbolic link for the non-existent libraries.

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

From: James Bean <[EMAIL PROTECTED]>
Subject: Re: Stefan Monnier <[EMAIL PROTECTED]>
Date: Wed, 19 May 1999 17:29:11 +0000

Nick Bailey wrote:
> 
> I saw your post on c.o.l.dev.sys ("Glibc rant") and I hope you don't
> mind this unsolicited mail...
> 
> I have RH5.2 at home, v. old slackware+RH5.2+debian (glibc2.0) at work,
> and have fear in upgrading to RH6.  I'd like kernel 2.2 (which RH6
> doesn't have yet) because it looks like ufs will be homing in on that
> one, and we have CDRWs.
<snip> 
> Nick/
hi,
I stayed with 5.2 and upgraded through the 2.2 kernels to 2.3.  The
RedHat web page has instructions on upgrading to 2.2.x which work fine.
I don't intend to upgrade to RH 6.0 because I use gnat and don't want
to get into the c library war crossfire.
cheers  Jim Bean
> 
> --
> Dr. N.J.Bailey-----------------------------------------------
> Lecturer in Electronic and Electrical Engineering
> University of Leeds, Woodhouse Lane, Leeds,
> LS2 9JT. UK.-------------------------------------------------
> http://www.ee.leeds.ac.uk/homes/NJB/


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

From: [EMAIL PROTECTED] (Steve Peltz)
Crossposted-To: gnu.misc.discuss
Subject: Re: Glibc rant
Date: 19 May 1999 10:15:13 GMT

In article <[EMAIL PROTECTED]>,
David T. Blake <[EMAIL PROTECTED]> wrote:
>glibc2.0.7 and glibc2.1 both create the same soname file -
>libc.so.6

Well, at least with RedHat's Manhattan version of glibc 2.0.7 release
19 for the Alpha, it creates it as libc.so.6.1...I'm not sure why it
is different for the Alpha, as the same release for Intel is simply
libc.so.6, as you say.

Didn't RedHat have to use glibc for the Alpha release, and wouldn't that
have caused them major headaches to be trying to support patch sets for
only Alpha to fix things to work with glibc? I can see that as one good
reason to have switched to glibc even if it wasn't stable.

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

From: [EMAIL PROTECTED] (Petri Kaukasoina)
Subject: Re: never reboot to upgrade ?
Date: 19 May 1999 20:02:26 GMT

G. Sumner Hayes <[EMAIL PROTECTED]> wrote:
>You should be able to get everything but init to use the new ones by
>stopping all the system daemons and then starting them again.

init too: 'telinit u'. Since some init version which I don't remember.

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

From: Marcus Sundberg <[EMAIL PROTECTED]>
Subject: Re: Intentions on Kernel 2.4
Date: Wed, 19 May 1999 11:47:18 +0200

Vasco Figueira wrote:
> I would like to know what are the main goals on the future stable version
> 2.4.
> What does Linus intend to implement?

Whatever he thinks is good and comes to think of/gets sent to him
by contributors.

> More ports to another arquitectures?

Yes.

> More filesystems?

Yes.

> Better performance?

Yes.

//Marcus
-- 
===============================+====================================
        Marcus Sundberg        | http://www.stacken.kth.se/~mackan/
 Royal Institute of Technology |       Phone: +46 707 295404
       Stockholm, Sweden       |   E-Mail: [EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Jacek Pop�awski)
Subject: alsa - is it a way to kick out module?
Reply-To: [EMAIL PROTECTED]
Date: 19 May 1999 21:20:49 GMT

  Sometime (f.e. when i run quake) my sound driver - ALSA - become broken,
and I can't write no more to /dev/dsp. fuser tells nothing... when I try
to restart ALSA DRIVER it says:

Shutting down sound driver: rmmod: snd-pcm1-oss: Urz�dzenie lub zasoby s� zaj�te
rmmod: snd-gusclassic: Urz�dzenie lub zasoby s� zaj�te
rmmod: snd-gus is in use
rmmod: snd-timer is in use
rmmod: snd-synth is in use
rmmod: snd-pcm1 is in use
rmmod: snd-pcm is in use
rmmod: snd-midi is in use
rmmod: snd-mixer is in use
rmmod: snd is in use

  I don't know how to remove that modules. Can I do it without reboot?

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

From: [EMAIL PROTECTED] (Nick Bailey)
Subject: Stefan Monnier <[EMAIL PROTECTED]>
Date: Wed, 19 May 1999 10:39:20 +0100 (BST)

I saw your post on c.o.l.dev.sys ("Glibc rant") and I hope you don't
mind this unsolicited mail...

I have RH5.2 at home, v. old slackware+RH5.2+debian (glibc2.0) at work,
and have fear in upgrading to RH6.  I'd like kernel 2.2 (which RH6
doesn't have yet) because it looks like ufs will be homing in on that
one, and we have CDRWs.

But I can't actually find any changes list or faqs about 2.1 probs!
I've got a few quite old bin RPMs from RH5.2 contributors: xview (sorry
8-), hugs and the glasgow haskell compiler to name but a few, and
although source rebuilds would be possible, it would be a damn waste of
time.  Do you know how to find out what breaks and why?  You mention
XEmacs (part of powertools, so I suppose some RPMer will fix it pretty
soon if not already) and egcs (which we use already): i'm guessing
you're talking about template probs with the latter?

Any info/comments you have would be most helpful 8-)

Thanks,

Nick/


--
Dr. N.J.Bailey-----------------------------------------------
Lecturer in Electronic and Electrical Engineering
University of Leeds, Woodhouse Lane, Leeds,
LS2 9JT. UK.-------------------------------------------------
http://www.ee.leeds.ac.uk/homes/NJB/




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

From: "Juan Manuel Garrido" <[EMAIL PROTECTED]>
Subject: Help on a script
Date: Tue, 18 May 1999 22:59:08 +0200

Hi everybody:

Need some help...
I've got to develope a script a bit difficult. (at least for me).
The script must obtain in a file the frequency which pair of words appear in
a FAQ. The file must contain something like this...

73    of        the
64    in        the
53    do      I
51    os      linux
50    comp os
48    I          get
......

The file is sorted by frequencies. I guess that I must use commands like tr,
tail, paste, sort, uniq, ....but I can't find the way.

Please some help...I've been investigating for a week and I'm getting mad.

Thanks in advance.




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

From: [EMAIL PROTECTED] (Jason Neudorf)
Subject: Re: Changes in signals (kernel > 2.2.1) ?
Date: 19 May 1999 15:57:16 -0400

>
>Not sure it's clear from Andreas' message, but designated initializers
>aren't portable either; they'll work with GCC and they'll be in the next
>C standard, but most C compilers don't support them yet.
>
>Just initialize using normal assignment; it's The Right Thing To Do.
>

My attempts to initialize using normal assignments don't seem to work.  I'm
more and more convinced that there are significant* changes in signal handling
between 2.2.1 and 2.2.9 (probably at 2.2.5).

Programs that don't work under 2.2.9 work when rebooted back to 2.2.1

What was changed?


*significant--affecting ME (or anyone else, since this is a production
release).

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

From: [EMAIL PROTECTED] (Nick Bailey)
Subject: Re: Stefan Monnier <[EMAIL PROTECTED]>
Date: Wed, 19 May 1999 12:22:37 +0100 (BST)

Well, 10/10 moron points to me: pressed the wrong button and sent the
email to the newsgroup!  Sorry abou that.

Hope I don't get flamed for wasting bandwidth 8-)

Nick/



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

From: "Ross Vandegrift" <[EMAIL PROTECTED]>
Subject: Re: Hostile Takeover of Linux
Date: Wed, 19 May 1999 21:03:49 -0400

(This message is in UTF-8 format, due to the nature of an example provided
below.  I imagine that some servers and readers won't be able to read it
properly, because of this.  Sorry.)

>Huh?  What's 8-bit ASCII?  There is no such beast.  256 is the *WRONG*
>answer, always has been and always will be.

No, 256 could be a correct answer, though 8-bit ASCII is properly called
Extended ASCII.  It is charset ISO Latin-1.  It is 8 bits wide, with the
extra
characters used for non-english letters.

>There are 95 printable characters and 33 control characters.

In traditional ASCII (the 7-bit version) there are.  See above.

>If "8-bit is the norm" what is the character with (decimal) code 128?

The charecter `C' with a squiggle under it: (�).

A quick web search on Extended ASCII turned up this decent looking page:
http://www.johnco.cc.ks.us/~mfoster/ascii.html

--
Ross Vandegrift
(Who is unable to provide a witty .sig due to being in Windows)



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

Date: Wed, 19 May 1999 13:24:29 +0200
From: Alex Rhomberg <[EMAIL PROTECTED]>
Subject: Re: Help on a script

Juan Manuel Garrido wrote:
> 
> Hi everybody:
> 
> Need some help...
> I've got to develope a script a bit difficult. (at least for me).
> The script must obtain in a file the frequency which pair of words appear in
> a FAQ. The file must contain something like this...
> 
> 73    of        the
> 64    in        the
> 53    do      I
> 51    os      linux
> 50    comp os
> 48    I          get
> ......
> 
> The file is sorted by frequencies. I guess that I must use commands like tr,
> tail, paste, sort, uniq, ....but I can't find the way.

I guess that you must use commands like perl :-)

I wrote the following script (can you guess I'm not in the mood to do
what I should?)

Have fun
- Alex
################################################cut
here####################
#!/usr/local/bin/perl -w

undef $/; #read a whole file at once.

my @list;
my %firstword;


while(<>)
  {
    @list = split (/\W+/); #split the whole list into words
    
    for (0..$#list-1) { # for every word except the last
      # Do some checks on the word (if we like it)
      # do some checks on the next word

      # %firstword is a hash with first words as key and a reference to 
      # a second hash as value
      # the second hash has the second word of the pair as key and 
      # the hit count as value
      
      $firstword{$list[$_]}->{$list[$_+1]}++; #increment the paircount
      # if the hash doesn't exist, it is generated on the fly
        
    }
  }

foreach my $firstw (keys %firstword) {
  my %paircount = %{$firstword{$firstw}};
  foreach (keys %paircount) {
    print "$paircount{$_}\t$firstw\t$_\n";
  }
}
################################################cut
here####################

Output it produces:
beethoven:~/perl% echo "a rose is a rose is a rose" > tmpfile
;countpairs tmpfile
2       rose    is
3       a       rose
2       is      a


-- 
  _________________________________________________________________
 /                                                                 \
|  Alex Rhomberg                           Tel: +41 1 632 49 18     |
|  Institut fuer Elektronik                Fax: +41 1 632 12 10     |
|  ETH Zuerich                        Zentrale: +41 1 632 11 11     |
|  Gloriastrasse 35                                                 |
|  8092 Zuerich               email: [EMAIL PROTECTED]        |
 \_________________________________________________________________/

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

From: d s f o x @ c o g s c i . u c s d . e d u (David Fox)
Subject: Re: Stefan Monnier <[EMAIL PROTECTED]>
Date: 19 May 1999 05:54:18 -0700

[EMAIL PROTECTED] (Nick Bailey) writes:

> I have RH5.2 at home, v. old slackware+RH5.2+debian (glibc2.0) at work,
> and have fear in upgrading to RH6.  I'd like kernel 2.2 (which RH6
> doesn't have yet) because it looks like ufs will be homing in on that
> one, and we have CDRWs.

My advice is to install it into a spare partition and see how it
works.  I still don't trust upgrades.
-- 
David Fox           http://hci.ucsd.edu/dsf             xoF divaD
UCSD HCI Lab                                         baL ICH DSCU

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


** 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: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.development.system) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Development-System Digest
******************************

Reply via email to