Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ALSA not working
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
jonathanhaddock
n00b
n00b


Joined: 24 Mar 2006
Posts: 19

PostPosted: Fri Mar 24, 2006 8:57 am    Post subject: ALSA not working Reply with quote

Hello folks,

I'd like to preface this by saying that I have used the search button and have read several threads, all saying something different, and am completely lost.

The situation is thus:

I have an Acer Aspire 3003LC laptop with a SiS AC97 card.
Following the instructions from another thread I built the driver for the card into the kernel - to no avail.
I am using genkernel and alsa was compiled in.

I did an emerge alsa-utils

When I run alsa mixer:

Quote:

alsamixer: function snd_ctl_open failed for default: No such device


and ls /dev/dsp returns:
Quote:

edapont jon # ls /dev/dsp
/dev/dsp


And now I really am stuck.

If anybody knows how to do this I'd really appreciate the help! Been trying to get this working for about 2 weeks.

Thanks in advance
Jonathan
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54550
Location: 56N 3W

PostPosted: Fri Mar 24, 2006 9:28 am    Post subject: Reply with quote

jonathanhaddock,

Welcome to gentoo. Your /dev/dsp is not a real device file, its a symbolic link to /dev/sound/dsp, which may or may not be present.
This is an excellent ALSA guide to which I would only add, try kernel ALSA in place of
Code:
emerge alsa-drivers alsa-oss
otherwise the guide is good.

Please post the output of
Code:
lspci
ls -l /dev/snd
ls -l /dev/sound
ru-update -s | grep alsa
so we can see where you have got to.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
J3N7iL
Apprentice
Apprentice


Joined: 24 Sep 2005
Posts: 169
Location: Chicago

PostPosted: Fri Mar 24, 2006 12:55 pm    Post subject: Reply with quote

Did you install the correct sound module in the kernel? I have the same laptop and havent had any problems.
As jonathanhaddock stated more info will be needed.
Back to top
View user's profile Send private message
jonathanhaddock
n00b
n00b


Joined: 24 Mar 2006
Posts: 19

PostPosted: Fri Mar 24, 2006 3:30 pm    Post subject: Reply with quote

@Neddyseagoon

Thanks for the welcome

when I emerge:
Quote:

edapont jon # emerge alsa-drivers alsa-oss
--- Invalid atom in /etc/portage/package.use: dev-lang/php-5.1.2
Calculating dependencies
emerge: there are no ebuilds to satisfy "alsa-drivers".


If anybody knows about that invalid atom problem that could be useful to sort out too...

Quote:

lspci gives:
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 760/M760 Host (rev 03)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SG86C202
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] (rev 25)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:02.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller (rev a0)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
00:06.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760/761 PCI/AGP VGA Display Adapter
02:00.0 Network controller: Texas Instruments ACX 111 54Mbps Wireless Interface


The other things:
Quote:

edapont jon # ls -l /dev/sound
ls: /dev/sound: No such file or directory
edapont jon # ls -l /dev/snd
ls: /dev/snd: No such file or directory
edapont jon # ru-update -s | grep alsa
bash: ru-update: command not found


@J3N7iL

I used the snd_intel8x0 driver :

Quote:

Symbol: SND_INTEL8X0 [=y] │
│ Prompt: Intel/SiS/nVidia/AMD/ALi AC97 Controlle
│ Defined at sound/pci/Kconfig:469
│ Depends on: !M68K && SOUND!=n && PCI && SND
│ Location:
│ -> Device Drivers
│ -> Sound
│ -> Advanced Linux Sound Architecture
│ -> PCI devices
│ Selects: SND_AC97_CODEC


Hope this helps, thanks for your help so far
Back to top
View user's profile Send private message
J3N7iL
Apprentice
Apprentice


Joined: 24 Sep 2005
Posts: 169
Location: Chicago

PostPosted: Fri Mar 24, 2006 3:41 pm    Post subject: Reply with quote

first it's

Code:
emerge alsa alsa-driver alsa-tools alsa-utils alsa-oss



then

Code:
modprobe snd_intel8x0


next

Code:
alsaconf


show what the output of alsaconf is (use the shit + pgup)
Back to top
View user's profile Send private message
Diesel_Fuel
n00b
n00b


Joined: 09 Oct 2005
Posts: 59

PostPosted: Fri Mar 24, 2006 3:45 pm    Post subject: Reply with quote

jonathanhaddock wrote:
@Neddyseagoon

Thanks for the welcome

when I emerge:
Quote:

edapont jon # emerge alsa-drivers alsa-oss
--- Invalid atom in /etc/portage/package.use: dev-lang/php-5.1.2
Calculating dependencies
emerge: there are no ebuilds to satisfy "alsa-drivers".


If anybody knows about that invalid atom problem that could be useful to sort out too...

Quote:

lspci gives:
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 760/M760 Host (rev 03)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SG86C202
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] (rev 25)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:02.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller (rev a0)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
00:06.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760/761 PCI/AGP VGA Display Adapter
02:00.0 Network controller: Texas Instruments ACX 111 54Mbps Wireless Interface


The other things:
Quote:

edapont jon # ls -l /dev/sound
ls: /dev/sound: No such file or directory
edapont jon # ls -l /dev/snd
ls: /dev/snd: No such file or directory
edapont jon # ru-update -s | grep alsa
bash: ru-update: command not found


@J3N7iL

I used the snd_intel8x0 driver :

Quote:

Symbol: SND_INTEL8X0 [=y] │
│ Prompt: Intel/SiS/nVidia/AMD/ALi AC97 Controlle
│ Defined at sound/pci/Kconfig:469
│ Depends on: !M68K && SOUND!=n && PCI && SND
│ Location:
│ -> Device Drivers
│ -> Sound
│ -> Advanced Linux Sound Architecture
│ -> PCI devices
│ Selects: SND_AC97_CODEC


Hope this helps, thanks for your help so far


Hey, I can't be of much help here cause I'm having problem with my sound too, but I can answer your problem "emerge alsa-drivers" not working. It should be "emerge alsa-driver" without the "s" on the end.
Back to top
View user's profile Send private message
J3N7iL
Apprentice
Apprentice


Joined: 24 Sep 2005
Posts: 169
Location: Chicago

PostPosted: Fri Mar 24, 2006 4:22 pm    Post subject: Reply with quote

jonathanhaddock

lets try to get a twofer outta this, I have had every problem imaginable with sound and have fixed it one way or another, let me know your issue and i bet i can help
Back to top
View user's profile Send private message
Diesel_Fuel
n00b
n00b


Joined: 09 Oct 2005
Posts: 59

PostPosted: Fri Mar 24, 2006 5:41 pm    Post subject: Reply with quote

I'm not trying to take over you're thread here, but it looks as someone here may know what he is doing AND be able to help out. So far my other post hasn't got any replies...

So I have alsa-driver and alsa-oss installed. Using alsamixer, I unmuted my sound, etc. and it is working. When I have my headset on if I turn my mic volume up high enough I can hear myself though my headset. When I IM someone with GAIM, it does give the little message beep. However when I try to play UT2004 I get the following message:

Code:
dneufeld@peterbilt ~ $ ut2004
open /dev/[sound/]dsp: Permission denied


And I have added myself to the audio group. Thanks in advance.

I know I'm not supposed to run games, etc. as root but here's what happens when I do try to run UT2004 as root:

Code:
peterbilt dneufeld # /opt/ut2004/ut2004
ioctl SETFRAGMENT grab: Inappropriate ioctl for device
ioctl SETFRAGMENT: Inappropriate ioctl for device
WARNING: ALC_EXT_capture is subject to change!
ut2004-bin: arch/linux/lin_dsp.c:567: native_blitbuffer: Assertion `0' failed.
Signal: SIGIOT [iot trap]
Aborting.


And THEN (sorry to keep adding) after I reboot and try UT2004 again, I get the following message:

Code:
dneufeld@peterbilt ~ $ ut2004
open /dev/[sound/]dsp: No such file or directory


And the same then when I try it in root now:

Code:
peterbilt dneufeld # /opt/ut2004/ut2004
open /dev/[sound/]dsp: No such file or directory
Back to top
View user's profile Send private message
J3N7iL
Apprentice
Apprentice


Joined: 24 Sep 2005
Posts: 169
Location: Chicago

PostPosted: Fri Mar 24, 2006 5:49 pm    Post subject: Reply with quote

give the results of

dmesg
lspci

are you running KDE, Gnome or another DE?

Also I only had good results running UT from the install cd and not emergeing it. The cd installs it to a different folder then emerge does for what ever reason. That really doesent have anything to do with it, but im sure thier are other things that the cd installer does.
Back to top
View user's profile Send private message
Diesel_Fuel
n00b
n00b


Joined: 09 Oct 2005
Posts: 59

PostPosted: Sat Mar 25, 2006 3:30 pm    Post subject: Reply with quote

Well I'm not going to let this thread die because I see 2 people who still do not have their issues resolved. My window manager is gnome. Here are the messages you asked for:

dmesg:

Code:

peterbilt dneufeld # dmesg
Bootdata ok (command line is )
Linux version 2.6.15-gentoo-r5 (root@livecd) (gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)) #1 SMP Fri Mar 17 19:19:26 EST 2006
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f400 (usable)
 BIOS-e820: 000000000009f400 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000007fee0000 (usable)
 BIOS-e820: 000000007fee0000 - 000000007fee3000 (ACPI NVS)
 BIOS-e820: 000000007fee3000 - 000000007fef0000 (ACPI data)
 BIOS-e820: 000000007fef0000 - 000000007ff00000 (reserved)
 BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
 BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
ACPI: RSDP (v000 Nvidia                                ) @ 0x00000000000f7ff0
ACPI: RSDT (v001 Nvidia AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x000000007fee3040
ACPI: FADT (v001 Nvidia AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x000000007fee30c0
ACPI: SRAT (v001 AMD    HAMMER   0x00000001 AMD  0x00000001) @ 0x000000007fee93c0
ACPI: MCFG (v001 Nvidia AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x000000007fee94c0
ACPI: MADT (v001 Nvidia AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x000000007fee9300
ACPI: DSDT (v001 NVIDIA AWRDACPI 0x00001000 MSFT 0x0100000e) @ 0x0000000000000000
SRAT: PXM 0 -> APIC 0 -> Node 0
SRAT: PXM 0 -> APIC 1 -> Node 0
SRAT: Node 0 PXM 0 0-a0000
SRAT: Node 0 PXM 0 0-80000000
Using 63 for the hash shift.
Bootmem setup node 0 0000000000000000-000000007fee0000
On node 0 totalpages: 515328
  DMA zone: 2532 pages, LIFO batch:0
  DMA32 zone: 512796 pages, LIFO batch:31
  Normal zone: 0 pages, LIFO batch:0
  HighMem zone: 0 pages, LIFO batch:0
Nvidia board detected. Ignoring ACPI timer override.
ACPI: PM-Timer IO Port: 0x1008
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 15:3 APIC version 16
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Processor #1 15:3 APIC version 16
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: INT_SRC_OVR (bus 0 bus_irq 14 global_irq 14 high edge)
ACPI: INT_SRC_OVR (bus 0 bus_irq 15 global_irq 15 high edge)
ACPI: IRQ9 used by override.
ACPI: IRQ14 used by override.
ACPI: IRQ15 used by override.
Setting APIC routing to physical flat
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 80000000 (gap: 7ff00000:60100000)
Checking aperture...
CPU 0: aperture @ 1444000000 size 32 MB
Aperture from northbridge cpu 0 too small (32 MB)
No AGP bridge found
SMP: Allowing 3 CPUs, 1 hotplug CPUs
Built 1 zonelists
Kernel command line:
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 131072 bytes)
time.c: Using 3.579545 MHz PM timer.
time.c: Detected 2210.223 MHz processor.
Console: colour VGA+ 80x25
Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
Memory: 2057936k/2096000k available (3206k kernel code, 37676k reserved, 1523k data, 200k init)
Calibrating delay using timer specific routine.. 4424.96 BogoMIPS (lpj=8849935)
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 0(2) -> Node 0 -> Core 0
mtrr: v2.0 (20020519)
Using local APIC timer interrupts.
Detected 12.558 MHz APIC timer.
Booting processor 1/2 APIC 0x1
Initializing CPU#1
Calibrating delay using timer specific routine.. 4420.68 BogoMIPS (lpj=8841369)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 1(2) -> Node 0 -> Core 1
AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ stepping 02
CPU 1: Syncing TSC to CPU 0.
CPU 1: synchronized TSC with CPU 0 (last diff 0 cycles, maxerr 551 cycles)
Brought up 2 CPUs
Disabling vsyscall due to use of PM timer
time.c: Using PM based timekeeping.
testing NMI watchdog ... OK.
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using configuration type 1
PCI: Using MMCONFIG at e0000000
ACPI: Subsystem revision 20050902
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
PCI: Transparent bridge - 0000:00:09.0
Boot video device is 0000:05:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB0._PRT]
ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 *5 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNK2] (IRQs 3 4 5 7 9 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNK3] (IRQs *3 4 5 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNK4] (IRQs 3 4 *5 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNK5] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LUBA] (IRQs 3 4 5 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LUBB] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LMAC] (IRQs 3 4 5 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LACI] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LMCI] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LSMB] (IRQs 3 4 5 7 9 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LUB2] (IRQs *3 4 5 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LIDE] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LSID] (IRQs 3 4 5 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LFID] (IRQs 3 4 5 7 9 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LPCA] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [APC1] (IRQs 16) *0, disabled.
ACPI: PCI Interrupt Link [APC2] (IRQs 17) *0, disabled.
ACPI: PCI Interrupt Link [APC3] (IRQs 18) *0, disabled.
ACPI: PCI Interrupt Link [APC4] (IRQs 19) *0, disabled.
ACPI: PCI Interrupt Link [APC5] (IRQs *16), disabled.
ACPI: PCI Interrupt Link [APCF] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [APCG] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [APCH] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [APCJ] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [APCK] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [APCS] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [APCL] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [APCZ] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [APSI] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [APSJ] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [APCP] (IRQs 20 21 22 23) *0, disabled.
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
PCI-DMA: Disabling IOMMU.
PCI: Bridge: 0000:00:09.0
  IO window: a000-bfff
  MEM window: fde00000-fdefffff
  PREFETCH window: fdf00000-fdffffff
PCI: Bridge: 0000:00:0b.0
  IO window: 9000-9fff
  MEM window: fdd00000-fddfffff
  PREFETCH window: fdc00000-fdcfffff
PCI: Bridge: 0000:00:0c.0
  IO window: 8000-8fff
  MEM window: fdb00000-fdbfffff
  PREFETCH window: fda00000-fdafffff
PCI: Bridge: 0000:00:0d.0
  IO window: 7000-7fff
  MEM window: fd900000-fd9fffff
  PREFETCH window: fd800000-fd8fffff
PCI: Bridge: 0000:00:0e.0
  IO window: 6000-6fff
  MEM window: fa000000-fcffffff
  PREFETCH window: d0000000-dfffffff
PCI: Setting latency timer of device 0000:00:09.0 to 64
PCI: Setting latency timer of device 0000:00:0b.0 to 64
PCI: Setting latency timer of device 0000:00:0c.0 to 64
PCI: Setting latency timer of device 0000:00:0d.0 to 64
PCI: Setting latency timer of device 0000:00:0e.0 to 64
IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $
Total HugeTLB memory allocated, 0
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered
0000:00:02.1 EHCI: early BIOS handoff failed (BIOS bug ?)
Real Time Clock Driver v1.12
Software Watchdog Timer: 0.07 initialized. soft_noboot=0 soft_margin=60 sec (nowayout= 0)
Linux agpgart interface v0.101 (c) Dave Jones
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
ACPI: Fan [FAN] (on)
ACPI: Thermal Zone [THRM] (33 C)
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
mice: PS/2 mouse device common for all mice
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Intel(R) PRO/1000 Network Driver - version 6.1.16-k2
Copyright (c) 1999-2005 Intel Corporation.
e100: Intel(R) PRO/100 Network Driver, 3.4.14-k4-NAPI
e100: Copyright(c) 1999-2005 Intel Corporation
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.48.
ACPI: PCI Interrupt Link [APCH] enabled at IRQ 23
GSI 16 sharing vector 0xB1 and IRQ 16
ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [APCH] -> GSI 23 (level, low) -> IRQ 177
PCI: Setting latency timer of device 0000:00:0a.0 to 64
input: AT Translated Set 2 keyboard as /class/input/input0
input: PS2++ Logitech MX Mouse as /class/input/input1
eth0: forcedeth.c: subsystem: 010de:cb84 bound to 0000:00:0a.0
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
netconsole: not configured, aborting
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE-CK804: IDE controller at PCI slot 0000:00:06.0
NFORCE-CK804: chipset revision 162
NFORCE-CK804: not 100% native mode: will probe irqs later
NFORCE-CK804: BIOS didn't set cable bits correctly. Enabling workaround.
NFORCE-CK804: 0000:00:06.0 (rev a2) UDMA133 controller
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
Probing IDE interface ide1...
hdc: LITE-ON DVDRW SOHW-1693S, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide0...
hdc: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
libata version 1.20 loaded.
sata_nv 0000:00:07.0: version 0.8
ACPI: PCI Interrupt Link [APSI] enabled at IRQ 22
GSI 17 sharing vector 0xB9 and IRQ 17
ACPI: PCI Interrupt 0000:00:07.0[A] -> Link [APSI] -> GSI 22 (level, low) -> IRQ 185
PCI: Setting latency timer of device 0000:00:07.0 to 64
ata1: SATA max UDMA/133 cmd 0x9F0 ctl 0xBF2 bmdma 0xDC00 irq 185
ata2: SATA max UDMA/133 cmd 0x970 ctl 0xB72 bmdma 0xDC08 irq 185
ata1: dev 0 cfg 49:2f00 82:346b 83:7fe9 84:4773 85:3469 86:3c01 87:4763 88:407f
ata1: dev 0 ATA-7, max UDMA/133, 160836480 sectors: LBA48
nv_sata: Primary device added
nv_sata: Primary device removed
nv_sata: Secondary device added
nv_sata: Secondary device removed
ata1: dev 0 configured for UDMA/133
scsi0 : sata_nv
ata2: no device found (phy stat 00000000)
scsi1 : sata_nv
  Vendor: ATA       Model: HDS728080PLA380   Rev: PF2O
  Type:   Direct-Access                      ANSI SCSI revision: 05
ACPI: PCI Interrupt Link [APSJ] enabled at IRQ 21
GSI 18 sharing vector 0xC1 and IRQ 18
ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [APSJ] -> GSI 21 (level, low) -> IRQ 193
PCI: Setting latency timer of device 0000:00:08.0 to 64
ata3: SATA max UDMA/133 cmd 0x9E0 ctl 0xBE2 bmdma 0xC800 irq 193
ata4: SATA max UDMA/133 cmd 0x960 ctl 0xB62 bmdma 0xC808 irq 193
ata3: no device found (phy stat 00000000)
scsi2 : sata_nv
ata4: no device found (phy stat 00000000)
scsi3 : sata_nv
SCSI device sda: 160836480 512-byte hdwr sectors (82348 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 160836480 512-byte hdwr sectors (82348 MB)
SCSI device sda: drive cache: write back
 sda: sda1 sda2 sda3
sd 0:0:0:0: Attached scsi disk sda
Fusion MPT base driver 3.03.04
Copyright (c) 1999-2005 LSI Logic Corporation
Fusion MPT SPI Host driver 3.03.04
ACPI: PCI Interrupt Link [APCL] enabled at IRQ 20
GSI 19 sharing vector 0xC9 and IRQ 19
ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [APCL] -> GSI 20 (level, low) -> IRQ 201
PCI: Setting latency timer of device 0000:00:02.1 to 64
ehci_hcd 0000:00:02.1: EHCI Host Controller
ehci_hcd 0000:00:02.1: debug port 1
PCI: cache line size of 64 is not supported by device 0000:00:02.1
ehci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:02.1: irq 201, io mem 0xfeb00000
ehci_hcd 0000:00:02.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 10 ports detected
ACPI: PCI Interrupt Link [APC2] enabled at IRQ 17
GSI 20 sharing vector 0xD1 and IRQ 20
ACPI: PCI Interrupt 0000:01:07.2[C] -> Link [APC2] -> GSI 17 (level, low) -> IRQ 209
ehci_hcd 0000:01:07.2: EHCI Host Controller
ehci_hcd 0000:01:07.2: new USB bus registered, assigned bus number 2
ehci_hcd 0000:01:07.2: irq 209, io mem 0xfdefd000
ehci_hcd 0000:01:07.2: USB 2.0 started, EHCI 0.95, driver 10 Dec 2004
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 5 ports detected
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ACPI: PCI Interrupt Link [APCF] enabled at IRQ 23
ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [APCF] -> GSI 23 (level, low) -> IRQ 177
PCI: Setting latency timer of device 0000:00:02.0 to 64
ohci_hcd 0000:00:02.0: OHCI Host Controller
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 3
ohci_hcd 0000:00:02.0: irq 177, io mem 0xfe02f000
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 10 ports detected
ACPI: PCI Interrupt Link [APC4] enabled at IRQ 19
GSI 21 sharing vector 0xD9 and IRQ 21
ACPI: PCI Interrupt 0000:01:07.0[A] -> Link [APC4] -> GSI 19 (level, low) -> IRQ 217
ohci_hcd 0000:01:07.0: OHCI Host Controller
ohci_hcd 0000:01:07.0: new USB bus registered, assigned bus number 4
ohci_hcd 0000:01:07.0: irq 217, io mem 0xfdeff000
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 3 ports detected
ACPI: PCI Interrupt Link [APC1] enabled at IRQ 16
GSI 22 sharing vector 0xE1 and IRQ 22
ACPI: PCI Interrupt 0000:01:07.1[B] -> Link [APC1] -> GSI 16 (level, low) -> IRQ 225
ohci_hcd 0000:01:07.1: OHCI Host Controller
ohci_hcd 0000:01:07.1: new USB bus registered, assigned bus number 5
ohci_hcd 0000:01:07.1: irq 225, io mem 0xfdefe000
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
USB Universal Host Controller Interface driver v2.3
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
Advanced Linux Sound Architecture Driver Version 1.0.10rc3 (Mon Nov 07 13:30:21 2005 UTC).
ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18
GSI 23 sharing vector 0xE9 and IRQ 23
ACPI: PCI Interrupt 0000:01:06.0[A] -> Link [APC3] -> GSI 18 (level, low) -> IRQ 233
Audigy2 value:Special config.
usbcore: registered new driver snd-usb-audio
ALSA device list:
  #0: Audigy 2 Value [SB0400] (rev.0, serial:0x10011102) at 0xbc00, irq 233
oprofile: using NMI interrupt.
NET: Registered protocol family 2
IP route cache hash table entries: 65536 (order: 7, 524288 bytes)
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
powernow-k8: Found 2 AMD Athlon 64 / Opteron processors (version 1.50.4)
powernow-k8: MP systems not supported by PSB BIOS structure
powernow-k8: MP systems not supported by PSB BIOS structure
ACPI wakeup devices:
HUB0 XVR0 XVR1 XVR2 XVR3 USB0 USB2 MMAC MMCI UAR1 PS2M PS2K
ACPI: (supports S0 S1 S3 S4 S5)
ReiserFS: sda3: found reiserfs format "3.6" with standard journal
ReiserFS: sda3: using ordered data mode
ReiserFS: sda3: journal params: device sda3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda3: checking transaction log (sda3)
ReiserFS: sda3: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 200k freed
Adding 506036k swap on /dev/sda2.  Priority:-1 extents:1 across:506036k
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI Interrupt 0000:05:00.0[A] -> Link [APC3] -> GSI 18 (level, low) -> IRQ 233
PCI: Setting latency timer of device 0000:05:00.0 to 64
NVRM: loading NVIDIA Linux x86_64 NVIDIA Kernel Module  1.0-8178  Wed Dec 14 16:58:07 PST 2005
ReiserFS: sda1: found reiserfs format "3.6" with standard journal
ReiserFS: sda1: using ordered data mode
ReiserFS: sda1: journal params: device sda1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda1: checking transaction log (sda1)
ReiserFS: sda1: Using r5 hash to sort names
kobject_register failed for snd (-17)

Call Trace:<ffffffff8023daf0>{kobject_register+59} <ffffffff801514fc>{load_module+4780}
       <ffffffff801631a1>{release_pages+336} <ffffffff8016ae18>{remove_vma+82}
       <ffffffff8016c2b4>{do_munmap+601} <ffffffff8023f8e6>{__up_write+20}
       <ffffffff80151827>{sys_init_module+98} <ffffffff8010f8da>{system_call+126}

snd_timer: Unknown symbol snd_verbose_printk
snd_seq: Unknown symbol snd_verbose_printk
snd_seq_midi_event: Unknown symbol snd_seq_expand_var_event
snd_seq_device: Unknown symbol snd_verbose_printk
snd_seq_oss: Unknown symbol snd_seq_kernel_client_enqueue
snd_seq_oss: Unknown symbol snd_seq_set_queue_tempo
snd_seq_oss: Unknown symbol snd_seq_delete_kernel_client
snd_seq_oss: Unknown symbol snd_seq_kernel_client_dispatch
snd_seq_oss: Unknown symbol snd_seq_kernel_client_enqueue_blocking
snd_seq_oss: Unknown symbol snd_verbose_printk
snd_seq_oss: Unknown symbol snd_seq_device_register_driver
snd_seq_oss: Unknown symbol snd_midi_event_free
snd_seq_oss: Unknown symbol snd_midi_event_no_status
snd_seq_oss: Unknown symbol snd_use_lock_sync_helper
snd_seq_oss: Unknown symbol snd_seq_device_unregister_driver
snd_seq_oss: Unknown symbol snd_seq_event_port_detach
snd_seq_oss: Unknown symbol snd_midi_event_new
snd_seq_oss: Unknown symbol snd_midi_event_decode
snd_seq_oss: Unknown symbol snd_seq_create_kernel_client
snd_seq_oss: Unknown symbol snd_seq_kernel_client_write_poll
snd_seq_oss: Unknown symbol snd_midi_event_encode_byte
snd_seq_oss: Unknown symbol snd_seq_kernel_client_ctl
kobject_register failed for snd (-17)

Call Trace:<ffffffff8023daf0>{kobject_register+59} <ffffffff801514fc>{load_module+4780}
       <ffffffff801631a1>{release_pages+336} <ffffffff8016ae18>{remove_vma+82}
       <ffffffff8016c2b4>{do_munmap+601} <ffffffff8023f8e6>{__up_write+20}
       <ffffffff80151827>{sys_init_module+98} <ffffffff8010f8da>{system_call+126}

snd_mixer_oss: Unknown symbol snd_verbose_printk
snd_timer: Unknown symbol snd_verbose_printk
snd_pcm: Unknown symbol snd_verbose_printk
snd_pcm_oss: Unknown symbol snd_verbose_printk
kobject_register failed for snd (-17)

Call Trace:<ffffffff8023daf0>{kobject_register+59} <ffffffff801514fc>{load_module+4780}
       <ffffffff801631a1>{release_pages+336} <ffffffff8016ae18>{remove_vma+82}
       <ffffffff8016c2b4>{do_munmap+601} <ffffffff8023f8e6>{__up_write+20}
       <ffffffff80151827>{sys_init_module+98} <ffffffff8010f8da>{system_call+126}

snd_mixer_oss: Unknown symbol snd_verbose_printk
kobject_register failed for snd (-17)

Call Trace:<ffffffff8023daf0>{kobject_register+59} <ffffffff801514fc>{load_module+4780}
       <ffffffff801631a1>{release_pages+336} <ffffffff8016ae18>{remove_vma+82}
       <ffffffff8016c2b4>{do_munmap+601} <ffffffff8023f8e6>{__up_write+20}
       <ffffffff80151827>{sys_init_module+98} <ffffffff8010f8da>{system_call+126}

snd_timer: Unknown symbol snd_verbose_printk
snd_seq: Unknown symbol snd_verbose_printk
eth0: no IPv6 routers present


lspci:

Code:

peterbilt dneufeld # lspci
00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller (rev a3)
00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3)
00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3)
00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev a2)
00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev a3)
00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev a3)
00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2)
00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3)
00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:06.0 Multimedia audio controller: Creative Labs SB0400 Audigy2 Value
01:07.0 USB Controller: NEC Corporation USB (rev 41)
01:07.1 USB Controller: NEC Corporation USB (rev 41)
01:07.2 USB Controller: NEC Corporation USB 2.0 (rev 02)
01:08.0 RAID bus controller: Silicon Image, Inc. SiI 3114 [SATALink/SATARaid] Serial ATA Controller (rev 02)
01:09.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80)
01:0a.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13)
05:00.0 VGA compatible controller: nVidia Corporation GeForce 7800 GT (rev a1)


Thanks for any more help you can give us.
Back to top
View user's profile Send private message
J3N7iL
Apprentice
Apprentice


Joined: 24 Sep 2005
Posts: 169
Location: Chicago

PostPosted: Sat Mar 25, 2006 3:41 pm    Post subject: Reply with quote

Here is the big prob

Code:
Creative Labs SB0400 Audigy2 Value


Sound Blaster refuses to release any info about thier sound cards which hinders alsa programmers to make it compatible, at best I would suggest using the onboard sound, but I do know people that have got it to work (with out cool advanced features) by using generic sound blaster properties. Enable Sounb Blaster moduels in kernel and add them to you module.autoload file under you kernel version.

Once you have it you can choose that card in gnome under multimedia.
Back to top
View user's profile Send private message
Diesel_Fuel
n00b
n00b


Joined: 09 Oct 2005
Posts: 59

PostPosted: Sat Mar 25, 2006 4:29 pm    Post subject: Reply with quote

As far as I know SoundBlaster cards are THE WAY to go when it comes to Linux support...
Back to top
View user's profile Send private message
J3N7iL
Apprentice
Apprentice


Joined: 24 Sep 2005
Posts: 169
Location: Chicago

PostPosted: Sat Mar 25, 2006 7:31 pm    Post subject: Reply with quote

Not ALL SB cards, exspecially the higher end ones like yours. The Audigy's have features that alsa can't utilize and are not very well supported at all.
Back to top
View user's profile Send private message
jonathanhaddock
n00b
n00b


Joined: 24 Mar 2006
Posts: 19

PostPosted: Sat Mar 25, 2006 8:20 pm    Post subject: Reply with quote

Hello all,

@J3N7iL

Right well I tried that and the emerge of alsa succeeded.
I then tried emerge alsa-driver.

Was told I couldn't do that against unprepared sources and to:
Code:

cd /usr/linux
make oldconfig
make modules_prepare


Which I dutifully did.
I did another emerge alsa-driver

Quote:

*** NO PREDEFINED KERNEL COMPILER IS DETECTED
*** Assuming the same compiler is used with the current system compiler.

*** Please make sure that the same compiler version was used for building kernel.

checking for built-in ALSA... "yes"
configure: error: You have built-in ALSA in your kernel.

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/alsa-driver-1.0.10-r2/work/alsa-driver-1.0.10/config.log

!!! ERROR: media-sound/alsa-driver-1.0.10-r2 failed.
!!! Function econf, Line 495, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.


which failed. Also, upon trying genkernal --menuconfig all I wasn't able to do that. Now I can't even recompile my kernel (I only wanted to remove alsa as instructed and make the sound driver a module again).

Quote:

edapont linux # genkernel --menuconfig all
* Gentoo Linux Genkernel; Version 3.3.10
* Running with options: --menuconfig all

grep: /usr/src/linux/Makefile: No such file or directory
grep: /usr/src/linux/Makefile: No such file or directory
grep: /usr/src/linux/Makefile: No such file or directory
grep: /usr/src/linux/Makefile: No such file or directory
/usr/share/genkernel/gen_determineargs.sh: line 35: [: : integer expression expe cted
* Linux Kernel .. for x86...
* ERROR: Error: No kernel .config specified, or file not found!

* -- Grepping log... --


* Linux Kernel .. for x86...
* Gentoo Linux Genkernel; Version 3.3.10
* Running with options: --menuconfig all

* ERROR: Error: No kernel .config specified, or file not found!

* -- End log... --

* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.

* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
*
edapont linux #



Why is this so difficult? I followed the instructions in the gentoo wiki, instructions from another thread and instructions from this thread and so far I reccon I'm only destroying my system...

Does anybody know the cure for this or do I now need to do a complete system rebuild in order to stand any hope of success?

Thanks for your help...
Jonathan
Back to top
View user's profile Send private message
Diesel_Fuel
n00b
n00b


Joined: 09 Oct 2005
Posts: 59

PostPosted: Sat Mar 25, 2006 9:50 pm    Post subject: Reply with quote

GOT IT WORKING!

Ok so I got everything working by following some mixed instructions. Here's what I did:

First: Here's a post I found on the Gentoo forum with someone having similar problems. Someone suggested to do the following:

Quote:
1. Use the alsa-driver ebuild instead of the alsa drivers in the kernel. Unmerge alsa-lib, alsa-utils, alsa-oss and any other alsa stuff you have.

2. Before you emerge alsa-driver, configure your kernel as per the instructions on the alsa guide using the method for alsa-driver users i.e. JUST sound support and nothing else. Then remove your kernel modules directory /lib/modules/whatever-your-kernel-is, rebuild your kernel and install it (make clean, make && make modules install, copythe bzImage file to /boot or however you choose to e.g. link it for your boot loader).

3. Clean up /etc/modules.d/alsa. Well, just delete it, to be honest.

4. Reboot with your new clean kernel. You'll probably want OSS emulation, so before emerge'ing alsa-driver, check your USE flags contain both alsa and oss flags. The alsa-driver ebuild will pick up on this. Emerge alsa-driver.

You should pretty much be back on track with the alsa guide now, just emerge alsa-utils (should pull in alsa-lib), and alsa-oss as well. Then run alsaconf again. Run alsamixer afterwards. Add alsasound to the boot runlevel (not default). Reboot.


Follow the instructions step by step. First, make sure the ONLY sound driver enabled in you're kernel is Sound Card Support. Make sure it is built in and not a module. Don't enable ALSA, don't enable OSS. Next: Remove any alsa-related items: emerge --unmerge alsa-drive alsa-utils alsa-oss alsa-lib. Then: remove the kernel modules directory: rm -rf /lib/modules/<kernel version>/* Then: Rebuild you're kernel. Make sure you're in /usr/src/linux. Run make clean first, then run make && make mdules install. Then copy the bzImage to you're boot partition so grub will recognize it: cp arch/x86_64/boot/bzImage /boot/gentoo-blahblah. I run Gentoo AMD64 so in my case it was x86_64, and to get the gentoo-blahblah I just typed gentoo then hit tab and it finished it out for me. Then like he says clean out /etc/modules.d/alsa. There may not be anything there. Run rm -rf /etc/modules.d/alsa. Finally reboot.

The next thing (which I think played a big part in the fact that everything worked) was to edit my USE variables in my make.conf file and make sure that alsa AND oss were included on the line. Then emerge you're drivers. Run emerge alsa-driver alsa-lib alsa-utils alsa-oss. Then add it to the default runlevel with rc-update add alsasound boot. Reboot one last time and everything *should* work. Good luck.
Back to top
View user's profile Send private message
J3N7iL
Apprentice
Apprentice


Joined: 24 Sep 2005
Posts: 169
Location: Chicago

PostPosted: Sun Mar 26, 2006 4:39 am    Post subject: Reply with quote

Sounds damn good to me. Thanx for the update, I don't care what anyone says, your an ok guy.
Back to top
View user's profile Send private message
jonathanhaddock
n00b
n00b


Joined: 24 Mar 2006
Posts: 19

PostPosted: Tue Mar 28, 2006 8:31 pm    Post subject: Reply with quote

@Diesel_Fuel

I use Genkernel so I haven't done the compiling of the kernel in the same way but it still doesn't work.

http://gentoo-wiki.com/HOWTO_ALSA_sound_mixer_aka_dmix#Preparing_Kernel_2.6
also doesn't work

Quote:
edapont jon # alsamixer

alsamixer: function snd_ctl_open failed for default: No such device


So I get the impression I cannot make this work. Any more suggestions before I get so fed up with this I just goto Debian? Must admit I have enjoyed the time I've spent playing with Gentoo but this is outrageous - is there really no way to make this work?

Jonathan
Back to top
View user's profile Send private message
_ReVisions
n00b
n00b


Joined: 04 Jul 2004
Posts: 19

PostPosted: Tue Mar 28, 2006 10:22 pm    Post subject: Reply with quote

i have the same problem
i used the wiki and it's didnt help too

Quote:

Doggie yaron # alsamixer

alsamixer: function snd_ctl_open failed for default: No such device
Doggie yaron #


im stuck, here:

Quote:

Doggie yaron # /etc/init.d/alsasound start
* WARNING: "alsasound" has already been started.
Doggie yaron # /etc/init.d/alsasound stop
* WARNING: you are stopping a boot service.
* Storing ALSA Mixer Levels ...
/usr/sbin/alsactl: save_state:1163: No soundcards found... [ !! ]
* Unloading ALSA ... [ ok ]
* Unloading ALSA modules ... [ !! ]
Doggie yaron # /etc/init.d/alsasound start
* WARNING: "alsasound" has already been started.
Doggie yaron #
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54550
Location: 56N 3W

PostPosted: Wed Mar 29, 2006 4:18 pm    Post subject: Reply with quote

_ReVisions, jonathanhaddock,

We can't have you going to Debian, although that is not as bad as going to Windows.

Please post the following information :-
The output of lspci for all your sound capabale devices, that includes webcams. This will show me your hardware. There is nothing more annoying than sending sound output to a webcam mic because the modules loaded in the wrong order.
The output of
Code:
ls /dev/snd
and
Code:
ls /dev/sound
This will show if your kernel is OK or not
The output of
Code:
modprobe -l | grep snd
and
Code:
lsmod | grep snd
I also need to know if you use alsa-driver, alsa kernel modules or alsa built into the kernel.

Also check that the date/time shown in
Code:
uname -a
corresponds with your most recent kernel build. If not, you are not running the most recent kernel you compiled.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
_ReVisions
n00b
n00b


Joined: 04 Jul 2004
Posts: 19

PostPosted: Wed Mar 29, 2006 10:52 pm    Post subject: Reply with quote

ok see that:
ls /dev/snd
Quote:
Doggie yaron # ls /dev/snd
ls: /dev/snd: No such file or directory
Doggie yaron # ls /dev/dsp*
/dev/dsp /dev/dsp1 /dev/dsp2 /dev/dsp3
Doggie yaron #

ls /dev/sound
Quote:
Doggie yaron # ls /dev/sound
ls: /dev/sound: No such file or directory
Doggie yaron #

modprobe -l | grep snd
Quote:

Doggie yaron # modprobe -l | grep snd
/lib/modules/2.6.16/kernel/sound/core/snd-pcm.ko
/lib/modules/2.6.16/kernel/sound/core/snd.ko
/lib/modules/2.6.16/kernel/sound/core/snd-timer.ko
/lib/modules/2.6.16/kernel/sound/core/snd-page-alloc.ko
/lib/modules/2.6.16/kernel/sound/core/seq/snd-seq-device.ko
/lib/modules/2.6.16/kernel/sound/core/seq/snd-seq.ko
/lib/modules/2.6.16/kernel/sound/core/seq/snd-seq-midi-event.ko
/lib/modules/2.6.16/kernel/sound/core/seq/oss/snd-seq-oss.ko
/lib/modules/2.6.16/kernel/sound/core/oss/snd-pcm-oss.ko
/lib/modules/2.6.16/kernel/sound/core/oss/snd-mixer-oss.ko
/lib/modules/2.6.16/kernel/sound/pci/snd-intel8x0.ko
/lib/modules/2.6.16/kernel/sound/pci/ac97/snd-ac97-bus.ko
/lib/modules/2.6.16/kernel/sound/pci/ac97/snd-ac97-codec.ko
Doggie yaron #

lsmod | grep snd
Quote:

Doggie yaron # lsmod | grep snd
Doggie yaron #

i use alsa kernel modules
and uname -a
Quote:

Doggie yaron # uname -a
Linux Doggie 2.6.16 #1 SMP PREEMPT Wed Mar 29 01:21:15 GMT 2006 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux
Doggie yaron #


edit****
now i loaded intel8x0 and still problem
Quote:

Doggie yaron # modprobe snd-intel8x0
Doggie yaron # lsmod | grep snd
snd_pcm_oss 42400 1
snd_mixer_oss 15232 1 snd_pcm_oss
snd_intel8x0 26908 1
snd_ac97_codec 80544 1 snd_intel8x0
snd_ac97_bus 2816 1 snd_ac97_codec
snd_pcm 70276 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer 19460 1 snd_pcm
snd 42084 6 snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
snd_page_alloc 8584 2 snd_intel8x0,snd_pcm
soundcore 8032 2 snd
Doggie yaron # alsamixer

alsamixer: function snd_ctl_open failed for default: No such device
Doggie yaron #
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54550
Location: 56N 3W

PostPosted: Thu Mar 30, 2006 12:07 am    Post subject: Reply with quote

_ReVisions,

Your kernel is OK providing snd-intel8x0 is right for your hardware but your /etc/modules.s/alsa file, which should load all the modules is not. You didn't post your lspci output, so I cannot confirm your sound hardware.

Did you run alsaconf (sp)?
That updates /etc/modules.s/alsa. However, I still need to determine your sound hardware, since snd-intel810 did not work when modprobed.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
_ReVisions
n00b
n00b


Joined: 04 Jul 2004
Posts: 19

PostPosted: Thu Mar 30, 2006 10:27 am    Post subject: Reply with quote

/etc/modules.d/alsa
Quote:
Doggie yaron # cat /etc/modules.d/alsa
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.11rc4 ---
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
# --- END: Generated by ALSACONF, do not edit. ---

Doggie yaron #

lspci
Quote:

Doggie yaron # lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 655 Host (rev 50)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual PCI-to-PCI bridge)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS964 [MuTIOL Media IO] (rev 36)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 440] (rev a3)
Doggie yaron #


yes i ran alsaconf... and it's says everything is fine...
Back to top
View user's profile Send private message
_ReVisions
n00b
n00b


Joined: 04 Jul 2004
Posts: 19

PostPosted: Thu Mar 30, 2006 10:58 am    Post subject: Reply with quote

ok solved ;)

Missing /dev/snd/seq device howto
Quote:

Probably when starting qjackctl the first time, it complains about missing seqencer device in /dev/snd/seq. Here a script to install all the needed devices.

Copy the script below into a text file (Text Editor) and save it as mksnd.sh in your home folder. Open the Terminal and type: chmod 755 mksnd.sh

Now execute the script by typing: ./mksnd.sh

Now you can start qjackctl and all the programs relying on it Very Happy


#!/bin/bash

MAJOR=116
OSSMAJOR=14
MAX_CARDS=4
PERM=666
OWNER=root.root

if [ "`grep -w -E "^audio" /etc/group`x" != x ]; then
PERM=660
OWNER=root.audio
fi

function create_odevice () {
rm -f $1
echo -n "Creating $1..."
mknod -m $PERM $1 c $OSSMAJOR $2
chown $OWNER $1
echo " done"
}

function create_odevices () {
tmp=0
tmp1=0
rm -f $1 $1?
echo -n "Creating $1?..."
while [ $tmp1 -lt $MAX_CARDS ]; do
minor=$[ $2 + $tmp ]
mknod -m $PERM $1$tmp1 c $OSSMAJOR $minor
chown $OWNER $1$tmp1
tmp=$[ $tmp + 16 ]
tmp1=$[ $tmp1 + 1 ]
done
echo " done"
}

function create_device1 () {
rm -f $1
minor=$2
echo -n "Creating $1..."
mknod -m $PERM $1 c $MAJOR $minor
chown $OWNER $1
echo " done"
}

function create_devices () {
tmp=0
rm -f $1 $1?
echo -n "Creating $1?..."
while [ $tmp -lt $MAX_CARDS ]; do
minor=$[ $tmp * 32 ]
minor=$[ $2 + $minor ]
mknod -m $PERM "${1}C${tmp}" c $MAJOR $minor
chown $OWNER "${1}C${tmp}"
tmp=$[ $tmp + 1 ]
done
echo " done"
}

function create_devices2 () {
tmp=0
rm -f $1 $1?
echo -n "Creating $1??..."
while [ $tmp -lt $MAX_CARDS ]; do
tmp1=0
while [ $tmp1 -lt $3 ]; do
minor=$[ $tmp * 32 ]
minor=$[ $2 + $minor + $tmp1 ]
mknod -m $PERM "${1}C${tmp}D${tmp1}" c $MAJOR $minor
chown $OWNER "${1}C${tmp}D${tmp1}"
tmp1=$[ $tmp1 + 1 ]
done
tmp=$[ $tmp + 1 ]
done
echo " done"
}

function create_devices3 () {
tmp=0
rm -f $1 $1?
echo -n "Creating $1??$4..."
while [ $tmp -lt $MAX_CARDS ]; do
tmp1=0
while [ $tmp1 -lt $3 ]; do
minor=$[ $tmp * 32 ]
minor=$[ $2 + $minor + $tmp1 ]
mknod -m $PERM "${1}C${tmp}D${tmp1}${4}" c $MAJOR $minor
chown $OWNER "${1}C${tmp}D${tmp1}${4}"
tmp1=$[ $tmp1 + 1 ]
done
tmp=$[ $tmp + 1 ]
done
echo " done"
}

if test "$1" = "-?" || test "$1" = "-h" || test "$1" = "--help"; then
echo "Usage: snddevices [max]"
exit
fi

if test "$1" = "max"; then
DSP_MINOR=19
fi

# OSS (Lite) compatible devices...

if test $OSSMAJOR -eq 14; then
create_odevices /dev/mixer 0
create_odevice /dev/sequencer 1
create_odevices /dev/midi 2
create_odevices /dev/dsp 3
create_odevices /dev/audio 4
create_odevice /dev/sndstat 6
create_odevice /dev/music 8
create_odevices /dev/dmmidi 9
create_odevices /dev/dmfm 10
create_odevices /dev/amixer 11 # alternate mixer
create_odevices /dev/adsp 12 # alternate dsp
create_odevices /dev/amidi 13 # alternate midi
create_odevices /dev/admmidi 14 # alternate direct midi
# create symlinks
ln -svf /dev/mixer0 /dev/mixer
ln -svf /dev/midi0 /dev/midi
ln -svf /dev/dsp0 /dev/dsp
ln -svf /dev/audio0 /dev/audio
ln -svf /dev/music /dev/sequencer2
ln -svf /dev/adsp0 /dev/adsp
ln -svf /dev/amidi0 /dev/amidi
fi

# Remove old devices

mv -f /dev/sndstat /dev/1sndstat
rm -f /dev/snd*
mv -f /dev/1sndstat /dev/sndstat
if [ -d /dev/snd ]; then
rm -f /dev/snd/*
rmdir /dev/snd
fi

# Create new ones

mkdir -p /dev/snd
create_devices /dev/snd/control 0
create_device1 /dev/snd/seq 1
create_device1 /dev/snd/timer 33
create_devices2 /dev/snd/hw 4 4
create_devices2 /dev/snd/midi 8 8
create_devices3 /dev/snd/pcm 16 8 p
create_devices3 /dev/snd/pcm 24 8 c

# Loader devices

echo "ALSA loader devices"
rm -f /dev/aload*
create_devices /dev/aload 0
create_device1 /dev/aloadSEQ 1
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54550
Location: 56N 3W

PostPosted: Thu Mar 30, 2006 4:45 pm    Post subject: Reply with quote

_ReVisions,

If your /dev/ entries were missing, which is what that script fixes, your /dev manager is broken and you have more problems to come.

For kernels atter 2.6.12 you can only use udev. for 2.6.12 and older, you have the choice of udev or devfdd.
udev is preferred.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
dkaplowitz
Guru
Guru


Joined: 22 Nov 2003
Posts: 596
Location: Philadelphia, PA

PostPosted: Fri Mar 31, 2006 3:02 am    Post subject: Reply with quote

NeddySeagoon wrote:

If your /dev/ entries were missing, which is what that script fixes, your /dev manager is broken and you have more problems to come.


I had the same problem and that script fixed it for me too. I'm not sure what you're getting at about more problems to come. I have udev installed and I'm running 2.6.15-gentoo-r1. Any clues about where to look for something broken?

Thanks in advance,

Dave
_________________
http://dkap.info
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum