linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Linux-2.4.0-test10
  2000-11-01  8:38     ` Linux-2.4.0-test10 Andi Kleen
@ 2000-11-02  0:03 Jeff Garzik
  2000-10-31 20:41 ` Linux-2.4.0-test10 Linus Torvalds
  1 sibling, 1 reply; 40+ messages in thread
From: Jeff Garzik @ 2000-11-02  0:03 UTC (permalink / raw)
  To: Andi Kleen; +Cc: Alan Cox, Linus Torvalds, Kernel Mailing List, kuznet

Andi Kleen wrote:
> On Tue, Oct 31, 2000 at 08:55:13PM +0000, Alan Cox wrote:
> >       What about the fact anyone can crash a box using ioctls on net
> >       devices and waiting for an unload - was this fixed ?

> The ioctls of network devices are generally unsafe on SMP, because
> they run with kernel lock dropped now but are mostly not safe to do so.

Wrong.  The BLK is dropped in sock_ioctl, but struct netdevice::do_ioctl
is called with rtnl_lock held:

	net/core/dev.c:
		rtnl_lock();
		ret = dev_ifsioc(&ifr, cmd);
		rtnl_unlock();

Therefore for 2.4.x, our concern is whether a particular net driver
needs further SMP protection internally, or if rtnl_lock (a semaphore,
not a spinlock) is sufficient.

	Jeff


-- 
Jeff Garzik             | "Mind if I drive?"  -Sam
Building 1024           | "Not if you don't mind me clawing at the
MandrakeSoft            |  dash and shrieking like a cheerleader."
                        |                     -Max
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 40+ messages in thread
* RE: Linux-2.4.0-test10
@ 2000-11-02 18:46 CRADOCK, Christopher
  0 siblings, 0 replies; 40+ messages in thread
From: CRADOCK, Christopher @ 2000-11-02 18:46 UTC (permalink / raw)
  To: 'M.H.VanLeeuwen'; +Cc: linux-kernel

Martin, my setup is a Gigabyte DX (ie BX chip set with dual Pentium III) I
have an ATI rage 128 in it with two soundblasters and a cheapo ne2k clone.

The ISAPNP doesn't auto config completely for me so all I can say is the
plug-and-pray would still cause me some grief. Basically the ne2k and the
second sound blaster have conflicting requirements, so I manually tweaked
the ISAPNP selection until it worked. It appears the sound blasters don't
work on half the combination of interrupt and IO ports that you could chose
and that the PNP listing claims are available.

I've never had a problem with or without the FB in place (except initially
when aty128fb.c was flaky) Although it runs X about ten times slower than
the XFree V4 direct driver so I don't normally touch it.

The problems with the PIIX4 simply cause my HDA disk to hang up until the
reset pokes it back into action. As the root partition is on hda1 it hangs
the machine waiting for this to happen (takes about 15 minutes).

ETH0 - thinking about it to does occasionally hang up on me but I thought
that was me fiddling with the settings too much. I'll try that again.

As for kernel debug points I can't say I do my debugging that way.

Chris.

> -----Original Message-----
> From:	M.H.VanLeeuwen [SMTP:vanl@megsinet.net]
> Sent:	Thursday, November 02, 2000 12:44 AM
> To:	CRADOCK, Christopher
> Cc:	linux-kernel@vger.kernel.org; torvalds@transmeta.com
> Subject:	Re: Linux-2.4.0-test10
> 
> "CRADOCK, Christopher" wrote:
> > 
> > I have a similar hardware list and I don't observe any of these problems
> on
> > 2.4.0-test10x. Is it possibly a hardware conflict somewhere?
> > 
> > What I do see occasionally is if X was ever heavy on the memory usage
> (say
> > I've run GIMP for a couple of hours) then the text console's font set
> gets
> > trashed until the next reboot. Console driver failing to reset
> something?
> > 
> > Chris Cradock
> > 
> 
> Hi Chris
> 
> Never had the trashed fonts before.
> 
> How about a better comparison of systems?
> All I mentioned were r128, ne2k, PIIX4 and SMP,  barely enough to claim
> similar
> hardware thus these aren't real problems cause you don't see them.
> I can send you gory details if your interested.
> 
> My reason for claiming these are problems, maybe not show stoppers, are:
> 
> This system is rock solid on 2.2.X.
> 
> problem 1, shouldn't fail on 2.4 if it works just fine on 2.2.  Probably a
> locking
> issue but I'm not sure.  Any idea where to put some BKL's to see if the
> problem
> will go away?
> 
> problem 2, happens randomly, so is it a hardware problem or a software
> issue?  being
> that the system works fine SMP and UP then my guess is a software
> interaction when
> UP-APIC is enabled, a race condition??
> 
> problem 3, new feature in 2.4, one would expect, hey, I've got this hdwr
> in my system,
> let me enable this option...  wait a minute the system doesn't boot...
> 
> problem 4, ISAPNP in the kernel is new for 2.4, i was pointing out that it
> can be
> improved to make it better able to select IRQ's that work so that the user
> can just
> upgrade to 2.4 without having to tweak the BIOS and/or the code.  I sent a
> patch to
> Linus but he rejected it, yes I realize it was a weak attempt but it fixed
> my ISAPNP
> problems, and no one has proposed a better solution.  Shouldn't the
> first release of 2.4.0 show that it's new capabilities are ready for prime
> time?
> 
> 
> Thanks,
> Martin
> 
> 
> > 1.  kernel compiled w/o FB support.  When attempting to switch
> >     back to X from VC1-6 system locks hard for SMP.  Nada thing
> >     fixes this except hard reset... no Alt-SysRq-B, nothing
> >     DRI not enabled.  Video card has r128 chipset.
> >  
> > 2.  System is a NFS root machine, after a period of heavy ntwk
> >     activity, eg. "make clean" in /usr/src/linux ETH0 no longer
> >     works or sometimes just ntwk activity during system boot is
> >     enough to cause the ETH activity to cease.
> >     The only recourse is to Alt-SysRq-B the system.
> >     NIC = NE2K ISA
> >  
> > 3. Enabling PIIX4, kernel locks hard when printing the partition
> >    tables for hdc.   hdc has no partitions.
> >    I think this problem is on Ted's problem list???
> >  
> > 4. ISAPNP assigns an invalid/unusable IRQ to NE2K NIC card.
> >    Previously reported to Linus & Ingo, they asked for an MPTABLE
> >    dump, haven't heard back since providing said data.
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 40+ messages in thread
* RE: Linux-2.4.0-test10
@ 2000-11-01 16:12 CRADOCK, Christopher
  2000-11-02  0:44 ` Linux-2.4.0-test10 M.H.VanLeeuwen
  2000-11-03  7:08 ` Linux-2.4.0-test10 James Simmons
  0 siblings, 2 replies; 40+ messages in thread
From: CRADOCK, Christopher @ 2000-11-01 16:12 UTC (permalink / raw)
  To: 'M.H.VanLeeuwen', linux-kernel; +Cc: torvalds

I have a similar hardware list and I don't observe any of these problems on
2.4.0-test10x. Is it possibly a hardware conflict somewhere?

What I do see occasionally is if X was ever heavy on the memory usage (say
I've run GIMP for a couple of hours) then the text console's font set gets
trashed until the next reboot. Console driver failing to reset something?

Chris Cradock

> -----Original Message-----
> From:	M.H.VanLeeuwen [SMTP:vanl@megsinet.net]
> Sent:	Wednesday, November 01, 2000 6:03 AM
> To:	linux-kernel@vger.kernel.org
> Cc:	torvalds@transmeta.com
> Subject:	Re: Linux-2.4.0-test10
> 
> FYI,
> 
> My list of 2.4.0-testX problems
> 
> Further details, .config, etc...available if needed
> 
> Martin
> 
> 2.4.0-test10 and earlier problem list:
>  
> Problem |       UP              UP-APIC         SMP
> --------|------------------------------------------------
> 1       |       OK              OK              HARDLOCK
> 2       |       OK              FAILS           OK
> 3       |       HARDLOCK        HARDLOCK        HARDLOCK
> 4       |       BROKEN          BROKEN          BROKEN
> 
> Problem description:
>  
> 1.  kernel compiled w/o FB support.  When attempting to switch
>     back to X from VC1-6 system locks hard for SMP.  Nada thing
>     fixes this except hard reset... no Alt-SysRq-B, nothing
>     DRI not enabled.  Video card has r128 chipset.
>  
> 2.  System is a NFS root machine, after a period of heavy ntwk
>     activity, eg. "make clean" in /usr/src/linux ETH0 no longer
>     works or sometimes just ntwk activity during system boot is
>     enough to cause the ETH activity to cease.
>     The only recourse is to Alt-SysRq-B the system.
>     NIC = NE2K ISA
>  
> 3. Enabling PIIX4, kernel locks hard when printing the partition
>    tables for hdc.   hdc has no partitions.
>    I think this problem is on Ted's problem list???
>  
> 4. ISAPNP assigns an invalid/unusable IRQ to NE2K NIC card.
>    Previously reported to Linux & Ingo, they asked for an MPTABLE
>    dump, haven't heard back since providing said data.
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: Linux-2.4.0-test10
@ 2000-11-01 12:51 Mikael Pettersson
  0 siblings, 0 replies; 40+ messages in thread
From: Mikael Pettersson @ 2000-11-01 12:51 UTC (permalink / raw)
  To: tigran; +Cc: dr, linux-kernel, richard.schaal, torvalds

On Wed, 1 Nov 2000, Tigran Aivazian wrote:

>But it contains an erroneous part in microcode.c:
>
>-       if (c->x86_vendor != X86_VENDOR_INTEL || c->x86 < 6){
>+       if (c->x86_vendor != X86_VENDOR_INTEL || c->x86 != 6){
>                printk(KERN_ERR "microcode: CPU%d not an Intel P6\n",
>cpu_num);
>
>
>It was not in Daniel's cleanup patch which I saw but came from elsewhere.
>Are there Intel CPUs with family>6 which do not support the same mechanism
>for microcode update as family=6? The manuals suggest that test for ">" is
>correct, i.e. that Intel will maintain compatibility with P6 wrt microcode
>update.

The patch came from me, as part of the patch kit to make the kernel
safe(r) for the Pentium IV processor. There were several places
which made unwarranted assumptions about ->x86 not exceeding 6, and
they would break since Pentium IV has family 15.

[Reading #243192 ...]
Concerning the microcode update driver, I cannot find anything in
the IA32-Vol3 manual to suggest it is not P6 specific.
The Pentium IV is not a P6, hence the stricter test.

Of course, this should be reviewed once the PentiumIV-updated
IA32-Vol3 manual has been released.

You say the manuals suggest testing for family >= 6.
Exactly which manual does that, and where?

(But I should have passed the patch to you Tigran before Linus.
Mea culpa, but it seemed such an obvious bug&fix ...)

/Mikael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: Linux-2.4.0-test10
@ 2000-11-01  6:03 M.H.VanLeeuwen
  2000-11-01 19:28 ` Linux-2.4.0-test10 David Ford
  2000-11-02  7:15 ` Linux-2.4.0-test10 Vitezslav Samel
  0 siblings, 2 replies; 40+ messages in thread
From: M.H.VanLeeuwen @ 2000-11-01  6:03 UTC (permalink / raw)
  To: linux-kernel; +Cc: torvalds

FYI,

My list of 2.4.0-testX problems

Further details, .config, etc...available if needed

Martin

2.4.0-test10 and earlier problem list:
 
Problem |       UP              UP-APIC         SMP
--------|------------------------------------------------
1       |       OK              OK              HARDLOCK
2       |       OK              FAILS           OK
3       |       HARDLOCK        HARDLOCK        HARDLOCK
4       |       BROKEN          BROKEN          BROKEN

Problem description:
 
1.  kernel compiled w/o FB support.  When attempting to switch
    back to X from VC1-6 system locks hard for SMP.  Nada thing
    fixes this except hard reset... no Alt-SysRq-B, nothing
    DRI not enabled.  Video card has r128 chipset.
 
2.  System is a NFS root machine, after a period of heavy ntwk
    activity, eg. "make clean" in /usr/src/linux ETH0 no longer
    works or sometimes just ntwk activity during system boot is
    enough to cause the ETH activity to cease.
    The only recourse is to Alt-SysRq-B the system.
    NIC = NE2K ISA
 
3. Enabling PIIX4, kernel locks hard when printing the partition
   tables for hdc.   hdc has no partitions.
   I think this problem is on Ted's problem list???
 
4. ISAPNP assigns an invalid/unusable IRQ to NE2K NIC card.
   Previously reported to Linux & Ingo, they asked for an MPTABLE
   dump, haven't heard back since providing said data.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2000-11-09 16:48 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-02  0:03 Linux-2.4.0-test10 Jeff Garzik
2000-10-31 20:41 ` Linux-2.4.0-test10 Linus Torvalds
2000-10-31 20:48   ` Linux-2.4.0-test10 Rik van Riel
2000-10-31 20:57     ` Linux-2.4.0-test10 Linus Torvalds
2000-11-01  5:40       ` Linux-2.4.0-test10 adrian
2000-10-31 20:55   ` Linux-2.4.0-test10 Alan Cox
2000-11-01  1:35     ` Linux-2.4.0-test10 Paul Jakma
2000-11-01  3:53     ` Linux-2.4.0-test10 Jeremy Fitzhardinge
2000-11-01  8:38     ` Linux-2.4.0-test10 Andi Kleen
2000-11-01 18:08       ` Linux-2.4.0-test10 kuznet
2000-11-01 23:52       ` Linux-2.4.0-test10 David S. Miller
2000-11-02 17:17     ` Linux-2.4.0-test10 Stephen C. Tweedie
2000-11-02 17:36       ` Linux-2.4.0-test10 Christoph Rohland
2000-11-03 19:18       ` Linux-2.4.0-test10 Pavel Machek
2000-11-04 18:49       ` Linux-2.4.0-test10 Marco d'Itri
2000-11-05  1:44         ` Linux-2.4.0-test10 H. Peter Anvin
2000-11-06 12:55         ` Linux-2.4.0-test10 Stephen C. Tweedie
2000-11-09 16:45         ` Linux-2.4.0-test10 Stephen C. Tweedie
2000-11-01  2:18   ` Linux-2.4.0-test10 Tom Rini
2000-11-01  5:46   ` Linux-2.4.0-test10 Miles Lane
2000-11-01  5:43     ` Linux-2.4.0-test10 Linus Torvalds
2000-11-01 10:19   ` Linux-2.4.0-test10 Tigran Aivazian
2000-11-01 15:01     ` Linux-2.4.0-test10 Alan Cox
2000-11-01 15:19       ` Linux-2.4.0-test10 Tigran Aivazian
  -- strict thread matches above, loose matches on Subject: below --
2000-11-02 18:46 Linux-2.4.0-test10 CRADOCK, Christopher
2000-11-01 16:12 Linux-2.4.0-test10 CRADOCK, Christopher
2000-11-02  0:44 ` Linux-2.4.0-test10 M.H.VanLeeuwen
2000-11-02 17:57   ` Linux-2.4.0-test10 Ragnar Hojland Espinosa
2000-11-02 18:38     ` Linux-2.4.0-test10 Ragnar Hojland Espinosa
2000-11-03  6:25       ` Linux-2.4.0-test10 kernel
2000-11-03 10:02         ` Linux-2.4.0-test10 Ben Ford
2000-11-07 10:22         ` Linux-2.4.0-test10 Ragnar Hojland Espinosa
2000-11-07 18:39           ` Linux-2.4.0-test10 Zephaniah E. Hull
2000-11-03  7:08 ` Linux-2.4.0-test10 James Simmons
2000-11-01 12:51 Linux-2.4.0-test10 Mikael Pettersson
2000-11-01  6:03 Linux-2.4.0-test10 M.H.VanLeeuwen
2000-11-01 19:28 ` Linux-2.4.0-test10 David Ford
2000-11-02  0:08   ` Linux-2.4.0-test10 M.H.VanLeeuwen
2000-11-02  2:57     ` Linux-2.4.0-test10 David Ford
2000-11-02  7:15 ` Linux-2.4.0-test10 Vitezslav Samel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).