Linux-Development-Sys Digest #400, Volume #6 Sun, 14 Feb 99 03:14:19 EST
Contents:
Re: net-pf- [was Re: net-pf-17 ?] ("Zefram Cochrane")
Re: LYNX Benchmarking Commands (Shark)
Re: LYNX Benchmarking Commands (Shark)
Re: Internal PCI modem (Rob Clark)
Re: Internal PCI modem (Stefan Monnier)
Re: Linux on old as400 machines? (Piniek aka Piotr Ingling)
Re: LYNX Benchmarking Commands (James Youngman)
Re: Help : Time Measurement (James Youngman)
restoring ext2 partition (Renato Lukac)
Re: Modest next goal for Linux (Konrad Mierendorff)
Block driver handling multiple requests in parallel? (Felix Rauch)
Re: glibc 2.1 ;) (Daren Scot Wilson)
Re: ATAPI ZIP drive problem.... (Peter J. de Vrijer)
Re: USB support ("Xiaopong Tran")
Re: /usr/bin/ld: warning: cannot find entry symbol _start; (Michael Hirsch)
Re: Kernel 2.2 Stable Problem with RealTek 8129/8139 ethernet xconfig/config (Brian
Keefer)
Re: Help : Time Measurement (Matt Kressel)
Re: Glibc-2.0.112 Problem. (Juergen Heinzl)
Re: cobalt and linux (Mike McDonald)
Linux on a Power Server 560 (IBM RS6000) (Craig J Copi)
Problem with autofs and local /home (Craig J Copi)
----------------------------------------------------------------------------
From: "Zefram Cochrane" <[EMAIL PROTECTED]>
Subject: Re: net-pf- [was Re: net-pf-17 ?]
Date: Fri, 12 Feb 1999 12:43:29 -0000
OK. Thank you. I didn't appreciate the difference between
Ethernet protocol numbers and IP Protocol numbers.
I don't think that it is modprobe that is deciding to
look for net-pf-; I've looked in the source for the sys_socket
call and it has a sprintf(buf,"net-pf-%d",....) line. So
I deduce that modprobe is just doing what its told to do,
towhit probing for a module of the name which it was given.
sys_socket only does that if KERNELD is defined as well,
which makes sense.
Anyway, what I've done so far is to recompile the kernel
with those protocols compiled in (not as modules). This isn't
necessary, I know, but until I am capable of a deeper understanding,
I've done that to keep bootup less noisy.
Where is this file that you mention wherein the aliases are kept ?
Richard [in PE12]
------------------------------
From: Shark <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.lynx,comp.os.linux.networking,comp.arch.bus.vmebus,comp.dcom.lans.ethernet
Subject: Re: LYNX Benchmarking Commands
Date: Fri, 12 Feb 1999 09:57:53 -0600
Reply-To: [EMAIL PROTECTED]
Richard,
I included the Linux world for the free source part. I should have made
that more identifiable.
Shark
Richard Steiner wrote:
> Here in comp.os.linux.networking, Shark <[EMAIL PROTECTED]>
> spake unto us, saying:
>
> >I am new to the Lynx OS.
>
> Since Linux and Lynx are two completely different beasts, I'm not sure
> why so many Linux newsgroups were part of the initial crossposting?
>
> --
> -Rich Steiner >>>---> [EMAIL PROTECTED] >>>---> Bloomington, MN
> OS/2 + Linux (Slackware+RedHat+SuSE) + FreeBSD + Solaris +
> WinNT4 + Win95 + PC/GEOS + Executor = PC Hobbyist Heaven!
> Gravity isn't my fault - I voted for velcro!
------------------------------
From: Shark <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.lynx,comp.os.linux.networking,comp.arch.bus.vmebus,comp.dcom.lans.ethernet
Subject: Re: LYNX Benchmarking Commands
Date: Fri, 12 Feb 1999 09:59:41 -0600
Reply-To: [EMAIL PROTECTED]
All,
Thanks again for all the responses.
Shark
------------------------------
Crossposted-To: comp.os.linux.setup
Subject: Re: Internal PCI modem
From: [EMAIL PROTECTED] (Rob Clark)
Date: Fri, 12 Feb 1999 17:29:39 GMT
In article <[EMAIL PROTECTED]>,
Julian Robert Yon <[EMAIL PROTECTED]> wrote:
[re: winmodems]
>I suppose I'm not the only one who has one of these tested on a Win9x
>system and otherwise unused (and hence am �40 out of pocket). Is a
>petition to request that companies manufacture _real_ modems
>possible?...
Possible, yes; however, since [some large percentage] of PC users use
Windows, likely to be fruitless as well.
On-line gamers might sign such a petition, since the performance hit would
affect them. A largish computer retailer would be a better target than
the modem makers, who are mostly in Taiwan.
So, vote with your $, �, euros, what have you...
Rob Clark, [EMAIL PROTECTED]
http://www.o2.net/~gromitkc/winmodem.html
------------------------------
From: Stefan Monnier
<[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Internal PCI modem
Date: 12 Feb 1999 12:30:32 -0500
>>>>> "Julian" == Julian Robert Yon <[EMAIL PROTECTED]> writes:
> petition to request that companies manufacture _real_ modems possible?...
Convince people to stop buying winmodems ?
Buy real modems ?
Stefan
------------------------------
From: [EMAIL PROTECTED] (Piniek aka Piotr Ingling)
Subject: Re: Linux on old as400 machines?
Date: Fri, 12 Feb 1999 17:34:28 GMT
Reply-To: [EMAIL PROTECTED]
Dnia Thu, 11 Feb 1999 19:13:05 +0100, <[EMAIL PROTECTED]> napisa�(a):
>Hi,
>
>I'm looking if there is any option to reuse old as400 machines with any
>free Un*x OS.
>
No way... It's a closed architecture and there's no documentation on how to
write your own OS.
Piotr Ingling
e-mail: [EMAIL PROTECTED]
------------------------------
From: James Youngman <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.lynx,comp.os.linux.networking,comp.arch.bus.vmebus,comp.dcom.lans.ethernet
Subject: Re: LYNX Benchmarking Commands
Date: 12 Feb 1999 21:30:30 +0000
Rohit Sharma <[EMAIL PROTECTED]> writes:
> You could write your own code for benchmarking. When I do comaprisons for
> RTOSs, these are the things I look at:
>
> (1) Task or process switch latency
> (2) Function context switch time
> (3) Interrupt latency (time to start the isr after receiving the interupt)
I find that another vial statistic is how much work the executive does
on the back edge of the interrupt. Often, an RTOS will do this sort
of thing to reduce interrupt latency:-
intr02:
jsr usr_vec_02
jsr _process_delayed_isr_list
; decide about any context switch, and clear the interrupt
; condition, then allow any newly scheduled task to run
; (or let the running task continue)
jmp _reschedule1_from_intr
> Other than these, you could also compare the level of optimizations in the
> compilers and the facilities offered by the debuggers. These are important
> issues too in evaluation. Alongwith customer support and responsiveness
> and knowledge of tech support :-)
--
ACTUALLY reachable as @free-lunch.demon.(whitehouse)co.uk:james+usenet
------------------------------
From: James Youngman <[EMAIL PROTECTED]>
Subject: Re: Help : Time Measurement
Date: 12 Feb 1999 21:53:05 +0000
[EMAIL PROTECTED] (Ja~nez Fernandez, Ruben) writes:
> One of the first steps I have to do is the measurement of the real time
> interval between two consecutive executions of one function in a "for" loop.
> My problem is the multitask execution. Does anyone know if there
> is a way to accurately measure that time?
man gettimeofday
man gprof
--
ACTUALLY reachable as @free-lunch.demon.(whitehouse)co.uk:james+usenet
------------------------------
From: Renato Lukac <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.hardware,alt.os.linux,alt.linux
Subject: restoring ext2 partition
Date: Sun, 14 Feb 1999 01:31:47 +0100
hi,
Is it possible to restore an ext2 partition?
I accidently did an mke2fs on the *wrong* partition. /dev/hdd (only
hdd1).
Thanks,!
Regards, Renato
,'~`.
\\|//
( o o ) Window$ is living proof of Murphy's
Law -(@ @)-
+--.oooO--(_)--Oooo.-*-*-*-------------------------.oooO--(_)--Oooo.-+
|Renato Lukac ** * ** |Email:[EMAIL PROTECTED] |
|Gimnazija M.Sobota G M S |WWW:http://www.s-gms.ms.edus.si/renato/|
|Slovenija ******* |Tel.: + 386 / (0)69 / 38-260-106 |
+--------------------------------------------------------------------+
------------------------------
From: Konrad Mierendorff <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: Modest next goal for Linux
Date: Fri, 12 Feb 1999 19:33:25 +0100
Liang-Shing Ng wrote:
> Is it possible to achieve my modest requirement of "guanranteed limited
> time response" in X window? i.e. When my Netscape started swapping, I
> want my cursor can still be responsive and move on to other windows and
> do some things.
I don't know if it really improves your system, but you could change the
priority for kswapd. (It just a suggestion - I never tried that)
But anyway, you cannot use your other applications effectively while
netscape or another programm is swapping.
------------------------------
From: [EMAIL PROTECTED] (Felix Rauch)
Subject: Block driver handling multiple requests in parallel?
Date: 12 Feb 1999 20:17:42 +0100
I'm not sure how to handle multiple requests (in the request()-function
of a block driver) in parallel before calling end_request(). I have an
idea, but I'm not sure if it is the right thing.
A student in our lab is writing a block driver for Linux which
transfers blocks from/to remote machines over Myrinet (a gigabit
SAN/LAN networking technology). His driver seems to work fine, he can
access a remote machine by mounting his device (e.g. by executing
"mount /dev/mdfsa /import/mdfsa", where "mdfs" stands for "Myrinet
Distributed File System"). He can even use the MD-driver to "pack" 4
of his devices into a raid0 device. The remaining problem is that the
raid-device is not faster than a single device :-(
I read "Linux Device Drivers" by Alessandro Rubini (which is a quite
good book btw.!) and <linux/blk.h> and thought about it. So my
question is:
Instead of something like (which is the SOP, AFAIK):
for(;;) {
INIT_REQUEST;
look at CURRENT, request block block from remote machine and
wait until it's here;
when the block is here, call end_request();
}
Is the following procedure (or something similar) in a
request()-function possible?
for(;;) {
INIT_REQUEST;
while(CURRENT != NULL) {
send requests for all buffer_heads in CURRENT and remove them
from the request-queue (but we keep a pointer to the
buffer_heads somewhere to be able to unlock them later).
CURRENT = CURRENT->next;
}
while not all requests have been answered {
/* The myrinet-cards sends an interrupt to the CPU when a
packet has been received, so: */
wait for next answer with interruptible_sleep_on();
call mark_buffer_uptodate() and unlock_buffer() for the buffer
which has just been filled (do basically the stuff which is
in end_request() ).
}
}
Is this possible or have I missed something? I am especially
interested to know if it is sufficient to call mark_buffer_uptodate()
and unlock_buffer() for every received buffer or if there is something
else.
I would appreciate tips for this as I'm really interested in how much
speed we can get for such a distributed filesystem.
- Felix
--
Felix Rauch, research assistant @ ETH Zurich, Institute for Computersystems
Homepage: http://nice.ethz.ch/~felix/ (includes PGP public key)
Email: [EMAIL PROTECTED] -> This article contains my personal views only <-
------------------------------
From: Daren Scot Wilson <[EMAIL PROTECTED]>
Subject: Re: glibc 2.1 ;)
Date: Sat, 13 Feb 1999 21:49:44 +0000
Scary, the trouble some linuxers have had with the new glibc. Just today I
compiled glibc 2.1, the new kernel 2.2.1, and toyed with egcs but didn't like
it - programs it made ran slower than those form gcc 2.8.1, and it griped about
things in the source code. Yet gcc compile glibc and linux just fine, despite
the warnings in the glibc FAQ. And my Netscape 4.5 is running just fine,
sending you this news email.
Anyhow,the linux kernel version is important. I had upgraded the kernel to
2.2.1 before upgrading glibc. PPP dialing didn't work. Thought my ISP went
bonkers. Upgraded the glibc to 2.1, everything's fine. Other people who
upgraded the glibc first, using an older kernel, had other kinds of problems.
Lesson: linux 2.2.1 (or 2.2.0) goes with and only with glibc 2.1, and older
goes with older. Don't mix 'em.
--
Daren Scot Wilson
[EMAIL PROTECTED]
www.newcolor.com
----
"A ship in a harbor is safe, but that is not what ships are built for"
-- William Shedd
------------------------------
From: Peter J. de Vrijer <[EMAIL PROTECTED]>
Subject: Re: ATAPI ZIP drive problem....
Date: Fri, 12 Feb 1999 19:45:46 +0100
On Fri, 12 Feb 1999, Gyepi Sam wrote:
>How are you using fdisk?
>How are you calling mount?
>If you have any fstab entries for the drive, please post that.
>
>The Iomega zip drives actually show up as the last partition on the drive. I don't
>know why.
>In your case, you'd probably find it at
>
> /dev/hdd4
Well that must be because Iomega partitioned them that way. I can see no
technical reason. In fact you can use fdisk to create an primary partition
as the first one (/dev/hdd1). And then put a ext2 fs on it with mkfs.
I tried that once. Works perfectly.
Greetings from Peter.
--
|===========================================================|
| Peter J. de Vrijer e-mail: [EMAIL PROTECTED] |
| werk: [EMAIL PROTECTED] |
| And perhaps the horse will learn to sing |
------------------------------
From: "Xiaopong Tran" <[EMAIL PROTECTED]>
Subject: Re: USB support
Date: 12 Feb 1999 12:01:06 PST
I just bought a USB ethernet adapter for my VAIO 505FX (the
superslim), but I haven't tried it on Linux yet. Anyone had
success with USB ethernet adapter before?
I read from the web site that it requires linux 2.2 and up.
I 'm currently running RH5.2 with 2.0.36. I'm having trouble
compiling the 2.2.1 kernel, so I didn't have a chance to
integrate the USB code into the system.
Please send me a note if you had made it.
Thanks
Xiaopong
[EMAIL PROTECTED]
Aki M Laukkanen wrote in message ...
>In article <[EMAIL PROTECTED]>, Christian Uhde wrote:
>>is there any support for usb interfaces ?
>
>Take a look at:
>http://peloncho.fis.ucm.es/~inaky/uusbd-www/
>
>I'm using a USB keyboard here.
>
>--
>D.
------------------------------
From: Michael Hirsch <[EMAIL PROTECTED]>
Subject: Re: /usr/bin/ld: warning: cannot find entry symbol _start;
Date: 12 Feb 1999 14:48:58 -0500
"Bob Harmon - Eng." <[EMAIL PROTECTED]> writes:
> I compile and link my (fairly large 1.5M) application but the linker
> complains:
>
> /usr/bin/ld: warning: cannot find entry symbol _start; defaulting to
> 08049620
>
> Then when I type ./mate I get
> ./mate: Command not found
I've had problems like this where mate is there, but not executable.
You might check that.
--
Michael D. Hirsch Work: (404) 727-7940
Emory University, Atlanta, GA 30322 FAX: (404) 727-5611
email: [EMAIL PROTECTED] http://www.mathcs.emory.edu/~hirsch/
Public key for encrypted mail available upon request (or finger
[EMAIL PROTECTED]).
------------------------------
From: Brian Keefer <"mgomes(don't laugh, it's my mom's account)"@mci2000.com>
Subject: Re: Kernel 2.2 Stable Problem with RealTek 8129/8139 ethernet xconfig/config
Date: Sun, 14 Feb 1999 03:41:20 GMT
G. McKenzie wrote:
> With 2.2 just released as stable, it seems that the card is within
> xconfig under the networking devices but it cannot be illuminated to
> have one click the button to allow it to be compiled into the kernel.
> Any ideas on how to resolve this would be greatly appreciated
Under "Code Maturity level options", you have to say yes to "prompt for"
experimental drivers. Not being able to tell this dependency is probably
a bug.
------------------------------
From: Matt Kressel <[EMAIL PROTECTED]>
Subject: Re: Help : Time Measurement
Date: Fri, 12 Feb 1999 21:31:25 GMT
Ja~nez Fernandez, Ruben wrote:
>
> Hi all:
>
> First of all, excuse my english, just a little too bad :-).
>
> I`m making my final career project under redhat linux 4.2.
> One of the first steps I have to do is the measurement of the real time
> interval between two consecutive executions of one function in a "for" loop.
> My problem is the multitask execution. Does anyone know if there
> is a way to accurately measure that time?
>
Your English is not bas at all!
Look into thr real time clock (rtc) support under Linux.
-Matt
--
Matthew O. Kressel | INTERNET: [EMAIL PROTECTED]
+--------- Northrop Grumman Corporation, Bethpage, NY ---------+
+--------- TEL: (516) 346-9101 FAX: (516) 346-9740 ------------+
------------------------------
From: [EMAIL PROTECTED] (Juergen Heinzl)
Crossposted-To: comp.os.linux.misc
Subject: Re: Glibc-2.0.112 Problem.
Date: Sun, 14 Feb 1999 03:51:05 GMT
In article <[EMAIL PROTECTED]>, David Taylor wrote:
>I upgraded to glibc-2.0.112 and ended up (after 3 days) getting my
>computer to work again... However, I can't recompile the Linux kernel
>(2.2.1) [using egcs Feb08 snapshot] - it fails with undefined symbols in
>network.a
Cannot be a library problem, since the kernel does not make use of
it; I'd 2.0.112 and now 2.1 so believe me that 8-)
[...]
>Now that is one hell of a lot of errors, but they are ALL referring to
>skb_put and skb_push...
You might run a find /usr/src/linux -size 0 first. Might be some
object file got messed up and I cannot tell which C file those functions
are in. It's really not easy to say what is going on and what is to
blame, but take a look in /usr/src/linux/net first.
Cheers,
Juergen
--
\ Real name : J�rgen Heinzl \ no flames /
\ EMail Private : [EMAIL PROTECTED] \ send money instead /
\ Phone Private : +44 181-332 0750 \ /
------------------------------
From: [EMAIL PROTECTED] (Mike McDonald)
Subject: Re: cobalt and linux
Date: 12 Feb 1999 23:03:33 GMT
Reply-To: [EMAIL PROTECTED]
In article <79vfev$2da$[EMAIL PROTECTED]>,
r d t@c s.q u e e n s u.c a (Bob Tennent) writes:
> On 11 Feb 1999 19:59:22 GMT, AME wrote:
> >
> >
> >I have a cobalt box running Linux. However when I type commands like man
> >or gcc , the system says"command not found".
> To add a directory to the path, see the man page for your shell to
> see how to assign to environment variables.
>
> Bob T.
Uh, he DOESN'T have man!
Mike McDonald
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Craig J Copi)
Subject: Linux on a Power Server 560 (IBM RS6000)
Date: 13 Feb 1999 00:43:53 GMT
We just inherited one of these and would love to play with Linux on it
instead of AIX. Unfortunately it doesn't have a PowerPC CPU in it.
Does anybody know if there is a port that will run on the RS6000,
Power Server 560?
=================================+====================================
Craig J Copi | [EMAIL PROTECTED]
Case Western Reserve University | http://erebus.phys.cwru.edu/~copi/
Department of Physics | (216) 368-8831
------------------------------
From: [EMAIL PROTECTED] (Craig J Copi)
Subject: Problem with autofs and local /home
Date: 13 Feb 1999 00:53:30 GMT
I am using the latest autofs with kernel 2.2.1. The users home directory
actually lives in /export/home by I use autofs to "mount" this in /home
(/export/home is then nfs exported and autofs on clients map them to /home
also). On external clients it works great. On local clients it makes a
symbolic as it should so
/home/test -> /export/home/test
Now I do the following
root> cd /home/test
root> pwd
/home/test
This is good.
root> su - test
test> pwd
/export/home/test
This is bad! This breaks scripts (or GNU queue) that do things like
rsh remotehost "cd `pwd`; ./runbinary_in_this_dir"
I don't know why the two cases above are giving different results.
Any help would be appreciated.
Craig
=================================+====================================
Craig J Copi | [EMAIL PROTECTED]
Case Western Reserve University | http://erebus.phys.cwru.edu/~copi/
Department of Physics | (216) 368-8831
------------------------------
** 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
******************************