HOW to handle partitions on SD Card in the driver?

2005-08-05 Thread Mukund JB.
Dear all, I have problem with my new driver that tired to support the partitions support on SD cards. My driver supports 4 SD cards at a time. The driver works well when there are partitions are disabled. i.e. when alloc_disk(1); - i.e. no partitions. It absolutely fine. Right now, I am

Re: squashfs seems nfs-incompatible

2005-08-05 Thread Jan Engelhardt
Hi, I found out that you cannot mount an exported squash fs. The exports(5) fsid= parameter does not help it [like it did with unionfs]. The exports(5) man page says fsid=num is necessary for filesystems on non-block devices - I don't know whether this includes loopback filesystems. Have you

/proc question

2005-08-05 Thread Davy Durham
After much research.. I have a question regarding /proc I have a zombie process which has apparently died for some unknown reason.. I know it was terminated by a signal (found that from the 9th field (sheduler flags) in /proc/pid/stat) However, I'm trying to figure out what signal killed it.

Re: Oops when shutting down laptop

2005-08-05 Thread Andrew Morton
Kristian Grønfeldt Sørensen [EMAIL PROTECTED] wrote: My laptop oops'es in the final phase of shutdown. It started this Monday. I don't remember having done anything particular with respect to the kernel around that time. It only happens when going to runlevel 0 - a reboot does not result

Symbios problems in recent -mm trees?

2005-08-05 Thread Martin J. Bligh
If you look on http://test.kernel.org/, you'll see in the rightmost column there's a yellow box under elm3b70 for 2.6.13-rc4-mm1, but current mainline kernels are all green (ie no problems). That means one test failed, in this case making an fs on the spare partition. Odd. I went digging ...

Re: [PATCH] Speedup FAT filesystem directory reads

2005-08-05 Thread Jan Engelhardt
We like a plain text, not attachment, see Documentation/SubmittingPatches. Anyway, thanks for nice work. |Exception: If your mailer is mangling patches then someone may ask |you to re-send them using MIME. from the doc ;) - To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: Old api files, rewrite or delete?

2005-08-05 Thread Jan Engelhardt
Nothing, I don't only want to rewrite driver, which others do not use. Why rewrite? (unless it's an important api change) If it's some optimization patch that requires an almost-rewrite, well, do it and see if it gets accepted. Jan Engelhardt -- - To unsubscribe from this list: send the

re: make modules Segfault

2005-08-05 Thread Jan Engelhardt
Gnu C 2.96 Seriously, it seems like your machine is flaky. And even if it were a kernel source problem, gcc should never have an internal error. But gcc-2.96 is so old that it's not supported anymore. Wasnot 2.96 the bugged one? Jan Engelhardt -- - To unsubscribe from

Re: /proc question

2005-08-05 Thread Jan Engelhardt
I have a zombie process which has apparently died for some unknown reason.. I know it was terminated by a signal (found that from the 9th field (sheduler flags) in /proc/pid/stat) Start the process under the observation of strace. However, I'm trying to figure out what signal killed it.

Re: [PATCH] kernel: use kcalloc instead kmalloc/memset

2005-08-05 Thread Pekka J Enberg
Hi Andrew, Pekka Enberg [EMAIL PROTECTED] wrote: This patch converts kernel/ to use kcalloc instead of kmalloc/memset. On Thu, 4 Aug 2005, Andrew Morton wrote: grr. I am learning grep. Please don't eat me! - struct resource *res = kmalloc(sizeof(*res), GFP_KERNEL); + struct resource

Re: /proc question

2005-08-05 Thread Davy Durham
Jan Engelhardt wrote: I have a zombie process which has apparently died for some unknown reason.. I know it was terminated by a signal (found that from the 9th field (sheduler flags) in /proc/pid/stat) Start the process under the observation of strace. However, I'm trying to figure

Re: [PATCH] kernel: use kcalloc instead kmalloc/memset

2005-08-05 Thread Andrew Morton
Pekka J Enberg [EMAIL PROTECTED] wrote: [PATCH] use kzalloc instead of kmalloc/memset dammit, I was hoping for akpmalloc() +static inline void *kzalloc(size_t size, unsigned int __nocast flags) +{ + return kcalloc(1, size, flags); +} + That'll generate just as much code as

Re: Power consumption HZ100, HZ250, HZ1000: new numbers

2005-08-05 Thread James Bruce
Ondrej Zary wrote: James Bruce wrote: Stephen Clark wrote: Maybe new desktop systems - but what about the tens of millions of old systems that don't. If it's an old system, it probably doesn't have working ACPI C-states though. Without that, low HZ does not save you anything. I should

Re: Symbios problems in recent -mm trees?

2005-08-05 Thread Andrew Morton
Martin J. Bligh [EMAIL PROTECTED] wrote: If you look on http://test.kernel.org/, you'll see in the rightmost column there's a yellow box under elm3b70 for 2.6.13-rc4-mm1, but current mainline kernels are all green (ie no problems). That means one test failed, in this case making an fs on the

Re: isa0060/serio0 problems -WAS- Re: Asus MB and 2.6.12 Problems

2005-08-05 Thread Vojtech Pavlik
On Fri, Aug 05, 2005 at 12:07:55AM -0400, Michael Krufky wrote: Sounds like a fun thing for post-2.6.13. What does usb-handoff do, precisely? I just did a series tests. This is necessary, because the problem was intermittent for me. usb-handoff fixes all of my problems!!! without

Re: [ck] [PATCH] Timer Top was: i386 No-Idle-Hz aka Dynamic-Ticks 3

2005-08-05 Thread Jens Axboe
On Thu, Aug 04 2005, Daniel Petrini wrote: +static LIST_HEAD(timer_list); + +struct timer_top_info { + unsigned intfunc_pointer; + unsigned int long counter; + struct list_headlist; +}; + +struct timer_top_info top_info; + +int

Re: [PATCH] kernel: use kcalloc instead kmalloc/memset

2005-08-05 Thread Pekka J Enberg
On Thu, 4 Aug 2005, Andrew Morton wrote: That'll generate just as much code as simply using kcalloc(1, ...). This function should be out-of-line and EXPORT_SYMBOL()ed. And kcalloc() can call it too.. Yes, much better now. Thanks Andrew. Pekka [PATCH]

Re: [linux-usb-devel] Re: Fw: ati-remote strangeness from 2.6.12 onwards

2005-08-05 Thread Frank Loeffler
Hi, Andrew Morton wrote: IOW: what does this (wordwrapped!) patch do? It changes the keycode the kernel is sending for three keys. For normal keyboards there is usually no argument to which keycode to send. An 'a' would send the keycoe for an 'a'. This however is a remote control. The keys

Re: [PATCH 00/14] GFS

2005-08-05 Thread David Teigland
On Tue, Aug 02, 2005 at 09:45:24AM +0200, Arjan van de Ven wrote: * +static const uint32_t crc_32_tab[] = . why do you duplicate this? The kernel has a perfectly good set of generic crc32 tables/functions just fine The gfs2_disk_hash() function and the crc table on which it's based are a

Re: [PATCH 1/3] platform-device driver for MQ11xx graphics chip

2005-08-05 Thread Andrew Morton
[EMAIL PROTECTED] wrote: This patch adds platform_device driver for MQ11xx system-on-chip graphics chip. This chip is used in several non-PCI ARM and MIPS platforms such as the iPAQ H5550. Two subsequent patches add support for the framebuffer and USB gadget subdevices. This patch adds

Re: [Linux-cluster] Re: [PATCH 00/14] GFS

2005-08-05 Thread Mike Christie
David Teigland wrote: On Tue, Aug 02, 2005 at 09:45:24AM +0200, Arjan van de Ven wrote: * Why are you using bufferheads extensively in a new filesystem? bh's are used for metadata, the log, and journaled data which need to be written at the block granularity, not page. In a scsi tree

Re: [Linux-cluster] Re: [PATCH 00/14] GFS

2005-08-05 Thread Mike Christie
Mike Christie wrote: David Teigland wrote: On Tue, Aug 02, 2005 at 09:45:24AM +0200, Arjan van de Ven wrote: * Why are you using bufferheads extensively in a new filesystem? bh's are used for metadata, the log, and journaled data which need to be written at the block granularity, not page.

Re: squashfs seems nfs-incompatible

2005-08-05 Thread Phillip Lougher
Jan Engelhardt wrote: After a short flash of idea and comparison, it turns out that squashfs is missing sb-s_export-get_parent (the only requirement as it seems). Includes that you have sb-s_export non-null, of course. sb-s_export can be set within fill_super(). Ok, thanks. I'll try and

Re: [PATCH 00/14] GFS

2005-08-05 Thread Arjan van de Ven
On Fri, 2005-08-05 at 15:14 +0800, David Teigland wrote: On Tue, Aug 02, 2005 at 09:45:24AM +0200, Arjan van de Ven wrote: * +static const uint32_t crc_32_tab[] = . why do you duplicate this? The kernel has a perfectly good set of generic crc32 tables/functions just fine The

Re: [PATCH] add schedule_timeout_{,un}intr() interfaces

2005-08-05 Thread Andrew Morton
Nishanth Aravamudan [EMAIL PROTECTED] wrote: Add schedule_timeout_{,un}intr() interfaces I did s/intr/interruptible/. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: platform-device-driver-for-mq11xx-graphics-chip.patch added to -mm tree

2005-08-05 Thread Richard Purdie
On Fri, 2005-08-05 at 00:18 -0700, [EMAIL PROTECTED] wrote: The patch titled platform-device driver for MQ11xx graphics chip has been added to the -mm tree. Its filename is platform-device-driver-for-mq11xx-graphics-chip.patch drivers/platform/.tmp_versions/mq11xx_base.mod

Re: [PATCH] driver core: Add the ability to unbind drivers to devices from userspace

2005-08-05 Thread Pavel Machek
Hi! New, simplified version of the sysfs whitespace strip patch... Could you tell me why you don't just fail the operation if malformed input is supplied? Leading/trailing white space should be allowed. For example echo appends '\n' unless you know to use -n. It is easier to fix the

Re: [PATCH] remove i386 dynamic ticks ifdefs

2005-08-05 Thread Pavel Machek
Hi! I assume you're maintaining the dyn tick patches for i386 posted on the muru website as your email is listed there. I thought you might be interested in this patch for dyn-ticks which removes most of the #ifdefs out of common code paths as per linux kernel style and moves more code

Re: [-mm patch] relayfs: add read() support

2005-08-05 Thread Andrew Morton
Tom Zanussi [EMAIL PROTECTED] wrote: +static ssize_t relayfs_read(struct file *filp, +char __user *buffer, +size_t count, +loff_t *ppos) +{ +struct inode *inode = filp-f_dentry-d_inode; +struct rchan_buf

Re: File corruption on LVM2 on top of software RAID1

2005-08-05 Thread Simon Matter
Simon Matter [EMAIL PROTECTED] wrote: Hi, Please CC me as I'm not subscribed to the kernel list. I had a hard time identifying a serious problem in the 2.6 linux kernel. Yes, it is a serious problem. It all started while evaluating RHEL4 for new servers. My data integrity tests gave me

Re: platform-device-driver-for-mq11xx-graphics-chip.patch added to -mm tree

2005-08-05 Thread Andrew Morton
Richard Purdie [EMAIL PROTECTED] wrote: On Fri, 2005-08-05 at 00:18 -0700, [EMAIL PROTECTED] wrote: The patch titled platform-device driver for MQ11xx graphics chip has been added to the -mm tree. Its filename is platform-device-driver-for-mq11xx-graphics-chip.patch

Re: Oops when rebooting 2.6.13-rc4-RT-V0.7.52-*

2005-08-05 Thread Ingo Molnar
* Chuck Harding [EMAIL PROTECTED] wrote: couldn't see the beginning of the oops but at the end was Init: no more processes left in this run level and have to power cycle to be able to boot. I tried vanilla -rc4, -rc5 and -rc4-mm1 which all worked just fine. But all 3 of the -RT versions I

Re: File corruption on LVM2 on top of software RAID1

2005-08-05 Thread Andrew Morton
Simon Matter [EMAIL PROTECTED] wrote: While looking at some data corruption vulnerability reports on Securityfocus I wonder why this issue does not get any attention from distributors. I have an open bugzilla report with RedHat, have an open customer service request with RedHat, have

Re: Bugs on your remap_file_pages protections implementations

2005-08-05 Thread Ingo Molnar
* Blaisorblade [EMAIL PROTECTED] wrote: Hi Ingo, I'm the young UML hacker you met at OLS and who got your UML patches sent ;-) I've been studying your patch (and the whole Linux VM, indeed) in the past days, and I have some remarks, about the version of the code in 2.6.4-rc2-mm1 (which

Re: [PATCH] Speedup FAT filesystem directory reads

2005-08-05 Thread OGAWA Hirofumi
Jan Engelhardt [EMAIL PROTECTED] writes: |Exception: If your mailer is mangling patches then someone may ask |you to re-send them using MIME. from the doc ;) Oh, sure, I missed to read it :) But my mailer is actually sane. Please double check your mailer. -- OGAWA Hirofumi [EMAIL

Re: [PATCH 00/14] GFS

2005-08-05 Thread Jan Engelhardt
The gfs2_disk_hash() function and the crc table on which it's based are a part of gfs2_ondisk.h: the ondisk metadata specification. This is a bit unusual since gfs uses a hash table on-disk for its directory structure. This header, including the hash function/table, must be included by user space

Re: initrd load from any block device

2005-08-05 Thread Jan Engelhardt
May be it was discussed but I havn't answer. So my question is: why only supported media to load initial ramdisk is floppy? Who said that? Linux LiveCDs all load it from CD, and since the kernel provides initramfs, the initrd can also be loaded from within the kernel itself. In embedded

Re: [PATCH 00/14] GFS

2005-08-05 Thread Arjan van de Ven
On Fri, 2005-08-05 at 10:28 +0200, Jan Engelhardt wrote: The gfs2_disk_hash() function and the crc table on which it's based are a part of gfs2_ondisk.h: the ondisk metadata specification. This is a bit unusual since gfs uses a hash table on-disk for its directory structure. This header,

Re: Obsolete files in 2.6 tree

2005-08-05 Thread Miklos Szeredi
I think you mis-understand. Mountlo seems to allow one to mount (through FUSE) any filesystem image for which there is a linux kernel kernel driver available. This is a very nice capability. But what I speak of is to port the 100% feature-complete (and well-tested) befs driver from the

Re: [PATCH] Re: 2.6.12: itimer_real timers don't survive execve() any more

2005-08-05 Thread Gerd Knorr
On Thu, Aug 04, 2005 at 03:02:51PM -0700, Andrew Morton wrote: Roland McGrath [EMAIL PROTECTED] wrote: That's wrong. It has to be done only by the last thread in the group to go. Just revert Ingo's change. OK.. +++ 25-akpm/kernel/exit.c Thu Aug 4 15:01:06 2005 @@ -829,8

Re: [TCP]: Fix TSO cwnd caching bug

2005-08-05 Thread David S. Miller
From: Herbert Xu [EMAIL PROTECTED] Date: Fri, 5 Aug 2005 10:57:41 +1000 OK, here is the final version. It depends on the patch that David posted earlier on in this thread. Please let me know if you need a copy of that. [TCP]: Fix TSO cwnd caching bug Good catch Herbert :) - To

Re: [PATCH] fix VmSize and VmData after mremap

2005-08-05 Thread Frank van Maarseveen
On Thu, Aug 04, 2005 at 07:05:30PM +0100, Hugh Dickins wrote: mremap's move_vma is applying __vm_stat_account to the old vma which may have already been freed: move it to just before the do_munmap. mremapping to and fro with CONFIG_DEBUG_SLAB=y showed /proc/pid/status VmSize and VmData

Re: BUG: atomic counter underflow at ip_conntrack_event_cache_init+0x91/0xb0 (with patch)

2005-08-05 Thread David S. Miller
From: Patrick McHardy [EMAIL PROTECTED] Date: Wed, 03 Aug 2005 20:34:57 +0200 [NETFILTER]: Fix multiple problems with the conntrack event cache Applied to net-2.6.14, thanks Patrick. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

kernel status, 4 Aug 2005

2005-08-05 Thread Andrew Morton
At kernel summit I pledged to put out weekly where-we're-at summaries, mainly so that subsystem maintainers could get an estimate of when the next major kernel release will be, so they can plan their merge windows. Of course, I don't have a clue when the next release will be because the timing

[PATCH] Fix hugepage crash on failing mmap()

2005-08-05 Thread David Gibson
Andrew/Linus, please apply: This patch fixes a crash in the hugepage code. unmap_hugepage_area() was assuming that (due to prefault) PTEs must exist for all the area in question. However, this may not be the case, if mmap() encounters an error before the prefault and calls unmap_region() to

Re: NUMA policy interface

2005-08-05 Thread Andi Kleen
On Thu, Aug 04, 2005 at 04:49:33PM -0700, Christoph Lameter wrote: On Fri, 5 Aug 2005, Andi Kleen wrote: None of them seem very attractive to me. I would prefer to just not support external accesses keeping things lean and fast. That is a surprising statement given what we just

Re: [PATCH] remove i386 dynamic ticks ifdefs

2005-08-05 Thread Con Kolivas
On Tue, 1 Jan 2002 21:33, Pavel Machek wrote: Hi! I assume you're maintaining the dyn tick patches for i386 posted on the muru website as your email is listed there. I thought you might be interested in this patch for dyn-ticks which removes most of the #ifdefs out of common code paths

Re: [PATCH] kernel: use kcalloc instead kmalloc/memset

2005-08-05 Thread Roman Zippel
Hi, On Thu, 4 Aug 2005, Andrew Morton wrote: +static inline void *kzalloc(size_t size, unsigned int __nocast flags) +{ + return kcalloc(1, size, flags); +} + That'll generate just as much code as simply using kcalloc(1, ...). This function should be out-of-line and

Re: Reiserfs 3.6 + quota enabled, crash on delete (or maybe truncate)

2005-08-05 Thread Vladimir V. Saveliev
Hello Guillaume Pelat wrote: Hi, I'm having a crash with reiserfs 3.6 + user quota enabled, on 2.6.11.10 kernel (no smp), apparently when deleting files (or maybe during a runcate operation). The problem seems to happen under high load. When the error occurs, all the processes

Re: [PATCH 00/14] GFS

2005-08-05 Thread David Teigland
On Fri, Aug 05, 2005 at 09:34:38AM +0200, Arjan van de Ven wrote: On Fri, 2005-08-05 at 15:14 +0800, David Teigland wrote: On Tue, Aug 02, 2005 at 09:45:24AM +0200, Arjan van de Ven wrote: * +static const uint32_t crc_32_tab[] = . why do you duplicate this? The kernel has a

Re: areca-raid-linux-scsi-driver.patch added to -mm tree

2005-08-05 Thread Arjan van de Ven
On Fri, 2005-08-05 at 02:11 -0700, [EMAIL PROTECTED] wrote: +// +#if defined __KERNEL__ this looks wrong; __KERNEL__ is always set +#include linux/config.h +#if defined( CONFIG_MODVERSIONS ) ! defined( MODVERSIONS ) +#define MODVERSIONS +#endif +

Re: [PATCH] kernel: use kcalloc instead kmalloc/memset

2005-08-05 Thread Arjan van de Ven
On Fri, 2005-08-05 at 11:37 +0200, Roman Zippel wrote: Hi, On Thu, 4 Aug 2005, Andrew Morton wrote: +static inline void *kzalloc(size_t size, unsigned int __nocast flags) +{ + return kcalloc(1, size, flags); +} + That'll generate just as much code as simply using

RE: IDE disk and HPA

2005-08-05 Thread Etienne Lorrain
Note that this HPA is a good place to store a bootloader too, in fact I like to think of it as the big floppy drive of the PC which no more have any floppy drive: create a FAT filesystem of 64 Mbytes there and copy all the floppy you used to have there. Your bootloader, if it is good enough,

oops with 2.6.13-rc5 on webserver with raid

2005-08-05 Thread Martin Braun
Hi, I've been trying to upgrade kernel to 2.6.13-rc5. The server boots normally w/o errors, but after while (from 5 minutes up to 2 hours) the Kernel hangs (no keyboard input possible). As I am a newbie I cannot figure out who will be concerned with this error. Here ist the ksymoops output

Re: [2.6.12rc4] PROBLEM: drive appears confused and irq 18: nobody cared!

2005-08-05 Thread Alan Cox
On Iau, 2005-08-04 at 13:25 -0700, Andrew Morton wrote: OK, that's the driver which Alan played with. I don't expect we'll be able to get all this fixed up for 2.6.13. Please check 2.6.13-rc6 when it's out - this might fix the IRQ problem. If any bugs remain, please raise entries for them

Re: kernel: use kcalloc instead kmalloc/memset

2005-08-05 Thread Pekka J Enberg
On Fri, 2005-08-05 at 11:37 +0200, Roman Zippel wrote: BTW we already have 420 kcalloc(1, ...) user and 41 without the 1 argument, most of them are in sound, which introduced it in first place. Can we please deprecate that function before it spreads any further? Arjan van de Ven writes:

Re: [RFC] Move InfiniBand .h files

2005-08-05 Thread Christoph Hellwig
On Thu, Aug 04, 2005 at 10:32:14AM -0700, Roland Dreier wrote: I would like to get people's reactions to moving the InfiniBand .h files from their current location in drivers/infiniband/include/ to include/linux/rdma/. If we agree that this is a good idea then I'll push this change as soon as

Re: areca-raid-linux-scsi-driver.patch added to -mm tree

2005-08-05 Thread Jens Axboe
On Fri, Aug 05 2005, Arjan van de Ven wrote: + + while (1) { + int64_t span4G, length0; + PSG64ENTRY pdma_sg = (PSG64ENTRY) psge; + + span4G = +

Re: [PATCH] kernel: use kcalloc instead kmalloc/memset

2005-08-05 Thread Roman Zippel
Hi, On Fri, 5 Aug 2005, Arjan van de Ven wrote: kcalloc does have value, in that it's a nice api to avoid multiplication overflows. Just for 1 it's indeed not the most useful API. This would imply a similiar kmalloc() would be useful as well. Second, how relevant is it for the kernel? Is

Re: [PATCH 00/14] GFS

2005-08-05 Thread Jörn Engel
On Fri, 5 August 2005 17:44:52 +0800, David Teigland wrote: linux/lib/crc32table.h : crc32table_le[] is the same as our crc_32_tab[]. This looks like a standard that's not going to change, as you've said, so including crc32table.h and getting rid of our own table would work fine. Do we go

DIRECTLY FROM MANUFACTURER

2005-08-05 Thread LGPANELS
20 LCD TV MONITOR SLEEK DESIGN SLEEKER PRICE US$299 A mix of performance and style. For those who demand only the best. For those who desire high style combined with high technology. The sleek ultra-thin metallic-on-black design complements any décor, without sacrificing

Re: [PATCH] kernel: use kcalloc instead kmalloc/memset

2005-08-05 Thread Arjan van de Ven
On Fri, 2005-08-05 at 12:07 +0200, Roman Zippel wrote: Hi, On Fri, 5 Aug 2005, Arjan van de Ven wrote: kcalloc does have value, in that it's a nice api to avoid multiplication overflows. Just for 1 it's indeed not the most useful API. This would imply a similiar kmalloc() would be

Re: kernel: use kcalloc instead kmalloc/memset

2005-08-05 Thread Pekka J Enberg
On Fri, 5 Aug 2005, Arjan van de Ven wrote: kcalloc does have value, in that it's a nice api to avoid multiplication overflows. Just for 1 it's indeed not the most useful API. Roman Zippel writes: This would imply a similiar kmalloc() would be useful as well. Second, how relevant is it for

Re: IDE disk and HPA

2005-08-05 Thread Etienne Lorrain
If I want to upgrade my IDE Hard drive by my self, how can I restore that kind of data on other diferent PC? So the content of the HPA should be limited to program which are special: a boot loader is position dependant and you do not want to copy it blindly to another hard disk with maybe

Re: kernel status, 4 Aug 2005

2005-08-05 Thread David Vrabel
Andrew Morton wrote: Status of subsystem trees: 3190002git-acpi.patch 68299 git-alsa.patch What are these numbers? David Vrabel - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [PATCH 00/14] GFS

2005-08-05 Thread David Teigland
On Fri, Aug 05, 2005 at 12:07:50PM +0200, J?rn Engel wrote: On Fri, 5 August 2005 17:44:52 +0800, David Teigland wrote: Do we go a step beyond this and use say the crc32() function from linux/crc32.h? Is this _function_ as standard and unchanging as the table of crcs? In my tests it

Re: amd64-agp vs. swsusp

2005-08-05 Thread Andreas Steinmetz
Cal Peake wrote: On Thu, 4 Aug 2005, Andrew Morton wrote: Michal Schmidt [EMAIL PROTECTED] wrote: Does resuming from swsuspend work for anyone with amd64-agp loaded? It would seem not ;) Must have missed the OP. Yes I can resume fine from swsusp with amd64-agp. System is an Averatec

Re: [PATCH] kernel: use kcalloc instead kmalloc/memset

2005-08-05 Thread Roman Zippel
Hi, On Fri, 5 Aug 2005, Arjan van de Ven wrote: This would imply a similiar kmalloc() would be useful as well. Second, how relevant is it for the kernel? we've had a non-negliable amount of security holes because of this So why don't we have a similiar kmalloc()? Is that really the

rc5 seemed to kill a disk that rc4-mm1 likes. Also some X trouble.

2005-08-05 Thread Helge Hafting
2.6.13-rc5 seemed to kill a scsi disk (sdb) for me, where 2.6.13-rc4-mm1 have no problems with the same disk. Machine: opteron running a x86-64 kernel, with built-in SATA as well as a symbios scsi controller. Two videocards running independent xservers. The sdb disk is on the symbios controller.

Re: kernel status, 4 Aug 2005

2005-08-05 Thread Andrew Morton
David Vrabel [EMAIL PROTECTED] wrote: Andrew Morton wrote: Status of subsystem trees: 3190002git-acpi.patch 68299 git-alsa.patch What are these numbers? File size in bytes. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [PATCH] kernel: use kcalloc instead kmalloc/memset

2005-08-05 Thread Arjan van de Ven
On Fri, 2005-08-05 at 12:32 +0200, Roman Zippel wrote: Hi, On Fri, 5 Aug 2005, Arjan van de Ven wrote: This would imply a similiar kmalloc() would be useful as well. Second, how relevant is it for the kernel? we've had a non-negliable amount of security holes because of this

Re: OOM problems still left in 2.6.13-rc3

2005-08-05 Thread Akira Fujita
Hi Andrew, But it's not possible to say that the system has really leaked pages unless you first put a lot of memory reclaim pressure on the machine to try to reclaim those oddball pages. I tried putting a memory pressure on the machine, then unused pages on the page LRU could be reclaimed.

Re: isa0060/serio0 problems -WAS- Re: Asus MB and 2.6.12 Problems

2005-08-05 Thread Marc Ballarin
On Thu, 4 Aug 2005 23:07:33 -0500 Dmitry Torokhov [EMAIL PROTECTED] wrote: It requests BIOS to hand off control of USB which disables USB legacy emulation and all troubles associated with it. We could start with -mm... This also fixes an issue I encountered while doing power measurements:

pselect() modifying timeout

2005-08-05 Thread Michael Kerrisk
Hello David, By the way, looking at the comments to the last version of the pselect()/ppoll()patch, I see that the treatment of the timeout argument is made dependent on the personality. http://marc.theaimsgroup.com/?l=linux-kernelm=111883591220436w=2 I'm not sure that this is a good idea;

[patch] preempt-trace.patch

2005-08-05 Thread Ingo Molnar
* Andrew Morton [EMAIL PROTECTED] wrote: I think Ingo was planning on coming up with some infrastructure which would allow us to debug this further. yeah. I've done this today and have split it out of the -RT tree, see the patch below. After some exposure in -mm i'd like this feature to go

Re: [PATCH] kernel: use kcalloc instead kmalloc/memset

2005-08-05 Thread Roman Zippel
Hi, On Fri, 5 Aug 2005, Arjan van de Ven wrote: we've had a non-negliable amount of security holes because of this So why don't we have a similiar kmalloc()? nope kmalloc is not an array allocator it makes it easy and safe. Of course you can and should check it in all users.

Re: [Fwd: Re: [patch] Real-Time Preemption, -RT-2.6.13-rc4-V0.7.52-01]

2005-08-05 Thread Ingo Molnar
* Steven Rostedt [EMAIL PROTECTED] wrote: Ingo, This was my final version of the softlockup patch. Do you have any comments on it? I wasn't sure if you were waiting for any more debate on this patch or not. ok, looks good - i've applied it and released the -52-14 PREEMPT_RT patch.

gcapatcch equivalent?

2005-08-05 Thread Dave Airlie
At KS I asked after a gcapatch command for git.. I've got two trees drm-2.6 and linux-2.6, linux-2.6 is latest Linus, so of course a tree diff gives me all the new patches in linux-2.6 that aren't in drm-2.6 which isn't what I want.. I want gcapatch I'm sure someone has one and I don't

Re: [patch] Fix a bit/byte counting error in the MMC/SD code

2005-08-05 Thread Pierre Ossman
Richard Purdie wrote: This fixes what looks like a bit/byte counting error in the MMC/SD code which was causing data corruption (in the -mm tree). Signed-off-by: Richard Purdie [EMAIL PROTECTED] Ooops... Must have been late in the evening. Sorry about that blunder. Rgds Pierre - To

Re: [PATCH] kernel: use kcalloc instead kmalloc/memset

2005-08-05 Thread Arjan van de Ven
On Fri, 2005-08-05 at 12:56 +0200, Roman Zippel wrote: Hi, On Fri, 5 Aug 2005, Arjan van de Ven wrote: we've had a non-negliable amount of security holes because of this So why don't we have a similiar kmalloc()? nope kmalloc is not an array allocator it makes it easy

Re: [patch] preempt-trace.patch

2005-08-05 Thread Dominik Karall
On Friday 05 August 2005 12:48, Ingo Molnar wrote: * Andrew Morton [EMAIL PROTECTED] wrote: I think Ingo was planning on coming up with some infrastructure which would allow us to debug this further. yeah. I've done this today and have split it out of the -RT tree, see the patch below.

Re: lockups with netconsole on e1000 on media insertion

2005-08-05 Thread Andi Kleen
John Bäckstrand [EMAIL PROTECTED] writes: I've been trying to hunt down a hard lockup issue with some hardware of mine, but I've possibly hit a kernel bug instead. When using netconsole on my e1000, if I unplug the cable and then re-plug it, the machine locks up hard. It manages to print the

Re: Add pselect, ppoll system calls.

2005-08-05 Thread Michael Kerrisk
From: David Woodhouse [EMAIL PROTECTED] Subject: Re: Add pselect, ppoll system calls. Date: Wed, 15 Jun 2005 12:36:54 +0100 On Mon, 2005-06-13 at 08:38 -0700, Ulrich Drepper wrote: Eep -- I hadn't noticed that difference. Will update patch accordingly. And change [the poll

Re: [ACPI] Re: 2.6.13-rc3-mm3

2005-08-05 Thread Michael Thonke
Hello Andrew, Andrew Morton wrote: Michael, I'm assuming that a) this problem remains in those -mm kernels which include git-acpi.patch and that b) the problems are not present in 2.6.13-rc5 or 2.6.13-rc6, yes? a.) I don't have any problems in 2.6.13-rc5-git[1-3] and 2.6.13-rc4-mm1 they

Re: kernel status, 4 Aug 2005

2005-08-05 Thread Adrian Bunk
On Fri, Aug 05, 2005 at 02:07:29AM -0700, Andrew Morton wrote: ... Open bugs: This is based on my reading of what's real and of what's worth attending to. Quite a few things get culled up-front. There are several emailed bug reports which are probably live bugs but they have gone

Re: [linux-pm] [PATCH] Workqueue freezer support.

2005-08-05 Thread Nigel Cunningham
Hi. I finally found some time to finish this off. I don't really like the end result - the macros looked clearer to me - but here goes. If it looks okay, I'll seek sign offs from each of the affected driver maintainers and from Ingo. Anyone else? Regards, Nigel drivers/acpi/osl.c |

Re: amd74xx (nforce) driver problem ?

2005-08-05 Thread Vojtech Pavlik
On Mon, Aug 01, 2005 at 05:06:33AM -0400, Sonny Rao wrote: Hi, I have a system based on the Nforce2 chipset which uses the amd7xx driver for it's IDE support, and I noticed that one of the drives was performing very slowly. I looked into it a bit more and it seems the drive was operating

Re: platform-device-driver-for-mq11xx-graphics-chip.patch added to -mm tree

2005-08-05 Thread Jamey Hicks
Richard Purdie wrote: On Fri, 2005-08-05 at 00:18 -0700, [EMAIL PROTECTED] wrote: The patch titled platform-device driver for MQ11xx graphics chip has been added to the -mm tree. Its filename is platform-device-driver-for-mq11xx-graphics-chip.patch

Re: [PATCH] i386 No-Idle-Hz aka Dynamic-Ticks 3

2005-08-05 Thread Srivatsa Vaddagiri
On Wed, Aug 03, 2005 at 06:05:28AM +, Con Kolivas wrote: This is the dynamic ticks patch for i386 as written by Tony Lindgen [EMAIL PROTECTED] and Tuukka Tikkanen [EMAIL PROTECTED]. Patch for 2.6.13-rc5 There were a couple of things that I wanted to change so here is an updated

Re: [ck] [PATCH] Timer Top was: i386 No-Idle-Hz aka Dynamic-Ticks 3

2005-08-05 Thread Daniel Petrini
Hi, -- Jens Axboe Thanks for your corrections. Here we have a new version. Daniel Petrini -- 10LE - Linux INdT - Manaus - Brazil diff -uprN linux-2.6.12-orig/kernel/Makefile linux-dyn-tick/kernel/Makefile --- linux-2.6.12-orig/kernel/Makefile 2005-08-03 23:50:26.0 -0400 +++

Re: lockups with netconsole on e1000 on media insertion

2005-08-05 Thread John Bäckstrand
Andi Kleen wrote: The patch was for 2.6.12, did a quick untested port to 2.6.13rc5. -Andi Only try a limited number to send packets in netpoll Thanks, worked nicely! --- John Bäckstrand - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

[BUG] sunrpc as module and bad proc/sys link count

2005-08-05 Thread Jiri Slaby
Hello. When sunrpc is as module, sysctl adds to proc fs proc/sys/sunrpc, adds 1 to number of proc/sys link (see later), but when it's ls-ed, there is still old count. I.e. my proc/sys before modprobe-ing sunrpc: # ls -la /proc/sys celkem 0 dr-xr-xr-x9 root root 0 srp 5 12:43 . dr-xr-xr-x

Is it a process?

2005-08-05 Thread lab liscs
when linux kernel receives a packet from the netcard and the forwards it . the process can be viewed as a kernel process ? and if this process can be interrupted ? thanks a lot!! - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: [PATCH] i386 No-Idle-Hz aka Dynamic-Ticks 3

2005-08-05 Thread Con Kolivas
On Fri, 5 Aug 2005 22:37, Srivatsa Vaddagiri wrote: On Wed, Aug 03, 2005 at 06:05:28AM +, Con Kolivas wrote: This is the dynamic ticks patch for i386 as written by Tony Lindgen [EMAIL PROTECTED] and Tuukka Tikkanen [EMAIL PROTECTED]. Patch for 2.6.13-rc5 There were a couple of

Re: [PATCH] bugfix: two read_inode() calls without clear_inode() call between

2005-08-05 Thread Vasily Averin
Hello, Could you please explain me, why we need to wake up somebody right before freeing an inode? It seems for me, if somebody really wait on this inode, then they have a good chance to access already freed memory. Thank you, Vasily Averin diff --git a/fs/inode.c b/fs/inode.c ---

Re: [PATCH] driver core: Add the ability to unbind drivers to devices from userspace

2005-08-05 Thread Jon Smirl
On 1/1/02, Pavel Machek [EMAIL PROTECTED] wrote: Hi! New, simplified version of the sysfs whitespace strip patch... Could you tell me why you don't just fail the operation if malformed input is supplied? Leading/trailing white space should be allowed. For example echo appends

Re: platform-device-driver-for-mq11xx-graphics-chip.patch added to -mm tree

2005-08-05 Thread Alexey Dobriyan
On Fri, Aug 05, 2005 at 12:18:03AM -0700, [EMAIL PROTECTED] wrote: From: Jamey Hicks [EMAIL PROTECTED] This patch adds platform_device driver for MQ11xx system-on-chip graphics chip. This chip is used in several non-PCI ARM and MIPS platforms such as the iPAQ H5550. Two subsequent patches

Re: [PATCH] bugfix: two read_inode() calls without clear_inode() call between

2005-08-05 Thread Miklos Szeredi
Could you please explain me, why we need to wake up somebody right before freeing an inode? It seems for me, if somebody really wait on this inode, then they have a good chance to access already freed memory. find_inode() needs to be woken up (__wait_on_freeing_inode) when an inode being

Re: Determining if the current processor is Hyperthreaded

2005-08-05 Thread Athul Acharya
On 8/2/05, Athul Acharya [EMAIL PROTECTED] wrote: That is, I want to know whether the current cpu I (kernel code) am executing on is hyperthreaded, and if so, which logical cpu represents the other thread on chip. Trying again, as it seems like a simple thing that really should exist --

[PATCH 2.6.13-rc5-gitNOW] msleep() cannot be used from interrupt

2005-08-05 Thread Petr Vandrovec
Hello Linus, can you apply patch below? Since beginning of July my Opteron box was randomly crashing and being rebooted by hardware watchdog. Today it finally did it in front of me, and this patch will hopefully fix it. Problem is that at the end of June (28th, commit

  1   2   3   4   5   6   7   8   >