Linux-Development-Sys Digest #764, Volume #6      Wed, 2 Jun 99 05:14:13 EDT

Contents:
  Re: Terratec Troubles ("Adam Langley")
  ACER labs IDE controller supported? (Mark Swanson)
  Re: HELP with interfacing PCs with Macs thorugh linux (David Rudder)
  2.0 <-> 2.2 issues. (Omri Schwarz)
  Re: Large (17 GB) hdd and fdisk (Konrad Mieredorff)
  POSIX msgQ's and timers for Linux? (Greg Owen Walker)
  Re: Rebuilding SRPMs (David Wragg)
  system resource monitor in Linux ("limay")
  Book on HW/SW interface? (Slav Inger)
  Re: Problems using /dev/tty (Scott Lanning)
  looking for info on glibc (Arno Schaefer)
  What are the differences between mySQL and mSQL? (Ruiming Chen)
  Re: looking for info on glibc (Andreas Jaeger)
  Problem with kernel 2.2.9? (David den Boer)
  Running scripts at  login/logout (Cameron)
  New Project:  Linux Upgrade Monitor (upgrademon) (Kevin Burton)
  Re: 2.0 <-> 2.2 issues. ("Stefan Monnier " 
<[EMAIL PROTECTED]>)

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

From: "Adam Langley" <[EMAIL PROTECTED]>
Subject: Re: Terratec Troubles
Date: Tue, 1 Jun 1999 20:09:03 +0100

Cheers for the advice.  I've downloaded the stuff.  However what do I need
to do to install it.



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

From: Mark Swanson <[EMAIL PROTECTED]>
Subject: ACER labs IDE controller supported?
Date: Wed, 02 Jun 1999 01:18:19 GMT

This is a multi-part message in MIME format.
==============E418ACEB19EAA3565105C69B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello,

Does anyone know if someone is working on supporting this controller?

Thanks.

--
To ignore evil is to become an accomplice to it.


==============E418ACEB19EAA3565105C69B
Content-Type: text/x-vcard; charset=us-ascii;
 name="swansma.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Mark Swanson
Content-Disposition: attachment;
 filename="swansma.vcf"

begin:vcard 
n:Swanson;Mark
x-mozilla-html:FALSE
adr:;;;Ottawa;Ontario;;Canada
version:2.1
email;internet:[EMAIL PROTECTED]
x-mozilla-cpt:;26448
fn:Mark Swanson
end:vcard

==============E418ACEB19EAA3565105C69B==


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

From: [EMAIL PROTECTED] (David Rudder)
Subject: Re: HELP with interfacing PCs with Macs thorugh linux
Date: Tue, 01 Jun 1999 20:00:41 GMT

The first thing to do is setup Samba from Linux to Windows.  Export a
couple directories, make sure you can browse the server and see the
exports, try accessing some files.

Then, try mounting Windows directories on Linux.

Then, do the same with netatalk for the Macs.  First get the clients
seeing the server then the other way (actually, order doesn't
matter...just do one first then the other).

Finally, mount a Mac directory and export it via samba so you can see
the Mac stuff on Windows and vica-versa.

On Tue, 1 Jun 1999 13:26:24 +0200, "..Luca T.." <[EMAIL PROTECTED]>
wrote:

>
>I'm setting a LAN server on LINUX platform in my company and i would like to
>interface PC (with windows98) and Macintosh passing through the server.
>I can make PINGS to all the machines and i can make ftp from all the
>browsers i have in the LAN.
>So, the question is: how can i make visible PCs with MACs (passin through
>linux) ?
>
>Thanks for answering
>
>Luca Tamburrano (webmaster of TMA www.tma.net or www.emporium-tma.net)
>
>
>


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

From: Omri Schwarz <[EMAIL PROTECTED]>
Subject: 2.0 <-> 2.2 issues.
Date: Tue, 01 Jun 1999 23:11:50 -0400

http://www-stu.calvin.edu/~clug/users/jnieho38/goto22.html

has a list of updates necessary  to go 2.0 -> 2.2,
and one of the entries is this gem:




      Kernel modules 2.1.121 (insmod -V to check current version)
      This is very important! Stuff will not work with earlier versions.
Note, however, that once you have 2.1.121
      installed, don't boot with a 2.0.x kernel or all module hell will
break loose. I have no idea why, just trust me.
      Make this your last step (despite the fact that, perversely, it's
first both in Changes and here). In addition,
      you'll want to install the 2.2 source in /usr/src/linux before
installing modutils, in order to get the include
      files to work out right.
      Addendum: Some people disagree with me on whether 2.0 kernels can
run with modutils 2.1.121. All I can
      say is, it didn't work for me. The RedHat 2.2 guide also claims
that it doesn't work. This shouldn't be a
      really big deal, just make sure that you can boot your old kernel
enough to do some rescue work without
      module support.

Since I have buttloads of legacy code to deal with,
I wonder if anyone has had the same itch to scratch: a makefile
that allows a quick switch between the two in order to allow for quick
switching from 2.0 to 2.2 and back.
Has anyone?

-- 
Omri Schwarz --- 
Timeless wisdom of biomedical engineering:
"Noise is principally due to the presence of the 
patient." -- R.F. Farr

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

From: Konrad Mieredorff <[EMAIL PROTECTED]>
Subject: Re: Large (17 GB) hdd and fdisk
Date: Tue, 01 Jun 1999 21:01:46 +0200

Rob van Nieuwpoort wrote:
> 
> Hi,
> 
> My brother bought a new harddisk last week, and I am trying to install
> Red Hat 6 on it. However, my brother first installed win98 on the first
> primary partition, and reserved two other partitions for win98. The
> remaining 4 GB of the disk are not used.
> When I try to create the new linux partition(s), fdisk warns me that
> the paritions are overlapping. When I look at the starting and ending
> cylinders of the partitions, they are NOT overlapping.
> 
> I also tried partitioning using DiskDruid, but it would not allow me to
> create new partitions at all.
> 
> Is it safe to ignore fdisks warnings, or am I doing something wrong here,
> any suggestions?
> 
> thanks,
> 
> Rob ([EMAIL PROTECTED])

I had problems with 2.0.x kernels on a harddisk with 1027 cylinders
(fdisk reported similar errors as you got and cfdisk aborted). Switching
to 2.2x helped.

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

From: Greg Owen Walker <[EMAIL PROTECTED]>
Subject: POSIX msgQ's and timers for Linux?
Date: Tue, 1 Jun 1999 19:50:08 -0700

Does Linux currently support POSIX message queues and
POSIX timers?

That is, does Linux support mq_send(), mq_receive(),
timer_settime(), etc?

I found POSIX semaphores in the glibc2 libpthread...

I'm trying to write an application portable to Linux, VxWorks,
Solaris and other sufficiently POSIX systems. POSIX message queues
and timers are required.

Thanks for letting me know,

Greg Walker
[EMAIL PROTECTED]







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

From: David Wragg <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: Rebuilding SRPMs
Date: 01 Jun 1999 22:45:03 +0000

Johan Kullstam <[EMAIL PROTECTED]> writes:
> David Wragg <[EMAIL PROTECTED]> writes:
> > Unfortunately, there have been bugs in the cmov support of all release
> > versions of egcs so far. So you get a faster kernel that doesn't work
> > reliably.
> 
> i agree that cmov has potential.  it's also rarely emitted by egcs.  i
> am not sure how much real improvement there is.

I've redone some simple tests with egcs-1.1.2 and linux 2.2.9 (my
config is fairly modularised, and SMP is enabled).

Building linux 2.2.9 with -mpentiumpro gives a vmlinux of 1068035
bytes. I measured the number of conditional branches:

$ objdump -S vmlinux | awk 'BEGIN {FS="\t";} $3 ~ /^j/ && $3 !~ /^jmp/ {print $3;}' | 
wc -l
  20866

Then I rebuilt with -march=pentiumpro, giving a vmlinux of exactly the
same size.

$ objdump -S vmlinux | awk 'BEGIN {FS="\t";} $3 ~ /^j/ && $3 !~ /^jmp/ {print $3;}' | 
wc -l
  20130
$ objdump -S vmlinux | grep cmov  | wc -l
    800

So slightly less than 4% of the conditional branches were converted to
cmovs. I'm sure it is possible to do better than that, but it's a
start.

As for performance, I ran some benchmarks I developed a while ago to
measure process creation, signal propogation and context switch on
both kernels, on a dual PPro machine. I saw a general improvement
between 1% and 2% with the cmovs. (As I said in another thread, I
believe that egcs-1.1.2 has bugs remaining in its cmov support. Do not
use a -march=pentiumpro kernel on a machine that you don't want to
crash etc.)

It's not much, but given that many people rebuild their kernels
anyway, it's fair enough. As a conservative estimate, I think that the
use of cmovs could be extended to remove 10% of conditional branches
in the kernel code, and it is reasonable to expect the improvement to
scale accordingly.

After posting this, I ought to work on a decent bug report for the
cmov problem egcs-1.1.2.


David Wragg.

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

From: "limay" <[EMAIL PROTECTED]>
Subject: system resource monitor in Linux
Date: Wed, 2 Jun 1999 11:31:03 +0800

Is there any tool to monitor system resource in Linux? I would like
investigate performance bottlebeck in my system.

Thanks in advance.



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

From: Slav Inger <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Book on HW/SW interface?
Date: Tue, 01 Jun 1999 10:19:51 -0400

Hello,

My question is very simple, but I haven't been able to find an answer.
I've been searching for a book that delves into the theory of how
software controls the hardware (basically a hardware/software interface)
- literally, how software (machine code) causes bits to flip or motors
to actuate.  I've seen only a few books on this topic, but they didn't
answer my questions.  I guess this question deals with control theory,
systems, computer science, and everything inbetween.  I've also been
searching for information on theory of object code and how program
loaders work.  Anything you can suggest?  I'm not looking for an
architecture reference - I've read all CPU and hardware manuals I could
find on a number of computer architectures.

Thanks very much.

- Slav Inger.
- [EMAIL PROTECTED]



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

From: [EMAIL PROTECTED] (Scott Lanning)
Subject: Re: Problems using /dev/tty
Date: 1 Jun 1999 23:52:06 GMT

Michael Campbell ([EMAIL PROTECTED]) wrote:
: The problem is when one of the users presses CTRL-S (or when printing,
: the printer sends CTRL-S) to stop screen output, all the other users
: are also not getting any screen output.
[some snipping]
:     /* open new tty */
:     if (open(argv[1], O_RDWR, 0) == -1)
:         exit(2);
:     dup(0);
:     dup(0);
:     execlp(argv[2], "-", 0);
:     /* should appear on new tty...: */

I think the dup()ed fd from open() remains intact across
exec (c.f. 'man dup' -> 'man fcntl', F_DUPFD ==> FD_CLOEXEC flag
cleared), and, unless you specify O_NOCTTY for open, it retains
control of /dev/tty.

--
Scott Lanning: [EMAIL PROTECTED], http://physics.bu.edu/~slanning
"If lightning is the anger of the gods, the gods are concerned mostly
with trees." --Lao Tse

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

From: Arno Schaefer <[EMAIL PROTECTED]>
Subject: looking for info on glibc
Date: Wed, 02 Jun 1999 01:37:04 +0200

Hi,

I just installed a new Linux system (Suse Linux 6.1)
and some older programs don't seem to work anymore.
It looks like this is related to the new glibc. I
would like to find information about how glibc is
integrated into the system and what is its relation
to libc5. The GNU pages are not very helpful in this
regard, as is the glibc-howto.

For example: why does ldd not find libc5 any more, although they are
there and they are in ld.so.conf, and most programs linked against libc5
still work?

Following from this: java 1.1.7 for libc5 does not work any more, since
the startup script uses ldd to determine some paths, and can't deal with
the 'not found'
message for libc5. I could install java for glibc, but will I then be
able to use shared libraries linked against libc5?

I'd be thankful for any hints/links that could help me clear up this
problem.

Best Regards,

Arno

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

From: Ruiming Chen <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.setup,comp.lang.java.databases
Subject: What are the differences between mySQL and mSQL?
Date: Tue, 01 Jun 1999 21:10:35 -0400
Reply-To: [EMAIL PROTECTED]

This is a multi-part message in MIME format.
==============BB832150E0811E6882ACFD48
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


The Subject askes its all. Are they the same free database software with
two names?
Or they are two different free database software?
Are they both run on Linux?

Thank you!
--Raymond
--
RC Square Team.


==============BB832150E0811E6882ACFD48
Content-Type: text/x-vcard; charset=us-ascii;
 name="rctwo.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Ruiming Chen
Content-Disposition: attachment;
 filename="rctwo.vcf"

begin:vcard 
n:Chui /Chen;Raymond/Ruiming
x-mozilla-html:TRUE
org:RC Square
adr:;;;;;;U.S.A.
version:2.1
email;internet:[EMAIL PROTECTED]
title:CS
tel;fax:301-498-8959
tel;home:URL http://www.erols.com/rctwo/
tel;work:301-498-8959
note:Raymond Chui & Ruiming Chen Company
x-mozilla-cpt:;0
fn:Chui /Chen, Raymond/Ruiming
end:vcard

==============BB832150E0811E6882ACFD48==


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

From: Andreas Jaeger <[EMAIL PROTECTED]>
Subject: Re: looking for info on glibc
Date: 02 Jun 1999 07:39:42 +0200

>>>>> Arno Schaefer writes:

 > Hi,
 > I just installed a new Linux system (Suse Linux 6.1)
 > and some older programs don't seem to work anymore.
 > It looks like this is related to the new glibc. I
 > would like to find information about how glibc is
 > integrated into the system and what is its relation
 > to libc5. The GNU pages are not very helpful in this
 > regard, as is the glibc-howto.

Read the glibc2 FAQ which comes with glibc.  It might be (sorry, I'm
not using SuSE here) installed in /usr/doc/glibc.

 > For example: why does ldd not find libc5 any more, although they are
 > there and they are in ld.so.conf, and most programs linked against libc5
 > still work?
Use the ldd from ld.so.1.9.11 (a libc5 package) - glibc 2.1 has this
fixed already.

 > Following from this: java 1.1.7 for libc5 does not work any more, since
 > the startup script uses ldd to determine some paths, and can't deal with
 > the 'not found'
Just patch the script;-)
 > message for libc5. I could install java for glibc, but will I then be
 > able to use shared libraries linked against libc5?
You can't mix libc5 and glibc2 libraries in one binary.

 > I'd be thankful for any hints/links that could help me clear up this
 > problem.

Andreas
-- 
 Andreas Jaeger   [EMAIL PROTECTED]    [EMAIL PROTECTED]
  for pgp-key finger [EMAIL PROTECTED]

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

From: David den Boer <[EMAIL PROTECTED]>
Subject: Problem with kernel 2.2.9?
Date: Wed, 02 Jun 1999 06:43:06 GMT

I just compiled kernel 2.2.9 with the DOS fix tonight (I was running 2.2.5 that came 
with RedHat 6), and I did not see any options for my ethernet card when in menuconfig. 
 I have a RealTek 8129/8139 (I think) card, and this was an option in 2.036, and it 
did work out of the box from RedHat.

Am I missing something here?

David.


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

From: [EMAIL PROTECTED] (Cameron)
Subject: Running scripts at  login/logout
Date: Wed, 02 Jun 1999 01:59:33 GMT
Reply-To: [EMAIL PROTECTED]

I was hoping someone could help me. I want to run a script when a user
logs in and when the user logs out of the system. I also want the
script to be executed when the su - command , telnet, ftp etc...is
run..

I have played around with the .profile and .logout files in the users
home directories. Everything seems to work alright for telnet, however
ftp nothing works and when changing users using the su command the
users .logout script is not read.

I am pretty sure I do not understand when the users profiles and
logout scripts are read. ie...when a user runs the su command is the
users  .logout script run, ...etc...

If you see what I mean, any help will be greatly appreciated!!
Thanks
Cameron
[EMAIL PROTECTED]

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

From: Kevin Burton <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: New Project:  Linux Upgrade Monitor (upgrademon)
Date: Thu, 20 May 1999 09:03:53 -0700

This project has been in the back of my mind for a while now.

What does everyone think of this.  A monitor/daemon that notifies you if
new (public) software is available.  This would be specifically for the
Open Source market but would also apply to really anything on that is
public and on the Internet.  Be it a new version of WINE or Winzip or a
hotfix for NT (after all there are new one every day ;) )

Granted it would have to have some smarts in order to avoid false alarms
but that shouldn't be too hard.

Here is what I was thinking:

BENEFITS:

- support for seeing if an ftp directory has changed ex:  WINE
        ex:  monitor ftp://ftp.sunsite.unc.edu/pub/Linux/ALPHA/wine... any
changes and you will get a notification
- support for seeing if any of your rpm's have updates?  via RPMFIND
http queries.
        ex:  basesystem-4.9-3 ->
ftp://rpmfind.net/linux/Mandrake/6.0/6.0pre/Mandrake/RPMS/basesystem-6.0-5mdk.noarch.rpm
- support for seeing if your particular distribution has a specific
upgrade:
        ex:  Redhat 5.2 having an upgrade for Apache

FEATURES:

- run's as a daemon
- GUI config tool (GTK)
- send e-mail on upgrade notification
- auto-download for some specific upgrades
- you can pick and choose which upgrades/applications you want to
monitor.

Comments are greatly appreciated.  I haven't seen anything like this
done before.  If it has let me know.

-- 
Kevin A. Burton
Internet Guy

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

From: "Stefan Monnier <[EMAIL PROTECTED]>" 
<[EMAIL PROTECTED]>
Subject: Re: 2.0 <-> 2.2 issues.
Date: 02 Jun 1999 04:08:16 -0400

>>>>> "Omri" == Omri Schwarz <[EMAIL PROTECTED]> writes:
> I wonder if anyone has had the same itch to scratch: a makefile
> that allows a quick switch between the two in order to allow for quick
> switching from 2.0 to 2.2 and back.

I have no idea how you intend to use a makefile to solve this problem
since the problem at hand is how to switch between two sets of binaries
depending on the kernel-version in use.
So, here are my thoughts:
- first, as mentioned, 2.1.121 might actually work with 2.0
- second, I've used 2.1.85 with 2.2 without any serious problems (the only
  problems I've encountered were that 2.1.85 doesn't look through the
  right set of subdirs in /lib/modules/<vers> (it ignores `nls' and `net_misc'
  and maybe a few others), so you have to move some stuff around a little).
- you can (probably) test with a non-modular 2.2
- you can move all the modutils executables into a separate directory
  (using RPM) with something like

        (rpm --upgrade modutils-2.1.85)
        cd /sbin
        mkdir 2.0
        mv $(rpm -ql modutils | sed -n -e 's|^/sbin/||p') 2.0
        rpm --upgrade modutils-2.1.121
        mv $(rpm -ql modutils | sed -n -e 's|^/sbin/||p') 2.2

  and then use symlinks like

        ln -s 2.0 kernel-vers
        ln -s kernel-vers/* .

  and change the `kernel-vers' symlink at boot time.


-- Stefan

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


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