Linux-Development-Sys Digest #991, Volume #7 Mon, 3 Jul 00 00:13:12 EDT
Contents:
Re: interrupted system calls (Norm Jacobs)
Re: DNS problems (Thomas Wright)
Re: DNS problems (Thomas Wright)
Re: DNS problems (Thomas Wright)
We are selling software (Richard Vanstory)
Re: interrupted system calls ([EMAIL PROTECTED])
system call ("james")
Re: system call (Alexander Viro)
Query : Mpeg-2 Decoder Card's ("Q")
Re: How to retreive/change the full MAC address of a network card ? (with ioctl)
("Matthew Dare")
Missing include files when building ksamba (was Re: Building Ksamba, version of
libqt.so, etc) (Anonymous)
----------------------------------------------------------------------------
From: Norm Jacobs <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development,linux.redhat.development
Subject: Re: interrupted system calls
Date: Sun, 02 Jul 2000 00:19:40 -0600
The system call you just made (read(), write(), ...) set
errno to EINTR and returned -1. It is telling you that it
failed because it was interrupted by a signal.
-Norm
Bhavin Shah wrote:
>
> Hi,
>
> On the error EINTR for interrupted system calls, is there
> a way to see which system call it is? Or is there a way
> to disable the system call so it won't interrupt? Thanks.
>
> Bhavin
------------------------------
From: Thomas Wright <[EMAIL PROTECTED]>
Subject: Re: DNS problems
Date: Sun, 02 Jul 2000 14:29:41 +0200
Giampaolo Tomassoni schrieb:
> "Thomas Waight" <[EMAIL PROTECTED]> ha scritto nel messaggio
> news:[EMAIL PROTECTED]...
> > Hi !
> >
> > I have Linux running off a Disk On Chip. With only 24 MB space for Linux
> > I built my own File System and got it up and running. Network
> > configuration worked fine except for DNS, wich I can't get to work. I
> > have my DNS Server mentioned in the /etc/resolv.conf File, but I can't
> > even ping the hosts in my local Network I specify in the /etc/hosts
> > File.
> > As I said, the rest of the networking is fine, I can ping inside and
> > outside my local network (routing works).
> >
> > my questions are:
> > - are there any Files I could have missed when I built my file system
> > that
> > could cause these problems (!!ONLY!! with DNS) ?
>
> I probably didn't catch this: your machine supplies a DNS service or is a
> DNS consumer?
>
My machine is a DNS consumer, the rest of the network is Windows NT. We have
Internet Access (routing) and a Nameserver.
>
> In the first case, you have to configure the DNS server through
> /etc/named.conf, possibly /etc/named.boot and the database files in the
> server directory (usually /var/lib/named.d/ or /etc/named.d). You may test
> DNS functionality through the nslookup tool.
>
> In the latter, you're probably missing the 'domain' keyword in
> /etc/resolv.conf. The minimal /etc/resolv.conf file should look like:
>
> domain YourDomainName.Com
> server xxx.xxx.xxx.xxx
>
Problem is, what is my Domain? I have a windows LAN with internet access but no
specific domain. The Webserver is external. (sorry if this sounds dumb, but I am
new to Linux and networking development) - but I'm working at it.
As I said, network is Windows NT and I am going to need SMB, which worked fine
off my Harddisk, but since my stripped System is on Disk on Chip, Name
resolution failed (SMB as well, probably caused by the DNS Problems) what works
fine is ping by IP address. Using my hard disk and pinging the Win NT server,
Name Resolution called it SERVER (Its windows Host name).
> where, obviously, YourDomainName.Com must be replaced with the name of your
> domain, and xxx.xxx.xxx.xxx with the IP address of the DNS server you want
> to use.
OK, not that new ;-)
> Missing the domain keyword your machine won't send a full machine name (ie:
> Machine.YourDomainName.Com) request to the DNS, so that the server can't
> find any associated ip address.
so what do I put as my Domain ....
> > - Is it possible that I compiled Name Resolution out of my Kernel
> > (Net device is a module), have heard that name resolution is
> > built into the Kernel, but haven't found any Information on it ?
>
> For what I know, BIND (this is the name of the Domain Name Resolution stuff)
> isn't embedded into the kernel. It is part of the C library.
OK, in /lib I find libresolv.so.2, libnss_dns.so.1, I guess they are the
Librarys (I have no idea, really) ...
> > - Can anybody think of other possible causes (solutions!) for my problem
> > ??
>
> If you setup an /etc/resolv.conf file, and your DNS server replies to
> missing requested with an 'unknown' packet, your /etc/hosts may not get
> scanned, depending on the version of BIND you are using.
What is this BIND ? (sorry again, *newbie*)
> > Please anyone help me on this, I've been going mad on it for days!
> > thanks a lot for any answers!
>
> Never mind...
Oh, I do!
> ------------------------------------------------------
> Giampaolo Tomassoni Information Systems Consultant
> P.za 8 Aprile 1948, 4 Tel/Fax: +39-0578-21100
> I-53044 Chiusi (SI) e-mail: [EMAIL PROTECTED]
> ITALY
> homepage: http://www.geocities.com/Eureka/Park/2209/
------------------------------
From: Thomas Wright <[EMAIL PROTECTED]>
Subject: Re: DNS problems
Date: Sun, 02 Jul 2000 14:39:09 +0200
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<p>Adam Przybyla schrieb:
<blockquote TYPE=CITE>Thomas Waight <[EMAIL PROTECTED]> wrote:
<br>> my questions are:
<br>> - are there any Files I could have missed when I built my file system
<br>> that
<br>> could cause these problems (!!ONLY!! with DNS)
?
<br>> - Is it possible that I compiled Name Resolution out of my Kernel
<br>> (Net device is a module), have heard that name
resolution is
<br>> built into the Kernel, but haven't found any Information
on it ?
<br>> - Can anybody think of other possible causes (solutions!) for my
problem
<br>> ??
<p>> Please anyone help me on this, I've been going mad on it for days!
<br>> thanks a lot for any answers!
<br> ... /etc/named.conf, /var/named/*
try to read "man named"
<br>or try to switch debug in your named process. Regards
<br>
Adam Przybyla</blockquote>
My machine is DNS consumer (sorry, I forgot to say), I think those files
are irrelevant (correct me if I'm wrong). Check the following thread with
Giampaolo Tomassoni if you feel like helping me:
<br><a href="news://news.online.de/395F35B5.8767704%40it-inhaus.de">DNS
problems</a>
<p>but thanks anyway!</html>
------------------------------
From: Thomas Wright <[EMAIL PROTECTED]>
Subject: Re: DNS problems
Date: Sun, 02 Jul 2000 14:43:23 +0200
==============6561C5671C4944959B241BF8
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Paul Kimoto schrieb:
> In article <[EMAIL PROTECTED]>, Thomas Waight wrote:
> > I have Linux running off a Disk On Chip. With only 24 MB space for Linux
> > I built my own File System and got it up and running. Network
> > configuration worked fine except for DNS, wich I can't get to work. I
> > have my DNS Server mentioned in the /etc/resolv.conf File, but I can't
> > even ping the hosts in my local Network I specify in the /etc/hosts
> > File.
> > As I said, the rest of the networking is fine, I can ping inside and
> > outside my local network (routing works).
>
> Do you mean that you can ping _any_ host by number, but _no_ hosts by name?
>
> > my questions are:
> > - are there any Files I could have missed when I built my file system
> > that
> > could cause these problems (!!ONLY!! with DNS) ?
>
> There is also /etc/nsswitch.conf, although I don't know how that could
> cause your problem.
No, I've tried that.
> > - Is it possible that I compiled Name Resolution out of my Kernel
> > (Net device is a module), have heard that name resolution is
> > built into the Kernel
>
> No. Name resolution is in glibc. (That also means that the subject is
> off-topic for c.o.l.d.system ...)
>
> (Can you write a little program using gethostbyaddr(), then strace(1) it?)
sorry, no I can't, I'm new to Linux. But that will change ;-)
Thanks a lot for your answer, if you still feel like helping out, then check
this thread: DNS problems
Thomas Wright
> --
> Paul Kimoto
==============6561C5671C4944959B241BF8
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<p>Paul Kimoto schrieb:
<blockquote TYPE=CITE>In article <[EMAIL PROTECTED]>, Thomas
Waight wrote:
<br>> I have Linux running off a Disk On Chip. With only 24 MB space for
Linux
<br>> I built my own File System and got it up and running. Network
<br>> configuration worked fine except for DNS, wich I can't get to work.
I
<br>> have my DNS Server mentioned in the /etc/resolv.conf File, but I
can't
<br>> even ping the hosts in my local Network I specify in the /etc/hosts
<br>> File.
<br>> As I said, the rest of the networking is fine, I can ping inside
and
<br>> outside my local network (routing works).
<p>Do you mean that you can ping _any_ host by number, but _no_ hosts by
name?
<p>> my questions are:
<br>> - are there any Files I could have missed when I built my file system
<br>> that
<br>> could cause these problems (!!ONLY!! with DNS) ?
<p>There is also /etc/nsswitch.conf, although I don't know how that could
<br>cause your problem.</blockquote>
No, I've tried that.
<blockquote TYPE=CITE>> - Is it possible that I compiled Name Resolution
out of my Kernel
<br>> (Net device is a module), have heard that name
resolution is
<br>> built into the Kernel
<p>No. Name resolution is in glibc. (That also means that the
subject is
<br>off-topic for c.o.l.d.system ...)
<p>(Can you write a little program using gethostbyaddr(), then strace(1)
it?)</blockquote>
sorry, no I can't, I'm new to Linux. But that will change ;-)
<br>Thanks a lot for your answer, if you still feel like helping out, then
check this thread: <a href="news://news.online.de/395F35B5.8767704%40it-inhaus.de">DNS
problems</a>
<p>Thomas Wright
<blockquote TYPE=CITE>--
<br>Paul Kimoto</blockquote>
</html>
==============6561C5671C4944959B241BF8==
------------------------------
From: Richard Vanstory <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.hardware,comp.os.linux.help,comp.os.linux.m68k,comp.os.linux.misc
Subject: We are selling software
Date: Sun, 02 Jul 2000 14:39:51 +0200
We are selling software
for lowest price in the world (40$-140$)
Check it out at http://www.cdnow2000.com immediately
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: interrupted system calls
Crossposted-To: comp.os.linux.development,linux.redhat.development
Date: Sun, 02 Jul 2000 15:15:42 GMT
In comp.os.linux.development.system Norm Jacobs <[EMAIL PROTECTED]> wrote:
> The system call you just made (read(), write(), ...) set
> errno to EINTR and returned -1. It is telling you that it
> failed because it was interrupted by a signal.
read() and write() return the amount of characters processed. If this
is less than the amount requested, the call may have been interupted.
--
Matt Gauthier <[EMAIL PROTECTED]>
------------------------------
From: "james" <[EMAIL PROTECTED]>
Subject: system call
Date: Sun, 2 Jul 2000 16:44:31 -0700
Hi all:
Is there any function in the linux system API, which could
be called to show the CPU and RAM information ??
Thank you in advance for your help !
James
------------------------------
From: [EMAIL PROTECTED] (Alexander Viro)
Subject: Re: system call
Date: 2 Jul 2000 16:41:08 -0400
In article <8jo97p$2poh$[EMAIL PROTECTED]>,
james <[EMAIL PROTECTED]> wrote:
>Hi all:
>
>Is there any function in the linux system API, which could
>be called to show the CPU and RAM information ??
open(2) and read(2). On /proc/cpuinfo and /proc/meminfo, that is.
--
"You're one of those condescending Unix computer users!"
"Here's a nickel, kid. Get yourself a better computer" - Dilbert.
------------------------------
Reply-To: "Q" <[EMAIL PROTECTED]>
From: "Q" <[EMAIL PROTECTED]>
Subject: Query : Mpeg-2 Decoder Card's
Date: Mon, 03 Jul 2000 01:23:46 GMT
Just wondering what kind of work has gone into supporting mpeg decoding
(video) in linux and perhaps a more appropriate source of information is you
have one
Q
[EMAIL PROTECTED]
------------------------------
From: "Matthew Dare" <[EMAIL PROTECTED]>
Subject: Re: How to retreive/change the full MAC address of a network card ? (with
ioctl)
Date: Mon, 03 Jul 2000 11:52:06 +1000
Crossposted-To: comp.os.linux.development.apps
Theoretically you shouldn't be able to modify any of it. The first four digits are the
ID of the cards manufacturer. (ie 3COM, IBM etc... - Each manufacturer may have more
than one ID) The second set of four digits are assigned by the manufacturer
(generally in
sequence) to give each card a unique ID. (ie every network card ever manufactured
should have a unique id). Some cheap NIC manufacturers allowed the last four digits
to be
changed by their configuration software. If you have one of these then you should be
able
to read the NIC's (BIOS?) configuration, change the last four digits and write it
back.
What I can't understand is why you would want to change the MAC address for anyway.
If two or more cards chare the same mac address your network won't work anyway.
Hope this helps.
Cheers
---
Matthew Dare
[EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>, "Robichaud,
Jean-Philippe [BAN:6S33:EXCH]" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have done a lot of work building a little network program. What i
> need to implement now is a little routine that will retreive and change
> the __complete__ MAC address. with the SIOCGIFHWADDR flag, I only
> obtain the 4 last part of the mac address. I explain :
>
> if I do and ifconfig, the HWaddr repported is : 08:00:3E:2A:6B:D8. The
> result I have after the ioctl call is 3E:2A:6B:D8. Where can I get the
> 08:00 part and what should I do to modify it ?
>
>
> Thanks a lot for your advices...
>
>
------------------------------
Date: Sun, 02 Jul 2000 20:42:47 -0700
Crossposted-To: comp.os.linux.development,comp.os.linux.development.apps
Subject: Missing include files when building ksamba (was Re: Building Ksamba, version
of libqt.so, etc)
From: Anonymous <[EMAIL PROTECTED]>
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
Thanks - qt-2.1.1 built fine and all is well except that when I attempt
to build ksamba several include files are not found.
These include files are nowhere to be found on my system.
make
make all-recursive
make[1]: Entering directory `/e13/work/ksamba'
Making all in config
make[2]: Entering directory `/e13/work/ksamba/config'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/e13/work/ksamba/config'
Making all in ksamba
make[2]: Entering directory `/e13/work/ksamba/ksamba'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/local/qt/include
-I/usr/X11R6/include -O2 -c main.cpp
In file included from main.cpp:1:
main.h:11: kaction.h: No such file or directory
In file included from myservicewidget.h:24,
from mymainview.h:5,
from main.h:20,
from main.cpp:1:
myservicePage.h:5: knuminput.h: No such file or directory
In file included from myOptionsDialog.h:8,
from main.cpp:2:
myOptionsDialogData.h:8: kdialogbase.h: No such file or directory
In file included from myNewServiceDialog.h:8,
from main.cpp:3:
myNewServiceDialogData.h:8: kdialogbase.h: No such file or directory
main.cpp:8: kdialogbase.h: No such file or directory
main.cpp:10: kglobal.h: No such file or directory
main.cpp:14: kstddirs.h: No such file or directory
main.cpp:16: kstdaction.h: No such file or directory
main.cpp:17: kaboutdata.h: No such file or directory
main.cpp:18: kcmdlineargs.h: No such file or directory
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/e13/work/ksamba/ksamba'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/e13/work/ksamba'
make: *** [all-recursive-am] Error 2
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
> Hi Jim,
> This is no problem as qt1.44 and qt2.0 can coexist on the same
> system.
> I would advise you the following. Since your KDE and other programs use
> qt1.44 keep that fixed
> Get the qt2.0libraries to some directory and assume they are called
> libqt2.so.1 in /usr/local/qt2 directory .
> Get the source code for ksamba and build it with -L/usr/local/qt2. -lqt2
> in gcc options . Should work fine
>
> aravind
>
> .>
> Hi Jim,
> This is no problem as qt1.44 and qt2.0 can coexist on the same
> system.
> I would advise you the following. Since your KDE and other programs use
> qt1.44 keep that fixed
> Get the qt2.0libraries to some directory and assume they are called
> libqt2.so.1 in /usr/local/qt2 directory .
> Get the source code for ksamba and build it with -L/usr/local/qt2. -lqt2
> in gcc options . Should work fine
>
> aravind
>
> .
--
I read and respond in the group, but in order to email me use jjhowe
-at-
t e l e p o r t
-dot-
c o m
Thanks! Jim Howe
--------== Posted Anonymously via Newsfeeds.Com ==-------
Featuring the worlds only Anonymous Usenet Server
-----------== http://www.newsfeeds.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.development.system) 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-Development-System Digest
******************************