Linux-Development-Sys Digest #198, Volume #8      Sat, 7 Oct 00 17:13:16 EDT

Contents:
  Multiple OS's On One Machine ("Adam Foerster")
  Re: SCSI drivers (Victor Wagner)
  Re: In sched.c, is the run_queue circular? (Andi Kleen)
  Re: In sched.c, is the run_queue circular? (Changxun Wu)
  Re: In sched.c, is the run_queue circular? (Changxun Wu)
  Re: Text-based user interface development (David M. Cook)
  Kernel Mailing lists at Red Hat? (moscito)
  linux drivers for a sound blaster (GV152M)
  Re: ioremap not in namespce...? (Sean Patrick McNamee)
  Java idltojava compiler (aslin)
  Re: queue len ? (Bernhard Brueck)
  adjtime and Linux 2.xxx (Nick Maclaren)
  What is Linux equivalent of Mac Toolbox? (jazz)
  Re: What is Linux equivalent of Mac Toolbox? (Frank Sweetser)
  Kernel 2.4.0-test7, 8, and 9 "Warning pasting would not give a valid preprocessing 
token" ? ("Emu")
  Re: depmod not work in Kernel 2.4.0-test9 ("Emu")

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

From: "Adam Foerster" <[EMAIL PROTECTED]>
Subject: Multiple OS's On One Machine
Date: Sat, 7 Oct 2000 11:42:22 +0930

This is a long process so if you want to find out how to do it grab a comfy
seat and read on.

Because Windows is the dumb OS that it is it wants to be the primary OS so
you have to set it that it isnt.
When you Partition your harddrive you have to make one primary partition (
usually dependant on what os is to be installed but ill refer to the three
os question in this newsgroup) (Partition size would be about 6 GB) this is
how it would be set out:


                                 -------------------------30GB--------------
========
                                |                                         |
|
                           Primary                        Extended
Extended
                            2GB                                2GB
2GB
                         Windows2000                Linux Redhat
Windows 98
                     No Extra Partitioning           Partitioned into
No Extra
                                                                two separate
                                                                drives one
1.8GB
                                                                (logical
partition)
                                                                 and another
200mb
                                                                (logical
partition)
                                                                1.8GB is the
OS and
                                                                   200mb is
the swap file

Ok well setup your partitons to look like that. it should take you quite a
time to do all of this. well then once you have done this you need to
install one fo the windows opperations systems on the 2Gb partiton. onbce
you have done this it is best to configure it properly and get it fully
running. once you have deon this you will need to run the redhat setup
(during bootup if you want or in windows). you will have to install it to
the 1.8GB partiton.Now about the boot sequence. Linux has a very special
tool calles boot manager. this allows you to have a multi boot machine. so
just install it ad you will be able to boot from any of the three OS's.
As for having to create two other separate harddrives for windows gear and
linux gear why not just put it all in the one drive? (24GB) linux in unique
in the fact that it can allso read and write in FAT32 aswell as Ext2.thisway
your OS's can all share the same storage drive and not have any conflicts.

Well hope you got the idea!
Any further help needed?
Contact me at [EMAIL PROTECTED]
or [EMAIL PROTECTED]

Thanks

-=Adam Foerster=-




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

From: [EMAIL PROTECTED] (Victor Wagner)
Crossposted-To: comp.os.linux.development.apps
Subject: Re: SCSI drivers
Date: 6 Oct 2000 09:16:58 +0400

Carlos A. L�zaro Carrascosa <[EMAIL PROTECTED]> wrote:
: Anyone know if exists any  driver for the:

: Future Domain Corp
: TMC-850MEX (pt)

: SCSI card ?

Try seagate ST-02 driver from standard kernel:

Here is a quote from /usr/src/linux/Documentation/Configure.help

Seagate ST-02 and Future Domain TMC-8xx SCSI support


CONFIG_SCSI_SEAGATE

  These are 8-bit SCSI controllers; the ST-01 is also supported by
  this driver. It is explained in section 3.9 of the SCSI-HOWTO,
  available via FTP (user: anonymous) at
  ftp://metalab.unc.edu/pub/Linux/docs/HOWTO. If it doesn't work out
  of the box, you may have to change some settings in
  drivers/scsi/seagate.h.

  This driver is also available as a module ( = code which can be
  inserted in and removed from the running kernel whenever you want).
  The module will be called seagate.o. If you want to compile it as a
  module, say M here and read Documentation/modules.txt.



: And, of course, where i can get it ;-)

Only place, where one gets linux drivers, is the linux kernel source.
Drivers from any other places is unapproved by Linus Torvalds,
and binary-only drivers from hardware vendors should be considered trojans.


-- 
Machine Always Crashes, If Not, The Operating System Hangs (MACINTOSH)
        -- Topic on #Linux

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

From: Andi Kleen <[EMAIL PROTECTED]>
Subject: Re: In sched.c, is the run_queue circular?
Date: 07 Oct 2000 04:37:57 +0200

Chuck Wu <[EMAIL PROTECTED]> writes:

> The scenario of my test is:
> I always select the next process on the run queue to execute:
> next = (prev->next == &init_task)?&init_task.next_run:prev->next;

->next_thread is a circular list.
->next_run isn't, ends with NULL
->next doesn't exist in 2.2 or 2.4


-Andi

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

From: Changxun Wu <[EMAIL PROTECTED]>
Subject: Re: In sched.c, is the run_queue circular?
Date: Fri, 06 Oct 2000 23:31:48 -0400

Sorry, I should make it exactly the same as real code.

next = (prev->next_run ==
&init_task)?&init_task.next_run:prev->next_run;

And, the kernel is 2.2.17.

You mean, the next_run sequence in run_queue ends with NULL?


Andi Kleen wrote:

> Chuck Wu <[EMAIL PROTECTED]> writes:
>
> > The scenario of my test is:
> > I always select the next process on the run queue to execute:
> > next = (prev->next == &init_task)?&init_task.next_run:prev->next;
>
> ->next_thread is a circular list.
> ->next_run isn't, ends with NULL
> ->next doesn't exist in 2.2 or 2.4
>
> -Andi


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

From: Changxun Wu <[EMAIL PROTECTED]>
Subject: Re: In sched.c, is the run_queue circular?
Date: Fri, 06 Oct 2000 23:34:53 -0400

Thanks, Andi.

But from the code from line 390 to line 404 in kernel/sched.c  of kernel
2.2.17.
It seem the queue is organized as a circular queue, right?
I can't see why ->next_run ends with NULL from sched.c.


Andi Kleen wrote:

> Chuck Wu <[EMAIL PROTECTED]> writes:
>
> > The scenario of my test is:
> > I always select the next process on the run queue to execute:
> > next = (prev->next == &init_task)?&init_task.next_run:prev->next;
>
> ->next_thread is a circular list.
> ->next_run isn't, ends with NULL
> ->next doesn't exist in 2.2 or 2.4
>
> -Andi


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

From: [EMAIL PROTECTED] (David M. Cook)
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Text-based user interface development
Date: 7 Oct 2000 05:45:52 GMT

On 6 Oct 2000 12:59:50 -0700, Neal Tucker <[EMAIL PROTECTED]> wrote:

>it's a moot point, isn't it?  Would you object if someone said "I write
>books in English/French"?  

But would anyone actually say that in conversational English?

What exactly would that mean? English with French translation?  Whole books
in either English or French? English mixed with French willy nilly?

Simarlarly "C/C++" could mean several things, including that the person
using it is confused by marketing.

Dave Cook

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

From: moscito <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Kernel Mailing lists at Red Hat?
Date: 7 Oct 2000 07:57:48 GMT

Hello, I would like to re-subscribe to the kernel mailing list and
some other lists; I understand that they are now being hosted at Red
Hat.  Can someone inform me where linux-kernel and linux-smp went?

PS, can someone tell me where the redhat linux list themselves are ...?


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

From: [EMAIL PROTECTED] (GV152M)
Subject: linux drivers for a sound blaster
Date: 07 Oct 2000 07:59:15 GMT

i cant seem to find linux drivers for a sound blaster. anyone able to help?
thanks.

[EMAIL PROTECTED]

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

From: Sean Patrick McNamee <[EMAIL PROTECTED]>
Subject: Re: ioremap not in namespce...?
Date: Sat, 07 Oct 2000 08:39:45 GMT

Gunnar Proppe wrote:

> Oh yes, I forgot something.  The optimization level is also important, since ioremap 
>is an inline
> function and inlining is only active with higher optimizations.  In my case, I had 
>to choose -O3.
>
> From the gcc man page:
>
> -O3    Optimize  yet  more.  This  turns on everything -O2
>               does, along with  also  turning  on  -finline-func�
>               tions.
>
> I haven't tried it, but it seems like you could just turn on -finline-functions.
>
> Gunnar
>
> [EMAIL PROTECTED] wrote:
>
> > Gunnar Proppe wrote:
> >
> > > I am a module newbie as well, using the Rubini book.  Had the same problem, a 
>friend and I did
> > > some grepping around the kernel source and determined that you need to include 
><asm/io.h> to map
> > > ioremap() to __ioremap().
> > >
> > > Eg:
> > >
> > > #include <asm/io.h>   /*for ioremap()*/
> > >
> > > This did the trick.  Hope it works for you.  The Rubini book is nice, but very 
>much out of date.
> > >
> > > Gunnar
> > >
> > > Sean Patrick McNamee wrote:
> > >
> > > > Arne Driescher wrote:
> > > >
> > > > > > OK>  I added the -a option to my ksyms, and now I'm seeing a symbol
> > > > > > __ioremap_R9eac042a
> > > > > >
> > > > > > This looks almost like mangling to me. I am still having the problem with 
>the unresolved
> > > > > > symbol when I try to load the driver, so I'm wondering if something weird 
>is up with my
> > > > > > kernel or what???
> > > > > I wouldn't say weird. Depending on which options you have used
> > > > > to compile your kernel, some symbols are exported and others
> > > > > are not. Lets a look at the Makefile:
> > > > > vmlinux: $(CONFIGURATION) init/main.o init/version.o linuxsubdirs
> > > > >         $(LD) $(LINKFLAGS) $(HEAD) init/main.o init/version.o \
> > > > >                 --start-group \
> > > > >                 $(CORE_FILES) \
> > > > >                 $(FILESYSTEMS) \
> > > > >                 $(NETWORKS) \
> > > > >                 $(DRIVERS) \
> > > > >                 $(LIBS) \
> > > > >                 --end-group \
> > > > >                 -o vmlinux
> > > > >         $(NM) vmlinux | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aU]
> > > > > \)\|\(\.\.ng$$
> > > > > \)\|\(LASH[RL]DI\)' | sort > System.map
> > > > >
> > > > > As u can see, the target vmlinux is build by linking all
> > > > > object files into the kernel. In the next step nm (see man nm)
> > > > > gets all the symbols from the object file and put the result in
> > > > > System.map.
> > > > > Exported symbols defined in you kernel should be in System.map.
> > > > >
> > > > > Ok, u have the symbol in you kernel but not in System.map. This means
> > > > > that your System.map is not from the same build as your kernel.
> > > > > Have you simply forgotten to copy your System.map to you boot
> > > > > partition? If u built your own kernel: Have you used make install?
> > > > > (From the Makefile:)
> > > > > install: $(CONFIGURE) $(BOOTIMAGE)
> > > > >         sh -x ./install.sh $(KERNELRELEASE) $(BOOTIMAGE)
> > > > > "$(INSTALL_PATH)"
> > > > >         sh -x ./install.sh $(TOPDIR)/System.map
> > > > > "$(INSTALL_PATH)"/System.map-$(KERNELRELEASE)
> > > > >
> > > > > -Arne
> > > >
> > > > Well, I have recompiled the kernel, using make install (before I did it 
>manually), and still
> > > > no luck. One thing I did notice, however is that while my ksyms output shows 
>the symbol
> > > > ___ioremap_R9eac042a
> > > > and the System.map shows simply __ioremap, they are both listed as being at 
>the same address.
> > > >
> > > > Why the hell does my kernel insist on calling it this?
> > > > Maybe I should just try referencing this symbol in my driver...
> >
> > OK> I have rebuilt the kernel WITHOUT the CONFIG_MODVERSIONS, and gotten ksyms to 
>spit out
> > __ioremap - YEAH!
> > But, I still get the 'unresolved symbol ioremap' error; I have the #include 
><asm/io.h>, and have
> > looked at this file:
> > It doesn't #define ioremap into __ioremap, (as some have suggested), but rather 
>declares it as an
> > extern.
> >
> > I HAVE gotten this to load, though, by inserting my own #define ioremap ... 
>__ioremap statement.
> > I'm pretty sure I shouldn't have to do this, but I still don't understand...
> >
> > Thanks again!
> > Sean

Gunnar - "There can be only one."

You win THE PRIZE - that was it. I use Optimization level 3, and I can insmod until my 
fingers turn
blue!
Thanks to Guunar, Anne, Frank, Pete, and Anne again for the help!


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

From: aslin <[EMAIL PROTECTED]>
Subject: Java idltojava compiler
Date: 7 Oct 2000 14:10:56 GMT

Hello,

        I've got jsdk 1.2.2 and I develop distributed applications
with CORBA in JAVA, so I need tool which will convert from IDL to JAVA.
I know that "idltojava" is what I need, but I can't find it anywhere.
I found "idlj" from jdk1.3 (similar to idltojava); I can compile my
programs, but client part doesn't work with jdk1.2.2;
I've received exceptions while running client - name server and server
work quite well. 

        Thanks for any help.

-- 
=======================
 e-mail: [EMAIL PROTECTED] 
=======================

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

From: Bernhard Brueck <[EMAIL PROTECTED]>
Subject: Re: queue len ?
Date: 7 Oct 2000 13:02:55 GMT

NortonNg <[EMAIL PROTECTED]> wrote:

> hello,

>         Does anyone know how to get the current queue length of each interface
>  from kernel ? Any suggestion will be appreciated.

> jkng

ifconfig

Bernhard
-- 
=============================================================================
Dipl.-Inform. Univ. Bernhard Brueck                 email: [EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Nick Maclaren)
Crossposted-To: linux.dev.kernel
Subject: adjtime and Linux 2.xxx
Date: 7 Oct 2000 16:02:54 GMT


I am not sure if these are the appropriate groups, and I apologise
if not.

I am currently updating msntp, and discover that adjtime does not
work on my system (2.0.36 on Intel) - it stores the adjustment
correctly, rejects a second one within too short a time, but does
NOT update the clock.  This isn't made better by the fact that
"Unix 2000" does not have an equivalent function :-(

Now, my point isn't that I want a fix, but I am wondering if
anyone knows how pervasive this is, and whether I should say that
adjtime should be disabled for Linux in the Makefile.


Regards,
Nick Maclaren,
University of Cambridge Computing Service,
New Museums Site, Pembroke Street, Cambridge CB2 3QG, England.
Email:  [EMAIL PROTECTED]
Tel.:  +44 1223 334761    Fax:  +44 1223 334679

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

From: [EMAIL PROTECTED] (jazz)
Crossposted-To: comp.os.linux.x,comp.os.linux.development.apps
Subject: What is Linux equivalent of Mac Toolbox?
Date: Sat, 07 Oct 2000 15:28:58 -0400

Hi,

I want to draw some graphs and show some PICTs in Linux, as I did on
Macintoshes. What is built in or available to do this kind of graphics?

Thanks
Jazz

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

From: [EMAIL PROTECTED] (Frank Sweetser)
Crossposted-To: comp.os.linux.x,comp.os.linux.development.apps
Subject: Re: What is Linux equivalent of Mac Toolbox?
Date: 7 Oct 2000 20:39:22 GMT

jazz <[EMAIL PROTECTED]> wrote:
>Hi,
>
>I want to draw some graphs and show some PICTs in Linux, as I did on
>Macintoshes. What is built in or available to do this kind of graphics?

I'm not familiar with Mac Toolbox, so I'm not sure exactly what functionality
you're looking for.  If you're trying to graph chunks of data, check out
gnuplot.  If you just want to do graphics work, use gimp.

-- 
Frank Sweetser rasmusin at wpi.edu, fs at suave.net  | $ x 12
Full-time WPI Network Tech, Part time Linux/Perl guy |
"World domination.  Fast"
(By Linus Torvalds)

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

From: "Emu" <[EMAIL PROTECTED]>
Subject: Kernel 2.4.0-test7, 8, and 9 "Warning pasting would not give a valid 
preprocessing token" ?
Date: Sat, 7 Oct 2000 16:10:26 -0500

During the compilation phase of a kernel 2.4.0-test7, 8, and 9, I see a lot
of these messages, more than normal. What does it mean?

"Warning pasting would not give a valid preprocessing token".  Each time I
see the message it is proceeded by the following,
bnode.c,inode.c,auth.c,netfilter.c,partition.c,sched.c,proc.c  etc etc.   My
kernel is still functional after install and bootup.

The warning messages repeat several times, then moves on, for example:

bnode.c:Warning pasting would not give a valid preprocessing token
bnode.c:Warning pasting would not give a valid preprocessing token
bnode.c:Warning pasting would not give a valid preprocessing token
bnode.c:Warning pasting would not give a valid preprocessing token
bnode.c:Warning pasting would not give a valid preprocessing token
bnode.c:Warning pasting would not give a valid preprocessing token

netfilter.c:Warning pasting would not give a valid preprocessing token
netfilter.c:Warning pasting would not give a valid preprocessing token
netfilter.c:Warning pasting would not give a valid preprocessing token
netfilter.c:Warning pasting would not give a valid preprocessing token
netfilter.c:Warning pasting would not give a valid preprocessing token


Etc Etc.  The number of times varies!



I am ccurrently running Red Hat 7.0

I did notice these messages with Red hat 6.2, but I don't rememebr if it was
more frequent in Red Hat 7.0 or Red Hat 6.2.


Anyhow my kernel is completely monolithic except for the Adaptec AHA1480
Card Bus Card support.  I only had the choice of Module support and not
built in driver support into the kernel.

Are these messages bad or what? And what can it do to a perfectly running
kernel?  I have 2.4.0-Test-9, running fine.




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

From: "Emu" <[EMAIL PROTECTED]>
Subject: Re: depmod not work in Kernel 2.4.0-test9
Date: Sat, 7 Oct 2000 16:13:07 -0500

I have Red Hat 7.0 with Modutils 2.3.14 and no problems :)

He may have other utils that me be out of date as well?




"Philip Armstrong" <[EMAIL PROTECTED]> wrote in message
news:8rlae5$1op$[EMAIL PROTECTED]...
> In article <8rl36o$4c0$[EMAIL PROTECTED]>,
> Chirok Han  <[EMAIL PROTECTED]> wrote:
> >When I tried to install Kernel 2.4.0-test9, everything worked fine but
> >the installation of modules.  As I do 'make modules_install', I got
> >error that the flag -F in
> >/sbin/depmod -ae -F System.map Kernel-2.4.0-test9
> >is invalid.  So I tried 'depmod -a' after booting in the new kernel,
> >but it just made an empty file '/lib/modules/2.4.0-test9/modules.dep'
> >whose size is 0.  As I issue 'depmod -a', it finishes in no time and
> >the resulting file size is just 0.
> >Please help me.
>
> You need a new modutils package. At least version 2.3.15
>
> You *did* read /usr/src/linux-2.4.0-test9/Documentation/Changes first
> didn't you?
>
> Phil
>
> --
> http://www.kantaka.co.uk/ .oOo. public key:
http://www.kantaka.co.uk/gpg.txt
>



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


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