Linux-Misc Digest #823, Volume #19 Mon, 12 Apr 99 13:13:15 EDT
Contents:
Compiling for x86 CPUs (Was: ... seperate "i686" tree for Redhat ...) (Urs Thuermann)
Unresolved symbols question ("Walter L. Williams")
A weird clock problem (Martin DiViaio)
Re: Is there a RockRidge driver for NT? ([EMAIL PROTECTED])
Re: crc error when booting RedHat 5.1 (jason)
Problems compiling iBCS in RedHat !!! ("Matheus Cunha T�rres")
crc error when booting RedHat 5.1 ("David Mulcahy")
4 port pc-com serial card, help (Nick Allan)
Installing RedHat 5.2 via ftp using DHCP ("Joel D. Cohen")
Re: Is there a RockRidge driver for NT? ([EMAIL PROTECTED])
Re: Where do I find egcs and binutils for a Libc6 system?
([EMAIL PROTECTED])
Re: Unresolved symbols question ([EMAIL PROTECTED])
Name Server ??? ("Chow Hoi Ka, Eric")
Re: Q: Is there an FTP program that can transfer a whole directory tree at once?
(Roland Latour)
linux on an hp9000/712 (Eric Barber)
Re: Q: Is there an FTP program that can transfer a whole directory tree at once?
(John Girash)
----------------------------------------------------------------------------
From: Urs Thuermann <[EMAIL PROTECTED]>
Crossposted-To:
alt.linux,alt.os.linux,comp.os.linux.development.system,comp.os.linux.hardware
Subject: Compiling for x86 CPUs (Was: ... seperate "i686" tree for Redhat ...)
Date: 12 Apr 1999 14:28:40 +0200
Johan Kullstam <[EMAIL PROTECTED]> writes:
> -mcpu=i686 makes the compiler schedule for a i686 core. it uses only
> the i386 instruction set.
>
> -march=i686 enables usage of i686 instructions like cmov (which did
> not exist on i[345]86. it also implies cpu=i686.
>
> if you compile with -mcpu=i686, then yes, it would work with any of
> intels 32bit x86 cpus. however, by using -march=i686 you will
> introduce new op-codes which are not implemented on previous
> processors.
>
> based by my own experience with compiling various things with egcs
> on a pentiumpro, it is not very important for performance no matter
> what the cpu or arch settings are so long as you avoid pentium.
Could someone give some more details about this whole story, please?
I seem to have problems with this issue since a few days.
I have a Pentium II running in my server machine (which has only a
Herkules Video card and an Atari ST attached to the serial port) and a
i486dx2 in my diskless client running Linux and X11.
Both machines run the same 2.0.36 kernel image, the diskless machine
has its own /tftpboot dir on the server and shares the /usr with the
server (it mounts /usr read-only, though).
I run egcs-1.1.2 and gcc-2.7.2.3 which have both configured themselves
as a i686-pc-linux-gnu native compiler. What kind of code will these
produce if called without any -m... option? How should I invoke egcs
and gcc-2.7.2.3 to compile with maximum performance on i686 but with
the constraint that the code should also be executable on i486?
The problem I am observing is this: With egcs configured as described
above I compiled the glibc-2.1. When I copy /lib/lib*2.1.so and the
other glibc-2.1 files to the diskless' /tftpboot directory, the
diskless i486 won't boot anymore. The statically linked /sbin/init
seems ok, but (at least) the agetty's die immediately with an SIGILL
(illegal instruction). So I assume, glibc-2.1 is compiled in a way by
egcs so that it only runs on i686. This may, however, also be caused
by glibc itself. glibc-2.1 configured itself as i686-pc-linux-gnu
also, and obviously has code for this case, which is i686-specific,
e.g. in glibc-2.1/sysdeps/libm-i387/i686/s_fdim.S there are
fcomi/fucomi instructions. I think I read in this thread that these
instructions exist only on the i686, right?
What target should I specify to the glibc configure script? I guess
i486-pc-linu-gnu does't what I want, right?
However, then some i686 optimized routines are not used, although
AFAICT based on my little x86 knowledge, these seem to run on other
CPUs as well. For example
glibc-2.1/sysdeps/unix/sysv/linux/i386/i686/sysdep.h.
Maybe some pretty solution would be to have the i686-specific code in
the lib and have an exception handler on the i486 that emulates the
missing instructions, i.e. similar to the kernel's i387 emulation.
Does something like this exist and how much performance loss would
this cause compared to regular i486 code?
And what about the kernel? The 2.0.36 config help files state that
a kernel compiled for i486, pentium, or pentium pro will run on every
cpu except i386. But in 2.2.5 this has changed and it is stated that
code compiled for one CPU will not neccessarily run on a previous
CPU. Is this due to compiler options or because of different inline
assembly routines? I've looked at the make output and even if PPro
is selected, the compiler is called with -m486, but -D586 is changed
to -D686, so I assume some #ifdef selects between different inline
assembly code, that will possibly not run on all ix86 CPUs.
But what sense does the -m486 make, if the code does not necessarily
run on an i486 anyway?
OK, many questions and assumption in this posting. Can someone sched
some light on all this and answer/correct/acknowledge.
urs
P.S. I have removed the linux.redhat.misc group from the Newsgroups
line.
------------------------------
Date: Sun, 11 Apr 1999 14:20:04 -0600
From: "Walter L. Williams" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux,atl.os.linux.dial-up,comp.os.linux.setup,comp.os.linux.
Subject: Unresolved symbols question
Greetings all
I am trying to recompile a new kernel that includes PPP support.
The kernel would not boot when I finished. I then tried the "make
mrproper"
command (which cleared up the problem) I went in and resetup
a new config file with "make menuconfig", after which I did a
"make modules ; make modules_install ; make zImage. when it
was done I did a "make zlilo" to install the new kernel. It now boots
with a lot of unresolved symbols during bootup.
I think I am missing something.
Maybe after using the "make mrproper" and "make menuconfig"
commands I need to do a
"make modules ; make modules_install ; make dep ; make clean ; make
zImage"
"make zlilo".
Does someone know what I am doing wrong? How do get rid of the
unresolved
symbols?
I have a 66mhz 486, 8MB ram, 1GB hd, and Red Hat 5.0 (kernel version
2.0.31)
I wish to create a "Pine" E-mail machine.
------------------------------
From: Martin DiViaio <[EMAIL PROTECTED]>
Subject: A weird clock problem
Date: Sun, 11 Apr 1999 13:02:47 +0000
I'm having a weird clock problem with my laptop running RedHat 5.2 and
the 2.0.36 kernel.
When ever I leave the maching idle, eight minutes later the clock will
stop.
The only thing I am using that might be clock related are APM support
and Real Time Clock support in the kernel and an X/AfterStep app called
asclock (not as root.) Only root is able to set the clock.
Does anyone have any idea what is going on here?
--
/)-._ , 11 March 99 @ 8:58:51
Y. ' _]
,.._ |`--"= If at first you don't succeed...forget
/ "-/ `.\ skydiving.
/) sk | |_ `\|___
\:::::::\___/_\__\_______\
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Is there a RockRidge driver for NT?
Crossposted-To: comp.os.linux.setup
Date: 12 Apr 1999 14:15:35 +0100
In comp.os.linux.misc Greg Smith <[EMAIL PROTECTED]> wrote:
> There has to be a RockRidge driver for NT somewhere, or some way to
> mount this CD in NT where I will get full length file names.
I've been unable to find such a beast in the last 18 months; however
I'd be glad to be proven wrong :-)
--
Alain Borel
<[EMAIL PROTECTED]>
------------------------------
From: jason <[EMAIL PROTECTED]>
Subject: Re: crc error when booting RedHat 5.1
Date: Mon, 12 Apr 1999 09:06:46 -0400
Do you dual boot? If so, fo you get weird errors in the other operating
system, or is it just when you boot Linux? Have you tried booting with
a (Linux) boot floppy? If so, what happens?
-jason
David Mulcahy wrote:
>
> Please can anybody tell me what crc stands for and what is the probable
> cause for such an error. It was reported when I installed a (supposedly)
> new Intel 233MMX chip.
>
> The error message appears after the uncompressing linex message appears at
> initial boot time.
>
> Does this mean the chip is faulty.
>
> Please could you provide any links to documentation on error messeges at
> boot time.
>
> Thanks in advance.
------------------------------
From: "Matheus Cunha T�rres" <[EMAIL PROTECTED]>
Subject: Problems compiling iBCS in RedHat !!!
Date: Sun, 11 Apr 1999 09:41:32 -0300
I have Redhat 5.2 kernel 2.0.36, and I got the ibcs-2.1-981105.tar.gz,
but when I try to compile the source files I receive the following
message:
"
cd /dev; ./MAKEDEV.ibcs
set -e; for i in iBCSemul Tools; do \
test ! -d $i || \
{ make -C $i install; }; done
make[1]: Entering directory `/home/internet/ibcs/ibcs/iBCSemul'
emulate.c:36: asm/uaccess.h: No such file or directory
make[1]: *** [emulate.o] Error 1
make[1]: Leaving directory `/home/internet/ibcs/ibcs/iBCSemul'
make: *** [install] Error 2
#
"
Am I missing uaccess.h ??? I've installed the kernel source files, and
this file does not exist. I would be grateful if someone could help
me...
Thanks again,
Teteu.
[EMAIL PROTECTED]
------------------------------
From: "David Mulcahy" <[EMAIL PROTECTED]>
Subject: crc error when booting RedHat 5.1
Date: Mon, 12 Apr 1999 12:40:23 +0100
Please can anybody tell me what crc stands for and what is the probable
cause for such an error. It was reported when I installed a (supposedly)
new Intel 233MMX chip.
The error message appears after the uncompressing linex message appears at
initial boot time.
Does this mean the chip is faulty.
Please could you provide any links to documentation on error messeges at
boot time.
Thanks in advance.
------------------------------
From: [EMAIL PROTECTED] (Nick Allan)
Subject: 4 port pc-com serial card, help
Date: 12 Apr 1999 12:49:31 GMT
Hi all
I just got a new four port serial card a pc-com 4 port pci. I appear to be
having a problem getting this to work under linux.
lspci detects it as the following
00:08.0 Serial controller: Decision Computer International Co.: Unknown device 0001
(rev 01)
The serial-howto mentions that a pc-comm 4 port is compatable with linux, but
doesn't give any further information, the howto also indicates that a
decision computing 8 port card pccom8 is also compatable and gives a url to
get the kernel patch. I'm using kernel 2.2.5 and the kernel patch is for
2.0.29 as its for an 8 port card it may not work for my 4 port card.
So my question is, how do i get this card working under linux?
I assume I do something with setserial, but am not sure what. I'd appreciate
it if someone who knows about this card please let me know.
thanks for any help.
--
Regards Nick
[EMAIL PROTECTED]
------------------------------
From: "Joel D. Cohen" <[EMAIL PROTECTED]>
Subject: Installing RedHat 5.2 via ftp using DHCP
Date: Mon, 12 Apr 1999 14:21:26 +0000
Hi all,
I was attempting to do the above, and the RedHat bootup/install program
doesn't
seem to be able to get a response from my DHCP server. I'm on a 2-way
cable
modem setup and the cable modem acts as a DHCP server (or so I've been
told
by wonderful tech support). I'm not new to Linux (I administer it on
many boxes
at work), but I've never tried to install via ftp before. Any help would
be appreciated.
Thanks.
Joel Cohen
System Architect
Cyber Dialogue
"Customer Relationships Through Digital Media"
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup
Subject: Re: Is there a RockRidge driver for NT?
Date: Mon, 12 Apr 1999 11:25:46 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Greg Smith) wrote:
>
>
> Hi,
>
> I would like to install RedHat on a CDless system over FTP from an NT
> box.
>
> But, I need to find a RockRidge driver so that I can get full file
> name support from the ftp.
>
> There has to be a RockRidge driver for NT somewhere, or some way to
> mount this CD in NT where I will get full length file names.
>
> Anyone know where I can get such a driver?
I'm not aware of any NT driver that can read Rock Ridge CDs. However,
WinImage from http://www.winimage.com can read a binary copy of a Rock Ridge
CD as a file and extract files/directories - assuming you have the spare disk
space.
However, it will not deal correctly with "deep" directories (nor will any
renaming of files using TRANS.TBL) - directories deeper than eight are
relocated to the directory rr_moved (they appear in the correct place when
viewed under UNIX). You need to sort out where these directories should be by
hand - although I don't think there is anything important as far as The
RedHat CDs are concerned.
James Pearson
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup
Subject: Re: Where do I find egcs and binutils for a Libc6 system?
Date: Mon, 12 Apr 1999 13:42:54 GMT
I've noticed that Kent revises the scripts often so you will need to check the
dates and file sizes on your downloaded files and make sure that the
UPDATE79.TGZ file is current on your end. I was able to download the compiler
with the latest GETGCC scripts. And BTW, I did get FVWM95 to compile and it
runs great with X.
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> In order to install the GCC compiler and the other programs that are
> required to compile C and C++ source code on my Linux Libc6 system, I
> need to downoad the files egcs-*-glibc.x86.tar.* and
> binutils-*-glibc.x86.tar.*, which I understand they were once
> available from tsx-11.mit.edu and similar sites.
>
> They are no longer available there. Would anyone know where I could
> find them for download? I need them for my installation of DosLinux
> ver 79.
>
> Please also send a CC to [EMAIL PROTECTED], as I do not have regular
> access to the newsgroups.
>
> Thank you,
>
> Rino Perri
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux,atl.os.linux.dial-up,comp.os.linux.setup,comp.os.linux.
Subject: Re: Unresolved symbols question
Date: Mon, 12 Apr 1999 16:00:45 GMT
On Sun, 11 Apr 1999 14:20:04 -0600, "Walter L. Williams"
<[EMAIL PROTECTED]> wrote:
>Greetings all
>
>I am trying to recompile a new kernel that includes PPP support.
>The kernel would not boot when I finished. I then tried the "make
>mrproper"
>command (which cleared up the problem) I went in and resetup
>a new config file with "make menuconfig", after which I did a
>"make modules ; make modules_install ; make zImage. when it
>was done I did a "make zlilo" to install the new kernel. It now boots
>with a lot of unresolved symbols during bootup.
>
>I think I am missing something.
>
>Maybe after using the "make mrproper" and "make menuconfig"
>commands I need to do a
>"make modules ; make modules_install ; make dep ; make clean ; make
>zImage"
>"make zlilo".
>
The correct order is : make menuconfig;make dep;make clean;make
zImage;make modules;make modules_install.
Moreover, tell us what are the "unresolved symbols" more precisely.
Manu
------------------------------
From: "Chow Hoi Ka, Eric" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup,comp.os.linux.x
Subject: Name Server ???
Date: Mon, 12 Apr 1999 22:49:19 +0800
Reply-To: [EMAIL PROTECTED]
Hello Linux Users,
How can I do that ???
IP : 161.64.62.104
Host 1: www.test1.edu.mo HTML_Root_Directory : /home/test1/public_html
Host 2: www.test2.edu.mo HTML_Root_Directory : /home/test2/public_html
Host 3: www.test3.edu.mo HTML_Root_Directory : /home/test3/public_html
My question is that, how can I just use one and only one IP to implement
3 or more host name(domain name).
Such as that,
When I type the URL " www.test2.edu.mo", it will directly go to the IP
:"161.64.62.104" but in the related directory ?
Best regards,
Eric
--
_ _
/ ) |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ( \
/ / | | \ \
_( /_ | _ Chow Hoi Ka, Eric _ | _) )_
(((\ \> |/ ) ( \| </ /)))
(\\\\ \_/ / E-Mail : [EMAIL PROTECTED] \ \_/ ////)
\ / \ /
\ _/ http://www.sftw.umac.mo/~d951686/ \_ /
/ / |____________________________________________| \ \
/ / \ \
------------------------------
From: Roland Latour <[EMAIL PROTECTED]>
Subject: Re: Q: Is there an FTP program that can transfer a whole directory tree at
once?
Date: Mon, 12 Apr 1999 07:59:25 -0700
> On 09 Apr 1999 20:03:48 GMT, ian <[EMAIL PROTECTED]> wrote:
> >We are trying to set up an automated backup script that will connect to a
> >server via FTP and transfer a whole directory tree of files. I had a long
> >look at the ftp man page but it does not seem to handle transfering
> >directories or scripting. Am I missing something? Is there another program
> >that can do this?
Just write a shell script. Here's an example I picked up from some
newsgroup long ago, called RFCgetter:
=========================================================
#!/bin/sh -x
# rfc NNN
# retrieve rfc NNN from uunet, put it on stdout
# assumes rfc's are in uunet:/rfc/rfcNNNN.Z
#
# Actually the uunet people would prefer it if you ftp'd things
# from 'ftp.uu.net', so we retrieve things from that machine.
#
# uunet conveniently has files called "index" and "rfc-index"
# in the /rfc directory, so this script will also let you
# retrieve those.
# try: rfc index | more or
# rfc 1217 | lpr (A personal favourite. Get this one. It's
funny.)
#
# sahayman
# 1991 04 10
PATH=/usr/local/bin:/usr/ucb:/bin:usr/bin export PATH
# a little hack so that we can say "rfc index" or "rfc rfc-index"
# as well as "rfc 822"
case "$1" in
"") echo "$0: Usage $0 [NNN] [index] [rfc-index]" 1>&2; exit
1 ;;
index) file=$1 ;;
rfc-index) file=$1 ;;
[0123456789]*) file=rfc$1.Z ;;
*) file=$1.Z ;;
esac
ftp -n ftp.uu.net <<EOF
user anonymous [EMAIL PROTECTED]
binary
hash
cd archive/.vol/2/inet/rfc
get $file
EOF
======================================================================
That 'EOF' stuff uses a type of shell scripting called a 'here' file.
You can use 'mget' instead of 'get' to get multiple files.
--
Retired Tech Support Engineer http://home.cdsnet.net/~rolandl
"Beer is proof that God loves us and wants us to be happy." -Ben
Franklin
------------------------------
From: [EMAIL PROTECTED] (Eric Barber)
Crossposted-To: alt.uu.comp.os.linux.questions
Subject: linux on an hp9000/712
Date: 12 Apr 1999 14:04:02 GMT
I'd like to run a small networks on hp9000 workstaions at a school, under
Linux. is there a linux load for hp workstations?
thanks, Eric
--
_ "just a Texan a long way from home" | [EMAIL PROTECTED]
_| ~-. Eric Barber, Nortel Networks, London Road, Harlow, England CM17 9NA
\, *_} AT&T/BT/etc. +44 1279 403527/429531 x 3527, ESN 6 742 3527 FAX 3930
\( DISCLAIMER: Working at, not speaking for, Nortel Networks
------------------------------
From: John Girash <[EMAIL PROTECTED]>
Subject: Re: Q: Is there an FTP program that can transfer a whole directory tree at
once?
Date: 12 Apr 1999 10:08:00 -0500
ian <[EMAIL PROTECTED]> wrote:
: We are trying to set up an automated backup script that will connect to a
: server via FTP and transfer a whole directory tree of files. I had a long
: look at the ftp man page but it does not seem to handle transfering
: directories or scripting. Am I missing something? Is there another program
: that can do this?
Many (most?) ftp servers will send you a whole directory tree archived in a
tarball if you give the command "get <directory-name>.tar" (omitting the
brackets of course). Sounds like what you need.
--
"don't listen when you're told about the best days in your life Spirit of
a useless old expression, it means passing time until you die." the West
/\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\/
-- John Girash -- girash @ cfa.harvard.edu - http://skyron.harvard.edu/ --
------------------------------
** 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
******************************