Linux-Development-Sys Digest #659, Volume #7      Tue, 7 Mar 00 16:13:18 EST

Contents:
  UCE (Like UMsDos) ??? (=?ISO-8859-1?Q?Tim_Gahnstr=F6m?=)
  how mmap realy works (liran)
  Re: Recompiled Kernel W/SMP support (Jan Just Keijser)
  Re: Device Driver Developer Wanted (Atle)
  Re: source for ls? ("Mark Tranchant")
  Re: Device Driver Developer Wanted (Atle)
  Re: Help!  app lock up upon entry - shared libraries suspected (Sten)
  Re: Which Package? (Grant Edwards)
  howto make floppy with ext2 sf bootable? ("Dimitry Katkov")
  Re: howto make floppy with ext2 sf bootable? (Fabrice Peix)
  External symbols and kernel modules ... (Thomas Galla)
  Re: how mmap realy works (Alan Donovan)
  linux, promise ultra 66, ide over 32 GB, nfs unstable (Hubert Preissl)
  Problem with communication module ([EMAIL PROTECTED])
  Re: howto make floppy with ext2 sf bootable? (Dr H. T. Leung)
  How to write wan device driver? ("Alan")
  Swapping HDs... how best to do it? ("Paul D. Smith")
  How can I map kernel space to user space ?? (Kevin Shao)
  Large File Support (Jeremy Weinberger)
  Re: How can I map kernel space to user space ?? (Fabrice Peix)
  Re: Linux or Windows ("Dark")

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

From: =?ISO-8859-1?Q?Tim_Gahnstr=F6m?= <[EMAIL PROTECTED]>
Subject: UCE (Like UMsDos) ???
Date: Tue, 7 Mar 2000 15:26:47 +0100

I am not sure this is the right group.. but it seemed good.

There is several linux distributions that run on your dos/win partiotion
in an UMSDOS system.

This is good... it is easy to instal and works okey.

wouldnt it be nice with an UCE where Linux run on a Windows CE machine.
Ther is alot of people trying to install Linux on their ce machines
(sometimes with sucess).

But I think most people actually would do great with pcket word and pocket
exel but they might just need one or a few porgrams from their Linux
enviroment, then it would be perfekt just to instal UCE like any other
program.

Anyone have had any thoughts in this direction?
Is it posible?~


Tim
Ps
I hope someone could figure out what I ment...
My english really sucks :-( 



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

From: liran <[EMAIL PROTECTED]>
Subject: how mmap realy works
Date: Tue, 07 Mar 2000 06:48:03 -0800

Hi,
i wonder lately how the mmap method realy works.
it seems that there is full synchronization between the
file that have been mapped and the memory,but actuly it
doesnt make sense that each approach to the memory will
make some kind of interrupt to flush the memory to the
storage device,where the file seats.
any one can help me with that?
any one knows where the code that responsible for that
(espacialy the synchronization part)?

thanks Liran.


* Sent from AltaVista http://www.altavista.com Where you can also find related Web 
Pages, Images, Audios, Videos, News, and Shopping.  Smart is Beautiful

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

From: [EMAIL PROTECTED] (Jan Just Keijser)
Subject: Re: Recompiled Kernel W/SMP support
Date: Tue, 07 Mar 2000 15:07:45 GMT

In article <8a1eis$h9d$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
>I have recompiled the kernel with SMP support enabled (I have a 2 PIII
>600's), and when I try and boot from the new kernel I get the following
>error:
>
>Loading aic7xxx module
>/lib/aic7xxx.o: kernel-module version mismatch
>        /lib/aic7xxx.o was compiled for kernel version 2.2.12-20smp
>        while this kernel is version 2.2.12-20.
>
>
>it then panics because it can't find the root file system.
>
>
>I did the following to make the kernel:
>
>cd /usr/src/linux
>make distclean
>make menuconfig
>   -> Enabled SMP
>make dep
>make bzImage modules modules_install
>cp /usr/src/linux/arch/i386/boot/bzImage /boot/linux.test

you're using a SCSI controller right? you forgot to create a new ram disk with 
the new SMP modules on em (I did the exact same thing when I compiled a 
2.2.14smp kernel on my RH 6.1 box).

After 
  make modules_install
do a
  mkinitrd /boot/initrd-2.2.12smp.img 2.2.12smp
and update your /etc/lilo.conf file accordingly.

HTH,

JJ

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

From: Atle <[EMAIL PROTECTED]>
Subject: Re: Device Driver Developer Wanted
Date: Mon, 06 Mar 2000 18:13:29 +0100

Brian wrote:
> 
> I have an exceptional opportunity for someone who has experience with
> Unix or Linux display driver development.
> 
> This is a "WORK FROM HOME" full time position with my client, which is a
> leading Software Company
> specializing in the development of device drivers.

I am probably not the most experienced device driver writer, but I am an
experienced programmer from all kinds of fileds. I could do it ....
I have been programming micros since 1985 ...

Atle

[EMAIL PROTECTED]
+32 7187 5426

Jan Atle Ramsli
Rue De Strichon 4
B-1495 Tilly
Belgium

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

From: "Mark Tranchant" <[EMAIL PROTECTED]>
Subject: Re: source for ls?
Date: Tue, 7 Mar 2000 14:55:58 -0000

Brian Chin wrote:
>
> Does anyone out there know where I could get my hands on the source for
> ls? Found utils-linux, but it wasn't in there. Is there something I
> don't know? TIA

Go to www.gnu.org and pick up the fileutils tarball.

Mark.



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

From: Atle <[EMAIL PROTECTED]>
Subject: Re: Device Driver Developer Wanted
Date: Mon, 06 Mar 2000 18:18:21 +0100

Atle wrote:
BRAINDAMAGE on my part! That was a 'Reply to sender only item' Sorry!
Please delete!

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

Subject: Re: Help!  app lock up upon entry - shared libraries suspected
From: [EMAIL PROTECTED] (Sten)
Date: Tue, 07 Mar 2000 15:42:30 GMT


Well, it looks like the culprit was shared libraries across a symbolic 
link.  Once I moved /usr/lib back to /usr, everything started working 
again.

Q: Why is this a problem?  Shared libraries can't be loaded across sym-
links, why not?  I feel they should be.

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

From: grant@nowhere. (Grant Edwards)
Crossposted-To: comp.os.linux,comp.os.linux.development
Subject: Re: Which Package?
Date: Tue, 07 Mar 2000 15:27:18 GMT

>    1.  How much like UNIX is Linux?  If I use Linux on a regular
>    basis will it be just like being on a Sun or HP box in
>    functionality?

Depends.  Without any futzing around, things will be pretty
similar.  If you're like me, you'll set it up so it's damn-near
identical.  If you set up the sun or hp box to use bash, gcc,
the same window manager as your Linxu box, and all of the
important gnu utilities (grep, tar, etc.), the same editor
(jed), mail reader (mutt), news reader (slrn), and so on, then
you'll not notice the difference.

>    2.  I have a dual CPU and I'd like Linux to take advantage of
>    it.  Does it?

Some distributions install a kernel with SMP disabled by
default.  You might have to rebuild the kernel to enable SMP
(that's not as hard as it sounds).

>    3.  Which Linux package is best for me to buy?  

I generally recommend to people that the start out with the same
distribution as whoever their likely to ask for help.  If you
know somebody willing to answer Linux questions and he runs
RedHat, then install RedHat.

>I like systems programming, so that's what I plan on doing with
>Linux.  Which package comes with the best add-on tools for sys
>prog?

The programming tools are all pretty much the same.  I'd start
with applications programming first though.  Once you're
comfortable with the environment, then tackle systems stuff.

>    4.  I want to have Linux and NT share the same box, which
>    package has the best Multi-boot integrator for sharing with NT?

I've never had problems using LILO (the boot manager that comes
with most Linux systems) to dual-boot NT and Linux.  It's
easiest if NT is installed first, then Linux.

-- 
Grant Edwards                   grante             Yow!  HERE!! Put THIS
                                  at               on!! I'm in CHARGE!!
                               visi.com            

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

From: "Dimitry Katkov" <[EMAIL PROTECTED]>
Subject: howto make floppy with ext2 sf bootable?
Date: Tue, 7 Mar 2000 17:34:05 +0200

Hi all.
I am running Linux from floppy that has ext2 filesystem on it. Currently I
am booting kernel from another floppy.
How can I boot linux from floppy that contains / filesystem?

Thanks,
Dimitry.



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

From: Fabrice Peix <[EMAIL PROTECTED]>
Subject: Re: howto make floppy with ext2 sf bootable?
Date: Tue, 07 Mar 2000 17:25:54 +0100

Dimitry Katkov wrote:
> 
> Hi all.
> I am running Linux from floppy that has ext2 filesystem on it. Currently I
> am booting kernel from another floppy.
> How can I boot linux from floppy that contains / filesystem?
> 
> Thanks,
> Dimitry.
You  can install lilo on the floppy.

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

From: Thomas Galla <[EMAIL PROTECTED]>
Subject: External symbols and kernel modules ...
Date: Tue, 07 Mar 2000 17:59:52 +0100

Hello!
   
First of all sorry for bothering you with this stuff, but I didn't
find any other place where this could possibly fit ...

I'm currently working on a kernel module consisting of two source
modules. Hereby one of the source modules (let's call it ipcodes.c)
exports a global variable (const char * ipcode[]), which is used in the
other module (let's call it main.c).

I'm currently having trouble defining the global variable (ipcode) in
a way, that it is visible to the other source module (main.c) but not
to the rest of the kernel?

Anybody got a hint how to achieve this behavior? - Or is it in general
impossible to prevent that variables/functions that are exported
(i.e., not declared as static) by (a source module of) a kernel module
are visible to the rest of the kernel?

Thanks in advance,

        Tom.
-- 
 Thomas M. Galla                                     fax:+43 (1)
5869149  
 Real-Time Systems Group                       voice:+43 (1)
58801-18215      
 Vienna University of Technology          
mailto:[EMAIL PROTECTED]      
 A-1040 Wien, Treitlstr. 3/3/182-1    http://www.vmars.tuwien.ac.at/~tom 
=========================================================================
 Real programmers can write assembly code in any language.  [Larry Wall]

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

From: Alan Donovan <[EMAIL PROTECTED]>
Subject: Re: how mmap realy works
Date: Tue, 07 Mar 2000 17:34:49 +0000

liran wrote:

> i wonder lately how the mmap method realy works.
> it seems that there is full synchronization between the
> file that have been mapped and the memory,but actuly it
> doesnt make sense that each approach to the memory will
> make some kind of interrupt to flush the memory to the
> storage device,where the file seats.
> any one can help me with that?
> any one knows where the code that responsible for that
> (espacialy the synchronization part)?


mmap maps part of a file into the virtual address space. Page faults
generated by memory accesses into the map region cause the kernel's
paging code to load the appropriate pages from the file into memory.

It's exactly the same mechanism used to demand-load executables: you
mmap them, start them off, and then instruction fetches will load pages
in as required. The pages are read-only, so they never need writing back
to disk.

Therefore the same flushing applies as does to all virtual memory: when
a physical page is required, an existing physical page is selected (by
some algorithm) to be written over. If the page is dirty, it is written
out to disk first.

Any dirty page not written to disk within 30 seconds is flushed out by
the special process bdflush.

alan


-- 
========================================================================
  Alan Donovan     [EMAIL PROTECTED]    http://www.imerge.co.uk
  Imerge Ltd.      +44 1223 875265

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

From: Hubert Preissl <[EMAIL PROTECTED]>
Subject: linux, promise ultra 66, ide over 32 GB, nfs unstable
Date: 7 Mar 2000 17:25:15 GMT

i am using a linux dataserver, with the promise ultra 66, i had 5 ide 20 GB installed 
and used the developer kernel 2.3.18. the machine is mainly used as nfs server. this 
setup worked okay. i now installed to ibm disks larger 32 GB.
now started the trouble:
i went to developer kernel 2.3.48. the machine worked. but sometimes it simple stops 
with a kernel bug, because it stated nmbd, i disabled samba, now the machine works 
several hours, but then rps.nfsd dies, it could be restartde and the system seems to 
work okay.

my question is now wether one has a stable kernel and patch configuration for such a 
system. i tried to use 2.2.14, but it does not supprt the promise ultra. and i did not 
find the approbiate patch, but looking in the newsgroup i did not get the impression, 
that this is more stable.

any suggestions are wellcome,

hubert preissl

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

From: [EMAIL PROTECTED]
Subject: Problem with communication module
Date: Tue, 07 Mar 2000 19:21:57 +0200

Hi 
I am trying to write a basic module-based sniffer.
I have done so by replacing the system's sys_socketcall with my own
function, and looking at the arguments for the SYS_SEND and SYS_RECV
calls.
all is working fine for a simple test application that i wrote that
opens port 6666 on two machines and send data both direction. i could
see everything passing through.
however, when i use a remote machine to log into the machine into the
telnet port, i for some reason do not see the send and recv commands. 
I did manage to catch some of the calls for this socket, which were:
getpeername, getsockname, getsockopt and setsockopt
and after that - nothing !!! :(
when running the module on the client side i did see everything.

what is so unusual about inetd's sockets that manage somehow to bypass
the sys_socketcall mechanism ???

any comments will be greatly appreciated

Hilik

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

From: [EMAIL PROTECTED] (Dr H. T. Leung)
Subject: Re: howto make floppy with ext2 sf bootable?
Date: 7 Mar 2000 18:31:23 GMT


Actually I think in the kernel source tree under /usr/src/linux/documentation
there is one particular document about how to make such a boot disc (it is
probably named "bootdisk.txt" or something obvious). Basically
you arrange to have the compressed kernel at the beginning of the floppy like
usual, but have a compressed root-disc ramdisk image following it right after. 
and it involves using "rdev" with some options to tell the kernel image that
the root filesystem is right after on the same disk rather than on a separate
floppy. 

Do a "grep -l -i 'rdev' *" under linux/documentation to see which file it is. But
then, such a thing would have less use, just because of space limitations. (I
mean, the compressed kernel itself takes up 30-40% of the space on a
floppy already).

In fact my memory might be playing tricks on me about where that document is.... 
it might be another location: there is definitely a "BOOTDISK-Howto" in 
LDP, so have a look under /usr/doc/LDP/HOWTO also... 

In article <[EMAIL PROTECTED]>, Fabrice Peix <[EMAIL PROTECTED]> writes:
|> Dimitry Katkov wrote:
|> > 
|> > Hi all.
|> > I am running Linux from floppy that has ext2 filesystem on it. Currently I
|> > am booting kernel from another floppy.
|> > How can I boot linux from floppy that contains / filesystem?
|> > 
|> > Thanks,
|> > Dimitry.
|> You  can install lilo on the floppy.
-- 
          --------------------------------------------------
"What you don't care cannot hurt you."            Chap. 7a, AMS-NS

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

From: "Alan" <[EMAIL PROTECTED]>
Subject: How to write wan device driver?
Date: Tue, 7 Mar 2000 23:27:37 +0800

Where can I found the book or "How to" about wan driver like as x.25, hdlc,
frame relay etc.,?


Thanks




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

From: "Paul D. Smith" <[EMAIL PROTECTED]>
Subject: Swapping HDs... how best to do it?
Date: 07 Mar 2000 15:15:08 -0500
Reply-To: [EMAIL PROTECTED]

So... I have this crusty old 2G drive that contains all my Linux
partitions.

It's getting stuffy on there, and really, HD space is _so_ cheap, so I
went out and got a new 15G HD.

Now I want to put my current Linux install on the new disk and get rid
of the old one (it's 4 years old or so, and I don't really have the
slots to keep it around anyway).

However, I'm using Debian and so of course, my CD's are Debian 2.1 which
is about a year old now :-/.  My on-disk version is pretty recent potato
(frozen), updated semi-regularly over the last year.  But, I don't want
to re-download everything since my connection is a measly 28.8 (don't
blame my modem, blame my phone company--Bell Atlantic sucks boulders
through straws :-/).

Also, I don't have time to wait for the Debian 2.2 release on CD,
although that'd probably be my preference all things being equal... but
who knows when it'll be ready :).  (Anyone selling fairly recent Debian
potato CD's?)

So.  Anyone have hints as to how to move an entire distro from one disk
to another?  Can I just partition the new disk, then dd the old
partitions, even though the new ones are going to be larger?  I didn't
think you could do that...

I'm really mainly concerned about the root partition; everything else is
just normal files and tar should move 'em without trouble (am I missing
anything?).

For example I worry that tar won't copy things like the /dev files
correctly, even if I booted into a single-user mode where /proc didn't
exist (or used some other method to avoid tar'ing it).

One thought I had was to create a Linux install on the new disk using
my Debian 2.1 disks, then copy all the "basics" (everything but /dev and
/proc?) with tar to update the system.  Seems a bit dangerous though.

Other ideas?  Am I missing something?

-- 
===============================================================================
 Paul D. Smith <[EMAIL PROTECTED]>         Network Management Development
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
===============================================================================
   These are my opinions---Nortel Networks takes no responsibility for them.

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

From: Kevin Shao <[EMAIL PROTECTED]>
Subject: How can I map kernel space to user space ??
Date: Tue, 07 Mar 2000 15:15:15 -0500

Is there any way to map kernel space (which is allocated in the driver)
to user space, or vice versa, so that both driver and the application
can simultaneously access to the same buffer ?

Kevin

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

From: Jeremy Weinberger <[EMAIL PROTECTED]>
Crossposted-To: nwu.comp.unix.linux,comp.os.linux.misc
Subject: Large File Support
Date: Tue, 07 Mar 2000 14:20:31 -0600

Is there any method currently available to support files about 2.1GB on
linux? This appears to be a 32-bit limitation in ext2. At one point,
there as a LFS project, but it does not appear to be active anymore. Is
there a development version of ext or other experimental fs that
supports very large files?

Thanks,
jeremy

=================
Jeremy Weinberger    [EMAIL PROTECTED]     http://isp.nwu.edu/~jeremy
iCAIR 1890 Maple, Suite 150 Evanston, IL USA
Voice: 847-491-4054 Fax: 847-467-7885 Pager: 847-225-1227
"You have no respect for excessive authority or obsolete
traditions! You're dangerous and depraved and you ought to
be taken outside and shot!"

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

From: Fabrice Peix <[EMAIL PROTECTED]>
Subject: Re: How can I map kernel space to user space ??
Date: Tue, 07 Mar 2000 21:41:58 +0100

Kevin Shao wrote:
> 
> Is there any way to map kernel space (which is allocated in the driver)
> to user space, or vice versa, so that both driver and the application
> can simultaneously access to the same buffer ?
> 
> Kevin
For kernel 2.2.x I think is not possible for 2.3.x i think the same
thing but i am not sure...

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

From: "Dark" <[EMAIL PROTECTED]>
Crossposted-To: 3dfx.linux.apps.other
Subject: Re: Linux or Windows
Date: Tue, 7 Mar 2000 16:12:32 -0500


>I too am a new  linux user and i have to say i LOVE it now that i finally
got it online since i had a crappy winmodem i couldnt connect right away but
now its up and i love it the only reason i boot windows anymore is for
graphics programs i have a 2 gb hd that i run both linuk and windows on and
use a boot disk for winblows ooops i mean windows
ps how do i get the menu @ boot time?



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


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