Linux-Development-Sys Digest #20, Volume #7       Wed, 4 Aug 99 18:14:15 EDT

Contents:
  Re: soln: Re: __global_cli, etc. unresolved symbols (bilge)
  Re: self expanding system (Kari Pahula)
  Re: g++ (Horst von Brand)
  procps 2.0.2 (David T. Blake)
  Re: The beginnings of a protected-mode boot loader (Etienne Lorrain)
  What is spin_lock_irq & irq_save? (=?iso-8859-1?Q?=B1=E8=C7=FC=BC=AE?=)
  Re: 2.0.37 cold start while booting (Harald Arnesen)
  Managing stdin and stdout of new processes (Kevin Woodward)
  porting gcc/libc (Lars Grunewaldt)
  Parallel Sound Card Drivers (Shawn Craver)
  Re: Linux Journal - worth or not? (Philipp Thomas)
  Re: Size limitations kernel (H. Peter Anvin)
  Re: java compiler (Jonathan Geach)
  Problem with compiling vfat in 2.3 kernel (Marcin Romaszewicz)
  is there a book about the 2.2.x internals? (Arnoud de Geus)
  how to mount NTFS under RedHat 6.0 with 2.2.10 (Arnoud de Geus)
  Port 6000 Process (Matthew Carl Schumaker)
  Re: how to mount NTFS under RedHat 6.0 with 2.2.10 (Marcin Romaszewicz)
  Re: java compiler (J.H.M. Dassen (Ray))
  Re: Compiling (Robert Brady)
  Re: 2.0.37 cold start while booting ([EMAIL PROTECTED])
  Re: Problem with compiling vfat in 2.3 kernel (Tristan Wibberley)
  Re: Problem with compiling vfat in 2.3 kernel (David T. Blake)
  does egcs 1.1.2 produce stable kernels? (Arnoud de Geus)

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

From: [EMAIL PROTECTED] (bilge)
Subject: Re: soln: Re: __global_cli, etc. unresolved symbols
Date: 4 Aug 1999 08:36:06 GMT
Reply-To: [EMAIL PROTECTED]

Eric Welton [EMAIL PROTECTED] blared:
 >DQpzb2xuIChjb3VydGVzeSBvZiBNaWNoYWVsIE1jQ29ybWFjaykgaXMgdG8NCnR1cm4gb2Yg
 >dGhlIHZlcnNpb25pbmcgaW5mb3JtYXRpb24gb24ga2VybmVsIG1vZHVsZXMuDQpJIGp1c3Qg
 >ZGlkIHRoYXQgYW5kIHRoZSBwcm9ibGVtIHdlbnQgc3RyYWluZw0KcGVyaGFwcyB0aGVyZSBh
 >cmUgc29tZSBydWxlcyBhYm91dCB0aGUgZm9ybSBvZg0KdGhlIEVYVFJBX1ZFUlNJT04gc3Ry
 >aW5nPw0KDQpjaGVlcnMsDQoNCiAgICAtZQ0KDQoNCkVyaWMgV2VsdG9uIHdyb3RlOg0KDQo+
 >IGhvd2R5LA0KPg0KPiBnb3QgYW4gb2RkIHByb2JsZW0gdy8gbXkgbW9kdWxlcy4NCj4gSSdt
 >IHJ1bm5pbmcgUmVkSGF0IDYuMC8ga2VybmVsIDIuMi41LCBvbiBkdWFsIFBJSS4NCj4gSSB3
 >cm1hdGlvbiB0b3NzZWQgdGhpcyB3YXkNCj4gd291bGQgYmUgbW9zdCBncmFjaW91cyBhcHBy
 >ZWNpYXRpb24uDQo+DQo+IGNoZWVycywNCj4NCj4gICAgIC1lDQo=
 
        Dear Clueless...
 

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

From: Kari Pahula <[EMAIL PROTECTED]>
Subject: Re: self expanding system
Date: 4 Aug 1999 07:49:56 GMT

Olivier Nibart <[EMAIL PROTECTED]> wrote:
>Once I have a complete Linux system installed a running well, I'd like to
>create a compressed image to put on a FlashDisk, with something to expand
>it in RamDisk at boot time.

>How can I do that ?

Read Documentation/ramdisk.txt in the kernel source. IIRC there should be
instructions for that.

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

From: [EMAIL PROTECTED] (Horst von Brand)
Subject: Re: g++
Date: 4 Aug 1999 02:45:50 GMT

On Mon, 02 Aug 1999 19:45:08 GMT,
  Juergen Heinzl <[EMAIL PROTECTED]> wrote:
>In article <[EMAIL PROTECTED]>, Billy Donahue wrote:

[...]

>>It's not just bad if you're root...
>>You should NEVER put . in your path.

[...]

>>If you happen to visit my directory and type 'ls',
>>then you're screwed.. I could also put my 'ls' in
>>/tmp, and if you 'cd /tmp' and 'ls', you're doomed.

>PATH=$PATH:. ... . ought to be the last entry, then
>you can type ls until the cows come home 8)

But you'd type 'sl' once in a while... dystypia can be deadly.

>Minor note, only root can create a programme so it
>is setuid JoeSixpack, say you're screwed already, you

What gave you that idea? I certainly have the permission to make programs
SUID myself, or SGID a group to which I belong.
-- 
Horst von Brand                             [EMAIL PROTECTED]
Casilla 9G, Vi�a del Mar, Chile                               +56 32 672616

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

From: [EMAIL PROTECTED] (David T. Blake)
Subject: procps 2.0.2
Date: 3 Aug 1999 17:53:19 GMT
Reply-To: [EMAIL PROTECTED]

Hello,
        in the newest incarnation of ps, I've
noticed the time stamps are not being found
properly. 

rpm -qf $(which ps)
procps-2.0.2-2  # RedHat 6.0 default

****
xterm &
ps ax | grep xterm
19472 pts/0    S      0:00 xterm
****
ps aux | grep 19472
dblake     19472  0.0  2.6  3380 1712 pts/0    S    Aug01   0:00 xterm
****
ls -l /proc/19472/environ
-r--------   1 root     system          0 Aug  3 10:38 /proc/19472/environ
****
date
Tue Aug  3 10:38:38 PDT 1999
****

This seems quite odd, given that /proc has the correct
time stamps on its files. Yet ps reports the file as
being generated a few days earlier. Anyone have any clues ??
There are no newer versions of ps that I can find, and
the source is proving less than easy to wade through.

-- 
Dave Blake
[EMAIL PROTECTED]

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

From: Etienne Lorrain <[EMAIL PROTECTED]>
Subject: Re: The beginnings of a protected-mode boot loader
Date: Wed, 04 Aug 1999 11:21:18 +0100

  Hi,

"H. Peter Anvin" wrote:
> Just for kicks, I uploaded the feeble beginnings of an ext2-reading
> bootloader for Linux/i386 onto
> ftp.zytor.com:/pub/linux/lbcon-0.01.tar.gz.  This is far from
> complete (in fact, it doesn't really do anything yet), but since there
> was some talk about a boot loader using gcc to generate real-mode code
> I thought I'd suggest an alternative.
> 
> Right now, all this code does is bootstrap itself from an ext2
> filesystem (using either the regular BIOS or -- if available -- the
> ABIOS calls which don't have the 1024-cylinder limit),


  It is boring, I do not have extended disk BIOS but have IDE disks
 with more than 1024 cylinder, even bigger than 8 Gb...


> prints "Hello,
> World!" and sits in a loop accepting keyboard input.  The interesting
> part of this whole exercise, though, is that the loop is all in 32-bit
> protected mode, while it still uses the real-mode BIOS for interrupt
> and devices.  In other words, this code is a "BIOS extender" which
> allows 32-bit flat gcc-generated code to run while still leaving the
> BIOS functional and available.
> 
> I just thought I'd post what I have so far in case someone wants to
> play around with it.  The code is GPL.
> 
>         -=hpa


  A lot of reading planned.

  Have a nice day,
  Etienne.

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

From: =?iso-8859-1?Q?=B1=E8=C7=FC=BC=AE?= <[EMAIL PROTECTED]>
Subject: What is spin_lock_irq & irq_save?
Date: Wed, 04 Aug 1999 09:41:54 GMT

In kernel source, I found many spin_lock_irq() and spin_lock_irqsave().

What is these functions do?  Please answer me what are they and how to

use. Thanks for reading, have a nice day!




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

From: Harald Arnesen <[EMAIL PROTECTED]>
Subject: Re: 2.0.37 cold start while booting
Date: 04 Aug 1999 08:58:37 +0200
Reply-To: Harald Arnesen <[EMAIL PROTECTED]>

[EMAIL PROTECTED] (Heinz Guenter Scharf) writes:

> I had the same experience, even with a completely stripped down kernel, 
> I went back to 2.0.36, which is running happily on my machine since it's  
> appereance. 
> >
> >I just updated by kernel to 2.0.37, recompiled, did the whole LILO bit,
> >and now my computer reboots while it is printing all the '...' stuff when
> >it is loading the kernel. Fortunately, I made a boot floppy of 2.0.36 so
> >nothing is hosed. I'm wondering if anyone else is experiencing this sort
> >of thing or is it just me?

If you read the Changes-file, you will find that you need newer
binutils.
-- 
Harald Arnesen, Apall�kkveien 23 A, N-0956 Oslo, Norway

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

From: [EMAIL PROTECTED] (Kevin Woodward)
Subject: Managing stdin and stdout of new processes
Date: Wed, 04 Aug 1999 14:32:58 GMT

Hi All,

I wish to send the contents of unsigned char array to the stdin of
program and store the programs stdout in another unsigned char array
without using temp files. The data maynot be NULL terminated. I'm
using Linux and EGCS.=20

Any ideas? I assume I should using popen, but none of my ref. manuals
cover popen... This is only intended to be a stopgap measure until
native support is added.


Thanks,

Kevin Woodward.

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

From: Lars Grunewaldt <[EMAIL PROTECTED]>
Subject: porting gcc/libc
Date: Wed, 04 Aug 1999 19:14:30 +0200

Hi,

I have to port the gnu c and *all* libraries to another OS. The problem
is that there=B4s no c-compiler on that system, so I don=B4t have even
standard libraries. It=B4s an OS using the ELF standard and i386 CPUs, so=

I think it should be possible to invoke the most code Linux-similar.
But: where can I find the stdlib, and how are functions like "fopen" and
so on supported by it? The don=B4t seem to be found in the glibc...

thanks,
  Lars

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

Date: Wed, 04 Aug 1999 14:02:05 -0400
From: Shawn Craver <[EMAIL PROTECTED]>
Subject: Parallel Sound Card Drivers

I have been told that the sound card built into my backpack clone will
not work under linux. My questions are this:
    1.) Is this true?
    2.) If so, would it be worth my time to try and write a driver or
would it be too
        hard?
    3.) Where would be a good place to look for information on how to go
about
        writing such a driver (I am very familliar with C, just never
written a linux
        driver before) ?

    --Shawn Craver


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

From: [EMAIL PROTECTED] (Philipp Thomas)
Subject: Re: Linux Journal - worth or not?
Date: Wed, 04 Aug 1999 17:22:23 GMT

On Sat, 31 Jul 1999 05:13:19 GMT, [EMAIL PROTECTED] (Christopher
Browne) wrote:

>- Increased dependancy on advertising revenue implies greater control
>  by commercial interests over magazine content.

But there are counter examples, although on an international scale.
Take the german c't (published bimonthly, approx. 300 pages per issue
at ~ $3), where I *know* that ad sales and editorial department are
strictly separated, ad sales has *no* influence on editorial contents
and a strict rule that editorial contents is _markedly_ over 50%. So
if they sold more ads, the editorial part gets expanded.

>Look carefully at any technical magazine of the last 20 years and
>you'll see these sorts of effects.  DDJ used to be very good, but more
>often looks like a MSFT "shill" today.  

Well, counting DDJ as PC magazine would be doing them great injustice.
DDJ was and is a programmers magazine, in the same league as CUJ. And
the market for both is rather small, at least compared to that for PC
magazines like Byte, PC mag etc. .



Philipp

-- 
Nothing would please me more than being able to hire ten programmers
and deluge the hobby market with good software.
                                            -- Bill Gates, 1976

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

From: [EMAIL PROTECTED] (H. Peter Anvin)
Subject: Re: Size limitations kernel
Date: 4 Aug 1999 03:21:19 GMT
Reply-To: [EMAIL PROTECTED] (H. Peter Anvin)

Followup to:  <N0Np3.14636$[EMAIL PROTECTED]>
By author:    [EMAIL PROTECTED] (Frank v Waveren)
In newsgroup: comp.os.linux.development.system
>
> IIRC, the kernel has to fit into the 1024k that can be easily
> accessed in real mode. I believe using bzImage partially get's round
> this by using extended memory.
> 

512K, and bzImage gets around it, period (not "partially").  Consider
zImage obsolete; don't use it.

        -hpa

-- 
"The user's computer downloads the ActiveX code and simulates a 'Blue
Screen' crash, a generally benign event most users are familiar with
and that would not necessarily arouse suspicions."
-- Security exploit description on http://www.zks.net/p3/how.asp

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

From: Jonathan Geach <[EMAIL PROTECTED]>
Subject: Re: java compiler
Date: Wed, 04 Aug 1999 14:54:18 -0400

RH6 actually comes with kaffe, I don't really like it though, but it is already
on the cd if you want it. If you are serious though, use IBM's JDK.
http://alphaworks.ibm.com


kl wrote:
> 
> Is there a java compiler on  RH6.0?  I can't seem to find it.

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

From: Marcin Romaszewicz <[EMAIL PROTECTED]>
Subject: Problem with compiling vfat in 2.3 kernel
Date: Wed, 04 Aug 1999 12:40:58 -0700

Hi All,

I had to move to a development kernel (2.3.12) so that I could use my
Tekram DC-390U2W controller, but I've encountered some compile errors
with the kernel. So far, the paraport-pc does not compile, nor does
fat/vfat support. I have a windows partition which I would like to
access
from linux, so I need to get this fixed. 

I am compiling fat/vfat directly into the kernel and not as a module. 
The problem is that when linking, there is an undefined symbol which is
used in:

<linuxroot>/fs/fat/file.c, line 440:
 update_vm_cache(inode, *ppos, bh->b_data + (*ppos & (SECTOR_SIZE-1)),
 written);

Which feature/module must I compile in addition to fat/vfat to define
this
symbol? 

Thanks in advance,
-- Marcin

PS. Please copy a reply via mail.

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

From: Arnoud de Geus <[EMAIL PROTECTED]>
Subject: is there a book about the 2.2.x internals?
Date: Wed, 04 Aug 1999 22:02:23 +0200

Hello,

Is there a good book about the linux 2.2.x
kernel internals (besides /usr/src/linux)?

Greetings,

[EMAIL PROTECTED]



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

From: Arnoud de Geus <[EMAIL PROTECTED]>
Subject: how to mount NTFS under RedHat 6.0 with 2.2.10
Date: Wed, 04 Aug 1999 22:04:10 +0200

Hello,

I am running RedHat 6.0 with 2.2.10. I have build
NTFS read support into the kernel. How can I mount
NTFS volumes?

Greetings,

[EMAIL PROTECTED]



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

From: Matthew Carl Schumaker <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Port 6000 Process
Date: Wed, 4 Aug 1999 15:55:51 -0400

Does anybody know a process that uses Port 6000, I was writing an app that
used that port and I could never get it, I tried telneting to it and I
connect but that was about it.  I'm running RedHat 6.0.  I looked in the
services file but there was nothing listed for that port.  I even tried to
reboot in case a previous process somehow didn't release it but it was
there when I rebooted which leads me to believe that its some sort of
system process, however my 2.0.36 machine has that port open.  Its not
that important since I can use any other port, Its just a little
disconcerning knowing that there is an app running on that port and I have
no idea what it is.

Thanks in advance
matt

Matthew Carl Schumaker
UPAC Lights Administrative Chairperson
[EMAIL PROTECTED]
veni, vedi, velcro
I came, I saw, I stuck around


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

From: Marcin Romaszewicz <[EMAIL PROTECTED]>
Subject: Re: how to mount NTFS under RedHat 6.0 with 2.2.10
Date: Wed, 04 Aug 1999 13:08:47 -0700

Arnoud de Geus wrote:
> 
> Hello,
> 
> I am running RedHat 6.0 with 2.2.10. I have build
> NTFS read support into the kernel. How can I mount
> NTFS volumes?
> 
> Greetings,
> 
> [EMAIL PROTECTED]

mount -t ntfs <partition> <mount mount>

for example, I do:
mount -t ntfs /dev/hda1 /nt

-- Marcin

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

From: [EMAIL PROTECTED] (J.H.M. Dassen (Ray))
Crossposted-To: comp.os.linux.development.apps
Subject: Re: java compiler
Date: 4 Aug 1999 19:28:37 GMT

Jonathan Geach <[EMAIL PROTECTED]> wrote:
>RH6 actually comes with kaffe,

Erm, AFAIK kaffe is only a JVM (java virtual machine) implementation, not a
Java compiler.

>If you are serious though, use IBM's JDK. http://alphaworks.ibm.com

Or Blackdown's; http://www.blackdown.org/ . 

Freer options, but less mature, are "guavac" or the java to native code
features of recent gcc/EGCS.

Ray
-- 
Cyberspace, a final frontier. These are the voyages of my messages, 
on a lightspeed mission to explore strange new systems and to boldly go
where no data has gone before. 

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

From: Robert Brady <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,redhat.general
Subject: Re: Compiling
Date: 4 Aug 1999 20:01:19 GMT
Reply-To: [EMAIL PROTECTED]

In comp.os.linux.development.apps Leonard Evens <[EMAIL PROTECTED]> wrote:
>One would of course first have to create a makefile with the
>appropriate entries as in the example below.

No, one would not. GNU make has some default (implicit) rules.

-- 
Robert
(Ancalimon)

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

From: [EMAIL PROTECTED]
Subject: Re: 2.0.37 cold start while booting
Date: 4 Aug 1999 20:06:18 GMT

From: [EMAIL PROTECTED] (Heinz Guenter Scharf)
>I had the same experience, even with a completely stripped down kernel,
>I went back to 2.0.36, which is running happily on my machine since it's
>appereance.
>My machine is a Pentium 100, 32MB, IDE Drives, Flashpoint LT for DAT tape and
>Yamaha CDRW, old Mitsumi FX001, RedHat 4.2, never went to glibc.

After RTFM ;-), I installed the latest stable binutils (2.9.1.0.25) from
ftp.varesearch.com and my kernel compiled perfectly. Well, not quite. Keep
a backup of your old "objdump" as the kernel build may require it.

Right now I'm running 2.0.37 on my Redhat 4.2 system and it appears to be
working fine.
                                                        Cheers,
                                                        Phil
>        Guenter
>--
>If a listener nods his head when you're explaining your program, wake him up.

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

From: Tristan Wibberley <[EMAIL PROTECTED]>
Subject: Re: Problem with compiling vfat in 2.3 kernel
Date: Tue, 03 Aug 1999 19:18:02 +0100
Reply-To: [EMAIL PROTECTED]

Marcin Romaszewicz wrote:

> I am compiling fat/vfat directly into the kernel and not as a module.
> The problem is that when linking, there is an undefined symbol which is
> used in:
> 
> <linuxroot>/fs/fat/file.c, line 440:
>  update_vm_cache(inode, *ppos, bh->b_data + (*ppos & (SECTOR_SIZE-1)),
>  written);
> 
> Which feature/module must I compile in addition to fat/vfat to define
> this
> symbol?

Oh! How many times! This has been repeated so much it is not funny
anymore. Go look on the WWW for devel kernel information, search
archives of this newsgroup. It is *very* easy to find.

-- 
Tristan Wibberley

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

From: [EMAIL PROTECTED] (David T. Blake)
Subject: Re: Problem with compiling vfat in 2.3 kernel
Date: 4 Aug 1999 20:20:06 GMT
Reply-To: [EMAIL PROTECTED]

Marcin Romaszewicz <[EMAIL PROTECTED]> wrote:

> I had to move to a development kernel (2.3.12) so that I could
> use my Tekram DC-390U2W controller, but I've encountered some
> compile errors with the kernel. So far, the paraport-pc does not
> compile, nor does fat/vfat support. I have a windows partition
> which I would like to access from linux, so I need to get this
> fixed.

VFAT is broken in development kernels.
If you need working VFAT use older kernels. It doesn't
compile because a non-compiling VFAT module is better than
a corrupted one.

These issues would be perfectly clear to you if you did as
you should when using a development kernel - read the kernel
mailing list and archives. www.kernelnotes.com

I think if you read the kernel configuration notes for
kernel 2.2.10 you will find support for VFAT works as
well as support for your SCSI board.

-- 
Dave Blake
[EMAIL PROTECTED]

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

From: Arnoud de Geus <[EMAIL PROTECTED]>
Subject: does egcs 1.1.2 produce stable kernels?
Date: Wed, 04 Aug 1999 22:00:40 +0200

Hello

Does the egcs 1.1.2 compiler produce stable
kernels? Just recently, there were problems
using egcs for kernel build.

Greetings,

[EMAIL PROTECTED]


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


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