Linux-Development-Sys Digest #378, Volume #8     Thu, 28 Dec 00 20:13:10 EST

Contents:
  Re: Toronto, Kylix is coming! ("John Smith")
  SCSI (root)
  Re: QUES: C++ Classes for unix system calls (Erik de Castro Lopo)
  symlinks to libraries ("Tom McDonald")
  Re: It it kernel's problem? (Chih-Chang Hsieh)
  Re: It it kernel's problem? (Chih-Chang Hsieh)
  xdb and assert (Vincent Deverre)
  JPEG Library. ("Roland Dunn")
  Re: symlinks to libraries (Philip Armstrong)
  Re: RPC: Connection Refused ([EMAIL PROTECTED])
  Re: DNS Serving (Vincent Fox)
  Need your thoughts on the Kernel Projects for Linux book (Bob Dilworth)
  Re: DNS Programming Question ("Hermann Kurz")
  Re: symlinks to libraries (Kaz Kylheku)
  Re: RPC: Connection Refused ("Karl Heyes")
  Re: symlinks to libraries ("Tom McDonald")
  Linux Courses ("Simon Mc")
  Re: symlinks to libraries ("Fruitbat")
  Re: ioctl not linked to anything? ("Guennadi V. Liakhovetski")
  Creating driver diskette / How to compile modules? (Jeff Johnson)
  Re: symlinks to libraries (Juergen Heinzl)

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

From: "John Smith" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development,comp.os.linux.development.apps
Subject: Re: Toronto, Kylix is coming!
Date: Thu, 28 Dec 2000 05:42:56 GMT

My only "hard facts" are that I've been an award-winning, commercial
software developer for 20 years, and a Windows developer since version 3.0
... and I know for a fact that nowhere NEAR "30% of all Windows programs"
are written in Delphi.  If they were, Borland wouldn't have been teetering
on bankruptcy for the last 5 years.  The Windows programming world runs on
Visual Basic, Microsoft Visual C++, and Java .. end of story.


"padb" <[EMAIL PROTECTED]> wrote in message
news:j6g26.93675$[EMAIL PROTECTED]...
> Got any hard facts?  Delphi must have a share of the market comparable if
> perhaps somewhat less than, Visual Basic.




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

From: root <[EMAIL PROTECTED]>
Subject: SCSI
Date: Thu, 28 Dec 2000 18:16:35 +0530
Reply-To: [EMAIL PROTECTED]

Hi ,

I have a program wherein we read the block size and the number of blocks
of a IDE hard disk using the ioctl() sys call with HDIO_GET_IDENTITY as
a parameter.
How can we do the same in  case of SCSI hard disks ? Please reply asap

Thanks ,
Paras


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

From: Erik de Castro Lopo <[EMAIL PROTECTED]>
Subject: Re: QUES: C++ Classes for unix system calls
Date: Thu, 28 Dec 2000 07:33:59 GMT

Tom J wrote:
> 
> In article <[EMAIL PROTECTED]>,
> Erik de Castro Lopo  <[EMAIL PROTECTED]> wrote:
> >Tom J wrote:
> >>
> >> Hello.  Are there classes in C++ for unix system calls?  Especially
> >> under linux?  Also POSIX stuff.
> >
> >Why would you want to do this? What possible advantage can this have?
> >
> >Unix/Posix system calls have relatively simple procedural interfaces.
> >Encapsulating them in C++ isms will only make them slower.
> 
> Wrong wrong wrong.  First of all, I have written classes for LynxOS
> for POSIX threads, mutexes, 

Threads and the associated  threading stuff are one of the few good
candidates for encapsulation.

> serial lines 

Serial lines are possibly (I said POSSIBLY) in the same category.
However the original poster sounded like he was looking for some huge
C++ wrapper for the whole API which would be ludicrous.

Erik
-- 
+-------------------------------------------------+
     Erik de Castro Lopo     [EMAIL PROTECTED]
+-------------------------------------------------+
"The day Microsoft makes something that doesn't suck is probably the 
day they start making vacuum cleaners." -- Ernst Jan Plugge

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

From: "Tom McDonald" <[EMAIL PROTECTED]>
Subject: symlinks to libraries
Date: Thu, 28 Dec 2000 02:11:49 +0600

Are there any utilities that will verify that a sym link to a library
points to the correct library?

-- 
Tom McDonald    <[EMAIL PROTECTED]>

All diplomacy is a continuation of war by other means.
                -- Chou En Lai

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

From: Chih-Chang Hsieh <[EMAIL PROTECTED]>
Subject: Re: It it kernel's problem?
Date: Thu, 28 Dec 2000 15:58:52 +0800
Reply-To: [EMAIL PROTECTED]

"D. Stimits" �g�D�G

> What chipset does the motherboard use?

It's VIA Apollo Pro133A (VT82C694X).
Thanks for your reply.

--
Name: Chih-Chang Hsieh (�§ө�)         MailTo: [EMAIL PROTECTED]
Tel: +886-7-3121101 ext 2184 or 2290    Fax: +886-7-3133807
Org: KMU Computer Center [����q�⤤��] Kaohsiung, Taiwan




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

From: Chih-Chang Hsieh <[EMAIL PROTECTED]>
Subject: Re: It it kernel's problem?
Date: Thu, 28 Dec 2000 16:00:40 +0800
Reply-To: [EMAIL PROTECTED]

Erik de Castro Lopo �g�D�G

> >         PIII 800 * 2
>
> Are these really 800 mega hertz processors or are you overclocking?

They are really P!!! 800 MHz .
Thanks for your reply.

--
Name: Chih-Chang Hsieh (�§ө�)         MailTo: [EMAIL PROTECTED]
Tel: +886-7-3121101 ext 2184 or 2290    Fax: +886-7-3133807
Org: KMU Computer Center [����q�⤤��] Kaohsiung, Taiwan




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

From: Vincent Deverre <[EMAIL PROTECTED]>
Subject: xdb and assert
Date: Thu, 28 Dec 2000 10:01:50 +0100

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
How can I put an assert into xdb ????
<br>I want stop code when a variable egal specific string or integer value.
<p>It's possible ???
<p>--
<br>+===========================================+
<br>Vincent Deverre
<br>Mail:[EMAIL PROTECTED]
<br>+===========================================+
<br>&nbsp;</html>


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

Reply-To: "Roland Dunn" <[EMAIL PROTECTED]>
From: "Roland Dunn" <[EMAIL PROTECTED]>
Subject: JPEG Library.
Date: Thu, 28 Dec 2000 10:43:35 GMT

Does anyone know of a publically available library for creating JPEG images?
Can be in any language. Am looking to create JPEG images on the fly and
serve up from the server side of a web app.

Please do reply to me at [EMAIL PROTECTED] if you can help.

Many thanks,
Roland.





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

From: [EMAIL PROTECTED] (Philip Armstrong)
Subject: Re: symlinks to libraries
Date: 28 Dec 2000 10:45:55 -0000

In article <fBC26.3043$[EMAIL PROTECTED]>,
Tom McDonald <[EMAIL PROTECTED]> wrote:
>Are there any utilities that will verify that a sym link to a library
>points to the correct library?

err, ls -l will show you what a symbolic link points to. I can't think
what else you could mean...

Phil


-- 
http://www.kantaka.co.uk/ .oOo. public key: http://www.kantaka.co.uk/gpg.txt


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

From: [EMAIL PROTECTED]
Subject: Re: RPC: Connection Refused
Date: Thu, 28 Dec 2000 15:36:53 GMT

Well, I do have nfs running already. I have the CD-ROM on the server
exported to nfs, and I am able to mount it on the client side.  This
SCSI server is based on rpc and it should give the client the ability to
use the SCSI devices as if it were its own. Now If I use NFS to give
permissions to root "/" directory, should that work.  Or maybe give
permissions to /dev directory.



In article <920iae$nt5$[EMAIL PROTECTED]>,

>
> You need nfs running
> regards
>
>


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

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

From: [EMAIL PROTECTED] (Vincent Fox)
Subject: Re: DNS Serving
Date: 28 Dec 2000 17:13:44 GMT

Problems:
1) Security
   Many of the breakins I see, came in through the DNS server.
   Most shipped copies of DNS are full of more holes than Swiss Cheese.
   You can download 8.2.2-P7  at www.isc.org, and with some care on
   how you configure it, it will be fairly secure. See the AUSCERT
   information they have linked there on how to limit access to just
   what is needed (no external AXFR, etc). You would also probably
   want to run it in chroot mode for additional safety. People who
   think DNS security is not important for home, are often very very
   upset when they get hacked, their hacked machine is used to attack
   someone important, and then their ISP cuts them off for several days
   while things are sorted out. If this happens in the middle of 
   something important, consider this risk also.
2) Mobility
   I have seen plenty of people who don't expect, but end up
   finding themselves changing ISP's several times in as many
   years. The penalty you pay here is the delays in changing
   the DNS data to your new address, the hassle, and there is
   often some cost with reassignment. Find out what it costs if
   your domain registrar has to changed their data on your name server.
3) Hassle
   Keeping the DNS up-to-date, secure, and correct, can be more
   hassle and overhead than it is worth for a few machines. 
   While $100 a year is exorbitant IMHO, at the same time if you
   spend 5 hours getting this all up and running the right way
   and then spend another hour every 6 months or so keeping this
   tiny domain secure/updated, is your time worth more than $20/hour?
   A calculation many people fail to make.






--
        "Who needs horror movies when we have Microsoft"?
         -- Christine Comaford, PC Week, 27/9/95

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

From: Bob Dilworth <[EMAIL PROTECTED]>
Subject: Need your thoughts on the Kernel Projects for Linux book
Date: Thu, 28 Dec 2000 12:43:29 -0500

All:

I'm curious as to folks' thoughts on "Kernel Projects for Linux" by Gary
J. Nutt.  I'm thinking of buying this book along with O'Reilly's
"Understanding the Linux Kernel" as a semi-organized method for
beginning to muck around with Linux's holy innards.

Thanks!!!!

Bob Dilworth
Toledo, Ohio
[EMAIL PROTECTED]


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

From: "Hermann Kurz" <[EMAIL PROTECTED]>
Subject: Re: DNS Programming Question
Date: Thu, 28 Dec 2000 18:59:24 +0100

Hello,

>     I was wondering how domain names are partitioned.
>   For example, www.ucdavis.edu can be broken up into
>   three parts, www is the host, ucdavis is the domain
>   and edu is the TLD.  But for pc1.cs.ucdavis.edu, I
>   am not sure on how to separate it out.  I'm pretty
>   sure that pc1 is the host, cs is the sub-domain,
>   ucdavis is the domain, and edu is the TLD.

That's correct.

>   Is the
>   cs subdomain string part of the 26-character limit
>   for domain names ?  Thanks.

Technically there is no 26-character limit. NSI imposed
such a limit for .com, .org and .net domains. Other
registries do not.

Look at RFC 1035.

Each label (the part between the dots) has a max length
of 63 characters. Max length of the full name (FQDN)
is 255 characters.

Some browsers (i.e. Netscape) have problems with long labels.

Hermann



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

From: [EMAIL PROTECTED] (Kaz Kylheku)
Subject: Re: symlinks to libraries
Reply-To: [EMAIL PROTECTED]
Date: Thu, 28 Dec 2000 19:14:04 GMT

On 28 Dec 2000 10:45:55 -0000, Philip Armstrong <[EMAIL PROTECTED]> wrote:
>In article <fBC26.3043$[EMAIL PROTECTED]>,
>Tom McDonald <[EMAIL PROTECTED]> wrote:
>>Are there any utilities that will verify that a sym link to a library
>>points to the correct library?
>
>err, ls -l will show you what a symbolic link points to. I can't think
>what else you could mean...

He might mean that the symlink name is other than the soname of the actual
library. E.g.

    libFOO.so.1 -> libBAR.so.1.0.3

would be an incorrect link. How that would arise, other than through clueless
manual intervention?

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

From: "Karl Heyes" <[EMAIL PROTECTED]>
Subject: Re: RPC: Connection Refused
Date: Thu, 28 Dec 2000 19:57:09 +0000

In article <92fmml$dpj$[EMAIL PROTECTED]>, [EMAIL PROTECTED]
wrote:

> Well, I do have nfs running already. I have the CD-ROM on the server
> exported to nfs, and I am able to mount it on the client side.  This
> SCSI server is based on rpc and it should give the client the
> ability to use the SCSI devices as if it were its own. Now If I use
> NFS to give permissions to root "/" directory, should that work.  Or
> maybe give permissions to /dev directory.
> 

do a rpcinfo -p <hostname> , see if that works.  I suspect it won't
so check the man page for portmap, make note of the host_access part

karl.

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

From: "Tom McDonald" <[EMAIL PROTECTED]>
Subject: Re: symlinks to libraries
Date: Thu, 28 Dec 2000 14:24:26 +0600

In article <92f5l3$qh$[EMAIL PROTECTED]>, [EMAIL PROTECTED]  wrote:

> In article <fBC26.3043$[EMAIL PROTECTED]>, Tom McDonald
> <[EMAIL PROTECTED]> wrote:
>>Are there any utilities that will verify that a sym link to a library
>>points to the correct library?
> 
> err, ls -l will show you what a symbolic link points to. I can't think
> what else you could mean...
> 
> Phil
> 
> 

ls -l will show the link, but does the link point to the correct library.
i.e. should lib.so.3 point to lib.so.3.1 or should it point to
lib-3.so.3.1.1 ?  



-- 
Tom McDonald    <[EMAIL PROTECTED]>

There is more to life than increasing its speed.
                -- Mahatma Gandhi

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

From: "Simon Mc" <[EMAIL PROTECTED]>
Subject: Linux Courses
Date: Thu, 28 Dec 2000 20:55:35 -0000

We have just added a load of free Linux courses to the site.


--
For Information on computer networking and certification..Visit your IT home
on the net www.theitweb.com



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

From: "Fruitbat" <[EMAIL PROTECTED]>
Subject: Re: symlinks to libraries
Date: Thu, 28 Dec 2000 22:36:19 GMT

You could always manually delete the links and have ldconfig set them back
up for you, but then I suppose the linker names would still have to be reset
manually.



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

From: "Guennadi V. Liakhovetski" <[EMAIL PROTECTED]>
Subject: Re: ioctl not linked to anything?
Date: Thu, 28 Dec 2000 22:17:48 +0000

On Tue, 26 Dec 2000 [EMAIL PROTECTED] wrote:

> >I am trying to run hdparm -d1 in a debugger (hdparm, glibc and the whole
> >drivers/block directory of the kernel compiled with the -g flag). Now,
> >when I come to the line
> >ioctl(fd, HDIO_SET_DMA, dma)
> >and press step... gdb merely steps over it as if it were a simple
> >C-command, whereas other ioctl calls can be debugged fine... What does
> >this mean?
> 
> Have you looked at the glibc source to see what ioctl really is?

Well, I definetely tried to, however, unfortunately it didn't add much of
an insite to my understanding of what's going on. I still don't understand
how libc finds an appropriate driver and how do I follow its trip. I now
know how to enter ioctl()'s - with stepi, but I still can't debug the
actual driver - can debug all glibc stuff, but as it comes to actual ioctl
- no source code, although the kernel is recompiled with -g. Is there a
way to really find out what driver is called and what's going on inside it
apart from by adding some output commands to all possibly relevant drivers
(printk or smth.)? And while we are on this - does anybody know why 'IDE
Bus Master Reg.', documented in the motherboard manual is not in ioports?
and should it be there?

Thanks
Guennadi
___

Dr. Guennadi V. Liakhovetski
Department of Applied Mathematics
University of Sheffield, U.K.
email: [EMAIL PROTECTED]



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

From: Jeff Johnson <[EMAIL PROTECTED]>
Subject: Creating driver diskette / How to compile modules?
Date: Thu, 28 Dec 2000 13:23:07 -0800

Hello,

    Running into a sticky situation where kernel support for a SCSI
chipset (SYMC1010/33 U160) is not available on distribution (RH6.2).
There is patched source to add support in the sym53c8xx module. I loaded
a machine non-scsi and have been trying to compile modules that could be
added to a driver diskette. I have the disk format figured out (modules
and mod directories ina gzip'd cpio archive) and have gotten the
diskette to run properly when booting from dist CD 'linux dd'. The boot
sequence asks for and reads the diskette, finds the driver modules. When
they are loaded however I get errors. When I manually try and add them
I get a screen full of "unresolved symbols" errors.

    How do you compile kernel modules so that they can be loaded by any
kernel of that version and not just the one they were compiled in
conjunction with? Compiled so the 2.2.14-5.0BOOT kernel can read and
load the new/patched sym53c8xx.o module (compiled in 2.2.14-5.0 as
i386-up)??

    As a side note I recompiled the kernel/module for each i386, i586
and i686 as up and smp and had all those modules available and correctly
named on the driver diskette. None of them work.

Hints? Help??

Thanks...




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

From: [EMAIL PROTECTED] (Juergen Heinzl)
Subject: Re: symlinks to libraries
Date: 28 Dec 2000 23:12:27 GMT

In article <fBC26.3043$[EMAIL PROTECTED]>, Tom McDonald wrote:
>Are there any utilities that will verify that a sym link to a library
>points to the correct library?
[-]
I don't know an out of the box solution, but you could run
ldconfig -N -X. Used with those switches it'll neither update
any links nor re-build the cache and then just compare the
result with what it is now.

Cheers,
Juergen

-- 
\ Real name     : J�rgen Heinzl         \       no flames      /
 \ EMail Private : [EMAIL PROTECTED] \ send money instead /

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


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