Linux-Setup Digest #793, Volume #20               Fri, 9 Mar 01 18:13:09 EST

Contents:
  Re: HOWTO change bash screen buffer size ? (Vilmos Soti)
  Re: Syslog ("ne...")
  cpp 2.96 won't install (Howard Nugent)
  Re: HOWTO change bash screen buffer size ? ("Stephen P. Hill")
  after power outage I get dumped into init2.0.4# ? What to do? ("Ray")
  Re: Novice emacs (Keith O'Connell)
  Re: Very large kernel 2.4.2, anything wrong? (James Rose)
  RTLinux for Debian (Yann Le Page)
  Re: Should I install rh6.2 or 7.0??? (Mark Taylor)
  Re: cpp 2.96 won't install ("ne...")
  Re: after power outage I get dumped into init2.0.4# ? What to do? ("Bill K.")
  Re: Sound Cards (Jerry McBride)
  Re: Multibooting... ("Mik Mifflin")
  Re: cpp 2.96 won't install (=?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?=)
  Re: after power outage I get dumped into init2.0.4# ? What to do? 
(=?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?=)
  boot's fsck skips / -- severe problems (Seetamraju Uday Bhaskar Sarma)

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

Subject: Re: HOWTO change bash screen buffer size ?
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Fri, 09 Mar 2001 18:11:59 GMT

Laurent Cortier <[EMAIL PROTECTED]> writes:

> There's one thing I'm trying to find for weeks : how can I change 
> the bash screen buffer length ? It tops now at about 100 lines, but
> I'd like to go back using Shift-PgUp to at least 500 or 1000 lines...
> How do I do that ? I couldn't find any config file containing any info 
> about that, nothing found at LDP... Yet under the KDE konsole it 
> works perfectly, but that's a KDE feature, and I'd like to be able to
> scroll back in console mode too...

I don't think it has anything to do with bash. The scrollback is a
kernel feature so you might have to look there. Just think about it.
If you switch virtual console and switch back, then your scrollback
is gone on that vc. It works only if you don't leave the vc. Why bash
would worry about it?

Vilmos

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

From: "ne..." <[EMAIL PROTECTED]>
Subject: Re: Syslog
Date: Fri, 09 Mar 2001 18:29:03 GMT

On Mar 9, 2001 at 10:28, Michael Illian eloquently wrote:

>How do I get my syslog to run a regular timestamp?  I'm reviewing LINUX and
>Netsaint for network administrations purposes, and after sending my NT
>events to syslog, I wanted to be able to grep the syslog, but I wanted to
>avoid scanning the same entries over and over again.  I tried putting in
>the -m interval switch into the rc file, but to no avail.  I'm wondering if
>I shoud just run a cron job to put in a time stamp every 20 minutes or so.
Go to the Portsentry site and they should have a pkg that
does something analogous to what you want. I can't think
of the name of the pkg at the moment.

-- 
Registered Linux User # 125653 (http://counter.li.org)
The moving cursor writes, and having written, blinks on.
  1:25pm  up 32 days, 15:59, 10 users,  load average: 0.00, 0.00, 0.00


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

From: Howard Nugent <[EMAIL PROTECTED]>
Subject: cpp 2.96 won't install
Date: Fri, 09 Mar 2001 18:30:05 -0000

I'm trying to update some of my RPM's per Redhat recommendations, but when 
I try to install the rpm
ftp://updates.redhat.com/7.0/i386/cpp-2.96-69.i386.rpm

I get the message 
error: failed dependencies:
        cpp = 1.1.2 is needed by egcs-c++-1.1.2-30
        cpp = 1.1.2 is needed by egcs-1.1.2-30
So I try to install rpm's for cpp,egcs, and egcs-c++ and it says they are 
already installed.

I'm actually upgrading Redhat 6.2 kernel 2.2.14 to kernel 2.4.2 so it's 
not really RH 7.

What am I doing wrong

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

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

From: "Stephen P. Hill" <[EMAIL PROTECTED]>
Subject: Re: HOWTO change bash screen buffer size ?
Date: Fri, 09 Mar 2001 12:51:05 -0600
Reply-To: [EMAIL PROTECTED]

Laurent Cortier wrote:

> There's one thing I'm trying to find for weeks : how can I change
> the bash screen buffer length ? It tops now at about 100 lines, but

That is nothing to do with bash, it is the terminal or terminal emulator
that
is giving you the scrollback capability.  On the plain-text console you
might
use the program 'screen' to get scrollback ( and many other nifty
features
you may want ) and in X you usually will adjust an X resource to
get the xterm, rxvt, ... to buffer the amount you want.

I have the following in my .Xdefaults file:
    *saveLines: 800

That works for xterm and rxvt, probably others match that too.

Stephen P. Hill
[EMAIL PROTECTED]




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

From: "Ray" <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat,linux.redhat.install
Subject: after power outage I get dumped into init2.0.4# ? What to do?
Date: Fri, 9 Mar 2001 10:57:56 -0800

I am/was running RH 6, kernal 2.2-15 on hda2 as a duel boot w/ Win98 on hda1
and LILO to choose.  LILO goes thru its dance and then drops me into a
prompt
right after freeing up memory.  I can't run fsck because it says it can't
find it.  I am new at this and have looked for help in some books but they
mostly deal with re-installation of lillo or the system.  I would like to
get back to my current version and do an upgrade rather than a new
installation.

I need some guidence in how to approach this and what utilities to run.

I tried a boot disk but lillo starts and hangs before the disk gets read.  I
could run fdisk /mbr to prevent this but am holding off on that foe awhile.

My system is a k6/2-400mhz w/ 192mb ram and 20gb hard disk, 4gb for win and
rest for linux.

Thanks for help.

Ray Miller





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

From: Keith O'Connell <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: Novice emacs
Date: Fri, 09 Mar 2001 18:59:12 GMT

Paul 

> You may want to consult the Emacs FAQ (use "Help -> Manuals -> Emacs FAQ"
> from the emacs toolbar) and
>  http://www.linuxdoc.org/HOWTO/Keyboard-and-Console-HOWTO-5.html
>  http://www.ibb.net/~anne/keyboard.html
> There is also
>  http://www.linuxdoc.org/HOWTO/mini/BackspaceDelete/

> > 2: How can I get the scroll bar on to the right side of the frame
> >    instead of the left?

> Put
> (set-scroll-bar-mode 'right)
> in your .emacs file.

Perfect - All problems solved - Thank you very much

Keith

-- 
========================================================================
              [EMAIL PROTECTED] (Keith O'Connell)
========================================================================

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

From: [EMAIL PROTECTED] (James Rose)
Subject: Re: Very large kernel 2.4.2, anything wrong?
Date: Fri, 09 Mar 2001 19:08:29 GMT

>I've compile kernel 2.4.2 and found that it is very large 1MB+, and I tried
>to boot the kernel, but it causes "Invalid compressed format".
>

when you compiled your kernel did you use "make zImage" or "make bzImage"?

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

From: Yann Le Page <[EMAIL PROTECTED]>
Subject: RTLinux for Debian
Date: Fri, 09 Mar 2001 14:40:54 -0600

This is a multi-part message in MIME format.
==============449F4475DCD6647FE0860D63
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


I'm using QNX4 on my embedded systems applications, with our Own GUI
running on Windows, comminicating via TCP-IP.
I'm looking forward other solutions like using RT-Linux, so that I could

develop code more easily using Kdevelop for both the interface and the
systems code.
I'm going to install Linux on my machine to try the RT. I was looking
into Debian with KDE. HAve you been able to recomplie the RT-Kernel
easily from the standard Debian distribution (2.2R2) ?
Is there a manual somewhere that could help me to do it?
Does everything else works fine when RT is installed (Kdevelop,
Konqueror....)

Thanks for your help, I'm new to Linux, eventhow I'm already
experiencied to QNX...

Yann Le Page



==============449F4475DCD6647FE0860D63
Content-Type: text/x-vcard; charset=us-ascii;
 name="lyann.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Yann Le Page
Content-Disposition: attachment;
 filename="lyann.vcf"

begin:vcard 
n:Le Page;Yann
tel;work:(954) 924-7240
x-mozilla-html:TRUE
url:http://www.lepage.tsx.org
org:Florida Atlantic University;Ocean Engineering
adr:;;101 North Beach Road;Dania;FL;33004;USA
version:2.1
email;internet:[EMAIL PROTECTED]
title:Research Engineer
fn:Yann Le Page
end:vcard

==============449F4475DCD6647FE0860D63==


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

Subject: Re: Should I install rh6.2 or 7.0???
From: [EMAIL PROTECTED] (Mark Taylor)
Date: 9 Mar 2001 14:03:43 -0600

John Beardmore <[EMAIL PROTECTED]> wrote in
<[EMAIL PROTECTED]>: 

>But not for one like me !
>
>What's this script actually called ?  My disk which was downloaded and 
>burned to CD-R by my vendor has no install-update script, or indeed any 
>other obvious script.
>
>Could you email me yours so I can see how it's supposed to be
>automated ?
>
>
>Cheers, J/.

The script is called "install-updates" and is in the root directory of the 
disk. By "the disk" I am referring to the Red Hat Updates disk that is 
produced every 8 weeks by Red Hat and is available for purchase on the Red 
Hat site.  I know of no where you can download it.

Mark


====== Posted via Newsfeeds.Com, Uncensored Usenet News ======
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
=======  Over 80,000 Newsgroups = 16 Different Servers! ======

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

From: "ne..." <[EMAIL PROTECTED]>
Subject: Re: cpp 2.96 won't install
Date: Fri, 09 Mar 2001 20:39:23 GMT

On Mar 9, 2001 at 18:30, Howard Nugent eloquently wrote:

>I'm trying to update some of my RPM's per Redhat recommendations, but when
>I try to install the rpm
>ftp://updates.redhat.com/7.0/i386/cpp-2.96-69.i386.rpm
>
>I get the message
>error: failed dependencies:
>        cpp = 1.1.2 is needed by egcs-c++-1.1.2-30
>        cpp = 1.1.2 is needed by egcs-1.1.2-30
>So I try to install rpm's for cpp,egcs, and egcs-c++ and it says they are
>already installed.
>
>I'm actually upgrading Redhat 6.2 kernel 2.2.14 to kernel 2.4.2 so it's
>not really RH 7.
>
>What am I doing wrong
Trying to install RH7.0 rpms over RH6.2 rpms. If you
want the 2.4.2 kernel, you'll have to install it from
source. I do not know of any rpms of it that are suitable
for RH6.2.

-- 
Registered Linux User # 125653 (http://counter.li.org)
Immature artists imitate, mature artists steal.
                -- Lionel Trilling
  3:35pm  up 32 days, 18:09, 11 users,  load average: 0.03, 0.02, 0.00


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

From: "Bill K." <[EMAIL PROTECTED]>
Subject: Re: after power outage I get dumped into init2.0.4# ? What to do?
Crossposted-To: linux.redhat,linux.redhat.install
Date: Fri, 09 Mar 2001 21:11:13 GMT

In article <98b94h$8q2$[EMAIL PROTECTED]>, "Ray"
<[EMAIL PROTECTED]> wrote:

> I am/was running RH 6, kernal 2.2-15 on hda2 as a duel boot w/ Win98 on
> hda1 and LILO to choose.  LILO goes thru its dance and then drops me
> into a prompt right after freeing up memory.  I can't run fsck because
> it says it can't find it.  I am new at this and have looked for help in
> some books but they mostly deal with re-installation of lillo or the
> system.  I would like to get back to my current version and do an
> upgrade rather than a new installation.
> 
> I need some guidence in how to approach this and what utilities to run.
> 
> I tried a boot disk but lillo starts and hangs before the disk gets
> read.  I could run fdisk /mbr to prevent this but am holding off on that
> foe awhile.
> 
> My system is a k6/2-400mhz w/ 192mb ram and 20gb hard disk, 4gb for win
> and rest for linux.
> 
> Thanks for help.
> 
> Ray Miller

Try running loadlin.exe from DOS. It can be found on your RH distro,
along with a kernel (vmlinuz). The command would be something like:
loadlin {path}vmlinuz root=/dev/hda2.

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

From: [EMAIL PROTECTED] (Jerry McBride)
Crossposted-To: alt.os.linux.caldera,comp.os.linux.hardware
Subject: Re: Sound Cards
Reply-To: [EMAIL PROTECTED]
Date: Fri, 09 Mar 2001 21:47:00 GMT

Kelvin Barnes <[EMAIL PROTECTED]> wrote:
>I have installed Caldera Open Linux 2.4 on a HP Vectra VA PC.
>However there is a problem with sound - instead of sound from the speakers
>connected to the soundcard I get sound from the computer's internal
>speakers.
>
>Any suggestions for a fix?
>

Under the previous Operating System... were you able to toggle the speakers
via software? If so and your motherboard BIOS doesn't have the speaker
selection option, you may be SOL.

The only other alternative I can think of is if HP supports Linux on your
Vectra VA. A visit to HP's support webpage is called for. You may even have
to send a few support requests.

May I also suggest you visit the Linux Hardware Database at:
http://lhd.datapower.com/


That failing... A drastic fix is needed... like turning off the sound chips
on the motherboard and plugging in a supported sound solution....

Possibly there's a better solution there for you.

Cheers.


--

*******************************************************************************
*                    Registered Linux User Number 185956                      *
*******************************************************************************

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

From: "Mik Mifflin" <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat
Subject: Re: Multibooting...
Date: Fri, 9 Mar 2001 17:02:39 -0500

I had the same problem.  If you cannot boot into linux as of now, then get
RedHat disk 1 and boot off that.  Choose linux rescue off the first menu
there.  Then, it puts you into a rescue mode, running directly off of the
cd.  Then do the following things:

    mknod /dev/hda (or the hard drive you are booting off).
    mkdir /rh
    mount -t ext2 /dev/hda1 /rh    (replace hda1 with the location of your
linux partition (not the boot partition, the one that contains the lilo
config file, this should not be the boot partition))
    pico /rh/etc/lilo.conf    (PICO is used here because I can't find any
other editor available on the rescue image)
    Find a line in the lilo.conf file that says linear, it should be in the
first section, and erase it.  It it is not there, put the word lba32 in the
first section.  Exit the pico editor and save.
    To install LILO back into the master boot record, type:
    /rh/sbin/lilo -r /rh
    Be sure to unmount your linux partition before rebooting (umount
/dev/hda1)
    Now reboot and everything should work fine.

    I know I must have worded some of this stuff a little oddly, or unclear,
but I'm in a hurry and thought I'd give you a better answer than "make a
boot disk", which also works, but this way is much more effective.

 - Mik Mifflin
[EMAIL PROTECTED]
Wayne Howarth <[EMAIL PROTECTED]> wrote in message
news:98b1bp$l1v$[EMAIL PROTECTED]...
> Hi,
>
> Due to the fact that I have a Linux boot partition installed on a cylinder
>
> 1024 I am unable to boot into Linux with Lilo. I have since installed
> another generic boot manager which I still can't get to work. Basically I
> have the following:
>
> Size OS
> ---------------------
> 9GBWinME
> 24MB Linux Boot
> 9GB Linux
> 70MB Linux Swap
>
> Although the Linux Boot partition contains the kernel images, do I still
> need to install Lilo on this specific partition.
>
> Thanks,
> Wayne.
>
>
>
>
>



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

From: =?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?= <[EMAIL PROTECTED]>
Subject: Re: cpp 2.96 won't install
Date: Fri, 9 Mar 2001 23:12:51 +0100

On Fri, 9 Mar 2001, Howard Nugent wrote:

> I'm trying to update some of my RPM's per Redhat recommendations, but when
> I try to install the rpm
> ftp://updates.redhat.com/7.0/i386/cpp-2.96-69.i386.rpm
>
> I get the message
> error: failed dependencies:
>         cpp = 1.1.2 is needed by egcs-c++-1.1.2-30
>         cpp = 1.1.2 is needed by egcs-1.1.2-30
> So I try to install rpm's for cpp,egcs, and egcs-c++ and it says they are
> already installed.
>
> I'm actually upgrading Redhat 6.2 kernel 2.2.14 to kernel 2.4.2 so it's
> not really RH 7.

Upgrading to 2.96 for compiling a kernel? Don't do that - the 2.96
compiler is broken.

Besides it is seldom a good thing to mix packages from different distro
version numbers without compiling the packages yourself...

Rasmus


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

From: =?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?= <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat,linux.redhat.install
Subject: Re: after power outage I get dumped into init2.0.4# ? What to do?
Date: Fri, 9 Mar 2001 23:15:32 +0100

On Fri, 9 Mar 2001, Ray wrote:

> I am/was running RH 6, kernal 2.2-15 on hda2 as a duel boot w/ Win98 on hda1
> and LILO to choose.  LILO goes thru its dance and then drops me into a
> prompt
> right after freeing up memory.  I can't run fsck because it says it can't
> find it.  I am new at this and have looked for help in some books but they

Can't find it; strange - try '/sbin/e2fsck /' (without quotes).

> I tried a boot disk but lillo starts and hangs before the disk gets read.  I
> could run fdisk /mbr to prevent this but am holding off on that foe awhile.

The floppy is probably damaged then...

Rasmus


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

From: Seetamraju Uday Bhaskar Sarma <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.admin
Subject: boot's fsck skips / -- severe problems
Date: Fri, 09 Mar 2001 22:46:07 GMT

Hi,

I have a file server that has three partitions.
For safety's sake, I run a 'shutdown -F' via crontab every month.

The problem being that the sometimes such monthly-reboots don't
come up cleanly, and I am forced to hard-reset the machine, and then
run 'e2fsck' manually on the ROOT partition (which does NOT
contain any data -- all of which is on another partition, which gets
checked fine during bootup) -- and as you can guess, e2fsck finds
problems.

Only '/dev/hda3' is checked (whenever I run shutdown -r -F).

Is there a way to configure /etc/rc.d  bootup scripts to do a check on
/dev/hda1 also?
===================================

# uname -a
Linux xxxx.xxxx.xxxx.xxx  2.2.14-15mdk #1 Tue Jan 4 22:24:20 CET 2000
i586 unknown

# cat /etc/fstab
/dev/hda1 / ext2 noatime 1 1
/dev/hda2 swap_upgrade swap defaults 0 0
/dev/hda3 /mnt/viSaalam ext2 noatime 1 2
none /proc proc defaults 0 0
none /dev/pts devpts mode=0620 0 0
/mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0


# fdisk -l /dev/hda

Disk /dev/hda: 16 heads, 63 sectors, 39703 cylinders
Units = cylinders of 1008 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1             2      2081   1048320   83  Linux
/dev/hda2          2082      4162   1048824   82  Linux swap
/dev/hda3          4163     39703  17912664   83  Linux

========== DMESG Output from /var/log/messages ===================
Mar  1 05:43:03 linux1 rc.sysinit: Mounting proc filesystem succeeded
Mar  1 05:43:03 linux1 date: Thu Mar  1 05:43:03 EST 2001
Mar  1 05:43:03 linux1 rc.sysinit: Setting clock  (utc): Thu Mar  1
05:43:03 EST  2001 succeeded
Mar  1 05:43:03 linux1 rc.sysinit: Loading default keymap succeeded
Mar  1 05:43:03 linux1 rc.sysinit: Activating swap partitions succeeded
Mar  1 05:43:03 linux1 rc.sysinit: Setting hostname linux1.localdomain
succeeded
Mar  1 05:43:03 linux1 rc.sysinit: Checking root filesystem succeeded
Mar  1 05:43:03 linux1 rc.sysinit: Remounting root filesystem in
read-write mode  succeeded
Mar  1 05:43:05 linux1 fsck: /dev/hda3: |
Mar  1 05:43:08 linux1 last message repeated 30 times
Mar  1 05:49:14 linux1 fsck: /dev/hda3: 35694/4478976 files (0.9%
non-contiguous), 1390435/17912664 blocks
Mar  1 05:49:51 linux1 rc.sysinit: Checking filesystems succeeded
Mar  1 05:50:31 linux1 rc.sysinit: Mounting local filesystems succeeded
Mar  1 05:50:32 linux1 rc.sysinit: Enabling swap space succeeded
==============================================


# cat /etc/lilo.conf
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
vga=normal
default=linux
keytable=/boot/us.klt
disk=/dev/hda
linear
compact
prompt
timeout=50
message=/boot/message
image=/boot/vmlinuz-2.2.14-15mdk
        label=old_linux
        root=/dev/hda1
        append=""
        read-only
other=/dev/fd0
        label=floppy
        unsafe
image=/boot/vmlinuz
        label=linux
        root=/dev/hda1
        append=""
        read-only

[End]




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


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

Reply via email to