Re: 2.6.19.1: kobject_add failed for audio with -EEXIST

2006-12-24 Thread markus reichelt
* Takashi Iwai <[EMAIL PROTECTED]> wrote:

> At Tue, 12 Dec 2006 17:01:35 +0100,
> markus reichelt wrote:
> > 
> > Hi,
> > 
> > I'm still having this prob at boot. please advise.
> 
> It's the place trying to create OSS audio entry.
> What points /sys/class/sound/audio/device ?


sorry for the late answer, I totally missed your mail

I'm not sure I get what you are saying but this is what's there under
2.6.19.1

 ls -al /sys/class/sound/audio/
insgesamt 0
drwxr-xr-x  2 root root0 2006-12-24 16:12 .
drwxr-xr-x 22 root root0 2006-12-12 17:53 ..
-r--r--r--  1 root root 4096 2006-12-24 16:12 dev
lrwxrwxrwx  1 root root0 2006-12-24 16:12 subsystem ->
../../../class/sound
--w---  1 root root 4096 2006-12-24 16:12 uevent

ls -al /sys/class/sound/audio1/
insgesamt 0
drwxr-xr-x  2 root root0 2006-12-24 16:12 .
drwxr-xr-x 22 root root0 2006-12-12 17:53 ..
-r--r--r--  1 root root 4096 2006-12-24 16:12 dev
lrwxrwxrwx  1 root root0 2006-12-24 16:12 device ->
../../../devices/pci:00/:00:0e.0/:02:0a.1
lrwxrwxrwx  1 root root0 2006-12-24 16:12 subsystem ->
../../../class/sound
--w---  1 root root 4096 2006-12-24 16:12 uevent

these are the two entries /sys/class/sound/audio*


the only difference between the kernels before my last mail about the
issue is that with .19.1 i can use the sound hardware which was not
possible beforehand; it was simply dead after the borked dmesg.

if you need anything else, please dont heasitate to mail. thanks.

-- 
left blank, right bald


pgpTjf5a7di5o.pgp
Description: PGP signature


Re: 2.6.19.1: kobject_add failed for audio with -EEXIST

2006-12-19 Thread Takashi Iwai
At Tue, 12 Dec 2006 17:01:35 +0100,
markus reichelt wrote:
> 
> Hi,
> 
> I'm still having this prob at boot. please advise.

It's the place trying to create OSS audio entry.
What points /sys/class/sound/audio/device ?


Takashi

> 
> 
> Advanced Linux Sound Architecture Driver Version 1.0.13 (Tue Nov 28
> 14:07:24 2006 UTC).
> ACPI: PCI Interrupt :02:0a.1[A] -> Link [LNKA] -> GSI 19 (level,
> low) -> IRQ 16
> ACPI: PCI Interrupt Link [LAUI] enabled at IRQ 21
> ACPI: PCI Interrupt :00:06.0[A] -> Link [LAUI] -> GSI 21 (level,
> low) -> IRQ 19
> PCI: Setting latency timer of device :00:06.0 to 64
> intel8x0_measure_ac97_clock: measured 60001 usecs
> intel8x0: clocking to 55385
> kobject_add failed for audio with -EEXIST, don't try to register
> things with the same name in the same directory.
>  [] kobject_add+0x107/0x110
>  [] class_device_add+0xa3/0x2a9
>  [] class_device_create+0x79/0x8f
>  [] sound_insert_unit+0xe8/0xfb
>  [] register_sound_special_device+0x111/0x119
>  [] snd_register_oss_device+0x107/0x15d
>  [] register_oss_dsp+0x4d/0x76
>  [] kobject_uevent+0x391/0x399
>  [] snd_pcm_oss_register_minor+0x2d/0xcc
>  [] vsnprintf+0x495/0x4d3
>  [] snd_timer_dev_register+0xbe/0xc3
>  [] snd_device_register+0x32/0x53
>  [] snd_pcm_timer_init+0xc0/0xf3
>  [] snd_add_device_sysfs_file+0x4b/0x52
>  [] snd_pcm_dev_register+0x181/0x199
>  [] snd_device_register_all+0x2e/0x42
>  [] snd_card_register+0x9/0xaa
>  [] snd_intel8x0_probe+0x170/0x195
>  [] pci_call_probe+0xa/0xc
>  [] __pci_device_probe+0x2e/0x3f
>  [] pci_device_probe+0x1e/0x30
>  [] really_probe+0x38/0xe0
>  [] pci_match_device+0xf/0xc3
>  [] driver_probe_device+0xa3/0xaf
>  [] klist_next+0x52/0x8e
>  [] __driver_attach+0x0/0x75
>  [] __driver_attach+0x44/0x75
>  [] bus_for_each_dev+0x35/0x59
>  [] driver_attach+0x14/0x16
>  [] __driver_attach+0x0/0x75
>  [] bus_add_driver+0x5a/0xe0
>  [] __pci_register_driver+0x5d/0x6d
>  [] alsa_pcm_oss_init+0x6e/0x7c
>  [] do_initcalls+0x58/0xf5
>  [] proc_mkdir_mode+0x3e/0x51
>  [] register_irq_proc+0x5f/0x6b
>  [] sys_ioprio_get+0x11e/0x182
>  [] init+0x0/0x153
>  [] init+0x46/0x153
>  [] kernel_thread_helper+0x7/0x10
>  ===
> PM: Adding info for ac97:0-0:ALC850
> ALSA device list:
>   #0: NVidia CK8S with ALC850 at 0xfebfb000, irq 19
>   #1: Brooktree Bt878 at 0xf57ff000, irq 16
> 
>  cat /proc/interrupts
>CPU0
>   0:  17552   IO-APIC-edge  timer
>   1:382   IO-APIC-edge  i8042
>   6:  3   IO-APIC-edge  floppy
>   8:  1   IO-APIC-edge  rtc
>   9:  0   IO-APIC-fasteoi   acpi
>  12:   2847   IO-APIC-edge  i8042
>  14:  25871   IO-APIC-edge  ide0
>  15:878   IO-APIC-edge  ide1
>  16:   8775   IO-APIC-fasteoi   bttv0, Bt87x audio,
>  [EMAIL PROTECTED]::03:00.0
>  17:  19414   IO-APIC-fasteoi   ohci_hcd:usb3, eth0
>  18:  0   IO-APIC-fasteoi   eth1
>  19:   5949   IO-APIC-fasteoi   ehci_hcd:usb1, NVidia CK8S
>  20:  0   IO-APIC-fasteoi   ohci_hcd:usb2
> NMI:  0
> LOC:  17520
> ERR:  1
> MIS:  0
> 
>  lspci -v
> 00:00.0 Host bridge: nVidia Corporation nForce3 250Gb Host Bridge
> (rev a1)
> Subsystem: ASUSTeK Computer Inc. Unknown device 813f
> Flags: bus master, 66MHz, fast devsel, latency 0
> Memory at f800 (32-bit, prefetchable) [size=64M]
> Capabilities: [44] HyperTransport: Slave or Primary Interface
> Capabilities: [c0] AGP version 2.0
> 
> 00:01.0 ISA bridge: nVidia Corporation nForce3 250Gb LPC Bridge (rev
> a2)
> Subsystem: ASUSTeK Computer Inc. Unknown device 813f
> Flags: bus master, 66MHz, fast devsel, latency 0
> 
> 00:01.1 SMBus: nVidia Corporation nForce 250Gb PCI System Management
> (rev a1)
> Subsystem: ASUSTeK Computer Inc. Unknown device 813f
> Flags: 66MHz, fast devsel
> I/O ports at 5080 [size=32]
> I/O ports at 5000 [size=64]
> I/O ports at 5040 [size=64]
> Capabilities: [44] Power Management version 2
> 
> 00:02.0 USB Controller: nVidia Corporation CK8S USB Controller (rev
> a1) (prog-if 10 [OHCI])
> Subsystem: ASUSTeK Computer Inc. Unknown device 813f
> Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 20
> Memory at febfd000 (32-bit, non-prefetchable) [size=4K]
> Capabilities: [44] Power Management version 2
> 
> 00:02.1 USB Controller: nVidia Corporation CK8S USB Controller (rev
> a1) (prog-if 10 [OHCI])
> Subsystem: ASUSTeK Computer Inc. Unknown device 813f
> Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 17
> Memory at febfe000 (32-bit, non-prefetchable) [size=4K]
> Capabilities: [44] Power Management version 2
> 
> 00:02.2 USB Controller: nVidia Corporation nForce3 EHCI USB 2.0
> Controller (rev a2) (prog-if 20 [EHCI])
> Subsystem: ASUSTeK Computer Inc. Unknown device 813f
> Flags: bus master, 66MHz, fast devsel,

2.6.19.1: kobject_add failed for audio with -EEXIST

2006-12-12 Thread markus reichelt
Hi,

I'm still having this prob at boot. please advise.


Advanced Linux Sound Architecture Driver Version 1.0.13 (Tue Nov 28
14:07:24 2006 UTC).
ACPI: PCI Interrupt :02:0a.1[A] -> Link [LNKA] -> GSI 19 (level,
low) -> IRQ 16
ACPI: PCI Interrupt Link [LAUI] enabled at IRQ 21
ACPI: PCI Interrupt :00:06.0[A] -> Link [LAUI] -> GSI 21 (level,
low) -> IRQ 19
PCI: Setting latency timer of device :00:06.0 to 64
intel8x0_measure_ac97_clock: measured 60001 usecs
intel8x0: clocking to 55385
kobject_add failed for audio with -EEXIST, don't try to register
things with the same name in the same directory.
 [] kobject_add+0x107/0x110
 [] class_device_add+0xa3/0x2a9
 [] class_device_create+0x79/0x8f
 [] sound_insert_unit+0xe8/0xfb
 [] register_sound_special_device+0x111/0x119
 [] snd_register_oss_device+0x107/0x15d
 [] register_oss_dsp+0x4d/0x76
 [] kobject_uevent+0x391/0x399
 [] snd_pcm_oss_register_minor+0x2d/0xcc
 [] vsnprintf+0x495/0x4d3
 [] snd_timer_dev_register+0xbe/0xc3
 [] snd_device_register+0x32/0x53
 [] snd_pcm_timer_init+0xc0/0xf3
 [] snd_add_device_sysfs_file+0x4b/0x52
 [] snd_pcm_dev_register+0x181/0x199
 [] snd_device_register_all+0x2e/0x42
 [] snd_card_register+0x9/0xaa
 [] snd_intel8x0_probe+0x170/0x195
 [] pci_call_probe+0xa/0xc
 [] __pci_device_probe+0x2e/0x3f
 [] pci_device_probe+0x1e/0x30
 [] really_probe+0x38/0xe0
 [] pci_match_device+0xf/0xc3
 [] driver_probe_device+0xa3/0xaf
 [] klist_next+0x52/0x8e
 [] __driver_attach+0x0/0x75
 [] __driver_attach+0x44/0x75
 [] bus_for_each_dev+0x35/0x59
 [] driver_attach+0x14/0x16
 [] __driver_attach+0x0/0x75
 [] bus_add_driver+0x5a/0xe0
 [] __pci_register_driver+0x5d/0x6d
 [] alsa_pcm_oss_init+0x6e/0x7c
 [] do_initcalls+0x58/0xf5
 [] proc_mkdir_mode+0x3e/0x51
 [] register_irq_proc+0x5f/0x6b
 [] sys_ioprio_get+0x11e/0x182
 [] init+0x0/0x153
 [] init+0x46/0x153
 [] kernel_thread_helper+0x7/0x10
 ===
PM: Adding info for ac97:0-0:ALC850
ALSA device list:
  #0: NVidia CK8S with ALC850 at 0xfebfb000, irq 19
  #1: Brooktree Bt878 at 0xf57ff000, irq 16

 cat /proc/interrupts
   CPU0
  0:  17552   IO-APIC-edge  timer
  1:382   IO-APIC-edge  i8042
  6:  3   IO-APIC-edge  floppy
  8:  1   IO-APIC-edge  rtc
  9:  0   IO-APIC-fasteoi   acpi
 12:   2847   IO-APIC-edge  i8042
 14:  25871   IO-APIC-edge  ide0
 15:878   IO-APIC-edge  ide1
 16:   8775   IO-APIC-fasteoi   bttv0, Bt87x audio,
 [EMAIL PROTECTED]::03:00.0
 17:  19414   IO-APIC-fasteoi   ohci_hcd:usb3, eth0
 18:  0   IO-APIC-fasteoi   eth1
 19:   5949   IO-APIC-fasteoi   ehci_hcd:usb1, NVidia CK8S
 20:  0   IO-APIC-fasteoi   ohci_hcd:usb2
NMI:  0
LOC:  17520
ERR:  1
MIS:  0

 lspci -v
00:00.0 Host bridge: nVidia Corporation nForce3 250Gb Host Bridge
(rev a1)
Subsystem: ASUSTeK Computer Inc. Unknown device 813f
Flags: bus master, 66MHz, fast devsel, latency 0
Memory at f800 (32-bit, prefetchable) [size=64M]
Capabilities: [44] HyperTransport: Slave or Primary Interface
Capabilities: [c0] AGP version 2.0

00:01.0 ISA bridge: nVidia Corporation nForce3 250Gb LPC Bridge (rev
a2)
Subsystem: ASUSTeK Computer Inc. Unknown device 813f
Flags: bus master, 66MHz, fast devsel, latency 0

00:01.1 SMBus: nVidia Corporation nForce 250Gb PCI System Management
(rev a1)
Subsystem: ASUSTeK Computer Inc. Unknown device 813f
Flags: 66MHz, fast devsel
I/O ports at 5080 [size=32]
I/O ports at 5000 [size=64]
I/O ports at 5040 [size=64]
Capabilities: [44] Power Management version 2

00:02.0 USB Controller: nVidia Corporation CK8S USB Controller (rev
a1) (prog-if 10 [OHCI])
Subsystem: ASUSTeK Computer Inc. Unknown device 813f
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 20
Memory at febfd000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2

00:02.1 USB Controller: nVidia Corporation CK8S USB Controller (rev
a1) (prog-if 10 [OHCI])
Subsystem: ASUSTeK Computer Inc. Unknown device 813f
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 17
Memory at febfe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2

00:02.2 USB Controller: nVidia Corporation nForce3 EHCI USB 2.0
Controller (rev a2) (prog-if 20 [EHCI])
Subsystem: ASUSTeK Computer Inc. Unknown device 813f
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 19
Memory at febffc00 (32-bit, non-prefetchable) [size=256]
Capabilities: [44] Debug port
Capabilities: [80] Power Management version 2

00:05.0 Bridge: nVidia Corporation CK8S Ethernet Controller (rev a2)
Subsystem: ASUSTeK Computer Inc. Unknown device 80a7
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 17
Memory at febfc000 (32-bit, non-prefe