[PATCH 2.6.11] fix call kobject_get_path() with zero kobject argument in drivers/base/class.c

2005-03-09 Thread JustMan
The attached patch fix call kobject_get_path() with zero kobject argument. This situation take place for example in unexpected disconnection of USB devices such as GPRS modem. (in my case it is Motorola C350 mobile phone modem) Mar 6 00:55:52 toshiba kernel: 6usb 2-1: USB disconnect, address

Re: [PATCH] make st seekable again

2005-03-09 Thread Bodo Eggert
Alan Cox [EMAIL PROTECTED] wrote: On Maw, 2005-03-08 at 17:25, Linux Kernel Mailing List wrote: ChangeSet 1.2030, 2005/03/08 09:25:05-08:00, [EMAIL PROTECTED] [PATCH] make st seekable again Apparently `tar' errors out if it cannot perform lseek() against a tape. Work around that

[PATCH] class_simple: pass dev_t to the class core

2005-03-09 Thread Greg KH
ChangeSet 1.2041, 2005/03/09 09:33:17-08:00, [EMAIL PROTECTED] [PATCH] class_simple: pass dev_t to the class core Signed-off-by: Kay Sievers [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] drivers/base/class_simple.c | 21 ++--- 1 files changed, 2

[PATCH] aoe: drivers/block/aoe/aoechr.c cleanups

2005-03-09 Thread Greg KH
ChangeSet 1.2040, 2005/03/09 10:22:12-08:00, [EMAIL PROTECTED] [PATCH] aoe: drivers/block/aoe/aoechr.c cleanups Adrian Bunk [EMAIL PROTECTED] writes: This patch contains the following cleanups: - make the needlessly global struct aoe_fops static - #if 0 the unused global function

[PATCH] Add 2.4.x cpufreq /proc and sysctl interface removal feature-removal-schedule

2005-03-09 Thread Greg KH
ChangeSet 1.2036, 2005/03/09 09:31:40-08:00, [EMAIL PROTECTED] [PATCH] Add 2.4.x cpufreq /proc and sysctl interface removal feature-removal-schedule Add 2.4.x cpufreq /proc and sysctl interface removal to the feature-removal-schedule. Signed-off-by: Randy Dunlap [EMAIL PROTECTED]

Re: [PATCH 0/15] ptwalk: pagetable walker cleanup

2005-03-09 Thread Benjamin Herrenschmidt
On Wed, 2005-03-09 at 17:02 -0800, David S. Miller wrote: On Thu, 10 Mar 2005 11:39:44 +1100 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: There are some other bugs introduced by set_pte_at() caused by latent bugs in the PTE walkers that 'drop' part of the address along the way,

RE: Direct io on block device has performance regression on 2.6.x kernel

2005-03-09 Thread Chen, Kenneth W
For people who is dying to see some q-tool profile, here is one. It's not a vanilla 2.6.9 kernel, but with patches in raw device to get around the DIO performance problem. - Ken Flat profile of CPU_CYCLES in hist#0: Each histogram sample counts as 255.337u seconds % time self cumul

RE: Direct io on block device has performance regression on 2.6.x kernel

2005-03-09 Thread Chen, Kenneth W
Andrew Morton wrote on Wednesday, March 09, 2005 5:34 PM What are these percentages? Total CPU time? The direct-io stuff doesn't look too bad. It's surprising that tweaking the direct-io submission code makes much difference. Percentage is relative to total kernel time. There are three DIO

RE: Direct io on block device has performance regression on 2.6.x kernel

2005-03-09 Thread Chen, Kenneth W
Andrew Morton wrote on Wednesday, March 09, 2005 2:45 PM Did you generate a kernel profile? Top 40 kernel hot functions, percentage is normalized to kernel utilization. _spin_unlock_irqrestore23.54% _spin_unlock_irq 19.27% Cripes. Is that with

Re: Linux 2.6.11.2

2005-03-09 Thread Bodo Eggert
Bill Davidsen [EMAIL PROTECTED] wrote: I think you need both x.y.z=x.y.z.N and x.y.z.N-1=x.y.z.N patches. My systems which are following the -stable will just need the most recent, but doing x.y.z-1=x.y.z.N gets really ugly for higher values of N. bzcat ../patch-2.6.nn.[0-9].*|patch -p1 - To

Re: current linus bk, error mounting root

2005-03-09 Thread Jon Smirl
On Wed, 9 Mar 2005 22:09:26 +0100, Jens Axboe [EMAIL PROTECTED] wrote: probably not worth the bother, looks like barrier problems. get the serial console running instead and send the full output, I'll take a look in the morning. serial console boot output attached. -- Jens Axboe --

[PATCH] tpm_msc-build-fix

2005-03-09 Thread Greg KH
ChangeSet 1.2037, 2005/03/09 10:12:56-08:00, [EMAIL PROTECTED] [PATCH] tpm_msc-build-fix With older gcc's: drivers/char/tpm/tpm_nsc.c:238: unknown field `fops' specified in initializer drivers/char/tpm/tpm_nsc.c:238: warning: missing braces around initializer Signed-off-by: Andrew Morton

[PATCH] i2c: class driver pass dev_t to the class core

2005-03-09 Thread Greg KH
ChangeSet 1.2043, 2005/03/09 09:51:50-08:00, [EMAIL PROTECTED] [PATCH] i2c: class driver pass dev_t to the class core Signed-off-by: Kay Sievers [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] drivers/i2c/i2c-dev.c |9 + 1 files changed, 1 insertion(+), 8

Re: link(2) and symlinks

2005-03-09 Thread Andries Brouwer
On Wed, Mar 09, 2005 at 03:14:36PM -0800, Nick Stoughton wrote: On Linux, the link() system call does not dereference symbolic links This behavior does not conform to POSIX Most Unix implementations behave in the manner specified by POSIX. One notable exception is Solaris 8 (I don't know

[BK PATCH] debugfs fixes for 2.6.11

2005-03-09 Thread Greg KH
Hi, Here are two debugfs fixes. They have been in the -mm releases for a while. Please pull from: bk://kernel.bkbits.net/gregkh/linux/2.6.11/debugfs Individual patches will follow, sent to the linux-kernel list. thanks, greg k-h fs/debugfs/file.c |4 ++-- 1 files changed, 2

[BUG] 2.6.11- sym53c8xx Broken on pp64

2005-03-09 Thread Omkhar Arasaratnam
Seems with 2.6.11 the sym53c8xx kernel module incorrectly identifies the cache being misconfigured on a p630 (ppc64, POWER4+). 2.6.9 correctly brings up this adaptor as does AIX with absolutely no indication of a misconfigured cache. Doing a simple diff I see ALOT of changes between 2.6.9 and

Exuberant ctags can tag files names too

2005-03-09 Thread John Kacur
Exuberant ctags can tag file names too. I find this extremely useful when browsing kernel source, and so would like to share it with everyone. (You can now type :tag oprof.c for example, and jump to the file with that name.) I previously sent a patch which naively just appended an --extra=+f to

(no subject)

2005-03-09 Thread Ray Bryant
subscribe linux-kernel end - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [patch 1/1] unified spinlock initialization arch/um/drivers/port_kern.c

2005-03-09 Thread Zwane Mwaikambo
On Wed, 9 Mar 2005, linux-os wrote: We need to retain the spin_lock_init(lock) because not all spin-locks are allocated at compile-time. They might be allocated from kmalloc() on startup, probably in a structure, along with other so-called global data. Not to worry my good man, it's not

RE: Direct io on block device has performance regression on 2.6.x kernel

2005-03-09 Thread Chen, Kenneth W
Chen, Kenneth W wrote on Wednesday, March 09, 2005 5:45 PM Andrew Morton wrote on Wednesday, March 09, 2005 5:34 PM What are these percentages? Total CPU time? The direct-io stuff doesn't look too bad. It's surprising that tweaking the direct-io submission code makes much difference.

Re: [PATCH] Add 2.4.x cpufreq /proc and sysctl interface removal feature-removal-schedule

2005-03-09 Thread Dave Jones
On Wed, Mar 09, 2005 at 04:34:38PM -0800, Greg KH wrote: ChangeSet 1.2036, 2005/03/09 09:31:40-08:00, [EMAIL PROTECTED] [PATCH] Add 2.4.x cpufreq /proc and sysctl interface removal feature-removal-schedule Add 2.4.x cpufreq /proc and sysctl interface removal to the

[PPC64] Allow emulation of mfpvr on ppc64 kernel

2005-03-09 Thread David Gibson
Andrew, please apply. Allow userspace programs on ppc64 to use the (privileged) mfpvr instruction to determine the processor type. At the moment it emulates the instruction to provide the real PVR value, though it could be made to lie in future if for some reason we wish to restrict what CPU

Re: [BUG] 2.6.11- sym53c8xx Broken on pp64

2005-03-09 Thread Benjamin Herrenschmidt
On Wed, 2005-03-09 at 19:51 -0600, Omkhar Arasaratnam wrote: Seems with 2.6.11 the sym53c8xx kernel module incorrectly identifies the cache being misconfigured on a p630 (ppc64, POWER4+). 2.6.9 correctly brings up this adaptor as does AIX with absolutely no indication of a misconfigured cache.

Re: Direct io on block device has performance regression on 2.6.x kernel

2005-03-09 Thread Andrew Morton
Chen, Kenneth W [EMAIL PROTECTED] wrote: Andrew Morton wrote on Wednesday, March 09, 2005 2:45 PM Did you generate a kernel profile? Top 40 kernel hot functions, percentage is normalized to kernel utilization. _spin_unlock_irqrestore 23.54%

Re: Direct io on block device has performance regression on 2.6.x kernel

2005-03-09 Thread Andrew Morton
Chen, Kenneth W [EMAIL PROTECTED] wrote: This is all real: real benchmark running on real hardware, with real result showing large performance regression. Nothing synthetic here. Ken, could you *please* be more complete, more organized and more specific? What does 1/3 of the total

Re: [BUG] 2.6.11- sym53c8xx Broken on pp64

2005-03-09 Thread Linus Torvalds
On Thu, 10 Mar 2005, Benjamin Herrenschmidt wrote: BTW, Linus: Any chance you ever change something to version or extraversion in bk just after a release ? I know I already ask and it degenerated into a flamefest, and I don't know if that is specifically the case now, but I keep getting

[PATCH] driver core: Separate platform device name from platform device number

2005-03-09 Thread Greg KH
ChangeSet 1.2038, 2005/03/09 09:32:19-08:00, [EMAIL PROTECTED] [PATCH] driver core: Separate platform device name from platform device number Separate platform device name from platform device number such that names ending with numbers aren't confusing. Signed-off-by: Russell King [EMAIL

[PATCH] Kobject: remove some unneeded exports

2005-03-09 Thread Greg KH
ChangeSet 1.2035, 2005/03/09 09:31:21-08:00, [EMAIL PROTECTED] [PATCH] Kobject: remove some unneeded exports kobject_get_path and kobject_rename are only used by the sysfs core code and not aren't really driver-ish code. Remove the unused exports Signed-off-by: Arjan van de Ven [EMAIL

[PATCH] class core: export MAJOR/MINOR to the hotplug env

2005-03-09 Thread Greg KH
ChangeSet 1.2039, 2005/03/09 09:32:38-08:00, [EMAIL PROTECTED] [PATCH] class core: export MAJOR/MINOR to the hotplug env Move the creation of the sysfs dev file of a class device into the driver core. The struct class_device contains a dev_t value now. If set, the driver core will create the

[PATCH] Driver core: add bus symlink to class/block devices

2005-03-09 Thread Greg KH
ChangeSet 1.2046, 2005/03/09 09:52:48-08:00, [EMAIL PROTECTED] [PATCH] Driver core: add bus symlink to class/block devices On Tue, Feb 15, 2005 at 09:53:44PM +0100, Kay Sievers wrote: Add a bus symlink to the class and block devices, just like the driver and device links. This may be a huge

bk commits and dates

2005-03-09 Thread Benjamin Herrenschmidt
While we are at such requests ... When you pull from one of the trees, like netdev, the commit messages are sent to the bk commit list with the original date stamp of the patch in the netdev tree. For example, if Jeff commited a patch from somebody in his netdev tree 3 weeks ago, and you pull

[PATCH] sysdev: remove the rwsem usage from this subsystem.

2005-03-09 Thread Greg KH
ChangeSet 1.2054, 2005/03/09 15:39:09-08:00, [EMAIL PROTECTED] [PATCH] sysdev: remove the rwsem usage from this subsystem. If further finer grained locking is needed, we can add a lock to the sysdev_class to lock the class drivers list. But if you do that, remember the global list also is

[PATCH] sysdev: make system_subsys static as no one else needs access to it.

2005-03-09 Thread Greg KH
ChangeSet 1.2049, 2005/03/09 09:59:49-08:00, [EMAIL PROTECTED] [PATCH] sysdev: make system_subsys static as no one else needs access to it. Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] drivers/base/sys.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -Nru

[PATCH] cpufreq 2.4 interface removal schedule

2005-03-09 Thread Greg KH
ChangeSet 1.2037, 2005/03/09 09:32:00-08:00, [EMAIL PROTECTED] [PATCH] cpufreq 2.4 interface removal schedule Even though these 2.4. interfaces are already gone in Dave Jones' cpufreq bitkeeper tree, here's a patch which properly announces it in Documentation/feature-removal-schedule.txt: Add

Re: Problem with PPPD on dialup with 2.6.11-bk1 and later; 2.6.11 is OK

2005-03-09 Thread Steven Cole
Today at 04:57:37 pm, I wrote: Earlier today, I reported PPPD fails on recent 2.6.11-bk. I've narrowed the problem down to between 2.6.11 and 2.6.11-bk1. I get this with 2.6.11-bk1: (two attempts) Mar 9 16:34:32 spc pppd[1142]: pppd 2.4.1 started by steven, uid 501 Mar 9 16:34:32 spc

[PATCH] aoe status.sh: handle sysfs not in /etc/mtab

2005-03-09 Thread Greg KH
ChangeSet 1.2039, 2005/03/09 10:21:52-08:00, [EMAIL PROTECTED] [PATCH] aoe status.sh: handle sysfs not in /etc/mtab Suse 9.1 Pro doesn't put /sys in /etc/mtab. This patch makes the example aoe status.sh script work when sysfs is mounted but `mount` doesn't mention sysfs. aoe status.sh: handle

Re: [ANNOUNCE 0/6] Open-iSCSI High-Performance Initiator for Linux

2005-03-09 Thread Alex Aizman
Lars Marowsky-Bree wrote: On 2005-03-08T22:25:29, Alex Aizman [EMAIL PROTECTED] wrote: There's (or at least was up until today) an ongoing discussion on our mailing list at http://groups-beta.google.com/group/open-iscsi. The short and long of it: the problem can be solved, and it will. Couple

[PATCH] Add TPM hardware enablement driver

2005-03-09 Thread Greg KH
ChangeSet 1.2035, 2005/03/09 10:12:19-08:00, [EMAIL PROTECTED] [PATCH] Add TPM hardware enablement driver This patch is a device driver to enable new hardware. The new hardware is the TPM chip as described by specifications at http://www.trustedcomputinggroup.org. The TPM chip will enable you

[PATCH] Reduce cacheline bouncing in cpu_idle_wait

2005-03-09 Thread Zwane Mwaikambo
Andi noted that during normal runtime cpu_idle_map is bounced around a lot, and occassionally at a higher frequency than the timer interrupt wakeup which we normally exit pm_idle from. So switch to a percpu variable. Andi i didn't move things to the slow path because it would involve adding

[PATCH] tpm-build-fix

2005-03-09 Thread Greg KH
ChangeSet 1.2039, 2005/03/09 10:13:34-08:00, [EMAIL PROTECTED] [PATCH] tpm-build-fix drivers/char/tpm/tpm.c: In function `show_pcrs': drivers/char/tpm/tpm.c:228: warning: passing arg 1 of `tpm_transmit' from incompatible pointer type drivers/char/tpm/tpm.c:238: warning: passing arg 1 of

[BK PATCH] Add TPM driver support for 2.6.11

2005-03-09 Thread Greg KH
Hi, Here are a few changesets that add support for TPM drivers. These patches have all been in the -mm releases for a while now. Please pull from: bk://kernel.bkbits.net/gregkh/linux/2.6.11/tpm Individual patches will follow, sent to the linux-kernel list. thanks, greg k-h

Re: Linux 2.6.11.2

2005-03-09 Thread Matt Mackall
On Thu, Mar 10, 2005 at 02:46:29AM +0100, Bodo Eggert wrote: Bill Davidsen [EMAIL PROTECTED] wrote: I think you need both x.y.z=x.y.z.N and x.y.z.N-1=x.y.z.N patches. My systems which are following the -stable will just need the most recent, but doing x.y.z-1=x.y.z.N gets really ugly for

Re: [BUG] 2.6.11- sym53c8xx Broken on pp64

2005-03-09 Thread Omkhar Arasaratnam
Benjamin Herrenschmidt wrote: Are you sure it's plain 2.6.11 and not some bk clone of after 2.6.11 was released ? Ben - I am in the process of downloading a clean tarball from kernel.org to be 100% certain. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of

[PATCH] floppy.c: pass physical device to device registration

2005-03-09 Thread Greg KH
ChangeSet 1.2047, 2005/03/09 09:53:08-08:00, [EMAIL PROTECTED] [PATCH] floppy.c: pass physical device to device registration With this patch the floppy driver creates the usual symlink in sysfs to the physical device backing the block device: $tree /sys/block/ /sys/block/ |-- fd0 |

[PATCH] debufs: make built in types add a \n to their output

2005-03-09 Thread Greg KH
ChangeSet 1.2033, 2005/03/09 15:24:07-08:00, [EMAIL PROTECTED] [PATCH] debufs: make built in types add a \n to their output Thanks to Alessandro Rubini [EMAIL PROTECTED] for pointing this out. Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] fs/debugfs/file.c |2 +- 1 files changed, 1

[BK PATCH] Add Superhighway bus support for 2.6.11

2005-03-09 Thread Greg KH
Hi, Here is one changeset that adds superhighway bus support to the 2.6.11 kernel. It has been in the -mm releases for a while. Please pull from: bk://kernel.bkbits.net/gregkh/linux/2.6.11/sh Individual patches will follow, sent to the linux-kernel list. thanks, greg k-h

[PATCH] block core: export MAJOR/MINOR to the hotplug env

2005-03-09 Thread Greg KH
ChangeSet 1.2040, 2005/03/09 09:32:58-08:00, [EMAIL PROTECTED] [PATCH] block core: export MAJOR/MINOR to the hotplug env Signed-off-by: Kay Sievers [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] drivers/block/genhd.c | 53

[PATCH] class: add a semaphore to struct class, and use that instead of the subsystem rwsem.

2005-03-09 Thread Greg KH
ChangeSet 1.2055, 2005/03/09 15:41:29-08:00, [EMAIL PROTECTED] [PATCH] class: add a semaphore to struct class, and use that instead of the subsystem rwsem. This moves us away from using the rwsem, although recursive adds and removes of class devices is not yet possible (nor is it really known

[PATCH] aoe: fail IO on disk errors

2005-03-09 Thread Greg KH
ChangeSet 1.2038, 2005/03/09 10:21:33-08:00, [EMAIL PROTECTED] [PATCH] aoe: fail IO on disk errors This patch makes disk errors fail the IO instead of getting logged and ignored. Fail IO on disk errors Signed-off-by: Ed L. Cashin [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL

[PATCH] Add SuperHyway bus subsystem

2005-03-09 Thread Greg KH
ChangeSet 1.2027.3.1, 2005/03/09 12:14:18-08:00, [EMAIL PROTECTED] [PATCH] Add SuperHyway bus subsystem Signed-off-by: Paul Mundt [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] drivers/sh/Makefile |6 drivers/sh/superhyway/Makefile |

Re: [PATCH 1/2] No-exec support for ppc64

2005-03-09 Thread Olof Johansson
On Tue, Mar 08, 2005 at 05:08:26PM -0600, Jake Moilanen wrote: No-exec base and user space support for PPC64. Hi, a couple of comments below. -Olof @@ -786,6 +786,7 @@ int hash_huge_page(struct mm_struct *mm, pte_t old_pte, new_pte; unsigned long hpteflags, prpn; long

Re: [PATCH 2/2] No-exec support for ppc64

2005-03-09 Thread Olof Johansson
Hi, On Tue, Mar 08, 2005 at 05:13:26PM -0600, Jake Moilanen wrote: diff -puN arch/ppc64/mm/hash_utils.c~nx-kernel-ppc64 arch/ppc64/mm/hash_utils.c --- linux-2.6-bk/arch/ppc64/mm/hash_utils.c~nx-kernel-ppc64 2005-03-08 16:08:57 -06:00 +++ linux-2.6-bk-moilanen/arch/ppc64/mm/hash_utils.c

Re: bk commits and dates

2005-03-09 Thread Linus Torvalds
On Thu, 10 Mar 2005, Benjamin Herrenschmidt wrote: I don't know if I'm the only one to have a problem with that, but it would be nice if it was possible, when you pull a bk tree, to have the commit messages for the csets in that tree be dated from the day you pulled, and not the day when

[PATCH] videodev: pass dev_t to the class core

2005-03-09 Thread Greg KH
ChangeSet 1.2044, 2005/03/09 09:52:10-08:00, [EMAIL PROTECTED] [PATCH] videodev: pass dev_t to the class core Signed-off-by: Kay Sievers [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] drivers/media/video/videodev.c | 11 +-- 1 files changed, 1 insertion(+), 10

Re: [Linux-fbdev-devel] [announce 0/7] fbsplash - The Framebuffer Splash

2005-03-09 Thread Sebastian Kügler
Christoph Hellwig wrote: On Wed, Mar 09, 2005 at 12:38:42PM +0100, Pavel Machek wrote: Fbsplash - The Framebuffer Splash - is a feature that allows displaying images in the background of consoles that use fbcon. The project is partially descended from bootsplash. What are you trying

Re: [BUG] 2.6.11- sym53c8xx Broken on pp64

2005-03-09 Thread Omkhar Arasaratnam
Omkhar Arasaratnam wrote: Benjamin Herrenschmidt wrote: Are you sure it's plain 2.6.11 and not some bk clone of after 2.6.11 was released ? Ben - I am in the process of downloading a clean tarball from kernel.org to be 100% certain. I confirmed that this occurs with the 2.6.11 code straight

[PATCH] aoe: update documentation for udev users

2005-03-09 Thread Greg KH
ChangeSet 1.2037, 2005/03/09 10:21:15-08:00, [EMAIL PROTECTED] [PATCH] aoe: update documentation for udev users Bodo Eggert [EMAIL PROTECTED] writes: Ed L Cashin [EMAIL PROTECTED] wrote: +if=A0test=A0-z=A0$conf;=A0then +=A0=A0=A0=A0=A0=A0=A0=A0conf=3D`find=A0/etc=A0-type=A0f=A0-name=A0udev=

Re: bk commits and dates

2005-03-09 Thread Michael Ellerman
Two's company ... On Thu, 10 Mar 2005 13:41, Benjamin Herrenschmidt wrote: While we are at such requests ... When you pull from one of the trees, like netdev, the commit messages are sent to the bk commit list with the original date stamp of the patch in the netdev tree. For example, if

RE: Direct io on block device has performance regression on 2.6.x kernel

2005-03-09 Thread Chen, Kenneth W
Andrew Morton wrote Wednesday, March 09, 2005 6:26 PM What does 1/3 of the total benchmark performance regression mean? One third of 0.1% isn't very impressive. You haven't told us anything at all about the magnitude of this regression. 2.6.9 kernel is 6% slower compare to distributor's 2.4

[PATCH] tpm_atmel build fix

2005-03-09 Thread Greg KH
ChangeSet 1.2038, 2005/03/09 10:13:15-08:00, [EMAIL PROTECTED] [PATCH] tpm_atmel build fix drivers/char/tpm/tpm_atmel.c:131: unknown field `fops' specified in initializer drivers/char/tpm/tpm_atmel.c:131: warning: missing braces around initializer Signed-off-by: Andrew Morton [EMAIL PROTECTED]

Re: bk commits and dates

2005-03-09 Thread David S. Miller
On Thu, 10 Mar 2005 13:41:59 +1100 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: I don't know if I'm the only one to have a problem with that, but it would be nice if it was possible, when you pull a bk tree, to have the commit messages for the csets in that tree be dated from the day you

Re: [BUG] 2.6.11- sym53c8xx Broken on pp64

2005-03-09 Thread Linus Torvalds
On Wed, 9 Mar 2005, Omkhar Arasaratnam wrote: I confirmed that this occurs with the 2.6.11 code straight from kernel.org Here is an error from the bringup: So if 2.6.9 works, and 2.6.11 does not, can you check 2.6.10? And perhaps hunt it down even more, to a -rc release? sym0: No NVRAM,

Re: BUG: Slowdown on 3000 socket-machines tracked down

2005-03-09 Thread Ben Greear
Christian Schmid wrote: Yes, 2.6.11. I have tuned max_backlog and some other TCP and networking related settings to give more buffers etc to networking tasks. I have not tried any significant disk-IO while doing these tests. I finally got my systems set up so I can run my WAN emulator at full

Re: BUG: Slowdown on 3000 socket-machines tracked down

2005-03-09 Thread Christian Schmid
So, maybe a VM problem? That would be a good place to focus since I think we can be fairly certain it isn't a problem in just the networking code. Otherwise, my tests would show lower bandwidth. Thanks to your tests I am really sure that its no network-code problem anymore. But what I THINK it

Re: [PATCH] 2.6.10 - direct-io async short read bug

2005-03-09 Thread Badari Pulavarty
On Wed, 2005-03-09 at 14:39, Andrew Morton wrote: Badari Pulavarty [EMAIL PROTECTED] wrote: On Wed, 2005-03-09 at 11:53, Andrew Morton wrote: Suparna Bhattacharya [EMAIL PROTECTED] wrote: Solaris, which does forcedirectio as a mount option, actually will do buffered

[PATCH] USB: move usb core to use class_simple instead of it's own class functions.

2005-03-09 Thread Greg KH
ChangeSet 1.2051, 2005/03/09 12:17:18-08:00, [EMAIL PROTECTED] [PATCH] USB: move usb core to use class_simple instead of it's own class functions. This is needed if the class code is going to be made easier to use, and it makes the code smaller and easier to understand. Signed-off-by: Greg

Re: [PATCH 0/15] ptwalk: pagetable walker cleanup

2005-03-09 Thread Benjamin Herrenschmidt
On Wed, 2005-03-09 at 22:05 +, Hugh Dickins wrote: Here's a cleanup of the pagetable walkers, in common and i386 code, based on 2.6.11-bk5. Mainly to make them all go the same simpler way, so they're easier to follow with less room for error; but also to reduce the code size and speed it

[PATCH 6/9] UML - Remove build dependency on perl

2005-03-09 Thread Jeff Dike
To quote .config into config.c for building the result into the code, use sed instead of perl, as requested by one embedded UML user (which notes that perl is a big requirement, while busybox provides sed which is used in this patch). I've tested that there are only cosmethical differences in

Re: [PATCH] Add TPM hardware enablement driver

2005-03-09 Thread Jeff Garzik
Greg KH wrote: diff -Nru a/drivers/char/tpm/tpm.c b/drivers/char/tpm/tpm.c --- /dev/null Wed Dec 31 16:00:00 196900 +++ b/drivers/char/tpm/tpm.c 2005-03-09 16:40:26 -08:00 @@ -0,0 +1,697 @@ +/* + * Copyright (C) 2004 IBM Corporation + * + * Authors: + * Leendert van Doorn [EMAIL PROTECTED] + *

Re: Direct io on block device has performance regression on 2.6.x kernel

2005-03-09 Thread Andrew Morton
David Lang [EMAIL PROTECTED] wrote: (I've seen a 50% performance hit on 2.4 with just a thousand or two threads compared to 2.6) Was that 2.4 kernel a vendor kernel with the O(1) scheduler? - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

sched_setscheduler and pids/threads

2005-03-09 Thread Dave Airlie
Hi all, I'm a bit confused over 2.6 threading with respects to real time scheduling settings... In 2.6 all my threads appear as a single PID, if I use chrt -p pid will it set the scheduling priority for my main thread or for all threads in the application? Can I used the thread IDs from

Re: Direct io on block device has performance regression on 2.6.x kernel

2005-03-09 Thread Andrew Morton
Chen, Kenneth W [EMAIL PROTECTED] wrote: Andrew Morton wrote Wednesday, March 09, 2005 6:26 PM What does 1/3 of the total benchmark performance regression mean? One third of 0.1% isn't very impressive. You haven't told us anything at all about the magnitude of this regression. 2.6.9

RE: Direct io on block device has performance regression on 2.6.x kernel

2005-03-09 Thread David Lang
On Wed, 9 Mar 2005, Chen, Kenneth W wrote: Also, I'm rather peeved that we're hearing about this regression now rather than two years ago. And mystified as to why yours is the only group which has reported it. 2.6.X kernel has never been faster than the 2.4 kernel (RHEL3). At one point of time,

Re: Direct io on block device has performance regression on 2.6.xkernel

2005-03-09 Thread David Lang
On Wed, 9 Mar 2005, Andrew Morton wrote: David Lang [EMAIL PROTECTED] wrote: (I've seen a 50% performance hit on 2.4 with just a thousand or two threads compared to 2.6) Was that 2.4 kernel a vendor kernel with the O(1) scheduler? no, a kernel.org kernel. the 2.6 kernel is so much faster for

[PATCH 7/9] UML - Speed up tlb flushing

2005-03-09 Thread Jeff Dike
This patch optimizes tlb flushing in a couple of ways to reduce the number of system calls made to the host in order to update an address space. Operations are collected, and adjacent ones which can be merged, are. This includes consecutive munmaps, mprotects with the same permissions, and mmaps

[PATCH 5/9] UML - change semaphores to completions

2005-03-09 Thread Jeff Dike
From: Esben Nielsen simlo at phys au dk One of the problems was use of direct architecture specific semaphores (which doesn't work under PREEMPT_REALTIME) and in places where a quick (maybe too quick) look at the code told me that completions ought to be used. Therefore I changed two semaphores

3/3 swsusp: enable resume from initrd

2005-03-09 Thread Pavel Machek
Hi! From: [EMAIL PROTECTED] When using a fully modularized kernel it is necessary to activate resume manually as the device node might not be available during kernel init. This patch implements a new sysfs attribute '/sys/power/resume' which allows for manual activation of software resume.

RE: [ANNOUNCE][PATCH 2.6.11 2/3] megaraid_sas: Announcing new mod ule for LSI Logic's SAS based MegaRAID controllers

2005-03-09 Thread Bagalkote, Sreenivas
Even for kernels with a 64bit dma_addr_t you can get 32bit dma addresses only. As a start check whether the pci_set_dma_mask for the 64bit mask failed - in that case you can always use 32bit SGLs. Please help me understand: If dma_addr_t is 64 bit, I will get 64bit addresses in scatterlist

Re: Linux 2.6.11.2

2005-03-09 Thread Greg KH
On Wed, Mar 09, 2005 at 01:06:31PM -0800, Matt Mackall wrote: On Wed, Mar 09, 2005 at 12:39:23AM -0800, Greg KH wrote: And to further test this whole -stable system, I've released 2.6.11.2. It contains one patch, which is already in the -bk tree, and came from the security team (hence the

Re: Direct io on block device has performance regression on 2.6.x kernel

2005-03-09 Thread Jesse Barnes
On Wednesday, March 9, 2005 3:23 pm, Andi Kleen wrote: Chen, Kenneth W [EMAIL PROTECTED] writes: Just to clarify here, these data need to be taken at grain of salt. A high count in _spin_unlock_* functions do not automatically points to lock contention. It's one of the blind spot syndrome

Re: sched_setscheduler and pids/threads

2005-03-09 Thread Robert Love
On Thu, 2005-03-10 at 15:12 +1100, Dave Airlie wrote: In 2.6 all my threads appear as a single PID,if I use chrt -p pid will it set the scheduling priority for my main thread or for all threads in the application? For just the main thread (or the thread of whatever PID you give). You need to

Re: Direct io on block device has performance regression on 2.6.x kernel

2005-03-09 Thread Andrew Vasquez
On Wed, 09 Mar 2005, Chen, Kenneth W wrote: Andrew Morton wrote Wednesday, March 09, 2005 6:26 PM What does 1/3 of the total benchmark performance regression mean? One third of 0.1% isn't very impressive. You haven't told us anything at all about the magnitude of this regression.

Re: BUG: Slowdown on 3000 socket-machines tracked down

2005-03-09 Thread Ben Greear
Christian Schmid wrote: H can you try to following just to exclude some theories: Run it with 4000 sockets and then do the following on the server-machine: dd if=/dev/zero of=file1 bs=1M count=1024 dd if=/dev/zero of=file2 bs=1M count=1024 dd if=/dev/zero of=file3 bs=1M count=1024 cat

Re: Direct io on block device has performance regression on 2.6.x kernel

2005-03-09 Thread Jesse Barnes
On Wednesday, March 9, 2005 3:23 pm, Andi Kleen wrote: Chen, Kenneth W [EMAIL PROTECTED] writes: Just to clarify here, these data need to be taken at grain of salt. A high count in _spin_unlock_* functions do not automatically points to lock contention. It's one of the blind spot syndrome

[PATCH 3/9] UML - Hardware random number generator

2005-03-09 Thread Jeff Dike
This implements a hardware random number generator for UML which attaches itself to the host's /dev/random. Signed-off-by: Jeff Dike [EMAIL PROTECTED] Index: linux-2.6.11/arch/um/Kconfig_char === ---

Re: [2.6 patch] drivers/net/sunhme.c: make a struct static

2005-03-09 Thread David S. Miller
On Sat, 19 Feb 2005 09:36:18 +0100 Adrian Bunk [EMAIL PROTECTED] wrote: This patch makes a needlessly global struct static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Applied, thanks Adrian. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [patch 1/1] unified spinlock initialization arch/um/drivers/port_kern.c

2005-03-09 Thread Russell King
On Wed, Mar 09, 2005 at 08:52:24PM +0100, Blaisorblade wrote: On Wednesday 09 March 2005 18:12, Russell King wrote: On Wed, Mar 09, 2005 at 10:42:33AM +0100, [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Cc: user-mode-linux-devel@lists.sourceforge.net, [EMAIL PROTECTED], [EMAIL

Re: Direct io on block device has performance regression on 2.6.x kernel

2005-03-09 Thread Andrew Morton
Chen, Kenneth W [EMAIL PROTECTED] wrote: Did you generate a kernel profile? Top 40 kernel hot functions, percentage is normalized to kernel utilization. _spin_unlock_irqrestore 23.54% _spin_unlock_irq 19.27% Cripes. Is that with CONFIG_PREEMPT? If

Re: [PATCH] 2.6.10 - direct-io async short read bug

2005-03-09 Thread Andrew Morton
Badari Pulavarty [EMAIL PROTECTED] wrote: On Wed, 2005-03-09 at 11:53, Andrew Morton wrote: Suparna Bhattacharya [EMAIL PROTECTED] wrote: Solaris, which does forcedirectio as a mount option, actually will do buffered I/O on the trailing part. Consider it like a bounce

Re: [PATCH] resync ATI PCI idents into base kernel

2005-03-09 Thread Alan Cox
On Mer, 2005-03-09 at 22:00, Christoph Hellwig wrote: Which is? That's you're so special you don't need to care about the workflow the ordinary humans have created? I don't see the connection between your comment and the thread sorry. If I send it all to Andrew what will happen. Andrew can

Re: Linux 2.6.11-ac1

2005-03-09 Thread Alan Cox
On Mer, 2005-03-09 at 22:22, CaT wrote: Argh! Ok. I guess I shouldn't've just bought the card based on this driver then so that I could better debug my problems with my promise cards. 8( Its good hardware. It does lots of neat things providing you run -ac anyway. The raid1 performance is very

sata_sil Seagate HD solution

2005-03-09 Thread John Yau
Hi all, I recently bought a computer with a Silicon Image 3512 SATA chipset and a 200GB Seagate ST320082 hard drive without knowledge that these two pieces of hardware don't play nicely. However, I called Seagate tech support and they told me that upgrading my bios would fix the problem.

Re: [Fastboot] Re: Query: Kdump: Core Image ELF Format

2005-03-09 Thread Vivek Goyal
On Wed, 2005-03-09 at 07:17 -0700, Eric W. Biederman wrote: Vivek Goyal [EMAIL PROTECTED] writes: On Tue, 2005-03-08 at 11:00 -0700, Eric W. Biederman wrote: That sounds good. But we loose the advantage of doing limited debugging with gdb. Crash (or other analysis tools) will still take

[Patch] resume PIT

2005-03-09 Thread Luming Yu
[PATCH] resume PIT for x86_64 Signed-off-by: Luming Yu [EMAIL PROTECTED] diff -BruN 0/arch/x86_64/kernel/i8259.c 1/arch/x86_64/kernel/i8259.c --- 0/arch/x86_64/kernel/i8259.c2005-03-07 23:29:42.0 +0800 +++ 1/arch/x86_64/kernel/i8259.c2005-03-09 12:53:10.0

Re: [PATCH] Add 2.4.x cpufreq /proc and sysctl interface removal feature-removal-schedule

2005-03-09 Thread Dominik Brodowski
On Wed, Mar 09, 2005 at 04:34:38PM -0800, Greg KH wrote: ChangeSet 1.2036, 2005/03/09 09:31:40-08:00, [EMAIL PROTECTED] [PATCH] Add 2.4.x cpufreq /proc and sysctl interface removal feature-removal-schedule Add 2.4.x cpufreq /proc and sysctl interface removal to the

Re: [BUG] 2.6.11- sym53c8xx Broken on pp64

2005-03-09 Thread Omkhar Arasaratnam
Linus Torvalds wrote: There are certainly sym changes in there too since 2.6.9, let's see if James or Willy have any suggestions. It might not be ppc64-specific. Linus I have tried with 2.6.10, this appears to fail as well. Unfortunately I don't have console access right now

1/3 swsusp: use non-contiguous memory on resume

2005-03-09 Thread Pavel Machek
Hi! The following patch is designed to fix a problem in the current implementation of swsusp in mainline kernels. Namely, swsusp uses an array of page backup entries (aka pagedir) to store pointers to memory pages that must be saved during suspend and restored during resume. Unfortunately, the

Re: [patch] drm missing memset can crash X server..

2005-03-09 Thread Chris Wright
* Dave Airlie ([EMAIL PROTECTED]) wrote: Egbert Eich reported a bug 2673 on bugs.freedesktop.org and tracked it down to a missing memset in the setversion ioctl, this causes X server crashes... From: Egbert Eich [EMAIL PROTECTED] Signed-off-by: Dave Airlie [EMAIL PROTECTED] Thanks,

[PATCH 3/3] cciss: per disk queue support

2005-03-09 Thread mike . miller
This patch adds per disk queue functionality. It seems that the 2.6 kernel expects a queue per disk. If you have multiple logical drives on a controller all of the queues actually point back to the same queue. If a drive is deleted it blows us out of the water. We hold the lock during any queue

[PATCH 1/3] cciss: new controller support

2005-03-09 Thread mike . miller
This patch adds support for 2 new SAS controllers due out this summer. It also bumps the version to 2.6.6. Please consider this for inclusion. Signed-off-by: Mike Miller [EMAIL PROTECTED] Documentation/cciss.txt |2 ++ drivers/block/cciss.c | 14 ++ include/linux/pci_ids.h

<    4   5   6   7   8   9   10   >