Linux-Development-Sys Digest #635, Volume #6 Mon, 19 Apr 99 01:13:56 EDT
Contents:
Re: Uncleanly Unmounted (Kernel 2.2.5) (Peter Samuelson)
Re: company ("Fredrik Lindstr�m")
msdos module broken under 2.2.6 (David Ronis)
Re: msdos module broken under 2.2.6 (Uwe Bonnes)
What is ia32? (Urs Thuermann)
2.2.6 kmem_free: bad obj addr (Trevor Bradley)
Re: framebuffer and svgalib (Martin Wilhelm)
HELP!: thread cannot see child, forked before pthread_create ("Dribs")
Re: SMP Linux, Any Catches? ("Leonzo E. Miller III")
Application compiling problem ("Phatrakom S.")
Re: company (Rik van Riel)
Re: where to download free CORBA for Linux? (Gary Momarison)
Kernel 2.2.6: irda does not compile - Help (Thomas Jaeger)
Re: After install 2.2.5 I lost DHCP !!!! (Johan Kullstam)
Re: mmap (jeff)
Re: pcibios_* functions (jeff)
HELP! Something Wicked happened! (Jeff McWilliams)
Re: Can you make a driver that runs as an application? ("Scot E. Wilcoxon")
Re: Kernel 2.2.6: irda does not compile - Help (Peter Samuelson)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Peter Samuelson)
Subject: Re: Uncleanly Unmounted (Kernel 2.2.5)
Date: 18 Apr 1999 01:12:05 -0500
Reply-To: Peter Samuelson <[EMAIL PROTECTED]>
[Yazid <[EMAIL PROTECTED]>]
> > Every once and a while, my Linux does not unmount my \ partitoin
> > cleanly. I don't know why. I use 2.2.5
[<[EMAIL PROTECTED]>]
> Are you sure you read the changes and update your system before
> compiling the new kernel??
...specifically the part about your glibc and ld.so versions?
--
Peter Samuelson
<sampo.creighton.edu!psamuels>
------------------------------
From: "Fredrik Lindstr�m" <[EMAIL PROTECTED]>
Subject: Re: company
Date: Sun, 18 Apr 1999 09:36:04 +0200
There's a few who distribute linux, like Red Hat, Debian, Slackware,
Caldera, S.u.S.E ..
I guess it's that's what you're looking for.
mee skrev i meddelandet <01be8857$5cf45000$83138ea7@default>...
>What company makes linux? I'm trying to invest and I can't find the stock.
>
------------------------------
From: David Ronis <[EMAIL PROTECTED]>
Subject: msdos module broken under 2.2.6
Date: Sun, 18 Apr 1999 15:11:40 GMT
I just upgraded from 2.2.5 to 2.2.6 on a 586 (using egcs 1.1.1). I
made no configuration changes, did a make dep ; make clean ; make
bzImage ; make modules ; make modules_install. Everything went
smoothly and the new kernel boots. However, I cannot mount my dos
partition.
Here's what happens when I try and load the msdos module manually
modprobe -v msdos
/sbin/insmod /lib/modules/2.2.6/fs/fat.o
/sbin/insmod /lib/modules/2.2.6/fs/msdos.o
/lib/modules/2.2.6/fs/msdos.o: unresolved symbol is_binary
I grepped the fs sources and indeed there is an is_binary routine in
fs/fat/misc.c (which is compiled); moreover nm fat.o | grep is_binary
shows:
00003df0 T is_binary
Any ideas?
David
------------------------------
From: Uwe Bonnes <[EMAIL PROTECTED]>
Subject: Re: msdos module broken under 2.2.6
Date: 18 Apr 1999 15:28:20 GMT
David Ronis <[EMAIL PROTECTED]> wrote:
: I just upgraded from 2.2.5 to 2.2.6 on a 586 (using egcs 1.1.1). I
...
: I grepped the fs sources and indeed there is an is_binary routine in
: fs/fat/misc.c (which is compiled); moreover nm fat.o | grep is_binary
: shows:
: 00003df0 T is_binary
: Any ideas?
make mrproper
I had a similar problem with sg.o
Bye
--
Uwe Bonnes [EMAIL PROTECTED]
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
========= Tel. 06151 162516 ======== Fax. 06151 164321 ==========
------------------------------
From: Urs Thuermann <[EMAIL PROTECTED]>
Subject: What is ia32?
Date: 12 Apr 1999 14:58:49 +0200
[EMAIL PROTECTED] (Aki M Laukkanen) writes:
> This leads me thinking that they were mostly bug fixing although I
> didn't follow ia32 kernel development at that time.
That's thwe second time I read this term. What is ia32?
urs
------------------------------
From: Trevor Bradley <[EMAIL PROTECTED]>
Subject: 2.2.6 kmem_free: bad obj addr
Date: Sun, 18 Apr 1999 17:28:34 GMT
Got this last night...
Apr 18 04:40:05 phobos kernel: kmem_free: Bad obj addr (objp=c0de8760,
name=dentry_cache)
Apr 18 04:40:05 phobos kernel: Unable to handle kernel NULL pointer
dereference
at virtual address 00000000
Apr 18 04:40:05 phobos kernel: current->tss.cr3 = 0094e000, %cr3 = 0094e000
Apr 18 04:40:05 phobos kernel: *pde = 00000000
Woke up this morning and my system was frozen with similar error message on
the screen, found this in my syslog...
I'll gladly give more info if I knew what else to give. I was running the
kernel for about 18 hours, with low system loads... (avg ~0.01 :)
System summary:
Kernel 2.2.6
Slackware 3.5
Pentium 120 overclocked to 133
16MB RAM + 48MB Swap
I've had no such problems before... :)
Going back to 2.2.5... I'll let everyone know if I see somthing similar.
--
Trevor Bradley Surrey, British Columbia, Canada
[EMAIL PROTECTED] http://www.arbutus.cx/
------------------------------
From: Martin Wilhelm <[EMAIL PROTECTED]>
Subject: Re: framebuffer and svgalib
Date: Sat, 17 Apr 1999 21:26:18 +0200
Reply-To: [EMAIL PROTECTED]
Chris Frost wrote:
>
> I'm just trying out the framebuffer (matroxfb actually)
> and haven't been able to get svgalib to run correctly (lines are
> extremely garbled). Is there any way to have svgalib-based programs
> run when using a fb device instead of the old
> text-mode support? (Fwiw I'm running debian 2.0, which has
> svgalib 1.2.13).
possibly 'fbset' can help you, so you can disable fb while using
svgalib based software but i'm not shure... ;)
------------------------------
From: "Dribs" <[EMAIL PROTECTED]>
Subject: HELP!: thread cannot see child, forked before pthread_create
Date: Mon, 19 Apr 1999 09:03:23 +1000
Hi
I am in the middle of rather a large project at Uni but I have a problem
with my gcc or maybe linux 2.0.34
i link with gcc -D_REENTRAN -lpthread
The problem is that:
I fork a child and exec a prog
I then communicate via two pipes
I create a thread to watch for output from the process until the pipe is
closed at the child end.
Well when I do a wait on the child from within the thread the wait
returns -1.
with errno set to ECHILD
Now after hours of stress I uploaded all the code to one of the universities
computers and it worked perfectly.
Anyone know if there is any other linker switch I must activate?
Cheers
Peter
============================================================================
========================
[EMAIL PROTECTED]
replace NOSPAM with ozemail
------------------------------
From: "Leonzo E. Miller III" <[EMAIL PROTECTED]>
Subject: Re: SMP Linux, Any Catches?
Date: Sun, 18 Apr 1999 20:47:39 -0400
Mark Hahn wrote:
> Clint Byrum <[EMAIL PROTECTED]> wrote:
> > Hold on, you guys are confusing me. My understanding of beowulf was that it
> > allowed clustered processing using Linux. I also thought that it would
>
> it does.
>
> > essentially treat the "clustered" systems as additional processors, sending
> > jobs to them through a dedicated "cluster network". What would be the
>
> no. what you're talking about is process migration, and it doesn't.
> in fact, I don't believe Msft's clustering does either; I'm not sure
> about VaxClusters. transparent migration is generally only doable on
> machines with shared memory, such as big boxes from SGI/Sun/HP.
>
> > Please, enlighten me, I'd like to use clustered processing as a
> > "scalability" option for our customers.
>
> systems that don't attempt to transparently migrate are still scalable.
> in fact, you can make a good case that migration limits scalability.
>
> regards, mark hahn.
> --
> operator may differ from spokesperson. [EMAIL PROTECTED]
> http://java.mcmaster.ca/~hahn
Yes I can't find the new Kernel and it doesn't load. System still uses old
kernel
--
Integrated Information Solutions http://www.logosnet.net
SmartWare 2000 PLUS! You've tried the rest!
Voice: (954) 360-0538 Text: [EMAIL PROTECTED]
------------------------------
From: "Phatrakom S." <[EMAIL PROTECTED]>
Subject: Application compiling problem
Date: Sun, 18 Apr 1999 11:59:44 +0700
I'm using SuSE 5.3 linux. Recently, i'd compiled MySQL 2.21.33b and many
other software package(using GCC). The problem is that when compiling,
the error called "Segment Fault" often caused. I've no idea about this
error. Is that a bug? or that's my mistake setting up the wrong compiler
options. But also had tried compile the same programs on Slackware
linux, there was no problem.
Could anyone help me clarify this problem?
Thanks in advance
------------------------------
From: Rik van Riel <[EMAIL PROTECTED]>
Subject: Re: company
Date: Sun, 18 Apr 1999 21:42:06 +0200
On 18 Apr 1999, Peter Samuelson wrote:
> [mee <[EMAIL PROTECTED]>]
> > What company makes linux? I'm trying to invest and I can't find the stock.
>
> Microsoft. Apple makes the biggest competitor, MK-Linux. Hence
> the historic rivalry between the two.
Sssst!!!
Let's try to succer^Wget him to invest in us^Wme^Wour
connectivity, after all, Linux is made on the internet...
I guess I could need a personal investment of a few hundred
thousand dollar; financial details are available via e-mail.
sincerely,
Rik -- Open Source: you deserve to be in control of your data.
+-------------------------------------------------------------------+
| Le Reseau netwerksystemen BV: http://www.reseau.nl/ |
| Linux Memory Management site: http://humbolt.geo.uu.nl/Linux-MM/ |
| Nederlandse Linux documentatie: http://www.nl.linux.org/ |
+-------------------------------------------------------------------+
------------------------------
From: Gary Momarison <[EMAIL PROTECTED]>
Subject: Re: where to download free CORBA for Linux?
Date: 18 Apr 1999 18:42:09 -0700
"Enosh Chang" <[EMAIL PROTECTED]> writes:
> Hi, all:
>
> I am a beginner of Linux. And I want to learn CORBA.
> So, could you tell me where to download free CORBA for Linux?
Find links to that in http://www.aa.net/~swear/pedia/corba.html
--
Look for Linux info at http://www.dejanews.com/home_ps.shtml and
Gary's Encyclopedia at http://www.aa.net/~swear/pedia/index.html
------------------------------
From: Thomas Jaeger <[EMAIL PROTECTED]>
Subject: Kernel 2.2.6: irda does not compile - Help
Date: Sun, 18 Apr 1999 09:34:34 +0200
Hi Folks,
i just tried to compile the latest kernel 2.2.6 with irda (all options
enabled for a modular kernel)
i got following error:
make -C irda modules
make[2]: Entering directory `/usr/src/linux/net/irda'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2
-malign-jumps=2 -malign-functions=2 -DCPU=686 -DMODULE -c -o iriap.o
iriap.c
iriap.c:31: linux/irda.h: No such file or directory
iriap.c: In function `iriap_getvaluebyclass_confirm':
iriap.c:458: `CS_ASCII' undeclared (first use this function)
iriap.c:458: (Each undeclared identifier is reported only once
iriap.c:458: for each function it appears in.)
iriap.c:470: warning: unreachable code at beginning of switch statement
make[2]: *** [iriap.o] Error 1
make[2]: Leaving directory `/usr/src/linux/net/irda'
make[1]: *** [_modsubdir_irda] Error 2
make[1]: Leaving directory `/usr/src/linux/net'
make: *** [_mod_net] Error 2
Is irda.h missing? where can i get it?
Any ideas? Help welcome
CU
Thomas Jaeger
------------------------------
Subject: Re: After install 2.2.5 I lost DHCP !!!!
From: Johan Kullstam <[EMAIL PROTECTED]>
Date: 18 Apr 1999 22:32:31 -0400
Jorge Ventura <[EMAIL PROTECTED]> writes:
> After re-config (several times) the kernel to get the same as in 2.0.36
> the best I get was:
>
> 1. All the printer drivers linked with the kernel (in 2.0.36 it works as
> modules).
> 2. I had to give up DHCP.
>
> Any suggestion (about dhcp) ???
get the current dhcpcd. i am using version 1.3.17-pl3.
you'll need to modify some scripts slightly since the new version has
a better syntax and mode of operation.
--
J o h a n K u l l s t a m
[[EMAIL PROTECTED]]
Don't Fear the Penguin!
------------------------------
From: jeff <[EMAIL PROTECTED]>
Subject: Re: mmap
Date: Sun, 18 Apr 1999 23:11:21 -0500
Reply-To: [EMAIL PROTECTED]
I believe the following should work: (at least close to the general idea....)
1. read the base address register from the PCI Config (this is the physical addr)
2. use 'kmalloc' with 'GFP_KERNEL' priority to allocate memory on the kernel space
ex: kmalloc( xxxxx, GFP_KERNEL); refer to a linux kernel book for the
right syntax
3. Remap the PCI memory using either ioremap or vremap (depending on the kernel
version you are using)
ioremap ( xxxxx, size of registers) ; <-- refer to a Linux kernel book
The remap page is the virtual address.
This will map it to kernel space. I believe you will have to copy the data from
kernel to user space later. There is a few (that I could find) PCI I/O mapped
examples on the web... surf the web...
sorry, I did not bookmark the links...
Good Luck,
Jeff-
Rajesh Raju wrote:
> Hi ,
> I am writing a device driver.There are 6 base address registers on any
> pci device. I want to know how to mmap the region available on each
> address register to the user space.
>
> I am using remap_page_range (...) routine. But I am not able to mmap the
> whole space.
>
> Any help is greatly appreciated.
>
> Thanking you,
> Rajesh.
>
> ******************************************************************************
> Raju Rajesh Office address:
> 1120, E LEE BLVD #208 Butler Hall
> Apt #167 Mississippi State
> Starkville,MS- 39759 Univeristy, MS -39762
> Phone No: (601) 323 6116 Phone no: (601) 325 8169
>
> Possible talk locations: talk [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> ******************************************************************************
------------------------------
From: jeff <[EMAIL PROTECTED]>
Subject: Re: pcibios_* functions
Date: Sun, 18 Apr 1999 23:14:26 -0500
Reply-To: [EMAIL PROTECTED]
Include the following:
#include <linux/bios32.h>
#include <linux/pci.h>
hope it helps..
jeff-
Tim Linehan wrote:
> Hi,
>
> I am trying to compile a program that uses the pcibios_read_config_byte ()
> and similar functions, basically to read some configuration information
> about an installed adapter on my system.
>
> The compiler says that the pcibios_... functions are undefined resources. I
> imagine that there is a library that I need to link in to use these
> functions, but I can seem to find the right one. Does anyone know what
> library is necessary, and where it is located. Are there any references
> available that document what functions are located in what libraries?
>
> I'm very new to Linux, so any help would be appreciated.
>
> Thanks,
> TL
------------------------------
From: [EMAIL PROTECTED] (Jeff McWilliams)
Subject: HELP! Something Wicked happened!
Date: 19 Apr 1999 03:17:33 GMT
Hi, my Linux LAN to ISP router died today unexpectedly. It seems the LAN card
(A generic VIA-RHINE based card) barfed. Here's what showed up in kern.log
Apr 18 10:47:45 Heavy2 kernel: eth0: Something Wicked happened! 0009.
Apr 18 15:57:45 Heavy2 kernel: eth0: Something Wicked happened! 0009.
Apr 18 16:25:58 Heavy2 kernel: eth0: Something Wicked happened! 000a.
Apr 18 23:34:02 Heavy2 kernel: eth0: Something Wicked happened! 0009.
Here's what syslog shows when the via-rhine.o module is loaded at bootup:
kernel: via-rhine.c:v1.00 9/5/98 Written by Donald
Becker
kernel: http://cesdis.gsfc.nasa.gov/linux/drivers/via-rhine.html
kernel: via-rhine.c:v1.00 9/5/98 Written by Donald Becker
kernel: http://cesdis.gsfc.nasa.gov/linux/drivers/via-rhine.html
kernel: eth0: VIA VT3043 Rhine at 0x6000, 00:a0:0c:c0:1b:1a, IRQ 10.
kernel: eth0: MII PHY found at address 1, status 0x782d advertising 05e1
Link 0000.
kernel: PCI latency timer (CFLT) is unreasonably low at 32.
Setting to 64 clocks.
System is a Cyrix P150+, 24 megs RAM, SiS 5571 chipset based MTech
motherboard, internal US Robotics modem, internal S3 Virge video card,
misc other stuff. Prior to this I was running an original DEC produced card
with the 21041 chipset. I replaced it with the Rhine card in the hopes of
getting a 10/100 hub in the future.
What's up here? What does it mean when "Something Wicked happened!" ??
Jeff
--
Jeff McWilliams
"The mystery boy has gone to war, in the fields of death you'll find him."
------------------------------
From: "Scot E. Wilcoxon" <[EMAIL PROTECTED]>
Subject: Re: Can you make a driver that runs as an application?
Date: Sun, 18 Apr 1999 16:59:12 -0500
> Use either named pipes (very portable amongst UNIXen), SysV shared memory
> (pretty portable), or mmap (portable) as long as you're on the same host.
> When you might be running on different hosts, use TCP/IP.
Or apply the DIPC mods and spread the shared memory across your cluster.
> You could do a lot worse than buying "Advanced Programming in the Unix
> Environment" by W. Richard Stevens.
Agreed.
------------------------------
From: [EMAIL PROTECTED] (Peter Samuelson)
Subject: Re: Kernel 2.2.6: irda does not compile - Help
Date: 18 Apr 1999 16:36:51 -0500
Reply-To: Peter Samuelson <[EMAIL PROTECTED]>
[Thomas Jaeger <[EMAIL PROTECTED]>]
> i just tried to compile the latest kernel 2.2.6 with irda (all
> options enabled for a modular kernel)
> i got following error:
> iriap.c:31: linux/irda.h: No such file or directory
> iriap.c: In function `iriap_getvaluebyclass_confirm':
> iriap.c:458: `CS_ASCII' undeclared (first use this function)
> iriap.c:458: (Each undeclared identifier is reported only once
> iriap.c:458: for each function it appears in.)
> iriap.c:470: warning: unreachable code at beginning of switch statement
Right. Richard Gooch doesn't have this in his Kernel Newsflash page
yet (http://www.atnf.csiro.au/~rgooch/linux/docs/kernel-newsflash.html)
but I imagine he will soon. Browsing through patch-2.2.6.gz, looks
like:
- a lot of material was removed from include/net/irda/irmod.h
including `#define CS_ASCII 0x00'
- `#include <linux/irda.h>' was added to five or six files
- include/linux/irda.h did not and still does not exist
Draw your own conclusions. You might try creating a dummy
include/linux/irda.h with `#define CS_ASCII 0x00'. Dunno if that would
work or not, haven't tried it. Alternatively, roll back the irda
updates in 2.2.6.
--
Peter Samuelson
<sampo.creighton.edu!psamuels>
------------------------------
** 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
******************************