Linux-Development-Sys Digest #993, Volume #7 Mon, 3 Jul 00 22:13:18 EDT
Contents:
/proc/cpuinfo (Steffen Weinstock)
[Q] Info of file system driver ("Koji Yamamoto")
Re: making a boot/root disk- >libraries too big!! (Jerome Corre)
Re: [Q] Info of file system driver (Zoran Cutura)
Re: RH 6.2 kernel bug (Paul Ingram)
capturing ethernet-frames ([EMAIL PROTECTED])
capturing ethernet-frames ([EMAIL PROTECTED])
Re: /proc/cpuinfo (Matt Lesko)
delete overflow uid/gid files (Marc Duponcheel)
Re: add_mouse_randomness(__u32 mousedata) ? (jwk)
Re: Good Basic compiler for linux? (Warren Young)
Re: Closing Socket (Warren Young)
Re: capturing ethernet-frames (Warren Young)
Re: DNS problems (Paul Kimoto)
Java on SMP linux. (Thaddeus L Olczyk)
capturing ethernetframes (Dirk Walravens)
capturing ethernet-frames (Dirk Walravens)
capturing ethernet-frames (Dirk Walravens)
Re: Kernel 2.2.16 "kernel panic, no init found", kernel 2.2.12, no problem (Brett
Person)
Re: DNS problems ("Giampaolo Tomassoni")
Re: We are selling software (Rob Kroll)
Re: How to retreive/change the full MAC address of a network card ? (with ioctl)
(David Steuber)
----------------------------------------------------------------------------
From: Steffen Weinstock <[EMAIL PROTECTED]>
Subject: /proc/cpuinfo
Date: Mon, 03 Jul 2000 12:52:11 +0200
Hi,
can anybody tell me, what some entries in /proc/cpuinfo mean,
(e.g.
cpu family : 5 , what is 5 ???
model : 8 , ...),
what bogomips are (on some systems the bogomips = cpu-speed,
sometimes bogomips=2*cpu-speed),
and how the appearance and names of the fields correlate
with the linux-version??
That would be great. Thanks in advance
Steffen
------------------------------
From: "Koji Yamamoto" <[EMAIL PROTECTED]>
Subject: [Q] Info of file system driver
Date: Mon, 3 Jul 2000 18:10:35 +0900
Hello.
I want to make a driver program which gets information of write size
and offset to disk. The purpose of this driver is filtering between
filesystem driver and device driver.
Where can I get useful information ( document, book, sample program
source code,... ) ?
--
Koji Yamamoto
------------------------------
From: Jerome Corre <[EMAIL PROTECTED]>
Subject: Re: making a boot/root disk- >libraries too big!!
Date: Mon, 03 Jul 2000 11:31:42 GMT
In article <[EMAIL PROTECTED]>,>
> All you need is a kernel that will NFS mount its root filesystem from
the
> bigger machine, and you have yourself a diskless workstation.
Is there ready made boot disk with kernel which mount NFS as root
filesystem, (knowing that my newtwork card needs the PCMCIA card
services)
--
Jerome Corre
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Zoran Cutura <[EMAIL PROTECTED]>
Subject: Re: [Q] Info of file system driver
Date: Mon, 03 Jul 2000 13:44:20 +0200
Koji Yamamoto wrote:
>
> Hello.
>
> I want to make a driver program which gets information of write size
> and offset to disk. The purpose of this driver is filtering between
> filesystem driver and device driver.
>
> Where can I get useful information ( document, book, sample program
> source code,... ) ?
>
> --
> Koji Yamamoto
This is very specific, and I doubt there are any books or extensive
documentations. Definitly you shgould go and check the sources for
the existing drivers and how they are interfaced.
Your system should have it under /usr/src/linux.
Z
------------------------------
From: Paul Ingram <[EMAIL PROTECTED]>
Subject: Re: RH 6.2 kernel bug
Date: Mon, 03 Jul 2000 12:43:25 +0100
Mathias Waack wrote:
> Paul Ingram <[EMAIL PROTECTED]> writes:
>
> > Anyone know of an arithmetic problem in the RH6.2 release? Apparently
> > the kernel shipped with 6.2 (2.2.14) has a random floating point
> > exception problem.
>
> I can't believe this. Could you pls tell us which program caused the
> error and what exactly happened? What kind of system do you use?
I haven't seen it myself, its a report we had from an academic site in the
UK we were talking to.
We were concerned because we (used) to use the standard 6.2 supplied kernel
on most of our cluster systems.
The original report came from the states, look at:
http://www.ccl.net/cgi-bin/ccl/message.cgi?2000+06+06+002
Regards
--
Paul Ingram
Technical Support
Workstations U.K. Ltd. Amersham, England
Tel. 01494 724 498
Fax. 01494 433 375
------------------------------
From: [EMAIL PROTECTED]
Subject: capturing ethernet-frames
Date: Mon, 03 Jul 2000 12:01:21 GMT
(sorry in case of multiple posting, newsserver had
trouble)
Hi,
I'm writing a kernel-module which should
be notified whenever
my
ethernetcard receives a frame (and it should get
the frame
also).
I don't want to hack a call to my module into some
ethernet-card
driver. Isn't there a more generic way for me to
register my module
as
the receiver for ethernetframes. (And at the same
time to unregister
the
normal protocolstack in the linux
kernel).
--
Dirk
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED]
Subject: capturing ethernet-frames
Date: Mon, 03 Jul 2000 12:05:28 GMT
(Sorry in case of multiple-postings, newsserver got on my nerves)
Hi,
I'm writing a kernel-module which should be notified whenever
my
ethernetcard receives a frame (and it should get the frame
also).
I don't want to hack a call to my module into some
ethernet-card
driver. Isn't there a more generic way for me to register my module
as
the receiver for ethernetframes. (And at the same time to unregister
the
normal protocolstack in the linux
kernel).
--
Dirk
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Matt Lesko <[EMAIL PROTECTED]>
Subject: Re: /proc/cpuinfo
Date: Mon, 03 Jul 2000 10:53:28 -0400
I'm pretty sure (but not postive) that CPU Family: 5 refers to a pentium
class machine here. Sometimes you'll see programs that have compiled
with optimization as i586 instead of i386, so that's my best guess. As
for model, I'd just say it some sort of identification of the CPU
itself, maybe the 8th revision. BogoMIPS are (bogus) million
instructions per second, supposed to be a measure of a computer's
performance. In reality, it has very little to do with a computer's
performance, hence BogoMIPS. It is found by testing how long it takes to
run a small loop on startup, and is usually 2 * Mhz of the CPU, even
according to the kernel source (/usr/src/linux/init/main.c, search down
to bogomips). Hope this helps a bit. -- Matt Lesko
Steffen Weinstock wrote:
> Hi,
> can anybody tell me, what some entries in /proc/cpuinfo mean,
> (e.g.
> cpu family : 5 , what is 5 ???
> model : 8 , ...),
> what bogomips are (on some systems the bogomips = cpu-speed,
> sometimes bogomips=2*cpu-speed),
> and how the appearance and names of the fields correlate
> with the linux-version??
> That would be great. Thanks in advance
> Steffen
------------------------------
From: Marc Duponcheel <[EMAIL PROTECTED]>
Subject: delete overflow uid/gid files
Date: Mon, 03 Jul 2000 17:27:19 +0100
Hello,
I am running 2.4.0-test2 and for some reason I find a few bogus
files with 65534.65534 ownership. In fact, they are character
and bloch devices in a directory where sure they don't belong.
Permissions are bogus as well. Names are still OK (used to be C header files).
Issue is: I cannot delete them. Even as root or as test user 65534.65534
I get permission denied on most operations such as rm chown chmod ...
Any hints welcome (disk editor?).
--
Marc Duponcheel
[EMAIL PROTECTED] [home] +32 (0)3 449.44.94
[EMAIL PROTECTED] [work] +32 (0)2 704.52.40
------------------------------
From: [EMAIL PROTECTED] (jwk)
Subject: Re: add_mouse_randomness(__u32 mousedata) ?
Date: 3 Jul 2000 18:18:06 GMT
Reply-To: [EMAIL PROTECTED]
On Mon, 3 Jul 2000 13:09:56 +0800, jacky cui
<[EMAIL PROTECTED]> wrote:
>I don't understand the meaning of this function in mouse driver!
>can anyone tell me ?
>
>thanks
>
Since mouse movement is assumed to be somewhat random, it is used to
generate 'randomness' for /dev/random etc.
Good luck,
Jurriaan
--
Am I indecisive? Can I get back to you on that?
GNU/Linux 2.2.17pre9 SMP 3 users load av: 0.00 0.03 0.00
------------------------------
Date: Mon, 03 Jul 2000 12:51:23 -0600
From: Warren Young <[EMAIL PROTECTED]>
Subject: Re: Good Basic compiler for linux?
[EMAIL PROTECTED] wrote:
>
> Actually, it doesn't. One of VB's strengths is the huge selection of
> third-party objects available. The closest analog you'll find on other
> systems are Java Beans.
You won't say that after you see Perl's CPAN collection. Granted, it's
mostly non-GUI stuff, but hey, most programs _are_ non-GUI, and even GUI
programs are mostly made of non-GUI pieces.
CPAN is the main reason I use Perl and not, say, Python. Ugly the
syntax may be, but being able to say "cpan" and then "install LWP" and
suddenly having a full-fledged Internet I/O library installed is
unbeatable.
--
= Warren -- See the *ix pages at http://www.cyberport.com/~tangent/ix/
=
= ICBM Address: 36.8274040 N, 108.0204086 W, alt. 1714m
------------------------------
Date: Mon, 03 Jul 2000 12:54:58 -0600
From: Warren Young <[EMAIL PROTECTED]>
Subject: Re: Closing Socket
S�bastien Cottalorda wrote:
>
> Some of my software let sometimes sockets in "CLOSE" mode, it's not
> very important , but when I run again my software, It cannot use the
> socket becaus ethe other party seem to wait something and don't close
> his socket.
> So I'd like to check if I've "CLOSED" socket before creating a new one.
> And if so, close it or delete it.
The first thing to do is fix the buggy program that's leaving CLOSE_WAIT
states on your server. Then once you've done as much as possible in
that regard, see the setsockopt() function: in the server, set the
SO_REUSEADDR option to force bind() to work even if there are
wait-stated sockets on that port.
Beware, SO_REUSEADDR can let you do nasty things like bind to port 80
while Apache is running. It's not a cure-all, just a way around the
"wait for the wait state to expire" solution.
--
= Warren Young, maintainer of the Winsock Programmer's FAQ at:
= http://www.cyberport.com/~tangent/programming/winsock/
=
= ICBM Address: 36.8274040 N, 108.0204086 W, alt. 1714m
------------------------------
Date: Mon, 03 Jul 2000 12:58:40 -0600
From: Warren Young <[EMAIL PROTECTED]>
Subject: Re: capturing ethernet-frames
[EMAIL PROTECTED] wrote:
>
> I'm writing a kernel-module which should
> be notified whenever
> my
> ethernetcard receives a frame (and it should get
> the frame
> also).
It depends on what you want to do with that frame. If you just want to
display it or save it to disk, you can do that in user mode with
libpcap.
If you need to modify it or something before the network stack gets to
it, there's a mechanism that routes packets down through user mode and
then back up into the kernel. Packet socket? Something like that.
Anyway, you write the filter as a user-mode program, and it asks the
kernel to send data through it.
If you really have to do this in the kernel, look at the firewalling
mechanism. I'll bet you can hook into it to do some custom things. In
fact, I'm sure of it: just write a masquerading module, like
ip_masq_ftp: it hooks into the masquerading chain to diddle the data in
FTP packets.
Good luck,
--
= Warren Young, maintainer of the Winsock Programmer's FAQ at:
= http://www.cyberport.com/~tangent/programming/winsock/
=
= ICBM Address: 36.8274040 N, 108.0204086 W, alt. 1714m
------------------------------
From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: DNS problems
Date: 3 Jul 2000 17:24:31 -0500
Reply-To: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>, Thomas Wright wrote:
> Paul Kimoto schrieb:
>> In article <[EMAIL PROTECTED]>, Thomas Waight wrote:
Once again:
>> Do you mean that you can ping _any_ host by number, but _no_ hosts by name?
>> (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 ;-)
Well, here is one:
# include <netdb.h>
# include <stdio.h>
int
main (void)
{
struct hostent *entry;
char hostname[] = "www.yahoo.com";
if ((entry = gethostbyname (hostname)) == NULL)
fprintf (stderr, "lookup of %s failed\n", hostname);
return 0;
}
If you compile ("gcc this_file_name.c -o the_executable_name") this file,
then run "strace the_executable_name > output_file 2>&1", the output file
may give some hints about what the name resolver is trying to do.
> Thanks a lot for your answer, if you still feel like helping out, then check
> this thread: DNS problems
(Uh, where are we now?)
> --------------6561C5671C4944959B241BF8
> Content-Type: text/html; charset=us-ascii
> Content-Transfer-Encoding: 7bit
Please do not post in HTML, which is wasteful and annoying.
--
Paul Kimoto
------------------------------
From: [EMAIL PROTECTED] (Thaddeus L Olczyk)
Crossposted-To: comp.lang.java.programmer
Subject: Java on SMP linux.
Date: Mon, 03 Jul 2000 21:28:00 GMT
Reply-To: [EMAIL PROTECTED]
Sun claims that their Java does not work on linux in SMP (
multiprocessor ) systems.
Can anyone point me to a good Java implementation that:
1) Has a fairly good debugger.
2) Can run on SMP systems.
3) Most import-- is free.
------------------------------
From: Dirk Walravens <[EMAIL PROTECTED]>
Subject: capturing ethernetframes
Date: Mon, 03 Jul 2000 12:43:25 +0200
Hi,
I'm writing a kernel-module which should be notified whenever my
ethernetcard receives a frame (and it should get the frame also).
I don't want to hack a call to my module into some ethernet-card driver.
Isn't there a more generic way for me to register my module as
the receiver for ethernetframes. (And at the same time to unregister the
normal protocolstack in the linux kernel).
------------------------------
From: Dirk Walravens <[EMAIL PROTECTED]>
Subject: capturing ethernet-frames
Date: Mon, 3 Jul 2000 12:57:45 +0200
Hi,
I'm writing a kernel-module which should be notified whenever my
ethernetcard receives a frame (and it should get the frame also).
I don't want to hack a call to my module into some ethernet-card
driver. Isn't there a more generic way for me to register my module as
the receiver for ethernetframes. (And at the same time to unregister the
normal protocolstack in the linux kernel).
--
Dirk
------------------------------
From: Dirk Walravens <[EMAIL PROTECTED]>
Subject: capturing ethernet-frames
Date: Mon, 3 Jul 2000 12:50:31 +0200
Hi,
I'm writing a kernel-module which should be notified whenever my
ethernetcard receives a frame (and it should get the frame also).
I don't want to hack a call to my module into some ethernet-card
driver. Isn't there a more generic way for me to register my module as
the receiver for ethernetframes. (And at the same time to unregister the
normal protocolstack in the linux kernel).
--
Dirk
------------------------------
From: Brett Person <[EMAIL PROTECTED]>
Subject: Re: Kernel 2.2.16 "kernel panic, no init found", kernel 2.2.12, no problem
Date: 3 Jul 2000 23:12:42 GMT
Check that you have elf support compiled into the kernel. If elf is a modules, then
init will fail.
------------------------------
From: "Giampaolo Tomassoni" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: DNS problems
Date: Mon, 03 Jul 2000 23:57:44 GMT
"Thomas Wright" <[EMAIL PROTECTED]> ha scritto nel messaggio
news:[EMAIL PROTECTED]...
>
> ...omissis...
>
> 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).
Why don't you look at the /etc/resolv.conf file in your HD? There you'll
find both your domain name and the server ip. Copy this file to your DoC
system.
>
> ...omissis...
>
> >
> > 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) ...
My linux's C library (libc-2.1.1.so) do supplies the entries needed for name
resolution, so I guess that, under Linux, there is no need for further
libraries than the C one to get the name resolution functionality.
>
> ...omissis...
>
> What is this BIND ? (sorry again, *newbie*)
BIND stands for Berkeley Internet Name Domain and is a collection of
programs (notably, the DNS name server), tools (like nslookup) and client
libraries used to define, resolve and maintain name-and-address pairs under
TCP/IP environment. In short, it is the code by which you also get an IP
address through a DNS server.
BIND supplies the client portion in form of a library (libbind.a) whose
functionality is replicated in the libc itself in Linux (at least in my
system...).
If you have further questions about this matter, better move to
comp.os.linux.networking (I'm posting this also there), since this is not
the right ng for this matter.
Bye,
--
======================================================
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/
------------------------------
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: Re: We are selling software
From: [EMAIL PROTECTED] (Rob Kroll)
Date: Tue, 04 Jul 2000 00:27:59 GMT
[EMAIL PROTECTED] (Richard Vanstory) wrote in <[EMAIL PROTECTED]>:
>We are selling software
>for lowest price in the world (40$-140$)
>
>Check it out at http://www.cdnow2000.com immediately
Gee, there isn't a Linux distribution out there that can hold a candle to
that price.
Up yours, spamboy.
------------------------------
Crossposted-To: comp.os.linux.development.apps
Subject: Re: How to retreive/change the full MAC address of a network card ? (with
ioctl)
From: David Steuber <[EMAIL PROTECTED]>
Date: Tue, 04 Jul 2000 02:00:01 GMT
"Gerald Waugh" <[EMAIL PROTECTED]> writes:
' > Why do people continue to buy products from manufaturer's who lie to them?
'
' Why is Bill Clinton still President of the United States?
' (1) People buy products from manufacturer's who lie to them.
' (2) People don't Vote.
He was not convicted at his impeachment trial.
The question is, will Gore become president, or will Bush become
president?
This is not for this group of course. So my apologies. But PLEASE
vote for Bush!
--
David Steuber | Hi! My name is David Steuber, and I am
NRA Member | a hoploholic.
All bits are significant. Some bits are more significant than others.
-- Charles Babbage Orwell
------------------------------
** 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
******************************