Re: netlink, iproute and pump

2001-07-10 Thread J . A . Magallon
On 20010711 J . A . Magallon wrote: >Hi, all... > >[I'm sending this both to lkml and distro support, beacause I am not sure who >is to blame...] > >Well, fast synopsys: iniscripts use /sbin/ip from iproute2-2.2.4. That needs: >CONFIG_NETLINK=y >CONFIG_RTNETLINK

netlink, iproute and pump

2001-07-10 Thread J . A . Magallon
Hi, all... [I'm sending this both to lkml and distro support, beacause I am not sure who is to blame...] Well, fast synopsys: iniscripts use /sbin/ip from iproute2-2.2.4. That needs: CONFIG_NETLINK=y CONFIG_RTNETLINK=y to work. If I enable that, pump breaks (I have to try with another dhcp clien

Re: linux/macros.h(new) and linux/list.h(mod) ...

2001-07-05 Thread J . A . Magallon
On 20010706 Davide Libenzi wrote: > >On 05-Jul-2001 David Woodhouse wrote: >> >> [EMAIL PROTECTED] said: >>> This program prints garbage: >>> #define min(x,y) ({ typeof((x)) _x = (x); typeof((y)) _y = (y); >>> #(_x>_y)?_y:_x; }) >>> int main (void) { >>> int

Re: include/asm-i386/checksum.h

2001-07-03 Thread J . A . Magallon
On 20010703 Erik Meusel wrote: >On Tue, 3 Jul 2001, Keith Owens wrote: > >> >P.S.: would it be possible to patch the menuconfig in that way, that it >> >does look in the whole include-path for the and relating >> >files? they aren't in /usr/include/ in my system and I'm tired of patching >> >lin

Re: VM behaviour under 2.4.5-ac21

2001-06-29 Thread J . A . Magallon
On 20010629 Martin Knoblauch wrote: >Hi, > > just something positive for the weekend. With 2.4.5-ac21, the behaviour >on my laptop (128MB plus twice the sapw) seems a bit more sane. When I >start new large applications now, the "used" portion of VM actually >pushes against the cache instead of fo

Re: Cosmetic JFFS patch.

2001-06-28 Thread J . A . Magallon
On 20010628 Troy Benjegerdes wrote: >> > >> > > usb-uhci.c: v1.251 Georg Acher, Deti Fliegl, Thomas Sailer, >> > Roman Weissgaerber >> > > usb-uhci.c: USB Universal Host Controller Interface driver >> > >> > How about "usb-uhci.c: USB Universal Host Controller Interface >> > driver v1.251" >> > i

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

2001-06-25 Thread J . A . Magallon
This discussion seems to go nowhere. Thanks for your comments. I know much more on Linux than before. I am happy that processes in Linux are so marvelous. Linux does not need a decent POSIX threads implementation because the same functionality can be achived with processes. Do what you like, you

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

2001-06-24 Thread J . A . Magallon
On 20010625 Larry McVoy wrote: > >One for the quotes page, eh? We're terribly sorry, we'll get busy on adding >some delay loops in Linux so it too can be slow. >-- I was afraid someone would tell that... I just want to say that the 'problem' is not that threads are slow in linux, but that oth

Re: [OT] gcc 2.95.2 vs. 3.0 (fwd)

2001-06-24 Thread J . A . Magallon
On 20010624 Sasi Peter wrote: > >I know opendivx code is not like kernel code at all, but on the other hand >it is well suited for benchmark testing. > > >test file: (opendivx with postprocessing, this stuff is written in C) ># mplayer -osdlevel 0 -nosound -benchmark 1800.avi -vo null -pp 15 >VI

Re: GCC3.0 support: Kernel 2.4.5 compilation troubles

2001-06-24 Thread J . A . Magallon
On 20010624 Alan Cox wrote: > >2. Look back in the kernel archives and you'll find some patches for > the warnings about multi-line string literals in asm blocks > Are there any plans to standarise asm inline code, for example in Documentation/CodingStyle (of course, in good friendship

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

2001-06-24 Thread J . A . Magallon
On 20010624 Rob Landley wrote: > >This is a bit like like saying that a truck and a train are totally different >beasts. If I'm trying to haul cargo from point A to point B, which is served >by both, all I care about is how long it takes and how much it costs. > >I don't care what it was INTEN

Re: Threads are processes that share more

2001-06-24 Thread J . A . Magallon
On 20010621 Stephen Satchell wrote: > >By the way, I'm surprised no one has mentioned that a synonym for "thread" >is "lightweight process". > In linux. Perhaps this the fault. In IRIX, you have sprocs and threads. sprocs have independent pids and you can control what you share (mappings, fd ta

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

2001-06-24 Thread J . A . Magallon
On 20010622 Rob Landley wrote: > >I still consider the difference between threads and processes with shared >resources (memory, fds, etc) to be largely semantic. > They should not be the same. Processes are processes, and threads were designed for situations where processes are too heavy. Other

Re: getrusage vs /proc/pid/stat?

2001-06-18 Thread J . A . Magallon
On 20010618 Dan Kegel wrote: >Pete Wyckoff wrote: >> >> [EMAIL PROTECTED] said: >> > I'd like to monitor CPU, memory, and I/O utilization in a >> > long-running multithreaded daemon under kernels 2.2, 2.4, >> > and possibly also Solaris (#ifdefs are ok). >> >> getrusage() isn't really the syste

accounting for threads

2001-06-13 Thread J . A . Magallon
Hi. First, sorry if this is a glibc issue. Just chose to ask here first. I want to know the CPU time used by a POSIX-threaded program. I have tried to use getrusage() with RUSAGE_SELF and RUSAGE_CHILDREN. Problem: main thread just do nothing, spawns children and waits. And I get always 0 ru_utim

Re: threading question

2001-06-13 Thread J . A . Magallon
On 20010613 Kurt Garloff wrote: > > What I do in my numerics code to avoid this problem, is to create all the > threads (as many as there are CPUs) on program startup and have then wait > (block) for a condition. As soon as there's something to to, variables for > the thread are setup (protected

Re: temperature standard - global config option?

2001-06-08 Thread J . A . Magallon
On 06.08 Michael H. Warfield wrote: > > No, we are not talking lab instrumentation here. We are talking > about CPU monitoring. Lab instrumentation is a whole different issue > with things like the IEEE bus and such. Lab instrumentation would require > it's own drivers and interface. >

Re: temperature standard - global config option?

2001-06-08 Thread J . A . Magallon
On 06.08 Michael H. Warfield wrote: > > Actually, the REAL point I was TRYING to make (and doing a really > shabby job of it) is that some of this needs a little dose of reality. > We don't have sensors that are accurate to 1/10 of a K and certainly not > to 1/100 of a K. Knowing the CPU

Re: scsi disk defect or kernel driver defect ?

2001-06-07 Thread J . A . Magallon
On 06.07 Nico Schottelius wrote: > > > > Based upon the lspci output you posted earlier, aic7880 has a single > > SCSI bus. > > Oh. That could really be a problem.. I though having two different > connectors on the board would make two different buses.. > I must have been wrong. > > > So you mu

Re: temperature standard - global config option?

2001-06-06 Thread J . A . Magallon
On 06.06 Pavel Machek wrote: > > ACPI is already using 0.1*K, so everything should use that to be > consistent. > Pavel Which is the data type for temperature ? Would not it be better to use 0.01*K ? So you get the full accuracy of a

Re: temperature standard - global config option?

2001-06-06 Thread J . A . Magallon
On 06.06 john slee wrote: > > On Wed, Jun 06, 2001 at 02:27:22PM +0200, David N. Welton wrote: > > Perusing the kernel sources while investigating watchdog drivers, I > > notice that in some places, Fahrenheit is used, and in some places, > > Celsius. It would seem logical to me to have a globa

ide speeds

2001-06-06 Thread J . A . Magallon
Hi, A little test-question. I am getting some strange timings... Hardware: PIIX4: 00:07.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01) (prog-if 80 [Master]) Flags: bus master, medium devsel, latency 64 I/O ports at ffa0 [size=16] and a Creative 52mx CD-ROM (manage

Re: here comes the summer...

2001-06-04 Thread J . A . Magallon
On 06.02 Pavel Machek wrote: > Hi! > > > ...again (I think I asked just the same last summer) > > and lm_sensors is still out of the kernel (we have got 40ºC in Spain > > this week, and I would like to know how my PIIs suffer...) > > Send some summer over here. It is 15C outside... > > You sho

Re: [PATCH] reclaim dirty dead swapcache pages

2001-05-30 Thread J . A . Magallon
On 05.30 Marcelo Tosatti wrote: > > > Its at > http://bazar.conectiva.com.br/~marcelo/patches/v2.4/2.4.5ac4/reapswap.patch > > Please test. > Which kind of test, something like the gcc think I posted recently ? Just stress vm, fill swap, and try to do it again ? -- J.A. Magallon

Re: Linux 2.4.5-ac5

2001-05-30 Thread J . A . Magallon
On 05.30 Alan Cox wrote: > > 2.4.5-ac5 > o Move the pagecache and pagemap_lru_lock to (Andrea Arcangeli) > different cache lines Nice bit. One other bit from aa I think perhaps is usefull for SMP (don't understand fully the difference, but if it makes cache usage better...) is 00

here comes the summer...

2001-05-30 Thread J . A . Magallon
...again (I think I asked just the same last summer) and lm_sensors is still out of the kernel (we have got 40ºC in Spain this week, and I would like to know how my PIIs suffer...) Anybody knows if sensors will get into kernel anytime in this century ? Yes, it can generate patches automagically,

Re: [OFF-TOPIC] 4 ports ETH cards

2001-05-29 Thread J . A . Magallon
On 05.29 Fabbione wrote: > Hi all, > sorry for the offtopic msg. > > Can someone point me to a 4 ports fast/eth card solution for linux? > > I found some cards based on the DEC 21*4* chips but when > I asked for more details I got a strange answer from the reseller > like that this card i

Re: vm in 2.4.5

2001-05-27 Thread J . A . Magallon
On 05.26 Rik van Riel wrote: > On Sat, 26 May 2001, J . A . Magallon wrote: > > > It does not begin to use swap in a growing fashion, it just appears > > full in a moment. > > It gets _allocated_ in a moment, but things don't actually get > swapped out. Thi

vm in 2.4.5

2001-05-26 Thread J . A . Magallon
Hi. This is a little experiment to smash 2.4 vm, and there is something I do not understand. Experiment: compile a C file with, say, 100k lines of puts("test"), auto generated. Box is running vanilla 2.4.5, on 256Mb of ram. State before gcc tst.c (just logged in a Gnome session with a couple rx

Re: Linux 2.4.4-ac12

2001-05-21 Thread J . A . Magallon
On 05.21 Alan Cox wrote: > > ftp://ftp.kernel.org/pub/linux/kernel/people/alan/2.4/ > >Intermediate diffs are available from > http://www.bzimage.org > > > 2.4.4-ac12 > o Just tracking Linus 2.4.5pre4 > - A chunk more me

Re: const __init

2001-05-21 Thread J . A . Magallon
On 05.21 Richard Henderson wrote: > On Mon, May 21, 2001 at 01:07:50PM +1000, Keith Owens wrote: > > does cause a section conflict, egcs 1.1.2. > > > > Interestingly enough, if var[12] are together, without the intervening > > text, then gcc does not flag an error, instead it puts both variables

Re: APIC, AMD-K6/2 -mcpu=586...

2001-05-18 Thread J . A . Magallon
On 05.18 Bill Pringlemeir wrote: > > Why don't the build scripts run a dummy file to determine where the > floating point registers should be placed? > > ... > const int value = offsetof(struct task_struct, thread.i387.fxsave) & 15; > ... > That is not the problem. The problem is that the re

Re: [PATCH] new version of singlecopy pipe

2001-05-18 Thread J . A . Magallon
On 05.17 Manfred Spraul wrote: > "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 no

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 > > > --- linux-2.4.4-ac10/drivers/char

Re: [PATCH] eliminate a truckload of context switches

2001-05-13 Thread J . A . Magallon
On 05.13 Rik van Riel wrote: > On Tue, 8 May 2001, Mike Galbraith wrote: > > > While running a ktrace enabled kernel (IKD), I noticed many useless > > context switches. The problem is that we continually pester kswapd/ > > kflushd at times when they can't do anything other than go back to > > s

Re: [PATCH] new version of singlecopy pipe

2001-05-12 Thread J . A . Magallon
On 05.12 David S. Miller wrote: > > J . A . Magallon writes: > > I tried your patch on 2.4.4-ac8, and something strange happens. > > Untarring linux-2.4.4 takes a little time, disk light flashes, > > but no files appear on the disk (just 'Makefile', as

Re: [PATCH] new version of singlecopy pipe

2001-05-11 Thread J . A . Magallon
On 05.12 J . A . Magallon wrote: > > On 05.11 Manfred Spraul wrote: > > > > Please test it. > > The kernel space part should be ok, but I know that the > > patch can cause deadlocks with buggy user space apps. > > > > I tried your patch o

Re: [PATCH] new version of singlecopy pipe

2001-05-11 Thread J . A . Magallon
On 05.11 Manfred Spraul wrote: > > Please test it. > The kernel space part should be ok, but I know that the > patch can cause deadlocks with buggy user space apps. > I tried your patch on 2.4.4-ac8, and something strange happens. Untarring linux-2.4.4 takes a little time, disk light flashes,

Re: Size of /proc/kcore growing over time ?

2001-05-11 Thread J . A . Magallon
On 05.11 Martin.Knoblauch wrote: > > I ask, because I thought the size of kproc could be used to determine > the amount of physical memory. If this assumption is wrong, is there > another way to achive the goal? > #include // for get_phys_pages() #include // for getpagesize() ram = get_phy

Re: page_launder() bug

2001-05-07 Thread J . A . Magallon
On 05.07 Helge Hafting wrote: > Tobias Ringstrom wrote: > > > > On Sun, 6 May 2001, David S. Miller wrote: > > > It is the most straightforward way to make a '1' or '0' > > > integer from the NULL state of a pointer. > > > > But is it really specified in the C "standards" to be exctly zero or o

Re: OT: Here's the article text -- Microsoft Is Set to Be Top Foe of Free Code

2001-05-03 Thread J . A . Magallon
On 05.03 Miles Lane wrote: > Sorry for sending a link to a (albeit, free) subcription > service earlier. Here's the text of the article, in case > you are interested in Microsoft's latest shinanigans. > > > away in an effort to attract visitors to Web sites. G.P.L. requires > that any softwa

[PATCH] Re: Linux 2.4.4-ac2

2001-05-01 Thread J . A . Magallon
On 05.01 Hugh Dickins wrote: > On Tue, 1 May 2001, J . A . Magallon wrote: > > > > > > OK works here ... > > > > Me too. > > > > Perhaps this reschedules ok in UP but kinda fails in SMP... > > Great. And see Andrea's SCHED_YIELD expl

Re: 2.4.4 sluggish under fork load

2001-05-01 Thread J . A . Magallon
On 05.01 Andrea Arcangeli wrote: > > And if you fork off a child with its p->policy SCHED_YIELD set it will > never get scheduled in. > > Only "just" running tasks can have SCHED_YIELD set. > > So the below lines are the *right* and most robust approch as far I can > tell. (plus counter needs

Re: Linux 2.4.4-ac2

2001-05-01 Thread J . A . Magallon
On 05.01 boris wrote: > On Tue, May 01, 2001 at 04:50:52PM +0100, Hugh Dickins wrote: > > > Don't ask me why, but I think you may find it's Peter's patch to > > the women-and-children-first in kernel/fork.c: I'm not yet running > > -ac2, but I am trying that patch, fine on UP but hanging right

Re: Linux 2.4.4-ac2

2001-05-01 Thread J . A . Magallon
On 05.01 Hugh Dickins wrote: > > Don't ask me why, but I think you may find it's Peter's patch to > the women-and-children-first in kernel/fork.c: I'm not yet running > -ac2, but I am trying that patch, fine on UP but hanging right there > (well, I get a "go go go" message too) on SMP. > After

Re: bandwidth

2001-05-01 Thread J . A . Magallon
On 05.01 mirabilos wrote: > > Another point: look at the headers. I'd like LKML to > strip all these X- thingies, the "Received:" etc. > so that the messages I get have a bare minimum header > consisting just of To: and Subject: (maybe MIME). > What you have todo is to learn how to configure y

Re: Linux 2.4.4-ac2

2001-05-01 Thread J . A . Magallon
Hi, On 05.01 Alan Cox wrote: > > ftp://ftp.kernel.org/pub/linux/kernel/people/alan/2.4/ > Hangs after APIC init: (bootlog from ac1) Using local APIC timer interrupts. calibrating APIC timer ... CPU clock speed is 400.9211 MHz. host bus clock speed is 100.2300 MHz. cpu: 0, cloc

APIC asymmetry in SMP ?

2001-05-01 Thread J . A . Magallon
Hi, Looking over one other problem, I realized that my 2 cpus are recognized slightly different in the function: cpu: 0, clocks: 1002324, slice: 334108 CPU0 cpu: 1, clocks: 1002324, slice: 334108 CPU1 Both are just the same, both pII@400, 512Kb: CPU: Before vendor init, caps: 0183fbff 00

Re: [kbuild-devel] [PATCH] automatic multi-part link rules (fwd)

2001-04-30 Thread J . A . Magallon
On 05.01 Keith Owens wrote: > > The patch appears to work but is it worth applying now? The existing > 2.4 rules work fine and the entire kbuild system will be rewritten for > 2.5, including the case you identified here. It struck me as a decent > change but for no benefit and, given that the

Re: 2.4.3 2.4.4pre8: aic7xxx showstopper bug fails to detect sda

2001-04-29 Thread J . A . Magallon
On 04.29 Steve 'Denali' McKnelly wrote: > Howdy J.A., > > Let me ask a possibly stupid question... How do you tell > what version of the Gibbs Adaptec driver you're using? Did I You can look at the kernel boot messages for a line like: scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER

Re: 2.4.3 2.4.4pre8: aic7xxx showstopper bug fails to detect sda

2001-04-29 Thread J . A . Magallon
On 04.29 Steve 'Denali' McKnelly wrote: > Command found on device queue > aic7xxx_abort returns 8194 > I have seen blaming for this error to aic7xxx new driver prior to version 6.1.11. It was included in the 2.4.3-ac series, but its has not got into main 2.4.4 (there is still 6.1.5

Re: 2.4 and 2GB swap partition limit

2001-04-28 Thread J . A . Magallon
On 04.28 Rogier Wolff wrote: > > I've ALWAYS said that it's a rule-of-thumb. This means that if you > have a good argument to do it differently, you should surely do so! > I'm not so sure it's only a 'rule of thumb'. Do not know the state of paging in just released 2.4.4, but in previuos kerne

Re: 2.4.4 sluggish under fork load

2001-04-28 Thread J . A . Magallon
On 04.28 Peter Osterlund wrote: > > Another thing is that the bash loop "while true ; do /bin/true ; done" is > not possible to interrupt with ctrl-c. > Just tried that under 2.4.4 on two terminals at the same time and the system even noticed it. Both cpus were running at about 45%user+55%sys,

Re: /proc format (was Device Registry (DevReg) Patch 0.2.0)

2001-04-25 Thread J . A . Magallon
On 04.25 Doug McNaught wrote: > "J . A . Magallon" <[EMAIL PROTECTED]> writes: > > > Question: it is possible to redirect the same fs call (say read) to > different > > implementations, based on the open mode of the file descriptor ? So, if > > you

Re: /proc format (was Device Registry (DevReg) Patch 0.2.0)

2001-04-25 Thread J . A . Magallon
On 04.25 Jesse Pollard wrote: > > Alternatively, you can always put one value per record: > tag:value > tag2:value2... > > This is still simpler than XML to read, and to generate. > Just my two cents. It looks clear that /proc is for programs, not for humans. So the best format f

disable_ide_dma gcc-3.0 warn

2001-04-23 Thread J . A . Magallon
Hi, everyone. One other gcc-3.0 warning (apart from the classic multiline strings) I do not know if it can be important. gcc -D__KERNEL__ -I/usr/src/linux-2.4.3-ac12/include -Wall -Wstrict-prototypes - O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686

Re: Linux 2.4.3-ac12

2001-04-22 Thread J . A . Magallon
On 04.22 Dieter Nützel wrote: > > My belief however is that several million people have gcc 2.96-69+, about 50 > > are likely to have random cvs snapshots and none of them are going to build > > kernels with them anyway, as they wont work __builtin_expect or otherwise. > > > > Alan > > I will no

Re: Linux 2.4.3-ac11

2001-04-20 Thread J . A . Magallon
On 04.21 Alan Cox wrote: > > ftp://ftp.kernel.org/pub/linux/kernel/people/alan/2.4/ gcc-2.96 spits warnings about possibly-used-before-initialized vars in mtrr.c, line 2004: static void __init centaur_mcr_init(void) { int lo,hi; .. if (anything) set hi,lo

Re: ac10 ide-cd oopses on boot

2001-04-19 Thread J . A . Magallon
On 04.20 Udo A. Steinberg wrote: > Alan Cox wrote: > > > > > Just built 2.4.3-ac10 and got an oops when booting. It tries to detect > > > the CD and gives the oops. > > I'm getting a similar oops with -ac10. I initially thought this might be > a result of switching to gcc-2.95.3, because -ac9 r

Re: ac10 ide-cd oopses on boot

2001-04-19 Thread J . A . Magallon
On 04.20 Alan Cox wrote: > > Just built 2.4.3-ac10 and got an oops when booting. It tries to detect > > the CD and gives the oops. > > Can you back out the ide-cd changes Jens did and see if that fixes it ? > > Reverted the changes in ide-cd.[hc], and same result. Bootlog from ac9: Uniform M

ac10 ide-cd oopses on boot

2001-04-19 Thread J . A . Magallon
Hi, Just built 2.4.3-ac10 and got an oops when booting. It tries to detect the CD and gives the oops. Here follows the oops both raw and decoded: Unable to handle kernel NULL pointer dereference at virtual address printing eip: c01bfc7c pgd entry c0101000: pmd entry

Re: Linux 2.4.3-ac9

2001-04-18 Thread J . A . Magallon
On 04.18 Alan Cox wrote: > > 2.4.3-ac9 .. > 2.4.3-ac8 > o ACPI updates(Andrew Grover) Patch for ac9 generates a file named linux/acpi-20010413.diff. It partially applies, some hunks failed and some offset. Is this rest of your work ? -- J.A. Magallon

Re: 2.4.3 compile error No 4

2001-04-11 Thread J . A . Magallon
On 04.11 info wrote: > OS: Mandrake 6.0RE > AMD K6-200 144 M > gcc 2.95.2-ipl3mdk > Have you checked in linux/Documentation/Changes if you have all the tools and required versions for 2.4.3 ? Still running a 6.0 ? 'cause your error messages look like stupid things misunderstood by cpp. Check if

Re: aic7xxx and 2.4.3 failures

2001-04-09 Thread J . A . Magallon
On 04.10 Vivek Dasmohapatra wrote: > On Mon, 9 Apr 2001, Alan Cox wrote: > > > > A typical startup with 6.1.9 proceeds like this... (6.1.10 hangs silently > > > after emitting the scsi0 and scsi1 adapter summaries, maybe it is > > > going through the same gyrations silently.) > > > > Try sayi

Re: aic7xxx 6.1.10 and 2.4.4-pre1

2001-04-07 Thread J . A . Magallon
On 04.08 Justin T. Gibbs wrote: > > > > In file included from aic7xxx_linux.c:131: > > aic7xxx_osm.h: In function `ahc_pci_read_config': > > aic7xxx_osm.h:862: warning: control reaches end of non-void function > > This is because panic() is not marked as a "no return" function. So, linux

Re: aic7xxx 6.1.10 breaks 2.4.3-ac3

2001-04-07 Thread J . A . Magallon
On 04.08 Justin T. Gibbs wrote: > > Actually, I would say, "Apply the 2.4.3 patch. It will probably apply > cleanly to your kernel. If it doesn't, and you don't know enough C > to correct the problem, you shouldn't be playing around with kernel > patches." > Below is inlined the patch that to

Re: aic7xxx 6.1.10 breaks 2.4.3-ac3

2001-04-07 Thread J . A . Magallon
On 04.07 Justin T. Gibbs wrote: > > That's not a sufficient way to upgrade. The tar files are there for > people who are porting the driver to other platforms. You should always > use the patches to upgrade as they often touch other portions of the > Linux kernel that need fixes in order to wo

aic7xxx 6.1.10 breaks 2.4.3-ac3

2001-04-07 Thread J . A . Magallon
Hi. Subject says it all. With latest updates, i just deleted the kernel aic7xxx subtree, put instead the updated (from people.freebsd.org) tree, and built. All went fine until (and including) 6.1.9. 6.1.10 just stops after the init messages and stays there forever. scsi0 : Adaptec AIC7XXX EISA

Re: Proper way to release binary driver?

2001-04-06 Thread J . A . Magallon
On 04.06 Christopher Turcksin wrote: > > In practice, that doesn't work. A driver compiled with 2.2.16 doesn't > load with 2.2.16-5.0 (from RedHat 6.2) (just an example). > Thats is probably because RH 2.2.16-5.0 is not 2.2.16, but 2.2.17-pre-something. Due to the bad idea of distros to name

Re: How to embed linux into a board based on QED rm5230 mips cpu?

2001-04-05 Thread J . A . Magallon
On 04.05 Miao Qingjun wrote: > Hi, > > Can anybody help me? > > How to embed linux into a board based on QED rm5230 > mips cpu? > http://www.uclinux.org/ -- J.A. Magallon # Let the source mailto:[EMAIL PROTECTED] # be wi

Re: asm/unistd.h

2001-04-05 Thread J . A . Magallon
On 04.05 Andreas Schwab wrote: > > Try this and watch your compiler complaining: > > #define foo() { } > #define bar() do { } while (0) > void mumble () > { > if (1) foo(); else bar(); > if (2) bar(); else foo(); > } > Perhaps it is time to USE gcc, yet the kernel can be built

Re: /proc/config idea

2001-04-03 Thread J . A . Magallon
On 04.03 Ben Ford wrote: > J . A . Magallon wrote: > > > > If this has not been done for System.map, that is a much more important > > info for debug and oops, and the de facto standard is to put it aside > > kernel with some standadr naming, lets use the same met

Re: /proc/config idea

2001-04-03 Thread J . A . Magallon
On 04.03 David Lang wrote: > > if the distro/sysadmin _always_ installs the kernel the 'right way' then > the difference isn't nessasarily that large, but if you want reliability > on any system it may be worth loosing a page or so of memory (hasn't > someone said that the data can be compressed

Re: bug database braindump from the kernel summit

2001-04-02 Thread J . A . Magallon
On 04.03 Jeff Garzik wrote: > "J . A . Magallon" wrote: > > Could make part of the kernel scripts, or in one other > > standard software package, like modutils, so its versions are controlled > > There is value in putting it into the Linux kernel source tree, in

Re: [Fwd: [Copyright/Licensing] "Dual-copyright/licensing" of your IP withOUT your permission]

2001-04-02 Thread J . A . Magallon
I like specially this: http://www.passport.com/Consumer/TermsOfUse.asp .. Microsoft reserves the right to review materials posted to a Communication Service and to remove any materials in its sole discretion. Microsoft reserves .. Well, this just says they will read all your e-mail and kick you

Re: bug database braindump from the kernel summit

2001-04-02 Thread J . A . Magallon
On 04.02 Oliver Xymoron wrote: > > As a former proponent of /proc/config (I wrote one of the much-debated > patches), I tend to agree. Debian's make-kpkg does the right thing, namely > treating .config the same way it treats System-map, putting it in the > package and eventually installing it in

[PATCH] multiline string cleanup

2001-03-30 Thread J . A . Magallon
Hi, kernel developers. This is one other try to make kernel sources gcc-3.0 friendly. This cleans some muti-line asm strings in checksum.h and floppy.h (this were the only ones reported in my kernel build, perhaps there are more in drivers I do not use). I have not tested the changes with older

tmpfs in 2.4.3 and AC

2001-03-30 Thread J . A . Magallon
Hi, tmpfs (or shmfs or whatever name you like) is still different in official series (2.4.3) and in ac series. Its a kick in the ass for multiboot, as offcial 2.4.3 does not recognise 'tmpfs' in fstab: shmfs /dev/shmtmpfs ... Any reason, or is because it has been forgotten ? -- J.A

Re: how mmap() works?

2001-03-29 Thread J . A . Magallon
On 03.30 Jerry Hong wrote: > Hi, > mmap() creates a mmaped memory associated with a > physical file. If a process updates the mmaped memory, > Linux will updates the file "automatically". If this > is the case, why do we need msync()? If this is not Where did you heard that ? man mmap(2): ..

Re: linux scheduler limitations?

2001-03-29 Thread J . A . Magallon
On 03.30 Fabio Riccardi wrote: > > Despite of all apparences this method performs beautifully on Linux, pthreads > are > actually slower in many cases, since you will incur some additional overhead > due > to thread synchronization and scheduling. > It all depends on your app, as every parallel

Re: linux scheduler limitations?

2001-03-29 Thread J . A . Magallon
On 03.29 Fabio Riccardi wrote: > > I've found a (to me) unexplicable system behaviour when the number of > Apache forked instances goes somewhere beyond 1050, the machine > suddently slows down almost top a halt and becomes totally unresponsive, > until I stop the test (SpecWeb). > Have you th

Re: Linux connectivity trashed.

2001-03-29 Thread J . A . Magallon
On 03.29 Richard B. Johnson wrote: > > The penetration occurred because somebody changed our firewall > configuration > so that all of the non-DHCP addresses, i.e., all the real IP addresses had > complete > connectivity to the outside world. This meant that every Linux and Sun > Workstation >

Re: URGENT : System hands on "Freeing unused kernel memory: "

2001-03-26 Thread J . A . Magallon
On 03.27 Thomas Foerster wrote: > > But suddenly the box was offline. One technical assistant from our ISP tried > to reboot > our server (he couldn't tell me if there had been any messages on the screen), > but the > system always hangs on > > Freeing unused kernel memory: xxk freed > Try b

Re: ac25 - hang mounting swap

2001-03-26 Thread J . A . Magallon
On 03.26 Alan Cox wrote: > > See what it is looping through if you can > Well, my mail took a hundred years to get to the list, and in the meanwhile I read the posts on the bugs in vmalloc.c. That solved my boot, now I'm running ac25. -- J.A. Magallon

RE: Q: How do I get from the latest stable kernel version to the latest prepatch version ?

2001-03-26 Thread J . A . Magallon
On 03.26 "Hen, Shmulik" wrote: > Thanks. > It just struck me odd that the latest is 2.4.2 while the prepatches were > 2.4.3 so I figured there must be something I missed in between (my logic > told me that a 2.4.3 patch would be against a 2.4.3 something ;-). > It all depends on the name of the

ac25 - hang mounting swap

2001-03-26 Thread J . A . Magallon
On 03.26 Alan Cox wrote: > > 2.4.2-ac25 It just hangs when init scripts try to activate swap. I will look at what is init trying to mount and decode the info that Sysrq-P gives, but if this suggests somebody anything already known... Sysrq-p gives different info as time goes, so perhaps it is n

Re: [PATCH] gcc-3.0 warnings

2001-03-23 Thread J . A . Magallon
On 03.24 Andrew Morton wrote: > "J . A . Magallon" wrote: > > > > The same is with that ugly out: at the end > > of the function. Just change all that 'goto out' for a return. > > Oh no, no, no. Please, no. > > Multiple return statements

Re: [PATCH] gcc-3.0 warnings

2001-03-23 Thread J . A . Magallon
On 03.23 Linus Torvalds wrote: > > I agree. I'd much prefer that syntax also. > > Or just remove the "default:" altogether, when it doesn't make any > difference. > Well, at last some sense. The same is with that ugly out: at the end of the function. Just change all that 'goto out' for a retu

Re: [PATCH] gcc-3.0 warnings

2001-03-22 Thread J . A . Magallon
On 03.23 Alan Cox wrote: > > page_cache_release(page); > > -out: > > out:; > Yes, a null sentence can shut up the compiler. But what is the purpose of a jump to the end instead of a return ? Some optimization ? > does that trick > > > - default: > > + default:; > Same, I have not te

[PATCH] gcc-3.0 warnings

2001-03-22 Thread J . A . Magallon
Hi, kernel list readers. I have been building (and hopefully booting) ac-21 with gcc-3.0 snapshot dated 20010312. I have cleared the 99% of the warnings that 3.0 issues when building the kernel. Obviuosly, only in the main kernel part for i386 and the drivers I use. I suppose other arch will requ

Re: Anybody C440GX+ aic7xxx SMP ?

2001-03-20 Thread J . A . Magallon
On 03.20 Igor Mozetic wrote: > We plan to buy a second Xeon 550Mhz for the C440GX+ board. > Before we invest 1300$ I would like to hear if anybody is > running 2.4.x on this hardware without problems. > On a UP box with 2GB RAM, I run 2.4.3-pre3 + Gibbs' aic7xxx-6.1.7 > + stock eepro100. Anybody

Re: cdfs

2001-03-13 Thread J . A . Magallon
On 03.13 Ville Herva wrote: > > Below is one response to a similar question from the l-k archive: > > From: David Balazic <[EMAIL PROTECTED]> > Date: Thu, 13 Jan 2000 12:08:39 -0800 > Subject: Re: CD-ROM Driver Design > > There are already two file-systems for CD-audio on Linux : > - cdfs at

cdfs

2001-03-13 Thread J . A . Magallon
Hi, Recently I read the BeOS www page, and answerd a question in other mailing list. Both things have remind me of a pretty file system: 'cdfs'. Anybody knows if there is a port of 'cdfs' (Audio CD File System) for Linux ? Which fs now in kernel would be good as a template to start ? I am alway

Re: make: *** [vmlinux] Error 1

2001-03-13 Thread J . A . Magallon
On 03.12 Krzysztof Halasa wrote: > "J . A . Magallon" <[EMAIL PROTECTED]> writes: > > > If you are using pgcc, try getting a real less-buggy compiler, like > egcs1.1.2 > > or gcc-2.95 (even 2.96 willl work). > > ... not always. I've had problems

[jamagallon@able.es: Re: Linux 2.4.2ac19]

2001-03-12 Thread J . A . Magallon
On 03.12 J . A . Magallon wrote: On 03.12 Alan Cox wrote: > But then I have to remember to change it each time > I am not used to smileys, but obviously there was one missing in my mail... -- J.A. Magallon $> cd pub mailto:[EMAIL

Re: Linux 2.4.2ac19

2001-03-12 Thread J . A . Magallon
On 03.12 Alan Cox wrote: > > ftp://ftp.kernel.org/pub/linux/kernel/people/alan/2.4/ > Silly idea: could you put the full path of the bz2 patch instead of only the dir ? So people will only have to cut'n'paste for wget... -- J.A. Magallon

Re: make: *** [vmlinux] Error 1

2001-03-12 Thread J . A . Magallon
On 03.12 [EMAIL PROTECTED] wrote: > On a compile of 2.4.2 I get the following (using make bzImage) > init/main.o: In function `check_fpu': > init/main.o(.text.init+0x63): undefined reference to `__buggy_fxsr_alignment' > make: *** [vmlinux] Error 1 If you are using pgcc, try getting a real less

Re: [Fwd: Problem at Kernel Configuring!!!!]

2001-03-10 Thread J . A . Magallon
Trying to build an Athlon+SMP kernel ? -- J.A. Magallon $> cd pub mailto:[EMAIL PROTECTED] $> more beer Linux werewolf 2.4.2-ac15 #1 SMP Fri Mar 9 01:46:56 CET 2001 i686 - To unsubscribe from this lis

[PATCH] Re: Can't compile 2.4.2-ac14

2001-03-07 Thread J . A . Magallon
On 03.08 MATSUSHIMA Akihiro wrote: > Hello, > I receive the following error with make bzImage: > > i386_ksyms.c:170: `do_BUG' undeclared here (not in a function) > i386_ksyms.c:170: initializer element is not constant > i386_ksyms.c:170: (near initialization for `__ksymtab_do_BUG.value') > make[

aic7xxx funcs without return values

2001-03-07 Thread J . A . Magallon
Hi, Just a note to make gcc 2.96 (and future) happy. The aic7xxx driver is full of inline funcs that should return a value and do not do that: gcc -D__KERNEL__ -I/usr/src/linux-2.4.2-ac14/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boun

  1   2   3   >