Linux-Setup Digest #201, Volume #21              Thu, 10 May 01 11:13:08 EDT

Contents:
  Re: can not boot linux after repartioning ("Alexey Azariev")
  Re: Need Module for 3c905B-TX NIC card for RedHat 6.2 (M Yasir Khan)
  Re: Recompiled kernel nearly twice as fast, but no sound! ("Joel")
  Re: dual disk, won't boot to windows (Steve Martin)
  [EMAIL PROTECTED] (Steve Martin)
  VGA prob with RH Linux 6.2 on emachines 633 ("Glenn Elliott")
  Re: can not boot linux after repartioning ("Eric")
  Re: some NFS mounted dir and files are 'invisible'?? (Simone)
  Re: can not boot linux after repartioning ("Alexey Azariev")
  console colour problem. ("pimpi")
  Re: how to allow shutdown for a user ?? :) (Kevin Croxen)
  Re: sTunnel: How to save self-signed certifs? (Frederic Faure)
  INIT problems when installing 2.4.2 kernel... (Txema Torne)
  Re: INIT problems when installing 2.4.2 kernel... ("Eric")
  Re: how to allow shutdown for a user ?? :) (H.Bruijn)
  Custom kernel build fails on RedHat 7.1 ("Matthias Haase")
  gcc compiling problems (Unknown)
  Can't get past log on screen in Caldera 2.4 ("Mike Buckley")
  Re: Moonlighter needed - Orange County California (Michael Perry)

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

From: "Alexey Azariev" <[EMAIL PROTECTED]>
Subject: Re: can not boot linux after repartioning
Date: Thu, 10 May 2001 05:15:01 -0700

Hi
 Start form a linux cd, follow install procedures (i used text install but X
should also work) and on each stage try to switch between tty's
(alt+2,alt+3). Finally, you'll get a limited shell on tty3 or tty2 (don't
remember:) . Then mount your linux root parititon to some temp directory,
chroot to this directory, edit you lilo.conf file according to new
paritition configuration and then run lilo. Reboot and you are there :)


"P. Descouvemont" <[EMAIL PROTECTED]> wrote in message
news:9ddpkf$rai$[EMAIL PROTECTED]...
> Hello,
> I recently repartioned my HD with partition magic (2 dos partiotion, and 1
> linux partition).
> After rebooting, lilo has disappeared, and I can not run linux anymore.
> The problem is that I did not make a rescue disk... I used the rescue disk
> from an other machine but this does not work.
>
> Any idea?
>
> --
> _________________________________________________________________________
> Pierre Descouvemont                         Telephone : +32-(0)2-6505545
> Physique Nucleaire Theorique                Fax       : +32-(0)2-6505045
> Universite Libre de Bruxelles, CP229        Email     : [EMAIL PROTECTED]
> B1050 Brussels                              ICQ: 9996528
> BELGIUM
>
>
>



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

From: M Yasir Khan <[EMAIL PROTECTED]>
Subject: Re: Need Module for 3c905B-TX NIC card for RedHat 6.2
Date: Thu, 10 May 2001 17:19:42 +0500

Hi again,

I am still facing the problems ? �.

I�d tried to set eth0 both the ways in netconf�. With setting the IRQ and
Without setting the IRQ. But when I type ifconfig it only displays me the lo
entry in both the cases.

When I do ifup eth0 it gives error:
SIOCSIFFLAGS: Resource temporarily unavailable
SIOCADDRT:     Network is down.

And sometimes it only says:
Delaying eth0 initialization.

I am using Kernel module 3c59x for 3 Com Etherlink XL 10/100 PCI TX NIC
(3C905B-TX). My network card is functioning properly in Windows 2000.

One of my colleagues has successfully configured the same network card using
the same module as that of mine. And he also has same matchine.

Could anyone please give me a clue �..

Regards,

Yasir.


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

From: "Joel" <[EMAIL PROTECTED]>
Subject: Re: Recompiled kernel nearly twice as fast, but no sound!
Date: Thu, 10 May 2001 07:13:50 -0500

I figured it out, I had to put 'sb=0x0220,05,03,07' in the kernel
paramaters.  (sb=<io>,<irq>,<dma>,<dma2>)
Now it works.
Thanks for your help.

"Steve Martin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> [EMAIL PROTECTED] wrote:
> >
> > Joel <[EMAIL PROTECTED]> wrote:
> > > No ISAPnP Sound Blaster found, trying standard IRQ, IO, and DMA.
> > > IRQ, IO, DMA required.
> > > Those aren't the exact words, but something similar.  How can I tell
the
> > > kernel what irq, etc to use?  Will I need to recompile the kernel?
> >
> > If you have compiled the SB like a module you should be able to use
> > modprobe to pass to it the required parameter. See the documentation
> > in /usr/src/linux/Documentation.
>
> If the sound card is an ISA-based PNP, you might want to take a look
> at "man isapnp" and "man pnpdump". You can set the desired IRQ, DMA,
> et cetera on the card with these commands, then build the driver as
> a module and put the correct parameters in /etc/modules.conf, and it
> should find the card.



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

From: Steve Martin <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: dual disk, won't boot to windows
Date: Thu, 10 May 2001 04:26:58 -0400

professor bikey bike wrote:
> 
> I just added a second hard drive to my linux system that contains win95 on
> it. From linux I can mount the disk, and I have reconfigured Lilo.conf so
> that it should boot either.  But when I choose to boot windows, it tells me
> there is a nonsystem disk, and to remove it and hit a key to continue(no I
> don't have a floppy in). I have gathered that I may need to move the windows
> disk so that it is the number one disk, then install Lilo on it.  Is this my
> problem?  If so, how do I go about installing Lilo in the right place on the
> Windows hard drive? Thanks much.
> 
> --

This is not necessary; I'm running Windows 98 on a second hard drive.
The Windows 98 drive is the second (slave) drive on my primary IDE
controller. Here's a snippet from my lilo.conf file showing how it's
done.

other=/dev/hdb1
        label=Win98
        alias=w
        map-drive=0x80
          to=0x81
        map-drive=0x81
          to=0x80
        table=/dev/hdb

You don't really want to move your Linux drive to another position in
the chain, as that will require editing (at the least) /etc/fstab and
/etc/lilo.conf and re-running LILO. It's easier to add the Windows drive
as shown above.

Hope this helps.

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

From: Steve Martin <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: [EMAIL PROTECTED]
Date: Thu, 10 May 2001 04:28:01 -0400

test

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

From: "Glenn Elliott" <[EMAIL PROTECTED]>
Subject: VGA prob with RH Linux 6.2 on emachines 633
Date: Thu, 10 May 2001 12:40:48 GMT

Hi there,

I'm trying to load RedHat Linux 6.2 on a virgin (no o/s installed)
e-machines celeron 633Mhz (64MB/20GB). This has graphics and sound built
into the motherboard using an Intel chipset. On Boot, BIOS says Intel 8xx
Chipset Video Bios - 1MB, VGA memory is shared with regular RAM.

I've loaded Linux and can get into the command shell but can't get X-Windows
to run

When I run startx I get error :

SVGA PCI : intel Unknown chipset (0x7121) rev 3, memory 0xf80000000,
0xf4000000
-- SVGA : unable to open /dev/agpgart: No such device

Can anyone help?

Thanks,

Glenn
london



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

From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: can not boot linux after repartioning
Date: Thu, 10 May 2001 14:46:52 +0200

> I recently repartioned my HD with partition magic (2 dos partiotion, and 1
> linux partition).

what did you do?
moved/added/deleted partitions

> After rebooting, lilo has disappeared,

entirely?
No LI either?
Then LILO wasn't in the MBR I suppose?

> and I can not run linux anymore.

Depends on what you did with PM. If you deleted something...

> The problem is that I did not make a rescue disk... I used the rescue disk
> from an other machine but this does not work.
>

How did it fail?
Any bootdisk should work. (You may need to supply a root= parameter
during boot, but that's all)

Eric



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

Date: Thu, 10 May 2001 14:49:37 +0200
From: Simone <[EMAIL PROTECTED]>
Subject: Re: some NFS mounted dir and files are 'invisible'??

Hello,

I  find the solution: the problem comes in fact from a bug present in kernel
2-4-2. I upgraded to 2-4-3 and the problem is not there anymore.

Thanks to every developper!

Simone

Simone wrote:
> 
> Hello everybody,
> 
> We are having some problems on a machine (i686) running Linux Redhat-7.1
> with kernel version 2.4.2-2.
> and GNU bash, version 2.02.1(1)-release (i686-pc-linux-gnu)
> 
> We have a NSF mounted  directory /net/Repository where we keep all our
> software. (Repository is on a sgi)
> 
> If I do the following  (the ... indicates just a part of the path that I
> have omitted)
> 
> [7]> ls /net/Repository/.../Main_Template/ <enter>
> Data,v  main_ALE.f,v  makefile,v  usr_data_boundary.f90,v  usr_data_fluid.f,v
>                                  ^^^^^^^^^^^^^^^^^^^^^
> 
> ls tells me that in the directory I have 5 files (rightly so!). While, if I
> do use the <tab> file completion (bash shell)
> 
> [8]> ls /net/Repository/.../Main_Template/ <tab> <tab>
> Data,v              makefile,v
> main_ALE.f,v        usr_data_fluid.f,v
> 
> I find only 4 files!
> 
> and also:
> [8]> ls /net/Repository/.../Main_Template/* <enter>
> Data,v              makefile,v
> main_ALE.f,v        usr_data_fluid.f,v
> 
> The worst of it is that cvs, which is normally the utility that operates on
> that directory, DOES NOT FIND the file  usr_data_boundary.f90,v  EITHER!
> Everything worked fine with RH 7.0 and kernel 2.2.x.  Could it be related
> with the new NFS code in the kernel? We need help to solve the problem,
> otherwise we cannot use cvs!
> 
>  Thank you for your help.
> 
>  Luca and Simone.
> 
> PS: This happens also with  other regular files, directoris or binaries not
> related to CVS, but still in Repository.

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

From: "Alexey Azariev" <[EMAIL PROTECTED]>
Subject: Re: can not boot linux after repartioning
Date: Thu, 10 May 2001 06:07:13 -0700

oops, i forgot, you have to edit your /etc/fstab in order to mount you new
partitions correctly.



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

From: "pimpi" <[EMAIL PROTECTED]>
Subject: console colour problem.
Date: Thu, 10 May 2001 09:41:49 -0400

Hi!

I recently bought a new Grahiccs card (GeForce2), and now if I use any
console app which uses colours (ls --color, lynx, mc etc.) whenever a
blue-on-black character is displayed, it is "striked-thru". All other
characters are displayed ok.

I guess I have to change some definitions in termcap or even in the
kernel source, but I have no idea what, where and how.

Any suggestions?? 

        peter
-- 
PS: please reply per email too where possible!!

  --                        --                           --
The Information Revolution will be fought on the command line.

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

From: [EMAIL PROTECTED] (Kevin Croxen)
Subject: Re: how to allow shutdown for a user ?? :)
Date: 10 May 2001 13:41:14 GMT

In article <[EMAIL PROTECTED]>, Yves Leung-Tack wrote:
>Hi, 
>
>
>  I used Linux Mandrake 7.2 at HOME.
>And I login as a normal user. But to shutdown I have to be root
>I wonder how can I allow user to shutdown ???
>It is "really" painful to type sum,  pwd, and finally shutdown !
>
>I found nothing in man page ...except about a file shutdown.allow
>But as user I cannot even use the command shutdown :((
>
>Thanks a lot !

Since you are the only user for your particular machine, you could 
chmod 6555 /usr/bin/shutdown   which should make the command executable 
from your user acct. You wouldn't want to do this, of course, if your 
machine is semi-permanently networked to the outside world.

--Kevin

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

From: [EMAIL PROTECTED] (Frederic Faure)
Subject: Re: sTunnel: How to save self-signed certifs?
Date: Thu, 10 May 2001 14:16:41 GMT

On Thu, 10 May 2001 08:54:42 GMT,
[EMAIL PROTECTED] (Frederic Faure) wrote:
>I got sTunnel up and running to allow for secure POP access, but since
>I'm using a self-signed CA, Outlook 2K and Outlook Express 5 prompt
>users each time whether they do want to use it. I read the online help
>about "digital IDs" and the sTunnel FAQ, but I couldn't find infos on
>how to add CAs to O/OE. Any idea?

        Added infos thx to Steve Wirth: sTunnel saves both the private
key and the certificate request in one file by running
/usr/local/ssl/bin/openssl req -new -x509 -days 365 -nodes
-config stunnel.cnf -out stunnel.pem -keyout stunnel.pem

Outlook/Outlook Express are supposed to use the same certificate
repository used by IExplorer. To import the above x509 file, copy it
as stunnel.cer, edit it to remove the server's private key,
right-click on this file and select Install Certificate.

=> As this point, I'm still prompted by OE/O whether I want to use
this certificate. Don't I have to certify this sTunnel-generated file
by a fake CA?

Thx
FF.

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

From: [EMAIL PROTECTED] (Txema Torne)
Subject: INIT problems when installing 2.4.2 kernel...
Date: 10 May 2001 14:16:39 GMT

Hi,

I'm trying to install 2.4.2 kernel in a slackware-4.0 distro.
I've upgraded all the software packages mentioned in the Change file that 
comes with the kernel.

Right now, I have:
modutils 2.4.4
egcs 2.91.66
binutils 2.9.1.0.25
util-linux 2.10l (not sure if that version or 2.11a. How to check?? Anyway, 
documentation recommends 2.10o... it's that important or 2.10l it's ok??)


Also compiled devfs support, and modified /etc/fstab to boot with the 
correct names for the devices, depending on the kernel version:

--/etc/fstab--
#/dev/ide/host0/bus0/target0/lun0/part1 /       ext2    defaults        1 1
#/dev/ide/host0/bus0/target0/lun0/part2 swap    swap    defaults        0 0

/dev/hda2       swap        swap        defaults   0   0
/dev/hda1       /        ext2        defaults   1   1

none             /dev/pts  devpts     gid=5,mode=620  0   0

none             /proc    proc        defaults   0   0
--end--

I uncomment the first two lines when booting with 2.4.2.
I uncomment the 3rd and 4th line when booting with 2.2.13.


SO, the problem is: when booting with 2.4.2, everything works fine, all the 
hardware recognition stuff and all that, but it CRASHES when executing the 
inittab. Ok, it doesn't crash, but keeps showing the following message 
(sorry, I don't remember the exact message, and it's a bit difficult to try 
it again, but it's something like...): "process blablabla spawning too 
fast. Waiting blablabla..".
Meanwhile, the system is unresponsive, and I can't do anything. After some 
minutes, the only thing I can do is reboot the system...

Does anyone have any idea how to arrange this??

Thanks in advance,


--
Txema Torne
[EMAIL PROTECTED]

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

From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: INIT problems when installing 2.4.2 kernel...
Date: Thu, 10 May 2001 16:45:06 +0200

> SO, the problem is: when booting with 2.4.2, everything works fine, all
the
> hardware recognition stuff and all that, but it CRASHES when executing the
> inittab. Ok, it doesn't crash, but keeps showing the following message
> (sorry, I don't remember the exact message, and it's a bit difficult to
try
> it again, but it's something like...): "process blablabla spawning too
> fast. Waiting blablabla..".

process id:xxx is respawning to fast.

check your inittab for a line with this id:xxx line.
Without knowing *what* is failing, you cannot correct it.
(My guess, it's X, try "linux 3" (RH runlevel without X))

Eric



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

From: [EMAIL PROTECTED] (H.Bruijn)
Subject: Re: how to allow shutdown for a user ?? :)
Date: 10 May 2001 14:56:45 GMT
Reply-To: [EMAIL PROTECTED]

On Thu, 10 May 2001 03:11:03 -0400, Yves Leung-Tack allegedly wrote:
>Hi, 
>
>
>  I used Linux Mandrake 7.2 at HOME.
>And I login as a normal user. But to shutdown I have to be root
>I wonder how can I allow user to shutdown ???
>It is "really" painful to type sum,  pwd, and finally shutdown !
>
>I found nothing in man page ...except about a file shutdown.allow
>But as user I cannot even use the command shutdown :((

The reason you can't use the command (error: command not found:
shutdown) is because /sbin isn't in your PATH. Simply include an alias
in your ~/.bashrc or include /sbin in your PATH. Example for both:

        # ~/.bashrc: executed by bash(1) for non-login shells.
        ...
        alias shutdown='/sbin/shutdown -a -t 10 +1 "System-shutdown in 60 sec."'
        export PATH=$PATH:/sbin

Then add your username to /etc/shutdown.allow, change the permissions of
/sbin/shutdown so that it sets the Userand Group ID to root upon execution
(SUID-root) "chmod 6750 /sbin/shutdown" This allows only root and
the members of the group owning the file to execute the command
shutdown. This is one of the methods to prevent unauthorized users from
issueing the shutdown command.
Create a group called shutdown, either with the command 
"addgroup shutdown" or by editing the /etc/group file directly, and add
yourself, and everybody else who will be allowed to run the command 
shutdown, to that group by adding your login to the line corresponding 
to the group shutdown in /etc/group. 
"chown root.shutdown /sbin/shutdown". changes the group bit from root to
the group shutdown. 

Now log in as the user and you should be a member of the group shutdown
(confirm with the "id" command) and be able to issue the shutdown
command (confirm with "/sbin/shutdown -k -a now "test of the shutdown
command"").

In shellscript form for the loginname yves:
        #!/bin/sh
        echo "shutdown:x:97:yves" >> /etc/group
        echo yves > /etc/shutdown.allow
        chmod 6750 /sbin/shutdown
        chown root.shutdown /sbin/shutdown
--
If a trainstation is the place where trains stop, what is a workstation?
========================================================================
Herman Bruijn                         website:   http://hermanbruijn.com
The Netherlands 

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

From: "Matthias Haase" <[EMAIL PROTECTED]>
Subject: Custom kernel build fails on RedHat 7.1
Date: Thu, 10 May 2001 16:53:15 +0200

Hi,

past upgrading (with some known trouble about the SCSI aicxxxx driver)
to RedHat 7.1 I can't rebuild now an customized kernel.

'make bzImage' fails on our server (PIII 750, SCSI) always with:.

arch/i386/kernel/kernel.o: In function `pci_fixup_vt8363':
arch/i386/kernel/kernel.o(.text.init+0x3727): undefined reference to
`noautodma'

Of course, I do 'make rmpoper' 'make clean' and 'make dep' bevor,
same error comes up with kgcc instead of RH 7.1 own gcc.


What's that? Never seen this before... Please, please, one hint for me...

-- 
regards
 
Matthias

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

Date: Wed, 9 May 2001 21:09:36 -0700 (PDT)
From: Unknown <Unknown>
Subject: gcc compiling problems

Hello everyone,
   I have recently installed Linux but i can't get a simple "hello 
world" program to work.  I can get it to run under Microsoft 
Vis C++ but not in linux.  I get these errors:
"undefined reference to cout"
"undefined reference to 'ostream::operator << (char const*)"
Can anybody help me?  Thanks  

this is my test.cc

#include "iostream.h"
int main(int argc, char * argv[])
{
  cout << "hello world";
  return 0;
}

this is my make file
doStuff: test.o
   gcc -g test.o
test.o: test.cc
   gcc -c test.cc
----
Posted via http://www.etin.com - the FREE public USENET portal on the Web
Complete SEARCHING, BROWSING, and POSTING of text and BINARY messages!

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

From: "Mike Buckley" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.caldera,linux.dev.newbie
Subject: Can't get past log on screen in Caldera 2.4
Date: Thu, 10 May 2001 14:58:00 GMT

Here is one for ya's. My system has now decided it will not let me past the
log on screen. If I type the correct password it will switch to my desktop
momentarily then go back to the log in screen. My guess is the hard drive
can't handle the extra memory required of KDE. But I am running 164 Meg ram
and lots of free disk space. When I partitioned the 3 gig hard drive I just
created a root partition and a 340 meg swap partition. I have no extra
software installed other than StarOffice but I have been getting "low disk
space" messages of late. Is the partitioning the problem? Appreciate any
suggestions.



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

From: [EMAIL PROTECTED] (Michael Perry)
Subject: Re: Moonlighter needed - Orange County California
Date: Thu, 10 May 2001 15:06:39 -0000

On Wed, 09 May 2001 22:41:01 -0700, Dan Fraser <[EMAIL PROTECTED]> wrote:
> We are looking for a Linux moonlighter in the Orange County area to help
> us transfer a DOS batch file based industrial system to a Linux based
> system. This is NOT a regular position and is not suitable for someone
> who needs something to pay the rent. Payment will be in the form of very
> low priced stock options in a public company that will be profitable by
> August . Estimated time required to do the job is 50 hours depending on
> your experience. Can lead to more contract work in future. 
> I don't care about qualifications or how old you are. Students and
> "hackers" welcome. If you know lot about setting up Linux machines,
> specially script based units and can write the Linux equivalent of DOS
> batch files, I can use your help.  Experience with Linmodem software 
> (using a Winmodem under Linux) and getting PCI sound cards to work under
> Linux will be helpful. We will supply dedicated machines for you to use.
> We prefer to deal with someone who lives in Orange County, California or
> nearby (LA or RIverside county) as there will be times personal contact
> will be needed.
> Call Dan at 714-420-7535 or after 5:30 in the evening at 714-637-5366.
> -- 
> Dan Fraser
> 
> From the City of Orange in sunny California
> 714-637-5966 Cell 714-420-7535
> 
> Check out my electronic schematics site at: http://nav.to/techman10
> If you are into cars check out www.roadsters.com

ImO, with all the problems with the tech stocks and with the market and with
companies going down that have every intention of being profitable, it would
be a far better move to just offer dollars.  Currency will never plan to do
anything but at least retain some worth; stock may not even be worth the
paper its printed on by the time someone can do something with it.

If you are interested in finding some talent for this, why not offer
something for it?  A bunch of paper is not worth anything and I don't think
you will find some shell scripters that will take this on for that promise.

Make it worthwhile and perhaps you will find someone. Keep the offer to do
shell scripting or make the existing ones run under dos-emu and toss in
troubleshooting linmodems and soundcards, and you really need to consider
this a consulting gig.

-- 
Michael Perry
[EMAIL PROTECTED]
==================

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


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