Linux-Development-Sys Digest #674, Volume #6      Mon, 3 May 99 19:14:31 EDT

Contents:
  Re: Mac-emulation on Linux? (Steven G. Johnson)
  kernel 2.2.5 ("Sascha Bohnenkamp")
  Re: glibc-2.1 and incompatible apps (Clifford T. Matthews)
  Re: Mac-emulation on Linux? (Matt Denton)
  Re: Mac-emulation on Linux? (Louis Kowolowski)
  Re: suggestion to scsi-drivers (Andreas Dilger)
  Re: PPP over Ethernet (Frank Sweetser)
  Re: /dev/hda1 has reached maximal mount count, check forced (Andreas Dilger)
  glibc-2.1 and incompatible apps (Richard A Nelson)
  Re: CVS (Re: Bill Gates, self made man, NOT!) (Nix)
  Re: Net-tools 1.50 and Kernel 2.0.29 - Compiler Error? ("Avi Kivity")
  Re: Mac-emulation on Linux? ("FM")
  Re: CVS (Re: Bill Gates, self made man, NOT!) (Peter Dalgaard BSA)
  mknod from a module ([EMAIL PROTECTED])
  Re: Templates (Nix)
  Re: swapon, util-linux 2.9r ("Spud")
  Re: Net-tools 1.50 and Kernel 2.0.29 - Compiler Error? (Paul Kimoto)
  Re: /dev/hda1 has reached maximal mount count, check forced (Robert Nichols)
  Re: swapon, util-linux 2.9r (NF Stevens)

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

From: [EMAIL PROTECTED] (Steven G. Johnson)
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.misc,comp.os.linux.powerpc
Subject: Re: Mac-emulation on Linux?
Date: Mon, 03 May 1999 15:21:22 -0400

Shimpei Yamashita <[EMAIL PROTECTED]> wrote:
> Also, I'm not sure if Executor is capable of becoming an AppleShare
> client. I am not aware of any other Linux software that has this
> capability, either. (CAP and Netatalk can do AppleShare *servers*, but
> not clients.) If not, and your school has an extensive network of
> AppleShare servers, then you could be seriously inconvenienced trying
> to get files from those servers.

There is free Linux software called afpfs which allows a Linux machine to
be an AppleShare client.  You can find a copy at the Netatalk HOWTO page
(http://thehamptons.com/anders/netatalk/), which also has a mailing list
and other useful information.

There is a company working on a MacOS runtime environment for LinuxPPC
called SheepShaver (http://www.sheepshaver.com/).  This is not entirely
vaporware, as they already have a working product for BeOS.  According to
their web site, they have made some real progress on the LinuxPPC version;
they even have a screen shot.  No word on a release date, though.

Cordially,
Steven G. Johnson

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

From: "Sascha Bohnenkamp" <[EMAIL PROTECTED]>
Subject: kernel 2.2.5
Date: Thu, 29 Apr 1999 16:27:40 +0200

I have heard that 2.2.5 is a bit unstable ... but I want to use better-smp
linux :)
what are the known problems? maybe I have luck and my system is no
concerned?

thnx



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

From: [EMAIL PROTECTED] (Clifford T. Matthews)
Subject: Re: glibc-2.1 and incompatible apps
Date: 03 May 1999 13:04:07 -0600

>>>>> "Stefan" == "Stefan Monnier <[EMAIL PROTECTED]>" 
><[EMAIL PROTECTED]> writes:

 Stefan> So we have rstatd, Amanda, Applixware, what else ?

When Red Hat (Red Hat pre-6.0 beta) switched to glibc2.1 Executor, our
application died.  Initially I thought this was due to glibc2.1, but
later I realized that when they switched from gcc to egcs, the calling
conventions for returning a struct that is greater than 32 bits
changed.  That meant that our code that used the shared db library
broke.

So although it's not a glibc2.1 issue, I expect there will be other
apps that were compiled under gcc that use the shared db library
(because staticly linking in the db library violates its license) that
will die if the db shared library is compiled with egcs.

In fact, it's possible for the calling convention difference to result
in code that only intermittently dies, depending on exactly when
signals get sent to the process.

Once I found out what was wrong, I was able to wrap the db calls in
such a way that they can use either version of the db shared library,
so we now have one Executor executable that works with both.

--Cliff [Matthews]
[EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Matt Denton)
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.misc,comp.os.linux.powerpc
Subject: Re: Mac-emulation on Linux?
Date: Mon, 03 May 1999 12:04:51 -0700

In article <7gjd3s$cdo$[EMAIL PROTECTED]>, "FM"
<[EMAIL PROTECTED]> wrote:

> 2. Buy a Macintosh and dual boot with Linux/MacOS

This is probably the best option - LinuxPPC is pretty solid, MKlinux
(easier to install?) is a bit sluggish as it runs on top of a Mach
microkernel instead of natively but is a decent port of Linux nonetheless.

Me, I'm looking forward to Sheepshaver (http://www.sheepshaver.com) MacOS
VM for Linux to see how that works...

-- 
Matt Denton
San Francisco, USA

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

From: Louis Kowolowski <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.misc,comp.os.linux.powerpc
Subject: Re: Mac-emulation on Linux?
Date: Mon, 03 May 1999 12:38:48 -0700

[EMAIL PROTECTED] wrote:
> 
> Where can you get the LinuxDisks extension?
> Its website seems to be down.
> http://w3.teaser.fr/~mpollet/LinuxDisks/
> 
> Greg
http://www.penguinpowered.com/~louisk
check the macutils section

L
-- 
"One world, one web, one program"  -- Microsoft Promo Ad.
"Ein Volk, Ein Reich, Ein Fuhrer"  -- Adolf Hitler

Eunuchs, the non-gender-specific OS

In Germany's Black Forest: 
 It is strickly forbidden on our Black Forest camping site
 that people of different sex, for instance, men & women,
 live together in one tent unless they are married for that
 purpose. 

>Hi! I'm the signature virus 99!  Copy me into your signature and join the
fun!<

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

From: [EMAIL PROTECTED] (Andreas Dilger)
Subject: Re: suggestion to scsi-drivers
Date: 3 May 1999 16:24:43 GMT

In article <7gccik$pic$[EMAIL PROTECTED]>,
Sascha Bohnenkamp <[EMAIL PROTECTED]> wrote:
>ok, than i have a hd with scsi-id 0, and one with scsi-id 2 they
>get /dev/sda and /dev/sdb now I put a new drive with scsi-id 1 into the
>system and it get dosish mixed ...

The good news is that in Linux, you change /etc/fstab to have the new
letter for the drive, and all your filesystems are again mounted at the
right spot.  Under DOS/Win, you need to change your PATH, registry, many
many places that have the drive letter.  Linux is still better.

However, my idea for Linux LVM is to have unique ID on each drive, and
at startup scan drives for ID, and not use "device name" at all, doesn't
matter then if you change SCSI ID or even adapters - it will still work.
This is how AIX does it - you can randomly change any drive locations
(except boot drive), and everything works without any config changes.

Cheers, Andreas
-- 
Andreas Dilger   University of Calgary  \"If a man ate a pound of pasta and
                 Micronet Research Group \ a pound of antipasto, would they
Dept of Electrical & Computer Engineering \   cancel out, leaving him still
http://www-mddsp.enel.ucalgary.ca/People/adilger/       hungry?" -- Dogbert

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

From: Frank Sweetser <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.networking
Subject: Re: PPP over Ethernet
Date: 03 May 1999 16:13:13 -0400

Mattias Wildeman <[EMAIL PROTECTED]> writes:

> Is there anyone out there who is working on a PPP over Ethernet client
> for Linux?

??? PPP requires a clear text channel to send data over.  no such channel
exists for ethernet, though you could it over an IP session.  what could
this be for?

-- 
Frank Sweetser rasmusin at wpi.edu fsweetser at blee.net  | PGP key available
paramount.ind.wpi.edu RedHat 5.2 kernel 2.2.5        i586 | at public servers
I knew I'd hate COBOL the moment I saw they'd used "perform" instead of
"do".
             -- Larry Wall on a not-so-popular programming language

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

From: [EMAIL PROTECTED] (Andreas Dilger)
Crossposted-To: comp.os.linux.hardware
Subject: Re: /dev/hda1 has reached maximal mount count, check forced
Date: 3 May 1999 16:32:29 GMT

In article <[EMAIL PROTECTED]>,
Alexander Tsang <NOSPAMtsangalATinameDOTcomNOSPAM> wrote:
>Before you reboot your system, try creating a file in the root
>directory called 'fastboot'.  This will skip the fsck's on the
>next reboot only.

In fact, if you do a "shutdown -f <other opts>" (ie fast startup), then
the fastboot file is created for you, and it won't do an fsck on the
filesystems, no matter how they are set.  If you are doing a
maintenance reboot in a small time window and you want to make sure
that it goes quickly, then use the "-f" flag.  If you have the time and
want to be safe, then leave the "-f" out of shudown and it will check
the filesystems which "need" it.

Cheers, Andreas
-- 
Andreas Dilger   University of Calgary  \"If a man ate a pound of pasta and
                 Micronet Research Group \ a pound of antipasto, would they
Dept of Electrical & Computer Engineering \   cancel out, leaving him still
http://www-mddsp.enel.ucalgary.ca/People/adilger/       hungry?" -- Dogbert

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

From: [EMAIL PROTECTED] (Richard A Nelson)
Subject: glibc-2.1 and incompatible apps
Date: 3 May 1999 15:02:32 GMT

You can add dynamic socksification (runsocks) to the list...

Neither NEC socks, nor DANTE work with glibc-2.1 in dynamic mode!

These work if an app is recompiled, its just the dynamic aspect
doesn't work...  Even when these libs are compiled with glibc-2.1

-- 
Rick Nelson
C:\WINDOWS C:\WINDOWS\GO C:\PC\CRAWL

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

From: Nix <[EMAIL PROTECTED]>
Subject: Re: CVS (Re: Bill Gates, self made man, NOT!)
Date: 03 May 1999 19:47:38 +0100

[EMAIL PROTECTED] (H. Peter Anvin) writes:

> From what I've seen, several of these problems are structural.
> Attempting another graft on top of CVS is just going futher down the
> hole.  Sometimes one just have to fix everything from scratch...

That was meant to read `another graft on top of RCS', yes?

-- 
`Making running an open server that has _not_ been abused takes
 away part of what we pay for.' --- Tez gives an example of Fracture,
                                    the new variant of English

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

From: "Avi Kivity" <[EMAIL PROTECTED]>
Subject: Re: Net-tools 1.50 and Kernel 2.0.29 - Compiler Error?
Date: Mon, 3 May 1999 20:17:52 +0200


Paul Kimoto wrote in message ...
>In article <7gk3k3$21l$[EMAIL PROTECTED]>, Avi Kivity wrote:
>> Net-tools 1.50 will not compile with my kernel, complaining that
>> linux/pkt_sched.h is missing (file lib/utils.c, line 29). Is this a
problem
>> with configuration, or am I missing a file, or is net-tools broken?
>
>The README file in net-tools-1.51 says:
>
>: You need kernel 2.0 or later to use these programs.  These programs
>: should compile cleanly with either glibc or libc5.  The `iptunnel' and
>: `ipmaddr' programs require kernel version 2.2 or later.
>


Didn't ask for them

>and
>
>: Some configuration options require recent 2.1.x or 2.2.x kernels
>: and/or particular versions of the C library.  The defaults should be
>: safe for all common environments but some of the more esoteric
>: hardware and protocol families may be more touchy.  Feel free to send
>: patches if you have problems.
>


Turned out I could use what I had before, thanks anyway.



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

From: "FM" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.misc,comp.os.linux.powerpc
Subject: Re: Mac-emulation on Linux?
Date: 3 May 1999 21:23:11 GMT

Andrew J. Brehm <[EMAIL PROTECTED]> wrote:

> > I'm fairly sure that it will
> > be an improvement over Windows/MacOS, but I'm not even sure
> > if most Linux softwares are available for this setup (or if
> > it's generally source-level compatible).
> 
> It is source level compatible. And most Linux software is available as
> source codes. However, some Linux software is only available as Intel
> (Star Office).

Is Netscape available? I've heard once that it's impossible
to build from sources obtained from mozilla.org.

> > I think my doubts stem mostly from my lack of knowledge
> > about the Macintosh systems, which I've used before but
> > never administered. Are these the only options I have
> > considering that I want to use Linux and remain compatible
> > with Mac at the same time? Any additional information
> > would be apprecited. Thanks in advance.
> 
> Your only option would be to use a Mac.

What versions of Linux are available on Mac? I've heard of
MkLinux and LinuxPPC but not much else. Does LinuxPPC use
the same kernel as X86 versions? Are there X-compatible
free windowing systems available?

Thanks a lot.

Dan.


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

From: Peter Dalgaard BSA <[EMAIL PROTECTED]>
Subject: Re: CVS (Re: Bill Gates, self made man, NOT!)
Date: 03 May 1999 23:41:45 +0200

Nix <[EMAIL PROTECTED]> writes:

> [EMAIL PROTECTED] (H. Peter Anvin) writes:
> 
> > From what I've seen, several of these problems are structural.
> > Attempting another graft on top of CVS is just going futher down the
> > hole.  Sometimes one just have to fix everything from scratch...
> 
> That was meant to read `another graft on top of RCS', yes?

I think he meant a graft on top of a graft. Still, curiously mixed
metaphor there... 

The thing that worries me with this kind of reasoning is that there's
so much software which - for better or worse - is controlled by CVS,
that it will be damn near impossible to get people to switch. Sort of
like the FORTRAN or COBOL of version control. One possibility could be
to start by redesigning the repository database, while maintaining the
current CVS command set. Then add improved commands. [And, no, I'm not
the one to do it].

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - ([EMAIL PROTECTED])             FAX: (+45) 35327907

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

From: [EMAIL PROTECTED]
Subject: mknod from a module
Date: Mon, 03 May 1999 17:39:53 GMT

Hi,

I am trying to call mknod from a module. Currently I do something like the
following:

    int (*mknod_call)(const char*, mode_t, dev_t);

        ...
    mknod_call = sys_call_table[__NR_mknod];
    err = mknod_call("/dev/name", S_IFCHR, MKDEV(123, 1));

This comes back with -14 (EFAULT - bad address). Does anyone know why it
fails? I guess the string address is bad maybe because it does not originate
in user space ...

In general can I make system calls from the kernel and if so how?

Thanks much for any help.
Mihaela Mihaylova

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

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

From: Nix <[EMAIL PROTECTED]>
Crossposted-To: 
comp.lang.c++,comp.os.linux.development.apps,comp.unix.programmer,comp.unix.questions,gnu.g++.help,gnu.gcc.help
Subject: Re: Templates
Date: 02 May 1999 23:17:41 +0100

Greg Franks <[EMAIL PROTECTED]> writes:

> The g++ compiler is not terribly brilliant when it comes to
> templates.
[snip code to laboriously manually instantiate templates]
> Yes, this sucks.  The solaris CC compiler is much smarter.

So is g++.

egcs (now the official GCC) has been far better than this at template
instantation from day one.

-- 
`Making running an open server that has _not_ been abused takes
 away part of what we pay for.' --- Tez gives an example of Fracture,
                                    the new variant of English

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

From: "Spud" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: swapon, util-linux 2.9r
Date: Mon, 03 May 1999 21:40:05 GMT


    Have you tried `chmod 640 /dev/hda2` ? Even though it is a partition
tagged as swap space, you can still set permissions.

>I just installed the 2.9r utilities and am getting a puzzling
>(to me) message from "swapon":
>
>  warning: /dev/hda2 has insecure permissions 0640, 0600 suggested
>
>My question is, how to set permissions for /dev/hda2, when it's
>a swap partition that is not mounted?  The relevant fstab line
>reads
>
>  /dev/hda2       none    swap    sw
>
>--
>Allin Cottrell
>Department of Economics
>Wake Forest University, NC



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

From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: Net-tools 1.50 and Kernel 2.0.29 - Compiler Error?
Date: 3 May 1999 11:40:48 -0500
Reply-To: [EMAIL PROTECTED]

In article <7gk3k3$21l$[EMAIL PROTECTED]>, Avi Kivity wrote:
> Net-tools 1.50 will not compile with my kernel, complaining that
> linux/pkt_sched.h is missing (file lib/utils.c, line 29). Is this a problem
> with configuration, or am I missing a file, or is net-tools broken?

The README file in net-tools-1.51 says:

: You need kernel 2.0 or later to use these programs.  These programs
: should compile cleanly with either glibc or libc5.  The `iptunnel' and
: `ipmaddr' programs require kernel version 2.2 or later.

and 

: Some configuration options require recent 2.1.x or 2.2.x kernels
: and/or particular versions of the C library.  The defaults should be
: safe for all common environments but some of the more esoteric
: hardware and protocol families may be more touchy.  Feel free to send
: patches if you have problems.

-- 
Paul Kimoto             <[EMAIL PROTECTED]>

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

From: [EMAIL PROTECTED] (Robert Nichols)
Crossposted-To: comp.os.linux.hardware
Subject: Re: /dev/hda1 has reached maximal mount count, check forced
Date: Mon, 3 May 1999 04:06:04 GMT

In article <7givek$fpl$[EMAIL PROTECTED]>, Paul J Gans  <[EMAIL PROTECTED]> wrote:
:  I've had ext2 floppies get the message that
:the file system had not been checked for too long.  Useful
:for floppies as they seem to develop problems with age.

The problems that develop on floppies in storage (unreadable sectors)
are not the file system inconsistancy problems that e2fsck detects and
corrects.  Unless a bad sector happens to be in the file system metadata
(a rather small fraction of the space on the disk), e2fsck won't detect
it at all.

-- 
Bob Nichols         [EMAIL PROTECTED]
PGP public key 1024/9A9C7955
Key fingerprint = 2F E5 82 F8 5D 06 A2 59  20 65 44 68 87 EC A7 D7

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

From: [EMAIL PROTECTED] (NF Stevens)
Crossposted-To: comp.os.linux.misc
Subject: Re: swapon, util-linux 2.9r
Date: Mon, 03 May 1999 23:06:53 GMT

Allin Cottrell <[EMAIL PROTECTED]> wrote:

>I just installed the 2.9r utilities and am getting a puzzling
>(to me) message from "swapon":
>
>  warning: /dev/hda2 has insecure permissions 0640, 0600 suggested
>
>My question is, how to set permissions for /dev/hda2, when it's
>a swap partition that is not mounted?  The relevant fstab line
>reads
>
>  /dev/hda2       none    swap    sw

chmod 600 /dev/hda2

(as root, of course)

Norman

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


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