Re: [BUG] Problem with recording on hda-intel (sata_sil or hda-intel bug) - HP nx6325

2008-02-14 Thread Grzegorz Chwesewicz
Thursday 14 of February 2008 03:57:39 Bill Davidsen napisał(a):
> Grzegorz Chwesewicz wrote:
> > Hi.
> > Problem description:
> >
> > I have a problem with recording on HP nx6325 notebook (hda-intel with
> > AD1981HD codec). Playback works fine, but after 5-10 min. of recording
> > microphone stops working (playback works all the time). Unloading and
> > loading sound modules fixes problem, but only for another 5-10 minutes.
> > This problem exists from more than a year (at least from 2.6.17.13
> > kernel). In [1] we came to conclusion that this problem is ralated to IRQ
> > sharing [2] (HDA Intel is on the same IRQ as sata_sil).
> >
> > How to reproduce the problem:
> >
> > 1) on one console run arecord and see the output (You should see some
> > garbage) 2) on another console run cat /etc/*
> > 3) at once arecord on the first console gives no output
> >
> > So, doing lot of hdd I/O occurs problem with mic.
>
> I had problems a few years ago with USB stopping when the screen saver
> kicked in, just a wild thought.

Hehe, we are now working on solution with Takashi :)

-- 
Greetings
Grzegorz Chwesewicz, Chilan 
mailto:[EMAIL PROTECTED]
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [BUG] Problem with recording on hda-intel (sata_sil or hda-intel bug) - HP nx6325

2008-02-14 Thread Grzegorz Chwesewicz
Thursday 14 of February 2008 03:57:39 Bill Davidsen napisał(a):
 Grzegorz Chwesewicz wrote:
  Hi.
  Problem description:
 
  I have a problem with recording on HP nx6325 notebook (hda-intel with
  AD1981HD codec). Playback works fine, but after 5-10 min. of recording
  microphone stops working (playback works all the time). Unloading and
  loading sound modules fixes problem, but only for another 5-10 minutes.
  This problem exists from more than a year (at least from 2.6.17.13
  kernel). In [1] we came to conclusion that this problem is ralated to IRQ
  sharing [2] (HDA Intel is on the same IRQ as sata_sil).
 
  How to reproduce the problem:
 
  1) on one console run arecord and see the output (You should see some
  garbage) 2) on another console run cat /etc/*
  3) at once arecord on the first console gives no output
 
  So, doing lot of hdd I/O occurs problem with mic.

 I had problems a few years ago with USB stopping when the screen saver
 kicked in, just a wild thought.

Hehe, we are now working on solution with Takashi :)

-- 
Greetings
Grzegorz Chwesewicz, Chilan 
mailto:[EMAIL PROTECTED]
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [BUG] Problem with recording on hda-intel (sata_sil or hda-intel bug) - HP nx6325

2008-02-13 Thread Bill Davidsen

Grzegorz Chwesewicz wrote:
	Hi. 
Problem description:


I have a problem with recording on HP nx6325 notebook (hda-intel with AD1981HD 
codec). Playback works fine, but after 5-10 min. of recording microphone 
stops working (playback works all the time). Unloading and loading sound 
modules fixes problem, but only for another 5-10 minutes. This problem exists 
from more than a year (at least from 2.6.17.13 kernel). In [1] we came to 
conclusion that this problem is ralated to IRQ sharing [2] (HDA Intel is on 
the same IRQ as sata_sil). 


How to reproduce the problem:

1) on one console run arecord and see the output (You should see some garbage)
2) on another console run cat /etc/*
3) at once arecord on the first console gives no output

So, doing lot of hdd I/O occurs problem with mic.

I had problems a few years ago with USB stopping when the screen saver 
kicked in, just a wild thought.


--
Bill Davidsen <[EMAIL PROTECTED]>
  "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [BUG] Problem with recording on hda-intel (sata_sil or hda-intel bug) - HP nx6325

2008-02-13 Thread Bill Davidsen

Grzegorz Chwesewicz wrote:
	Hi. 
Problem description:


I have a problem with recording on HP nx6325 notebook (hda-intel with AD1981HD 
codec). Playback works fine, but after 5-10 min. of recording microphone 
stops working (playback works all the time). Unloading and loading sound 
modules fixes problem, but only for another 5-10 minutes. This problem exists 
from more than a year (at least from 2.6.17.13 kernel). In [1] we came to 
conclusion that this problem is ralated to IRQ sharing [2] (HDA Intel is on 
the same IRQ as sata_sil). 


How to reproduce the problem:

1) on one console run arecord and see the output (You should see some garbage)
2) on another console run cat /etc/*
3) at once arecord on the first console gives no output

So, doing lot of hdd I/O occurs problem with mic.

I had problems a few years ago with USB stopping when the screen saver 
kicked in, just a wild thought.


--
Bill Davidsen [EMAIL PROTECTED]
  We have more to fear from the bungling of the incompetent than from
the machinations of the wicked.  - from Slashdot
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [BUG] Problem with recording on hda-intel (sata_sil or hda-intel bug) - HP nx6325

2008-02-06 Thread Andrew Morton
On Tue, 5 Feb 2008 20:15:23 +0100 Grzegorz Chwesewicz <[EMAIL PROTECTED]> wrote:

>   Hi. 
> Problem description:
> 
> I have a problem with recording on HP nx6325 notebook (hda-intel with 
> AD1981HD 
> codec). Playback works fine, but after 5-10 min. of recording microphone 
> stops working (playback works all the time). Unloading and loading sound 
> modules fixes problem, but only for another 5-10 minutes. This problem exists 
> from more than a year (at least from 2.6.17.13 kernel). In [1] we came to 
> conclusion that this problem is ralated to IRQ sharing [2] (HDA Intel is on 
> the same IRQ as sata_sil). 
> 
> How to reproduce the problem:
> 
> 1) on one console run arecord and see the output (You should see some garbage)
> 2) on another console run cat /etc/*
> 3) at once arecord on the first console gives no output
> 
> So, doing lot of hdd I/O occurs problem with mic.
> 
> What had been done:
> 
> 1) I tried to boot Fedora 8 livecd and unload sata_sil, so that hda_intel was 
> the only device using IRQ. After that microphone was working all the time (I 
> left recording for all night, and in the morning I had almost 2h voip chat 
> using Twinkle). So when sata_sil is unloaded, and hda-intel is not sharing 
> the IRQ, the mic. is working all the time. Look at [3] to 
> see /proc/interrupts output when laptop is booted from livecd, and mic works.
> 
> 2) I tried to load hda-intel with enable_msi=1 (my RS480 chip is on 
> blacklist, 
> but I've removed it). Module loads and playback works ok, but problem with 
> mic still exists. Difference here is that when recording stops to work the 
> playback also stops to work (without MSI only mic stops to work). Look at [4] 
> to see /proc/interrupts output when module is loaded with enable_msi=1.
> 
> Question:
> 
> What information I need to provide to help resolving the problem ? Where to 
> start, because I've run out of ideas :) ?
> 
> References:
> [1] https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2449

Recording the bug in the alsa bugtracker is good, and Takashi is actively
working on the bug, and he is the best guy to do that.

So I don't think anything else really needs to be done here - please work
with him on solving this?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [BUG] Problem with recording on hda-intel (sata_sil or hda-intel bug) - HP nx6325

2008-02-06 Thread Andrew Morton
On Tue, 5 Feb 2008 20:15:23 +0100 Grzegorz Chwesewicz [EMAIL PROTECTED] wrote:

   Hi. 
 Problem description:
 
 I have a problem with recording on HP nx6325 notebook (hda-intel with 
 AD1981HD 
 codec). Playback works fine, but after 5-10 min. of recording microphone 
 stops working (playback works all the time). Unloading and loading sound 
 modules fixes problem, but only for another 5-10 minutes. This problem exists 
 from more than a year (at least from 2.6.17.13 kernel). In [1] we came to 
 conclusion that this problem is ralated to IRQ sharing [2] (HDA Intel is on 
 the same IRQ as sata_sil). 
 
 How to reproduce the problem:
 
 1) on one console run arecord and see the output (You should see some garbage)
 2) on another console run cat /etc/*
 3) at once arecord on the first console gives no output
 
 So, doing lot of hdd I/O occurs problem with mic.
 
 What had been done:
 
 1) I tried to boot Fedora 8 livecd and unload sata_sil, so that hda_intel was 
 the only device using IRQ. After that microphone was working all the time (I 
 left recording for all night, and in the morning I had almost 2h voip chat 
 using Twinkle). So when sata_sil is unloaded, and hda-intel is not sharing 
 the IRQ, the mic. is working all the time. Look at [3] to 
 see /proc/interrupts output when laptop is booted from livecd, and mic works.
 
 2) I tried to load hda-intel with enable_msi=1 (my RS480 chip is on 
 blacklist, 
 but I've removed it). Module loads and playback works ok, but problem with 
 mic still exists. Difference here is that when recording stops to work the 
 playback also stops to work (without MSI only mic stops to work). Look at [4] 
 to see /proc/interrupts output when module is loaded with enable_msi=1.
 
 Question:
 
 What information I need to provide to help resolving the problem ? Where to 
 start, because I've run out of ideas :) ?
 
 References:
 [1] https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2449

Recording the bug in the alsa bugtracker is good, and Takashi is actively
working on the bug, and he is the best guy to do that.

So I don't think anything else really needs to be done here - please work
with him on solving this?

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [BUG] Problem with recording on hda-intel (sata_sil or hda-intel bug) - HP nx6325

2008-02-05 Thread Grzegorz Chwesewicz
Attached dmesg.txt. 

PS. I'm loading hda-intel with "model=hp position_fix=1 enable=1" options.

-- 
Greetings
Grzegorz Chwesewicz, Chilan 
mailto:[EMAIL PROTECTED]
Linux version 2.6.24 ([EMAIL PROTECTED]) (gcc version 4.1.2 (Gentoo 4.1.2)) #8 
SMP PREEMPT Tue Feb 5 13:08:16 CET 2008
BIOS-provided physical RAM map:
 BIOS-e820:  - 0009fc00 (usable)
 BIOS-e820: 0009fc00 - 000a (reserved)
 BIOS-e820: 000e - 0010 (reserved)
 BIOS-e820: 0010 - 77fd (usable)
 BIOS-e820: 77fd - 77fe5600 (reserved)
 BIOS-e820: 77fe5600 - 77ff8000 (ACPI NVS)
 BIOS-e820: 77ff8000 - 8000 (reserved)
 BIOS-e820: e000 - f000 (reserved)
 BIOS-e820: fec0 - fec02000 (reserved)
 BIOS-e820: ffbc - ffcc (reserved)
 BIOS-e820: fff0 - 0001 (reserved)
1023MB HIGHMEM available.
896MB LOWMEM available.
Entering add_active_range(0, 0, 491472) 0 entries of 256 used
Zone PFN ranges:
  DMA 0 -> 4096
  Normal   4096 ->   229376
  HighMem229376 ->   491472
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0:0 ->   491472
On node 0 totalpages: 491472
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
  Normal zone: 1760 pages used for memmap
  Normal zone: 223520 pages, LIFO batch:31
  HighMem zone: 2047 pages used for memmap
  HighMem zone: 260049 pages, LIFO batch:31
  Movable zone: 0 pages used for memmap
DMI 2.4 present.
ACPI: RSDP 000F7A90, 0024 (r2 HP)
ACPI: XSDT 77FE57B8, 005C (r1 HPQOEM SLIC-MPC1 HP  1)
ACPI: FACP 77FE5684, 00F4 (r4 HP 09443 HP  1)
ACPI: DSDT 77FE5A60, F6D3 (r1 HPSB4001 MSFT  10E)
ACPI: FACS 77FF7E80, 0040
ACPI: SLIC 77FE5814, 0176 (r1 HPQOEM SLIC-MPC1 HP  1)
ACPI: APIC 77FE598C, 0062 (r1 HP 09441 HP  1)
ACPI: MCFG 77FE59F0, 003C (r1 HP 09441 HP  1)
ACPI: TCPA 77FE5A2C, 0032 (r2 HP 09441 HP  1)
ACPI: SSDT 77FF5133, 0059 (r1 HP   HPQNLP1 MSFT  10E)
ACPI: SSDT 77FF518C, 01C4 (r1 HP PSSTBLID1 HP  1)
ACPI: DMI detected: Hewlett-Packard
ATI board detected. Disabling timer routing over 8254.
ACPI: PM-Timer IO Port: 0x8008
ACPI: Local APIC address 0xfee0
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 15:8 APIC version 16
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
Processor #1 15:8 APIC version 16
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec0] gsi_base[0])
IOAPIC[0]: apic_id 2, version 33, address 0xfec0, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 21 low level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 8800 (gap: 8000:6000)
swsusp: Registered nosave memory region: 0009f000 - 000a
swsusp: Registered nosave memory region: 000a - 000e
swsusp: Registered nosave memory region: 000e - 0010
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 487633
Kernel command line: root=/dev/sda5 ro reboot=warm resume=/dev/sda8 
video=vesafb:nomtrr:3,ywrap vga=0x341
mapped APIC to b000 (fee0)
mapped IOAPIC to a000 (fec0)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 16384 bytes)
Detected 1795.531 MHz processor.
Console: colour dummy device 80x25
console [tty0] enabled
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1944528k/1965888k available (2693k kernel code, 20264k reserved, 791k 
data, 208k init, 1048384k highmem)
virtual kernel memory layout:
fixmap  : 0xfff4d000 - 0xf000   ( 712 kB)
pkmap   : 0xff80 - 0xffc0   (4096 kB)
vmalloc : 0xf880 - 0xff7fe000   ( 111 MB)
lowmem  : 0xc000 - 0xf800   ( 896 MB)
  .init : 0xc046d000 - 0xc04a1000   ( 208 kB)
  .data : 0xc03a1536 - 0xc0467184   ( 791 kB)
  .text : 0xc010 - 0xc03a1536   (2693 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 3593.36 BogoMIPS (lpj=1796684)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 178bfbff ebd3fbff   2001 
 001f 
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU 0(2) -> Core 0
CPU: After all 

[BUG] Problem with recording on hda-intel (sata_sil or hda-intel bug) - HP nx6325

2008-02-05 Thread Grzegorz Chwesewicz
Hi. 
Problem description:

I have a problem with recording on HP nx6325 notebook (hda-intel with AD1981HD 
codec). Playback works fine, but after 5-10 min. of recording microphone 
stops working (playback works all the time). Unloading and loading sound 
modules fixes problem, but only for another 5-10 minutes. This problem exists 
from more than a year (at least from 2.6.17.13 kernel). In [1] we came to 
conclusion that this problem is ralated to IRQ sharing [2] (HDA Intel is on 
the same IRQ as sata_sil). 

How to reproduce the problem:

1) on one console run arecord and see the output (You should see some garbage)
2) on another console run cat /etc/*
3) at once arecord on the first console gives no output

So, doing lot of hdd I/O occurs problem with mic.

What had been done:

1) I tried to boot Fedora 8 livecd and unload sata_sil, so that hda_intel was 
the only device using IRQ. After that microphone was working all the time (I 
left recording for all night, and in the morning I had almost 2h voip chat 
using Twinkle). So when sata_sil is unloaded, and hda-intel is not sharing 
the IRQ, the mic. is working all the time. Look at [3] to 
see /proc/interrupts output when laptop is booted from livecd, and mic works.

2) I tried to load hda-intel with enable_msi=1 (my RS480 chip is on blacklist, 
but I've removed it). Module loads and playback works ok, but problem with 
mic still exists. Difference here is that when recording stops to work the 
playback also stops to work (without MSI only mic stops to work). Look at [4] 
to see /proc/interrupts output when module is loaded with enable_msi=1.

Question:

What information I need to provide to help resolving the problem ? Where to 
start, because I've run out of ideas :) ?

References:
[1] https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2449

##

[2] cat /proc/interrupts (IRQ sharing)
   CPU0 CPU1
  0: 71953009 0 local-APIC-edge-fasteoi timer
  1: 36662 1 IO-APIC-edge i8042
  8: 1 1 IO-APIC-edge rtc
 12: 147 1 IO-APIC-edge i8042
 14: 49 2 IO-APIC-edge ide0
 16: 681511809 679908107 IO-APIC-fasteoi sata_sil, HDA Intel
 18: 29 1 IO-APIC-fasteoi
 19: 430379 1 IO-APIC-fasteoi ehci_hcd:usb1, ohci_hcd:usb2, ohci_hcd:usb3
 20: 0 1 IO-APIC-fasteoi sdhci:slot0, yenta
 21: 1231834 9 IO-APIC-fasteoi acpi
 23: 2273726 1 IO-APIC-fasteoi eth0
NMI: 0 0 Non-maskable interrupts
LOC: 0 71952388 Local timer interrupts
RES: 44883365 19180072 Rescheduling interrupts
CAL: 57631 790 function call interrupts
TLB: 7262 11762 TLB shootdowns
TRM: 0 0 Thermal event interrupts
SPU: 0 0 Spurious interrupts
ERR: 37465
MIS: 0

[EMAIL PROTECTED] ~]$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.15 (Tue Nov 20 19:16:42 
2007 UTC).

[EMAIL PROTECTED] ~]$ uname -a
Linux ensima-hp 2.6.24 #7 SMP PREEMPT Mon Feb 4 20:34:21 CET 2008 i686 AMD 
Turion(tm) 64 X2 Mobile Technology TL-56 AuthenticAMD GNU/Linux

##

[3] [EMAIL PROTECTED] ~]$ cat /proc/interrupts
   CPU0 CPU1
  0: 3014988 0 local-APIC-edge-fasteoi timer
  1: 0 1881 IO-APIC-edge i8042
  8: 0 1 IO-APIC-edge rtc
 12: 0 151 IO-APIC-edge i8042
 14: 2 17391 IO-APIC-edge libata
 15: 0 0 IO-APIC-edge libata
 16: 1 49 IO-APIC-fasteoi yenta, firewire_ohci, tifm_7xx1, sdhci:slot0
 17: 0 23001 IO-APIC-fasteoi ohci_hcd:usb1, ohci_hcd:usb2, ehci_hcd:usb3
 18: 0 260787 IO-APIC-fasteoi HDA Intel
 20: 0 297695 IO-APIC-fasteoi eth1
 21: 3 2304 IO-APIC-fasteoi acpi
NMI: 0 0
LOC: 0 3014807
ERR: 15
MIS: 0

[EMAIL PROTECTED] ~]$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.15 (Tue Oct 23 06:09:18 
2007 UTC).

[EMAIL PROTECTED] ~]$ uname -a
Linux localhost.localdomain 2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:55:12 EDT 
2007 i686 athlon i386 GNU/Linux

##

[4] cat /proc/interrupts
   CPU0   CPU1
  0:   51997092  0  local-APIC-edge-fasteoi   timer
  1:  50850  2   IO-APIC-edge  i8042
  8:  1  1   IO-APIC-edge  rtc
 12:792  2   IO-APIC-edge  i8042
 14:   9331  2   IO-APIC-edge  ide0
 16:  0  1   IO-APIC-fasteoi   yenta, sdhci:slot0
 17:3449488 190200   IO-APIC-fasteoi   eth0
 18: 492896  6   IO-APIC-fasteoi   sata_sil
 20: 457421  1   IO-APIC-fasteoi   ehci_hcd:usb1, ohci_hcd:usb2, 
ohci_hcd:usb3
 21: 181549  9   IO-APIC-fasteoi   acpi
220:  500351136607   PCI-MSI-edge  HDA Intel
NMI:  0  0   Non-maskable interrupts
LOC:  0   51994900   Local timer interrupts
RES:34352502342689   Rescheduling interrupts
CAL:   9842   2528   function call interrupts
TLB:  11148  18295   TLB shootdowns
TRM:  0  0   Thermal event interrupts
SPU:  0  0   Spurious interrupts
ERR:113
MIS:  0

##


[BUG] Problem with recording on hda-intel (sata_sil or hda-intel bug) - HP nx6325

2008-02-05 Thread Grzegorz Chwesewicz
Hi. 
Problem description:

I have a problem with recording on HP nx6325 notebook (hda-intel with AD1981HD 
codec). Playback works fine, but after 5-10 min. of recording microphone 
stops working (playback works all the time). Unloading and loading sound 
modules fixes problem, but only for another 5-10 minutes. This problem exists 
from more than a year (at least from 2.6.17.13 kernel). In [1] we came to 
conclusion that this problem is ralated to IRQ sharing [2] (HDA Intel is on 
the same IRQ as sata_sil). 

How to reproduce the problem:

1) on one console run arecord and see the output (You should see some garbage)
2) on another console run cat /etc/*
3) at once arecord on the first console gives no output

So, doing lot of hdd I/O occurs problem with mic.

What had been done:

1) I tried to boot Fedora 8 livecd and unload sata_sil, so that hda_intel was 
the only device using IRQ. After that microphone was working all the time (I 
left recording for all night, and in the morning I had almost 2h voip chat 
using Twinkle). So when sata_sil is unloaded, and hda-intel is not sharing 
the IRQ, the mic. is working all the time. Look at [3] to 
see /proc/interrupts output when laptop is booted from livecd, and mic works.

2) I tried to load hda-intel with enable_msi=1 (my RS480 chip is on blacklist, 
but I've removed it). Module loads and playback works ok, but problem with 
mic still exists. Difference here is that when recording stops to work the 
playback also stops to work (without MSI only mic stops to work). Look at [4] 
to see /proc/interrupts output when module is loaded with enable_msi=1.

Question:

What information I need to provide to help resolving the problem ? Where to 
start, because I've run out of ideas :) ?

References:
[1] https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2449

##

[2] cat /proc/interrupts (IRQ sharing)
   CPU0 CPU1
  0: 71953009 0 local-APIC-edge-fasteoi timer
  1: 36662 1 IO-APIC-edge i8042
  8: 1 1 IO-APIC-edge rtc
 12: 147 1 IO-APIC-edge i8042
 14: 49 2 IO-APIC-edge ide0
 16: 681511809 679908107 IO-APIC-fasteoi sata_sil, HDA Intel
 18: 29 1 IO-APIC-fasteoi
 19: 430379 1 IO-APIC-fasteoi ehci_hcd:usb1, ohci_hcd:usb2, ohci_hcd:usb3
 20: 0 1 IO-APIC-fasteoi sdhci:slot0, yenta
 21: 1231834 9 IO-APIC-fasteoi acpi
 23: 2273726 1 IO-APIC-fasteoi eth0
NMI: 0 0 Non-maskable interrupts
LOC: 0 71952388 Local timer interrupts
RES: 44883365 19180072 Rescheduling interrupts
CAL: 57631 790 function call interrupts
TLB: 7262 11762 TLB shootdowns
TRM: 0 0 Thermal event interrupts
SPU: 0 0 Spurious interrupts
ERR: 37465
MIS: 0

[EMAIL PROTECTED] ~]$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.15 (Tue Nov 20 19:16:42 
2007 UTC).

[EMAIL PROTECTED] ~]$ uname -a
Linux ensima-hp 2.6.24 #7 SMP PREEMPT Mon Feb 4 20:34:21 CET 2008 i686 AMD 
Turion(tm) 64 X2 Mobile Technology TL-56 AuthenticAMD GNU/Linux

##

[3] [EMAIL PROTECTED] ~]$ cat /proc/interrupts
   CPU0 CPU1
  0: 3014988 0 local-APIC-edge-fasteoi timer
  1: 0 1881 IO-APIC-edge i8042
  8: 0 1 IO-APIC-edge rtc
 12: 0 151 IO-APIC-edge i8042
 14: 2 17391 IO-APIC-edge libata
 15: 0 0 IO-APIC-edge libata
 16: 1 49 IO-APIC-fasteoi yenta, firewire_ohci, tifm_7xx1, sdhci:slot0
 17: 0 23001 IO-APIC-fasteoi ohci_hcd:usb1, ohci_hcd:usb2, ehci_hcd:usb3
 18: 0 260787 IO-APIC-fasteoi HDA Intel
 20: 0 297695 IO-APIC-fasteoi eth1
 21: 3 2304 IO-APIC-fasteoi acpi
NMI: 0 0
LOC: 0 3014807
ERR: 15
MIS: 0

[EMAIL PROTECTED] ~]$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.15 (Tue Oct 23 06:09:18 
2007 UTC).

[EMAIL PROTECTED] ~]$ uname -a
Linux localhost.localdomain 2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:55:12 EDT 
2007 i686 athlon i386 GNU/Linux

##

[4] cat /proc/interrupts
   CPU0   CPU1
  0:   51997092  0  local-APIC-edge-fasteoi   timer
  1:  50850  2   IO-APIC-edge  i8042
  8:  1  1   IO-APIC-edge  rtc
 12:792  2   IO-APIC-edge  i8042
 14:   9331  2   IO-APIC-edge  ide0
 16:  0  1   IO-APIC-fasteoi   yenta, sdhci:slot0
 17:3449488 190200   IO-APIC-fasteoi   eth0
 18: 492896  6   IO-APIC-fasteoi   sata_sil
 20: 457421  1   IO-APIC-fasteoi   ehci_hcd:usb1, ohci_hcd:usb2, 
ohci_hcd:usb3
 21: 181549  9   IO-APIC-fasteoi   acpi
220:  500351136607   PCI-MSI-edge  HDA Intel
NMI:  0  0   Non-maskable interrupts
LOC:  0   51994900   Local timer interrupts
RES:34352502342689   Rescheduling interrupts
CAL:   9842   2528   function call interrupts
TLB:  11148  18295   TLB shootdowns
TRM:  0  0   Thermal event interrupts
SPU:  0  0   Spurious interrupts
ERR:113
MIS:  0

##


Re: [BUG] Problem with recording on hda-intel (sata_sil or hda-intel bug) - HP nx6325

2008-02-05 Thread Grzegorz Chwesewicz
Attached dmesg.txt. 

PS. I'm loading hda-intel with model=hp position_fix=1 enable=1 options.

-- 
Greetings
Grzegorz Chwesewicz, Chilan 
mailto:[EMAIL PROTECTED]
Linux version 2.6.24 ([EMAIL PROTECTED]) (gcc version 4.1.2 (Gentoo 4.1.2)) #8 
SMP PREEMPT Tue Feb 5 13:08:16 CET 2008
BIOS-provided physical RAM map:
 BIOS-e820:  - 0009fc00 (usable)
 BIOS-e820: 0009fc00 - 000a (reserved)
 BIOS-e820: 000e - 0010 (reserved)
 BIOS-e820: 0010 - 77fd (usable)
 BIOS-e820: 77fd - 77fe5600 (reserved)
 BIOS-e820: 77fe5600 - 77ff8000 (ACPI NVS)
 BIOS-e820: 77ff8000 - 8000 (reserved)
 BIOS-e820: e000 - f000 (reserved)
 BIOS-e820: fec0 - fec02000 (reserved)
 BIOS-e820: ffbc - ffcc (reserved)
 BIOS-e820: fff0 - 0001 (reserved)
1023MB HIGHMEM available.
896MB LOWMEM available.
Entering add_active_range(0, 0, 491472) 0 entries of 256 used
Zone PFN ranges:
  DMA 0 - 4096
  Normal   4096 -   229376
  HighMem229376 -   491472
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0:0 -   491472
On node 0 totalpages: 491472
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
  Normal zone: 1760 pages used for memmap
  Normal zone: 223520 pages, LIFO batch:31
  HighMem zone: 2047 pages used for memmap
  HighMem zone: 260049 pages, LIFO batch:31
  Movable zone: 0 pages used for memmap
DMI 2.4 present.
ACPI: RSDP 000F7A90, 0024 (r2 HP)
ACPI: XSDT 77FE57B8, 005C (r1 HPQOEM SLIC-MPC1 HP  1)
ACPI: FACP 77FE5684, 00F4 (r4 HP 09443 HP  1)
ACPI: DSDT 77FE5A60, F6D3 (r1 HPSB4001 MSFT  10E)
ACPI: FACS 77FF7E80, 0040
ACPI: SLIC 77FE5814, 0176 (r1 HPQOEM SLIC-MPC1 HP  1)
ACPI: APIC 77FE598C, 0062 (r1 HP 09441 HP  1)
ACPI: MCFG 77FE59F0, 003C (r1 HP 09441 HP  1)
ACPI: TCPA 77FE5A2C, 0032 (r2 HP 09441 HP  1)
ACPI: SSDT 77FF5133, 0059 (r1 HP   HPQNLP1 MSFT  10E)
ACPI: SSDT 77FF518C, 01C4 (r1 HP PSSTBLID1 HP  1)
ACPI: DMI detected: Hewlett-Packard
ATI board detected. Disabling timer routing over 8254.
ACPI: PM-Timer IO Port: 0x8008
ACPI: Local APIC address 0xfee0
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 15:8 APIC version 16
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
Processor #1 15:8 APIC version 16
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec0] gsi_base[0])
IOAPIC[0]: apic_id 2, version 33, address 0xfec0, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 21 low level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 8800 (gap: 8000:6000)
swsusp: Registered nosave memory region: 0009f000 - 000a
swsusp: Registered nosave memory region: 000a - 000e
swsusp: Registered nosave memory region: 000e - 0010
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 487633
Kernel command line: root=/dev/sda5 ro reboot=warm resume=/dev/sda8 
video=vesafb:nomtrr:3,ywrap vga=0x341
mapped APIC to b000 (fee0)
mapped IOAPIC to a000 (fec0)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 16384 bytes)
Detected 1795.531 MHz processor.
Console: colour dummy device 80x25
console [tty0] enabled
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1944528k/1965888k available (2693k kernel code, 20264k reserved, 791k 
data, 208k init, 1048384k highmem)
virtual kernel memory layout:
fixmap  : 0xfff4d000 - 0xf000   ( 712 kB)
pkmap   : 0xff80 - 0xffc0   (4096 kB)
vmalloc : 0xf880 - 0xff7fe000   ( 111 MB)
lowmem  : 0xc000 - 0xf800   ( 896 MB)
  .init : 0xc046d000 - 0xc04a1000   ( 208 kB)
  .data : 0xc03a1536 - 0xc0467184   ( 791 kB)
  .text : 0xc010 - 0xc03a1536   (2693 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 3593.36 BogoMIPS (lpj=1796684)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 178bfbff ebd3fbff   2001 
 001f 
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU 0(2) - Core 0
CPU: After all inits,