Linux-Development-Sys Digest #427, Volume #8     Thu, 18 Jan 01 03:13:08 EST

Contents:
  Re: Can't boot suse linux 7.0 on a scsi hdd (scsi-controller: ncr 53c8x) ("Marcus 
Jäger")
  Linux Opportunity  (Jarrod Ditmore)
  Re: how to turn on/off the 3 LEDs on the keyboard? (Allodoxaphobia)
  Device Driver Engineers Needed-Great Oppoprtunity !! (larry)
  Device Driver Engineers Needed-Great Opportunity!! (larry)
  Re: Ansi C++ forbids implicit conversion from 'void *' in argument passing 
([EMAIL PROTECTED])
  CALL FOR PAPERS for the O'REILLY OPEN SOURCE CONFERENCE 2001 (Simone Paddock)
  BIGMEM patch (Jay Braun)
  Re: linux+fortran : segmentation fault (Robert Redelmeier)
  Re: double to byte stream convert (David Wragg)
  Re: BIGMEM patch (David Wragg)
  Re: BIGMEM patch (Jay Braun)
  Re: BIGMEM patch ([EMAIL PROTECTED])
  Automatically loading SCSI module ("Paul D. Smith")
  How to get root directory of current user? (InterFan)
  Re: How to get root directory of current user? (InterFan)
  Re: linux+fortran : segmentation fault (Josef Moellers)
  Re: Automatically loading SCSI module (Josef Moellers)
  Re: How to get root directory of current user? (Josef Moellers)
  Which method is right to me ? ("Ho-il, Kang")

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

From: "Marcus Jäger" <[EMAIL PROTECTED]>
Subject: Re: Can't boot suse linux 7.0 on a scsi hdd (scsi-controller: ncr 53c8x)
Date: Wed, 17 Jan 2001 22:03:34 +0100

i read the howto "kernel" and followed teh instructions.
also these which were in the readme of teh new 2.4 kernel.
but nor the on nor the ohter method was successfull
do i have something wrong installed???


"Bill Anderson" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]...
> "Marcus Jäger" wrote:
> >
> > i did run "make bzlilo"
> > that is correct, or not?
>
> ONLY IF you have an image section that points to the new kernel.
> It should point to /vmlinuz for bzlilo compiled kernels (unless you
> change the kernel Makefile, which I doubt).
>
> Try the SUSE docuemntation, I believe they have asection on how to
> rebuild kernels on their system.
>
> man lilo.conf
>
>
>
> --
> Bill Anderson               Linux Specialist
> Modular Network Storage     R&D
> Random Quote:
>     Portable: survives system reboot.



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

From: [EMAIL PROTECTED] (Jarrod Ditmore )
Subject: Linux Opportunity 
Date: Wed, 17 Jan 2001 22:20:52 GMT

Hello Linux Professionals, 

My name is Jarrod Ditmore and I work for an Executive Search firm
called D. Brown and Associates. We are currently working with a
Fortune 500 company hiring experienced Linux Professionals across the
United States. The initiative is to provide services for B2B and B2C.
Job description:
Understand LINUX O/S technology,trends, application and middle-ware
implementation and architectural specifics.  Work with LINUX
Technology
Center resources to provide feedback and keep abreast of changing
LINUX
technologies.  Work closely with LINUX solutions and marketing
resources
to provide feedback with changing LINUX technologies.  Participate in
managing and integrating  technical resources into
key LINUX solution development areas.
**********
LINUX O/S, applications & architecture  
e-Business industry & technology        
Systems administration & security       
Networking                              
UNIX & NT platforms                   
Organization & time management 
Strong oral/written communications     
Presentation skills                     
The positions require travel 65 to 75%. This entails during the week
travel and always home on weekends. Looking for individual with 3
years or more experience. 
If you're a specialist or a guru we would like to talk with you. 
Send your resume to [EMAIL PROTECTED] 

I look forward to hearing from you. 

Jarrod Ditmore


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

From: [EMAIL PROTECTED] (Allodoxaphobia)
Subject: Re: how to turn on/off the 3 LEDs on the keyboard?
Reply-To: If You Reply <[EMAIL PROTECTED]>
Date: 17 Jan 2001 22:36:47 GMT

On Wed, 17 Jan 2001 15:39:39 +0800, Hackker Wong scribbled:
>hi,
>
>do u know how to turn on/off the 3 LEDs (caps lock, num lock, scroll
>lock) on the keyboard? 

I cover them with black electrical tape.   <BG>

Jonesy
-- 
 | Marvin L Jones       | jonz           |  W3DHJ   |  OS/2
 |  Gunnison, Colorado  |  @             |  Jonesy  |  linux   __
 |   7,703' -- 2,345m   |   frontier.net |  DM68mn             SK

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

From: larry <[EMAIL PROTECTED]>
Subject: Device Driver Engineers Needed-Great Oppoprtunity !!
Date: Wed, 17 Jan 2001 22:44:00 GMT

*** GREAT CAREER OPPORTUNITY***

My client a WORLD WIDE LEADER in custom device driver & system level
software development seeks talented software engineers.
2 + years experience in development of device drivers.

You will work with latest and greatest technologies and w/ the best and
brightest engineers in the industry.

Full Time TELECOMMUTE position(work from home)
No more sitting in traffic to work and long commutes, enjoy the
flexibility this company has to offer all its engineers. No need to
relocate, live where you want(Canada/U.S.) and work from home.

Contact me for more details
Don't miss this great opportunity !!
Send resume or questions to :

Larry Marks
Technical Recruiter
A Hire Solution
email to: [EMAIL PROTECTED]

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

From: larry <[EMAIL PROTECTED]>
Subject: Device Driver Engineers Needed-Great Opportunity!!
Date: Wed, 17 Jan 2001 22:46:58 GMT

*** GREAT CAREER OPPORTUNITY***

My client a WORLD WIDE LEADER in custom device driver & system level
software development seeks talented software engineers.
2 + years experience in development of device drivers.

You will work with latest and greatest technologies and w/ the best and
brightest engineers in the industry.

Full Time TELECOMMUTE position(work from home)
No more sitting in traffic to work and long commutes, enjoy the
flexibility this company has to offer all its engineers. No need to
relocate, live where you want(Canada/U.S.) and work from home.

Contact me for more details
Don't miss this great opportunity !!
Send resume or questions to :

Larry Marks
Technical Recruiter
A Hire Solution
email to: [EMAIL PROTECTED]

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

From: [EMAIL PROTECTED]
Subject: Re: Ansi C++ forbids implicit conversion from 'void *' in argument passing
Date: Wed, 17 Jan 2001 22:47:08 GMT

In article <DRq86.4564$[EMAIL PROTECTED]>,
  "Victor Morales" <[EMAIL PROTECTED]> wrote:
> I'm using C++ with Posix linux threads (lib6). I've a problem when
passing
> (void *) &my_function to pthreads_create function.Compiler (g++)
says: "ANSI
> C++ forbids implicit conversion from 'void *' in argument passing".
> Does anybody know what is the problem?
>
> Thanks,
> Morales
>
>

Victor,

   I believe that the crux of the problem lies in the fact that C++
compilers tend not to like implicit casts (such as (void *)) which are
leftover from C, as much as they like the explicit conversions:
const_cast
dynamic_cast
reinterpret_cast
static_cast

In your situation I would go ahead and try a reinterpret_cast<void *>,
instead of just using (void *).  Hope this helps.

Craig




Sent via Deja.com
http://www.deja.com/

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

From: Simone Paddock <[EMAIL PROTECTED]>
Subject: CALL FOR PAPERS for the O'REILLY OPEN SOURCE CONFERENCE 2001
Reply-To: [EMAIL PROTECTED]
Date: Wed, 17 Jan 2001 23:00:15 GMT

Want to make all those endless nights hacking away at your favorite
Open Source language  finally pay off? This is your chance to share
those jewels of code with your peers!

O'Reilly is calling the wizards, mavens, virtuosos and maestros of
Open Source to submit their proposals for talks, tutorials and
refereed papers for
The O'Reilly Open Source Software Convention 
July 23-27, 2001, San Diego, California
http://conferences.oreilly.com/oscon2001/

********************************************************************

This could be YOUR chance to talk about your work on an Open Source
project, show people how to use an under-appreciated program, or pass
on the hard-earned experience that others can learn from.

But not only that: it's also an excellent opportunity for you to
network with your peers and rub shoulders with the heroes, founders
and demi-gods of the Open Source community - plus have a ton of fun!

We are looking for speakers and tutors on:

  XML
  MySQL
  Apache
  PHP
  Python
  Mozilla
  Linux
  Tcl
  Zope
  PostgreSQL 

For detailed information on submitting a proposal, please see:
http://conferences.oreilly.com/oscon2001/call.html

All submissions should be directed to: [EMAIL PROTECTED]

Deadline for Perl Conference refereed papers is January 25.
Deadline for tutorials and regular conference presentations is
February 1.

As if you needed any more incentive, speakers receive complementary
registration to the entire convention.  So get your proposals in now!

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

From: Jay Braun <[EMAIL PROTECTED]>
Subject: BIGMEM patch
Date: Wed, 17 Jan 2001 15:33:54 -0800

I am seeking the most straightforward way to apply the BIGMEM patch to
the 2.2.16 kernel.   (I'm running Red Hat 7.0).  I seek to increase my
program's virtual address space to 2 GB.
A download with subsequent instructions would be ideal.

Thanks,
Jay

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

Date: Wed, 17 Jan 2001 18:02:38 -0600
From: Robert Redelmeier <[EMAIL PROTECTED]>
Subject: Re: linux+fortran : segmentation fault

Estelle LEFRANCOIS wrote:
> 
> Running a well known fortran program (perfectly working on other machines !)
> under linux (Redhat 6.2), I've got a kind of random error occuring. My
> program crashes leading to the message :
> Segmentation fault (core dumped)

It might be the response to a "divide by zero", but I would hope 
that FP exceptions were better handled.  Quite possibly it is your
data, and different machines handle FP numbers slightly differently.
A matrix with a near-zero determinant can cause big trouble.

Otherwise, do you have enough swap enabled?  Some machines will
segfault when they run out of VM to allocate, even if it's 
never used. 

> My question is : What does it mean and why I've got such a random error ?
> Could it be a hardware problem ?

It might be.  Anything is possible.  Have you checked your memory
with memtest-86?  You might also try my utilities below.

-- Robert  author `cpuburn`  http://users.ev1.net/~redelm

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

From: David Wragg <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.networking
Subject: Re: double to byte stream convert
Date: 17 Jan 2001 23:30:29 +0000

"O.Petzold" <[EMAIL PROTECTED]> writes:
> Well, here is the 2nd try. Maybee someone has some improvements for
> fastness and portability ?? or simple hints ? The problem with XDR is still
> here.

On any architecture that implements IEEE754 FP (which I think includes
every architecture with an FPU supported by Linux) you shouldn't need
to mess around with floating point formats. FP values will already be
in the right format, so you just need to take care of the byte order
issue.

You probably ought to at least look at some existing XDR code.  For
example, the XDR code in glibc assumes IEEE754, so to encode a double
it simply does (in sunrpc/xdr_float.c:xdr_double):

                        long *lp = (long *)dp;
                        return (XDR_PUTLONG(xdrs, lp+!LSW) &&
                                XDR_PUTLONG(xdrs, lp+LSW));

(LSW is a macro that is 1 for a big-endian system, 0 for
little-endian).

The glibc code, like most other XDR code I've seen, is derived from
the ONC RPC code Sun released many years ago.  The Sun code supported
non-IEEE754 architectures also.

That Sun code was released under the BSD license, so you ought to be
able to reuse it, if it meets your requirements.  Though it is
probably better and easier to re-use a maintained derivative of it,
e.g. glibc if you can live with the GPL, or the sunrpc code from *BSD
otherwise.  (Actually, looking at the code in glibc, I can't find
anything to indicate that it isn't still be BSD licensed.  Check for
yourself.)


David Wragg

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

From: David Wragg <[EMAIL PROTECTED]>
Subject: Re: BIGMEM patch
Date: 18 Jan 2001 00:13:02 +0000

Jay Braun <[EMAIL PROTECTED]> writes:
> I am seeking the most straightforward way to apply the BIGMEM patch to
> the 2.2.16 kernel.   (I'm running Red Hat 7.0).

RedHat 7.0 comes with a kernel-enterprise package, with has a kernel
built with the BIGMEM patch.  Install that.

>  I seek to increase my
> program's virtual address space to 2 GB.

Linux normally gives processes a virtual address space of 3GB.  What
do you mean "increase"?


David Wragg

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

From: Jay Braun <[EMAIL PROTECTED]>
Subject: Re: BIGMEM patch
Date: Wed, 17 Jan 2001 16:33:00 -0800

My terminology was not precise. All the libraries load at 0x40000000. 

David Wragg wrote:
> 
> Jay Braun <[EMAIL PROTECTED]> writes:
> > I am seeking the most straightforward way to apply the BIGMEM patch to
> > the 2.2.16 kernel.   (I'm running Red Hat 7.0).
> 
> RedHat 7.0 comes with a kernel-enterprise package, with has a kernel
> built with the BIGMEM patch.  Install that.
> 
> >  I seek to increase my
> > program's virtual address space to 2 GB.
> 
> Linux normally gives processes a virtual address space of 3GB.  What
> do you mean "increase"?
> 
> David Wragg

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

From: [EMAIL PROTECTED]
Subject: Re: BIGMEM patch
Reply-To: [EMAIL PROTECTED]
Date: 18 Jan 2001 16:01:52 +1100

Jay Braun <[EMAIL PROTECTED]> writes:

>My terminology was not precise. All the libraries load at 0x40000000. 

By default. Have a look at /usr/src/linux/include/asm-i386/processor.h, and
find the line

   #define TASK_UNMAPPED_BASE (TASK_SIZE / 3)

Changing that to, for example,

   #define TASK_UNMAPPED_BASE (TASK_SIZE / 12 * 10)

will have the kernel start doing mmaps (and thus library-loads) at
0xa0000000. Adjust as needed.

Bernie
-- 
You see things, and you say 'Why?'  But I dream things that never were,
    and say 'Why not?'
George Bernhard Shaw
Irish playwright, 1856-1950

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

From: "Paul D. Smith" <[EMAIL PROTECTED]>
Subject: Automatically loading SCSI module
Date: 18 Jan 2001 01:15:12 -0500
Reply-To: [EMAIL PROTECTED]

I have a SCSI card (an old Adaptec 152x) with a SyQuest drive hanging
off of it.  There's nothing else on the SCSI card.

I have built my kernel (2.2.18) to include support for this card as a
module (aha152x.o).  I have also built SCSI disk support, etc., all as
modules.

I have added this to my /etc/modules.conf file:

  options aha152x aha152x=0x340,9
  alias scsi_hostadapter aha152x

(these options are required to use the card).  I have added this to my
/etc/fstab file:

  /dev/sda1 /syext ext2 noauto,user 0 0

Now, what I want to happen is that I just say:

  # mount /syext

and Linux will automatically load the aha152x module with the proper
configuration.  But, that's not happening.  When the module is not
loaded and I try the above mount command, I get:

  mount: /dev/sda1 is not a valid block device

If I load the module by hand using "insmod 152x", _then_ it all works
fine and I can mount the filesystem on /dev/sda1, use it, whatever.

If I use "modprobe scsi_hostadapter", then the 152x module is also
loaded correctly in that case.

What do I need to do to convince Linux to load that module when I try to
mount /dev/sda1?  I thought the kmod daemon (which I do have all that
support enabled in my kernel) was supposed to managte all that; the
kernel proper calls the kmod code to resolve the issu, and it calls
modprobe with proper arguments, and problem solved.

What am I missing here?

-- 
===============================================================================
 Paul D. Smith <[EMAIL PROTECTED]>    HASMAT--HA Software Methods & Tools
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
===============================================================================
   These are my opinions---Nortel Networks takes no responsibility for them.

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

From: [EMAIL PROTECTED] (InterFan)
Subject: How to get root directory of current user?
Date: Thu, 18 Jan 2001 07:22:25 GMT
Reply-To: [EMAIL PROTECTED]


 as title. thanks.


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

From: [EMAIL PROTECTED] (InterFan)
Subject: Re: How to get root directory of current user?
Date: Thu, 18 Jan 2001 07:25:07 GMT
Reply-To: [EMAIL PROTECTED]

I will put configuration file in the root dir of a user and wan to
know how to read this configuration file.


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

From: Josef Moellers <[EMAIL PROTECTED]>
Subject: Re: linux+fortran : segmentation fault
Date: Thu, 18 Jan 2001 08:31:44 +0100

Estelle LEFRANCOIS wrote:
> =

> Hi,
> Running a well known fortran program (perfectly working on other machin=
es !)
> under linux (Redhat 6.2), I've got a kind of random error occuring. My
> program crashes leading to the message :
> Segmentation fault (core dumped)
> =

> My question is : What does it mean and why I've got such a random error=
 ?
> Could it be a hardware problem ?

With Linux, you get all the tools necessary to find out.
Since you have the binary and a core dump, use gdb to determine where
and why the program crashed.

Trying to analyse a problem with a program we don't know and a "random
error" requires state-of-the-art crystal balls and they are waaaay to
expensive.

-- =

Josef M=F6llers (Pinguinpfleger bei FSC)
        If failure had no penalty success would not be a prize (T.  Pratchett)

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

From: Josef Moellers <[EMAIL PROTECTED]>
Subject: Re: Automatically loading SCSI module
Date: Thu, 18 Jan 2001 08:34:44 +0100

"Paul D. Smith" wrote:
> =

> I have a SCSI card (an old Adaptec 152x) with a SyQuest drive hanging
> off of it.  There's nothing else on the SCSI card.
> =

> I have built my kernel (2.2.18) to include support for this card as a
> module (aha152x.o).  I have also built SCSI disk support, etc., all as
> modules.
> =

> I have added this to my /etc/modules.conf file:
> =

>   options aha152x aha152x=3D0x340,9
>   alias scsi_hostadapter aha152x
> =

> (these options are required to use the card).  I have added this to my
> /etc/fstab file:
> =

>   /dev/sda1 /syext ext2 noauto,user 0 0
> =

> Now, what I want to happen is that I just say:
> =

>   # mount /syext
> =

> and Linux will automatically load the aha152x module with the proper
> configuration.  But, that's not happening.  When the module is not
> loaded and I try the above mount command, I get:
> =

>   mount: /dev/sda1 is not a valid block device
> =

> If I load the module by hand using "insmod 152x", _then_ it all works
> fine and I can mount the filesystem on /dev/sda1, use it, whatever.
> =

> If I use "modprobe scsi_hostadapter", then the 152x module is also
> loaded correctly in that case.
> =

> What do I need to do to convince Linux to load that module when I try t=
o
> mount /dev/sda1?  I thought the kmod daemon (which I do have all that
> support enabled in my kernel) was supposed to managte all that; the
> kernel proper calls the kmod code to resolve the issu, and it calls
> modprobe with proper arguments, and problem solved.
> =

> What am I missing here?

AFAIK, autoloading does not work on SCSI host adapter drivers.
You need to load them explicitly by either building a (new) initrd or
adding an "insmod 152x" to rc.sysinit or the like.

-- =

Josef M=F6llers (Pinguinpfleger bei FSC)
        If failure had no penalty success would not be a prize (T.  Pratchett)

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

From: Josef Moellers <[EMAIL PROTECTED]>
Subject: Re: How to get root directory of current user?
Date: Thu, 18 Jan 2001 08:35:09 +0100

InterFan wrote:
> =

> I will put configuration file in the root dir of a user and wan to
> know how to read this configuration file.

man getpwuid

-- =

Josef M=F6llers (Pinguinpfleger bei FSC)
        If failure had no penalty success would not be a prize (T.  Pratchett)

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

From: "Ho-il, Kang" <[EMAIL PROTECTED]>
Subject: Which method is right to me ?
Date: Thu, 18 Jan 2001 17:02:42 +0900

hi~

sorry my poor english.

I must use special multi-function video board on linux/X-Window
environment.
It have follow functions.

 1. VGA function (include 2D Acceleration)
 2. TV Encoding (NTSC & PAL Output)
 3. Video Capture & Playback(include PIP & Overlay)
 4. Alpha Blending


then... how can i development driver program?
Which method is right for me?
 1. Write all functions into Linux Device Driver exclude VGA function (
VGA function writed into X display driver )
 2. Write all functions into X display driver.
 3. Write basic functions into X display driver and others into library.
 4. use other method. (please explain to me )
 5. Audio & etc.

thanks for your help.

Hoil, Kang
e-mail : [EMAIL PROTECTED]

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


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