Linux-Development-Sys Digest #413, Volume #6     Fri, 19 Feb 99 09:14:22 EST

Contents:
  Wanted: Dawicontrol DC93 Driver (Eric Wick)
  Re: Clock Skew (Alex Rhomberg)
  Re: 2.2/Red Hat 5.2 upgrades disaster! (Suchandra Thapa)
  Re: Dell WS designer wants to know... (Karl Heyes)
  Re: rvplayer & 2.2.1 (Sven Neumann)
  read ahead ? (Jun-young Cho)
  SMP in linux - is there LOCKING mechanisms??? ([EMAIL PROTECTED])
  ramdisk and initrd fail: unable to mount root fs on 01:00 (from standard LRP 
3.0.0pre) (Dirk Nuyens)
  Strange NFS problem in 2.2.1 (Michal Szymanski)
  adaptec raid array ("Tony Schliesser")
  Re: How do dynamically linked binaries find their shared libraries? (Karl Heyes)
  SYN flood logs? (A James Lewis)
  Re: exec & fork in a system call (Andreas Schwab)
  Re: C Programming for ISA Card ("Norm Dresner")
  Getting system info ("Martin Schouten")
  Re: Create Bootable RH 5.2 CD? (Thomas Joynt)

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

From: [EMAIL PROTECTED] (Eric Wick)
Subject: Wanted: Dawicontrol DC93 Driver
Date: 18 Feb 1999 07:57:12 GMT

Hello,

i think this type of scsi-isa is worth to be supported by linux. It uses a type 
of NCR-Chip and it is very cheap.

Have someone plans to solve this?

Greetings
Eric Wick


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

Date: Thu, 18 Feb 1999 09:12:40 +0100
From: Alex Rhomberg <[EMAIL PROTECTED]>
Subject: Re: Clock Skew

Julian Robert Yon wrote:
> 
> Stefan Monnier wrote:
> 
> > > I get the same result running multiple boxen with out of sync clocks off
> > > a central (nfs based) filestore. I don't worry about it.
> 
> > It's so simple to setup NTP and have your machines synchronized within a
> > handful of milliseconds that I can't believe people still suffer from
> > out-of-syncness.  But then again, most people still run MickeySoft products:
> > "I get the same reboots ever few hours, but I don't worry about it".
> 
> Of course, a slightly out-of-sync clock causes few (if any) problems,
> whereas an unschduled reboot is something else.
> In fact my problem is my own fault - I'm just lazy!
> But there's no need to accuse me of having anything to do with MS
> products... :-)

So here comes the command for the lazy. Just replace MY_TIMESERVER with
the name
of you central time source or NFS server and run :)
echo '#\!/bin/sh\nping -q -c 1 MY_TIMESERVER > /dev/null && rdate -s
MY_TIMESERVER' > /etc/cron.hourly/getnettime;chmod 744
/etc/cron.hourly/getnettime

I use this exactly to avoid clock skew warnings in make

Alex

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

From: [EMAIL PROTECTED] (Suchandra Thapa)
Subject: Re: 2.2/Red Hat 5.2 upgrades disaster!
Date: Fri, 19 Feb 1999 03:29:19 GMT

On 16 Feb 1999, Thomas <[EMAIL PROTECTED]> wrote:
>Frank T. Lofaro <[EMAIL PROTECTED]> wrote:
>: Now Red Hat 5.2 was supposed to be 2.2 ready!
>
>Marketing...

        I've upgraded my redhat 5.2 system without many problems.
Essentially if you get new packages from the rawhide distribution
it'll work.  Or you can just get the packages(~7) that redhat put out 
to upgrade to 2.2.1 and that should do it.  

-- 
==================================================================

Suchandra S. Thapa 
[EMAIL PROTECTED]

==================================================================

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

From: Karl Heyes <[EMAIL PROTECTED]>
Subject: Re: Dell WS designer wants to know...
Date: Thu, 18 Feb 1999 10:14:58 -0500



James Crouchet wrote:

> A friend of mine who designs workstations for Dell asked me some
> questions about what is supported in Linux, including what is
> supported in the new kernel (2.2). I wrote a paper that answered most
> of his questions, but a few were beyond me. Of course, I thought I'd
> ask you guys.
>
> I have been telling this guy about Linux for a while, and he really
> likes what he has seen so far. Of course, if he could run it on the
> workstations he designs, that would be great. Anyway, here are his
> questions:
>
> ---Begin--->
> Here are the chips I am wodering if Linux supports: Intel 82371
> (PIIX4E - PCI to ISA/IDE accelerator), Intel 82093 (IOAPIC), Intel
> 82440GX (440GX - CPU to memory/AGP/PCI controller) Pentium II Xeon.
>
> From my understanding, the BIOS should be setting up these chips and
> the OS shouldn't need to do anything to them. However, I believe that
> Windows has drivers for them as they exist in the PCI space. There
> may be an issue there. I recall a couple of times that Windows was
> having problems because it didn't have support for the PIIX. I
> believe that it still ran so I don't know what the issue was.
>

not sure about the chips you mentioned. but you will need some support in
the
kernel to handle the better features of the hardware, like DMA, IOAPIC.
Usually
if the support isn't there then a backward compatible facility is used.

>
> Problem with the 440GX was that it could support 2GB of 100MHz SDRAM.
> Windows 95 could only see 768MB of RAM. It couldn't use that much,
> but it could see it. I do remember that if you loaded in more than
> 768MB that it reported insufficient memory and wouldn't run. MS
> issued a fix. Windows NT had no real trouble as I recall. What is the
> max real memory for Linux?
>

Linux currently handles 2gig without a problem. There was a debate about
4 gig, ie
2^32 as opposed 2^31, and a possible solution was determined (a ramdisk I
believe).

support for multiple CPU's like the Xeon, has been provided for.

karl


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

From: Sven Neumann <[EMAIL PROTECTED]>
Subject: Re: rvplayer & 2.2.1
Date: 18 Feb 1999 10:56:42 GMT

sschul04 <[EMAIL PROTECTED]> wrote:
: I don't know if anyone else has had problems with getting rvplyer5.0 to
: work after upgrading to 2.1.x or 2.2.x, but there is a small hack to get
: it to work.  I spent a while trying to figure it out and just found a
: page explaining it.  Here it is for anyone who may need it:

: http://www.i2k.com/~jeffd/rpopen/

Hmmm, why don't people just read the CHANGES file that comes with the new
kernel. Everything is mentioned there...


Salut, Sven

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

From: Jun-young Cho <[EMAIL PROTECTED]>
Subject: read ahead ?
Date: Fri, 19 Feb 1999 16:18:51 +0900

I know that when we read a file.
Linux file system may read ahead some block asynchronously.
Then, how many blocks can file system read ahead maximally?


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

From: [EMAIL PROTECTED]
Subject: SMP in linux - is there LOCKING mechanisms???
Date: Thu, 18 Feb 1999 11:49:05 GMT

hi,

 i want to make my driver code Multi-Processor safe.
 Based on what i could gather from the net, Linux does support
 some locking mechanisms, am i right?

 But i could not get what those calls are exacty from any site?
 Could somebody help me out?

regards,
vivek.

            " Never resist an oppurtunity to think! "
_________________________________________________________________________
 Vivek R.
 Specialist - Design & Development
 ATM Team
 TATA ELXSI (INDIA) LTD.                  e-mail : [EMAIL PROTECTED]
 Bangalore                                         [EMAIL PROTECTED]
 India.                                    phone : (080) 8410222 Xtn. 424



============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

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

From: Dirk Nuyens <[EMAIL PROTECTED]>
Subject: ramdisk and initrd fail: unable to mount root fs on 01:00 (from standard LRP 
3.0.0pre)
Date: Thu, 18 Feb 1999 13:06:48 +0100

I'm trying to boot a standard LRP (http://www.linuxrouter.org)
distribution from a 1.44 MB floppy but I'm getting this:
on a Pentium II (just to test) and on a 386 module:
    loop: registered device at major 7
    Floppy drives: fd0 is 1.44M, fd1 is 1.44M
    FDC 0 is a post-1990 82077
    RAMDISK: compressed image found at block 0

Uncompressing....................................................done
    Kernel panic: VFS: unable to mount root fs on 01:00
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        (device 01:00
is /dev/ram0)
the 486SX modules just reboots after: Floppy drives: fd0 is 1.44M, fd1
is 1.44M

The system just boots of a simple DOS disk (FAT12) with syslinux:
    append=load_ramdisk=1 initrd=root.lrp initrd_archive=minix
ramdisk_size=4096 root=/dev/ram0 boot=/dev/fd0,msdos LRP=etc,log,modules

this seems to be all standard procedure...
maybe I forgot to do something magical?

--

Dirk Nuyens




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

From: [EMAIL PROTECTED] (Michal Szymanski)
Crossposted-To: comp.os.linux.networking
Subject: Strange NFS problem in 2.2.1
Date: 19 Feb 1999 08:10:14 GMT

Hi all,

After upgrading kernel from 2.0.36 (RedHat 5.2) to 2.2.1, I got strange
NFS behavior: Old a.out binaries stopped working when invoked from
a NFS-mounted directory. Kernel support for a.out is (of course ;-)
compiled in, the same binaries work fine when placed on a local disk.

The message on the console is:

  Exec format error. Binary file not executable.
 
'dmesg' shows: 
 
  N_TXTOFF < BLOCK_SIZE. Please convert binary.
 
The same applies to shared libs (i.e. I had to copy both binary and all
required old shared libs to a local partition).

Any hints?

regards, Michal.

-- 
  Michal Szymanski ([EMAIL PROTECTED])
  Warsaw University Observatory, Warszawa, POLAND

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

From: "Tony Schliesser" <[EMAIL PROTECTED]>
Subject: adaptec raid array
Date: Thu, 18 Feb 1999 08:07:51 -0500

Just got a dell 6300/450 and it has an adaptec 7890 quad channel scsi/raid
card.

Is this supported in any of the new kernels?



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

From: Karl Heyes <[EMAIL PROTECTED]>
Subject: Re: How do dynamically linked binaries find their shared libraries?
Date: Thu, 18 Feb 1999 12:59:33 -0500



Mike Dowling wrote:

> d ones.  Notably, netscape and gnuplot could not
> >
> >use ldd gnuplot and ldd netscape to see what libs are required. you may even
> >find
> >gnuplot/netscape were in the old a.out format and couldn't link against the ELF
> >libs.
>
> /home/mike$cat /etc/ld.so.conf
> /usr/X11R6/lib
> /usr/local/lib
>

ldconfig -p  will tell you want is currently in the cache (/etc/ld.so.cache)

> So ldconfig should know about the XFree shared libraries.
>
> /home/mike$ldd /usr/local/X11/bin/buici
> libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4000e000)
> libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40016000)
> libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4002a000)
> libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400c1000)
> libstdc++.so.2.8 => /usr/lib/libstdc++.so.2.8 (0x400cc000)
> libm.so.6 => /lib/libm.so.6 (0x4010d000)
> libc.so.6 => /lib/libc.so.6 (0x40126000)                            NOTE:
> libc.so.6 is glibc2 ELF
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
> It looks as if the system does know where all the shared libraries are.
> I compiled buici on 6th Feb this year.  All recently compiled binaries find
> the shared libraries.
>

It knows where the ELF shared libs are. not the a.out ones, do ldconfig -p.

>
> /home/mike$ldd /usr/local/netscape/netscape
> libXt.so.6 => not found
> libSM.so.6 => not found
> libICE.so.6 => not found
> libXmu.so.6 => not found
> libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x4000a000)
> libXext.so.6 => not found
> libX11.so.6 => not found
> libdl.so.1 => /lib/libdl.so.1 (0x40019000)
> libc.so.5 => /lib/libc.so.5 (0x4001c000)
> libg++.so.27 => /usr/lib/libg++.so.27 (0x400dc000)
> libstdc++.so.27 => /usr/lib/libstdc++.so.27 (0x40110000)
> libm.so.5 => /lib/libm.so.5 (0x4013f000)
>

libc.so.5  is older lib usually a.out format and judging from your previous command
cannot find the right versioned
libs a.out style.


>
> OOOPS!  What happened here?
>
> Here's a 1996 binary:
>
> /home/mike$ldd /usr/local/X11/bin/colour-xterm
> libXaw.so.6 => not found
> libXmu.so.6 => not found
> libXext.so.6 => not found
> libX11.so.6 => not found
> libXt.so.6 => not found
> libSM.so.6 => not found
> libICE.so.6 => not found
> libtermcap.so.2 => /lib/libtermcap.so.2 (0x4000a000)
> libc.so.5 => /lib/libc.so.5 (0x4000e000)
>
> Again!  So it's old binaries that cause the problems. I can set the
> LD_LIBRARY_PATH environment variable, and then these binaries all find the
> X11 shared libraries, and all issue segmentation faults.  The segmentation
> fault is presumably a consequence of using the XF86_SVGA X server, as the
> XS3 server at home suffer from no such problems.
>
> But how is it that some binaries find the shared libraries, and others not?
> And it only affects the X11 shared libraries, and only the older binaries?
>

same again... double check by using the file <path to program>. The output will
state that it's a a.out variant (there's 3 I think). file /usr/local/X11/bin/buici
will
state ELF format.

what do you set LD_LIBRARY_PATH to.  do a ldd on the netscape after setting
the variable, make sure you have the a.out loader (built-in kernel or loadable
module)

karl


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

From: A James Lewis <[EMAIL PROTECTED]>
Subject: SYN flood logs?
Date: Thu, 18 Feb 1999 14:08:18 +0000


Hi,

The kernel logs as follows...

Warning: possible SYN flood from 195.224.x.x on 195.224.x.x:8080.
Sending cookies.

BUT, without a time reference... how does one determine who did it.....
I need to know exactly when it happened so I can check radius logs...

James ([EMAIL PROTECTED])
Vortex Internet
My operating system unders~1 long filena~1, and yours?


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

From: Andreas Schwab <[EMAIL PROTECTED]>
Subject: Re: exec & fork in a system call
Date: 19 Feb 1999 12:09:26 +0100

Marx Rajangam <[EMAIL PROTECTED]> writes:

|>   I am trying to use execve() and fork() in a system call. 
|>  I am trying to call sys_fork and sys_exec in my system call. 
|>  But both these expect a pointer struct to be passed to them. 
|>   
|>   struct pt_regs * regs 
|> 
|>   that is defined in ptrace.h. I dont know how to fill the structure 
|>  with the values. All the fields  in this struct are register fields. 
|> 
|>   I would appreciate if someone could direct me in a proper direction. 

See kernel/kmod.c for how to do it right.

-- 
Andreas Schwab                                      "And now for something
[EMAIL PROTECTED]                      completely different"
[EMAIL PROTECTED]

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

Crossposted-To: 
alt.os.linux,comp.os.linux.hardware,comp.os.linux.misc,linux.dev.c-programming,linux.dev.serial
From: "Norm Dresner" <[EMAIL PROTECTED]>
Subject: Re: C Programming for ISA Card
Date: Thu, 18 Feb 1999 13:16:51 GMT

I took a quick look at their web-site and couldn't tell exactly which board
you have.  Nevertheless, their digital I/O boards look quite simple,
controllable with simple input and output instructions at the asm-level. 
Thus the boards can be controlled easily with C using the input- and
output-functions that are in the implementation-specific portion of the
library that came with your C-compiler.

You have two choices:
        1) a "super-user" program which allocates the I/O ports corresponding to
the board to itself and directly writes to the board
or      2) a device-driver which is loadable and does much the same, but is
usable by all users.

        Option #1 is simpler if you (or the person using the computer to use the
boards) have a su-account or your sys-admin is willing to create a
suid-shell or program for you.
        Option #2 may be simpler administratively, but writing a driver, while not
brain surgery or rocket science, is not as easy as writing "data =
inp(port);"  If you do choose to do this yourself, there's a very good book
from O'Reilly on the subject

        Norm
(Yes, I could do it, but I won't offer, even for money).


        The choice is yours.

Rick Wheeler <[EMAIL PROTECTED]> wrote in article
<7af9nb$8uu$[EMAIL PROTECTED]>...
> The board is made by Decision Computer Peripherals, Taiwan
> (www.decision.com.tw). They have code examples for VB (using a supplied
> DLL), which is no use to me. I really need those C examples.
> 
> Regards,
> Rick Wheeler.
> 
> mlw wrote in message <[EMAIL PROTECTED]>...
> >Rick Wheeler wrote:
> >>
> >> I have an ISA Industrial Digital I/O card, caple of driving up to 64
> >> seperate outputs (namely, Relays). I need to be able to drive
solenoids
> off
> >> each relay separately & eclusively. I have programming examples for VB
on
> >> Windows 95/NT using the DLL provided by the manufacturer. I wish to
> control
> >> the card via a Linux application written in C.
> >>
> >> Can anyone provide programming examples, documentation or other advise
> that
> >> may be of benefit to me?
> >>
> >> Thanks
> >> Rick
> >
> >Who makes the card? Is it a Keithley or a Computer boards product? Is it
> >based on standard PIO chips? It should be easy enough to write a device
> >driver to do it.
> >
> >
> >--
> >Mohawk Software
> >Windows 95, Windows NT, UNIX, Linux. Applications, drivers, support.
> >Visit the Mohawk Software website: www.mohawksoft.com
> 
> 
> 

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

From: "Martin Schouten" <[EMAIL PROTECTED]>
Subject: Getting system info
Date: 18 Feb 1999 14:53:39 GMT

Hi,

Does anyone know how to retrieve system info from within
a C program? On Sun  I used the 'sysinfo' function to retrieve 
the hostname and machine type etc. On HP I used the 'uname'
function. I can't seem to find the equivalent function under Linux.
Any suggestions?

:-)



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

From: Thomas Joynt <[EMAIL PROTECTED]>
Subject: Re: Create Bootable RH 5.2 CD?
Date: Fri, 19 Feb 1999 05:06:06 -0800

Thomas Joynt wrote:

> Mark Bergsma wrote:
>
> > Dan O'Reilly wrote:
> > >
> > > How does one go about creating a bootable LINUX RedHat 5.2 CD?  I have
> > > an HP 7200 IDE CD burner on my PC.
> >
> > There's a program for doing just that. I don't know it's name anymore,
> > but I've seen it somewhere in the Fresmeat application-index.
> > (www.freshmeat.net)
> > --
> > Mark
> >
> > [EMAIL PROTECTED]
> > - Linux 2.2.1 on an i686 (266.24 BogoMIPS) -
>
> You probably also want to make sure that your BIOS supports bootable
> CD-ROMs. AFAIK, most older ones (and even some newer ones) don't. If you
> aren't sure, check your motherboard documentation or the manufacturer's
> website. Alternately, you can check the BIOS type and version at startup
> and check the BIOS manufacturer's website for version info.
>
> I remember reading a webpage that had detailed instructions on how to do
> make an iso image in RockRidge (Joliet [win9x's filesystem] handles
> fileneames and permissions differently) format while in Windows or Linux;
> it's definitely less complicated in Linux (uses "dd"). But I can't seem to
> find it again. :( It's also possible to find an iso image of the CD on the
> web (I used Mandrake's distrobution mirrored at
> ftp://canine.resnet.gatech.edu/pub/linux-mandrake/). It does take quite
> awhile to download 580 MB (180 min at 550kb/sec avg.), but much less
> complicated or prone to error.
>
> G'luck!
>
> -- Tom

I found the site :
http://www.channel1.com/users/rodsmith/rhjol.html

-- Tom



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


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

Reply via email to