Re: SMP detection

2000-01-23 Thread Damon M. Conway
. have you recompiled the kernel to enable SMP? the GENERIC kernel does not support SMP AFAIK. damon To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: performance of FreeBSD-current as SMP

2000-01-08 Thread Garrett Wollman
[Not network-related; moved to -current.] On Sat, 8 Jan 2000 10:02:25 -0600 (CST), Mohit Aron [EMAIL PROTECTED] said: Good Lord! This is the second time now. I even SAID in my last two mails that there is only ONE processor. Theortically then, FreeBSD configured with/without SMP support

Re: performance of FreeBSD-current as SMP

2000-01-08 Thread Mohit Aron
Yes it should. SMP support enables inter-processor locking code which does not exist in non-SMP kernels. Ergo, non-SMP kernels run uniprocessor tasks faster. Well, some difference is to be expected. But 22% - Mohit To Unsubscribe: send mail to [EMAIL PROTECTED

Re: performance of FreeBSD-current as SMP

2000-01-08 Thread Garrett Wollman
On Sat, 8 Jan 2000 12:34:24 -0600 (CST), Mohit Aron [EMAIL PROTECTED] said: Well, some difference is to be expected. But 22% Flaws in the Intel SMP design make it more expensive than it ought to be. Things like atomic RMW cycles are very, very expensive. (We had a discussion about six

SMP kernel panics after calling acquire_timer0

2000-01-08 Thread Mohit Aron
Hi, I'm using FreeBSD-current (snapshot from Jan 3rd) which is configured with both SMP and APIC_IO support. This version panics upon calling acquire_timer0() (to modify the interrupt frequency of the 8254). On the other hand, if the kernel is not configured as an SMP, then it works fine

Re: SMP kernel panics after calling acquire_timer0

2000-01-08 Thread Thierry Herbelot
hello, You may want to upgrade to a more recent source tree : I've cvsupped from a 4.0-19991229-CURRENT snapshot to the sources around 01/05 21h00 GMT and SMP works fine on my machine (I have seen strange things with the snapshot : cvs did not want to check out the source tree ! not a pleasant

Re: SMP kernel panics after calling acquire_timer0

2000-01-08 Thread Bruce Evans
On Sat, 8 Jan 2000, Mohit Aron wrote: Hi, I'm using FreeBSD-current (snapshot from Jan 3rd) which is configured with both SMP and APIC_IO support. This version panics upon calling acquire_timer0() (to modify the interrupt frequency of the 8254). On the other hand, if the kernel

patches for SMP

2000-01-06 Thread Mohit Aron
Hi, I am using the FreeBSD-4.0 snapshot from 3rd January 2000. This version used to panic when configured as an SMP but with less CPUs than there are actually in the machine (I had 4 processors but only wanted to use 1). Someone mailed me patches for fixing this problem (attached below

Re: SMP

1999-12-22 Thread Emre
On Tue, Dec 21, 1999 at 12:50:24PM +, George Cox wrote: Right. Get yourself cvsup-bin-16.0 from a FreeBSD ftp site (it's in the cvsup directory). Install that and read the manpages, just to get a flavour of how it works. Next, look at the files in /usr/share/examples/cvsup --

Re: SMP

1999-12-20 Thread Thierry Herbelot
Emre wrote: Hi people, I went to ftp://current.freebsd.org/pub/FreeBSD/snapshots/i386/4.0-19991218-CURRENT/README.TXT and read that document. Most hardware that I need to use is supported on that list, but I have a question: is SMP enabled in the GENERIC kernel in FreeBSD 4.0-current

SMP

1999-12-20 Thread Emre
Hi people, I went to ftp://current.freebsd.org/pub/FreeBSD/snapshots/i386/4.0-19991218-CURRENT/README.TXT and read that document. Most hardware that I need to use is supported on that list, but I have a question: is SMP enabled in the GENERIC kernel in FreeBSD 4.0-current? we have a server

Fwd: Idle loop in SMP.

1999-12-12 Thread Remy Nonnenmacher
(Forwarded to -current, due to lack of audience in -smp. Sorry for bothering you). -- Forwarded message -- From: Remy Nonnenmacher [EMAIL PROTECTED] Subject: Idle loop in SMP. Date: Wed, 1 Dec 1999 18:43:40 +0100 (CET) To: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED

Re: SMP stack faults...

1999-10-13 Thread Mike Smith
Just a followup question on my question from a week ago or so ther was indeed a stack overflow I'd guess- I check the code path more carefully and there was a 2KB stack buffer there (oof)- and removing it seemed to make the problem go awaySo the question here is "Shouldn't this have

SMP stack faults...

1999-10-12 Thread Matthew Jacob
Just a followup question on my question from a week ago or so ther was indeed a stack overflow I'd guess- I check the code path more carefully and there was a 2KB stack buffer there (oof)- and removing it seemed to make the problem go awaySo the question here is "Shouldn't this have been

DDB SMP?

1999-09-24 Thread Matthew Jacob
I just ran across this: Debugger("isp_attach") Stopped at Debugger+0x37: movl$0,in_Debugger db cont whoa, other_cpus: 0x0002, stopped_cpus: 0x panic: stop_cpus() failed mp_lock = 0002; cpuid = 0; lapic.id = Automatic reboot in 15 seconds - press a key on the

Re: DDB SMP?

1999-09-24 Thread Tor . Egge
I just ran across this: Debugger("isp_attach") Stopped at Debugger+0x37: movl$0,in_Debugger db cont whoa, other_cpus: 0x0002, stopped_cpus: 0x panic: stop_cpus() failed mp_lock = 0002; cpuid = 0; lapic.id = Automatic reboot in 15 seconds - press a

Re: 4.0-CURRENT SMP crash with vinum raid-5 and softupdates

1999-09-02 Thread Parag Patel
Just to let everyone know, Greg's going to be out-of-town for a little while and won't be able to continue debugging. I'm taking a crack at it again. So far, it seems to be a combination of softupdates+vinum+raid5 that triggers the bug, whatever it is. If I turn off softupdates the raid5

Help needed with debugging (was: 4.0-CURRENT SMP crash with vinum raid-5 and softupdates)

1999-08-31 Thread Greg Lehey
On Monday, 30 August 1999 at 7:53:12 +0200, Bernd Walter wrote: On Sun, Aug 29, 1999 at 04:48:32PM -0700, Matthew Dillon wrote: : :How similar? The trap above is extremely bad; it looks like a return :on a corrupted stack or a jump through a null function vector. : :Make very sure that

NFS-related panic on SMP

1999-08-30 Thread Bob Bishop
Hi, With a kernel built from -current cvsup'd at Sun Aug 22 04:03:19 BST 1999, I got the following panic doing make -j8 world with /usr/src via NFS and /usr/obj local: Panic: free vnode isn't mp_lock = 0001; cpuid = 0; lapic.id = backtrace (hand-transcribed): panic getnewvnode()

Re: 4.0-CURRENT SMP crash with vinum raid-5 and softupdates

1999-08-30 Thread Bernd Walter
On Mon, Aug 30, 1999 at 09:14:11AM +0200, Bernd Walter wrote: On Mon, Aug 30, 1999 at 03:58:16PM +0930, Greg Lehey wrote: Yes, this is the same thing. Until Parag came along, I was beginning to think it was a problem with your hardware :-( Yes - I would have done tests with a host at

Re: 4.0-CURRENT SMP crash with vinum raid-5 and softupdates

1999-08-29 Thread Bernd Walter
process = 376 (cpio) interrupt mask = bio - SMP: XXX kernel: type 12 trap, code=0 Stopped at 0: [...] This looks similar to the panics I got since some days. I was not able to dump too, but was successfull with remote kgdb My system is single CPU with vinum

Re: 4.0-CURRENT SMP crash with vinum raid-5 and softupdates

1999-08-29 Thread Mike Smith
, IOPL = 0 current process = 376 (cpio) interrupt mask = bio - SMP: XXX kernel: type 12 trap, code=0 Stopped at 0: [...] This looks similar to the panics I got since some days. How similar? The trap above is extremely bad; it looks like a return on a corrupted stack

Re: 4.0-CURRENT SMP crash with vinum raid-5 and softupdates

1999-08-29 Thread Greg Lehey
On Sunday, 29 August 1999 at 18:08:33 -0700, Parag Patel wrote: On Sun, 29 Aug 1999 16:48:32 PDT, Matthew Dillon wrote: This looks like an indirect call through a NULL function pointer. Wow - I'm impressed! You really know your kernel debugging! :) It is a null-pointer dereference

Re: 4.0-CURRENT SMP crash with vinum raid-5 and softupdates

1999-08-29 Thread Matthew Dillon
:(kgdb) target remote /dev/cuaa2 :Remote debugging using /dev/cuaa2 :0x0 in ?? () :(kgdb) bt :#0 0x0 in ?? () :#1 0xc017228f in biodone (bp=0xc09ebd80) at ../../kern/vfs_bio.c:2580 :#2 0xc0123db6 in dadone (periph=0xc0882c80, done_ccb=0xc09bd200) at :../../cam/scsi/scsi_da.c:1294 :#3

Re: 4.0-CURRENT SMP crash with vinum raid-5 and softupdates

1999-08-29 Thread Matthew Dillon
:Greg's debugging this on the machine here at the moment, which is :crashing the same way in what appears to be the same place. : :If anyone else wants to take a crack it, the magic vinum debug number :needed is 328 and not 324. : :So far Greg's discovered that the field is correctly set a little

Re: 4.0-CURRENT SMP crash with vinum raid-5 and softupdates

1999-08-29 Thread Greg Lehey
On Sunday, 29 August 1999 at 23:15:47 -0700, Matthew Dillon wrote: Greg's debugging this on the machine here at the moment, which is crashing the same way in what appears to be the same place. If anyone else wants to take a crack it, the magic vinum debug number needed is 328 and not 324.

Re: 4.0-CURRENT SMP crash with vinum raid-5 and softupdates

1999-08-29 Thread Greg Lehey
On Monday, 30 August 1999 at 7:53:12 +0200, Bernd Walter wrote: On Sun, Aug 29, 1999 at 04:48:32PM -0700, Matthew Dillon wrote: : :How similar? The trap above is extremely bad; it looks like a return :on a corrupted stack or a jump through a null function vector. : :Make very sure that

Re: 4.0-CURRENT SMP crash with vinum raid-5 and softupdates

1999-08-29 Thread Greg Lehey
On Sunday, 29 August 1999 at 22:59:22 -0700, Matthew Dillon wrote: (kgdb) target remote /dev/cuaa2 Remote debugging using /dev/cuaa2 0x0 in ?? () (kgdb) bt #0 0x0 in ?? () #1 0xc017228f in biodone (bp=0xc09ebd80) at ../../kern/vfs_bio.c:2580 #2 0xc0123db6 in dadone (periph=0xc0882c80,

Re: 4.0-CURRENT SMP crash with vinum raid-5 and softupdates

1999-08-29 Thread Matthew Dillon
: }, : b_vnbufs = { : ... : (kgdb) : : This is definitely a pbuf. : :What's a pbuf? Sorry, it isn't a pbuf. Hmm. You are allocating and initializing a struct buf yourself? That could cause long term problems but is neither here nor there at the moment, we'll deal with it

Re: 4.0-CURRENT SMP crash with vinum raid-5 and softupdates

1999-08-29 Thread Greg Lehey
On Sunday, 29 August 1999 at 23:36:24 -0700, Matthew Dillon wrote: }, b_vnbufs = { ... (kgdb) This is definitely a pbuf. What's a pbuf? Sorry, it isn't a pbuf. OK. But what is a pbuf? I've never heard that term before. Hmm. You are allocating and initializing a

Re: 4.0-CURRENT SMP crash with vinum raid-5 and softupdates

1999-08-29 Thread Greg Lehey
On Monday, 30 August 1999 at 8:06:03 +0200, Bernd Walter wrote: On Sun, Aug 29, 1999 at 10:59:22PM -0700, Matthew Dillon wrote: This is definitely a pbuf. Did you apply the patches Greg emailed? Not yet. I will do it today. Wait a while. I'll send you another couple as well. Greg

Re: 4.0-CURRENT SMP crash with vinum raid-5 and softupdates

1999-08-29 Thread Matthew Dillon
: : What's a pbuf? : : Sorry, it isn't a pbuf. : :OK. But what is a pbuf? I've never heard that term before. A pbuf is a 'physical buffer'. Specifically, it is a struct buf structure used by low level device drivers to issue their own I/O. pbuf's are used by a number of

Re: current-APM causes panic on SMP-System

1999-08-28 Thread Mike Smith
Dual-Proc GigaByte 6BXDS-MB with 2x350Mhz PII and 256MB-RAM. For further information I have added the Config-File and dmesg-output. This is a known bug in the generic BIOS code on SMP systems; I have a patch in hand and will be committing it soon. -- \\ The mind's the standard \\

current-APM causes panic on SMP-System

1999-08-27 Thread Michael Class
= 0x10:0xc02bde80 code= base 0xc00f, limit 0x, type 0x1b = DPL 0, pres 1, def32 1, gran 0 proc flags = intr enabled, resume, iopl=0 current proc= idle interrupt mask = -

Re: Panic with NFSv3 on a CURRENT/SMP system

1999-08-22 Thread Greg Lehey
On Saturday, 21 August 1999 at 22:30:54 -0400, Luoqi Chen wrote: I'm generating a core dump. Please note that as tara is my test machine, I use "INVARIANT" "INVARIANT_SUPPORT". Should I remove them ? It seems that from my reading of the code, the panic would not had happened without

Re: Panic with NFSv3 on a CURRENT/SMP system

1999-08-22 Thread Ollivier Robert
According to Greg Lehey: In all likelihood, these options didn't "cause" the panic, they just made another bug more visible. That's what they're there for. That's what I'm thinking but compiling NFS into the kernel "fixed" my panic. The weird part is that I'm still using INVARIANT. I don't

Re: Panic with NFSv3 on a CURRENT/SMP system

1999-08-22 Thread David Malone
On Sun, Aug 22, 1999 at 10:24:33PM +0200, Ollivier Robert wrote: That's what I'm thinking but compiling NFS into the kernel "fixed" my panic. The weird part is that I'm still using INVARIANT. I don't see why the condition is not met when compiling all these together and is when using the kld.

Panic with NFSv3 on a CURRENT/SMP system

1999-08-21 Thread Ollivier Robert
Hello, I just got a panic when trying to play with NFSv3. The system is a dual PentiumPro system, running CURRENT/SMP. I use NFS as a kld. The FS on keltia is exported as: /z -alldirs -maproot=0 tara And mounted on tara with keltia:/z /spare rw,nfsv30 0 I tried making

Re: Panic with NFSv3 on a CURRENT/SMP system

1999-08-21 Thread Matthew Dillon
:Hello, : :I just got a panic when trying to play with NFSv3. The system is a dual :PentiumPro system, running CURRENT/SMP. I use NFS as a kld. The very first thing I would do is compile NFS into the kernel and not use it as a kld. Then see if you can repeat the problem

Re: Panic with NFSv3 on a CURRENT/SMP system

1999-08-21 Thread Luoqi Chen
I'm generating a core dump. Please note that as tara is my test machine, I use "INVARIANT" "INVARIANT_SUPPORT". Should I remove them ? It seems that from my reading of the code, the panic would not had happened without INVARIANT. It is these options that caused the panic, you either

Re: SMP and threads...

1999-08-06 Thread Tony Finch
"David E. Cross" [EMAIL PROTECTED] wrote: I have a threaded appilcation that is only running on one processor. I remember there was discussion about this in the past, and there was a solution, I think it involved a patch. Any pointers? http://lt.tar.com Tony. -- f.a.n.finch[EMAIL

Re: SMP and threads...

1999-08-06 Thread Russell L. Carter
|"David E. Cross" [EMAIL PROTECTED] wrote: |I have a threaded appilcation that is only running on one processor. |I remember there was discussion about this in the past, and there was a |solution, I think it involved a patch. | |Any pointers? | |http://lt.tar.com And don't be turned off by

SMP and threads...

1999-08-05 Thread David E. Cross
I have a threaded appilcation that is only running on one processor. I remember there was discussion about this in the past, and there was a solution, I think it involved a patch. Any pointers? -- David Cross | email: [EMAIL PROTECTED] Systems

SMP builds broken - my_idlePTD missing.

1999-07-28 Thread Matthew Dillon
test3:/usr/src/sys/compile/ALPHA# make cc -c -Os -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -include opt_global.h -elf

Re: Panics on my SMP system

1999-07-20 Thread Matthew Dillon
:Hi there, : : I recently had a crash on my SMP system. Actually, I have had a :number of crashes over the past six months, but have just recently had :time to configure the system to get the crash dumps. Like a good :citizen, I filed a problem report (kern/12127). I have now gotten :another

Re: Panics on my SMP system

1999-07-20 Thread Brian F. Feldman
On Tue, 20 Jul 1999, Matthew Dillon wrote: How old is your -CURRENT source tree ?Fixes to the pipe code have been made, though they are not 100% complete. If your -CURRENT source tree is more then a few days old I recommend updating it. A number of significant

Re: Something weird happening w/ SMP -current

1999-07-02 Thread Soren Schmidt
It seems Matthew Dillon wrote: Here's some more info. If the dd is stuck and systat -vm 1 is showing no interrupts occuring on, for example, ahc2 (irq17), and I then do something that causes an interrupt to occur on mux (irq19), which I guess is ahc1, ahc2 then starts

Panics on my SMP system

1999-06-12 Thread Reginald S. Perry
Hi there, I recently had a crash on my SMP system. Actually, I have had a number of crashes over the past six months, but have just recently had time to configure the system to get the crash dumps. Like a good citizen, I filed a problem report (kern/12127). I have now gotten another crash. I

Re: 4-way SMP broken ?

1999-06-10 Thread Richard Cownie
On Wed, 09 Jun 1999, Luoqi Chen wrote: I've been trying to install 19990604-CURRENT on a couple of SC450NX boxes. It works fine with 2 cpu's, but an SMP kernel with 4 cpu's falls over very quickly (I think while it's setting up the APIC stuff, or very shortly after - the messages about

Re: 4-way SMP broken ?

1999-06-10 Thread Luoqi Chen
I have added more debugging messages, and the crash appears to be inside mp_start(). I don't have a log because this is too early in the boot to get the messages saved anywhere, and they go by too quickly to write it down. The evidence that this is an SMP problem is simple - with 2 cpu's

Re: 4-way SMP broken ?

1999-06-10 Thread Richard Cownie
On Thu, 10 Jun 1999, Luoqi Chen wrote: Could you narrow down the crash further inside mp_start()? I'd like to know whether the crash occurred inside start_all_aps(). One or two lines of debug messages would be really helpful, you don't have to write down the exact words. Do you have options

4-way SMP broken ?

1999-06-09 Thread Richard Cownie
Hi, I've been trying to install 19990604-CURRENT on a couple of SC450NX boxes. It works fine with 2 cpu's, but an SMP kernel with 4 cpu's falls over very quickly (I think while it's setting up the APIC stuff, or very shortly after - the messages about APIC bus ids appear on the screen very

Re: 4-way SMP broken ?

1999-06-09 Thread Luoqi Chen
Hi, I've been trying to install 19990604-CURRENT on a couple of SC450NX boxes. It works fine with 2 cpu's, but an SMP kernel with 4 cpu's falls over very quickly (I think while it's setting up the APIC stuff, or very shortly after - the messages about APIC bus ids appear on the screen

Re: 4-way SMP broken ?

1999-06-09 Thread Jim Bryant
In reply: Hi, I've been trying to install 19990604-CURRENT on a couple of SC450NX boxes. It works fine with 2 cpu's, but an SMP kernel with 4 cpu's falls over very quickly (I think while it's setting up the APIC stuff, or very shortly after - the messages about APIC bus ids appear

Re: 4-way SMP broken ?

1999-06-09 Thread Luoqi Chen
Do you mean messages like these? FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfec08000 cpu1 (AP): apic id: 12, version: 0x00040011, at 0xfec08000 io0 (APIC): apic id: 13, version: 0x00170011, at 0xfec0 By the time

Re: 4-way SMP broken ?

1999-06-09 Thread Tor . Egge
interesting. then why the delay in bringing up the AP? Note in the dmesg output below, that the AP only comes up during th SCSI delay. I have also added other comments to the following output. The APs need the giant kernel lock when initializing the local APIC and printing the launched

Re: 4-way SMP broken ?

1999-06-09 Thread Jonathan Lemon
In article local.mail.freebsd-current/199906092225.saa01...@par28.ma.ikos.com you write: Also in trying to figure this out I looked at the DRAM probing code in /usr/src/sys/i386/i386/machdep.c:getmemsize(), and it looks as though it's not safe for 2GB (e.g. comparisons of byte addresses against

Re: 4-way SMP broken ?

1999-06-09 Thread Jim Bryant
In reply: interesting. then why the delay in bringing up the AP? Note in the dmesg output below, that the AP only comes up during th SCSI delay. I have also added other comments to the following output. The APs need the giant kernel lock when initializing the local APIC and printing

SMP on Tyan Thunder2 and Thunder100 motherboards

1999-06-03 Thread Jim Bryant
are there any known problems with the Tyan Thunder2 [1696DLUA] and Thunder100 [1836DLUA] motherboards? I am finishing up putting together the thunder-2 system with dual 333's, and am starting to obtain the parts for the Thunder100. jim -- All opinions expressed are mine, if you| I will

Re: SMP on Tyan Thunder2 and Thunder100 motherboards

1999-06-03 Thread Ira L. Cooper
I run a -STABLE system on a S1836DLUAN, it seems to do just fine. If you need more info contact me. -Ira To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message

Re: SMP on Tyan Thunder2 and Thunder100 motherboards

1999-06-03 Thread Vallo Kallaste
On Thu, Jun 03, 1999 at 08:37:56AM -0500, Jim Bryant jbry...@unix.tfs.net wrote: are there any known problems with the Tyan Thunder2 [1696DLUA] and Thunder100 [1836DLUA] motherboards? The Thunder100 DLUAN I have works very well with two PII-400 and -current FreeBSD. For Thunder2 don't

Re: stable snap for smp?

1999-05-15 Thread Parag Patel
On Fri, 14 May 1999 19:34:43 CDT, Anthony Kimball wrote: If anyone has applied reasonable stress to a recent MP kernel, preferrably with X, VESA, VM86, and found it stable, do please report on your last cvs update time: I, for one, would very much like to isolate a fairly stable post-newbus

stable snap for smp?

1999-05-14 Thread Anthony Kimball
If anyone has applied reasonable stress to a recent MP kernel, preferrably with X, VESA, VM86, and found it stable, do please report on your last cvs update time: I, for one, would very much like to isolate a fairly stable post-newbus world. Presumably this would be helpful to other readers as

SMP APM

1999-05-05 Thread Daniel J. O'Connor
Hi, Has anyone tried having APM and SMP in the same kernel? It panic()'s mine :) Basically the machine panics a few seconds after I do 'apmconf -e'. apm seems to return normal values though. I've attached a sample output from APM, dmesg and my kernel config. I get a trap 12: page fault

Re: SMP APM

1999-05-05 Thread Luoqi Chen
Hi, Has anyone tried having APM and SMP in the same kernel? It panic()'s mine :) Basically the machine panics a few seconds after I do 'apmconf -e'. apm seems to return normal values though. I've attached a sample output from APM, dmesg and my kernel config. I get a trap 12: page fault

Re: SMP APM

1999-05-05 Thread Daniel J. O'Connor
On 05-May-99 Luoqi Chen wrote: Also, nm kernel.debug | sort shows that 0xc0208a4c is in Xbpt Are you sure it's in Xbpt? Xbpt has only 6 lines of code and none of them is likely to generate a page fault. What's the address of symbol Xbpt? Yeah, well, it didn't look likely to me either but..

Re: SMP APM

1999-05-05 Thread Luoqi Chen
Yeah, well, it didn't look likely to me either but.. :-/ Here is part of nm kernel.debug | sort ... c0208a30 T Xnmi c0208a3c T Xbpt c0208a50 T Xofl ... Did you actually boot from kernel.debug? If not, use the kernel you booted from, the symbols should still be there. I'll give it

Re: SMP APM

1999-05-05 Thread Luoqi Chen
Hi, Has anyone tried having APM and SMP in the same kernel? It panic()'s mine :) Basically the machine panics a few seconds after I do 'apmconf -e'. apm seems to return normal values though. I've attached a sample output from APM, dmesg and my kernel config. I get a trap 12: page fault

Re: VESA/SMP problems again

1999-05-05 Thread Mike Smith
Insufficient content. Please add more and try again. An alert: VESA/SMP seems to be problematic again. For example, this sequence reliably brings me down to the bios: startx ctl-alt-bksp vidcontrol 132x42 startx To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe

Re: SMP APM

1999-05-05 Thread Mike Smith
gdb. I wonder if there are problems running the APM requests on an AP? Daniel, are you running with the most recent MTRR/SMP fixes? -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ m...@smith.net.au \\ The race is long, and in the \\ msm

Re: VESA/SMP problems again

1999-05-05 Thread Anthony Kimball
(XF86_S3V), with options SMP options APIC_IO options NCPU=2 options NBUS=4 options NAPIC=1 options NINTR=24 options VESA options VM86 I'm going to be crashing the system later today anyhow, so I'll try DDB to get an backtrace at that time

Re: VESA/SMP problems again

1999-05-05 Thread Mike Smith
got a PR440FX dual running current (99.05.03) with an S3V (Trio64) and XFree96 3.3.something (XF86_S3V), with options SMP options APIC_IO options NCPU=2 options NBUS=4 options NAPIC=1 options NINTR=24

Re: SMP APM

1999-05-05 Thread Daniel J. O'Connor
On 05-May-99 Luoqi Chen wrote: My SMP vm sharing commit broke APM. Please try out this patch, That patch seems to have fixed it! Great stuff :) --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so

VESA/SMP problems again

1999-05-04 Thread Anthony Kimball
An alert: VESA/SMP seems to be problematic again. For example, this sequence reliably brings me down to the bios: startx ctl-alt-bksp vidcontrol 132x42 startx To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message

Re: HEADS UP! to commit SMP vmspace sharing patches

1999-04-28 Thread Luoqi Chen
In message 199904272349.taa28...@lor.watermarkgroup.com, Luoqi Chen writes: I'm about to commit the SMP vmspace sharing patch (the %fs approach). All kernel modules will need to be recompiled. Recompilation is not neccessary for user land applications including ps, libkvm and friends

Re: HEADS UP! to commit SMP vmspace sharing patches

1999-04-28 Thread Poul-Henning Kamp
In message 199904281625.maa05...@lor.watermarkgroup.com, Luoqi Chen writes: In this %fs approach, per-processor private pages are no longer mapped at identical virtual address for each cpu, instead a new segment descriptor (%fs) is setup to access per-cpu global variables like curproc.

Re: HEADS UP! to commit SMP vmspace sharing patches

1999-04-28 Thread Chuck Robey
On Wed, 28 Apr 1999, Poul-Henning Kamp wrote: In message 199904281625.maa05...@lor.watermarkgroup.com, Luoqi Chen writes: In this %fs approach, per-processor private pages are no longer mapped at identical virtual address for each cpu, instead a new segment descriptor (%fs) is setup

Re: HEADS UP! to commit SMP vmspace sharing patches

1999-04-28 Thread Matthew Dillon
I know this is a little late ... but I don't suppose there might be a way to lock a TLB entry in place? That would solve the problem too. Baring that, %fs is the way to go. I am happily compiling up a new SMP kernel as we speak :-). -Matt

Re: HEADS UP! to commit SMP vmspace sharing patches

1999-04-28 Thread Alan Cox
On Wed, Apr 28, 1999 at 11:19:17AM -0700, Matthew Dillon wrote: I know this is a little late ... but I don't suppose there might be a way to lock a TLB entry in place? That would solve the problem too. Baring that, %fs is the way to go. Unfortunately, on the x86, the answer is

Re: HEADS UP! to commit SMP vmspace sharing patches

1999-04-28 Thread Matthew Dillon
:On Wed, Apr 28, 1999 at 11:19:17AM -0700, Matthew Dillon wrote: : I know this is a little late ... but I don't suppose there might be a : way to lock a TLB entry in place? That would solve the problem too. : Baring that, %fs is the way to go. : : :Unfortunately, on the x86, the

Re: HEADS UP! to commit SMP vmspace sharing patches

1999-04-28 Thread Alan Cox
On Wed, Apr 28, 1999 at 02:48:56PM -0700, Matthew Dillon wrote: ... There might be less confusion with %fs if we simply use it as a 'cpu number' index and then make all the cpu-dependant variables standard arrays. i.e. instead if 'struct proc *curproc' we would have

Re: HEADS UP! to commit SMP vmspace sharing patches

1999-04-28 Thread Matthew Dillon
more readable then trying to 'hide' the fact that curproc ( and other variables ) are actually segmented. We have to keep in mind the fact that SMP is only just now gaining momentum, and I think a considerable amount of additional data and structure is going to be added to the per

HEADS UP! to commit SMP vmspace sharing patches

1999-04-27 Thread Luoqi Chen
I'm about to commit the SMP vmspace sharing patch (the %fs approach). All kernel modules will need to be recompiled. Recompilation is not neccessary for user land applications including ps, libkvm and friends. In this %fs approach, per-processor private pages are no longer mapped at identical

Re: HEADS UP! to commit SMP vmspace sharing patches

1999-04-27 Thread Poul-Henning Kamp
In message 199904272349.taa28...@lor.watermarkgroup.com, Luoqi Chen writes: I'm about to commit the SMP vmspace sharing patch (the %fs approach). All kernel modules will need to be recompiled. Recompilation is not neccessary for user land applications including ps, libkvm and friends. In this %fs

successfull SMP / current on duel P-III box. Yahhhh. I've successfully brought -current up in SMP on a duel P-III box.

1999-04-17 Thread Matthew Dillon
I have one problem, though. During the kernel boot: isa_dmainit(2, 1024) failed And, of course, any access to something that needs isa dma (e.g. floppy) panics. It's a large-memory machine (1G). I was under the impression that this was supposed to be fixed in the

Re: successfull SMP / current on duel P-III box.Yahhhh. I've successfully brought -current up in SMP on a duel P-III box.

1999-04-17 Thread Tor . Egge
I have one problem, though. During the kernel boot: isa_dmainit(2, 1024) failed And, of course, any access to something that needs isa dma (e.g. floppy) panics. It's a large-memory machine (1G). I was under the impression that this was supposed to be fixed in

RE: new panic from fresh current (SMP)

1999-04-13 Thread Martin Blapp
Hi, It seems to be fixed now with v 1.97 from /usr/src/sys/i386/i386/mp_machdep.c thanks ! To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message

new panic from fresh current (SMP)

1999-04-12 Thread Martin Blapp
But it's not related to that caused by the NMI, and it appears suddenly after probing soerens ATAPI drivers. hmm - SMP: AP CPU #1 Launched! does not appear ... what this ever means. the previos kernel as of yesterday had: IP Filter: initialized. Default = pass all, Logging = disabled SMP: AP

new panic from fresh current (SMP)

1999-04-12 Thread Martin Blapp
aeh - forgot to say ... it is reproducable - it can't boot And the kernel-gdbtrace isn't very useful :( Martin To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message

SMP broken in -CURRENT?

1999-04-12 Thread William S. Duncanson
I haven't been able to get a working SMP kernel out of -CURRENT recently. I don't know exactly when it broke, because I usually rebuild on a weekly basis. The kernel hangs after: APIC_IO: Testing 8254 interrupt delivery and doesn't ever come back (panic or otherwise). The one thing that I

Re: SMP broken in -CURRENT?

1999-04-12 Thread Tor . Egge
I haven't been able to get a working SMP kernel out of -CURRENT recently. I don't know exactly when it broke, because I usually rebuild on a weekly basis. The kernel hangs after: APIC_IO: Testing 8254 interrupt delivery and doesn't ever come back (panic or otherwise). The one thing that I

Re: SMP broken in -CURRENT?

1999-04-12 Thread William S. Duncanson
That fixes it, thanks. At 04:13 4/13/99 +0200, tor.e...@fast.no wrote: I haven't been able to get a working SMP kernel out of -CURRENT recently. I don't know exactly when it broke, because I usually rebuild on a weekly basis. The kernel hangs after: APIC_IO: Testing 8254 interrupt delivery

Re: SMP users (important)

1999-04-06 Thread Ville-Pertti Keinonen
John S. Dyson dy...@iquest.net writes: I just wanted to chime in and say that the new patches are based on a really good concept, and is much cleaner than the previous method. Also, many RISC architectures can utilize this method due to the availability of lots of general registers. (One

Re: SMP users (important)

1999-04-06 Thread John S. Dyson
per-processor registers that one could use (but loading a general register with that per processor register would be needed for access.) Also, since the PPC has lots of registers, one could? permanently reserve one of the general registers (r13?). I really don't like the idea of

Re: SMP users (important)

1999-04-05 Thread Julian Elischer
On Sun, 4 Apr 1999, Matthew Dillon wrote: :(and what would be the equivalent ALPHA patch?) :I can imagine the original PDE trick working on the alpha but :they don't have a spare register sitting around.. do they? : :julian I'd like to see this too. I will soon have two SMP boxes

Re: SMP users (important)

1999-04-05 Thread Matthew Dillon
: :julian : :I'd like to see this too. I will soon have two SMP boxes of my own to play :with for my own personal use and for an upcoming project, and at least one :will be available for SMP life-testing purposes for several months. :I really want to see two things: (1

Re: SMP users (important)

1999-04-04 Thread Matthew Dillon
will soon have two SMP boxes of my own to play with for my own personal use and for an upcoming project, and at least one will be available for SMP life-testing purposes for several months. I really want to see two things: (1) Actual sharing of the physical pmap between rfork(RFMEM

Re: SMP users (important)

1999-04-03 Thread John S. Dyson
? permanently reserve one of the general registers (r13?). All in all, this change has the potential for better context switching time (and less memory/better performance for multi-threaded processes.) This is a serious, non-trivial movement in the *right* direction!!! :-). SMP users should

Re: SMP users (important)

1999-04-03 Thread Doug Rabson
-trivial movement in the *right* direction!!! :-). SMP users should be pleased with this movement (I certainly am!!!) The alpha palcode supports a per-thread unique value which can be used by any threading system (user or kernel). -- Doug Rabson Mail: d

SMP users (important)

1999-04-02 Thread Alan Cox
/sys/i386/i386/swtch.s,v retrieving revision 1.78 diff -c -r1.78 swtch.s *** swtch.s 1999/04/02 17:59:39 1.78 --- swtch.s 1999/04/02 18:37:29 *** *** 466,472 #else xorl%eax, %eax #endif /* SMP */ ! btrl%eax, VM_PMAP+PM_ACTIVE(%edx

<    4   5   6   7   8   9   10   >