Linux-Misc Digest #107, Volume #27               Wed, 14 Feb 01 04:13:02 EST

Contents:
  Kernel call traces and Kernel mem-info. (Walter Francis)
  File system/Superblock problems (David Richard Larochelle)
  WORKSHOP: Get Linux, free! Sun. Feb 18th (William Kendrick)
  Re: Linux Sucks... well not really (Mike Manley)
  Advice for newbie - want to run mail server and NAT/firewall (johnwhite969)
  Re: ksh script problem: pwd works differently for ksh then linux binary file (Shai 
Kedem)
  Re: Mail Server Newbie (Michael Heiming)
  Re: RH7/3Com and 3Com Mini PCI Ethernet adapter ("Peter T. Breuer")
  Re: Difference between "su" and  "su -" ? (Villy Kruse)
  Re: Can I use my ATA/100 hard drive with my ATA/66 controller  (Federico Bravo)
  Re: XScreenSaver and NVidia OpenGL (Jesse Wyant)
  Re: XScreenSaver and NVidia OpenGL (Jesse Wyant)
  2  NICS +slow telnet (Miguel Lastra)
  Re: File system/Superblock problems (Svend Olaf Mikkelsen)

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

From: Walter Francis <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.hardware
Subject: Kernel call traces and Kernel mem-info.
Date: Wed, 14 Feb 2001 06:25:38 GMT

I have recently begun seeing the following on my 2.4.2-pre kernel, I'd
like to know if it's a possible kernel bug or more?  I'm inclined to
believe it's a kernel bug, as it also seems to Oops or Panic once a
week.

Under 2.2.18 the same exact configuration ran for three months without a
hitch.  Below are the log entries.

Thanks for any comments!

Feb 13 20:27:55 cygnus kernel: Call Trace: [context_thread+265/428]
[empty_bad_page+0/4096]
[empty_bad_page+0/4096] [kernel_thread+35/48]  
Feb 13 20:27:55 cygnus kernel: Call Trace: [schedule_timeout+115/148]
[process_timeout+0/72]
[interruptible_sleep_on_timeout+70/100] [kswapd+237/272]
[empty_bad_page+0/4096] [kernel_thread+35/48]  
Feb 13 20:27:55 cygnus kernel: Call Trace: [ret_from_intr+0/32]
[interruptible_sleep_on+64/88] [kreclaimd+91/224]
[empty_bad_page+0/4096] [kernel_thread+35/48]  
Feb 13 20:27:57 cygnus kernel: Call Trace: [context_thread+265/428]
[empty_bad_page+0/4096]
[empty_bad_page+0/4096] [kernel_thread+35/48]  

Also, I've been seeing this in the logs occationally:

eb 13 20:18:45 cygnus kernel: Mem-info: 
Feb 13 20:18:45 cygnus kernel: Free pages:       13796kB (     0kB
HighMem) 
Feb 13 20:18:45 cygnus kernel: ( Active: 2183, inactive_dirty: 10674,
inactive_clean: 487, free: 3449 (383 766
1149) ) 
Feb 13 20:18:45 cygnus kernel: 166*4kB 84*8kB 58*16kB 7*32kB 2*64kB
0*128kB 2*256kB 0*512kB 0*1024kB 0*2048kB =
3128kB) 
Feb 13 20:18:45 cygnus kernel: 1087*4kB 608*8kB 27*16kB 2*32kB 1*64kB
1*128kB 1*256kB 1*512kB 0*1024kB 0*2048kB =
10668kB) 
Feb 13 20:18:45 cygnus kernel: = 0kB) 
Feb 13 20:18:45 cygnus kernel: Swap cache: add 4591, delete 4091, find
171976/178608 
Feb 13 20:18:45 cygnus kernel: Free swap:       129572kB 
Feb 13 20:18:45 cygnus kernel: 49152 pages of RAM 
Feb 13 20:18:45 cygnus kernel: 0 pages of HIGHMEM 
Feb 13 20:18:45 cygnus kernel: 1384 reserved pages 
Feb 13 20:18:45 cygnus kernel: 18967 pages shared 
Feb 13 20:18:45 cygnus kernel: 500 pages swap cached 
Feb 13 20:18:45 cygnus kernel: 0 pages in page table cache 
Feb 13 20:18:45 cygnus kernel: Buffer memory:    11520kB 
Feb 13 20:18:48 cygnus kernel: Mem-info: 
Feb 13 20:18:48 cygnus kernel: Free pages:       13792kB (     0kB
HighMem) 
Feb 13 20:18:48 cygnus kernel: ( Active: 2185, inactive_dirty: 10673,
inactive_clean: 487, free: 3448 (383 766
1149) ) 
Feb 13 20:18:48 cygnus kernel: 166*4kB 84*8kB 58*16kB 7*32kB 2*64kB
0*128kB 2*256kB 0*512kB 0*1024kB 0*2048kB =
3128kB) 
Feb 13 20:18:48 cygnus kernel: 1086*4kB 608*8kB 27*16kB 2*32kB 1*64kB
1*128kB 1*256kB 1*512kB 0*1024kB 0*2048kB =
10664kB) 
Feb 13 20:18:48 cygnus kernel: = 0kB) 
Feb 13 20:18:48 cygnus kernel: Swap cache: add 4591, delete 4091, find
171976/178608 
Feb 13 20:18:48 cygnus kernel: Free swap:       129572kB 
Feb 13 20:18:48 cygnus kernel: 49152 pages of RAM 
Feb 13 20:18:48 cygnus kernel: 0 pages of HIGHMEM 
Feb 13 20:18:48 cygnus kernel: 1384 reserved pages 
Feb 13 20:18:48 cygnus kernel: 18967 pages shared 
Feb 13 20:18:48 cygnus kernel: 500 pages swap cached 
Feb 13 20:18:48 cygnus kernel: 0 pages in page table cache 
Feb 13 20:18:48 cygnus kernel: Buffer memory:    11524kB 

Sorry about the broken lines.
-- 
Walter Francis
http://theblackmoor.net                  Powered by Red Hat Linux 7.0

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

From: David Richard Larochelle <[EMAIL PROTECTED]>
Subject: File system/Superblock problems
Date: Wed, 14 Feb 2001 01:12:59 -0500

My linux file system seems to be corrupted.
When I try to boot I get a kernel panic unable to mount root file system.

I tired booting off a rescue disk and running e2fsck but I get something
like:
e2fsck: Bad magic number in super-block while trying to open /dev/hdb1

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

I've tried running e2fsck with -b 8193 and with -b 16385 but I still get
the same message.  I added 8192 and repaeted this  about 5 more times but
still no  luck.

Anyone have any sugestions? I really don't want to lose the data on that
partition.

Thanks in advance,

David


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

From: William Kendrick <[EMAIL PROTECTED]>
Subject: WORKSHOP: Get Linux, free! Sun. Feb 18th
Crossposted-To: 
sac.announce,sacramento.internet,sac.general,sac.internet,ucd.general,ucd.life,ucd.cs.club
Date: Wed, 14 Feb 2001 06:49:11 GMT

LUGOD, the Linux Users' Group of Davis,
and the UC Davis Computer Science Club
present yet another "Linux Installfest!"

Bring your PC to this free workshop, and we'll help
you install and configure the Linux operating system
on it... for free!

Please RSVP using the form on our website to ensure
your spot.  (If you miss out, don't worry - we hold
these monthly!)

  http://www.lugod.org/projects/installfest/

The workshop will take place in the
Engineering Unit II (EUII) building of UC Davis.

Free pizza will be served, as well.


For more information on our club, visit the rest
of our website:

  http://www.lugod.org/


-bill!
[EMAIL PROTECTED]

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

From: Mike Manley <[EMAIL PROTECTED]>
Subject: Re: Linux Sucks... well not really
Date: 14 Feb 2001 06:47:45 GMT

Anurodh Pokharel <[EMAIL PROTECTED]> wrote:
> well, not really and sort of..
> I was recently having adiscussion with one of my windows using friends
> trying to show him the light. 
> In the course of the discussion we came to a point where we had to
> discuss net capabilities. I told him the usual about servers and security
> compared to windows.. then we camp upon browsers.. linux has no good
> browser anymore.. IE unfortunately is faster, more stable and renders
> better than Netscape 4.xx .. mozilla is just big and slow... when it
> shoudl be small and fast... so i find myself with asking why is our OS
> handicapped when it comes to browsers... when it does everything better..


I use Opera with Windows and Linux. It's different, but I have way less(none?) browser 
crashes with
it.

-- 
Mike Manley

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

From: [EMAIL PROTECTED] (johnwhite969)
Subject: Advice for newbie - want to run mail server and NAT/firewall
Date: Wed, 14 Feb 2001 07:24:15 GMT



Thanks for any advice as I am very new to Linux.

To start I know win98, some of NT4.0 workstation and win2K, and less
of NT4.0 server, pluss almost nothing of linux but want to learn.

Problem is I am getting cable soon and need to link two machines one
running win98/win2k duel boot (on a celeron 450), and a stand alone
NT4.0 server (on a pentium pro 150, using server for its ability to
mirror drives for fault tolorance with 3 different people that logon).
Also have an old Dell optiplex GMT 5133 (pentium 133 with 1 gig hard
drive).  I also have 3 PCI Nics 10/100 and one ISA 3com 10 card.  I
can't leave the celeron 450 or pentium pro 150 running 24/7 but can
leave the old dell on all the time.

At the moment the two computers run on their own not connected.  To
start I was planning to run the old Dell as a NAT box using a single
floppy NAT system like www.gnatbox.com .  After getting that set up
and having a high speed connection then downloading what ever would be
the best linux system to use.  Trying it out and learning first on one
of the other computers.

I then thought I would start learning linux and at some point put
linux on the Dell and use it for a mail server, and NAT/router.  I
have a registered domain name ie like www.smith.ca and would like to
be able to run a server with such things as [EMAIL PROTECTED] [EMAIL PROTECTED]
ect.  I have no web page set up for the domain at the moment and would
consider it after getting the router/ mail server setup first and
feeling more confident.

Any suggestion about what software I should start out with for someone
new to linux or should I even use linux?.  I believe it can be done
with NT4.0 server but think Linux is the route to go for stability and
safety.  Also once set up it would be nice if I was able to run the
Dell system with Linux headless and connect to it form the lan side
using one of the other system, but am not sure if this can be done.
I am talking about a home not a company so the email load would be
small like 5 different emails.

If you can point me to any helpful websites/newsgroups or have any
suggestions thanks in advance.  I need all the help I can get

John

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

From: Shai Kedem <[EMAIL PROTECTED]>
Subject: Re: ksh script problem: pwd works differently for ksh then linux binary file
Date: Wed, 14 Feb 2001 07:30:07 -0000



Harlan Grove wrote:
> 
> 
> 
> Shai Kedem <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> ...
> >I have a pdksh installed on Linux RedHat 6.2.
> >From an interactive shell, when I type pwd in a directory which is a 
link,
> >I get the directory name (not hte one linked to), as I expect.
> >When /bin/pwd is run, I get the linked directory name !
> >from a ksh script, it seems it will always run /bin/pwd for pwd rather
> >then the ksh implementation.
> >Any one knows how to override this problems in ksh scripts to it will 
run
> >the pwd of the ksh command ?
> 
> Why bother with running pwd either as an internal command or an external
> binary? If you're using ksh as your interactive shell _and_ as the shell
> running your script, wouldn't the PWD environment variable suffice? 
x=`pwd`
> is every bit as redundant as uuoc.
> 
> I believe pwd is an alias rather than a built-in command like cd, which
> would explain why it works in interactive shells but not in scripts 
(though
> I believe it's possible for the script to trick the shell into thinking 
it's
> interactive).
> 
> 

Hi,

I tried that solution but still get the same result: $PWD will give the 
resolved symbolic name when run from a ksh script, and the symbolic link 
name when run from ksh interactive mode.
If there is a way to force ksh script to use the alias, it will be best.
any suggestion are welcome



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

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

Date: Wed, 14 Feb 2001 08:51:06 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Mail Server Newbie

James Horvath wrote:

> I am looking to set up a simple Linux mail server at home to collect email
> from a number of POP3 accounts, store them on a "mail hub" machine, and
> allow access to those messages from Microsoft Outlook 2000 (on a Windows
> 2000 Pro machine).
>
> I have Mandrake Linux 7.2 (minimal install) on a Pentium Celeron 400MHz with
> 32MB RAM.
>
> I have installed sendmail (but haven't gotten too far with configuring it
> yet (do I even need this?  Would qmail be a better option for a rookie?)),
> and fetchmail (which is able to successfully collect my mail from a variety
> of accounts and store it on the linux box).  I setup local DNS on the linux
> machine, and can ping the mailhub from the Windows machines.

If sendmail is on your box and running, I asume you just want it to forward all

your outgoing mail to your ISP mail server, just edit /etc/sendmail.cf and put
this in:

# "Smart" relay host (may be null)
DS<your_ISP_mailserver>

Don't touch anything else in this file, unless you are absolutly sure what
you're doing.
Now reload sendmail with it's startup files:

/sbin/init.d/sendmail reload
or
/usr/sbin/rcsendmail reload

Send some mails and check
/var/log/mail

If you have problems post the output!

>
>
> My question is, what do I need to setup to read my mail from my Windows
> machine using Outlook 2000?  I can read it from Linux using Kmail, etc., so
> I know the transfer from the POP accounts worked fine.  As stated I can ping
> the mailhub (using either the IP address or the name (mailsys.mydomain.com))
> from the Windows machine, but Outlook states it can't connect with the
> mailhub.  Do I need NIS?  NFS?  Samba?  Sendmail?  Procmail?  Something
> else?
>
> TIA,
>
> James

For POP3 you could go with qpopper from eudora as other suggested, it's easy to
setup
and comes with detailed instructions.

Only problem could be your usage of Outlook, which is prone to make trouble, I
would
use something different, pegasus or eudora MUA have both more features than
anyone
needs and work without any problems.

Good luck

Michael Heiming



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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.advocacy,redhat.networking.general
Subject: Re: RH7/3Com and 3Com Mini PCI Ethernet adapter
Date: Wed, 14 Feb 2001 08:44:03 +0100

In comp.os.linux.hardware [EMAIL PROTECTED] wrote:
> On Tue, 13 Feb 2001 18:04:24 -0800, "Guillermo Auad" <[EMAIL PROTECTED]>
> wrote:

>>I have RHat 7.0 installed on my IBM thinkpad and when I type
>>
>>% ifconfig eth0 (or eth1)
>>
>>it does not find the card. The card, a 3Com 10/100 PCI Mini Ethernet
>>adapter works properly when I boot Windows 2000 on the same laptop.

What card? What are you talking about???? Laptops don't have "cards" in
the same way as desktops do. They have pcmcia sockets or cardbus
sockets. You need to install pcmcia drivers, and pcmcia tools, and so
on. Then you need to teach the system about your card if its not in the
database (it will be .. I have plenty of 3com pcmcia cards).

>>Any ideas? please, reply to [EMAIL PROTECTED]
>>thx.

> Yea.
> Run Windows instead of Linsux .

Doesn't work. Never "recognized" my 3c589. Was a thinkpad too! The
wizard was very helpful, but entirely wrong and most frustrating. After
three days of circles in windows, I finallyrealized that it was
speaking crap, ignored it, set irq and ioport the way I thought
it should be, having seen the linux data, and all worked. The wizard
was trying to set the card irq to the same irq that the pcmcia
controller was using.

> Or, do without your hardware like most Linux users.

Wrong way round.


Peter

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

From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: Difference between "su" and  "su -" ?
Date: 14 Feb 2001 08:01:41 GMT

On Tue, 13 Feb 2001 12:51:38 +0000,
           [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


>Arctic Storm <[EMAIL PROTECTED]> did eloquently scribble:
>> When I change to root super user, I usually issue the command
>> su -
>> And this has worked for me well.
>> What's the difference between "su -" and "su" for root super user?
>
>su changes user, and only user.
>su - builds up the users environment (such as roots $PATH) and takes him
>$HOME.


For people who grew up on System V notice that System V will change the
PATH allways whereas other systems such as Linux and AIX and likely also
BSD will keep the PATH intact when doing 'su' without the dash.  



Villy

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

From: Federico Bravo <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Can I use my ATA/100 hard drive with my ATA/66 controller 
Date: Wed, 14 Feb 2001 08:07:27 GMT

I currently use an ATA 100 HDD on ATA66 controller and RedHat 7.0. It works
fine.
About performance I can only say that I tried ATA66 and ATA100 running Windows
and I DID notice higher speed on ATA100. ( I think Windows sees ATA100 as SCSI,
by the way ).
Bye, Federico.




Mordak wrote:

> Hi all,
> I just purchased a new 60GB Western Digital HD. It's an ATA/100 IDE drive
> and
> I want to run it on my motherboards (Tyan Trinity S2380 and a Athlon 650)
> ATA/66 controller - is this possible? I know an older drive can run on a
> newer controller but I'm unsure about it the other way.
>
> Also, will SuSE 7.0/7.1 Pro have a problem with it? I plan on having it set
> up to have SuSE, FreeBSD, and Peanut Linux running on it to start and then I
> plan on adding Slackware and Debian in a couple of months.
>
> I guess I will be surprised if the answer is no with the backward
> compatibility issue. I do have a CMD ATA/100 PCI Card but I don't believe it
> has any Linux drivers at this point. At least not that I have found.
> Thanks,
> Mordak


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

From: Jesse Wyant <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,comp.os.linux.setup
Subject: Re: XScreenSaver and NVidia OpenGL
Date: Wed, 14 Feb 2001 00:32:36 -0800

I haven't tried xscreensaver yet, but I have gotten xlockmore to work
perfectly fine (RedHat 7.0.9 "Fisher" distro.) using the NVIDIA GL
libraries.  Although, the Sproingies mode is now almost too fast.  I need
to see if I can hack the code to insert delays etc.

In theory though, if the app. uses libGL.so, they should benefit from the
NVIDIA library.  (Or so that's what I've seen, running Quake2, AlephOne,
glload, xlockmore, and the MesaDemos.)

(I'm using kernel 2.4.1, NVIDIA drivers 0.96, XFree86 4.0.2, and a
LeadTek Geforce2 GTS card.)

-jesse


"Brian C. Kiefer" wrote:

> Hello all,
>
> Has anyone been able to get the OpenGL screensavers that come with
> Xscreensaver to work with an Nvidia graphics card which has verion .96
> of the kernel and glx driver installed?
>
> Thanks,
>
> Brian

--

Jesse Wyant
============================================================
You scratch my tape, and I'll scratch yours.




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

From: Jesse Wyant <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,comp.os.linux.setup
Subject: Re: XScreenSaver and NVidia OpenGL
Date: Wed, 14 Feb 2001 00:52:58 -0800

Ok, just toyed around with Xscreensaver, and sure enough, all the
OpenGL screen savers worked fine.  The sproingies is full-screen, and really
fast.  Pretty schweeeett.

Jesse Wyant wrote:

> I haven't tried xscreensaver yet, but I have gotten xlockmore to work
> perfectly fine (RedHat 7.0.9 "Fisher" distro.) using the NVIDIA GL
> libraries.  Although, the Sproingies mode is now almost too fast.  I need
> to see if I can hack the code to insert delays etc.
>
> In theory though, if the app. uses libGL.so, they should benefit from the
> NVIDIA library.  (Or so that's what I've seen, running Quake2, AlephOne,
> glload, xlockmore, and the MesaDemos.)
>
> (I'm using kernel 2.4.1, NVIDIA drivers 0.96, XFree86 4.0.2, and a
> LeadTek Geforce2 GTS card.)
>
> -jesse
>
> "Brian C. Kiefer" wrote:
>
> > Hello all,
> >
> > Has anyone been able to get the OpenGL screensavers that come with
> > Xscreensaver to work with an Nvidia graphics card which has verion .96
> > of the kernel and glx driver installed?
> >
> > Thanks,
> >
> > Brian
>
> --
>
> Jesse Wyant
> ------------------------------------------------------------
> You scratch my tape, and I'll scratch yours.

--

Jesse Wyant
============================================================
You scratch my tape, and I'll scratch yours.




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

From: Miguel Lastra <[EMAIL PROTECTED]>
Subject: 2  NICS +slow telnet
Date: Wed, 14 Feb 2001 08:56:16 +0100

Hi all,

        I have a Linux that serves files (with samba) for an intranet and
everything worked fine. I could telnet from other windows machines to
the Linux Box.
        Now I installed a sencond NIC in the Linux box for a ADSL connection. I
noticed that whan I try to telnet from a Windows computer (from the
intranet) to the Linux box it takes much longer to get a response. I
have also noticed that if a disconnet the cable that goes from the
second NIC to the ADSL router, I get no response to telnet or ssh
requests (request made form the intranet) from the Linux box .
        I seem like the second conecction (to internet) is influencing the
intranet, why ? Does anybody know how to solve this ?

        Thank you

                Miguel

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

From: [EMAIL PROTECTED] (Svend Olaf Mikkelsen)
Subject: Re: File system/Superblock problems
Date: Wed, 14 Feb 2001 09:01:29 GMT

David Richard Larochelle <[EMAIL PROTECTED]> wrote:

>My linux file system seems to be corrupted.
>When I try to boot I get a kernel panic unable to mount root file system.
>
>I tired booting off a rescue disk and running e2fsck but I get something
>like:
>e2fsck: Bad magic number in super-block while trying to open /dev/hdb1
>
>The superblock could not be read or does not describe a correct ext2
>filesystem.  If the device is valid and it really contains an ext2
>filesystem (and not swap or ufs or something else), then the superblock
>is corrupt, and you might try running e2fsck with an alternate superblock:
>    e2fsck -b 8193 <device>
>
>I've tried running e2fsck with -b 8193 and with -b 16385 but I still get
>the same message.  I added 8192 and repaeted this  about 5 more times but
>still no  luck.
>
>Anyone have any sugestions? I really don't want to lose the data on that
>partition.
>
>Thanks in advance,
>
>David

Initially get Findpart at http://inet.uni2.dk/~svolaf/utilities.htm

do from DOS or Windows:

findpart all fp.txt

and insert (not attach) the output into a follow-up to this message.

If you have FAT partitions on the disk, do not write to them until the
nature of the problem is known.
-- 
Svend Olaf

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


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

Reply via email to