Deadlocked kernel when using brw_kiovec to do direct I/O

2005-03-17 Thread Hanson, Jonathan M
I'm using brw_kiovec() on a 2.4.28 kernel to write directly to a hard drive from a kernel module that I wrote. I have a 64k buffer that I pass to brw_kiovec() and it writes the data to the hard drive directly like it's supposed to. However, I noticed that if I make more than one call to brw

Thinkpad R40 freezes after swsusp resume

2005-02-10 Thread John M Flinchbaugh
least get a call trace to see where i'm stuck? thank you everyone. -- John M Flinchbaugh [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: Thinkpad R40 freezes after swsusp resume

2005-02-11 Thread John M Flinchbaugh
ptop-mode, turning swappiness up to 100%, saving the hwclock, etc. having taken all that out, i find it unnecessary anymore. -- John M Flinchbaugh [EMAIL PROTECTED] signature.asc Description: Digital signature

RE: Using O_DIRECT for file writing in a kernel module

2005-02-12 Thread Hanson, Jonathan M
On Fri, 2005-02-11 at 17:58 -0700, Hanson, Jonathan M wrote: > I'm trying to write to a file with the O_DIRECT flag from a > kernel module in a 2.4 series of kernel on x86 hardware. I've learned > that the O_DIRECT flag requires that the amount of data written and the &g

Using O_DIRECT for file writing in a kernel module

2005-02-11 Thread Hanson, Jonathan M
I'm trying to write to a file with the O_DIRECT flag from a kernel module in a 2.4 series of kernel on x86 hardware. I've learned that the O_DIRECT flag requires that the amount of data written and the file offset pointer must be multiples of the underlying "block size." To try thin

2.6.11-rc4: oops in swsusp

2005-02-14 Thread John M Flinchbaugh
FIG_I8K is not set CONFIG_MICROCODE=m CONFIG_X86_MSR=m CONFIG_X86_CPUID=m # # Firmware Drivers # # CONFIG_EDD is not set CONFIG_NOHIGHMEM=y # CONFIG_HIGHMEM4G is not set # CONFIG_HIGHMEM64G is not set # CONFIG_MATH_EMULATION is not set CONFIG_MTRR=y # CONFIG_EFI is not set CONFIG_HAVE_DEC_LOCK=y CONFIG_RE

Re: Thinkpad R40 freezes after swsusp resume

2005-02-15 Thread John M Flinchbaugh
otten lucky and not seen the issue for upto 4 days at a time. Assuming disabling ACPI causes my trouble to go away, what's my next step in debugging this issue? I'd hate to just leave it at "Don't use ACPI." Thanks for your time. -- John M Flinchbaugh [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: Thinkpad R40 freezes after swsusp resume

2005-02-16 Thread John M Flinchbaugh
the ipw2100.sf.net drivers, and I've gotten the freeze without even having those modules loaded, so I doubt that's it. I'm currently testing booting with acpi=off. While, I've not had a freeze yet (nearly 2 days), I may take your advice and test with laptop-mode disabled as w

Re: Swsusp, resume and kernel versions

2005-02-17 Thread John M Flinchbaugh
code a script smart enough to grep your swap partitions out of your fstab. -- John M Flinchbaugh [EMAIL PROTECTED] signature.asc Description: Digital signature

PPC64 - missing mem=xxx parameter parsing

2005-02-03 Thread Sanders, Rob M.
Hello, I'm trying to port a device driver that works under 32 bit linux (both ppc and x86) to ppc64. The driver expected the memory on the system to be partitioned using the 'mem=xxx' boot parameter settings such that linux use the lower xxx and remaining physical memory was treated as a contig

2.6.11-rc3: intel8x0 alsa outputs no sound

2005-02-04 Thread John M Flinchbaugh
86_TSC=y CONFIG_X86_MCE=y CONFIG_X86_MCE_NONFATAL=y # CONFIG_TOSHIBA is not set # CONFIG_I8K is not set CONFIG_MICROCODE=m CONFIG_X86_MSR=m CONFIG_X86_CPUID=m # # Firmware Drivers # # CONFIG_EDD is not set CONFIG_NOHIGHMEM=y # CONFIG_HIGHMEM4G is not set # CONFIG_HIGHMEM64G is not set # CONFIG_MATH_EMULATION

Re: Thinkpad R40 freezes after swsusp resume

2005-02-22 Thread John M Flinchbaugh
On Wed, Feb 16, 2005 at 02:59:40PM -0500, John M Flinchbaugh wrote: > correcting the problem, so I can get swsusp and ACPI coexisting > happily > on my Thinkpad R40. > Does anyone here on the ACPI list have some logical next steps for > me to > test? > - Forwarde

Re: Runsocks

2001-06-19 Thread Pedro M. Rodrigues
Kind of offtopic, but do check http://www.socks.nec.com , please. Pedro On 19 Jun 2001, at 17:14, Julien Laganier wrote: > I was searching for a source code of Runsocks. Does anybody knows > where to find it ? > > Tnx > -- > Julien Laganier > Student Intern > Sun Microsystem Lab

Re: Cross-reference analysis reveals problems in 2.4.6pre9

2001-07-03 Thread M. R. Brown
port. I can write help entries for them, but I don't think NIIBE has sent SuperH updates in awhile, the only missing symbol is CONFIG_INPUT_MAPLE_CONTROL, I'll write that one as well. M. R. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

eCos

2001-07-03 Thread Matthew M. DeLoera
Does anyone on the list use eCos (RedHat's embedded Linux)? I'm having some build and other general problems, and I'd like to ask someone about them off-list. Thanks... - Matt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED]

Re: [OT] Suitable Athlon Motherboard for Linux

2001-07-06 Thread Stephen M. Williams
Seems to run fine here. I'm using a Tyan S2380 (600MHz pre-Thunderbird) with the VIA KX-133 chipset, running Kernel 2.4.5 On 04 Jul 2001 19:49:50 +0100, Joseph Mathewson wrote: > Having heard the various horror stories about the VIA PCI data corruption > bugs, and watching one Via based machine

Re: 2.4.5 data corruption

2001-06-19 Thread Pedro M. Rodrigues
On 19 Jun 2001, at 5:00, Stefan Traby wrote: > On Thu, Jun 14, 2001 at 07:20:06PM +0100, Alan Cox wrote: > > > Folks, I believe I have a reproducible test case which corrupts > > > data in 2.4.5. > > > > 2.4.5 has an out of date 3ware driver that is short > > > + 1.02.00.007 - Fix possible nu

Scheduling while atomic on Powerbook G4

2005-03-05 Thread Theis M. Mønsted
-- Med venlig hilsen / Best regards Theis M. Mønsted [1.] One line summary of the problem: scheduling while atomic: swapper/0x0002/0 [2.] Full description of the problem/report: Early during boot the following call trace is printed : Call trace: [c02ca4f0] schedule+0x658/0x6d4 [c0004640

2.6.Stable and EXTRAVERSION

2005-03-09 Thread Justin M. Forbes
. I would propose that the new stable series kernels move the .x version information somewhere more official. I certainly do not mind throwing together a patch to support DOTVERSION or what ever people want to call it. Is anyone opposed to such a change? Thanks, Justin M. Forbes - To unsubscribe

Re: make -j4 gets stuck w/ ccache over NFS - solved!

2005-03-09 Thread Mark M. Hoffman
equests-against-export-table.patch How I tested: I applied the first 12 patches in 2.6.11-mm1; the above mentioned was last - couldn't reproduce the bug. When I unapplied just that one, I saw it again. original bug report: http://marc.theaimsgroup.com/?l=linux-kernel&m=110238645132535&a

2.4.x SMP Kernel Exception (Bug?)

2001-04-28 Thread Aaron M. Folmsbee
All the 2.4.x kernels are failing on my dual Intel PII system with a kernel panic. I have tried everything I could (disable swap, setting memory size, build kernel with minimal options, etc..) and have been unable to boot the kernel so I suspect there may be a bug. The 2.4.x kernels build without

Re: 2.4.x SMP Kernel Exception (Bug?)

2001-04-29 Thread Aaron M. Folmsbee
- Original Message - From: "Ville Herva" <[EMAIL PROTECTED]> To: "Aaron M. Folmsbee" <[EMAIL PROTECTED]> Sent: Sunday, April 29, 2001 12:39 AM Subject: Re: 2.4.x SMP Kernel Exception (Bug?) > Please feed it through ksymoops (see Documentation/oo

Re: 2.4.3 2.4.4pre8: aic7xxx showstopper bug fails to detect sda

2001-04-30 Thread Todd M. Roy
Matthias, I tried pretty much the same thing, and I also tried your patch. Unhappily when I access my zip drive using the aic7xxx driver my system becomes pretty much unresposive, just short of locking up completely. ie at least the emergency alt-sysrq keys still work. I guess we'll just have t

2.4.4 bug report, non-member post

2001-04-30 Thread Eric M. Hopper
I'm using a brand-new 2.4.4 kernel without devfs. If you need to know some option I turned off or on while compiling, email me and I'll tell you. I did use 'kgcc' (egcs-2.91.66) from RH 7.0. I mounted an MSDOS floppy image using the 'vfat' filesystem through the loopback device, and every progr

Re: 2.4.3 2.4.4pre8: aic7xxx showstopper bug fails to detect sda

2001-04-30 Thread Todd M. Roy
Matthias, I tried 2.4.4 with the old aic7 driver and it worked fine. I have no control over that stupid, stupid mime-sweeper message. Thats our anal-retentive network administrators work -- todd -- -- .~. Todd Roy, Senior Database Administrator .~. /V\ Holstein Associatio

Linux 2.4 Scalability, Samba, and Netbench

2001-05-09 Thread Andrew M. Theurer
Hello, I am evaluating Linux 2.4 SMP scalability, using Netbench(r) as a workload with Samba, and I wanted to get some feedback on results so far. I would appreciate comments and any suggestions for improving scalability on this workload. The environment consists of an Intel Profusion based SMP

Re: Linux 2.4 Scalability, Samba, and Netbench

2001-05-09 Thread Andrew M. Theurer
wrote: > > On Wed, May 09, 2001 at 11:29:22AM -0500, Andrew M. Theurer wrote: > > > > I am evaluating Linux 2.4 SMP scalability, using Netbench(r) as a > > workload with Samba, and I wanted to get some feedback on results so > > far. > > Do you have any kernel profil

Re: Linux 2.4 Scalability, Samba, and Netbench

2001-05-09 Thread Andrew M. Theurer
Alan Cox wrote: > > > significant problems with lockmeter. csum_partial_copy_generic was the > > highest % in profile, at 4.34%. I'll see if we can get some space on > > Are you using Antons optimisations to samba to use sendfile ? > > Alan Not yet. As I understand it, we need a supported ni

Re: Linux 2.4 Scalability, Samba, and Netbench

2001-05-10 Thread Andrew M. Theurer
Bruce Allan wrote: > > Andrew Theurer wrote: > > I do have kernprof ACG and lockmeter for a 4P run. We saw no > > significant problems with lockmeter. csum_partial_copy_generic was the > > highest % in profile, at 4.34%. I'll see if we can get some space on > > http://lse.sourceforge.net to po

Help needed: GCOV - not getting HOW TO!!!

2005-01-18 Thread prashanth M D
t.da file in /proc/gcov/kernel/ according to a manual i have but i am not getting this file generated... I am using : kernel version linux-2.4.18 gcc compiler version 3.0.4 Please tell me where i am going wrong. Please help me out... Thanking you, Pr

[GIT PATCH] hwmon updates against v2.6.24-rc2

2007-11-13 Thread Mark M. Hoffman
etting up fans with platform_data hwmon: (f75375s) On n2100 systems, set fans to full speed on boot hwmon: (f75375s) pwmX_mode sysfs files writable for f75375 variant -- Mark M. Hoffman [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kerne

Re: [lm-sensors] [GIT PATCH] hwmon updates against v2.6.24-rc2

2007-11-13 Thread Mark M. Hoffman
Jean: > On Tue, 13 Nov 2007 08:12:10 -0500, Mark M. Hoffman wrote: > > Hi Linus: > > > > Please pull from: > > git://lm-sensors.org/kernel/mhoffman/hwmon-2.6.git release > > > > You'll get one new driver, a few cleanups, and a few bugfixes.

Re: [lm-sensors] hwmon/f75375s.c: buggy if()

2007-10-28 Thread Mark M. Hoffman
gt; on f75375 variant. > > Signed-off-by: Riku Voipio <[EMAIL PROTECTED]> > --- > drivers/hwmon/f75375s.c | 19 --- > 1 files changed, 16 insertions(+), 3 deletions(-) > Applied to hwmon-2.6.git/testing, thanks. -- Mark M. Hoffman [EMAIL PROTECTED] - To u

Re: [PATCH] i5k_amb: Convert macros to C functions

2007-10-28 Thread Mark M. Hoffman
> 1 files changed, 43 insertions(+), 22 deletions(-) Applied to hwmon-2.6.git/testing, thanks. -- Mark M. Hoffman [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED]

Re: [PATCH] sysfs: add filter function to groups

2007-10-30 Thread Mark M. Hoffman
roblem is struct attribute_group itself. This structure is nothing but a convenience for packaging the arguments to sysfs_create_group and sysfs_remove_group. Those functions should take the contents of that struct as direct arguments. I haven't finished the patch series to implement thi

Re: [PATCH] sysfs: add filter function to groups

2007-10-31 Thread Mark M. Hoffman
Hi Kay: * Kay Sievers <[EMAIL PROTECTED]> [2007-10-31 03:01:56 +0100]: > On Oct 31, 2007 1:40 AM, Mark M. Hoffman <[EMAIL PROTECTED]> wrote: > > * James Bottomley <[EMAIL PROTECTED]> [2007-10-30 13:25:43 -0500]: > > > On Mon, 2007-10-29 at 18:58 +0100,

Re: drivers/hwmon/lm93.c: array overruns

2007-07-24 Thread Mark M. Hoffman
on/lm93.c 2007-07-23 09:22:56.0 > +0200 > +++ linux-2.6.23-rc/drivers/hwmon/lm93.c 2007-07-23 09:29:37.0 > +0200 > @@ -234,7 +234,7 @@ > struct { > u8 min; > u8 max; > - } temp_lim[3]; > + } temp_lim[4]; > >

Re: [PATCH][07/37] Clean up duplicate includes in drivers/hwmon/

2007-07-24 Thread Mark M. Hoffman
e.c b/drivers/hwmon/ams/ams-core.c > index 6db9737..a112a03 100644 > --- a/drivers/hwmon/ams/ams-core.c > +++ b/drivers/hwmon/ams/ams-core.c > @@ -23,7 +23,6 @@ > #include > #include > #include > -#include > #include > #include > Applied to hwmon-2.6.gi

Re: [PATCH] hwmon: Add missing __devexit tags in various drivers

2007-07-24 Thread Mark M. Hoffman
i; > --- linux-2.6.23-pre.orig/drivers/hwmon/w83627hf.c2007-07-22 > 11:51:49.0 +0200 > +++ linux-2.6.23-pre/drivers/hwmon/w83627hf.c 2007-07-22 11:56:48.0 > +0200 > @@ -384,7 +384,7 @@ struct w83627hf_sio_data { > > > static int w83627hf_probe(st

ide.c and compactFlash

2007-08-28 Thread Espen M. Rutger
freezes... Any clues? Regards Espen M. Rutger - 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: ide.c and compactFlash

2007-08-30 Thread Espen M. Rutger
Lennart Sorensen wrote: On Thu, Aug 23, 2007 at 01:56:35PM +0200, Espen M. Rutger wrote: I got problems with the IDE code which causes the kernel to freez after printing out: hda: status timeout: status=0xd0 { Busy } kernel used: 2.4.18 crosscompiled with Montavista tools (ppc_82xx-gcc

Re: [PATCH] hwmon coretemp: Remove bogus __cpuinitdata etc cleanup

2007-09-02 Thread Mark M. Hoffman
gt; +static struct notifier_block coretemp_cpu_notifier = { > .notifier_call = coretemp_cpu_callback, > }; > #endif /* !CONFIG_HOTPLUG_CPU */ -- Mark M. Hoffman [EMAIL PROTECTED] - 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: 2.6.23-rc1 regression: hwmon/w83627ehf: wrong fan speed

2007-08-05 Thread Mark M. Hoffman
rted chip ID: 0x > w83627ehf: Found W83627EHG chip at 0x290 > The former message is normally suppressed by patch "Be quiet when no > chip is found". Mainboard is an MSI 945GT Speedster-A4R, userland is > Gentoo's lm_sensors-2.10.1 and ksensors-0.7.3. > > Booting bac

Re: 2.6.23-rc1 regression: hwmon/w83627ehf: wrong fan speed

2007-08-05 Thread Mark M. Hoffman
Hi Stefan: * Stefan Richter <[EMAIL PROTECTED]> [2007-08-05 16:51:07 +0200]: > Mark M. Hoffman wrote: > > It's more likely the patch before that: > > > > hwmon/w83627ehf: Preserve speed reading when changing fan min > > I reverted this patch alon

Re: 2.6.23-rc1 regression: hwmon/w83627ehf: wrong fan speed

2007-08-05 Thread Mark M. Hoffman
s lm_sensors-2.10.1 and ksensors-0.7.3. > > Booting back into 2.6.22-rc5 (which seems identical with 2.6.22 as far > as w83627ehf is concerned) brings back the correct fan speeds. Does this patch (against v2.6.23-rc2) fix it? commit f15c50e703c14ff7d72c3cb34e8e55417476a290 Author: Mark M

Re: bad temperature values from w83781d in 2.6.22

2007-08-07 Thread Mark M. Hoffman
quot;sensors -s" is running (without error) some time during system startup, w/ both kernel versions? Thanks & regards, -- Mark M. Hoffman [EMAIL PROTECTED] - 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] Add missing newlines to some uses of dev_ messages

2007-08-08 Thread Mark M. Hoffman
ers/hwmon/w83792d.c|4 +- Acked-by: Mark M. Hoffman <[EMAIL PROTECTED]> Regards, -- Mark M. Hoffman [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info

Re: [lm-sensors] bad temperature values from w83781d in 2.6.22

2007-08-08 Thread Mark M. Hoffman
# i2cset -f 0 0x2d 0x5d 0x0e b Wait > 2 seconds for the hardware to update itself, then run 'sensors' again. I'm pretty sure you'll see the correct temps. Regards, -- Mark M. Hoffman [EMAIL PROTECTED] - To unsubscribe from this list: send the line "u

[PATCH] bad temperature values from w83781d in 2.6.22

2007-08-09 Thread Mark M. Hoffman
Hi Joerg: > On Wed, Aug 08, 2007 at 11:56:42PM -0400, Mark M. Hoffman wrote: > > Thanks for sending all that. I see one bug clearly, and I'm pretty close to > > seeing the other one. But for tonight, I need sleep. There's just one bug after all. The second was a fig

Re: [PATCH] Fix regression caused by typo in lm90.c

2007-07-29 Thread Mark M. Hoffman
MAIL PROTECTED]> [2007-07-27 10:07:45 +0200]: > Signed-off-by: Jean Delvare <[EMAIL PROTECTED]> Applied to hwmon-2.6.git/testing, thanks. -- Mark M. Hoffman [EMAIL PROTECTED] - 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: [lm-sensors] [2.6 patch] make abituguru3_read_increment_offset() static

2007-07-29 Thread Mark M. Hoffman
_count) > >+static int abituguru3_read_increment_offset(struct abituguru3_data *data, > >+u8 bank, u8 offset, u8 count, > >+ u8 *buf, int offset_count) > > { > > int i, x; > > > &g

[GIT PATCH] hwmon updates against ~v2.6.23-rc1-git8

2007-07-31 Thread Mark M. Hoffman
737 temp fault attribute Krzysztof Helt (1): hwmon: add support for THMC50 and ADM1022 Martin Szulecki (1): hwmon: (applesmc) add temperature sensors set for Macbook -- Mark M. Hoffman [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Fwd: request_module() fails

2007-08-01 Thread Gireesh Kumar M
Hi, I'm trying to load some modules upon occurance of a GPIO interrupt. The ISR checks some register and then schedules a tasklet to act further on the interrupt. Inside the tasklet, I call request_module to load a driver. But, here it's failing. Please see the error log pasted below. When I tried

Re: 2.6.23-rc1 regression: hwmon/w83627ehf: wrong fan speed

2007-08-12 Thread Mark M. Hoffman
outb_p(W83627EHF_REG_BANK, data->addr + ADDR_REG_OFFSET); > outb_p(reg >> 8, data->addr + DATA_REG_OFFSET); > } > } > > +/* Not strictly necessary, but play it safe for now */ > static inline void w83627ehf_reset_bank(struct w83627ehf_data *data, u16 reg) > { >

[GIT PATCH] hwmon updates against ~v2.6.23-rc2-git

2007-08-13 Thread Mark M. Hoffman
nged, 36 insertions(+), 26 deletions(-) Jean Delvare (2): hwmon: (w83627ehf) don't assume bank 0 hwmon: (smsc47m1) restore missing name attribute Mark M. Hoffman (2): hwmon: fix w83781d temp sensor type setting hwmon: (w83627ehf) read fan_div values during probe --

Re: [PATCH] [210/2many] MAINTAINERS - HARDWARE MONITORING

2007-08-13 Thread Mark M. Hoffman
I guess you know by now not to ever do that again. If you collect the hwmon stuff into one (1) patch, I'll take it. Now you'll excuse me while I drive a nail through my delete key. -- Mark M. Hoffman [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linu

Re: [PATCH v4] i5k_amb: New memory temperature sensor driver

2007-10-23 Thread Mark M. Hoffman
onfig | 10 + > drivers/hwmon/Makefile |1 > drivers/hwmon/i5k_amb.c | 531 > +++ > include/linux/pci_ids.h |3 > 4 files changed, 545 insertions(+), 0 deletions(-) Applied to hwmon-2.6.git/testing, thanks. -- Mark M. Hoffm

Re: [PATCH v2] ibmpex: Change printk to dev_{info,err} macros

2007-10-23 Thread Mark M. Hoffman
ed-off-by: Darrick J. Wong <[EMAIL PROTECTED]> > > --- > > Acked-by: Jean Delvare <[EMAIL PROTECTED]> Applied to hwmon-2.6.git/testing, thanks. -- Mark M. Hoffman [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [PATCH] Hardware Monitor LM70: Convert semaphore to mutex

2007-10-24 Thread Mark M. Hoffman
Hi: * Matthias Kaehlcke <[EMAIL PROTECTED]> [2007-10-24 14:59:09 +0200]: > Hardware Monitor LM70: Convert the semaphore lm70->sem to the mutex > API > > Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> Applied to hwmon-2.6.git/testing, thanks. -- Mark M. Hoff

Re: [lm-sensors] hwmon/f75375s.c: buggy if()

2007-10-24 Thread Mark M. Hoffman
) to > > change it to read-write where supported. > > Thanks, this was good suggestion. Patch attached. No patch? -- Mark M. Hoffman [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EM

Re: [PATCH 0/5] Detect hwmon and i2c bus drivers interfering with ACPI Operation Region resources

2007-10-25 Thread Mark M. Hoffman
to =strict right away. This will force people to report. Open the floodgates; I hope I don't drown. Regards, -- Mark M. Hoffman [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordom

[GIT PATCH] hwmon updates against v2.6.23

2007-10-14 Thread Mark M. Hoffman
hwmon: (dme1737) Add sch311x support Krzysztof Helt (5): hwmon: adm1021 clean ups hwmon: (thmc50) add individual alarm & fault files hwmon: (thmc50) Fix alarms clearing hwmon: (adm1021) dynamic sysfs callbacks conversion hwmon: (adm1021) individual alarm files M

Re: 2.6.23.1 x86 hardware monitoring bug?

2007-10-14 Thread Mark M. Hoffman
000 > Adapter: ISA adapter > Core 0: +39°C (high = +85°C) > > coretemp-isa-0001 > Adapter: ISA adapter > Core 1: +39°C (high = +85°C) Strange. What does 'ls -lH /sys/class/hwmon/hwmon*/device' say? Regards, -- Mark M. Hoffman [EMAIL PROTECTED] - To uns

Re: [lm-sensors] [PATCH v3] hwmon: Add power meter spec to Documentation/hwmon/sysfs-interface

2007-10-16 Thread Mark M. Hoffman
t; > Documentation/hwmon/sysfs-interface | 31 +++ > > 1 files changed, 31 insertions(+), 0 deletions(-) * Jean Delvare <[EMAIL PROTECTED]> [2007-10-15 17:10:29 +0200]: > Looks good, thanks for your patience :) > > Acked-by: Jean Delvare <[EMAIL PROTECT

Re: [PATCH v3] i5k_amb: New memory temperature sensor driver

2007-10-18 Thread Mark M. Hoffman
I_DEVICE_ID_INTEL_82915GM_HB 0x2590 > #define PCI_DEVICE_ID_INTEL_82915GM_IG 0x2592 > +#define PCI_DEVICE_ID_INTEL_5000_ERR 0x25F0 > +#define PCI_DEVICE_ID_INTEL_5000_FBD00x25F5 > +#define PCI_DEVICE_ID_INTEL_5000_FBD10x25F6 > #define PCI_DEVICE_ID_INTEL_82945G_HB0x2770 > #define PCI_DEVICE_ID_INTEL_82945G_IG0x2772 > #define PCI_DEVICE_ID_INTEL_3000_HB 0x2778 diff --git a/drivers/hwmon/i5k_amb.c b/drivers/hwmon/i5k_amb.c index 3bde717..65ecc56 100644 --- a/drivers/hwmon/i5k_amb.c +++ b/drivers/hwmon/i5k_amb.c @@ -400,25 +400,12 @@ out: return res; } -static int __devinit i5k_channel_probe(struct i5k_amb_data *data, int which) +static int __devinit i5k_channel_probe(u16 *amb_present, unsigned long dev_id) { struct pci_dev *pcidev; - unsigned long dev_id; u16 val16; int res = -ENODEV; - /* Two memory channels per FBD PCI device */ - switch (which) { - case 0: - dev_id = PCI_DEVICE_ID_INTEL_5000_FBD0; - break; - case 1: - dev_id = PCI_DEVICE_ID_INTEL_5000_FBD1; - break; - default: - return -EINVAL; - } - /* Copy the DIMM presence map for these two channels */ pcidev = pci_get_device(PCI_VENDOR_ID_INTEL, dev_id, NULL); if (!pcidev) @@ -426,11 +413,11 @@ static int __devinit i5k_channel_probe(struct i5k_amb_data *data, int which) if (pci_read_config_word(pcidev, I5K_REG_CHAN0_PRESENCE_ADDR, &val16)) goto out; - data->amb_present[which * 2] = val16; + amb_present[0] = val16; if (pci_read_config_word(pcidev, I5K_REG_CHAN1_PRESENCE_ADDR, &val16)) goto out; - data->amb_present[which * 2 + 1] = val16; + amb_present[1] = val16; res = 0; @@ -455,12 +442,14 @@ static int __devinit i5k_amb_probe(struct platform_device *pdev) goto err; /* Copy the DIMM presence map for the first two channels */ - res = i5k_channel_probe(data, 0); + res = i5k_channel_probe(&data->amb_present[0], + PCI_DEVICE_ID_INTEL_5000_FBD0); if (res) goto err; /* Copy the DIMM presence map for the optional second two channels */ - i5k_channel_probe(data, 1); + i5k_channel_probe(&data->amb_present[2], + PCI_DEVICE_ID_INTEL_5000_FBD1); /* Set up resource regions */ reso = request_mem_region(data->amb_base, data->amb_len, DRVNAME); Thanks & regards, -- Mark M. Hoffman [EMAIL PROTECTED] - 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: hwmon/f75375s.c: buggy if()

2007-10-18 Thread Mark M. Hoffman
plied this: commit 805763cd743f2aed41dc61a55569fa43cf1f240c Author: Riku Voipio <[EMAIL PROTECTED]> Date: Thu Oct 18 09:29:53 2007 -0400 hwmon: (f75375s) fix pwm mode setting Spotted by the Coverity checker. (Thanks Adrian Bunk) Signed-off-by: Riku Voipio <[EM

Re: [2.6 patch] hwmon/ibmpex.c: fix NULL dereference

2007-10-18 Thread Mark M. Hoffman
*dev) > data = kzalloc(sizeof(*data), GFP_KERNEL); > if (!data) { > printk(KERN_ERR DRVNAME ": Insufficient memory for BMC " > -"interface %d.\n", data->interface); > + "interface.\n"); >

RE: [2.6 patch] iwl4965-base.c: fix off-by-one errors

2007-10-18 Thread Cahill, Ben M
ACK ... good catch. -- Ben -- > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Bunk > Sent: Sunday, October 14, 2007 1:51 PM > To: Zhu, Yi > Cc: [EMAIL PROTECTED]; > [EMAIL PROTECTED]; linux-kernel@vger.kernel.org > Subject: [2.6 patch] iwl4

Re: [-mm patch] remove quirk_sis_96x_compatible()

2007-01-14 Thread Mark M. Hoffman
Hi Adrian: > On Sun, Jan 07, 2007 at 10:40:49AM -0500, Mark M. Hoffman wrote: > > It's just cruft from the original quirk. The "compatible" printk could have > > had value as a diagnostic in case the new quirk didn't work for some reason, > > but I neve

reading a binary sysfs attribute continues forever

2007-01-23 Thread Jonathan M. McCune
Hello, I have written a kernel module which introduces a new subsystem in sysfs, and it contains several attributes, one of which is binary. So far, I've been testing it using text. My problem is, attempting to read data continues forever. For example: # echo "test data" > /sys/mystuff/binarya

Re: [take35 0/10] kevent: Generic event handling mechanism.

2007-02-05 Thread David M. Lloyd
On Thu, 2007-02-01 at 13:12 +0300, Evgeniy Polyakov wrote: > Generic event handling mechanism. The patch applied cleanly to 2.6.20 final, but I got a build error: CC kernel/kevent/kevent.o CC kernel/kevent/kevent_user.o CC kernel/kevent/kevent_timer.o CC kernel/kevent/

INFO: possible circular locking dependency detected

2007-02-08 Thread Pedro M. López
=== [ INFO: possible circular locking dependency detected ] 2.6.20 #2 --- soffice.bin/29030 is trying to acquire lock: (sk_lock-AF_INET){--..}, at: [<78259420>] tcp_sendmsg+0x16/0xafa but task

xfs internal error on a new filesystem

2007-02-14 Thread Ramy M. Hassan
Hello, We got the following xfs internal error on one of our production servers: Feb 14 08:28:52 info6 kernel: [238186.676483] Filesystem "sdd8": XFS internal error xfs_trans_cancel at line 1138 of file fs/xfs/xfs_trans.c. Caller 0xf8b906e7 Feb 14 08:28:52 info6 kernel: [238186.869089] [pg0+9476

forcedeth trouble in 2.6.19(.1)

2006-12-19 Thread John M Flinchbaugh
, ISR=0x97, t=2189. Dec 17 05:35:39 butterfly kernel: [184437.367308] NETDEV WATCHDOG: eth3: transmit timed out Dec 17 05:35:39 butterfly kernel: [184437.367315] eth3: Tx timed out, lost interrupt? TSR=0x3, ISR=0x3, t=1188. Is this the same issue? Thanks. -- John M Flinchbaugh [EMAIL PROT

Re: [-mm patch] drivers/pci/quirks.c: cleanup

2007-01-07 Thread Mark M. Hoffman
d such that this quirk is broken anyway. I sent a patch for this back in May: http://lists.lm-sensors.org/pipermail/lm-sensors/2006-May/016113.html There was some discussion on the linux-pci mailing list as well; can't seem to find an archive of that though. Basically, it was not understo

Re: [-mm patch] drivers/pci/quirks.c: cleanup

2007-01-07 Thread Mark M. Hoffman
2.6.0-test10, but we could certainly get rid of it now." > > I do not think there is a bug here, or someone would have complained by > now. Note though that I do not have a SiS-based motherboard to test on. > Mark may be able to help with testing. It's just cruft from the ori

Re: [-mm patch] drivers/pci/quirks.c: cleanup

2007-01-08 Thread Mark M. Hoffman
Jean: * Jean Delvare <[EMAIL PROTECTED]> [2007-01-08 12:10:55 +0100]: > Hi Mark, > > On Sun, 7 Jan 2007 10:44:41 -0500, Mark M. Hoffman wrote: > > Hi Jean, Adrian: > > > > > On Tue, 19 Dec 2006 05:13:15 +0100, Adrian Bunk wrote: > > > > @@ -11

[PATCH 2.6.20-rc4] i2c/pci: fix sis96x smbus quirk once and for all

2007-01-08 Thread Mark M. Hoffman
them in any specific order. http://lists.lm-sensors.org/pipermail/lm-sensors/2006-April/015962.html https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=189719 I tested this patch. Please apply. Signed-off-by: Mark M. Hoffman <[EMAIL PROTECTED]> --- drivers/pci/quirks.c | 14 ---

Re: [-mm patch] drivers/pci/quirks.c: cleanup

2007-01-09 Thread Mark M. Hoffman
Hi Jean: > On Mon, 8 Jan 2007 22:02:26 -0500, Mark M. Hoffman wrote: > > 3) I've just confirmed that this quirk is still broken on recent FC6 > > kernels. > > Perhaps they should have picked my patch out of their bugzilla, but they > > didn't. * Jean Delva

Re: [PATCH] Kdump documentation update for 2.6.20

2007-01-09 Thread Mohan Kumar M
On Tue, Jan 09, 2007 at 08:17:08PM +0530, Vivek Goyal wrote: > > Mohan, Can you please check the correctness of ppc64 specific details. > Vivek, My inputs. > > > + --append="root= init 1 irqpoll maxcpus=1" > > > + > > > +If you are using a relocatable kernel (method 2), then use > > > +follo

only a test

2007-06-24 Thread Roland M. Kruggel
-- cu Roland Kruggel  mailto: rk.liste at bbf7.de System: Intel, Debian etch, 2.6.16.16, xfce4 KDE 3.5 - 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

only a test

2007-06-24 Thread Roland M. Kruggel
-- cu Roland Kruggel  mailto: rk.liste at bbf7.de System: Intel, Debian etch, 2.6.16.16, xfce4 KDE 3.5 - 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

Re: only a test

2007-06-24 Thread Roland M. Kruggel
Am Sonntag, 24. Juni 2007 14:13 schrieb Jan Engelhardt: > On Jun 24 2007 14:07, Roland M. Kruggel wrote: > >Subject: only a test > > Enough testing now! :) Soory. I had a missconfiguration in my procmail. I did't received the ml. Now it run's. Test are finished. -- c

Re: [PATCH] Optimize is_power_of_2().

2007-06-15 Thread David M. Lloyd
On Fri, 15 Jun 2007 21:47:50 +0200 (CEST) Jan Engelhardt <[EMAIL PROTECTED]> wrote: > On Jun 15 2007 18:56, Vegard Nossum wrote: > > bool is_power_of_2(unsigned long n) > > { > >-return (n != 0 && ((n & (n - 1)) == 0)); > >+return n * !(n & (n - 1)); > > } > > There is a third way which u

Re: [PATCH] Optimize is_power_of_2().

2007-06-15 Thread David M. Lloyd
On Fri, 15 Jun 2007 14:54:20 -0500 "David M. Lloyd" <[EMAIL PROTECTED]> wrote: > On Fri, 15 Jun 2007 21:47:50 +0200 (CEST) > Jan Engelhardt <[EMAIL PROTECTED]> wrote: > > > On Jun 15 2007 18:56, Vegard Nossum wrote: > > > bool is_power_of_2(unsigned

Re: [lm-sensors] [2.6 patch] make coretemp_device_remove() static

2007-07-08 Thread Mark M. Hoffman
07-04 > > 20:46:20.0 +0200 > > @@ -318,7 +318,7 @@ > > } > > > > #ifdef CONFIG_HOTPLUG_CPU > > -void coretemp_device_remove(unsigned int cpu) > > +static void coretemp_device_remove(unsigned int cpu) > > { > > struct pdev_entry *p, *n

Re: Syslets, Threadlets, generic AIO support, v6

2007-05-30 Thread David M. Lloyd
On Wed, 30 May 2007 14:27:52 -0700 (PDT) Linus Torvalds <[EMAIL PROTECTED]> wrote: > Well, don't think of it as a special case at all: think of bit 30 as > a "the user asked for a non-linear fd". If the sole point is to protect an fd from being closed or operated on outside of a certain context,

Re: [RFC][Patch] Allow not mounting a root fs

2007-07-18 Thread Roland M. Kruggel
-- cu Roland Kruggel  mailto: rk.liste at bbf7.de System: Intel, Debian etch, 2.6.16.16, xfce4 KDE 3.5 Test vom script... - 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/major

[GIT PATCH] hwmon patches against 2.6.22

2007-07-19 Thread Mark M. Hoffman
o bus driver Juerg Haefliger (3): hwmon: New SMSC DME1737 driver hwmon/dme1737: Add documentation hwmon: add SCH5317 to smsc47b397 driver Mark M. Hoffman (1): hwmon: New maintainer Phil Endecott (1): hwmon/f71805f: Add temperature-tracking fan control mode Ra

New hwmon maintainer

2007-06-09 Thread Mark M. Hoffman
start pulling from this git tree, Jean said he will delete his patch series entirely. BTW: None of these patches are needed before 2.6.23. Thanks & regards, PS: Thanks for your good work and help, Jean. -- Mark M. Hoffman [EMAIL PROTECTED] - To unsubscribe from this list: send the line &qu

Re: [PATCH 16/16] fix handling of integer constant expressions

2007-06-26 Thread Derek M Jones
t have anything resembling support of VLA. If it did support VLAs it would point out that this is a constraint violation. VLAs must have block or function prototype scope. -- Derek M. Jones tel: +44 (0) 1252 520 667 Knowledge Software Ltd mailto:[

Re: [lm-sensors] [PATCH 3/5] use mutex instead of semaphore in SMSC LPC47M192 driver

2007-07-01 Thread Mark M. Hoffman
tree[1] and therefore in latest -mm as well. [1] http://lm-sensors.org/kernel?p=kernel/mhoffman/hwmon-2.6.git;a=shortlog;h=testing Regards, -- Mark M. Hoffman [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EM

Re: [PATCH][Documentation][resend] Add missing files and dirs to 00-INDEX in Documentation/

2007-07-05 Thread Elyse M. Grasso
On Tuesday 03 July 2007, Rob Landley wrote: > Documentation/* is a gigantic mess, currently organized based on where random > passers-by put things down last. I posted a couple of patches to do minor > cleanups to it last month, but since then I've put that on the back burner, > because Docum

Re: sys_write() racy for multi-threaded append?

2007-03-13 Thread David M. Lloyd
On Tue, 2007-03-13 at 02:24 +, Alan Cox wrote: > > purports to handle short writes but has never been exercised is > > arguably worse than code that simply bombs on short write. So if I > > can't shim in an induce-short-writes-randomly-on-purpose mechanism > > during development, I don't want

Re: [lm-sensors] Hardware monitoring subsystem maintainer position is open

2007-04-15 Thread Mark M. Hoffman
job (ruik?) I'll start working with Jean to get things set up as soon as I can. Thanks & regards, -- Mark M. Hoffman [EMAIL PROTECTED] - 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: 2.6.21-rc7: HPET enabled freeze my machine at boot

2007-04-21 Thread Guilherme M. Schroeder
John, Boot ok with clocksource=acpi_pm and HPET enabled. Any clue? john stultz wrote: On 4/19/07, guilherme <[EMAIL PROTECTED]> wrote: Hi, If i enable "High Resolution Timer Support", my machine stops here at boot: Clocksource tsc unstable (delta = -297340790165 ns) Time: hpet clocksource

Re: Detecting process death for anycast named process monitoring

2007-05-03 Thread David M. Lloyd
On Wed, 2007-05-02 at 16:30 -0600, Chris Friesen wrote: > Glen Turner wrote: > > > The question is, how can a process with no relationship to another > > process detect that process unexpectedly dying? If named goes > > away to a better place, we want to shut down the interface > > which causes Q

Re: [PATCH] Blacklist Dell Optiplex 320 from using the HPET

2007-05-05 Thread Guilherme M. Schroeder
The lspci output: 00:00.0 Host bridge: ATI Technologies Inc Radeon Xpress 200 Host Bridge (rev 01) 00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge 00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA 00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0) 00:13.1

Re: SOME STUFF ABOUT REISER4

2007-04-24 Thread Eric M. Hopper
On Mon, 2007-04-23 at 23:17 -0700, [EMAIL PROTECTED] wrote: > On Sun, 22 Apr 2007 19:00:46 -0700, "Eric Hopper" > <[EMAIL PROTECTED]> said: > > > I know that this whole effort has been put in disarray by the > > prosecution of Hans Reiser, but I'm curious as to its status. Is > > Reiser4 going to

Re: Question about Reiser4

2007-04-24 Thread Eric M. Hopper
On Tue, 2007-04-24 at 17:12 -0700, [EMAIL PROTECTED] wrote: > On Sun, 22 Apr 2007 19:00:46 -0700, "Eric Hopper" > > <[EMAIL PROTECTED]> said: > > > I did. That whole thread is some guy spouting off a ludicrous Bonnie++ > > benchmark showing that compressing long strings of 0s results in things >

<    2   3   4   5   6   7   8   9   10   11   >