Re: Linux OS boilerplate

2001-05-17 Thread H. Peter Anvin
Followup to: <[EMAIL PROTECTED]> By author:Paul Gortmaker <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > > Does there exist an outline (detailed or not) of the boot process from > > the point of BIOS bootsector load to when the kernel proper begins > > IIRC, there is some useful

Re: Linux 2.4.4-ac10

2001-05-17 Thread Mike Galbraith
On Thu, 17 May 2001, Rik van Riel wrote: > On Thu, 17 May 2001, Mike Galbraith wrote: > > > > Has anyone benched 2.4.5pre3 vs 2.4.4 vs. ? > > > > Only doing parallel kernel builds. Heavy load throughput is up, > > but it swaps too heavily. It's a little too conservative about > > releasing

java/old_mmap allocation problems...

2001-05-17 Thread firenza
hi, i'm having problems to convince java (1.3.1) to allocate more than 1.9gb of memory on 2.4.2-ac2 (SMP/6gb phys mem) or more than 1.1gb on 2.2.18 (SMP/2gb phys mem)... modifing /proc/sys/vm parameters didn't help either... the fact that i can allocate more memory under 2.4 than under 2.2

Re: [PATCH] 2.4.5pre3 warning fixes

2001-05-17 Thread Albert D. Cahalan
Bingner Sam J. Con writes: > Looks to me like it's adding { and } on each side of the > "c->devices->prev=d;" statement... so changing from: > > if (c->devices != NULL) > c->devices->prev=d; > > to > > if (c->devices != NULL){ > c->devices->prev=d; > } > > I assume the new

question about the route command

2001-05-17 Thread Gabriel Rocha
ok, pardon my ignorance if this has nothing to do with the kernel proper, but it is something i find very neat on OpenBSD that I would love to see implemented into linux...it is the change option to route. Under Obsd I can simply route change ip gateway...i'd like to be able to do the same if its

Re: Linux 2.4.4-ac10

2001-05-17 Thread Rik van Riel
On Fri, 18 May 2001, Sasi Peter wrote: > On Thu, 17 May 2001, Rik van Riel wrote: > > > Or are you just comparing with 2.2 and you'd rather > > have 2.2 performance? ;) > > Actually, yes. Doing fileserving with Samba, and also using the box > interactively feels better with 2.2, and also the

Re: VIA/PDC/Athlon

2001-05-17 Thread Pavel Roskin
Hello, Zilvinas! There are utilities that work with PnP BIOS. They are included with pcmcia-cs (which is weird - it should be a separate package) and called "lspci" and "setpci". They depend on PnP BIOS support in the kernel (CONFIG_PNPBIOS). Dumping your PnP BIOS configuration and checking

Re: Linux 2.4.4-ac10

2001-05-17 Thread Sasi Peter
On Thu, 17 May 2001, Rik van Riel wrote: > Or are you just comparing with 2.2 and you'd rather > have 2.2 performance? ;) Actually, yes. Doing fileserving with Samba, and also using the box interactively feels better with 2.2, and also the average TCP througput (measured by iptraf) seems

Linking

2001-05-17 Thread Anil Kumar
How do i link the kernel functions such as test_ans_set functions with my applications. thanks, anil - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Question

2001-05-17 Thread C.Praveen
Hello, i have a very simple question. please CC any reply to me, since im not subscribed to the list On the same processor i have the following code (initially a = 0) 1. write a = 1 2. read b if an interrupt occurred after line 1 and before line 2, and that ISR reads the value of a, is there

Re: [QUESTION] "No 100Hz timer" thread - any LKML archive?

2001-05-17 Thread Daniel Phillips
On Friday 18 May 2001 00:06, Dan Kegel wrote: > Tomas Telensky ([EMAIL PROTECTED]) wrote: > > does anybody know about any archive/digest service for this mailing > > list? Majordomo at vger doesn't support this. Or does anybody of > > you archive all e-mails? > > [...] > See

Re: [patch] 2.4.0, 2.2.18: A critical problem with tty_io.c

2001-05-17 Thread Al Borchers
Alan Cox wrote: > It has to be changed, the race is basically unfixable any other way. I didn't > lightly make that change I agree. The patch seems like the correct solution. What will it take to get the patch in the 2.4.x kernels? Do we need someone to go through the serial drivers and fix

Re: LANANA: To Pending Device Number Registrants

2001-05-17 Thread Jonathan Lundell
At 11:23 PM +0200 2001-05-17, Kai Henningsen wrote: >[EMAIL PROTECTED] (Jonathan Lundell) wrote on 15.05.01 in >: > >> What about: >> >> 1 (network domain). I have two network interfaces that I connect to >> two different network segments, eth0 & eth1;

Re: newbie problem: compiling kernel 2.4.4, make modules_install , Help please !

2001-05-17 Thread Keith Owens
On Thu, 17 May 2001 20:50:46 +0200 (CEST), Joel Cordonnier <[EMAIL PROTECTED]> wrote: >It's the first time that i try to compile my own >kernel. At the moment, I have an old RH 6.1 with a >2.2.12 kernel. >- make modules_install ==> PROBLEM ! >FIRST the message say that no argument -F exist for

Re: Linux 2.4.4-ac11

2001-05-17 Thread Mads Martin Jørgensen
* Bill Nottingham <[EMAIL PROTECTED]> [May 17. 2001 18:55]: > (catching up...) > > Alan Cox ([EMAIL PROTECTED]) said: > > 2.4.4-ac9 > ... > > o Further tulip updates (Jeff Garzik) > ... > > 2.4.4-ac8 > > o Tulip driver updates(Jeff

rtl8139 - kernel 2.4.3

2001-05-17 Thread Ted Gervais
I get the following when ftping from one workstation to another. Using kernel 2.4.3 and Redhat7.1: Assertion failed! tp->tx_info[entry].skb == NULL,8139too.c,rtl8139_start_xmit,line=1676 Assertion failed! tp->tx_info[entry].mapping == 0,8139too.c,rtl8139_start_xmit,line=1677 Assertion failed!

Re: Linux 2.4.4-ac11

2001-05-17 Thread Bill Nottingham
(catching up...) Alan Cox ([EMAIL PROTECTED]) said: > 2.4.4-ac9 ... > o Further tulip updates (Jeff Garzik) ... > 2.4.4-ac8 > o Tulip driver updates(Jeff Garzik) These updates (sorry, haven't tracked down which of the two) conspire

Re: [QUESTION] "No 100Hz timer" thread - any LKML archive?

2001-05-17 Thread Sven Koch
On Thu, 17 May 2001, Tomas Telensky wrote: > does anybody know about any archive/digest service for this mailing > list? Majordomo at vger doesn't support this. Or does anybody of you > archive all e-mails? > > I'm especially interested in the _WHOLE_ thread "No 100Hz timer !" now. > (but the

problem: reading from (rivafb) framebuffer is really slow

2001-05-17 Thread Felix von Leitner
When benchmarking DirectFB, I found that a typical software alpha blending rectangle fill is completely dominated (I'm talking 90% of the CPU cycles here) by the time it takes to read pixels from the framebuffer. The pixels are read linearly in chunks of aligned 32-bit words. It's a Geforce 2

Re: [PATCH] drivers/char/serial.c bug in ST16C654 detection

2001-05-17 Thread Theodore Tso
On Wed, May 16, 2001 at 04:12:45PM -0600, Val Henson wrote: > Anyone know where Ted Tso is? He hasn't posted in several weeks. > Alan, will you put this in -ac? This patch fixes a bug in serial.c > that causes a crash on machines with a ST16C654. I'm around, just swamped with a few other

RE: Kernel bug with UNIX sockets not detecting other end gone?

2001-05-17 Thread David Schwartz
> Hmm - there's definitely a Linux inconsistency here. With SOCK_DGRAM, > read() is blocking but write() is giving ECONNRESET. > > The ECONNRESET makes sense to me (despite this being a datagram socket), > because the sockets are anonymous. Once one end goes away, the other end > is pretty

Re: Ide Floppy problems

2001-05-17 Thread Mihai Moldovanu
>> May 17 05:42:20 m kernel: hdd: lost interrupt >> May 17 05:42:20 m kernel: ide-floppy: CoD != 0 in idefloppy_pc_intr >> May 17 05:42:20 m kernel: hdd: ATAPI reset complete >> May 17 05:43:10 m kernel: hdd: lost interrupt >> May 17 05:43:10 m kernel: ide-floppy: CoD != 0 in idefloppy_pc_intr >>

Workaround Found for Re: CD-RW ide-scsi problem presists with 2.4.4 (was Re: Problem with 2.4.1/2.4.3 and CD-RW ide-scsi drive)

2001-05-17 Thread Tim Meushaw
Thanks to an email I got (hi Thomas!), I was able to use a workaround to the problem described below. I don't know if it's the accepted fix or not, but it worked for me. What I did was set the DMA mode of the drive differently. I used the following hdparm command: hdparm -d 1 -X 34

Re: eepro100 rev 12 problems

2001-05-17 Thread Ion Badulescu
On Fri, 18 May 2001, James Fidell wrote: > > Is this a real card, or is it built-in on the motherboard? > > It's a real card. All right, that's good to know. Maybe I'll get one for myself, so I can test new code on it -- right now I only have rev 9 and earlier cards. > For various reasons

RE: write() writes too many bytes?

2001-05-17 Thread Eric Buddington
My apologies for bothering the list with this cool-sounding but bogus problem; I only sent it accidentally (I discovered my mistake while writing the original) and followed with a retraction which I stupidly sent to the old rutgers address. Wish I had sent the original there, too. I was fooled

Re: Kernel bug with UNIX sockets not detecting other end gone?

2001-05-17 Thread Chris Evans
On Thu, 17 May 2001, Alan Cox wrote: > > The following program blocks indefinitely on Linux (2.2, 2.4 not tested). > > Since the other end is clearly gone, I would expect some sort of error > > condition. Indeed, FreeBSD gives ECONNRESET. > > Since its a datagram socket Im not convinced thats a

Linux 2.4.4-ac11

2001-05-17 Thread Alan Cox
ftp://ftp.kernel.org/pub/linux/kernel/people/alan/2.4/ Intermediate diffs are available from http://www.bzimage.org 2.4.4-ac11 o Fix hang after "Freeing unused.." on S/390 (Dick Hitt) o Fix ramfs accounting bug

Re: eepro100 rev 12 problems

2001-05-17 Thread James Fidell
Quoting Ion Badulescu ([EMAIL PROTECTED]): > On Thu, 17 May 2001 16:59:04 +0100, James Fidell <[EMAIL PROTECTED]> wrote: > > I have two eepro100 interfaces in a machine, one rev 8, which works just > > fine, and another rev 12, which appears as a device when the kernel boots > > and can be

Re: Linux-Kernel Archive: ide-floppy

2001-05-17 Thread Alan Cox
> > If people can pin down cases where -ac fails and the main tree doesnt that > > would be good. There shouldnt be any differences that matter but apparently there > > are > > Thump "StoatWblr" about the ali crash... I have talked to him about it - it doesnt involve ide-floppy or ide tho - To

Re: [PATCH] drivers/char/serial.c bug in ST16C654 detection

2001-05-17 Thread Val Henson
On Thu, May 17, 2001 at 09:49:11AM -0400, Stuart MacDonald wrote: > Are you using the serial console though? That seems to be > implied by your problem, but I just want to check. Yes, I have serial console only on this board. -VAL - To unsubscribe from this list: send the line "unsubscribe

Re: Linux-Kernel Archive: ide-floppy

2001-05-17 Thread Andre Hedrick
On Thu, 17 May 2001, Alan Cox wrote: > Date: Thu, 17 May 2001 23:58:52 +0100 (BST) > > > As for AC patches have not gotten around to messing with, but I have a few > > reported cases where stock or pre-patched linus-trees work and > > pre-patched ac-trees fail... > > If people can pin down

Re: Kernel bug with UNIX sockets not detecting other end gone?

2001-05-17 Thread Alan Cox
> The following program blocks indefinitely on Linux (2.2, 2.4 not tested). > Since the other end is clearly gone, I would expect some sort of error > condition. Indeed, FreeBSD gives ECONNRESET. Since its a datagram socket Im not convinced thats a justifiable assumption. Alan - To unsubscribe

Re: Linux-Kernel Archive: ide-floppy

2001-05-17 Thread Alan Cox
> As for AC patches have not gotten around to messing with, but I have a few > reported cases where stock or pre-patched linus-trees work and > pre-patched ac-trees fail... If people can pin down cases where -ac fails and the main tree doesnt that would be good. There shouldnt be any differences

Re: 2.2.xx ? messages related to parport printer ?

2001-05-17 Thread Tim Waugh
On Thu, May 10, 2001 at 05:12:33PM +0200, Jean-Luc Coulon wrote: > >Huh. Does it do the same thing every time you load parport_probe? > >Does it always get truncated in the same place? > > Yes ! :-/ Nothing really uses that information in 2.2 anyway, so it's harmless at least. It's probably

Kernel bug with UNIX sockets not detecting other end gone?

2001-05-17 Thread Chris Evans
Hi, I wonder if the following is a bug? It certainly differs from FreeBSD 4.2 behaviour, which gives the behaviour I would expect. The following program blocks indefinitely on Linux (2.2, 2.4 not tested). Since the other end is clearly gone, I would expect some sort of error condition. Indeed,

Re: Linux-Kernel Archive: ide-floppy

2001-05-17 Thread Andre Hedrick
http://www.uwsg.indiana.edu/hypermail/linux/kernel/0105.2/0082.html > Whenever I boot (2.4.4-ac6) I get this error message if there is a zip > disk in the drive. > > hdb: 98288kB, 196576 blocks, 512 sector size, hdb: 98304kB, 96/64/32 CHS, > 4096 kBps, 512 sector size, 2941 rpm ide-floppy:

2.2, 2.4 bug in sock_no_fcntl()/F_SETOWN? (fwd)

2001-05-17 Thread Chris Evans
Resend (no response first time) -- Forwarded message -- Date: Wed, 24 Jan 2001 21:09:09 + (GMT) From: Chris Evans <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: 2.2, 2.4 bug in sock_no_fcntl()/F_SETOWN? Hi, Looking at the code for sock_no_fcntl()

Re: LANANA: To Pending Device Number Registrants

2001-05-17 Thread Johannes Erdfelt
On Thu, May 17, 2001, Kai Henningsen <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] (Johannes Erdfelt) wrote on 15.05.01 in ><[EMAIL PROTECTED]>: > > > I had always made the assumption that sockets were created because you > > couldn't easily map IPv4 semantics onto filesystems. It's

Re: LANANA: To Pending Device Number Registrants

2001-05-17 Thread Kai Henningsen
[EMAIL PROTECTED] (H. Peter Anvin) wrote on 16.05.01 in <[EMAIL PROTECTED]>: > At some point something talks to the device -- in this case, it's the > SCSI layer. Follow the interfaces in the kernel and it becomes obvious. rc = sys_iskind(int filehandle, const char *driverkind) rc = 0 or

Re: LANANA: To Pending Device Number Registrants

2001-05-17 Thread Kai Henningsen
[EMAIL PROTECTED] (Richard Gooch) wrote on 16.05.01 in <[EMAIL PROTECTED]>: > H. Peter Anvin writes: > > Richard Gooch wrote: > > > > > > H. Peter Anvin writes: > > > > Richard Gooch wrote: > > > > > Argh! What I wrote in text is what I meant to say. The code didn't > > > > > match. No wonder

Re: LANANA: To Pending Device Number Registrants

2001-05-17 Thread Kai Henningsen
[EMAIL PROTECTED] (Jonathan Lundell) wrote on 15.05.01 in : > What about: > > 1 (network domain). I have two network interfaces that I connect to > two different network segments, eth0 & eth1; they're ifconfig'd to > the appropriate IP and MAC addresses.

Re: LANANA: To Pending Device Number Registrants

2001-05-17 Thread Kai Henningsen
[EMAIL PROTECTED] (Linus Torvalds) wrote on 15.05.01 in <[EMAIL PROTECTED]>: > They might also be exactly the same channel, except with certain magic > bits set. The example peter gave was fine: tty devices could very usefully > be opened with something like > > fd =

Re: LANANA: To Pending Device Number Registrants

2001-05-17 Thread Kai Henningsen
[EMAIL PROTECTED] (Johannes Erdfelt) wrote on 15.05.01 in <[EMAIL PROTECTED]>: > I had always made the assumption that sockets were created because you > couldn't easily map IPv4 semantics onto filesystems. It's unreasonable > to have a file for every possible IP address/port you can

Re: mm/memory.c: Missing pte_mkyoung() on mk_pte() calls?

2001-05-17 Thread Marcelo Tosatti
Two seconds after I sent the message Benjamin told me on IRC that PAGE_ACCESSED is included in the default page protections... duh. On Thu, 17 May 2001, Marcelo Tosatti wrote: > > Linus, > > I was looking at mm/memory.c (2.4), and I've noticed that we don't call > pte_mkyoung() on newly

mm/memory.c: Missing pte_mkyoung() on mk_pte() calls?

2001-05-17 Thread Marcelo Tosatti
Linus, I was looking at mm/memory.c (2.4), and I've noticed that we don't call pte_mkyoung() on newly created pte's for most of the fault paths. break_cow(), for example: establish_pte(vma, address, page_table, pte_mkwrite(pte_mkdirty(mk_pte(new_page, v ma->vm_page_prot; Is there any

2.4.4-ac10 IDE Floppy Still hangs

2001-05-17 Thread Mihai Moldovanu
Ok . There still is a problem even in 2.4.4-ac10 with IDE FLoppy . Here is what i did and errors i got . [root@m /mnt]# mount /dev/hdd4 /mnt/zip ide-floppy: hdd: I/O error, pc = 5a, key = 5, asc = 24, ascq = 0 ide-floppy: hdd: I/O error, pc = 5a, key = 5, asc = 24, ascq = 0 [root@m /mnt]#

8139too on 2.2.19 doesn't close file descriptors

2001-05-17 Thread Santiago Garcia Mantinan
Hi! I was tracking down a problem with Debian installation freezing when doing the ifconfig of the 8139too driver on 2.2.19 kernel, and found that this was caused by 8139too for 2.2.19 not closing it's file descriptors. The original code by Jeff for the 2.4 series is ok, and searching for the

Re: [QUESTION] "No 100Hz timer" thread - any LKML archive?

2001-05-17 Thread Dan Kegel
Tomas Telensky ([EMAIL PROTECTED]) wrote: > does anybody know about any archive/digest service for this mailing > list? Majordomo at vger doesn't support this. Or does anybody of you > archive all e-mails? > > I'm especially interested in the _WHOLE_ thread "No 100Hz timer !" now. > (but the

Re: oops in 2.4.4-ac9 (mm/slab.c)

2001-05-17 Thread Andreas Franck
Alan Cox wrote: > Its a deliberate debugging trap. > > > #if DEBUG > > if (cachep->flags & SLAB_POISON) > > if (kmem_check_poison_obj(cachep, objp)) > > BUG(); > > ^^ This one is triggered > > Someone freed memory and then

Re: LANANA: To Pending Device Number Registrants

2001-05-17 Thread Oliver Neukum
On Thursday, 17. May 2001 18:58, Tim Jansen wrote: > On Thursday 17 May 2001 08:43, Thomas Sailer wrote: > > Cheap USB devices (and sometimes even expensive ones) > > do not have serial numbers or other unique identifiers. > > Therefore some sort of topology based addressing scheme > > has to be

Re: Linux 2.4.4-ac10: Oops

2001-05-17 Thread Alan Cox
> SCSI subsystem driver Revision: 1.00 > PCI: Found IRQ 11 for device 00:0b.0 > Unable to handle kernel NULL pointer dereference at virtual address 000 > printing eip: What scsi drivers do you have and which are on IRQ 11 - To unsubscribe from this list: send the line "unsubscribe

Re: Linux-Kernel Archive: ATA overlap/queuing support ?

2001-05-17 Thread Jens Axboe
On Thu, May 17 2001, Andre Hedrick wrote: > ATA-overlap or ATAPI-overlap? The later is known as DSC based on > SFF-8020/8070/8090, I have forgotten where it is located but I have the > docs, and it is supported in ide-floppy and ide-tape. And ide-cd -- Jens Axboe - To unsubscribe from this

Re: VIA/PDC/Athlon

2001-05-17 Thread Alan Cox
> Ummm... Here's stripped dmesg of both kernels... Is this compiler thingie or > Athlon optimizations? Neither by the look of it > Notice also different detected PDC20265 BIOS settings! So 2.4.4-ac9 detects > those BIOS settings correctly and 2.4.2-2 doesn't. That's probably reason > why

Re: Linux-Kernel Archive: ATA overlap/queuing support ?

2001-05-17 Thread Andre Hedrick
Is there support in linux for ATA overlap/queuing ? It should ( among other things ) improve concurent performance of two devices on the same channel. -- David Balazic -- > http://www.uwsg.indiana.edu/hypermail/linux/kernel/0105.2/0022.html No, queuing is broken and requires a

Re: [PATCH] 2.4.5pre3 warning fixes

2001-05-17 Thread Alan Cox
> if (c->devices != NULL){ > c->devices->prev=d; > } > > I assume the new compiler likes the if to have explicit brackets instead of > using the next statement... Then its not a C compiler - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: [patch] 2.4.0, 2.2.18: A critical problem with tty_io.c

2001-05-17 Thread Alan Cox
> Ted can you get this patch in the kernel or ban it as interface breaking > heresy? It would be much nicer for us device driver writers to have just > one interface to support. It has to be changed, the race is basically unfixable any other way. I didn't lightly make that change - To

[QUESTION] "No 100Hz timer" thread - any LKML archive?

2001-05-17 Thread Tomas Telensky
Hi, does anybody know about any archive/digest service for this mailing list? Majordomo at vger doesn't support this. Or does anybody of you archive all e-mails? I'm especially interested in the _WHOLE_ thread "No 100Hz timer !" now. (but the question is asked in general). If you have the

Re: [PATCH] 2.4.5pre3 warning fixes -- fixed

2001-05-17 Thread Rich Baum
In my previous patch I got drivers/i2c/i2c-core.c confused with drivers/i2o/i2o_core.c i2o_core.c did not have a warning at that line. Also, Jeff Garzik suggested I change the fixes for labels at the end of compound statements. It also includes Petr Vandrovec's patch to rwsem.h so that

Re: Linux 2.4.4-ac10

2001-05-17 Thread Rik van Riel
On Thu, 17 May 2001, Mike Galbraith wrote: > > Has anyone benched 2.4.5pre3 vs 2.4.4 vs. ? > > Only doing parallel kernel builds. Heavy load throughput is up, > but it swaps too heavily. It's a little too conservative about > releasing cache now imho. (keeping about double what it should be >

Re: [PATCH] new version of singlecopy pipe

2001-05-17 Thread Manfred Spraul
"David S. Miller" wrote: > > J . A . Magallon writes: > > > What platform? > > > Any more info ? > > No, I thought it might be some cache flushing issue > on a non-x86 machine. > I found the problem: I sent out the old patch :-( Attached is the correct version of patch-copy_user_user. --

Linux 2.4.4-ac10: Oops

2001-05-17 Thread FAVRE Gregoire
Hello, I have just compiled 2.4.4-ac10 and got: ... SCSI subsystem driver Revision: 1.00 PCI: Found IRQ 11 for device 00:0b.0 Unable to handle kernel NULL pointer dereference at virtual address 000 printing eip: c01d11d0 *pde = Oops: 0002 CPU: 0 EIP: 0010:[] EFLAGS: 00010282 eax:

2.4.4-ac9 freezes

2001-05-17 Thread mirabilos
Hi again, I have (as reported) compiled 2.4.4-ac9 with RWSEM_GENERIC on and now have two freezes: a) playback sound and try to hit a key b) access the floppy .config and other info on request - due to bandwidth :) Thanks in advance if you have any clue... /me not -mirabilos -- by telnet - To

Re: VIA/PDC/Athlon

2001-05-17 Thread Jussi Laako
Alan Cox wrote: > > RH 2.4.2-2 and 2.4.4-ac9 are I believe the same driver exactly. 2.4.3 is > an ancient known not to work well driver Ummm... Here's stripped dmesg of both kernels... Is this compiler thingie or Athlon optimizations? Notice also different detected PDC20265 BIOS settings! So

Re: [patch] 2.4.0, 2.2.18: A critical problem with tty_io.c

2001-05-17 Thread Al Borchers
Maciej, Ted -- Maciej's patch to tty_io.c from lkml 2/22/01 http://www.uwsg.indiana.edu/hypermail/linux/kernel/0101.2/1049.html has been incorporated in RH 7.1's kernel (for example) but not in the main 2.4.x kernels. This presents two different interfaces for serial drivers, and it is

[PATCH] Allow 'hidden' interfaces in 2.4.x

2001-05-17 Thread Phil Oester
The attached patch (against 2.4.4-ac10) adds the /proc/sys/net/ipv4/conf/*/hidden option which is present in 2.2.x series. This is somewhat similar to the arp-filter functionality which was added in ~2.4.4-ac10. The difference is that this is not dependent upon the routing table, it is simply

RE: Linux-2.4.4 failure to compile

2001-05-17 Thread Cress, Andrew R
Try setting CONFIG_AIC7XXX_BUILD_FIRMWARE=n as a workaround. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 2:04 PM To: [EMAIL PROTECTED] Cc: Linux kernel; [EMAIL PROTECTED] Subject: Re: Linux-2.4.4 failure to compile In article

Re: [PATCH] 2.4.5pre3 warning fixes

2001-05-17 Thread Mohammad A. Haque
On Thu, 17 May 2001, Rich Baum wrote: > This patch fixes warnings in 2.4.5pre3 about extra tokens at the end of > #endif statements and labels at the end of compound statements when using gcc > 3.0 snapshots. > > - if (c->devices != NULL) > + if (c->devices != NULL){ >

Re: [PATCH] 2.4.5pre3 warning fixes

2001-05-17 Thread Jeff Garzik
Rich Baum wrote: > @@ -1543,6 +1543,7 @@ > EXCEPTION(EX_INTERNAL | 0x116); > return; > #endif /* PARANOID */ > + ; > } > } >else if ( (st0_tag == TAG_Valid) || (st0_tag == TW_Denormal) ) > @@ -437,7 +437,7 @@ > /* XXX shouldn't we *start* by

Re: LANANA: To Pending Device Number Registrants

2001-05-17 Thread Brian Wheeler
[ I normally just lurk and read the archives, but...here's where I get into trouble! ] It seems to me that there are several issues that have come up in this thread, but here are my thoughts on some of them: * Identifying hardware: Since we don't want to use topology as the primary

RE: [PATCH] 2.4.5pre3 warning fixes

2001-05-17 Thread Bingner Sam J. Contractor RSIS
Looks to me like it's adding { and } on each side of the "c->devices->prev=d;" statement... so changing from: if (c->devices != NULL) c->devices->prev=d; to if (c->devices != NULL){ c->devices->prev=d; } I assume the new compiler likes the if to have explicit brackets instead

Re: alpha/2.4.x: CPU misdetection, possible miscompilation

2001-05-17 Thread Jay Estabrook
On Thu, May 17, 2001 at 02:23:03PM +0200, Michael Wildpaner wrote: > > trying to boot any 2.4.x kernel on a Tsunami DP264 alpha with dual EV67, > we found the following problems: > > CPU misdetection: > > On our machine the cpu->type field contains 0x8000B > (= 2^35 + 11)

Re: [PATCH] 2.4.5pre3 warning fixes

2001-05-17 Thread Alan Cox
> --- linux/drivers/i2o/i2o_core.c Thu May 17 11:38:28 2001 > +++ rb/drivers/i2o/i2o_core.c Thu May 17 11:48:08 2001 > @@ -380,8 +380,9 @@ > d->owner=NULL; > d->next=c->devices; > d->prev=NULL; > - if (c->devices != NULL) > + if (c->devices != NULL){ >

Re: CPU overheat with 2.2

2001-05-17 Thread Nils Holland
On Thursday 17 May 2001 16:45, Simon Richter wrote: > On Thu, 17 May 2001, Jussi Hamalainen wrote: > > > CPU is a Pentium 166 MMX on an Asus TX97 mainboard, ISA cards are a > > > 3c509 and a Soundblaster. > > > > The Asus TX97 is known to be a CPU toaster. I've replaced dozens of > > them because

[PATCH] 2.4.5pre3 warning fixes

2001-05-17 Thread Rich Baum
This patch fixes warnings in 2.4.5pre3 about extra tokens at the end of #endif statements and labels at the end of compound statements when using gcc 3.0 snapshots. Rich diff -urN -X /linux/dontdiff linux/arch/i386/math-emu/fpu_trig.c rb/arch/i386/math-emu/fpu_trig.c ---

Re: Linux 2.4.4-ac10

2001-05-17 Thread Alan Cox
> And a pair more: No > --- linux-2.4.4-ac10/include/linux/raid/md_k.h.orig Thu May 17 19:35:41 > 2001 > +++ linux-2.4.4-ac10/include/linux/raid/md_k.hThu May 17 19:36:15 2001 > @@ -38,6 +38,8 @@ > case RAID5: return 5; > } >

Re: LANANA: To Pending Device Number Registrants

2001-05-17 Thread Jeff Randall
Eric W. Biederman wrote: > Daniel Phillips <[EMAIL PROTECTED]> writes: > > On Tuesday 15 May 2001 23:20, Nicolas Pitre wrote: > > > Personally, I'd really like to see /dev/ttyS0 be the first detected > > > serial port on a system, /dev/ttyS1 the second, etc. > > > > There are well-defined rules

hang with 2.4.5-pre3

2001-05-17 Thread Zdenek Kabelac
Hello Just pointing out that my system has locked hard in XWindows system. Sorry no-oops as linux so far is unable to switch to VGA mode in this case and show me this log. I'd not seen any oops with 2.4.5-pre1 during the whole usage of this kernel on my SMP box BP6. -pre3 has locked after 5

Re: Linux 2.4.4-ac10

2001-05-17 Thread Alan Cox
> > gcc -D__KERNEL__ -I/usr/src/linux-2.4.4-ac/include -Wall -Wstrict-prototypes -O2 >-fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 >-march=i686 -malign-functions=4 -c -o apm.o apm.c > {standard input}: Assembler messages: > {standard input}:180: Warning:

Updates...ide.2.4.5-p1.05132001...FastTrak...CSB5...AMD761

2001-05-17 Thread Andre Hedrick
What did we do First we added two things for the Promise owners. If you have a FastTrak and you wish to use it in normal mode, we have a solution now. Place all the drives in "span" with only one drive per array. This makes each array a single device. This will work; however, you must

RE: kernel2.2.x to kernel2.4.x

2001-05-17 Thread Dunlap, Randy
see http://www.firstfloor.org/~andi/softnet/ ~Randy > -Original Message- > From: jalaja devi [mailto:[EMAIL PROTECTED]] > > How can I handle this from kernel2.2 to kernel2.4 > > Can I replace like this?? > > if (test_and_set_bit (0, (void *)>tbusy)){ return > EBUSY;} == with

Re: eepro100 rev 12 problems

2001-05-17 Thread Ion Badulescu
On Thu, 17 May 2001 16:59:04 +0100, James Fidell <[EMAIL PROTECTED]> wrote: > I have two eepro100 interfaces in a machine, one rev 8, which works just > fine, and another rev 12, which appears as a device when the kernel boots > and can be configured with an IP address etc., but I can't get any

Re: Linux 2.4.4-ac10

2001-05-17 Thread Jeff Garzik
"J . A . Magallon" wrote: > --- linux-2.4.4-ac10/include/linux/raid/md_k.h.orig Thu May 17 19:35:41 > 2001 > +++ linux-2.4.4-ac10/include/linux/raid/md_k.h Thu May 17 19:36:15 2001 > @@ -38,6 +38,8 @@ > case RAID5: return 5; > } >

Re: IDE CD writer fails on 2.4.x

2001-05-17 Thread Frank van de Pol
sorry, not sure which of my CDR trouble you're refering to, but I still am not succesful in burning cdroms from my linux box (2.4.4-ac5). The hardware runs fine using older versions or MS windows though. Regards, Frank. On Wed, May 16, 2001 at 12:46:38PM +1000, Glen Morris wrote: > Frank > >

Re: uid_t and gid_t vs. __kernel_uid_t and __kernel_gid_t

2001-05-17 Thread Ralf Baechle
On Mon, May 14, 2001 at 09:14:26PM +, Petr Vandrovec wrote: > > I had to communicate uid/gid from an application down > > to a driver, and discovered that uid and gid in user > > space are different from those in kernel space. > > ncpfs uses 'unsigned long' in its ncp_mount_data_v4, as

Re: Linux 2.4.4-ac10

2001-05-17 Thread J . A . Magallon
On 05.17 Ingo Oeser wrote: > On Thu, May 17, 2001 at 05:45:38PM +0100, Alan Cox wrote: > > 2.4.4-ac10 > > I think someone forgot this little return. It removes the > following warning: > > serial.c:4208: warning: control reaches end of non-void function > > > ---

Re: Linux-2.4.4 failure to compile

2001-05-17 Thread H. Peter Anvin
"Richard B. Johnson" wrote: > > I have both. I also have `flex`, but not `lex'. `lex' is a simlink to > flex. What this compile wanted is some header files in expects for > `yacc` that are not present. And they don't come with the `bison` > distribution. Maybe they came with `yacc` years ago?

RE: Exporting symbols from a module.

2001-05-17 Thread Khachaturov, Vassilii
If you have a local makefile with which you wish to build your module not linked under the kernel tree in the proper way, you still can "ride" on the master Makefile. This way one can eliminate the dependency on your particular machine kernel compilation options to be hardwired in the local

Re: Linux 2.4.4-ac10

2001-05-17 Thread Matti Aarnio
On Thu, May 17, 2001 at 09:40:39PM +0300, Matti Aarnio wrote: > On Thu, May 17, 2001 at 08:33:36PM +0200, Udo A. Steinberg wrote: > > With 2.4.4-ac10 and binutils 2.11 I get the following warnings: > > It is a warning about kernel code using assembler statements > which are not valid with

Re: Linux-2.4.4 failure to compile

2001-05-17 Thread Richard B. Johnson
On 17 May 2001, H. Peter Anvin wrote: > Followup to: <[EMAIL PROTECTED]> > By author:Tim Hockin <[EMAIL PROTECTED]> > In newsgroup: linux.dev.kernel > > > > The aic7xxx assembler requiring libdb1 is a bungle. Getting the headers > > for that right on various distros is not easy. Add to

newbie problem: compiling kernel 2.4.4, make modules_install , Help please !

2001-05-17 Thread Joel Cordonnier
Hi ! It's the first time that i try to compile my own kernel. At the moment, I have an old RH 6.1 with a 2.2.12 kernel. I have downloaded the latest stable kernel 2.4.4 tar.gz kernel. I follow these steps: - make xonfig (a give what i need) - make dep (for dependencies) - make bzImage. All

Re: Linux 2.4.4-ac10

2001-05-17 Thread Ingo Oeser
On Thu, May 17, 2001 at 05:45:38PM +0100, Alan Cox wrote: > 2.4.4-ac10 I think someone forgot this little return. It removes the following warning: serial.c:4208: warning: control reaches end of non-void function --- linux-2.4.4-ac10/drivers/char/serial.c Thu May 17 20:41:05 2001 +++

Re: Linux 2.4.4-ac10

2001-05-17 Thread Matti Aarnio
On Thu, May 17, 2001 at 08:33:36PM +0200, Udo A. Steinberg wrote: > With 2.4.4-ac10 and binutils 2.11 I get the following warnings: It is a warning about kernel code using assembler statements which are not valid with some older assemblers. > gcc -D__KERNEL__

Re: LANANA: To Pending Device Number Registrants

2001-05-17 Thread Mark H. Wood
At the risk of offending hundreds, I'll mention that dynamic naming of disks and tapes has worked very well for many years in VMS. When you e.g. mount a disk volume labelled FOO, the system creates a system logical name DISK$FOO: for it automagically. Users don't care that it's really $4$DUA7:

Re: Linux-2.4.4 failure to compile

2001-05-17 Thread H. Peter Anvin
Followup to: <[EMAIL PROTECTED]> By author:Tim Hockin <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > The aic7xxx assembler requiring libdb1 is a bungle. Getting the headers > for that right on various distros is not easy. Add to that it requires > YACC, when most people have bison

Re: Linux 2.4.4-ac10

2001-05-17 Thread Udo A. Steinberg
Hi, Alan Cox wrote: > > 2.4.4-ac10 With 2.4.4-ac10 and binutils 2.11 I get the following warnings: gcc -D__KERNEL__ -I/usr/src/linux-2.4.4-ac/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4

Re: kernel2.2.x to kernel2.4.x

2001-05-17 Thread jalaja devi
How can I handle this from kernel2.2 to kernel2.4 Can I replace like this?? if (test_and_set_bit (0, (void *)>tbusy)){ return EBUSY;} == with netif_stop_queue (dev); clear_bit ((void *)>tbusy); = with netif_start_queue(dev); Thanks Jalaja --- Alan Cox <[EMAIL PROTECTED]> wrote:

Re: __exit

2001-05-17 Thread Erik Mouw
On Sun, Jun 17, 2001 at 04:02:44PM +0530, Anil Kumar wrote: > what does __exit, __p and other such directives means in the linux source > code. what is its significance. The macros __init and __exit are defined in include/linux/init.h: #define __init __attribute__ ((__section__

Re: Linux-2.4.4 failure to compile

2001-05-17 Thread Christoph Hellwig
In article <[EMAIL PROTECTED]> you wrote: > "Richard B. Johnson" wrote: >> >> Hello; >> >> I downloaded linux-2.4.4. The basic kernel compiles but the aic7xxx >> SCSI module that I require on some machines, doesn't. > The aic7xxx assembler requiring libdb1 is a bungle. Getting the headers >

Re: Linux 2.4.4-ac10

2001-05-17 Thread Mike Galbraith
On Thu, 17 May 2001, Chris Evans wrote: > On Thu, 17 May 2001, Alan Cox wrote: > > > 2.4.4-ac10 > [...] > > - now 2.4.5pre vm seems sane dump other vmscan > > experiments > > Has anyone benched 2.4.5pre3 vs 2.4.4 vs. ? Only doing parallel kernel builds. Heavy load throughput is up,

Re: Linux-2.4.4 failure to compile

2001-05-17 Thread Tim Hockin
"Richard B. Johnson" wrote: > > Hello; > > I downloaded linux-2.4.4. The basic kernel compiles but the aic7xxx > SCSI module that I require on some machines, doesn't. The aic7xxx assembler requiring libdb1 is a bungle. Getting the headers for that right on various distros is not easy. Add to

  1   2   3   4   >