* [ALSA - driver 0002004]: Via say unknown codec on FSC Amilo 1667G
From: bugtrack @ 2006-04-07 17:21 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2004>
======================================================================
Reported By: deathlove23
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 2004
Category: PCI - via82xx
Reproducibility: always
Severity: feature
Priority: normal
Status: new
Distribution: Gentoo
Kernel Version: 2.6.16
======================================================================
Date Submitted: 04-05-2006 18:40 CEST
Last Modified: 04-07-2006 19:21 CEST
======================================================================
Summary: Via say unknown codec on FSC Amilo 1667G
Description:
Hello,
I have a Notebook from FSC: Amilo 1667G
and is get thes messages in boot bzw. on dmesg:
---
ALSA device list:
#0: VIA 8237 with unknown codec at 0xc800, irq 50
---
my Alsa Kernel config is:
---
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_RAWMIDI=y
CONFIG_SND_RTCTIMER=y
CONFIG_SND_MPU401_UART=y
CONFIG_SND_AC97_CODEC=y
CONFIG_SND_AC97_BUS=y
CONFIG_SND_VIA82XX=y
---
and my lspci -vv is:
---
00:11.5 Multimedia audio controller: VIA Technologies, Inc.
VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
Subsystem: Fujitsu Siemens Computer GmbH Unknown device 1093
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin C routed to IRQ 50
Region 0: I/O ports at c800 [size=256]
Capabilities: [c0] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
---
can you my soundcard to the ID lists eg. another Amilio's?
Thanks
Alex - Deathlove23
======================================================================
----------------------------------------------------------------------
tiwai - 04-07-06 19:21
----------------------------------------------------------------------
Please upload the contents of /proc/asound/card0/codec97#0/* files.
Issue History
Date Modified Username Field Change
======================================================================
04-05-06 18:40 deathlove23 New Issue
04-05-06 18:40 deathlove23 Distribution => Gentoo
04-05-06 18:40 deathlove23 Kernel Version => 2.6.16
04-07-06 19:21 tiwai Note Added: 0009145
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
^ permalink raw reply
* [ALSA - driver 0002003]: i can not ear anything and all setting of the ALSAMIXER are not working
From: bugtrack @ 2006-04-07 17:22 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2003>
======================================================================
Reported By: pierre hubert
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 2003
Category: PCI - ice1724
Reproducibility: always
Severity: major
Priority: normal
Status: new
Distribution: mandriva 10,2
Kernel Version: 2,6,11-6mdk
======================================================================
Date Submitted: 04-05-2006 13:47 CEST
Last Modified: 04-07-2006 19:22 CEST
======================================================================
Summary: i can not ear anything and all setting of the
ALSAMIXER are not working
Description:
I have recently bought a sound card MAUDIO-Revolution 5.1
the driver SND-ICE-1724 has installed itself without any problem
But when i use it i can not ear anything and all settings of the Alsamixer
are not working.
======================================================================
----------------------------------------------------------------------
tiwai - 04-07-06 19:22
----------------------------------------------------------------------
Too old version. Update to the latest one, 1.0.11rc4.
Issue History
Date Modified Username Field Change
======================================================================
04-05-06 13:47 pierre hubert New Issue
04-05-06 13:47 pierre hubert Distribution => mandriva 10,2
04-05-06 13:47 pierre hubert Kernel Version => 2,6,11-6mdk
04-07-06 19:22 tiwai Note Added: 0009146
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
^ permalink raw reply
* Re: Detecting deadlocks with hypervisor..
From: Keir Fraser @ 2006-04-07 17:22 UTC (permalink / raw)
To: T S; +Cc: rthelen, Xen-devel, ewan, edwin.zhai
In-Reply-To: <BAY108-F4E6955F5CB48CF58AB23CF6C90@phx.gbl>
On 7 Apr 2006, at 18:11, T S wrote:
> We took a look at the xc_linux_save() function ... and what we see is
> that
> the canonicalize action is actually done by the Dom-0 (and not by the
> Dom-U);
> Dom-0 is able to do this because it is able to access the page tables
> of Dom-U
> as well as the pfn2mfn list of the Dom-U. Based on this, we think the
> Dom-0 can
> actually save the 'context' of the deadlocked Dom-U. Please correct me
> if this
> claim is wrong.
>
> Also, given that Dom-0 can access the page tables and other structures
> of the deadlocked guest,
> can one of you be able to tell me what changes I need to do to
> xm_linux_save( ) (and other related functions) to save the state of
> the deadlocked guest without doing any handshake with the guest OS ?
You can get at the consistent state of a guest by pausing it and then
reading its state. However, the reason for the handshake is to ensure
that the guest is not currently accessing pagetables or doing other
critical operations. If it were then we could not safely translate its
memory page addresses as it could have those addresses in places like
its kernel stacks or register contexts, where they would not get
translated and would cause a crash on restore.
-- Keir
^ permalink raw reply
* RE: [RFC] Hypercalls from HVM guests
From: Petersson, Mats @ 2006-04-07 17:24 UTC (permalink / raw)
To: Steve Ofsthun; +Cc: xen-devel
> -----Original Message-----
> From: Steve Ofsthun [mailto:sofsthun@virtualiron.com]
> Sent: 07 April 2006 18:06
> To: Petersson, Mats
> Cc: xen-devel@lists.xensource.com
> Subject: Re: [Xen-devel] [RFC] Hypercalls from HVM guests
>
> Petersson, Mats wrote:
>
> > Interesting subject - I must have missed the September patchset...
> > I've been thinking a lot about para-virtualized drivers for
> HVM guests
> > (because it would improve performance on some functions by a great
> > deal to avoid intercepting half a dozen IO operations to actually
> > perform a single transaction - like one READ of the virtual
> hard-disk).
>
> This is exactly our interest as well.
>
> > I'd like to make sure that you're aware that the AMD
> architecture also
> > has a VMMCALL instruction, which is opcode (0F 01 D9). It would be
> > great if you could implement some sort of auto-detect/switching so
> > that your code works for AMD too. Of course, we could intercept
> > invalid opcode and interpret the instruction, but that's far from a
> > practical solution, I would think.
>
> Thanks for pointing that out. I didn't realize the opcode
> was different.
> I should be able to easily alter the hypercall page
> initialization to use the proper AMD opcode.
I think it's got something to do with the two companies not talking
about new opcodes with each other - probably in turn to do with not
revealing what they are doing WITH those new opcodes. At least we have
so far avoided having THE SAME opcode for different instructions ;-)
>
> What is the preferred method to distinguish SVM vs. VMX from
> within guest code running in an HVM guest?
Good question - the way I'd say is to look at CPUID to see if it's
"GeunineIntel" or "AuthenticAMD", but I'm not sure if that's the BEST.
Of course, this assumes the code is already aware that it's in a HVM
environment, which I'm not sure if you know that or not at the point you
need to know if it's AMD or Intel... Of course, if CPUID is intercepted,
it may return other things (but it's against the "rules" to lie about
the brand of the CPU!)
--
Mats
>
> Steve
> --
> Steve Ofsthun - Virtual Iron Software, Inc.
>
>
^ permalink raw reply
* [ALSA - driver 0002002]: No SPDIF/OUT device on ICH2
From: bugtrack @ 2006-04-07 17:24 UTC (permalink / raw)
To: alsa-devel
The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2002>
======================================================================
Reported By: Raymond
Assigned To: tiwai
======================================================================
Project: ALSA - driver
Issue ID: 2002
Category: PCI - intel8x0
Reproducibility: always
Severity: block
Priority: normal
Status: resolved
Distribution: Fedore Core 1
Kernel Version: 2.4.22-1.2199.nptl
Resolution: not an issue
Fixed in Version:
======================================================================
Date Submitted: 04-05-2006 04:00 CEST
Last Modified: 04-07-2006 19:24 CEST
======================================================================
Summary: No SPDIF/OUT device on ICH2
Description:
Do intel8x0 support SPDIF/OUT for ICH2 ?
00:1f.5 Multimedia audio controller: Intel Corp. 82801BA/BAM AC'97 Audio
(rev 12)
Subsystem: Asustek Computer, Inc.: Unknown device 8072
Flags: bus master, medium devsel, latency 0, IRQ 10
I/O ports at a800 [size=256]
I/O ports at a400 [size=64]
cat /proc/asound/pcm
01-01: Intel ICH - MIC ADC : Intel 82801BA-ICH2 - MIC ADC : capture 1
01-00: Intel ICH : Intel 82801BA-ICH2 : playback 1 : capture 1
cat /proc/asound/I82801BAICH2/codec97#0/ac97#0-0
0-0/0: Realtek ALC200,200P rev 0
PCI Subsys Vendor: 0x1043
PCI Subsys Device: 0x8072
Capabilities : -headphone out-
DAC resolution : 18-bit
ADC resolution : 18-bit
3D enhancement : Realtek 3D Stereo Enhancement
Current setup
Mic gain : +0dB [+0dB]
POP path : pre 3D
Sim. stereo : off
3D enhancement : off
Loudness : off
Mono output : MIX
Mic select : Mic1
ADC/DAC loopback : off
Extended ID : codec=0 rev=1 AMAP DSA=0 SPDIF VRA
Extended status : SPCV SPDIF=7/8 VRA
PCM front DAC : 48000Hz
PCM ADC : 48000Hz
SPDIF Control : Consumer PCM Category=0x2 Generation=1 Rate=48kHz
amixer -c 1 controls
numid=32,iface=MIXER,name='IEC958 Playback Con Mask'
numid=33,iface=MIXER,name='IEC958 Playback Pro Mask'
numid=36,iface=MIXER,name='IEC958 Playback AC97-SPSA'
numid=34,iface=MIXER,name='IEC958 Playback Default'
numid=35,iface=MIXER,name='IEC958 Playback Switch'
======================================================================
----------------------------------------------------------------------
tiwai - 04-07-06 19:24
----------------------------------------------------------------------
There is no dedicated PCM for SPDIF on ICH2.
Set up 'IEC958 AC97-SPSA' to 0 and turn on 'IEC958 Playback Switch'.
Issue History
Date Modified Username Field Change
======================================================================
04-05-06 04:00 Raymond New Issue
04-05-06 04:00 Raymond Distribution => Fedore Core 1
04-05-06 04:00 Raymond Kernel Version => 2.4.22-1.2199.nptl
04-07-06 19:24 tiwai Status new => resolved
04-07-06 19:24 tiwai Resolution open => not an issue
04-07-06 19:24 tiwai Assigned To => tiwai
04-07-06 19:24 tiwai Note Added: 0009147
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
^ permalink raw reply
* 2.6.17-rc1: bcm43xx problems with BCM4306 on x86_64
From: Rafael J. Wysocki @ 2006-04-07 16:59 UTC (permalink / raw)
To: LKML; +Cc: bcm43xx-dev
Hi,
I've just tried the version of the driver included in 2.6.17-rc1 on an x86_64
box (Asus L5D) with a built-in PCI BCM4306 adapter (Broadcom Corporation
BCM4306 802.11b/g Wireless LAN Controller (rev 03)), and unfortunately
it doesn't seem to work.
The driver loads and seems to initialize the adapter, but that's all,
apparently.
First, I compiled the driver with DMA and PIO support, but it hanged my box
solid when I tried "iwconfig eth1 essid on" on it. On the next boot I noticed
it caused the following messages to appear in dmesg:
nommu_map_single: overflow 58ee7010+2404 of device mask 3fffffff
nommu_map_single: overflow 53669010+2404 of device mask 3fffffff
nommu_map_single: overflow 50180010+2404 of device mask 3fffffff
and so on, down to 455aa010. Then I thought the adapter might be unable
to DMA for some reason and compiled it with PIO support only. It did not
hang the box any more, but I couldn't make it work.
It causes the following messages to appear in dmesg:
bcm43xx: set security called
bcm43xx: .level = 0
bcm43xx: .enabled = 0
bcm43xx: .encrypt = 0
bcm43xx: PHY connected
bcm43xx: Radio turned on
bcm43xx: Chip initialized
bcm43xx: PIO initialized
bcm43xx: 80211 cores initialized
bcm43xx: Keys cleared
ADDRCONF(NETDEV_UP): eth1: link is not ready
bcm43xx: FATAL ERROR: BCM43xx_IRQ_XMIT_ERROR
bcm43xx: FATAL ERROR: BCM43xx_IRQ_XMIT_ERROR
bcm43xx: FATAL ERROR: BCM43xx_IRQ_XMIT_ERROR
bcm43xx: ASSERTION FAILED (0) at: drivers/net/wireless/bcm43xx/bcm43xx_pio.c:167:parse_cookie()
bcm43xx: ASSERTION FAILED (packetindex >= 0 && packetindex < BCM43xx_PIO_MAXTXPACKETS) at: drivers/net/wireless/bcm43xx/bcm43xx_
pio.c:170:parse_cookie()
bcm43xx: ASSERTION FAILED (queue) at: drivers/net/wireless/bcm43xx/bcm43xx_pio.c:482:bcm43xx_pio_handle_xmitstatus()
bcm43xx: FATAL ERROR: BCM43xx_IRQ_XMIT_ERROR
bcm43xx: FATAL ERROR: BCM43xx_IRQ_XMIT_ERROR
bcm43xx: FATAL ERROR: BCM43xx_IRQ_XMIT_ERROR
bcm43xx: ASSERTION FAILED (0) at: drivers/net/wireless/bcm43xx/bcm43xx_pio.c:167:parse_cookie()
bcm43xx: ASSERTION FAILED (packetindex >= 0 && packetindex < BCM43xx_PIO_MAXTXPACKETS) at: drivers/net/wireless/bcm43xx/bcm43xx_
pio.c:170:parse_cookie()
bcm43xx: ASSERTION FAILED (queue) at: drivers/net/wireless/bcm43xx/bcm43xx_pio.c:482:bcm43xx_pio_handle_xmitstatus()
and so on.
I used fwcutter 004 to extract the firmvare from the Windows file delivered
with the machine (BCMWL5.SYS).
If you need/want any more information from me, please let me know.
Greetings,
Rafael
^ permalink raw reply
* [ALSA - driver 0001873]: emu10k1 AC97 loopback on left channel only.
From: bugtrack @ 2006-04-07 17:25 UTC (permalink / raw)
To: alsa-devel
The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1873>
======================================================================
Reported By: kenm
Assigned To: tiwai
======================================================================
Project: ALSA - driver
Issue ID: 1873
Category: PCI - emu10k1
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
Distribution: Slackware current
Kernel Version: 2.6.15.3
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 02-24-2006 00:28 CET
Last Modified: 04-07-2006 19:25 CEST
======================================================================
Summary: emu10k1 AC97 loopback on left channel only.
Description:
Creative Labs CT4832 SBLive Value
With alsa-driver versions 1.0.9b and previously, it was possible to set
both "AC97" and "AC97 Capture" to full volume in alsamixer, to set up
digital loopback to monitor in real time the sound recorded through "line
in" via "line out". With version 1.0.10, the monitored sound appears on
the left channel only. The right channel is completely muted.
======================================================================
----------------------------------------------------------------------
kenm - 04-04-06 12:07
----------------------------------------------------------------------
After some investigation, I now think this is an issue with AlsaMixer
v1.0.10, NOT with the emu10k1 driver. It appears that alsamixer is only
setting the capture source for the left-hand channel. The mixer settings
stored with alsactl include:
control.64 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 2
comment.item.0 Mic
comment.item.1 CD
comment.item.2 Video
comment.item.3 Aux
comment.item.4 Line
comment.item.5 Mix
comment.item.6 'Mix Mono'
comment.item.7 Phone
iface MIXER
name 'Capture Source'
value.0 Line
value.1 Mic
}
Alsamixer only appears to be modifying the "value.0" entry. Editing the
file manually to set "value.1 Line" and then re-loading the configuration
corrects the problem, giving expected output on both channels.
----------------------------------------------------------------------
tiwai - 04-07-06 19:25
----------------------------------------------------------------------
This bug is already fixed in the recent version.
Issue History
Date Modified Username Field Change
======================================================================
02-24-06 00:28 kenm New Issue
02-24-06 00:28 kenm Distribution => Slackware current
02-24-06 00:28 kenm Kernel Version => 2.6.15.3
04-04-06 12:07 kenm Note Added: 0009113
04-07-06 19:25 tiwai Status new => resolved
04-07-06 19:25 tiwai Resolution open => fixed
04-07-06 19:25 tiwai Assigned To => tiwai
04-07-06 19:25 tiwai Note Added: 0009148
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
^ permalink raw reply
* Linux kernel 2.6.16.2 released
From: Linux Kernel Distribution System @ 2006-04-07 17:26 UTC (permalink / raw)
To: linux-kernel-announce
Linux kernel version 2.6.16.2 has been released. It is available from:
Patch: ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-2.6.16.2.bz2
Full source: ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.16.2.tar.bz2
Sizes in bytes Compressed Uncompressed
------------------------------------------------------------
Patch 11503 35372
Full source 40842858 233953280
-----------------------------------------------------------------------------
This is an automatically generated message. To unsubscribe from this list,
please send a message to majordomo@vger.kernel.org containing
the line:
unsubscribe linux-kernel-announce <your_email_address>
... where <your_email_address> is the email address you are receiving
this message at.
-----------------------------------------------------------------------------
The following files were changed in this release:
Makefile | 2 -
arch/i386/kernel/cpu/cpufreq/Kconfig | 1
arch/i386/kernel/cpu/cpufreq/p4-clockmod.c | 2 -
arch/i386/kernel/cpu/cpufreq/speedstep-smi.c | 4 +-
arch/i386/kernel/dmi_scan.c | 2 -
arch/powerpc/kernel/pci_64.c | 1
drivers/base/cpu.c | 2 -
drivers/base/firmware_class.c | 6 ++-
drivers/base/node.c | 2 -
drivers/block/cciss.c | 2 -
drivers/char/Kconfig | 1
drivers/char/tlclk.c | 1
drivers/ieee1394/sbp2.c | 32 ++++++++----------
drivers/md/dm.c | 45 ++++++++++++++------------
drivers/media/video/Kconfig | 1
drivers/media/video/tuner-types.c | 4 +-
drivers/net/irda/irda-usb.c | 5 +-
drivers/net/wireless/Kconfig | 5 ++
drivers/net/wireless/hostap/hostap_80211_tx.c | 2 -
drivers/net/wireless/ipw2200.c | 5 +-
drivers/pcmcia/ds.c | 2 -
drivers/scsi/sata_mv.c | 7 ++--
drivers/usb/core/message.c | 12 ++++--
drivers/usb/host/ehci-sched.c | 11 +++---
drivers/video/cfbimgblt.c | 2 -
drivers/video/i810/i810_main.c | 2 -
fs/9p/vfs_inode.c | 3 -
fs/nfsd/nfs3proc.c | 2 -
fs/nfsd/nfs4proc.c | 2 -
fs/nfsd/nfsproc.c | 2 -
fs/proc/proc_misc.c | 2 -
fs/proc/vmcore.c | 4 +-
fs/sysfs/dir.c | 1
fs/sysfs/file.c | 2 -
fs/sysfs/inode.c | 6 ++-
fs/sysfs/symlink.c | 1
fs/xfs/linux-2.6/xfs_aops.c | 2 -
include/asm-powerpc/floppy.h | 5 +-
include/linux/cpu.h | 2 -
include/linux/fb.h | 2 -
include/linux/proc_fs.h | 2 -
include/linux/raid/raid1.h | 2 -
include/linux/rtc.h | 4 +-
kernel/exec_domain.c | 1
kernel/fork.c | 2 -
kernel/sched.c | 9 ++++-
net/core/sock.c | 5 +-
net/ipv4/fib_trie.c | 12 +++---
net/ipv4/ip_output.c | 6 ---
net/ipv4/netfilter/ip_conntrack_netlink.c | 2 -
net/netfilter/nf_conntrack_netlink.c | 2 -
sound/isa/opti9xx/opti92x-ad1848.c | 6 +++
sound/pci/hda/patch_realtek.c | 2 +
53 files changed, 144 insertions(+), 108 deletions(-)
^ permalink raw reply
* [PATCH] Kconfig.debug: Set DEBUG_MUTEX to off by default
From: Tim Chen @ 2006-04-07 16:56 UTC (permalink / raw)
To: linux-kernel
Hi,
DEBUG_MUTEX flag is on by default in current kernel configuration.
During performance testing, we saw mutex debug functions like
mutex_debug_check_no_locks_freed (called by kfree()) is expensive as it
goes through a global list of memory areas with mutex lock and do the
checking. For benchmarks such as Volanomark and Hackbench, we have seen
more than 40% drop in performance on some platforms. We suggest to set
DEBUG_MUTEX off by default. Or at least do that later when we feel that
the mutex changes in the current code have stabilized.
Tim Chen
Signed-off-by: Tim Chen <tim.c.chen@intel.com>
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -101,7 +101,7 @@ config DEBUG_PREEMPT
config DEBUG_MUTEXES
bool "Mutex debugging, deadlock detection"
- default y
+ default n
depends on DEBUG_KERNEL
help
This allows mutex semantics violations and mutex related deadlocks
^ permalink raw reply
* [ALSA - driver 0001997]: No sound when using second pcm device
From: bugtrack @ 2006-04-07 17:28 UTC (permalink / raw)
To: alsa-devel
The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1997>
======================================================================
Reported By: prymitive
Assigned To: tiwai
======================================================================
Project: ALSA - driver
Issue ID: 1997
Category: PCI - atiixp
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
Distribution:
Kernel Version: 2.6.16-gentoo-r1
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 04-03-2006 11:59 CEST
Last Modified: 04-07-2006 19:28 CEST
======================================================================
Summary: No sound when using second pcm device
Description:
Hi there
I own an Acer 5024 notebook (AMD Turion / ATI chip based):
cer sub0 # lspci -v
00:00.0 Host bridge: ATI Technologies Inc RS480 Host Bridge (rev 01)
Subsystem: Acer Incorporated [ALI] Unknown device 0080
Flags: bus master, 66MHz, medium devsel, latency 64
00:02.0 PCI bridge: ATI Technologies Inc RS480 PCI-X Root Port (prog-if 00
[Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00009000-00009fff
Memory behind bridge: c0100000-c01fffff
Prefetchable memory behind bridge: c8000000-cfffffff
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Port (Slot-) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0
Enable-
Capabilities: [b0] #0d [0000]
Capabilities: [b8] HyperTransport: MSI Mapping
Capabilities: [100] Advanced Error Reporting
00:06.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge (prog-if 00
[Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=09, subordinate=09, sec-latency=0
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Port (Slot-) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0
Enable-
Capabilities: [b0] #0d [0000]
Capabilities: [b8] HyperTransport: MSI Mapping
Capabilities: [100] Advanced Error Reporting
00:07.0 PCI bridge: ATI Technologies Inc Unknown device 5a39 (prog-if 00
[Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=05, sec-latency=0
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Port (Slot-) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0
Enable-
Capabilities: [b0] #0d [0000]
Capabilities: [b8] HyperTransport: MSI Mapping
Capabilities: [100] Advanced Error Reporting
00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller
(prog-if 10 [OHCI])
Subsystem: Acer Incorporated [ALI] Unknown device 0080
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
Memory at c0000000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [d0] Message Signalled Interrupts: 64bit- Queue=0/0
Enable-
00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller
(prog-if 10 [OHCI])
Subsystem: Acer Incorporated [ALI] Unknown device 0080
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
Memory at c0001000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [d0] Message Signalled Interrupts: 64bit- Queue=0/0
Enable-
00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host
Controller (prog-if 20 [EHCI])
Subsystem: Acer Incorporated [ALI] Unknown device 0080
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
Memory at c0002000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [dc] Power Management version 2
Capabilities: [d0] Message Signalled Interrupts: 64bit- Queue=0/0
Enable-
00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 11)
Subsystem: Acer Incorporated [ALI] Unknown device 0080
Flags: 66MHz, medium devsel
I/O ports at 8400 [size=16]
Memory at c0003000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [b0] HyperTransport: MSI Mapping
00:14.1 IDE interface: ATI Technologies Inc Standard Dual Channel PCI IDE
Controller ATI (prog-if 8a [Master SecP PriP])
Subsystem: Acer Incorporated [ALI] Unknown device 0080
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 10
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at 8410 [size=16]
Capabilities: [70] Message Signalled Interrupts: 64bit- Queue=0/0
Enable-
00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge
Subsystem: Acer Incorporated [ALI] Unknown device 0080
Flags: bus master, 66MHz, medium devsel, latency 0
00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge (prog-if
01 [Subtractive decode])
Flags: bus master, 66MHz, medium devsel, latency 64
Bus: primary=00, secondary=06, subordinate=06, sec-latency=64
I/O behind bridge: 0000a000-0000afff
Memory behind bridge: c0200000-c02fffff
Prefetchable memory behind bridge: 30000000-32ffffff
00:14.5 Multimedia audio controller: ATI Technologies Inc IXP SB400 AC'97
Audio Controller (rev 02)
Subsystem: Acer Incorporated [ALI] Unknown device 0079
Flags: bus master, 66MHz, slow devsel, latency 64, IRQ 11
Memory at c0003400 (32-bit, non-prefetchable) [size=256]
Capabilities: [40] Message Signalled Interrupts: 64bit- Queue=0/0
Enable-
00:14.6 Modem: ATI Technologies Inc ATI SB400 - AC'97 Modem Controller
(rev 02) (prog-if 00 [Generic])
Subsystem: Acer Incorporated [ALI] Unknown device 0080
Flags: bus master, 66MHz, slow devsel, latency 64, IRQ 11
Memory at c0003800 (32-bit, non-prefetchable) [size=256]
Capabilities: [40] Message Signalled Interrupts: 64bit- Queue=0/0
Enable-
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
HyperTransport Technology Configuration
Flags: fast devsel
Capabilities: [80] HyperTransport: Host or Secondary Interface
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Address Map
Flags: fast devsel
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
DRAM Controller
Flags: fast devsel
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Miscellaneous Control
Flags: fast devsel
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility
X700 (PCIE) (prog-if 00 [VGA])
Subsystem: Acer Incorporated [ALI] Unknown device 0080
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at c8000000 (32-bit, prefetchable) [size=128M]
I/O ports at 9000 [size=256]
Memory at c0100000 (32-bit, non-prefetchable) [size=64K]
[virtual] Expansion ROM at c0120000 [disabled] [size=128K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Express Endpoint IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit+ Queue=0/0
Enable-
Capabilities: [100] Advanced Error Reporting
06:05.0 Network controller: Broadcom Corporation BCM4318 [AirForce One
54g] 802.11g Wireless LAN Controller (rev 02)
Subsystem: AMBIT Microsystem Corp. Aspire 3022WLMi
Flags: bus master, fast devsel, latency 64, IRQ 10
Memory at c0204000 (32-bit, non-prefetchable) [size=8K]
06:06.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
Subsystem: Acer Incorporated [ALI] Unknown device 0080
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at c020a000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=06, secondary=07, subordinate=08, sec-latency=176
Memory window 0: 30000000-31fff000 (prefetchable)
Memory window 1: 34000000-35fff000 (prefetchable)
I/O window 0: 0000a400-0000a4ff
I/O window 1: 0000a800-0000a8ff
16-bit legacy interface ports at 0001
06:06.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394
Host Controller (prog-if 10 [OHCI])
Subsystem: Acer Incorporated [ALI] Unknown device 0080
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at c0208000 (32-bit, non-prefetchable) [size=2K]
Memory at c0200000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2
06:06.3 Mass storage controller: Texas Instruments PCIxx21 Integrated
FlashMedia Controller
Subsystem: Acer Incorporated [ALI] Unknown device 0080
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at c0206000 (32-bit, non-prefetchable) [size=8K]
Capabilities: [44] Power Management version 2
06:06.4 Class 0805: Texas Instruments PCI6411, PCI6421, PCI6611, PCI6621,
PCI7411, PCI7421, PCI7611, PCI7621 Secure Digital (SD) Controller
Subsystem: Acer Incorporated [ALI] Unknown device 0080
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at c0209000 (32-bit, non-prefetchable) [size=256]
Memory at c0208c00 (32-bit, non-prefetchable) [size=256]
Memory at c0208800 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2
06:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169
Gigabit Ethernet (rev 10)
Subsystem: Acer Incorporated [ALI] Unknown device 0079
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
I/O ports at a000 [size=256]
Memory at c0209400 (32-bit, non-prefetchable) [size=256]
[virtual] Expansion ROM at 32000000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 2
I'm running x86 Gentoo system and while using /dev/dsp under oss and
hw=0,0 under alsa everything is ok. But when I try to use second pcm
(/dev/dsp1 under oss emulation or hw=0,1 under alsa) I got no sound.
Running mplayer -ao oss:device=/dev/dsp1 gives me error "No souch device",
running
Running mplayer -ao alsa:device=hw=0.1 gives me:
[...]
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
alsa-init: 1 soundcard found, using: hw:0,1
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little
Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
[...]
device is opened but it freezes after that, no sound
I tried whith snd_atiixp ac97_clock=44100 but after inserting module with
this parameter mplayer opens hw=0.0 device with 44100 rate but hw=0.1
device is opened with 48000 rate
Is the second device any good for playing stuff? Maybe I shoud pass some
other parameters to the snd_atiixp module?
prymitive@acer ~/stuff/music $ lsmod
Module Size Used by
snd_atiixp 19212 3
fglrx 455084 7
snd_atiixp_modem 15944 0
snd_ac97_codec 90464 2 snd_atiixp,snd_atiixp_modem
snd_ac97_bus 2176 1 snd_ac97_codec
nsc_ircc 17980 0
irda 119352 1 nsc_ircc
crc_ccitt 2048 1 irda
======================================================================
----------------------------------------------------------------------
Raymond - 04-04-06 04:54
----------------------------------------------------------------------
It may be possible for you to play two stereo streams to front and rear
jacks of your notebook using route plugin to re-route the dmix51 { upmix,
dmix ) to front and rear jacks
http://article.gmane.org/gmane.linux.alsa.user/23176
----------------------------------------------------------------------
tiwai - 04-07-06 19:28
----------------------------------------------------------------------
hw:0,1 won't work unless you set up the IEC958 things correctly.
This is automatically done if you use "spdif" or "iec958" PCM on ALSA, but
not for OSS. If you need to use OSS, try aoss instead.
Issue History
Date Modified Username Field Change
======================================================================
04-03-06 11:59 prymitive New Issue
04-03-06 11:59 prymitive Kernel Version => 2.6.16-gentoo-r1
04-03-06 12:21 prymitive Note Added: 0009094
04-03-06 14:13 Raymond Note Added: 0009095
04-03-06 14:14 Raymond Note Edited: 0009095
04-03-06 14:16 Raymond Note Edited: 0009095
04-03-06 14:40 prymitive Note Added: 0009097
04-04-06 03:03 jwoithe Note Added: 0009108
04-04-06 03:04 jwoithe Note Deleted: 0009108
04-04-06 04:54 Raymond Note Added: 0009109
04-07-06 19:28 tiwai Status assigned => resolved
04-07-06 19:28 tiwai Resolution open => fixed
04-07-06 19:28 tiwai Note Added: 0009149
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
^ permalink raw reply
* [ALSA - driver 0001997]: No sound when using second pcm device
From: bugtrack @ 2006-04-07 17:28 UTC (permalink / raw)
To: alsa-devel
The following issue has been UPDATED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1997>
======================================================================
Reported By: prymitive
Assigned To: tiwai
======================================================================
Project: ALSA - driver
Issue ID: 1997
Category: PCI - atiixp
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
Distribution:
Kernel Version: 2.6.16-gentoo-r1
Resolution: not an issue
Fixed in Version:
======================================================================
Date Submitted: 04-03-2006 11:59 CEST
Last Modified: 04-07-2006 19:28 CEST
======================================================================
Summary: No sound when using second pcm device
Description:
Hi there
I own an Acer 5024 notebook (AMD Turion / ATI chip based):
cer sub0 # lspci -v
00:00.0 Host bridge: ATI Technologies Inc RS480 Host Bridge (rev 01)
Subsystem: Acer Incorporated [ALI] Unknown device 0080
Flags: bus master, 66MHz, medium devsel, latency 64
00:02.0 PCI bridge: ATI Technologies Inc RS480 PCI-X Root Port (prog-if 00
[Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00009000-00009fff
Memory behind bridge: c0100000-c01fffff
Prefetchable memory behind bridge: c8000000-cfffffff
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Port (Slot-) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0
Enable-
Capabilities: [b0] #0d [0000]
Capabilities: [b8] HyperTransport: MSI Mapping
Capabilities: [100] Advanced Error Reporting
00:06.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge (prog-if 00
[Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=09, subordinate=09, sec-latency=0
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Port (Slot-) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0
Enable-
Capabilities: [b0] #0d [0000]
Capabilities: [b8] HyperTransport: MSI Mapping
Capabilities: [100] Advanced Error Reporting
00:07.0 PCI bridge: ATI Technologies Inc Unknown device 5a39 (prog-if 00
[Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=05, sec-latency=0
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Port (Slot-) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0
Enable-
Capabilities: [b0] #0d [0000]
Capabilities: [b8] HyperTransport: MSI Mapping
Capabilities: [100] Advanced Error Reporting
00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller
(prog-if 10 [OHCI])
Subsystem: Acer Incorporated [ALI] Unknown device 0080
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
Memory at c0000000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [d0] Message Signalled Interrupts: 64bit- Queue=0/0
Enable-
00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller
(prog-if 10 [OHCI])
Subsystem: Acer Incorporated [ALI] Unknown device 0080
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
Memory at c0001000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [d0] Message Signalled Interrupts: 64bit- Queue=0/0
Enable-
00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host
Controller (prog-if 20 [EHCI])
Subsystem: Acer Incorporated [ALI] Unknown device 0080
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
Memory at c0002000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [dc] Power Management version 2
Capabilities: [d0] Message Signalled Interrupts: 64bit- Queue=0/0
Enable-
00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 11)
Subsystem: Acer Incorporated [ALI] Unknown device 0080
Flags: 66MHz, medium devsel
I/O ports at 8400 [size=16]
Memory at c0003000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [b0] HyperTransport: MSI Mapping
00:14.1 IDE interface: ATI Technologies Inc Standard Dual Channel PCI IDE
Controller ATI (prog-if 8a [Master SecP PriP])
Subsystem: Acer Incorporated [ALI] Unknown device 0080
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 10
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at 8410 [size=16]
Capabilities: [70] Message Signalled Interrupts: 64bit- Queue=0/0
Enable-
00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge
Subsystem: Acer Incorporated [ALI] Unknown device 0080
Flags: bus master, 66MHz, medium devsel, latency 0
00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge (prog-if
01 [Subtractive decode])
Flags: bus master, 66MHz, medium devsel, latency 64
Bus: primary=00, secondary=06, subordinate=06, sec-latency=64
I/O behind bridge: 0000a000-0000afff
Memory behind bridge: c0200000-c02fffff
Prefetchable memory behind bridge: 30000000-32ffffff
00:14.5 Multimedia audio controller: ATI Technologies Inc IXP SB400 AC'97
Audio Controller (rev 02)
Subsystem: Acer Incorporated [ALI] Unknown device 0079
Flags: bus master, 66MHz, slow devsel, latency 64, IRQ 11
Memory at c0003400 (32-bit, non-prefetchable) [size=256]
Capabilities: [40] Message Signalled Interrupts: 64bit- Queue=0/0
Enable-
00:14.6 Modem: ATI Technologies Inc ATI SB400 - AC'97 Modem Controller
(rev 02) (prog-if 00 [Generic])
Subsystem: Acer Incorporated [ALI] Unknown device 0080
Flags: bus master, 66MHz, slow devsel, latency 64, IRQ 11
Memory at c0003800 (32-bit, non-prefetchable) [size=256]
Capabilities: [40] Message Signalled Interrupts: 64bit- Queue=0/0
Enable-
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
HyperTransport Technology Configuration
Flags: fast devsel
Capabilities: [80] HyperTransport: Host or Secondary Interface
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Address Map
Flags: fast devsel
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
DRAM Controller
Flags: fast devsel
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Miscellaneous Control
Flags: fast devsel
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility
X700 (PCIE) (prog-if 00 [VGA])
Subsystem: Acer Incorporated [ALI] Unknown device 0080
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at c8000000 (32-bit, prefetchable) [size=128M]
I/O ports at 9000 [size=256]
Memory at c0100000 (32-bit, non-prefetchable) [size=64K]
[virtual] Expansion ROM at c0120000 [disabled] [size=128K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Express Endpoint IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit+ Queue=0/0
Enable-
Capabilities: [100] Advanced Error Reporting
06:05.0 Network controller: Broadcom Corporation BCM4318 [AirForce One
54g] 802.11g Wireless LAN Controller (rev 02)
Subsystem: AMBIT Microsystem Corp. Aspire 3022WLMi
Flags: bus master, fast devsel, latency 64, IRQ 10
Memory at c0204000 (32-bit, non-prefetchable) [size=8K]
06:06.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
Subsystem: Acer Incorporated [ALI] Unknown device 0080
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at c020a000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=06, secondary=07, subordinate=08, sec-latency=176
Memory window 0: 30000000-31fff000 (prefetchable)
Memory window 1: 34000000-35fff000 (prefetchable)
I/O window 0: 0000a400-0000a4ff
I/O window 1: 0000a800-0000a8ff
16-bit legacy interface ports at 0001
06:06.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394
Host Controller (prog-if 10 [OHCI])
Subsystem: Acer Incorporated [ALI] Unknown device 0080
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at c0208000 (32-bit, non-prefetchable) [size=2K]
Memory at c0200000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2
06:06.3 Mass storage controller: Texas Instruments PCIxx21 Integrated
FlashMedia Controller
Subsystem: Acer Incorporated [ALI] Unknown device 0080
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at c0206000 (32-bit, non-prefetchable) [size=8K]
Capabilities: [44] Power Management version 2
06:06.4 Class 0805: Texas Instruments PCI6411, PCI6421, PCI6611, PCI6621,
PCI7411, PCI7421, PCI7611, PCI7621 Secure Digital (SD) Controller
Subsystem: Acer Incorporated [ALI] Unknown device 0080
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at c0209000 (32-bit, non-prefetchable) [size=256]
Memory at c0208c00 (32-bit, non-prefetchable) [size=256]
Memory at c0208800 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2
06:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169
Gigabit Ethernet (rev 10)
Subsystem: Acer Incorporated [ALI] Unknown device 0079
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
I/O ports at a000 [size=256]
Memory at c0209400 (32-bit, non-prefetchable) [size=256]
[virtual] Expansion ROM at 32000000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 2
I'm running x86 Gentoo system and while using /dev/dsp under oss and
hw=0,0 under alsa everything is ok. But when I try to use second pcm
(/dev/dsp1 under oss emulation or hw=0,1 under alsa) I got no sound.
Running mplayer -ao oss:device=/dev/dsp1 gives me error "No souch device",
running
Running mplayer -ao alsa:device=hw=0.1 gives me:
[...]
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
alsa-init: 1 soundcard found, using: hw:0,1
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little
Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
[...]
device is opened but it freezes after that, no sound
I tried whith snd_atiixp ac97_clock=44100 but after inserting module with
this parameter mplayer opens hw=0.0 device with 44100 rate but hw=0.1
device is opened with 48000 rate
Is the second device any good for playing stuff? Maybe I shoud pass some
other parameters to the snd_atiixp module?
prymitive@acer ~/stuff/music $ lsmod
Module Size Used by
snd_atiixp 19212 3
fglrx 455084 7
snd_atiixp_modem 15944 0
snd_ac97_codec 90464 2 snd_atiixp,snd_atiixp_modem
snd_ac97_bus 2176 1 snd_ac97_codec
nsc_ircc 17980 0
irda 119352 1 nsc_ircc
crc_ccitt 2048 1 irda
======================================================================
----------------------------------------------------------------------
prymitive - 04-03-06 12:21
----------------------------------------------------------------------
when I start:
alsaplayer --verbose -o oss -d /dev/dsp1 soundfile
alsaplayer starts to play but there is no sound, and no device is open
according to /proc/asound files.
----------------------------------------------------------------------
Raymond - 04-03-06 14:16
----------------------------------------------------------------------
There is no ATIIXP.pcm.rear in /usr/share/alsa/cards/ATIIXP.conf,
hw:0,0 is 2/4 or 6 channels
and
hw:0,1 is SPDIF
so the driver will not have /dev/dsp1
cat /proc/asound/pcm
----------------------------------------------------------------------
prymitive - 04-03-06 14:40
----------------------------------------------------------------------
I just realized that /dev/dsp1 comes from atiixp-modem, but I have
/dev/adsp, it doesn't work, I did
prymitive@acer ~ $ cat /proc/asound/devices
0: [ 0] : control
16: [ 0- 0]: digital audio playback
17: [ 0- 1]: digital audio playback
24: [ 0- 0]: digital audio capture
33: : timer
and I thought that it have 2 playback devices, if it's SPDIF and wan't
let me play 2 streams at a time (without dmix) then close this report and
thanks for quick anwser.
----------------------------------------------------------------------
Raymond - 04-04-06 04:54
----------------------------------------------------------------------
It may be possible for you to play two stereo streams to front and rear
jacks of your notebook using route plugin to re-route the dmix51 { upmix,
dmix ) to front and rear jacks
http://article.gmane.org/gmane.linux.alsa.user/23176
----------------------------------------------------------------------
tiwai - 04-07-06 19:28
----------------------------------------------------------------------
hw:0,1 won't work unless you set up the IEC958 things correctly.
This is automatically done if you use "spdif" or "iec958" PCM on ALSA, but
not for OSS. If you need to use OSS, try aoss instead.
----------------------------------------------------------------------
tiwai - 04-07-06 19:28
----------------------------------------------------------------------
hw:0,1 won't work unless you set up the IEC958 things correctly.
This is automatically done if you use "spdif" or "iec958" PCM on ALSA, but
not for OSS. If you need to use OSS, try aoss instead.
Issue History
Date Modified Username Field Change
======================================================================
04-03-06 11:59 prymitive New Issue
04-03-06 11:59 prymitive Kernel Version => 2.6.16-gentoo-r1
04-03-06 12:21 prymitive Note Added: 0009094
04-03-06 14:13 Raymond Note Added: 0009095
04-03-06 14:14 Raymond Note Edited: 0009095
04-03-06 14:16 Raymond Note Edited: 0009095
04-03-06 14:40 prymitive Note Added: 0009097
04-04-06 03:03 jwoithe Note Added: 0009108
04-04-06 03:04 jwoithe Note Deleted: 0009108
04-04-06 04:54 Raymond Note Added: 0009109
04-07-06 19:28 tiwai Status assigned => resolved
04-07-06 19:28 tiwai Resolution open => fixed
04-07-06 19:28 tiwai Note Added: 0009149
04-07-06 19:28 tiwai Note Added: 0009150
04-07-06 19:28 tiwai Resolution fixed => not an issue
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
^ permalink raw reply
* Linux 2.6.16.2
From: Greg KH @ 2006-04-07 17:23 UTC (permalink / raw)
To: linux-kernel, stable; +Cc: torvalds
We (the -stable team) are announcing the release of the 2.6.16.2 kernel.
The diffstat and short summary of the fixes are below.
I'll also be replying to this message with a copy of the patch between
2.6.16.1 and 2.6.16.2, as it is small enough to do so.
The updated 2.6.16.y git tree can be found at:
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.16.y.git
and can be browsed at the normal kernel.org git web browser:
www.kernel.org/git/
thanks,
greg k-h
--------
Makefile | 2 -
arch/i386/kernel/cpu/cpufreq/Kconfig | 1
arch/i386/kernel/cpu/cpufreq/p4-clockmod.c | 2 -
arch/powerpc/kernel/pci_64.c | 1
drivers/base/node.c | 2 -
drivers/char/Kconfig | 1
drivers/char/tlclk.c | 1
drivers/ieee1394/sbp2.c | 32 ++++++++++++--------------
drivers/net/irda/irda-usb.c | 5 ++--
drivers/net/wireless/Kconfig | 5 +++-
drivers/net/wireless/hostap/hostap_80211_tx.c | 2 -
drivers/net/wireless/ipw2200.c | 5 +---
drivers/pcmcia/ds.c | 2 -
drivers/usb/core/message.c | 12 +++++----
drivers/usb/host/ehci-sched.c | 11 ++++----
drivers/video/cfbimgblt.c | 2 -
fs/nfsd/nfs3proc.c | 2 -
fs/nfsd/nfs4proc.c | 2 -
fs/nfsd/nfsproc.c | 2 -
fs/proc/vmcore.c | 4 +--
fs/sysfs/file.c | 2 -
include/asm-powerpc/floppy.h | 5 ++--
include/linux/fb.h | 2 -
include/linux/proc_fs.h | 2 -
kernel/exec_domain.c | 1
kernel/fork.c | 2 -
net/ipv4/fib_trie.c | 12 ++++-----
net/ipv4/netfilter/ip_conntrack_netlink.c | 2 -
net/netfilter/nf_conntrack_netlink.c | 2 -
sound/isa/opti9xx/opti92x-ad1848.c | 6 ++++
sound/pci/hda/patch_realtek.c | 2 +
31 files changed, 75 insertions(+), 59 deletions(-)
Summary of changes from v2.6.16.1 to v2.6.16.2
==============================================
Adrian Bunk:
PCMCIA_SPECTRUM must select FW_LOADER
drivers/net/wireless/ipw2200.c: fix an array overun
AIRO{,_CS} <-> CRYPTO fixes
Andrew Morton:
tlclk: fix handling of device major
Antonino A. Daplas:
fbcon: Fix big-endian bogosity in slow_imageblit()
Christoph Lameter:
Fix NULL pointer dereference in node_read_numastat()
Clemens Ladisch:
USB: EHCI full speed ISO bugfixes
Dave Jones:
Mark longhaul driver as broken.
David S. Miller:
fib_trie.c node freeing fix
Eugene Teo:
USB: Fix irda-usb use after use
Greg Kroah-Hartman:
sysfs: zero terminate sysfs write buffers (CVE-2006-1055)
Linux 2.6.16.2
Horst Schirmeier:
USB: usbcore: usb_set_configuration oops (NULL ptr dereference)
Janos Farkas:
pcmcia: permit single-character-identifiers
Jouni Malinen:
hostap: Fix EAPOL frame encryption
Kirill Korotaev:
wrong error path in dup_fd() leading to oopses in RCU
Martin Josefsson:
{ip, nf}_conntrack_netlink: fix expectation notifier unregistration
maximilian attems:
isicom must select FW_LOADER
NeilBrown:
knfsd: Correct reserved reply space for read requests.
Sergey Vlasov:
Fix module refcount leak in __set_personality()
Stefan Richter:
sbp2: fix spinlock recursion
Stephen Rothwell:
powerpc: make ISA floppies work again
Takashi Iwai:
opti9x - Fix compile without CONFIG_PNP
Add default entry for CTL Travel Master U553W
Venkatesh Pallipadi:
Fix the p4-clockmod N60 errata workaround.
Vivek Goyal:
kdump proc vmcore size oveflow fix
^ permalink raw reply
* Re: Linux 2.6.16.2
From: Greg KH @ 2006-04-07 17:25 UTC (permalink / raw)
To: linux-kernel; +Cc: stable, torvalds
In-Reply-To: <20060407172353.GA29863@kroah.com>
diff --git a/Makefile b/Makefile
index fcc862a..3933cfc 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 16
-EXTRAVERSION = .1
+EXTRAVERSION = .2
NAME=Sliding Snow Leopard
# *DOCUMENTATION*
diff --git a/arch/i386/kernel/cpu/cpufreq/Kconfig b/arch/i386/kernel/cpu/cpufreq/Kconfig
index 26892d2..16f2e35 100644
--- a/arch/i386/kernel/cpu/cpufreq/Kconfig
+++ b/arch/i386/kernel/cpu/cpufreq/Kconfig
@@ -203,6 +203,7 @@ config X86_LONGRUN
config X86_LONGHAUL
tristate "VIA Cyrix III Longhaul"
select CPU_FREQ_TABLE
+ depends on BROKEN
help
This adds the CPUFreq driver for VIA Samuel/CyrixIII,
VIA Cyrix Samuel/C3, VIA Cyrix Ezra and VIA Cyrix Ezra-T
diff --git a/arch/i386/kernel/cpu/cpufreq/p4-clockmod.c b/arch/i386/kernel/cpu/cpufreq/p4-clockmod.c
index cc73a7a..ebe1848 100644
--- a/arch/i386/kernel/cpu/cpufreq/p4-clockmod.c
+++ b/arch/i386/kernel/cpu/cpufreq/p4-clockmod.c
@@ -244,7 +244,7 @@ static int cpufreq_p4_cpu_init(struct cp
for (i=1; (p4clockmod_table[i].frequency != CPUFREQ_TABLE_END); i++) {
if ((i<2) && (has_N44_O17_errata[policy->cpu]))
p4clockmod_table[i].frequency = CPUFREQ_ENTRY_INVALID;
- else if (has_N60_errata[policy->cpu] && p4clockmod_table[i].frequency < 2000000)
+ else if (has_N60_errata[policy->cpu] && ((stock_freq * i)/8) < 2000000)
p4clockmod_table[i].frequency = CPUFREQ_ENTRY_INVALID;
else
p4clockmod_table[i].frequency = (stock_freq * i)/8;
diff --git a/arch/powerpc/kernel/pci_64.c b/arch/powerpc/kernel/pci_64.c
index ba92bab..4c4449b 100644
--- a/arch/powerpc/kernel/pci_64.c
+++ b/arch/powerpc/kernel/pci_64.c
@@ -78,6 +78,7 @@ int global_phb_number; /* Global phb co
/* Cached ISA bridge dev. */
struct pci_dev *ppc64_isabridge_dev = NULL;
+EXPORT_SYMBOL_GPL(ppc64_isabridge_dev);
static void fixup_broken_pcnet32(struct pci_dev* dev)
{
diff --git a/drivers/base/node.c b/drivers/base/node.c
index 16c513a..c80c3ae 100644
--- a/drivers/base/node.c
+++ b/drivers/base/node.c
@@ -106,7 +106,7 @@ static ssize_t node_read_numastat(struct
other_node = 0;
for (i = 0; i < MAX_NR_ZONES; i++) {
struct zone *z = &pg->node_zones[i];
- for (cpu = 0; cpu < NR_CPUS; cpu++) {
+ for_each_online_cpu(cpu) {
struct per_cpu_pageset *ps = zone_pcp(z,cpu);
numa_hit += ps->numa_hit;
numa_miss += ps->numa_miss;
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index 05ba410..8b72a61 100644
--- a/drivers/char/Kconfig
+++ b/drivers/char/Kconfig
@@ -187,6 +187,7 @@ config MOXA_SMARTIO
config ISI
tristate "Multi-Tech multiport card support (EXPERIMENTAL)"
depends on SERIAL_NONSTANDARD
+ select FW_LOADER
help
This is a driver for the Multi-Tech cards which provide several
serial ports. The driver is experimental and can currently only be
diff --git a/drivers/char/tlclk.c b/drivers/char/tlclk.c
index 4c27218..2546637 100644
--- a/drivers/char/tlclk.c
+++ b/drivers/char/tlclk.c
@@ -767,6 +767,7 @@ static int __init tlclk_init(void)
printk(KERN_ERR "tlclk: can't get major %d.\n", tlclk_major);
return ret;
}
+ tlclk_major = ret;
alarm_events = kzalloc( sizeof(struct tlclk_alarms), GFP_KERNEL);
if (!alarm_events)
goto out1;
diff --git a/drivers/ieee1394/sbp2.c b/drivers/ieee1394/sbp2.c
index eca92eb..d83248e 100644
--- a/drivers/ieee1394/sbp2.c
+++ b/drivers/ieee1394/sbp2.c
@@ -495,22 +495,17 @@ static struct sbp2_command_info *sbp2uti
/*
* This function finds the sbp2_command for a given outstanding SCpnt.
* Only looks at the inuse list.
+ * Must be called with scsi_id->sbp2_command_orb_lock held.
*/
-static struct sbp2_command_info *sbp2util_find_command_for_SCpnt(struct scsi_id_instance_data *scsi_id, void *SCpnt)
+static struct sbp2_command_info *sbp2util_find_command_for_SCpnt(
+ struct scsi_id_instance_data *scsi_id, void *SCpnt)
{
struct sbp2_command_info *command;
- unsigned long flags;
- spin_lock_irqsave(&scsi_id->sbp2_command_orb_lock, flags);
- if (!list_empty(&scsi_id->sbp2_command_orb_inuse)) {
- list_for_each_entry(command, &scsi_id->sbp2_command_orb_inuse, list) {
- if (command->Current_SCpnt == SCpnt) {
- spin_unlock_irqrestore(&scsi_id->sbp2_command_orb_lock, flags);
+ if (!list_empty(&scsi_id->sbp2_command_orb_inuse))
+ list_for_each_entry(command, &scsi_id->sbp2_command_orb_inuse, list)
+ if (command->Current_SCpnt == SCpnt)
return command;
- }
- }
- }
- spin_unlock_irqrestore(&scsi_id->sbp2_command_orb_lock, flags);
return NULL;
}
@@ -579,17 +574,15 @@ static void sbp2util_free_command_dma(st
/*
* This function moves a command to the completed orb list.
+ * Must be called with scsi_id->sbp2_command_orb_lock held.
*/
-static void sbp2util_mark_command_completed(struct scsi_id_instance_data *scsi_id,
- struct sbp2_command_info *command)
+static void sbp2util_mark_command_completed(
+ struct scsi_id_instance_data *scsi_id,
+ struct sbp2_command_info *command)
{
- unsigned long flags;
-
- spin_lock_irqsave(&scsi_id->sbp2_command_orb_lock, flags);
list_del(&command->list);
sbp2util_free_command_dma(command);
list_add_tail(&command->list, &scsi_id->sbp2_command_orb_completed);
- spin_unlock_irqrestore(&scsi_id->sbp2_command_orb_lock, flags);
}
/*
@@ -2177,7 +2170,9 @@ static int sbp2_handle_status_write(stru
* Matched status with command, now grab scsi command pointers and check status
*/
SCpnt = command->Current_SCpnt;
+ spin_lock_irqsave(&scsi_id->sbp2_command_orb_lock, flags);
sbp2util_mark_command_completed(scsi_id, command);
+ spin_unlock_irqrestore(&scsi_id->sbp2_command_orb_lock, flags);
if (SCpnt) {
@@ -2513,6 +2508,7 @@ static int sbp2scsi_abort(struct scsi_cm
(struct scsi_id_instance_data *)SCpnt->device->host->hostdata[0];
struct sbp2scsi_host_info *hi = scsi_id->hi;
struct sbp2_command_info *command;
+ unsigned long flags;
SBP2_ERR("aborting sbp2 command");
scsi_print_command(SCpnt);
@@ -2523,6 +2519,7 @@ static int sbp2scsi_abort(struct scsi_cm
* Right now, just return any matching command structures
* to the free pool.
*/
+ spin_lock_irqsave(&scsi_id->sbp2_command_orb_lock, flags);
command = sbp2util_find_command_for_SCpnt(scsi_id, SCpnt);
if (command) {
SBP2_DEBUG("Found command to abort");
@@ -2540,6 +2537,7 @@ static int sbp2scsi_abort(struct scsi_cm
command->Current_done(command->Current_SCpnt);
}
}
+ spin_unlock_irqrestore(&scsi_id->sbp2_command_orb_lock, flags);
/*
* Initiate a fetch agent reset.
diff --git a/drivers/net/irda/irda-usb.c b/drivers/net/irda/irda-usb.c
index 8936058..6e2ec56 100644
--- a/drivers/net/irda/irda-usb.c
+++ b/drivers/net/irda/irda-usb.c
@@ -740,7 +740,7 @@ static void irda_usb_receive(struct urb
struct sk_buff *newskb;
struct sk_buff *dataskb;
struct urb *next_urb;
- int docopy;
+ unsigned int len, docopy;
IRDA_DEBUG(2, "%s(), len=%d\n", __FUNCTION__, urb->actual_length);
@@ -851,10 +851,11 @@ static void irda_usb_receive(struct urb
dataskb->dev = self->netdev;
dataskb->mac.raw = dataskb->data;
dataskb->protocol = htons(ETH_P_IRDA);
+ len = dataskb->len;
netif_rx(dataskb);
/* Keep stats up to date */
- self->stats.rx_bytes += dataskb->len;
+ self->stats.rx_bytes += len;
self->stats.rx_packets++;
self->netdev->last_rx = jiffies;
diff --git a/drivers/net/wireless/Kconfig b/drivers/net/wireless/Kconfig
index ef85d76..8101657 100644
--- a/drivers/net/wireless/Kconfig
+++ b/drivers/net/wireless/Kconfig
@@ -239,7 +239,8 @@ config IPW2200_DEBUG
config AIRO
tristate "Cisco/Aironet 34X/35X/4500/4800 ISA and PCI cards"
- depends on NET_RADIO && ISA_DMA_API && CRYPTO && (PCI || BROKEN)
+ depends on NET_RADIO && ISA_DMA_API && (PCI || BROKEN)
+ select CRYPTO
---help---
This is the standard Linux driver to support Cisco/Aironet ISA and
PCI 802.11 wireless cards.
@@ -374,6 +375,7 @@ config PCMCIA_HERMES
config PCMCIA_SPECTRUM
tristate "Symbol Spectrum24 Trilogy PCMCIA card support"
depends on NET_RADIO && PCMCIA && HERMES
+ select FW_LOADER
---help---
This is a driver for 802.11b cards using RAM-loadable Symbol
@@ -387,6 +389,7 @@ config PCMCIA_SPECTRUM
config AIRO_CS
tristate "Cisco/Aironet 34X/35X/4500/4800 PCMCIA cards"
depends on NET_RADIO && PCMCIA && (BROKEN || !M32R)
+ select CRYPTO
---help---
This is the standard Linux driver to support Cisco/Aironet PCMCIA
802.11 wireless cards. This driver is the same as the Aironet
diff --git a/drivers/net/wireless/hostap/hostap_80211_tx.c b/drivers/net/wireless/hostap/hostap_80211_tx.c
index 4a85e63..5f398bd 100644
--- a/drivers/net/wireless/hostap/hostap_80211_tx.c
+++ b/drivers/net/wireless/hostap/hostap_80211_tx.c
@@ -469,7 +469,7 @@ int hostap_master_start_xmit(struct sk_b
}
if (local->ieee_802_1x && meta->ethertype == ETH_P_PAE && tx.crypt &&
- !(fc & IEEE80211_FCTL_VERS)) {
+ !(fc & IEEE80211_FCTL_PROTECTED)) {
no_encrypt = 1;
PDEBUG(DEBUG_EXTRA2, "%s: TX: IEEE 802.1X - passing "
"unencrypted EAPOL frame\n", dev->name);
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c
index 287676a..aa6f3a4 100644
--- a/drivers/net/wireless/ipw2200.c
+++ b/drivers/net/wireless/ipw2200.c
@@ -9956,9 +9956,8 @@ static int ipw_ethtool_set_eeprom(struct
return -EINVAL;
down(&p->sem);
memcpy(&p->eeprom[eeprom->offset], bytes, eeprom->len);
- for (i = IPW_EEPROM_DATA;
- i < IPW_EEPROM_DATA + IPW_EEPROM_IMAGE_SIZE; i++)
- ipw_write8(p, i, p->eeprom[i]);
+ for (i = 0; i < IPW_EEPROM_IMAGE_SIZE; i++)
+ ipw_write8(p, i + IPW_EEPROM_DATA, p->eeprom[i]);
up(&p->sem);
return 0;
}
diff --git a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c
index bb96ce1..a4333a8 100644
--- a/drivers/pcmcia/ds.c
+++ b/drivers/pcmcia/ds.c
@@ -546,7 +546,7 @@ static int pcmcia_device_query(struct pc
tmp = vers1->str + vers1->ofs[i];
length = strlen(tmp) + 1;
- if ((length < 3) || (length > 255))
+ if ((length < 2) || (length > 255))
continue;
p_dev->prod_id[i] = kmalloc(sizeof(char) * length,
diff --git a/drivers/usb/core/message.c b/drivers/usb/core/message.c
index 7135e54..96cabeb 100644
--- a/drivers/usb/core/message.c
+++ b/drivers/usb/core/message.c
@@ -1388,11 +1388,13 @@ free_interfaces:
if (dev->state != USB_STATE_ADDRESS)
usb_disable_device (dev, 1); // Skip ep0
- i = dev->bus_mA - cp->desc.bMaxPower * 2;
- if (i < 0)
- dev_warn(&dev->dev, "new config #%d exceeds power "
- "limit by %dmA\n",
- configuration, -i);
+ if (cp) {
+ i = dev->bus_mA - cp->desc.bMaxPower * 2;
+ if (i < 0)
+ dev_warn(&dev->dev, "new config #%d exceeds power "
+ "limit by %dmA\n",
+ configuration, -i);
+ }
if ((ret = usb_control_msg(dev, usb_sndctrlpipe(dev, 0),
USB_REQ_SET_CONFIGURATION, 0, configuration, 0,
diff --git a/drivers/usb/host/ehci-sched.c b/drivers/usb/host/ehci-sched.c
index ebcca97..88419c6 100644
--- a/drivers/usb/host/ehci-sched.c
+++ b/drivers/usb/host/ehci-sched.c
@@ -707,6 +707,7 @@ iso_stream_init (
} else {
u32 addr;
int think_time;
+ int hs_transfers;
addr = dev->ttport << 24;
if (!ehci_is_TDI(ehci)
@@ -719,6 +720,7 @@ iso_stream_init (
think_time = dev->tt ? dev->tt->think_time : 0;
stream->tt_usecs = NS_TO_US (think_time + usb_calc_bus_time (
dev->speed, is_input, 1, maxp));
+ hs_transfers = max (1u, (maxp + 187) / 188);
if (is_input) {
u32 tmp;
@@ -727,12 +729,11 @@ iso_stream_init (
stream->usecs = HS_USECS_ISO (1);
stream->raw_mask = 1;
- /* pessimistic c-mask */
- tmp = usb_calc_bus_time (USB_SPEED_FULL, 1, 0, maxp)
- / (125 * 1000);
- stream->raw_mask |= 3 << (tmp + 9);
+ /* c-mask as specified in USB 2.0 11.18.4 3.c */
+ tmp = (1 << (hs_transfers + 2)) - 1;
+ stream->raw_mask |= tmp << (8 + 2);
} else
- stream->raw_mask = smask_out [maxp / 188];
+ stream->raw_mask = smask_out [hs_transfers - 1];
bandwidth = stream->usecs + stream->c_usecs;
bandwidth /= 1 << (interval + 2);
diff --git a/drivers/video/cfbimgblt.c b/drivers/video/cfbimgblt.c
index 910e233..8ba6152 100644
--- a/drivers/video/cfbimgblt.c
+++ b/drivers/video/cfbimgblt.c
@@ -169,7 +169,7 @@ static inline void slow_imageblit(const
while (j--) {
l--;
- color = (*s & 1 << (FB_BIT_NR(l))) ? fgcolor : bgcolor;
+ color = (*s & (1 << l)) ? fgcolor : bgcolor;
val |= FB_SHIFT_HIGH(color, shift);
/* Did the bitshift spill bits to the next long? */
diff --git a/fs/nfsd/nfs3proc.c b/fs/nfsd/nfs3proc.c
index 6d2dfed..f61142a 100644
--- a/fs/nfsd/nfs3proc.c
+++ b/fs/nfsd/nfs3proc.c
@@ -682,7 +682,7 @@ static struct svc_procedure nfsd_proced
PROC(lookup, dirop, dirop, fhandle2, RC_NOCACHE, ST+FH+pAT+pAT),
PROC(access, access, access, fhandle, RC_NOCACHE, ST+pAT+1),
PROC(readlink, readlink, readlink, fhandle, RC_NOCACHE, ST+pAT+1+NFS3_MAXPATHLEN/4),
- PROC(read, read, read, fhandle, RC_NOCACHE, ST+pAT+4+NFSSVC_MAXBLKSIZE),
+ PROC(read, read, read, fhandle, RC_NOCACHE, ST+pAT+4+NFSSVC_MAXBLKSIZE/4),
PROC(write, write, write, fhandle, RC_REPLBUFF, ST+WC+4),
PROC(create, create, create, fhandle2, RC_REPLBUFF, ST+(1+FH+pAT)+WC),
PROC(mkdir, mkdir, create, fhandle2, RC_REPLBUFF, ST+(1+FH+pAT)+WC),
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
index 6d63f1d..ca8a4c4 100644
--- a/fs/nfsd/nfs4proc.c
+++ b/fs/nfsd/nfs4proc.c
@@ -975,7 +975,7 @@ struct nfsd4_voidargs { int dummy; };
*/
static struct svc_procedure nfsd_procedures4[2] = {
PROC(null, void, void, void, RC_NOCACHE, 1),
- PROC(compound, compound, compound, compound, RC_NOCACHE, NFSD_BUFSIZE)
+ PROC(compound, compound, compound, compound, RC_NOCACHE, NFSD_BUFSIZE/4)
};
struct svc_version nfsd_version4 = {
diff --git a/fs/nfsd/nfsproc.c b/fs/nfsd/nfsproc.c
index 3e6b75c..06cd0db 100644
--- a/fs/nfsd/nfsproc.c
+++ b/fs/nfsd/nfsproc.c
@@ -553,7 +553,7 @@ static struct svc_procedure nfsd_proced
PROC(none, void, void, none, RC_NOCACHE, ST),
PROC(lookup, diropargs, diropres, fhandle, RC_NOCACHE, ST+FH+AT),
PROC(readlink, readlinkargs, readlinkres, none, RC_NOCACHE, ST+1+NFS_MAXPATHLEN/4),
- PROC(read, readargs, readres, fhandle, RC_NOCACHE, ST+AT+1+NFSSVC_MAXBLKSIZE),
+ PROC(read, readargs, readres, fhandle, RC_NOCACHE, ST+AT+1+NFSSVC_MAXBLKSIZE/4),
PROC(none, void, void, none, RC_NOCACHE, ST),
PROC(write, writeargs, attrstat, fhandle, RC_REPLBUFF, ST+AT),
PROC(create, createargs, diropres, fhandle, RC_REPLBUFF, ST+FH+AT),
diff --git a/fs/proc/vmcore.c b/fs/proc/vmcore.c
index 4063fb3..164a7d0 100644
--- a/fs/proc/vmcore.c
+++ b/fs/proc/vmcore.c
@@ -103,8 +103,8 @@ static ssize_t read_vmcore(struct file *
size_t buflen, loff_t *fpos)
{
ssize_t acc = 0, tmp;
- size_t tsz, nr_bytes;
- u64 start;
+ size_t tsz;
+ u64 start, nr_bytes;
struct vmcore *curr_m = NULL;
if (buflen == 0 || *fpos >= vmcore_size)
diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c
index d0e3d84..2ecc58c 100644
--- a/fs/sysfs/file.c
+++ b/fs/sysfs/file.c
@@ -183,7 +183,7 @@ fill_write_buffer(struct sysfs_buffer *
return -ENOMEM;
if (count >= PAGE_SIZE)
- count = PAGE_SIZE;
+ count = PAGE_SIZE - 1;
error = copy_from_user(buffer->page,buf,count);
buffer->needs_read_fill = 1;
return error ? -EFAULT : count;
diff --git a/include/asm-powerpc/floppy.h b/include/asm-powerpc/floppy.h
index e258778..608164c 100644
--- a/include/asm-powerpc/floppy.h
+++ b/include/asm-powerpc/floppy.h
@@ -35,6 +35,7 @@
#ifdef CONFIG_PCI
#include <linux/pci.h>
+#include <asm/ppc-pci.h> /* for ppc64_isabridge_dev */
#define fd_dma_setup(addr,size,mode,io) powerpc_fd_dma_setup(addr,size,mode,io)
@@ -52,12 +53,12 @@ static __inline__ int powerpc_fd_dma_set
if (bus_addr
&& (addr != prev_addr || size != prev_size || dir != prev_dir)) {
/* different from last time -- unmap prev */
- pci_unmap_single(NULL, bus_addr, prev_size, prev_dir);
+ pci_unmap_single(ppc64_isabridge_dev, bus_addr, prev_size, prev_dir);
bus_addr = 0;
}
if (!bus_addr) /* need to map it */
- bus_addr = pci_map_single(NULL, addr, size, dir);
+ bus_addr = pci_map_single(ppc64_isabridge_dev, addr, size, dir);
/* remember this one as prev */
prev_addr = addr;
diff --git a/include/linux/fb.h b/include/linux/fb.h
index 2cb19e6..2fdd8ae 100644
--- a/include/linux/fb.h
+++ b/include/linux/fb.h
@@ -839,12 +839,10 @@ struct fb_info {
#define FB_LEFT_POS(bpp) (32 - bpp)
#define FB_SHIFT_HIGH(val, bits) ((val) >> (bits))
#define FB_SHIFT_LOW(val, bits) ((val) << (bits))
-#define FB_BIT_NR(b) (7 - (b))
#else
#define FB_LEFT_POS(bpp) (0)
#define FB_SHIFT_HIGH(val, bits) ((val) << (bits))
#define FB_SHIFT_LOW(val, bits) ((val) >> (bits))
-#define FB_BIT_NR(b) (b)
#endif
/*
diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h
index aa6322d..6c1e347 100644
--- a/include/linux/proc_fs.h
+++ b/include/linux/proc_fs.h
@@ -78,7 +78,7 @@ struct kcore_list {
struct vmcore {
struct list_head list;
unsigned long long paddr;
- unsigned long size;
+ unsigned long long size;
loff_t offset;
};
diff --git a/kernel/exec_domain.c b/kernel/exec_domain.c
index 867d6db..c01cead 100644
--- a/kernel/exec_domain.c
+++ b/kernel/exec_domain.c
@@ -140,6 +140,7 @@ __set_personality(u_long personality)
ep = lookup_exec_domain(personality);
if (ep == current_thread_info()->exec_domain) {
current->personality = personality;
+ module_put(ep->module);
return 0;
}
diff --git a/kernel/fork.c b/kernel/fork.c
index b373322..9d4e0d8 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -720,7 +720,7 @@ out_release:
free_fdset (new_fdt->open_fds, new_fdt->max_fdset);
free_fd_array(new_fdt->fd, new_fdt->max_fds);
kmem_cache_free(files_cachep, newf);
- goto out;
+ return NULL;
}
static int copy_files(unsigned long clone_flags, struct task_struct * tsk)
diff --git a/net/ipv4/fib_trie.c b/net/ipv4/fib_trie.c
index e320b32..24009be 100644
--- a/net/ipv4/fib_trie.c
+++ b/net/ipv4/fib_trie.c
@@ -314,11 +314,6 @@ static void __leaf_free_rcu(struct rcu_h
kfree(container_of(head, struct leaf, rcu));
}
-static inline void free_leaf(struct leaf *leaf)
-{
- call_rcu(&leaf->rcu, __leaf_free_rcu);
-}
-
static void __leaf_info_free_rcu(struct rcu_head *head)
{
kfree(container_of(head, struct leaf_info, rcu));
@@ -357,7 +352,12 @@ static void __tnode_free_rcu(struct rcu_
static inline void tnode_free(struct tnode *tn)
{
- call_rcu(&tn->rcu, __tnode_free_rcu);
+ if(IS_LEAF(tn)) {
+ struct leaf *l = (struct leaf *) tn;
+ call_rcu_bh(&l->rcu, __leaf_free_rcu);
+ }
+ else
+ call_rcu(&tn->rcu, __tnode_free_rcu);
}
static struct leaf *leaf_new(void)
diff --git a/net/ipv4/netfilter/ip_conntrack_netlink.c b/net/ipv4/netfilter/ip_conntrack_netlink.c
index e0b5926..d4e6d0a 100644
--- a/net/ipv4/netfilter/ip_conntrack_netlink.c
+++ b/net/ipv4/netfilter/ip_conntrack_netlink.c
@@ -1619,7 +1619,7 @@ static void __exit ctnetlink_exit(void)
printk("ctnetlink: unregistering from nfnetlink.\n");
#ifdef CONFIG_IP_NF_CONNTRACK_EVENTS
- ip_conntrack_unregister_notifier(&ctnl_notifier_exp);
+ ip_conntrack_expect_unregister_notifier(&ctnl_notifier_exp);
ip_conntrack_unregister_notifier(&ctnl_notifier);
#endif
diff --git a/net/netfilter/nf_conntrack_netlink.c b/net/netfilter/nf_conntrack_netlink.c
index 9ff3463..40edeef 100644
--- a/net/netfilter/nf_conntrack_netlink.c
+++ b/net/netfilter/nf_conntrack_netlink.c
@@ -1641,7 +1641,7 @@ static void __exit ctnetlink_exit(void)
printk("ctnetlink: unregistering from nfnetlink.\n");
#ifdef CONFIG_NF_CONNTRACK_EVENTS
- nf_conntrack_unregister_notifier(&ctnl_notifier_exp);
+ nf_conntrack_expect_unregister_notifier(&ctnl_notifier_exp);
nf_conntrack_unregister_notifier(&ctnl_notifier);
#endif
diff --git a/sound/isa/opti9xx/opti92x-ad1848.c b/sound/isa/opti9xx/opti92x-ad1848.c
index 63d96be..65b28cb 100644
--- a/sound/isa/opti9xx/opti92x-ad1848.c
+++ b/sound/isa/opti9xx/opti92x-ad1848.c
@@ -2088,9 +2088,11 @@ static int __init alsa_card_opti9xx_init
int error;
struct platform_device *device;
+#ifdef CONFIG_PNP
pnp_register_card_driver(&opti9xx_pnpc_driver);
if (snd_opti9xx_pnp_is_probed)
return 0;
+#endif
if (! is_isapnp_selected()) {
error = platform_driver_register(&snd_opti9xx_driver);
if (error < 0)
@@ -2102,7 +2104,9 @@ static int __init alsa_card_opti9xx_init
}
platform_driver_unregister(&snd_opti9xx_driver);
}
+#ifdef CONFIG_PNP
pnp_unregister_card_driver(&opti9xx_pnpc_driver);
+#endif
#ifdef MODULE
printk(KERN_ERR "no OPTi " CHIP_NAME " soundcard found\n");
#endif
@@ -2115,7 +2119,9 @@ static void __exit alsa_card_opti9xx_exi
platform_device_unregister(snd_opti9xx_platform_device);
platform_driver_unregister(&snd_opti9xx_driver);
}
+#ifdef CONFIG_PNP
pnp_unregister_card_driver(&opti9xx_pnpc_driver);
+#endif
}
module_init(alsa_card_opti9xx_init)
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index b767552..d5cd3a1 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -2948,6 +2948,8 @@ static struct hda_board_config alc260_cf
{ .modelname = "basic", .config = ALC260_BASIC },
{ .pci_subvendor = 0x104d, .pci_subdevice = 0x81bb,
.config = ALC260_BASIC }, /* Sony VAIO */
+ { .pci_subvendor = 0x152d, .pci_subdevice = 0x0729,
+ .config = ALC260_BASIC }, /* CTL Travel Master U553W */
{ .modelname = "hp", .config = ALC260_HP },
{ .pci_subvendor = 0x103c, .pci_subdevice = 0x3010, .config = ALC260_HP },
{ .pci_subvendor = 0x103c, .pci_subdevice = 0x3011, .config = ALC260_HP },
^ permalink raw reply related
* [ALSA - driver 0001996]: Volume control missing (hda-intel, CMI9880)
From: bugtrack @ 2006-04-07 17:29 UTC (permalink / raw)
To: alsa-devel
The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1996>
======================================================================
Reported By: babak
Assigned To: perex
======================================================================
Project: ALSA - driver
Issue ID: 1996
Category: 0_compilation problem_!!!
Reproducibility: always
Severity: major
Priority: normal
Status: resolved
Distribution: Fedora Core release 4
Kernel Version: 2.6.15-1.1833_FC4
Resolution: not an issue
Fixed in Version:
======================================================================
Date Submitted: 04-03-2006 10:20 CEST
Last Modified: 04-07-2006 19:29 CEST
======================================================================
Summary: Volume control missing (hda-intel, CMI9880)
Description:
No volume controls found on my system, but playing music works properly
(without volume control).
======================================================================
----------------------------------------------------------------------
tiwai - 04-07-06 19:29
----------------------------------------------------------------------
CMI9880 codec has really no playback volume control.
Issue History
Date Modified Username Field Change
======================================================================
04-03-06 10:20 babak New Issue
04-03-06 10:20 babak Distribution => Fedora Core release 4
04-03-06 10:20 babak Kernel Version => 2.6.15-1.1833_FC4
04-03-06 10:21 babak Issue Monitored: babak
04-07-06 19:29 tiwai Status assigned => resolved
04-07-06 19:29 tiwai Resolution open => not an issue
04-07-06 19:29 tiwai Note Added: 0009151
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
^ permalink raw reply
* [ALSA - utils 0001990]: aplay/arecord cannot play/capture A_LAW
From: bugtrack @ 2006-04-07 17:32 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1990>
======================================================================
Reported By: Raymond
Assigned To:
======================================================================
Project: ALSA - utils
Issue ID: 1990
Category: aplay/arecord
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 04-01-2006 04:26 CEST
Last Modified: 04-07-2006 19:32 CEST
======================================================================
Summary: aplay/arecord cannot play/capture A_LAW
Description:
aplay/arecord can play MU_LAW and the sound card support MU_LAW and A_LAW
arecord -D hw:0,0 -f MU_LAW -t au -c 1 -r 8000 test.au
aplay -D hw:0,0 test.au
Try to use -t raw but the quality of A_LAW is very bad when compare with
MU_LAW
arecord -D hw:0,0 -f A_LAW -t raw -c 1 -r 8000 test.raw
aplay -D hw:0,0 test.raw
======================================================================
----------------------------------------------------------------------
Raymond - 04-03-06 07:36
----------------------------------------------------------------------
pcm.convert {
type alaw
slave {
pcm "hw:0"
format A_LAW
}
}
aplay -v -Dconvert test.wav
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
A-Law conversion PCM (A_LAW)
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 1
rate : 8000
exact rate : 8000 (8000/1)
msbits : 16
buffer_size : 4096
period_size : 1024
period_time : 128000
tick_time : 10000
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 1024
xfer_align : 1024
start_threshold : 4096
stop_threshold : 4096
silence_threshold: 0
silence_size : 0
boundary : 1073741824
Slave: Hardware PCM card 0 'au8830' device 0 subdevice 0
Its setup is:
stream : PLAYBACK
access : MMAP_INTERLEAVED
format : A_LAW
subformat : STD
channels : 1
rate : 8000
exact rate : 8000 (8000/1)
msbits : 8
buffer_size : 4096
period_size : 1024
period_time : 128000
tick_time : 10000
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 1024
xfer_align : 1024
start_threshold : 4096
stop_threshold : 4096
silence_threshold: 0
silence_size : 0
boundary : 1073741824
It seem that the plugin alaw work , the sound play at expected quality
This mean that aplay/arecord only need to implement read/write the A_LAW
audio in a suitable file format
----------------------------------------------------------------------
tiwai - 04-07-06 19:32
----------------------------------------------------------------------
aplay doesn't support A-law in .au format.
Issue History
Date Modified Username Field Change
======================================================================
04-01-06 04:26 Raymond New Issue
04-03-06 07:16 Raymond Note Added: 0009085
04-03-06 07:36 Raymond Note Added: 0009086
04-07-06 19:32 tiwai Note Added: 0009152
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
^ permalink raw reply
* Re: Diff between Linus' and linux-mips git: elf.h
From: Kevin D. Kissell @ 2006-04-07 17:47 UTC (permalink / raw)
To: Martin Michlmayr, Ralf Baechle; +Cc: linux-mips
In-Reply-To: <20060407171910.GU6869@deprecation.cyrius.com>
Arguably, whatever's used by binutils should be the tie-breaker.
Googling around, I see that the EM_MIPS_RS3_LE value was
added in the October 4, 1999 draft of the ELF spec, but inexplicably
the alias with EM_MIPS_RS4_BE was left in place - perhaps they
were supposed to be disambiguated by some 32-vs-64-bit flag
somewhere. A random sampling of ELF documents on the web
shows the vast majority calling out RS3_LE and not RS4_BE.
Regards,
Kevin K.
----- Original Message -----
From: "Martin Michlmayr" <tbm@cyrius.com>
To: "Ralf Baechle" <ralf@linux-mips.org>
Cc: <linux-mips@linux-mips.org>
Sent: Friday, April 07, 2006 7:19 PM
Subject: Re: Diff between Linus' and linux-mips git: elf.h
> * Ralf Baechle <ralf@linux-mips.org> [2006-02-20 11:34]:
> > > Can we agree?
> > > -#define EM_MIPS_RS4_BE 10 /* MIPS R4000 big-endian */
> > > +#define EM_MIPS_RS3_LE 10 /* MIPS R3000 little-endian */
> > Not really :-)
> >
> > I've dug deep into history - but it seems nobody remembers the reason for
> > this change anymore. I suspect actually both constant names might
> > historically have been in use. For the purposes of Linux it's probably
> > best to dump the whole number - it never had any relevance.
>
> Maybe you can remove it, or at least bring it in sync.
> --
> Martin Michlmayr
> http://www.cyrius.com/
>
>
^ permalink raw reply
* Re: Diff between Linus' and linux-mips git: elf.h
From: Kevin D. Kissell @ 2006-04-07 17:47 UTC (permalink / raw)
To: Martin Michlmayr, Ralf Baechle; +Cc: linux-mips
In-Reply-To: <20060407171910.GU6869@deprecation.cyrius.com>
Arguably, whatever's used by binutils should be the tie-breaker.
Googling around, I see that the EM_MIPS_RS3_LE value was
added in the October 4, 1999 draft of the ELF spec, but inexplicably
the alias with EM_MIPS_RS4_BE was left in place - perhaps they
were supposed to be disambiguated by some 32-vs-64-bit flag
somewhere. A random sampling of ELF documents on the web
shows the vast majority calling out RS3_LE and not RS4_BE.
Regards,
Kevin K.
----- Original Message -----
From: "Martin Michlmayr" <tbm@cyrius.com>
To: "Ralf Baechle" <ralf@linux-mips.org>
Cc: <linux-mips@linux-mips.org>
Sent: Friday, April 07, 2006 7:19 PM
Subject: Re: Diff between Linus' and linux-mips git: elf.h
> * Ralf Baechle <ralf@linux-mips.org> [2006-02-20 11:34]:
> > > Can we agree?
> > > -#define EM_MIPS_RS4_BE 10 /* MIPS R4000 big-endian */
> > > +#define EM_MIPS_RS3_LE 10 /* MIPS R3000 little-endian */
> > Not really :-)
> >
> > I've dug deep into history - but it seems nobody remembers the reason for
> > this change anymore. I suspect actually both constant names might
> > historically have been in use. For the purposes of Linux it's probably
> > best to dump the whole number - it never had any relevance.
>
> Maybe you can remove it, or at least bring it in sync.
> --
> Martin Michlmayr
> http://www.cyrius.com/
>
>
^ permalink raw reply
* [PATCH] initramfs: CPIO unpacking fix
From: H. Peter Anvin @ 2006-04-07 17:33 UTC (permalink / raw)
To: Andrew Morton; +Cc: Linux Kernel Mailing List, klibc, Al Viro, hpa, miltonm
In-Reply-To: <20060217160621.99b0ffd4.mikey@neuling.org>
Unlink files, symlinks, FIFOs, devices etc. (except directories) before
writing them when extracting CPIOs. This stops weird behaviour like:
1) writing through symlinks created in earlier CPIOs. eg foo->bar in
the first CPIO. Having foo as a non-link in a subsequent CPIO,
results in bar being written and foo remaining as a symlink.
2) if the first version of file foo is larger than foo in a
subsequent CPIO, we end up with a mix of the two. ie. neither
the first or second version of /foo.
3) special files like devices, fifo etc. can't be overwritten in
subsequent CPIOS.
With this, the kernel will more closely replicate
for i in *.cpio; do cpio --extract --unconditional < $i ; done
This is a change but it's regarded as fixing broken functionality.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
init/initramfs.c | 3 +++
1 files changed, 3 insertions(+)
Index: linux-2.6.15/init/initramfs.c
===================================================================
--- linux-2.6.15.orig/init/initramfs.c
+++ linux-2.6.15/init/initramfs.c
@@ -249,6 +249,7 @@ static int __init do_name(void)
if (dry_run)
return 0;
if (S_ISREG(mode)) {
+ sys_unlink(collected);
if (maybe_link() >= 0) {
wfd = sys_open(collected, O_WRONLY|O_CREAT, mode);
if (wfd >= 0) {
@@ -263,6 +264,7 @@ static int __init do_name(void)
sys_chmod(collected, mode);
} else if (S_ISBLK(mode) || S_ISCHR(mode) ||
S_ISFIFO(mode) || S_ISSOCK(mode)) {
+ sys_unlink(collected);
if (maybe_link() == 0) {
sys_mknod(collected, mode, rdev);
sys_chown(collected, uid, gid);
@@ -291,6 +293,7 @@ static int __init do_copy(void)
static int __init do_symlink(void)
{
collected[N_ALIGN(name_len) + body_len] = '\0';
+ sys_unlink(collected);
sys_symlink(collected + N_ALIGN(name_len), collected);
sys_lchown(collected, uid, gid);
state = SkipIt;
^ permalink raw reply
* MAX_INST_LEN?
From: Petersson, Mats @ 2006-04-07 17:37 UTC (permalink / raw)
To: Xen-devel
In xen/include/asm-x86/hvm/io.h there is a definition for MAX_INST_LEN,
which is currently defined to 32.
The x86 spec says that any instruction longer than 15 bytes is invalid
(The processor gives General Protection fault if the instruction is
longer than 15 bytes - something that can only be achieved with
redundant prefixing).
So, my question is: Is there ANY OTHER reason why this shouldn't be 15
(or possibly 16 if you want to have a nice even 2^n number)?
By the way, I don't see any particular problem[1] it being 32, I just
noticed it when I started printing my buffer for the instruction when
trying to figure out if I was decoding something correctly, and I
expected to get a short line of bytes, but it overflowed the edge of my
screen by some fair amount - since it was 32 bytes, rather than my
expectation of 15-16 bytes.
Of course, there is a minor curiosity in that the svm.c uses a different
constant, MAX_INST_SIZE for ONE case of copying code from the guest.
This constant is 15. Every other piece of code copying instructions is
using the MAX_INST_LEN...
[1]It would of course have some minor performance impact (especially
since it's also filled with zero's before we copy the code in - and then
check that we filled the entire buffer ;-) ), but I think there's plenty
of other things to performance enhance before we start saving bytes
being copied from the guest when analyzing instructions...
--
Mats
^ permalink raw reply
* Re: [RFC] Hypercalls from HVM guests
From: Keir Fraser @ 2006-04-07 17:40 UTC (permalink / raw)
To: Petersson, Mats; +Cc: Steve Ofsthun, xen-devel
In-Reply-To: <907625E08839C4409CE5768403633E0BA7FBCD@sefsexmb1.amd.com>
On 7 Apr 2006, at 18:24, Petersson, Mats wrote:
> Good question - the way I'd say is to look at CPUID to see if it's
> "GeunineIntel" or "AuthenticAMD", but I'm not sure if that's the BEST.
> Of course, this assumes the code is already aware that it's in a HVM
> environment, which I'm not sure if you know that or not at the point
> you
> need to know if it's AMD or Intel... Of course, if CPUID is
> intercepted,
> it may return other things (but it's against the "rules" to lie about
> the brand of the CPU!)
I like the idea of stealing some MSR space for this, and doing some
initial interaction with the underlying hypervisor platform via
RDMSR/WRMSR to known MSRs. We could 'read' an 'MSR' that would tell us
the correct instruction sequence to do a hypercall (either directly, or
maybe tell us a 'physical address' to read the hypercall transport
information from -- then we could have a hypercall transfer page just
as we already do for paravirtualised guests).
We just need to pick some MSRs that won't get used by Intel or AMD in
the future. There's quite a lot of addressing space to carve up though.
:-)
-- Keir
^ permalink raw reply
* Re: Detecting deadlocks with hypervisor..
From: Anthony Liguori @ 2006-04-07 17:41 UTC (permalink / raw)
To: T S; +Cc: rthelen, Xen-devel, ewan, edwin.zhai
In-Reply-To: <BAY108-F4E6955F5CB48CF58AB23CF6C90@phx.gbl>
T S wrote:
>> From: Anthony Liguori <aliguori@us.ibm.com>
>> To: T S <thileepan_@hotmail.com>
>> CC: xen-devel@lists.xensource.com
>> Subject: Re: [Xen-devel] Detecting deadlocks with hypervisor..
>> Date: Fri, 24 Mar 2006 13:24:46 -0600
>>
>> T S wrote:
>>> This may sound a silly question (pardon me because i am relatively
>>> new to linux kernel) .. will it be possible to continue running
>>> reboot.c (or for that matter any kernel thread) when the kernel is
>>> deadlocked ? In Linux, is the kernel a single process or a bunch of
>>> parallelly executing entities? If later, then during a kernel
>>> deadlock (eg: by loading a faulty module that disables interrupts
>>> and do something silly) there can still be some other
>>> processes/threads run, right?
>>
>> Sorry for not making this more clear previously. You cannot restore a
>> dead-locked domain if a normal xm save doesn't work. One thing that
>> makes Xen unique is that guests actually are aware of what physical
>> pages are assigned to them. When one does a save/restore, the guest
>> has to canonicalize all of it's internal references to physical
>> pages. When it's restored, it then remaps it's newly assigned
>> physical pages to all the old places where it needed to know about
>> them for some reason or another.
>
> We took a look at the xc_linux_save() function ... and what we see is
> that
> the canonicalize action is actually done by the Dom-0 (and not by the
> Dom-U);
Take a look at linux-2.6-sparse/drivers/core/reboot.c:__do_suspend().
Canonicalization is done both in Dom-0 and in the guest itself. Dom-0
attempts to do as much of it as it can but as I've said before, it
cannot do all of it.
> Also, given that Dom-0 can access the page tables and other structures
> of the deadlocked guest,
> can one of you be able to tell me what changes I need to do to
> xm_linux_save( ) (and other related functions) to save the state of
> the deadlocked guest without doing any handshake with the guest OS ?
If you want to attempt to futz with the state of a guest while it's
running without the guest cooperating, your best bet is to do as Keir
suggested and pause the domain, make your changes, and then unpause.
Regards,
Anthony Liguori
>
> thanks!
> - T
>
>
>> If the guest isn't responsive when you do a save, then it will never
>> canonicalize itself and there is no way to restore the domain.
>>
>> Regards,
>>
>> Anthony Liguori
>>
>>> thanks
>>> TS
>>>
>>>>
>>>> If a suspend completes correctly, Xend will see it (another watch
>>>> will fire),
>>>> and xc_linux_save will be free to complete the save.
>>>>
>>>> > Also, does it seem viable to clone a copy of a deadlocked guest
>>>> OS in the
>>>> > first place?
>>>>
>>>> If you have a byte-for-byte copy of a deadlocked guest, even if you
>>>> could
>>>> suspend it, surely it will be deadlocked when it is resumed. How do
>>>> you
>>>> intend to break the deadlock, and how is it easier to do that from
>>>> outside
>>>> than it is to perform deadlock detection in the guest?
>>>>
>>>> Ewan.
>>>>
>>>>
>>>> _______________________________________________
>>>> Xen-devel mailing list
>>>> Xen-devel@lists.xensource.com
>>>> http://lists.xensource.com/xen-devel
>>>
>>> _________________________________________________________________
>>> Express yourself instantly with MSN Messenger! Download today - it's
>>> FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>>>
>>>
>>> _______________________________________________
>>> Xen-devel mailing list
>>> Xen-devel@lists.xensource.com
>>> http://lists.xensource.com/xen-devel
>>
>
> _________________________________________________________________
> Don’t just search. Find. Check out the new MSN Search!
> http://search.msn.click-url.com/go/onm00200636ave/direct/01/
>
^ permalink raw reply
* [ALSA - driver 0001495]: nForce2 IEC958 output is working when IEC958 control is muted.
From: bugtrack @ 2006-04-07 17:45 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1495>
======================================================================
Reported By: damscot
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 1495
Category: PCI - intel8x0
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Distribution: Gentoo
Kernel Version: 2.6.12-gentoo-r1
======================================================================
Date Submitted: 10-24-2005 00:16 CEST
Last Modified: 04-07-2006 19:45 CEST
======================================================================
Summary: nForce2 IEC958 output is working when IEC958 control
is muted.
Description:
Good evening,
I'am using my MSI MEGA 180 under linux.
I'am using ALSA 1.0.9 Embedded inside the Linux ALSA kernel system.
***************************
*** USEFULL INFORMATION ***
***************************
<< lspci
0000:00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97
Audio Controler (MCP) (rev a1)
Subsystem: Micro-Star International Co., Ltd.: Unknown device
7960
Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 22
I/O ports at d400 [size=256]
I/O ports at d800 [size=128]
Memory at e1087000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
<< cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9rc2 (Thu Mar 24
10:33:39 2005 UTC).
<< cat /proc/asound/cards
0 [nForce2 ]: NFORCE - NVidia nForce2
NVidia nForce2 with ALC650F at 0xe1087000, irq 22
1 [Modem ]: ICH-MODEM - NVidia nForce2 Modem
NVidia nForce2 Modem at 0xe1080000, irq 22
<< cat /proc/asound/devices
18: [0- 2]: digital audio playback
25: [0- 1]: digital audio capture
16: [0- 0]: digital audio playback
24: [0- 0]: digital audio capture
0: [0- 0]: ctl
1: : sequencer
33: : timer
48: [1- 0]: digital audio playback
56: [1- 0]: digital audio capture
32: [1- 0]: ctl
<< cat /proc/asound/pcm
00-00: Intel ICH : NVidia nForce2 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : NVidia nForce2 - MIC ADC : capture 1
00-02: Intel ICH - IEC958 : NVidia nForce2 - IEC958 : playback 1
01-00: Intel ICH - Modem : NVidia nForce2 Modem - Modem : playback 1 :
capture 1
<< cat /proc/asound/card0/codec97#0/ac97#0-0
0-0/0: Realtek ALC650F
Capabilities :
DAC resolution : 20-bit
ADC resolution : 18-bit
3D enhancement : Realtek 3D Stereo Enhancement
Current setup
Mic gain : +0dB [+0dB]
POP path : pre 3D
Sim. stereo : off
3D enhancement : on
Loudness : off
Mono output : MIX
Mic select : Mic1
ADC/DAC loopback : off
Double rate slots: 10/11
Extended ID : codec=0 rev=1 LDAC SDAC CDAC DSA=0 SPDIF DRA VRA
Extended status : SPCV LDAC SDAC CDAC SPDIF=10/11 VRA
PCM front DAC : 44100Hz
PCM Surr DAC : 44100Hz
PCM LFE DAC : 44100Hz
PCM ADC : 44100Hz
SPDIF Control : Consumer PCM Copyright Category=0x2 Generation=1
Rate=48kHz
SPDIF In Status : Not Locked
<< amixer | grep -A 5 IEC958
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined cswitch cswitch-joined
Playback channels: Mono
Capture channels: Mono
Mono: Playback [on] Capture [off]
Simple mixer control 'IEC958 Playback AC97-SPSA',0
Capabilities: volume volume-joined
Playback channels: Mono
Limits: 0 - 3
Mono: 3 [100%]
Simple mixer control 'Analog to IEC958 Output',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
***************************
My SPDIF output is referenced as hw:0,2, the chipset is a nForce2 (then i
use the snd-intel8x0 driver), the AC97 device seems to be a Realtek
ALC650F.
while using a basic application to send samples to the spdif output ex:
<< aplay -f dat -c 2 -D hw:0,2 anybigfile.gz
I need to mute the IEC958 control in order to ear something from my
DTS/Digital decoder/amplifier.
It seems that the control function is inverted. The problem is that all
application, xmms (for each playing file), mplayer, xine try to unmute the
IEC958 control before starting to play. Then, I have to manually mute the
IEC958 control after lauching the media application to ear the sound.
======================================================================
----------------------------------------------------------------------
damscot - 04-03-06 00:57
----------------------------------------------------------------------
The problem is more on ALC650F (AC97 Audio Codec) support rather than a
problem in intel8x0/nforce2 chipset (AC97 Controller). I develop a patch
of the ac97_codec.c (contact: damscot@yahoo.com) file in order to invert
the bit AC97_EA_SPDIF of the AC97_EXTENDED_STATUS register just in case of
ALC650F device. It is probably not the best place to set-up such patch,
but i'am not an expert in alsa development. I hope that an expert will be
able to integrate it in next version of alsa / linux kernel.
Currently the patch as been validated on alsa integrated with linux
2.6.14-gentoo kernel version.
to respond to "fearofcarpet", it seems that IEC958 volume is used to
control which ac97 slots are used to transmit SPDIF data.
----------------------------------------------------------------------
tiwai - 04-07-06 19:45
----------------------------------------------------------------------
What a hell, is the bit inverted?
I remember other ALC650 model works with the normal setting, so it's
likely a problem only on ALC650F.
Anyway, please post a patch instead of .c file.
Issue History
Date Modified Username Field Change
======================================================================
10-24-05 00:16 damscot New Issue
10-24-05 00:16 damscot Distribution => Gentoo
10-24-05 00:16 damscot Kernel Version => 2.6.12-gentoo-r1
01-16-06 17:11 fearofcarpet Note Added: 0007689
04-03-06 00:39 damscot File Added: ac97_codec.c
04-03-06 00:48 damscot Note Added: 0009074
04-03-06 00:51 damscot Note Edited: 0009074
04-03-06 00:57 damscot Note Edited: 0009074
04-07-06 19:45 tiwai Note Added: 0009153
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
^ permalink raw reply
* Re: Detecting deadlocks with hypervisor..
From: Anthony Liguori @ 2006-04-07 17:45 UTC (permalink / raw)
To: Keir Fraser; +Cc: rthelen, T S, Xen-devel, ewan, edwin.zhai
In-Reply-To: <10ef69c2c2859e3da371d0495a08625f@cl.cam.ac.uk>
Keir Fraser wrote:
>
> On 7 Apr 2006, at 18:11, T S wrote:
>
>> We took a look at the xc_linux_save() function ... and what we see is
>> that
>> the canonicalize action is actually done by the Dom-0 (and not by the
>> Dom-U);
>> Dom-0 is able to do this because it is able to access the page tables
>> of Dom-U
>> as well as the pfn2mfn list of the Dom-U. Based on this, we think the
>> Dom-0 can
>> actually save the 'context' of the deadlocked Dom-U. Please correct
>> me if this
>> claim is wrong.
>>
>> Also, given that Dom-0 can access the page tables and other
>> structures of the deadlocked guest,
>> can one of you be able to tell me what changes I need to do to
>> xm_linux_save( ) (and other related functions) to save the state of
>> the deadlocked guest without doing any handshake with the guest OS ?
>
> You can get at the consistent state of a guest by pausing it and then
> reading its state. However, the reason for the handshake is to ensure
> that the guest is not currently accessing pagetables or doing other
> critical operations. If it were then we could not safely translate its
> memory page addresses as it could have those addresses in places like
> its kernel stacks or register contexts, where they would not get
> translated and would cause a crash on restore.
I should add that this is a problem specific to writable page tables as
the guest must be aware of the actual physical pages that it is using.
With a VT/SVM guest or on an architecture that doesn't use writable page
tables, this isn't an issue.
Regards,
Anthony Liguoi
> -- Keir
>
^ permalink raw reply
* [ALSA - driver 0001995]: Master and PCM control missing
From: bugtrack @ 2006-04-07 17:47 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1995>
======================================================================
Reported By: baja
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 1995
Category: CORE - control
Reproducibility: always
Severity: major
Priority: normal
Status: new
Distribution:
Kernel Version:
======================================================================
Date Submitted: 04-03-2006 06:13 CEST
Last Modified: 04-07-2006 19:47 CEST
======================================================================
Summary: Master and PCM control missing
Description:
1.0.11rc3 had the PCM control but the Master control was missing. rc4 now
has both the PCM and the Master volume control missing.
Drivers loaded:
$ lsmod | grep snd
snd_seq_dummy 3396 0
snd_seq_oss 34240 0
snd_seq_midi_event 7232 1 snd_seq_oss
snd_seq 54528 5
snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 7952 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 42016 0
snd_mixer_oss 16320 1 snd_pcm_oss
snd_hda_intel 16028 1
snd_hda_codec 166536 1 snd_hda_intel
snd_pcm 88396 3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer 22600 2 snd_seq,snd_pcm
snd 59072 12
snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
snd_page_alloc 9360 2 snd_hda_intel,snd_pcm
Controls reported by alsa
$ amixer controls
numid=11,iface=MIXER,name='Headphone Playback Switch'
numid=4,iface=MIXER,name='Surround Playback Switch'
numid=3,iface=MIXER,name='Surround Playback Volume'
numid=7,iface=MIXER,name='Center Playback Switch'
numid=5,iface=MIXER,name='Center Playback Volume'
numid=8,iface=MIXER,name='LFE Playback Switch'
numid=6,iface=MIXER,name='LFE Playback Volume'
numid=17,iface=MIXER,name='Line Playback Switch'
numid=16,iface=MIXER,name='Line Playback Volume'
numid=19,iface=MIXER,name='CD Playback Switch'
numid=18,iface=MIXER,name='CD Playback Volume'
numid=13,iface=MIXER,name='Mic Playback Switch'
numid=12,iface=MIXER,name='Mic Playback Volume'
numid=21,iface=MIXER,name='Capture Switch'
numid=23,iface=MIXER,name='Capture Switch',index=1
numid=25,iface=MIXER,name='Capture Switch',index=2
numid=20,iface=MIXER,name='Capture Volume'
numid=22,iface=MIXER,name='Capture Volume',index=1
numid=24,iface=MIXER,name='Capture Volume',index=2
numid=29,iface=MIXER,name='IEC958 Playback Con Mask'
numid=30,iface=MIXER,name='IEC958 Playback Pro Mask'
numid=31,iface=MIXER,name='IEC958 Playback Default'
numid=32,iface=MIXER,name='IEC958 Playback Switch'
numid=34,iface=MIXER,name='IEC958 Capture Default'
numid=33,iface=MIXER,name='IEC958 Capture Switch'
numid=15,iface=MIXER,name='Front Mic Playback Switch'
numid=14,iface=MIXER,name='Front Mic Playback Volume'
numid=2,iface=MIXER,name='Front Playback Switch'
numid=1,iface=MIXER,name='Front Playback Volume'
numid=26,iface=MIXER,name='Input Source'
numid=27,iface=MIXER,name='Input Source',index=1
numid=28,iface=MIXER,name='Input Source',index=2
numid=10,iface=MIXER,name='Side Playback Switch'
numid=9,iface=MIXER,name='Side Playback Volume'
Assuming that that this is an issue since applications look for this
"generic" volume controls.
Thanks
Baja
======================================================================
----------------------------------------------------------------------
baja - 04-03-06 06:17
----------------------------------------------------------------------
By the way... I am using a MSi mother board:
MSI K8NGM2-FID Socket 939 NVIDIA GeForce 6150
ls pci reports:
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev
a2)
with snd_hda_intel...
----------------------------------------------------------------------
tiwai - 04-07-06 19:47
----------------------------------------------------------------------
The most important information is missing: Please upload
/proc/asound/card0/codec#* files.
Possibly there is no master volume or PCM control on your chip indeed, but
only volume for each output jack, Front, Surround, CLFE.
Issue History
Date Modified Username Field Change
======================================================================
04-03-06 06:13 baja New Issue
04-03-06 06:17 baja Note Added: 0009084
04-07-06 19:47 tiwai Note Added: 0009154
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
^ permalink raw reply
* DRM via bugs?
From: John Richard Moser @ 2006-04-07 17:49 UTC (permalink / raw)
To: linux-kernel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm not sure if this is mainline or ubuntu kernel and can't seem to find
any info on this (i.e. if it's known, fixed in 2.6.16, etc), so here's
some massive oopsen from my Athlon 64..
Feb 23 07:52:06 localhost kernel: [33790.181014] Oops: 0000 [1] PREEMPT SMP
Feb 23 07:52:06 localhost kernel: [33790.181017] CPU 0
Feb 23 07:52:06 localhost kernel: [33790.181020] Modules linked in:
af_packet nls_utf8 usb_storage rfcomm l2cap bluetooth powernow_k8
cpufreq_userspace cpufreq_stats freq_table cpufreq_powersave
cpufreq_ondemand cpufreq_conservative via drm video tc1100_wmi sony_acpi
pcc_acpi hotkey dev_acpi container button acpi_sbs battery i2c_acpi_ec
ac nls_iso8859_1 nls_cp437 vfat fat ext2 dm_mod md_mod sr_mod sbp2
parport_pc lp parport ipv6 psmouse serio_raw snd_emu10k1_synth
snd_emux_synth snd_seq_virmidi snd_seq_midi_emul tsdev snd_seq_dummy
snd_seq_oss snd_seq_midi snd_seq_midi_event snd_seq i2c_viapro
snd_emu10k1 snd_rawmidi snd_ac97_codec
snd_ac97_bus usblp snd_pcm_oss snd_mixer_oss i2c_core pcspkr rtc
ohci1394 ieee1394 snd_pcm snd_seq_device snd_timer snd_page_alloc
snd_util_mem snd_hwdep snd 8139cp 8139too mii soundcore shpchp usbhid
pci_hotplug sg evdev xfs exportfs ehci_hcd uhci_hcd usbcore ide_generic
ide_cd cdrom generic via82cxxx sd_mod sata_via
libata scsi_mod thermal processor fan capability commoncap vga16fb cf
Feb 23 07:52:06 localhost kernel: copyarea vgastate cfbimgblt
cfbfillrect fbcon
tileblit font bitblit softcursor
Feb 23 07:52:06 localhost kernel: [33790.181069] Pid: 4204, comm: Xorg
Not tainted 2.6.15-15-amd64-k8 #1
Feb 23 07:52:06 localhost kernel: [33790.181072] RIP:
0010:[_end+134037098/2132357120] <ffffffff88440e6a>{:via:via_mmFreeMem+10}
Feb 23 07:52:06 localhost kernel: [33790.181081] RSP:
0018:ffff8100348fddf8 EFLAGS: 00010202
Feb 23 07:52:06 localhost kernel: [33790.181085] RAX: 0000000000000001
RBX: ffff8100382e0000 RCX: 0000000000000000
Feb 23 07:52:06 localhost kernel: [33790.181088] RDX: 0000000000000001
RSI: ffff8100348fde18 RDI: 0000000005fdc280
Feb 23 07:52:06 localhost kernel: [33790.181091] RBP: 0000000000000002
R08: 0000000000000001 R09: 0000000000000001
Feb 23 07:52:06 localhost kernel: [33790.181094] R10: 0000000000000000
R11: 0000000000000000 R12: 0000000000000001
Feb 23 07:52:06 localhost kernel: [33790.181099] R13: ffff8100348fde18
R14: ffff810035238800 R15: ffff810031bc0000
Feb 23 07:52:06 localhost kernel: [33790.181103] FS:
00002aaaab7acce0(0000) GS:ffffffff80426800(0000) knlGS:0000000000000000
Feb 23 07:52:06 localhost kernel: [33790.181107] CS: 0010 DS: 0000 ES:
0000 CR0: 000000008005003b
Feb 23 07:52:06 localhost kernel: [33790.181110] CR2: 0000000005fdc288
CR3: 0000000035625000 CR4: 00000000000006e0
Feb 23 07:52:06 localhost kernel: [33790.181115] Process Xorg (pid:
4204, threadinfo ffff8100348fc000, task ffff81003ab688e0)
Feb 23 07:52:06 localhost kernel: [33790.181117] Stack: ffff8100382e0000
ffffffff8844151a 0000000100000000 ffff81002b346688
Feb 23 07:52:06 localhost kernel: [33790.181126] 0000000005fdc280
ffff81003bcdb4c0 ffff810035238800 0000000000000021
Feb 23 07:52:06 localhost kernel: [33790.181132] ffff81003bcdb4c0
ffff81003523884c
Feb 23 07:52:06 localhost kernel: [33790.181136] Call
Trace:<ffffffff8844151a>{:via:via_final_context+202}
<ffffffff8842a5a0>{:drm:drm_rmctx+128}
Feb 23 07:52:06 localhost kernel: [33790.181191]
<ffffffff801ab64c>{mntput_no_expire+28} <ffffffff8842a520>{:drm:drm_rmctx+0}
Feb 23 07:52:06 localhost kernel: [33790.181215]
<ffffffff8842b365>{:drm:drm_ioctl+405} <ffffffff801a1a09>{do_ioctl+105}
Feb 23 07:52:06 localhost kernel: [33790.181240]
<ffffffff801a1ceb>{vfs_ioctl+683} <ffffffff801ab64c>{mntput_no_expire+28}
Feb 23 07:52:06 localhost kernel: [33790.181251]
<ffffffff801a1d8c>{sys_ioctl+108} <ffffffff8010fede>{system_call+126}
Feb 23 07:52:06 localhost kernel: [33790.181268]
Feb 23 07:52:06 localhost kernel: [33790.181281]
Feb 23 07:52:06 localhost kernel: [33790.181282] Code: 48 8b 4f 08 48 85
c9 0f 84 99 00 00 00 e9 9b 00 00 00 66 66
Feb 23 07:52:06 localhost kernel: [33790.181291] RIP
<ffffffff88440e6a>{:via:via_mmFreeMem+10} RSP <ffff8100348fddf8>
Feb 23 07:52:06 localhost kernel: [33790.181300] CR2: 0000000005fdc288
Feb 23 07:52:06 localhost kernel: [33790.181303] <1>Unable to handle
kernel paging request at 0000000005fdc288 RIP:
Feb 23 07:52:06 localhost kernel: [33790.187430]
<ffffffff88440e6a>{:via:via_mmFreeMem+10}
Feb 23 07:52:06 localhost kernel: [33790.187444] PGD 39181067 PUD
39182067 PMD 0
Something else that happened as well:
[ 1378.035582] agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
[ 1378.035596] agpgart: Xorg tried to set rate=x12. Setting to AGP3 x8 mode.
[ 1378.035601] agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
[ 1378.035640] agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
[ 1378.252992] irq 201: nobody cared (try booting with the "irqpoll" option)
[ 1378.252998]
[ 1378.252999] Call Trace: <IRQ> <ffffffff80165aa5>{__report_bad_irq+53}
<ffffffff80165d1a>{note_interrupt+538}
[ 1378.253030] <ffffffff80165407>{__do_IRQ+215}
<ffffffff8011300f>{do_IRQ+47}
[ 1378.253052] <ffffffff80142af0>{ksoftirqd+0}
<ffffffff80110480>{ret_from_intr+0}
[ 1378.253061] <EOI> <ffffffff8030fd62>{thread_return+82}
<ffffffff8010e720>{default_idle+0}
[ 1378.253078] <ffffffff8010e758>{default_idle+56}
<ffffffff8010e846>{cpu_idle+150}
[ 1378.253090] <ffffffff80439895>{start_kernel+485}
<ffffffff80439286>{_sinittext+646}
[ 1378.253102]
[ 1378.253107] handlers:
[ 1378.253109] [<ffffffff8846c430>] (via_driver_irq_handler+0x0/0x170 [via])
[ 1378.253120] Disabling IRQ #201
- --
All content of all messages exchanged herein are left in the
Public Domain, unless otherwise explicitly stated.
Creative brains are a valuable, limited resource. They shouldn't be
wasted on re-inventing the wheel when there are so many fascinating
new problems waiting out there.
-- Eric Steven Raymond
We will enslave their women, eat their children and rape their
cattle!
-- Evil alien overlord from Blasto
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQIVAwUBRDamCws1xW0HCTEFAQJI4BAAk8TcxM0WDcT0MD/tcz5X9mH/dRIYykeA
tu/fM4dHFVKE+URLw5kjlokP7B7GRK7qvvmmJhV0EbbBSU2eEMIxbEpbaqmuQOa0
fRMOdegc+uWmUDxqOBLp7Iz4G9rC/PxkEoo2uwBiEUEw3aq/nNylHx4kDANkmTQj
0nDUWXgwefmippnsoUiRXpAP/3ttaRSpnaxfdKi0VAeXRw4t632EP6RI2RV57d4Y
CobyujHzMtaZfO5S3WtnAJzCH9UWR+YJ1VUgjG01ndzy3KYC82irvXDQ2R9bnue6
LNwAxJH3Nm1SMdO8d21muo8P3ND6DlCtZiHe0YQzMTxaRjAvhJKDXePdJa8XQT73
ogyJ2cZhnJGLvWlNc/zvqnk/3KwH+6GIv15TmDHyEIounYRXDoYiutxBFWqVfUE7
MJ3oIVUbyZTNaSvYaw9ailewMBQS44bP8j5e53Ulh6a3TLKIcmpmLSfTG2oKSILd
T6KzGP3RDPd69vYZk9Jzyt4KWHaI786edDaNva0FrzxBQ53+a6atyEgdugP3zZEn
3Uq9eFPReDrslawODOJRgDr/9IKSNxLebRcPExxrS/PZPIDmVDVcfk9sUeSmHfq7
JqDi6tHyhw1ULh902sW86783sl/migRbxYc/qi1l7RKJ7hdtAtxfT7aS2d8dKIaJ
YJptBx7ONJM=
=cC5h
-----END PGP SIGNATURE-----
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.