Linux-Development-Sys Digest #166, Volume #8     Fri, 22 Sep 00 20:13:11 EDT

Contents:
  kill_fasync Buffering ([EMAIL PROTECTED])
  Dual ethernet card problem ([EMAIL PROTECTED])
  Re: ext2 file size limit? ([EMAIL PROTECTED])
  Re: new windowing system ([EMAIL PROTECTED])
  Re: ext2 file size limit? (Andreas Jaeger)
  Any GIF decoders designed for small devices?????? (MikeC)
  Re: Kernel space vs User space (Karl Heyes)
  Re: undefined symbols in modules (Karl Heyes)
  Re: Multiple sockets on same port. (Rick Ellis)
  Re: Sokets in Linux (Rick Ellis)
  Re: Kernel space vs User space (Kaz Kylheku)
  Re: how is a sleeping disk woken up? (Rick Ellis)
  Re: how is a sleeping disk woken up? (Dave Platt)
  CD-RW help!
  Re: Installing Win98, Win2000 and Linux on one PC?! ("Chris Arcand")
  Re: Installing Win98, Win2000 and Linux on one PC?! ("Chris Arcand")
  Re: Installing Win98, Win2000 and Linux on one PC?! (Bob Barker)

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

From: [EMAIL PROTECTED]
Subject: kill_fasync Buffering
Date: Fri, 22 Sep 2000 16:00:02 GMT

Hi, i am developing a driver and kill_fasync is been using to
synchronize the ISR with user-signals handlers which PULL the device
data PUSHED by the IRQs and buffered by the ISR. Uhmm
I would like to know if exist some kind of signal buffering for the
kill_fasync stuff.
My ISR is a multiple device handler, so if an IRQ is detected
kill_fasync will issue the signal at the end of the ISR but:
What happens if another IRQs linked to my ISR arrive before it arrives
to the user side? Have it any sense?

I have reviewed the Rubini's book chapter related with the advanced IO
techniques but i have not found any hint about...


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: [EMAIL PROTECTED]
Subject: Dual ethernet card problem
Date: Fri, 22 Sep 2000 16:07:30 GMT

Hi all,

I am trying to write a router app on my Linux machine.  I have two
ethernet cards aliased to eth0 and eth1.  I can bind a raw socket to
eth0 and watch packets coming in.  But so far I have not been able to
figure out how to get the machine to bind to eth1.  According to my
understanding, from "packet" and "netdevice" man pages, I should be able
to use the ifindex value in sockaddr_ll structure to identify the
interface I want to bind.  But an ioctl() call (with SIOCGIFCONF) to
capture the parameters for all interfaces on the machine (lo, eth0 and
eth1), shows the same ifindex value (2) for all of them!  When I use
this value in the sockaddr_ll data structure, my bind() call errors out
with ENODEV.  What am I doing wrong?

-Vijay


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.misc
Subject: Re: ext2 file size limit?
Date: Fri, 22 Sep 2000 17:59:14 GMT
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
> Centuries ago, Nostradamus foresaw a time when Paul Reilly would say:
> >Can someone tell me what the max size for a single file is in linux?
>
> There is no single answer to this.
>
> >I'm trying to creat a 6GB loopback device, but using dd if=/dev/zero
> >of=file
> >crashes out after filling the file with 2GB. I presume this is
happening
> >as I've reached some file system limit? Is there any way around this
or
> >any plans on making ext2 handle larger files?
>
> No, you have _not_ reached a filesystem limit.  ext2 supports files as
> large as 2TB in size.
>
> Apparently your version of VFS and the interface from there to LIBC
and
> on to the dd application does not support this.

        I am runnign Linux 2.4 and it supports
        files > 2GB. See /usr/include/bits/stat.h
        and look at struct stat64, which supports file size
        up to 1 TB (always half of max filesystem size), because
        file size is a signed data type.
        You will have to define
        __USE_LARGEFILE64 when you create the file with
        O_LARGEFILE (see /usr/include/bits/fcntl.h).
        To find out more about this, do
        find /usr/include -name \*.h | xargs grep LARGEFILE | more

        I created a 120 GB file on a 300 GB raid volume.

        Cheers,

        Joe

        P.S: Kernel experts interested in workin on filesystem size
        limitations and on the block I/O layer and LVM layer,
        please let me know. We are looking for 2 or more Linux
        kernel engineers to join our group at Maxtor Corp to
        work on these issues.


> --
> [EMAIL PROTECTED] - <http://www.ntlug.org/~cbbrowne/linuxkernel.html>
> All extremists should be taken out and shot.
>


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.x,comp.windows.x
Subject: Re: new windowing system
Date: Fri, 22 Sep 2000 18:05:00 GMT



> >Your PC must be faster than mine. Of course almost any PC would
> >be as mine is a 486. For me, every microsecond wasted counts
> >since they all up quickly.
>
> There winds up being LOTS of things that "add up quickly," including:
> - Number of bytes of memory consumed;
> - Number of I/O requests
> - Quantity of video RAM in use
>
> 486 VLB versus just about anything using PCI is quite a big deal.
> PCI is a whopping lot faster, _particularly_ for graphics.

Ummm...ummm...VLB?   Golly, I ain't even got that.
We're talking V-G-A here. I really need some
efficiency badly.

> Well, _immediately_ upon having a network connection involved
> (e.g. - Ethernet), there's a fair bit of overhead over a straight
> function call.

Can you quantify that?

> The _big_, _atrocious_ problem there is that if all this stuff
> gets pushed into the kernel, that means that:
>
> - every time an application touches the screen, there has to be a
change
>   from user mode to kernel mode,

That also happens every time a byte gets sent over a socket, no?

> - the set of memory "owned" by the kernel, and thus not able to be
>   swapped out, grows,

S'okay with me. I got 16 megs to play with.

> - if anything goes wrong with the GUI code, the kernel may get
>   toasted because the critical code is running in supervisor mode/
>   Ring 0.

True.

> The BIG performance problems that people are running into tend to have
> nothing to do with X itself, but rather with:
>   a) Applications that do perversely inefficient things with Motif;

Or any toolkit. They are all very slow except perhaps Athena.

>   b) Applications that do perversely inefficient things with GTK;

...which looks ugly anyway.

>   c) Applications that use Xt badly;

... or at all.

>   d) Applications that use atrocious amounts of memory in and of
>      themselves.

True.

uwuh


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: Andreas Jaeger <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: ext2 file size limit?
Date: 22 Sep 2000 21:48:45 +0200

>>>>> jdavida  writes:

 >      I am runnign Linux 2.4 and it supports
 >      files > 2GB. See /usr/include/bits/stat.h
 >      and look at struct stat64, which supports file size
 >      up to 1 TB (always half of max filesystem size), because
 >      file size is a signed data type.
 >      You will have to define
 >      __USE_LARGEFILE64 when you create the file with
Check <features.h> - __USE_LARGEFILE64 cannot be defined by user
space.

 >      O_LARGEFILE (see /usr/include/bits/fcntl.h).
[...]

Andreas
-- 
 Andreas Jaeger
  SuSE Labs [EMAIL PROTECTED]
   private [EMAIL PROTECTED]
    http://www.suse.de/~aj

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

From: [EMAIL PROTECTED] (MikeC)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.misc
Subject: Any GIF decoders designed for small devices??????
Date: Fri, 22 Sep 2000 20:45:01 GMT

Does anybody know of good sources for GIF decoders written
specifically for small mobile devices like cellular handsets, screen
sizes up to 200x200 pixels?

The requirements are much more stringent:
  * optimized for speed, i.e. much faster than the conventional
    GIF decoders targetted for PC machines
 * optimized for memory, i.e. all memory dynamic and in small sizes
   regardless of the frame sizes. Preferably, configurable for 
   different bits#/pixel, e.g. 1,2,4,8 bits/pixel

Has to come with source code (C or C++). Open to any licensing
requirements.


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

From: Karl Heyes <[EMAIL PROTECTED]>
Subject: Re: Kernel space vs User space
Date: Fri, 22 Sep 2000 22:10:22 +0000

In article <8qegmb$1pp$[EMAIL PROTECTED]>, "Nera"
<[EMAIL PROTECTED]> wrote:

> 
> Can me get more resource when running the code in kernel space other = than
> user space?
> 

resource? CPU, memory, disk ? generally no.

karl.

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

From: Karl Heyes <[EMAIL PROTECTED]>
Subject: Re: undefined symbols in modules
Date: Fri, 22 Sep 2000 22:13:27 +0000

In article <[EMAIL PROTECTED]>,
 Gilles Riffaud <[EMAIL PROTECTED]> wrote:
> I have a project involving modules.
> When I compile my modules using "gcc -c -O module.c -DMODULE \
> -D__KERNEL__ -o module.o" and then use insmod to
> insert the module, I get several undefined symbols.
> Why do I get the undefined symbols, and how can I resolve
> them?
> 
> Gilles
> 
> These are the errors that insmod gives.
> 
> acr.o: unresolved symbol open
> acr.o: unresolved symbol read
> acr.o: unresolved symbol select
> acr.o: unresolved symbol __xstat
> acr.o: unresolved symbol close
> acr.o: unresolved symbol write
> acr.o: unresolved symbol fcntl
> acr.o: unresolved symbol ioctl
> acr.o: unresolved symbol gettimeofday
> 

This looks more like a C program than a kernel module.  Remember there isn't
a libc winthin the kernel.

karl.

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

From: [EMAIL PROTECTED] (Rick Ellis)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.networking
Subject: Re: Multiple sockets on same port.
Date: 22 Sep 2000 21:23:24 GMT

In article <[EMAIL PROTECTED]>,
Jerome Tollet  <[EMAIL PROTECTED]> wrote:

>a)
>I would like to make two processes waiting for UDP messages on the same
>port. I used the socket option SO_REUSEADDR, but it seems that one only
>process receives the message (the other continues to sleep).

That's how it is supposed to work.  If you want two processes to get
the packet, you'll have to have one of them pass it on to the other.
Another way would be to have a process that receives the packet and sends
it to both.

--
http://www.fnet.net/~ellis/photo/linux.html

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

From: [EMAIL PROTECTED] (Rick Ellis)
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Sokets in Linux
Date: 22 Sep 2000 21:25:54 GMT

In article <[EMAIL PROTECTED]>,
Andi Kleen  <[EMAIL PROTECTED]> wrote:

>To get reliable errno you have to set errno to 0 first.

No, you just have to not use the value in errno unless you get an
indication of an error being report, i.e. -1 being returned.

--
http://www.fnet.net/~ellis/photo/linux.html

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

From: [EMAIL PROTECTED] (Kaz Kylheku)
Subject: Re: Kernel space vs User space
Reply-To: [EMAIL PROTECTED]
Date: Fri, 22 Sep 2000 21:28:15 GMT

On Fri, 22 Sep 2000 10:51:24 +0800, Nera <[EMAIL PROTECTED]> wrote:
>This is a multi-part message in MIME format.
>
>------=_NextPart_000_0074_01C02483.0DE98F60
>Content-Type: text/plain;
>       charset="big5"
>Content-Transfer-Encoding: quoted-printable
>
>Can me get more resource when running the code in kernel space other =
>than user space?

Can me avoid posting MIME and HTML to discussion newsgroups?

No, you can't get more computing resources in kernel space, and in general you
have to watch resource consumption much more in kernel code. In the kernel, the
memory allocated with kmalloc is not swappable. The resources are also not
neatly tied to some process that the operator can kill to release them. E.g.
if the kernel leaks memory, only a reboot can reclaim it.

-- 
Any hyperlinks appearing in this article were inserted by the unscrupulous
operators of a Usenet-to-web gateway, without obtaining the proper permission
of the author, who does not endorse any of the linked-to products or services.

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

From: [EMAIL PROTECTED] (Rick Ellis)
Subject: Re: how is a sleeping disk woken up?
Date: 22 Sep 2000 21:39:06 GMT

In article <8qboa4$16k$[EMAIL PROTECTED]>,
Yung-Hsiang Lu  <[EMAIL PROTECTED]> wrote:

>I am curious how a sleeping disk is woken up.  When I set the disk to
>sleep after being idle for one minute (hdparm -S 12 /dev/hda1), the
>disk will automatically wake up when necessary.  Which part of the
>kernel is responsible for this?  I checked the fs/ and drivers/block
>directories but did not find anything obvious.

First take a look in hdparm and find out what -S does.  Then you should
be able to use grep to find it in the kernel.

--
http://www.fnet.net/~ellis/photo/linux.html

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

From: [EMAIL PROTECTED] (Dave Platt)
Subject: Re: how is a sleeping disk woken up?
Date: Fri, 22 Sep 2000 22:17:40 -0000

In article <8qgjhq$58q$[EMAIL PROTECTED]>, Rick Ellis <[EMAIL PROTECTED]> wrote:
>In article <8qboa4$16k$[EMAIL PROTECTED]>,
>Yung-Hsiang Lu  <[EMAIL PROTECTED]> wrote:
>
>>I am curious how a sleeping disk is woken up.  When I set the disk to
>>sleep after being idle for one minute (hdparm -S 12 /dev/hda1), the
>>disk will automatically wake up when necessary.  Which part of the
>>kernel is responsible for this?  I checked the fs/ and drivers/block
>>directories but did not find anything obvious.
>
>First take a look in hdparm and find out what -S does.  Then you should
>be able to use grep to find it in the kernel.

If an IDE disk has an idle spindown time set, and it spins itself down
because the timer expires, it does not require a specific command to
wake it back up.  The next read or write command will cause the drive
to spin up automatically - the host doesn't notice anything other than
a much-longer-than-usual command execution time.

SCSI drives don't work this way - you have to hit them with explicit
START/STOP UNIT commands, and a SCSI drive will complain bitterly if
you try to do a READ or WRITE when it's stopped.  That's why the
SCSI-IDLE patch to the kernel is relatively invasive of the code...

-- 
Dave Platt                                           [EMAIL PROTECTED]
Visit the Jade Warrior home page:  http://www.radagast.org/jade-warrior/
  I do _not_ wish to receive unsolicited commercial email, and I will
     boycott any company which has the gall to send me such ads!

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

From: <[EMAIL PROTECTED]>
Subject: CD-RW help!
Date: Fri, 22 Sep 2000 22:30:06 -0000

okay, my IDE CD-RW is acting up.  I have an HP 9100 IDE/ATAPI.  For some 
reason, Linux refuses to recognize it.  Every so often I would be able to 
use it, but once I rebooted I couldn't anymore. I have reinstalled 
Mandrake about 15 times and even installed it from the CD-RW.  My DVD 
works just fine.  As a last resort, I tried removing 
Mandrake's "Supermount Technology" and opted to mount removable drives 
myself.  My DVD mounted OK, my zip the same, but when I went to mount my 
CD-RW,  it said "mount: The kernel does not recognize /dev/cdrom as a 
block device (maybe 'insmod driver'?)".  I also logged on as root and 
typed cdrecord -scanbus.  This was the error message I received "No such 
file or directory.  Cannot open SCSI driver."  Another observation I 
made:  whenver the CD-RW was working (the rare occasions) I would go into 
the HardDrake configuration utility and listed under the category CD-ROM 
Drives would be the following:
Toshiba SD-M1212 DVD
HP CD-Writer Plus 9100
Unknown (When I clicked on this it was identified as a SCSI device.  
Perhaps it was a driver used for SCSI emulation???)

Anyway, whenever the CD-RW didn't work, I would go into the HardDrake 
again and see the following:
Toshiba SD-M1212 DVD
HP CD-Writer Plus 9100

The unknown SCSI device disappeared.  Am I correct in my assumption that 
the unknown device was a SCSI emulator?  Is this why my CD-Writer isn't 
working?  If it is a SCSI driver, how do I reinstall it?  Thanks for 
helping me on this mind-boggling problem!

--
Posted via CNET Help.com
http://www.help.com/

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

From: "Chris Arcand" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.setup,microsoft.public.win2000.applications
Subject: Re: Installing Win98, Win2000 and Linux on one PC?!
Date: 22 Sep 2000 23:17:14 GMT

Oh, and I want 98 so that I can play games on it.

Chris

"Chris Arcand" <[EMAIL PROTECTED]> wrote in message
news:8qgp6t$9ci$[EMAIL PROTECTED]...
> Can install W2K with 98 and Linux already installed?  I'm a comp sci
student
> who wants to use linux for programing, but can't find a c++ program for
> linux(Have one for Java) and I want something more stabel than 98 to
program
> in.
>
> Chris
>
> "Rootman" <[EMAIL PROTECTED]> wrote in message
> news:8qdmap$fvb$[EMAIL PROTECTED]...
> > I've been ignoring this thread but thought I'd chime in.  I have almost
> > what you want setup on my PC, I have WIn 95, Win2k, Win ME and Linux
> > all running on the same box and able to multiboot.  I also have Windows
> > 98 running under the Linux box using Win4Lin.  Before you ask I am an
> > IT professional and need to support all these platforms - thats why I
> > need them all.
> >
> > Some hints:
> >
> > You should make 2 primary partitions, one for Win 98 and one for Win
> > 2k.  This is not possible using DOS fdisk, you can do it using the
> > most recent Freedos version of Fdisk ( FREE http://www.freedos.org/ ),
> > Partition Magic ( COMMERCIAL http://www.powerquest.com/ )or Ranish
> > Partition Manager ( FREE http://www.users.intercom.com/~ranish/part/ )
> > Don't worry if anything complains about this just make 2 NON hidden
> > PRIMARY FAT32 partitions, activate the first one. I suggest make them 2
> > or 3 gigs.  Format them both as FAT32.
> >
> > Install Windows 98 on the first partition.
> >
> > Get this application XOSL ( FREE http://www.xosl.org/ ) , it is one of
> > the best multiboot loaders out there. I've been having problems getting
> > to this site but keep trying - it is EXCELLANT.
> >
> > Use fdisk or Partition Magic to make the 2nd primary partition active,
> > this will swap the drive letter, the first primary becomes D: and the
> > second C:. Reboot with the WIN 2K install disk.  Be sure to install it
> > on the C: drive which the second primary partition has now become.
> >
> > Use FDISk or Pmagic and make the FIRST primary partition active again.
> >  Boot to a COMMAND PROMPT ONLY is Windows 98 by stabbing the F8 key to
> > bring the menu up when the PC first boots. Now install XOSL and reboot.
> > When it comes up go to SETUP and ADD your 2 OS's.  It is fairly easy to
> > figure out so I won't go in to it here.
> >
> > After you get XOSL working reboot to the Linux CD or Install disk and
> > install Linux to a portion of the remaining HD.  Make the partition the
> > size you want.  When it comes time to set up LILO tell it to put it in
> > the FIRST SECTOR of the PARTITION and NOT the MBR.  Reboot and add
> > Linux to the XOSL menu.  You are in effect passing the boot from XOSL
> > to LILO to make Linux boot.
> >
> > Now for the rest of the disk.  I would go ahead and make it all one big
> > partition, Linux can easily read FAT32 and so can 98 and 2k, so why
> > chop it up any more than you have to?  Use FDISK, PMAGIC or Linux to
> > make it so.
> >
> > Good luck :)
> >
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
> >   Shicheng <[EMAIL PROTECTED]> wrote:
> > > Hello there,
> > > We would like to install Win98, Win2000 and linux (redhat 6.0)
> > > three OSs onto our PC. The PC has a 30 GB hard disk, 128 MB memory
> > > and a 700 MHz CPU.
> > >
> > > We would like to have the above three OSs installed; after the
> > > installation, we could select one of the three OSs during the boot
> > time,
> > > otherwise, the PC will be booted automatically to the default
> > > OS (Win 2000 is the default one). Each OS would use one partition,
> > > so the three OSs would need three partitions.
> > > Apart from these three OS partitions, we may also need to create
> > > two more partitions using the remaining space of the disk:
> > > one such a partition would be for the storage of linux's data and the
> > > other one would be for the data storage for both the Win98 and
> > Win2000
> > > OSs; so the last data partition needs to be seen by both the 98 and
> > the
> > > 2000 OSs.
> > >
> > > We would be grateful you could give us some advice on the above.
> > >
> > > Thanks,
> > >
> > > Shicheng
> > >
> > > Sent via Deja.com http://www.deja.com/
> > > Before you buy.
> > >
> >
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
>
>



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

From: "Chris Arcand" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.setup,microsoft.public.win2000.applications
Subject: Re: Installing Win98, Win2000 and Linux on one PC?!
Date: 22 Sep 2000 23:15:41 GMT

Can install W2K with 98 and Linux already installed?  I'm a comp sci student
who wants to use linux for programing, but can't find a c++ program for
linux(Have one for Java) and I want something more stabel than 98 to program
in.

Chris

"Rootman" <[EMAIL PROTECTED]> wrote in message
news:8qdmap$fvb$[EMAIL PROTECTED]...
> I've been ignoring this thread but thought I'd chime in.  I have almost
> what you want setup on my PC, I have WIn 95, Win2k, Win ME and Linux
> all running on the same box and able to multiboot.  I also have Windows
> 98 running under the Linux box using Win4Lin.  Before you ask I am an
> IT professional and need to support all these platforms - thats why I
> need them all.
>
> Some hints:
>
> You should make 2 primary partitions, one for Win 98 and one for Win
> 2k.  This is not possible using DOS fdisk, you can do it using the
> most recent Freedos version of Fdisk ( FREE http://www.freedos.org/ ),
> Partition Magic ( COMMERCIAL http://www.powerquest.com/ )or Ranish
> Partition Manager ( FREE http://www.users.intercom.com/~ranish/part/ )
> Don't worry if anything complains about this just make 2 NON hidden
> PRIMARY FAT32 partitions, activate the first one. I suggest make them 2
> or 3 gigs.  Format them both as FAT32.
>
> Install Windows 98 on the first partition.
>
> Get this application XOSL ( FREE http://www.xosl.org/ ) , it is one of
> the best multiboot loaders out there. I've been having problems getting
> to this site but keep trying - it is EXCELLANT.
>
> Use fdisk or Partition Magic to make the 2nd primary partition active,
> this will swap the drive letter, the first primary becomes D: and the
> second C:. Reboot with the WIN 2K install disk.  Be sure to install it
> on the C: drive which the second primary partition has now become.
>
> Use FDISk or Pmagic and make the FIRST primary partition active again.
>  Boot to a COMMAND PROMPT ONLY is Windows 98 by stabbing the F8 key to
> bring the menu up when the PC first boots. Now install XOSL and reboot.
> When it comes up go to SETUP and ADD your 2 OS's.  It is fairly easy to
> figure out so I won't go in to it here.
>
> After you get XOSL working reboot to the Linux CD or Install disk and
> install Linux to a portion of the remaining HD.  Make the partition the
> size you want.  When it comes time to set up LILO tell it to put it in
> the FIRST SECTOR of the PARTITION and NOT the MBR.  Reboot and add
> Linux to the XOSL menu.  You are in effect passing the boot from XOSL
> to LILO to make Linux boot.
>
> Now for the rest of the disk.  I would go ahead and make it all one big
> partition, Linux can easily read FAT32 and so can 98 and 2k, so why
> chop it up any more than you have to?  Use FDISK, PMAGIC or Linux to
> make it so.
>
> Good luck :)
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>   Shicheng <[EMAIL PROTECTED]> wrote:
> > Hello there,
> > We would like to install Win98, Win2000 and linux (redhat 6.0)
> > three OSs onto our PC. The PC has a 30 GB hard disk, 128 MB memory
> > and a 700 MHz CPU.
> >
> > We would like to have the above three OSs installed; after the
> > installation, we could select one of the three OSs during the boot
> time,
> > otherwise, the PC will be booted automatically to the default
> > OS (Win 2000 is the default one). Each OS would use one partition,
> > so the three OSs would need three partitions.
> > Apart from these three OS partitions, we may also need to create
> > two more partitions using the remaining space of the disk:
> > one such a partition would be for the storage of linux's data and the
> > other one would be for the data storage for both the Win98 and
> Win2000
> > OSs; so the last data partition needs to be seen by both the 98 and
> the
> > 2000 OSs.
> >
> > We would be grateful you could give us some advice on the above.
> >
> > Thanks,
> >
> > Shicheng
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
> >
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.



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

From: Bob Barker <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.setup,microsoft.public.win2000.applications
Subject: Re: Installing Win98, Win2000 and Linux on one PC?!
Date: Sat, 23 Sep 2000 00:03:44 GMT

every linux distro has a c++ compiler packaged with it.  you may just
have to install it...g++ comes to mind immediately..

On 22 Sep 2000 23:15:41 GMT, "Chris Arcand" <[EMAIL PROTECTED]>
wrote:

>Can install W2K with 98 and Linux already installed?  I'm a comp sci student
>who wants to use linux for programing, but can't find a c++ program for
>linux(Have one for Java) and I want something more stabel than 98 to program
>in.
>
>Chris
>
>"Rootman" <[EMAIL PROTECTED]> wrote in message
>news:8qdmap$fvb$[EMAIL PROTECTED]...
>> I've been ignoring this thread but thought I'd chime in.  I have almost
>> what you want setup on my PC, I have WIn 95, Win2k, Win ME and Linux
>> all running on the same box and able to multiboot.  I also have Windows
>> 98 running under the Linux box using Win4Lin.  Before you ask I am an
>> IT professional and need to support all these platforms - thats why I
>> need them all.
>>
>> Some hints:
>>
>> You should make 2 primary partitions, one for Win 98 and one for Win
>> 2k.  This is not possible using DOS fdisk, you can do it using the
>> most recent Freedos version of Fdisk ( FREE http://www.freedos.org/ ),
>> Partition Magic ( COMMERCIAL http://www.powerquest.com/ )or Ranish
>> Partition Manager ( FREE http://www.users.intercom.com/~ranish/part/ )
>> Don't worry if anything complains about this just make 2 NON hidden
>> PRIMARY FAT32 partitions, activate the first one. I suggest make them 2
>> or 3 gigs.  Format them both as FAT32.
>>
>> Install Windows 98 on the first partition.
>>
>> Get this application XOSL ( FREE http://www.xosl.org/ ) , it is one of
>> the best multiboot loaders out there. I've been having problems getting
>> to this site but keep trying - it is EXCELLANT.
>>
>> Use fdisk or Partition Magic to make the 2nd primary partition active,
>> this will swap the drive letter, the first primary becomes D: and the
>> second C:. Reboot with the WIN 2K install disk.  Be sure to install it
>> on the C: drive which the second primary partition has now become.
>>
>> Use FDISk or Pmagic and make the FIRST primary partition active again.
>>  Boot to a COMMAND PROMPT ONLY is Windows 98 by stabbing the F8 key to
>> bring the menu up when the PC first boots. Now install XOSL and reboot.
>> When it comes up go to SETUP and ADD your 2 OS's.  It is fairly easy to
>> figure out so I won't go in to it here.
>>
>> After you get XOSL working reboot to the Linux CD or Install disk and
>> install Linux to a portion of the remaining HD.  Make the partition the
>> size you want.  When it comes time to set up LILO tell it to put it in
>> the FIRST SECTOR of the PARTITION and NOT the MBR.  Reboot and add
>> Linux to the XOSL menu.  You are in effect passing the boot from XOSL
>> to LILO to make Linux boot.
>>
>> Now for the rest of the disk.  I would go ahead and make it all one big
>> partition, Linux can easily read FAT32 and so can 98 and 2k, so why
>> chop it up any more than you have to?  Use FDISK, PMAGIC or Linux to
>> make it so.
>>
>> Good luck :)
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>>   Shicheng <[EMAIL PROTECTED]> wrote:
>> > Hello there,
>> > We would like to install Win98, Win2000 and linux (redhat 6.0)
>> > three OSs onto our PC. The PC has a 30 GB hard disk, 128 MB memory
>> > and a 700 MHz CPU.
>> >
>> > We would like to have the above three OSs installed; after the
>> > installation, we could select one of the three OSs during the boot
>> time,
>> > otherwise, the PC will be booted automatically to the default
>> > OS (Win 2000 is the default one). Each OS would use one partition,
>> > so the three OSs would need three partitions.
>> > Apart from these three OS partitions, we may also need to create
>> > two more partitions using the remaining space of the disk:
>> > one such a partition would be for the storage of linux's data and the
>> > other one would be for the data storage for both the Win98 and
>> Win2000
>> > OSs; so the last data partition needs to be seen by both the 98 and
>> the
>> > 2000 OSs.
>> >
>> > We would be grateful you could give us some advice on the above.
>> >
>> > Thanks,
>> >
>> > Shicheng
>> >
>> > Sent via Deja.com http://www.deja.com/
>> > Before you buy.
>> >
>>
>>
>> Sent via Deja.com http://www.deja.com/
>> Before you buy.
>


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


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