Re: Timeouts on ICH7 PATA drive with ata_piix; ide_generic works perfectly

2007-02-05 Thread Keenan Pepper

Luming Yu wrote:

From the dmesg, I found a problem NOT relative to the PATA driver.
I would like to know if cpu freq driver works? If not, please enter a
acpi bug on bugzilla.kernel.org.


The acpi-cpufreq driver does work, but there are some other
ACPI-related problems. Most importantly for me, S3 sleep does not
work, and although S1 sleep works, the Fn key combinations stop
working afterwards. Should I file a bug about this?

Keenan
-
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: Timeouts on ICH7 PATA drive with ata_piix; ide_generic works perfectly

2007-02-05 Thread Keenan Pepper

Luming Yu wrote:

From the dmesg, I found a problem NOT relative to the PATA driver.
I would like to know if cpu freq driver works? If not, please enter a
acpi bug on bugzilla.kernel.org.


The acpi-cpufreq driver does work, but there are some other
ACPI-related problems. Most importantly for me, S3 sleep does not
work, and although S1 sleep works, the Fn key combinations stop
working afterwards. Should I file a bug about this?

Keenan
-
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: Timeouts on ICH7 PATA drive with ata_piix; ide_generic worksperfectly

2007-02-04 Thread Keenan Pepper

Tejun Heo wrote:

* Does putting in a readable CD or DVD make any difference?


Yes, I ran for an hour with an audio CD in the drive and there were no timeouts.


* Does the problem occur in single mode where no HAL or whatever is running?


No, there were no timeouts in single mode even without a CD in the drive.


Auch, scrap the last paragraph. You actually did. Sorry about that. ;-)


Well, partly my fault for letting Gmail give it the wrong MIME type.
Should have made the filenames end in .txt.


I see your controller is ICH7 and the errors are over ten minutes apart.
It really seems that HAL, smartd, hddtemp or whatever is poking the dvd
writer and it isn't happy about it. In addition to the above questions,
you can read cd/dvd's using the drive, right?


Yes, the optical drive itself works great; I can even burn DVDs.

Keenan
-
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: Timeouts on ICH7 PATA drive with ata_piix; ide_generic worksperfectly

2007-02-04 Thread Keenan Pepper

Andrew Morton wrote:

From what version of the kernel did you upgrade?
It is very helpful for us to knwo the latest version which worked OK.


The ata_piix driver never worked correctly. The last kernel I used,
2.6.17, used ide_generic by default, so the ata_piix bug never showed
up. Sorry if that was unclear.

Keenan
-
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: Timeouts on ICH7 PATA drive with ata_piix; ide_generic worksperfectly

2007-02-04 Thread Keenan Pepper

Andrew Morton wrote:

From what version of the kernel did you upgrade?
It is very helpful for us to knwo the latest version which worked OK.


The ata_piix driver never worked correctly. The last kernel I used,
2.6.17, used ide_generic by default, so the ata_piix bug never showed
up. Sorry if that was unclear.

Keenan
-
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: Timeouts on ICH7 PATA drive with ata_piix; ide_generic worksperfectly

2007-02-04 Thread Keenan Pepper

Tejun Heo wrote:

* Does putting in a readable CD or DVD make any difference?


Yes, I ran for an hour with an audio CD in the drive and there were no timeouts.


* Does the problem occur in single mode where no HAL or whatever is running?


No, there were no timeouts in single mode even without a CD in the drive.


Auch, scrap the last paragraph. You actually did. Sorry about that. ;-)


Well, partly my fault for letting Gmail give it the wrong MIME type.
Should have made the filenames end in .txt.


I see your controller is ICH7 and the errors are over ten minutes apart.
It really seems that HAL, smartd, hddtemp or whatever is poking the dvd
writer and it isn't happy about it. In addition to the above questions,
you can read cd/dvd's using the drive, right?


Yes, the optical drive itself works great; I can even burn DVDs.

Keenan
-
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: synchronize_rcu vs. rcu_barrier

2005-08-07 Thread Keenan Pepper
What's the difference between synchronize_rcu() and rcu_barrier() (new 
function used only by reiser4 code)? From the scant documentation it 
seems like they do the same thing.


I'm now happily running 2.6.13-rc4-rt-v0.7.52-14-reiser4 which I compiled by 
adding

#define rcu_barrier synchronize_rcu

so there must not be that much difference =) (at least on UP, that is).

Keenan
-
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/


synchronize_rcu vs. rcu_barrier

2005-08-07 Thread Keenan Pepper
What's the difference between synchronize_rcu() and rcu_barrier() (new function 
used only by reiser4 code)? From the scant documentation it seems like they do 
the same thing.


Keenan
-
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/


synchronize_rcu vs. rcu_barrier

2005-08-07 Thread Keenan Pepper
What's the difference between synchronize_rcu() and rcu_barrier() (new function 
used only by reiser4 code)? From the scant documentation it seems like they do 
the same thing.


Keenan
-
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: synchronize_rcu vs. rcu_barrier

2005-08-07 Thread Keenan Pepper
What's the difference between synchronize_rcu() and rcu_barrier() (new 
function used only by reiser4 code)? From the scant documentation it 
seems like they do the same thing.


I'm now happily running 2.6.13-rc4-rt-v0.7.52-14-reiser4 which I compiled by 
adding

#define rcu_barrier synchronize_rcu

so there must not be that much difference =) (at least on UP, that is).

Keenan
-
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/


[PATCH] [TRIVIAL] signed/unsigned char fix for make menuconfig

2005-07-27 Thread Keenan Pepper

Quiet some silly warnings.


--- linux-2.6.13-rc3-mm2/scripts/lxdialog/dialog.orig.h 2005-07-27 
13:59:02.389806392 -0400
+++ linux-2.6.13-rc3-mm2/scripts/lxdialog/dialog.h  2005-07-27 
13:59:13.437126944 -0400

@@ -163,7 +163,7 @@
 int dialog_checklist (const char *title, const char *prompt, int height,
int width, int list_height, int item_no,
const char * const * items, int flag);
-extern unsigned char dialog_input_result[];
+extern char dialog_input_result[];
 int dialog_inputbox (const char *title, const char *prompt, int height,
int width, const char *init);

--- linux-2.6.13-rc3-mm2/scripts/lxdialog/inputbox.orig.c   2005-07-27 
13:57:57.647648696 -0400
+++ linux-2.6.13-rc3-mm2/scripts/lxdialog/inputbox.c2005-07-27 
13:58:37.336615056 -0400

@@ -21,7 +21,7 @@

 #include "dialog.h"

-unsigned char dialog_input_result[MAX_LEN + 1];
+char dialog_input_result[MAX_LEN + 1];

 /*
  *  Print the termination buttons
@@ -48,7 +48,7 @@
 {
 int i, x, y, box_y, box_x, box_width;
 int input_x = 0, scroll = 0, key = 0, button = -1;
-unsigned char *instr = dialog_input_result;
+char *instr = dialog_input_result;
 WINDOW *dialog;

 /* center dialog box on screen */
-
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/


[PATCH] [TRIVIAL] signed/unsigned char fix for make menuconfig

2005-07-27 Thread Keenan Pepper

Quiet some silly warnings.


--- linux-2.6.13-rc3-mm2/scripts/lxdialog/dialog.orig.h 2005-07-27 
13:59:02.389806392 -0400
+++ linux-2.6.13-rc3-mm2/scripts/lxdialog/dialog.h  2005-07-27 
13:59:13.437126944 -0400

@@ -163,7 +163,7 @@
 int dialog_checklist (const char *title, const char *prompt, int height,
int width, int list_height, int item_no,
const char * const * items, int flag);
-extern unsigned char dialog_input_result[];
+extern char dialog_input_result[];
 int dialog_inputbox (const char *title, const char *prompt, int height,
int width, const char *init);

--- linux-2.6.13-rc3-mm2/scripts/lxdialog/inputbox.orig.c   2005-07-27 
13:57:57.647648696 -0400
+++ linux-2.6.13-rc3-mm2/scripts/lxdialog/inputbox.c2005-07-27 
13:58:37.336615056 -0400

@@ -21,7 +21,7 @@

 #include dialog.h

-unsigned char dialog_input_result[MAX_LEN + 1];
+char dialog_input_result[MAX_LEN + 1];

 /*
  *  Print the termination buttons
@@ -48,7 +48,7 @@
 {
 int i, x, y, box_y, box_x, box_width;
 int input_x = 0, scroll = 0, key = 0, button = -1;
-unsigned char *instr = dialog_input_result;
+char *instr = dialog_input_result;
 WINDOW *dialog;

 /* center dialog box on screen */
-
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: realtime-preempt + reiser4?

2005-07-14 Thread Keenan Pepper

Vladimir V. Saveliev wrote:


ftp://ftp.namesys.com/pub/reiser4-for-2.6/2.6.12/reiser4-for-2.6.12-realtime-preempt-2.6.12-final-V0.7.51-29.patch.gz 

It applies to 2.6.12 + 
http://people.redhat.com/mingo/realtime-preempt/older/realtime-preempt-2.6.12-final-V0.7.51-29 


Ah, this is just what I was looking for. Should have thought to search 
namesys.com.

-
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: realtime-preempt + reiser4?

2005-07-14 Thread Keenan Pepper

Vladimir V. Saveliev wrote:


ftp://ftp.namesys.com/pub/reiser4-for-2.6/2.6.12/reiser4-for-2.6.12-realtime-preempt-2.6.12-final-V0.7.51-29.patch.gz 

It applies to 2.6.12 + 
http://people.redhat.com/mingo/realtime-preempt/older/realtime-preempt-2.6.12-final-V0.7.51-29 


Ah, this is just what I was looking for. Should have thought to search 
namesys.com.

-
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: realtime-preempt + reiser4?

2005-07-12 Thread Keenan Pepper

Lee Revell wrote:

Maybe you could apply the broken out reiser4 patches from -mm and the
realtime preempt patches.  Testing with PREEMPT_DESKTOP and latency
tracing enabled will tell you whether reiser4 has any latency hot spots.


I'm trying this now and it's not exactly trivial; the patches conflict 
in some places so I had to fix by hand. Now I've got it almost compiled 
but it says:


fs/built-in.o: In function `kcond_wait':
: undefined reference to `there_is_no_init_MUTEX_LOCKED_for_RT_semaphores'
fs/built-in.o: In function `kcond_timedwait':
: undefined reference to `there_is_no_init_MUTEX_LOCKED_for_RT_semaphores'

I naively changed these two calls from

init_MUTEX_LOCKED();

to

init_MUTEX();
down();

but I'm not sure if that's right. I guess I'll see when I try to boot it!

Keenan
-
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/


realtime-preempt + reiser4?

2005-07-12 Thread Keenan Pepper
Ingo Molnar's realtime-preempt patches used to be based on the -mm 
kernels, but now they appear to be based on the mainline kernels, so 
they don't support reiser4 (at least until reiser4 is merged into 
mainline, which is looking uncertain as I understand it).
Is realtime-preempt-2.6.10-mm1-V0.7.34-01 the most recent 
realtime-preempt kernel to support reiser4?

How is the latency of the reiser4 code itself?

Keenan
-
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: realtime-preempt + reiser4?

2005-07-12 Thread Keenan Pepper

Lee Revell wrote:

Maybe you could apply the broken out reiser4 patches from -mm and the
realtime preempt patches.  Testing with PREEMPT_DESKTOP and latency
tracing enabled will tell you whether reiser4 has any latency hot spots.


I'm trying this now and it's not exactly trivial; the patches conflict 
in some places so I had to fix by hand. Now I've got it almost compiled 
but it says:


fs/built-in.o: In function `kcond_wait':
: undefined reference to `there_is_no_init_MUTEX_LOCKED_for_RT_semaphores'
fs/built-in.o: In function `kcond_timedwait':
: undefined reference to `there_is_no_init_MUTEX_LOCKED_for_RT_semaphores'

I naively changed these two calls from

init_MUTEX_LOCKED(name);

to

init_MUTEX(name);
down(name);

but I'm not sure if that's right. I guess I'll see when I try to boot it!

Keenan
-
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/


realtime-preempt + reiser4?

2005-07-12 Thread Keenan Pepper
Ingo Molnar's realtime-preempt patches used to be based on the -mm 
kernels, but now they appear to be based on the mainline kernels, so 
they don't support reiser4 (at least until reiser4 is merged into 
mainline, which is looking uncertain as I understand it).
Is realtime-preempt-2.6.10-mm1-V0.7.34-01 the most recent 
realtime-preempt kernel to support reiser4?

How is the latency of the reiser4 code itself?

Keenan
-
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: i830 DRM problems

2005-03-21 Thread Keenan Pepper
Sorry about that, we start to talk about it in private with Dave.
But, I did not really it since Keenan Pepper told me it was due
to a bug in the XFree 4.3 driver.
I am now using Xorg and didn't see any DRM problem since.
However, I can't confirm that my bug was surely due to the XFree driver 
and not to the kernel driver since Xorg uses i915 instead of i830.
Keenan, do you have details ?
Yes, I talked to Alan Hourihane about it and he identified it as a 
memory allocation bug in the i810 X server driver. It's not related to 
DRI - it happens even with DRI turned off - so it wouldn't matter which 
DRM module is being used.
-
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: i830 DRM problems

2005-03-21 Thread Keenan Pepper
Sorry about that, we start to talk about it in private with Dave.
But, I did not really it since Keenan Pepper told me it was due
to a bug in the XFree 4.3 driver.
I am now using Xorg and didn't see any DRM problem since.
However, I can't confirm that my bug was surely due to the XFree driver 
and not to the kernel driver since Xorg uses i915 instead of i830.
Keenan, do you have details ?
Yes, I talked to Alan Hourihane about it and he identified it as a 
memory allocation bug in the i810 X server driver. It's not related to 
DRI - it happens even with DRI turned off - so it wouldn't matter which 
DRM module is being used.
-
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: Undefined symbols in 2.6.11-rc5-mm1

2005-03-02 Thread Keenan Pepper
Oops, should have read all the messages before posting!
I'll try the fix you said, I knew it'd be something like that.
It's attached.
BTW, is attaching things like this the preferred method?
-
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: Undefined symbols in 2.6.11-rc5-mm1

2005-03-02 Thread Keenan Pepper
Oops, should have read all the messages before posting!
I'll try the fix you said, I knew it'd be something like that.
It's attached.
BTW, is attaching things like this the preferred method?
-
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/


Undefined symbols in 2.6.11-rc5-mm1

2005-03-01 Thread Keenan Pepper
Hi everybody, I just joined the LKML!
Don't worry, this is not just a test message, I do actually have 
something to say. I just compiled 2.6.11-rc5-mm1 and got undefined 
symbols "match_int", "match_octal", "match_token", and "match_strdup" in 
several modules. This is using binutils 2.15 and gcc 3.4.4 from Debian.
I grepped around and found those functions in lib/parser.c, so I just 
looked at the output of "make V=1" and invoked "ld" manually, adding in 
lib/lib.a, and the modules work fine now. However, I don't know enough 
about the kernel build process to make a patch to fix this, so I'm just 
notifying people of the problem.

BTW, I just got a new hard disk and put Reiser4 on it. It works great! 
Keep up the good work guys!
-
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/


Undefined symbols in 2.6.11-rc5-mm1

2005-03-01 Thread Keenan Pepper
Hi everybody, I just joined the LKML!
Don't worry, this is not just a test message, I do actually have 
something to say. I just compiled 2.6.11-rc5-mm1 and got undefined 
symbols match_int, match_octal, match_token, and match_strdup in 
several modules. This is using binutils 2.15 and gcc 3.4.4 from Debian.
I grepped around and found those functions in lib/parser.c, so I just 
looked at the output of make V=1 and invoked ld manually, adding in 
lib/lib.a, and the modules work fine now. However, I don't know enough 
about the kernel build process to make a patch to fix this, so I'm just 
notifying people of the problem.

BTW, I just got a new hard disk and put Reiser4 on it. It works great! 
Keep up the good work guys!
-
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/