Linux-Development-Sys Digest #935, Volume #6 Tue, 6 Jul 99 08:13:51 EDT
Contents:
builing 2.0 driver source under 2.1 (Eric Hegstrom)
Re: builing 2.0 driver source under 2.1 (Robert Lynch)
Re: binutils compile error (Eric Buddington)
Re: Why we are still holding on to X Windows (Mario Klebsch)
Re: binutils compile error (Eric Buddington)
Re: binutils compile error (Allin Cottrell)
Re: binutils compile error (Andreas Jaeger)
Re: Testing cvs-versions of glibc (Andreas Jaeger)
Re: Download freeBSD and Slackware 4 (Josef =?iso-8859-1?Q?M=F6llers?=)
Re: Download freeBSD and Slackware 4 (Cameron L. Spitzer)
Re: /dev/par* (Peter Samuelson)
umount problem... ("Thierry BUCCO")
Re: Why we are still holding on to X Windows (Peter Samuelson)
Re: umount problem... (Peter Samuelson)
Adding function to com stack ("Daniel")
Re: Domain Names Limited to two or three Characters? (Bjorn Reese)
Where can I get mkfs source code? ("Kim Jong-chan")
Did anyone compile imlib in solaris? (Guillermo)
Serious Trouble with AHA-2940 and new AIC Driver (Harald Grabow)
diskless linux (Piyush Agarwal)
----------------------------------------------------------------------------
From: Eric Hegstrom <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: builing 2.0 driver source under 2.1
Date: Mon, 05 Jul 1999 17:41:18 -0700
Hi all:
For some strange inexplicable reason I have upgraded my system to redhat
6.0. I have some driver code that was written under previous (2.0.x)
versions and obviously need a rewrite it all to compile (and hopefully
execute properly) under 2.1.x.
Is there a n easy way to fake compatibility (I have looked at the
"sysdep-2.1.h" from the linux device drivers book (on the orielly ftp
site) and it doesn't look much better than the guidlines in the book
which, though very helpful are not all encompassing).
Any quick and dirty ideas until I get my driver source base migrated. I
am also cross posting to the system development newsgroup since I think
those guys may have dabbled in driver development ;)
Sorry if this is an easy FAQ covered question but I didn't find anything
yet.
Also please include replies to my email due to a flaky news server.
Peace,
Eric
--
Eric Hegstrom .~.
Senior Software Engineer /V\
Sonoran Scanners, Inc. // \\ L I N U X
[EMAIL PROTECTED] /( )\ >don't fear the penguin<
520-617-0072 x402 ^^-^^
------------------------------
Date: Mon, 05 Jul 1999 18:43:09 -0700
From: Robert Lynch <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Re: builing 2.0 driver source under 2.1
Eric Hegstrom wrote:
>
> Hi all:
>
> For some strange inexplicable reason I have upgraded my system to redhat
> 6.0. I have some driver code that was written under previous (2.0.x)
> versions and obviously need a rewrite it all to compile (and hopefully
> execute properly) under 2.1.x.
>
> Is there a n easy way to fake compatibility (I have looked at the
> "sysdep-2.1.h" from the linux device drivers book (on the orielly ftp
> site) and it doesn't look much better than the guidlines in the book
> which, though very helpful are not all encompassing).
>
> Any quick and dirty ideas until I get my driver source base migrated. I
> am also cross posting to the system development newsgroup since I think
> those guys may have dabbled in driver development ;)
>
> Sorry if this is an easy FAQ covered question but I didn't find anything
> yet.
>
> Also please include replies to my email due to a flaky news server.
>
> Peace,
> Eric
>
> --
> Eric Hegstrom .~.
> Senior Software Engineer /V\
> Sonoran Scanners, Inc. // \\ L I N U X
> [EMAIL PROTECTED] /( )\ >don't fear the penguin<
> 520-617-0072 x402 ^^-^^
Don't know if you would consider this helpful or not:
http://wwwatnf.atnf.csiro.au/people/rgooch/linux/docs/porting-to-2.2.html
--
Robert Lynch-Berkeley CA [EMAIL PROTECTED]
http://www.best.com/~rmlynch/
------------------------------
From: [EMAIL PROTECTED] (Eric Buddington)
Subject: Re: binutils compile error
Reply-To: [EMAIL PROTECTED]
Date: 5 Jul 1999 22:57:17 -0500
In article <[EMAIL PROTECTED]>, Ulrich Drepper wrote:
>[EMAIL PROTECTED] (Eric Buddington) writes:
>
>> Undefined __register_frame_info rings a bell as an annoying
>> glibc-2/2.1 incompatibility.
>
>This has nothing to do with incompatibilities in glibc. It's a
>compiler issue. If you want to blame people make damn sure you know
>what you are talking about.
My apologies if I misassigned blame - I wasn't aware that failure to
find symbols (or wrongly-included symbol references) would be a
compiler-side issue.
And in my own defense, I *have* researched this in the course of
debugging, and found nothing of depth via lycos or dejanews. If
there's a write-up of the issue somewhere, I'd like to know about it.
Eric
"Offending Free Software Coders Since 1995"
[EMAIL PROTECTED]
------------------------------
From: Mario Klebsch <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Why we are still holding on to X Windows
Date: Mon, 5 Jul 1999 21:40:54 +0200
[EMAIL PROTECTED] (John Stevens) writes:
>>As I say, there is no real standard except X11,
>And you're wrong. This is either inadvertent FUDL, or deliberate.
>There are indeed GUI standards. Try reading the Motif style guide, for
>starters.
I read it, and I try to write my applications that way. But far to much
applications are not inspired by it. I hardly can call this standard.
And Motif is missing in mos Linux installations...
73, Mario
--
Mario Klebsch [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Eric Buddington)
Subject: Re: binutils compile error
Reply-To: [EMAIL PROTECTED]
Date: 5 Jul 1999 23:31:34 -0500
Eric Buddington wrote:
>Ulrich Drepper wrote:
>>[EMAIL PROTECTED] (Eric Buddington) writes:
>>
>>> Undefined __register_frame_info rings a bell as an annoying
>>> glibc-2/2.1 incompatibility.
>>
>>This has nothing to do with incompatibilities in glibc. It's a
>>compiler issue. If you want to blame people make damn sure you know
>>what you are talking about.
'scuse me while I eat my words...
I found the explaination in the glibc-2.1.1 FAQ:
=========================================================================
2.8. When I run an executable on one system which I compiled on
another, I get dynamic linker errors. Both systems have the same
version of glibc installed. What's wrong?
{ZW} Glibc on one of these systems was compiled with gcc 2.7 or 2.8, the
other with egcs (any version). Egcs has functions in its internal
`libgcc.a' to support exception handling with C++. They are linked into
any program or dynamic library compiled with egcs, whether it needs them or
not. Dynamic libraries then turn around and export those functions again
unless special steps are taken to prevent them.
When you link your program, it resolves its references to the exception
functions to the ones exported accidentally by libc.so. That works fine as
long as libc has those functions. On the other system, libc doesn't have
those functions because it was compiled by gcc 2.8, and you get undefined
symbol errors. The symbols in question are named things like
`__register_frame_info'.
For glibc 2.0, the workaround is to not compile libc with egcs. We've also
incorporated a patch which should prevent the EH functions sneaking into
libc. It doesn't matter what compiler you use to compile your program.
For glibc 2.1, we've chosen to do it the other way around: libc.so
explicitly provides the EH functions. This is to prevent other shared
libraries from doing it.
{UD} Starting with glibc 2.1.1 you can compile glibc with gcc 2.8.1 or
newer since we have explicitly add references to the functions causing the
problem. But you nevertheless should use EGCS for other reasons
(see question 1.2).
=========================================================================
I can see how egcs might add exception-implementing nuts and bolts as
functions, if it's technically superior to inlining them (though it'd
be nicer to have them in libstdc++ in that case).
But if egcs adds these functions to *all* generated object code,
wouldn't the references in foo.o stick to the corresponding symbols
within foo.o in preference to using the ones in an external library
(libc.so)?
I'd still like to know more about the exception-handing functions, if
there's more extensive documentation somewhere. Maybe it's time to
fire up emacs on the source tree...
Eric
------------------------------
From: Allin Cottrell <[EMAIL PROTECTED]>
Subject: Re: binutils compile error
Date: Mon, 05 Jul 1999 23:44:14 -0400
Eric Buddington wrote:
> And in my own defense, I *have* researched this in the course of
> debugging, and found nothing of depth via lycos or dejanews. If
> there's a write-up of the issue somewhere, I'd like to know about it.
Try http://sourceware.cygnus.com/glibc/glibc-faq.html
(Question 2.8)
Allin Cottrell.
------------------------------
From: Andreas Jaeger <[EMAIL PROTECTED]>
Subject: Re: binutils compile error
Date: 06 Jul 1999 07:45:02 +0200
>>>>> Eric Buddington writes:
Eric> I'd still like to know more about the exception-handing functions, if
Eric> there's more extensive documentation somewhere. Maybe it's time to
Eric> fire up emacs on the source tree...
This has been discussed numerous times on the egcs mailing list.
Check the archives at http://egcs.cygnus.com and then fire up emacs on
the egcs sources.
Andreas
--
Andreas Jaeger [EMAIL PROTECTED] [EMAIL PROTECTED]
for pgp-key finger [EMAIL PROTECTED]
------------------------------
From: Andreas Jaeger <[EMAIL PROTECTED]>
Subject: Re: Testing cvs-versions of glibc
Date: 06 Jul 1999 07:41:40 +0200
>>>>> utter writes:
> Hi,
> Yesterday I decided to try out glibc from the cvs-repository. It
> compiled without hassle, and also 'make check' worked. Then I tried to
The glibc cvs version print when you configure:
*** Do NOT install this release on any production system!
*** It is known to be broken and will be so for quite some time.
*** Use the latest released version instead.
> compile some test applications. But the binaries I produce from gcc
> tells me that it can't find the file when trying to run it. (That is
> also what ldd reports)
Use LD_DEBUG.
> Is there a FAQ or a simple explanation of how to set up a test-version
> of glibc? The glibc-FAQ was helpful but didn't get me all the way to a
> runnable executable.
> A short description of what I've done:
> compiled glibc and installed it in a separate cvs-glibc directory.
> export LD_LIBRARY_PATH=${HOME}/cvs-glibc/lib
> export PATH=${HOME}/cvs-glibc/bin:${PATH}
> gcc -Wl,--dynamic-linker=${HOME}/cvs-glibc/lib/ld-linux.so.2
> -I${HOME}/cvs-glibc/include hello.c -L${HOME}/cvs-glibc/lib
> I remember that it wasn't so hard compiling libc5 and libc6 applications
> on the same system so I must be doing something really stupid. :-/
If you've got questions about this version, ask on the glibc lists.
Andreas
--
Andreas Jaeger [EMAIL PROTECTED] [EMAIL PROTECTED]
for pgp-key finger [EMAIL PROTECTED]
------------------------------
From: Josef =?iso-8859-1?Q?M=F6llers?= <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup
Subject: Re: Download freeBSD and Slackware 4
Date: Mon, 05 Jul 1999 08:00:39 +0200
vineet wrote:
> =
> Can anyone tell me the site where I can download the full and latest
> version of FreeBSD and Slackware 4?
> =
> ------------------ Posted via SearchLinux ------------------
> http://www.searchlinux.com
FreeBSD should be available via ftp.cdrom.com.
Slackware? Beats me.
Josef
-- =
PS Die hier dargestellte Meinung ist die persoenliche Meinung des
Autors!
PS This article reflects the autor=B4s personal views only!
------------------------------
From: [EMAIL PROTECTED] (Cameron L. Spitzer)
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup
Subject: Re: Download freeBSD and Slackware 4
Date: 6 Jul 1999 06:48:15 GMT
In article <[EMAIL PROTECTED]>, Josef M�llers wrote:
>vineet wrote:
>>
>> Can anyone tell me the site where I can download the full and latest
>> version of FreeBSD and Slackware 4?
>FreeBSD should be available via ftp.cdrom.com.
ftp://ftp.cdrom.com/pub/FreeBSD/
>Slackware? Beats me.
ftp://ftp.cdrom.com/pub/linux/slackware-4.0/
Cameron
------------------------------
From: [EMAIL PROTECTED] (Peter Samuelson)
Subject: Re: /dev/par*
Date: 6 Jul 1999 03:11:17 -0500
Reply-To: Peter Samuelson <[EMAIL PROTECTED]>
[Alexander Viro <[EMAIL PROTECTED]>]
> BTW, using hub for a point-to-point ethernet link is an odd idea -
> use the right cable and there you go.
Yes, much easier ... but I've heard it doesn't work as well as with a
hub. Maybe that's only with inferior cable or something, or maybe it's
just something about 100baseTX. I think it's an "odd idea" too, but
that's what I heard.
--
Peter Samuelson
<sampo.creighton.edu!psamuels>
------------------------------
From: "Thierry BUCCO" <[EMAIL PROTECTED]>
Subject: umount problem...
Date: Tue, 06 Jul 1999 10:31:09 +0200
Hi,
When i want to umount /home partition, linux says me "Device is busy" , in
fact one person is connected in this partition.
Is there a way to force the umount process ??.
Thanks a lot.
Thierry BUCCO
------------------------------
From: [EMAIL PROTECTED] (Peter Samuelson)
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Why we are still holding on to X Windows
Date: 6 Jul 1999 03:31:24 -0500
Reply-To: Peter Samuelson <[EMAIL PROTECTED]>
[John Stevens <[EMAIL PROTECTED]>]
> > There are indeed GUI standards. Try reading the Motif style guide,
> > for starters.
[Mario Klebsch <[EMAIL PROTECTED]>]
> I read it, and I try to write my applications that way. But far to
> much applications are not inspired by it. I hardly can call this
> standard.
So, let me get this straight. There exists a style guide (for Motif),
and yet nobody seems to follow it. What on earth makes you think
*another* style guide (this time for "x11 in general" or whatever)
would get a better reception?
As far as "common look'n'feel" is concerned, standardizing on a single
toolkit goes a long ways -- no real need for a "style guide". Since
many standard X apps have been "ported" to Qt and renamed to start with
K, and many have been "ported" to Gtk+ and renamed to start with G, I
think this is rapidly becoming a non-issue.
--
Peter Samuelson
<sampo.creighton.edu!psamuels>
------------------------------
From: [EMAIL PROTECTED] (Peter Samuelson)
Subject: Re: umount problem...
Date: 6 Jul 1999 04:01:37 -0500
Reply-To: Peter Samuelson <[EMAIL PROTECTED]>
[Thierry BUCCO <[EMAIL PROTECTED]>]
> When i want to umount /home partition, linux says me "Device is busy"
> , in fact one person is connected in this partition.
So kill that process....
> Is there a way to force the umount process ??.
Pretty late in the 2.1.x game, the kernel people added a new umount
syscall with a force option. I think recent releases of util-linux
can use this via `umount -f'.
--
Peter Samuelson
<sampo.creighton.edu!psamuels>
------------------------------
From: "Daniel" <[EMAIL PROTECTED]>
Subject: Adding function to com stack
Date: Tue, 6 Jul 1999 10:32:15 +0100
I wish to add some new function and remove some of the unneeded stuff from
the lunix com stack. The problem is that I have no idea where to start. I
have entered many IRC chats on the subject and get told "Go to the source!"
Well the source is a bit too OTT for me at the moment and I want to gently
accustome myself to it.
The question is.
Where can I get information about the structure of the linux comstack? Some
simple stuff at first and perhaps a few whitepapers or development docs. I
will contact the writer of the stack as a last
move.
Dan
Answers here or to [EMAIL PROTECTED]
Thanks...
------------------------------
From: Bjorn Reese <[EMAIL PROTECTED]>
Subject: Re: Domain Names Limited to two or three Characters?
Date: Mon, 05 Jul 1999 18:52:08 +0000
CodeWright wrote:
> There's a difference between theory (as defined in the above quoted RFCs) and
> practice (as defined by the IANA and/or ICANN, and in RFC 1591).
True, but I believe we were trying to find the worst-case.
> There has been discussion about expanding the General TLDs, but AFAIK, this
> has not yet happened. In any case, the TLD is not arbitrary; it must be one
> approved by the IANA/ICANN
The new gTLDs are currently delayed because of politics (the Green Paper
from the US government.) While TLDs are not arbitrary, there is no way
to determine what new TLDs will be adapted in the future. This is why I
resorted to the technical documents to determine the worst-case scenario.
------------------------------
From: "Kim Jong-chan" <[EMAIL PROTECTED]>
Subject: Where can I get mkfs source code?
Date: Wed, 7 Jul 1999 07:38:27 +0900
I need the source code of mkfs... especially for sysv filesystem...
If you have some information...
please help me...
------------------------------
From: Guillermo <[EMAIL PROTECTED]>
Subject: Did anyone compile imlib in solaris?
Date: Tue, 06 Jul 1999 13:32:40 +0200
The solaris always displays the same message, despite the configure
check looks all fine.
I have installed gtk1.2.3 and it works properly.
Any help
Thanks a million
Guillermo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -I../gdk_imlib
-I../gdk_imlib -I/usr/openwin/include -I/usr/local/lib/glib/include
-I/usr/local/include -I/usr/openwin/include
-I/usr/local/lib/glib/include -I/usr/local/include -I/usr/local/include
-INONE/include -g -O2 -c imlib_config.c
In file included from /usr/include/locale.h:47,
from imlib_config.c:35:
/usr/include/libintl.h:25: parse error before `const'
/usr/include/libintl.h:26: parse error before `const'
/usr/include/libintl.h:27: parse error before `const'
/usr/include/libintl.h:28: parse error before `const'
/usr/include/libintl.h:29: parse error before `const'
imlib_config.c: In function `add_onoff_visual':
imlib_config.c:1293: warning: passing arg 2 of
`gtk_clist_new_with_titles' from incompatible pointer type
make[2]: *** [imlib_config.o] Error 1
make[2]: Leaving directory `/usr/local/imlib-1.9.4/utils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/imlib-1.9.4'
make: *** [all-recursive-am] Error 2
------------------------------
Date: 06 Jul 1999 12:58:00 +0200
From: [EMAIL PROTECTED] (Harald Grabow)
Subject: Serious Trouble with AHA-2940 and new AIC Driver
Pkease excuse Marginal-Topicality
Forwarded from [EMAIL PROTECTED] Mailing list.
Hi.
Although this would make this Mail redundant, I deeply hope this is a
known Problem.
Since several Days I am trying to install Debian 2.1 on my System, with
little success.
Since I am NOT a Kernel Developer, I have found no way to get around this
myself.
The Problem persists with all Kernel versions *HIGHER* 2.0.34 and the AHA-
2940 FAST-SCSI Adapter w/ NVRAM, BIOS Version 1.21 (the only one I have)
To me it looks like the almost-complete-rewrite made since then has broken
something in the Area of the Sequencer.
While reading this i realize it sounds like a SCSI-Newbie-Insufficent-
Termination-Or-Something-Problem, I may assure you it is *not*.
- Driver downloads 10 more Sequencer Code Bytes than usual (409 on
2.0.34, 419 on higher versions)
- Last SCSI Disc getting reflected 3 times.
- On Startup, I get timeouts and bus resets, then the kernel sometimes
actually boots; then occasional bus resets while working, making work
impossible; umount mostly halts the machine.
Output of /proc/scsi/scsi for 2.0.34:
Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: Model: DFRSS2F Rev: 4B4B Type: Direct-Access
ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: TOSHIBA Model: CD-ROM XM-3701TA Rev: 3615 Type: CD-ROM
ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 02 Lun: 00
Vendor: TEAC Model: CD-R55S Rev: 1.0J Type: CD-ROM
ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 06 Lun: 00
Vendor: SEAGATE Model: ST34520N Rev: 1281 Type: Direct-Access
ANSI SCSI revision: 02
Output of /proc/scsi/aic7xxx for 2.0.34:
Adaptec AIC7xxx driver version: 5.0.19/3.2.4
Compile Options: AIC7XXX_RESET_DELAY : 15
AIC7XXX_TAGGED_QUEUEING: Adapter Support Enabled
Check below to see which
devices use tagged queueing
AIC7XXX_PAGE_ENABLE : Enabled (This is no longer an option)
AIC7XXX_PROC_STATS : Enabled
Adapter Configuration:
SCSI Adapter: Adaptec AHA-294X Ultra SCSI host adapter
Narrow Controller
PCI MMAPed I/O Base: 0xffaef000
Adaptec SCSI BIOS: Enabled
IRQ: 11
SCBs: Active 0, Max Active 1,
Allocated 30, HW 16, Page 255
Interrupts: 4033
BIOS Control Word: 0x19b6
Adapter Control Word: 0x0018
Extended Translation: Enabled
Disconnect Enable Flags: 0x00ff
Tag Queue Enable Flags: 0x0000
Ordered Queue Tag Flags: 0x0000
Default Tag Queue Depth: 8
Tagged Queue By Device array for aic7xxx host instance 0:
{255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
Actual queue depth per device for aic7xxx host instance 0:
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}
[Stats deleted]
By no means I managed to get this information with the new Driver, but
IMHO that shouldn't matter anyway.
I tried 2.0.36 as well as 2.2.5 Kernel versions, both no go.
I would be very pleased if this Problem could be dealt with, and would
like to know if other people are experiencing the same trouble with their
2940, and how they got around it.
Many thanks in advance! I am under pressure with this one, friends.
ben
------------------------------
From: Piyush Agarwal <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.misc
Subject: diskless linux
Date: Tue, 06 Jul 1999 16:33:49 +0530
Reply-To: [EMAIL PROTECTED]
I need to boot diskless linux from flash. I saw etherboot and netboot
but they require a server on the net. I have a standalone linux board
with no NFS server. The kernel image has to be burnt in flash and if any
directory structure is required then it has to be created in flash or
RAMDISK. Please advise on how this can be achieved.
Thanks,
Piyush
------------------------------
** 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
******************************