Skip to contentSkip to conversation

v2.6.22.1-rt5

DISCUSSION Ingo Molnar 3 participants 9 messages Jul 24, 2007 – Jul 25, 2007

lore
Share & tools
lore
#0 lore raw

i've released the v2.6.23-rc1-rt0 kernel, which can be downloaded from the usual place:

http://redhat.com/~mingo/realtime-preempt/

as the rt0 name suggests it, this is a devel release, the first one after a rebase to 2.6.23-rc1. There's lots of changes and a reduction of 50 patches (we are now at 320 patches) - so code from -rt is moving upstream at a steady pace. (latest bigger chunks that moved were CFS, lockstat, most of the -hrt queue, plus various fixes)

more info about the -rt patchset can be found in the RT wiki:

http://rt.wiki.kernel.org

to build a 2.6.22.1-rt5 tree, the following patches should be applied:

http://kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.23-rc1.tar.bz2
http://redhat.com/~mingo/realtime-preempt/patch-2.6.23-rc1-rt0

Ingo

#1 lore raw
Quoted 9 lines · Ingo Molnar

more info about the -rt patchset can be found in the RT wiki:

http://rt.wiki.kernel.org

to build a 2.6.22.1-rt5 tree, the following patches should be applied:

http://kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.23-rc1.tar.bz2
http://redhat.com/~mingo/realtime-preempt/patch-2.6.23-rc1-rt0

This patch is needed to build on x86-64 with only the tracing options, but no preempt enabled.

-Andi

Fix build in latency_hist.c

kernel/latency_hist.c +1 -0
Index: linux-2.6.23-rc1-rt0/kernel/latency_hist.c
===================================================================
@@ -15,6 +15,7 @@
 #include <linux/percpu.h>
 #include <linux/latency_hist.h>
 #include <asm/atomic.h>
+#include <asm/div64.h>
 
 typedef struct hist_data_struct {
 	atomic_t hist_mode; /* 0 log, 1 don't log */
author Applied
#2 lore raw

Re: v2.6.23-rc1-rt0

Quoted 2 lines · Andi Kleen

This patch is needed to build on x86-64 with only the tracing options, but no preempt enabled.

thanks, applied.

Ingo

#3 lore raw
In reply to Ingo Molnar
Quoted 13 lines · Ingo Molnar

i've released the v2.6.23-rc1-rt0 kernel, which can be downloaded from the usual place:

http://redhat.com/~mingo/realtime-preempt/

as the rt0 name suggests it, this is a devel release, the first one after a rebase to 2.6.23-rc1. There's lots of changes and a reduction of 50 patches (we are now at 320 patches) - so code from -rt is moving upstream at a steady pace. (latest bigger chunks that moved were CFS, lockstat, most of the -hrt queue, plus various fixes)

more info about the -rt patchset can be found in the RT wiki:

Quoted 8 lines

http://rt.wiki.kernel.org

to build a 2.6.22.1-rt5 tree, the following patches should be applied:

http://kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.23-rc1.tar.bz2
http://redhat.com/~mingo/realtime-preempt/patch-2.6.23-rc1-rt0

Ingo

The above stanza still needs some tlc. I built a 2.6.22.1-rt6 (rt5 wouldn't build) using the same old config that a make oldconfig didn't fuss about, but the reboot never completed, see the attached, heavily smunched camera shot of the panic.

Kinda looks like hda/sda confusion, with rt3 (this boot), its hda*, what is it now? fstab or kernel config error?

Signature · 6 lines
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
"Microwave oven?  Whaddya mean, it's a microwave oven?  I've been watching
Channel 4 on the thing for two weeks."
#4 lore raw
Quoted 7 lines · Gene Heskett

The above stanza still needs some tlc. I built a 2.6.22.1-rt6 (rt5 wouldn't build) using the same old config that a make oldconfig didn't fuss about, but the reboot never completed, see the attached, heavily smunched camera shot of the panic.

Kinda looks like hda/sda confusion, with rt3 (this boot), its hda*, what is it now? fstab or kernel config error?

yeah, as long as your filesystems are created with a proper label, all that you need to do is to change all 'hda' to 'sda' in the new kernel's /etc/grub.conf entry. (or enable the old IDE code in the .config, under CONFIG_IDE)

Ingo

#5 lore raw
Quoted 9 lines · Ingo Molnar
Quoted 7 lines · Gene Heskett

The above stanza still needs some tlc. I built a 2.6.22.1-rt6 (rt5 wouldn't build) using the same old config that a make oldconfig didn't fuss about, but the reboot never completed, see the attached, heavily smunched camera shot of the panic.

Kinda looks like hda/sda confusion, with rt3 (this boot), its hda*, what is it now? fstab or kernel config error?

Quoted 6 lines

yeah, as long as your filesystems are created with a proper label, all that you need to do is to change all 'hda' to 'sda' in the new kernel's /etc/grub.conf entry. (or enable the old IDE code in the .config, under CONFIG_IDE)

Ingo

Damn, I didn't say it clear enough, the / is on an LVM volume. /Boot is on /dev/hda1, aka (hd0,0) in the first line. Since the msg pointed at 0,0, I'll switch that line to "root (sd0,0)" just for grins.

I take it that was an auto-conversion? I did nothing to confirm any changes when I ran a make oldconfig, using the 2.6.22.1-rt3 .config as the src config.

Thanks.

Signature · 9 lines
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
But I was there and I saw what you did,
I saw it with my own two eyes.
So you can wipe off that grin;
I know where you've been--
It's all been a pack of lies!
#6 lore raw
In reply to Ingo Molnar
Quoted 9 lines · Ingo Molnar
Quoted 7 lines · Gene Heskett

The above stanza still needs some tlc. I built a 2.6.22.1-rt6 (rt5 wouldn't build) using the same old config that a make oldconfig didn't fuss about, but the reboot never completed, see the attached, heavily smunched camera shot of the panic.

Kinda looks like hda/sda confusion, with rt3 (this boot), its hda*, what is it now? fstab or kernel config error?

Quoted 6 lines

yeah, as long as your filesystems are created with a proper label, all that you need to do is to change all 'hda' to 'sda' in the new kernel's /etc/grub.conf entry. (or enable the old IDE code in the .config, under CONFIG_IDE)

Ingo

Changing the "root (hd0,0)" to (sd0,0) failed. Grub can't parse the (sd0,0).

Signature · 9 lines
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
WHERE CAN THE MATTER BE
	Oh, dear, where can the matter be
	When it's converted to energy?
	There is a slight loss of parity.
	Johnny's so long at the fair.
#8 lore raw
In reply to Ingo Molnar
Quoted 9 lines · Ingo Molnar
Quoted 7 lines · Gene Heskett

The above stanza still needs some tlc. I built a 2.6.22.1-rt6 (rt5 wouldn't build) using the same old config that a make oldconfig didn't fuss about, but the reboot never completed, see the attached, heavily smunched camera shot of the panic.

Kinda looks like hda/sda confusion, with rt3 (this boot), its hda*, what is it now? fstab or kernel config error?

Quoted 6 lines

yeah, as long as your filesystems are created with a proper label, all that you need to do is to change all 'hda' to 'sda' in the new kernel's /etc/grub.conf entry. (or enable the old IDE code in the .config, under CONFIG_IDE)

Ingo

I believe it is on:

[root@coyote linux-2.6.22.1-rt6]# grep CONFIG_IDE .config CONFIG_IDE=y
# CONFIG_IDEDISK_MULTI_MODE is not set
# CONFIG_IDE_TASK_IOCTL is not set CONFIG_IDE_PROC_FS=y
CONFIG_IDE_GENERIC=y
# CONFIG_IDEPCI_SHARE_IRQ is not set CONFIG_IDEPCI_PCIBUS_ORDER=y
# CONFIG_IDEDMA_ONLYDISK is not set
# CONFIG_IDE_ARM is not set
# CONFIG_IDE_CHIPSETS is not set
# CONFIG_IDEDMA_IVB is not set

Signature · 5 lines
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Computer programmers never die, they just get lost in the processing.
#7 lore raw
In reply to Gene Heskett
Quoted 2 lines · Gene Heskett

Changing the "root (hd0,0)" to (sd0,0) failed. Grub can't parse the (sd0,0).

that (hd0,0) is a BIOS identification and needs no changing.

could you send me your grub.conf?

Ingo