Linux-Development-Sys Digest #214, Volume #8     Sat, 14 Oct 00 04:13:17 EDT

Contents:
  Re: Suse 6.4: add_timer linking problem ("Steve Schefter")
  Re: Question About Kernel 2.4.0 Beta's, When Do You Think It will be a Stable 
Release? (Nix)
  Re: How does a computer boot? (Nix)
  binfmt_misc and kmod (Wouter Verhelst)
  HELP - MPC860T Cross-Development ("Jeff Gentry")
  Re: Red Hat 7.0 and Kernel 2.4.0-test9 question? ("Emu")
  Re: Question About Kernel 2.4.0 Beta's, When Do You Think It will be a Stable 
Release? ("Emu")
  Re: HELP - MPC860T Cross-Development ("John Q. Lalas")
  Re: host names resolved from /etc/networks!!! (Thomas Drescher)
  Re: Most popular Linux development environment(s)? Graphical? (Larry Ebbitt)
  Re: Question About Kernel 2.4.0 Beta's, When Do You Think It will be a Stable 
Release? (Ronald Cole)
  Time problem (David Yeung)
  Re: How does a computer boot? (Robert Redelmeier)
  HOWTO? Boundary aligned memory allocation (for PCI device driver) ("Jim Fischer")
  problem of packet dropping in kernel (=?ks_c_5601-1987?B?wMzBvrHH?=)

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

Reply-To: <[EMAIL PROTECTED]>
From: "Steve Schefter" <[EMAIL PROTECTED]>
Subject: Re: Suse 6.4: add_timer linking problem
Date: Fri, 13 Oct 2000 20:09:41 GMT


Jan Mannekens wrote in message <[EMAIL PROTECTED]>...

>Does anybody has an idea which library I have to include to prevent the
>following linking error:
>
>undefined reference to `add_timer'
>
>(with add_timer used as declared in linux/timer.h)
>

The short answer is that I don't think you want to include any library.
add_timer is a kernel function and I don't think there is a user-space
function of the same name.  I think the real problem is including
linux/timer.h in the first place.  Perhaps you want time.h.  Was there
a man page on a function that indicated you should include timer.h?

    Steve Schefter
    The Software Group Limited



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

From: Nix <$}xinix{[email protected]>
Subject: Re: Question About Kernel 2.4.0 Beta's, When Do You Think It will be a Stable 
Release?
Date: 13 Oct 2000 20:15:44 +0100

[EMAIL PROTECTED] (Rick Ellis) writes:

> In article <8s62so$216$[EMAIL PROTECTED]>,
> Emu <[EMAIL PROTECTED]> wrote:
> 
> >Thanks for the informative reply :)
> 
> You don't like my answer?  It's the official one.  It'll be released
> when it is ready to be released and not before.  There is no schedule.

And this is a feature, not a bug :)

-- 
`Naturally, a sysadmin's entire person is holy.  We have the power to kill
 daemons.' --- Mike Sphar

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

From: Nix <$}xinix{[email protected]>
Subject: Re: How does a computer boot?
Date: 13 Oct 2000 20:26:19 +0100

Robert Redelmeier <[EMAIL PROTECTED]> writes:

> 1)  When powered on, and after receiving a power-good signal, 
> modern CPUs will start a built-in self test (BIST) and then

That's actually a Power On Self Test (POST).

-- 
`Normally, we don't do people's homework around here, but Venice 
 is a very beautiful city, so I'll make a small exception.'
        --- Robert Redelmeier compromises his principles

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

From: [EMAIL PROTECTED] (Wouter Verhelst)
Subject: binfmt_misc and kmod
Date: Fri, 13 Oct 2000 20:58:48 GMT

Hi,

I'm using binfmt_misc to be able to run java programs easily. I
compiled binfmt_misc as a module, because I don't need it that often.
this way it is not being loaded when I don't need it.

I'm using kmod, together with a cron'ed "rmmod -a" to make sure that
unused modules get removed from the kernel, but get loaded when I need
them.

However, this does not work for binfmt_misc. First, I wondered why,
then added a post-install line to /etc/modules.conf which configures
binfmt_misc. Still, this doesn't work. Do I have to do something
special with binfmt_misc, or is it impossible in the current
implementation?

In the latter situation: is it easy to change things so that
binfmt_misc gets loaded when the kernel doesn't know what to do with a
binary file (and binfmt_misc isn't loaded at that time)?

It would be very convenient. This way, I manually have to enter
'modprobe binfmt_misc' when I need it, and 'rmmod binfmt_misc' when it
can be removed (I tried to use the -k option to modprobe so that
binfmt_misc would be unloaded by rmmod -a, but after I ran rmmod -a
three or four times, binfmt_misc was still loaded).

TIA,

-- 
wouter punt verhelst op advalvas in Belgi�
 10:50pm  up 14:48,  3 users,  load average: 1.08, 1.09, 1.09
Voor een vertaling van Documentation/Configure.help naar het Nederlands:
http://users.pandora.be/wouter.verhelst/configure.html

Postmen never die, they just lose their zip.

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

From: "Jeff Gentry" <[EMAIL PROTECTED]>
Crossposted-To: comp.arch.embedded,comp.os.linux.m68k
Subject: HELP - MPC860T Cross-Development
Date: Fri, 13 Oct 2000 21:08:57 GMT

Is anyone using Linux on an Intel Host running Linux
and cross-compiling for a Power PC Target System?
How is it going? I am going to try it with Debian 2.2.
What are you using?

-Jeff



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

From: "Emu" <[EMAIL PROTECTED]>
Subject: Re: Red Hat 7.0 and Kernel 2.4.0-test9 question?
Date: Fri, 13 Oct 2000 17:34:39 -0500

LOGIN:


Then Password Prompt does not appear


"Andrea Borgia" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On 05 Oct 2000 05:23:42 GMT,
> in article <8rh38u$[EMAIL PROTECTED]>,
> "E-mu" <[EMAIL PROTECTED]> wrote:
>
>
> >Has anyone installed this kernel on Red hat version 7.0 yet?  Any
problems?
> >I had a problem with test8, I couldn't get the PASSWORD script after the
> >LOGIN script.
>
> I tried test8 and all was fine. I'm not sure I actually understand
> what you mean byt "PASSWORD script", here.
>
>
> >Finally is anyone having problems getting the graphical mode during the
> >install of red hat 7.0.  I have a Dell Laptop Inspirion 7500, and had no
> >problems with Red Hat version 6.2 but with Red Hat 7.0,  it will only
> >install in TEXT mode  :(
>
> Same on my old Toshina Satellite 320CDS; I reported the bug during
> beta cycle and it's still being worked on... it is unclear why it is
> happening, since the installer, in my case at least, is detecting the
> video adapter just fine.
>
> Bye.
>
> --
> Alias:  [EMAIL PROTECTED]
> Ham Radio:  IW4EGQ



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

From: "Emu" <[EMAIL PROTECTED]>
Subject: Re: Question About Kernel 2.4.0 Beta's, When Do You Think It will be a Stable 
Release?
Date: Fri, 13 Oct 2000 17:40:46 -0500

I see you point about my Post.  Keep in mind that myself and others are
volunteering their time to make the kernel a successfully stable one.  All I
asked was a simple question.   Its weird that I asked this same question in
#linuxhelp in Undernet and they responded with out such a remark :)


"Nix" <$}xinix{[email protected]> wrote in message
news:[EMAIL PROTECTED]...
> [EMAIL PROTECTED] (Rick Ellis) writes:
>
> > In article <8s62so$216$[EMAIL PROTECTED]>,
> > Emu <[EMAIL PROTECTED]> wrote:
> >
> > >Thanks for the informative reply :)
> >
> > You don't like my answer?  It's the official one.  It'll be released
> > when it is ready to be released and not before.  There is no schedule.
>
> And this is a feature, not a bug :)
>
> --
> `Naturally, a sysadmin's entire person is holy.  We have the power to kill
>  daemons.' --- Mike Sphar



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

From: "John Q. Lalas" <[EMAIL PROTECTED]>
Crossposted-To: comp.arch.embedded,comp.os.linux.m68k
Subject: Re: HELP - MPC860T Cross-Development
Date: 13 Oct 2000 21:47:05 GMT

In comp.arch.embedded Jeff Gentry <[EMAIL PROTECTED]> wrote:
: Is anyone using Linux on an Intel Host running Linux
: and cross-compiling for a Power PC Target System?
: How is it going? I am going to try it with Debian 2.2.
: What are you using?

I'm a grad student working with Red Hat 6.2 on a
Pentium.  It has MontaVista cross compiler to build for MCP750
target.  Right now, I'm building the 2.14 kernel for the target.
I believe it will also support MB?860.

Admittedly, I still have some learning to do :-).
 
-- 
c ya,

John Q. Lalas, Jr.
[EMAIL PROTECTED]


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

From: Thomas Drescher <[EMAIL PROTECTED]>
Subject: Re: host names resolved from /etc/networks!!!
Date: Sat, 14 Oct 2000 01:30:23 GMT
Reply-To: [EMAIL PROTECTED]

Hi Villy,

>>>>>>>>>>>>>>>>>> Urspr=FCngliche Nachricht <<<<<<<<<<<<<<<<<<

Am 13.10.00, 06:53:08, schrieb [EMAIL PROTECTED]=20
(Villy Kruse) zum Thema Re: host names resolved from /etc/networks!!!:

> On Thu, 12 Oct 2000 20:22:01 GMT, Thomas Drescher <[EMAIL PROTECTED]>=20=

wrote:
...

> To mee this looks like running the route command and the names
> displayed are the names associated with network addresses, which
> correctly is looked up in /etc/networks.

No, these are definitely host names in the table.

I wonder if the problem could be caused by bugs in the used libs=20
"/lib/libc.so.6" or "/lib/libnss_files.so.2" ?!

Lets make it clear, again, what i have done:
-/etc/nsswitch.conf:
hosts:          files
networks:       files

-/etc/hosts:
127.0.0.1       localhost
192.168.111.1   hst1.thomas.net hst1
192.168.111.2   hst2.thomas.net hst2
192.168.111.99  isdn-gw-1
192.168.111.98  isdn-gw-2

-/etc/networks:
thomas.net  192.168.111.0
loopback    127.0.0.0

-This is the original route display (watch the 'H'-Flag):
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref Use=20=

Iface
192.168.111.98  *               255.255.255.255 UH    0      0   0=20
ippp1
192.168.111.1   *               255.255.255.255 UH    0      0   0=20
plip0
192.168.111.2   *               255.255.255.255 UH    0      0   0=20
plip1
192.168.111.99  *               255.255.255.255 UH    0      0   0=20
ippp0
loopback        *               255.0.0.0       U     0      0   0 lo
default         192.168.111.99  0.0.0.0         UG    0      0   0=20
ippp0

-I changed /etc/networks to: (!)
thomas.net  192.168.111.0
loopback    127.0.0.0
hst1.thomas.net 192.168.111.1
hst2.thomas.net 192.168.111.2
isdn-gw-1       192.168.111.99
isdn-gw-2       192.168.111.98

-Then the display looks like seen in the strace: (!)
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref Use=20=

Iface
isdn-gw-2       *               255.255.255.255 UH    0      0   0=20
ippp1
hst1.thomas.net *               255.255.255.255 UH    0      0   0=20
plip0
hst2.thomas.net *               255.255.255.255 UH    0      0   0=20
plip1
isdn-gw-1       *               255.255.255.255 UH    0      0   0=20
ippp0
loopback        *               255.0.0.0       U     0      0   0 lo
default         isdn-gw-1       0.0.0.0         UG    0      0   0=20
ippp0





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

Date: Fri, 13 Oct 2000 19:31:44 -0400
From: Larry Ebbitt <[EMAIL PROTECTED]>
Subject: Re: Most popular Linux development environment(s)? Graphical?

Robert Redelmeier wrote:
    
> 
> > I despise CLI stuff. After 40 years of programming, I have decided
> > that the computer is supposed to make thing easier.
> 
> That makes me a newbie with only 32 years of programming ;(
> I don't expect computers to do anything except follow instructions.
> They won't make anything easier because they can only do that with
> programs that make things less flexible and powerful.  Usually,
> I avoid such tools.

Well, rookie <g>, i should have expanded. The 40 years have been with
IBM mainframes and there's not a GUI to be found (easily). The years
haven't mad me any smarter, but they have made me sick of command lines
and green screens. 

> I also don't find GUIs easier, because they are all menuing
> systems, and you have to find where they hid the widget, if
> they have it at all.  At least in *IX you know they have
> certain widgets, and how to use'em.  But I type well and
> fast, and fear I will catch carpal-tunnel from the mouse.

My wife thinks I type well, I think I'm fair but, beyond the typing,
there's remembering the correct spelling of all the files. and the
correct format of the commands. which is almost never intuitive.
A GUI takes care of that for me. I have RSI and get to wear these
cute little wrist braces.  I don't think it cam from my lovable
little red-tailed rodent, I think it came from pounding on things
when I misspelled a file name or option name.  I think GUIs are
easier cuz they prevent a lot of that set of brain farts.
 
> That's not to say there haven't been ease-of-use improvements.
> Borland TurboPascal 2.0 was a nice environment in it's day.
> But you can certainly have too much of this because it makes
> large multi-module programs _too_ easy to build.  These spider
> webs are full of bugs.  The integration is too tight.

Well, use an IDE to make thing easier, but keep your mind on what
you are doing. Don't let the toys overpower your common sense.
>From these exchanges, I'm confident *you* don't.
 
> > The poster asked about graphical environments, so I thought
> > I would mention one.
> 
> He asked about both, at least per the Subject above.
> Not a nitpick, just IMHO.

True, but I saw no reply that mentioned one, just the execrable
vi and emacs. I'm not sadist enough to recommend that someone
learn hundreds of non-intuitive command stroke combinations just
so he can be a toguh, no-nonsense CLI kind of guy.

Really, to each his own. I don't have any desire to start another
holy war, but I thought, on re-reading. that I sounded a little
too imperious.

-- 
Larry Ebbitt - Linux + OS/2 - Atlanta

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

From: Ronald Cole <[EMAIL PROTECTED]>
Subject: Re: Question About Kernel 2.4.0 Beta's, When Do You Think It will be a Stable 
Release?
Date: 13 Oct 2000 16:41:15 -0700

"Emu" <[EMAIL PROTECTED]> writes:
> I see you point about my Post.  Keep in mind that myself and others are
> volunteering their time to make the kernel a successfully stable one.  All I
> asked was a simple question.

What you asked was for an accurate prediction.

> Its weird that I asked this same question in
> #linuxhelp in Undernet and they responded with out such a remark :)

And their response was....  ?

I called 1-800-PSYCHIC PAL for you and they said that Linus would
announce the availability of linux-2.4.0.tar.gz on Christmas Day.
I forgot to ask what year...

-- 
Forte International, P.O. Box 1412, Ridgecrest, CA  93556-1412
Ronald Cole <[EMAIL PROTECTED]>      Phone: (760) 499-9142
President, CEO                             Fax: (760) 499-9152
My GPG fingerprint: C3AF 4BE9 BEA6 F1C2 B084  4A88 8851 E6C8 69E3 B00B

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

From: David Yeung <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Time problem
Date: Sat, 14 Oct 2000 08:11:56 +0800

I've installed the RedHat 6.2 in a Intel PIII dual CPU machine, but
I found very strange system clock problem. Here are the problem:

% uname -a 
Linux hqlx13.ust.hk 2.2.16-3smp #1 SMP Mon Jun 19 19:00:35 EDT 2000 i686 unknown
% date
Sat Oct 14 08:01:22 HKT 2000
% touch file1
% ls -l file1
-rw-r--r--   1 3987     1563            0 Oct 14 00:01 file1
% date -u
Sat Oct 14 00:01:36 UTC 2000          

When I type a 'date' command, it show the correct clock value in HKT timezone.
However, when I 'touch' a file, the file creation time 8 hours before the local time.
It seems that it is the UTC time.

Does anyone have idea how I can fix the problem.

Thanks

David Yeung

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

Date: Fri, 13 Oct 2000 20:21:24 -0500
From: Robert Redelmeier <[EMAIL PROTECTED]>
Subject: Re: How does a computer boot?

Nix wrote:
> 
> Robert Redelmeier <[EMAIL PROTECTED]> writes:
> 
> > 1)  When powered on, and after receiving a power-good signal,
> > modern CPUs will start a built-in self test (BIST) and then
> 
> That's actually a Power On Self Test (POST).

POST is in BIOS.  BIST is on silicon (microcode).

-- Robert

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

From: "Jim Fischer" <[EMAIL PROTECTED]>
Subject: HOWTO? Boundary aligned memory allocation (for PCI device driver)
Date: Fri, 13 Oct 2000 19:34:30 -0700

I'm working with a board that's running the Linux 2.4.0-test8 kernel, and I
need to allocate a contiguous block of physical memory whose starting
address is boundary aligned on a 2^n memory address -- e.g., a 1 MB block of
physical RAM whose starting address is given by,

    m * 0x100000

where 'm' is any non-zero integer (e.g., 0x100000, or 0x200000, or 0xF00000,
or 0x1200000, etc.). What I'm trying to do is allocate a chunk of physical
RAM that will ultimately be used as the board's PCI memory space... [FWIW,
I'm working with an EBSA-285 (i.e., SA110 / 21285 core logic) eval board,
and I need to associate some physical RAM with the 21285's PCI memory
address space...] Any suggestions ?


Jim





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

From: =?ks_c_5601-1987?B?wMzBvrHH?= <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: problem of packet dropping in kernel
Date: Sat, 14 Oct 2000 13:32:47 +0900

I'm curious about the behavor of linux kernel on DDoS.(ie, flodding packets)
The result of my test is as follows:
1. When there are too much incomming packets, network drivers begin to cry.
(saying, for example, "card reports no resource..")
2. The more the packets come, the less the kernel can process.
(ex, when packets come at the rate of 130000 pkt/s, kernel processes 50000
pkt/s,
while when packets come at the rate of 90000 pkt/s, kernel processes 80000
pkt/s)
3. After the kernel is stressed by the packets for 10's of seconds, kernel
begins to drop all the packets.
4. After 10's of seconds, kernel restarts processing packets normally.

Reasons:(?)
1. I thought the network driver might make that problem.
When it's stressed too much, it might be locked for seconds... But I think
it's not probable now.
I've tested 3com, eepro100, realtek which gave the same result.

2. I think there is codes somewhere in the kernel which makes the kernel
drop normal packets on some condition.(when it should not)
For example, the netdev_max_backlog variable in net/core/dev.c is fixed to
300.
I don't know what the value means and why it's fixed to that value.

any idea?





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


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

Reply via email to