public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.12 sound problem
@ 2005-07-25 19:16 Stephen Clark
  0 siblings, 0 replies; 15+ messages in thread
From: Stephen Clark @ 2005-07-25 19:16 UTC (permalink / raw)
  To: linux-kernel

Hello,

I recently upgraded my laptop, HP Pavilion N5430, from a 2.4.21 kernel 
to 2.6.12. As a result of
doing this my sound no longer works correctly. It plays the same thing 
repeatedly some number
of times - if it plays at all.

Any ideas on how to debug this would be appreciated.
Thanks,
Steve

aplay -v and aadebug output follow.

root@joker4 ~]# aplay -v /usr/share/apps/kget/sounds/started.wav
Playing WAVE '/usr/share/apps/kget/sounds/started.wav' : Unsigned 8 bit, 
Rate 11128 Hz,Mono
Plug PCM: Hardware PCM card 0 'ESS Allegro PCI' device 0 subdevice 1

Its setup is:
stream       : PLAYBACK
access       : RW_INTERLEAVED
format       : U8
subformat    : STD
channels     : 1
rate         : 11128
exact rate   : 11128 (11128/1)
msbits       : 8
buffer_size  : 5564
period_size  : 1391
period_time  : 125000
tick_time    : 1000
tstamp_mode  : NONE
period_step  : 1
sleep_min    : 0
avail_min    : 1391
xfer_align   : 1391
start_threshold  : 5564
stop_threshold   : 5564
silence_threshold: 0
silence_size : 0
boundary     : 1458569216
aplay: pcm_write:1171: write error: Input/output error

aadebug output:
ALSA Audio Debug v0.0.9 - Mon Jul 25 14:49:10 EDT 2005
http://alsa.opensrc.org/?page=aadebug

Kernel ----------------------------------------------------
Linux joker4.seclark.com 2.6.12-prep #1 Sun Jul 24 22:39:46 EDT 2005 
i686 athlon i386 GNU/Linux

Loaded Modules --------------------------------------------
snd_maestro3           25252  2
snd_ac97_codec         76408  1 snd_maestro3
snd_seq_dummy           3972  0
snd_seq_oss            37760  0
snd_seq_midi_event      9600  1 snd_seq_oss
snd_seq                62992  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          9228  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            51760  0
snd_mixer_oss          18304  1 snd_pcm_oss
snd_pcm               100744  4 snd_maestro3,snd_ac97_codec,snd_pcm_oss
snd_timer              33924  2 snd_seq,snd_pcm
snd_page_alloc         10116  1 snd_pcm
snd                    57860  12 
snd_maestro3,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer

Modprobe Conf ---------------------------------------------
alias snd-card-0 snd-maestro3
options snd-card-0 index=0
options snd-maestro3 index=0
remove snd-maestro3 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; 
}; /sbin/modprobe -r --ignore-remove snd-maestro3

Proc Asound -----------------------------------------------
Advanced Linux Sound Architecture Driver Version 1.0.9rc2  (Thu Mar 24 
10:33:392005 UTC).
0 [PCI            ]: Allegro - ESS Allegro PCI
                     ESS Allegro PCI at 0x1400, irq 5
  1:       : sequencer
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer
00-00: Allegro : Allegro : playback 2 : capture 1

Dev Snd ---------------------------------------------------
controlC0  pcmC0D0c  pcmC0D0p  seq  timer

CPU -------------------------------------------------------
model name      : mobile AMD Duron(tm) Processor
cpu MHz         : 299.999

RAM -------------------------------------------------------
MemTotal:       255652 kB
SwapTotal:      524280 kB

Hardware --------------------------------------------------
00:00.0 Host bridge: ALi Corporation M1647 Northbridge [MAGiK 1 / 
MobileMAGiK 1] (rev 04)
00:08.0 Multimedia audio controller: ESS Technology ES1988 Allegro-1 
(rev 12)



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

* 2.6.12 sound problem
@ 2005-07-26 23:35 Stephen Clark
  2005-07-27  4:23 ` Lee Revell
  2005-07-27  8:26 ` Takashi Iwai
  0 siblings, 2 replies; 15+ messages in thread
From: Stephen Clark @ 2005-07-26 23:35 UTC (permalink / raw)
  To: linux-kernel

Hello List,


I recently upgraded my laptop, HP Pavilion N5430, from a 2.4.21 kernel
to 2.6.12. As a result of
doing this my sound no longer works correctly. It plays the same thing
repeatedly some number
of times - if it plays at all.

Any ideas on how to debug this would be appreciated.

Additional info I don't see any interrupts in /proc/interrupts for the
Allegro which is on int 5.
I just tried the same laptop with knoppix and a 2.4.27 kernel and sound
works great and I do
see interrupts for Allegro on int 5.


Thanks,
Steve

aplay -v and aadebug output follow.

root@joker4 ~]# aplay -v /usr/share/apps/kget/sounds/started.wav
Playing WAVE '/usr/share/apps/kget/sounds/started.wav' : Unsigned 8 bit,
Rate 11128 Hz,Mono
Plug PCM: Hardware PCM card 0 'ESS Allegro PCI' device 0 subdevice 1

Its setup is:
stream       : PLAYBACK
access       : RW_INTERLEAVED
format       : U8
subformat    : STD
channels     : 1
rate         : 11128
exact rate   : 11128 (11128/1)
msbits       : 8
buffer_size  : 5564
period_size  : 1391
period_time  : 125000
tick_time    : 1000
tstamp_mode  : NONE
period_step  : 1
sleep_min    : 0
avail_min    : 1391
xfer_align   : 1391
start_threshold  : 5564
stop_threshold   : 5564
silence_threshold: 0
silence_size : 0
boundary     : 1458569216
aplay: pcm_write:1171: write error: Input/output error

aadebug output:
ALSA Audio Debug v0.0.9 - Mon Jul 25 14:49:10 EDT 2005
http://alsa.opensrc.org/?page=aadebug

Kernel ----------------------------------------------------
Linux joker4.seclark.com 2.6.12-prep #1 Sun Jul 24 22:39:46 EDT 2005
i686 athlon i386 GNU/Linux

Loaded Modules --------------------------------------------
snd_maestro3           25252  2
snd_ac97_codec         76408  1 snd_maestro3
snd_seq_dummy           3972  0
snd_seq_oss            37760  0
snd_seq_midi_event      9600  1 snd_seq_oss
snd_seq                62992  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          9228  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            51760  0
snd_mixer_oss          18304  1 snd_pcm_oss
snd_pcm               100744  4 snd_maestro3,snd_ac97_codec,snd_pcm_oss
snd_timer              33924  2 snd_seq,snd_pcm
snd_page_alloc         10116  1 snd_pcm
snd                    57860  12
snd_maestro3,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer

Modprobe Conf ---------------------------------------------
alias snd-card-0 snd-maestro3
options snd-card-0 index=0
options snd-maestro3 index=0
remove snd-maestro3 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ;
}; /sbin/modprobe -r --ignore-remove snd-maestro3

Proc Asound -----------------------------------------------
Advanced Linux Sound Architecture Driver Version 1.0.9rc2  (Thu Mar 24
10:33:392005 UTC).
0 [PCI            ]: Allegro - ESS Allegro PCI
                        ESS Allegro PCI at 0x1400, irq 5
     1:       : sequencer
    16: [0- 0]: digital audio playback
    24: [0- 0]: digital audio capture
     0: [0- 0]: ctl
    33:       : timer
00-00: Allegro : Allegro : playback 2 : capture 1

Dev Snd ---------------------------------------------------
controlC0  pcmC0D0c  pcmC0D0p  seq  timer

CPU -------------------------------------------------------
model name      : mobile AMD Duron(tm) Processor
cpu MHz         : 299.999

RAM -------------------------------------------------------
MemTotal:       255652 kB
SwapTotal:      524280 kB

Hardware --------------------------------------------------
00:00.0 Host bridge: ALi Corporation M1647 Northbridge [MAGiK 1 /
MobileMAGiK 1] (rev 04)
00:08.0 Multimedia audio controller: ESS Technology ES1988 Allegro-1
(rev 12)






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

* Re: 2.6.12 sound problem
  2005-07-26 23:35 2.6.12 sound problem Stephen Clark
@ 2005-07-27  4:23 ` Lee Revell
  2005-07-27 15:31   ` Stephen Clark
  2005-07-27  8:26 ` Takashi Iwai
  1 sibling, 1 reply; 15+ messages in thread
From: Lee Revell @ 2005-07-27  4:23 UTC (permalink / raw)
  To: sclark46; +Cc: linux-kernel

On Tue, 2005-07-26 at 19:35 -0400, Stephen Clark wrote:
> Additional info I don't see any interrupts in /proc/interrupts for the
> Allegro which is on int 5.
> I just tried the same laptop with knoppix and a 2.4.27 kernel and sound
> works great and I do
> see interrupts for Allegro on int 5.

So the same ALSA driver works on 2.6 but fails on 2.4?  Or are you
really saying 2.4 + the OSS driver works and 2.6 + ALSA does not?

Lee


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

* Re: 2.6.12 sound problem
  2005-07-26 23:35 2.6.12 sound problem Stephen Clark
  2005-07-27  4:23 ` Lee Revell
@ 2005-07-27  8:26 ` Takashi Iwai
  2005-07-27 15:31   ` Stephen Clark
  1 sibling, 1 reply; 15+ messages in thread
From: Takashi Iwai @ 2005-07-27  8:26 UTC (permalink / raw)
  To: sclark46; +Cc: linux-kernel

At Tue, 26 Jul 2005 19:35:55 -0400,
Stephen Clark wrote:
> 
> Hello List,
> 
> 
> I recently upgraded my laptop, HP Pavilion N5430, from a 2.4.21 kernel
> to 2.6.12. As a result of
> doing this my sound no longer works correctly. It plays the same thing
> repeatedly some number
> of times - if it plays at all.
> 
> Any ideas on how to debug this would be appreciated.
> 
> Additional info I don't see any interrupts in /proc/interrupts for the
> Allegro which is on int 5.
> I just tried the same laptop with knoppix and a 2.4.27 kernel and sound
> works great and I do
> see interrupts for Allegro on int 5.

The irq problem is likely related with ACPI.
Try to boot once with pci=noacpi.


Takashi

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

* Re: 2.6.12 sound problem
  2005-07-27  4:23 ` Lee Revell
@ 2005-07-27 15:31   ` Stephen Clark
  0 siblings, 0 replies; 15+ messages in thread
From: Stephen Clark @ 2005-07-27 15:31 UTC (permalink / raw)
  To: linux-kernel

Lee Revell wrote:

>On Tue, 2005-07-26 at 19:35 -0400, Stephen Clark wrote:
>  
>
>>Additional info I don't see any interrupts in /proc/interrupts for the
>>Allegro which is on int 5.
>>I just tried the same laptop with knoppix and a 2.4.27 kernel and sound
>>works great and I do
>>see interrupts for Allegro on int 5.
>>    
>>
>
>So the same ALSA driver works on 2.6 but fails on 2.4?  Or are you
>really saying 2.4 + the OSS driver works and 2.6 + ALSA does not?
>
>Lee
>
>  
>
Hi Lee,

Sorry for the confusion - the sound driver with kernel 2.4.27 works - it
looks like it is oss ( it is a
german knoppix cd and I don't parse german ), there is no /proc/asound
directory. Also I dont
have to provide acpi=off pci=noacpi,usepirqmask with the knoppix cd, but
I do when I boot the
2.6.12 kernel.

on 2.4.27 the kernel modules for sound are:
soundcore, ac97_codec, maestro3


so i am saying:

  2.4 + the OSS driver works and 2.6 + ALSA does not.

Thanks for the response.
Steve





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

* Re: 2.6.12 sound problem
  2005-07-27  8:26 ` Takashi Iwai
@ 2005-07-27 15:31   ` Stephen Clark
  2005-07-29  8:41     ` Andrew Morton
  0 siblings, 1 reply; 15+ messages in thread
From: Stephen Clark @ 2005-07-27 15:31 UTC (permalink / raw)
  To: linux-kernel

Takashi Iwai wrote:

>At Tue, 26 Jul 2005 19:35:55 -0400,
>Stephen Clark wrote:
>  
>
>>Hello List,
>>
>>
>>I recently upgraded my laptop, HP Pavilion N5430, from a 2.4.21 kernel
>>to 2.6.12. As a result of
>>doing this my sound no longer works correctly. It plays the same thing
>>repeatedly some number
>>of times - if it plays at all.
>>
>>Any ideas on how to debug this would be appreciated.
>>
>>Additional info I don't see any interrupts in /proc/interrupts for the
>>Allegro which is on int 5.
>>I just tried the same laptop with knoppix and a 2.4.27 kernel and sound
>>works great and I do
>>see interrupts for Allegro on int 5.
>>    
>>
>
>The irq problem is likely related with ACPI.
>Try to boot once with pci=noacpi.
>
>
>Takashi
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at  http://www.tux.org/lkml/
>
>  
>
Hi Takashi,

I have boot the 2.6.12 kernel with acpi=off pci=noacpi,usepirqmask or I
get a panic or a hang.

I don't have to do this with 2.4.27, anybody know why?

Steve


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

* Re: 2.6.12 sound problem
  2005-07-27 15:31   ` Stephen Clark
@ 2005-07-29  8:41     ` Andrew Morton
  2005-07-29  9:05       ` [PATCH] mm/slab.c : prefetchw the start of new allocated objects Eric Dumazet
  2005-07-30  3:13       ` 2.6.12 sound problem Stephen Clark
  0 siblings, 2 replies; 15+ messages in thread
From: Andrew Morton @ 2005-07-29  8:41 UTC (permalink / raw)
  To: sclark46; +Cc: stephen.clark, linux-kernel


(Please do reply-to-all when dealing with kernel stuff)

Stephen Clark <stephen.clark@earthlink.net> wrote:
>
> Takashi Iwai wrote:
> 
> >At Tue, 26 Jul 2005 19:35:55 -0400,
> >Stephen Clark wrote:
> >  
> >
> >>Hello List,
> >>
> >>
> >>I recently upgraded my laptop, HP Pavilion N5430, from a 2.4.21 kernel
> >>to 2.6.12. As a result of
> >>doing this my sound no longer works correctly. It plays the same thing
> >>repeatedly some number
> >>of times - if it plays at all.
> >>
> >>Any ideas on how to debug this would be appreciated.
> >>
> >>Additional info I don't see any interrupts in /proc/interrupts for the
> >>Allegro which is on int 5.
> >>I just tried the same laptop with knoppix and a 2.4.27 kernel and sound
> >>works great and I do
> >>see interrupts for Allegro on int 5.
> >>    
> >>
> >
> >The irq problem is likely related with ACPI.
> >Try to boot once with pci=noacpi.
> >
> >
> >Takashi
> >-
> >To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> >the body of a message to majordomo@vger.kernel.org
> >More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >Please read the FAQ at  http://www.tux.org/lkml/
> >
> >  
> >
> Hi Takashi,
> 
> I have boot the 2.6.12 kernel with acpi=off pci=noacpi,usepirqmask or I
> get a panic or a hang.

It's just really awful that 2.4 simply worked and 2.6 requires a sprinkle
of obscure kernel parameters.  I shudder to think how long it took you to
work them out.

> I don't have to do this with 2.4.27, anybody know why?
> 

Perhaps you could send the `dmesg -s 1000000' output?

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

* [PATCH] mm/slab.c : prefetchw the start of new allocated objects
  2005-07-29  8:41     ` Andrew Morton
@ 2005-07-29  9:05       ` Eric Dumazet
  2005-07-29  9:17         ` Andrew Morton
                           ` (2 more replies)
  2005-07-30  3:13       ` 2.6.12 sound problem Stephen Clark
  1 sibling, 3 replies; 15+ messages in thread
From: Eric Dumazet @ 2005-07-29  9:05 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Ingo Molnar, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 549 bytes --]

[MM] slab.c : prefetchw the start of new allocated objects

Most of objects returned by __cache_alloc() will be written by the caller,
(but not all callers want to write all the object, but just at the begining)
prefetchw() tells the modern CPU to think about the future writes, ie start
some memory transactions in advance.

Some CPU lacks a prefetchw() and currently do nothing, so I ask this question :
Should'nt make prefetchw() do at least a prefetch() ? A read hint is better than nothing.


Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>


[-- Attachment #2: slab.prefetchw --]
[-- Type: text/plain, Size: 391 bytes --]

diff -Nru linux-2.6.13-rc4/mm/slab.c linux-2.6.13-rc4-ed/mm/slab.c
--- linux-2.6.13-rc4/mm/slab.c	2005-07-29 00:44:44.000000000 +0200
+++ linux-2.6.13-rc4-ed/mm/slab.c	2005-07-29 10:48:45.000000000 +0200
@@ -2166,6 +2166,7 @@
 	}
 	local_irq_restore(save_flags);
 	objp = cache_alloc_debugcheck_after(cachep, flags, objp, __builtin_return_address(0));
+	prefetchw(objp);
 	return objp;
 }
 

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

* Re: [PATCH] mm/slab.c : prefetchw the start of new allocated objects
  2005-07-29  9:05       ` [PATCH] mm/slab.c : prefetchw the start of new allocated objects Eric Dumazet
@ 2005-07-29  9:17         ` Andrew Morton
  2005-07-29 10:08         ` Ingo Molnar
  2005-07-30 19:31         ` David S. Miller
  2 siblings, 0 replies; 15+ messages in thread
From: Andrew Morton @ 2005-07-29  9:17 UTC (permalink / raw)
  To: Eric Dumazet; +Cc: mingo, linux-kernel

Eric Dumazet <dada1@cosmosbay.com> wrote:
>
> Most of objects returned by __cache_alloc() will be written by the caller,
>  (but not all callers want to write all the object, but just at the begining)
>  prefetchw() tells the modern CPU to think about the future writes, ie start
>  some memory transactions in advance.

Sounds sensible enough..  slab does try to make sure it returns the
most-recently-freed object, so it's probably in cache already.  But in the
situation where we're allocating and using a lot of objects in succession
it might help.


>  Some CPU lacks a prefetchw() and currently do nothing, so I ask this question :
>  Should'nt make prefetchw() do at least a prefetch() ? A read hint is better than nothing.

Don't think so.  I was once told that if the cacheline is in local cache
for reading and the CPU decides to write to it, additional work is needed
for the write so the prefetch-for-read didn't buy you anything.

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

* Re: [PATCH] mm/slab.c : prefetchw the start of new allocated objects
  2005-07-29  9:05       ` [PATCH] mm/slab.c : prefetchw the start of new allocated objects Eric Dumazet
  2005-07-29  9:17         ` Andrew Morton
@ 2005-07-29 10:08         ` Ingo Molnar
  2005-07-30 19:31         ` David S. Miller
  2 siblings, 0 replies; 15+ messages in thread
From: Ingo Molnar @ 2005-07-29 10:08 UTC (permalink / raw)
  To: Eric Dumazet; +Cc: Andrew Morton, linux-kernel


* Eric Dumazet <dada1@cosmosbay.com> wrote:

>  	local_irq_restore(save_flags);
>  	objp = cache_alloc_debugcheck_after(cachep, flags, objp, __builtin_return_address(0));
> +	prefetchw(objp);
>  	return objp;

the idea is good, but i'd suggest to do the prefetchw a bit earlier, 
right where we calculate objp. Furthermore, it might make sense to only 
trigger the prefetchw in the alloc-miss (non-per-CPU cache) case. There 
it's almost surely a win, in the per-CPU cache case it's not always.

	Ingo

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

* Re: 2.6.12 sound problem
  2005-07-29  8:41     ` Andrew Morton
  2005-07-29  9:05       ` [PATCH] mm/slab.c : prefetchw the start of new allocated objects Eric Dumazet
@ 2005-07-30  3:13       ` Stephen Clark
  2005-07-30 15:56         ` Stephen Clark
  1 sibling, 1 reply; 15+ messages in thread
From: Stephen Clark @ 2005-07-30  3:13 UTC (permalink / raw)
  To: Andrew Morton; +Cc: sclark46, linux-kernel

Andrew Morton wrote:

>(Please do reply-to-all when dealing with kernel stuff)
>
>Stephen Clark <stephen.clark@earthlink.net> wrote:
>  
>
>>Takashi Iwai wrote:
>>
>>    
>>
>>>At Tue, 26 Jul 2005 19:35:55 -0400,
>>>Stephen Clark wrote:
>>> 
>>>
>>>      
>>>
>>>>Hello List,
>>>>
>>>>
>>>>I recently upgraded my laptop, HP Pavilion N5430, from a 2.4.21 kernel
>>>>to 2.6.12. As a result of
>>>>doing this my sound no longer works correctly. It plays the same thing
>>>>repeatedly some number
>>>>of times - if it plays at all.
>>>>
>>>>Any ideas on how to debug this would be appreciated.
>>>>
>>>>Additional info I don't see any interrupts in /proc/interrupts for the
>>>>Allegro which is on int 5.
>>>>I just tried the same laptop with knoppix and a 2.4.27 kernel and sound
>>>>works great and I do
>>>>see interrupts for Allegro on int 5.
>>>>   
>>>>
>>>>        
>>>>
>>>The irq problem is likely related with ACPI.
>>>Try to boot once with pci=noacpi.
>>>
>>>
>>>Takashi
>>>-
>>>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>>>the body of a message to majordomo@vger.kernel.org
>>>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>Please read the FAQ at  http://www.tux.org/lkml/
>>>
>>> 
>>>
>>>      
>>>
>>Hi Takashi,
>>
>>I have boot the 2.6.12 kernel with acpi=off pci=noacpi,usepirqmask or I
>>get a panic or a hang.
>>    
>>
>
>It's just really awful that 2.4 simply worked and 2.6 requires a sprinkle
>of obscure kernel parameters.  I shudder to think how long it took you to
>work them out.
>
>  
>
>>I don't have to do this with 2.4.27, anybody know why?
>>
>>    
>>
>
>Perhaps you could send the `dmesg -s 1000000' output?
>
>  
>
Hi Andrew,

Thanks for the response.

I found a better solution to my problem with my HP N5430 laptop over on 
the alsa-devel list, my sound had quit working also. The new
solution, which was pointed out to me by Henry Yuan was to boot with 
lapic. I had noticed in the dmesg output that a lapic existed but was 
turned off by the bios, and a pseudo local apic was being used, this 
caused problems with APCI and my sound.

If you would still like the dmesg I would be glad to send it.

Steve

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

* Re: 2.6.12 sound problem
  2005-07-30  3:13       ` 2.6.12 sound problem Stephen Clark
@ 2005-07-30 15:56         ` Stephen Clark
  2005-07-31 19:25           ` 2.6.13rc4 hang Stephen Clark
  2005-08-01 13:11           ` Stephen Clark
  0 siblings, 2 replies; 15+ messages in thread
From: Stephen Clark @ 2005-07-30 15:56 UTC (permalink / raw)
  To: sclark46; +Cc: Andrew Morton, linux-kernel

Stephen Clark wrote:

>Andrew Morton wrote:
>
>  
>
>>(Please do reply-to-all when dealing with kernel stuff)
>>
>>Stephen Clark <stephen.clark@earthlink.net> wrote:
>> 
>>
>>    
>>
>>>Takashi Iwai wrote:
>>>
>>>   
>>>
>>>      
>>>
>>>>At Tue, 26 Jul 2005 19:35:55 -0400,
>>>>Stephen Clark wrote:
>>>>
>>>>
>>>>     
>>>>
>>>>        
>>>>
>>>>>Hello List,
>>>>>
>>>>>
>>>>>I recently upgraded my laptop, HP Pavilion N5430, from a 2.4.21 kernel
>>>>>to 2.6.12. As a result of
>>>>>doing this my sound no longer works correctly. It plays the same thing
>>>>>repeatedly some number
>>>>>of times - if it plays at all.
>>>>>
>>>>>Any ideas on how to debug this would be appreciated.
>>>>>
>>>>>Additional info I don't see any interrupts in /proc/interrupts for the
>>>>>Allegro which is on int 5.
>>>>>I just tried the same laptop with knoppix and a 2.4.27 kernel and sound
>>>>>works great and I do
>>>>>see interrupts for Allegro on int 5.
>>>>>  
>>>>>
>>>>>       
>>>>>
>>>>>          
>>>>>
>>>>The irq problem is likely related with ACPI.
>>>>Try to boot once with pci=noacpi.
>>>>
>>>>
>>>>Takashi
>>>>-
>>>>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>>>>the body of a message to majordomo@vger.kernel.org
>>>>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>>Please read the FAQ at  http://www.tux.org/lkml/
>>>>
>>>>
>>>>
>>>>     
>>>>
>>>>        
>>>>
>>>Hi Takashi,
>>>
>>>I have boot the 2.6.12 kernel with acpi=off pci=noacpi,usepirqmask or I
>>>get a panic or a hang.
>>>   
>>>
>>>      
>>>
>>It's just really awful that 2.4 simply worked and 2.6 requires a sprinkle
>>of obscure kernel parameters.  I shudder to think how long it took you to
>>work them out.
>>
>> 
>>
>>    
>>
>>>I don't have to do this with 2.4.27, anybody know why?
>>>
>>>   
>>>
>>>      
>>>
>>Perhaps you could send the `dmesg -s 1000000' output?
>>
>> 
>>
>>    
>>
>Hi Andrew,
>
>Thanks for the response.
>
>I found a better solution to my problem with my HP N5430 laptop over on 
>the alsa-devel list, my sound had quit working also. The new
>solution, which was pointed out to me by Henry Yuan was to boot with 
>lapic. I had noticed in the dmesg output that a lapic existed but was 
>turned off by the bios, and a pseudo local apic was being used, this 
>caused problems with APCI and my sound.
>
>If you would still like the dmesg I would be glad to send it.
>
>Steve
>-
>
>  
>
Hello Andrew

My joy was short lived - but I do have more info.

1) If I cold boot with only 'lacpi' to run level 3 - shortly after I get 
the login prompt the laptop freezes.

2) If I cold boot with 'lacpi  acpi=off  pci=noacpi,usepirqmask'  the 
system boots and does not freeze but  when I try to play sound I get no 
interrupts from my sound card.

3) If I now warm boot from step  2 with only 'lacpi' my  laptop seems to 
be stable  and I have sound.

I did this several times to try and really verify the above scenarios.

Diff between dmesg output from step 1 and step 3
$ diff dmesg104550 dmesg105029
43,45c43,44
< CPU: After generic identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 
00000000 00000000 00000000
< CPU: After vendor identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 
00000000 00000000 00000000
< Enabling disabled K7/SSE Support.
---
 > CPU: After generic identify, caps: 0383f9ff c1c7f9ff 00000000 
00000000 00000000 00000000 00000000
 > CPU: After vendor identify, caps: 0383f9ff c1c7f9ff 00000000 00000000 
00000000 00000000 00000000
55c54
< ACPI: setting ELCR to 0200 (from 0800)
---
 > ACPI: setting ELCR to 0200 (from 0820)
92c91
< audit(1122734733.300:1): initialized
---
 > audit(1122735011.179:1): initialized
161c160
< Detected 849.810 MHz processor.
---
 > Detected 850.192 MHz processor.
163c162
< powernow: Minimum speed 299 MHz. Maximum speed 849 MHz.
---
 > powernow: Minimum speed 300 MHz. Maximum speed 850 MHz.



I also captured dmesg output from the 3 steps, which are listed below



from step 1.
Linux version 2.6.12-1.1398_FC4 (bhcompile@tweety.build.redhat.com) (gcc 
version 4.0.0 20050519 (Red Hat 4.0.0-8)) #1 Fri Jul 15 00:52:32 EDT 2005
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
 BIOS-e820: 000000000009f000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
 BIOS-e820: 000000000fff0000 - 000000000ffff000 (ACPI data)
 BIOS-e820: 000000000ffff000 - 0000000010000000 (ACPI NVS)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
255MB LOWMEM available.
Using x86 segment limits to approximate NX protection
On node 0 totalpages: 65520
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 61424 pages, LIFO batch:31
  HighMem zone: 0 pages, LIFO batch:1
DMI 2.2 present.
ACPI: RSDP (v000 PTLTD                                 ) @ 0x000f7c20
ACPI: RSDT (v001 PTLTD    RSDT   0x06040000  LTP 0x00000000) @ 0x0fffcc46
ACPI: FADT (v001 ALI    M1533    0x06040000 PTL  0x000f4240) @ 0x0fffef64
ACPI: BOOT (v001 PTLTD  $SBFTBL$ 0x06040000  LTP 0x00000001) @ 0x0fffefd8
ACPI: DSDT (v001 COMPAL      736 0x06040000 MSFT 0x0100000d) @ 0x00000000
ACPI: PM-Timer IO Port: 0x8008
Allocating PCI resources starting at 10000000 (gap: 10000000:eff80000)
Built 1 zonelists
Kernel command line: ro root=/dev/VolGroup00/LogVol00 lapic rhgb quiet
Initializing CPU#0
CPU 0 irqstacks, hard=c0454000 soft=c0453000
PID hash table entries: 1024 (order: 10, 16384 bytes)
Detected 849.759 MHz processor.
Using pmtmr for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 253496k/262080k available (2508k kernel code, 7896k reserved, 
684k data, 184k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 1687.55 BogoMIPS (lpj=843776)
Security Framework v1.0.0 initialized
SELinux:  Initializing.
SELinux:  Starting in permissive mode
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 
00000000 00000000 00000000
CPU: After vendor identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 
00000000 00000000 00000000
Enabling disabled K7/SSE Support.
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 64K (64 bytes/line)
CPU: After all inits, caps: 0383f1ff c1c7f9ff 00000000 00000020 00000000 
00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: AMD mobile AMD Duron(tm) Processor stepping 00
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
ACPI: setting ELCR to 0200 (from 0800)
checking if image is initramfs... it is
Freeing initrd memory: 1670k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfd8b0, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20050309
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 5 7 10 *11)
ACPI: PCI Interrupt Link [LNKB] (IRQs 5 7 10 *11)
ACPI: PCI Interrupt Link [LNKC] (IRQs 5 7) *0, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 5 7 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKU] (IRQs *9)
ACPI: Embedded Controller [EC0] (gpe 25)
ACPI: Power Resource [PFAN] (off)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 10 devices
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a 
report
pnp: 00:06: ioport range 0x3810-0x381f has been reserved
pnp: 00:06: ioport range 0x4d0-0x4d1 has been reserved
pnp: 00:06: ioport range 0x8000-0x805f could not be reserved
pnp: 00:06: ioport range 0x4d6-0x4d6 has been reserved
Simple Boot Flag at 0x36 set to 0x1
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
apm: overridden by ACPI.
audit: initializing netlink socket (disabled)
audit(1122734733.300:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
SELinux:  Registering netfilter hooks
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key 57652F2F3358E32D
- User ID: Red Hat, Inc. (Kernel Module GPG key)
Limiting direct PCI/PCI transfers.
Activating ISA DMA hang workarounds.
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
ACPI: Fan [FAN] (off)
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU0] (supports 8 throttling states)
ACPI: Thermal Zone [THRM] (63 C)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected ALi M1647 chipset
agpgart: AGP aperture is 64M @ 0xf0000000
PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:MSE0] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 76 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ALI15X3: IDE controller at PCI slot 0000:00:0f.0
ACPI: PCI Interrupt 0000:00:0f.0[A]: no GSI
ALI15X3: chipset revision 195
ALI15X3: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1000-0x1007, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x1008-0x100f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
hda: HITACHI_DK23CA-20, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: MATSHITADVD-ROM SR-8175, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 39070080 sectors (20003 MB) w/2048KiB Cache, CHS=38760/16/63, UDMA(33)
hda: cache flushes not supported
 hda: hda1 hda2
hdc: ATAPI 24X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
mice: PS/2 mouse device common for all mice
md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 16Kbytes
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 6, 458752 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
powernow: PowerNOW! Technology present. Can scale: frequency and voltage.
Detected 849.810 MHz processor.
powernow: SGTC: 10000
powernow: Minimum speed 299 MHz. Maximum speed 849 MHz.
ACPI wakeup devices:
SBTN  LAN COM1
ACPI: (supports S0 S1 S3 S4 S5)
Freeing unused kernel memory: 184k freed
input: AT Translated Set 2 keyboard on isa0060/serio0
device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
input: PS/2 Generic Mouse on isa0060/serio1
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
SELinux:  Disabled at runtime.
SELinux:  Unregistering netfilter hooks
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Linux Tulip driver version 1.1.13 (May 11, 2002)
PCI: Enabling device 0000:00:10.0 (0010 -> 0013)
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:00:10.0[A] -> Link [LNKB] -> GSI 11 (level, 
low) -> IRQ 11
tulip0:  MII transceiver #1 config 1000 status 786d advertising 01e1.
eth0: ADMtek Comet rev 17 at d0834000, 00:D0:59:5C:E0:EB, IRQ 11.
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [LNKC] -> GSI 5 (level, low) 
-> IRQ 5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ACPI: PCI Interrupt Link [LNKU] enabled at IRQ 9
PCI: setting IRQ 9 as level-triggered
ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LNKU] -> GSI 9 (level, low) 
-> IRQ 9
ohci_hcd 0000:00:02.0: OHCI Host Controller
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:02.0: irq 9, io mem 0xfff70000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Linux Kernel Card Services
  options:  [pci] [cardbus] [pm]
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:04.0[A] -> Link [LNKA] -> GSI 11 (level, 
low) -> IRQ 11
Yenta: CardBus bridge found at 0000:00:04.0 [103c:0018]
Yenta: Enabling burst memory read transactions
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:00:04.0, mfunc 0x009c1b22, devctl 0x66
Yenta: ISA IRQ mask 0x0498, PCI irq 11
Socket status: 30000006
ACPI: PCI Interrupt 0000:00:04.1[A] -> Link [LNKA] -> GSI 11 (level, 
low) -> IRQ 11
Yenta: CardBus bridge found at 0000:00:04.1 [103c:0018]
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:00:04.1, mfunc 0x009c1b22, devctl 0x66
Yenta: ISA IRQ mask 0x0498, PCI irq 11
Socket status: 30000006
ACPI: AC Adapter [AC] (on-line)
ACPI: Battery Slot [BAT0] (battery present)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID]
ACPI: Sleep Button (CM) [SBTN]
ibm_acpi: ec object not found
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
EXT3 FS on dm-0, internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 524280k swap on /dev/VolGroup00/LogVol01.  Priority:-1 extents:1

from step 2.
Linux version 2.6.12-1.1398_FC4 (bhcompile@tweety.build.redhat.com) (gcc 
version 4.0.0 20050519 (Red Hat 4.0.0-8)) #1 Fri Jul 15 00:52:32 EDT 2005
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
 BIOS-e820: 000000000009f000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
 BIOS-e820: 000000000fff0000 - 000000000ffff000 (ACPI data)
 BIOS-e820: 000000000ffff000 - 0000000010000000 (ACPI NVS)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
255MB LOWMEM available.
Using x86 segment limits to approximate NX protection
On node 0 totalpages: 65520
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 61424 pages, LIFO batch:31
  HighMem zone: 0 pages, LIFO batch:1
DMI 2.2 present.
Allocating PCI resources starting at 10000000 (gap: 10000000:eff80000)
Built 1 zonelists
Kernel command line: ro root=/dev/VolGroup00/LogVol00 single acpi=off 
pci=noacpi,usepirqmask lapic rhgb quiet
Initializing CPU#0
CPU 0 irqstacks, hard=c0454000 soft=c0453000
PID hash table entries: 1024 (order: 10, 16384 bytes)
Detected 849.764 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 253496k/262080k available (2508k kernel code, 7896k reserved, 
684k data, 184k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 1675.26 BogoMIPS (lpj=837632)
Security Framework v1.0.0 initialized
SELinux:  Initializing.
SELinux:  Starting in permissive mode
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 
00000000 00000000 00000000
CPU: After vendor identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 
00000000 00000000 00000000
Enabling disabled K7/SSE Support.
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 64K (64 bytes/line)
CPU: After all inits, caps: 0383f1ff c1c7f9ff 00000000 00000020 00000000 
00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: AMD mobile AMD Duron(tm) Processor stepping 00
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
checking if image is initramfs... it is
Freeing initrd memory: 1670k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfd8b0, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20050309
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:01:00.0
PCI: Using ALI IRQ Router
PCI: Using IRQ router ALI [10b9/1533] at 0000:00:07.0
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
audit: initializing netlink socket (disabled)
audit(1122734871.934:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
SELinux:  Registering netfilter hooks
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key 57652F2F3358E32D
- User ID: Red Hat, Inc. (Kernel Module GPG key)
Limiting direct PCI/PCI transfers.
Activating ISA DMA hang workarounds.
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected ALi M1647 chipset
agpgart: AGP aperture is 64M @ 0xf0000000
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 76 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ALI15X3: IDE controller at PCI slot 0000:00:0f.0
ALI15X3: chipset revision 195
ALI15X3: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1000-0x1007, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x1008-0x100f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
hda: HITACHI_DK23CA-20, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: MATSHITADVD-ROM SR-8175, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 39070080 sectors (20003 MB) w/2048KiB Cache, CHS=38760/16/63, UDMA(33)
hda: cache flushes not supported
 hda: hda1 hda2
hdc: ATAPI 24X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
mice: PS/2 mouse device common for all mice
md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 16Kbytes
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 6, 458752 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
powernow: PowerNOW! Technology present. Can scale: frequency and voltage.
Detected 850.279 MHz processor.
powernow: SGTC: 10000
powernow: Minimum speed 300 MHz. Maximum speed 850 MHz.
Freeing unused kernel memory: 184k freed
input: AT Translated Set 2 keyboard on isa0060/serio0
device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
input: PS/2 Generic Mouse on isa0060/serio1
kjournald starting.  Commit interval 5 seconds
EXT3-fs: dm-0: orphan cleanup on readonly fs
ext3_orphan_cleanup: deleting unreferenced inode 4125296
ext3_orphan_cleanup: deleting unreferenced inode 4125294
EXT3-fs: dm-0: 2 orphan inodes deleted
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
SELinux:  Disabled at runtime.
SELinux:  Unregistering netfilter hooks
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Linux Tulip driver version 1.1.13 (May 11, 2002)
PCI: Enabling device 0000:00:10.0 (0010 -> 0013)
PCI: setting IRQ 11 as level-triggered
PCI: Assigned IRQ 11 for device 0000:00:10.0
PCI: Sharing IRQ 11 with 0000:00:04.0
PCI: Sharing IRQ 11 with 0000:00:04.1
PCI: Sharing IRQ 11 with 0000:01:00.0
tulip0:  MII transceiver #1 config 1000 status 786d advertising 01e1.
eth0: ADMtek Comet rev 17 at d0818000, 00:D0:59:5C:E0:EB, IRQ 11.
PCI: setting IRQ 5 as level-triggered
PCI: Assigned IRQ 5 for device 0000:00:08.0
PCI: Sharing IRQ 5 with 0000:00:08.1
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
PCI: Assigned IRQ 11 for device 0000:00:02.0
ohci_hcd 0000:00:02.0: OHCI Host Controller
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:02.0: irq 11, io mem 0xfff70000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Linux Kernel Card Services
  options:  [pci] [cardbus] [pm]
PCI: Assigned IRQ 11 for device 0000:00:04.0
PCI: Sharing IRQ 11 with 0000:00:04.1
PCI: Sharing IRQ 11 with 0000:00:10.0
PCI: Sharing IRQ 11 with 0000:01:00.0
Yenta: CardBus bridge found at 0000:00:04.0 [103c:0018]
Yenta: Enabling burst memory read transactions
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:00:04.0, mfunc 0x009c1b22, devctl 0x66
Yenta: ISA IRQ mask 0x0698, PCI irq 11
Socket status: 30000006
PCI: Assigned IRQ 11 for device 0000:00:04.1
PCI: Sharing IRQ 11 with 0000:00:04.0
PCI: Sharing IRQ 11 with 0000:00:10.0
PCI: Sharing IRQ 11 with 0000:01:00.0
Yenta: CardBus bridge found at 0000:00:04.1 [103c:0018]
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:00:04.1, mfunc 0x009c1b22, devctl 0x66
spurious 8259A interrupt: IRQ7.
Yenta: ISA IRQ mask 0x0698, PCI irq 11
Socket status: 30000006
0000:00:10.0: tulip_stop_rxtx() failed
eth0: Setting full-duplex based on MII#1 link partner capability of 45e1.
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
EXT3 FS on dm-0, internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 524280k swap on /dev/VolGroup00/LogVol01.  Priority:-1 extents:1

Step 3.
Linux version 2.6.12-1.1398_FC4 (bhcompile@tweety.build.redhat.com) (gcc 
version 4.0.0 20050519 (Red Hat 4.0.0-8)) #1 Fri Jul 15 00:52:32 EDT 2005
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
 BIOS-e820: 000000000009f000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
 BIOS-e820: 000000000fff0000 - 000000000ffff000 (ACPI data)
 BIOS-e820: 000000000ffff000 - 0000000010000000 (ACPI NVS)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
255MB LOWMEM available.
Using x86 segment limits to approximate NX protection
On node 0 totalpages: 65520
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 61424 pages, LIFO batch:31
  HighMem zone: 0 pages, LIFO batch:1
DMI 2.2 present.
ACPI: RSDP (v000 PTLTD                                 ) @ 0x000f7c20
ACPI: RSDT (v001 PTLTD    RSDT   0x06040000  LTP 0x00000000) @ 0x0fffcc46
ACPI: FADT (v001 ALI    M1533    0x06040000 PTL  0x000f4240) @ 0x0fffef64
ACPI: BOOT (v001 PTLTD  $SBFTBL$ 0x06040000  LTP 0x00000001) @ 0x0fffefd8
ACPI: DSDT (v001 COMPAL      736 0x06040000 MSFT 0x0100000d) @ 0x00000000
ACPI: PM-Timer IO Port: 0x8008
Allocating PCI resources starting at 10000000 (gap: 10000000:eff80000)
Built 1 zonelists
Kernel command line: ro root=/dev/VolGroup00/LogVol00 lapic rhgb quiet
Initializing CPU#0
CPU 0 irqstacks, hard=c0454000 soft=c0453000
PID hash table entries: 1024 (order: 10, 16384 bytes)
Detected 849.759 MHz processor.
Using pmtmr for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 253496k/262080k available (2508k kernel code, 7896k reserved, 
684k data, 184k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 1687.55 BogoMIPS (lpj=843776)
Security Framework v1.0.0 initialized
SELinux:  Initializing.
SELinux:  Starting in permissive mode
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0383f9ff c1c7f9ff 00000000 00000000 
00000000 00000000 00000000
CPU: After vendor identify, caps: 0383f9ff c1c7f9ff 00000000 00000000 
00000000 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 64K (64 bytes/line)
CPU: After all inits, caps: 0383f1ff c1c7f9ff 00000000 00000020 00000000 
00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: AMD mobile AMD Duron(tm) Processor stepping 00
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
ACPI: setting ELCR to 0200 (from 0820)
checking if image is initramfs... it is
Freeing initrd memory: 1670k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfd8b0, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20050309
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 5 7 10 *11)
ACPI: PCI Interrupt Link [LNKB] (IRQs 5 7 10 *11)
ACPI: PCI Interrupt Link [LNKC] (IRQs 5 7) *0, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 5 7 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKU] (IRQs *9)
ACPI: Embedded Controller [EC0] (gpe 25)
ACPI: Power Resource [PFAN] (off)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 10 devices
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a 
report
pnp: 00:06: ioport range 0x3810-0x381f has been reserved
pnp: 00:06: ioport range 0x4d0-0x4d1 has been reserved
pnp: 00:06: ioport range 0x8000-0x805f could not be reserved
pnp: 00:06: ioport range 0x4d6-0x4d6 has been reserved
Simple Boot Flag at 0x36 set to 0x1
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
apm: overridden by ACPI.
audit: initializing netlink socket (disabled)
audit(1122735011.179:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
SELinux:  Registering netfilter hooks
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key 57652F2F3358E32D
- User ID: Red Hat, Inc. (Kernel Module GPG key)
Limiting direct PCI/PCI transfers.
Activating ISA DMA hang workarounds.
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
ACPI: Fan [FAN] (off)
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU0] (supports 8 throttling states)
ACPI: Thermal Zone [THRM] (63 C)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected ALi M1647 chipset
agpgart: AGP aperture is 64M @ 0xf0000000
PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:MSE0] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 76 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ALI15X3: IDE controller at PCI slot 0000:00:0f.0
ACPI: PCI Interrupt 0000:00:0f.0[A]: no GSI
ALI15X3: chipset revision 195
ALI15X3: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1000-0x1007, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x1008-0x100f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
hda: HITACHI_DK23CA-20, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: MATSHITADVD-ROM SR-8175, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 39070080 sectors (20003 MB) w/2048KiB Cache, CHS=38760/16/63, UDMA(33)
hda: cache flushes not supported
 hda: hda1 hda2
hdc: ATAPI 24X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
mice: PS/2 mouse device common for all mice
md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 16Kbytes
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 6, 458752 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
powernow: PowerNOW! Technology present. Can scale: frequency and voltage.
Detected 850.192 MHz processor.
powernow: SGTC: 10000
powernow: Minimum speed 300 MHz. Maximum speed 850 MHz.
ACPI wakeup devices:
SBTN  LAN COM1
ACPI: (supports S0 S1 S3 S4 S5)
Freeing unused kernel memory: 184k freed
input: AT Translated Set 2 keyboard on isa0060/serio0
device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
input: PS/2 Generic Mouse on isa0060/serio1
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
SELinux:  Disabled at runtime.
SELinux:  Unregistering netfilter hooks
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Linux Tulip driver version 1.1.13 (May 11, 2002)
PCI: Enabling device 0000:00:10.0 (0010 -> 0013)
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:00:10.0[A] -> Link [LNKB] -> GSI 11 (level, 
low) -> IRQ 11
tulip0:  MII transceiver #1 config 1000 status 786d advertising 01e1.
eth0: ADMtek Comet rev 17 at d0834000, 00:D0:59:5C:E0:EB, IRQ 11.
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [LNKC] -> GSI 5 (level, low) 
-> IRQ 5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ACPI: PCI Interrupt Link [LNKU] enabled at IRQ 9
PCI: setting IRQ 9 as level-triggered
ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LNKU] -> GSI 9 (level, low) 
-> IRQ 9
ohci_hcd 0000:00:02.0: OHCI Host Controller
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:02.0: irq 9, io mem 0xfff70000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Linux Kernel Card Services
  options:  [pci] [cardbus] [pm]
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:04.0[A] -> Link [LNKA] -> GSI 11 (level, 
low) -> IRQ 11
Yenta: CardBus bridge found at 0000:00:04.0 [103c:0018]
Yenta: Enabling burst memory read transactions
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:00:04.0, mfunc 0x009c1b22, devctl 0x66
Yenta: ISA IRQ mask 0x0498, PCI irq 11
Socket status: 30000006
ACPI: PCI Interrupt 0000:00:04.1[A] -> Link [LNKA] -> GSI 11 (level, 
low) -> IRQ 11
Yenta: CardBus bridge found at 0000:00:04.1 [103c:0018]
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:00:04.1, mfunc 0x009c1b22, devctl 0x66
Yenta: ISA IRQ mask 0x0498, PCI irq 11
Socket status: 30000006
ACPI: AC Adapter [AC] (on-line)
ACPI: Battery Slot [BAT0] (battery present)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID]
ACPI: Sleep Button (CM) [SBTN]
ibm_acpi: ec object not found
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
EXT3 FS on dm-0, internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 524280k swap on /dev/VolGroup00/LogVol01.  Priority:-1 extents:1

Any ideas would be appreciated.
Steve

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

* Re: [PATCH] mm/slab.c : prefetchw the start of new allocated objects
  2005-07-29  9:05       ` [PATCH] mm/slab.c : prefetchw the start of new allocated objects Eric Dumazet
  2005-07-29  9:17         ` Andrew Morton
  2005-07-29 10:08         ` Ingo Molnar
@ 2005-07-30 19:31         ` David S. Miller
  2 siblings, 0 replies; 15+ messages in thread
From: David S. Miller @ 2005-07-30 19:31 UTC (permalink / raw)
  To: dada1; +Cc: akpm, mingo, linux-kernel

From: Eric Dumazet <dada1@cosmosbay.com>
Date: Fri, 29 Jul 2005 11:05:09 +0200

> Some CPU lacks a prefetchw() and currently do nothing, so I ask this
> question : Should'nt make prefetchw() do at least a prefetch() ? A
> read hint is better than nothing.

This is not true, especially on SMP.  If the only prefetch variant
available does a "prefetch for read", the cpu will only grab the
cacheline in shared state if other cpus have a dirty copy.

And, as a result, when the write to the cache line occurs yet
another bus transaction will go out in order to get exclusive
access to the cache line on the local cpu.  This is extremely
inefficient.

So it's better in this case to make no prefetch, and thus only
incur one bus transaction when the memory access occurs.

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

* Re: 2.6.13rc4 hang
  2005-07-30 15:56         ` Stephen Clark
@ 2005-07-31 19:25           ` Stephen Clark
  2005-08-01 13:11           ` Stephen Clark
  1 sibling, 0 replies; 15+ messages in thread
From: Stephen Clark @ 2005-07-31 19:25 UTC (permalink / raw)
  To: sclark46; +Cc: Andrew Morton, linux-kernel

Stephen Clark wrote:

>Stephen Clark wrote:
>
>  
>
>>Andrew Morton wrote:
>>
>> 
>>
>>    
>>
>>>(Please do reply-to-all when dealing with kernel stuff)
>>>
>>>Stephen Clark <stephen.clark@earthlink.net> wrote:
>>>
>>>
>>>   
>>>
>>>      
>>>
>>>>Takashi Iwai wrote:
>>>>
>>>>  
>>>>
>>>>     
>>>>
>>>>        
>>>>
>>>>>At Tue, 26 Jul 2005 19:35:55 -0400,
>>>>>Stephen Clark wrote:
>>>>>
>>>>>
>>>>>    
>>>>>
>>>>>       
>>>>>
>>>>>          
>>>>>
>>>>>>Hello List,
>>>>>>
>>>>>>
>>>>>>I recently upgraded my laptop, HP Pavilion N5430, from a 2.4.21 kernel
>>>>>>to 2.6.12. As a result of
>>>>>>doing this my sound no longer works correctly. It plays the same thing
>>>>>>repeatedly some number
>>>>>>of times - if it plays at all.
>>>>>>
>>>>>>Any ideas on how to debug this would be appreciated.
>>>>>>
>>>>>>Additional info I don't see any interrupts in /proc/interrupts for the
>>>>>>Allegro which is on int 5.
>>>>>>I just tried the same laptop with knoppix and a 2.4.27 kernel and sound
>>>>>>works great and I do
>>>>>>see interrupts for Allegro on int 5.
>>>>>> 
>>>>>>
>>>>>>      
>>>>>>
>>>>>>         
>>>>>>
>>>>>>            
>>>>>>
>>>>>The irq problem is likely related with ACPI.
>>>>>Try to boot once with pci=noacpi.
>>>>>
>>>>>
>>>>>Takashi
>>>>>-
>>>>>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>>>>>the body of a message to majordomo@vger.kernel.org
>>>>>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>>>Please read the FAQ at  http://www.tux.org/lkml/
>>>>>
>>>>>
>>>>>
>>>>>    
>>>>>
>>>>>       
>>>>>
>>>>>          
>>>>>
>>>>Hi Takashi,
>>>>
>>>>I have boot the 2.6.12 kernel with acpi=off pci=noacpi,usepirqmask or I
>>>>get a panic or a hang.
>>>>  
>>>>
>>>>     
>>>>
>>>>        
>>>>
>>>It's just really awful that 2.4 simply worked and 2.6 requires a sprinkle
>>>of obscure kernel parameters.  I shudder to think how long it took you to
>>>work them out.
>>>
>>>
>>>
>>>   
>>>
>>>      
>>>
>>>>I don't have to do this with 2.4.27, anybody know why?
>>>>
>>>>  
>>>>
>>>>     
>>>>
>>>>        
>>>>
>>>Perhaps you could send the `dmesg -s 1000000' output?
>>>
>>>
>>>
>>>   
>>>
>>>      
>>>
>>Hi Andrew,
>>
>>Thanks for the response.
>>
>>I found a better solution to my problem with my HP N5430 laptop over on 
>>the alsa-devel list, my sound had quit working also. The new
>>solution, which was pointed out to me by Henry Yuan was to boot with 
>>lapic. I had noticed in the dmesg output that a lapic existed but was 
>>turned off by the bios, and a pseudo local apic was being used, this 
>>caused problems with APCI and my sound.
>>
>>If you would still like the dmesg I would be glad to send it.
>>
>>Steve
>>-
>>
>> 
>>
>>    
>>
>Hello Andrew
>
>My joy was short lived - but I do have more info.
>
>1) If I cold boot with only 'lacpi' to run level 3 - shortly after I get 
>the login prompt the laptop freezes.
>
>2) If I cold boot with 'lacpi  acpi=off  pci=noacpi,usepirqmask'  the 
>system boots and does not freeze but  when I try to play sound I get no 
>interrupts from my sound card.
>
>3) If I now warm boot from step  2 with only 'lacpi' my  laptop seems to 
>be stable  and I have sound.
>
>I did this several times to try and really verify the above scenarios.
>
>Diff between dmesg output from step 1 and step 3
>$ diff dmesg104550 dmesg105029
>43,45c43,44
>< CPU: After generic identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 
>00000000 00000000 00000000
>< CPU: After vendor identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 
>00000000 00000000 00000000
>< Enabling disabled K7/SSE Support.
>---
> > CPU: After generic identify, caps: 0383f9ff c1c7f9ff 00000000 
>00000000 00000000 00000000 00000000
> > CPU: After vendor identify, caps: 0383f9ff c1c7f9ff 00000000 00000000 
>00000000 00000000 00000000
>55c54
>< ACPI: setting ELCR to 0200 (from 0800)
>---
> > ACPI: setting ELCR to 0200 (from 0820)
>92c91
>< audit(1122734733.300:1): initialized
>---
> > audit(1122735011.179:1): initialized
>161c160
>< Detected 849.810 MHz processor.
>---
> > Detected 850.192 MHz processor.
>163c162
>< powernow: Minimum speed 299 MHz. Maximum speed 849 MHz.
>---
> > powernow: Minimum speed 300 MHz. Maximum speed 850 MHz.
>
>
>
>I also captured dmesg output from the 3 steps, which are listed below
>
>
>
>from step 1.
>Linux version 2.6.12-1.1398_FC4 (bhcompile@tweety.build.redhat.com) (gcc 
>version 4.0.0 20050519 (Red Hat 4.0.0-8)) #1 Fri Jul 15 00:52:32 EDT 2005
>BIOS-provided physical RAM map:
> BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
> BIOS-e820: 000000000009f000 - 0000000000100000 (reserved)
> BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
> BIOS-e820: 000000000fff0000 - 000000000ffff000 (ACPI data)
> BIOS-e820: 000000000ffff000 - 0000000010000000 (ACPI NVS)
> BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
>0MB HIGHMEM available.
>255MB LOWMEM available.
>Using x86 segment limits to approximate NX protection
>On node 0 totalpages: 65520
>  DMA zone: 4096 pages, LIFO batch:1
>  Normal zone: 61424 pages, LIFO batch:31
>  HighMem zone: 0 pages, LIFO batch:1
>DMI 2.2 present.
>ACPI: RSDP (v000 PTLTD                                 ) @ 0x000f7c20
>ACPI: RSDT (v001 PTLTD    RSDT   0x06040000  LTP 0x00000000) @ 0x0fffcc46
>ACPI: FADT (v001 ALI    M1533    0x06040000 PTL  0x000f4240) @ 0x0fffef64
>ACPI: BOOT (v001 PTLTD  $SBFTBL$ 0x06040000  LTP 0x00000001) @ 0x0fffefd8
>ACPI: DSDT (v001 COMPAL      736 0x06040000 MSFT 0x0100000d) @ 0x00000000
>ACPI: PM-Timer IO Port: 0x8008
>Allocating PCI resources starting at 10000000 (gap: 10000000:eff80000)
>Built 1 zonelists
>Kernel command line: ro root=/dev/VolGroup00/LogVol00 lapic rhgb quiet
>Initializing CPU#0
>CPU 0 irqstacks, hard=c0454000 soft=c0453000
>PID hash table entries: 1024 (order: 10, 16384 bytes)
>Detected 849.759 MHz processor.
>Using pmtmr for high-res timesource
>Console: colour VGA+ 80x25
>Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
>Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
>Memory: 253496k/262080k available (2508k kernel code, 7896k reserved, 
>684k data, 184k init, 0k highmem)
>Checking if this processor honours the WP bit even in supervisor mode... Ok.
>Calibrating delay loop... 1687.55 BogoMIPS (lpj=843776)
>Security Framework v1.0.0 initialized
>SELinux:  Initializing.
>SELinux:  Starting in permissive mode
>selinux_register_security:  Registering secondary module capability
>Capability LSM initialized as secondary
>Mount-cache hash table entries: 512
>CPU: After generic identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 
>00000000 00000000 00000000
>CPU: After vendor identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 
>00000000 00000000 00000000
>Enabling disabled K7/SSE Support.
>CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
>CPU: L2 Cache: 64K (64 bytes/line)
>CPU: After all inits, caps: 0383f1ff c1c7f9ff 00000000 00000020 00000000 
>00000000 00000000
>Intel machine check architecture supported.
>Intel machine check reporting enabled on CPU#0.
>CPU: AMD mobile AMD Duron(tm) Processor stepping 00
>Enabling fast FPU save and restore... done.
>Enabling unmasked SIMD FPU exception support... done.
>Checking 'hlt' instruction... OK.
>ACPI: setting ELCR to 0200 (from 0800)
>checking if image is initramfs... it is
>Freeing initrd memory: 1670k freed
>NET: Registered protocol family 16
>PCI: PCI BIOS revision 2.10 entry at 0xfd8b0, last bus=1
>PCI: Using configuration type 1
>mtrr: v2.0 (20020519)
>ACPI: Subsystem revision 20050309
>ACPI: Interpreter enabled
>ACPI: Using PIC for interrupt routing
>ACPI: PCI Root Bridge [PCI0] (0000:00)
>PCI: Probing PCI hardware (bus 00)
>Boot video device is 0000:01:00.0
>ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
>ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
>ACPI: PCI Interrupt Link [LNKA] (IRQs 5 7 10 *11)
>ACPI: PCI Interrupt Link [LNKB] (IRQs 5 7 10 *11)
>ACPI: PCI Interrupt Link [LNKC] (IRQs 5 7) *0, disabled.
>ACPI: PCI Interrupt Link [LNKD] (IRQs 5 7 10 11) *0, disabled.
>ACPI: PCI Interrupt Link [LNKU] (IRQs *9)
>ACPI: Embedded Controller [EC0] (gpe 25)
>ACPI: Power Resource [PFAN] (off)
>Linux Plug and Play Support v0.97 (c) Adam Belay
>pnp: PnP ACPI init
>pnp: PnP ACPI: found 10 devices
>usbcore: registered new driver usbfs
>usbcore: registered new driver hub
>PCI: Using ACPI for IRQ routing
>PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a 
>report
>pnp: 00:06: ioport range 0x3810-0x381f has been reserved
>pnp: 00:06: ioport range 0x4d0-0x4d1 has been reserved
>pnp: 00:06: ioport range 0x8000-0x805f could not be reserved
>pnp: 00:06: ioport range 0x4d6-0x4d6 has been reserved
>Simple Boot Flag at 0x36 set to 0x1
>apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
>apm: overridden by ACPI.
>audit: initializing netlink socket (disabled)
>audit(1122734733.300:1): initialized
>Total HugeTLB memory allocated, 0
>VFS: Disk quotas dquot_6.5.1
>Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
>SELinux:  Registering netfilter hooks
>Initializing Cryptographic API
>ksign: Installing public key data
>Loading keyring
>- Added public key 57652F2F3358E32D
>- User ID: Red Hat, Inc. (Kernel Module GPG key)
>Limiting direct PCI/PCI transfers.
>Activating ISA DMA hang workarounds.
>pci_hotplug: PCI Hot Plug PCI Core version: 0.5
>ACPI: Fan [FAN] (off)
>ACPI: CPU0 (power states: C1[C1] C2[C2])
>ACPI: Processor [CPU0] (supports 8 throttling states)
>ACPI: Thermal Zone [THRM] (63 C)
>isapnp: Scanning for PnP cards...
>isapnp: No Plug & Play device found
>Real Time Clock Driver v1.12
>Linux agpgart interface v0.101 (c) Dave Jones
>agpgart: Detected ALi M1647 chipset
>agpgart: AGP aperture is 64M @ 0xf0000000
>PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:MSE0] at 0x60,0x64 irq 1,12
>serio: i8042 AUX port at 0x60,0x64 irq 12
>serio: i8042 KBD port at 0x60,0x64 irq 1
>Serial: 8250/16550 driver $Revision: 1.90 $ 76 ports, IRQ sharing enabled
>ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
>ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
>io scheduler noop registered
>io scheduler anticipatory registered
>io scheduler deadline registered
>io scheduler cfq registered
>RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
>Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
>ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
>ALI15X3: IDE controller at PCI slot 0000:00:0f.0
>ACPI: PCI Interrupt 0000:00:0f.0[A]: no GSI
>ALI15X3: chipset revision 195
>ALI15X3: not 100% native mode: will probe irqs later
>    ide0: BM-DMA at 0x1000-0x1007, BIOS settings: hda:DMA, hdb:pio
>    ide1: BM-DMA at 0x1008-0x100f, BIOS settings: hdc:DMA, hdd:pio
>Probing IDE interface ide0...
>hda: HITACHI_DK23CA-20, ATA DISK drive
>ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
>Probing IDE interface ide1...
>hdc: MATSHITADVD-ROM SR-8175, ATAPI CD/DVD-ROM drive
>ide1 at 0x170-0x177,0x376 on irq 15
>hda: max request size: 128KiB
>hda: 39070080 sectors (20003 MB) w/2048KiB Cache, CHS=38760/16/63, UDMA(33)
>hda: cache flushes not supported
> hda: hda1 hda2
>hdc: ATAPI 24X DVD-ROM drive, 512kB Cache, UDMA(33)
>Uniform CD-ROM driver Revision: 3.20
>ide-floppy driver 0.99.newide
>usbcore: registered new driver hiddev
>usbcore: registered new driver usbhid
>drivers/usb/input/hid-core.c: v2.01:USB HID core driver
>mice: PS/2 mouse device common for all mice
>md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
>NET: Registered protocol family 2
>IP: routing cache hash table of 512 buckets, 16Kbytes
>TCP established hash table entries: 16384 (order: 5, 131072 bytes)
>TCP bind hash table entries: 16384 (order: 6, 458752 bytes)
>TCP: Hash tables configured (established 16384 bind 16384)
>Initializing IPsec netlink socket
>NET: Registered protocol family 1
>NET: Registered protocol family 17
>powernow: PowerNOW! Technology present. Can scale: frequency and voltage.
>Detected 849.810 MHz processor.
>powernow: SGTC: 10000
>powernow: Minimum speed 299 MHz. Maximum speed 849 MHz.
>ACPI wakeup devices:
>SBTN  LAN COM1
>ACPI: (supports S0 S1 S3 S4 S5)
>Freeing unused kernel memory: 184k freed
>input: AT Translated Set 2 keyboard on isa0060/serio0
>device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
>input: PS/2 Generic Mouse on isa0060/serio1
>kjournald starting.  Commit interval 5 seconds
>EXT3-fs: mounted filesystem with ordered data mode.
>SELinux:  Disabled at runtime.
>SELinux:  Unregistering netfilter hooks
>Floppy drive(s): fd0 is 1.44M
>FDC 0 is a post-1991 82077
>Linux Tulip driver version 1.1.13 (May 11, 2002)
>PCI: Enabling device 0000:00:10.0 (0010 -> 0013)
>ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
>PCI: setting IRQ 11 as level-triggered
>ACPI: PCI Interrupt 0000:00:10.0[A] -> Link [LNKB] -> GSI 11 (level, 
>low) -> IRQ 11
>tulip0:  MII transceiver #1 config 1000 status 786d advertising 01e1.
>eth0: ADMtek Comet rev 17 at d0834000, 00:D0:59:5C:E0:EB, IRQ 11.
>ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
>PCI: setting IRQ 5 as level-triggered
>ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [LNKC] -> GSI 5 (level, low) 
>-> IRQ 5
>shpchp: shpc_init : shpc_cap_offset == 0
>shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
>ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
>ACPI: PCI Interrupt Link [LNKU] enabled at IRQ 9
>PCI: setting IRQ 9 as level-triggered
>ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LNKU] -> GSI 9 (level, low) 
>-> IRQ 9
>ohci_hcd 0000:00:02.0: OHCI Host Controller
>ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1
>ohci_hcd 0000:00:02.0: irq 9, io mem 0xfff70000
>hub 1-0:1.0: USB hub found
>hub 1-0:1.0: 2 ports detected
>Linux Kernel Card Services
>  options:  [pci] [cardbus] [pm]
>ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
>ACPI: PCI Interrupt 0000:00:04.0[A] -> Link [LNKA] -> GSI 11 (level, 
>low) -> IRQ 11
>Yenta: CardBus bridge found at 0000:00:04.0 [103c:0018]
>Yenta: Enabling burst memory read transactions
>Yenta: Using CSCINT to route CSC interrupts to PCI
>Yenta: Routing CardBus interrupts to PCI
>Yenta TI: socket 0000:00:04.0, mfunc 0x009c1b22, devctl 0x66
>Yenta: ISA IRQ mask 0x0498, PCI irq 11
>Socket status: 30000006
>ACPI: PCI Interrupt 0000:00:04.1[A] -> Link [LNKA] -> GSI 11 (level, 
>low) -> IRQ 11
>Yenta: CardBus bridge found at 0000:00:04.1 [103c:0018]
>Yenta: Using CSCINT to route CSC interrupts to PCI
>Yenta: Routing CardBus interrupts to PCI
>Yenta TI: socket 0000:00:04.1, mfunc 0x009c1b22, devctl 0x66
>Yenta: ISA IRQ mask 0x0498, PCI irq 11
>Socket status: 30000006
>ACPI: AC Adapter [AC] (on-line)
>ACPI: Battery Slot [BAT0] (battery present)
>ACPI: Power Button (FF) [PWRF]
>ACPI: Lid Switch [LID]
>ACPI: Sleep Button (CM) [SBTN]
>ibm_acpi: ec object not found
>md: Autodetecting RAID arrays.
>md: autorun ...
>md: ... autorun DONE.
>EXT3 FS on dm-0, internal journal
>kjournald starting.  Commit interval 5 seconds
>EXT3 FS on hda1, internal journal
>EXT3-fs: mounted filesystem with ordered data mode.
>Adding 524280k swap on /dev/VolGroup00/LogVol01.  Priority:-1 extents:1
>
>from step 2.
>Linux version 2.6.12-1.1398_FC4 (bhcompile@tweety.build.redhat.com) (gcc 
>version 4.0.0 20050519 (Red Hat 4.0.0-8)) #1 Fri Jul 15 00:52:32 EDT 2005
>BIOS-provided physical RAM map:
> BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
> BIOS-e820: 000000000009f000 - 0000000000100000 (reserved)
> BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
> BIOS-e820: 000000000fff0000 - 000000000ffff000 (ACPI data)
> BIOS-e820: 000000000ffff000 - 0000000010000000 (ACPI NVS)
> BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
>0MB HIGHMEM available.
>255MB LOWMEM available.
>Using x86 segment limits to approximate NX protection
>On node 0 totalpages: 65520
>  DMA zone: 4096 pages, LIFO batch:1
>  Normal zone: 61424 pages, LIFO batch:31
>  HighMem zone: 0 pages, LIFO batch:1
>DMI 2.2 present.
>Allocating PCI resources starting at 10000000 (gap: 10000000:eff80000)
>Built 1 zonelists
>Kernel command line: ro root=/dev/VolGroup00/LogVol00 single acpi=off 
>pci=noacpi,usepirqmask lapic rhgb quiet
>Initializing CPU#0
>CPU 0 irqstacks, hard=c0454000 soft=c0453000
>PID hash table entries: 1024 (order: 10, 16384 bytes)
>Detected 849.764 MHz processor.
>Using tsc for high-res timesource
>Console: colour VGA+ 80x25
>Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
>Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
>Memory: 253496k/262080k available (2508k kernel code, 7896k reserved, 
>684k data, 184k init, 0k highmem)
>Checking if this processor honours the WP bit even in supervisor mode... Ok.
>Calibrating delay loop... 1675.26 BogoMIPS (lpj=837632)
>Security Framework v1.0.0 initialized
>SELinux:  Initializing.
>SELinux:  Starting in permissive mode
>selinux_register_security:  Registering secondary module capability
>Capability LSM initialized as secondary
>Mount-cache hash table entries: 512
>CPU: After generic identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 
>00000000 00000000 00000000
>CPU: After vendor identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 
>00000000 00000000 00000000
>Enabling disabled K7/SSE Support.
>CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
>CPU: L2 Cache: 64K (64 bytes/line)
>CPU: After all inits, caps: 0383f1ff c1c7f9ff 00000000 00000020 00000000 
>00000000 00000000
>Intel machine check architecture supported.
>Intel machine check reporting enabled on CPU#0.
>CPU: AMD mobile AMD Duron(tm) Processor stepping 00
>Enabling fast FPU save and restore... done.
>Enabling unmasked SIMD FPU exception support... done.
>Checking 'hlt' instruction... OK.
>checking if image is initramfs... it is
>Freeing initrd memory: 1670k freed
>NET: Registered protocol family 16
>PCI: PCI BIOS revision 2.10 entry at 0xfd8b0, last bus=1
>PCI: Using configuration type 1
>mtrr: v2.0 (20020519)
>ACPI: Subsystem revision 20050309
>ACPI: Interpreter disabled.
>Linux Plug and Play Support v0.97 (c) Adam Belay
>pnp: PnP ACPI: disabled
>usbcore: registered new driver usbfs
>usbcore: registered new driver hub
>PCI: Probing PCI hardware
>PCI: Probing PCI hardware (bus 00)
>Boot video device is 0000:01:00.0
>PCI: Using ALI IRQ Router
>PCI: Using IRQ router ALI [10b9/1533] at 0000:00:07.0
>apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
>audit: initializing netlink socket (disabled)
>audit(1122734871.934:1): initialized
>Total HugeTLB memory allocated, 0
>VFS: Disk quotas dquot_6.5.1
>Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
>SELinux:  Registering netfilter hooks
>Initializing Cryptographic API
>ksign: Installing public key data
>Loading keyring
>- Added public key 57652F2F3358E32D
>- User ID: Red Hat, Inc. (Kernel Module GPG key)
>Limiting direct PCI/PCI transfers.
>Activating ISA DMA hang workarounds.
>pci_hotplug: PCI Hot Plug PCI Core version: 0.5
>isapnp: Scanning for PnP cards...
>isapnp: No Plug & Play device found
>Real Time Clock Driver v1.12
>Linux agpgart interface v0.101 (c) Dave Jones
>agpgart: Detected ALi M1647 chipset
>agpgart: AGP aperture is 64M @ 0xf0000000
>PNP: No PS/2 controller found. Probing ports directly.
>serio: i8042 AUX port at 0x60,0x64 irq 12
>serio: i8042 KBD port at 0x60,0x64 irq 1
>Serial: 8250/16550 driver $Revision: 1.90 $ 76 ports, IRQ sharing enabled
>ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
>io scheduler noop registered
>io scheduler anticipatory registered
>io scheduler deadline registered
>io scheduler cfq registered
>RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
>Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
>ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
>ALI15X3: IDE controller at PCI slot 0000:00:0f.0
>ALI15X3: chipset revision 195
>ALI15X3: not 100% native mode: will probe irqs later
>    ide0: BM-DMA at 0x1000-0x1007, BIOS settings: hda:DMA, hdb:pio
>    ide1: BM-DMA at 0x1008-0x100f, BIOS settings: hdc:DMA, hdd:pio
>Probing IDE interface ide0...
>hda: HITACHI_DK23CA-20, ATA DISK drive
>ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
>Probing IDE interface ide1...
>hdc: MATSHITADVD-ROM SR-8175, ATAPI CD/DVD-ROM drive
>ide1 at 0x170-0x177,0x376 on irq 15
>hda: max request size: 128KiB
>hda: 39070080 sectors (20003 MB) w/2048KiB Cache, CHS=38760/16/63, UDMA(33)
>hda: cache flushes not supported
> hda: hda1 hda2
>hdc: ATAPI 24X DVD-ROM drive, 512kB Cache, UDMA(33)
>Uniform CD-ROM driver Revision: 3.20
>ide-floppy driver 0.99.newide
>usbcore: registered new driver hiddev
>usbcore: registered new driver usbhid
>drivers/usb/input/hid-core.c: v2.01:USB HID core driver
>mice: PS/2 mouse device common for all mice
>md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
>NET: Registered protocol family 2
>IP: routing cache hash table of 512 buckets, 16Kbytes
>TCP established hash table entries: 16384 (order: 5, 131072 bytes)
>TCP bind hash table entries: 16384 (order: 6, 458752 bytes)
>TCP: Hash tables configured (established 16384 bind 16384)
>Initializing IPsec netlink socket
>NET: Registered protocol family 1
>NET: Registered protocol family 17
>powernow: PowerNOW! Technology present. Can scale: frequency and voltage.
>Detected 850.279 MHz processor.
>powernow: SGTC: 10000
>powernow: Minimum speed 300 MHz. Maximum speed 850 MHz.
>Freeing unused kernel memory: 184k freed
>input: AT Translated Set 2 keyboard on isa0060/serio0
>device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
>EXT3-fs: INFO: recovery required on readonly filesystem.
>EXT3-fs: write access will be enabled during recovery.
>input: PS/2 Generic Mouse on isa0060/serio1
>kjournald starting.  Commit interval 5 seconds
>EXT3-fs: dm-0: orphan cleanup on readonly fs
>ext3_orphan_cleanup: deleting unreferenced inode 4125296
>ext3_orphan_cleanup: deleting unreferenced inode 4125294
>EXT3-fs: dm-0: 2 orphan inodes deleted
>EXT3-fs: recovery complete.
>EXT3-fs: mounted filesystem with ordered data mode.
>SELinux:  Disabled at runtime.
>SELinux:  Unregistering netfilter hooks
>Floppy drive(s): fd0 is 1.44M
>FDC 0 is a post-1991 82077
>Linux Tulip driver version 1.1.13 (May 11, 2002)
>PCI: Enabling device 0000:00:10.0 (0010 -> 0013)
>PCI: setting IRQ 11 as level-triggered
>PCI: Assigned IRQ 11 for device 0000:00:10.0
>PCI: Sharing IRQ 11 with 0000:00:04.0
>PCI: Sharing IRQ 11 with 0000:00:04.1
>PCI: Sharing IRQ 11 with 0000:01:00.0
>tulip0:  MII transceiver #1 config 1000 status 786d advertising 01e1.
>eth0: ADMtek Comet rev 17 at d0818000, 00:D0:59:5C:E0:EB, IRQ 11.
>PCI: setting IRQ 5 as level-triggered
>PCI: Assigned IRQ 5 for device 0000:00:08.0
>PCI: Sharing IRQ 5 with 0000:00:08.1
>shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
>ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
>PCI: Assigned IRQ 11 for device 0000:00:02.0
>ohci_hcd 0000:00:02.0: OHCI Host Controller
>ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1
>ohci_hcd 0000:00:02.0: irq 11, io mem 0xfff70000
>hub 1-0:1.0: USB hub found
>hub 1-0:1.0: 2 ports detected
>Linux Kernel Card Services
>  options:  [pci] [cardbus] [pm]
>PCI: Assigned IRQ 11 for device 0000:00:04.0
>PCI: Sharing IRQ 11 with 0000:00:04.1
>PCI: Sharing IRQ 11 with 0000:00:10.0
>PCI: Sharing IRQ 11 with 0000:01:00.0
>Yenta: CardBus bridge found at 0000:00:04.0 [103c:0018]
>Yenta: Enabling burst memory read transactions
>Yenta: Using CSCINT to route CSC interrupts to PCI
>Yenta: Routing CardBus interrupts to PCI
>Yenta TI: socket 0000:00:04.0, mfunc 0x009c1b22, devctl 0x66
>Yenta: ISA IRQ mask 0x0698, PCI irq 11
>Socket status: 30000006
>PCI: Assigned IRQ 11 for device 0000:00:04.1
>PCI: Sharing IRQ 11 with 0000:00:04.0
>PCI: Sharing IRQ 11 with 0000:00:10.0
>PCI: Sharing IRQ 11 with 0000:01:00.0
>Yenta: CardBus bridge found at 0000:00:04.1 [103c:0018]
>Yenta: Using CSCINT to route CSC interrupts to PCI
>Yenta: Routing CardBus interrupts to PCI
>Yenta TI: socket 0000:00:04.1, mfunc 0x009c1b22, devctl 0x66
>spurious 8259A interrupt: IRQ7.
>Yenta: ISA IRQ mask 0x0698, PCI irq 11
>Socket status: 30000006
>0000:00:10.0: tulip_stop_rxtx() failed
>eth0: Setting full-duplex based on MII#1 link partner capability of 45e1.
>md: Autodetecting RAID arrays.
>md: autorun ...
>md: ... autorun DONE.
>EXT3 FS on dm-0, internal journal
>kjournald starting.  Commit interval 5 seconds
>EXT3 FS on hda1, internal journal
>EXT3-fs: mounted filesystem with ordered data mode.
>Adding 524280k swap on /dev/VolGroup00/LogVol01.  Priority:-1 extents:1
>
>Step 3.
>Linux version 2.6.12-1.1398_FC4 (bhcompile@tweety.build.redhat.com) (gcc 
>version 4.0.0 20050519 (Red Hat 4.0.0-8)) #1 Fri Jul 15 00:52:32 EDT 2005
>BIOS-provided physical RAM map:
> BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
> BIOS-e820: 000000000009f000 - 0000000000100000 (reserved)
> BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
> BIOS-e820: 000000000fff0000 - 000000000ffff000 (ACPI data)
> BIOS-e820: 000000000ffff000 - 0000000010000000 (ACPI NVS)
> BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
>0MB HIGHMEM available.
>255MB LOWMEM available.
>Using x86 segment limits to approximate NX protection
>On node 0 totalpages: 65520
>  DMA zone: 4096 pages, LIFO batch:1
>  Normal zone: 61424 pages, LIFO batch:31
>  HighMem zone: 0 pages, LIFO batch:1
>DMI 2.2 present.
>ACPI: RSDP (v000 PTLTD                                 ) @ 0x000f7c20
>ACPI: RSDT (v001 PTLTD    RSDT   0x06040000  LTP 0x00000000) @ 0x0fffcc46
>ACPI: FADT (v001 ALI    M1533    0x06040000 PTL  0x000f4240) @ 0x0fffef64
>ACPI: BOOT (v001 PTLTD  $SBFTBL$ 0x06040000  LTP 0x00000001) @ 0x0fffefd8
>ACPI: DSDT (v001 COMPAL      736 0x06040000 MSFT 0x0100000d) @ 0x00000000
>ACPI: PM-Timer IO Port: 0x8008
>Allocating PCI resources starting at 10000000 (gap: 10000000:eff80000)
>Built 1 zonelists
>Kernel command line: ro root=/dev/VolGroup00/LogVol00 lapic rhgb quiet
>Initializing CPU#0
>CPU 0 irqstacks, hard=c0454000 soft=c0453000
>PID hash table entries: 1024 (order: 10, 16384 bytes)
>Detected 849.759 MHz processor.
>Using pmtmr for high-res timesource
>Console: colour VGA+ 80x25
>Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
>Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
>Memory: 253496k/262080k available (2508k kernel code, 7896k reserved, 
>684k data, 184k init, 0k highmem)
>Checking if this processor honours the WP bit even in supervisor mode... Ok.
>Calibrating delay loop... 1687.55 BogoMIPS (lpj=843776)
>Security Framework v1.0.0 initialized
>SELinux:  Initializing.
>SELinux:  Starting in permissive mode
>selinux_register_security:  Registering secondary module capability
>Capability LSM initialized as secondary
>Mount-cache hash table entries: 512
>CPU: After generic identify, caps: 0383f9ff c1c7f9ff 00000000 00000000 
>00000000 00000000 00000000
>CPU: After vendor identify, caps: 0383f9ff c1c7f9ff 00000000 00000000 
>00000000 00000000 00000000
>CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
>CPU: L2 Cache: 64K (64 bytes/line)
>CPU: After all inits, caps: 0383f1ff c1c7f9ff 00000000 00000020 00000000 
>00000000 00000000
>Intel machine check architecture supported.
>Intel machine check reporting enabled on CPU#0.
>CPU: AMD mobile AMD Duron(tm) Processor stepping 00
>Enabling fast FPU save and restore... done.
>Enabling unmasked SIMD FPU exception support... done.
>Checking 'hlt' instruction... OK.
>ACPI: setting ELCR to 0200 (from 0820)
>checking if image is initramfs... it is
>Freeing initrd memory: 1670k freed
>NET: Registered protocol family 16
>PCI: PCI BIOS revision 2.10 entry at 0xfd8b0, last bus=1
>PCI: Using configuration type 1
>mtrr: v2.0 (20020519)
>ACPI: Subsystem revision 20050309
>ACPI: Interpreter enabled
>ACPI: Using PIC for interrupt routing
>ACPI: PCI Root Bridge [PCI0] (0000:00)
>PCI: Probing PCI hardware (bus 00)
>Boot video device is 0000:01:00.0
>ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
>ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
>ACPI: PCI Interrupt Link [LNKA] (IRQs 5 7 10 *11)
>ACPI: PCI Interrupt Link [LNKB] (IRQs 5 7 10 *11)
>ACPI: PCI Interrupt Link [LNKC] (IRQs 5 7) *0, disabled.
>ACPI: PCI Interrupt Link [LNKD] (IRQs 5 7 10 11) *0, disabled.
>ACPI: PCI Interrupt Link [LNKU] (IRQs *9)
>ACPI: Embedded Controller [EC0] (gpe 25)
>ACPI: Power Resource [PFAN] (off)
>Linux Plug and Play Support v0.97 (c) Adam Belay
>pnp: PnP ACPI init
>pnp: PnP ACPI: found 10 devices
>usbcore: registered new driver usbfs
>usbcore: registered new driver hub
>PCI: Using ACPI for IRQ routing
>PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a 
>report
>pnp: 00:06: ioport range 0x3810-0x381f has been reserved
>pnp: 00:06: ioport range 0x4d0-0x4d1 has been reserved
>pnp: 00:06: ioport range 0x8000-0x805f could not be reserved
>pnp: 00:06: ioport range 0x4d6-0x4d6 has been reserved
>Simple Boot Flag at 0x36 set to 0x1
>apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
>apm: overridden by ACPI.
>audit: initializing netlink socket (disabled)
>audit(1122735011.179:1): initialized
>Total HugeTLB memory allocated, 0
>VFS: Disk quotas dquot_6.5.1
>Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
>SELinux:  Registering netfilter hooks
>Initializing Cryptographic API
>ksign: Installing public key data
>Loading keyring
>- Added public key 57652F2F3358E32D
>- User ID: Red Hat, Inc. (Kernel Module GPG key)
>Limiting direct PCI/PCI transfers.
>Activating ISA DMA hang workarounds.
>pci_hotplug: PCI Hot Plug PCI Core version: 0.5
>ACPI: Fan [FAN] (off)
>ACPI: CPU0 (power states: C1[C1] C2[C2])
>ACPI: Processor [CPU0] (supports 8 throttling states)
>ACPI: Thermal Zone [THRM] (63 C)
>isapnp: Scanning for PnP cards...
>isapnp: No Plug & Play device found
>Real Time Clock Driver v1.12
>Linux agpgart interface v0.101 (c) Dave Jones
>agpgart: Detected ALi M1647 chipset
>agpgart: AGP aperture is 64M @ 0xf0000000
>PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:MSE0] at 0x60,0x64 irq 1,12
>serio: i8042 AUX port at 0x60,0x64 irq 12
>serio: i8042 KBD port at 0x60,0x64 irq 1
>Serial: 8250/16550 driver $Revision: 1.90 $ 76 ports, IRQ sharing enabled
>ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
>ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
>io scheduler noop registered
>io scheduler anticipatory registered
>io scheduler deadline registered
>io scheduler cfq registered
>RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
>Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
>ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
>ALI15X3: IDE controller at PCI slot 0000:00:0f.0
>ACPI: PCI Interrupt 0000:00:0f.0[A]: no GSI
>ALI15X3: chipset revision 195
>ALI15X3: not 100% native mode: will probe irqs later
>    ide0: BM-DMA at 0x1000-0x1007, BIOS settings: hda:DMA, hdb:pio
>    ide1: BM-DMA at 0x1008-0x100f, BIOS settings: hdc:DMA, hdd:pio
>Probing IDE interface ide0...
>hda: HITACHI_DK23CA-20, ATA DISK drive
>ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
>Probing IDE interface ide1...
>hdc: MATSHITADVD-ROM SR-8175, ATAPI CD/DVD-ROM drive
>ide1 at 0x170-0x177,0x376 on irq 15
>hda: max request size: 128KiB
>hda: 39070080 sectors (20003 MB) w/2048KiB Cache, CHS=38760/16/63, UDMA(33)
>hda: cache flushes not supported
> hda: hda1 hda2
>hdc: ATAPI 24X DVD-ROM drive, 512kB Cache, UDMA(33)
>Uniform CD-ROM driver Revision: 3.20
>ide-floppy driver 0.99.newide
>usbcore: registered new driver hiddev
>usbcore: registered new driver usbhid
>drivers/usb/input/hid-core.c: v2.01:USB HID core driver
>mice: PS/2 mouse device common for all mice
>md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
>NET: Registered protocol family 2
>IP: routing cache hash table of 512 buckets, 16Kbytes
>TCP established hash table entries: 16384 (order: 5, 131072 bytes)
>TCP bind hash table entries: 16384 (order: 6, 458752 bytes)
>TCP: Hash tables configured (established 16384 bind 16384)
>Initializing IPsec netlink socket
>NET: Registered protocol family 1
>NET: Registered protocol family 17
>powernow: PowerNOW! Technology present. Can scale: frequency and voltage.
>Detected 850.192 MHz processor.
>powernow: SGTC: 10000
>powernow: Minimum speed 300 MHz. Maximum speed 850 MHz.
>ACPI wakeup devices:
>SBTN  LAN COM1
>ACPI: (supports S0 S1 S3 S4 S5)
>Freeing unused kernel memory: 184k freed
>input: AT Translated Set 2 keyboard on isa0060/serio0
>device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
>input: PS/2 Generic Mouse on isa0060/serio1
>kjournald starting.  Commit interval 5 seconds
>EXT3-fs: mounted filesystem with ordered data mode.
>SELinux:  Disabled at runtime.
>SELinux:  Unregistering netfilter hooks
>Floppy drive(s): fd0 is 1.44M
>FDC 0 is a post-1991 82077
>Linux Tulip driver version 1.1.13 (May 11, 2002)
>PCI: Enabling device 0000:00:10.0 (0010 -> 0013)
>ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
>PCI: setting IRQ 11 as level-triggered
>ACPI: PCI Interrupt 0000:00:10.0[A] -> Link [LNKB] -> GSI 11 (level, 
>low) -> IRQ 11
>tulip0:  MII transceiver #1 config 1000 status 786d advertising 01e1.
>eth0: ADMtek Comet rev 17 at d0834000, 00:D0:59:5C:E0:EB, IRQ 11.
>ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
>PCI: setting IRQ 5 as level-triggered
>ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [LNKC] -> GSI 5 (level, low) 
>-> IRQ 5
>shpchp: shpc_init : shpc_cap_offset == 0
>shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
>ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
>ACPI: PCI Interrupt Link [LNKU] enabled at IRQ 9
>PCI: setting IRQ 9 as level-triggered
>ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LNKU] -> GSI 9 (level, low) 
>-> IRQ 9
>ohci_hcd 0000:00:02.0: OHCI Host Controller
>ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1
>ohci_hcd 0000:00:02.0: irq 9, io mem 0xfff70000
>hub 1-0:1.0: USB hub found
>hub 1-0:1.0: 2 ports detected
>Linux Kernel Card Services
>  options:  [pci] [cardbus] [pm]
>ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
>ACPI: PCI Interrupt 0000:00:04.0[A] -> Link [LNKA] -> GSI 11 (level, 
>low) -> IRQ 11
>Yenta: CardBus bridge found at 0000:00:04.0 [103c:0018]
>Yenta: Enabling burst memory read transactions
>Yenta: Using CSCINT to route CSC interrupts to PCI
>Yenta: Routing CardBus interrupts to PCI
>Yenta TI: socket 0000:00:04.0, mfunc 0x009c1b22, devctl 0x66
>Yenta: ISA IRQ mask 0x0498, PCI irq 11
>Socket status: 30000006
>ACPI: PCI Interrupt 0000:00:04.1[A] -> Link [LNKA] -> GSI 11 (level, 
>low) -> IRQ 11
>Yenta: CardBus bridge found at 0000:00:04.1 [103c:0018]
>Yenta: Using CSCINT to route CSC interrupts to PCI
>Yenta: Routing CardBus interrupts to PCI
>Yenta TI: socket 0000:00:04.1, mfunc 0x009c1b22, devctl 0x66
>Yenta: ISA IRQ mask 0x0498, PCI irq 11
>Socket status: 30000006
>ACPI: AC Adapter [AC] (on-line)
>ACPI: Battery Slot [BAT0] (battery present)
>ACPI: Power Button (FF) [PWRF]
>ACPI: Lid Switch [LID]
>ACPI: Sleep Button (CM) [SBTN]
>ibm_acpi: ec object not found
>md: Autodetecting RAID arrays.
>md: autorun ...
>md: ... autorun DONE.
>EXT3 FS on dm-0, internal journal
>kjournald starting.  Commit interval 5 seconds
>EXT3 FS on hda1, internal journal
>EXT3-fs: mounted filesystem with ordered data mode.
>Adding 524280k swap on /dev/VolGroup00/LogVol01.  Priority:-1 extents:1
>
>Any ideas would be appreciated.
>Steve
>
>  
>
Hello List,

I have compiled 2.6.13rc4 and am still having the problem described above.

What is the best way to debug a hang? I there a way to turn on verbose 
debugging at boot? Also why would
the hardware capabilities be different between a cold boot and a warm boot?

Thanks for any advice,
Steve

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

* 2.6.13rc4 hang
  2005-07-30 15:56         ` Stephen Clark
  2005-07-31 19:25           ` 2.6.13rc4 hang Stephen Clark
@ 2005-08-01 13:11           ` Stephen Clark
  1 sibling, 0 replies; 15+ messages in thread
From: Stephen Clark @ 2005-08-01 13:11 UTC (permalink / raw)
  To: linux-kernel

Hello List,

I am having a problem 2.6.13rc4 described below on a HP Pavilion N5430 
laptop.


1) If I cold boot with only 'lacpi' to run level 3 - shortly after I get
the login prompt the laptop freezes.

2) If I cold boot with 'lacpi  acpi=off  pci=noacpi,usepirqmask'  the
system boots and does not freeze but  when I try to play sound I get no
interrupts from my sound card.

3) If I now warm boot from step  2 with only 'lacpi' my  laptop seems to
be stable  and I have sound.

I did this several times to try and really verify the above scenarios.

Diff between dmesg output from step 1 and step 3
$ diff dmesg104550 dmesg105029
43,45c43,44
< CPU: After generic identify, caps: 0183f9ff c1c7f9ff 00000000 00000000
00000000 00000000 00000000
< CPU: After vendor identify, caps: 0183f9ff c1c7f9ff 00000000 00000000
00000000 00000000 00000000
< Enabling disabled K7/SSE Support.
---
> CPU: After generic identify, caps: 0383f9ff c1c7f9ff 00000000 
00000000 00000000 00000000 00000000
> CPU: After vendor identify, caps: 0383f9ff c1c7f9ff 00000000 00000000 
00000000 00000000 00000000
55c54
< ACPI: setting ELCR to 0200 (from 0800)
---
> ACPI: setting ELCR to 0200 (from 0820)
92c91
< audit(1122734733.300:1): initialized
---
> audit(1122735011.179:1): initialized
161c160
< Detected 849.810 MHz processor.
---
> Detected 850.192 MHz processor.
163c162
< powernow: Minimum speed 299 MHz. Maximum speed 849 MHz.
---
> powernow: Minimum speed 300 MHz. Maximum speed 850 MHz.

What is the best way to debug a hang? I there a way to turn on verbose
debugging at boot? Also why would
the hardware capabilities be different between a cold boot and a warm boot?

Thanks for any advice,
Steve


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

end of thread, other threads:[~2005-08-01 13:11 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-26 23:35 2.6.12 sound problem Stephen Clark
2005-07-27  4:23 ` Lee Revell
2005-07-27 15:31   ` Stephen Clark
2005-07-27  8:26 ` Takashi Iwai
2005-07-27 15:31   ` Stephen Clark
2005-07-29  8:41     ` Andrew Morton
2005-07-29  9:05       ` [PATCH] mm/slab.c : prefetchw the start of new allocated objects Eric Dumazet
2005-07-29  9:17         ` Andrew Morton
2005-07-29 10:08         ` Ingo Molnar
2005-07-30 19:31         ` David S. Miller
2005-07-30  3:13       ` 2.6.12 sound problem Stephen Clark
2005-07-30 15:56         ` Stephen Clark
2005-07-31 19:25           ` 2.6.13rc4 hang Stephen Clark
2005-08-01 13:11           ` Stephen Clark
  -- strict thread matches above, loose matches on Subject: below --
2005-07-25 19:16 2.6.12 sound problem Stephen Clark

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox