Linux-Development-Sys Digest #658, Volume #7 Tue, 7 Mar 00 09:13:18 EST
Contents:
Plug and Pray PCI Modem support (Crasy1_69)
Re: Recompiled Kernel W/SMP support (David T. Blake)
source for ls? (Brian Chin)
Which Package? ("N. T. Programmer")
file system hierarchy ("AliMac")
Re: source for ls? (Paul Kimoto)
Re: Which Package? ("Quiney, Philip [HAL02:HH00:EXCH]")
Re: Documentation for porting LINUX on SA1110 ("Roberto Portalone")
Howto ignore tcp checksum?? ([EMAIL PROTECTED])
problems with schedule() (Martin Gruber auf Rechner Dany)
problems with schedule() (Martin Gruber)
Re: LILO and GRUB: where do you pick disk geometry from? (repost) (Etienne Lorrain)
Re: Absolute failure of Linux dead ahead? (Wolfgang Weisselberg)
Re: How to determine the Maximum nymber of system call per seconds? (Alan Donovan)
Re: Plug and Pray PCI Modem support (Alan Donovan)
Re: source for ls? (Alan Donovan)
Re: Which Package? (Alan Donovan)
Re: file system hierarchy (Alan Donovan)
Re: Howto ignore tcp checksum?? (Alan Donovan)
----------------------------------------------------------------------------
From: Crasy1_69 <[EMAIL PROTECTED]>
Subject: Plug and Pray PCI Modem support
Date: Tue, 07 Mar 2000 03:30:42 GMT
Is there a kernel that supports PCI Plug and Pray modems?
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED] (David T. Blake)
Subject: Re: Recompiled Kernel W/SMP support
Date: 7 Mar 2000 02:12:24 GMT
Reply-To: [EMAIL PROTECTED]
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I have recompiled the kernel with SMP support enabled (I have a 2 PIII
> 600's), and when I try and boot from the new kernel I get the following
> error:
>
> Loading aic7xxx module
> /lib/aic7xxx.o: kernel-module version mismatch
> /lib/aic7xxx.o was compiled for kernel version 2.2.12-20smp
> while this kernel is version 2.2.12-20.
Don't set version info in the kernel build,
rebuild your SCSI modules when you build the kernel
Do make modules ; make modules_install
after make bzImage
--
Dave Blake
[EMAIL PROTECTED]
------------------------------
From: Brian Chin <[EMAIL PROTECTED]>
Subject: source for ls?
Date: Mon, 06 Mar 2000 21:51:37 -0800
Does anyone out there know where I could get my hands on the source for
ls? Found utils-linux, but it wasn't in there. Is there something I
don't know? TIA
- Brian
------------------------------
From: "N. T. Programmer" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp.os.linux.development
Subject: Which Package?
Date: Tue, 07 Mar 2000 07:03:30 GMT
Hello All,
I'm a NT systems programmer of 6 years. I like getting into the OS as much
as possible (which MS likes keeping you out of). I'm very strong in C/C++.
I'm wanting to expand my horizons to UNIX. I'm highly interested in Linux.
Here are my questions/concerns:
1. How much like UNIX is Linux? If I use Linux on a regular basis will it
be just like being on a Sun or HP box in functionality?
2. I have a dual CPU and I'd like Linux to take advantage of it. Does it?
3. Which Linux package is best for me to buy? I like systems programming,
so that's what I plan on doing with Linux. Which package comes with the best
add-on tools for sys prog?
4. I want to have Linux and NT share the same box, which package has the
best Multi-boot integrator for sharing with NT?
Thanks!
------------------------------
From: "AliMac" <[EMAIL PROTECTED]>
Subject: file system hierarchy
Date: Tue, 07 Mar 2000 07:55:37 GMT
wouldn't it be nice if every program kept to its own subdirectory :)
and every user config file occupied the position
/home/name/program-path-to-base
i get fed up with splatterings.
database searchability would be nice.
cheers [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: source for ls?
Date: 7 Mar 2000 02:56:25 -0500
Reply-To: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>, Brian Chin wrote:
Note: This is off topic for c.o.l.d.system.
> Does anyone out there know where I could get my hands on the source for
> ls? Found utils-linux, but it wasn't in there.
: $ ls --version
: ls (GNU fileutils) 4.0l
: Written by Richard Stallman and David MacKenzie.
:
: Copyright (C) 1999 Free Software Foundation, Inc.
: This is free software; see the source for copying conditions. There is NO
: warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Hence, try ftp.gnu.org/gnu/fileutils. Your distribution may have already
provided you with packaged source code, also.
--
Paul Kimoto <[EMAIL PROTECTED]>
------------------------------
From: "Quiney, Philip [HAL02:HH00:EXCH]" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp.os.linux.development
Subject: Re: Which Package?
Date: Tue, 07 Mar 2000 08:28:53 +0000
"N. T. Programmer" wrote:
>
> 1. How much like UNIX is Linux? If I use Linux on a regular basis will it
> be just like being on a Sun or HP box in functionality?
>From a users point of view the systems are near identical and if
anything better - compare Sun's Bourne Shell with Bash - I'll take Bash
;-). If you are writing kernel code such as a driver then it isn't. From
a sysadmin point of view you have to assume that role rather than have
someone doing it for you. Most Unix sysadmins can cope with Linux & the
ones I have dealt with are happy to help if you get stuck as it is not
Windows. There is a 'Nutshell' book 'Unix System Administration' which
caters for most common flavours of Unix - and includes Linux.
>
> 2. I have a dual CPU and I'd like Linux to take advantage of it. Does it?
Yes
I have a Dual CPU (only 266 PII) and it works fine - been running 42
days so far since it was installed.
>
> 3. Which Linux package is best for me to buy? I like systems programming,
> so that's what I plan on doing with Linux. Which package comes with the best
> add-on tools for sys prog?
>
I am a RedHat man myself - you can burn an .iso CD yourself - depends on
your net connection it is a 640MB download. There are web sites such as
Rufus (http://rufus.w3.org/linux/RPM/) which have all the packages
available for download as .rpms (an rpm is a self contained package
which allows the Linux system to maintain a record of what has been
installed so it can be removed/upgraded/queried).
The site also has rpms for the 'other' rpm distributions ie Suse,
Caldera, Mandrake, YellowDog etc.
> 4. I want to have Linux and NT share the same box, which package has the
> best Multi-boot integrator for sharing with NT?
>
Lilo comes free with any Linux distribution - you can pay for a third
party one such as System Commander (I think that is what it called)
Dosen't buy you much but a pretty graphical interface...
Regards
Phil Q
--
Phil Quiney CSIP Demonstrator
[EMAIL PROTECTED] Nortel Networks,
Telephone: +44 (1279) 402363 London Rd, Harlow,
Fax: +44 (1279) 402885 Essex CM17 9NA,
United Kingdom.
"This message may contain information proprietary to Northern
Telecom so any unauthorised disclosure, copying or distribution
of its contents is strictly prohibited."
------------------------------
From: "Roberto Portalone" <[EMAIL PROTECTED]>
Subject: Re: Documentation for porting LINUX on SA1110
Date: Tue, 07 Mar 2000 08:39:47 GMT
Have you seen http://www.wp2g.com/ ?
"���´�" <[EMAIL PROTECTED]> ha scritto nel messaggio
news:8a1lsh$qnr$[EMAIL PROTECTED]...
> Now I am trying to porting LINUX OS on the StrongArm processor SA1110.
From
> intel site, I can get the materials about SA1100, however, there are no
> documents for installing LINUX on SA1110. Can anyone give me some advices
> for installing LINUX on SA1110?
> Thanks in advance.
>
>
------------------------------
From: [EMAIL PROTECTED]
Subject: Howto ignore tcp checksum??
Date: Tue, 07 Mar 2000 08:36:20 GMT
How to prevent tcp from doing header checksum calculation. Hence we
can save some CPU loading???
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Martin Gruber auf Rechner Dany <[EMAIL PROTECTED]>
Subject: problems with schedule()
Date: Tue, 29 Feb 2000 10:18:51 +0100
High,
I'm writing a kernel module for a PCI-board using kernel 2.2.14 and I
have massive problems with hang ups of the driver while transfering data
to the board. Now I did find out that the call of
schedule_timeout(HZ/100) sometimes (one of about 20000 cases) does never
return and so the driver hangs. Mayby it is a problem because the
procedure the problem occurs is called by a schedulerqueue entry?
Does anybody know if this is a known problem or how to solve it or work
around? Does anybody have similar problems? Do I have to check or do
something before calling schedule...? It seems that schedule_timeout(..)
is a little better than schedule().
Thanks for every answer
Martin
------------------------------
From: Martin Gruber <[EMAIL PROTECTED]>
Subject: problems with schedule()
Date: Fri, 03 Mar 2000 11:00:30 +0100
High,
I'm writing a kernel module for a PCI-board using kernel 2.2.14 and I
have massive problems with hang ups of the driver while transfering data
to the board. Now I did find out that the call of
schedule_timeout(HZ/100) sometimes (one of about 20000 cases) does never
return and so the driver hangs. Mayby it is a problem because the
procedure the problem occurs is called by a schedulerqueue entry?
Does anybody know if this is a known problem or how to solve it or work
around? Does anybody have similar problems? Do I have to check or do
something before calling schedule...? It seems that schedule_timeout(..)
is a little better than schedule().
Thanks for every answer
Martin
------------------------------
From: Etienne Lorrain <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Re: LILO and GRUB: where do you pick disk geometry from? (repost)
Date: Tue, 07 Mar 2000 10:10:24 +0000
[EMAIL PROTECTED] wrote:
> I tried to solve system boot problem using both LILO and GRUB. System
> is P90, with Phoenix BIOS 4.04 and Fujitsu's MPB3021AT hard drive, and
> only Linux is there. Manufacturer data says that Bios setting should
> be Cyl/Head/sec = 4470/15/63. BIOS has LBA mode enabled and it
> autodetects disk with C/H/S=4470/15/63. OS images are on the partition
> that is 1023 cylinders, and it's a first partition on the drive. Boot
> sequence in BIOS is set to be A: then C:.
> ....
The piece of memory not reseted you are talking of is
the setup of the IDE interface. Bios cannot handle
C/H/S=4470/15/63 so it increases number of heads and
decreases number of cylinders. To do this, it sends
and IDE command to set the _logical_ geometry of the
IDE disk: 558/120/63 for you. Then, you will be able
to boot your system.
If you really want to do an interresting and usefull
patch, you find inside the kernel where this logical
geometry is reseted - because after boot an:
hdparm -I /dev/hda
gives you the same logical and physical geometry,
but because Linux is using LBA it is not necessary
to reset this information.
--- wait wait wait I just re-tested it on another
machine... LBA CHS has been keeped on a Linux-2.3.49,
so the patch is already done - sorry too late.
The last part is to modify LILO installer to use this
information for its loading chain - unfortunately
you will just boot the newest kernels - but with less
trouble because you will know the BIOS thinking of
the HD.
All this needs to be checked, if you have time...
Hope that helps,
Etienne.
------------------------------
From: [EMAIL PROTECTED] (Wolfgang Weisselberg)
Crossposted-To: comp.os.linux.advocacy
Subject: Re: Absolute failure of Linux dead ahead?
Date: 7 Mar 2000 10:48:22 GMT
Reply-To: [EMAIL PROTECTED]
On Mon, 06 Mar 2000 16:30:44 GMT,
Jon <[EMAIL PROTECTED]> wrote:
> On Sun, 05 Mar 2000 16:14:43 GMT, [EMAIL PROTECTED] wrote:
> > [EMAIL PROTECTED] (Jon) writes:
> > >> Jon <[EMAIL PROTECTED]> wrote:
> > >> > (Wolfgang Weisselberg) wrote:
> > >> > > How many machines do *you* know that are in active use today
> > >> > > *and* were so 15,20,30 years ago?
> > >One of the 2 machines is (yes, it's still in use) a 386DX40 with
> > >32MB RAM and an RLL drive on a 16MB cache card. I have 4
> > >machines in pieces at home that outpower that thing.
> <sigh> That 386 machine was not always a 386.
So it had a hardware upgrade. From no-MMU to MMU, for example.
New mainboard, new BIOS, too, I guess.
> It started out as
> an IBM PC-XT (hot stuff at the time). At what point did I claim
> it was 38 years old, eh? You apparently missed the entire point.
So, it was in use for how many years without a compile?
> The upgrade, when it was performed, caused so many problems that
> took so long to smooth out that future upgrades were considered
> out of the question.
I sure hope they have a couple of processors in reserve, a common
x86 CPU has a lifetime of 5-10 years ... if it's not overheated.
> The only remaining option was to transition
> completely to a new platform for MRP. If you've ever looked into
> MRP pricing, you'll understand why this isn't much of an option
> either. Hence, the pathetic 386 is still in use today complete
> with a (now corrected) date problem.
Do you expect to run your hardware for 25 years? If yes, then you
may run into some problems. And I am not even talking about 640k
should be enough for anyone.
-Wolfgang
------------------------------
From: Alan Donovan <[EMAIL PROTECTED]>
Subject: Re: How to determine the Maximum nymber of system call per seconds?
Date: Tue, 07 Mar 2000 13:12:20 +0000
[EMAIL PROTECTED] wrote:
>
> How to determine the Maximum nymber of system call per seconds?
> Is there any formula I can use to get this value??
No.
Some system calls do practically nothing (e.g. getuid() just queries a
member of a the current task structure which resides at a stack location
computable in a single instruction from the current stack pointer).
Others (such as select()) could potentially wait for months.
Each system call does however have a roughly constant overhead required
to switch into kernel mode. If it is this overhead you are interested
in, add a new syscall that does nothing (or use getuid()) and call it a
million times, see how long it takes.
Your question also involves a whole bunch of other unknowns: choice of
hardware, load on the machine, etc, etc, etc.
Why do you ask, anyway?
alan
--
========================================================================
Alan Donovan [EMAIL PROTECTED] http://www.imerge.co.uk
Imerge Ltd. +44 1223 875265
------------------------------
From: Alan Donovan <[EMAIL PROTECTED]>
Subject: Re: Plug and Pray PCI Modem support
Date: Tue, 07 Mar 2000 13:16:14 +0000
Crasy1_69 wrote:
>
> Is there a kernel that supports PCI Plug and Pray modems?
First check out whether your modem itself is supported: check out the
pages below which list all known compatibility issues. Cheap "winmodems"
delegate a lot of work to the (Windows-only) driver code and so won't
work at all with Linux as the details are proprietary.
HTH
alan
http://linmodems.org
http://www.o2.net/~gromitkc/winmodem.html
--
========================================================================
Alan Donovan [EMAIL PROTECTED] http://www.imerge.co.uk
Imerge Ltd. +44 1223 875265
------------------------------
From: Alan Donovan <[EMAIL PROTECTED]>
Subject: Re: source for ls?
Date: Tue, 07 Mar 2000 13:18:41 +0000
Brian Chin wrote:
>
> Does anyone out there know where I could get my hands on the source for
> ls? Found utils-linux, but it wasn't in there. Is there something I
> don't know? TIA
% rpm -qfi /bin/ls
Name : fileutils Relocations: (not
relocateable)
Version : 4.0 Vendor: Red Hat Software
Release : 1 Build Date: Wed Mar 24
02:34:27 1999
Install date: Fri Jul 2 18:56:05 1999 Build Host:
porky.devel.redhat.com
Group : Applications/File Source RPM:
fileutils-4.0-1.src.rpm
Size : 1314720 License: GPL
Packager : Red Hat Software <http://developer.redhat.com/bugzilla/>
Summary : The GNU versions of common file management utilities.
Description : [snip]
Go to www.rpmfind.net and look for source RPM "fileutils-4.0-1.src.rpm".
Easy isn't it? (what do you mean you don't use RedHat??? :-)
alan
========================================================================
Alan Donovan [EMAIL PROTECTED] http://www.imerge.co.uk
Imerge Ltd. +44 1223 875265
------------------------------
From: Alan Donovan <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp.os.linux.development
Subject: Re: Which Package?
Date: Tue, 07 Mar 2000 13:32:28 +0000
"N. T. Programmer" wrote:
> I'm a NT systems programmer of 6 years. I like getting into the OS as much
> as possible (which MS likes keeping you out of). I'm very strong in C/C++.
> I'm wanting to expand my horizons to UNIX.
Welcome :-)
> I'm highly interested in Linux. Here are my questions/concerns:
> 1. How much like UNIX is Linux? If I use Linux on a regular basis will it
> be just like being on a Sun or HP box in functionality?
Linux, through sheer strength of user base has now become the "default"
UNIX, which means that if a package claims to work on UNIX, there is
certainly a Linux version of it. It's POSIX compliant, so it should be
compatible in most respects; there are always some differences (output
formats of shell tools, command line options, signal handling semantics,
etc) but generally you probably won't notice the difference. However
it's easy to write unportable code if you exploit Linux's plentiful
additional non-standard features and tools.
> 2. I have a dual CPU and I'd like Linux to take advantage of it. Does it?
Yes.
> 3. Which Linux package is best for me to buy? I like systems programming,
> so that's what I plan on doing with Linux. Which package comes with the best
> add-on tools for sys prog?
I use RedHat; it's the most common and you certainly can't go wrong with
it. RPMs are great. As an ex-NT programmer myself, I was sick of waiting
30 minutes and rebooting just to install the compiler. With RPMs, one
command and 10 seconds later you can type "cc". It's godlike.
There are many many distros; some may be better for other purposes;
Debian is very highly spoken of, and it's the choice of the FSF which is
a sign of quality.
> 4. I want to have Linux and NT share the same box, which package has the
> best Multi-boot integrator for sharing with NT?
There's a HOWTO on this. Basically you install NT, install Linux
(without Lilo on the MBR), and then copy the linux bootsector onto the
c: drive root as a file. Then edit NT's boot.ini to add a Linux line
which invokes this file. It's pretty straightforward, but if you're
kernel hacking you have to do it each time you rebuild.
HTH
alan
--
========================================================================
Alan Donovan [EMAIL PROTECTED] http://www.imerge.co.uk
Imerge Ltd. +44 1223 875265
------------------------------
From: Alan Donovan <[EMAIL PROTECTED]>
Subject: Re: file system hierarchy
Date: Tue, 07 Mar 2000 13:37:42 +0000
AliMac wrote:
> wouldn't it be nice if every program kept to its own subdirectory :)
If by which you mean, each binary have its own directory, then no,
because maintaining your PATH variable would be a nightmare.
> and every user config file occupied the position
> /home/name/program-path-to-base
Most occupy ~username/.foo.config or similar. This is generally the
Right Place for per-user configuration.
> i get fed up with splatterings.
Are you talking about Linux or Jackson Pollock?
> database searchability would be nice.
What database? If you mean the FS hierarchy, look at the man pages for
locate(1) and update(1).
> cheers [EMAIL PROTECTED]
BTW, if you make sense, we can help you.
alan
--
========================================================================
Alan Donovan [EMAIL PROTECTED] http://www.imerge.co.uk
Imerge Ltd. +44 1223 875265
------------------------------
From: Alan Donovan <[EMAIL PROTECTED]>
Subject: Re: Howto ignore tcp checksum??
Date: Tue, 07 Mar 2000 13:39:54 +0000
[EMAIL PROTECTED] wrote:
>
> How to prevent tcp from doing header checksum calculation. Hence we
> can save some CPU loading???
I doubt that's a good idea. TCP header checksumming is probably not your
bottleneck. And oh yes, TCP is called a "reliable" protocol for a good
reason.
Try profiling your code, and if you can be more expansive about your
problem, so can we about the solution.
alan
--
========================================================================
Alan Donovan [EMAIL PROTECTED] http://www.imerge.co.uk
Imerge Ltd. +44 1223 875265
------------------------------
** 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
******************************