Re: PHP 5.3 on 4.9 (stable)

2011-07-26 Thread Stuart Henderson
On 2011-07-26, Devin Ceartas nacred...@gmail.com wrote:
 How can I be out of sync if I just updated both the system and the ports
 collection to stable from CD? I'm not upgrading or doing something else
 which would lead to being out of sync.

 I find /usr/ports/lang/php/5.3 as well as /usr/ports/lang/php/5.2 in the 4.9
 stable ports tree
 (cd /usr; cvs checkout -P -rOPENBSD_4_9 ports)

 Now I'm confused

Ah, I see what's going on - that's a work-in-progress port,
not linked to the build. The php port in 4.9 is in
/usr/ports/www/php5 and is for PHP 5.2.



/bsd: carpXX: ip_output failed: 64

2011-07-26 Thread Marcus Mülbüsch

Hello all,

   Since I added another physical and carp interface to our firewalls, 
I get strange error messages, and strange behaviour for carp failover.



Jul 25 15:00:03 fw2 /bsd: carp32: ip_output failed: 64
Jul 25 15:00:03 fw2 /bsd: carp34: ip_output failed: 64
Jul 25 15:00:03 fw2 /bsd: carp40: ip_output failed: 64
Jul 25 15:00:03 fw2 /bsd: carp5: ip_output failed: 64
Jul 25 15:00:03 fw2 /bsd: carp11: ip_output failed: 64
Jul 25 15:00:03 fw2 /bsd: carp31: ip_output failed: 64
Jul 25 15:00:04 fw2 /bsd: carp: carp31 demoted group carp by 1 to 2\
( snderrors)


   I'm pretty sure that I had no of that 64 errors before I added 
carp 40 - the old logfiles show none (though I have only those from a 
few days).


   I googled for the error but didn't find anything helpful.

   Any quick pointers what may be going wrong?

Marcus



Re: /bsd: carpXX: ip_output failed: 64

2011-07-26 Thread Marco Pfatschbacher
On Tue, Jul 26, 2011 at 10:00:48AM +0200, Marcus M|lb|sch wrote:
 Hello all,

Since I added another physical and carp interface to our firewalls, I 
 get strange error messages, and strange behaviour for carp failover.

 Jul 25 15:00:03 fw2 /bsd: carp32: ip_output failed: 64
 Jul 25 15:00:03 fw2 /bsd: carp34: ip_output failed: 64
 Jul 25 15:00:03 fw2 /bsd: carp40: ip_output failed: 64
 Jul 25 15:00:03 fw2 /bsd: carp5: ip_output failed: 64
 Jul 25 15:00:03 fw2 /bsd: carp11: ip_output failed: 64
 Jul 25 15:00:03 fw2 /bsd: carp31: ip_output failed: 64
 Jul 25 15:00:04 fw2 /bsd: carp: carp31 demoted group carp by 1 to 2\
 ( snderrors)

I'm pretty sure that I had no of that 64 errors before I added  
 carp 40 - the old logfiles show none (though I have only those from a  
 few days).

I googled for the error but didn't find anything helpful.

man errno:

 64 EHOSTDOWN Host is down.  A socket operation failed because the desti-
 nation host was down.

Any quick pointers what may be going wrong?

My first guess would've been that pf(4) is blocking the outgoing carp
advertisements. But a quick glance at the code indicates that only
returns 65 (EHOSTUNREACH).

It could be a reject route blocking your advertisements.
Can you show us the output of netstat -rn ?



awkward usb-to-serial adapter problem -more data!-

2011-07-26 Thread Daniel Gracia

Here we go again with more info. The facts:

-uftdi USB to 4 port serial.
-Adaptor attaches fine, works for a while.
-After an amount of time, when serial load increases, the driver may fail.
-After the failure error is unrecoverable; detaching/reattaching device 
doesn't work. Must reboot the computer to get working again.
-After failure usbdevs seems different! -No messages in console indicate 
any device change whatsoever-.


Driver seems to work just fine under light load, and has a stealth fail 
-no errors on message log-:


8---

uftdi_read: sc=0xd1e78c00, port=1 count=5 data[0]=0x30
uftdi_read: sc=0xd1e78a80, port=1 count=2
uftdi_write: sc=0xd1e78f00, port=1 count=1 data[0]=0x0b
uftdi_write: sc=0xd1e78f00, port=1 count=1 data[0]=0x0a
uftdi_write: sc=0xd1e78f00, port=1 count=20 data[0]=0x31
uftdi_read: sc=0xd1e78f00, port=1 count=2
uftdi_write: sc=0xd1e78a80, port=1 count=3 data[0]=0x02
uftdi_write: sc=0xd1e78c00, port=1 count=6 data[0]=0x23
uftdi_read: sc=0xd1e78c00, port=1 count=2
uftdi_read: sc=0xd1e78a80, port=1 count=2
uftdi_write: sc=0xd1e78f00, port=1 count=1 data[0]=0x0b
uftdi_write: sc=0xd1e78c00, port=1 count=5 data[0]=0x23
uftdi_write: sc=0xd1e78a80, port=1 count=3 data[0]=0x02
-stopped here. Failed! 20lines/second. Three last lines delayed between 
them about half a second-.


8---

Before failure, usbdevs reads

8---

$ usbdevs -v
Controller /dev/usb0:
addr 1: high speed, self powered, config 1, EHCI root hub(0x), 
Intel(0x8086), rev 1.00

 port 1 powered
 port 2 powered
 port 3 powered
 port 4 powered
 port 5 powered
 port 6 addr 2: high speed, power 500 mA, config 1, USB 
Storage(0x0727), Generic(0x05e3), rev 2.06, iSerialNumber 0206

 port 7 powered
 port 8 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), 
Intel(0x8086), rev 1.00
 port 1 addr 2: low speed, power 100 mA, config 1, USB 
Keyboard(0x0408), Chicony(0x04f2), rev 1.65

 port 2 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), 
Intel(0x8086), rev 1.00
 port 1 addr 2: full speed, self powered, config 1, HRS 
PRINTER(0x0013), APS(0x1ad4), rev 1.00
 port 2 addr 3: full speed, power 100 mA, config 1, GL650 Hub(0x0604), 
Genesys Logic(0x05e3), rev 3.05
  port 1 addr 4: full speed, power 90 mA, config 1, FT232R USB 
UART(0x6001), FTDI(0x0403), rev 6.00, iSerialNumber A4001Tmz
  port 2 addr 5: full speed, power 90 mA, config 1, FT232R USB 
UART(0x6001), FTDI(0x0403), rev 6.00, iSerialNumber A4001Tr2
  port 3 addr 6: full speed, power 90 mA, config 1, FT232R USB 
UART(0x6001), FTDI(0x0403), rev 6.00, iSerialNumber A4001T4y
  port 4 addr 7: full speed, power 90 mA, config 1, FT232R USB 
UART(0x6001), FTDI(0x0403), rev 6.00, iSerialNumber A4001Tlt

Controller /dev/usb3:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), 
Intel(0x8086), rev 1.00

 port 1 powered
 port 2 powered
Controller /dev/usb4:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), 
Intel(0x8086), rev 1.00

 port 1 powered
 port 2 powered
$

8---

After failure, usbdevs reads different!:

8---

$ usbdevs -v
Controller /dev/usb0:
addr 1: high speed, self powered, config 1, EHCI root hub(0x), 
Intel(0x8086), rev 1.00

 port 1 powered
 port 2 powered
 port 3 powered
 port 4 powered
 port 5 powered
 port 6 addr 2: high speed, power 500 mA, config 1, USB 
Storage(0x0727), Generic(0x05e3), rev 2.06,


iSerialNumber 0206
 port 7 powered
 port 8 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), 
Intel(0x8086), rev 1.00
 port 1 addr 2: low speed, power 100 mA, config 1, USB 
Keyboard(0x0408), Chicony(0x04f2), rev 1.65

 port 2 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), 
Intel(0x8086), rev 1.00
 port 1 addr 2: full speed, self powered, config 1, HRS 
PRINTER(0x0013), APS(0x1ad4), rev 1.00
 port 2 addr 3: full speed, power 100 mA, config 1, GL650 Hub(0x0604), 
Genesys Logic(0x05e3), rev


3.05
  port 1 addr 4: full speed, power 90 mA, config 1, 8U232AM 
Serial(0x6001), Future Technology


Devices(0x0403), rev 6.00
  port 2 addr 5: full speed, power 90 mA, config 1, 8U232AM 
Serial(0x6001), Future Technology


Devices(0x0403), rev 6.00
  port 3 addr 6: full speed, power 90 mA, config 1, 8U232AM 
Serial(0x6001), Future Technology


Devices(0x0403), rev 6.00
  port 4 addr 7: full speed, power 90 mA, config 1, 8U232AM 
Serial(0x6001), Future Technology


Devices(0x0403), rev 6.00
Controller /dev/usb3:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), 
Intel(0x8086), rev 1.00

 port 1 powered
 port 2 powered
Controller /dev/usb4:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), 
Intel(0x8086), rev 1.00

 port 1 powered
 port 2 powered
$

8---

Then you dettach device, console shows:


Re: Problems with a postfix server.

2011-07-26 Thread Jordi Espasa Clofent

1. Assure your connectivity (PF, VPN... whatever)
2. Work with Postfix. A lot of good info out there.

--
I will face my fear. I will permit it to pass over me and through me. 
And when it has gone past I will turn the inner eye to see its path. 
Where the fear has gone there will be nothing. Only I will remain.




Re: Creating route tables

2011-07-26 Thread Claudio Jeker
On Thu, Jul 21, 2011 at 10:20:38PM +0200, Claudio Jeker wrote:
 On Thu, Jul 21, 2011 at 01:57:10PM -0500, Josh Hoppes wrote:
  Thanks for the help and for the better understanding of routing
  domains and tables. In the end I was over thinking the problem and
  didn't actually need the additional routing table.
  
  On Thu, Jul 21, 2011 at 10:17 AM, Claudio Jeker
  cje...@diehard.n-r-g.com wrote:
   On Thu, Jul 21, 2011 at 09:40:44AM +0300, Gregory Edigarov wrote:
   Josh,
  
   the table needs to be created and an interface need to be assigned to
   the rdomain like:
  
   ifconfig  em0 a.b.c.d/24 rdomain 1
  
   then you can use it like, just for example, this:
   route -T 1 add e.f.g.h/24 a.b.c.x
  
   that does the trick.
  
   Nope. Something sneaked in that makes it impossible to create alternative
   tables. I will have a look.
  
   --
   :wq Claudio
  
 
 Still here is a diff to fix the porblem. route(8) was failing too early.
 Maybe someone has a better idea on how to solve the gettable() issue in a
 nicer way.
 

Is nobody interested in this?

route -T 1 add 127.0.0.1 127.0.0.1 should work. This is how routing tables
are supposed to be created. It would suck to be unable to do this.

Sending it to tech@ as well.
-- 
:wq Claudio

Index: route.c
===
RCS file: /cvs/src/sbin/route/route.c,v
retrieving revision 1.155
diff -u -p -r1.155 route.c
--- route.c 4 Jul 2011 22:48:31 -   1.155
+++ route.c 21 Jul 2011 20:16:45 -
@@ -102,7 +102,7 @@ void set_metric(char *, int);
 voidinet_makenetandmask(u_int32_t, struct sockaddr_in *, int);
 voidinterfaces(void);
 voidgetlabel(char *);
-voidgettable(const char *);
+int gettable(const char *);
 int rdomain(int, char **);
 
 __dead void
@@ -130,6 +130,7 @@ main(int argc, char **argv)
int ch;
int rval = 0;
int kw;
+   int Terr = 0;
 
if (argc  2)
usage(NULL);
@@ -150,7 +151,7 @@ main(int argc, char **argv)
tflag = 1;
break;
case 'T':
-   gettable(optarg);
+   Terr = gettable(optarg);
Tflag = 1;
break;
case 'd':
@@ -169,6 +170,10 @@ main(int argc, char **argv)
usage(NULL);
 
kw = keyword(*argv);
+   if (Tflag  Terr != 0  kw != K_ADD) {
+   errno = Terr;
+   err(1, routing table %i, tableid);
+   }
switch (kw) {
case K_EXEC:
break;
@@ -183,7 +188,8 @@ main(int argc, char **argv)
if (s == -1)
err(1, socket);
/* force socket onto table user requested */
-   if (Tflag  setsockopt(s, AF_ROUTE, ROUTE_TABLEFILTER,
+   if (Tflag == 1  Terr == 0 
+   setsockopt(s, AF_ROUTE, ROUTE_TABLEFILTER,
tableid, sizeof(tableid)) == -1)
err(1, setsockopt(ROUTE_TABLEFILTER));
break;
@@ -1630,7 +1636,7 @@ getlabel(char *name)
rtm_addrs |= RTA_LABEL;
 }
 
-void
+int
 gettable(const char *s)
 {
const char  *errstr;
@@ -1651,7 +1657,9 @@ gettable(const char *s)
 
len = sizeof(info);
if (sysctl(mib, 6, info, len, NULL, 0) == -1)
-   err(1, routing table %i, tableid);
+   return (errno);
+   else
+   return (0);
 }
 
 int



Re: Is there a kernel walkthough for newbies?

2011-07-26 Thread Jordi Espasa Clofent

http://www.atmnis.com/~proger/openkyiv/openkyiv2009_proger_sys.pdf


Wow Stuart, what a great doc. Is it listed in OpenBSD website papers 
section? It should!



--
I will face my fear. I will permit it to pass over me and through me. 
And when it has gone past I will turn the inner eye to see its path. 
Where the fear has gone there will be nothing. Only I will remain.




Debugging an app running in compat_linux

2011-07-26 Thread jirib
Hello,

I'm trying to make running ATTclient (basically it is some programs for
authentication, the network [vpn] setup is similar to vpnc).

After I start one of its daemon the system is completelly blocked -
stucked. No error, no kernel panic, nothing happens after pressing any
key.

Any tips how could I do some debugging?

Thank you.

jirib



Re: Is there a kernel walkthough for newbies?

2011-07-26 Thread Eugene Yunak
On 26 July 2011 21:13, Jordi Espasa Clofent jespa...@minibofh.org wrote:

  
 http://www.atmnis.com/~proger/**openkyiv/openkyiv2009_proger_**sys.pdfhttp://www.atmnis.com/~proger/openkyiv/openkyiv2009_proger_sys.pdf


 Wow Stuart, what a great doc. Is it listed in OpenBSD website papers
 section? It should!


 --
 I will face my fear. I will permit it to pass over me and through me. And
 when it has gone past I will turn the inner eye to see its path. Where the
 fear has gone there will be nothing. Only I will remain.


As far as i remember, it was listed, but now it's not.

For anyone who can do a bit of russian, the video from this talk might be
helpful too - http://uaoug.org.ua/openkyiv/2009/materials/.


-- 
The best the little guy can do is what
the little guy does right



Re: Creating route tables

2011-07-26 Thread Josh Hoppes
I've not been able to test the diff yet, but I'm certainly interested
in that functionality.

On Tue, Jul 26, 2011 at 2:33 PM, Claudio Jeker cje...@diehard.n-r-g.com
wrote:
 On Thu, Jul 21, 2011 at 10:20:38PM +0200, Claudio Jeker wrote:
 On Thu, Jul 21, 2011 at 01:57:10PM -0500, Josh Hoppes wrote:
  Thanks for the help and for the better understanding of routing
  domains and tables. In the end I was over thinking the problem and
  didn't actually need the additional routing table.
 
  On Thu, Jul 21, 2011 at 10:17 AM, Claudio Jeker
  cje...@diehard.n-r-g.com wrote:
   On Thu, Jul 21, 2011 at 09:40:44AM +0300, Gregory Edigarov wrote:
   Josh,
  
   the table needs to be created and an interface need to be assigned to
   the rdomain like:
  
   ifconfig  em0 a.b.c.d/24 rdomain 1
  
   then you can use it like, just for example, this:
   route -T 1 add e.f.g.h/24 a.b.c.x
  
   that does the trick.
  
   Nope. Something sneaked in that makes it impossible to create
alternative
   tables. I will have a look.
  
   --
   :wq Claudio
 

 Still here is a diff to fix the porblem. route(8) was failing too early.
 Maybe someone has a better idea on how to solve the gettable() issue in a
 nicer way.


 Is nobody interested in this?

 route -T 1 add 127.0.0.1 127.0.0.1 should work. This is how routing tables
 are supposed to be created. It would suck to be unable to do this.

 Sending it to tech@ as well.
 --
 :wq Claudio

 Index: route.c
 ===
 RCS file: /cvs/src/sbin/route/route.c,v
 retrieving revision 1.155
 diff -u -p -r1.155 route.c
 --- route.c 4 Jul 2011 22:48:31 -   1.155
 +++ route.c 21 Jul 2011 20:16:45 -
 @@ -102,7 +102,7 @@ void set_metric(char *, int);
  voidinet_makenetandmask(u_int32_t, struct sockaddr_in *, int);
  voidinterfaces(void);
  voidgetlabel(char *);
 -voidgettable(const char *);
 +int gettable(const char *);
  int rdomain(int, char **);

  __dead void
 @@ -130,6 +130,7 @@ main(int argc, char **argv)
int ch;
int rval = 0;
int kw;
 +   int Terr = 0;

if (argc  2)
usage(NULL);
 @@ -150,7 +151,7 @@ main(int argc, char **argv)
tflag = 1;
break;
case 'T':
 -   gettable(optarg);
 +   Terr = gettable(optarg);
Tflag = 1;
break;
case 'd':
 @@ -169,6 +170,10 @@ main(int argc, char **argv)
usage(NULL);

kw = keyword(*argv);
 +   if (Tflag  Terr != 0  kw != K_ADD) {
 +   errno = Terr;
 +   err(1, routing table %i, tableid);
 +   }
switch (kw) {
case K_EXEC:
break;
 @@ -183,7 +188,8 @@ main(int argc, char **argv)
if (s == -1)
err(1, socket);
/* force socket onto table user requested */
 -   if (Tflag  setsockopt(s, AF_ROUTE, ROUTE_TABLEFILTER,
 +   if (Tflag == 1  Terr == 0 
 +   setsockopt(s, AF_ROUTE, ROUTE_TABLEFILTER,
tableid, sizeof(tableid)) == -1)
err(1, setsockopt(ROUTE_TABLEFILTER));
break;
 @@ -1630,7 +1636,7 @@ getlabel(char *name)
rtm_addrs |= RTA_LABEL;
  }

 -void
 +int
  gettable(const char *s)
  {
const char  *errstr;
 @@ -1651,7 +1657,9 @@ gettable(const char *s)

len = sizeof(info);
if (sysctl(mib, 6, info, len, NULL, 0) == -1)
 -   err(1, routing table %i, tableid);
 +   return (errno);
 +   else
 +   return (0);
  }

  int



Re: Debugging an app running in compat_linux

2011-07-26 Thread Ted Unangst
On Tue, Jul 26, 2011, jirib wrote:
 I'm trying to make running ATTclient (basically it is some programs for
 authentication, the network [vpn] setup is similar to vpnc).
 
 After I start one of its daemon the system is completelly blocked -
 stucked. No error, no kernel panic, nothing happens after pressing any
 key.
 
 Any tips how could I do some debugging?

The first thing to try would be another version.  You don't mention
which version you're running now, so all I can suggest is not that one.



Re: Is there a kernel walkthough for newbies?

2011-07-26 Thread Stuart Henderson
On 2011-07-26, Eugene Yunak e.yu...@gmail.com wrote:
 On 26 July 2011 21:13, Jordi Espasa Clofent jespa...@minibofh.org wrote:

  
 http://www.atmnis.com/~proger/**openkyiv/openkyiv2009_proger_**sys.pdfhttp://www.atmnis.com/~proger/openkyiv/openkyiv2009_proger_sys.pdf


 Wow Stuart, what a great doc. Is it listed in OpenBSD website papers
 section? It should!

 As far as i remember, it was listed, but now it's not.

It's listed in events.html.



 For anyone who can do a bit of russian, the video from this talk might be
 helpful too - http://uaoug.org.ua/openkyiv/2009/materials/.



Re: build from source vs. rc.d files

2011-07-26 Thread Nick Holland
On 07/24/11 09:49, Alexander Krek wrote:
 Hello,
 
 may be this is something I simply overlooked, but I found out (hard way)
 that my way of building/updating -current system from source (FAQ 5.3 +

Already wrong, in that you don't update your system from source, you
update from nearest available binary.  Building from source is something
you do for giggles or self-punishment, not upgrading.  But, not your
issue...

 FAQ 5.5 w/o Making a release + sysmerge) left my system without
 new /etc/rc.d/ startup files (and may be some else).
 
 Is this a) bug, b) documented feature, or c) my stupidity?
 If c) is right, what is the right way of complete upgrade -current
 system from source?
 
 Alexander

Building from source never alters anything in /etc, even (especially?)
when there are major structural changes, as in /etc/rc.d.

However, are you saying you ran sysmerge, and sysmerge DIDN'T update
this for you?  I just verified on a system of mine that the Jul 19
snapshot's version of sysmerge had no difficulty updating the /etc
files, including /etc/rc and populating /etc/rc.d

Nick.



Re: build from source vs. rc.d files

2011-07-26 Thread Theo de Raadt
 Building from source never alters anything in /etc, even (especially?)
 when there are major structural changes, as in /etc/rc.d.

Right.  A 'make build' does not modify anything which is configuration
related.  That would be a tremendous hazard.

 However, are you saying you ran sysmerge, and sysmerge DIDN'T update
 this for you?  I just verified on a system of mine that the Jul 19
 snapshot's version of sysmerge had no difficulty updating the /etc
 files, including /etc/rc and populating /etc/rc.d

sysmerge can't handle everything.



Fundamental PM Pharma

2011-07-26 Thread VIATAMA - Learning Center
Dengan hormat,

Berikut kami sampaikan program training public-class pada bulan Agustus 2011, 
yaitu :

FUNDAMENTAL PRODUCT MANAGEMENT PHARMA, 8 - 10 Agustus 2011
Dalam memasarkan Produk Farmasi, Medical-cosmetics, Alkes dan Jasa Klinik 
Estetika, 
diperlukan Pemahaman dan Keahlian Khusus yang sesuai dengan karakter, 
kompleksitas dan keunikan 
Pasar dari industri tersebut. Improve your capability in managing your products 
to be more Competitive, 
Innovative and Profitable, dengan mengikuti workshop khusus farmasi yaitu 
FUNDAMENTAL PRODUCT MANAGEMENT PHARMA yang akan di laksanakan pada 
tanggal 8 - 10 Agustus 2011 di Viatama Training Centre Lt. 2. 
Info detail http://www.via-learn.com/Promotion.php

Untuk pendaftaraan, mohon cetak form pendaftaran dan dikirimkan kembali kepada 
Viatama 
melalui faks. 724 3364.

Program kami selanjutnya :
12 - 14 September 2011, Effective Supervisory Management
26 - 28 September 2011, Profitable Product Management
Terima kasih atas atensi yang diberikan terhadap jasa pelatihan Viatama

Hormat kami,
PT. VIATAMA TRIMITRA SEDJATI
Jl. Wolter Monginsidi No. 38 C
Kebayoran Baru - Jakarta Selatan 12170
Phone. (021)723 2790-91
Fax. (021)724 3364
Website. www.via-learn.com
Email. viat...@via-learn.com


Trial Version -- for evaluation purposes only



No sound with ATI SBx00 HD Audio

2011-07-26 Thread Christiano F. Haesbaert
Hi there, I've no audio with the ATI SBx00 HD Audio.
Please note that I've 2 azalia.


==mixerctl -av==
inputs.dac-0:1=192,192 
inputs.dac-2:3=126,126 
inputs.dac-4:5=126,126 
inputs.dac-6:7=192,192 
record.adc-0:1_mute=off  [ off on ]
record.adc-0:1=125,125 
record.adc-2:3_mute=off  [ off on ]
record.adc-2:3=125,125 
inputs.mix_source=mic,mic2,line-in,hp,line  { mic mic2 line-in hp line }
inputs.mix_mic=120,120 
inputs.mix_mic2=120,120 
inputs.mix_line-in=120,120 
inputs.mix_hp=120,120 
inputs.mix_line=120,120 
inputs.mix2_source=dac-0:1,mix  { dac-0:1 mix }
inputs.mix3_source=dac-2:3,mix  { dac-2:3 mix }
inputs.mix4_source=dac-4:5,mix  { dac-4:5 mix }
inputs.mix5_source=dac-6:7,mix  { dac-6:7 mix }
outputs.line_source=mix2  [ mix2 ]
outputs.line_mute=off  [ off on ]
outputs.line_dir=output  [ none output input ]
outputs.line_boost=off  [ off on ]
outputs.line_eapd=on  [ off on ]
outputs.mic_source=mix3  [ mix2 mix3 mix4 mix5 mix8 ]
outputs.mic_mute=off  [ off on ]
inputs.mic=85,85 
outputs.mic_dir=input-vr80  [ none output input input-vr0 input-vr50 input-vr80
input-vr100 ]
outputs.mic2_source=mix8  [ mix2 mix3 mix4 mix5 mix8 ]
outputs.mic2_mute=off  [ off on ]
inputs.mic2=85,85 
outputs.mic2_dir=input-vr80  [ none output input input-vr0 input-vr50 input-vr80
input-vr100 ]
outputs.mic2_boost=off  [ off on ]
outputs.line-in_source=mix4  [ mix2 mix3 mix4 mix5 mix8 ]
outputs.line-in_mute=off  [ off on ]
inputs.line-in=85,85 
outputs.line-in_dir=input  [ none output input input-vr0 input-vr50 input-vr80
input-vr100 ]
outputs.hp_source=mix5  [ mix2 mix3 mix4 mix5 mix8 ]
outputs.hp_mute=off  [ off on ]
inputs.hp=85,85 
outputs.hp_dir=output  [ none output input input-vr0 input-vr50 input-vr80
input-vr100 ]
outputs.hp_boost=off  [ off on ]
outputs.hp_eapd=on  [ off on ]
outputs.SPDIF_source=dig-dac-0:1  [ dig-dac-0:1 ]
record.adc-2:3_source=mic,mic2,line-in,hp,line,mix  { mic mic2 line-in hp line
mix }
record.adc-0:1_source=mic,mic2,line-in,hp,line,mix  { mic mic2 line-in hp line
mix }
inputs.dac-8:9=126,126 
inputs.mix8_source=dac-8:9,mix  { dac-8:9 mix }
outputs.line_sense=plugged  [ unplugged plugged ]
outputs.mic_sense=unplugged  [ unplugged plugged ]
outputs.mic2_sense=unplugged  [ unplugged plugged ]
outputs.line-in_sense=unplugged  [ unplugged plugged ]
outputs.hp_sense=unplugged  [ unplugged plugged ]
outputs.master=255,255 
outputs.master.mute=off  [ off on ]
outputs.master.slaves=dac-0:1,dac-6:7,line,hp  { dac-0:1 dac-2:3 dac-4:5 dac-6:7
line mic mic2 line-in hp dac-8:9 }
record.volume=125,125 
record.volume.mute=off  [ off on ]
record.volume.slaves=adc-0:1,adc-2:3  { adc-0:1 adc-2:3 mic mic2 line-in hp }
outputs.mode=analog  [ analog digital ]



==audioctl -a==
name=HD-Audio
version=1.0
config=azalia1
encodings=slinear_le:16:2:1,slinear_le:20:4:1,slinear_le:24:4:1
properties=full_duplex,independent
full_duplex=0
fullduplex=0
blocksize=17536
hiwat=2
lowat=1
output_muted=0
monitor_gain=0
mode=play
play.rate=44100
play.sample_rate=44100
play.channels=2
play.precision=16
play.bps=2
play.msb=1
play.encoding=slinear_le
play.gain=255
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=35072
play.samples=87031168
play.eof=0
play.pause=0
play.error=0
play.waiting=0
play.open=1
play.active=1
play.buffer_size=65536
play.block_size=17536
play.errors=0
record.rate=48000
record.sample_rate=48000
record.channels=2
record.precision=16
record.bps=2
record.msb=1
record.encoding=slinear_le
record.gain=125
record.balance=32
record.port=0x0
record.avail_ports=0x0
record.seek=0
record.samples=0
record.eof=0
record.pause=0
record.error=0
record.waiting=0
record.open=0
record.active=0
record.buffer_size=65536
record.block_size=9600
record.errors=0



==pcidump -x==
Domain /dev/pci0:
 0:0:0: AMD RS880 Host
0x: 96011022 2236 0600 
0x0010:    
0x0020:    96011022
0x0030:  00c4  
 0:2:0: AMD RS780 PCIE
0x: 96031022 00100107 0604 00010010
0x0010:   00010100 2000d1d1
0x0020: feb0feb0 dff1d001  
0x0030:  0050  001b010a
 0:7:0: AMD RS780 PCIE
0x: 96071022 00100107 0604 00010010
0x0010:   00020200 2000e1e1
0x0020: e1f0e000 fdf1fdf1  
0x0030:  0050  0007010b
 0:17:0: ATI SBx00 SATA
0x: 43901002 02300107 01060100 4010
0x0010: c001 b001 a001 9001
0x0020: 8001 feaffc00  37001565
0x0030:  0060  0109
 0:18:0: ATI SB700 USB
0x: 43971002 02a00106 0c031000 00804010
0x0010: feafe000   
0x0020:    37001565
0x0030:    010a
 0:18:1: ATI SB700 USB
0x: 43981002 02a00117 0c031000 4010
0x0010: 

Re: No sound with ATI SBx00 HD Audio

2011-07-26 Thread Christiano F. Haesbaert
Now I've noticed some popping sounds between which seem to alternate between
speakers, but still no sound.


On Wed, Jul 27, 2011 at 12:14:31AM -0300, Christiano F. Haesbaert wrote:
 Hi there, I've no audio with the ATI SBx00 HD Audio.
 Please note that I've 2 azalia.
 
 
 ==mixerctl -av==
 inputs.dac-0:1=192,192 
 inputs.dac-2:3=126,126 
 inputs.dac-4:5=126,126 
 inputs.dac-6:7=192,192 
 record.adc-0:1_mute=off  [ off on ]
 record.adc-0:1=125,125 
 record.adc-2:3_mute=off  [ off on ]
 record.adc-2:3=125,125 
 inputs.mix_source=mic,mic2,line-in,hp,line  { mic mic2 line-in hp line }
 inputs.mix_mic=120,120 
 inputs.mix_mic2=120,120 
 inputs.mix_line-in=120,120 
 inputs.mix_hp=120,120 
 inputs.mix_line=120,120 
 inputs.mix2_source=dac-0:1,mix  { dac-0:1 mix }
 inputs.mix3_source=dac-2:3,mix  { dac-2:3 mix }
 inputs.mix4_source=dac-4:5,mix  { dac-4:5 mix }
 inputs.mix5_source=dac-6:7,mix  { dac-6:7 mix }
 outputs.line_source=mix2  [ mix2 ]
 outputs.line_mute=off  [ off on ]
 outputs.line_dir=output  [ none output input ]
 outputs.line_boost=off  [ off on ]
 outputs.line_eapd=on  [ off on ]
 outputs.mic_source=mix3  [ mix2 mix3 mix4 mix5 mix8 ]
 outputs.mic_mute=off  [ off on ]
 inputs.mic=85,85 
 outputs.mic_dir=input-vr80  [ none output input input-vr0 input-vr50 
 input-vr80
 input-vr100 ]
 outputs.mic2_source=mix8  [ mix2 mix3 mix4 mix5 mix8 ]
 outputs.mic2_mute=off  [ off on ]
 inputs.mic2=85,85 
 outputs.mic2_dir=input-vr80  [ none output input input-vr0 input-vr50 
 input-vr80
 input-vr100 ]
 outputs.mic2_boost=off  [ off on ]
 outputs.line-in_source=mix4  [ mix2 mix3 mix4 mix5 mix8 ]
 outputs.line-in_mute=off  [ off on ]
 inputs.line-in=85,85 
 outputs.line-in_dir=input  [ none output input input-vr0 input-vr50 input-vr80
 input-vr100 ]
 outputs.hp_source=mix5  [ mix2 mix3 mix4 mix5 mix8 ]
 outputs.hp_mute=off  [ off on ]
 inputs.hp=85,85 
 outputs.hp_dir=output  [ none output input input-vr0 input-vr50 input-vr80
 input-vr100 ]
 outputs.hp_boost=off  [ off on ]
 outputs.hp_eapd=on  [ off on ]
 outputs.SPDIF_source=dig-dac-0:1  [ dig-dac-0:1 ]
 record.adc-2:3_source=mic,mic2,line-in,hp,line,mix  { mic mic2 line-in hp line
 mix }
 record.adc-0:1_source=mic,mic2,line-in,hp,line,mix  { mic mic2 line-in hp line
 mix }
 inputs.dac-8:9=126,126 
 inputs.mix8_source=dac-8:9,mix  { dac-8:9 mix }
 outputs.line_sense=plugged  [ unplugged plugged ]
 outputs.mic_sense=unplugged  [ unplugged plugged ]
 outputs.mic2_sense=unplugged  [ unplugged plugged ]
 outputs.line-in_sense=unplugged  [ unplugged plugged ]
 outputs.hp_sense=unplugged  [ unplugged plugged ]
 outputs.master=255,255 
 outputs.master.mute=off  [ off on ]
 outputs.master.slaves=dac-0:1,dac-6:7,line,hp  { dac-0:1 dac-2:3 dac-4:5 
 dac-6:7
 line mic mic2 line-in hp dac-8:9 }
 record.volume=125,125 
 record.volume.mute=off  [ off on ]
 record.volume.slaves=adc-0:1,adc-2:3  { adc-0:1 adc-2:3 mic mic2 line-in hp }
 outputs.mode=analog  [ analog digital ]
 
 
 
 ==audioctl -a==
 name=HD-Audio
 version=1.0
 config=azalia1
 encodings=slinear_le:16:2:1,slinear_le:20:4:1,slinear_le:24:4:1
 properties=full_duplex,independent
 full_duplex=0
 fullduplex=0
 blocksize=17536
 hiwat=2
 lowat=1
 output_muted=0
 monitor_gain=0
 mode=play
 play.rate=44100
 play.sample_rate=44100
 play.channels=2
 play.precision=16
 play.bps=2
 play.msb=1
 play.encoding=slinear_le
 play.gain=255
 play.balance=32
 play.port=0x0
 play.avail_ports=0x0
 play.seek=35072
 play.samples=87031168
 play.eof=0
 play.pause=0
 play.error=0
 play.waiting=0
 play.open=1
 play.active=1
 play.buffer_size=65536
 play.block_size=17536
 play.errors=0
 record.rate=48000
 record.sample_rate=48000
 record.channels=2
 record.precision=16
 record.bps=2
 record.msb=1
 record.encoding=slinear_le
 record.gain=125
 record.balance=32
 record.port=0x0
 record.avail_ports=0x0
 record.seek=0
 record.samples=0
 record.eof=0
 record.pause=0
 record.error=0
 record.waiting=0
 record.open=0
 record.active=0
 record.buffer_size=65536
 record.block_size=9600
 record.errors=0
 
 
 
 ==pcidump -x==
 Domain /dev/pci0:
  0:0:0: AMD RS880 Host
 0x: 96011022 2236 0600 
 0x0010:    
 0x0020:    96011022
 0x0030:  00c4  
  0:2:0: AMD RS780 PCIE
 0x: 96031022 00100107 0604 00010010
 0x0010:   00010100 2000d1d1
 0x0020: feb0feb0 dff1d001  
 0x0030:  0050  001b010a
  0:7:0: AMD RS780 PCIE
 0x: 96071022 00100107 0604 00010010
 0x0010:   00020200 2000e1e1
 0x0020: e1f0e000 fdf1fdf1  
 0x0030:  0050  0007010b
  0:17:0: ATI SBx00 SATA
 0x: 43901002 02300107 01060100 4010
 0x0010: c001 b001 a001 9001
 0x0020: 8001 feaffc00  37001565
 0x0030:  0060