Linux-Development-Sys Digest #610, Volume #8      Wed, 4 Apr 01 17:13:14 EDT

Contents:
  Re: KERNEL PANIC on Mandrake 7.2 (Noe Nieto)
  Canonical daemon code skeleton? (Kaelin Colclasure)
  Re: Need your recommendation for a full-featured text editor (Plato)
  Re: Need your recommendation for a full-featured text editor (Knowledge Seeker)
  Kernel Panic in Network Interface (James Stephens)
  Re: We need Embedded Linux Developers in San Jose (Warren Spencer)
  Re: pthread - threads and semaphores - help! ("Norman Black")
  Re: Need your recommendation for a full-featured text editor (John Hawkins)

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

From: Noe Nieto <[EMAIL PROTECTED]>
Subject: Re: KERNEL PANIC on Mandrake 7.2
Date: Wed, 04 Apr 2001 18:30:06 -0000


Florian =?iso-8859-1?Q?Gro=DFe=2DCoosmann?= wrote:
> 
> Hi,
> 
> Noe Nieto wrote: 
> > Hello,
> > The instalation process seemend to be succes.... but when i restarted 
my
> > machine i got that screen before a radical hang up:
> > .
> > .
> > .
> > Kernel Panic: atempted to kill iddle task!
> > In swaper tasl- not sincing.
> 
> No panic, this is the usual error reporting of a buggy driver or other
> kernel resource which isn't detected properly.
> 
> Cut down your hardware drivers until your machine runs. Then replace
> the driver.
> 
> At least SuSE 7.1 has reported such an error in my environment. The
> Adaptec driver has produced it. I built a new monolithic kernel and
> that's it. 
> This error is reported very often in different FAQs.
> 
> Cheers, Florian
well, florian... thanks for posting but... 
well i am newbie... I dont know how to cut down my hardware drivers.... 
what are you talking about... the only sistem that i have is windoze an 
the linux mandrake... linux mandrake does not even boot... and... so ... 
what do i have to do...



--
Posted via CNET Help.com
http://www.help.com/

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

From: Kaelin Colclasure <[EMAIL PROTECTED]>
Subject: Canonical daemon code skeleton?
Date: 04 Apr 2001 11:39:49 -0700

ISTR at one point someone posting here a C-pseudocode-ish skeleton for
a well-behaved Unix daemon process. It showed all the obscure incantations
for making the forked child its own process group leader, handling the
right set of signals, etc. I was *sure* I archived this message for future
reference, but of course now that I'd like to refer to it it's nowhere to
be found...

If someone could re-post the message in question, or otherwise direct me
to a concise source of this information, I'd be much oblidged.

-- Kaelin

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

From: Plato <|@|.|>
Crossposted-To: 
24hoursupport.helpdesk,alt.comp.shareware.programmer,comp.editors,comp.lang.java.help,comp.lang.java.programmer,comp.lang.java.softwaretools,comp.os.linux.advocacy,43
Subject: Re: Need your recommendation for a full-featured text editor
Date: Wed, 04 Apr 2001 14:08:15 -0500

Knowledge Seeker wrote:
> 
> I am looking for a full-featured yet easy to use text editor to

http://www.notetab.com/download.htm

> There seem to be a plethora of choices that might work:
> UltraEdit
> TextPad
> EditPlus
> WinEdit
> Multi-Edit
> Zeus
> CRiSP
> 
> Right now I am leaning to UltraEdit but I have not done a true
> rigorous evaluation.  I would definitely like to hear from anybody
> that has done a true objective comparative evaluation of these
> products (or others that I have not listed).

-- 
bootdisk.com

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

From: Knowledge Seeker <[EMAIL PROTECTED]>
Crossposted-To: 
24hoursupport.helpdesk,alt.comp.shareware.programmer,comp.editors,comp.lang.java.help,comp.lang.java.programmer,comp.lang.java.softwaretools,comp.os.linux.advocacy
Subject: Re: Need your recommendation for a full-featured text editor
Date: Wed, 04 Apr 2001 15:20:48 -0400
Reply-To: [EMAIL PROTECTED]

Knowledge Seeker <[EMAIL PROTECTED]> wrote:

>Hi,
>
>I am looking for a full-featured yet easy to use text editor to
>replace Notepad.  Ideally, I would like a tool that is cross-platform
>or has versions for Win98 and Linux.  The main platform requirement
>would be Win98 and the nice-to-have platform is Linux.
>
>There seem to be a plethora of choices that might work:
>UltraEdit
>TextPad
>EditPlus
>WinEdit
>Multi-Edit
>Zeus
>CRiSP
and SlickEdit
>
>Right now I am leaning to UltraEdit but I have not done a true
>rigorous evaluation.  I would definitely like to hear from anybody
>that has done a true objective comparative evaluation of these
>products (or others that I have not listed).
>
>My actual requirements are:
>
>Must haves:
>1.     Syntax highlighting (with color and or font) for HTML and Java 
>2.     Robust cut and paste including row, AND column AND block
>capabilities
>3.     Split and join functions based on margin or specified column
>4.     Ability to intelligently remove prefix characters (i.e. ">") and
>re-format text to new margins keeping paragraphs intact (i.e. fixing
>forwarded email text)
>5.     Ability to edit multiple files side-by-side
>6.     Ability to compare files and synchronize multiple similar files
>flagging differences
>7.     Robust search and replace capabilities (ideally supporting
>regular expressions)
>8.     Line numbering
>9.     Column numbering
>10.    Auto-completion (based on customizable template)of common
>programming statements 
>11.    Ability to preview HTML pages (including Java applets) easily
>12.    HTML toolbar (I know I should know all the tags but I just cannot
>remember them all)
>13.    Can be used as a replacement for Notepad (so it must be
>relatively quick and have a small footprint)
>14.    Highlights URL and e-mail addresses and launches browser or email
>client in a separate window when clicked
>15.    Ability to change case for entire selected text
>16.    Auto indent based on user-defined templates for each programming
>language
>17.    Auto alignment (I.e. if I want a set of lines with the "=" sign
>or decimal point or comma aligned on multiple rows)
>18.    Undo capability
19.  Free tech support support that is actually active, accurate, and
rapid via email at least
>
>Nice to haves:
>1. Syntax highlighting for Perl, C/C++, and SQL.  Also, extensibility
>for other programming languages based on easily customized syntax
>files. 
>2. Ability to use FTP
>3. Spell checker
>4. Ability to compile from within the editor
>5. Keystroke save/execute (i.e. macro capability)
6.  Free tech support support that is actually active and accurate via
phone


--
eCommerce Knowledge Seeker

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

From: James Stephens <[EMAIL PROTECTED]>
Subject: Kernel Panic in Network Interface
Date: Wed, 04 Apr 2001 15:06:02 -0400


==============FA95C53A808CCA80698A97B0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Orig posting on comp.os.linux.networking but I thought someone viewwing
this list may have an idea... thanks

Problem : when I attempt to use the route command, loopback works BUT
the route to the gateway MOST
(90%) often chokes... and crashes the entire box with the following
error...

Kernel Panic: skput: over: d0070fe4: 4096 put 4096 dev:tr0
In swapper task - not syncing

Details : I have a dual processor box running Linux kernel version
2.2.16 and  a token ring adapter.  I can
ping the lo device just fine, but when I ping anything outside the box I
get a crash or sometimes Network
unreachable.  I believe I have correctly configured the box using
ifconfig and route.  My hosts and host.conf
file pretty much just says "go talk to DNS" and the resolv.conf file
reads

nameserver aa.bb.cc.dd
nameserver ee.ff.gg.hh

where there letters are the correct ip addresses for DNS servers.
Ofcourse, if I ping those DNS servers I
get a crash.  BTW, all of theses addresses (except the server with the
tr0 problem) can be hit by my
workstation (the gateway->dnsserver-> target)

If anyone has a suggestion, I would appreciate the idea(s)...

Thanks,

James

e-mail: [EMAIL PROTECTED]

==============FA95C53A808CCA80698A97B0
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Orig posting on comp.os.linux.networking but I thought someone viewwing
this list may have an idea... thanks
<p>Problem : when I attempt to use the route command, loopback works BUT
the route to the gateway MOST
<br>(90%) often chokes... and crashes the entire box with the following
error...
<p><b><u>Kernel Panic: skput: over: d0070fe4: 4096 put 4096 dev:tr0</u></b>
<br><b><u>In swapper task - not syncing</u></b>
<p>Details : I have a dual processor box running Linux kernel version 2.2.16
and&nbsp; a token ring adapter.&nbsp; I can
<br>ping the lo device just fine, but when I ping anything outside the
box I get a crash or sometimes Network
<br>unreachable.&nbsp; I believe I have correctly configured the box using
ifconfig and route.&nbsp; My hosts and host.conf
<br>file pretty much just says "go talk to DNS" and the resolv.conf file
reads
<p>nameserver aa.bb.cc.dd
<br>nameserver ee.ff.gg.hh
<p>where there letters are the correct ip addresses for DNS servers.&nbsp;
Ofcourse, if I ping those DNS servers I
<br>get a crash.&nbsp; BTW, all of theses addresses (except the server
with the tr0 problem) can be hit by my
<br>workstation (the gateway->dnsserver-> target)
<p>If anyone has a suggestion, I would appreciate the idea(s)...
<p>Thanks,
<p>James
<p>e-mail: [EMAIL PROTECTED]</html>

==============FA95C53A808CCA80698A97B0==


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

From: [EMAIL PROTECTED] (Warren Spencer)
Subject: Re: We need Embedded Linux Developers in San Jose
Date: Wed, 04 Apr 2001 19:54:56 -0000

[EMAIL PROTECTED] wrote in <[EMAIL PROTECTED]>:

>In article <95f58s$jiq$[EMAIL PROTECTED]>,  <[EMAIL PROTECTED]>
>wrote: 
>
>>Dominet Systems is an early stage startup developing �Ethernet in the
>>first mile� products. These cutting edge Ethernet products will enable
>>new levels of performance and service for residential and business
>>customers throughout the world, while lowering the service provider's
>>costs. We will change the way integrated voice, video and high speed
>>internet access services are provided.
>
>Sorry, there's no place to live in San Jose.
>
>--
>http://www.spinics.net/linux

Can't smoke cigarettes, either.

ws

-- 
<< Marriage is Grand.  Divorce is Fifty Grand. >>

Warren Spencer
Senior Software Engineer
The Associated Press

** My employer does not necessarily agree with my statements **

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

From: "Norman Black" <[EMAIL PROTECTED]>
Subject: Re: pthread - threads and semaphores - help!
Date: Wed, 4 Apr 2001 13:22:53 -0700
Reply-To: "Norman Black" <[EMAIL PROTECTED]>

> 3. I need a recursive semaphore and 'man' documentation seems to support
> this. However the compile will not work as the recursive bits of the
header

There is no such thing as a recursive semaphore. Semaphores are not "owned"
by any thread. Mutexes are owned and can be recursive or not.

Did you intend to say "mutex" instead of semaphore, or what exactly do you
mean by recursive.

> 2. the app compiles but either crashes with seg violation with no set
stack
> size for the threads, or the thread start is failed (1) if I set a stack

I do not set a stack size for my threads. I just take the Linux pthreads
default, which I believe is 2MB, from a gander at the source code. What does
your pthread_create call look like.

--
Norman Black
Stony Brook Software
the reply, fubar => ix.netcom

"Ivor Cox" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi,
> I am porting a multi-thread application to linux. The app is stable and
> gives no nasties under windows and also QNX-neutrino.
>
> I am using Red Hat purchased in December.
>
> I am in the first stages of compilation and have some problems:
>
> 1. I am not sure if I need special compile flags for multi-thread
> (reentrant)
> 2. the app compiles but either crashes with seg violation with no set
stack
> size for the threads, or the thread start is failed (1) if I set a stack
> size. (app running at normal user level - not root)
> 3. I need a recursive semaphore and 'man' documentation seems to support
> this. However the compile will not work as the recursive bits of the
header
> are conditional on __USE_GNU. I can't set this, it seems, unless I copy
the
> header and edit it (as an experiment - this can't be expected to be
right.)
>
> Can anyone advise me - I am a linux newbie - on the basics for threads in
> linux. I understand threads in principle and have a working app for
> win/neutrino - I need to know the basics for linux re recursive semahores
> and compiler options etc for multi-thread.
>
> (I do read the documentation, but it does not always stack!)
>
> Cheers
>
> Ivor Cox
>
>
>


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

Crossposted-To: 
24hoursupport.helpdesk,alt.comp.shareware.programmer,comp.editors,comp.lang.java.help,comp.lang.java.programmer,comp.lang.java.softwaretools,comp.os.linux.advocacy
Subject: Re: Need your recommendation for a full-featured text editor
From: John Hawkins <[EMAIL PROTECTED]>
Date: 04 Apr 2001 17:08:21 -0400

Hmmm...well, based on a scan of the requirements, I don't see anything
xemacs shouldn't be able to handle pretty readily.  Did you leave it
off of your list for some particular reason?  If you were just unaware
it had all these capabilities, run, don't walk, to www.xemacs.org and
see what you think...  If there are particular issues with xemacs, you
might try posting to the very active and responsive gnu.emacs.xemacs
group.  I don't know how to do all the things mentioned below in
xemacs off hand, but I'm nearly certain they are all readily doable.
The only issue with xemacs would be the 'small footprint', but you're
asking a hell of a lot from a 'small footprint' program anyway...

I suspect vim can do most or all of what you want as well,
particularly gvim.  Frankly I'm shocked these two [vi(m) and (x)emacs]
aren't even ON your list.  They are the two favorites, generally.  You
can read about and download xemacs at

http://www.xemacs.org

for all platforms.

You can get gvim for windows 98 from 

http://www.davecentral.com/15679.html

and you can get massive support for that program (including linux
downloads, and uncompiled windows downloads) from 

http://www.gvim.org

Anyone feel free to correct me if I'm wrong about any of this.

I can't speak to the editors that are actually ON your list, but I
think these two will suit your needs.

Note that for both of these programs, under windows, you can get
greatly improved functionality (for things like compiling within the
editor) by installing cygwin as well.  It can be had at

http://sources.redhat.com/cygwin/

(Below are a couple of comments specific to (x)emacs, with which I am
most familiar...for more detailed xemacs info, post to g.e.x, as
mentioned above for more detailed vim info, repost with specific
questions and put 'vim' somewhere in the subject.  This is the main
vim list, oddly enough.)

Knowledge Seeker <[EMAIL PROTECTED]> writes:

> >My actual requirements are:
> >
> >Must haves:
> >1.   Syntax highlighting (with color and or font) for HTML and Java 
nearly automatic, might have to set an option to turn it on.  Very
intelligent, and handled dynamically or statically as per your
preference, COMPLETELY customizable.
> >2.   Robust cut and paste including row, AND column AND block
> >capabilities
Definitely, look at picture mode.  If you use FSF emacs, there is a
REALLY powerful tool called 'artist'.  I can provide that url on request.
> >3.   Split and join functions based on margin or specified column
Absolutely.
> >4.   Ability to intelligently remove prefix characters (i.e. ">") and
> >re-format text to new margins keeping paragraphs intact (i.e. fixing
> >forwarded email text)
very straightforward.  for example the M-q command auto-fills the
current paragraph, and is smart enough to maintain appropriate
placement of '>'s and '//'s and so forth, spacing and all.
> >5.   Ability to edit multiple files side-by-side
trivial
> >6.   Ability to compare files and synchronize multiple similar files
> >flagging differences
fantastic.  See in particular the docs on the Ediff packages (included 
in xemacs) written by Kifer
> >7.   Robust search and replace capabilities (ideally supporting
> >regular expressions)
Boy, howdy.
> >8.   Line numbering
> >9.   Column numbering
8 ways from sunday.
> >10.  Auto-completion (based on customizable template)of common
> >programming statements 
Yes.  Very.  :)
> >11.  Ability to preview HTML pages (including Java applets) easily
Not sure what you mean.  Emacs has its own browser, W3, but it cannot
actually handle java applets.  Emacs can automatically run netscape or 
whatever for you.  Are you looking for an editor that is also a fully
functional modern browser????  Might want to reevaluate, if so...I
don't think such a thing exists...
> >12.  HTML toolbar (I know I should know all the tags but I just cannot
> >remember them all)
I suspect this already exists (I don't write much HTML...), certainly
emacs has an HTML mode.  I'm not a font of knowledge on this point.
> >13.  Can be used as a replacement for Notepad (so it must be
> >relatively quick and have a small footprint)
see top.  Mostly fine.  Definitely larger than notepad, but you get
what you pay for.  Vim is smaller...might require you to climb a
larger learning curve to use, though...check out my urls above.
> >14.  Highlights URL and e-mail addresses and launches browser or email
> >client in a separate window when clicked
this would require a tiny bit of configuration, but emacs is quite
capable of recognizing addresses and spawning child processes.  I use
emacs to read my mail (see 'gnus') anyway, so that's kind of a moot
point, but if you wanted it to spawn outlook express instead, that
shouldn't be hard to arrange...post to g.e.x for help
> >15.  Ability to change case for entire selected text
easy.
> >16.  Auto indent based on user-defined templates for each programming
> >language
You won't need to bother defining templates.  They're all there.
C-like languages in particular are exceedingly well covered.
Supported indent styles include gnu, k&r, stroustrup, and several
others.  Defining your own is easy
> >17.  Auto alignment (I.e. if I want a set of lines with the "=" sign
> >or decimal point or comma aligned on multiple rows)
yes.
> >18.  Undo capability
extensive and programmable.
> 19.  Free tech support support that is actually active, accurate, and
> rapid via email at least
I once again refer you to g.e.x

> >Nice to haves:
> >1. Syntax highlighting for Perl, C/C++, and SQL.  Also, extensibility
> >for other programming languages based on easily customized syntax
> >files. 
absolutely.
> >2. Ability to use FTP
Yes.  emacs can spawn shells, and I think it has its own ftp
services.  You can open remote files directly in (x)emacs:

C-xC-f [EMAIL PROTECTED]:~/.emacs

would then prompt you for a password, and let you edit '.emacs' in
your home directory on my.servers.name.  This is very powerful, but
you can read the documentation, so I'll stop there.
> >3. Spell checker
yes.  several.
> >4. Ability to compile from within the editor
M-x compile
> >5. Keystroke save/execute (i.e. macro capability)
Emacs originally stood for something like Extensible MACroS.  You bet
your shorts.
> 6.  Free tech support support that is actually active and accurate via
> phone
You're out of luck, but odds on you can find a friend who knows emacs, 
and she's probably got a phone at her desk.  :)

Cheers,

John

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


** 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 by posting to the
comp.os.linux.development.system newsgroup.

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