Linux-Development-Sys Digest #396, Volume #6 Fri, 12 Feb 99 13:14:01 EST
Contents:
Re: net-pf-17 ? (Peter Samuelson)
Re: Linux destroyed my DOS Filesystem (Highbit)
Re: Why I'm dumping Linux, going back to Windblows (david parsons)
Windows NT|2000 Linux 2.2 port (was Linux apps in win2000 port news!) ("Andrew van
der Stock")
Re: Will 2.2.x support removable medias better? (Bennett Todd)
Re: LFS Development (Emile van Bergen)
Re: Linux begginer's questions (Konrad Mierendorff)
net-pf-17 ? (Markus Schutz)
Re: LYNX Benchmarking Commands (Richard Steiner)
Help : Time Measurement (Ja~nez Fernandez, Ruben)
threads (Du Jinsong)
Re: Regarding the Embedded Linux Kernal Subset (ELKS) (Gordon Scott)
Re: SMP Support (Mark Tranchant)
GDB/GnuPro and HTTPD debugging ("D. Emilio Grimaldo Tunon")
TCP port number and process (ndrianina)
Re: Internal PCI modem (Julian Robert Yon)
Re: linux-2.2.1 swapper oops on Alpha (Pierre Asselin)
Re: Will 2.2.x support removable medias better? (Karl Heyes)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Peter Samuelson)
Subject: Re: net-pf-17 ?
Date: 11 Feb 1999 18:31:14 -0600
Reply-To: Peter Samuelson <[EMAIL PROTECTED]>
[Johan Kullstam <[EMAIL PROTECTED]>]
> although this is so obscure as to be laughable. how do you get from
> net-pf-* to AF_*? i guess the only thing left is to grep for 17...
Confession: this is actually what I did. I didn't know the answer but
I did know that it would be in the kernel include files somewhere.
Yes, it might be obscure, but I wouldn't say it's hard to find -- it
took maybe three and a half minutes. Including what I tried first,
grepping for 0x11.
--
Peter Samuelson
<sampo.creighton.edu!psamuels>
------------------------------
From: Highbit <[EMAIL PROTECTED]>
Subject: Re: Linux destroyed my DOS Filesystem
Date: 12 Feb 1999 01:00:18 GMT
M Sweger <[EMAIL PROTECTED]> wrote:
: Andreas Mohr ([EMAIL PROTECTED]) wrote:
: : Hubertus Kehl ([EMAIL PROTECTED]) wrote:
: : > Linux destroyed my DOS Filesystem
: : > It happened to me the second time. Linux destroyed my mounted DOS
: : > C-Drive.
: : > My System configuration is: K6-2-333, NCR 810 SCSI Controller, Kernel
: : > 2.0.36
: This kinda happened to me on 2.2.1 using umsdos on an 2940U2W AIC7895
: chipset just last night. All of a sudden I had a corrupted directory
: with FAT errors only in the /usr/src/GCC where I was building files.
: Even after rebooting and the system ummsyncing it still had the same problem.
: I then booted into DOS and ran c:\dos\scandisk to repair the system aand
: it had lost clusters, invalid filesizes or structure, multiply linked
: clusters. After some fixing, and deleting of directories and files
: by scandisk since it couldn't repair some of it, I ran c:\dos\defrag
: but eventually to would crash saying internal error #2, that I had to
: run defrag /skiphigh. I ran with /skiphigh but then defrag complains that
: it has insufficient conventional memory ( I have 128megs). In the meantime,
: I had to rerun scandisk to repair and delete some more files again. I kept
: doing this until defrag optimized all the clusters and then crashed on the
: last one. I can't do anything about this anymore. Now I probaly have nothing
: left of my linux system due to all the deletes by scandisk since it can't
: repair some of them.
: Note: My doslinux is running on logical partition sda6 (drive e:), whereas,
: the dos operating system is on physical drive c:\ sda1 partition which wasn't
:mounted - only sda6 was for doslinux to run.
: Well, time to reinstall doslinux if it doesn't boot.
: Mike
same thing here, /dev/sda1 was a fat32 drive, i was unrar'ing a 500 some meg
file, left it to go to work (was being copied thru the loop device), came
back to see linux barfing out, and the /dev/sda1 partition filled with
random garbage (at least the first few meg of it).
it was SO buggered, i had to format it and then norton unformat it,
then norton DD it.
--
--
Mark Duguid Saskatoon, Saskatchewan [EMAIL PROTECTED]
Timesharing: An access method whereby one computer abuses many people
------------------------------
From: o r c @ p e l l . p o r t l a n d . o r . u s (david parsons)
Crossposted-To: alt.os.linux,comp.os.linux.development.apps,comp.os.linux.setup
Subject: Re: Why I'm dumping Linux, going back to Windblows
Date: 11 Feb 1999 18:07:12 -0800
In article <z%st2.374$[EMAIL PROTECTED]>,
Paul E. Lehmann <[EMAIL PROTECTED]> wrote:
>You can get all the Unix utilities and even run a Korn shell in NT by using
>software such as MKS Toolkit
>Why put up with the pain of Unix or Linux when you can have all the
>so-called advantages and a hell of a lot friendlier user environment and a
>hell of a lot more versatile environment. Pearl, sed, awk, grep, vi -
>piping, redirection - they are all there without the Nerdy Unix environment.
Huh? Some people make the argument that the existance of those
applications is exactly why Unix is a "nerdy environment." and,
in any case, taking the bits that people like least about Unix
and combining them with the bits that people like least about
Windows doesn't seem like it's going to be a winner unless you're
a Unix developer who's being forced to use NT.
>Sorry folks - Unix and Linux are about 20 years behind times and will NEVER
>catch up.
I dunno about that. Microsoft seems to be getting fairly unsteady,
and unless they're rescued by being broken up, they may be about to
take a dive. Unix, even if you include the window-ish branches
(Linux, in case you're wondering) aren't nearly as diffuse as
Microsoft is getting.
____
david parsons \bi/ 35 million lines of code and no mass peer review.
\/ Even in the best of circumstances this is a worrying
thought.
------------------------------
From: "Andrew van der Stock" <[EMAIL PROTECTED]>
Subject: Windows NT|2000 Linux 2.2 port (was Linux apps in win2000 port news!)
Date: Fri, 12 Feb 1999 14:46:46 +1100
For about two months, I've been busy working away at the possibility of a
native NT microkernel version of a Linux server. It's definitely doable. I'm
collecting information at the moment. I was sort of hoping until I had some
code (typical bizarre project style), but since Interix have beat the OSS
community to the punch, I may as well announce it now.
I'm looking at making the linux server (subsystem) at least passingly
similar to the current 2.2 tree, so that changes could be merged in there
closer . The goal obviously is to run native Linux x86 and Alpha binaries
(depending on platform) without recompilation.
My current idea is for a %windir%\linux\... tree that contains a vmlinux.exe
and the standard linux file system standard and enough stuff to launch bash.
Once launched, the server launches linux images as normal. A
modification/complete re-write of umsdos would provide the file system (or
maybe just use ext2fs until this is a bit more of a reality). By making a
directX fbconsole layer, we could re-use the frame buffer console code as it
exists today. X would come (much) later, but again via the use of the XAA
layer in XFree86 4.0 (I know it doesn't yet exist, but I helped write the
early 3.9 stuff, so I know it does exist :-)
The native NT api is exceptionally well hidden and undocumented, but
NT/W2k's microkernel is as least as good as Mach in all respects (and memory
and thread management, it's significantly better), so a mklinux server port
wouldn't take more than a year with dedicated people.
If anyone's interested please drop me a line. You'd need to have a compiler
and a passing knowledge of Windows NT/2000 to be useful at this stage. I'm
going to use Visual C++ until I can prove to myself that cygnus's (or other)
gcc under WIn32 can do the job. The reason for this is the header files,
which are vital to Win32 development.
Andrew
------------------------------
From: [EMAIL PROTECTED] (Bennett Todd)
Subject: Re: Will 2.2.x support removable medias better?
Date: Wed, 10 Feb 1999 21:22:37 GMT
Re vold, rather than a daemon, maybe it'd be nicer to just hack up a GUI
doo-wah. Machines without consoles, servers and such, are the place where I
think people will be the likeliest to want to kill off a vold-ish daemon, and
on machines with consoles, the sexiest bit will be to provide some nice
graphical status and control of what's going on. So how about a gui doodad
that listens for insertion events (if they aren't already posted through some
easy-to-track interface, then maybe a tiny daemon just to post them), issues
mount requests, and pops up icons to show what has just appeared; when opened
the icons could provide control panels for ejecting, listing processes
accessing the device, offering to kill them, etc.
-Bennett
------------------------------
From: Emile van Bergen <[EMAIL PROTECTED]>
Subject: Re: LFS Development
Date: Thu, 11 Feb 1999 00:15:55 +0100
[EMAIL PROTECTED] wrote:
>
> I am developing a logging filesystem for Linux. Is it worth the effort to
> submit this code for inclusion in the standard tree? I am going to develop it
> in any case. After the LFS is stable I will develop a journalling FS (log
> metadata only).
> Let me know if this work is valuable to you.
Yes, it would be an important reliability feature... So I am interested
(and I'm
sure there'll be others too). But I'd like to point out... are you aware
of the two other (finished/half finished/newborn?) LFS-for-linux
projects collecting dust somewhere?
Sorry, can't remember any URL's from the top of my head, but anyway,
maybe you
can use some of their work to finish your job faster...?
--
M.vr.gr. / Best regards,
Emile van Bergen (e-mail address: [EMAIL PROTECTED])
This e-mail message is 100% electronically degradeable and produced
on a GNU/Linux system.
------------------------------
From: Konrad Mierendorff <[EMAIL PROTECTED]>
Subject: Re: Linux begginer's questions
Date: Wed, 10 Feb 1999 22:41:14 +0100
AME wrote:
> What exactly is a port? Is it a piece of hardware or is it some piece
> of software? What does it do? How can you make a driver and a device
> talk to the same port? Are all i/o ports the same? direct ansewrs as well
> as referal to sources and urls is greatly appreciated.
Well, I don't know what to say about ports, but if you need a good book
about kernel modules I'd recommend "Linux Device Drivers" from
Alessandro Rubini published by O'Reilly
Good luck
Konrad Mierendorff
------------------------------
Date: Thu, 11 Feb 1999 01:06:26 +0100
From: Markus Schutz <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: net-pf-17 ?
Hi,
When I try to start diald I get the following in a log file (daemon's
log):
modprobe: can't locate module net-pf-17
Is there a net-pf list somewhere?, or what is that net-pf-17?
I knew about net-pf-3, 4, 5 from the Modules-HOWTO @ www.linux.org, but
I couldn't spot out a net-pf-17. Maybe I'm not looking in the right
place...
Thanks for helping,
Markus
--
A designer knows he has achieved perfection not when there is
nothing left to add, but when there is nothing left to take away.
Antoine de Saint-Exup�ry
=================================================================
Markus SCH�TZ
8, Ch. des Aub�pines Phone: ++41 21 646 9362
CH-1004 Lausanne mailto:[EMAIL PROTECTED]
Switzerland
http://www.geocities.com/SiliconValley/Foothills/9297
=================================================================
------------------------------
From: [EMAIL PROTECTED] (Richard Steiner)
Crossposted-To:
comp.os.lynx,comp.os.linux.networking,comp.arch.bus.vmebus,comp.dcom.lans.ethernet
Subject: Re: LYNX Benchmarking Commands
Reply-To: [EMAIL PROTECTED]
Date: Fri, 12 Feb 1999 01:04:12 -0600
Here in comp.os.linux.networking, Shark <[EMAIL PROTECTED]>
spake unto us, saying:
>I am new to the Lynx OS.
Since Linux and Lynx are two completely different beasts, I'm not sure
why so many Linux newsgroups were part of the initial crossposting?
--
-Rich Steiner >>>---> [EMAIL PROTECTED] >>>---> Bloomington, MN
OS/2 + Linux (Slackware+RedHat+SuSE) + FreeBSD + Solaris +
WinNT4 + Win95 + PC/GEOS + Executor = PC Hobbyist Heaven!
Gravity isn't my fault - I voted for velcro!
------------------------------
From: [EMAIL PROTECTED] (Ja~nez Fernandez, Ruben)
Subject: Help : Time Measurement
Date: 12 Feb 99 10:15:07 +0100 (MET)
Hi all:
First of all, excuse my english, just a little too bad :-).
I`m making my final career project under redhat linux 4.2.
One of the first steps I have to do is the measurement of the real time
interval between two consecutive executions of one function in a "for" loop.
My problem is the multitask execution. Does anyone know if there
is a way to accurately measure that time?
Thanks in advance... :-)
Beto
------------------------------
From: Du Jinsong <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.misc,comp.os.linux.networking
Subject: threads
Date: Fri, 12 Feb 1999 17:24:51 +0800
Hi, would you please tell me whether I can call pthread functions(e.g.
pthread_create()) in Linux kernel source .c files?
Thanks a lot!
------------------------------
From: [EMAIL PROTECTED] (Gordon Scott)
Subject: Re: Regarding the Embedded Linux Kernal Subset (ELKS)
Date: 12 Feb 1999 09:09:32 GMT
Reply-To: Gordon Scott <[EMAIL PROTECTED]>
DIODEJUNKY ([EMAIL PROTECTED]) wrote:
: Right now I'm stuck with an old PS/2 286 that won't un minix for some reason,
: and I hate Micro$lop OS's, so...
: I cruised over to the ELKS home page, and the last update said that there
: should be a distribution available shortly...but that update was from 2/13/98.
I presume the obvious answer of upgrading the motherboard
is a non-runner. There are some mini-distributions around,
some of which might support pre-386s. Have you looked via Tom's
root&boot (http://www.toms.net/rb/)or the 'Linux Ports' pages
(http://www.ctv.es/USERS/xose/linux/linux_ports.html).
G.
--
Gordon Scott Opinions expressed are my own.
[EMAIL PROTECTED] (official) [EMAIL PROTECTED] (backdoor)
[EMAIL PROTECTED] (home) http://www.apis.demon.co.uk
Linux ............... Because I like to _get_ there today.
------------------------------
From: Mark Tranchant <[EMAIL PROTECTED]>
Subject: Re: SMP Support
Date: Fri, 12 Feb 1999 12:17:18 +0000
Reply-To: [EMAIL PROTECTED]
cat /proc/cpuinfo, I guess. Or watch the bootup messages.
Mark.
Bucky4me wrote:
>
> I recompiled my kernel for smp but do not know how to check if the OS see's
> both. How can I do this?
>
> [EMAIL PROTECTED]
------------------------------
From: "D. Emilio Grimaldo Tunon" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: GDB/GnuPro and HTTPD debugging
Date: Fri, 12 Feb 1999 13:35:30 +0100
Hi *,
Just wondering if anybody has tried to run httpd -X on the
gdb debugger, so far everytime GDB dies out with an error
about being unable to access a certain memory area. When I
do it on Solaris with the DBX debugger I have no problems.
Anybody tried the above with GnuPro instead of plain gdb?
Then I have also tried DDD with DBX as backend and it also
breaks, any DDD users experiencing the same?
Regards,
Emilio
PS. Please copy to my email address...
--
D. Emilio Grimaldo Tunon Compuware Europe B.V. (Uniface Lab)
Software Engineer Amsterdam, The Netherlands
[EMAIL PROTECTED] Tel. +31 (0)20 3126 516
*** The opinions expressed hereby are mine and not my employer's ***
------------------------------
From: ndrianina <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.programmer,comp.os.linux.networking,comp.protocols.tcp-ip
Subject: TCP port number and process
Date: 12 Feb 1999 17:08:50 +0100
Hello,
[ network dev. in C-UNIX ]
I'm writing an app to monitor TCP/IP connections on my computer.
( Linux RH 5.2 kern 2.0.36 )
Now I have the TCP port number of a connection. How can I get
(very quickly) the name of the program (executable file) using that
connection ?
I think It'll be okay if I get the PID of the process using that
connection.
I found some tables but none which gives the PID with the port number.
Is there someone who can help me ?
bonus : - Is it possible for multiple process to use the same port number
for multiple connections (what about setsockopt SO_REUSEADDR) ?
If so, what else do I need to find the right process ? And how
can I do that ?
Thank you for any help,
Ndrianina
--
Ndrianina Randrianasolo
[EMAIL PROTECTED]
------------------------------
From: Julian Robert Yon <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Internal PCI modem
Date: Fri, 12 Feb 1999 16:14:37 +0000
Rob Clark wrote:
> HCF is a Winmodem, too. A different kind of winmodem, but still a
> winmodem.
>
> Sorry :(
I suppose I'm not the only one who has one of these tested on a Win9x
system and otherwise unused (and hence am �40 out of pocket). Is a
petition to request that companies manufacture _real_ modems
possible?...
Julian
~~~~~~~~~~~~~~~~~~~~
[EMAIL PROTECTED]
[EMAIL PROTECTED]
------------------------------
Date: Fri, 12 Feb 1999 10:11:05 -0700
From: Pierre Asselin <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.alpha
Subject: Re: linux-2.2.1 swapper oops on Alpha
Martin Kahlert wrote:
>
> Did you support any kernel boot parameters?
I didn't know I had a choice. Must have used the defaults.
> Do you have compiled in a Ramdisk?
No.
------------------------------
From: Karl Heyes <[EMAIL PROTECTED]>
Subject: Re: Will 2.2.x support removable medias better?
Date: Fri, 12 Feb 1999 15:33:28 -0500
mkk wrote:
> Mike Dowling wrote:
> >
> > great advantage of the automounter is that it does absolutely nothing until
> > you try to make access to the CD. Then it quietly mounts it, without a
> > word, without starting silly programs and icons that pop up in the middle of
> > whatever you are doing. After a short while of not accessing the CD, it
> > quietly unmounts it. The isofs and CD support then is automagically removed
> > from the kernel if you use modules and configure your system to do this.
> >
> > Perhaps the only hassle is if you want to check out several CDs in quick
> > succession. Either you wait for the time out of the automounter, or you
> > unmount the CDs manually.
> >
>
> Instead of an arbitrary time out, won't it be a better idea mount when
> the media is physically loaded and unmount when it's popped out ?
unmounting causes flushing data back to the media, which it won't be able to
do if some spoon has ejected the media.
The vold stuff is painfully wasteful. For a app to sit around doing nothing
for the >99% of it's lifetime waiting for a media change signal from the kernel.
the same example was used in the case of kerneld/kmod.
karl.
------------------------------
** 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
******************************