* [PATCH 1/3] kthread: update s390 cmm driver to use kthread @ 2006-08-24 21:22 Serge E. Hallyn 2006-08-25 8:53 ` Martin Schwidefsky 2006-08-25 14:38 ` Christoph Hellwig 0 siblings, 2 replies; 12+ messages in thread From: Serge E. Hallyn @ 2006-08-24 21:22 UTC (permalink / raw) To: lkml, schwidefsky Update the s390 cooperative memory manager, which can be a module, to use kthread rather than kernel_thread, whose EXPORT is deprecated. This patch compiles and boots fine, but I don't know how to really test the driver. Signed-off-by: Serge E. Hallyn <serue@us.ibm.com> --- arch/s390/mm/cmm.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) 7f73a7a8a72647c0bd08ba5c47e941ddf72badee diff --git a/arch/s390/mm/cmm.c b/arch/s390/mm/cmm.c index ceea51c..a4d463d 100644 --- a/arch/s390/mm/cmm.c +++ b/arch/s390/mm/cmm.c @@ -15,6 +15,7 @@ #include <linux/sched.h> #include <linux/sysctl.h> #include <linux/ctype.h> +#include <linux/kthread.h> #include <asm/pgalloc.h> #include <asm/uaccess.h> @@ -126,7 +127,6 @@ cmm_thread(void *dummy) { int rc; - daemonize("cmmthread"); while (1) { rc = wait_event_interruptible(cmm_thread_wait, (cmm_pages != cmm_pages_target || @@ -161,7 +161,7 @@ cmm_thread(void *dummy) static void cmm_start_thread(void) { - kernel_thread(cmm_thread, NULL, 0); + kthread_run(cmm_thread, NULL, "cmmthread"); } static void -- 1.1.6 ^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH 1/3] kthread: update s390 cmm driver to use kthread 2006-08-24 21:22 [PATCH 1/3] kthread: update s390 cmm driver to use kthread Serge E. Hallyn @ 2006-08-25 8:53 ` Martin Schwidefsky 2006-08-25 10:13 ` Martin Schwidefsky 2006-08-25 14:38 ` Christoph Hellwig 1 sibling, 1 reply; 12+ messages in thread From: Martin Schwidefsky @ 2006-08-25 8:53 UTC (permalink / raw) To: Serge E. Hallyn; +Cc: lkml On Thu, 2006-08-24 at 16:22 -0500, Serge E. Hallyn wrote: > This patch compiles and boots fine, but I don't know how to really > test the driver. Just tried the patch and tested cmm. Still works fine. Patch added to my "things-that-will-go-out-after-2.6.18" list of patches. -- blue skies, Martin. Martin Schwidefsky Linux for zSeries Development & Services IBM Deutschland Entwicklung GmbH "Reality continues to ruin my life." - Calvin. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/3] kthread: update s390 cmm driver to use kthread 2006-08-25 8:53 ` Martin Schwidefsky @ 2006-08-25 10:13 ` Martin Schwidefsky 2006-08-25 19:04 ` Serge E. Hallyn 0 siblings, 1 reply; 12+ messages in thread From: Martin Schwidefsky @ 2006-08-25 10:13 UTC (permalink / raw) To: Serge E. Hallyn; +Cc: lkml On Fri, 2006-08-25 at 10:53 +0200, Martin Schwidefsky wrote: > > This patch compiles and boots fine, but I don't know how to really > > test the driver. > > Just tried the patch and tested cmm. Still works fine. Patch added to my > "things-that-will-go-out-after-2.6.18" list of patches. Heiko just pointed out that this has already been fixed. His patch depends on another patch (oom-killer) and can be found in the current -mm tree. I'll drop this patch. -- blue skies, Martin. Martin Schwidefsky Linux for zSeries Development & Services IBM Deutschland Entwicklung GmbH "Reality continues to ruin my life." - Calvin. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/3] kthread: update s390 cmm driver to use kthread 2006-08-25 10:13 ` Martin Schwidefsky @ 2006-08-25 19:04 ` Serge E. Hallyn 0 siblings, 0 replies; 12+ messages in thread From: Serge E. Hallyn @ 2006-08-25 19:04 UTC (permalink / raw) To: Martin Schwidefsky; +Cc: Serge E. Hallyn, lkml, Christoph Hellwig Quoting Martin Schwidefsky (schwidefsky@de.ibm.com): > On Fri, 2006-08-25 at 10:53 +0200, Martin Schwidefsky wrote: > > > This patch compiles and boots fine, but I don't know how to really > > > test the driver. > > > > Just tried the patch and tested cmm. Still works fine. Patch added to my > > "things-that-will-go-out-after-2.6.18" list of patches. > > Heiko just pointed out that this has already been fixed. His patch > depends on another patch (oom-killer) and can be found in the current > -mm tree. I'll drop this patch. Great, thanks. Do you know whether anyone is working on doing a proper update for the other two patches I submitted, as per Christoph's comments? I'd be timit about gutting those drivers to that extent on my own... thanks, -serge ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/3] kthread: update s390 cmm driver to use kthread 2006-08-24 21:22 [PATCH 1/3] kthread: update s390 cmm driver to use kthread Serge E. Hallyn 2006-08-25 8:53 ` Martin Schwidefsky @ 2006-08-25 14:38 ` Christoph Hellwig 2006-08-25 20:03 ` Serge E. Hallyn 1 sibling, 1 reply; 12+ messages in thread From: Christoph Hellwig @ 2006-08-25 14:38 UTC (permalink / raw) To: Serge E. Hallyn; +Cc: lkml, schwidefsky On Thu, Aug 24, 2006 at 04:22:42PM -0500, Serge E. Hallyn wrote: > Update the s390 cooperative memory manager, which can be a module, > to use kthread rather than kernel_thread, whose EXPORT is deprecated. > > This patch compiles and boots fine, but I don't know how to really > test the driver. NACK. Please do a real conversion to the kthread paradigm instead of doctoring around the trivial bits that could be changed with a script. Please use kthread_should_stop() and remove the cmm_thread_wait waitqueue in favour of wake_up_process. The timer useage could probably be replaced with smart usage of schedule_timeout(). Also the code seems to miss a proper thread termination on module removal. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/3] kthread: update s390 cmm driver to use kthread 2006-08-25 14:38 ` Christoph Hellwig @ 2006-08-25 20:03 ` Serge E. Hallyn 2006-08-26 6:32 ` Heiko Carstens 2006-08-28 9:00 ` Martin Schwidefsky 0 siblings, 2 replies; 12+ messages in thread From: Serge E. Hallyn @ 2006-08-25 20:03 UTC (permalink / raw) To: Christoph Hellwig, Serge E. Hallyn, lkml, schwidefsky Quoting Christoph Hellwig (hch@infradead.org): > On Thu, Aug 24, 2006 at 04:22:42PM -0500, Serge E. Hallyn wrote: > > Update the s390 cooperative memory manager, which can be a module, > > to use kthread rather than kernel_thread, whose EXPORT is deprecated. > > > > This patch compiles and boots fine, but I don't know how to really > > test the driver. > > NACK. Please do a real conversion to the kthread paradigm instead of > doctoring around the trivial bits that could be changed with a script. > > Please use kthread_should_stop() and remove the cmm_thread_wait > waitqueue in favour of wake_up_process. The timer useage could > probably be replaced with smart usage of schedule_timeout(). > Also the code seems to miss a proper thread termination on module > removal. Ok, the patch in -mm does kthread_stop() on module_exit, but still uses the timer and cmm_thread_wait. I'm not clear what the timer is actually trying to do, or why there is a separate cmm_pages_target and cmm_timed_pages_target. So I'm sure the below patch on top of -mm2 is wrong (it compiles, but I just noticed 2.6.18-rc4-mm2 doesn't boot without this patch either) but hopefully Heiko or Martin can tell me what would be the right way, or implement it? thanks, -serge Subject: [PATCH] s390: stop using cmm_thread_wait and cmm_timer in cmm Update cmm to stop using cmm_thread_wait or cmm_timer. Signed-off-by: Serge E. Hallyn <serue@us.ibm.com> --- arch/s390/mm/cmm.c | 67 +++++++++------------------------------------------- 1 files changed, 12 insertions(+), 55 deletions(-) 4182dbd937e5084db4cfd63193ff93267ea8042e diff --git a/arch/s390/mm/cmm.c b/arch/s390/mm/cmm.c index 9b62157..ecd237a 100644 --- a/arch/s390/mm/cmm.c +++ b/arch/s390/mm/cmm.c @@ -48,11 +48,6 @@ static struct cmm_page_array *cmm_timed_ static DEFINE_SPINLOCK(cmm_lock); static struct task_struct *cmm_thread_ptr; -static wait_queue_head_t cmm_thread_wait; -static struct timer_list cmm_timer; - -static void cmm_timer_fn(unsigned long); -static void cmm_set_timer(void); static long cmm_strtoul(const char *cp, char **endp) @@ -157,18 +152,10 @@ static struct notifier_block cmm_oom_nb static int cmm_thread(void *dummy) { - int rc; + while (!kthread_should_stop()) { - while (1) { - rc = wait_event_interruptible(cmm_thread_wait, - (cmm_pages != cmm_pages_target || - cmm_timed_pages != cmm_timed_pages_target || - kthread_should_stop())); - if (kthread_should_stop() || rc == -ERESTARTSYS) { - cmm_pages_target = cmm_pages; - cmm_timed_pages_target = cmm_timed_pages; + if (kthread_should_stop()) break; - } if (cmm_pages_target > cmm_pages) { if (cmm_alloc_pages(1, &cmm_pages, &cmm_page_list)) cmm_pages_target = cmm_pages; @@ -183,48 +170,19 @@ cmm_thread(void *dummy) cmm_free_pages(1, &cmm_timed_pages, &cmm_timed_page_list); } - if (cmm_timed_pages > 0 && !timer_pending(&cmm_timer)) - cmm_set_timer(); + + __set_current_state(TASK_INTERRUPTIBLE); + schedule_timeout(cmm_timeout_seconds*HZ); } + return 0; } static void cmm_kick_thread(void) { - wake_up(&cmm_thread_wait); -} - -static void -cmm_set_timer(void) -{ - if (cmm_timed_pages_target <= 0 || cmm_timeout_seconds <= 0) { - if (timer_pending(&cmm_timer)) - del_timer(&cmm_timer); - return; - } - if (timer_pending(&cmm_timer)) { - if (mod_timer(&cmm_timer, jiffies + cmm_timeout_seconds*HZ)) - return; - } - cmm_timer.function = cmm_timer_fn; - cmm_timer.data = 0; - cmm_timer.expires = jiffies + cmm_timeout_seconds*HZ; - add_timer(&cmm_timer); -} - -static void -cmm_timer_fn(unsigned long ignored) -{ - long nr; - - nr = cmm_timed_pages_target - cmm_timeout_pages; - if (nr < 0) - cmm_timed_pages_target = 0; - else - cmm_timed_pages_target = nr; - cmm_kick_thread(); - cmm_set_timer(); + if (cmm_thread_ptr) + wake_up_process(cmm_thread_ptr); } void @@ -258,7 +216,6 @@ cmm_set_timeout(long nr, long seconds) { cmm_timeout_pages = nr; cmm_timeout_seconds = seconds; - cmm_set_timer(); } static inline int @@ -450,12 +407,12 @@ cmm_init (void) rc = register_oom_notifier(&cmm_oom_nb); if (rc < 0) goto out_oom_notify; - init_waitqueue_head(&cmm_thread_wait); - init_timer(&cmm_timer); cmm_thread_ptr = kthread_run(cmm_thread, NULL, "cmmthread"); - rc = IS_ERR(cmm_thread_ptr) ? PTR_ERR(cmm_thread_ptr) : 0; - if (!rc) + if (IS_ERR(cmm_thread_ptr)) { + rc = PTR_ERR(cmm_thread_ptr); + cmm_thread_ptr = NULL; goto out; + } /* * kthread_create failed. undo all the stuff from above again. */ -- 1.1.6 ^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH 1/3] kthread: update s390 cmm driver to use kthread 2006-08-25 20:03 ` Serge E. Hallyn @ 2006-08-26 6:32 ` Heiko Carstens 2006-08-27 18:51 ` Serge E. Hallyn 2006-08-28 9:00 ` Martin Schwidefsky 1 sibling, 1 reply; 12+ messages in thread From: Heiko Carstens @ 2006-08-26 6:32 UTC (permalink / raw) To: Serge E. Hallyn; +Cc: Christoph Hellwig, lkml, schwidefsky > below patch on top of -mm2 is wrong (it compiles, but I just noticed > 2.6.18-rc4-mm2 doesn't boot without this patch either) but hopefully 2.6.18-rc4-mm2 works fine for me. What configuration and machine setup did you use? ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/3] kthread: update s390 cmm driver to use kthread 2006-08-26 6:32 ` Heiko Carstens @ 2006-08-27 18:51 ` Serge E. Hallyn 2006-08-28 8:30 ` Martin Schwidefsky 2006-08-28 13:37 ` Heiko Carstens 0 siblings, 2 replies; 12+ messages in thread From: Serge E. Hallyn @ 2006-08-27 18:51 UTC (permalink / raw) To: Heiko Carstens; +Cc: Serge E. Hallyn, Christoph Hellwig, lkml, schwidefsky [-- Attachment #1: Type: text/plain, Size: 509 bytes --] Quoting Heiko Carstens (heiko.carstens@de.ibm.com): > > below patch on top of -mm2 is wrong (it compiles, but I just noticed > > 2.6.18-rc4-mm2 doesn't boot without this patch either) but hopefully > > 2.6.18-rc4-mm2 works fine for me. What configuration and machine setup did > you use? Hmm, with my standard config it actually boots. It fails when I turn off module support. The guilty config is attached, as well as the config that boots, and the output when it crashes with the guilty config. -serge [-- Attachment #2: config-guilty --] [-- Type: text/plain, Size: 14824 bytes --] # # Automatically generated make config: don't edit # Linux kernel version: 2.6.18-rc4-mm2 # Sun Aug 27 14:36:43 2006 # CONFIG_MMU=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_S390=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # Code maturity level options # CONFIG_EXPERIMENTAL=y CONFIG_LOCK_KERNEL=y CONFIG_INIT_ENV_ARG_LIMIT=32 # # General setup # CONFIG_LOCALVERSION="" CONFIG_LOCALVERSION_AUTO=y CONFIG_SWAP=y CONFIG_SWAP_PREFETCH=y CONFIG_SYSVIPC=y # CONFIG_IPC_NS is not set CONFIG_POSIX_MQUEUE=y # CONFIG_BSD_PROCESS_ACCT is not set # CONFIG_TASKSTATS is not set CONFIG_SYSCTL=y # CONFIG_SYSCTL_SYSCALL is not set # CONFIG_UTS_NS is not set CONFIG_AUDIT=y # CONFIG_AUDITSYSCALL is not set CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y # CONFIG_CPUSETS is not set # CONFIG_RELAY is not set CONFIG_INITRAMFS_SOURCE="" CONFIG_CC_OPTIMIZE_FOR_SIZE=y # CONFIG_EMBEDDED is not set CONFIG_KALLSYMS=y # CONFIG_KALLSYMS_ALL is not set # CONFIG_KALLSYMS_EXTRA_PASS is not set CONFIG_HOTPLUG=y CONFIG_PRINTK=y CONFIG_BUG=y CONFIG_ELF_CORE=y CONFIG_BASE_FULL=y CONFIG_RT_MUTEXES=y CONFIG_FUTEX=y CONFIG_EPOLL=y CONFIG_SHMEM=y CONFIG_SLAB=y CONFIG_VM_EVENT_COUNTERS=y # CONFIG_TINY_SHMEM is not set CONFIG_BASE_SMALL=0 # CONFIG_SLOB is not set # # Loadable module support # # CONFIG_MODULES is not set CONFIG_STOP_MACHINE=y # # Block layer # # CONFIG_BLK_DEV_IO_TRACE is not set # # IO Schedulers # CONFIG_IOSCHED_NOOP=y CONFIG_IOSCHED_AS=y CONFIG_IOSCHED_DEADLINE=y CONFIG_IOSCHED_CFQ=y CONFIG_DEFAULT_AS=y # CONFIG_DEFAULT_DEADLINE is not set # CONFIG_DEFAULT_CFQ is not set # CONFIG_DEFAULT_NOOP is not set CONFIG_DEFAULT_IOSCHED="anticipatory" # # Base setup # # # Processor type and features # CONFIG_64BIT=y CONFIG_SMP=y CONFIG_NR_CPUS=4 CONFIG_HOTPLUG_CPU=y CONFIG_DEFAULT_MIGRATION_COST=1000000 CONFIG_COMPAT=y CONFIG_SYSVIPC_COMPAT=y # # Code generation options # # CONFIG_MARCH_G5 is not set CONFIG_MARCH_Z900=y # CONFIG_MARCH_Z990 is not set CONFIG_PACK_STACK=y # CONFIG_SMALL_STACK is not set CONFIG_CHECK_STACK=y CONFIG_STACK_GUARD=256 # CONFIG_WARN_STACK is not set CONFIG_SELECT_MEMORY_MODEL=y CONFIG_FLATMEM_MANUAL=y # CONFIG_DISCONTIGMEM_MANUAL is not set # CONFIG_SPARSEMEM_MANUAL is not set CONFIG_FLATMEM=y CONFIG_FLAT_NODE_MEM_MAP=y # CONFIG_SPARSEMEM_STATIC is not set CONFIG_SPLIT_PTLOCK_CPUS=4 CONFIG_RESOURCES_64BIT=y CONFIG_ADAPTIVE_READAHEAD=y # CONFIG_READAHEAD_ALLOW_OVERHEADS is not set # # I/O subsystem configuration # CONFIG_MACHCHK_WARNING=y CONFIG_QDIO=y # CONFIG_QDIO_PERF_STATS is not set # CONFIG_QDIO_DEBUG is not set # # Misc # CONFIG_PREEMPT=y CONFIG_IPL=y # CONFIG_IPL_TAPE is not set CONFIG_IPL_VM=y CONFIG_BINFMT_ELF=y CONFIG_BINFMT_MISC=y # CONFIG_PROCESS_DEBUG is not set CONFIG_PFAULT=y # CONFIG_SHARED_KERNEL is not set # CONFIG_CMM is not set CONFIG_VIRT_TIMER=y CONFIG_VIRT_CPU_ACCOUNTING=y # CONFIG_APPLDATA_BASE is not set CONFIG_NO_IDLE_HZ=y CONFIG_NO_IDLE_HZ_INIT=y CONFIG_S390_HYPFS_FS=y # CONFIG_KEXEC is not set # # Networking # CONFIG_NET=y # # Networking options # # CONFIG_NETDEBUG is not set CONFIG_PACKET=y # CONFIG_PACKET_MMAP is not set CONFIG_UNIX=y CONFIG_XFRM=y # CONFIG_XFRM_USER is not set CONFIG_NET_KEY=y CONFIG_INET=y CONFIG_IP_MULTICAST=y # CONFIG_IP_ADVANCED_ROUTER is not set CONFIG_IP_FIB_HASH=y # CONFIG_IP_PNP is not set # CONFIG_NET_IPIP is not set # CONFIG_NET_IPGRE is not set # CONFIG_IP_MROUTE is not set # CONFIG_ARPD is not set # CONFIG_SYN_COOKIES is not set # CONFIG_INET_AH is not set # CONFIG_INET_ESP is not set # CONFIG_INET_IPCOMP is not set # CONFIG_INET_XFRM_TUNNEL is not set # CONFIG_INET_TUNNEL is not set CONFIG_INET_XFRM_MODE_TRANSPORT=y CONFIG_INET_XFRM_MODE_TUNNEL=y CONFIG_INET_DIAG=y CONFIG_INET_TCP_DIAG=y # CONFIG_TCP_CONG_ADVANCED is not set CONFIG_TCP_CONG_BIC=y CONFIG_IPV6=y # CONFIG_IPV6_PRIVACY is not set # CONFIG_IPV6_ROUTER_PREF is not set # CONFIG_INET6_AH is not set # CONFIG_INET6_ESP is not set # CONFIG_INET6_IPCOMP is not set # CONFIG_INET6_XFRM_TUNNEL is not set # CONFIG_INET6_TUNNEL is not set CONFIG_INET6_XFRM_MODE_TRANSPORT=y CONFIG_INET6_XFRM_MODE_TUNNEL=y # CONFIG_IPV6_TUNNEL is not set # CONFIG_IPV6_MULTIPLE_TABLES is not set # CONFIG_NETWORK_SECMARK is not set # CONFIG_NETFILTER is not set # # DCCP Configuration (EXPERIMENTAL) # # CONFIG_IP_DCCP is not set # # SCTP Configuration (EXPERIMENTAL) # # CONFIG_IP_SCTP is not set # # TIPC Configuration (EXPERIMENTAL) # # CONFIG_TIPC is not set # CONFIG_ATM is not set # CONFIG_BRIDGE is not set # CONFIG_VLAN_8021Q is not set # CONFIG_DECNET is not set # CONFIG_LLC2 is not set # CONFIG_IPX is not set # CONFIG_ATALK 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 # # QoS and/or fair queueing # CONFIG_NET_SCHED=y CONFIG_NET_SCH_CLK_JIFFIES=y # CONFIG_NET_SCH_CLK_GETTIMEOFDAY is not set # CONFIG_NET_SCH_CLK_CPU is not set # # Queueing/Scheduling # CONFIG_NET_SCH_CBQ=y # CONFIG_NET_SCH_HTB is not set # CONFIG_NET_SCH_HFSC is not set CONFIG_NET_SCH_PRIO=y CONFIG_NET_SCH_RED=y CONFIG_NET_SCH_SFQ=y CONFIG_NET_SCH_TEQL=y CONFIG_NET_SCH_TBF=y CONFIG_NET_SCH_GRED=y CONFIG_NET_SCH_DSMARK=y # CONFIG_NET_SCH_NETEM is not set # CONFIG_NET_SCH_INGRESS is not set # # Classification # CONFIG_NET_CLS=y # CONFIG_NET_CLS_BASIC is not set CONFIG_NET_CLS_TCINDEX=y CONFIG_NET_CLS_ROUTE4=y CONFIG_NET_CLS_ROUTE=y CONFIG_NET_CLS_FW=y CONFIG_NET_CLS_U32=y # CONFIG_CLS_U32_PERF is not set CONFIG_NET_CLS_RSVP=y CONFIG_NET_CLS_RSVP6=y # CONFIG_NET_EMATCH is not set # CONFIG_NET_CLS_ACT is not set CONFIG_NET_CLS_POLICE=y # CONFIG_NET_CLS_IND is not set CONFIG_NET_ESTIMATOR=y # # Network testing # # CONFIG_NET_PKTGEN is not set # CONFIG_HAMRADIO is not set # CONFIG_IRDA is not set # CONFIG_BT is not set # CONFIG_IEEE80211 is not set # CONFIG_PCMCIA is not set # # Generic Driver Options # CONFIG_STANDALONE=y CONFIG_PREVENT_FIRMWARE_BUILD=y # CONFIG_FW_LOADER is not set # CONFIG_DEBUG_DRIVER is not set CONFIG_SYS_HYPERVISOR=y # # Connector - unified userspace <-> kernelspace linker # # CONFIG_CONNECTOR is not set # # SCSI device support # # CONFIG_RAID_ATTRS is not set CONFIG_SCSI=y # CONFIG_SCSI_TGT is not set CONFIG_SCSI_PROC_FS=y # # SCSI support type (disk, tape, CD-ROM) # CONFIG_BLK_DEV_SD=y CONFIG_CHR_DEV_ST=y # CONFIG_CHR_DEV_OSST is not set CONFIG_BLK_DEV_SR=y CONFIG_BLK_DEV_SR_VENDOR=y CONFIG_CHR_DEV_SG=y # CONFIG_CHR_DEV_SCH is not set # # Some SCSI devices (e.g. CD jukebox) support multiple LUNs # CONFIG_SCSI_MULTI_LUN=y CONFIG_SCSI_CONSTANTS=y CONFIG_SCSI_LOGGING=y # # SCSI Transports # # CONFIG_SCSI_SPI_ATTRS is not set CONFIG_SCSI_FC_ATTRS=y # CONFIG_SCSI_ISCSI_ATTRS is not set # CONFIG_SCSI_SAS_ATTRS is not set # CONFIG_SCSI_SAS_LIBSAS is not set # # SCSI low-level drivers # # CONFIG_ISCSI_TCP is not set # CONFIG_SCSI_DEBUG is not set CONFIG_ZFCP=y # CONFIG_SCSI_SRP is not set CONFIG_CCW=y # # Block devices # # CONFIG_BLK_DEV_COW_COMMON is not set CONFIG_BLK_DEV_LOOP=y # CONFIG_BLK_DEV_CRYPTOLOOP is not set CONFIG_BLK_DEV_NBD=y CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_COUNT=16 CONFIG_BLK_DEV_RAM_SIZE=4096 CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 CONFIG_BLK_DEV_INITRD=y # CONFIG_CDROM_PKTCDVD is not set # # S/390 block device drivers # CONFIG_BLK_DEV_XPRAM=y # CONFIG_DCSSBLK is not set CONFIG_DASD=y CONFIG_DASD_PROFILE=y CONFIG_DASD_ECKD=y CONFIG_DASD_FBA=y # CONFIG_DASD_DIAG is not set # CONFIG_DASD_EER is not set # CONFIG_ATA_OVER_ETH is not set # # Multi-device support (RAID and LVM) # CONFIG_MD=y CONFIG_BLK_DEV_MD=y CONFIG_MD_LINEAR=y CONFIG_MD_RAID0=y CONFIG_MD_RAID1=y # CONFIG_MD_RAID10 is not set # CONFIG_MD_RAID456 is not set CONFIG_MD_MULTIPATH=y # CONFIG_MD_FAULTY is not set # CONFIG_BLK_DEV_DM is not set # # Character device drivers # CONFIG_UNIX98_PTYS=y CONFIG_UNIX98_PTY_COUNT=2048 # CONFIG_HANGCHECK_TIMER is not set # # Watchdog Cards # # CONFIG_WATCHDOG is not set # # S/390 character device drivers # CONFIG_TN3270=y CONFIG_TN3270_TTY=y CONFIG_TN3270_FS=y CONFIG_TN3270_CONSOLE=y CONFIG_TN3215=y CONFIG_TN3215_CONSOLE=y CONFIG_CCW_CONSOLE=y CONFIG_SCLP=y CONFIG_SCLP_TTY=y CONFIG_SCLP_CONSOLE=y # CONFIG_SCLP_VT220_TTY is not set CONFIG_SCLP_CPI=y CONFIG_S390_TAPE=y # # S/390 tape interface support # CONFIG_S390_TAPE_BLOCK=y # # S/390 tape hardware support # CONFIG_S390_TAPE_34XX=y # CONFIG_S390_TAPE_3590 is not set # CONFIG_VMLOGRDR is not set # CONFIG_VMCP is not set # CONFIG_MONREADER is not set # # Cryptographic devices # CONFIG_ZCRYPT=y # CONFIG_ZCRYPT_MONOLITHIC is not set # # Network device support # CONFIG_NETDEVICES=y CONFIG_DUMMY=y CONFIG_BONDING=y CONFIG_EQUALIZER=y CONFIG_TUN=y # # PHY device support # # # Ethernet (10 or 100Mbit) # CONFIG_NET_ETHERNET=y # CONFIG_MII is not set # # Ethernet (1000 Mbit) # # # Ethernet (10000 Mbit) # # # Token Ring devices # # CONFIG_TR is not set # # Wireless LAN (non-hamradio) # # CONFIG_NET_RADIO is not set # # Wan interfaces # # CONFIG_WAN is not set # # S/390 network device drivers # CONFIG_LCS=y CONFIG_CTC=y CONFIG_IUCV=y # CONFIG_NETIUCV is not set # CONFIG_SMSGIUCV is not set # CONFIG_CLAW is not set CONFIG_QETH=y # # Gigabit Ethernet default settings # # CONFIG_QETH_IPV6 is not set # CONFIG_QETH_PERF_STATS is not set CONFIG_CCWGROUP=y # CONFIG_PPP is not set # CONFIG_SLIP is not set # CONFIG_SHAPER is not set # CONFIG_NETCONSOLE is not set # CONFIG_NETPOLL is not set # CONFIG_NET_POLL_CONTROLLER is not set # # File systems # CONFIG_EXT2_FS=y # CONFIG_EXT2_FS_XATTR is not set # CONFIG_EXT2_FS_XIP is not set CONFIG_EXT3_FS=y CONFIG_EXT3_FS_XATTR=y # CONFIG_EXT3_FS_POSIX_ACL is not set # CONFIG_EXT3_FS_SECURITY is not set CONFIG_JBD=y # CONFIG_JBD_DEBUG is not set CONFIG_FS_MBCACHE=y # CONFIG_REISER4_FS is not set # CONFIG_REISERFS_FS is not set # CONFIG_JFS_FS is not set # CONFIG_FS_POSIX_ACL is not set # CONFIG_XFS_FS is not set # CONFIG_GFS2_FS is not set # CONFIG_OCFS2_FS is not set # CONFIG_MINIX_FS is not set # CONFIG_ROMFS_FS is not set CONFIG_INOTIFY=y CONFIG_INOTIFY_USER=y # CONFIG_QUOTA is not set CONFIG_DNOTIFY=y # CONFIG_AUTOFS_FS is not set # CONFIG_AUTOFS4_FS is not set # CONFIG_FUSE_FS is not set # # Caches # # CONFIG_FSCACHE is not set # # CD-ROM/DVD Filesystems # # CONFIG_ISO9660_FS is not set # CONFIG_UDF_FS is not set # # DOS/FAT/NT Filesystems # # CONFIG_MSDOS_FS is not set # CONFIG_VFAT_FS is not set # CONFIG_NTFS_FS is not set # # Pseudo filesystems # CONFIG_PROC_FS=y CONFIG_PROC_KCORE=y CONFIG_PROC_SYSCTL=y CONFIG_SYSFS=y CONFIG_TMPFS=y # CONFIG_HUGETLB_PAGE is not set CONFIG_RAMFS=y # CONFIG_CONFIGFS_FS is not set # # Miscellaneous filesystems # # CONFIG_ADFS_FS is not set # CONFIG_AFFS_FS is not set # CONFIG_HFS_FS is not set # CONFIG_HFSPLUS_FS is not set # CONFIG_BEFS_FS is not set # CONFIG_BFS_FS is not set # CONFIG_EFS_FS is not set # CONFIG_CRAMFS is not set # CONFIG_VXFS_FS is not set # CONFIG_HPFS_FS is not set # CONFIG_QNX4FS_FS is not set # CONFIG_SYSV_FS is not set # CONFIG_UFS_FS is not set # # Network File Systems # CONFIG_NFS_FS=y CONFIG_NFS_V3=y # CONFIG_NFS_V3_ACL is not set # CONFIG_NFS_V4 is not set # CONFIG_NFS_DIRECTIO is not set CONFIG_NFSD=y CONFIG_NFSD_V3=y # CONFIG_NFSD_V3_ACL is not set # CONFIG_NFSD_V4 is not set CONFIG_NFSD_TCP=y CONFIG_LOCKD=y CONFIG_LOCKD_V4=y CONFIG_EXPORTFS=y CONFIG_NFS_COMMON=y CONFIG_SUNRPC=y # CONFIG_RPCSEC_GSS_KRB5 is not set # CONFIG_RPCSEC_GSS_SPKM3 is not set # CONFIG_SMB_FS is not set # CONFIG_CIFS is not set # CONFIG_NCP_FS is not set # CONFIG_CODA_FS is not set # CONFIG_AFS_FS is not set # CONFIG_9P_FS is not set # # Partition Types # CONFIG_PARTITION_ADVANCED=y # CONFIG_ACORN_PARTITION is not set # CONFIG_OSF_PARTITION is not set # CONFIG_AMIGA_PARTITION is not set # CONFIG_ATARI_PARTITION is not set CONFIG_IBM_PARTITION=y # CONFIG_MAC_PARTITION is not set CONFIG_MSDOS_PARTITION=y # CONFIG_BSD_DISKLABEL is not set # CONFIG_MINIX_SUBPARTITION is not set # CONFIG_SOLARIS_X86_PARTITION is not set # CONFIG_UNIXWARE_DISKLABEL is not set # CONFIG_LDM_PARTITION is not set # CONFIG_SGI_PARTITION is not set # CONFIG_ULTRIX_PARTITION is not set # CONFIG_SUN_PARTITION is not set # CONFIG_KARMA_PARTITION is not set # CONFIG_EFI_PARTITION is not set # # Native Language Support # # CONFIG_NLS is not set # # Distributed Lock Manager # # # Instrumentation Support # # CONFIG_PROFILING is not set # # Kernel hacking # CONFIG_TRACE_IRQFLAGS_SUPPORT=y # CONFIG_PRINTK_TIME is not set CONFIG_ENABLE_MUST_CHECK=y CONFIG_MAGIC_SYSRQ=y # CONFIG_UNUSED_SYMBOLS is not set CONFIG_DEBUG_KERNEL=y CONFIG_LOG_BUF_SHIFT=17 CONFIG_DETECT_SOFTLOCKUP=y # CONFIG_SCHEDSTATS is not set # CONFIG_DEBUG_SLAB is not set CONFIG_DEBUG_PREEMPT=y # CONFIG_DEBUG_RT_MUTEXES is not set # CONFIG_RT_MUTEX_TESTER is not set # CONFIG_DEBUG_SPINLOCK is not set # CONFIG_DEBUG_MUTEXES is not set # CONFIG_DEBUG_RWSEMS is not set # CONFIG_DEBUG_LOCK_ALLOC is not set # CONFIG_PROVE_LOCKING is not set # CONFIG_DEBUG_SPINLOCK_SLEEP is not set # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set # CONFIG_DEBUG_KOBJECT is not set # CONFIG_DEBUG_INFO is not set # CONFIG_DEBUG_FS is not set # CONFIG_DEBUG_VM is not set # CONFIG_DEBUG_LIST is not set CONFIG_FRAME_POINTER=y # CONFIG_UNWIND_INFO is not set # CONFIG_PROFILE_LIKELY is not set CONFIG_FORCED_INLINING=y # CONFIG_DEBUG_SYNCHRO_TEST is not set # CONFIG_RCU_TORTURE_TEST is not set # # Security options # # CONFIG_KEYS is not set # CONFIG_SECURITY is not set # # Cryptographic options # CONFIG_CRYPTO=y CONFIG_CRYPTO_ALGAPI=y CONFIG_CRYPTO_BLKCIPHER=y CONFIG_CRYPTO_MANAGER=y # CONFIG_CRYPTO_HMAC is not set # CONFIG_CRYPTO_NULL is not set # CONFIG_CRYPTO_MD4 is not set # CONFIG_CRYPTO_MD5 is not set # CONFIG_CRYPTO_SHA1 is not set # CONFIG_CRYPTO_SHA1_S390 is not set # CONFIG_CRYPTO_SHA256 is not set # CONFIG_CRYPTO_SHA256_S390 is not set # CONFIG_CRYPTO_SHA512 is not set # CONFIG_CRYPTO_WP512 is not set # CONFIG_CRYPTO_TGR192 is not set CONFIG_CRYPTO_ECB=y CONFIG_CRYPTO_CBC=y # CONFIG_CRYPTO_DES is not set # CONFIG_CRYPTO_DES_S390 is not set # CONFIG_CRYPTO_BLOWFISH is not set # CONFIG_CRYPTO_TWOFISH is not set # CONFIG_CRYPTO_SERPENT is not set # CONFIG_CRYPTO_AES is not set # CONFIG_CRYPTO_AES_S390 is not set # CONFIG_CRYPTO_CAST5 is not set # CONFIG_CRYPTO_CAST6 is not set # CONFIG_CRYPTO_TEA is not set # CONFIG_CRYPTO_ARC4 is not set # CONFIG_CRYPTO_KHAZAD is not set # CONFIG_CRYPTO_ANUBIS is not set # CONFIG_CRYPTO_DEFLATE is not set # CONFIG_CRYPTO_MICHAEL_MIC is not set # CONFIG_CRYPTO_CRC32C is not set # # Hardware crypto devices # # # Library routines # # CONFIG_CRC_CCITT is not set # CONFIG_CRC16 is not set CONFIG_CRC32=y # CONFIG_LIBCRC32C is not set CONFIG_PLIST=y [-- Attachment #3: config-good --] [-- Type: text/plain, Size: 15013 bytes --] # # Automatically generated make config: don't edit # Linux kernel version: 2.6.18-rc4-mm2 # Sun Aug 27 14:44:07 2006 # CONFIG_MMU=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_S390=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # Code maturity level options # CONFIG_EXPERIMENTAL=y CONFIG_LOCK_KERNEL=y CONFIG_INIT_ENV_ARG_LIMIT=32 # # General setup # CONFIG_LOCALVERSION="" CONFIG_LOCALVERSION_AUTO=y CONFIG_SWAP=y CONFIG_SWAP_PREFETCH=y CONFIG_SYSVIPC=y # CONFIG_IPC_NS is not set CONFIG_POSIX_MQUEUE=y # CONFIG_BSD_PROCESS_ACCT is not set # CONFIG_TASKSTATS is not set CONFIG_SYSCTL=y # CONFIG_SYSCTL_SYSCALL is not set # CONFIG_UTS_NS is not set CONFIG_AUDIT=y # CONFIG_AUDITSYSCALL is not set CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y # CONFIG_CPUSETS is not set # CONFIG_RELAY is not set CONFIG_INITRAMFS_SOURCE="" CONFIG_CC_OPTIMIZE_FOR_SIZE=y # CONFIG_EMBEDDED is not set CONFIG_KALLSYMS=y # CONFIG_KALLSYMS_ALL is not set # CONFIG_KALLSYMS_EXTRA_PASS is not set CONFIG_HOTPLUG=y CONFIG_PRINTK=y CONFIG_BUG=y CONFIG_ELF_CORE=y CONFIG_BASE_FULL=y CONFIG_RT_MUTEXES=y CONFIG_FUTEX=y CONFIG_EPOLL=y CONFIG_SHMEM=y CONFIG_SLAB=y CONFIG_VM_EVENT_COUNTERS=y # CONFIG_TINY_SHMEM is not set CONFIG_BASE_SMALL=0 # CONFIG_SLOB is not set # # Loadable module support # CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y # CONFIG_MODULE_FORCE_UNLOAD is not set CONFIG_MODVERSIONS=y # CONFIG_MODULE_SRCVERSION_ALL is not set CONFIG_KMOD=y CONFIG_STOP_MACHINE=y # # Block layer # # CONFIG_BLK_DEV_IO_TRACE is not set # # IO Schedulers # CONFIG_IOSCHED_NOOP=y CONFIG_IOSCHED_AS=y CONFIG_IOSCHED_DEADLINE=y CONFIG_IOSCHED_CFQ=y CONFIG_DEFAULT_AS=y # CONFIG_DEFAULT_DEADLINE is not set # CONFIG_DEFAULT_CFQ is not set # CONFIG_DEFAULT_NOOP is not set CONFIG_DEFAULT_IOSCHED="anticipatory" # # Base setup # # # Processor type and features # CONFIG_64BIT=y CONFIG_SMP=y CONFIG_NR_CPUS=4 CONFIG_HOTPLUG_CPU=y CONFIG_DEFAULT_MIGRATION_COST=1000000 CONFIG_COMPAT=y CONFIG_SYSVIPC_COMPAT=y # # Code generation options # # CONFIG_MARCH_G5 is not set CONFIG_MARCH_Z900=y # CONFIG_MARCH_Z990 is not set CONFIG_PACK_STACK=y # CONFIG_SMALL_STACK is not set CONFIG_CHECK_STACK=y CONFIG_STACK_GUARD=256 # CONFIG_WARN_STACK is not set CONFIG_SELECT_MEMORY_MODEL=y CONFIG_FLATMEM_MANUAL=y # CONFIG_DISCONTIGMEM_MANUAL is not set # CONFIG_SPARSEMEM_MANUAL is not set CONFIG_FLATMEM=y CONFIG_FLAT_NODE_MEM_MAP=y # CONFIG_SPARSEMEM_STATIC is not set CONFIG_SPLIT_PTLOCK_CPUS=4 CONFIG_RESOURCES_64BIT=y CONFIG_ADAPTIVE_READAHEAD=y # CONFIG_READAHEAD_ALLOW_OVERHEADS is not set # # I/O subsystem configuration # CONFIG_MACHCHK_WARNING=y CONFIG_QDIO=y # CONFIG_QDIO_PERF_STATS is not set # CONFIG_QDIO_DEBUG is not set # # Misc # CONFIG_PREEMPT=y CONFIG_IPL=y # CONFIG_IPL_TAPE is not set CONFIG_IPL_VM=y CONFIG_BINFMT_ELF=y CONFIG_BINFMT_MISC=m # CONFIG_PROCESS_DEBUG is not set CONFIG_PFAULT=y # CONFIG_SHARED_KERNEL is not set # CONFIG_CMM is not set CONFIG_VIRT_TIMER=y CONFIG_VIRT_CPU_ACCOUNTING=y # CONFIG_APPLDATA_BASE is not set CONFIG_NO_IDLE_HZ=y CONFIG_NO_IDLE_HZ_INIT=y CONFIG_S390_HYPFS_FS=y # CONFIG_KEXEC is not set # # Networking # CONFIG_NET=y # # Networking options # # CONFIG_NETDEBUG is not set CONFIG_PACKET=y # CONFIG_PACKET_MMAP is not set CONFIG_UNIX=y CONFIG_XFRM=y # CONFIG_XFRM_USER is not set CONFIG_NET_KEY=y CONFIG_INET=y CONFIG_IP_MULTICAST=y # CONFIG_IP_ADVANCED_ROUTER is not set CONFIG_IP_FIB_HASH=y # CONFIG_IP_PNP is not set # CONFIG_NET_IPIP is not set # CONFIG_NET_IPGRE is not set # CONFIG_IP_MROUTE is not set # CONFIG_ARPD is not set # CONFIG_SYN_COOKIES is not set # CONFIG_INET_AH is not set # CONFIG_INET_ESP is not set # CONFIG_INET_IPCOMP is not set # CONFIG_INET_XFRM_TUNNEL is not set # CONFIG_INET_TUNNEL is not set CONFIG_INET_XFRM_MODE_TRANSPORT=y CONFIG_INET_XFRM_MODE_TUNNEL=y CONFIG_INET_DIAG=y CONFIG_INET_TCP_DIAG=y # CONFIG_TCP_CONG_ADVANCED is not set CONFIG_TCP_CONG_BIC=y CONFIG_IPV6=y # CONFIG_IPV6_PRIVACY is not set # CONFIG_IPV6_ROUTER_PREF is not set # CONFIG_INET6_AH is not set # CONFIG_INET6_ESP is not set # CONFIG_INET6_IPCOMP is not set # CONFIG_INET6_XFRM_TUNNEL is not set # CONFIG_INET6_TUNNEL is not set CONFIG_INET6_XFRM_MODE_TRANSPORT=y CONFIG_INET6_XFRM_MODE_TUNNEL=y # CONFIG_IPV6_TUNNEL is not set # CONFIG_IPV6_MULTIPLE_TABLES is not set # CONFIG_NETWORK_SECMARK is not set # CONFIG_NETFILTER is not set # # DCCP Configuration (EXPERIMENTAL) # # CONFIG_IP_DCCP is not set # # SCTP Configuration (EXPERIMENTAL) # # CONFIG_IP_SCTP is not set # # TIPC Configuration (EXPERIMENTAL) # # CONFIG_TIPC is not set # CONFIG_ATM is not set # CONFIG_BRIDGE is not set # CONFIG_VLAN_8021Q is not set # CONFIG_DECNET is not set # CONFIG_LLC2 is not set # CONFIG_IPX is not set # CONFIG_ATALK 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 # # QoS and/or fair queueing # CONFIG_NET_SCHED=y CONFIG_NET_SCH_CLK_JIFFIES=y # CONFIG_NET_SCH_CLK_GETTIMEOFDAY is not set # CONFIG_NET_SCH_CLK_CPU is not set # # Queueing/Scheduling # CONFIG_NET_SCH_CBQ=m # CONFIG_NET_SCH_HTB is not set # CONFIG_NET_SCH_HFSC is not set 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_NETEM is not set # CONFIG_NET_SCH_INGRESS is not set # # Classification # CONFIG_NET_CLS=y # CONFIG_NET_CLS_BASIC is not set CONFIG_NET_CLS_TCINDEX=m CONFIG_NET_CLS_ROUTE4=m CONFIG_NET_CLS_ROUTE=y CONFIG_NET_CLS_FW=m CONFIG_NET_CLS_U32=m # CONFIG_CLS_U32_PERF is not set CONFIG_NET_CLS_RSVP=m CONFIG_NET_CLS_RSVP6=m # CONFIG_NET_EMATCH is not set # CONFIG_NET_CLS_ACT is not set CONFIG_NET_CLS_POLICE=y # CONFIG_NET_CLS_IND is not set CONFIG_NET_ESTIMATOR=y # # Network testing # # CONFIG_NET_PKTGEN is not set # CONFIG_HAMRADIO is not set # CONFIG_IRDA is not set # CONFIG_BT is not set # CONFIG_IEEE80211 is not set # CONFIG_PCMCIA is not set # # Generic Driver Options # CONFIG_STANDALONE=y CONFIG_PREVENT_FIRMWARE_BUILD=y # CONFIG_FW_LOADER is not set # CONFIG_DEBUG_DRIVER is not set CONFIG_SYS_HYPERVISOR=y # # Connector - unified userspace <-> kernelspace linker # # CONFIG_CONNECTOR is not set # # SCSI device support # # CONFIG_RAID_ATTRS is not set CONFIG_SCSI=y # CONFIG_SCSI_TGT is not set CONFIG_SCSI_PROC_FS=y # # SCSI support type (disk, tape, CD-ROM) # CONFIG_BLK_DEV_SD=y CONFIG_CHR_DEV_ST=y # CONFIG_CHR_DEV_OSST is not set CONFIG_BLK_DEV_SR=y CONFIG_BLK_DEV_SR_VENDOR=y CONFIG_CHR_DEV_SG=y # CONFIG_CHR_DEV_SCH is not set # # Some SCSI devices (e.g. CD jukebox) support multiple LUNs # CONFIG_SCSI_MULTI_LUN=y CONFIG_SCSI_CONSTANTS=y CONFIG_SCSI_LOGGING=y # # SCSI Transports # # CONFIG_SCSI_SPI_ATTRS is not set CONFIG_SCSI_FC_ATTRS=y # CONFIG_SCSI_ISCSI_ATTRS is not set # CONFIG_SCSI_SAS_ATTRS is not set # CONFIG_SCSI_SAS_LIBSAS is not set # # SCSI low-level drivers # # CONFIG_ISCSI_TCP is not set # CONFIG_SCSI_DEBUG is not set CONFIG_ZFCP=y # CONFIG_SCSI_SRP is not set CONFIG_CCW=y # # Block devices # # CONFIG_BLK_DEV_COW_COMMON is not set CONFIG_BLK_DEV_LOOP=m # CONFIG_BLK_DEV_CRYPTOLOOP is not set CONFIG_BLK_DEV_NBD=m CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_COUNT=16 CONFIG_BLK_DEV_RAM_SIZE=4096 CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 CONFIG_BLK_DEV_INITRD=y # CONFIG_CDROM_PKTCDVD is not set # # S/390 block device drivers # CONFIG_BLK_DEV_XPRAM=m # CONFIG_DCSSBLK is not set CONFIG_DASD=y CONFIG_DASD_PROFILE=y CONFIG_DASD_ECKD=y CONFIG_DASD_FBA=y # CONFIG_DASD_DIAG is not set # CONFIG_DASD_EER is not set # CONFIG_ATA_OVER_ETH is not set # # Multi-device support (RAID and LVM) # CONFIG_MD=y CONFIG_BLK_DEV_MD=y CONFIG_MD_LINEAR=m CONFIG_MD_RAID0=m CONFIG_MD_RAID1=m # CONFIG_MD_RAID10 is not set # CONFIG_MD_RAID456 is not set CONFIG_MD_MULTIPATH=m # CONFIG_MD_FAULTY is not set # CONFIG_BLK_DEV_DM is not set # # Character device drivers # CONFIG_UNIX98_PTYS=y CONFIG_UNIX98_PTY_COUNT=2048 # CONFIG_HANGCHECK_TIMER is not set # # Watchdog Cards # # CONFIG_WATCHDOG is not set # # S/390 character device drivers # CONFIG_TN3270=y CONFIG_TN3270_TTY=y CONFIG_TN3270_FS=m CONFIG_TN3270_CONSOLE=y CONFIG_TN3215=y CONFIG_TN3215_CONSOLE=y CONFIG_CCW_CONSOLE=y CONFIG_SCLP=y CONFIG_SCLP_TTY=y CONFIG_SCLP_CONSOLE=y # CONFIG_SCLP_VT220_TTY is not set CONFIG_SCLP_CPI=m CONFIG_S390_TAPE=m # # S/390 tape interface support # CONFIG_S390_TAPE_BLOCK=y # # S/390 tape hardware support # CONFIG_S390_TAPE_34XX=m # CONFIG_S390_TAPE_3590 is not set # CONFIG_VMLOGRDR is not set # CONFIG_VMCP is not set # CONFIG_MONREADER is not set # # Cryptographic devices # CONFIG_ZCRYPT=m # CONFIG_ZCRYPT_MONOLITHIC is not set # # Network device support # CONFIG_NETDEVICES=y CONFIG_DUMMY=m CONFIG_BONDING=m CONFIG_EQUALIZER=m CONFIG_TUN=m # # PHY device support # # # Ethernet (10 or 100Mbit) # CONFIG_NET_ETHERNET=y # CONFIG_MII is not set # # Ethernet (1000 Mbit) # # # Ethernet (10000 Mbit) # # # Token Ring devices # # CONFIG_TR is not set # # Wireless LAN (non-hamradio) # # CONFIG_NET_RADIO is not set # # Wan interfaces # # CONFIG_WAN is not set # # S/390 network device drivers # CONFIG_LCS=m CONFIG_CTC=m CONFIG_IUCV=m # CONFIG_NETIUCV is not set # CONFIG_SMSGIUCV is not set # CONFIG_CLAW is not set CONFIG_QETH=y # # Gigabit Ethernet default settings # # CONFIG_QETH_IPV6 is not set # CONFIG_QETH_PERF_STATS is not set CONFIG_CCWGROUP=y # CONFIG_PPP is not set # CONFIG_SLIP is not set # CONFIG_SHAPER is not set # CONFIG_NETCONSOLE is not set # CONFIG_NETPOLL is not set # CONFIG_NET_POLL_CONTROLLER is not set # # File systems # CONFIG_EXT2_FS=y # CONFIG_EXT2_FS_XATTR is not set # CONFIG_EXT2_FS_XIP is not set CONFIG_EXT3_FS=y CONFIG_EXT3_FS_XATTR=y # CONFIG_EXT3_FS_POSIX_ACL is not set # CONFIG_EXT3_FS_SECURITY is not set CONFIG_JBD=y # CONFIG_JBD_DEBUG is not set CONFIG_FS_MBCACHE=y # CONFIG_REISER4_FS is not set # CONFIG_REISERFS_FS is not set # CONFIG_JFS_FS is not set # CONFIG_FS_POSIX_ACL is not set # CONFIG_XFS_FS is not set # CONFIG_GFS2_FS is not set # CONFIG_OCFS2_FS is not set # CONFIG_MINIX_FS is not set # CONFIG_ROMFS_FS is not set CONFIG_INOTIFY=y CONFIG_INOTIFY_USER=y # CONFIG_QUOTA is not set CONFIG_DNOTIFY=y # CONFIG_AUTOFS_FS is not set # CONFIG_AUTOFS4_FS is not set # CONFIG_FUSE_FS is not set # # Caches # # CONFIG_FSCACHE is not set # # CD-ROM/DVD Filesystems # # CONFIG_ISO9660_FS is not set # CONFIG_UDF_FS is not set # # DOS/FAT/NT Filesystems # # CONFIG_MSDOS_FS is not set # CONFIG_VFAT_FS is not set # CONFIG_NTFS_FS is not set # # Pseudo filesystems # CONFIG_PROC_FS=y CONFIG_PROC_KCORE=y CONFIG_PROC_SYSCTL=y CONFIG_SYSFS=y CONFIG_TMPFS=y # CONFIG_HUGETLB_PAGE is not set CONFIG_RAMFS=y # CONFIG_CONFIGFS_FS is not set # # Miscellaneous filesystems # # CONFIG_ADFS_FS is not set # CONFIG_AFFS_FS is not set # CONFIG_HFS_FS is not set # CONFIG_HFSPLUS_FS is not set # CONFIG_BEFS_FS is not set # CONFIG_BFS_FS is not set # CONFIG_EFS_FS is not set # CONFIG_CRAMFS is not set # CONFIG_VXFS_FS is not set # CONFIG_HPFS_FS is not set # CONFIG_QNX4FS_FS is not set # CONFIG_SYSV_FS is not set # CONFIG_UFS_FS is not set # # Network File Systems # CONFIG_NFS_FS=y CONFIG_NFS_V3=y # CONFIG_NFS_V3_ACL is not set # CONFIG_NFS_V4 is not set # CONFIG_NFS_DIRECTIO is not set CONFIG_NFSD=y CONFIG_NFSD_V3=y # CONFIG_NFSD_V3_ACL is not set # CONFIG_NFSD_V4 is not set CONFIG_NFSD_TCP=y CONFIG_LOCKD=y CONFIG_LOCKD_V4=y CONFIG_EXPORTFS=y CONFIG_NFS_COMMON=y CONFIG_SUNRPC=y # CONFIG_RPCSEC_GSS_KRB5 is not set # CONFIG_RPCSEC_GSS_SPKM3 is not set # CONFIG_SMB_FS is not set # CONFIG_CIFS is not set # CONFIG_NCP_FS is not set # CONFIG_CODA_FS is not set # CONFIG_AFS_FS is not set # CONFIG_9P_FS is not set # # Partition Types # CONFIG_PARTITION_ADVANCED=y # CONFIG_ACORN_PARTITION is not set # CONFIG_OSF_PARTITION is not set # CONFIG_AMIGA_PARTITION is not set # CONFIG_ATARI_PARTITION is not set CONFIG_IBM_PARTITION=y # CONFIG_MAC_PARTITION is not set CONFIG_MSDOS_PARTITION=y # CONFIG_BSD_DISKLABEL is not set # CONFIG_MINIX_SUBPARTITION is not set # CONFIG_SOLARIS_X86_PARTITION is not set # CONFIG_UNIXWARE_DISKLABEL is not set # CONFIG_LDM_PARTITION is not set # CONFIG_SGI_PARTITION is not set # CONFIG_ULTRIX_PARTITION is not set # CONFIG_SUN_PARTITION is not set # CONFIG_KARMA_PARTITION is not set # CONFIG_EFI_PARTITION is not set # # Native Language Support # # CONFIG_NLS is not set # # Distributed Lock Manager # # # Instrumentation Support # # CONFIG_PROFILING is not set # CONFIG_KPROBES is not set # # Kernel hacking # CONFIG_TRACE_IRQFLAGS_SUPPORT=y # CONFIG_PRINTK_TIME is not set CONFIG_ENABLE_MUST_CHECK=y CONFIG_MAGIC_SYSRQ=y # CONFIG_UNUSED_SYMBOLS is not set CONFIG_DEBUG_KERNEL=y CONFIG_LOG_BUF_SHIFT=17 CONFIG_DETECT_SOFTLOCKUP=y # CONFIG_SCHEDSTATS is not set # CONFIG_DEBUG_SLAB is not set CONFIG_DEBUG_PREEMPT=y # CONFIG_DEBUG_RT_MUTEXES is not set # CONFIG_RT_MUTEX_TESTER is not set # CONFIG_DEBUG_SPINLOCK is not set # CONFIG_DEBUG_MUTEXES is not set # CONFIG_DEBUG_RWSEMS is not set # CONFIG_DEBUG_LOCK_ALLOC is not set # CONFIG_PROVE_LOCKING is not set # CONFIG_DEBUG_SPINLOCK_SLEEP is not set # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set # CONFIG_DEBUG_KOBJECT is not set # CONFIG_DEBUG_INFO is not set # CONFIG_DEBUG_FS is not set # CONFIG_DEBUG_VM is not set # CONFIG_DEBUG_LIST is not set CONFIG_FRAME_POINTER=y # CONFIG_UNWIND_INFO is not set # CONFIG_PROFILE_LIKELY is not set CONFIG_FORCED_INLINING=y # CONFIG_DEBUG_SYNCHRO_TEST is not set # CONFIG_RCU_TORTURE_TEST is not set # # Security options # # CONFIG_KEYS is not set # CONFIG_SECURITY is not set # # Cryptographic options # CONFIG_CRYPTO=y CONFIG_CRYPTO_ALGAPI=m CONFIG_CRYPTO_BLKCIPHER=m CONFIG_CRYPTO_MANAGER=m # CONFIG_CRYPTO_HMAC is not set # CONFIG_CRYPTO_NULL is not set # CONFIG_CRYPTO_MD4 is not set # CONFIG_CRYPTO_MD5 is not set # CONFIG_CRYPTO_SHA1 is not set # CONFIG_CRYPTO_SHA1_S390 is not set # CONFIG_CRYPTO_SHA256 is not set # CONFIG_CRYPTO_SHA256_S390 is not set # CONFIG_CRYPTO_SHA512 is not set # CONFIG_CRYPTO_WP512 is not set # CONFIG_CRYPTO_TGR192 is not set CONFIG_CRYPTO_ECB=m CONFIG_CRYPTO_CBC=m # CONFIG_CRYPTO_DES is not set # CONFIG_CRYPTO_DES_S390 is not set # CONFIG_CRYPTO_BLOWFISH is not set # CONFIG_CRYPTO_TWOFISH is not set # CONFIG_CRYPTO_SERPENT is not set # CONFIG_CRYPTO_AES is not set # CONFIG_CRYPTO_AES_S390 is not set # CONFIG_CRYPTO_CAST5 is not set # CONFIG_CRYPTO_CAST6 is not set # CONFIG_CRYPTO_TEA is not set # CONFIG_CRYPTO_ARC4 is not set # CONFIG_CRYPTO_KHAZAD is not set # CONFIG_CRYPTO_ANUBIS is not set # CONFIG_CRYPTO_DEFLATE is not set # CONFIG_CRYPTO_MICHAEL_MIC is not set # CONFIG_CRYPTO_CRC32C is not set # CONFIG_CRYPTO_TEST is not set # # Hardware crypto devices # # # Library routines # # CONFIG_CRC_CCITT is not set # CONFIG_CRC16 is not set CONFIG_CRC32=m # CONFIG_LIBCRC32C is not set CONFIG_PLIST=y [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #4: failed.boot.output --] [-- Type: text/plain; charset=unknown-8bit, Size: 4017 bytes --] dasda:CMS1/ SCRTCH: dasda1 dasd(eckd): 0.0.0202: 3390/0C(CU:3990/01) Cyl:200 Head:15 Sec:224 dasd(eckd): 0.0.0202: (4kB blks): 144000kB at 48kB/trk linux disk layout dasdb:CMS1/ SCRTCH: dasdb1 xpram error:expanded storage lost! xpram warning:No expanded memory available cpi: no system name specified TAPE_CHAR: tape gets major 254 for character devices TAPE_BLOCK: tape gets major 253 for block device AP instructions not installed. BUG: warning at lib/kref.c:32/kref_get() 000000000017719a 0000000000000002 0000000000000000 0000000000a03cf0 0000000000a03c68 000000000037fc2c 000000000037fc2c 0000000000015dfa 0000000000000000 0000000000000000 000000000043ac30 0000000000000000 0000000000000000 000000000000000d 0000000000a03c50 0000000000a03cc8 0000000000362488 0000000000015dfa 0000000000a03c50 0000000000a03ca0 Call Trace: (Ý<0000000000015d44>¨ show_trace+0x9c/0xb8) Ý<0000000000015e18>¨ show_stack+0xb8/0xc8 Ý<0000000000015e56>¨ dump_stack+0x2e/0x3c Ý<0000000000163f70>¨ kref_get+0x50/0x74 Ý<0000000000162ec6>¨ kobject_get+0x32/0x44 Ý<0000000000178fd6>¨ get_bus+0x36/0x60 Ý<0000000000179a12>¨ bus_add_driver+0x3a/0x1f4 Ý<000000000017ae30>¨ driver_register+0xb0/0xc0 Ý<000000000021a1fe>¨ ap_driver_register+0x56/0x64 Ý<00000000004c6ba6>¨ zcrypt_pcicc_init+0x36/0x44 Ý<000000000001330c>¨ init+0x1bc/0x3a4 Ý<00000000000184be>¨ kernel_thread_starter+0x6/0xc Ý<00000000000184b8>¨ kernel_thread_starter+0x0/0xc BUG: warning at lib/kref.c:32/kref_get() 0000000000a03c18 0000000000000002 0000000000000000 0000000000a03cb8 0000000000a03c30 000000000037fc2c 000000000037fc2c 0000000000015dfa 0000000000000000 0000000000000000 000000000043ac30 0000000000000000 0000000000000000 000000000000000d 0000000000a03c18 0000000000a03c90 0000000000362488 0000000000015dfa 0000000000a03c18 0000000000a03c68 Call Trace: (Ý<0000000000015d44>¨ show_trace+0x9c/0xb8) Ý<0000000000015e18>¨ show_stack+0xb8/0xc8 Ý<0000000000015e56>¨ dump_stack+0x2e/0x3c Ý<0000000000163f70>¨ kref_get+0x50/0x74 Ý<0000000000162ec6>¨ kobject_get+0x32/0x44 Ý<0000000000162f68>¨ kobject_init+0x90/0xb8 Ý<00000000001634ae>¨ kobject_register+0x32/0x64 Ý<0000000000179a4e>¨ bus_add_driver+0x76/0x1f4 Ý<000000000017ae30>¨ driver_register+0xb0/0xc0 Ý<000000000021a1fe>¨ ap_driver_register+0x56/0x64 Ý<00000000004c6ba6>¨ zcrypt_pcicc_init+0x36/0x44 Ý<000000000001330c>¨ init+0x1bc/0x3a4 Ý<00000000000184be>¨ kernel_thread_starter+0x6/0xc Ý<00000000000184b8>¨ kernel_thread_starter+0x0/0xc Unable to handle kernel pointer dereference at virtual kernel address 000000000 000000 Oops: 0004 Ý#1¨ CPU: 0 Not tainted Process swapper (pid: 1, task: 00000000009fd648, ksp: 0000000000a039b8) Krnl PSW : 0704000180000000 0000000000163342 (kobject_add+0xea/0x224) Krnl GPRS: 0000000000001715 0000000000461660 0000000000461d38 0000000000000000 0000000000163318 00000000003603b0 0000000000000000 0000000000000000 0000000000461678 0000000000461ce8 00000000ffffffea 0000000000a03ce0 0000000000461d18 0000000000360348 0000000000163318 0000000000a03ce0 Krnl Code: e3 20 30 00 00 24 e3 20 c0 38 00 04 a7 2b 00 20 c0 e5 00 0f Call Trace: (Ý<0000000000163318>¨ kobject_add+0xc0/0x224) Ý<00000000001634b8>¨ kobject_register+0x3c/0x64 Ý<0000000000179a4e>¨ bus_add_driver+0x76/0x1f4 Ý<000000000017ae30>¨ driver_register+0xb0/0xc0 Ý<000000000021a1fe>¨ ap_driver_register+0x56/0x64 Ý<00000000004c6ba6>¨ zcrypt_pcicc_init+0x36/0x44 Ý<000000000001330c>¨ init+0x1bc/0x3a4 Ý<00000000000184be>¨ kernel_thread_starter+0x6/0xc Ý<00000000000184b8>¨ kernel_thread_starter+0x0/0xc <0>Kernel panic - not syncing: Attempted to kill init! 01: HCPGSP2629I The virtual machine is placed in CP mode due to a SIGP stop fro CPU 00. 00: HCPGIR450W CP entered; disabled wait PSW 00020001 80000000 00000000 0003922E ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/3] kthread: update s390 cmm driver to use kthread 2006-08-27 18:51 ` Serge E. Hallyn @ 2006-08-28 8:30 ` Martin Schwidefsky 2006-08-28 13:37 ` Heiko Carstens 1 sibling, 0 replies; 12+ messages in thread From: Martin Schwidefsky @ 2006-08-28 8:30 UTC (permalink / raw) To: Serge E. Hallyn; +Cc: Heiko Carstens, Christoph Hellwig, lkml On Sun, 2006-08-27 at 13:51 -0500, Serge E. Hallyn wrote: > Hmm, with my standard config it actually boots. It fails when I turn > off module support. The guilty config is attached, as well as the > config that boots, and the output when it crashes with the guilty > config. That looks like the crypto initialization problem. Currently the new crypto driver only works if you compile it as a module. -- blue skies, Martin. Martin Schwidefsky Linux for zSeries Development & Services IBM Deutschland Entwicklung GmbH "Reality continues to ruin my life." - Calvin. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/3] kthread: update s390 cmm driver to use kthread 2006-08-27 18:51 ` Serge E. Hallyn 2006-08-28 8:30 ` Martin Schwidefsky @ 2006-08-28 13:37 ` Heiko Carstens 2006-08-28 14:48 ` Serge E. Hallyn 1 sibling, 1 reply; 12+ messages in thread From: Heiko Carstens @ 2006-08-28 13:37 UTC (permalink / raw) To: Serge E. Hallyn; +Cc: Christoph Hellwig, lkml, schwidefsky [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain; charset=unknown-8bit, Size: 1819 bytes --] > AP instructions not installed. > BUG: warning at lib/kref.c:32/kref_get() > 000000000017719a 0000000000000002 0000000000000000 0000000000a03cf0 > 0000000000a03c68 000000000037fc2c 000000000037fc2c 0000000000015dfa > 0000000000000000 0000000000000000 000000000043ac30 0000000000000000 > 0000000000000000 000000000000000d 0000000000a03c50 0000000000a03cc8 > 0000000000362488 0000000000015dfa 0000000000a03c50 0000000000a03ca0 > Call Trace: > (Ý<0000000000015d44>¨ show_trace+0x9c/0xb8) > Ý<0000000000015e18>¨ show_stack+0xb8/0xc8 > Ý<0000000000015e56>¨ dump_stack+0x2e/0x3c > Ý<0000000000163f70>¨ kref_get+0x50/0x74 > Ý<0000000000162ec6>¨ kobject_get+0x32/0x44 > Ý<0000000000178fd6>¨ get_bus+0x36/0x60 > Ý<0000000000179a12>¨ bus_add_driver+0x3a/0x1f4 > Ý<000000000017ae30>¨ driver_register+0xb0/0xc0 > Ý<000000000021a1fe>¨ ap_driver_register+0x56/0x64 > Ý<00000000004c6ba6>¨ zcrypt_pcicc_init+0x36/0x44 > Ý<000000000001330c>¨ init+0x1bc/0x3a4 > Ý<00000000000184be>¨ kernel_thread_starter+0x6/0xc > Ý<00000000000184b8>¨ kernel_thread_starter+0x0/0xc This should be fixed with -mm3. In addition you need this one on top of -mm3: arch/s390/kernel/time.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: linux-2.6.18-rc4-mm3/arch/s390/kernel/time.c =================================================================== --- linux-2.6.18-rc4-mm3.orig/arch/s390/kernel/time.c 2006-08-28 10:32:45.000000000 +0200 +++ linux-2.6.18-rc4-mm3/arch/s390/kernel/time.c 2006-08-28 10:42:33.000000000 +0200 @@ -85,7 +85,8 @@ { __u64 now; - now = (get_clock() - jiffies_timer_cc) >> 12; + now = (get_clock() - jiffies_timer_cc) >> 12; + now -= (__u64) jiffies * USECS_PER_JIFFY; return (unsigned long) now; } ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/3] kthread: update s390 cmm driver to use kthread 2006-08-28 13:37 ` Heiko Carstens @ 2006-08-28 14:48 ` Serge E. Hallyn 0 siblings, 0 replies; 12+ messages in thread From: Serge E. Hallyn @ 2006-08-28 14:48 UTC (permalink / raw) To: Heiko Carstens; +Cc: Serge E. Hallyn, Christoph Hellwig, lkml, schwidefsky [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain; charset=unknown-8bit, Size: 2075 bytes --] Quoting Heiko Carstens (heiko.carstens@de.ibm.com): > > AP instructions not installed. > > BUG: warning at lib/kref.c:32/kref_get() > > 000000000017719a 0000000000000002 0000000000000000 0000000000a03cf0 > > 0000000000a03c68 000000000037fc2c 000000000037fc2c 0000000000015dfa > > 0000000000000000 0000000000000000 000000000043ac30 0000000000000000 > > 0000000000000000 000000000000000d 0000000000a03c50 0000000000a03cc8 > > 0000000000362488 0000000000015dfa 0000000000a03c50 0000000000a03ca0 > > Call Trace: > > (Ý<0000000000015d44>¨ show_trace+0x9c/0xb8) > > Ý<0000000000015e18>¨ show_stack+0xb8/0xc8 > > Ý<0000000000015e56>¨ dump_stack+0x2e/0x3c > > Ý<0000000000163f70>¨ kref_get+0x50/0x74 > > Ý<0000000000162ec6>¨ kobject_get+0x32/0x44 > > Ý<0000000000178fd6>¨ get_bus+0x36/0x60 > > Ý<0000000000179a12>¨ bus_add_driver+0x3a/0x1f4 > > Ý<000000000017ae30>¨ driver_register+0xb0/0xc0 > > Ý<000000000021a1fe>¨ ap_driver_register+0x56/0x64 > > Ý<00000000004c6ba6>¨ zcrypt_pcicc_init+0x36/0x44 > > Ý<000000000001330c>¨ init+0x1bc/0x3a4 > > Ý<00000000000184be>¨ kernel_thread_starter+0x6/0xc > > Ý<00000000000184b8>¨ kernel_thread_starter+0x0/0xc > > This should be fixed with -mm3. In addition you need this one on top of -mm3: > > arch/s390/kernel/time.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > Index: linux-2.6.18-rc4-mm3/arch/s390/kernel/time.c > =================================================================== > --- linux-2.6.18-rc4-mm3.orig/arch/s390/kernel/time.c 2006-08-28 10:32:45.000000000 +0200 > +++ linux-2.6.18-rc4-mm3/arch/s390/kernel/time.c 2006-08-28 10:42:33.000000000 +0200 > @@ -85,7 +85,8 @@ > { > __u64 now; > > - now = (get_clock() - jiffies_timer_cc) >> 12; > + now = (get_clock() - jiffies_timer_cc) >> 12; > + now -= (__u64) jiffies * USECS_PER_JIFFY; > return (unsigned long) now; > } This patch appears to be actually in -mm3 (at least the git tree I just fetched), and is does boot fine now. thanks, -serge ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/3] kthread: update s390 cmm driver to use kthread 2006-08-25 20:03 ` Serge E. Hallyn 2006-08-26 6:32 ` Heiko Carstens @ 2006-08-28 9:00 ` Martin Schwidefsky 1 sibling, 0 replies; 12+ messages in thread From: Martin Schwidefsky @ 2006-08-28 9:00 UTC (permalink / raw) To: Serge E. Hallyn; +Cc: Christoph Hellwig, lkml On Fri, 2006-08-25 at 15:03 -0500, Serge E. Hallyn wrote: > Ok, the patch in -mm does kthread_stop() on module_exit, but still uses > the timer and cmm_thread_wait. Yes, the timer and cmm_thread_wait are there to implement the timed page pool. > I'm not clear what the timer is actually trying to do, or why there is a > separate cmm_pages_target and cmm_timed_pages_target. So I'm sure the > below patch on top of -mm2 is wrong (it compiles, but I just noticed > 2.6.18-rc4-mm2 doesn't boot without this patch either) but hopefully > Heiko or Martin can tell me what would be the right way, or implement > it? Yes, it is wrong. Trying to "fix" code without understanding it is waste of time. The while loop in the cmm_thread is supposed to continue until the target numbers for the standard page pool and the timed page pool have been reached. Your patch adds a schedule_timeout between every call to cmm_alloc_pages. -- blue skies, Martin. Martin Schwidefsky Linux for zSeries Development & Services IBM Deutschland Entwicklung GmbH "Reality continues to ruin my life." - Calvin. ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2006-08-28 14:48 UTC | newest] Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2006-08-24 21:22 [PATCH 1/3] kthread: update s390 cmm driver to use kthread Serge E. Hallyn 2006-08-25 8:53 ` Martin Schwidefsky 2006-08-25 10:13 ` Martin Schwidefsky 2006-08-25 19:04 ` Serge E. Hallyn 2006-08-25 14:38 ` Christoph Hellwig 2006-08-25 20:03 ` Serge E. Hallyn 2006-08-26 6:32 ` Heiko Carstens 2006-08-27 18:51 ` Serge E. Hallyn 2006-08-28 8:30 ` Martin Schwidefsky 2006-08-28 13:37 ` Heiko Carstens 2006-08-28 14:48 ` Serge E. Hallyn 2006-08-28 9:00 ` Martin Schwidefsky
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.