Linux-Misc Digest #972, Volume #26 Tue, 30 Jan 01 14:13:01 EST
Contents:
Re: MS to Enforce Registration - or Else
Re: I wish to RTFM, but where is TFM I need? (Jean-David Beyer)
Re: Command-Line Editing Issues ("Chris Coyle")
Re: Large .jpg files (Chris J/#6)
AVI joiner ("lenny")
Re: implementation of colored man pages (Steve Ackman)
Re: rpm failed dependencies? (Steve Ackman)
Re: CDROM detected at boot, can't mount (GYULAI Mihaly)
Re: I wish to RTFM, but where is TFM I need? (Jean-David Beyer)
How to upgrade to KDE2.0.1 in Redhat6.0? (OrangeDino)
Re: I wish to RTFM, but where is TFM I need? ("Peter T. Breuer")
Re: HELP: bootparam (non-modular kernel) ([EMAIL PROTECTED])
mounting a floppy.. (Ish Rattan)
Re: mounting a floppy.. (David)
Re: I wish to RTFM, but where is TFM I need? ("lenny")
Re: smp on pc server 330? (Lee Allen)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] ()
Crossposted-To: comp.os.linux.advocacy
Subject: Re: MS to Enforce Registration - or Else
Date: Tue, 30 Jan 2001 17:56:30 -0000
On Tue, 30 Jan 2001 18:49:17 +1300, Tony Neville <[EMAIL PROTECTED]> wrote:
>
><[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]...
>> On Sat, 27 Jan 2001 04:14:35 -0500, Glitch <[EMAIL PROTECTED]> wrote:
>> >. wrote:
>> >
>> >> In comp.os.linux.advocacy Harlan Grove <[EMAIL PROTECTED]> wrote:
>> >>
>> >>> In article <94snje$ekf$[EMAIL PROTECTED]>,
>> >>> [EMAIL PROTECTED] (.) wrote:
>> >>> ...
>> >>>
>> >>>> Wasnt there something about a government BY the people and FOR the
>> >>>> people written down somewhere?
>> >>>
>> >>> ...
>> >>
>> >>
>> >>> The US is a republic not a democracy. Kindly read the Federalist Papers
>> >>> for the rationale behind not trusting the populace. It has a government
>> >>> of laws, and the laws in the state of Florida were fairly clear, and
>> >>> the polling stations had signs giving instructions that voters should
>> >>> make sure that their ballots were punched through and to remove hanging
>> >>> chads. And if they double-punched, they could ask for new ballot papers.
>> >>
>> >>
>> >> Ah, you dont have a very good understanding of what happened in florida.
>> >>
>> >> You're one of those insane federalists who believes that his government
>> >> is incapable of doing any sort of wrong, arent you?
>> >>
>> >> I'll bet you believe in god too, dontcha?
>> >>
>> >> Thats very sweet.
>> >>
>> >
>> >yeah <sarcasm> what a horrid idea to actually believe in God huh? <sarcasm>
>> >
>> >Considering the US was founded on Christian beliefs I find this normal
>> >and hopeful that people might actually have a set of morals not based on
>>
>> No, the US was founded on Humanist beliefs. In the grand
>> scheme of things, Christianity is just a historical footnote. You
>> are gravely delluded.
>
>Was the right to life, liberty and the pursuit of happiness a sentiment to
>be found in Humanism in those days? If so, Humanism then as NO
It still is. You might actually bother reading these
things for yourself rather than merely taking taking
the slander of someone with a conflict of interest as
gospel.
>resemblance to Humanism today with its embracing of Marxist theory
>swamped in political correctness in the form of muliculturalism, moral
>relativism, deconstructionism, and social engineering, its vilification of
>anything Western and its fawning praise of primitive tribal cultures,
>its cynicism and nihilism. Humanism is brain dead.
>
>But I think you're right about America not being founded on Christian
>principles. Life, liberty, and the pursuit of happiness for man *on
>earth* rather than in some supernatural never-never land, has never
>been the cry of Christianity.
Liberty or Happiness have NEVER been parts of Xian doctrine.
Infact if you want to get into comparisons to marxism, Xianity
better fits the bill. Xianity shares a very strong Platonic
tradition which it shares with Marxism.
Idealists briefly flirted with Marxism due to the simple fact
that it seems a more Humane system on the surface. This was
true for a time (in general) about 70 years ago.
You are utilitizing a common FUD tactic: pretending that grossly
out of date information is currently relevant.
--
>> Yes. And the mailer should never hand off directly to a program
>> that allows the content to take control.
>
>Well most mailers can, so I guess they all suck too.
Yup.
Candy from strangers should be treated as such.
|||
/ | \
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: I wish to RTFM, but where is TFM I need?
Date: Tue, 30 Jan 2001 12:59:13 -0500
"Peter T. Breuer" wrote (in part):
>
> Jean-David Beyer <[EMAIL PROTECTED]> wrote:
> > file /etc/sysconfig/network-scripts/ifcfg-ppp0. It contains the
> > following lines at the moment, but I would like to know the definitions
> > of all the items listed (some are obvious to me, but some are a
>
> :-) A vain wish .. you'll have to talk to the author of the script,
> probably!
I guess there should be a README in with /etc/sysconfig/network-scripts.
There isn't. I also groped around in /usr/doc and found a lot of stuff
that did not discuss these questions. The LDP HOWTO on ppp did not
discuss these either.
>
> > mystery), and also those others that are not there, but might be, in
> > sufficient detail to make intelligent decisions as to what should be in
> > there.
>
> > PERSIST=no
>
> Dunno .. possibly a "don't die when the connnection drops". Or
> possibly a "try again when the connection dies".
>
> > DEFROUTE=yes
>
> let pppd (try to) set up a default route
>
How would it guess one? Default route to where? My ISP's ppp? or my
ISP's DNS?
> > MODEMPORT=/dev/modem
>
> The modem special device (this should not be /dev/modem, but should
> instead be a /dev/ttyS? ... without that information, there is some
> danger of locking failing through different naming conventions across
> different applications - mgetty being the principal one I have in
> mind).
A Red-Hat-ism. They configure it that way when you install the system.
valinux:jdbeyer[~]$ ls -l /dev/modem
lrwxrwxrwx 1 root root 5 Jan 23 00:12 /dev/modem ->
ttyS1
valinux:jdbeyer[~]$ ls -l /var/lock
Lots of things do not work if I stick /dev/ttyS1 in there. I would have
to scour the system to find them all and figure out what changes to
make.
I run mingetty's on my consoles (or whatever they are called). I do not
run mgetty (I suppose that would be if I permitted dial-up logins onto
my machine, right?).
> > ESCAPECHARS=no
>
> uh, I think that's a ppp thing. You can escape certain characters or
> otherwise leave them out of the commuunications. If it's a serial port
> thing I'm at a loss to guess what it is.
>
> > DEFABORT=yes
>
> dunno.
> > PPPOPTIONS=
>
> any last wishes?
>
> > DEBUG=yes
>
> Good news for manufacturers of hard disks.
I turned that on to see what was going on with the /etc/resolv.conf
getting overwritten. It did not help, but I have not yet gotten around
to turning it off.
>
> > PAPNAME=
>
> uh, in case you want to autheticate yourself in an unusual way to the
> other side. This overrides the default (machine name).
I guess so, but I do not believe my ISP wants to talk PAP.
>
> > PEERDNS=no
>
> I think this says to NOT get dns from the peer!
That was definately my intention. There was no such line in the file at
all, but the ifup-post script tests to see if it is not "no", and if it
is not, it assumes "yes". Pretty crappy default for an undocumented new
feature. 8-( Undocumented new features should be OFF by default, IMAO.
> That doesn't seem
> consistent with what you allowed above.
Where did I allow what?
>
> > REMIP=
>
> You can set the IP address of the remote here. Presumably only if you
> are serving?
>
> > IPADDR=
>
> Your preferred IP address, if you want to override what's given you.
> The peer might not accept your choice!
The only thing I could think to put in here would be my static IP
address, but there is no point as they tell it to me everytime I login
to my ISP.
>
> > WVDIALSECT=
>
> Eh? Something for wvdial? What?
Beats me. I pretty certain I do not use wvdial. I believe I use plain
chat. At least, I hope so. Right now, the only ppp stuff running seems
to be:
root 15024 1 0 12:01 ? 00:00:00 /sbin/ppp-watch ppp0
root 15026 15024 0 12:01 ttyS1 00:00:00 /usr/sbin/pppd lock modem crtsct
ppp-watch is started in ifup-ppp.
>
> > BOOTPROTO=none
>
> Dunno? Are they talking about bootp? Are they asking if we want to boot
> over ppp? They're crazy!
Your guess is probably better than mine.
>
> > MTU=
>
> Obviously, if you want to override the default MTU for the connection.
> It's often a good idea to set it low on noisy lines.
>
> > MRU=
>
> ditto MRU.
>
> > DISCONNECTTIMEOUT=5
>
> Some timeout thing. Dunno for what exactly.
This is supposed to be how long after a disconnect it should wait before
automatically redialing. 5 seconds.
>
> > RETRYTIMEOUT=10
>
> Obviously, if retrying (persist?), the interval between redial
> attempts.
This one seems to be that if my I cannot get through to my ISP (busy,
does not answer, etc.), it waits 10 seconds and tries again. But
sometimes it does not wait this long.
Perhaps it is the mysterious ppp-watch process that does these two
things.
>
> > USERCTL=yes
>
> Eh?
I think this one is the one that permits any user of my machine to
initiate a ppp connection to my ISP using ppp0. Otherwise, only root
could do it.
>
But what really matters is what about the ones not here that I need to
know about? I did not know I needed to know about PEERDNS (that was not
in the file at all): I had to find that one out from someone in this
newsgroup. I had looked at the ifup-post file, but it was fairly
confusing and I did not get it. It is in a somewhat complex if-statement
and I made the other one no.
if [ "$PEERDNS" != "no" -o -n "$RESOLV_MODS" -a "$RESOLV_MODS" != "no"
]; then
mess up /etc/resolv.conf
fi
I had set RESOLV_MODS to "no" and for some reason it did not turn this
off.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 12:20pm up 1 day, 20:50, 3 users, load average: 1.22, 1.12, 1.04
------------------------------
From: "Chris Coyle" <[EMAIL PROTECTED]>
Subject: Re: Command-Line Editing Issues
Date: Tue, 30 Jan 2001 13:07:39 -0500
"Bob Simon" <[EMAIL PROTECTED]> wrote in message
news:952k7o$pdt$[EMAIL PROTECTED]...
> I have RH 7 and am trying to start up with vi command-line editing.
> Before making any changes, echo $SHELLOPTS shows the following:
> braceexpand:hashall:histexpand:monitor:history:interactive-comments:emac
> s
>
> I edited .bash_profile and added "set -o vi" (without quotes).
> After logging out and back in, echo $SHELLOPTS shows:
> braceexpand:hashall:histexpand:monitor:interactive-comments:vi
> As you can see, I lost history. Why?
>
> Then I added another line to .bash_profile: "set -o history".
> Now echo $SHELLOPTS shows the following:
> braceexpand:hashall:histexpand:monitor:history:interactive-comments:vi
>
> This is what I expected. However, my up-arrow key no longer
> displays prior commands in my history file even though the
> history command works as usual. Why? What am I doing wrong?
>
> Finally, does RH 7.0 support searching command history like
> esc-p operates in tcsh?
>
> --
> Please address private email replies to bsimon at ATT dot Net.
>
>
> Sent via Deja.com
> http://www.deja.com/
I wrestled with this problem myself when i installed rh6.2 a couple of months ago.
The way i fixed it was by creating a file in my home dir called ".inputrc",
containing the following line:
set editing-mode vi
The presence of this file in your home dir overrides a system-wide version,
called (i think) "/etc/inputrc". I suppose you could just edit this one,
and forget about creating .inputrc in everybodys home dir.
With vi-mode, you can search your history for <pattern> like this:
[ESC]/<pattern>[CR]
------------------------------
From: [EMAIL PROTECTED] (Chris J/#6)
Subject: Re: Large .jpg files
Reply-To: [EMAIL PROTECTED]
Date: 30 Jan 2001 18:16:13 -0000
Joshua Beard <[EMAIL PROTECTED]> wrote:
>Okay, when I use the 'file' command on the bloated .jpg file it says the
>following:
>
>file.jpg: PostScript document text conforming at level 3.0 - type EPS
>
>Weird. It's a 4 MB file compared to the 200 kb it should be.
>Josh.
>
Postscript? In that case, try running:
ghostview file.jpg
(assuming ghostview is installed...generic postscript file viewer :)
Chris...
--
Chris Johnson \ "If not for me then, do it for yourself. If not
[EMAIL PROTECTED] \ for then do it for the world." -- Stevie Nicks
www.nccnet.co.uk/~sixie/ ~---------------------------------------+
Redclaw chat - http://redclaw.org.uk - telnet redclaw.org.uk 2000 \______
------------------------------
From: "lenny" <[EMAIL PROTECTED]>
Subject: AVI joiner
Date: Tue, 30 Jan 2001 18:28:28 GMT
Anyone know of a good.....or even bad
utility for combining avi's.
Tried cat, it joins the files but
aviplay only reads the first file
put into the combined file.
tia
Lenny
mailto:lpletchATadelphia.net
------------------------------
From: [EMAIL PROTECTED] (Steve Ackman)
Subject: Re: implementation of colored man pages
Reply-To: [EMAIL PROTECTED]
Date: Tue, 30 Jan 2001 11:51:16 -0500
On 29 Jan 2001 23:46:56 GMT, J�rg Ziefle <[EMAIL PROTECTED]> wrote:
>How is the colorization of the man pages under Red Hat (and misc. other
>distributions) done?
>
>The man pages themselves don't contain the formatting commands staticly.
>So is there a modified version of man which parses and inserts the
>colorization commands before sending the stuff to STDOUT/the pager?
Do 'zcat /usr/man/man1/date.1.gz | less' (for instance) and see
if you still think there are no formatting commands in man pages.
--
Steve Ackman
http://twovoyagers.com
Registered Linux User #79430
------------------------------
From: [EMAIL PROTECTED] (Steve Ackman)
Subject: Re: rpm failed dependencies?
Reply-To: [EMAIL PROTECTED]
Date: Tue, 30 Jan 2001 12:21:58 -0500
On Tue, 30 Jan 2001 09:34:19 -0500, <[EMAIL PROTECTED]> wrote:
>
>Hi. How do I find out which package provides the
>missing libwraster.so.1?
>
># rpm -i AfterStep*
>error: failed dependencies:
> libwraster.so.1 is needed by AfterStep-APPS-20000124-6
>
>(I can't see how the --whatprovides stuff works.)
Try this (assuming a Red Hat install CD in your drive... adjust
path for others):
$ rpm -qp -filesbypkg /mnt/cdrom/RedHat/RPMS/*.rpm | grep libwraster.so.1
which results in:
WindowMaker /usr/X11R6/lib/libwraster.so.1
WindowMaker /usr/X11R6/lib/libwraster.so.1.2.0
--
Steve Ackman
http://twovoyagers.com
Registered Linux User #79430
------------------------------
From: GYULAI Mihaly <[EMAIL PROTECTED]>
Subject: Re: CDROM detected at boot, can't mount
Date: Tue, 30 Jan 2001 18:29:04 GMT
In article <956uh2$d9m$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> CDROM drive ... detected (in /var/log/dmesg as dev/hdc) but can't
> be mounted (mount /dev/cdrom /mnt/cdrom)
Try using
mount /dev/hdc /mnt/cdrom
> The CDROM drive is ... on the 2nd IDE channel
Strange. Then it should be /dev/hdb.
(/dev/hdc is the 3rd drive) Maybe this causes the problem(?)
--
GYULAI Mihaly
http://gyulai.freeyellow.com
Sent via Deja.com
http://www.deja.com/
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: I wish to RTFM, but where is TFM I need?
Date: Tue, 30 Jan 2001 13:39:50 -0500
Bob Tennent wrote:
>
> On Tue, 30 Jan 2001 09:09:43 -0500, Jean-David Beyer wrote:
> >I have gotten ppp to work by guess and by golly, but I would prefer to
> >not be shooting in the dark as I am now. The "manual" I need pertains to
> >file /etc/sysconfig/network-scripts/ifcfg-ppp0. It contains the
> >following lines at the moment, but I would like to know the definitions
> >of all the items listed (some are obvious to me, but some are a
> >mystery), and also those others that are not there, but might be, in
> >sufficient detail to make intelligent decisions as to what should be in
> >there.
> >
> >PERSIST=no
> >DEFROUTE=yes
> >ONBOOT=no
> >INITSTRING=ATZ
> >MODEMPORT=/dev/modem
> >LINESPEED=115200
> >ESCAPECHARS=no
> >DEFABORT=yes
> >HARDFLOWCTL=yes
> >DEVICE=ppp0
> >PPPOPTIONS=
> >DEBUG=yes
> >PAPNAME=
> >PEERDNS=no
> >REMIP=
> >IPADDR=
> >WVDIALSECT=
> >BOOTPROTO=none
> >MTU=
> >MRU=
> >DISCONNECTTIMEOUT=5
> >RETRYTIMEOUT=10
> >USERCTL=yes
>
> These are just environment variable settings. To see what effect they have,
> you should look at ifup and ifup-ppp (and the corresponding ifdown) and
> at the functions in network-functions. You might get some help here:
>
> http://www.redhat.com/support/docs/tips/PPP-Client-Tips/PPP-Client-Tips.html
> http://www.redhat.com/support/docs/tips/Network-Config-Tips/
> Network-Config-Tips.html
>
> Bob T.
I appreciate the links, but they explain only what I pretty much knew
already. They do not explain the new items, such as PEERDNS,
RESOLV_MODS, or the ppp-watch process and how it can be configured. Here
is part of ifup-ppp:
#!/bin/sh
PATH=/sbin:/usr/sbin:/bin:/usr/bin
cd /etc/sysconfig/network-scripts
. network-functions
# ifup-post for PPP is handled through /etc/ppp/ip-up
if [ "${1}" = daemon ] ; then
# we've been called from ppp-watch, so don't invoke it for persistence
shift
else
# just in case a full path to the configuration file is passed in
CONFIG=$(basename $1)
[ -f "${CONFIG}" ] || CONFIG=ifcfg-${1}
source_config
if [ "${DEMAND}" != yes ] ; then
# let ppp-watch do the right thing
shift
exec /sbin/ppp-watch "${DEVICE}" "$@"
fi
fi
...
Then this thing (ifdown-ppp) seems to
#!/bin/bash
PATH=/sbin:/usr/sbin:/bin:/usr/bin
cd /etc/sysconfig/network-scripts
. network-functions
CONFIG=$1
source_config
if [ "${DEMAND}" != no -a -f /var/run/ppp-${DEVICE}.pid ] ; then
PID=`head -1 /var/run/ppp-${DEVICE}.pid`
kill -TERM ${PID}
sleep 2
[ ! -d /proc/${PID} ] && exit 0
kill -TERM ${PID}
sleep 2
[ ! -d /proc/${PID} ] && exit 0
exit 1
fi
file=/var/run/pppwatch-${DEVICE}.pid
if [ ! -f $file ]; then
# ppp isn't running, or we didn't start it
exit 0
fi
PID=`cat $file`
[ -n "${PID}" ] || exit 1
kill -TERM ${PID} > /dev/null 2>&1
[ ! -d /proc/${PID} ] && exit 0
sleep 2
[ ! -d /proc/${PID} ] && exit 0
# killing ppp-watch twice in a row causes it to send a SIGKILL to pppd
pgrp
kill -TERM ${PID} > /dev/null 2>&1
[ ! -d /proc/${PID} ] && exit 0
exit 1
I do know that when the system insisted in redialing my ISP everytime I
disconnected, there was a file /var/run/pppwatch-ppp0.pid there. There
is now, too, but it is not redialing anymore. I thought this had to do
with my setting PERSIST=no, but that is not what the red-hat
documentation says. In fact, there are three ppp things in /var/run:
-rw-r----- 1 root jdbeyer 11 Jan 30 12:02 ppp-ppp0.pid
-rw-r----- 1 root jdbeyer 6 Jan 30 12:02 ppp0.pid
-rw-r----- 1 root jdbeyer 6 Jan 30 12:01
pppwatch-ppp0.pid
whatever that proves.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 1:30pm up 1 day, 22:00, 3 users, load average: 2.19, 1.97, 1.55
------------------------------
From: OrangeDino <[EMAIL PROTECTED]>
Subject: How to upgrade to KDE2.0.1 in Redhat6.0?
Date: Wed, 31 Jan 2001 02:19:56 +0800
I am using the KDE bundled with Redhat6.0. What packages of KDE2.0.1 I
should use and do I need to uninstall the rpm of KDE first?
Thanks a lot!
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: I wish to RTFM, but where is TFM I need?
Date: Tue, 30 Jan 2001 19:24:49 +0100
Jean-David Beyer <[EMAIL PROTECTED]> wrote:
> "Peter T. Breuer" wrote (in part):
>> Jean-David Beyer <[EMAIL PROTECTED]> wrote:
>> > file /etc/sysconfig/network-scripts/ifcfg-ppp0. It contains the
>> > DEFROUTE=yes
>>
>> let pppd (try to) set up a default route
>>
> How would it guess one? Default route to where? My ISP's ppp? or my
It gets told by the peer what the dns should be.
> ISP's DNS?
The latter. But see below.
> I run mingetty's on my consoles (or whatever they are called). I do not
> run mgetty (I suppose that would be if I permitted dial-up logins onto
> my machine, right?).
Right. And if you were thinking of running ppd as a service, for
example.
> I guess so, but I do not believe my ISP wants to talk PAP.
>>
>> > PEERDNS=no
>>
>> I think this says to NOT get dns from the peer!
> That was definately my intention. There was no such line in the file at
> all, but the ifup-post script tests to see if it is not "no", and if it
> is not, it assumes "yes". Pretty crappy default for an undocumented new
> feature. 8-( Undocumented new features should be OFF by default, IMAO.
>> That doesn't seem
>> consistent with what you allowed above.
> Where did I allow what?
DEFROUTE. Ah, I see. Sorry. DEFROUTE means to route 0.0.0.0 (i.e.e
everything) through the gateway at the other end of the ppp0
connection. You would want DEFROUTE if ppp0 were your only connection
to the rest of the universe.
>> > REMIP=
>>
>> You can set the IP address of the remote here. Presumably only if you
>> are serving?
>>
>> > IPADDR=
>>
>> Your preferred IP address, if you want to override what's given you.
>> The peer might not accept your choice!
> The only thing I could think to put in here would be my static IP
> address, but there is no point as they tell it to me everytime I login
> to my ISP.
Then it should do no harm either way.
>> > WVDIALSECT=
>>
>> Eh? Something for wvdial? What?
> Beats me. I pretty certain I do not use wvdial. I believe I use plain
Oh, I get it. It means to refer to a certain section of the wvdial.conf
file.
> chat. At least, I hope so. Right now, the only ppp stuff running seems
> ppp-watch is started in ifup-ppp.
>>
>> > BOOTPROTO=none
>>
>> Dunno? Are they talking about bootp? Are they asking if we want to boot
>> over ppp? They're crazy!
>> > USERCTL=yes
>>
>> Eh?
> I think this one is the one that permits any user of my machine to
> initiate a ppp connection to my ISP using ppp0. Otherwise, only root
> could do it.
OK.
> But what really matters is what about the ones not here that I need to
> know about? I did not know I needed to know about PEERDNS (that was not
> in the file at all): I had to find that one out from someone in this
They should put all possible options in the file, marked with "do not
touch" as necessary.
> newsgroup. I had looked at the ifup-post file, but it was fairly
> confusing and I did not get it. It is in a somewhat complex if-statement
> and I made the other one no.
> if [ "$PEERDNS" != "no" -o -n "$RESOLV_MODS" -a "$RESOLV_MODS" != "no"
> ]; then
> mess up /etc/resolv.conf
> fi
Ah, OK.
> I had set RESOLV_MODS to "no" and for some reason it did not turn this
> off.
Peter
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux,linux.redhat
Subject: Re: HELP: bootparam (non-modular kernel)
Date: Tue, 30 Jan 2001 18:44:13 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> On Mon, 29 Jan 2001 00:34:29 GMT, [EMAIL PROTECTED] staggered into the
> Black Sun and said:
> >I've decided to recompile my kernel (2.2.18) without module support
>
> Why? This is really a stupid thing to do in most cases, because it
> leads to really really long kernel command lines, and if you want to
> take a device down or make changes to some things or if you get the
> module parameters wrong, you have to reboot.
>
> >(compile the modules directly into the kernel). I understand that I
> >still need to pass the same infromation to the kernel at boot time
that
> >it used to read from /etc/conf.modules. What is the syntax I should
use
> >to translate my old "alias" and "options" /etc/conf.modules commands
> >into something lilo can use? For example, if I have
> >
> >alias eth0 via-rhine
> >options cs4232 io=0x534 irq=5 dma=1 dma2=0 mpuio=0x330 mpuirq=11
>
> When you compile sound support for an ISA card like the cs4232
directly
> into the kernel, you enter the IRQ/DMA/IO numbers into menuconfig's
> dialogs, and there they stay. FWIW, I have had no luck getting cs4232
> to work when it's directly in the kernel. If you compile Ethernet
card
> support directly in, the first card will be detected and configged
> automatically--if you have more cards, you must pass an ether= command
> line.
>
> Kernels without module support are really not reccommended. If you're
> having a hardware problem you think you can solve this way, maybe you
> should report its symptoms.
I was just hoping that it would be simpler: no insmod, lsmod, modprobe,
depmod, etc.
Wroot
Sent via Deja.com
http://www.deja.com/
------------------------------
From: Ish Rattan <[EMAIL PROTECTED]>
Subject: mounting a floppy..
Date: 30 Jan 2001 13:54:12 -0500
Hello,
System: RH-6.2
/dev/fd0 entry hasr major/minor device numbers 2/0
An attempt to mount a floppy with: mount -t vfat /dev/fd0 /mnt
produces error:
mount: /dev/fd0 has a wrong major or minor number
Removal of /dev/fd0 and recreation using: mknod -m 660 fd0 b 2 0
does not change the situation.
Any pointers?
- ishwar
------------------------------
From: David <[EMAIL PROTECTED]>
Subject: Re: mounting a floppy..
Date: Tue, 30 Jan 2001 18:59:28 GMT
Ish Rattan wrote:
>
> Hello,
>
> System: RH-6.2
> /dev/fd0 entry hasr major/minor device numbers 2/0
>
> An attempt to mount a floppy with: mount -t vfat /dev/fd0 /mnt
> produces error:
> mount: /dev/fd0 has a wrong major or minor number
>
> Removal of /dev/fd0 and recreation using: mknod -m 660 fd0 b 2 0
> does not change the situation.
>
> Any pointers?
> - ishwar
Floppies are usually mounted as msdos or ext2.
mount -t msdos /dev/fd0 /mnt/floppy
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
Completed more W/U's than 99.025% of seti users. +/- 0.01%
------------------------------
From: "lenny" <[EMAIL PROTECTED]>
Subject: Re: I wish to RTFM, but where is TFM I need?
Date: Tue, 30 Jan 2001 19:08:58 GMT
In article <[EMAIL PROTECTED]>, "Jean-David Beyer"
<[EMAIL PROTECTED]> wrote:
> I have gotten ppp to work by guess and by golly, but I would prefer to
> not be shooting in the dark as I am now. The "manual" I need pertains to
> file /etc/sysconfig/network-scripts/ifcfg-ppp0. It contains the
> following lines at the moment, but I would like to know the definitions
> of all the items listed (some are obvious to me, but some are a
> mystery), and also those others that are not there, but might be, in
> sufficient detail to make intelligent decisions as to what should be in
> there.
>
> PERSIST=no DEFROUTE=yes ONBOOT=no INITSTRING=ATZ MODEMPORT=/dev/modem
> LINESPEED=115200 ESCAPECHARS=no DEFABORT=yes HARDFLOWCTL=yes DEVICE=ppp0
> PPPOPTIONS= DEBUG=yes PAPNAME= PEERDNS=no REMIP= IPADDR= WVDIALSECT=
> BOOTPROTO=none MTU= MRU= DISCONNECTTIMEOUT=5 RETRYTIMEOUT=10 USERCTL=yes
>
A good place to start is:
man pppd
some of these options are explainet in there.
also see the networking HOWTO's
I don know of a "single" document written specifically
for this file.
------------------------------
From: [EMAIL PROTECTED] (Lee Allen)
Subject: Re: smp on pc server 330?
Reply-To: [EMAIL PROTECTED]
Date: Tue, 30 Jan 2001 19:09:24 GMT
On Tue, 30 Jan 2001 09:21:04 -0600, "M Osborne"
<[EMAIL PROTECTED]> wrote:
>I'm trying to get smp support to work with linux on an IBM PC Server 330.
>This server has 2 PPro 200's.
>
>When I install the RPM for Redhat 7 and change the lilo.conf to point to the
>new smp kernel, I get a kernel panic on reboot (at the VFS part where it's
>trying to mount root).
>
>I tried Mandrake too, but it does not automatically load the smp support for
>my machine. Is there something special I'm supposed to do at install time?
No. I am using RedHat 6.2 on a Netfinity 3500 -- not very different
from your system -- and SMP support just happened automagically. I
also did an install without SMP support, then installed the SMP RPM
package later. This also worked fine.
So time for some diagnostics. After modifying lilo.conf did you run
the lilo command? That should tell you if entry in lilo.conf does not
point to a valid kernel.
-Lee Allen
------------------------------
** 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.misc.
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
******************************