[PATCH] mm/vmscan.c

2000-10-20 Thread Daniel Mehrmann

Hi !

I think we don't need a 'bug()' return from 'pte'. 


--- vmscan.c.oldThu Oct 19 23:22:15 2000
+++ vmscan.cFri Oct 20 03:24:10 2000
@@ -98,10 +98,6 @@
if (PageSwapCache(page)) {
entry.val = page->index;
swap_duplicate(entry);
-   if (pte_dirty(pte))
-   BUG();
-   if (pte_write(pte))
-   BUG();
set_pte(page_table, swp_entry_to_pte(entry));
 drop_pte:
   
UnlockPage(page);   
 
-- 
Regards,
Daniel

-   
http://www.futuregate.ping-net.de
ftp://futuregate.ping-net.de
-
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/



[Oops] 2.4.0-test10pre4

2000-10-19 Thread Daniel Mehrmann

Hi !

One kernel oops with 2.4.0-pre4 :


ksymoops 0.7c on i686 2.4.0-test10.  Options used
 -V (default)
 -k /proc/ksyms (default)
 -l /proc/modules (default)
 -o /lib/modules/2.4.0-test10 (specified)
 -m /usr/src/linux/System.map (default)
 
Oct 19 23:40:25 tron kernel: invalid operand: 
Oct 19 23:40:25 tron kernel: CPU:0
Oct 19 23:40:25 tron kernel: EIP:0010:[try_to_swap_out+250/796]
Oct 19 23:40:25 tron kernel: EFLAGS: 00010282
Oct 19 23:40:25 tron kernel: eax: 001c   ebx: 0100   ecx:
c3fc8000   edx: 
Oct 19 23:40:25 tron kernel: esi: c103a06c   edi: 0001   ebp:
00da7045   esp: c3fc9ecc
Oct 19 23:40:25 tron kernel: ds: 0018   es: 0018   ss: 0018
Oct 19 23:40:25 tron kernel: Process kswapd (pid: 2, stackpage=c3fc9000)
Oct 19 23:40:25 tron kernel: Stack: c01e2b25 c01e2ce4 0066 4005
40057000 c3d5c13c 4004e000 0200
Oct 19 23:40:25 tron kernel:c0126493 c25b3640 c11d6660 4004f000
c3d5c13c 0004 4004e000 c11d6660
Oct 19 23:40:25 tron kernel:c25b3640 0004 4044e000 c3d35400
40057000 40057000 c3d35400 c012654d
Oct 19 23:40:25 tron kernel: Call Trace: [tvecs+6653/87364]
[tvecs+7100/87364] [swap_out_vma+279/412] [swap_out_mm+53/96]
[swap_out+278/352] [refill_inactive+199/356]
[do_try_to_free_pages+98/128]
Oct 19 23:40:25 tron kernel: Code: 0f 0b 83 c4 0c 90 f7 c5 02 00 00 00
74 18 6a 68 68 e4 2c 1e
Using defaults from ksymoops -t elf32-i386 -a i386
 
Code;   Before first symbol
 <_EIP>:
Code;   Before first symbol
   0:   0f 0b ud2a
Code;  0002 Before first symbol
   2:   83 c4 0c  add$0xc,%esp
Code;  0005 Before first symbol
   5:   90nop
Code;  0006 Before first symbol
   6:   f7 c5 02 00 00 00 test   $0x2,%ebp
Code;  000c Before first symbol
   c:   74 18 je 26 <_EIP+0x26> 0026 Before
first symbol
Code;  000e Before first symbol
   e:   6a 68 push   $0x68
Code;  0010 Before first symbol
  10:   68 e4 2c 1e 00push   $0x1e2ce4
   

daniel@tron:/ > cat ver_linux.out
-- Versions installed: (if some fields are empty or look
-- unusual then possibly you have very old versions)
Linux tron.dhcp10mbit.netz.de 2.4.0-test10 #1 Thu Oct 19 23:28:30 MEST
2000 i686 unknown
Kernel modules 2.3.15
Gnu C  2.95.2
Gnu Make   3.79.1
Binutils   2.9.5.0.24
Linux C Libraryx   1 root root  4060896 Sep  5 13:57
/lib/libc.so.6
Dynamic linker ldd (GNU libc) 2.1.3
Procps 2.0.6
Mount  2.10m
Net-tools  1.56
Kbd0.99
Sh-utils   2.0
Modules Loaded tulip awe_wave sb sb_lib uart401 sound soundcore
serial

  daniel@tron:/usr/src/linux > cat .config
#
# Automatically generated by make menuconfig: don't edit
#
CONFIG_X86=y
CONFIG_ISA=y
# CONFIG_SBUS is not set
CONFIG_UID16=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y

#
# Processor type and features
#
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
CONFIG_M686=y
# CONFIG_M686FXSR is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_L1_CACHE_SHIFT=5
CONFIG_X86_TSC=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_PGE=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
# CONFIG_TOSHIBA is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
CONFIG_X86_CPUID=y
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
CONFIG_MTRR=y
# CONFIG_SMP is not set
# CONFIG_X86_UP_IOAPIC is not set

#
# General setup
#
CONFIG_NET=y
# CONFIG_VISWS is not set
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_NAMES=y
# CONFIG_MCA is not set
CONFIG_HOTPLUG=y

#
# PCMCIA/CardBus support
#
# CONFIG_PCMCIA is not set
CONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
CONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not set
# CONFIG_BINFMT_AOUT is not set
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=y
# CONFIG_PM is not set
# CONFIG_ACPI is not set
# CONFIG_APM is not set

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Parallel port support
#
# CONFIG_PARPORT is not set

#
# Plug and Play configuration
#
CONFIG_PNP=y
CONFIG_ISAPNP=y

#
# Block devices
#
CONFIG_BLK_DEV_FD=y
# CONFIG_BLK_DEV_XD is not set
#

Re: kernel 2.2.16 in redhat 7.0

2000-10-03 Thread Daniel Mehrmann

> Florent Cueto wrote:
> 
> 
> The kernel provided with the redhat 7.0 cannot be compiled with ip
> masquerading on & icmp masquerading on (using gcc and kgcc, I got the
> same error).
> I could not found any information about that.
> Anyone can help ? 

Yes, make mrproper and compile again.

-- 
Regards,
Daniel

-   
http://www.futuregate.ping-net.de
ftp://futuregate.ping-net.de
-
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/