problems with setting non-default modules path in 2.2.14

2000-11-13 Thread Damir Cosic
Hello, I want to set my development machine so I have multiple kernels that I can boot. I don't need different versions of kernel, but only 2.2.14 compiled with different options (e.g. with/without kdb). So I have two kernel images, default and debug. I also compiled modules for both of these

Re: Modprobe local root exploit

2000-11-13 Thread Jan Dvorak
On Mon, Nov 13, 2000 at 04:56:40PM +, Chris Evans wrote: > > On Mon, 13 Nov 2000, Torsten Duwe wrote: > > Code in a security sensitive area needs to be crystal clear. > > What's wrong with isalnum() ? > What about this then ? --- kmod.c.orig Sat Nov 4 20:02:11 2000 +++ kmod.c Mon

Re: Linux 2.4 Status/TODO page (test11-pre3)

2000-11-13 Thread James Simmons
> >8. Fix Exists But Isnt Merged > > * VGA Console can cause SMP deadlock when doing printk {CRITICAL} > > (Keith Owens) > > Fix (by whom?) Me :-) > included in 2.4.0-test11-pre3. Looks good. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body o

BUG Report 2.4.0-test11-pre3: NMI Watchdoch detected LOCKUP atCPU[01] (fwd)

2000-11-13 Thread Gert Wollny
A bug i had with kernel version 2.4.0-test9 is still there, but there are additional information: When parport_pc is compiled as module, and not already loaded "modprobe imm" yields the LOCKUP message (subject). The iomega-drive is usable after the modprobe and despite of the lockup. If parpo

Re: test11-pre2 compile error undefined reference to `bust_spinlocks' WHAT?!

2000-11-13 Thread George Anzinger
Andrew Morton wrote: > > George Anzinger wrote: > > > > The notion of releasing a spin lock by initializing it seems IMHO, on > > the face of it, way off. Firstly the protected area is no longer > > protected which could lead to undefined errors/ crashes and secondly, > > any future use of spinl

Re: Linux 2.4 Status/TODO page (test11-pre3)

2000-11-13 Thread Tim Waugh
On Sun, Nov 12, 2000 at 02:39:09PM -0500, [EMAIL PROTECTED] wrote: > Fixed > > * Zip/Imm/Parport will reliably hang the system (James M. "Dart", >fixed) This isn't fixed, I'm pretty sure. I haven't looked at it yet. Tim. */ PGP signature

[BUG] Hard lockup using emu10k1-based sound card

2000-11-13 Thread Willis L. Sarka
I get a hard lockup when trying to play a mp3 with XMMS; Sound Blaster Live card. The first second loops, and I lose all connectivity to the machine; I can't ping it, can't to a an Alt-Sysq, nothing. Details: running RedHat 7.0 using kernel 2.4.0-test11pre4 emu10k1 compiled as a module system i

Re: Modprobe local root exploit

2000-11-13 Thread Torsten Duwe
> "Chris" == Chris Evans <[EMAIL PROTECTED]> writes: Chris> What's wrong with isalnum() ? Hm, must admit that I wasn't 100% sure if that's in the kernel lib or an evil gcc expands it inline to some static array lookup. Now I see that it's already in the kernel. Do some of you also someti

Re: [BUG] Hard lockup using emu10k1-based sound card

2000-11-13 Thread Hans Grobler
On Mon, 13 Nov 2000, Willis L. Sarka wrote: > I get a hard lockup when trying to play a mp3 with XMMS; > Sound Blaster Live card. The first second loops, and I lose all > connectivity to the machine; I can't ping it, can't to a an Alt-Sysq, > nothing. Just for reference, I've been use the ALSA d

Re: State of Posix compliance in v2.2/v2.4 kernel?

2000-11-13 Thread Gary Lawrence Murphy
> "J" == Jeff Garzik <[EMAIL PROTECTED]> writes: J> Would it be reasonable to have these needs documented in a J> central location, with patches attached where possible? http://kernelbook.sourceforge.net:80/wiki/?LinuxAndPosixCompliance The lead-in discussion has been snipped and in

[sparc32] 2.4.0-test11-pre2 does not boot

2000-11-13 Thread KELEMEN Peter
Hello there. I keep trying to breath life to an old SPARCstation 10 here, no luck yet. 2.4.0-test11-pre2 compiles without problems, but it hangs at booting. Here's what the screen reads: SILO boot: l240t11p2 PROMLIB: obio_ranges 5 bootmem_init: Scan sp_banks, init_bootmem(spfn[1d6],bpfn[1d6],

2.2.18pre19 and HP DAT40i: mysterious medium error

2000-11-13 Thread Ville Herva
The problem: When writing to /dev/st0, I get st0: Error with sense data: [valid=0] Info fld=0x0, Deferred st09:00: sense key Medium Error Additional sense indicates Track following error st0: Error with sense data: Info fld=0x0, Current st09:00: sense key Medium Error Additional

Re: [PATCH] pcmcia event thread. (fwd)

2000-11-13 Thread David Hinds
On Mon, Nov 13, 2000 at 03:42:34PM +, David Woodhouse wrote: > It's the socket drivers which _aren't_ in the kernel source which are most > likely to exhibit this problem. Anything in the kernel tree was probably > converted by Linus, and hence done right. As there are so few socket drivers >

Re: State of Posix compliance in v2.2/v2.4 kernel?

2000-11-13 Thread Ingo Oeser
On Mon, Nov 13, 2000 at 11:00:09AM -0500, Jeff Garzik wrote: > Also, from what I've seen lately on IRC and lkml, the Single Unix > Specification ("SuS") is generally held in higher regard than POSIX; and > when spec questions arise, kernel developers tend to check SuS before > POSIX (if POSIX is c

Re: Modprobe local root exploit

2000-11-13 Thread Peter Samuelson
[Torsten Duwe] > > "Francis" == Francis Galiegue <[EMAIL PROTECTED]> writes: > > >> + if ((*p & 0xdf) >= 'a' && (*p & 0xdf) <= 'z') continue; > > Francis> Just in case... Some modules have uppercase letters too :) > > That's what the &0xdf is intended for... It's wrong, then: you'

blocks read/written counters

2000-11-13 Thread Marlys Kohnke
As part of the new resource counters I'm adding for our job accounting feature, I'm trying to gather blocks read and written on a per task basis (which will get rolled into a per job statistic outside of the kernel). I added task struct counters which get incremented in drivers/block/ll_rw_

[PATCH] Re: reliability of linux-vm subsystem

2000-11-13 Thread Szabolcs Szakacsits
On Mon, Nov 13, 2000 Erik Mouw wrote: > On Mon, Nov 13, 2000 at 05:29:48PM +0530, [EMAIL PROTECTED] wrote: > > System becomes useless till all of the instance of this programming are > > killed by vmm. > Good, so the OOM killer works. But it doesn't work for this kind of application misbehaviou

Re: PATCH: Pcmcia/Cardbus/xircom_tulip in 2.4.0-test10.

2000-11-13 Thread David Hinds
> Can you try the test11-pre2 patch? It includes a bugfix to > xircom_tulip from Andrea. Andrea's fix doesn't actually solve the problem; it merely changes the set of working configurations to a set that includes Andrea's setup. I don't know whether the size of the working set gets larger or sma

[PATCH 2.2.18pre21] Fix 3 leaks in lockd...

2000-11-13 Thread Trond Myklebust
As usual, I messed up the list addresses. Here's a resend (not Cced to Alan since he should already have received it). Cheers, Trond Forwarded message -- Hi Alan, The following patch fixes 3 leaks in the 2.2.18pre21 'lockd' server: - The nlm_host h_cou

[patch] nfsd optimizations for test10 (yet another try)

2000-11-13 Thread Ying Chen/Almaden/IBM
Neil, Here is a set of fixes and answers to you questions/points. The new patch was tested in my own environment again and worked fine. 1/ Why did you change nfsd_busy into an atomic_t? It is only ever used or updated inside the Big-Kernel-Lock, so it doesn't need to be atomic. I think

IDE0 /dev/hda performance hit in 2217 on my HW

2000-11-13 Thread LA Walsh
I skimmed over the archives and didn't find a mention of this. I thought I'd noticed this when I first installed 2217, but I was too busy to verify it at the time. Simple case: Under 2216, I can do a 'badblocks /dev/hda1 X'. Vmstat shows about 10,000K/s average. This is consistent with 'dd

writing out disk cache

2000-11-13 Thread LA Walsh
Another question that's been bugging me -- this is behavior that seems identical in 2216/2217 and not related to my ealier performance degredation post. I run VMware. It runs w/144Mg and writes out a 153M suspend file when I suspend it to disk. My system has a total of 512M, so the entire suspe

Re:test11-pre1 Parport/IMM/Zip Oops fixed -- Are we in Florida?

2000-11-13 Thread James M
James M wrote: > >My previously reported Parport/Zip Oops seems to have gone away. I > suspect the SMP race fixs were the culprit...thank you. >However my parport is still misdetected as SPP by the IMM driver when > it is actually set to EPP. This is an Epox/SMP Xeon (400 mhz), EP-GXB-M >

Re: [PATCH] pcmcia event thread. (fwd)

2000-11-13 Thread David Woodhouse
On Mon, 13 Nov 2000, David Hinds wrote: > The i82365 and tcic drivers in the 2.4 tree have not been converted to > use the thread stuff; as far as I know, the yenta driver is the only > socket driver that works at all in 2.4. > > On Mon, Nov 13, 2000 at 09:52:30PM +, David Woodhouse wrote: >

Inconsistencies in 3dNOW handling

2000-11-13 Thread Yann Dirson
Looking at what the CONFIG_X86_USE_3DNOW config option in 2.40.-test10 enables, I find a couple of strange things. This led me through a small high-level audit of 3DNOW/MMX stuff. Hopefully someone will be able to explain or to confirm whether the points I highlight are indeed bugs. I'd value

smc-ircc.c typo in linux-2.4.0-test11-pre4

2000-11-13 Thread Adam J. Richter
linux-2.4.0-test11-pre{3,4}/drivers/net/irda/smc-ircc.c contains a reference to the undefined symbol smcc_ircc_change_speed. I guess this should be a reference to ircc_change_speed. Because I am not positive, I am not sending this message directly to Linus, but I am cc'ing it to linux-k

toshoboe.c typo in linux-2.4.0-test11-pre4

2000-11-13 Thread Adam J. Richter
linux-2.4.0-test11-pre{3,4}/drivers/net/irda/toshoboe.c contains a reference to the undefined symbol toshoboe_change_speed. I guess this should be a reference to toshoboe_setbaud. Because I am not positive, I am not sending this message directly to Linus, but I am cc'ing it to linux-kern

Re: user beancounter (was: Reserve VM for root)

2000-11-13 Thread Szabolcs Szakacsits
On Fri, 10 Nov 2000, Andrey Savochkin wrote: > On Thu, Nov 09, 2000 at 06:30:32PM +0100, Szabolcs Szakacsits wrote: > > BTW, I wanted to take a look at the frequently mentioned beancounter patch, > > here is the current state, > > http://www.asp-linux.com/en/products/ubpatch.shtml > > "Sorry

Patch(?): linux-2.4.0-test11-pre4/drivers/sound/yss225.c compile failure

2000-11-13 Thread Adam J. Richter
linux-2.4.0-test11-pre4/drivers/sound/yss225.c uses __initdata but does not include , so it could not compile. I have attached below. Note that I am a bit uncertain about the correctness of the __initdata prefix here in the first place. Is yss225 a PCI device? If so, a kerne

Re: [PATCH] pcmcia event thread. (fwd)

2000-11-13 Thread Jeff Garzik
David Woodhouse wrote: > > On Mon, 13 Nov 2000, David Hinds wrote: > > > The i82365 and tcic drivers in the 2.4 tree have not been converted to > > use the thread stuff; as far as I know, the yenta driver is the only > > socket driver that works at all in 2.4. > > > > On Mon, Nov 13, 2000 at 09:

APM oops with Dell 5000e laptop

2000-11-13 Thread Dax Kelson
I just got a Sceptre 6950 (also known as a Dell 5000e), I just installed Red Hat 7.0 on it, and got an APM related oops at boot. I found that this was reported on l-k in late September with a couple responses, but no resolution. Here are a couple detailed bug reports on this same problem, again

Re: Linux 2.4 Status/TODO page (test11-pre3)

2000-11-13 Thread Roger Larsson
On Sunday 12 November 2000 23:31, Erik Mouw wrote: > On Sun, Nov 12, 2000 at 02:39:09PM -0500, [EMAIL PROTECTED] wrote: > > * USB: system hang with USB audio driver {CRITICAL} (David > >Woodhouse, Randy Dunlap, Narayan Desai) (Fixed with usb-uhci; > >uhci-alt is unknown -- ran

Re: APM oops with Dell 5000e laptop

2000-11-13 Thread Brad Douglas
> > I just got a Sceptre 6950 (also known as a Dell 5000e), I just installed > Red Hat 7.0 on it, and got an APM related oops at boot. > > I found that this was reported on l-k in late September with a couple > responses, but no resolution. > > Here are a couple detailed bug reports on this sam

Re: [PATCH] pcmcia event thread. (fwd)

2000-11-13 Thread David Woodhouse
On Mon, 13 Nov 2000, Jeff Garzik wrote: > It's purposefully not on Ted's critical list, the official line is "use > pcmcia_cs external package" if you need i82365 or tcic instead of yenta > AFAIK. However... fixing things and being able to support all pcmcia > and cardbus adapters would be wonde

Re: Current doc for writing device drivers?

2000-11-13 Thread Jonathan Corbet
> The Rubini book is being updated for 2.2 and 2.4, but I dunno when it > will go to press. We're working on it - honest! The book will go out for technical review before too long; I believe the current target date to have it on the shelves is April. We'd hoped for sooner, but, given how 2.4 de

Local root exploit with kmod and modutils > 2.1.121

2000-11-13 Thread Keith Owens
On Mon, 13 Nov 2000 20:23:07 + (GMT), Chris Evans <[EMAIL PROTECTED]> wrote: >Either the kernel or modprobe needs to treat the module name with >_extreme_ distrust, and I see no evidence of that. Agreed. modprobe was not designed to run suid. Calling modprobe from request_module has the sa

ns558 pci/isa change

2000-11-13 Thread Pete Wyckoff
My joystick stopped working at 2.4.0-test10 due to a patch to drivers/char/joystick/ns558.c that moves pci probing ahead of isa probing. The problem is that pci_module_init can return -ENODEV into i, which is then used to index the ISA portlist. ISA probing assumes that i is initialized to zero.

quick question regarding system time

2000-11-13 Thread Christopher Friesen
I'm working on some timer routines to allow arbitrary numbers of timers all based off the single real timer provided by "setitimer". However, I haven't been able to figure out from the documentation what happens to the countdown timer used by setitimer when the system clock is changed (by root,

Re: Linux 2.4 Status/TODO page (test11-pre3)

2000-11-13 Thread Erik Mouw
On Mon, Nov 13, 2000 at 11:58:00PM +0100, Roger Larsson wrote: > On Sunday 12 November 2000 23:31, Erik Mouw wrote: > > I can still hang the system with XMMS (1.0.1) using real-time priority. > > The system doesn't die, but it is completely unresponsive. There is no > > sound, but after the MP3 fi

UDMA66/100 errors...

2000-11-13 Thread Mike A. Harris
Kernel == 2.2.17 + ReiserFS + IDE patches I'm getting the following error when I try and enable UDMA on my new IBM Deskstar UDMA100 drive: /dev/hdb: Model=IBM-DTLA-307030, FwRev=TX4OA50C, SerialNo=YKDYKGF1437 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs } RawCHS=16383/16/63, TrkSize

RE: IDE0 /dev/hda performance hit in 2217 on my HW - more info - maybe extended partitions

2000-11-13 Thread LA Walsh
Some further information in response to a private email, I did hdparm -ti under both 2216 and 2217 -- they are identical -- this may be something weird w/extended partitions... /dev/hda: multcount= 0 (off) I/O support = 0 (default 16-bit) unmaskirq= 0 (off) using_dma= 1 (on)

Re: ns558 pci/isa change

2000-11-13 Thread Jeff Garzik
Pete Wyckoff wrote: > i = pci_module_init(&ns558_pci_driver); > if (i == 0) > have_pci_devices = 1; > > /* > * Probe for ISA ports. > */ > > + i = 0; you don't want to lose the error code. what you want to do is something like the attached patch... -

Re: [PATCH] Re: reliability of linux-vm subsystem

2000-11-13 Thread Erik Mouw
On Mon, Nov 13, 2000 at 10:50:05PM +0100, Szabolcs Szakacsits wrote: > On Mon, Nov 13, 2000 Erik Mouw wrote: > > Good, so the OOM killer works. > > But it doesn't work for this kind of application misbehaviours (or > user attacks): > > main() { while(1) if (fork()) malloc(1); } Proper process l

Re: Oops on 2.2.17 [klogd bonus question]

2000-11-13 Thread Marcelo Tosatti
On Mon, 13 Nov 2000, Rasmus Andersen wrote: > Hi. > > I'm getting oopses on a linux 2.2.17 box when I try to do > tar cvIf -X /. Reproducably. This works fine > for the std. RH 6.2 kernel (2.2.14-5). The resulting file > is about 20MB. > > I would submit the oops, but it is run through klo

[PATCH] CONFIG_EISA note in Documentation/Configure.help

2000-11-13 Thread Steven Cole
I noticed there was no help section for CONFIG_EISA in Configure.help. Here is a micro patch. Hope this is not "really superfluous" this time. Steven diff -urN linux/Documentation/Configure.help.orig linux/DocumentationConfigure.help --- linux/Documentation/Configure.help.orig Sat

tulip memory leak

2000-11-13 Thread Tobias Ringstrom
There might be a small memory leak in the tulip driver since tp->mtable allocated in eeprom.c around line 172 is never freed. /Tobias - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org

[PATCH] tulip oops

2000-11-13 Thread Tobias Ringstrom
This patch makes tulip/eeprom.c more robust. /Tobias --- eeprom.c.orig Mon Jun 19 22:42:39 2000 +++ eeprom.cTue Nov 14 01:19:19 2000 @@ -237,6 +237,7 @@ printk(KERN_INFO "%s: Index #%d - Media %s (#%d) described " "by a %s (%d

[PATCH] 2.2.18-21 tulip.c fix for ADMtek AN985 Comet

2000-11-13 Thread Lee Bradshaw
There is a typo for the pci id for the ADMtek AN985 Comet. I have two cards working with this patch (a 2 card/hub package deal), but I also have to "ifconfig eth0 promisc" to get the cards working properly. --- kernel-source-2.2.18-21/drivers/net/tulip.c Mon Nov 13 18:05:51 2000 +++ linux/drivers

[patch] acenic driver update

2000-11-13 Thread Jes Sorensen
Hi Linus Here is a patch to bring the acenic driver update with the latest fixes. It fixes the following issues: - Driver wasn't being initialized when compiled statically into the kernel. - set_macaddr() set the address incorrectly on little endian machines. - netif_stop_queue() was called in

Davicom support in the tulip driver

2000-11-13 Thread Tobias Ringstrom
As you suggested, I added/improved support for the Davicom chip to the tulip driver. I'm going to fix the dmfe driver when I have more time. This patch works-for-me(TM) using a Cnet card, but it would be very interesting to see what happens with other Davicom based cards. I think it should work,

Bug in vfat-module in all kernel versions 2.4.0-testx

2000-11-13 Thread Thomas Fuhrich
There seems to be a bug in the vfat-module. When I mount my SCSI MO drive with a 512 bytes/block disk, everything works fine. If I do the same thing with a disks with 2kB/block I can mount it and read the directory. Once I try to run a programm from the disk or try to edit or copy a file in either

Re: [PATCH] Re: reliability of linux-vm subsystem

2000-11-13 Thread Michael Peddemors
> up to the sysadmin to enforce the policy. For the home user it means > that the distribution providers have to set decent limits, What is decent today may not be with tommorows' newest softwares > for enterprises it means that they have to hire a sysadmin. That is one of the reasons that

Re: [PATCH] tulip oops

2000-11-13 Thread Jeff Garzik
Tobias Ringstrom wrote: > > This patch makes tulip/eeprom.c more robust. > > /Tobias > > --- eeprom.c.orig Mon Jun 19 22:42:39 2000 > +++ eeprom.cTue Nov 14 01:19:19 2000 > @@ -237,6 +237,7 @@ > printk(KERN_INFO "%s: Index #%d - Media %s (#%d) described " >

Whither sparc bugs?

2000-11-13 Thread Lars Kellogg-Stedman
I've recently run into what look like some kernel bugs in the 2.2.17 kernel (on a sparcstation 2 (sun4c) and a javasation (sun4m)). I've posted them to the sparclinux mailing list, but I was wondering if there was somewhere else (e.g., here) that I should send them. Thanks, -- Lars - To uns

Re: IDE0 /dev/hda performance hit in 2217 on my HW - more info - maybe extended partitions

2000-11-13 Thread Andries Brouwer
On Mon, Nov 13, 2000 at 03:47:27PM -0800, LA Walsh wrote: > Some further information in response to a private email, I did hdparm -ti > under both > 2216 and 2217 -- they are identical -- this may be something weird > w/extended partitions... What nonsense. There is nothing special with extended

Better precision in rusage and virtual itimers?

2000-11-13 Thread Corey Minyard
I've looked through the scheduling code and searched pretty much everywhere I could think of and I've found nothing on this, so it's time to escalate :-). The measurement of CPU usage and virtual itimers is crude at best. It's actually possible to set a relatively short virtual itimer (say, 50ms)

Re: UDMA66/100 errors...

2000-11-13 Thread davej
Mike Harris wrote.. >I'm getting the following error when I try and enable UDMA on my >new IBM Deskstar UDMA100 drive: >... > DMA modes: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5 Ok, the drive supports UDMA5 (ATA100) > setting xfermode to 67 (UltraDMA mode3) >ide0: Speed warnings

Re: [patch] acenic driver update

2000-11-13 Thread Jeff Garzik
You would think it would be easier to maintain a separate 2.2.x and 2.4.x version of acenic.c at this point :) Jes Sorensen wrote: > @@ -2307,14 +2337,10 @@ > u32 idx, flagsize; > > /* > -* ARGH, there is just no pretty way to do this > +* This only happens with

Re: UDMA66/100 errors...

2000-11-13 Thread davej
Mike Harris wrote... > I'm getting the following error when I try and enable UDMA on my > new IBM Deskstar UDMA100 drive: > ... > DMA modes: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5 Ok, drive supports UDMA Mode 5 (ATA100) > 00:07.1 IDE interface: VIA Technologies, Inc. VT82C586 ID

Re: PATCH: Pcmcia/Cardbus/xircom_tulip in 2.4.0-test10.

2000-11-13 Thread Ion Badulescu
On Mon, 13 Nov 2000 12:18:33 -0800, David Hinds <[EMAIL PROTECTED]> wrote: > The effect of "ifconfig eth0 -multicast" (which should be a no-op) is > that it calls set_rx_mode() with the same set of parameters it was > called with before. Doing this one or more times may kick the card so > that i

Problem autonegotiation with tulip driver?

2000-11-13 Thread Corey Minyard
In the current version (and may previous versions) of the tulip driver in media.c in the function tulip_select_media() with mleaf->type being 2 or 4, we have the following code: if (p[1] & 0x40) { /* SIA (CSR13-15) setup values are provided. */ csr13val = setup[0]; csr14val = s

Problem autonegotiation with tulip driver?

2000-11-13 Thread Corey Minyard
In the current version (and may previous versions) of the tulip driver in media.c in the function tulip_select_media() with mleaf->type being 2 or 4, we have the following code: if (p[1] & 0x40) { /* SIA (CSR13-15) setup values are provided. */ csr13val = setup[0]; csr14val = s

Re: Linux 2.4 Status/TODO page (test11-pre3)

2000-11-13 Thread Michal Jaegermann
On Sun, Nov 12, 2000 at 10:09:39PM -0500, Jeff Garzik wrote: > [EMAIL PROTECTED] wrote: > > 4. Boot Time Failures > > > * Various Alpha's don't boot under 2.4.0-test9 (PCI-PCI bridges are > >not configured correctly Michal Jaegermann; Richard Henderson may > >have an idea wha

Re: Where is it written?

2000-11-13 Thread Richard Henderson
On Fri, Nov 10, 2000 at 05:33:34PM -0800, H. Peter Anvin wrote: > AFAIK, I think Linus tried this once, but ran into bugs in gcc. > We might very well try again in 2.5. You'll definitely have to use a compiler later than gcc 2.95, since there were in fact major bugs in this area. I'd be interest

anyone compiled 2.2.17 on RH7 successfully?

2000-11-13 Thread Corisen
has anyone running RedHat7(with kernel 2.2.16, gcc 2.96, kgcc 2.91.66) complied 2.2.17 kernel successfully? i've downloaded the source and gunzip/untar to /root/linux-2.2.17 1. make menuconfig (ok) 2. make dep (ok) 3. make zImage ===> lots of warning message ===> error: checksum.S:231 badly punc

Re: [PATCH] show_task() and thread_saved_pc() fix for x86

2000-11-13 Thread Richard Henderson
On Sat, Nov 11, 2000 at 10:18:46PM -0500, Alexander Viro wrote: > Alternative variant: just let schedule() store its return address > in the task_struct. Please please. I can't reliably unwind the stack on Alpha. > OTOH, the value is used only by Alt-SysRq-T, so... Hell knows. No, it's also us

Re: anyone compiled 2.2.17 on RH7 successfully?

2000-11-13 Thread David Relson
Corisen, RedHat 7.0's version of gcc, known as gcc 2.96, is incompatible with the kernel's code. Preprocessor changes cause the problem you encountered. It also has some defects in how it optimizes code that would cause the kernel to run incorrectly. The 7.0 distribution includes an older v

Re: initcalls in pre4?

2000-11-13 Thread Richard Henderson
On Mon, Nov 13, 2000 at 12:51:24AM -0500, Jeff Garzik wrote: > Alas... > > --- include/linux/init.h2000/10/30 19:37:38 1.1.1.5 > +++ include/linux/init.h2000/11/13 04:30:02 1.1.1.6 > @@ -73,7 +73,7 @@ > -#define __init __attribute__ ((__section__ (".text.init"))) >

Re: anyone compiled 2.2.17 on RH7 successfully?

2000-11-13 Thread Corisen
thanks for the info. i've kgcc installed during RH7 installation. i've checked the version to be 2.91.66. i've used the following 2 methods with kgcc but it won't even allow me to compile: 1. make CC=kgcc zImage 2. change the CC=gcc to CC=kgcc in Makefile the "make CC=kgcc zImage" process reports

Re: Modprobe local root exploit

2000-11-13 Thread Horst von Brand
Chris Evans <[EMAIL PROTECTED]> said: > On Mon, 13 Nov 2000, Torsten Duwe wrote: > > > "Francis" == Francis Galiegue <[EMAIL PROTECTED]> writes: > > > > >> + if ((*p & 0xdf) >= 'a' && (*p & 0xdf) <= 'z') continue; > > > > Francis> Just in case... Some modules have uppercase letters t

Re: anyone compiled 2.2.17 on RH7 successfully?

2000-11-13 Thread Michael Rothwell
GCCLOC=`which gcc` rm `echo $GCCLOC` ln -s `which kgcc` `echo $GCCLOC` ... repeat for g++ -M Corisen wrote: > > thanks for the info. i've kgcc installed during RH7 installation. i've > checked the version to be 2.91.66. i've used the following 2 methods with > kgcc but it won't even allow me

[PATCH] make SMP power off work when APM is a module

2000-11-13 Thread Stephen Rothwell
Hi Linus, This patch corrects the return codes from apm's init routine and in particular should allow SMP power off to work when APM is compiled as a module. Cheers, Stephen -- Stephen Rothwell, Open Source Researcher, Linuxcare, Inc. +61-2-62628990 tel, +61-2-62628991 fax [EMAIL PROTECTED], h

Re: [ANNOUNCE] Generalised Kernel Hooks Interface (GKHI)

2000-11-13 Thread Andrea Arcangeli
On Mon, Nov 13, 2000 at 11:38:23AM +0100, Andi Kleen wrote: > notifier lists would be sufficient because dprobes does not hook into any > performance critical paths. Current dprobes patch adds branches in the the main page fault handler, device_not_available exception at least. Those are _very_

New Qchex Service for Quicken Users !

2000-11-13 Thread News Publishing
ELECTRONIC NEWS RELEASE *** using e-mail keeps us informed and protects our natural resources *** November 13, 2000 - San Diego, California Qchex.com introduces a new financial convenience service for institutions, businesses and individuals: Qchex! http://www.qchex.com The unique payment so

Re: [ANNOUNCE] Generalised Kernel Hooks Interface (GKHI)

2000-11-13 Thread richardj_moore
Andi Kleen wrote: >I think using dprobes for collecting information is ok, but when you want >to do actual actions with it (not only using it as a debugger) IMHO it >is better to patch and recompile the kernel. I absolutely agree. The only time I ever used this capability was to modify a propri

Re: anyone compiled 2.2.17 on RH7 successfully?

2000-11-13 Thread Dan Browning
Did you make clean; make mrproper? On Mon, 13 Nov 2000, Michael Rothwell wrote: > GCCLOC=`which gcc` > rm `echo $GCCLOC` > ln -s `which kgcc` `echo $GCCLOC` > > ... repeat for g++ > > > -M > > > Corisen wrote: > > > > thanks for the info. i've kgcc installed during RH7 installation. i've >

Re: Linux 2.4 Status/TODO page (test11-pre3)

2000-11-13 Thread Rusty Russell
In message <[EMAIL PROTECTED]> you write: > > 12. Probably Post 2.4 > > > * module remove race bugs (ipchains modules -- Rusty; won't fix for > >2.4) > > Is this an ipchains bug, or a more general module subsystem bug? There's a fundamental problem with any module which reduces cou

Re: Bug-report: menuconfig

2000-11-13 Thread Peter Samuelson
Note for future reference: please report configuration and build bugs to [EMAIL PROTECTED] Speaking for myself, I am much more likely to notice it there, as the volume is a lot lower than l-k. (: [Stefan Sassenberg] > When I set CONFIG_MD_BOOT to 'y' and then set neither > CONFIG_MD_LINEAR nor

Re: Modprobe local root exploit

2000-11-13 Thread Peter Samuelson
[Torsten Duwe] > + for (p = module_name; *p; p++) > + { > + if (isalnum(*p) || *p == '_' || *p == '-') > + continue; > + > + return -EINVAL; > + } I think you just broke at least some versions of devfs. I don't remember if the feature is still around, but I know

Re: Oops on 2.2.17 [klogd bonus question]

2000-11-13 Thread Peter Samuelson
[Rasmus Andersen] > I'm getting oopses on a linux 2.2.17 box when I try to do > tar cvIf -X /. Reproducably. Are you excluding /proc? Trying to back up all of /proc is definitely asking for trouble, although the oops still indicates a kernel bug. Peter - To unsubscribe from this list: send th

Re: IDE0 /dev/hda performance hit in 2217 on my HW

2000-11-13 Thread Peter Samuelson
[Linda Walsh] > Under 2217, the xfer speed drops to near 1,000K/s. This is for both > 'badblocks' > and a 'dd' if=/dev/hda of=/dev/hdb bs=256k. In both instances, I notice > a near 90% performance degredation. Off the top of my head it sounds like you are using the wrong ide i/o mode. Your ha

Re: Modprobe local root exploit

2000-11-13 Thread Keith Owens
On Mon, 13 Nov 2000 23:02:10 -0600, Peter Samuelson <[EMAIL PROTECTED]> wrote: > >[Torsten Duwe] >> +for (p = module_name; *p; p++) >> +{ >> + if (isalnum(*p) || *p == '_' || *p == '-') >> +continue; >> + >> + return -EINVAL; >> +} > >I think you just broke at least

Re: IDE0 /dev/hda performance hit in 2217 on my HW

2000-11-13 Thread Peter Samuelson
[I wrote] > What chipset does the Inspiron 7500 use? (Probably Intel something. I just booted an Inspiron 5000. PIIX4. So in the kernel config, read the help on PIIX support and make sure to turn on 'use dma by default'. ...And you probably still want to at least try Andre's patch. Peter -

Re: UDMA66/100 errors...

2000-11-13 Thread Mike A. Harris
On Tue, 14 Nov 2000 [EMAIL PROTECTED] wrote: >Date: Tue, 14 Nov 2000 01:08:51 + (GMT) >From: [EMAIL PROTECTED] >To: Linux Kernel Mailing List <[EMAIL PROTECTED]> >Cc: [EMAIL PROTECTED] >Content-Type: TEXT/PLAIN; charset=US-ASCII >Subject: Re: UDMA66/100 errors... > > >Mike Harris wrote.. > >>

Re: anyone compiled 2.2.17 on RH7 successfully? [SOLVED]

2000-11-13 Thread Corisen
thanks for all those who replied. your help is really appreciated. basically, in order to compile kernel in RH7, kgcc *MUST* be used instead of gcc. to use kgcc edit the Makefile. find the line below and change to: CC =$(CROSS_COMPILE)kgcc <(changed to kgcc instead of gcc/cc) once again. th

RE: IDE0 /dev/hda performance hit in 2217 on my HW - more info - maybe extended partitions

2000-11-13 Thread LA Walsh
It seems to be the output of vmstat that isn't matching things. First it says it's getting near 10M/s, but if you divide 128M/27 seconds, it's more like 4.7. So where is the time being wasted? It's not in cpu either. Now I look at hda7 where vmstat reported 2000-3000 blocks/sec. Again, the mat

Re: Inconsistencies in 3dNOW handling

2000-11-13 Thread Arjan van de Ven
> > - CONFIG_MK6 is described as "K6/K6-II/K6-III", and CONFIG_MK7 as > "Athlon/K7". Of these two, only the latter defines > CONFIG_X86_USE_3DNOW, although K6-II and K6-III do provide 3DNOW > instructions. The Athlon has an extended version of 3DNOW, which the kernel uses as of test11-pre2. T

Re: Q: Linux rebooting directly into linux.

2000-11-13 Thread Erik Andersen
On Thu Nov 09, 2000 at 01:18:24AM -0700, Eric W. Biederman wrote: > > I have recently developed a patch that allows linux to directly boot > into another linux kernel. Looks very cool. I'm curious about your decision to use ELF images. This makes it much less conveinient to use due to the ke

Hard lockups solved

2000-11-13 Thread Tom Leete
Hi, My lockup problems started increasing in frequency, and it became obvious that they were independent of the kernel I booted. The shoe dropped, nic was failing. It's salvage now. The bizarre shift errors on ftp are gone, so the data I sent is irrelevant to the kernel. The soft hangs I was ge

Re: Hard lockups solved

2000-11-13 Thread David S. Miller
Date: Mon, 13 Nov 2000 18:05:24 -0500 From: Tom Leete <[EMAIL PROTECTED]> Your net/ipv4/tcp.c patch from the NE2000 thread cured them even before I found the hardware fault. Has that patch gone to the queue? I recommend it. The bugs I was "fixing" there were due to problems in wai

RE: catch 22 - porting net driver from 2.2 to 2.4

2000-11-13 Thread Hen, Shmulik
Where can I find info about that ? My first idea was to fire a timer and let the callback routine do the work, but I worry about synchronization and about passing the list of items for it to handle. What is the accepted way of starting a kernel thread and how do I handle parameters and sync. ?

Re: Linux 2.4 Status/TODO page (test11-pre3)

2000-11-13 Thread Matti Aarnio
On Sun, Nov 12, 2000 at 07:26:37PM -0800, David Ford wrote: > [EMAIL PROTECTED] wrote: > > Fixed > > * Incredibly slow loopback tcp bug (believed fixed about 2.3.48) > > Note; if I set up ESD to listen on a tcp port, connecting locally sounds > horrible. I haven't looked to see who's fault

Re: Dual XEON - >>SLOW<< on SMP

2000-11-13 Thread James A . Sutherland
On Mon, 13 Nov 2000, Jeff V. Merkey wrote: > On Sat, Nov 11, 2000 at 08:26:55PM +0100, Marc Lehmann wrote: > > On Tue, Nov 07, 2000 at 04:03:25PM -0700, "Jeff V. Merkey" ><[EMAIL PROTECTED]> wrote: > > > > > > Marc Lehman verified that PII systems will generate tons of AGIs with > > > gcc. > >

Re: 2.4.0-test11pre2-ac1 and previous problem

2000-11-13 Thread Jasper Spaans
On Sun, Nov 12, 2000 at 01:27:13PM +1100, Keith Owens wrote: > >That's a pretty wierd trace. You seem to have addresses related > >to the `apm' kernel thread on mysqld's stack. > > Normal unfortunately. Firstly the ix86 oops code just scans the stack > and prints anything that looks like it mi

Re: Issue compiling 2.4test10

2000-11-13 Thread Karim Yaghmour
Michael Schmitz wrote: > > Would this patch help? > > --- drivers/input/keybdev.c.org Thu Nov 2 10:13:39 2000 > +++ drivers/input/keybdev.c Thu Nov 2 10:19:43 2000 > @@ -36,7 +36,7 @@ > #include > #include > > -#if defined(CONFIG_X86) || defined(CONFIG_IA64) || defined(__alpha__) ||

Re: Issue compiling 2.4test10

2000-11-13 Thread Michael Schmitz
> > Would this patch help? > > > > --- drivers/input/keybdev.c.org Thu Nov 2 10:13:39 2000 > > +++ drivers/input/keybdev.c Thu Nov 2 10:19:43 2000 > > @@ -36,7 +36,7 @@ > > #include > > #include > > > > -#if defined(CONFIG_X86) || defined(CONFIG_IA64) || defined(__alpha__) || >defined

Re: intel etherpro100 on 2.2.18p21 vs 2.2.18p17

2000-11-13 Thread Andrey Savochkin
Hello, On Fri, Nov 10, 2000 at 04:24:12PM -0800, Allen, David B wrote: > FWIW, I have a dual-proc SuperMicro motherboard P3DM3 with integrated > Adaptec SCSI and Intel 8255x built-in NIC. > > Sometimes on a cold boot I get the "kernel: eth0: card reports no RX > buffers" that repeats, but if I f

Re: Linux 2.2.18pre21

2000-11-13 Thread willy tarreau
Oops ! better with the patch :-) Willy > Ok, Matti, > here's a final patch against the bonding patch I > posted on Friday. ___ Do You Yahoo!? -- Pour dialoguer en direct avec vos amis, Yahoo! Messenger : http://fr.messenger.yahoo.com pa

Mac-buttons emulation broken in 2.4.0-test10

2000-11-13 Thread Karim Yaghmour
The mac_hid_mouse_emulate_buttons() in drivers/macintosh/mac_hid.c which takes care of emulating multiple buttons on a mac doesn't seem to be used anywhere. In fact, by doing a "grep -r mac_hid... *" in the kernel's base directory yields only one result and it's the one in mac_hid.c. Shouldn't th

Re: [ANNOUNCE] Generalised Kernel Hooks Interface (GKHI)

2000-11-13 Thread Daniel Phillips
[EMAIL PROTECTED] wrote: > >Date: Fri, 10 Nov 2000 19:29:26 -0800 >From: "Matt D. Robinson" <[EMAIL PROTECTED]> > >We're planning to isolate the write functions as much as possible. >In the past, we've been bitten by this whole concept of Linux "raw I/O". >When I was at SGI,

  1   2   >