Linux-Development-Sys Digest #431, Volume #6 Fri, 26 Feb 99 05:14:18 EST
Contents:
Re: How to kill process in state D? (Juergen Heinzl)
Re: Overclocking (was: Re: K6-2 and Linux, Are there any Bug?) (Frank Hale)
Re: PROOF: Jesus *is* Lord of the Sabbath! (Brett W. McCoy)
Re: monolithic kernel and source that can only be compiled as a module (Peter A Fein)
Re: PROOF: Jesus *is* Lord of the Sabbath! (Pablo)
Re: Kernel 2.2 on top of 2.0.36 installations (Robert Schiele)
Where to go for compiling questions (Lance Spitzner)
ATX Power Off problem (star)
Re: Kernel 2.2 on top of 2.0.36 installations (Frank Sweetser)
Re: IrDA and Kernel 2.2... (Christian Kindel)
hdparm? (Jun-young Cho)
Re: Making a distro (Paul Tiseo)
ncurses4.2/egcs1.1.1/glibc2.1 compile problem (Dirk Lattermann)
problem with creating ramdisk: kernel loads, but hangs when it tries to mount
ramdisk ("Oscar Stiffelman")
Re: Problem with getting information from ethernet (Guillaume Proux)
IP to process network interface? (Phil Howard)
Re: Making a distro (Ole Petter =?iso-8859-1?Q?R=F8nningen?=)
Kernel 2.2.2 installation (Aaron Faby)
Re: monolithic kernel and source that can only be compiled as a module (Martin
Recktenwald)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Juergen Heinzl)
Subject: Re: How to kill process in state D?
Date: Fri, 26 Feb 1999 00:20:47 GMT
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
>I had a tar process get an IO error writing to a IDE tape
>drive. The process is now permanently in a wait state.
>/proc show the status of the process to be in disk sleep.
>
>Neither kill -15 nor kill -9 work. I've tried inserting and
>removing tapes to try and cause an interrupt. No help.
[...]
>State: D (disk sleep)
[...]
reboot ... really. D means uninterruptible sleep and while
you still can go on and use your system this one will not
go away until your machine goes down. Expect a "device busy"
during shutdown, nothing you can do about it.
[...]
>Is there a way to kill this process short of reboot?
No.
Sorry,
Juergen
--
\ Real name : J�rgen Heinzl \ no flames /
\ EMail Private : [EMAIL PROTECTED] \ send money instead /
\ Phone Private : +44 181-332 0750 \ /
------------------------------
From: Frank Hale <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux.slackware,comp.os.linux.hardware,comp.os.linux.misc,comp.os.linux.setup
Subject: Re: Overclocking (was: Re: K6-2 and Linux, Are there any Bug?)
Date: 26 Feb 1999 02:20:20 GMT
> you can overclock it it will run hotter and finally burn out like all chips
> that are over clocked it is a gamble
> do it aown risk
So a Pentium II at 400 mhz will last longer than a Celeron overclocked
to 400? Whats the difference? Since Celerons are made from the same core
as a PII 400 why would this suggest it will burn out quicker?
I have a Celery 300A at 450mhz w/100 FSB and I had to take precautions
for the amount of heat it generates but my system temp is pretty low
even cooler than my old pentium II 266 with all the fans and stuff I got
in my new box. I had to bump the CPU voltage to 2.3 to get Linux fully
stable but other than that why do you suggest that it will burn out
quicker than a comparable Pentium II at the same speed?
--
From: Frank Hale
Email: [EMAIL PROTECTED]
ICQ: 7205161
Website: www.franksstuff.com - my webhost has vanished mysteriously
"Knowledge only takes you so far, Determination takes you the rest of
the way"
------------------------------
From: [EMAIL PROTECTED] (Brett W. McCoy)
Crossposted-To:
alt.society.underwear,comp.sys.mac.misc,comp.sys.amiga.hardware,fr.rec.voyages
Subject: Re: PROOF: Jesus *is* Lord of the Sabbath!
Reply-To: [EMAIL PROTECTED]
Date: Thu, 25 Feb 1999 13:03:08 GMT
On Wed, 24 Feb 1999 08:10:43 -0800, Pablo <[EMAIL PROTECTED]> wrote:
>I wonder what kind of Mac God uses?
The Amiga is GOD!
--
Brett W. McCoy
http://www.lan2wan.com/~bmccoy/
=======================================================================
April is the cruellest month...
-- Thomas Stearns Eliot
=====BEGIN GEEK CODE BLOCK=====
Version: 3.12
GAT dpu s:-- a C++++ UL++++$ P+ L+++ E W++ N+ o K- w--- O@ M@ !V PS+++
PE Y+ PGP- t++ 5- X+ R+@ tv b+++ DI+++ D+ G++ e>++ h+(---) r++ y++++
======END GEEK CODE BLOCK======
------------------------------
From: Peter A Fein <[EMAIL PROTECTED]>
Subject: Re: monolithic kernel and source that can only be compiled as a module
Date: Fri, 26 Feb 1999 03:21:55 GMT
[EMAIL PROTECTED] (Peter Samuelson) writes:
>
> [Tomi Ollila <[EMAIL PROTECTED]>]
> > I am compiling a kernel, and in a many reasons I want to be
> > monolithic, i.e. no support for modules, but all needed stuff
> > compiled as "resident".
>
> Out of curiosity, why? I don't doubt you have a good reason, mind.
> Anyway...
Security. If someone hacks your box, what better back door than a
kernel module. IIRC, there's one out ther called "mal" that does
exactly this.
--
Peter A Fein
773-324-6630
[EMAIL PROTECTED]
T-shirts are th' novels of the nineties. --Zippy the Pinhead
------------------------------
Date: Thu, 25 Feb 1999 08:15:13 -0800
From: Pablo <[EMAIL PROTECTED]>
Crossposted-To:
alt.society.underwear,comp.sys.mac.misc,comp.sys.amiga.hardware,fr.rec.voyages
Subject: Re: PROOF: Jesus *is* Lord of the Sabbath!
"Brett W. McCoy" wrote:
> On Wed, 24 Feb 1999 08:10:43 -0800, Pablo <[EMAIL PROTECTED]> wrote:
>
> >I wonder what kind of Mac God uses?
>
> The Amiga is GOD!
That is blasphemy! God is not an Amoga. God uses a PowerMac G3.
------------------------------
From: Robert Schiele <[EMAIL PROTECTED]>
Subject: Re: Kernel 2.2 on top of 2.0.36 installations
Date: Wed, 24 Feb 1999 15:45:25 +0100
mvrao wrote:
>
> Can I just download the source for 2.2 and compile it ? Will it work
> with apps and sys utilities from 2.0.36 ?
That depends on the versions you have of this utilities.
Read Documentation/Changes!
Robert
------------------------------
From: Lance Spitzner <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Where to go for compiling questions
Date: Wed, 24 Feb 1999 10:28:05 -0600
Newbie question, which newsgroups should I be going
to for questions on compiling on RH 5.x?
I can't get syslogd or ttysnoop to compile, and it
is kicking me in the butt!
Thanks
Lance
------------------------------
From: [EMAIL PROTECTED] (star)
Subject: ATX Power Off problem
Date: 26 Feb 1999 04:55:00 GMT
Hi everyone!
I have a dual-CPU motherboard with ATX power and it's been used
as a Linux server. I am using 2.0.36 kernel (the new 2.2.1 doesn't
recognize the 2 CPU's) with SMP just fine.
One big problem is that whenever we have a power loss
and when the power is back, the server doesn't power on. I have to
go right ahead to the machine and press the power button to wake it up.
I have play with the BIOS setup and it doesn't have any item
concerning this problem.
This is a big headache to me because I want it to be a 24-hour ready
server.
Is there any software or hardware solution to this problem
or should I drop this motherboard away?
------------------------------
From: Frank Sweetser <[EMAIL PROTECTED]>
Subject: Re: Kernel 2.2 on top of 2.0.36 installations
Date: 24 Feb 1999 10:17:22 -0500
Robert Schiele <[EMAIL PROTECTED]> writes:
> mvrao wrote:
> >
> > Can I just download the source for 2.2 and compile it ? Will it work
> > with apps and sys utilities from 2.0.36 ?
>
> That depends on the versions you have of this utilities.
> Read Documentation/Changes!
http://roadrunner.swansea.uk.linux.org/clue.html is also very useful.
--
Frank Sweetser rasmusin at wpi.edu fsweetser at blee.net | PGP key available
paramount.ind.wpi.edu RedHat 5.2 kernel 2.2.1 i586 | at public servers
: 1. What is the possibility of this being added in the future?
In the near future, the probability is close to zero. In the distant
future, I'll be dead, and posterity can do whatever they like... :-) --lwall
------------------------------
From: Christian Kindel <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.misc
Subject: Re: IrDA and Kernel 2.2...
Date: 26 Feb 1999 00:58:42 +0100
Hi!
> I have been using IrDA and IrLAN with SuSE-5.3/Linux 2.0.35. I know
> Linux 2.2.1 has support for IrDA already integrated. But there are no
> docs anywhere on how to initialize a host to be a LAN-server (i.e.,
> simply start sending IR) or a LAN client (i.e., listen for IR signal
> on the sensor). irmanager is obviously already integrated into the
> kernel, but how is it told what to do?
I don't know much about the Linux-implementation in special;
but the "Who send's first" in IrDA (in this case in the IrLAP low-level part)
is completely independend from the higher level parts.
Announcing oneself via IR isn't so much power-intersive, that's why
it might be enabled by default. However, IrLAP defines low-power
sniffing methods for cases where power is critical.
Anyway, I don't think it is in this case.
Well, to sum it all up, you should be able to use IrLAN perfectly
without caring about who is sending the packets first.
best regards,
Christian
F'up2 comp.os.linux.misc
--
signature available on demand
------------------------------
From: Jun-young Cho <[EMAIL PROTECTED]>
Subject: hdparm?
Date: Thu, 25 Feb 1999 22:05:07 +0900
Hi all
Where can I get the hdparm source?
regards
------------------------------
From: [EMAIL PROTECTED] (Paul Tiseo)
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Making a distro
Date: Fri, 26 Feb 1999 05:58:31 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Take whichever one is nearest to what you want, whether that be a
> "general purpose" one like Red Hat or Debian, or one of the
> "Router-oriented" ones (Pragma/...), and determine what "stuff" you
> want to add to it to get what you want.
I guess by your suggestion that there isn't such a thing as a
distribution-making HOWTO? :) :)
Thanks for your suggestion. Doing something like that would
obviously be a very important part of my education.
However, your suggestion, while valid, is a little off-center. I
must have been unclear in my initial post, but I don't think anything in
particular is lacking in Red Hat, Debian or SuSE. I know I could simply
"add" to it. I am hoping that there are web links and documents that can
help educate me on the whys and wheres of "distribution design", if I may
coin that term. I guess I don't just want to take an available one and
plagarize it; I am actually interested in a deeper understanding of the
makeup of a distribution. And, what makes up the installation process.
If you can suggest things that may help there, I'd be grateful.
Thanks again.
______________________________
Paul Tiseo
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Dirk Lattermann)
Subject: ncurses4.2/egcs1.1.1/glibc2.1 compile problem
Date: Wed, 24 Feb 1999 17:42:17 +0100
Reply-To: [EMAIL PROTECTED]
Hello,
I don't really know where to post this, but this might be a
right place:
has someone successfully built ncurses-4.2 with glibc2.1
and egcs-1.1.1? Are there known problems?
I had no difficulties with gcc-2.8.1 and glibc-2.0.6 but I
want to upgrade.
The problem seems to be the generation of ncurses/lib_gen.c by the
shell script MKlib_gen.sh, using sed and gawk. The result
looks seriously broken. See the excerpt at the end of this posting.
What could be the reason of this? I'm using Linux 2.2.1, but I don't
think this matters.
Thank you and sorry if this is the wrong newsgroup. What would be a
better choice?
Dirk Lattermann
/*
* DO NOT EDIT THIS FILE BY HAND!
* It is generated by MKlib_gen.sh.
*
* This is a file of trivial functions generated from macro
* definitions in curses.h to satisfy the XSI Curses requirement
* that every macro also exist as a callable function.
*
* It will never be linked unless you call one of the entry
* points with its normal macro definition disabled. In that
* case, if you have no shared libraries, it will indirectly
* pull most of the rest of the library into your link image.
*/
#include <curses.priv.h>
#undef pe
( pe z)
{
lx)"), (long)z)); returnCode( pe(z));
}
#undef chtype
( chtype * a1, int z)
{
pe%p,%d)"), a1, z)); returnCode( chtype(a1, z));
}
#undef htype
( htype * z)
{
e%p)"), z)); returnCode( htype(z));
}
#undef ar
( ar * a1, int z)
{
,%d)"), a1, z)); returnCode( ar(a1, z));
}
(...)
------------------------------
From: "Oscar Stiffelman" <[EMAIL PROTECTED]>
Subject: problem with creating ramdisk: kernel loads, but hangs when it tries to mount
ramdisk
Date: Fri, 26 Feb 1999 00:31:49 -0800
Hi,
I built a ramdisk root partition for redhat 5.2, but it seems to crash as
soon as the kernel jumps to the ramdisk.
The last message I see is:
VFS: Mounted root (ext2 fileseystem).
I built the ramdisk according to the instructions in docs/bootdisks
(followed it precisely)
Basically, I zeroed /dev/ram, made it an ext2 file system, and then mounted
it on /mnt.
I then created /mnt/dev, /mnt/etc, /mnt/bin, /mnt/sbin, /mnt/lib, /mnt/usr,
and /mnt/var
I populated dev with cp -dpR /dev /mnt
I then copied most of the /bin and /sbin binaries into their respective
locations. I issued an ldd /mnt/bin/init and copied all of the libraries
required by init. I stripped out the debug information with objmove from
the libraries and maintained symbolic links.
I then unmounted /mnt and copied the contents of /dev/ram to a file with a
dd if=/dev/ram of=rootfs bs=1k
It said there was a read/write error at this step. Not sure what caused the
error.
Could someone post a generic redhat 5.2 (intel) ramdisk root partition (one
that can be mounted by the kernel and contains basic binaries)? I would
really like to try a ramdisk that I know is working.
Thanks,
Oscar Stiffelman
------------------------------
From: Guillaume Proux <[EMAIL PROTECTED]>
Subject: Re: Problem with getting information from ethernet
Date: Tue, 23 Feb 1999 21:59:48 +0000
Peter Samuelson wrote:
>
> [Guillaume Proux <[EMAIL PROTECTED]>]
> > When I include
> >
> > #include <linux/netdevice.h>
> >
> > I have a compilation error while performing the pre-processing
> >
> > In file included from /usr/include/linux/device.h
> > /usr/local/include/if.h:120: parse error before caddr_t
>
> Where did you get that `device.h'? My box (Debian potato, glibc 2.0.x,
> kernel source 2.2.2pre) does not have it. Also, what is
> /usr/local/include doing in your include path?
>
Ok you are right is was not device.h
BUT
netdevice.h
but the issue is still the same...
I think I will have to take a look at the netutils src!
Guillaume
------------------------------
From: [EMAIL PROTECTED] (Phil Howard)
Subject: IP to process network interface?
Crossposted-To: comp.os.linux.networking
Date: Wed, 24 Feb 1999 19:05:03 GMT
Is there a way to get an IP network interface into the kernel so
that the kernel can operate on it as any network interface, but
have the interface really connect via a process on that machine?
Any IP packets sent to that interface would be given to the process,
and any packets that process produces through the appropriate API to
this facility, would "arrive" into the IP stack in the kernel. We
can assume the process will have root permissions to do this up, for
obvious reasons.
Does this kind of thing exist? I've looked at some of the various
features of Linux, and none seem to do _this_ (as simple as the
concept seems to me). The only option I see as an alternative is
to use PPP via a pty, but I'd rather avoid that, if I can, for a
few reasons.
--
-- *-----------------------------* Phil Howard KA9WGN * --
-- | Inturnet, Inc. | Director of Internet Services | --
-- | Business Internet Solutions | eng at intur.net | --
-- *-----------------------------* phil at intur.net * --
------------------------------
From: Ole Petter =?iso-8859-1?Q?R=F8nningen?= <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Making a distro
Date: Fri, 26 Feb 1999 09:59:56 +0100
Ole Petter R�nningen wrote:
>
> Paul Tiseo wrote:
> >
> > Is there any information out there on how to "roll your own"
> > distro? I'm sure that, at this moment, I do not have the expertise to put
> > something like that together, but I'd like to know what is needed to
> > actually create a distro. I'd like to start learning so that I may get
> > pgcc installed and compile from source a i686-optimized linux. Also, I am
> > sure that it involves a lot of work. But, perhaps I can get others
> > involved and make a free distro...
> >
> > Any pointers to info would be great!!! TIA.
> > ________________________
> > Paul Tiseo
> > [EMAIL PROTECTED]
>http://www.linux-howto.com/LDP/HOWTO/Distribution-HOWTO.html
Whooops, better start reading what I recommend.. =o))) This was NOT what
you wanted.. (Just saw a reference as to whether there were a
Distribution HOWTO.. =o))))
Sorry.
------------------------------
From: Aaron Faby <[EMAIL PROTECTED]>
Subject: Kernel 2.2.2 installation
Date: Wed, 24 Feb 1999 14:15:21 -0500
Greetings...
I compiled 2.2.2 fine but when i tried to run the mkinitrd it says
"cannot find loopback device". Is there something else I need
to configure? Thanks!
--
Aaron Faby
[EMAIL PROTECTED]
System Administrator/Technical Support
Yourlink, Inc.
------------------------------
From: Martin Recktenwald <[EMAIL PROTECTED]>
Subject: Re: monolithic kernel and source that can only be compiled as a module
Date: 26 Feb 1999 10:27:27 +0100
Peter A Fein <[EMAIL PROTECTED]> writes:
> Security. If someone hacks your box, what better back door than a
> kernel module. IIRC, there's one out ther called "mal" that does
> exactly this.
If someone hacks you box he could
- install a new kernel (you might notice the reboot)
- install a new login program
- a new inetd
- hacked tcp-wrappers
- sendmail with backdoor
- <replace you favorite binary here>
And in fact he would do all of this.
A system where a hacker gained root access is insecure, no matter what
you try to do. Reinstall from scratch.
Just my $0.02,
Martin.
(Using monolithic kernels is IMHO a matter of taste. If it's possible
to build your kernel monolithic you don't have to store modules
somewhere, use insmod/rmmod/modprobe and don't have to do an
additional "make modules; make modules_install".)
--
"The spider at the center of this self-spinning web."
- New York Times about Linus Torvalds and Linux
------------------------------
** 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
******************************