Linux-Misc Digest #286, Volume #25               Sun, 30 Jul 00 15:13:02 EDT

Contents:
  Re: Install of New Kernel (Dances With Crows)
  Re: Can I delete these RPMs on my HDD? ("kc")
  Re: Building a Linux Server from scratch:  Experiences? (kf)
  gnutella client ([EMAIL PROTECTED])
  Re: Console font / resolution ("Jeffrey Hood")
  Re: Hosed install.  Techs messed up.  Moving /usr? ([EMAIL PROTECTED])
  open source esrlogin clone... ([EMAIL PROTECTED])
  Re: Attach/remove SCSI devices without reboot (Cokey de Percin)
  swapd problem (Alan Needleman)
  Re: Linux and Netgear RT311--????? (Julian Cook/Sherab Gyatso)
  Re: gnutella client ("Jan Schaumann")
  Recover files after mkfs? (yates)
  rpm only supports major number <=3 (Random Chaos)

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Install of New Kernel
Date: 30 Jul 2000 16:51:44 GMT
Reply-To: [EMAIL PROTECTED]

On Sun, 30 Jul 2000 03:54:31 GMT, wizard2 wrote:
>Everything goes well untill i go and try to compile   I do  bzImage
>and have tried zImage   It runs the compile fine untill the end where
>i get a msg that it is leaving usr/src/linux/i386/boot/    it says it
>cannt find something like (AS86)  and gives me 2 error codes   127 and

There's a package on your Mandrake CD called "dev86-something-.rpm".
Install that package.

As an aside, why in seven hells doesn't the kernel source package depend
on this package?  Since you need as86 to build a kernel, shouldn't the
kernel source require the presence of as86?

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /   Tyranny is always better organized
http://www.brainbench.com     /    than freedom.
=============================/              ==Charles Peguy

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

From: "kc" <[EMAIL PROTECTED]>
Subject: Re: Can I delete these RPMs on my HDD?
Date: Sun, 30 Jul 2000 12:24:50 -0600

In article <8m1e56$[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Andrew
Purugganan) wrote:

> Would I still be able to keep an audit trail/history of all the installed RPMs
> even after I physically delete them from the drive?
> 
> --
> jazz Registered linux user no. 164098  +--+--+--+ Litestep user no. 386
> Doesn't it bother you, that we have to search for intelligent life
> --- OUT THERE??

If you mean, for example, deleting xyz-1.2-3.i386.rpm after you have
installed/upgraded it, then yes, you can delete it.

Installed package information is kept in separate files maintained by rpm itself
(IIRC, /var/lib/rpm is where they are kept)

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

From: kf <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Building a Linux Server from scratch:  Experiences?
Date: Sun, 30 Jul 2000 13:19:09 -0400

Kim Carter wrote:
> 
> [Lots of good tips.... I downloaded it for future reference.
    Thanks, Kim!]
> Kim

A couple of things will make your shopping experience a little easier:

I put together a public webpage listing the components I was looking for (see
<http://cleveland.lug.net/~ken/sell-me.html>).  Then, when I phoned a vendor,
rather than have to describe everything I was looking for, I'd just say, "fire
up your browser and go to this page."  This page is now out of date and will
change in the near future, but I'll leave it as is in case anyone wants to
download it to use as a template for the purchase of their own systems.

Secondly, I put together another page for people wanting info on Linux
hardware.  It's not exhaustive, probably not as good as tomshardware.com, but
it's current and often updated with new info.  See
<http://cleveland.lug.net/~ken/compatible/>.

Third and fourth, before buying from a vendor, check them out on a Better
Business Bureau website... there's a few of them.  And if you run into problems
with a vendor, contact a local State Attorney General's office, probably a
Division of Consumer Affairs.  The Ohio AG has a webpage where you can fill in
a form online to register a complaint and their people have email addresses and
use them.  Sure beats the heck out of voicemail and/or paper and stamps and
envelopes.

As I have time, I'll be adding more info in this area.

hth,
kf

-- 
My recommendation:      Don't do business with Explorer Micro
                        of Worthington, Ohio.

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

From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux
Subject: gnutella client
Date: Sun, 30 Jul 2000 17:13:22 GMT

Hello,

I can't find a Gnutella client that works (under RH6.2). Windows
Gnutella and Napster (on both platforms) work just fine. Did anyone get
ANY Linux Gnutellas to work?

Thanks

Wroot


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

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

From: "Jeffrey Hood" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,linux.redhat.misc,redhat.config
Subject: Re: Console font / resolution
Date: Sun, 30 Jul 2000 17:01:15 GMT

>>Thanks...  that definately answers my question... and raises another
one...
>>when I do a vga=ask, and then scan, I get a list from 0 to b (1-9,a-b)...
I
>>can type in either 9, or 0122 (I guess the hex value...) and have it load
>>the resolution (in my case, 100x30...)  but I can't seem to put
>>either vga=9 or vga=0122 in the lilo conf file... it accepts them,
>>but gives me an ask prompt during boot... are the only ones that I
>>can use the ones that come up first, before the scan...
>Did you run /sbin/lilo after chaanging the 'vga=' line??


yepper.... doesn't seem to make any difference...  it is acting like the
options
_after_ doing the scan aren't available... putting in 0-6 works fine...
(those are
the ones on the initial display on vga=ask

>>And one more...  when I do get vga=788, etc to load (I guess my kernel
must
>>have had framebuffer support enabled already...) my console is flaked
>>out after returning from a startx Gnome session...  none of the modes
>>seems to cure it, and I have to reboot to get a "clean" console...
>If you have framebuffer support for your graf card,
>you should use something like:
>
> append="video=matrox:vesa:402"
>
>This give that nice cute penguin image on bootup.
>NOTE: vga=<value|ask> does not necessarily mean you
>have framebuffer support in your kernel. If/when
>your consol is messed up after exiting X, try
>typing 'reset'.


I do get the cute penguin on bootup with just vga=788, etc...  but I will
try
the append line, although I would have no idea what to put on it... is there
something in my XConfig that would point to the correct value, or something
that I can see when X is starting ?

Thanks,
JH



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

From: [EMAIL PROTECTED]
Crossposted-To: 
comp.os.linux.setup,iu.linux,linux.dev.newbie,linux.redhat.install,linux.redhat.rpm
Subject: Re: Hosed install.  Techs messed up.  Moving /usr?
Date: 30 Jul 2000 17:34:29 GMT

Hmm, maybe because he was askingus how to?

"mv" will change directory names, just like it does files.  A couple of
warnings though:

-mv will not overite a target directory.  "mv /nusr /usr" will create
/usr/nusr/ if /usr already exists.

-DO NOTE simply DELETE /usr, even if /nusr has everything in it already.  You
 have to be VERY careful with all the dynamic libraries locations listed in
 /etc/ld.so.conf or you will find that all of a sudden none of your
 executables will work anymore.  I just checked my system and "mv," "cp" et
 al. link to libraries in "/lib" so you'd probably be okay (though the GUI
 stuff in X will definitely not run until you put the X libraries where they
 belong and run "ldconfig" as root.

I'm afraid this was a little confusing, so post back with q's if I wasn't
clear.

Chris

In linux.redhat.install Carl Fink <[EMAIL PROTECTED]> wrote:
: On Sun, 30 Jul 2000 10:37:48 -0500 Michael Coulter <[EMAIL PROTECTED]> wrote:

:>How does one change directory names aside from inside Gnome / properties?

: Why not just use the shell?
: -- 
: Carl Fink             [EMAIL PROTECTED]
: I-Con's Science and Technology Programming
: <http://www.iconsf.org/>

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

From: [EMAIL PROTECTED]
Subject: open source esrlogin clone...
Date: Sun, 30 Jul 2000 17:33:53 GMT

Any one know of an open source clone of esrlogin?

esrlogin is part of symon from Sun. It lets the user open multiple
xterms were each one is loging into a different host/server. It has a
small "command" window. Everything typed in the command window is sent
to ALL the sessions. This is a GREAT tool for sysadmins that need to
make the same changes to a LOT of hosts/servers


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

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

From: Cokey de Percin <[EMAIL PROTECTED]>
Subject: Re: Attach/remove SCSI devices without reboot
Date: Sun, 30 Jul 2000 17:42:38 GMT

root wrote:
> 
> Dear Linux users
> 
> I have a small SCSI question: I have a Iomega JAZ which I only need
> sonetimes, so nornally when I boot the system, the drive is powered off.
> 
> In Windows 98, there's no problem to attach my JAZ drive after booting;
> a click to "Update" on the SCSI controller inside Windows's device
> manager will force a SCSI bus rescan so new devices will get their
> needed drive letters.
> 
> How can I do the same in Linux? Linux only seems to scan the SCSI but at
> boot time, and after that I can see my devices in /proc/scsi/scsi but
> what I want is to *force* updating this list.
> 
> In general: Is there a way to get SCSI ID# based special device files
> (for example /dev/sda for that device with ID#0, /dev/sdb for #1 and so
> on) like in Digital UNIX and ULTRIX? There we have /dev/rz4x for the
> device with SCSI ID #4, /dev/rz6x for that with ID #6 and so on instead
> the BIOS like method where the devices get their special device files in
> numbered order according to the list at boot time.
> 
> Any hints are appreciated. :-)
> 
>                       Andreas

After turning the SCSI device on, you can force a device to be added 
to the scsi bus by doing this:

=================================cut here============================
#!/bin/sh
#
# Add a SCSI device dynamically
#
# This is for the CDRom 0
#
#  a == hostadapter id (first one being 0)
#  b == SCSI channel on hostadapter (first one being 0)
#  c == ID
#  d == LUN (first one being 0)
#

#echo "scsi add-single-device 0 0 ? 0" > /proc/scsi/scsi
echo "scsi add-single-device 0 0 6 0" > /proc/scsi/scsi     
=================================cut here============================


You may turn the SCSI device off AFTER forcing a device to be removed 
from the scsi bus by doing this:

=================================cut here============================
#!/bin/sh
#
# Delete a SCSI device dynamically
#
# This is for CDRom 0  
#
#  a == hostadapter id (first one being 0)
#  b == SCSI channel on hostadapter (first one being 0)
#  c == ID
#  d == LUN (first one being 0)
#

#echo "scsi remove-single-device 0 0 ? 0" > /proc/scsi/scsi
echo "scsi remove-single-device 0 0 6 0" > /proc/scsi/scsi  
=================================cut here============================

This assumes that the SCSI devices are attached.  I can't guarantee
what would happen if you try to attach a device to a hot channel.

Best

Cokey

-- 
==================================================================
Cokey de Percin, DBA            Email:
Policy Management Systems Corp.  Work - [EMAIL PROTECTED]
Columbia, South Carolina         Home - [EMAIL PROTECTED]

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

From: Alan Needleman <[EMAIL PROTECTED]>
Subject: swapd problem
Date: Sun, 30 Jul 2000 14:13:35 -0400

Hi,

I am running kernel 2.2.14-6.0.1 on a RH 6.1 system and have been
encountering swap daemon problems. Often but not always these cause a
system crach. I have 256Megs of memory and 384 Megs of swap. The latest
message I got was:

Jul 30 13:54:29 onslow kernel: Unable to handle kernel NULL pointer
dereference at virtual address 00000214 
Jul 30 13:54:29 onslow kernel: current->tss.cr3 = 00101000, %cr3 =
00101000 
Jul 30 13:54:29 onslow kernel: *pde = 00000000 
Jul 30 13:54:29 onslow kernel: Oops: 0000 
Jul 30 13:54:29 onslow kernel: CPU:    0 
Jul 30 13:54:29 onslow kernel: EIP:    0010:[try_to_free_buffers+15/128] 
Jul 30 13:54:29 onslow kernel: EFLAGS: 00013206 
Jul 30 13:54:29 onslow kernel: eax: 00000200   ebx: c02947b0   ecx:
00000efe   edx: 00020000 
Jul 30 13:54:29 onslow kernel: esi: 00000200   edi: 00000200   ebp:
c02947b0   esp: cffd9fac 
Jul 30 13:54:29 onslow kernel: ds: 0018   es: 0018   ss: 0018 
Jul 30 13:54:29 onslow kernel: Process kswapd (pid: 5, process nr: 5,
stackpage=cffd9000) 
Jul 30 13:54:29 onslow kernel: Stack: 00000030 00000e00 c011e042
c02947b0 00000020 00000006 c0122daa 00000006  
Jul 30 13:54:29 onslow kernel:        00000030 cffd8000 c01e38ae
cffd81c1 c0122e67 00000030 00000f00 cfffbfc0  
Jul 30 13:54:30 onslow kernel:        c0106000 c010895f 00000000
00000f00 c0237fd8  
Jul 30 13:54:30 onslow kernel: Call Trace: [shrink_mmap+218/300]
[do_try_to_free_pages+42/124] [tvecs+7278/13824] [kswapd+107/164]
[get_options+0/112] [kernel_thread+35/48]  
Jul 30 13:54:30 onslow kernel: Code: 8b 76 14 83 78 20 00 75 06 f6 40 18
46 74 0e 6a 00 e8 73 01  

Is this a bug or have I done something stupid?

Any suggestions much appreciated.

Alan

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

From: Julian Cook/Sherab Gyatso <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions,comp.os.linux.networking,comp.os.linux.setup
Subject: Re: Linux and Netgear RT311--?????
Date: Sun, 30 Jul 2000 18:20:12 GMT

Thanks Brian!
The RT311 is set up for DHCP. Windoze is set to grab first available IP.
I downloaded the new DHCPCD module and set that up. So I have figured
out that I have to use DHCP. Whenever the machine boots up, it tries to 
configure eth0 by contacting a DHCP server and then I get a timeout
waiting for DHCP server response. 

While the Linux box is waiting on the DHCP response, the corresponding
hub light DOES light up on the hub box, then when it times out, it goes
out.

When I issue ifconfig I get....
lo    Link encap: Local Loopback
      inet addr: 127.0.0.1  Mask: 255.0.0.0
      UP LOOPBACK RUNNING MTU:3924  Metric:1
      RX packets:18 errors:0 dropped:0 overruns:0 frame:0
      TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0

It apparently recognizes the loopback, I can ping localhost with no
problems.

Then I issue
ifconfig eth0 up

The hub light comes on for the corresponding port..

When I issue ifconfig then I get
eth0  Link encap:Ethernet HWaddr 00:A0:24:24:AC:1B
      UP BROADCAST RUNNING MTU:1500 Metric:1
      RX packets:0 errors:0 dropped:0 overruns:0 frame:0
      TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:100
      interrupt:11 Base address:0x300

lo    Link encap: Local Loopback
      inet addr: 127.0.0.1  Mask: 255.0.0.0
      UP LOOPBACK RUNNING MTU:3924  Metric:1
      RX packets:18 errors:0 dropped:0 overruns:0 frame:0
      TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0


I don't have enough experience networking linux to know if this is OK
or not. My initial impression is that it may indeed be set up correctly.
That is, it's asking for an IP from the Netgear and it isn't getting it,
so it can't configure eth0.

I truly appreciate all the assistance that you and the other folks are
giving me on this....

Thanks again!
Julian

====================
brian moore wrote:
> 
> On Thu, 27 Jul 2000 22:20:50 GMT,
>  Julian Cook/Sherab Gyatso <[EMAIL PROTECTED]> wrote:
> > Hello folks!
> > I have a network I am trying to set up and I have wasted SO many hours
> > and no results.
> > One machine is Windows 98
> > The other is a Linux box running Slackware 7
> > Both machines are hooked into a Linksys 5 port workgroup hub
> > The Router is a Netgear RT311
> >
> > This router has been great after some initial difficulty setting it up.
> > The Win machine
> > works great through it. My problem is setting up Linux and getting Linux
> > to see the
> > router..
> >
> > The IP of the Router is 192.168.0.1
> >
> > The Linux box uses a 3Com 509B NIC. The machine recognizes the card ok.
> > (Other info, it's a
> > Pentium 75)
> >
> > When I type 'netconfig'
> > I put in these values .. hostname -->   milarepa
> > Domain name --> this is a complete mystery to me. It's a private
> > network. What domain name? (I typed 'localnetwork' just for something to
> > put in)
> > The when given the options of  Static IP, DHCP and loopback I selected
> > DHCP
> > Then I get the notification that "Your networking software has now been
> > configured"
> >
> > Now on bootup after this (during startup), I get...
> > "Attempting to configure eth0 by contacting a DHCP server"
> > The corresponding hub light goes on during this period, the machine
> > hangs for about
> > 30seconds and then the light goes out and I get
> > "Activating IPv4 packet forwarding"
> > After logging in, I type in "ifconfig" and the only thing that shows up
> > are the "lo" settings.
> 
> So do you have a DHCP server on your network?
> 
> If you do, why is it not answering?
> 
> --
> Brian Moore                       | Of course vi is God's editor.
>       Sysadmin, C/Perl Hacker     | If He used Emacs, He'd still be waiting
>       Usenet Vandal               |  for it to load on the seventh day.
>       Netscum, Bane of Elves.

-- 
Julian Cook
President
S Cubed Technologies
[EMAIL PROTECTED]
202-761-1294-Capitol Hill Office
======================================================================
6,000,000 monthly news deliveries, a network of 16,000 sites,
18 channels of information, one news leader ,assisting numerous
charities...WebTicker News Syndicate
http://www.webticker.com
======================================================================

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

From: "Jan Schaumann" <[EMAIL PROTECTED]>
Subject: Re: gnutella client
Crossposted-To: alt.os.linux
Date: Sun, 30 Jul 2000 14:28:58 -0500

In article <8m1nng$9sg$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:

> Hello,
> 
> I can't find a Gnutella client that works (under RH6.2). Windows
> Gnutella and Napster (on both platforms) work just fine. Did anyone get
> ANY Linux Gnutellas to work?
> 

gnut - a console client - works great.
gtk-gnutella work great, too, but you can't share (yet).

all available from http://gnutella.wego.com

-Jan

-- 
Jan Schaumann <http://www.netmeister.org>
Understanding is always the understanding of a smaller problem
in relation to a bigger problem.
                -- P.D. Ouspensky

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

From: yates <[EMAIL PROTECTED]>
Subject: Recover files after mkfs?
Date: Sun, 30 Jul 2000 13:34:00 -0500

I have some data on a floppy disk that I'd like to recover.  Originally,
I formatted the floppy, created an ext2 file system, and copied some
files to the floppy.  I could mount the floppy and see the files.
Later, I mistakenly ran 'mkfs -t ext2 /dev/floppy /mnt/floppy' with the
floppy disk installed, and can no longer see the files.  I'm  guessing
that the files are still on the floppy (I haven't added any more files),
and I'd like to recover them.  Is this possible?  How?  Thanks.

R. Yates


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

From: Random Chaos <[EMAIL PROTECTED]>
Subject: rpm only supports major number <=3
Date: Sun, 30 Jul 2000 18:30:04 GMT

I usually consider myself a well versed linux user/system admin.
Unfortunately i got a little gung-ho a while back and may have trashed my
system when i upgraded libstdc++. My problem isn't that my system is hung
or not functional. In fact the system is working great. With one MAJOR
exception. when i tried recently to upgrade to the latest 8.11 sendmail, i
got a strange error. "this version of rpm only supports packages with major
numbers <=3". I am running RedHat 6.1 on a intel platform. I have tried
reinstalling rpm, upgrading rpm, anything i can think of. but nothing seems
to work. I even tried last night rolling back to the previous version of
libstdc++ that came with 6.1. Still it doesn't work.

If someone has run into this problem before and could shed some light on
the subject, please let me know. Otherwise i will be forced to reinstall. 

Thanx in advance for any help.

R.C.

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

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


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