linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 3.18.9-rt4
@ 2015-03-13 21:30 Ralf Mardorf
  2015-03-14  9:43 ` 3.18.9-rt4 kernel panic - Was: 3.18.9-rt4 Ralf Mardorf
  0 siblings, 1 reply; 6+ messages in thread
From: Ralf Mardorf @ 2015-03-13 21:30 UTC (permalink / raw)
  To: linux-rt users

Hi,

all kernels >= 3.14.34-rt31 I tested, don't finish startup on my machine [1].
This are the last messages of startups for 4 different startups for 3.18.9-rt4.

Picture URLs:
http://picpaste.com/3.18.9-rt4.x86_64.end_of_startup_2.jpg
http://picpaste.com/3.18.9-rt4.x86_64.end_of_startup_3.jpg
http://picpaste.com/3.18.9-rt4.x86_64.end_of_startup_4.jpg
http://picpaste.com/3.18.9-rt4.x86_64.end_of_startup_5.jpg

The last kernel I tested that does work is 3.14.28-rt25.

Regards,
Ralf

[1]

$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: HDSPMx579bcc [RME AIO_579bcc], device 0: RME AIO [RME AIO]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: EWX2496 [TerraTec EWX24/96], device 0: ICE1712 multi [ICE1712 multi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: EWX2496_1 [TerraTec EWX24/96], device 0: ICE1712 multi [ICE1712 multi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

AMD BE-2350 Athlon X2 Dual-Core Processor
ASUS M2A-VM HDMI motherboard, but the HDMI card isn't connected
Integrated ATI Radeon X1250-based graphics

http://www.asus.com/Motherboards/M2AVM_HDMI/specifications/

# dmidecode 2.12
SMBIOS 2.4 present.
60 structures occupying 1782 bytes.
Table at 0x000F0000.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
        Vendor: Phoenix Technologies, LTD
        Version: ASUS M2A-VM HDMI ACPI BIOS Revision 2302
        Release Date: 02/05/2009
[snip]
Handle 0x0005, DMI type 4, 35 bytes
Processor Information
        Socket Designation: Socket AM2 
        Type: Central Processor
        Family: Athlon 64
        Manufacturer: AMD
        ID: B2 0F 06 00 FF FB 8B 17
        Signature: Family 15, Model 107, Stepping 2
        Flags:
                FPU (Floating-point unit on-chip)
                VME (Virtual mode extension)
                DE (Debugging extension)
                PSE (Page size extension)
                TSC (Time stamp counter)
                MSR (Model specific registers)
                PAE (Physical address extension)
                MCE (Machine check exception)
                CX8 (CMPXCHG8 instruction supported)
                APIC (On-chip APIC hardware supported)
                SEP (Fast system call)
                MTRR (Memory type range registers)
                PGE (Page global enable)
                MCA (Machine check architecture)
                CMOV (Conditional move instruction supported)
                PAT (Page attribute table)
                PSE-36 (36-bit page size extension)
                CLFSH (CLFLUSH instruction supported)
                MMX (MMX technology supported)
                FXSR (FXSAVE and FXSTOR instructions supported)
                SSE (Streaming SIMD extensions)
                SSE2 (Streaming SIMD extensions 2)
                HTT (Multi-threading)
        Version: AMD Athlon(tm) X2 Dual Core Processor BE-2350
        Voltage: 1.2 V
        External Clock: 200 MHz
        Max Speed: 3800 MHz
        Current Speed: 2100 MHz
        Status: Populated, Enabled
        Upgrade: Socket 940
        L1 Cache Handle: 0x000B
        L2 Cache Handle: 0x000C
        L3 Cache Handle: Not Provided
        Serial Number:  
        Asset Tag:  
        Part Number:
[snip]


There's no newer BIOS version, excepted of a beta version available.


Beta Version  5001
	
Description 	M2A-VM BIOS 5001
1. Beta Bios for Supporting AM3 CPUs.
2. System still able to POST when set CPU Multiplier to 35X, but
 actual frequency will not change.
3. Due to chipset limitation, Max
 HT Link is 1000MHz only.
4. It will no display if downgrade Bios to
 lower version. File Size 	
550,51 (KBytes) 	2010.04.14  update
Download from 	
Global (DLM) Global 	
Version  2302
	
Description 	M2A-VM HDMI BIOS 2302
Fix the problem that system may hang on post when use AM2 cpu.
File Size 	
540,14 (KBytes) 	2009.02.13  update
Download from 	
Global (DLM) Global

http://support.asus.com/Download.aspx?SLanguage=en&m=M2A-VM+HDMI&p=1&s=24
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* 3.18.9-rt4 kernel panic - Was: 3.18.9-rt4
  2015-03-13 21:30 3.18.9-rt4 Ralf Mardorf
@ 2015-03-14  9:43 ` Ralf Mardorf
  2015-03-15 13:51   ` Joakim Hernberg
  2015-03-16 16:23   ` Sebastian Andrzej Siewior
  0 siblings, 2 replies; 6+ messages in thread
From: Ralf Mardorf @ 2015-03-14  9:43 UTC (permalink / raw)
  To: linux-rt users

On Fri, 13 Mar 2015 22:30:41 +0100, Ralf Mardorf wrote:
>all kernels >= 3.14.34-rt31 I tested, don't finish startup on my
>machine [1]. This are the last messages of startups for 4 different
>startups for 3.18.9-rt4.
>
>Picture URLs:
>http://picpaste.com/3.18.9-rt4.x86_64.end_of_startup_2.jpg
>http://picpaste.com/3.18.9-rt4.x86_64.end_of_startup_3.jpg
>http://picpaste.com/3.18.9-rt4.x86_64.end_of_startup_4.jpg
>http://picpaste.com/3.18.9-rt4.x86_64.end_of_startup_5.jpg
>
>The last kernel I tested that does work is 3.14.28-rt25.

Hi,

this morning the messages finished with a kernel panic.

Picture URL:
http://picpaste.com/3.18.9-rt4.x86_64.end_of_startup_6.jpg

Regards,
Ralf

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 3.18.9-rt4 kernel panic - Was: 3.18.9-rt4
  2015-03-14  9:43 ` 3.18.9-rt4 kernel panic - Was: 3.18.9-rt4 Ralf Mardorf
@ 2015-03-15 13:51   ` Joakim Hernberg
  2015-03-16 14:01     ` Sebastian Andrzej Siewior
  2015-03-16 16:23   ` Sebastian Andrzej Siewior
  1 sibling, 1 reply; 6+ messages in thread
From: Joakim Hernberg @ 2015-03-15 13:51 UTC (permalink / raw)
  To: linux-rt-users

On Sat, 14 Mar 2015 10:43:36 +0100
Ralf Mardorf <ralf.mardorf@rocketmail.com> wrote:

> On Fri, 13 Mar 2015 22:30:41 +0100, Ralf Mardorf wrote:
> >all kernels >= 3.14.34-rt31 I tested, don't finish startup on my
> >machine [1]. This are the last messages of startups for 4 different
> >startups for 3.18.9-rt4.
> >
> >Picture URLs:
> >http://picpaste.com/3.18.9-rt4.x86_64.end_of_startup_2.jpg
> >http://picpaste.com/3.18.9-rt4.x86_64.end_of_startup_3.jpg
> >http://picpaste.com/3.18.9-rt4.x86_64.end_of_startup_4.jpg
> >http://picpaste.com/3.18.9-rt4.x86_64.end_of_startup_5.jpg
> >
> >The last kernel I tested that does work is 3.14.28-rt25.
> 
> Hi,
> 
> this morning the messages finished with a kernel panic.
> 
> Picture URL:
> http://picpaste.com/3.18.9-rt4.x86_64.end_of_startup_6.jpg

Let me try to add some information that I think might be relevant to
the problem.

I remember that you had boot problems a while ago, together
with a couple of other AMD cpu users.  IIRC it just affected a few
specific AMD cpus.  AFAIK, you could not succesfully boot any kernel
starting with with 3.12.6-rt9, and I have another report from another
afflicted user saying that the boot problem was fixed by reverting:

timers-do-not-raise-softirq-unconditionally.patch
timer-Raise-softirq-if-there-s-irq_work.patch
timer-rt-Always-raise-the-softirq-if-there-s-irq_wor.patch

This might be significant, as these patches are in play again, at
least on 3.18-rt.

Try to revert those patches and see if the kernel can boot.

-- 

   Joakim

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 3.18.9-rt4 kernel panic - Was: 3.18.9-rt4
  2015-03-15 13:51   ` Joakim Hernberg
@ 2015-03-16 14:01     ` Sebastian Andrzej Siewior
  0 siblings, 0 replies; 6+ messages in thread
From: Sebastian Andrzej Siewior @ 2015-03-16 14:01 UTC (permalink / raw)
  To: Joakim Hernberg, Ralf Mardorf; +Cc: linux-rt-users

* Joakim Hernberg | 2015-03-15 14:51:53 [+0100]:

>I remember that you had boot problems a while ago, together
>with a couple of other AMD cpu users.  IIRC it just affected a few
>specific AMD cpus.  AFAIK, you could not succesfully boot any kernel
>starting with with 3.12.6-rt9, and I have another report from another
>afflicted user saying that the boot problem was fixed by reverting:
>
>timers-do-not-raise-softirq-unconditionally.patch
>timer-Raise-softirq-if-there-s-irq_work.patch
>timer-rt-Always-raise-the-softirq-if-there-s-irq_wor.patch
>
>This might be significant, as these patches are in play again, at
>least on 3.18-rt.

As of v3.18-RT these patches are revereted. In two pix I see cpufreq
with k8. My AMD here uses acpi-cpufreq so I never run into this. So
maybe I find something once I look…. I the meantime you could you please
drop cpufreq from your .config and try again?

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 3.18.9-rt4 kernel panic - Was: 3.18.9-rt4
  2015-03-14  9:43 ` 3.18.9-rt4 kernel panic - Was: 3.18.9-rt4 Ralf Mardorf
  2015-03-15 13:51   ` Joakim Hernberg
@ 2015-03-16 16:23   ` Sebastian Andrzej Siewior
  2015-03-17  5:13     ` Ralf Mardorf
  1 sibling, 1 reply; 6+ messages in thread
From: Sebastian Andrzej Siewior @ 2015-03-16 16:23 UTC (permalink / raw)
  To: Ralf Mardorf; +Cc: linux-rt users

* Ralf Mardorf | 2015-03-14 10:43:36 [+0100]:

>On Fri, 13 Mar 2015 22:30:41 +0100, Ralf Mardorf wrote:
>>all kernels >= 3.14.34-rt31 I tested, don't finish startup on my
>>machine [1]. This are the last messages of startups for 4 different
>>startups for 3.18.9-rt4.
>>
>>Picture URLs:
>>http://picpaste.com/3.18.9-rt4.x86_64.end_of_startup_2.jpg

here we have
 powernowk8_target_fn() -> transition_frequency_fidvid() and then at the
end:
 932         policy = cpufreq_cpu_get(smp_processor_id());
 933         cpufreq_cpu_put(policy);

and I think the explosion starts in cpufreq_cpu_put() because I have no
idea why page_fault() shows up in the backtrace.

>>http://picpaste.com/3.18.9-rt4.x86_64.end_of_startup_3.jpg
some timer thingy, most likely follow-up

>>http://picpaste.com/3.18.9-rt4.x86_64.end_of_startup_4.jpg
looks like _2

>>http://picpaste.com/3.18.9-rt4.x86_64.end_of_startup_5.jpg
follow up

>>
>>The last kernel I tested that does work is 3.14.28-rt25.

>Picture URL:
>http://picpaste.com/3.18.9-rt4.x86_64.end_of_startup_6.jpg
dunno. 

I assume the crash occurs because cpufreq_cpu_put() returns a NULL
pointer. I have no idea why this happens or if it happens at all.
What happens if you apply this:

diff --git a/drivers/cpufreq/powernow-k8.c b/drivers/cpufreq/powernow-k8.c
index f9ce7e4bf0fe..ddf3a9006339 100644
--- a/drivers/cpufreq/powernow-k8.c
+++ b/drivers/cpufreq/powernow-k8.c
@@ -930,7 +930,8 @@ static int transition_frequency_fidvid(struct powernow_k8_data *data,
 	freqs.new = find_khz_freq_from_fid(fid);
 
 	policy = cpufreq_cpu_get(smp_processor_id());
-	cpufreq_cpu_put(policy);
+	if (policy)
+		cpufreq_cpu_put(policy);
 
 	cpufreq_freq_transition_begin(policy, &freqs);
 	res = transition_fid_vid(data, fid, vid);

>Regards,
>Ralf

Sebastian

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: 3.18.9-rt4 kernel panic - Was: 3.18.9-rt4
  2015-03-16 16:23   ` Sebastian Andrzej Siewior
@ 2015-03-17  5:13     ` Ralf Mardorf
  0 siblings, 0 replies; 6+ messages in thread
From: Ralf Mardorf @ 2015-03-17  5:13 UTC (permalink / raw)
  To: Sebastian Andrzej Siewior; +Cc: linux-rt users

On Mon, 16 Mar 2015 17:23:48 +0100, Sebastian Andrzej Siewior wrote:
>What happens if you apply this:
>
>diff --git a/drivers/cpufreq/powernow-k8.c
>b/drivers/cpufreq/powernow-k8.c index f9ce7e4bf0fe..ddf3a9006339 100644

Thank you,

I'm doing an audio production at the moment. I tagged this and the
other mails as todo. Building and testing a kernel unfortunately can't
be done at the same time.

To be continued...

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-03-17  5:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-13 21:30 3.18.9-rt4 Ralf Mardorf
2015-03-14  9:43 ` 3.18.9-rt4 kernel panic - Was: 3.18.9-rt4 Ralf Mardorf
2015-03-15 13:51   ` Joakim Hernberg
2015-03-16 14:01     ` Sebastian Andrzej Siewior
2015-03-16 16:23   ` Sebastian Andrzej Siewior
2015-03-17  5:13     ` Ralf Mardorf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).