Linux-Setup Digest #120, Volume #20              Tue, 28 Nov 00 03:13:07 EST

Contents:
  Re: Kernel compilation problem with RH 7 (Risto Toivola)
  Re: How to _un_install gcc? (Lukas Mensinck)
  XFree CVS HELP !! (Stefan Stommels)
  Re: Can Anyone Tell Me How To Compile My NIC Driver? (E J)
  Re: Wooooo Hooooo! Got it!!!!!! (Ian Bevan)
  RH7.0 portsentry and kernel 2.4.0 (root)
  Re: Wooooo Hooooo! Got it!!!!!! (Eric)
  Makefile: where is arch/i386/boot? ("james")
  Re: Igniting a Linux box (E J)
  LAN card doesn't work (Stefan Stommels)
  Re: ?-rescue (Eric)
  only allowed one netscape in RH7? (Peter Bismuti)
  Re: Xircom  RealPort CardBus RBEM56G ??? ("cyn")
  Re: chmod within a skript (Wayne Pollock)
  Re: LPD daemon problem (Wayne Pollock)

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

From: Risto Toivola <[EMAIL PROTECTED]>
Subject: Re: Kernel compilation problem with RH 7
Date: Tue, 28 Nov 2000 09:08:53 +0200

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

Adreas,

A couple of suggestions:

1. Before editing the makefile, try if simple
CC=kgcc
export CC
will do the trick. It worked for me, but I've heard it does not always solve the
problem.
If the 'gcc' stuff changes to 'kgcc' in your make command output, you should be
OK.

2. For some reason I can't build my kernel if I don't enable SMP support. That's
no
problem though, since SMP kernel can obviously run single CPU machines.

R(o)isto

Tim Watkins wrote:

> "Andreas Tretow" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Hi Folks,
> >
> > I have a little bit of a problem. I tried to compile a custom kernel for
> > my box: Athlon 700, Asus K7M (AMD Irongate), Riva TNT 2, SCSI Card with
> > Symbios chip.
> > Make dep ran without any problem, but when I try to compile the kernel I
> > get the following output:
> >
> > [root@locutus linux]# make bzImage
> > gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
> > -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
> > -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586
> > -DUTS_MACHINE='"i386"' -c -o init/version.o init/version.c
> > make -C  kernel
> > make[1]: Entering directory `/usr/src/linux-2.2.16/kernel'
> > make all_targets
> > make[2]: Entering directory `/usr/src/linux-2.2.16/kernel'
> > gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
> > -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
> > -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586
> > -DEXPORT_SYMTAB -c ksyms.c
> > In file included from /usr/src/linux/include/linux/modversions.h:50,
> > from /usr/src/linux/include/linux/module.h:19,
> > from ksyms.c:14:
> > /usr/src/linux/include/linux/modules/i386_ksyms.ver:6:18: warning:
> > "cpu_data" redefined
> > /usr/src/linux/include/asm/processor.h:96:1: warning: this is the
> > location of the previous definition
> > /usr/src/linux/include/linux/modules/i386_ksyms.ver:28:22: warning:
> > "smp_num_cpus" redefined
> > /usr/src/linux/include/linux/smp.h:77:1: warning: this is the location
> > of the previous definition
> > /usr/src/linux/include/linux/modules/i386_ksyms.ver:118:27: warning:
> > "smp_call_function" redefined
> > /usr/src/linux/include/linux/smp.h:83:1: warning: this is the location
> > of the previous definition
> > In file included from ksyms.c:18:
> > /usr/src/linux/include/linux/kernel_stat.h: In function `kstat_irqs':
> > /usr/src/linux/include/linux/kernel_stat.h:47: `smp_num_cpus' undeclared
> > (first use in this function)
> > /usr/src/linux/include/linux/kernel_stat.h:47: (Each undeclared
> > identifier is reported only once
> > /usr/src/linux/include/linux/kernel_stat.h:47: for each function it
> > appears in.)In file included from
> > /usr/src/linux/include/linux/interrupt.h:51,
> > from ksyms.c:21:
> > /usr/src/linux/include/asm/hardirq.h:23:24: warning: "synchronize_irq"
> > redefined/usr/src/linux/include/linux/modules/i386_ksyms.ver:138:1:
> > warning: this is the location of the previous definition
> > In file included from /usr/src/linux/include/linux/interrupt.h:52,
> > from ksyms.c:21:
> > /usr/src/linux/include/asm/softirq.h:75:23: warning: "synchronize_bh"
> > redefined
> > /usr/src/linux/include/linux/modules/i386_ksyms.ver:142:1: warning: this
> > is the location of the previous definition
> > make[2]: *** [ksyms.o] Error 1
> > make[2]: Leaving directory `/usr/src/linux-2.2.16/kernel'
> > make[1]: *** [first_rule] Error 2
> > make[1]: Leaving directory `/usr/src/linux-2.2.16/kernel'
> > make: *** [_dir_kernel] Error 2
> > [root@locutus linux]#
> >
> >
> > Now, what could be the problem ? I appreciate any kind of input and
> > would like to thank you in advance.
> >
> > Andreas
> > --
> > Andreas Tretow
> > [EMAIL PROTECTED]
> >
>
> It's a known problem.  Go into /usr/src/linux  and edit the Makefile.
>
> You need to change wherever you see "gcc" to "kgcc".  Should be all close to
> the top.
> Worked for me...
>
> Tim

==============9D355937ACF9BFD026021D4B
Content-Type: text/x-vcard; charset=us-ascii;
 name="risto.toivola.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Risto Toivola
Content-Disposition: attachment;
 filename="risto.toivola.vcf"

begin:vcard 
n:Toivola;Risto
tel;cell:+358-40-530 2728
x-mozilla-html:FALSE
org:Osaamo Oy
adr:;;Kyl�nvanhimmantie 22 B 4;Helsinki;;00640;Finland
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Risto Toivola
end:vcard

==============9D355937ACF9BFD026021D4B==


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

From: [EMAIL PROTECTED] (Lukas Mensinck)
Subject: Re: How to _un_install gcc?
Date: 28 Nov 2000 07:20:45 GMT
Reply-To: [EMAIL PROTECTED]

On 25 Nov 2000 23:22:28 -0500, Paul Kimoto <[EMAIL PROTECTED]> wrote:
>In article <[EMAIL PROTECTED]>, Lukas Mensinck wrote:
>> I have to use a gcc during installation but
>> I will remomve this from the machine after installation
>> of all progs is done.
>> While reading the documentation I can't find informations
>> how to do this.
>
>It depends on how you are installing gcc.  How are you doing that?
Well, downloading the soure .. confugre .. make ... make install
That's the way.
I know, using a rpm is easy to uninstall. Thats not my problem.
What I don't know ist how to uninstall the compiled and installed
source code programs.

Thanks for your Help

Lukas

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

From: Stefan Stommels <[EMAIL PROTECTED]>
Subject: XFree CVS HELP !!
Date: Tue, 28 Nov 2000 07:32:33 GMT

Anyone know what I should get from the Xfree86 CVS repository to get my
GeForce 2 MX working in Xfree 4.0.1 using NVIDIA's 0.95 driver ?


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

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

From: E J <[EMAIL PROTECTED]>
Subject: Re: Can Anyone Tell Me How To Compile My NIC Driver?
Date: Tue, 28 Nov 2000 07:15:19 GMT

Just a suggestion: use kgcc instead of gcc to compile your driver module.

Rand Simberg wrote:

> I've upraded to a 2.2.17 kernel on my RH7.0 system.  However, my
> Unicom NIC needs a driver module named "winbond-840.o".  The last time
> I compiled it, it was for 2.2.13.  When I try to insmod it, I get the
> message that it's compiled for the wrong kernel version, and needs to
> be recompiled.  When I recompile using the compiler directive at the
> end of the code (which worked last time), I get the message:
>
> In file included from winbond-840.c:67:
> /usr/include/linux/modversions.h:1 #error Modules should never use
> kernel-headers system headers,
> /usr/include/linux/modversions.h:2: #error but headers from an
> appropriate kernel-source.
>
> Can anyone tell me what the problem is?
>
> ************************************************************************
> simberg.interglobal.org  * 310 372-7963 (CA) 307 739-1296 (Jackson Hole)
> interglobal space lines  * 307 733-1715 (Fax) http://www.interglobal.org
>
> "Extraordinary launch vehicles require extraordinary markets..."
> Replace first . with @ and throw out the "@trash." to email me.
> Here's my email address for autospammers: [EMAIL PROTECTED]


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

Crossposted-To: alt.os.linux,alt.os.linux.slackware,comp.os.linux.hardware
Date: Tue, 28 Nov 2000 15:29:51 +0800
From: Ian Bevan <[EMAIL PROTECTED]>
Subject: Re: Wooooo Hooooo! Got it!!!!!!



You will need unallocated space on one of the drives to install Linux,
ie: If all the partitions are taking up all of the space then you will
have to delete one of the partitions.
Then manually partition the unallocated space on the drive creating the
necessary partitions.


On Mon, 27 Nov 2000, Min Kuan wrote:

> Hi, guys. You probably had more discussions before this, but I missed them.
> 
> I'm having a coexisting OS problem that I was wondering if anyone of you
> could help.
> 
> I've a 30G and a 6G hard drives. The 30G drive is partitioned into 10G,
> ~9.7G, ~4.5G, ~4.5G. And the 6G is partitioned into 3 x 2G.
> 
> I installed Window2000 in the 10G partition of the 30G hd. How do I install
> Linux in this case? I read somewhere that I have to prepare a small
> partition (< 8G) for Linux, but in which partition? In the 10G partition?
> How do I partition the 10G partition w/o thrashing it? I may be asking dump
> questions, but I really need to find the answer.
> 
> TIA.
> 
> 
> Min.
> 
> 
> 
> 
> "The infamous "Brian"" <[EMAIL PROTECTED]> wrote in message
> news:Ge2U5.32548$[EMAIL PROTECTED]...
> > Hi Bob:
> >
> > bob_more wrote in message <[EMAIL PROTECTED]>...
> > >"The infamous \"Brian\"" <[EMAIL PROTECTED]> wrote:
> >
> > >>Next, got W98 emergency disk and booted that, then ran
> > >>"C:\fdisk /mbr" and rebooted, this time straight into W2K.
> >
> > >>Next, boot into Linux with boot floppy and reran liloconfig
> > >>and selected simple and BANGO - it installed.
> >
> > >>Now when I boot it shows that cool little boot graphic where
> > >>you can select DOS or Linux with the cursor keys and <enter>.
> >
> > >>I bet Bill and his buddies worked months to foul up the MBR
> > >>so it wouldn't work - Bastards!
> >
> > >>Now I can run identical services on both installs and see what's
> > >>what! Those Redmond Bastards!
> >
> > >Not to discourage you, but fdisk /mbr is an old windows trick, and
> >
> > Old DOS trick, you mean. Here is the deal; installed W2K Advanced Server
> and
> > the install altered the MBR so lilo couldn't locate winnt.exe (or
> whatever).
> > lilo wasn't having a problem with installing and running a Linux
> partition,
> > it was just a problem with the W2K partition (/dev/hda1 - 5 gig).
> >
> > >I'll add my own, when in doubt and ya wanna be sure, I use fdisk /mbr
> > >and then a low leveler called maxllf which kills all partitions on a
> > >hard disk, if you want a clean disk to install on. extreme but it works.
> >
> > Thanks for that - will look it up.
> >
> > >Otherwise partition magic is your friend.
> >
> > Ya, got an old PM but doesn't work on new FAT32 partitions.
> >
> > Best regards,
> >
> > Brian
> >
> >
> 
> 
> 


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

From: root <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: RH7.0 portsentry and kernel 2.4.0
Date: Tue, 28 Nov 2000 02:44:27 -0500

Portsentry runs fine on an out-of-the box RH7.0. With kernel
2.4.0-test11 portsentry takes up about 70-75% of cpu and syslog takes up
the rest, and I have to killall portsentry.

Does anyone have any idea what's going on?


Some messages from /var/log/messages, towards the end of boot, when
portsentry is started, till I kill it:

Nov 28 02:23:19 localhost anacron[611]: Anacron 2.3 started on
2000-11-28
Nov 28 02:23:19 localhost anacron[611]: Will run job `cron.daily' in 5
min.
Nov 28 02:23:19 localhost rhnsd: rhnsd startup succeeded
Nov 28 02:23:19 localhost rhnsd[626]: Red Hat Network Services Daemon
starting up.
Nov 28 02:23:20 localhost portsentry[641]: adminalert: Psionic
PortSentry 1.0 is starting.
Nov 28 02:23:20 localhost portsentry[642]: adminalert: Going into listen
mode on TCP port: 1
Nov 28 02:23:20 localhost portsentry: Starting portsentry -tcp:
succeeded
Nov 28 02:23:20 localhost portsentry[645]: adminalert: Psionic
PortSentry 1.0 is starting.
Nov 28 02:23:20 localhost portsentry[642]: adminalert: Going into listen
mode on TCP port: 11
Nov 28 02:23:20 localhost portsentry[642]: adminalert: Going into listen
mode on TCP port: 15
Nov 28 02:23:20 localhost portsentry[642]: adminalert: Going into listen
mode on TCP port: 79
Nov 28 02:23:20 localhost portsentry[642]: adminalert: Going into listen
mode on TCP port: 111
Nov 28 02:23:20 localhost portsentry[642]: adminalert: ERROR: could not
bind TCP socket: 111. Attempting to continue
Nov 28 02:23:20 localhost portsentry[642]: adminalert: Going into listen
mode on TCP port: 119
Nov 28 02:23:20 localhost portsentry[642]: adminalert: Going into listen
mode on TCP port: 143
Nov 28 02:23:20 localhost portsentry[642]: adminalert: Going into listen
mode on TCP port: 540
Nov 28 02:23:20 localhost portsentry[642]: adminalert: Going into listen
mode on TCP port: 635


skip

Nov 28 02:23:28 localhost last message repeated 27612 times
Nov 28 02:23:28 localhost PAM_unix[671]: (system-auth) session opened
for user root by LOGIN(uid=0)
Nov 28 02:23:28 localhost portsentry[642]: attackalert: Possible stealth
scan from unknown host to TCP port: 111 (accept failed)
Nov 28 02:23:28 localhost last message repeated 11 times
Nov 28 02:23:28 localhost  -- root[671]: ROOT LOGIN ON tty1
Nov 28 02:23:28 localhost portsentry[642]: attackalert: Possible stealth
scan from unknown host to TCP port: 111 (accept failed)
Nov 28 02:23:55 localhost last message repeated 106002 times
Nov 28 02:23:55 localhost portsentry[646]: securityalert: Psionic
PortSentry is shutting down
Nov 28 02:23:55 localhost portsentry[646]: adminalert: Psionic
PortSentry is shutting down
Nov 28 02:23:55 localhost portsentry[642]: securityalert: Psionic
PortSentry is shutting down
Nov 28 02:23:55 localhost portsentry[642]: adminalert: Psionic
PortSentry is shutting down





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

From: Eric <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,alt.os.linux,alt.os.linux.slackware
Subject: Re: Wooooo Hooooo! Got it!!!!!!
Date: Tue, 28 Nov 2000 08:47:00 +0100
Reply-To: [EMAIL PROTECTED]

Min Kuan wrote:
> 
> Hi, guys. You probably had more discussions before this, but I missed them.
> 
> I'm having a coexisting OS problem that I was wondering if anyone of you
> could help.
> 
> I've a 30G and a 6G hard drives. The 30G drive is partitioned into 10G,
> ~9.7G, ~4.5G, ~4.5G. And the 6G is partitioned into 3 x 2G.
> 
> I installed Window2000 in the 10G partition of the 30G hd. How do I install
> Linux in this case? I read somewhere that I have to prepare a small
> partition (< 8G) for Linux, but in which partition? In the 10G partition?
> How do I partition the 10G partition w/o thrashing it? I may be asking dump
> questions, but I really need to find the answer.
> 

I set a follow-up to the col.setup group
(which is the appropriote group for this question)

Just connect the 6G as hdb (slave on primary IDE) and install there.
Most BIOS'es cab boot from hdb just fine. (Make sure to stay under cyl.
1024 too).
Besides this there's also a new release of LILO that will allow you to
boot from beyond cyl. 1024 (if your BIOS allows it)

Eric

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

From: "james" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.caldera,alt.uu.comp.os.linux.questions
Subject: Makefile: where is arch/i386/boot?
Date: Tue, 28 Nov 2000 08:44:40 +0100

Hi, I'm relatively new to Linux and I'm trying to configure the ISDN
subsystem module for my kernel. I'm running Caldera 2.4 with the 2.2.14
Kernel. Having read much documentation / FAQs, I haven't got further than
menuconfig:

[root@noname linux]# make menuconfig
Makefile:213: arch/i386/Makefile: No such file or directory
Makefile:481: Rules.make: No such file or directory
make: *** No rule to make target `Rules.make'.  Stop.

Makefile with vi:

213: include arch/$(ARCH)/Makefile
418: include Rules.make

ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e
s/arm.*/arm/ -e s/sa110/arm/)

I get the same message when I run
make config
make xconfig
make zImage
make bzImage etc.

It would be nice to know what the cause of this problem is.

Has anybody encountered this problem before, or know of any FAQs on this
topic?

Any help would be appreciated

Cheers, james







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

From: E J <[EMAIL PROTECTED]>
Subject: Re: Igniting a Linux box
Date: Tue, 28 Nov 2000 07:23:01 GMT

How about doing a ftp install then do a kickstart?

MKKICKSTART(8)                                     MKKICKSTART(8)

NAME
       mkkickstart - create a description file from the current machine.

SYNOPSIS
       mkkickstart [--version] [--nonet] [--nox]
                  [--nfs <host:path>] [--bootp] [--dhcp]

DESCRIPTION
       mkkickstart  creates  a kickstart description file from the current
machine.
       It generates a description which uses the language, dyanmic network
configu�
       rations,  network  device driver and root disk partitioning information
from
       the running system. If X11 is installed the X configuration is also
cloned.

OPTIONS
       --nfs <host:path>
              The  script will attempt an NFS install off <host:path>. If it
is not
              specified then a cdrom install is assumed

       --bootp
              Configure the machine via BOOTP when installing.

       --dhcp Configure the machine using DHCP at bootup and when installing.

       --nonet                  Do not clone the network configuration. Assume
no networking.

       --nox  This prevents the X configuration being cloned. This  can  be
useful
              when  building a farm of machines that do not all have the same
video
              configuration.

       --version
              Displays the version of mkkickstart and exits.

SEE ALSO
       mkbootdisk(8),

AUTHOR
       Alan Cox <[EMAIL PROTECTED]>

                         Wed May 27 1998                        1

David Hudkins wrote:

>         Does anybody know of a way to "Ignite" a Linux box from
>         the network? HP uses a similar process for downloading HP-UX to
>         a workstation via an ignite server which ftp's a image tarball
>         to a specific machine, untars, then runs a software install program
>         based on the pre-defined image (tar file) for that machine.
>
>                                         TIA,
>
>                                         Dave Hudkins


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

From: Stefan Stommels <[EMAIL PROTECTED]>
Subject: LAN card doesn't work
Date: Tue, 28 Nov 2000 07:36:14 GMT

My REALTEK 8029 won't initialize. I've configured the card in
linuxconf, but at boot-time linux is unable to configure the IP-address
for eth0. It's a PCI combo card on COAX. When I use my old ISA-ne2k,
all works well (DHCP and all)

The RTL8029 works, cause I use it in windows all the time. Linux
detects it, but can't find the DHCP server. Something to do with
UTP/BNC settings ?


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

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

From: Eric <[EMAIL PROTECTED]>
Subject: Re: ?-rescue
Date: Tue, 28 Nov 2000 08:51:50 +0100
Reply-To: [EMAIL PROTECTED]

> so i figured i should be able to do something similar for
> linux...
> so i did this:
> mkdir /ext2
> cd ext2
> mount /dev/hda5
> 
> but i just get an error that there is no device hda5 in
> fstab
> ( i even edited fstab and made the entry...to no effect)
> 

Post in plain text only!
(You were doing so fine up till now, why change it)

try `mount -t ext2 /dev/hda5 /ext2`

(This way no entry in fstab is required)

Eric

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

From: [EMAIL PROTECTED] (Peter Bismuti)
Subject: only allowed one netscape in RH7?
Date: 28 Nov 2000 07:49:58 GMT

Netscape seems to be setup now that if you open a new instance it kills all 
previous instances.  How can this be disabled?

Thanks

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

From: "cyn" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.hardware,comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.portable
Subject: Re: Xircom  RealPort CardBus RBEM56G ???
Date: Tue, 28 Nov 2000 18:56:49 +1100

i have the cardbus ethernet part going under redhat 7.0 . It was a matter of
changing the IRQs that the kernel pcmcia services use (i think they're in
/etc/pcmcia/pcmcia.options).
good luck,
cyn



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

From: Wayne Pollock <[EMAIL PROTECTED]>
Subject: Re: chmod within a skript
Date: Mon, 27 Nov 2000 12:16:32 -0500

Usually when you hit a wall like this, it is because the basic task
you're trying to accomplish should be done another way.  Why not
explain what your overall task is here, and you might get good
answers.

SUID scripts are a security nightmare in Unix, and in modern Linux
the "feature" is not even allowed.

If you end up needing a program that anyone can run, and that changes
the owner or permissions of a file, a short C program can do that
and it *is* allowed to make that suid.  This approach is much
safer.  Post (or email me) for a sample program if you wish.

But again, I bet your overall purpose can be solved in other,
safer ways.

-Wayne Pollock,  [EMAIL PROTECTED]

Martin Schmidt wrote:
> 
> Hi,
> 
> I want to use commands like chown or
> chmod within a script . This is not allowed
> for users other than root , because of sec-
> urity reasons , so i tried to set the suid root
> bit for the script , but to no avail .
> It this possible in another way ?
> 
> Thanks in advance,
> Martin

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

From: Wayne Pollock <[EMAIL PROTECTED]>
Subject: Re: LPD daemon problem
Date: Mon, 27 Nov 2000 12:23:37 -0500

Somehow lpd is dying or being killed.  You need to check your
log file(s) to see why it died.

-Wayne Pollock

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


** 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.setup) 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-Setup Digest
******************************

Reply via email to