Linux-Misc Digest #886, Volume #23               Sat, 18 Mar 00 19:13:02 EST

Contents:
  Re: 2 hard disk setup (Stewart Honsberger)
  Re: Salary? (The Ghost In The Machine)
  printer problem (The Dude)
  Re: IBM Turbo 16/4 Token-Ring ISA (Charlie Brown)
  Re: real-time threads (Johannes Nix)
  Re: Do you hate vi?  vi or vim?  Deathmatch! (Johan Kullstam)
  Re: Unix commands (Johannes Nix)
  Weird overnight error message (Jeff Cunningham)
  isdnrep I4L
  Re: Books (David Steuber)
  Will USB--ENET adaptors work under linux (Ronald Haynes)
  Re: upgrade glibc after gcc? (Johannes Nix)
  Problems logging in at ISP (=?iso-8859-1?Q?Dani=EBl=20H=F6rchner?=)
  Re: Best way to find out the cpu load or computer load? (Johannes Nix)
  Re: Real player 7 on RH 6.1 / KDE2 (Alex)
  Re: AOpen .. Lothar (Alex)
  Re: Cant detect printer port (Jeff Roediger)
  Re: printer problem (Bastian)
  Re: Will USB--ENET adaptors work under linux (Dances With Crows)

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

From: [EMAIL PROTECTED] (Stewart Honsberger)
Subject: Re: 2 hard disk setup
Reply-To: [EMAIL PROTECTED]
Date: Sat, 18 Mar 2000 22:11:39 GMT

On 18 Mar 2000 11:33:51 EST, Dances With Crows wrote:
>>How could Linux "contaminate" any other OS's setup, except via PEBKAC
>>errors?!?
>
>...there are *always* pleas for help from people who installed LILO on the
>MBR of a hard disk used in a dual-boot system, decide they don't like
>Linux, remove it, and are still confronted with a LILO prompt on bootup.

"fdisk /mbr". Or, in the case of OS/2, "fdisk /newmbr".

>>>Oddly enough, having WinXX on the slave drive won't break WinXX!
>>Win'9x must be installed to the first visible primary partition. Have you
>>ever suceeded in having Win'9x installed to a logical partition?
>
>No.  But if the Linux disk has no FAT partitions, it will be "invisible"
>to Win9x.... hence the first primary partition on the Win9x disk will be
>mounted as C:, just like before (at least in my experience.)

You mentioned, I believe, Linux having problems being contained on the
second HDD. I was simply pointing out that Linux can be installed wherever
your heart desires. I've had it installed (and know others who have it
installed) in logical partitions on any assortment of HDDs. Second drive,
first/second/third SCSI drive.

-- 
Stewart Honsberger (AKA Blackdeath) @ http://sprk.com/blackdeath/
[EMAIL PROTECTED]  (Remove 'thirteen' to reply privately)
Humming along under SuSE Linux 6.0 / OS/2 Warp 4

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

From: [EMAIL PROTECTED] (The Ghost In The Machine)
Crossposted-To: comp.os.linux.networking,comp.os.linux.advocacy
Subject: Re: Salary?
Date: Sat, 18 Mar 2000 22:12:45 GMT

In comp.os.linux.advocacy, Donovan Rebbechi <[EMAIL PROTECTED]>
wrote on 18 Mar 2000 17:58:59 GMT <[EMAIL PROTECTED]>:
>On Sat, 18 Mar 2000 16:00:43 GMT, Stewart Honsberger wrote:
>>On Thu, 16 Mar 2000 22:08:18 +0100, Matthias Warkus wrote:
>>>what is affirmative action again?
>>
>>"White males need not apply."
>
>Bullshit. Then again, what can we expect from someone who cites Howard 
>Stern in his arguments ?

"Argument by kielbasa"? :-)

[.sigsnip]

ObLinux: Does Howard Stern use Linux anywhere in his organization?

-- 
[EMAIL PROTECTED] -- or was that "argument by private parts"?

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

From: The Dude <[EMAIL PROTECTED]>
Subject: printer problem
Date: Sat, 18 Mar 2000 22:11:13 GMT

hi guys,
I tried setting up printer on two of my machines and for some reason
each time I run the printtool it gives me that message that it couldn't
find any printers on /dev/lp0 to lp2.
the printer are connected to the paralel port on both machines.
I'm using RedHat 6.1.
pls HELP.

--
Regards
The Dude


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: Charlie Brown <[EMAIL PROTECTED]>
Subject: Re: IBM Turbo 16/4 Token-Ring ISA
Date: Sat, 18 Mar 2000 22:37:46 GMT

You may have to run "lanaid" (should come with the ibm disks) to set
the card to non-pnp, non-enhance, mode. I had trouble with mine until
I did this.

--Joe

On Wed, 15 Mar 2000 15:46:42 GMT, [EMAIL PROTECTED] (Lew
Pitcher) wrote:

>On Wed, 15 Mar 2000 15:30:16 GMT, Tobi <[EMAIL PROTECTED]> wrote:
>
>>I am setting up Suse 6.3 (Kernel 2.2.13) with the
>>IBM Turbo 16/4 Token-Ring ISA  card. The system doesn`t recognize this 
>>card.
>>
>>Is this card supported ? 
>>Anybody got this card working? I am desperate for an answer.
>>Any help will be appreciated.
>>Tobi
>
>The "ibmtr" driver comes with the Linux kernel. It works well for me.
>
>
>
>Lew Pitcher
>System Consultant
>Toronto Dominion Financial Group
>
>([EMAIL PROTECTED])
>
>
>(Opinions expressed are my own, not my employer's.)


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

From: Johannes Nix <[EMAIL PROTECTED]>
Subject: Re: real-time threads
Date: 18 Mar 2000 23:40:15 +0100

Suresh Kannan <[EMAIL PROTECTED]> writes:

> 
> How can I spawn real-time posix threads in linux without being root.
> I have a piece of software that spans rt threads and it will not let me
> do it unless I am root.
> 

Actually, this are two separate things: forking threads (implemented
as POSIX pthreads) and setting POSIX real-time scheduling. Another
thing related is memory locking, that is to prevent that virtual
memory from the process becomes paged out to disk, which could render
real-time scheduling useless.

A process needs root privileges to set real-time scheduling. However,
scheduling (contrarily to memory locking) is inherited by childs.

You could ask the system administrator to install the "rt" command
with set-uid root and allow execution to your group. This command sets
real-time scheduling, then drops root privileges and executes the
desired command. It could be used e.g. to burn CD's on a smallish
overloaded 586.

Generating threads then does not require root privileges. It may be
however that some threads lock memory, in this case the program needs
root privileges. Perhaps the system administrator is inclined to allow
you execution via the sudo or super commands.

To get "rt", you could seek freshmeat or mail to the maintainer,
Dmitry Fedorov: [EMAIL PROTECTED]

Beware: A program with real-time scheduling which enters an endless
loop, will cause the whole system to stop and possibly force a system
reset. Be sure your program is ok.

If the program is yours, consider setting the setuid-bit and using
seteuid() and that stuff, see the code in rt.c.

Johannes

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

Crossposted-To: uk.comp.os.linux,comp.editors,comp.unix.misc
Subject: Re: Do you hate vi?  vi or vim?  Deathmatch!
From: Johan Kullstam <[EMAIL PROTECTED]>
Date: Sat, 18 Mar 2000 22:42:28 GMT

[EMAIL PROTECTED] (Nick Kew) writes:

> In article <[EMAIL PROTECTED]>,
>       "Tim Haynes" <[EMAIL PROTECTED]> writes:
> > Shyamal Prasad <[EMAIL PROTECTED]> writes:
> > 
> >> Really? Memory and resource hog? 
> >>   PID USERNAME THR PRI NICE  SIZE   RES STATE   TIME    CPU COMMAND
> >>   687 exushml    1  23    0   17M   15M sleep  13:36  1.18% xemacs-20.4
> 
> A major hog indeed.  Now I get along nicely with:
> 
>   1245 nick       0   0   620  620   440 S       0  0.1  0.6   0:00 vi
> 
> Actually what put me off emacs for several years was no less than that
> stupid tutorial - by the time it's told me how to hold the mouse (or
> whatever the irrelevant crap it starts with really is) I've got fed up.
> With vi, the quick reference card was an ideal intro.

fwiw emacs has had a refcard for what seems like forever.  look in the
etc section of the install share.  in my case
/usr/share/emacs/20.4/etc.

> I still find those multikey (M-x) sequences too much like hard work
> for general-purpose text editing.

i admit that the keychord bit isn't always the best ergonomic design
either.  otoh, you can always use vi keys in emacs via viper-mode.

-- 
J o h a n  K u l l s t a m
[[EMAIL PROTECTED]]
Don't Fear the Penguin!

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

From: Johannes Nix <[EMAIL PROTECTED]>
Subject: Re: Unix commands
Date: 18 Mar 2000 23:51:45 +0100

[EMAIL PROTECTED] (Bit Twister) writes:

> try      man -k '('
> 
> 

On my box it's 

man -k - | less

;-)

Johannes

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

Crossposted-To: comp.os.linux.setup
From: Jeff Cunningham <[EMAIL PROTECTED]>
Subject: Weird overnight error message
Date: Sat, 18 Mar 2000 22:13:15 GMT

I recently set up a Redhat 6.1 linux system and am getting a weird error
message when I leave it turned on overnight. The circumstances are that
no one is logged into into it and I have no unusual processes running.
When I look at the screen in the morning it has the following error
message repeated over and over again like this:

"Directory sread (sector 0x20) failed"
"Directory sread (sector 0x20) failed"
"Directory sread (sector 0x20) failed"
"Directory sread (sector 0x20) failed"
"Directory sread (sector 0x20) failed"
"Directory sread (sector 0x20) failed"
"Directory sread (sector 0x20) failed"
"Directory sread (sector 0x20) failed"

There is no cursor, but if it hit "Enter" a normal log on prompt comes
up and it behaves like nothing is the matter. 

Does anyone have any idea what's wrong and how to fix it?

Thanks.

Jeff

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

From: <[EMAIL PROTECTED]>
Subject: isdnrep I4L
Date: Sat, 18 Mar 2000 21:30:04 GMT

At my new SuSE 6.3 Installation i cannot use the isdnrep as another user
than root. Whit any other name it is called but delivers no answer.


What did i do wrong ?

Stefan

--
Posted via CNET Help.com
http://www.help.com/

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

Subject: Re: Books
From: David Steuber <[EMAIL PROTECTED]>
Date: Sat, 18 Mar 2000 22:59:59 GMT

"blind" <[EMAIL PROTECTED]> writes:

' Which is the best overall book for generic Linux???  I've been looking at
' "Linux Unleashed", and "Mastering Linux Deluxe Edition" (or something like
' that).

There is no best book.  However, you might want to look at "A
Practical Guide To Linux" By Mark G. Sobell, published by Addison
Wesley (they don't do bad books).  ISBN: 0-201-89549-8.

-- 
David Steuber   |   Hi!  My name is David Steuber, and I am
NRA Member      |   a hoploholic.

http://www.packetphone.org/

Vote anarchist

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

From: Ronald Haynes <[EMAIL PROTECTED]>
Subject: Will USB--ENET adaptors work under linux
Date: Sat, 18 Mar 2000 15:00:19 -0800

Hi, I am contemplating various network options
to establish an ADSL connection here at home.
I currently run a win98/ Suse Linux 6.1 system,
and would rather have a network option which works well
under both systems.

One appealing option is an USB Network adaptor.
Does linux support such hardware?

Thanks for any information, please email response
to 
        [EMAIL PROTECTED]
as well as cc to the group for others.

Thanks,
R Haynes

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

From: Johannes Nix <[EMAIL PROTECTED]>
Subject: Re: upgrade glibc after gcc?
Date: 19 Mar 2000 00:01:48 +0100

[EMAIL PROTECTED] (Martijn Brouwer) writes:

> Recently I upgraded gcc from 2.7.2.3 to 2.95.2. Is there any reason to upgrade 
> the c libraries too? I did not yet do it because it costs much time and to me 
> it seems quite dangerous.
> 

I think it isn't necessary. For gcc the glibc is just a library the
compiler uses. For your OS, it is nearly at the hearth of the system,
just one level above the kernel.

You can't update the libc on a running system because it is used
everywhere. You would have to boot a rescue system. It is easy to
cause a mess.

Also, if you do a major version upgrade of libc, some programs,
perhaps important ones like the shell, won't work any more. It would
be better and much easier to do a complete distribution upgrade.

Johannes


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

From: =?iso-8859-1?Q?Dani=EBl=20H=F6rchner?= <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,alt.os.linux,alt.os.linux.dial-up
Subject: Problems logging in at ISP
Date: Sun, 19 Mar 2000 00:09:33 +0100

Hello,
I am trying to configure a dialup account, but I ran into the
following problem. After half a minute I get the following messages in
my
/var/log/messages:
Last messages after logging in (?):
Mar 10 14:45:12 localhost pppd[622]: Serial connection established.
Mar 10 14:45:12 localhost pppd[622]: Using interface ppp0
Mar 10 14:45:12 localhost pppd[622]: Connect: ppp0 <--> /dev/modem

After half a minute:
Mar 10 14:45:43 localhost pppd[622]: LCP: timeout sending
Config-Requests 
Mar 10 14:45:43 localhost pppd[622]: Connection terminated.
Mar 10 14:45:43 localhost pppd[622]: Connect time 0.6 minutes.
Mar 10 14:45:43 localhost pppd[622]: Receive serial link is not 8-bit
clean:
Mar 10 14:45:43 localhost pppd[622]: Problem: all had bit 7 set to 0
Mar 10 14:45:44 localhost pppd[622]: Exit.

What does this mean and how do I solve it?

Thanks in advance,
Daniel Horchner

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

From: Johannes Nix <[EMAIL PROTECTED]>
Subject: Re: Best way to find out the cpu load or computer load?
Date: 19 Mar 2000 00:29:19 +0100

mike <[EMAIL PROTECTED]> writes:

> Hi,
>     What is the best indicator to show what the load is on the
> computer in terms of its ability to run programs?
> 
>                                             Mike

A small linux box could run many, many programs at once, I would guess
many hundreds. I guess you are wondering to know how much programs
share CPU time.

Type "w" at the shell prompt. The load values are the average value of
processes waiting for being run averaged over 1, 5 and 15 Minutes
(correct me if I am all wrong).

If you don't fell happy without GUI, start top, qps, ktop, kpm or so.

There are other, and frequently more restricted ressources than CPU
time, especially memory.  If your system has much CPU but few memory,
vmstat and "ps v" may give a better insight about what's going on. You
would look at the swap/si and swap/so fields of vmstat and at the
RSS/MEM field of ps. I don't know if there exists an GUI version of
vmstat.

Johannes

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

From: Alex <[EMAIL PROTECTED]>
Subject: Re: Real player 7 on RH 6.1 / KDE2
Date: Sat, 18 Mar 2000 18:46:25 -0500

I installed the RPM and it worked great. Did you check your sound
modules ?

Donovan Rebbechi wrote:
> 
> That just about says it. I have tried to install the Realplayer
> 7 RPM thats "for RH 6.0" from real.com. I am not getting any sound.
> 
> What gives ? Anyone got it working ?
> 
> TIA,
> --
> Donovan

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

From: Alex <[EMAIL PROTECTED]>
Subject: Re: AOpen .. Lothar
Date: Sat, 18 Mar 2000 18:48:13 -0500

I have the same modem an it worked great with Windoze 98, Linux RH 5.2
and RH 6.1. Just link you modem to the /dev/ttyS? you need and you are
good to roll.


Duane Evenson wrote:
> 
> I'm familiar with the FM56-P as I was trying to find out if my FM56-H
> was a winmodem. The P is the successor to the H and they share the
> same chipset, Rockwell's RLVDL56DPF/SP. AOpen called their FM56-P a
> controller-less modem (Winmodem). The FM56-PVS has the TI TMS320X2APJ
> chipset, a different beast. Check out AOpen's web pages:
> FM56-P Data Sheet
> MM FAQs-F/M, FM56-P  (where AOpen answers your question)
> 
> 
> 
> [EMAIL PROTECTED] wrote:
> 
> > >    I am using Mandrake 7 and I have an AOpen FM56-P  (which I
> > believe
> > >is NOT a winmodem) ... the manufacturer says that it's not
> > >Linux-compatible; however, when I went out to buy anAOpen FM
> > 56K/ITU-2
> > >ISA internal yesterday, the salesperson told me that he is using
> > the
> > >FM56-P on Mandrake 7, and it works fine for him!! ... he said he
> > used
> > >Lothar ... I tried it last night .. but still Lothar shows no modem
> >
> > >whatsoever ...
> > >
> > >    Has anyone done it successfully?? .. or do I need a more
> > updated
> > >Lothar (I have the Jan version)??
> >
> >     I have a AOpen FM56-PVS (or something like that) and I think
> > that it's
> > great. I've had no problem, just set it for com2 and it works fine.
> > Try using
> > minicom to see if the modem is working, that way you can change the
> > speed and
> > port quickly and easily to check.
> >
> >                                                             -John
> >
> > ps. try /dev/ttyS0 for com1, ttyS1 for com2 not /dev/modem since it
> > may not be
> > linked correctly, then $ln /dev/ttyS? /dev/modem when you get it
> > working if
> > you really want to.

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

From: Jeff Roediger <[EMAIL PROTECTED]>
Subject: Re: Cant detect printer port
Date: Sat, 18 Mar 2000 16:41:28 -0700

Mark

I'm having the same problem with R/H 6.1. I noticed that "the dude" also
posted the same type of msg.
I've been playing with several distro of Linux, Mandrake 4.0 and R/H 6.0
and the printtool on both of those detects the lp0 and prints to my old
tandy dot matrix printer. Sure enough with 6.1 I get the not detected
msg.
A bug in the program maybe?
I've searched every place I can think of for info on this and cannot
find anything. I was just going to post a help msg when I saw your and
the dude's. If you find a fix pls let me know. If I come across one I
pass it on to ya.

Regards
jeff


[EMAIL PROTECTED] wrote:
> 
> I'm trying to set up my (old as hell) laser printer in RH 6.1 . I know
> the printer works fine because it works fine when I'm in Win98. When I
> had RH6.0 printool could detect the port okay, but I never got the driver
> working properly and just used to get PS errors all the time. But now,
> linux totally refuses to believe that there is any type of printer
> attached to *any* lpt port. I'm stuck for ideas... I think the printer is
> something like an old HP laser III or something.
> Cheers in advance,
> Mark

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

From: [EMAIL PROTECTED] (Bastian)
Subject: Re: printer problem
Date: 18 Mar 2000 23:46:39 GMT

On Sat, 18 Mar 2000 22:11:13 GMT, The Dude wrote:
>hi guys,
>I tried setting up printer on two of my machines and for some reason
>each time I run the printtool it gives me that message that it couldn't
>find any printers on /dev/lp0 to lp2.
>the printer are connected to the paralel port on both machines.
>I'm using RedHat 6.1.
>pls HELP.
>

I had similar problems with Mandrake 7 (it's based on redhat, so it'll
probably help you too). The printtool opened my CDROM tray before it told
me that there are no printers. After I installed the rhs-printfilters
everything worked fine. The printtool even run without a printer connected.

Bastian




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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Will USB--ENET adaptors work under linux
Date: 18 Mar 2000 18:56:04 EST
Reply-To: [EMAIL PROTECTED]

[posted and mailed]
On Sat, 18 Mar 2000 15:00:19 -0800, Ronald Haynes 
<<[EMAIL PROTECTED]>> 
shouted forth into the ether:
>Hi, I am contemplating various network options
>to establish an ADSL connection here at home.
>I currently run a win98/ Suse Linux 6.1 system,
>and would rather have a network option which works well
>under both systems.
>One appealing option is an USB Network adaptor.
>Does linux support such hardware?

>From looking at http://www.linux-usb.org , the following USB-Ethernet
adapters are listed as "experimental":
     ADMtek Pegasus Ethernet-10/100/HomePNA
     (Accton USB 10/100, Billionton USB100, D-Link, LinkSys
     USB100TX, Melco LU-ATX, SMC 2202USB, Xircom)
That means they will certainly not be as easy to set up as you hope, even
if they do work at all.

If you want to get this done Right Now, forget USB entirely and go pick
up a PCI network card.  That will probably be cheaper than USB.  Many
cards that use the DEC Tulip chipset are fairly cheap ($30 US) and very
well-supported.  Problem is, many manufacturers don't publicize the
chipset used on the cards.  Any PCI card that advertises itself as "NE2000
Compatible" will work, but it might not be the best choice wrt
performance.  Just about every 3Com card is supported, but you'll pay
more.

If you're worried about opening your computer up and plugging the card in,
*don't be!*  Get a 12-year-old to do it for you.  Or check the Ars
Technica guide about this subject...
   http://www.arstechnica.com/guide/building/cards-3.html
HTH,

-- 
Matt G / Dances With Crows              \###| Programmers are playwrights
There is no Darkness in Eternity         \##| Computers are lousy actors
But only Light too dim for us to see      \#| Lusers are vicious drama critics
(Unless, of course, you're working with NT)\| BOFHen burn down theatres.

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


** 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.misc) 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-Misc Digest
******************************

Reply via email to