Re: How do I make a circular pipe?

2001-04-13 Thread Michael Meissner
if (name == NULL) goto close_master; slave = open (name, O_RDWR); if (slave == -1) goto close_master; if (isastream (slave)) { if (ioctl (slave, I_PUSH, "ptem") < 0 || ioctl (slave, I_PUSH, &

Re: i386 cleanups

2001-04-18 Thread Michael Meissner
mething). While, I grant that this is one area the ABI could have been improved upon (alignment of floating point, and reservation of EBX as GOT pointers are other sore spots), it is the ABI of record. Yes, we could certainly choose a different ABI for Linux, but it is probably too late for

Re: The advantage of modules?

2001-01-08 Thread Michael Meissner
he other brand(s) as modules allows you to control which scsi controller is the first controller in terms of where the disks are. -- Michael Meissner, Red Hat, Inc. (GCC group) PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA Work: [EMAIL PROTECTED] phone:

Re: The advantage of modules?

2001-01-08 Thread Michael Meissner
many devices you can specify the parameters at boot time if you use something like lilo to boot. -- Michael Meissner, Red Hat, Inc. (GCC group) PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA Work: [EMAIL PROTECTED] phone: +1 978-486-9304 Non-work: [EMAIL PROTE

Re: The advantage of modules?

2001-01-08 Thread Michael Meissner
er. */ so my take is unless you explicitly use hotplug devices (I wasn't), that it is much safer to unload the driver, unattach/attach scsi devices, and then reload the driver (which will scan the scsi bus for devices), which you need modules for. -- Michael Meissner, Red Ha

Re: Linux not adhering to BIOS Drive boot order?

2001-01-16 Thread Michael Meissner
On Tue, Jan 16, 2001 at 10:01:25PM +0100, Andi Kleen wrote: > On Tue, Jan 16, 2001 at 03:37:57PM -0500, Michael Meissner wrote: > > don't assume that the way your system gets booted is the way everybody's does, > > particularly those on platforms other than the x86. &g

Re: Linux not adhering to BIOS Drive boot order?

2001-01-17 Thread Michael Meissner
On Tue, Jan 16, 2001 at 08:14:01PM -0600, Peter Samuelson wrote: > > [Michael Meissner] > > Ummm, I just reread the 2.4 Changes file once again just to be sure, > > and it did not cover this issue. So how the *$@% are people supposed > > to "read some docs" to

Re: Linux not adhering to BIOS Drive boot order?

2001-01-16 Thread Michael Meissner
;m an end-user, and I have 3 scsi-adapters of two different brands in my system. Many of the people using Linux in high end things like servers, etc. will have multiple scsi controlers. People are using Linux in lots of things from small embedded devices to large systems, and Linux needs t

Re: Linux not adhering to BIOS Drive boot order?

2001-01-16 Thread Michael Meissner
uild a kernel. Ummm, I just reread the 2.4 Changes file once again just to be sure, and it did not cover this issue. So how the *$@% are people supposed to "read some docs" to know about this, if the docs don't mention the information. I know people have been complaining about

Re: Advanced Linux Kernel/Enterprise Linux Kernel

2000-11-14 Thread Michael Meissner
emory system using 36 bit words. The operating system and system software was written in PL/1. Bell Labs had bought a GE-645 and was one of the three development partners (along with GE and MIT) until they withdrew in April 1969. You might want to browse: http://www.multicians.org/

Re: [PATCH] removal of "static foo = 0"

2000-11-26 Thread Michael Meissner
tics that it references, and those must be hand initialized. -- Michael Meissner, Red Hat, Inc. PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA Work: [EMAIL PROTECTED] phone: +1 978-486-9304 Non-work: [EMAIL PROTECTED] fax: +1 978-692-4482 - To unsubscribe from this li

Re: Universal debug macros.

2000-11-26 Thread Michael Meissner
old the compiler tools plus web pages I want to serve. If I was serving much more content, I would probably chuck the compiler tools/kernel source. -- Michael Meissner, Red Hat, Inc. PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA Work: [EMAIL PROTECTED] phone: +1

Re: [PATCH] removal of "static foo = 0"

2000-11-27 Thread Michael Meissner
-3 instructions to access global/static variables. Global variables you have more problems visiblity and such. -- Michael Meissner, Red Hat, Inc. PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA Work: [EMAIL PROTECTED] phone: +1 978-486-9304 Non-work: [EMAIL PROTECTED]

Re: [PATCH] removal of "static foo = 0"

2000-11-27 Thread Michael Meissner
r could randomly order things specifically to catch these type of errors (the problem with the normal checkout compilers that I'm aware of, is that the kernel uses structs to talk to real devices and interact with system calls with fixed layouts). -- Michael Meissner, Red

Re: [PATCH] removal of "static foo = 0"

2000-11-28 Thread Michael Meissner
ween what K&R said (ref/def model) and what their compilers actually did (common model), the AT&T representative at the time said that the ref/def model was put into K&R when they tried to make a C compiler for their IBM mainframes, using the standard linker, and discovered that linker

Re: [PATCH] removal of "static foo = 0"

2000-11-27 Thread Michael Meissner
bove is ok also on mips in practice though. That needs to be fixed ASAP to use an array (not a structure). It is simply wrong to depend on two variables winding up in at adjacent offsets. -- Michael Meissner, Red Hat, Inc. PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA Wo

Re: Large File support and blocks.

2000-09-01 Thread Michael Meissner
Obviously, if you do this and gcc 7.0 changes the interface to call different functions, you are hosed. -- Michael Meissner, Red Hat, Inc. PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA Work: [EMAIL PROTECTED] phone: +1 978-486-9304 Non-work: [EMAIL PROTECTED]

Re: Large File support and blocks.

2000-09-01 Thread Michael Meissner
since. > You know how it goes- you do a trick once- you don't change it for years... According to the ChangeLog of the 2.7.2.3 compiler, Doug Evans added it in March of 1995. -- Michael Meissner, Red Hat, Inc. PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA Work:

Re: Kernel 2.2.17 with RedHat 7 Problem !

2000-10-22 Thread Michael Meissner
the optimization level, what was on the stack and in the registers when main started, and possibly other criteria. Just because a program is executing, it doesn't mean it is correct. Both the kernel and the compiler are large complex pieces of software, and almost certainly have bugs in them, a

Re: Kernel 2.2.17 with RedHat 7 Problem !

2000-10-23 Thread Michael Meissner
, since a[i] = b[i++] does not have a sequence, it is explicitly undefined behavior in the standard. As I recall Bernd Schmidt recently found a number of places where the above construct is used in the Linux kernel. -- Michael Meissner, Red Hat, Inc. PMB 198, 174 Littleton Road #3, W

Re: non-gcc linux? (was Re: Where did kgcc go in 2.4.0-test10?)

2000-11-04 Thread Michael Meissner
he latest codegen as well). Note, I seriously doubt Linus will want a flag day (ie, after a given kernel release, you must use revision n of the compiler, but before that release, you must use revision n-1 of the compiler), so you still have to maintain support for the old GCC way of doing things, i

Re: non-gcc linux? (was Re: Where did kgcc go in 2.4.0-test10?)

2000-11-04 Thread Michael Meissner
, and nobody seemed willing to step in (at the time Cygnus only had 4 GCC engineers, and like now there was always more GCC work to do than bodies to do work). The trouble is it takes a lot of time from your paying job to actively participate (figure 4 week long meetings a year, plus the time to r

Re: xterm: no available ptys

2000-11-06 Thread Michael Meissner
o available ptys > > I'm not sure which device I'm missing in /dev. I'm no > expert on how the tty's and stuff work so feel free to > fill me in. Everything else seems to work fine on the > CD. Did you mount /dev/pts, which is usually done with a line in /etc/f

Re: Where is it written?

2000-11-10 Thread Michael Meissner
rsion from: http://www.sco.com/developer/devspecs/abi386-4.pdf -- Michael Meissner, Red Hat, Inc. PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA Work: [EMAIL PROTECTED] phone: +1 978-486-9304 Non-work: [EMAIL PROTECTED] fax: +1 978-692-4482 - To unsubscribe

Re: Where is it written?

2000-11-10 Thread Michael Meissner
On Fri, Nov 10, 2000 at 07:11:37PM -0500, Albert D. Cahalan wrote: > Michael Meissner writes: > > > It may be out of print by now, but the original reference > > for the x86 ABI, is the: > > > > System V Application Binary Interface > > Intel386 (t

Re: Where is it written?

2000-11-10 Thread Michael Meissner
have their own ideas of what to work on. Also note, that for -mregpar=n, it is important that variable argument functions be declared properly in all callers, since they need to use the standard calling sequence. -- Michael Meissner, Red Hat, Inc. PMB 198, 174 Littleton Road #3, Westford, Massachusetts

Re: 2.2.18 signal.h

2000-12-15 Thread Michael Meissner
tself certainly is file scope (or larger). Old K&R allowed the following: foo(){ extern int a; a = 1; } bar(){ a = 2; } Ie, compiler put the definition for a in the file scope symbol table, and not the current block's. The a

Re: 2.2.18 signal.h

2000-12-15 Thread Michael Meissner
The ebnf looks like: statement: labeled-statement | expression-statem | compoundstatement | selection-statement | iteration-statement | jump-statement labeled-statement: identifier &#

Re: 2.2.18 signal.h

2000-12-19 Thread Michael Meissner
e changes, I would: 1) Make all stdio functions consistant in taking the FILE * argument as the first argument. 2) Make && and || have the proper priority. 3) Make plain char and bitfields unsigned by default, add signed keyword to the original language. 4)

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-11 Thread Michael Meissner
nditional floating point move, and a few other instructions that GCC currently does not generate code for such as atomic exchange of 8 bytes. -- Michael Meissner, Red Hat, Inc. PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA Work: [EMAIL PROTECTED] phone: +1 978-486

Re: Linux 2.4.2ac13

2001-03-07 Thread Michael Meissner
d. I have a 1460 scsi card, so I build my laptop release with scsi support included. I'll post this also to the pcmcia support pages. -- Michael Meissner, Red Hat, Inc. (GCC group) PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA Work: [EMAIL PROTECTED] pho

Re: LANANA: To Pending Device Number Registrants

2001-05-19 Thread Michael Meissner
On Fri, May 18, 2001 at 03:17:50PM +0100, Stephen C. Tweedie wrote: > Hi, > > On Wed, May 16, 2001 at 12:18:15PM -0400, Michael Meissner wrote: > > > With the current LABEL= support, you won't be able to mount the disks with > > duplicate labels, but you can

Re: CML2 design philosophy heads-up

2001-05-17 Thread Michael Meissner
ic case for an > embedded CD-RW appliance. Or alternatively, you want to enable SCSI code, with no hardware driver, because you are going to build pcmcia, which builds the scsi drivers only if CONFIG_SCSI is defined, and the user might put in an Adaptec 1460B or 1480 scsi card into your pc

Re: [kbuild-devel] Re: CML2 design philosophy heads-up

2001-05-18 Thread Michael Meissner
els, etc. -- Michael Meissner, Red Hat, Inc. (GCC group) PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA Work: [EMAIL PROTECTED] phone: +1 978-486-9304 Non-work: [EMAIL PROTECTED] fax: +1 978-692-4482 - To unsubscribe from this list: send the line "unsubscribe

Re: Alan Cox quote? (was: Re: accounting for threads)

2001-06-19 Thread Michael Meissner
k was "Why workstations don't work", where he outlined Plan9. If it wasn't the Baltimore USENIX, it may have been Salt Lake city, Dallas, or the Boston one. -- Michael Meissner, Red Hat, Inc. (GCC group) PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA

Re: sizeof problem in kernel modules

2001-06-24 Thread Michael Meissner
tfields don't have addresses, and different compiler ABIs do lay them out in different fashions within the words). C89 never changed the wording that mandates this. -- Michael Meissner, Red Hat, Inc. (GCC group) PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA Work:

Re: [comphist] Re: Microsoft and Xenix.

2001-06-26 Thread Michael Meissner
nd the later ones got tapes. -- Michael Meissner, Red Hat, Inc. (GCC group) PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA Work: [EMAIL PROTECTED] phone: +1 978-486-9304 Non-work: [EMAIL PROTECTED] fax: +1 978-692-4482 - To unsubscribe from this list: send the lin

Re: Microsoft and Xenix.

2001-06-26 Thread Michael Meissner
n special PowerPC's, the home may have moved to Austin, which is the PowerPC/AIX center. The AS/400 line was intended to be the mid-range system, between the mainframes (360 -> 370 -> 3080 -> 3900 -> ???) and the PCs. -- Michael Meissner, Red Hat, Inc. (GCC group) PMB 198, 1

Re: Why Plan 9 C compilers don't have asm("")

2001-07-04 Thread Michael Meissner
ating point and the number of arguments is not variable, it is passed in a FP register, instead of an integer register. For variable argument functions, everything is passed in the integer registers. -- Michael Meissner, Red Hat, Inc. (GCC group) PMB 198, 174 Littleton Road #3, Westford, Massachuse

Re: Why Plan 9 C compilers don't have asm("")

2001-07-05 Thread Michael Meissner
Unix(TM) boxes of various types. Linux won't pass void > either, you have to get a 0 at least. Compliance is subjective. It's > easier when things make sense. Yes, that is an artifact of the original UNIX implementation on the PDP-11 (16 bit ints, signal number is passed back in

Re: Linux 2.4.3ac13

2001-04-24 Thread Michael Meissner
n to the kernel, only whether I want to build the alternative USHI USB dirver (the JE driver). Make xconfig asks whether you want to build both drivers. I'm not sure whether this was a bug in previous versions or not. -- Michael Meissner, Red Hat, Inc. (GCC group) PMB 198, 174 Littleton

Re: Linux 2.4.3ac13

2001-04-24 Thread Michael Meissner
On Tue, Apr 24, 2001 at 07:36:42PM -0400, Johannes Erdfelt wrote: > On Tue, Apr 24, 2001, Michael Meissner <[EMAIL PROTECTED]> wrote: > > and it doesn't ask whether I want to build the normal USHI USB driver either as > > a module or builtin to the kernel, only w

Re: Not a typewriter

2001-05-14 Thread Michael Meissner
I would imagine you should ask the Berkely folks, since the TCP/IP support all came from there, and not Bell Labs. > > Were they afraid that "e" being the most widely used letter in > > the English language was going to war out thir xpnsiv kyboards if > > thy usd it al

Re: Not a typewriterg

2001-05-14 Thread Michael Meissner
ne of the first systems I worked on professionally (Data General RDOS) used RAD50 in their object file format. -- Michael Meissner, Red Hat, Inc. (GCC group) PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA Work: [EMAIL PROTECTED] phone: +1 978-486-9304 Non-work: [EM

Re: Not a typewriter

2001-05-14 Thread Michael Meissner
for extensibility and write part of the program in that language. -- Michael Meissner, Red Hat, Inc. (GCC group) PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA Work: [EMAIL PROTECTED] phone: +1 978-486-9304 Non-work: [EMAIL PROTECTED] fax: +1 978-692-4482 - To uns

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Michael Meissner
mount could scan > partition IDs and associate mount points on matching IDs rather than on > /dev/hdX or /dev/sdX. I don't see how this is any different from the current LABEL= support that is currently in the ext2 filesystem (except I seem to recall that it doesn't work on devfs).

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Michael Meissner
Similarly for serial ports, if I have 3 or 4 (or 127 :-) USB serial devices, I really don't want to have to change my cabling each time I boot or change OSes (since I doubt my UPS will be happy if I give it the commands destined for the X10 controller or my remote boards). -- Michael Meissn

Re: wrong /dev/sd... order with multiple adapters in kernel 2.4.4

2001-05-16 Thread Michael Meissner
53c8xx to my /etc/modules.conf. That way, when the kernel boots, it will only see the Adaptec driver. -- Michael Meissner, Red Hat, Inc. (GCC group) PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA Work: [EMAIL PROTECTED] phone: +1 978-486-9304 Non-work: [EMAIL PRO

Re: LANANA: To Pending Device Number Registrants

2001-05-17 Thread Michael Meissner
system do not (well presumably anybody who reads this mailing list has enough of a clue). Also, I bet the number of USB and Firewire devices used on the above two systems is probably vanishingly small. -- Michael Meissner, Red Hat, Inc. (GCC group) PMB 198, 174 Littleton Road #3, We