All of lore.kernel.org
 help / color / mirror / Atom feed
* SUMMARY: [linux-lvm] pvcreate -- ERROR "Success"
From: Tru64 User @ 2002-12-12 10:43 UTC (permalink / raw)
  To: linux-lvm
In-Reply-To: <20021211202224.79940.qmail@web40906.mail.yahoo.com>

I found out the problem, I believe.
pvcreate was not able to handle the physical volume
size (1.1 Tb --Promise Technology Raid5 BOX =7x200Gb
ATA drives), thus the weird ERROR --"Success" message.

I chunked up the RAID5 array into 2 partitions, 500Gb
and 600Gb each, and pvcreate worked like a charm.

When i delete the partitions and remake one large
partition (sdb1 alone) of [First cylinder (1-145891,
default 1):] 1.1Tb, it can't handle!

Should this be sent to the lvm-bugs group? Not sure
about rules in this mailing list, this was my first
post.

_Thanks

Richard Mollel




--- Tru64 User <tru64user@yahoo.com> wrote:
> Firsttimer, trying to take advantage of LVM on
> Linux.
> I have used it on AIX, so i have the concept.
> 
> I have a RAID Array (1.1Tb) SCSI-ATA drive (sdb)
> that
> i was trying to create a volume out of (pvcreate).
> 
> However, it gives me an ERROR "Success" message.
> I initially had it formatted with with reiserfs, but
> then wiped it clean, and erased partition table as
> described in howtos (dd /dev/zero....). Debug also
> posted below.
> Any leads to get this working?
> Exact error below. Thnks in advance.
> 
> ******************
> chinook@/home/moll# pvcreate /dev/sdb
> Password:
> pvcreate -- ERROR "Success" getting size of physical
> volume "/dev/sdb"
> 
> 
> pvcreate [-d|--debug] [-f[f]|--force [--force]]
> [-h|--help] [-y|--yes]
>         [-v|--verbose] [--version] PhysicalVolume
> [PhysicalVolume...]
> 
> chinook@/home/moll$ 
> 
> **********BEGIN_Debug*****************
> 
> Script started on Wed Dec 11 15:17:09 2002
> cerebus@/home/mollel$ s pvcreate --debug /dev/sdb
> <1> lvm_get_iop_version -- CALLED
> <22> lvm_check_special -- CALLED
> <22> lvm_check_special -- LEAVING
> <1> lvm_get_iop_version -- AFTER ioctl ret: 0
> <1> lvm_get_iop_version -- LEAVING with ret: 10
> <1> lvm_lock -- CALLED
> <22> lvm_check_special -- CALLED
> <22> lvm_check_special -- LEAVING
> <1> lvm_lock -- LEAVING with ret: 0
> <1> pv_check_name -- CALLED with "/dev/sdb"
> <22> lvm_check_chars -- CALLED with name: "/dev/sdb"
> <22> lvm_check_chars -- LEAVING with ret: 0
> <22> lvm_check_dev -- CALLED
> <333> lvm_check_partitioned_dev -- CALLED
> <4444> lvm_get_device_type called
> <4444> lvm_get_device_type leaving with 1
> <333> lvm_check_partitioned_dev -- LEAVING with ret:
> TRUE
> <22> lvm_check_dev -- LEAVING with ret: 1
> <1> pv_check_name -- LEAVING with ret: 0
> <1> pv_get_size -- CALLED with /dev/sdb and
> 0xbfffdfa0
> <22> lvm_dir_cache -- CALLED
> <333> lvm_add_dir_cache -- CALLED with /dev/sda
> <4444> lvm_check_dev -- CALLED
> <55555> lvm_check_partitioned_dev -- CALLED
> <666666> lvm_get_device_type called
> <666666> lvm_get_device_type leaving with 1
> <55555> lvm_check_partitioned_dev -- LEAVING with
> ret:
> TRUE
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <333> lvm_add_dir_cache -- LEAVING with ret: ADDED
> <333> lvm_add_dir_cache -- CALLED with /dev/sda1
> <4444> lvm_check_dev -- CALLED
> <55555> lvm_check_partitioned_dev -- CALLED
> <666666> lvm_get_device_type called
> <666666> lvm_get_device_type leaving with 1
> <55555> lvm_check_partitioned_dev -- LEAVING with
> ret:
> TRUE
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <333> lvm_add_dir_cache -- LEAVING with ret: ADDED
> <333> lvm_add_dir_cache -- CALLED with /dev/sdb
> <4444> lvm_check_dev -- CALLED
> <55555> lvm_check_partitioned_dev -- CALLED
> <666666> lvm_get_device_type called
> <666666> lvm_get_device_type leaving with 1
> <55555> lvm_check_partitioned_dev -- LEAVING with
> ret:
> TRUE
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <333> lvm_add_dir_cache -- LEAVING with ret: ADDED
> <333> lvm_add_dir_cache -- CALLED with /dev/hda
> <4444> lvm_check_dev -- CALLED
> <55555> lvm_check_partitioned_dev -- CALLED
> <666666> lvm_get_device_type called
> <666666> lvm_get_device_type leaving with 0
> <55555> lvm_check_partitioned_dev -- LEAVING with
> ret:
> TRUE
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <333> lvm_add_dir_cache -- LEAVING with ret: ADDED
> <333> lvm_add_dir_cache -- CALLED with /dev/hda1
> <4444> lvm_check_dev -- CALLED
> <55555> lvm_check_partitioned_dev -- CALLED
> <666666> lvm_get_device_type called
> <666666> lvm_get_device_type leaving with 0
> <55555> lvm_check_partitioned_dev -- LEAVING with
> ret:
> TRUE
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <333> lvm_add_dir_cache -- LEAVING with ret: ADDED
> <333> lvm_add_dir_cache -- CALLED with /dev/hda2
> <4444> lvm_check_dev -- CALLED
> <55555> lvm_check_partitioned_dev -- CALLED
> <666666> lvm_get_device_type called
> <666666> lvm_get_device_type leaving with 0
> <55555> lvm_check_partitioned_dev -- LEAVING with
> ret:
> TRUE
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <333> lvm_add_dir_cache -- LEAVING with ret: ADDED
> <333> lvm_add_dir_cache -- CALLED with /dev/hda5
> <4444> lvm_check_dev -- CALLED
> <55555> lvm_check_partitioned_dev -- CALLED
> <666666> lvm_get_device_type called
> <666666> lvm_get_device_type leaving with 0
> <55555> lvm_check_partitioned_dev -- LEAVING with
> ret:
> TRUE
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <333> lvm_add_dir_cache -- LEAVING with ret: ADDED
> <333> lvm_add_dir_cache -- CALLED with /dev/hda6
> <4444> lvm_check_dev -- CALLED
> <55555> lvm_check_partitioned_dev -- CALLED
> <666666> lvm_get_device_type called
> <666666> lvm_get_device_type leaving with 0
> <55555> lvm_check_partitioned_dev -- LEAVING with
> ret:
> TRUE
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <333> lvm_add_dir_cache -- LEAVING with ret: ADDED
> <333> lvm_add_dir_cache -- CALLED with /dev/hda7
> <4444> lvm_check_dev -- CALLED
> <55555> lvm_check_partitioned_dev -- CALLED
> <666666> lvm_get_device_type called
> <666666> lvm_get_device_type leaving with 0
> <55555> lvm_check_partitioned_dev -- LEAVING with
> ret:
> TRUE
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <333> lvm_add_dir_cache -- LEAVING with ret: ADDED
> <333> lvm_add_dir_cache -- CALLED with /dev/hda8
> <4444> lvm_check_dev -- CALLED
> <55555> lvm_check_partitioned_dev -- CALLED
> <666666> lvm_get_device_type called
> <666666> lvm_get_device_type leaving with 0
> <55555> lvm_check_partitioned_dev -- LEAVING with
> ret:
> TRUE
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <333> lvm_add_dir_cache -- LEAVING with ret: ADDED
> <333> lvm_add_dir_cache -- CALLED with /dev/hda9
> <4444> lvm_check_dev -- CALLED
> <55555> lvm_check_partitioned_dev -- CALLED
> <666666> lvm_get_device_type called
> <666666> lvm_get_device_type leaving with 0
> <55555> lvm_check_partitioned_dev -- LEAVING with
> ret:
> TRUE
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <333> lvm_add_dir_cache -- LEAVING with ret: ADDED
> <333> lvm_add_dir_cache -- CALLED with /dev/hda9
> <4444> lvm_check_dev -- CALLED
> <55555> lvm_check_partitioned_dev -- CALLED
> <666666> lvm_get_device_type called
> <666666> lvm_get_device_type leaving with 0
> <55555> lvm_check_partitioned_dev -- LEAVING with
> ret:
> TRUE
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <333> lvm_add_dir_cache -- LEAVING with ret: NOT
> ADDED
> <22> lvm_dir_cache -- LEAVING with ret: 11
> <22> lvm_dir_cache_find -- CALLED with /dev/sdb
> <333> pv_check_name -- CALLED with "/dev/sdb"
> <4444> lvm_check_chars -- CALLED with name:
> "/dev/sdb"
> <4444> lvm_check_chars -- LEAVING with ret: 0
> <4444> lvm_check_dev -- CALLED
> <55555> lvm_check_partitioned_dev -- CALLED
> <666666> lvm_get_device_type called
> <666666> lvm_get_device_type leaving with 1
> <55555> lvm_check_partitioned_dev -- LEAVING with
> ret:
> TRUE
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <333> pv_check_name -- LEAVING with ret: 0
> <333> lvm_dir_cache -- CALLED
> <333> lvm_dir_cache -- LEAVING with ret: 11
> <22> lvm_dir_cache_find -- LEAVING with entry: 2
> <22> lvm_check_partitioned_dev -- CALLED
> <333> lvm_get_device_type called
> <333> lvm_get_device_type leaving with 1
> <22> lvm_check_partitioned_dev -- LEAVING with ret:
> TRUE
> 
=== message truncated ===


=====


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

^ permalink raw reply

* Re: File still being accessed?
From: mdew @ 2002-12-12 10:50 UTC (permalink / raw)
  To: alexander.riesen; +Cc: Linux Kernel
In-Reply-To: <20021212085229.GA1647@riesen-pc.gr05.synopsys.com>

[-- Attachment #1: Type: text/plain, Size: 1793 bytes --]

On Thu, 2002-12-12 at 21:52, Alex Riesen wrote:
> mdew, Thu, Dec 12, 2002 05:03:06 +0100:
> > Under Linux 2.5.51 Ive noticed that Downloader4X (Getright-type for
> > linux) http://www.krasu.ru/soft/chuchelo/
> > 
> > when trying to resume a file, It thinks the file is still being
> > accessed, however under 2.4, it has no such problem. Is this a bug in
> > 2.5.x still? any patches available that could help?
> 
> which d4x version, what _exactly_ the message states?
> -alex

I've tried both D4X GTK2 (2.4.0-rc1) based and GTK1.2.x (1.3.0) based, same results.

I add a download, let it partially download, then press
"Continue/Restart Downloads"

-> Retry 1 ...
-> Trying to connect...
-> Socket was opened!
-> Trying to create a file
+  File was created!
!! File is already opened by another download!
!! Downloading was failed...

ok, back in 2.4.20, Same file (everything as above)...however, it carrys on.

-> Retry 1 ...
-> Trying to connect...
-> Socket was opened!
-> Trying to create a file
-> File was created!
-> Sending HTTP request...
-> GET /some-file.zip HTTP/1.1
-> Accept: */*
-> Range: bytes=117364442-
-> User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows 95)
-> Host: some-address.com
-> Authorization: Basic bWdldzpQcm2ja8V5kTIzMw==
-> Cookie: bblastvisit=1037145731;
-> Request was sent, waiting for the answer
-> HTTP/1.1 206 Partial Content
-> All ok, reading file
-> Date: Thu, 12 Dec 2002 10:37:48 GMT
-> Server: Apache/1.3.26 (Unix) Debian GNU/Linux PHP/4.1.2
-> Last-Modified: Wed, 11 Dec 2002 02:48:29 GMT
-> ETag: "d8080-1579079c-3df2a55d"
-> Accept-Ranges: bytes
-> Content-Length: 242888898
-> Content-Range: bytes 117364442-360253339/360253340
-> Content-Type: text/plain; charset=iso-8859-1
-> Answer read ok
-> Size for download is 242888898 bytes



[-- Attachment #2: .config --]
[-- Type: text/plain, Size: 19283 bytes --]

#
# Automatically generated make config: don't edit
#
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_SWAP=y
CONFIG_UID16=y
CONFIG_GENERIC_ISA_DMA=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y

#
# General setup
#
CONFIG_NET=y
CONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=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 is not set
CONFIG_MPENTIUMIII=y
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MELAN is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MCYRIXIII is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=5
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_TSC=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
# CONFIG_HUGETLB_PAGE is not set
# CONFIG_SMP is not set
CONFIG_PREEMPT=y
CONFIG_X86_UP_APIC=y
CONFIG_X86_UP_IOAPIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
# CONFIG_X86_MCE is not set
# CONFIG_CPU_FREQ is not set
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set
# CONFIG_EDD is not set
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
CONFIG_HAVE_DEC_LOCK=y

#
# Power management options (ACPI, APM)
#
# CONFIG_PM is not set

#
# ACPI Support
#
# CONFIG_ACPI is not set

#
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#
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_SCx200 is not set
CONFIG_PCI_NAMES=y
# CONFIG_ISA is not set
# CONFIG_MCA is not set
# CONFIG_HOTPLUG is not set

#
# Executable file formats
#
CONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not set
CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=y

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

#
# Parallel port support
#
CONFIG_PARPORT=y
CONFIG_PARPORT_PC=y
CONFIG_PARPORT_PC_CML1=y
# CONFIG_PARPORT_SERIAL is not set
CONFIG_PARPORT_PC_FIFO=y
# CONFIG_PARPORT_PC_SUPERIO is not set
# CONFIG_PARPORT_OTHER is not set
CONFIG_PARPORT_1284=y

#
# Plug and Play support
#
CONFIG_PNP=y
CONFIG_PNP_NAMES=y
# CONFIG_PNP_CARD is not set
# CONFIG_PNP_DEBUG is not set

#
# Protocols
#
CONFIG_PNPBIOS=y

#
# Block devices
#
CONFIG_BLK_DEV_FD=y
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_NBD=m
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=4096
# CONFIG_BLK_DEV_INITRD is not set
# CONFIG_LBD is not set

#
# ATA/ATAPI/MFM/RLL device support
#
CONFIG_IDE=y

#
# IDE, ATA and ATAPI Block devices
#
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_IDE is not set
# CONFIG_BLK_DEV_HD is not set
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
# CONFIG_IDEDISK_STROKE is not set
CONFIG_BLK_DEV_IDECD=m
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_IDE_TASK_IOCTL is not set

#
# IDE chipset support/bugfixes
#
# CONFIG_BLK_DEV_CMD640 is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_GENERIC=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDE_TCQ is not set
# CONFIG_BLK_DEV_OFFBOARD is not set
CONFIG_BLK_DEV_IDEDMA_FORCED=y
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_PCI_WIP is not set
CONFIG_BLK_DEV_ADMA=y
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not set
CONFIG_BLK_DEV_PIIX=y
# CONFIG_BLK_DEV_NFORCE is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_OPTI621 is not set
CONFIG_BLK_DEV_PDC202XX_OLD=y
CONFIG_BLK_DEV_PDC202XX_NEW=y
CONFIG_PDC202XX_FORCE=y
# CONFIG_BLK_DEV_RZ1000 is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_BLK_DEV_PDC202XX=y
CONFIG_BLK_DEV_IDE_MODES=y

#
# SCSI device support
#
# CONFIG_SCSI is not set

#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set

#
# Fusion MPT device support
#

#
# IEEE 1394 (FireWire) support (EXPERIMENTAL)
#
# CONFIG_IEEE1394 is not set

#
# I2O device support
#
# CONFIG_I2O is not set

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
# CONFIG_NETLINK_DEV is not set
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
# CONFIG_FILTER is not set
CONFIG_UNIX=y
# CONFIG_NET_KEY is not set
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
# CONFIG_IP_MULTIPLE_TABLES is not set
# CONFIG_IP_ROUTE_MULTIPATH is not set
# CONFIG_IP_ROUTE_TOS is not set
# CONFIG_IP_ROUTE_VERBOSE is not set
# CONFIG_IP_ROUTE_LARGE_TABLES is not set
# CONFIG_IP_PNP is not set
CONFIG_NET_IPIP=m
CONFIG_NET_IPGRE=m
CONFIG_NET_IPGRE_BROADCAST=y
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
# CONFIG_INET_ECN is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_XFRM_USER is not set

#
# IP: Netfilter Configuration
#
# CONFIG_IP_NF_CONNTRACK is not set
# CONFIG_IP_NF_QUEUE is not set
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_LIMIT=m
CONFIG_IP_NF_MATCH_MAC=m
CONFIG_IP_NF_MATCH_PKTTYPE=m
CONFIG_IP_NF_MATCH_MARK=m
CONFIG_IP_NF_MATCH_MULTIPORT=m
CONFIG_IP_NF_MATCH_TOS=m
CONFIG_IP_NF_MATCH_ECN=m
CONFIG_IP_NF_MATCH_DSCP=m
CONFIG_IP_NF_MATCH_AH_ESP=m
CONFIG_IP_NF_MATCH_LENGTH=m
CONFIG_IP_NF_MATCH_TTL=m
CONFIG_IP_NF_MATCH_TCPMSS=m
CONFIG_IP_NF_MATCH_UNCLEAN=m
CONFIG_IP_NF_MATCH_OWNER=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
CONFIG_IP_NF_TARGET_MIRROR=m
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_TARGET_TOS=m
CONFIG_IP_NF_TARGET_ECN=m
CONFIG_IP_NF_TARGET_DSCP=m
CONFIG_IP_NF_TARGET_MARK=m
CONFIG_IP_NF_TARGET_LOG=m
CONFIG_IP_NF_TARGET_ULOG=m
CONFIG_IP_NF_TARGET_TCPMSS=m
CONFIG_IP_NF_ARPTABLES=m
CONFIG_IP_NF_ARPFILTER=m
# CONFIG_IP_NF_COMPAT_IPCHAINS is not set
# CONFIG_IP_NF_COMPAT_IPFWADM is not set
# CONFIG_IPV6 is not set

#
# SCTP Configuration (EXPERIMENTAL)
#
CONFIG_IPV6_SCTP__=y
# CONFIG_IP_SCTP is not set
# CONFIG_ATM is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_LLC is not set
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set

#
# QoS and/or fair queueing
#
CONFIG_NET_SCHED=y
CONFIG_NET_SCH_CBQ=m
CONFIG_NET_SCH_HTB=m
CONFIG_NET_SCH_CSZ=m
CONFIG_NET_SCH_PRIO=m
CONFIG_NET_SCH_RED=m
CONFIG_NET_SCH_SFQ=m
CONFIG_NET_SCH_TEQL=m
CONFIG_NET_SCH_TBF=m
CONFIG_NET_SCH_GRED=m
CONFIG_NET_SCH_DSMARK=m
CONFIG_NET_SCH_INGRESS=m
CONFIG_NET_QOS=y
CONFIG_NET_ESTIMATOR=y
# CONFIG_NET_CLS is not set

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set

#
# Network device support
#
CONFIG_NETDEVICES=y

#
# ARCnet devices
#
# CONFIG_ARCNET is not set
CONFIG_DUMMY=m
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_ETHERTAP is not set

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set

#
# Tulip family network device support
#
# CONFIG_NET_TULIP is not set
# CONFIG_HP100 is not set
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_B44 is not set
# CONFIG_DGRS is not set
# CONFIG_EEPRO100 is not set
# CONFIG_E100 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_8139CP is not set
CONFIG_8139TOO=m
# CONFIG_8139TOO_PIO is not set
CONFIG_8139TOO_TUNE_TWISTER=y
# CONFIG_8139TOO_8129 is not set
# CONFIG_8139_OLD_RX_RESET is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_TLAN is not set
# CONFIG_VIA_RHINE is not set
# CONFIG_NET_POCKET is not set

#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SK98LIN is not set
# CONFIG_TIGON3 is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set

#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set

#
# Token Ring devices (depends on LLC=y)
#
# CONFIG_NET_FC is not set
# CONFIG_RCPCI is not set
CONFIG_SHAPER=m

#
# Wan interfaces
#
# CONFIG_WAN is not set

#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set

#
# IrDA (infrared) support
#
# CONFIG_IRDA is not set

#
# ISDN subsystem
#
# CONFIG_ISDN_BOOL is not set

#
# Telephony Support
#
# CONFIG_PHONE is not set

#
# Input device support
#
CONFIG_INPUT=y

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
CONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set

#
# Input I/O drivers
#
# CONFIG_GAMEPORT is not set
CONFIG_SOUND_GAMEPORT=y
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_INPUT_MOUSE is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_SERIAL_NONSTANDARD is not set

#
# Serial drivers
#
CONFIG_SERIAL_8250=y
# CONFIG_SERIAL_8250_CONSOLE is not set
# CONFIG_SERIAL_8250_EXTENDED is not set

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=y
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
CONFIG_PRINTER=y
# CONFIG_LP_CONSOLE is not set
# CONFIG_PPDEV is not set
# CONFIG_TIPAR is not set

#
# I2C support
#
# CONFIG_I2C is not set

#
# Mice
#
# CONFIG_BUSMOUSE is not set
# CONFIG_QIC02_TAPE is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
CONFIG_INTEL_RNG=y
# CONFIG_AMD_RNG is not set
# CONFIG_NVRAM is not set
# CONFIG_RTC is not set
# CONFIG_GEN_RTC is not set
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
CONFIG_AGP=y
CONFIG_AGP_INTEL=y
# CONFIG_AGP_VIA is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_SWORKS is not set
# CONFIG_AGP_AMD_8151 is not set
# CONFIG_DRM is not set
# CONFIG_MWAVE is not set
# CONFIG_RAW_DRIVER is not set

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set

#
# File systems
#
# CONFIG_QUOTA is not set
CONFIG_AUTOFS_FS=y
CONFIG_AUTOFS4_FS=y
# CONFIG_REISERFS_FS is not set
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
# CONFIG_EXT3_FS_POSIX_ACL is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
CONFIG_TMPFS=y
CONFIG_RAMFS=y
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
# CONFIG_ZISOFS is not set
# CONFIG_JFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_VXFS_FS is not set
CONFIG_NTFS_FS=m
# CONFIG_NTFS_DEBUG is not set
# CONFIG_NTFS_RW is not set
# CONFIG_HPFS_FS is not set
CONFIG_PROC_FS=y
# CONFIG_DEVFS_FS is not set
CONFIG_DEVPTS_FS=y
# CONFIG_QNX4FS_FS is not set
# CONFIG_ROMFS_FS is not set
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
# CONFIG_SYSV_FS is not set
CONFIG_UDF_FS=y
# CONFIG_UFS_FS is not set
CONFIG_XFS_FS=y
CONFIG_XFS_RT=y
# CONFIG_XFS_QUOTA is not set
CONFIG_XFS_POSIX_ACL=y

#
# Network File Systems
#
# CONFIG_CODA_FS is not set
# CONFIG_INTERMEZZO_FS is not set
# CONFIG_NFS_FS is not set
# CONFIG_NFSD is not set
# CONFIG_EXPORTFS is not set
CONFIG_CIFS=m
CONFIG_SMB_FS=m
CONFIG_SMB_NLS_DEFAULT=y
CONFIG_SMB_NLS_REMOTE="cp437"
# CONFIG_NCP_FS is not set
# CONFIG_AFS_FS is not set
CONFIG_FS_MBCACHE=y
CONFIG_FS_POSIX_ACL=y

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y
CONFIG_SMB_NLS=y
CONFIG_NLS=y

#
# Native Language Support
#
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
CONFIG_NLS_ISO8859_1=y
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=y

#
# Graphics support
#
# CONFIG_FB is not set
# CONFIG_VIDEO_SELECT is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y

#
# Sound
#
CONFIG_SOUND=y

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
CONFIG_SND_SEQUENCER=y
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set

#
# PCI devices
#
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_TRIDENT is not set
CONFIG_SND_YMFPCI=y
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_VIA82XX is not set

#
# ALSA USB devices
#
# CONFIG_SND_USB_AUDIO is not set

#
# USB support
#
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set

#
# USB Host Controller Drivers
#
# CONFIG_USB_EHCI_HCD is not set
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_UHCI_HCD=y

#
# USB Device Class drivers
#
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_BLUETOOTH_TTY is not set
# CONFIG_USB_MIDI is not set
# CONFIG_USB_ACM is not set
# CONFIG_USB_PRINTER is not set

#
# SCSI support is needed for USB Storage
#

#
# USB Human Interface Devices (HID)
#
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y
# CONFIG_HID_FF is not set
CONFIG_USB_HIDDEV=y

#
# USB HID Boot Protocol drivers
#
# CONFIG_USB_KBD is not set
CONFIG_USB_MOUSE=m
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_XPAD is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
CONFIG_USB_SCANNER=m

#
# USB Multimedia devices
#
# CONFIG_USB_DABUSB is not set

#
# Video4Linux support is needed for USB Multimedia device support
#

#
# USB Network adaptors
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_CDCETHER is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set

#
# USB port drivers
#
# CONFIG_USB_USS720 is not set

#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_TIGL is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_BRLVGER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_TEST is not set

#
# Bluetooth support
#
# CONFIG_BT is not set

#
# Profiling support
#
# CONFIG_PROFILING is not set

#
# Kernel hacking
#
# CONFIG_DEBUG_KERNEL is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_FRAME_POINTER is not set
CONFIG_X86_EXTRA_IRQS=y
CONFIG_X86_FIND_SMP_CONFIG=y
CONFIG_X86_MPPARSE=y

#
# Security options
#
# CONFIG_SECURITY is not set

#
# Cryptographic options
#
# CONFIG_CRYPTO is not set

#
# Library routines
#
# CONFIG_CRC32 is not set
CONFIG_X86_BIOS_REBOOT=y

^ permalink raw reply

* Malformed patch 2.5.51-mm2
From: Aniruddha M Marathe @ 2002-12-12 10:47 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

Hi Andrew,
Is there any problem with the patch at line number 2021? I am not able to patch.
It says malformed patch at line 2021
Line 2021 reads: static                  pmd_clear(pmd)

Regards,---------------------------------------------------------------
Aniruddha Marathe
Systems Engineer,
4th floor, WIPRO technologies,
53/1, Hosur road,
Madivala,
Bangalore - 560068
Karnataka, India
Phone: +91-80-5502001 extension 5092
E-mail: aniruddha.marathe@wipro.com
---------------------------------------------------------------



-----Original Message-----
From: Andrew Morton [mailto:akpm@digeo.com] 
Sent: Thursday, December 12, 2002 2:34 PM
To: lkml; linux-mm@kvack.org
Subject: 2.5.51-mm2



url: http://www.zip.com.au/~akpm/linux/patches/2.5/2.5.51/2.5.51-mm2/

  -> 2.5.51-mm2-shpte.gz    For Dave
  -> 2.5.51-mm2.gz          Full series

Numerous fixes, and dcache_rcu has been resurrected.



Additions since 2.5.51-mm1:

+PF_MEMALLOC-no-recur.patch

 Fix a potential recursion problem in the page allocator

+mempool-atomic-check.patch

 A little cleanup

+page-allocator-off-by-one.patch

 A little bugfix

+remove-PF_NOWARN.patch

 Remove current->flags:PF_NOWARN, use __GFP_NOWARN

+scheduler-tunables.patch

 rml's scheduler tweakables.  See Documentation/filesystems/proc.txt

+cacheline-aligned-pte_chains.patch

 Ensure that pte_chains are cacheline aligned

+ext2-sync-dir-fix.patch

 ext2 buglet

+mmap-rounding-fix.patch

 mmap corner case

+blocking-kswapd.patch

 Make kswapd block against request queues.  Fixes some search complexity  problems.

+dcache_rcu-2.patch
+dcache_rcu-3.patch

 RCU for dcache locking.



All 67 patches:

kgdb.patch

PF_MEMALLOC-no-recur.patch
  Avoid recursion in the page allocator

dio-return-partial-result.patch

aio-direct-io-infrastructure.patch
  AIO support for raw/O_DIRECT

deferred-bio-dirtying.patch
  bio dirtying infrastructure

aio-direct-io.patch
  AIO support for raw/O_DIRECT

aio-dio-debug.patch

dio-reduce-context-switch-rate.patch
  Reduced wakeup rate in direct-io code

cputimes_stat.patch
  Retore per-cpu time accounting, with a config option

deprecate-bdflush.patch
  deprecate use of bdflush()

reduce-random-context-switch-rate.patch
  Reduce context switch rate due to the random driver

bcrl-printk.patch

read_zero-speedup.patch
  speed up read_zero() for !CONFIG_MMU

nommu-rmap-locking.patch
  Fix rmap locking for CONFIG_SWAP=n

semtimedop.patch
  semtimedop - semop() with a timeout

writeback-handle-memory-backed.patch
  skip memory-backed filesystems in writeback

2-remove-fail_writepage.patch
  Remove fail_writepage, redux

wli-show_free_areas.patch
  show_free_areas extensions

inlines-net.patch

rbtree-iosched.patch
  rbtree-based IO scheduler

deadsched-fix.patch
  deadline scheduler fix

quota-smp-locks.patch
  Subject: [PATCH] Quota SMP locks

shpte-ng.patch
  pagetable sharing for ia32

shpte-nonlinear.patch
  shpte: support nonlinear mappings and clean up clear_share_range()

shpte-always-on.patch
  Force CONFIG_SHAREPTE=y for ia32

pmd-allocation-fix.patch
  make sure all PMDs are allocated under PAE mode

ptrace-flush.patch
  Subject: [PATCH] ptrace on 2.5.44

buffer-debug.patch
  buffer.c debugging

warn-null-wakeup.patch

pentium-II.patch
  Pentium-II support bits

radix-tree-overflow-fix.patch
  handle overflows in radix_tree_gang_lookup()

rcu-stats.patch
  RCU statistics reporting

auto-unplug.patch
  self-unplugging request queues

less-unplugging.patch
  Remove most of the blk_run_queues() calls

sync_fs.patch
  Add a sync_fs super_block operation

ext3_sync_fs.patch
  implement ext3_sync_fs

ext3-fsync-speedup.patch
  Clean up ext3_sync_file()

filldir-checks.patch
  copy_user checks in filldir()

vmstats-fixes.patch
  vm accounting fixes and addition

hugetlb-fixes.patch
  hugetlb fixes

writeback-interaction-fix.patch
  fs-writeback rework.

scalable-zone-protection.patch
  Add /proc/sys/vm/lower_zone_protection

page-wait-table-min-size.patch
  Set a minimum hash table size for wait_on_page()

ext3-transaction-reserved-blocks.patch
  Reserve an additional transaction block in ext3_dirty_inode

remove-PF_SYNC.patch

dont-inherit-mlockall.patch
  Don't inherit mm->def_flags across forks

bootmem-alloc-alignment.patch
  bootmem allocator merging fix

ext23_free_blocks-check.patch
  ext2/ext3_free_blocks() extra check

blkdev-rlimit.patch
  don't allpy file size rlimits to blockdevs

readahead-pinned-memory.patch
  limit pinned memory due to readahead

lockless-current_kernel_time.patch
  Lockless current_kernel_timer()

remove-vmscan-check.patch
  remove a vm debug check

max_sane_readahead.patch

default-super-ops.patch
  provide a default super_block_operations

mempool-atomic-check.patch
  tidier atomic check in mempool_alloc()

page-allocator-off-by-one.patch
  Fix off-by-one in the page allocator

remove-PF_NOWARN.patch
  Remove PF_NOWARN

scheduler-tunables.patch
  scheduler tunables

cacheline-aligned-pte_chains.patch
  pad pte_chains out to a cacheline

ext2-sync-dir-fix.patch
  ext2 synchronous mount fix

mmap-rounding-fix.patch
  Fix mmap rounding error

blocking-kswapd.patch
  Alloc kswapd to block on disk queues

dcache_rcu-2.patch
  dcache_rcu-2-2.5.51.patch

dcache_rcu-3.patch
  dcache_rcu-3-2.5.51.patch

page-walk-api.patch

page-walk-scsi.patch

page-walk-api-update.patch
  pagewalk API update
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

^ permalink raw reply

* i4l dtmf errors
From: Roy Sigurd Karlsbakk @ 2002-12-12 10:45 UTC (permalink / raw)
  To: Kernel mailing list

hi

it seems isdn4linux detects DTMF tones from normal speach. This is rather 
annoying when using i4l for voice with Asterisk.org. This is tested on all 
recent kernels

see thread "[MGCP] Asterisk/D-Link phones generates ugly DTMF tones!!!" at 
http://www.marko.net/asterisk/archives/ for more info.

roy
-- 
Roy Sigurd Karlsbakk, Datavaktmester
ProntoTV AS - http://www.pronto.tv/
Tel: +47 9801 3356

Computers are like air conditioners.
They stop working when you open Windows.


^ permalink raw reply

* RE: Penetration testing.
From: mailinglists @ 2002-12-12 10:31 UTC (permalink / raw)
  To: netfilter



> I have set up a new iptables firewall and would like to test it
> throughly. Can anyone suggest some good penetration testing
> utilities/packages

try nessus, saint, nmap...

Philipp


^ permalink raw reply

* [PATCH 2.4.21-pre] Fix accounting error in /proc/net/rpc/nfs
From: Trond Myklebust @ 2002-12-12 10:29 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: Linux Kernel, NFS maillist


The following patch by Chuck Lever fixes a couple of accounting errors
in /proc/net/rpc/nfs.

Cheers,
  Trond

diff -u --recursive --new-file linux-2.5.20-pre4/net/sunrpc/clnt.c linux-2.5.20-call_start/net/sunrpc/clnt.c
--- linux-2.5.20-pre4/net/sunrpc/clnt.c	Thu Aug 15 03:05:32 2002
+++ linux-2.5.20-call_start/net/sunrpc/clnt.c	Wed Aug 21 18:48:11 2002
@@ -43,6 +43,7 @@
 static DECLARE_WAIT_QUEUE_HEAD(destroy_wait);
 
 
+static void	call_start(struct rpc_task *task);
 static void	call_reserve(struct rpc_task *task);
 static void	call_reserveresult(struct rpc_task *task);
 static void	call_allocate(struct rpc_task *task);
@@ -326,13 +327,9 @@
 		rpcauth_bindcred(task);
 
 	if (task->tk_status == 0)
-		task->tk_action = call_reserve;
+		task->tk_action = call_start;
 	else
 		task->tk_action = NULL;
-
-	/* Increment call count */
-	if (task->tk_msg.rpc_proc < task->tk_client->cl_maxproc)
-		rpcproc_count(task->tk_client, task->tk_msg.rpc_proc)++;
 }
 
 void
@@ -359,26 +356,48 @@
 	if (RPC_ASSASSINATED(task))
 		return;
 
-	task->tk_action = call_reserve;
-	rpcproc_count(task->tk_client, task->tk_msg.rpc_proc)++;
+	task->tk_action = call_start;
 }
 
 /*
- * 1.	Reserve an RPC call slot
+ * 0.  Initial state
+ *
+ *     Other FSM states can be visited zero or more times, but
+ *     this state is visited exactly once for each RPC.
  */
 static void
-call_reserve(struct rpc_task *task)
+call_start(struct rpc_task *task)
 {
 	struct rpc_clnt	*clnt = task->tk_client;
 
 	if (task->tk_msg.rpc_proc > clnt->cl_maxproc) {
-		printk(KERN_WARNING "%s (vers %d): bad procedure number %d\n",
-			clnt->cl_protname, clnt->cl_vers, task->tk_msg.rpc_proc);
+		printk(KERN_ERR "%s (vers %d): bad procedure number %d\n",
+				clnt->cl_protname, clnt->cl_vers,
+				task->tk_msg.rpc_proc);
 		rpc_exit(task, -EIO);
 		return;
 	}
 
+	dprintk("RPC: %4d call_start %s%d proc %d (%s)\n", task->tk_pid,
+		clnt->cl_protname, clnt->cl_vers, task->tk_msg.rpc_proc,
+		(RPC_IS_ASYNC(task) ? "async" : "sync"));
+
+	/* Increment call count */
+	rpcproc_count(clnt, task->tk_msg.rpc_proc)++;
+	clnt->cl_stats->rpccnt++;
+	task->tk_action = call_reserve;
+}
+
+/*
+ * 1.	Reserve an RPC call slot
+ */
+static void
+call_reserve(struct rpc_task *task)
+{
+	struct rpc_clnt	*clnt = task->tk_client;
+
 	dprintk("RPC: %4d call_reserve\n", task->tk_pid);
+
 	if (!rpcauth_uptodatecred(task)) {
 		task->tk_action = call_refresh;
 		return;
@@ -387,7 +406,6 @@
 	task->tk_status  = 0;
 	task->tk_action  = call_reserveresult;
 	task->tk_timeout = clnt->cl_timeout.to_resrvval;
-	clnt->cl_stats->rpccnt++;
 	xprt_reserve(task);
 }
 
@@ -645,7 +663,6 @@
 	case -ENOMEM:
 	case -EAGAIN:
 		task->tk_action = call_transmit;
-		clnt->cl_stats->rpcretrans++;
 		break;
 	default:
 		if (clnt->cl_chatty)

^ permalink raw reply

* Re: [linux-lvm] vgcreate on md: vgcreate -- ERROR "pv_read(): read" reading physical volumes
From: udo @ 2002-12-12 10:28 UTC (permalink / raw)
  To: defranco; +Cc: linux-lvm
In-Reply-To: <200212120801.48777.defranco@cup.hp.com>

Hello,

--- John DeFranco <defranco@cup.hp.com> wrote:
> Did you pvcreate the /dev/md2 first? Didn't indicate
> that below.

I didn't write that but I did, following the howto
from http://tldp.org/HOWTO/LVM-HOWTO.
I couldn't solve the problem so I started a wipe of
/dev/md2 to be sure the disk was clear. (this took
quite some time on this slow machine)
I had to wait for that to finish so I could reboot to
single user (init=/bin/sh) again.
Then things worked!
Pfew...... ;-)

Thanks,
Udo

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

^ permalink raw reply

* [PATCH 2.4.21-pre] Fix possible SMP race in nfs_sync_page()
From: Trond Myklebust @ 2002-12-12 10:26 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: Linux Kernel, NFS maillist


Hi Marcelo,

  The following patch fixes a race in nfs_sync_page() whereby one
thread may call the generic sync_page() and then block on a given page
while another thread is working in mapping->a_ops->readpage().

Cheers,
  Trond

diff -u --recursive --new-file linux-2.4.21-pre1/fs/nfs/file.c linux-2.4.21-01-nfs_sync/fs/nfs/file.c
--- linux-2.4.21-pre1/fs/nfs/file.c	2002-02-05 15:10:21.000000000 +0100
+++ linux-2.4.21-01-nfs_sync/fs/nfs/file.c	2002-12-12 11:23:09.000000000 +0100
@@ -187,6 +187,7 @@
 	if (!inode)
 		return 0;
 
+	NFS_SetPageSync(page);
 	rpages = NFS_SERVER(inode)->rpages;
 	result = nfs_pagein_inode(inode, index, rpages);
 	if (result < 0)
diff -u --recursive --new-file linux-2.4.21-pre1/fs/nfs/read.c linux-2.4.21-01-nfs_sync/fs/nfs/read.c
--- linux-2.4.21-pre1/fs/nfs/read.c	2002-10-06 01:03:40.000000000 +0200
+++ linux-2.4.21-01-nfs_sync/fs/nfs/read.c	2002-12-12 11:23:09.000000000 +0100
@@ -171,11 +171,16 @@
 	struct nfs_page	*new;
 
 	new = nfs_create_request(nfs_file_cred(file), inode, page, 0, PAGE_CACHE_SIZE);
-	if (IS_ERR(new))
+	if (IS_ERR(new)) {
+		SetPageError(page);
+		NFS_ClearPageSync(page);
+		UnlockPage(page);
 		return PTR_ERR(new);
+	}
 	nfs_mark_request_read(new);
 
-	if (inode->u.nfs_i.nread >= NFS_SERVER(inode)->rpages ||
+	if (NFS_TestClearPageSync(page) ||
+	    inode->u.nfs_i.nread >= NFS_SERVER(inode)->rpages ||
 	    page_index(page) == (inode->i_size + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT)
 		nfs_pagein_inode(inode, 0, 0);
 	return 0;
@@ -222,6 +227,7 @@
 		req = nfs_list_entry(head->next);
 		page = req->wb_page;
 		nfs_list_remove_request(req);
+		NFS_ClearPageSync(page);
 		SetPageError(page);
 		UnlockPage(page);
 		nfs_clear_request(req);
@@ -429,6 +435,7 @@
 		} else
 			SetPageError(page);
 		flush_dcache_page(page);
+		NFS_ClearPageSync(page);
 		UnlockPage(page);
 
 		dprintk("NFS: read (%x/%Ld %d@%Ld)\n",
@@ -482,6 +489,7 @@
 	return error;
 
 out_error:
+	NFS_ClearPageSync(page);
 	UnlockPage(page);
 	goto out;
 }
diff -u --recursive --new-file linux-2.4.21-pre1/include/linux/mm.h linux-2.4.21-01-nfs_sync/include/linux/mm.h
--- linux-2.4.21-pre1/include/linux/mm.h	2002-03-27 00:11:32.000000000 +0100
+++ linux-2.4.21-01-nfs_sync/include/linux/mm.h	2002-12-12 11:23:09.000000000 +0100
@@ -297,6 +297,7 @@
 #define PG_arch_1		13
 #define PG_reserved		14
 #define PG_launder		15	/* written out by VM pressure.. */
+#define PG_fs_1			16	/* Filesystem specific */
 
 /* Make it prettier to test the above... */
 #define UnlockPage(page)	unlock_page(page)
diff -u --recursive --new-file linux-2.4.21-pre1/include/linux/nfs_fs.h linux-2.4.21-01-nfs_sync/include/linux/nfs_fs.h
--- linux-2.4.21-pre1/include/linux/nfs_fs.h	2002-10-15 18:32:18.000000000 +0200
+++ linux-2.4.21-01-nfs_sync/include/linux/nfs_fs.h	2002-12-12 11:23:09.000000000 +0100
@@ -269,6 +269,10 @@
 extern int  nfs_scan_lru_read(struct nfs_server *, struct list_head *);
 extern int  nfs_scan_lru_read_timeout(struct nfs_server *, struct list_head *);
 
+#define NFS_SetPageSync(page)		set_bit(PG_fs_1, &(page)->flags)
+#define NFS_ClearPageSync(page)		clear_bit(PG_fs_1, &(page)->flags)
+#define NFS_TestClearPageSync(page)	test_and_clear_bit(PG_fs_1, &(page)->flags)
+
 /*
  * linux/fs/mount_clnt.c
  * (Used only by nfsroot module)

^ permalink raw reply

* Re: Intel P6 vs P7 system call performance
From: Terje Eggestad @ 2002-12-12 10:31 UTC (permalink / raw)
  To: Arjan van de Ven; +Cc: H. Peter Anvin, linux-kernel, Dave Jones
In-Reply-To: <1039687609.1450.2.camel@laptop.fenrus.com>

On tor, 2002-12-12 at 11:06, Arjan van de Ven wrote:
> On Thu, 2002-12-12 at 10:42, Terje Eggestad wrote:
> 
> > It takes about 11 cycles on athlon, 34 on PII, and a whooping 84 on P4.
> > 
> > For a simple op like that, even 11 is a lot... Really makes you wonder.
> 
> wasn't rdtsc also supposed to be a pipeline sync of the cpu?
> (or am I confusing it with cpuid)

THis is what the P4 manual says:

"The RDTSC instruction is not a serializing instruction. Thus, it does
not necessarily wait until all previous instructions have been executed
before reading the counter. Similarly, subsequent instructions may begin
execution before the read operation is performed."

Thus it *shouldn't* sync the pipeline. cpuid is a serializing inst, yes.

TJ

-- 
_________________________________________________________________________

Terje Eggestad                  mailto:terje.eggestad@scali.no
Scali Scalable Linux Systems    http://www.scali.com

Olaf Helsets Vei 6              tel:    +47 22 62 89 61 (OFFICE)
P.O.Box 150, Oppsal                     +47 975 31 574  (MOBILE)
N-0619 Oslo                     fax:    +47 22 62 89 51
NORWAY            
_________________________________________________________________________


^ permalink raw reply

* question about ipt_table_info structure.
From: Venkatesh Prasad Ranganath @ 2002-12-12 10:23 UTC (permalink / raw)
  To: netfilter-devel

Hi,

I am using netfilter/iptables (1.2.7a) in a project (which may end up 
contributing to netfilter/iptable branch if it succeeds).  Hence, I was 
browsing the kernel space netfilter/iptables code.  I am able to follow 
the code except for a few glitches.

1> What is the purpose of underflow field in ipt_replace?  Where is it used?
2> What is the purpose of term field in struct initial_table in 
iptables_filter.c?  Where is it used?
3> What is the purpose of ipt_replace structure?  Where is it used?
4> What is the purpose of table field in ipt_table?  It is not used at 
any time during filtering.  (or am I wrong about this?)  If it is used, 
where is it used?
5> Is it correct to say that ACCEPT, DROP, QUEUE, and RETURN are the 
builtin targets?

Also, can someone comment if my understanding of part of 
netfilter/iptable as given below is correct.
"Each rule that can be added via iptables command is represented via a 
set of data rather than a single piece of data.  Each criterion to be 
satisfied for the entire rule to be satisfied is represented as a match. 
 If all of the match/criterion are satisfied then target (linked at the 
end of the sequence of matches) associated with the rule is executed. 
 Hence, there is only one target with a rule, but may be multiple matches."

Finally, are there any documents that discuss the performance of and 
issues related (if any) to netfilter/iptables?  In particular, I am 
looking for documents which may have identified bottlenecks or have 
pointers to locations in which to look for such opportunities. Benchmark 
results and/or test run results would also be helpful.  I am just piggy 
backing this last question along with the others and I would understand 
if someone replied "google would be a good place to start" ;-)

waiting for reply,

-- 

Venkatesh Prasad Ranganath,
Dept. Computing and Information Science,
Kansas State University, US.
web: http://www.cis.ksu.edu/~rvprasad

^ permalink raw reply

* Re: Why does C3 CPU downgrade in kernel 2.4.20?
From: P @ 2002-12-12 10:19 UTC (permalink / raw)
  To: Linux Kernel Mailing List
In-Reply-To: <1039640441.18412.24.camel@irongate.swansea.linux.org.uk>

Alan Cox wrote:
> On Wed, 2002-12-11 at 18:51, Bill Davidsen wrote:
> 
>>Is this the CPU in the $200 "Lindows" PC Wal-Mart is selling? I was
>>thinking of one for a low volume router, and it looks as if there are two
>>VIA chips called C3 (or advertizers have hacked the specs).
> 
> It is. Its a nice CPU for appliances. FPU is nondescript, integer
> performance is sort of the same as an equivalently clocked celewrong for
> the current Ezra core at least. The older Samuel II core seems a little
> slower.
> 
> There is also a subspecies that comes in at 500-600MHz and is designed
> for low power fanless operation (though with a decent sized heatsink the
> same is true for the 1GHz ones).

Although don't try to do this in 1U with 1GHz chips unless you clock
down and reduce the voltage (you need a "fair amount" of free space 
above the heatsink to dissipate the heat). Hmm that reminds me I must 
complete the auto voltage selection code in cpufreq.

> If you think the Walmart PC is cool take a look at the EPIA board or see
> www.mini-itx.com. 60W for a complete PC

I built a "no moving parts" router thingy in 1U that used max 19W.
You get a nice MTBF (5.25 years for our config) when there's nothing
mechanical as well as a good power saving. The main parts were:

PSU: EOS VLT60-3000 (now celetron)
MB:  Advantech PCM9576
CPU: Ezra C3 866a
HD:  64MB compact flash

Pádraig.


^ permalink raw reply

* [linux-lvm] vgchange -a y -A n error furing installation
From: ronnie @ 2002-12-12 10:12 UTC (permalink / raw)
  To: linux-lvm

hello list
Problem:
when installing SuSE Linux 7.3 (SEMS3.1). during the
"preparing your harddisk" phase, i get the following
error:

LVM error
vgchange -a y -A n
internal YaST error

my setup:
SuSe linux email server running SuSE 7.3
2.4.17 kernel
Dell poweredge 14000sc
adaptec aic 7899 scsi controller
Fujitsu scsi drive (x2)

what i kknow (or think i know)
-its not the aic_7xxx module b/c ive manually loaded
module aic_7xxx_old
-the ins goes ok when using regular partitioning b/c
this is a reinstall
-dell servers are a pain in the neck

cheers

ronnie regev

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

^ permalink raw reply

* Re: Is this going to be true ?
From: Måns Rullgård @ 2002-12-12 10:16 UTC (permalink / raw)
  To: Roy Sigurd Karlsbakk; +Cc: Serge Kuznetsov, Joseph D. Wagner, linux-kernel
In-Reply-To: <200212111826.06737.roy@karlsbakk.net>

Roy Sigurd Karlsbakk <roy@karlsbakk.net> writes:

> > What I can say is what Linux kernel development outperforms
> > M$-Windows development in timeline by many parameters.
> >
> > That what I know for sure.
> >
> > For this moment M$ have only nice and comfy GUI, but I hope it will change
> > very soon.
> 
> You've had to have stood with your head in the sand for a few years
> not to see that Microsoft actually has a good OS as well. Win2k
> _does_ have nice features and runs fast. The main problem with

Find some text about process scheduling in Windows.  You'll have a
good laugh.

> comparing unices and Windoze, is the question "What is an operating
> system"? Is the kernel the OS? Are the libraries part of it as well?

IMHO, the operating system is whatever is reached through system
calls, i.e traps.  MS seems to define it as whatever they bundle on
the CD.

-- 
Måns Rullgård
mru@users.sf.net

^ permalink raw reply

* Re: QoS using HTB and SFQ ...
From: Guillaume Morin @ 2002-12-12 10:06 UTC (permalink / raw)
  To: Raymond Leach; +Cc: Netfilter Mailing List
In-Reply-To: <1039684623.4085.47.camel@rayw.knowledgefactory.co.za>

Hi Raymond,

Dans un message du 12 Dec à 11:17, Raymond Leach écrivait :
> Does anyone have any experience (good or bad) with using htb and sfq to
> do QoS using 2.4.20 kernels?
> 
> I compiled the kernel, installed the image, but tc tells me that htb is
> an unknown qdisc. I checked that I did select htb in the QoS section.

You need an updated tc binary. Check out
http://luxik.cdi.cz/~devik/qos/htb/ and download htb3.6-020525.tgz which
contains the iproute2 patch.

Regards,

-- 
Guillaume Morin <guillaume@morinfr.org>

      A friend in need is a friend indeed. A friend who bleeds is better.
         My friend confessed, she passed the test. We will never sever.
                                   (Placebo)


^ permalink raw reply

* Re: Is this going to be true ?
From: Måns Rullgård @ 2002-12-12 10:13 UTC (permalink / raw)
  To: linux-kernel
In-Reply-To: <20021211220112.GB22549@higherplane.net>

john slee <indigoid@higherplane.net> writes:

> > libraries part of it as well? Is X part it? Windows has a good
> > bunch of APIs that quite a few userspace programmers love. Unices
> > + libs + X don't have the
> 
> which ones would they be?

Perhaps the 10K calls in the Win32 API.  Or the 100K bugs in MFC.

-- 
Måns Rullgård
mru@users.sf.net

^ permalink raw reply

* 2.4.20 low-latency patch
From: Andrew Morton @ 2002-12-12 10:11 UTC (permalink / raw)
  To: lkml, linux-audio-dev@music.columbia.edu


At http://www.zip.com.au/~akpm/linux/2.4.20-low-latency.patch.gz

Very much in sustaining mode.  It includes a fix for a livelock
problem in fsync() from Stephen Tweedie.

^ permalink raw reply

* free entry in gdt_table
From: Nico @ 2002-12-12 10:08 UTC (permalink / raw)
  To: linux-kernel


Hello

I have a doubt, in kernels like 2.4.18 the second entry in gdt is not used

ENTRY(gdt_table)
        .quad 0x0000000000000000	/* NULL descriptor */
	.quad 0x0000000000000000	/* not used */
	.quad 0x00cf9a000000ffff	/* 0x10 kernel 4GB code at 0x00000000 */

there are 4 bytes lost!        

Why?

^ permalink raw reply

* A bug with using match limit
From: markooff @ 2002-12-12 10:01 UTC (permalink / raw)
  To: netfilter

Hello!

Perhaps it's not a really new topic on this board, but i've found this
problem recently
I share my DSL connection with 4 other people and
i was just trying to limit one of them (who used to download lots of films,
mp3s )
and when i tried to use inverted match limit just like

     iptables -I FORWARD -p tcp -d 192.168.0.3 -m ! limit --limit 5/s -j
DROP

i received an error message :

iptables v1.2.6a: Couldn't load match `!':/usr/lib/iptables/libipt_!.so:
cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.

This looks like iptables treats an "!" after "-m" like an sparate match ,
not connected with limit expression
But in the Iptables Tutorial 1.1.15 by Oskar Andreasson  there is written :
"The limit match may also be inverted by adding a ! flag in front of the
limit match. It would then be expressed as -m ! limit. This means that all
packets will be matched after they have broken the limit."

I don't know, perhaps i've did somethig wrong (what it could be ??? ), but i
tried every possible combination of
m, limit and  ! expressions, without any results.

Ofcourse i'd managed to solve my problem by
root@horus:/etc# iptables -I FORWARD -p tcp -d 192.168.0.3 -j DROP
root@horus:/etc# iptables -I FORWARD -p tcp -d 192.168.0.3 -m limit --limit
5/s -j allowed

but it's not a proper solvation :))

Thanks a LOT

Pawel Markowski
markooff@interia.pl
markooff@uj.edu.pl
Linux Registered User
         #289621



----------------------------------------------------------------------
FAKTY, wydarzenia, relacje, opinie... >>> http://link.interia.pl/f16a4 




^ permalink raw reply

* Re: Intel P6 vs P7 system call performance
From: Arjan van de Ven @ 2002-12-12 10:06 UTC (permalink / raw)
  To: Terje Eggestad; +Cc: H. Peter Anvin, linux-kernel, Dave Jones
In-Reply-To: <1039686176.25186.195.camel@pc-16.office.scali.no>

On Thu, 2002-12-12 at 10:42, Terje Eggestad wrote:

> It takes about 11 cycles on athlon, 34 on PII, and a whooping 84 on P4.
> 
> For a simple op like that, even 11 is a lot... Really makes you wonder.

wasn't rdtsc also supposed to be a pipeline sync of the cpu?
(or am I confusing it with cpuid)

^ permalink raw reply

* Re: 2.5.51 ide module problem (fwd)
From: Rusty Russell @ 2002-12-12  9:48 UTC (permalink / raw)
  To: Jeff Chua; +Cc: Adam J. Richter, Linux Kernel
In-Reply-To: <Pine.LNX.4.50.0212121419410.15261-100000@boston.corp.fedex.com>

In message <Pine.LNX.4.50.0212121419410.15261-100000@boston.corp.fedex.com> you
 write:
> 
> Rusty,
> 
> Any chance that module-init-tools-0.9.3 can be modified to stop looping
> when it detected it has repeated scanning the same module again?
> 
> I'm still having problem loading ide as a module under 2.5.51

And you will continue to.  There really is a loop, which means neither
module can be loaded (ide_dump_status is in ide.ko, and ide-io.ko wants
it, however ide.ko uses lots of things in ide-io.ko).  However, this
patch will stop depmod from crashing.

Ask the IDE people,
Rusty.
--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.

Only in module-init-tools-current/: .deps
diff -ur module-init-tools-0.9.3/ChangeLog module-init-tools-current/ChangeLog
--- module-init-tools-0.9.3/ChangeLog	2002-12-10 17:42:36.000000000 +1100
+++ module-init-tools-current/ChangeLog	2002-12-12 20:43:40.000000000 +1100
@@ -1,3 +1,6 @@
+0.9.4 Version
+o Implement primitive loop detection.
+
 0.9.3 Version
 o Fix modprobe -r ordering (tried to remove backwards) (Jim Radford's report)
 o David Brownell's extra rmmod options (modified)
diff -ur module-init-tools-0.9.3/depmod.c module-init-tools-current/depmod.c
--- module-init-tools-0.9.3/depmod.c	2002-12-09 11:14:37.000000000 +1100
+++ module-init-tools-current/depmod.c	2002-12-12 20:37:30.000000000 +1100
@@ -291,30 +291,70 @@
 	return next;
 }
 
-static void write_dep(struct module *mod, unsigned int skipchars, FILE *out)
+static char *basename(char *name)
+{
+	char *base = strrchr(name, '/');
+	if (base) return base + 1;
+	return name;
+}
+
+static void report_loop(struct module *start)
+{
+	struct module *i;
+	warn("Loop detected: %s ", start->pathname);
+
+	for (i = start->next_dep; i != start; i = i->next_dep)
+		fprintf(stderr, "needs %s ", basename(i->pathname));
+	fprintf(stderr, "which needs %s again!\n", basename(start->pathname));
+}
+
+/* Only want to report head loops, since we usually are doing all
+   modules anyway. */
+static void write_dep(struct module *start,
+		      struct module *mod, unsigned int skipchars, FILE *out)
 {
 	unsigned int i;
 
+	/* Already done this one? */
+	if (mod->next_dep) {
+		if (mod == start)
+			report_loop(start);
+		return;
+	}
+
 	for (i = 0; i < mod->num_deps; i++) {
 		fprintf(out, " %s", mod->deps[i]->pathname + skipchars);
-		write_dep(mod->deps[i], skipchars, out);
+		mod->next_dep = mod->deps[i];
+		write_dep(start, mod->deps[i], skipchars, out);
 	}
 }
 
-/* FIXME: Don't write same dep twice: order and loop detect. --RR */
+/* Unset the duplicate detection pointers. */
+/* FIXME: Order n^2 is bad.  tsort them and do something sensible when
+   loops detected. --RR */
+static void clear_deps(struct module *modules)
+{
+	struct module *i;
+
+	for (i = modules; i; i = i->next)
+		i->next_dep = NULL;
+}
+
 static void output_deps(struct module *modules,
 			unsigned int skipchars,
-			FILE *out)
+			FILE *out,
+			int verbose)
 {
 	struct module *i;
 
 	for (i = modules; i; i = i->next)
-		i->ops->calculate_deps(i);
+		i->ops->calculate_deps(i, verbose);
 
 	/* Now dump them out. */
 	for (i = modules; i; i = i->next) {
 		fprintf(out, "%s:", i->pathname + skipchars);
-		write_dep(i, skipchars, out);
+		clear_deps(modules);
+		write_dep(i, i, skipchars, out);
 		fprintf(out, "\n");
 	}
 }
@@ -361,7 +401,7 @@
 
 int main(int argc, char *argv[])
 {
-	int opt, all = 0;
+	int opt, all = 0, verbose = 0;
 	unsigned int skipchars = 0;
 	FILE *depout = NULL, *pciout, *usbout, *ccwout;
 	char *basedir = "/lib/modules", *dirname, *version;
@@ -384,8 +424,10 @@
 		case 'e':
 			/* FIXME: Implement these together */
 			break;
-		case 'u':
 		case 'v':
+			verbose = 1;
+			break;
+		case 'u':
 		case 'q':
 			/* Ignored. */
 			break;
@@ -467,7 +509,7 @@
 		list = grab_dir(dirname, list);
 	}
 
-	output_deps(list, skipchars, depout);
+	output_deps(list, skipchars, depout, verbose);
 	output_pci_table(list, pciout);
 	output_usb_table(list, usbout);
 	output_ccw_table(list, ccwout);
diff -ur module-init-tools-0.9.3/depmod.h module-init-tools-current/depmod.h
--- module-init-tools-0.9.3/depmod.h	2002-12-09 11:14:37.000000000 +1100
+++ module-init-tools-current/depmod.h	2002-12-12 20:13:13.000000000 +1100
@@ -27,6 +27,9 @@
 	unsigned int num_deps;
 	struct module **deps;
 
+	/* Set if we're doing a dependency now (duplicate detection) */
+	struct module *next_dep;
+
 	/* Tables extracted from module by ops->fetch_tables(). */
 	/* FIXME: Do other tables too --RR */
 	unsigned int pci_size;
diff -ur module-init-tools-0.9.3/moduleops.c module-init-tools-current/moduleops.c
--- module-init-tools-0.9.3/moduleops.c	2002-12-09 11:14:37.000000000 +1100
+++ module-init-tools-current/moduleops.c	2002-12-12 19:55:47.000000000 +1100
@@ -44,7 +44,7 @@
 }
 
 /* Calculate the dependencies for this module */
-static void calculate_deps32(struct module *module)
+static void calculate_deps32(struct module *module, int verbose)
 {
 	unsigned int i;
 	unsigned long size;
@@ -72,9 +72,13 @@
 				continue;
 
 			owner = find_symbol(name);
-			if (owner)
+			if (owner) {
+				if (verbose)
+					printf("%s needs \"%s\": %s\n",
+					       module->pathname, name,
+					       owner->pathname);
 				add_dep(module, owner);
-			else
+			} else
 				unknown_symbol(module, name);
 		}
 	}
@@ -164,7 +168,7 @@
 }
 
 /* Calculate the dependencies for this module */
-static void calculate_deps64(struct module *module)
+static void calculate_deps64(struct module *module, int verbose)
 {
 	unsigned int i;
 	unsigned long size;
diff -ur module-init-tools-0.9.3/moduleops.h module-init-tools-current/moduleops.h
--- module-init-tools-0.9.3/moduleops.h	2002-11-27 20:45:07.000000000 +1100
+++ module-init-tools-current/moduleops.h	2002-12-12 19:52:33.000000000 +1100
@@ -17,7 +17,7 @@
 struct module_ops
 {
 	void (*load_symbols)(struct module *module);
-	void (*calculate_deps)(struct module *module);
+	void (*calculate_deps)(struct module *module, int verbose);
 	void (*fetch_tables)(struct module *module);
 };
 

^ permalink raw reply

* Re: Intel P6 vs P7 system call performance
From: Terje Eggestad @ 2002-12-12  9:42 UTC (permalink / raw)
  To: H. Peter Anvin; +Cc: linux-kernel, Dave Jones
In-Reply-To: <3DF78911.5090107@zytor.com>

On ons, 2002-12-11 at 19:50, H. Peter Anvin wrote:
> Terje Eggestad wrote:
> 
> > 
> > PS:  rdtsc on P4 is also painfully slow!!!
> > 
> 
> Now that's just braindead...
> 

It takes about 11 cycles on athlon, 34 on PII, and a whooping 84 on P4.

For a simple op like that, even 11 is a lot... Really makes you wonder.
 

> 	-hpa

TJ

-- 
_________________________________________________________________________

Terje Eggestad                  mailto:terje.eggestad@scali.no
Scali Scalable Linux Systems    http://www.scali.com

Olaf Helsets Vei 6              tel:    +47 22 62 89 61 (OFFICE)
P.O.Box 150, Oppsal                     +47 975 31 574  (MOBILE)
N-0619 Oslo                     fax:    +47 22 62 89 51
NORWAY            
_________________________________________________________________________


^ permalink raw reply

* RE: Iptables and various domains
From: E-GIM Security @ 2002-12-12  9:34 UTC (permalink / raw)
  To: netfilter; +Cc: raymondl
In-Reply-To: <1039680872.4125.30.camel@rayw.knowledgefactory.co.za>

Thanks Raymond:

My domains are virtually hosted. Problems is the next: We have various apps
in IIS-Windows and ASP technologic. Future developments we need will be
hosted on Linux with Apache+Tomcat. But, we only use one IP number. Do you
know another solution?

Thanks a lot

> -----Mensaje original-----
> De: Raymond Leach [mailto:raymondl@knowledgefactory.co.za]
> Enviado el: jueves, 12 de diciembre de 2002 8:15
> Para: E-GIM Security
> CC: Netfilter Mailing List
> Asunto: Re: Iptables and various domains
>
>
> Hi
>
> Yes and maybe no. If your domains are virtually hosted (they resolve to
> the same ip numbers) then no. iptables cannot redirect traffic in this
> case - it uses ip numbers. You would need to use something like Apache
> virtual hosting and possibly redirect pages to accomplish your goal in
> this case.
>
> If your domains resolve to different ip numbers, then iptables can be
> your solution:
>
> iptables -t nat -A PREROUTING -d www.dom1.com -p tcp --dport 80 -j
> REDIRECT --to-destination webserver-1:80
> iptables -t nat -A PREROUTING -d www.dom2.com -p tcp --dport 80 -j
> REDIRECT --to-destination webserver-1:80
> iptables -t nat -A PREROUTING -d www.dom3.com -p tcp --dport 80 -j
> REDIRECT --to-destination webserver-2:80
> iptables -t nat -A PREROUTING -d www.dom4.com -p tcp --dport 80 -j
> REDIRECT --to-destination webserver-2:80
>
> Remember, to use iptables like above, www.dom1.com, www.dom2.com,
> www.dom3.com, www.dom4.com must resolve to different ip numbers.
>
> Ray
>
>
> On Thu, 2002-12-12 at 10:58, E-GIM Security wrote:
> > 	Hi,
> >
> > 	Can Iptables route by domains? For example, I have a
> webserver and my
> > firewall with iptables route all request on port 80 throw IP
> webserver. I
> > need add another webserver, and various domains (www.dom1.com,
www.dom2.com)
> will be redirect to webserver-1 and other domains (www.dom3.com,
> www.dom4.com) will be redirect to webserver-2. Can IPTables help me? Which
> is the solution)
>
> 	Thanks and sorry ... my english is very poor.
>
> José Antonio García García
> Technical Internet Solutions
>
> E-GIM 	+34 952700010
> http://www.e-gim.es
>
--
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(  Raymond Leach                       )
 ) Knowledge Factory                  (
(                                      )
 ) Tel: +27 11 445 8100               (
(  Fax: +27 11 445 8101                )
 )                                    (
(  http://www.knowledgefactory.co.za/  )
 ) http://www.saptg.co.za/            (
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   o                                o
    o                              o
        .--.                  .--.
       | o_o|                |o_o |
       | \_:|                |:_/ |
      / /   \\              //   \ \
     ( |     |)            (|     | )
     /`\_   _/'\          /'\_   _/`\
     \___)=(___/          \___)=(___/



^ permalink raw reply

* Re: Is this going to be true ?
From: Helge Hafting @ 2002-12-12  9:35 UTC (permalink / raw)
  To: Måns Rullgård; +Cc: linux-kernel
In-Reply-To: <yw1xbs3smtx0.fsf@gladiusit.e.kth.se>

Måns Rullgård wrote:
> 
> Herman Oosthuysen <Herman@WirelessNetworksInc.com> writes:
> 
> > MS history shows that they did and does support various flavours of
> > *nix.  So, it is not beneath them to release apps for Linux too one
> > day and it would be a good thing if they do.
> 
> Why would that be good?  People would start using their programs and
> blame Linux when they crash.

If office is the _only_ programs they use perhaps.  Otherwise, you get
"Damn, office fell over again but at least I didn't have to reboot like
before.
Why can't it just stay up like those other apps of mine?"

Helge Hafting

^ permalink raw reply

* Re: Penetration testing.
From: Blizzards @ 2002-12-12  9:30 UTC (permalink / raw)
  To: Paulo Andre; +Cc: netfilter
In-Reply-To: <1039684193.11114.59.camel@bigblue>

www.nessus.org

Bye.
G.


>I have set up a new iptables firewall and would like to test it
>throughly. Can anyone suggest some good penetration testing
>utilities/packages
>
>Thanks
>
>
>
>
>  
>





^ permalink raw reply

* Re: Question on set_page_dirty()
From: Ingo Oeser @ 2002-12-12  9:29 UTC (permalink / raw)
  To: Jan Hudec, Martin Maletinsky, linux-mm, kernelnewbies
In-Reply-To: <20021211080102.GG20525@vagabond>

Hi,

On Wed, Dec 11, 2002 at 09:01:02AM +0100, Jan Hudec wrote:
> > What is the meaning of this dirty queue, what is the effect of linking
> > a page onto that queue, and when should the set_page_dirty() function
> > be used rather than the
> > SetPageDirty() macro?
> 
> If you use the SetPageDirty macro, then the page is marked dirty, but
> kernel can't find it when it should clean it. Thus it eventualy won't
> flush the data (it won't call writepage on it).

set_page_dirty() can be used in all cases, IMHO, since it:
   - will not sleep
   - will not call the set_page_dirty() method, if page has been dirty
     before (test_and_set_XXX is atomic an guarantees to trigger
     once only)
   - will not do anything besides settingt the PG_Dirty bit,
     if the page contains no mapping, or does not contain a
     set_page_dirty_method

So if set_page_dirty() exists on a certain kernel you want to
support, it should be used in all cases. Accounting code can also
be hooked into this, if it is used properly.

Regards

Ingo Oeser
-- 
Science is what we can tell a computer. Art is everything else. --- D.E.Knuth
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

^ permalink raw reply


This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.