Linux-Setup Digest #201, Volume #20 Mon, 11 Dec 00 10:13:08 EST
Contents:
Re: What is the command to . . . ? (Josef Moellers)
Re: About Starting ONE kernel from WITHIN another? (Igor)
RedHat flashing login (Steven John Romej)
Re: About Starting ONE kernel from WITHIN another? (-ljl-)
Re: Sound: almost there... i think ("Gene Heskett")
Re: RH7 Install Crashes (Steve Martin)
Re: About Starting ONE kernel from WITHIN another? (Bruce Stephens)
Re: About Starting ONE kernel from WITHIN another? (Daniel Haude)
Re: About Starting ONE kernel from WITHIN another? (Daniel Haude)
Re: What is the command to . . . ? ([EMAIL PROTECTED])
VT100 terminal to COM1 (Scott Ashley)
missing program ("theguy")
Re: About Starting ONE kernel from WITHIN another? (Igor)
Re: HELP !!! Lots of setup problems!!! (Michael Perry)
Re: About Starting ONE kernel from WITHIN another? (Igor)
Re: About Starting ONE kernel from WITHIN another? (Igor)
----------------------------------------------------------------------------
From: Josef Moellers <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux.mandrake,alt.os.linux.slackware,alt.uu.comp.os.linux.questions,comp.os.linux.development.system,comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.hardware
Subject: Re: What is the command to . . . ?
Date: Mon, 11 Dec 2000 14:07:43 +0100
Sebastian Hans wrote:
> =
> Josef Moellers wrote:
[ ... ]
> > These solutions won't tell where they found the match.
> > Markus' solution can be enhanced to do that:
> > find . -name '*.txt' -exec grep "Hello World" {} \; -print
> =
> But this will always print the filename, even if the string is not foun=
d
> in the file.
No, it will not. The three items (terms?)
-name '*.txt'
-exec grep "Hello World" {} \;
-print
are implicitly connected by -a (and) operators and short-circuited.
Thus grep will only be exec-ed if the name matches '*.txt' and the name
will only be print-ed if the grep is exec-ed and returns "true" (i.e.
exits with 0) which it only does if matches were found.
-- =
Josef M=F6llers (Pinguinpfleger bei FSC)
If failure had no penalty success would not be a prize (T. Pratchett)
------------------------------
From: [EMAIL PROTECTED] (Igor)
Crossposted-To: comp.os.linux.misc
Subject: Re: About Starting ONE kernel from WITHIN another?
Date: 11 Dec 2000 13:22:23 GMT
Reply-To: [EMAIL PROTECTED]
Uwe Bonnes <[EMAIL PROTECTED]> wrote:
* In comp.os.linux.misc Igor <[EMAIL PROTECTED]> wrote:
* : In DOS, there is a program LOADLIN.EXE, which allows me to start
* : an arbitrary version of linux from within DOS.
*
* : What I want is to be able to start (switch to) another version
* : of kernel from within linux itself. I do not mean just switching
* : a kernel at runtime with all apps still running, I understand
* : that it is impossible. I would like to just kind of boot to another
* : server.
*
* : The reason for it is that I have a remote colocated server on which I
* : would like to try various kernels. But I want it to boot to a stable
* : version of linux. So I cannot just go around and modify lilo.conf all
* : the time.
*
* There is a user-mode linux kernel.
What is it? Where can I get one?
Anyway, perhaps I was not clear. It is OK for me to type some command,
like
run-other-kernel /path/to/other/kernel
which would completely switch me into it, with no return. That's fine.
VMware is much more than what I need (and since I have no access to
the terminal, vmware is of no help)
I just want to do it from the shell, not from lilo.
***********************************************************************
Do your algebra homework at http://www.algebra.com
Solve: x^2+4x+3=0 Plot: y=3*sin(x^2) Ask Questions Word Problems
***********************************************************************
------------------------------
From: Steven John Romej <[EMAIL PROTECTED]>
Subject: RedHat flashing login
Date: 11 Dec 2000 13:20:41 GMT
I created a big linux partition using partition magic while in Windows. I then
restarted and booted from my
RedHat 6.2 CD and did a workstation install with Gnome. When I restarted after the
install, and LILO: popped
up, I entered Linux and the sytem started to boot and presented a bunch of checks and
[OK]'s. After that, the
localhost login screen appeared for me to log in at. This login screen then
disappeared and reappeared,
repeatedly. It just keeps flashing slowly and won't really allow me to input
anything. I Ctrl-Alt-Del to
restart the computer.
Then I boot the dos option from LILO, and windows starts. Only it starts in 16 color
mode and tells me that
my video card is not configured properly. WTF?
Can anyone think of any options (I did a workstation install, so there weren't many
given to me) that I may
have checked that would cause any of this. I have a TNT2 based card that was detected
and I entered the
monitor refresh rates straight from the manual.
NOTE: I had tried Corel before and had it working, with the exception that many text
fields were blacked out
(common problem due to my video card). I bought the new card with the hope that I
could finally get something
working right.
thanks!
--
Steven J. Romej
Georgia Institute of Technology, Atlanta Georgia, 30332
Email: [EMAIL PROTECTED]
------------------------------
From: -ljl- <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: About Starting ONE kernel from WITHIN another?
Date: Mon, 11 Dec 2000 13:22:44 GMT
In article <912h5v$cqt$[EMAIL PROTECTED]>,
Uwe Bonnes <[EMAIL PROTECTED]> wrote:
> In comp.os.linux.misc Igor <[EMAIL PROTECTED]> wrote:
> : In DOS, there is a program LOADLIN.EXE, which allows me to start
> : an arbitrary version of linux from within DOS.
>
> : What I want is to be able to start (switch to) another version
> : of kernel from within linux itself. I do not mean just switching
> : a kernel at runtime with all apps still running, I understand
> : that it is impossible. I would like to just kind of boot to another
> : server.
>
> : The reason for it is that I have a remote colocated server on which
I
> : would like to try various kernels. But I want it to boot to a stable
> : version of linux. So I cannot just go around and modify lilo.conf
all
> : the time.
>
> There is a user-mode linux kernel.
Where?
--
Louis-ljl-{ Louis J. LaBash, Jr. }
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
Date: 11 Dec 2000 7:25:3 -0500
From: "Gene Heskett" <[EMAIL PROTECTED]>
Subject: Re: Sound: almost there... i think
Unrot13 this;
Reply to: <[EMAIL PROTECTED]>
Gene Heskett sends Greetings to Richard Everhart;
RE> Okay, now I no longer get the message "snd: card is out of range
RE> (0-0)". I was able to install the appropriate packages I was
RE> told I'd need to make my SoundBlaster Live! card work, those
RE> packages being alsa-0.5.8-3.i386.rpm and
RE> alsadrv-0.2.16-75.i386.rpm.
Is this card a different animal from most S-B Live!'s? Alsa isn't
required at all. Its driver has been part of the kernel sources since
about 2.2.16, its called 'emu10k1' in make (menu)(x)config. You might
check for the use of some of the oss stuff, I have that option turned
on, but I'm not sure that it does anything here.
RE> However, I still get no sound whatsoever even though when I run
RE> an application like 'aplay' it behaves as if my sound card is
RE> functioning normally.
RE> Furthermore, when I tried 'cat /dev/sndstat' I got the message
RE> that the device can't be found (not totally sure this is the
RE> correct message). Before, I got actually output which included
RE> information about my sound card.
RE> In addition to this, the following message comes up in the
RE> xconsole: "modprobe: cant't locate module sound-service-0-6"
You'll need to find and do away with the source of that message I
expect, and you'll need to add a line in /etc/modules.conf that looks
like this: (earlier systems may call this conf.modules)
alias sound-slot-0 emu10k1
Thats the synyax for RH7.0, IIRC the slot number isn't part of the
earlier RH's syntax, just "alias sound emu10k1".
If its configured properly, the speakers will click as it comes alive
quite early in the boot procedure long before anything x related can be
run.
RE> Any ideas? Thanks.
RE> Rich
RE> p.s. I use SuSe Linux 6.4, dual boot with Win98SE.
Cheers, Gene
--
Gene Heskett, CET, UHK |Amiga A2k Zeus040, Linux @ 400mhz
email gene underscore heskett at iolinc dot net
#Amiga based X10 home automation program EZHome, see at:#
# <http://www.thirdwave.net/~jimlucia/amigahomeauto> #
ISP's please take note: My spam control policy is explicit!
#Any Class C address# involved in spamming me is added to my killfile
never to be seen again. Message will be summarily deleted without dl.
This messages reply content, but not any previously quoted material, is
� 2000 by Gene Heskett, all rights reserved.
--
------------------------------
From: Steve Martin <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: RH7 Install Crashes
Date: Mon, 11 Dec 2000 13:46:59 GMT
Phil wrote:
> Every time I try to install RH7 from CD it crashes towards the end of
> the install everytime.
If you're booting from the out-of-the-box floppy (including, I assume,
a floppy made from the image on the CD), then it might be due to a bad
boot image. Red Hat has an erratum posted on their site about a problem
with the boot floppy image, and has a pointer to an updated image.
They mention something about disk problems when using the original
boot image.
Hope this helps.
------------------------------
From: Bruce Stephens <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: About Starting ONE kernel from WITHIN another?
Date: 11 Dec 2000 13:45:09 +0000
[EMAIL PROTECTED] (Igor) writes:
> Uwe Bonnes <[EMAIL PROTECTED]> wrote:
[...]
> * There is a user-mode linux kernel.
>
> What is it? Where can I get one?
<http://user-mode-linux.sourceforge.net/>. It lets you run a kernel
as an ordinary user process; it doesn't replace the existing kernel.
> Anyway, perhaps I was not clear. It is OK for me to type some command,
> like
>
> run-other-kernel /path/to/other/kernel
>
> which would completely switch me into it, with no return. That's fine.
> VMware is much more than what I need (and since I have no access to
> the terminal, vmware is of no help)
You want a linux equivalent to loadlin? I don't think such a thing
exists, although I think there's been discussion on the linux-kernel
list before---you could probably look at that to see whether anybody's
written such a thing (or why it's not been done, if that turns out to
be the case).
How about writing a script to edit /etc/lilo.conf, run lilo, and
reboot? Would that be sufficient? You wouldn't need a console for
that (since the normal booting process loads the default kernel after
a configurable delay)---most PCs require a terminal and keyboard on
boot, but if you're running the machine without these, presumably
you've fixed that already.
------------------------------
From: [EMAIL PROTECTED] (Daniel Haude)
Crossposted-To: comp.os.linux.misc
Subject: Re: About Starting ONE kernel from WITHIN another?
Date: 11 Dec 2000 14:03:27 GMT
Reply-To: [EMAIL PROTECTED]
On 11 Dec 2000 12:01:28 GMT,
Igor <[EMAIL PROTECTED]> wrote
in Msg. <[EMAIL PROTECTED]>
| What I want is to be able to start (switch to) another version
| of kernel from within linux itself. I do not mean just switching
| a kernel at runtime with all apps still running, I understand
| that it is impossible. I would like to just kind of boot to another
| server.
|
| The reason for it is that I have a remote colocated server on which I
| would like to try various kernels. But I want it to boot to a stable
| version of linux. So I cannot just go around and modify lilo.conf all
| the time.
|
| Any idea?
Maybe lilo -R will help you; i.e.:
# lilo -R testkernel && reboot
will boot the "testkernel" section of your lilo.conf file exactly once
before falling back to the default kernel. I.e. if your new kernel freezes
you can just reboot to the old kernel without having to touch lilo.conf.
If this doesn't help you I didn't understand your original question ;-)
--Daniel
--
"The obvious mathematical breakthrough would be development of an easy
way to factor large prime numbers." -- Bill Gates, "The Road Ahead"
------------------------------
From: [EMAIL PROTECTED] (Daniel Haude)
Crossposted-To: comp.os.linux.misc
Subject: Re: About Starting ONE kernel from WITHIN another?
Date: 11 Dec 2000 14:06:09 GMT
Reply-To: [EMAIL PROTECTED]
On 11 Dec 2000 13:45:09 +0000,
Bruce Stephens <[EMAIL PROTECTED]> wrote
in Msg. <[EMAIL PROTECTED]>
| How about writing a script to edit /etc/lilo.conf, run lilo, and
| reboot? Would that be sufficient?
Either that or lilo -R, as I pointed out in another post
--Daniel
--
"The obvious mathematical breakthrough would be development of an easy
way to factor large prime numbers." -- Bill Gates, "The Road Ahead"
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To:
alt.os.linux.mandrake,alt.os.linux.slackware,alt.uu.comp.os.linux.questions,comp.os.linux.development.system,comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.hardware
Subject: Re: What is the command to . . . ?
Date: Mon, 11 Dec 2000 14:19:46 GMT
On Mon, 11 Dec 2000 04:30:09 GMT, [EMAIL PROTECTED] wrote:
>I am looking for the command that will help me compare two directory
>structures.
>
>I just did a file copy to an NFS drive and I want to make sure that I
>got everything.
>
>I used
>cp -axv /dev /mnt/vol00
>cp -axv /bin /mnt/vol00
>cp -axv/usr /mnt/vol00
>etc . . .
>
>Doing some sampling, it appears that everything copied okay.
>
>What I am looking for is the equivalent to this
>dos command: dir *.* /s
The diff command will compare two directory structures, recursively.
Gord
------------------------------
From: Scott Ashley <[EMAIL PROTECTED]>
Subject: VT100 terminal to COM1
Date: Mon, 11 Dec 2000 07:39:10 -0700
I need to be able to set up a VT100 terminal to COM 1, so I can access
some telemetry devices. I've looked at term getty, etc..., but I've not
been able to get any ideas on how to do this.
Running Mandrake 7.0 on a Compaq Armada 1760, winmodem (blechhh), 800 X
600 video (sigh).
If I can get this going, I won't have to go into Windows more than once
a week or so...
Thanks, Scott
===========================================================
" I'll leave now, Captain. It looks like you're about to go where
everyone has
gone before."
Cmdr Susan Ivanova, Babylon 5
(Convictions)
===========================================================
------------------------------
From: "theguy" <[EMAIL PROTECTED]>
Subject: missing program
Date: Mon, 11 Dec 2000 22:56:35 -0800
hi,
I finally install back my mandrake 7.0 without much screw up this time.
However, i did a customized installation where i did not install certain
program such KDE ( to me gnome has a better interface :PP) now i don`t
even have pine and pico in my linux. Does anyone know which RPMs it belongs
to??? Also , i planning to install my ADSL modem (getting rid of my
winmodem) without the ethernet card. How do i go about probing the card when
i install it???
Thanks in advance,
the guy
------------------------------
From: [EMAIL PROTECTED] (Igor)
Crossposted-To: comp.os.linux.misc
Subject: Re: About Starting ONE kernel from WITHIN another?
Date: 11 Dec 2000 15:03:47 GMT
Reply-To: [EMAIL PROTECTED]
Bruce Stephens <[EMAIL PROTECTED]> wrote:
* [EMAIL PROTECTED] (Igor) writes:
*
* > Uwe Bonnes <[EMAIL PROTECTED]> wrote:
*
* [...]
*
* > * There is a user-mode linux kernel.
* >
* > What is it? Where can I get one?
*
* <http://user-mode-linux.sourceforge.net/>. It lets you run a kernel
* as an ordinary user process; it doesn't replace the existing kernel.
Thanks, I will check it out.
see below
* > Anyway, perhaps I was not clear. It is OK for me to type some command,
* > like
* >
* > run-other-kernel /path/to/other/kernel
* >
* > which would completely switch me into it, with no return. That's fine.
* > VMware is much more than what I need (and since I have no access to
* > the terminal, vmware is of no help)
*
* You want a linux equivalent to loadlin? I don't think such a thing
Pretty much.
* exists, although I think there's been discussion on the linux-kernel
* list before---you could probably look at that to see whether anybody's
* written such a thing (or why it's not been done, if that turns out to
* be the case).
*
* How about writing a script to edit /etc/lilo.conf, run lilo, and
* reboot? Would that be sufficient? You wouldn't need a console for
* that (since the normal booting process loads the default kernel after
* a configurable delay)---most PCs require a terminal and keyboard on
* boot, but if you're running the machine without these, presumably
* you've fixed that already.
That would not work, because what if the kernel that I specified as
default in lilo.conf does not boot? Then I am hosed.
***********************************************************************
Do your algebra homework at http://www.algebra.com
Solve: x^2+4x+3=0 Plot: y=3*sin(x^2) Ask Questions Word Problems
***********************************************************************
------------------------------
From: [EMAIL PROTECTED] (Michael Perry)
Subject: Re: HELP !!! Lots of setup problems!!!
Date: Mon, 11 Dec 2000 07:32:06 -0800
On Fri, 08 Dec 2000 12:47:22 GMT, Huw Lynes <[EMAIL PROTECTED]> wrote:
>
>
>> I did that, but it's a PCI-card (IRQ 10) and I found its address in the
>> PCI-file (it's 0xb400), but it still won't browse the network... (the
>> mod won't even load properly :(
>>
>And you are definately trying to load the ne2000-pci module,
>i.e. insmod ne2k-pci io=0xb400 irq=10
>if you are then I think you've just hit the limit of my experience. The
>only things I can suggest are to check /proc/ioports and /proc interrupts
>to see if any of your other hardware is using the same set of resources.
>If that is the case there may be a utility to change the io and irq
>settings of your card to prevent the conflict.
>
>Sorry I can't be of more help,
>Huw
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.
Do you have two pci cards sharing the same IRQ in neighboring slots? This
happened to me with sound and networking. Networking worked though and
sound did not. When I physically moved the sound card down the pci bus it
worked. I could never get irq sharing in linux working although my hardware
bios will support it. I only get device/resource busy on the sound card all
the time.
--
Michael Perry
[EMAIL PROTECTED]
==================
------------------------------
From: [EMAIL PROTECTED] (Igor)
Crossposted-To: comp.os.linux.misc
Subject: Re: About Starting ONE kernel from WITHIN another?
Date: 11 Dec 2000 15:05:17 GMT
Reply-To: [EMAIL PROTECTED]
Daniel Haude <[EMAIL PROTECTED]> wrote:
* On 11 Dec 2000 13:45:09 +0000,
* Bruce Stephens <[EMAIL PROTECTED]> wrote
* in Msg. <[EMAIL PROTECTED]>
*
* | How about writing a script to edit /etc/lilo.conf, run lilo, and
* | reboot? Would that be sufficient?
*
* Either that or lilo -R, as I pointed out in another post
An excellent idea, sounds like this is exactly what I need.
* "The obvious mathematical breakthrough would be development of an easy
* way to factor large prime numbers." -- Bill Gates, "The Road Ahead"
May I steal this quote for my sig?
***********************************************************************
Do your algebra homework at http://www.algebra.com
Solve: x^2+4x+3=0 Plot: y=3*sin(x^2) Ask Questions Word Problems
***********************************************************************
------------------------------
From: [EMAIL PROTECTED] (Igor)
Crossposted-To: comp.os.linux.misc
Subject: Re: About Starting ONE kernel from WITHIN another?
Date: 11 Dec 2000 15:05:49 GMT
Reply-To: [EMAIL PROTECTED]
Daniel Haude <[EMAIL PROTECTED]> wrote:
* On 11 Dec 2000 12:01:28 GMT,
* Igor <[EMAIL PROTECTED]> wrote
* in Msg. <[EMAIL PROTECTED]>
*
* | What I want is to be able to start (switch to) another version
* | of kernel from within linux itself. I do not mean just switching
* | a kernel at runtime with all apps still running, I understand
* | that it is impossible. I would like to just kind of boot to another
* | server.
* |
* | The reason for it is that I have a remote colocated server on which I
* | would like to try various kernels. But I want it to boot to a stable
* | version of linux. So I cannot just go around and modify lilo.conf all
* | the time.
* |
* | Any idea?
*
* Maybe lilo -R will help you; i.e.:
*
* # lilo -R testkernel && reboot
*
* will boot the "testkernel" section of your lilo.conf file exactly once
* before falling back to the default kernel. I.e. if your new kernel freezes
* you can just reboot to the old kernel without having to touch lilo.conf.
*
* If this doesn't help you I didn't understand your original question ;-)
This is perfect.
--
***********************************************************************
Do your algebra homework at http://www.algebra.com
Solve: x^2+4x+3=0 Plot: y=3*sin(x^2) Ask Questions Word Problems
***********************************************************************
------------------------------
** 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 by posting to comp.os.linux.setup.
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-Setup Digest
******************************