Re: Anybody got 2.4.0 running on a 386 ?

2001-01-10 Thread Brian Gerst
* 2.3.99-pre2 : *tsjoum* 2.3.39: compiles and boots okay here is where I got bored :-) okay, anyone, which 2.3.x kernels should compile okay ? move up to 2.4.0-testX kernels -- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-k

Re: SCSI partitions

2001-01-16 Thread Brian Gerst
[EMAIL PROTECTED] wrote: Does anyone remember the reason why SCSI drives were limited to 15 partitions? Because of the limitations of having 8-bit major/minor device numbers. -- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe

Re: Linux not adhering to BIOS Drive boot order?

2001-01-16 Thread Brian Gerst
driver in (man mkinitrd on any Redhat box). Just distribute all SCSI drivers as modules and you won't have any problems. -- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECT

Re: [QUESTION]: Applying patches ontop of patches (2.4.1pre7 to 2.4.1pre8)

2001-01-17 Thread Brian Gerst
-- Brian Gerst - 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/lkml/

Re: Linux not adhering to BIOS Drive boot order?

2001-01-16 Thread Brian Gerst
the initialization order to your liking. -- Brian Gerst - 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/lkml/

Re: Partition IDs in the New World TM

2001-01-22 Thread Brian Gerst
from those that are most common for a given architecture (ie. msdos on PC compatable systems, etc.) -- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ a

Re: question about compiling the kernel

2001-01-24 Thread Brian Gerst
n a Pentium II kernel on a 486) -- Brian Gerst - 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/lkml/

Re: question about compiling the kernel

2001-01-24 Thread Brian Gerst
. -- Brian Gerst - 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/lkml/

Re: no such 386 instruction with gcc 2.95.2

2001-01-25 Thread Brian Gerst
"David L. Nicol" wrote: I think I must need to upgrade my assembler, but: 2.4.0/Documentation/Changes does not list an assembler version. The gas assembler is part of binutils. -- Brian Gerst - To unsubscribe from this list: send the line "un

Re: Linux Post codes during runtime, possibly OT

2001-01-26 Thread Brian Gerst
ster being written to, etc. In most cases, a longer delay on slower machines should not hurt. -- Brian Gerst - 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/lkml/

Re: Compiling 2.4.1: undefined reference to `__buggy_fxsr_alignment'

2001-01-31 Thread Brian Gerst
ou compile with? -- Brian Gerst - 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/lkml/

Re: 2.4.4 kernel reports wrong amount of physical memory

2001-05-14 Thread Brian Gerst
MB = 896 MB) is a software limit; the 4 GB and 64 GB limits are hardware limits and are exact. Even with the 4GB and 64GB options, some physical address space has to be reserved for memory mapped I/O. -- Brian Gerst - To unsubscribe from this list: send

Re: kernel2.2 to kernel2.4!!

2001-05-16 Thread Brian Gerst
() -- Brian Gerst - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [CHECKER] large stack variables (=1K) in 2.4.4 and 2.4.4-ac8

2001-05-25 Thread Brian Gerst
overflows without sacrificing performance. Good discipline is the best we have. -- Brian Gerst - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: [CHECKER] large stack variables (=1K) in 2.4.4 and 2.4.4-ac8

2001-05-25 Thread Brian Gerst
Andi Kleen wrote: On Fri, May 25, 2001 at 07:52:02AM -0400, Brian Gerst wrote: Actually, you will never get a stack fault exception, since with a flat stack segment you can never get a limit violation. All you will do is corrupt the data in task struct and cause an oops later on when

Re: pte_page

2001-05-30 Thread Brian Gerst
is not highmem and not vmalloced. -- Brian Gerst - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

[PATCH] Remove unneeded symbols from System.map

2000-09-21 Thread Brian Gerst
-- Brian Gerst diff -urN linux-2.4.0t9p4/Makefile linux/Makefile --- linux-2.4.0t9p4/MakefileTue Sep 19 09:48:26 2000 +++ linux/Makefile Wed Sep 20 12:28:56 2000 @@ -208,7 +208,7 @@ $(LIBS) \ --end-group \ -o vmlinux

Re: execve replacement.

2000-10-04 Thread Brian Gerst
call table is not and probably never will be available for modules. The syscall table is very architecture dependant, and is not exported to modules. -- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMA

Re: execve replacement.

2000-10-04 Thread Brian Gerst
John Levon wrote: On Wed, 4 Oct 2000, Brian Gerst wrote: "it doesn't work well" is a bit vague... I am guessing that you are getting an unresolved symbol. Modifying the system call table is not and probably never will be available for modules. The syscall tab

Re: wasting time on page fault

2000-10-04 Thread Brian Gerst
is welcome. -- Brian Gerst - 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/lkml/

Re: execve replacement.

2000-10-04 Thread Brian Gerst
through a function pointer that could possibly be in an unreferenced module, you need to use try_inc_mod_count() before calling. -- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: wasting time on page fault

2000-10-04 Thread Brian Gerst
Andi Kleen wrote: On Wed, Oct 04, 2000 at 11:00:41AM -0400, Brian Gerst wrote: Mikulas Patocka wrote: Hi. arch/i386/kernel/entry.S xchgl %eax, ORIG_EAX(%esp) # orig_eax (get the error code. ) movl %esp,%edx xchgl %ecx, ES(%esp

Re: asm-i386/uaccess.h changes: bug or feature?

2000-10-04 Thread Brian Gerst
. See this thread for the reason: http://marc.theaimsgroup.com/?l=linux-kernelm=96721877032003w=2 -- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the F

{PATCH] Re: wasting time on page fault

2000-10-04 Thread Brian Gerst
). The celeron and K6-2 showed noticable improvements. The real surprise was the the Athlon, where the times were identical. This means that either the Athlon has a really fast lock cycle or it is ignoring it. -- Brian Gerst diff -urN linux-2.4.0t9

Re: [OOPS] unloading ns558 driver in Linux 2.4.0-test9

2000-10-07 Thread Brian Gerst
p key info) oops.outName: oops.out Type: Plain Text (text/plain) What kind of game port do you have? -- Brian Gerst - To unsubscribe from this list: sen

[PATCH] Clean up x86 write-protect test

2000-10-13 Thread Brian Gerst
? -- Brian Gerst diff -urN linux-2.4.0t10p2/Documentation/exception.txt linux/Documentation/exception.txt --- linux-2.4.0t10p2/Documentation/exception.txtFri Jul 28 01:28:07 2000 +++ linux/Documentation/exception.txt Fri Oct 13 20:13:52 2000

Re: [PATCH] Clean up x86 write-protect test

2000-10-14 Thread Brian Gerst
Linus Torvalds wrote: On Fri, 13 Oct 2000, Brian Gerst wrote: Also, Could somebody who has a machine with a known buggy processor give this patch a try? I like the patch. Would you mind re-writing the exception handling the other way around, though: [snip] which basically means

Re: quick questions: kernel stack size and call gates

2000-10-17 Thread Brian Gerst
pages (8k on x86). There is no mechanism in place to enforce the stack boundaries other than a possible page fault. The task structure is located at the bottom of the stack space so it would get overwritten before any fault would occur anyways. -- Brian Gerst - To u

Re: K6-2+ name (was Re: AMD CPU misdetection?)

2000-10-22 Thread Brian Gerst
well-known, and they wanted to build on that... IIRC, the K6-2+ is really a K6-3 core with the on-chip L2 cache disabled because of defects. -- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in t

Re: 2.4.0pre9 and an analog joystick

2000-10-24 Thread Brian Gerst
-- Brian Gerst - 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/lkml/

Re: test10-pre5 mount: Unable to handle kernel paging request at virtualaddress

2000-10-24 Thread Brian Gerst
ng to find the exception handler and causing an oops. -- Brian Gerst - 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/lkml/

Re: crash when booting linux-2.4.0-test10-pre5

2000-10-25 Thread Brian Gerst
that /proc isn't mounted (it is enabled in .config). 2.2.17 works just fine. i can send the oops if wanted. Use GCC 2.91.66. -- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: Compilation problems

2001-02-27 Thread Brian Gerst
extracting from the tar ball again but it always stops at the same place now. If you have any ideas, please let me know. I'm not a member of the list so a cc would really be great. GCC version? -- Brian Gerst - To unsubscribe from this list: send the line

Re: Compilation problems

2001-02-27 Thread Brian Gerst
Rob wrote: gcc --version gives me pgcc-2.91.66 I have a bootable 2.2.4 kernel I just can no longer recompile it for some reason. IIRC, pgcc is known to be broken. Use standard gcc 2.91.66 or later. -- Brian Gerst - To unsubscribe from this list: send

Re: negative mod use count

2001-02-28 Thread Brian Gerst
Boris Dragovic wrote: hi, what does negative module use count mean? A bugged module. -- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo inf

Re: Assembler Error:Unsupported Relocation type while compile mycode with kernel

2001-03-01 Thread Brian Gerst
"it doesn't work", like binutils version/architecture, exact error message, code fragments, etc. -- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More maj

Re: opening files in /proc, and modules

2001-03-08 Thread Brian Gerst
before calling the code in the module. -- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please re

Re: ISAPNP :driver not recognized when compiled in kernel

2001-03-14 Thread Brian Gerst
tools they must be modular. -- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FA

Re: Oops 0000 and 0002 on dual PIII 750 2.4.2 SMP platform

2001-03-15 Thread Brian Gerst
ere should be a line just before the oops saying "kernel BUG at..." -- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.

Re: Linux should better cope with power failure

2001-03-19 Thread Brian Gerst
If the dirty pages aren't written back to the disk (but not necessarily removed from memory) after a reasonable idle period, then there is room for improvement. -- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in t

Re: Linux should better cope with power failure

2001-03-19 Thread Brian Gerst
"Richard B. Johnson" wrote: On Mon, 19 Mar 2001, Brian Gerst wrote: [SNIPPED...] At the very least the disk should be consistent with memory. If the dirty pages aren't written back to the disk (but not necessarily removed from memory) after a reasonable i

Re: CC=kgcc incomplete in 2.4.0-test11-ac1

2000-11-21 Thread Brian Gerst
with the newer gcc. It is set up this way so that the userspace tools use the native compiler when cross-compiling. If you're really paranoid, set HOSTCC=kgcc as well. -- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" i

Re: Linux 2.4.0test11-ac1

2000-11-21 Thread Brian Gerst
et version) and would crash on an SMP kernel with a K6. -- Brian Gerst - 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/lkml/

CDROMPLAYTRKIND causes an oops on aic7xxx

2000-11-26 Thread Brian Gerst
, or is there a problem further down the code? Oops attached. -- Brian Gerst ksymoops 2.3.4 on i686 2.4.0-test11-ac2. Options used -V (default) -k /proc/ksyms (default) -l /proc/modules (default) -o /lib/modules/2.4.0-test11-ac2

Re: Why is double_fault serviced by a trap gate?

2000-12-07 Thread Brian Gerst
to get back to CPL3 is with iret (via the saved %cs:%eip and %ss:%esp pushed on the CPL0/1/2 stack). -- Brian Gerst - 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/lkml/

[PATCH] Makefile fix

2000-12-14 Thread Brian Gerst
+= arch/i386/math-emu -SUBDIRS += arch/i386/math-emu/math.o +DRIVERS += arch/i386/math-emu/math.o endif arch/i386/kernel: dummy -- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: [RFC] prevention of syscalls from writable segments, breaking bugexploits

2001-01-03 Thread Brian Gerst
? It won't work anyways, for the same reasons every other non-exec stack patch has been rejected - exploits exist that don't write any code to the stack, you just need two pointers. -- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-k

Re: Shared memory not enabled in 2.4.0?

2001-01-08 Thread Brian Gerst
librares etc.). It became too expensive to calculate so it was removed. It only remains in /proc/meminfo for backwards compatability with programs that parse that file. -- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-k

Re: Raid code panic with kernel compiled for i486

2001-01-09 Thread Brian Gerst
: measuring checksuming speed 8regs: 773.430 MB/sec 32regs:562.356 MB/sec invalid operand: CPU:0 EIP:0010:[c0259c7d] ... Try 2.4.1-pre1. It's choking because SSE hasn't been enabled since it's compiled for a 486. -- Brian Gerst

Re: Anybody got 2.4.0 running on a 386 ?

2001-01-09 Thread Brian Gerst
the reset? -- Brian Gerst - 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/lkml/

Re: Anybody got 2.4.0 running on a 386 ?

2001-01-09 Thread Brian Gerst
g to that, execution seems to get as far as the statement *pte = mk_pte_phys(__pa(vaddr), PAGE_KERNEL); Could it be possible that memory size is being misdetected? Try mem=8M (or less) on the command line. Try to catch the value of pte when it crashes. --

Re: Anybody got 2.4.0 running on a 386 ?

2001-01-09 Thread Brian Gerst
x_pfn; int i; #ifdef CONFIG_VISWS -- Brian Gerst - 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/lkml/

Re: * 4 converted to 2 for networking code

2001-01-10 Thread Brian Gerst
the patch. The patch is for linux-2.4. This patch isn't really necessary, because GCC will automatically convert multiplications and divisions by powers of two to use shifts. -- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-k

Re: Kernel OOPS on boot

2000-10-26 Thread Brian Gerst
Mircea Damian wrote: Hello, I'm unable to boot kernel 2.4.0-test10-pre5 on a: Upgrade GCC to 2.91.66 (aka egcs-1.1.2) -- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: Kernel OOPS on boot

2000-10-26 Thread Brian Gerst
in ring 0. Some 386's and 486's won't generate a page fault in this case, and we need to work around this or else security problems arise. -- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: Kernel OOPS on boot

2000-10-26 Thread Brian Gerst
Mircea Damian wrote: On Thu, Oct 26, 2000 at 10:20:45AM -0400, Brian Gerst wrote: Mircea Damian wrote: Hello, I'm unable to boot kernel 2.4.0-test10-pre5 on a: Upgrade GCC to 2.91.66 (aka egcs-1.1.2) Ok. I can do that, but there is nowhere written that I should do

Re: [PROPOSED PATCH] ATM refcount + firestream

2000-10-27 Thread Brian Gerst
or a misc character device added to provide the configuration interface. -- Brian Gerst - 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/lkml/

Re: [PROPOSED PATCH] ATM refcount + firestream

2000-10-27 Thread Brian Gerst
file_operations. -- Brian Gerst - 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/lkml/

Re: [PROPOSED PATCH] ATM refcount + firestream

2000-10-28 Thread Brian Gerst
m/to rmmod anyway) Unfortunately, you need to be able to use copy_*_user() from the network ioctls, and this is the center of the current issue. -- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in t

Re: [PROPOSED PATCH] ATM refcount + firestream

2000-10-28 Thread Brian Gerst
Philipp Rumpf wrote: On Sat, Oct 28, 2000 at 09:37:28AM -0400, Brian Gerst wrote: Philipp Rumpf wrote: - you can't copy_(from|to)_user in the module exit function (which would be copies from/to rmmod anyway) Unfortunately, you need to be able to use copy_*_user() from the network

Re: [PROPOSED PATCH] ATM refcount + firestream

2000-10-28 Thread Brian Gerst
Philipp Rumpf wrote: On Sat, Oct 28, 2000 at 09:55:21AM -0400, Brian Gerst wrote: Yes, but they can be called (and sleep) with module refcount == 0. This is because the file descripter used to perform the ioctl isn't directly associated with the network device, thereby not incrementing

Re: kmalloc() allocation.

2000-10-30 Thread Brian Gerst
ou're using vmalloc(), be careful with the number of calls you make. Of course, this is usually not a problem. This was just changed in 2.4 so that vmalloced pages are faulted in on demand. -- Brian Gerst - To unsubscribe from this list: send the line "

Re: Oops from new WP test + fix

2000-10-25 Thread Brian Gerst
mysterious CPU bugs. I take it that science has prevailed over magic? ;-) The call/ret pair should have the same effect. -- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: kmalloc() allocation.

2000-10-31 Thread Brian Gerst
Andi Kleen wrote: On Tue, Oct 31, 2000 at 01:11:29AM -0500, Brian Gerst wrote: This was just changed in 2.4 so that vmalloced pages are faulted in on demand. Could you explain how it handles the vmalloc() -- vfree() -- vmalloc() of same virtual space but different physical race

[PATCH] x86 boot time check for cpu features

2000-11-02 Thread Brian Gerst
. -- Brian Gerst diff -ur linux-2.4.0t10/arch/i386/boot/setup.S linux/arch/i386/boot/setup.S --- linux-2.4.0t10/arch/i386/boot/setup.S Tue Oct 31 17:06:34 2000 +++ linux/arch/i386/boot/setup.SThu Nov 2 21:04:01 2000 @@ -364,6 +364,55 @@ xorw%bx, %bx

Re: [PATCH] x86 boot time check for cpu features

2000-11-03 Thread Brian Gerst
ke to know. -- Brian Gerst - 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/lkml/

Re: [PATCH] x86 boot time check for cpu features

2000-11-03 Thread Brian Gerst
for that processor with -march=i686. Please ignore this patch until I can come up with something better. -- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please re

Re: [PATCH] x86 boot time check for cpu features

2000-11-03 Thread Brian Gerst
cpuid. -- Brian Gerst - 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/lkml/

Re: [PATCH] x86 boot time check for cpu features

2000-11-03 Thread Brian Gerst
[EMAIL PROTECTED] wrote: Brian Gerst wrote... I believe the MII always has CPUID enabled. It was the older Cyrixes that did not. DaveJ is the guru.. Well, according to comments in bugs.h, some broken BIOSes disable cpuid. That bug fix is for the earlier Cyrix 6x86 if I'm not mistaken

Re: Calling module symbols from inside the kernel !

2000-11-06 Thread Brian Gerst
and devpts_upcall_kill in fs/devpts/inode.c. The hooks are resident in the kernel and are exported so the module can see them. The caller then needs to check if the hook is null and optionally request the module be loaded. -- Brian Gerst - To unsubscribe from this list: send

Re: Module open() problems, Linux 2.4.0

2000-11-09 Thread Brian Gerst
not holding the BKL. You can keep the MOD_INC_USE_COUNT in the device driver for compatability with 2.2. -- Brian Gerst - 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/lkml/

Re: Module open() problems, Linux 2.4.0

2000-11-09 Thread Brian Gerst
"Richard B. Johnson" wrote: On Thu, 9 Nov 2000, Brian Gerst wrote: "Richard B. Johnson" wrote: `lsmod` shows that a device is open twice when using Linux-2.4.0-test9 when, in fact, it has been opened only once. When the module is closed, the us

Re: [Fwd: CPU detection revamp (Request for comments)]

2000-11-10 Thread Brian Gerst
, but this version has some quirks that make it pretty much unusable. Later K6's use extended bit 11 to indicate syscall/sysret. -- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] P

Re: [Fwd: CPU detection revamp (Request for comments)]

2000-11-10 Thread Brian Gerst
[EMAIL PROTECTED] wrote: On Fri, 10 Nov 2000, Brian Gerst wrote: features: fpu vme de pse tsc msr mce cx8 pge mmx syscall 3dnow The K6's don't support sysenter/sysexit. The K6 datasheets suggests otherwise. Some models seem to have sysenter/sysexit, whilst others have

Re: VGA PCI IO port reservations

2000-11-17 Thread Brian Gerst
hat decode all 16 * bits, so it's ok to allocate at, say, 0x2800-0x28ff, * but we want to try to avoid allocating at 0x2900-0x2bff * which might have be mirrored at 0x0100-0x03ff.. */ -- Brian Gerst - To unsubscribe from this list: send the line "unsubscri

Re: Freeze on FPU exception with Athlon

2000-11-18 Thread Brian Gerst
g : no f00f_bug: no coma_bug: no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes features: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow bogomips: 1494.22 --

[PATCH] x86 mm init cleanup

2000-11-18 Thread Brian Gerst
Patch against test11. This patch moves the setting of %cr4 out of the loops and makes the code a bit more readable. Tested with standard pagetables, PSE, and PAE. -- Brian Gerst diff -urN linux-2.4.0t11p5/arch/i386/mm/init.c linux/arch/i386/mm

Re: [PATCH] x86 mm init cleanup

2000-11-18 Thread Brian Gerst
Tigran Aivazian wrote: On Sat, 18 Nov 2000, Brian Gerst wrote: Patch against test11. This patch moves the setting of %cr4 out of the loops and makes the code a bit more readable. Tested with standard pagetables, PSE, and PAE. Brian, while you were there, so close

Re: Freeze on FPU exception with Athlon

2000-11-19 Thread Brian Gerst
factor.. Linus Ok, that was it! It's IRQ 13. Guess I should have tried that first. Now everything works perfectly. Thanks everybody. What motherboard do you have? I can't reproduce this on my FIC SD11. -- Brian

[PATCH] Module cleanups

2000-11-19 Thread Brian Gerst
Three small patches against test11-pre7 1) creates arch_init_modules(), removes alpha specific code from module.c 2) makes non-modular try_inc_use_count() an inline for better optimization. 3) Creates __modinfo define. -- Brian Gerst diff -urN

Re: Suggestion for module .init.{text,data} sections

2001-04-27 Thread Brian Gerst
on the other hand could be quite large, if they contain firmware data for example. -- Brian Gerst - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo

Re: 2.4.4 Oops

2001-04-30 Thread Brian Gerst
:(%edi) = There should be no way for this to cause an oops. There should be an exception handler here that will catch the page fault and deal with it. It appears that the exception table might be corrupted. What compiler are you using? -- Brian Gerst

Re: isa_read/write not available on ppc - solution suggestions ??

2001-05-01 Thread Brian Gerst
() etc. -- Brian Gerst - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: isa_read/write not available on ppc - solution suggestions ??

2001-05-01 Thread Brian Gerst
* were for lazy porting. read* require ioremap be done before hand, even for ISA. -- Brian Gerst - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org

Re: Athlon/VIA Kernel Experimentation (mmx.c)

2001-05-04 Thread Brian Gerst
Wouldn't it be correct to say that because it is panicking, the page copy was not completed properly? No, you are comparing the following two pages... from and to are incremented as the copy proceeds. Subtract PAGE_SIZE from them before comparing. -- Brian

Re: SMP races in proc with thread_struct

2001-05-04 Thread Brian Gerst
. -- Brian Gerst - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: REVISED: Experimentation with Athlon and fast_page_copy

2001-05-04 Thread Brian Gerst
the beginning of the routine and tried the resultin kernel. I now have no crashes. What could this mean? What are your normal oopses? -- Brian Gerst - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: Setting kernel options at compile time.

2001-05-04 Thread Brian Gerst
. -- Brian Gerst - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH] x86 page fault handler not interrupt safe

2001-05-05 Thread Brian Gerst
Currently the page fault handler on the x86 can get a clobbered value for %cr2 if an interrupt occurs and causes another page fault (interrupt handler touches a vmalloced area for example) before %cr2 is read. This patch changes the page fault and alignment check (currently unused) handlers to

Re: [PATCH] x86 page fault handler not interrupt safe

2001-05-06 Thread Brian Gerst
Linus Torvalds wrote: On Sat, 5 May 2001, Brian Gerst wrote: Currently the page fault handler on the x86 can get a clobbered value for %cr2 if an interrupt occurs and causes another page fault (interrupt handler touches a vmalloced area for example) before %cr2 is read. That should

Re: [PATCH] x86 page fault handler not interrupt safe

2001-05-07 Thread Brian Gerst
)) + if (address = TASK_SIZE !(error_code 5)) -- Brian Gerst - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

Re: [PATCH] x86 page fault handler not interrupt safe

2001-05-07 Thread Brian Gerst
handle user fault (cr2=vmallocaddr, error_code=5 or 7) We then fall down to find_vma() which will fail and then send SIGSEGV to the user process. -- Brian Gerst - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: [PATCH] x86 page fault handler not interrupt safe

2001-05-07 Thread Brian Gerst
Nigel Gamble wrote: On Mon, 7 May 2001, Linus Torvalds wrote: On Mon, 7 May 2001, Brian Gerst wrote: This patch will still cause the user process to seg fault: The error code on the stack will not match the address in %cr2. You've convinced me. Good thinking. Let's do the irq thing

Re: [PATCH] x86 page fault handler not interrupt safe

2001-05-07 Thread Brian Gerst
Linus Torvalds wrote: On Mon, 7 May 2001, Brian Gerst wrote: Keep in mind that regs-eflags could be from user space, and could have some undesirable flags set. That's why I did a test/sti instead of reloading eflags. Plus my patch leaves interrupts disabled for the minimum time

Re: [PATCH] x86 page fault handler not interrupt safe

2001-05-09 Thread Brian Gerst
sense anyways. -- Brian Gerst diff -urN linux-2.4.5-pre1/arch/i386/kernel/traps.c linux/arch/i386/kernel/traps.c --- linux-2.4.5-pre1/arch/i386/kernel/traps.c Mon Mar 19 21:23:40 2001 +++ linux/arch/i386/kernel/traps.c Wed May 9 17:51:58 2001

Re: meaning of vmalloc shortcut comment in fault.c

2001-06-05 Thread Brian Gerst
always has the current page table pointer. -- Brian Gerst - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

Re: what's the purpose of SYMBOL_NAME()

2001-06-14 Thread Brian Gerst
book). What's the purpose? IIRC, it's a holdover from the days when the kernel could be compiled in a.out and ELF format. a.out prepends an underscore to all symbols, whereas ELF does not. -- Brian Gerst - To unsubscribe from this list: send the line

Re: Unable to handle kernel NULL pointer dereference at virtual address - 2.4.5

2001-06-21 Thread Brian Gerst
. -- Brian Gerst - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: Questionable SIGSEGV signal handling bug concerning siginfo.si_addr on i386-linux 2.4.2

2001-06-26 Thread Brian Gerst
any of them could have faulted. -- Brian Gerst - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

Re: AIC7xxx kernel driver; ATTN Mr. Justin T. Gibbs

2001-06-26 Thread Brian Gerst
errors reported here are a result of bad termination. -- Brian Gerst - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

  1   2   3   4   5   6   7   8   9   10   >