Linux-Development-Sys Digest #118, Volume #7     Sat, 28 Aug 99 15:14:12 EDT

Contents:
  Re: glibc-2.1.1 problems (Andreas Jaeger)
  Re: Shutdown Problem (W.G. Unruh)
  Re: Shutdown Problem (David Fox)
  Strange thread & kernel behavior (Esa J Kallioniemi)
  Aktien zu verschenken!!!! Free Stock Programm!!!! ("erhard.m")
  Re: mounting at startup (Stephen R Dennison)
  Raid trouble ----- interfers with network aliases ("Zoso")
  Re: Struct SK_BUFF(Networking code) (Joy)
  Re: Newbies Programming course (Mario Moder)
  Mitsumi CDROM Driver problem in 2.3.15 ([EMAIL PROTECTED])
  Re: Dual Modem  Support (Clifford Kite)
  Re: Dual Modem  Support ("Anonymous")
  Re: Shutdown Problem (Gert van der Knokke)
  Re: does linux have a package for drawing block diagrams ? (Errin Watusikac)
  Re: Writing my own Filesystem?  Possible? (Christopher Browne)

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

From: Andreas Jaeger <[EMAIL PROTECTED]>
Subject: Re: glibc-2.1.1 problems
Date: 28 Aug 1999 08:33:33 +0200

>>>>> Will Wagner writes:

Will> In article <[EMAIL PROTECTED]>,
Will> Andreas Jaeger  <[EMAIL PROTECTED]> wrote:
>> 
>> I advise to not build in the source directory, read the INSTALL file.
>> Btw. --disable-nls is useless, the option is call
>> --enable-add-ons=... and localedata is always included.  Just use
>> --enable-add-ons to use all that you have.

Will> I've got a related question here: is linuxthreads the only available
Will> add-on for 2.1.1?  I did notice that localedata came with the main tar,
Will> but I was never able to find a separate crypt package.  Has the crypt
Will> package been moved into the main source tree?

No, we just had to change the ftp location.  glibc 2.1.2 will contain
the following:

People outside the US should get the code from ftp.gwdg.de
[134.76.11.100] in the directory pub/linux/glibc, or another archive
site outside the USA.

Some distributions add further add-ons (check RedHat or SuSE for
details).

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

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

From: [EMAIL PROTECTED] (W.G. Unruh)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.x
Subject: Re: Shutdown Problem
Date: 28 Aug 99 08:09:45 GMT

Alan Swartz <[EMAIL PROTECTED]> writes:

>stan168 wrote:

>> I was thinking if the user just want to turn off the power without
>> doing a shutdown properly. Is there any way to prevent the checking (fsck)
>> at booting time and data corruption?

It would be a VERY bad idea. If you just switch off, thee is stuff in
the buffers on the computer which may nothave been written todisk yet,
and teh disk tables may not have been updated properly. fsck looks for
errors on the disk to make sure that the disk is set up properly. If you
continue to use a disk whose talbles are corrupted the probablioty is
high tht you will overwrite data already there and eventually destroy
the usefullness of the disk.

So, DO NOT SWITCH OFF THE MACHNE WITHOUT A PROPER SHUTDOWN.
And when it happens, accept your punishment of waiting while linux tries
to make sure you have not corrupted your disk, and saves you from your
stupidity.
Ie, make sure that you educate your users-- shout at them, paste huge
signs around the computer, etc, to always shut down before switching
off.

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

From: d s f o x @ c o g s c i . u c s d . e d u (David Fox)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.x
Subject: Re: Shutdown Problem
Date: 27 Aug 1999 21:40:16 -0700

Alan Swartz <[EMAIL PROTECTED]> writes:

> stan168 wrote:
> 
> > I was thinking if the user just want to turn off the power without
> > doing a shutdown properly. Is there any way to prevent the checking (fsck)
> > at booting time and data corruption?
> 
> I'm curious: Why would you want to do that?

Perhaps to use Linux as the basis of an appliance like a stereo system.
-- 
David Fox           http://hci.ucsd.edu/dsf             xoF divaD
UCSD HCI Lab                                         baL ICH DSCU

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

From: Esa J Kallioniemi <[EMAIL PROTECTED]>
Subject: Strange thread & kernel behavior
Date: 28 Aug 1999 09:04:23 GMT

Ok, I have dual 350 Mhz P2 machine with 128 MB memory. Linux is RedHat
5.2 with 2.0.36 kernel + addtional 2.2.9 selfcompiled kernel. I have
written small proggy, that spawns 32 threads (LinuxThreads). When
running "time proggy" I get about 0.04 secs with 2.0.36 kernel. BUT when
running with 2.2.9 (with SMP on) I get extremely random behavior ! 
Time says anything between 0.04 and 5.0 secs for the exactly same
proggy... And xosview (SMP compatible version) shows that system 
is sometimes 100% in "system mode" for both processors !!! So it would seem that
there's something wrong with kernel ?? Or I have managed to create really
strange bug ;) 

I would be more than happy if someone could suggest possible reasons
for this... (and remedies of course ;) )

eSa
__
                  Esa Kallioniemi [EMAIL PROTECTED]
                   "YouCanDoDangerousThingsWithAssembler"

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

Date: Sat, 28 Aug 1999 10:45:38 +0200
From: "erhard.m" <[EMAIL PROTECTED]>
Subject: Aktien zu verschenken!!!! Free Stock Programm!!!!
Crossposted-To: 
comp.os.linux.advocacy,comp.os.linux.development.apps,comp.os.linux.hardware,comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.portable,comp.os.linux.powerpc,comp.os.linux.setup,comp.os.ms-windows.nt.advocacy,comp.os.ms-windows.nt.misc,comp.mail.sendmail

Hallo zusammen,

Die Firma Tradehall (www.tradehall.com) vergibt umsonst Aktien als
Promotion-Aktion. Sie wollen damit Interesse an Ihrem neuen Unternehmen
generieren. (Die letzte Firma, die das gemacht hat, war Yahoo!!!)

Wenn ihr die Seite  http://www.tradehall.com/  besucht, m��t Ihr auf
'free stock program' klicken und den Bedingungen zustimmen, oder der
direkte Link:
http://www.tradehall.com/cgi-bin/trader/ms.cgi?run=show_svc&fl=1
dann die pers�nlichen Infos eintragen (Name, Adresse, ... m�ssen
angegeben werden; Alter, Ausbildung... sind freiwillig. Login und
Passwort ausdenken und folgende Referenznummer angeben:

10747866

Mit der Anmeldung bekommt Ihr eure Gratisaktie - und eine eigene
Referenznummer! (F�r jede Person, die sich �ber diese Referenznummer
anmeldet, bekommt Ihr noch mal eine halbe Aktie dazu!!! - insgesamt
k�nnt
ihr bis maximal 100 Aktien sammeln) Anschlie�end erhaltet Ihr eine
E-Mail. Dort erste URL anklicken und Eure Login, Passwort und
Referenznummer eingeben und best�tigen.

Es ist GRATIS! (der neue Kundenaccount nat�rlich auch) - solange es sie
noch gibt - das ganze l�uft n�mlich nur solange, bis tradehall den 1
Millionsten Kunden hat - und davon sind sie nicht mehr allzu weit
entfernt!!

Yahoo ist auch so gestartet. Die Aktie ist inzwischen ca. 140 Euro wert!

Also, auf gehts. Umsonst ist umsonst.

Bis dann

Michi







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

From: Stephen R Dennison <[EMAIL PROTECTED]>
Subject: Re: mounting at startup
Date: Sat, 28 Aug 1999 09:30:58 GMT

Take a look at the file /etc/fstab
You might want to add a line that would look like:
/dev/hda1               /mnt/dos                msdos   rw              0 0

That is the line I use.  You would change /mnt/dos to /c

Oh, and you don't want to screw this file up because your system might not
boot up if you do.


Also make sure that the last line of the file is blank.  A carriage return
after you add the line would do it.


x256 wrote:
> 
> maybe i forgot to mention that i'm using redhat6.0 with kernel 2.2.12
> 
> > how can i (auto) execute commands at startup ? like 'mount /dev/hda1
/c' ?
> >
> > thx
> >
> >
> 
> 


==================  Posted via CNET Linux Help  ==================
                    http://www.searchlinux.com

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

From: "Zoso" <[EMAIL PROTECTED]>
Subject: Raid trouble ----- interfers with network aliases
Date: Sat, 28 Aug 1999 13:53:30 +0200

Can anybody help here

our raid config is the following:

We installed Linux RH6 2.2.11 on an IDE drive (/boot)

2 IBM 18.1 U2W drives is partioned to /var /home /boot /usr

we tar'ed the contents of /boot to the md0' mount point (/boot)

we re-edited the fstab so it would mount the md0 device as boot

it all worked fine - all raids were mounted fine - but the modules lo,eth0 &
eth1 wouldn't start.

what is the problem here? - is there a conf file we have forgotten to
configure for the md0 device (instead of the IDE device hda).

thanks
Zoso



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

From: Joy <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: Struct SK_BUFF(Networking code)
Date: Sat, 28 Aug 1999 12:30:59 GMT


Fernando Ortega wrote:
> I need to know how the networking manages to get data  from a process
> and passes it to the sk_buff struct , so that, this is the struct used to
> pass the data to the devices(for example to Ethernet).
> 
> I know the last call made , before passing the data to the device is:
> 
> dev->hard_start_xmit(skb,dev)
> 
> but which is the way data get into skb?
> 
> I mean, 
> 
> How many packets for each skb? ----> It depends? , What about?
> How many priority queue buffers per device? ----> 3?
> 
> So, as you can see I am a bit lost.
> If you know any thing, that helps, please let me know.
> 
> Any help will be wellcome.
> 
> Thanks in advance
> 
> --
> Fernando Ortega Bellosta
> [EMAIL PROTECTED]

> 

the data is copied from user space to kernel space using memcpy_from_fs.
Actually fs is the segment reg pointing to user segment. After copying to
kernel space the data is packed in skbuffs( simplistic description ). 

        
bye

Joy

==================  Posted via CNET Linux Help  ==================
                    http://www.searchlinux.com

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

From: [EMAIL PROTECTED] (Mario Moder)
Subject: Re: Newbies Programming course
Reply-To: [EMAIL PROTECTED] (Mario Moder)
Date: Sat, 28 Aug 1999 12:26:24 GMT

On Thu, 26 Aug 1999 22:29:56 +0200, Tor Harald Thorland
<[EMAIL PROTECTED]> wrote:

>I'm trying to learn some programming and wonder if someone can tell me
>which programming language too start with, and where to find some
>tutorials/documents for newbies.
>Where to find that specific program would be great too.

I found some tutorials at

http://www.swcp.com/~dodrill/index.html

The C tutorial there helped me a lot in understanding the basics of C.
But it does not really matter which programming language you start
with. With Linux I made good experiences with: C, C++, Java, Perl.
Linux also helped me because the source code of all the programs is
available, and studying the source code of existing programs is IMHO a
good way to learn a language.

Other sources which might be useful:

Newsgroups: alt.comp.lang.learn.* (I don't know if these groups are
                                   still there)
                                   
Web:
http://www.strath.ac.uk/CC/Courses/NewCcourse/ccourse.html
http://www.eng.cam.ac.uk/help/tpl/languages/C/teaching_C/teaching_C.htm
http://www.cm.cf.ac.uk/Dave/C/CE.html
http://devcentral.iftech.com/learning/tutorials/c-cpp/c/
http://free-ed.net/

Greetings and happy programming,

        Mario

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

From: [EMAIL PROTECTED]
Subject: Mitsumi CDROM Driver problem in 2.3.15
Date: 28 Aug 1999 15:03:29 GMT

For some reason I can't get my Mitsumi CDROM drive (old non-IDE driver) to 
play music CD's under the last few newest develpment kernels ( it worked 
fine up until recently ).  It seems to be misidentifying the CD as it 
reports a wrong medium type.  Has anyone else seen similar problems under the
new kernels?  

Cayle
 

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

From: kite@NoSpam.%inetport.com (Clifford Kite)
Crossposted-To: comp.os.linux.networking,comp.unix.programmer
Subject: Re: Dual Modem  Support
Date: 28 Aug 1999 10:51:30 -0500

Anonymous ([EMAIL PROTECTED]) wrote:

: Is anyone have any idea, source or link to the info on how to make
: dual-modem ppp connection in Linux / 
: Unix ? or through writing our own program  ? how is the concept behind ?
: any RFC for this ?

: Ie, use two modem to dial-up to the same site to speed up the tranfer rate,
: as in win95 multi-link support in dial-up networking.

The MP RFC is 1990.  Here are a couple of links to checkout:

http://linux-mp.terz.de
ftp://ftp.east.telecom.kz/pub/src/networking/ppp/multilink/

--
Clifford Kite <kite@inet%port.com>                    Not a guru. (tm)
/* For every credibility gap, there is a gullibility fill.
                -- R. Clopton */

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

From: "Anonymous" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.unix.programmer
Subject: Re: Dual Modem  Support
Date: 28 Aug 1999 15:19:25 GMT


Hello,

Is anyone have any idea, source or link to the info on how to make
dual-modem ppp connection in Linux / 
Unix ? or through writing our own program  ? how is the concept behind ?
any RFC for this ?

Ie, use two modem to dial-up to the same site to speed up the tranfer rate,
as in win95 multi-link support
in dial-up networking.

Thank in advance


-- 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:< [EMAIL PROTECTED]
:< [EMAIL PROTECTED]
:< [EMAIL PROTECTED]
:< [EMAIL PROTECTED]
:< [EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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

From: Gert van der Knokke <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.x
Subject: Re: Shutdown Problem
Date: Sat, 28 Aug 1999 17:26:26 +0000

David Fox wrote:

> Alan Swartz <[EMAIL PROTECTED]> writes:
>
> > stan168 wrote:
> >
> > > I was thinking if the user just want to turn off the power without
> > > doing a shutdown properly. Is there any way to prevent the checking (fsck)
> > > at booting time and data corruption?
> >
> > I'm curious: Why would you want to do that?
>
> Perhaps to use Linux as the basis of an appliance like a stereo system.
> --
> David Fox          http://hci.ucsd.edu/dsf             xoF divaD
> UCSD HCI Lab                                         baL ICH DSCU

Just an idea, I made a Linux based mp3 CD player and I use the UPS software to
properly shut down the system. My power button is overruled by a relay as soon it
it switched on, therefore you can't manually switch it off after that.
An extra contact on the powerbutton 'informs' the system the state of the power
switch and Linux does a nice shutdown -h now after it detects the power switch
being released. (I used a standard double pole switch, one pole for the mains,
the other for the 'powerstate' input.
And the end of the shutdown procedure the relay is dropped by a line on the
serial port.
Neat and simple. This way a user can't accidently turn the system off (unless he
pulls the plug of course) On such a system you can mount almost all of the system
as read-only, just /tmp or /var as read/write.
To be on the safe side you can force a sync after writing 'delicate' data to
these directories.

Gert

--
======================================================================
=  LINUX = Unix The Next Generation ................................ =
=  [EMAIL PROTECTED]           running Linux on Intel and Alpha  =
======================================================================




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

Subject: Re: does linux have a package for drawing block diagrams ?
From: Errin Watusikac <[EMAIL PROTECTED]>
Date: 28 Aug 1999 10:51:21 -0700

Peter Pointner <[EMAIL PROTECTED]> writes:

[---]
> And probably my try to remind people of the topic of this group is
> wasted bandwidth anyway.

Could be, but I wish more people would try.  It might instead reduce
bandwith, and besides - "reminders" can often be entertaining.

I searched the Usenet NGs and some web pages for the charters of
the Linux NGs and couldn't find anything but some HOWTOs that don't
help describe the NGs.

A good project for someone would be the creation of a web page with
carefully written "charters" for the Linux NGs and getting the
page advertised and linked to and accepted.  NG regulars could
refer newbies to it also.

One problem: What do you do with c.o.l.{misc,setup,help,questions}?

I'd like to see any request for help on .misc be flamed for being
off-topic, but that's never going to happen.  Instead, I'd like to 
see a new NG who's charter would not allow questions on setup of
the OS or any other software.  It would just be for discussing things
like what Linux needs, licensing, software development, venders, etc.


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

From: [EMAIL PROTECTED] (Christopher Browne)
Crossposted-To: linux.sources.kernel
Subject: Re: Writing my own Filesystem?  Possible?
Date: 28 Aug 1999 18:07:32 GMT
Reply-To: [EMAIL PROTECTED]

On Fri, 27 Aug 1999 21:24:12 -0400, gary huntress <[EMAIL PROTECTED]> wrote:
>    I would really like to try and write my own filesystem....just to
>learn...I'm not deluding myself into thinking that I can replace ext2fs
>:)
>
>    I've found a limited amount of older (dated 1996) info documenting
>ext2fs from the kernel hackers guide and other LDP resources.  I have
>not been able to find anything that describes changes due to the newer
>2.2 kernels.
>
>    I'd greatly appreciate info/tips/sources/stories about writing a
>filesystem.   Yes, I *am* reading the source :)   My plan is to extend
>the ext2fs filesystem to include some sort of encryption, possibly
>needing some sort of hardware key like http://www.ibutton.com in order
>to function...I thought that might be interesting.   Yes, I know it
>would be painfully slow :)

It would be Real Wise to look to more modern material.

a) The VFS layer, which you almost certainly would want to use to
implement a new FS, has been quite greatly in flux since 1996.

<http://dd-sh.assurdo.com/perlfs/>
<http://www.inf.bme.hu/~mszeredi/avfs/>

b) That being said, an alternative approach that already exists is to
write a loopback filter that does crypto, and then mount a filesystem
through that filter.  That would allow you to avoid the need to get
*deeply* into implementing a filesystem.
<http://www.coli.uni-sb.de/~theiling/pub/private/crypto/>

There are two other alternatives that I can think of offhand:
c) Write a filter that implements crypto and pretends to be an NFS
server, 
<http://tcfs.dia.unisa.it/>
<http://atrey.karlin.mff.cuni.cz/~pavel/podfuk/podfuk.html>
<http://nii.isi.edu/people/johnh/PAPERS/Heidemann95e.html>
or

d) Write a filter that pretends to be a Coda server.

I've heard talk about this; little about actual implementation...

You may find that one of these existing options is perfectly
satisfactory; it would be something of a waste to independently
recreate them, and struggle through the same debugging issues.  

Or you may find it worthwhile to learn from their problems, and create
your own fresh implementation that will be better than them.  I
suspect that it won't need to involve actually implementing a
filesystem, though.
-- 
I'm sure glad we're having this "How many FTP transfers can dance on
the head of a chargeback packet" conversation now, because when
chargebacks happen, it will surely be too expensive to read these
amazing conversations.
[EMAIL PROTECTED] <http://www.ntlug.org/~cbbrowne/linuxkernel.html>

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


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