Re: Bind 9 unknown option 'logging'

2015-06-12 Thread Gerard Hooton



On 12/06/15 15:31, to...@tuxteam.de wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Jun 12, 2015 at 03:21:26PM +0100, Gerard Hooton wrote:

Hi All,
I already sent that was but before I subscribed to the list.

I have included  the following in my named.conf

logging {
   channel bind_log {
 file /var/log/bind/bind.log versions 3 size 5m;
 severity info;
 print-category yes;
 print-severity yes;
 print-time yes;
   };
   category default { bind_log; };
   category update { bind_log; };
   category update-security { bind_log; };
   category security { bind_log; };
   category queries { bind_log; };
   category lame-servers { null; };
};

However I get the following error

Jun 12 14:21:52 scoil named[7161]: loading configuration from
'/etc/bind/named.conf'
Jun 12 14:21:52 scoil named[7161]: /etc/bind/named.conf.log:1:

   HERE^^^

unknown option 'logging'
Jun 12 14:21:52 scoil named[7161]: loading configuration: failure
Jun 12 14:21:52 scoil named[7161]: exiting (due to fatal error)

I have the following
3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u1 x86_64 GNU/Linux
BIND 9.8.4-rpz2+rl005.12-P1

Just a shot in the dark: your /etc/bind/named.conf seems to include
/etc/bind/named.conf, which itself most probably has a logging
stanza itself.

Perhaps this error message is Bind9's idiosyncratic way to tell
you that it doesn't like to see two logging entries?

Anyway, it might seem better for the sysadmin's sanity to modify
the logging stuff in /etc/bind/named.conf.log

regards
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlV67SQACgkQBcgs9XrR2kYyJwCeIiuXnuFi6iovhwKtkPc6y2gL
Lh8An3zOpa3ZlZa6GWPAi/WA9QNRHXas
=Nz8Q
-END PGP SIGNATURE-



Thanks Tomás for you reply.
The only place that I have logging is in the named.conf.log which I 
include in named.conf as follows

include /etc/bind/named.conf.log;

//Ger

--
Gerard Hooton.
Senior Technical Officer
School of Engineering.
University College Cork.
College Road.
Cork.
Ireland.
Tel: +353 21 4902296
Mobile: +353 852813491


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/557af01d.7030...@ucc.ie



Re: Re: Bind 9 unknown option 'logging'[Solved]

2015-06-12 Thread Gerard Hooton

OK solved.
I had the include /etc/bind/named.conf.log; statement in the wrong 
place in the named.conf file.

I had it inside the options { }

--
Gerard Hooton.
Senior Technical Officer
School of Engineering.
University College Cork.
College Road.
Cork.
Ireland.
Tel: +353 21 4902296
Mobile: +353 852813491


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/557af535.6010...@ucc.ie



Bind 9 unknown option 'logging'

2015-06-12 Thread Gerard Hooton

Hi All,
I already sent that was but before I subscribed to the list.

I have included  the following in my named.conf

logging {
  channel bind_log {
file /var/log/bind/bind.log versions 3 size 5m;
severity info;
print-category yes;
print-severity yes;
print-time yes;
  };
  category default { bind_log; };
  category update { bind_log; };
  category update-security { bind_log; };
  category security { bind_log; };
  category queries { bind_log; };
  category lame-servers { null; };
};

However I get the following error

Jun 12 14:21:52 scoil named[7161]: loading configuration from 
'/etc/bind/named.conf'
Jun 12 14:21:52 scoil named[7161]: /etc/bind/named.conf.log:1: unknown 
option 'logging'

Jun 12 14:21:52 scoil named[7161]: loading configuration: failure
Jun 12 14:21:52 scoil named[7161]: exiting (due to fatal error)

I have the following
3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u1 x86_64 GNU/Linux
BIND 9.8.4-rpz2+rl005.12-P1

Thanks
//Ger

--
Gerard Hooton.
Senior Technical Officer
School of Engineering.
University College Cork.
College Road.
Cork.
Ireland.
Tel: +353 21 4902296
Mobile: +353 852813491


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/557aeae6.1050...@ucc.ie



Bind 9 unknown option 'logging'

2015-06-12 Thread Gerard Hooton

Hi All,
I have included  the following in my named.conf

logging {
  channel bind_log {
file /var/log/bind/bind.log versions 3 size 5m;
severity info;
print-category yes;
print-severity yes;
print-time yes;
  };
  category default { bind_log; };
  category update { bind_log; };
  category update-security { bind_log; };
  category security { bind_log; };
  category queries { bind_log; };
  category lame-servers { null; };
};

However I get the following error

Jun 12 14:21:52 scoil named[7161]: loading configuration from 
'/etc/bind/named.conf'
Jun 12 14:21:52 scoil named[7161]: /etc/bind/named.conf.log:1: unknown 
option 'logging'

Jun 12 14:21:52 scoil named[7161]: loading configuration: failure
Jun 12 14:21:52 scoil named[7161]: exiting (due to fatal error)

I have the following
3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u1 x86_64 GNU/Linux
BIND 9.8.4-rpz2+rl005.12-P1

Thanks
//Ger




--
Gerard Hooton.
Senior Technical Officer
School of Engineering.
University College Cork.
College Road.
Cork.
Ireland.
Tel: +353 21 4902296
Mobile: +353 852813491


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/557ade29.2060...@ucc.ie



Re: IP Forward Problems

2009-03-16 Thread Gerard Hooton
-Original Message-
From: Alex Samad a...@samad.com.au
To: debian-user@lists.debian.org
Subject: Re: IP Forward Problems
Date: Mon, 16 Mar 2009 10:02:28 +1100
Mailer: Mutt/1.5.18 (2008-05-17)

On Fri, Mar 13, 2009 at 12:44:40PM +1100, Alex Samad wrote:
 On Thu, Mar 12, 2009 at 10:43:52AM -, Gerard Hooton wrote:
  
   On Wed, Mar 11, 2009 at 01:07:06PM +, Gerard Hooton wrote:
   Hello,
 
 [snip]
 
  
   why do you have 3 interface into the same ip network ? I presume there
   are all attached to the same ethernet broadcast domain ?
  
   that shouldn't be causing the problem though. have you done a tcpdump to
   see what traffic is being forwarded ? The other question is why do you
   need to forward ?
  
   can you do an ip route please
  
  OK 
  
  ip route
  143.239.0.0/16 dev eth0  proto kernel  scope link  src 143.239.184.13
  143.239.0.0/16 dev eth1  proto kernel  scope link  src 143.239.184.75
  default via 143.239.1.199 dev eth0  src 143.239.184.12
 
 So still the other questions, why do you need to route ie why do you
 need forward?

Another thing to check is proxy_arp 

sysctl -a | grep arp | sort | less

net.ipv4.conf.all.proxy_arp = 0
net.ipv4.conf.default.arp_accept = 0
net.ipv4.conf.default.arp_announce = 0
net.ipv4.conf.default.arp_filter = 0
net.ipv4.conf.default.arp_ignore = 0
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.conf.eth0.arp_accept = 0
net.ipv4.conf.eth0.arp_announce = 0
net.ipv4.conf.eth0.arp_filter = 0
net.ipv4.conf.eth0.arp_ignore = 0
net.ipv4.conf.eth0.proxy_arp = 0
net.ipv4.conf.lo.arp_accept = 0
net.ipv4.conf.lo.arp_announce = 0
net.ipv4.conf.lo.arp_filter = 0
net.ipv4.conf.lo.arp_ignore = 0
net.ipv4.conf.lo.proxy_arp = 0
net.ipv4.conf.wlan0.arp_accept = 0
net.ipv4.conf.wlan0.arp_announce = 0
net.ipv4.conf.wlan0.arp_filter = 0
net.ipv4.conf.wlan0.arp_ignore = 0
net.ipv4.conf.wlan0.proxy_arp = 0

Results:-
error: permission denied on key 'net.ipv4.route.flush'
error: permission denied on key 'net.ipv6.route.flush'
error: Invalid argument reading key fs.binfmt_misc.register
error: Invalid argument reading key dev.parport.parport0.autoprobe
error: Invalid argument reading key dev.parport.parport0.autoprobe0
error: Invalid argument reading key dev.parport.parport0.autoprobe1
error: Invalid argument reading key dev.parport.parport0.autoprobe2
error: Invalid argument reading key dev.parport.parport0.autoprobe3
dev.parport.default.spintime = 500
dev.parport.default.timeslice = 200
dev.parport.parport0.base-addr = 8881912
dev.parport.parport0.devices.active = none
dev.parport.parport0.devices.lp.timeslice = 200
dev.parport.parport0.dma = 3
dev.parport.parport0.irq = 7
dev.parport.parport0.modes = PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA
dev.parport.parport0.spintime = 500
net.ipv4.conf.all.arp_accept = 0
net.ipv4.conf.all.arp_announce = 0
net.ipv4.conf.all.arp_filter = 0
net.ipv4.conf.all.arp_ignore = 0
net.ipv4.conf.all.proxy_arp = 0
net.ipv4.conf.default.arp_accept = 0
net.ipv4.conf.default.arp_announce = 0
net.ipv4.conf.default.arp_filter = 0
net.ipv4.conf.default.arp_ignore = 0
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.conf.eth0.arp_accept = 0
net.ipv4.conf.eth0.arp_announce = 0
net.ipv4.conf.eth0.arp_filter = 0
net.ipv4.conf.eth0.arp_ignore = 0
net.ipv4.conf.eth0.proxy_arp = 0
net.ipv4.conf.eth1.arp_accept = 0
net.ipv4.conf.eth1.arp_announce = 0
net.ipv4.conf.eth1.arp_filter = 0
net.ipv4.conf.eth1.arp_ignore = 0
net.ipv4.conf.eth1.proxy_arp = 0
net.ipv4.conf.lo.arp_accept = 0
net.ipv4.conf.lo.arp_announce = 0
net.ipv4.conf.lo.arp_filter = 0
net.ipv4.conf.lo.arp_ignore = 0
net.ipv4.conf.lo.proxy_arp = 0
(END) 





//Ger





 
 
 [snip]
 
 -- 
 If you're sick and tired of the politics of cynicism and polls and 
 principles, come and join this campaign.
 
   - George W. Bush
 02/16/2000
 Hilton Head, S.C.



-- 
Gerard Hooton.
Department of Microelectronic Engineering U.C.C.
Butler Building,
Enterprise Centre,
North Mall.
Cork.

Tel: +353 21 4904576
Fax: +353 21 4904573
http://www.ue.ucc.ie/




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: IP Forward Problems

2009-03-12 Thread Gerard Hooton

 On Wed, Mar 11, 2009 at 01:07:06PM +, Gerard Hooton wrote:
 Hello,
 Fist my system:

 Linux uepc004 2.6.24-1-686 #1 SMP Thu May 8 02:16:39 UTC 2008 i686
 GNU/Linux

 Network:
 eth0  Link encap:Ethernet  HWaddr 00:30:48:29:e9:40
   inet addr:143.239.184.13  Bcast:143.239.255.255
 Mask:255.255.0.0
   inet6 addr: fe80::230:48ff:fe29:e940/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:1751152 errors:0 dropped:0 overruns:0 frame:0
   TX packets:33579 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:174917895 (166.8 MiB)  TX bytes:19228996 (18.3 MiB)
   Base address:0x3000 Memory:f820-f822

 eth0:0Link encap:Ethernet  HWaddr 00:30:48:29:e9:40
   inet addr:143.239.184.12  Bcast:143.239.255.255
 Mask:255.255.0.0
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   Base address:0x3000 Memory:f820-f822

 eth1  Link encap:Ethernet  HWaddr 00:30:48:29:e9:41
   inet addr:143.239.184.75  Bcast:143.239.255.255
 Mask:255.255.0.0
   inet6 addr: fe80::230:48ff:fe29:e941/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:1738672 errors:0 dropped:0 overruns:0 frame:0
   TX packets:228 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:180938419 (172.5 MiB)  TX bytes:20519 (20.0 KiB)
   Base address:0x3040 Memory:f822-f824

 loLink encap:Local Loopback
   inet addr:127.0.0.1  Mask:255.0.0.0
   inet6 addr: ::1/128 Scope:Host
   UP LOOPBACK RUNNING  MTU:16436  Metric:1
   RX packets:14810 errors:0 dropped:0 overruns:0 frame:0
   TX packets:14810 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:20030201 (19.1 MiB)  TX bytes:20030201 (19.1 MiB)


  The Problem 

 I have discovered that with net.ipv4.ip_forward = 1
 the  apr table starts to grow and grow and I think I get an arp table
 overflow. Also I get No buffer space available errors. When I do
 net.ipv4.ip_forward = 0 the arp table reduces to a normal size and the
 No buffer space available errors stop.

 why do you have 3 interface into the same ip network ? I presume there
 are all attached to the same ethernet broadcast domain ?

 that shouldn't be causing the problem though. have you done a tcpdump to
 see what traffic is being forwarded ? The other question is why do you
 need to forward ?

 can you do an ip route please

OK 

ip route
143.239.0.0/16 dev eth0  proto kernel  scope link  src 143.239.184.13
143.239.0.0/16 dev eth1  proto kernel  scope link  src 143.239.184.75
default via 143.239.1.199 dev eth0  src 143.239.184.12







 Any ideas?

 Thanks.

 --
 Gerard Hooton.
 Department of Microelectronic Engineering U.C.C.
 Butler Building,
 Enterprise Centre,
 North Mall.
 Cork.

 Tel: +353 21 4904576
 Fax: +353 21 4904573
 http://www.ue.ucc.ie/




 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org



 --
 We're concerned about AIDS inside our White House -- make no mistake
 about it.

   - George W. Bush
 02/07/2001



-- 
Gerard Hooton.
Department of Microelectronic Engineering U.C.C.
Butler Building,
Enterprise Centre,
North Mall.
Cork.

Tel: +353 21 4904576
Fax: +353 21 4904573
http://www.ue.ucc.ie/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



IP Forward Problems

2009-03-11 Thread Gerard Hooton
Hello,
Fist my system:

Linux uepc004 2.6.24-1-686 #1 SMP Thu May 8 02:16:39 UTC 2008 i686
GNU/Linux

Network:
eth0  Link encap:Ethernet  HWaddr 00:30:48:29:e9:40  
  inet addr:143.239.184.13  Bcast:143.239.255.255
Mask:255.255.0.0 
  inet6 addr: fe80::230:48ff:fe29:e940/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:1751152 errors:0 dropped:0 overruns:0 frame:0
  TX packets:33579 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:174917895 (166.8 MiB)  TX bytes:19228996 (18.3 MiB)
  Base address:0x3000 Memory:f820-f822 

eth0:0Link encap:Ethernet  HWaddr 00:30:48:29:e9:40  
  inet addr:143.239.184.12  Bcast:143.239.255.255
Mask:255.255.0.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  Base address:0x3000 Memory:f820-f822 

eth1  Link encap:Ethernet  HWaddr 00:30:48:29:e9:41  
  inet addr:143.239.184.75  Bcast:143.239.255.255
Mask:255.255.0.0
  inet6 addr: fe80::230:48ff:fe29:e941/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:1738672 errors:0 dropped:0 overruns:0 frame:0
  TX packets:228 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:180938419 (172.5 MiB)  TX bytes:20519 (20.0 KiB)
  Base address:0x3040 Memory:f822-f824 

loLink encap:Local Loopback  
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:14810 errors:0 dropped:0 overruns:0 frame:0
  TX packets:14810 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0 
  RX bytes:20030201 (19.1 MiB)  TX bytes:20030201 (19.1 MiB)


 The Problem 

I have discovered that with net.ipv4.ip_forward = 1
the  apr table starts to grow and grow and I think I get an arp table
overflow. Also I get No buffer space available errors. When I do
net.ipv4.ip_forward = 0 the arp table reduces to a normal size and the 
No buffer space available errors stop.

Any ideas?

Thanks.

-- 
Gerard Hooton.
Department of Microelectronic Engineering U.C.C.
Butler Building,
Enterprise Centre,
North Mall.
Cork.

Tel: +353 21 4904576
Fax: +353 21 4904573
http://www.ue.ucc.ie/




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: IP Forward Problems

2009-03-11 Thread Gerard Hooton
I realy need help on this!

//Ger


 Hello,
 Fist my system:

 Linux uepc004 2.6.24-1-686 #1 SMP Thu May 8 02:16:39 UTC 2008 i686
 GNU/Linux

 Network:
 eth0  Link encap:Ethernet  HWaddr 00:30:48:29:e9:40
   inet addr:143.239.184.13  Bcast:143.239.255.255
 Mask:255.255.0.0
   inet6 addr: fe80::230:48ff:fe29:e940/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:1751152 errors:0 dropped:0 overruns:0 frame:0
   TX packets:33579 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:174917895 (166.8 MiB)  TX bytes:19228996 (18.3 MiB)
   Base address:0x3000 Memory:f820-f822

 eth0:0Link encap:Ethernet  HWaddr 00:30:48:29:e9:40
   inet addr:143.239.184.12  Bcast:143.239.255.255
 Mask:255.255.0.0
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   Base address:0x3000 Memory:f820-f822

 eth1  Link encap:Ethernet  HWaddr 00:30:48:29:e9:41
   inet addr:143.239.184.75  Bcast:143.239.255.255
 Mask:255.255.0.0
   inet6 addr: fe80::230:48ff:fe29:e941/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:1738672 errors:0 dropped:0 overruns:0 frame:0
   TX packets:228 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:180938419 (172.5 MiB)  TX bytes:20519 (20.0 KiB)
   Base address:0x3040 Memory:f822-f824

 loLink encap:Local Loopback
   inet addr:127.0.0.1  Mask:255.0.0.0
   inet6 addr: ::1/128 Scope:Host
   UP LOOPBACK RUNNING  MTU:16436  Metric:1
   RX packets:14810 errors:0 dropped:0 overruns:0 frame:0
   TX packets:14810 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:20030201 (19.1 MiB)  TX bytes:20030201 (19.1 MiB)


  The Problem 

 I have discovered that with net.ipv4.ip_forward = 1
 the  apr table starts to grow and grow and I think I get an arp table
 overflow. Also I get No buffer space available errors. When I do
 net.ipv4.ip_forward = 0 the arp table reduces to a normal size and the
 No buffer space available errors stop.

 Any ideas?

 Thanks.

 --
 Gerard Hooton.
 Department of Microelectronic Engineering U.C.C.
 Butler Building,
 Enterprise Centre,
 North Mall.
 Cork.

 Tel: +353 21 4904576
 Fax: +353 21 4904573
 http://www.ue.ucc.ie/




 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org




-- 
Gerard Hooton.
Department of Microelectronic Engineering U.C.C.
Butler Building,
Enterprise Centre,
North Mall.
Cork.

Tel: +353 21 4904576
Fax: +353 21 4904573
http://www.ue.ucc.ie/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



udevd problems

2009-01-05 Thread Gerard Hooton
Hello all,
When my Debian system is booting it hangs at
Starting the hotplug events dispatcher: udevd

The boot just stalls and no other info is give.
^C allows the boot to continue and everything (as far as I can tell)
works fine after that.

System info:
Debian lenny: 2.6.26-1-686 #1 SMP Mon Dec 15 18:15:07 UTC 2008 i686
GNU/Linux
I am using LDAP for user authentication 
and egroupware

Any ideas as to what the problem is or how to get more debug info?

Thanks.
-- 
Gerard Hooton.
Department of Microelectronic Engineering U.C.C.
Butler Building,
Enterprise Centre,
North Mall.
Cork.

Tel: +353 21 4904576
Fax: +353 21 4904573
http://www.ue.ucc.ie/




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



SAMBA problems

2008-09-19 Thread Gerard Hooton
Hello All,
We are using Samba to provide a windows Domain login 
The problem is that some of the users that I create (using smbpasswd -a
are not working when I do a login from the windows machines(RPC errors)
and some work fine.
Q: Are there restrictions on what user names I can use such as the
minimum number of characters. If so where are those restriction defined?

Thanks.
-- 
Gerard Hooton.
Department of Microelectronic Engineering U.C.C.
Butler Building,
Enterprise Centre,
North Mall.
Cork.

Tel: +353 21 4904576
Fax: +353 21 4904573
http://www.ue.ucc.ie/




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sound Problems

2008-04-22 Thread Gerard Hooton
Why do I have to run alsaconf each time I boot?
After booting the system I have  no sound, I the run alsaconf
and everything works.

//Ger


On Mon, 2008-04-21 at 21:57 +, Jasper wrote:
 Gerard Hooton g.hooton at ucc.ie writes:
 
  
  To get the sound to work I have to run alsaconf
  every time I boot
  
  I have the following Kernel
  2.6.24-1-amd64 #1 SMP Thu Mar 27 16:52:38 UTC 2008 x86_64 GNU/L
  
  Any Ideas
  
  //Ger
 
 1 idea: as a side-effect alsaconf kills soundservers like esd, 'liberating' 
 the
 naked alsa-devices.
 
 To see which applications keep the sounddevices busy run:
 
  fuser -v $( find /dev -group audio )
 
 -- Jasper.
 
 
 
-- 
Gerard Hooton.
Department of Microelectronic Engineering U.C.C.
Butler Building,
Enterprise Centre,
North Mall.
Cork.

Tel: +353 21 4904576
Fax: +353 21 4904573
http://www.ue.ucc.ie/




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sound Problems

2008-04-22 Thread Gerard Hooton
 fuser -v $( find /dev -group audio ) 
This returns nothing.

//Ger




On Tue, 2008-04-22 at 11:20 +, Jasper wrote:
 fuser -v $( find /dev -group audio )
-- 
Gerard Hooton.
Department of Microelectronic Engineering U.C.C.
Butler Building,
Enterprise Centre,
North Mall.
Cork.

Tel: +353 21 4904576
Fax: +353 21 4904573
http://www.ue.ucc.ie/




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sound Problems

2008-04-22 Thread Gerard Hooton
before running alsaconf:
==
ed:~# fuser -v $( find /dev -group audio )
ed:~# cat /proc/asound/cards
 0 [Camera ]: USB-Audio - Logitech EyeToy USB Camera
  Sony Corporation Logitech EyeToy USB Camera at
usb-:00:10.1-2, full speed
ed:~# lsmod | grep snd
snd_via82xx34600  0 
gameport   20496  1 snd_via82xx
snd_ac97_codec118616  1 snd_via82xx
ac97_bus6912  1 snd_ac97_codec
snd_mpu401_uart13568  1 snd_via82xx
snd_seq_dummy   8580  0 
snd_usb_audio  97440  0 
snd_pcm_oss47392  0 
snd_mixer_oss  21760  1 snd_pcm_oss
snd_seq_oss38272  0 
snd_pcm87688  4
snd_via82xx,snd_ac97_codec,snd_usb_audio,snd_pcm_oss
snd_page_alloc 15760  2 snd_via82xx,snd_pcm
snd_usb_lib22656  1 snd_usb_audio
snd_seq_midi   13376  0 
snd_seq_midi_event 12544  2 snd_seq_oss,snd_seq_midi
snd_seq59392  6
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_rawmidi30752  3 snd_mpu401_uart,snd_usb_lib,snd_seq_midi
snd_timer  29064  2 snd_pcm,snd_seq
snd_seq_device 13076  5
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi
snd_hwdep  14856  1 snd_usb_audio
snd68040  15
snd_via82xx,snd_ac97_codec,snd_mpu401_uart,snd_seq_dummy,snd_usb_audio,snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_pcm,snd_usb_lib,snd_seq,snd_rawmidi,snd_timer,snd_seq_device,snd_hwdep
soundcore  13216  1 snd


===


After running alsaconf:


ed:~# alsaconf
Unloading ALSA sound driver modules: snd-via82xx snd-ac97-codec
snd-mpu401-uart snd-seq-dummy snd-usb-audio snd-pcm-oss snd-mixer-oss
snd-seq-oss snd-pcm snd-page-alloc snd-usb-lib snd-seq-midi
snd-seq-midi-event snd-seq snd-rawmidi snd-timer snd-seq-device
snd-hwdep.
Building card database...


Loading driver...
Setting default volumes...


===

 Now ALSA is ready to use.
 For adjustment of volumes, use your favorite mixer.

 Have a lot of fun!
ed:~# 
ed:~# fuser -v $( find /dev -group audio )
ed:~# cat /proc/asound/cards
 0 [V8237  ]: VIA8237 - VIA 8237
  VIA 8237 with ALC658D at 0xee00, irq 22
ed:~# lsmod | grep snd
snd_via82xx34600  0 
gameport   20496  1 snd_via82xx
snd_ac97_codec118616  1 snd_via82xx
ac97_bus6912  1 snd_ac97_codec
snd_pcm_oss47392  0 
snd_mixer_oss  21760  1 snd_pcm_oss
snd_pcm87688  3 snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_page_alloc 15760  2 snd_via82xx,snd_pcm
snd_mpu401_uart13568  1 snd_via82xx
snd_seq_dummy   8580  0 
snd_seq_oss38272  0 
snd_seq_midi   13376  0 
snd_rawmidi30752  2 snd_mpu401_uart,snd_seq_midi
snd_seq_midi_event 12544  2 snd_seq_oss,snd_seq_midi
snd_seq59392  6
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer  29064  2 snd_pcm,snd_seq
snd_seq_device 13076  5
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd68040  12
snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401_uart,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore  13216  1 snd












On Tue, 2008-04-22 at 12:35 +, Jasper wrote:
 Gerard Hooton g.hooton at ucc.ie writes:
 
  
   fuser -v $( find /dev -group audio ) 
  This returns nothing.
  
  //Ger
  
 reasoning backwards, I would try ( before running alsaconf ):
 
 $( find /dev -group audio )
 
 to see if the sounddevices are created
 
 cat /proc/asound/cards
 
 to see if your card is recognised
 
 lsmod | grep snd
 
 to see if the module is loaded ( assuming it is not compiled-in )
 
 --Jasper.
 
 
 
-- 
Gerard Hooton.
Department of Microelectronic Engineering U.C.C.
Butler Building,
Enterprise Centre,
North Mall.
Cork.

Tel: +353 21 4904576
Fax: +353 21 4904573
http://www.ue.ucc.ie/




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sound Problems

2008-04-22 Thread Gerard Hooton
Right now I don't have physical access to the machine so
I can't unplug the USB camera 
The /etc/modprobe.d/sound look like this:

ed:~# more /etc/modprobe.d/sound
alias snd-card-0 snd-via82xx
options snd-via82xx index=0
ed:~#


On Tue, 2008-04-22 at 13:03 +, Jasper wrote:
 Gerard Hooton g.hooton at ucc.ie writes:
 
  
  before running alsaconf:
  ==
  ed:~# cat /proc/asound/cards
   0 [Camera ]: USB-Audio - Logitech EyeToy USB Camera
Sony Corporation Logitech EyeToy USB Camera at
  usb-:00:10.1-2, full speed
  ===
  
  After running alsaconf:
  
  ed:~# cat /proc/asound/cards
   0 [V8237  ]: VIA8237 - VIA 8237
VIA 8237 with ALC658D at 0xee00, irq 22
 
 To me it seems the usb-camera is in the way.
 Do you have the same problem if you boot without the camera plugged in?
 There are ways to give all 'cards' a fixed order, whether they are plugged in 
 or
 not. Afaik it is done in /etc/modprobe.d/sound .
 
 --Jasper.
 
 
 
-- 
Gerard Hooton.
Department of Microelectronic Engineering U.C.C.
Butler Building,
Enterprise Centre,
North Mall.
Cork.

Tel: +353 21 4904576
Fax: +353 21 4904573
http://www.ue.ucc.ie/




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sound Problems

2008-04-22 Thread Gerard Hooton
I made the suggested changes to the /etc/modprobe.d/sound
And every thing now works.
Thanks...


//Ger



On Tue, April 22, 2008 2:39 pm, Jasper wrote:
 Gerard Hooton g.hooton at ucc.ie writes:



 Right now I don't have physical access to the machine so
 I can't unplug the USB camera
 The /etc/modprobe.d/sound look like this:


 ed:~# more /etc/modprobe.d/sound
 alias snd-card-0 snd-via82xx options snd-via82xx index=0



 alias snd-card-0 snd-via82xx options snd-via82xx index=0

 alias snd-card-1 snd-usb-audio options snd-usb-audio index=1

 I am not at all sure here.


 --Jasper.




 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]




--
Gerard Hooton.
Department of Microelectronic Engineering U.C.C.
Butler Building,
Enterprise Centre,
North Mall.
Cork.

Tel: +353 21 4904576
Fax: +353 21 4904573
http://www.ue.ucc.ie/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Sound Problems

2008-04-21 Thread Gerard Hooton
To get the sound to work I have to run alsaconf
every time I boot

I have the following Kernel
2.6.24-1-amd64 #1 SMP Thu Mar 27 16:52:38 UTC 2008 x86_64 GNU/L

Any Ideas

//Ger
-- 
Gerard Hooton.
Department of Microelectronic Engineering U.C.C.
Butler Building,
Enterprise Centre,
North Mall.
Cork.

Tel: +353 21 4904576
Fax: +353 21 4904573
http://www.ue.ucc.ie/




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Sound Problems

2008-04-21 Thread Gerard Hooton
To get the sound to work I have to run alsaconf
every time I boot

I have the following Kernel
2.6.24-1-amd64 #1 SMP Thu Mar 27 16:52:38 UTC 2008 x86_64 GNU/L

Any Ideas

//Ger
-- 
Gerard Hooton.
Department of Microelectronic Engineering U.C.C.
Butler Building,
Enterprise Centre,
North Mall.
Cork.

Tel: +353 21 4904576
Fax: +353 21 4904573
http://www.ue.ucc.ie/




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]