Trouble starting JACK

when i attempted to start up jack i get the message “Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.”
the message box from jack then reads.
16:24:22.515 Patchbay deactivated.
16:24:22.525 Statistics reset.
16:24:22.534 ALSA connection graph change.
16:24:22.732 ALSA connection change.
16:24:28.057 Startup script…
16:24:28.057 artsshell -q terminate
sh: artsshell: not found
16:24:28.458 Startup script terminated with exit status=32512.
16:24:28.458 JACK is starting…
16:24:28.458 /usr/bin/jackd -dalsa -dhw:0 -r44100 -p1024 -n2
16:24:28.461 JACK was started with PID=2634.
jackd 0.118.0
Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O’Quinn, Torben Hohn and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
Memory locking is unlimited - this is dangerous. You should probably alter the line:
@audio - memlock unlimited
in your /etc/limits.conf to read:
@audio - memlock 1543119
no message buffer overruns
JACK compiled with System V SHM support.
loading driver …
SSE2 detected
apparent rate = 44100
creating alsa driver … hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|-|32bit
control device hw:0
control open “hw:0” (No such file or directory)
ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card
ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card
ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
cannot load driver module alsa
16:24:28.489 JACK was stopped successfully.
16:24:28.490 Post-shutdown script…
16:24:28.490 killall jackd
jackd: no process found
16:24:28.897 Post-shutdown script terminated with exit status=256.
16:24:30.537 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.

I believe the problem is that i don’t have a “hw:0” file/directory
I’m relatively new to ubuntu so i have no idea what this “hw:0” is

On-board audio is terrible for serious audio recording. Even if you’re not a composer or mastering engineer, I recommend you buy, borrow or steal some kind of PCI, USB or Firewire sound card. Prices can be free (put out a wanted on your local freecycle or see if any friends have one they can give you), to just a few bucks for a low-end but reasonable Audigy card, to hundreds or thousands of dollars for an external sound recording device. How far you want to take it is up to you. But please forget about recording with the on-board card. You will be likely to drop-out after at most a few simultaneous tracks. On-board audio chips were never meant to go past a certain point. They’re just for listening to your browser, internet radio, or watching movies.

I’d also like to know what Linux distro you’re using. Different distros offer different solutions.

@usernameNA: please post the output of the following command, run in a Terminal window:
cat /proc/asound/cards

Well that would be your problem.

You do not seem to have any sound cards supported by your currently loaded ALSA modules(And on most modern Linux distros this likely means that it might not be supported by ALSA at all). What sound card exactly are you trying to use?

  Seablade

it returned with
— no soundcards —

Currently the only sound card my rig has is the one built into my mother board.

Hahaha! Yeah, an Audigy isn’t what I use for serious recording (although I have one. It’s just for system playback, not for Real Work), but for those on a low budget, it’ll do more than any on-board chili dog.

Im currently using Ubuntu 10.0.4(i believe i’ve seen it called “lucid”?)

this is what i get from the command

00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 02)
	Subsystem: Hewlett-Packard Company Device 2a6f
	Flags: bus master, fast devsel, latency 0
	Capabilities: 
	Kernel modules: intel-agp

00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port (rev 02)
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
	I/O behind bridge: 0000d000-0000dfff
	Memory behind bridge: fa000000-feafffff
	Prefetchable memory behind bridge: 00000000d0000000-00000000dfffffff
	Capabilities: 
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
	Subsystem: Hewlett-Packard Company Device 2a6f
	Flags: bus master, medium devsel, latency 0, IRQ 16
	I/O ports at b400 [size=32]
	Capabilities: 
	Kernel driver in use: uhci_hcd

00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
	Subsystem: Hewlett-Packard Company Device 2a6f
	Flags: bus master, medium devsel, latency 0, IRQ 21
	I/O ports at b480 [size=32]
	Capabilities: 
	Kernel driver in use: uhci_hcd

00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02) (prog-if 20)
	Subsystem: Hewlett-Packard Company Device 2a6f
	Flags: bus master, medium devsel, latency 0, IRQ 18
	Memory at f9dfec00 (32-bit, non-prefetchable) [size=1K]
	Capabilities: 
	Kernel driver in use: ehci_hcd

00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
	Subsystem: Hewlett-Packard Company Device 2a6f
	Flags: bus master, fast devsel, latency 0, IRQ 3
	Memory at f9df4000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: 
	Kernel modules: snd-hda-intel

00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	I/O behind bridge: 00001000-00001fff
	Memory behind bridge: f9f00000-f9ffffff
	Prefetchable memory behind bridge: 00000000cff00000-00000000cfffffff
	Capabilities: 
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 02)
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: 0000e000-0000efff
	Memory behind bridge: feb00000-febfffff
	Prefetchable memory behind bridge: 00000000f8f00000-00000000f8ffffff
	Capabilities: 
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
	Subsystem: Hewlett-Packard Company Device 2a6f
	Flags: bus master, medium devsel, latency 0, IRQ 23
	I/O ports at b800 [size=32]
	Capabilities: 
	Kernel driver in use: uhci_hcd

00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
	Subsystem: Hewlett-Packard Company Device 2a6f
	Flags: bus master, medium devsel, latency 0, IRQ 19
	I/O ports at b880 [size=32]
	Capabilities: 
	Kernel driver in use: uhci_hcd

00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
	Subsystem: Hewlett-Packard Company Device 2a6f
	Flags: bus master, medium devsel, latency 0, IRQ 18
	I/O ports at bc00 [size=32]
	Capabilities: 
	Kernel driver in use: uhci_hcd

00:1d.3 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
	Subsystem: Hewlett-Packard Company Device 2a6f
	Flags: bus master, medium devsel, latency 0, IRQ 16
	I/O ports at c000 [size=32]
	Capabilities: 
	Kernel driver in use: uhci_hcd

00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02) (prog-if 20)
	Subsystem: Hewlett-Packard Company Device 2a6f
	Flags: bus master, medium devsel, latency 0, IRQ 23
	Memory at f9dff800 (32-bit, non-prefetchable) [size=1K]
	Capabilities: 
	Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92) (prog-if 01)
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
	Memory behind bridge: f9e00000-f9efffff
	Capabilities: 

00:1f.0 ISA bridge: Intel Corporation 82801IR (ICH9R) LPC Interface Controller (rev 02)
	Subsystem: Hewlett-Packard Company Device 2a6f
	Flags: bus master, medium devsel, latency 0
	Capabilities: 
	Kernel modules: iTCO_wdt

00:1f.2 RAID bus controller: Intel Corporation 82801 SATA RAID Controller (rev 02)
	Subsystem: Hewlett-Packard Company Device 2a6f
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 28
	I/O ports at c880 [size=8]
	I/O ports at c800 [size=4]
	I/O ports at c480 [size=8]
	I/O ports at c400 [size=4]
	I/O ports at c080 [size=32]
	Memory at f9dff000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: 
	Kernel driver in use: ahci
	Kernel modules: ahci

00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
	Subsystem: Hewlett-Packard Company Device 2a6f
	Flags: medium devsel, IRQ 10
	Memory at f9dffc00 (64-bit, non-prefetchable) [size=256]
	I/O ports at 0400 [size=32]
	Kernel modules: i2c-i801

01:05.0 FireWire (IEEE 1394): Agere Systems FW322/323 (rev 70) (prog-if 10)
	Subsystem: Hewlett-Packard Company Device 2a6f
	Flags: bus master, medium devsel, latency 64, IRQ 20
	Memory at f9eff000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: 
	Kernel driver in use: ohci1394
	Kernel modules: firewire-ohci, ohci1394

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
	Subsystem: Hewlett-Packard Company Device 2a6f
	Flags: bus master, fast devsel, latency 0, IRQ 27
	I/O ports at e800 [size=256]
	Memory at febff000 (64-bit, non-prefetchable) [size=4K]
	Memory at f8ff0000 (64-bit, prefetchable) [size=64K]
	Expansion ROM at febc0000 [disabled] [size=128K]
	Capabilities: 
	Kernel driver in use: r8169
	Kernel modules: r8169

03:00.0 Multimedia controller: ViXS Systems, Inc. XCode 2100 Series
	Subsystem: ASUSTeK Computer Inc. Device 48b0
	Flags: bus master, fast devsel, latency 0, IRQ 5
	Memory at cff00000 (64-bit, prefetchable) [size=1M]
	Memory at f9ff0000 (32-bit, non-prefetchable) [size=64K]
	I/O ports at 
	Capabilities: 

04:00.0 VGA compatible controller: nVidia Corporation G98 [GeForce 8400] (rev a1)
	Subsystem: ASUSTeK Computer Inc. Device 0510
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
	Memory at d0000000 (64-bit, prefetchable) [size=256M]
	Memory at fa000000 (64-bit, non-prefetchable) [size=32M]
	I/O ports at dc00 [size=128]
	Expansion ROM at feae0000 [disabled] [size=128K]
	Capabilities: 
	Kernel driver in use: nouveau
	Kernel modules: nvidiafb, nouveau

@usernameNA

Can you type the following into a console and give me the output(May need ot preface with ‘sudo’ without the quotes, can’t remember)…

lspci -v

Surround the output with PRE tags please. Thanks.

Seablade

PS I don’t recommend either stealing, or using an Audigy if you can avoid it;)

help plis

Ardour could not start JACK

cat /proc/asound/cards
0 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xfe024000 irq 21

Need more info, like the terminal output when you get that message.

Seablade

http://img181.imageshack.us/img181/1293/pantallazoi.png

http://img530.imageshack.us/img530/9971/pantallazo1v.png

Here are the pictures

Have you added your username to the audio group and made the appropriate system config changes necessary to enable jack to run in realtime mode? This is a common reason for jack to fail to start and has been discussed on this forum many times. Unfortunately (in my opinion) recent changes to jack now mean that it always tries to start in realtime mode, which, while better on a properly configured system, now means that on (many) improperly setup systems it fails to start at all. Previous versions defaulted to non-realtime mode which meant they would always start, but may suffer from some audio glitches that could be cured by configuring for realtime mode - but at least it started…

I not understand. Could you be more clear.