Re: cups and gutenprint refuse to work with canon usb printer

2009-06-14 Thread Jacob Meuser
On Thu, Jun 11, 2009 at 10:08:09PM +, Moritz Herrmann wrote:
> Hi guys,
> after trying a whole day myself to get the old Canon PIXMA iP2000 to 
> print from OBSD 4.5
> i considered asking the mailing list for help.
> 
> The printer itself is fine and is recognized as:
> # dmesg | grep ulpt 
> ulpt0 at uhub4 port 2 configuration 1 interface 0 "Canon iP2000" rev 
> 1.10/1.05 addr 2
> ulpt0: using bi-directional mode
> 
> Then I consulted http://openprinting.org/ where I found, that gutenprint 
> drivers for my printer should work fine.
> So after installing CUPS and succesfully printing on a HP Laserjet I 
> installed gutenprint and tried to configure the Canon printer with the 
> Cups web interface. As Cups didn't have the Canon model as a choice I 
> manually downloaded the gutenprint database extracted the suitable .ppd 
> file and copied it to /usr/local/share/cups/model/. Still the printer is 
> not working.
> I am unsure if I made a stupid mistake so far, because after getting 
> gutenprint with pkg_add I presumably should not have downloaded the ppd 
> file manually.
> 
> Here is the cups error log:
> 
> I [11/Jun/2009:22:03:55 +] Job 18 queued on "pixmaiP2000" by "root".
> I [11/Jun/2009:22:03:55 +] Started filter 
> /usr/local/libexec/cups/filter/pstops (PID 25160) for job 18.
> I [11/Jun/2009:22:03:55 +] Started filter 
> /usr/local/libexec/cups/filter/pstoraster (PID 20648) for job 18.
> I [11/Jun/2009:22:03:55 +] Started filter 
> /opt/gutenprint/cups/lib/filter/rastertogutenprint.5.0 (PID 19387) for job 


seems like an odd path.  you probably don't want to use the downloaded
PPDs.

also, I don't think you understood what it says @ openprinting.org.
the entry for this printer is a little confusing.  you are supposed
to treat the printer like it's a bj800 or bj7000.  if you install the
foomatic-db-engine package, you can get a PPD like so:

$ foomatic-ppdfile -p Canon-BJC-7000 -d bjc800

that one will use plain ol' ghostscipt, no gutenprint.  if you wish
to try the gutenprint driver, install foomatic-db-gutenprint and
do

$ foomatic-ppdfile -p Canon-BJC-7000 -d gutenprint

of course the main confusion is that the openprinting.org entry
uses 'bj' instead of 'bjc'.  note that the entry is user-contributed
and can be edited by anyone.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: CD-ROM doesn't play

2009-06-14 Thread Jacob Meuser
On Fri, Jun 12, 2009 at 03:34:43PM -0700, patrick keshishian wrote:
> On Fri, Jun 12, 2009 at 3:17 PM, merlyn wrote:
> > Hi all,
> > I'm trying to play music CD-ROM on my Lenovo ThinkPad SL400 with OpenBSD 
> > 4.5,
> > but unsuccessfully. It seems to play, but no sound sounds.
> > I've tried cdio and kscd.
> > Mixerctl inputs.cd.* isn't here.

mixerctl inputs.cd* control analog connections from the cd drive to
the sound card.  it's quite common (probably the norm, actually) for
laptops to not have this connection.  in fact, if it were really
connected, the vendor could let azalia(4) know, and it would show up
in mixerctl(1) output.  although, vendors aren't always that nice
about analog CD connections.  they are almost always listed as not
connected, even when they sometimes are.

> as a workaround, you can use 'cdio cdplay'.

it's not a workaround.  it's probably the most reliable method.
'cdio play' tells the cd drive to play an audio CD and send the
analog music on the analog outputs.  obviously won't work if the
analog outputs aren't connected to the soundcard.  'cdio cdplay'
reads the disc and sends digital audio data to the sound card.
that should work everywhere.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: azalia

2009-06-14 Thread Jacob Meuser
On Tue, Jun 09, 2009 at 10:19:37AM -0400, Dan Harnett wrote:
> On Tue, Jun 09, 2009 at 05:19:21AM +, Jacob Meuser wrote:
> > On Mon, May 04, 2009 at 08:21:52AM +, Jacob Meuser wrote:
> > > I put a lot of work into azalia(4) in the last release cycel, and I'd
> > > like to be able to say, when 4.6 release comes, that azalia is
> > > "completed".
> > > 
> > > by completed I mean it "just works" as expected, by default, everywhere.
> > > 
> > > so, if you are using OpenBSD 4.5 or -current, and you have *any*
> > > issues with azalia(4) (I mean anything, even if it seems "small" or 
> > > is "not really a bug but I change this everytime"), please let me
> > > know.
> > 
> > if anyone still has any problems with azalia, please let me know.
> 
> I noticed this a while ago, but don't really care because I disable it
> anyway.  However, if you're interested...
> 
> The "alarm" on my ThinkPad T61 and ThinkPad X61s no longer seem to work.
> It's just a beep or series of beeps when the A/C power state changes or
> the battery starts to run low.

the beep/bell thing on azalia is a mess.  analog devices codecs
especially.  pretty sure this codec violates the spec by listing
the digital beep in the connection list of a mixer.  this is
specifically disallowed by the spec.  so, the driver does not honor
such a connection, which means the input on the mixer is not
unmuted.

at least, I'm pretty sure that's the issue.  I made such a change
somewhat recently.

do people want these beeps?

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: azalia

2009-06-14 Thread Jacob Meuser
On Wed, Jun 10, 2009 at 03:56:40PM +0200, Thomas Pfaff wrote:
> On Tue, 9 Jun 2009 05:19:21 +
> Jacob Meuser  wrote:
> >
> > if anyone still has any problems with azalia, please let me know.
> > 
> 
> Not exactly a problem, but since you're asking; is there anything
> that can be done about the audible pop during boot when azalia is
> initialized?

maybe.  it's annoying, but I don't reboot often enough that it's
bothered me enough to really look at the code.  probably we should
set the volume to 0, unmute, then set the volume to 127.  at least,
I think that would solve the issue ... still haven't actually looked
at the code ...

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: CD-ROM doesn't play

2009-06-14 Thread Jacob Meuser
On Fri, Jun 12, 2009 at 10:49:51PM -0500, Chris Bennett wrote:
> merlyn wrote:
> >Hi all,
> >I'm trying to play music CD-ROM on my Lenovo ThinkPad SL400 with OpenBSD 
> >4.5, but unsuccessfully. It seems to play, but no sound sounds.
> >I've tried cdio and kscd.
> >Mixerctl inputs.cd.* isn't here.
> >CD is ok, I have tried it in the cd player.
> >Thanks for any help,
> >Milan Bartos
> >
> >  
> I've had the same problem for a long time now. Started a good while back 
> after a certain -current.
> Don't remember which, was months ago. Suddenly noticed one day that cdio 
> play didn't work anymore.
> 
> Had no idea about cdio cdplay. That really solves my problem, almost 
> good enough, but it would be better to understand problem, I don't think 
> its a hardware problem.

> $ audioctl
> name=Audigy2
> version=0x04
> config=emuxki

unless by months you mean over a year ago, I doubt it has anything to
do with the code, since ac97/emu mixer stuff hasn't changed in the
last 16 months.

> $ dmesg
> OpenBSD 4.5-current (GENERIC) #133: Tue May  5 21:30:15 MDT 2009
>dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Intel Pentium III ("GenuineIntel" 686-class, 128KB L2 cache) 899 MHz
> cpu0: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
> real mem  = 536375296 (511MB)
> avail mem = 510324736 (486MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 12/19/01, BIOS32 rev. 0 @ 0xfb0c0, 
> SMBIOS rev. 2.3 @ 0xf0800 (38 entries)
> bios0: vendor Award Software International, Inc. version "6.00 PG" date 
> 12/19/2001
> bios0: LEGEND.QDI(R) SynactiX5EP
> apm0 at bios0: Power Management spec V1.2 (slowidle)
> apm0: AC on, battery charge unknown

doesn't look like a laptop.  check the connection.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: "X -configure" command reboots machine

2009-06-14 Thread Matthieu Herrb
On Sat, Jun 13, 2009 at 9:46 PM,  wrote:
> Hello,
>
> I just installed version 4.5 on a very old laptop (Texas Instruments Extensa
> 605CD), it was happily running 4.2 before. All the hardware seems to be
> recognised correctly on both versions but I am having a strange problem when
> trying to configure Xorg, the command "X -configure" reboots the machine, in
> fact, running X with any parameter reboots the machine. I created a
> xorg.conf file to test and trying to start X with it produces the same
> result.
>
> I haven't used OpenBSD for very long, I only started with version 4.2 so I
> am thinking that I am probably missing something simple or something new on
> 4.5? (I have the machdep.allowaperture=2 in sysctl.conf).
>
> I am attaching my sysctl params and my dmesg, I hope someone can give me a
> hand with this.
>
> Thanks very much in advance.

Please also include pcidump -vv output

Can you look if you get something in /var/log/Xorg.0.log after the reboot?

if not, can you set up a serial console, log in as root through it and
run "script Xorg -verbose 4"
and send the typescript here ?

Also, try using the "Vesa" driver xorg.conf. It should work, as I
suspect the breakage is in the xf86-video-chips driver.
-- 
Matthieu Herrb



Re: cups and gutenprint refuse to work with canon usb printer

2009-06-14 Thread Moritz Herrmann
 Thank you all for your help,
like Jacob supposed, I misunderstood the entry of openprinting.org
and the usage of the foomatic-engine-db. With Jacob's explanation
everything worked instantaneously. Thank you very much!
Moritz

Jacob Meuser wrote:

  On Thu, Jun 11, 2009 at 10:08:09PM +, Moritz Herrmann wrote:

Hi guys,
after trying a whole day myself to get the old Canon PIXMA iP2000 to 
print from OBSD 4.5
i considered asking the mailing list for help.

The printer itself is fine and is recognized as:
# dmesg | grep ulpt 
ulpt0 at uhub4 port 2 configuration 1 interface 0 "Canon iP2000" rev 
1.10/1.05 addr 2
ulpt0: using bi-directional mode

Then I consulted http://openprinting.org/ where I found, that 
gutenprint 
drivers for my printer should work fine.
So after installing CUPS and succesfully printing on a HP Laserjet I 
installed gutenprint and tried to configure the Canon printer with the 
Cups web interface. As Cups didn't have the Canon model as a choice I 
manually downloaded the gutenprint database extracted the suitable .ppd 
file and copied it to /usr/local/share/cups/model/. Still the printer is 
not working.
I am unsure if I made a stupid mistake so far, because after getting 
gutenprint with pkg_add I presumably should not have downloaded the ppd 
file manually.

Here is the cups error log:

I [11/Jun/2009:22:03:55 +] Job 18 queued on "pixmaiP2000" by "root".
I [11/Jun/2009:22:03:55 +] Started filter 
/usr/local/libexec/cups/filter/pstops (PID 25160) for job 18.
I [11/Jun/2009:22:03:55 +] Started filter 
/usr/local/libexec/cups/filter/pstoraster (PID 20648) for job 18.
I [11/Jun/2009:22:03:55 +] Started filter 
/opt/gutenprint/cups/lib/filter/rastertogutenprint.5.0 (PID 19387) for job 

  
  seems like an odd path.  you probably don't want to use the downloaded
  PPDs.
  
  also, I don't think you understood what it says @ openprinting.org.
  the entry for this printer is a little confusing.  you are supposed
  to treat the printer like it's a bj800 or bj7000.  if you install the
  foomatic-db-engine package, you can get a PPD like so:
  
  $ foomatic-ppdfile -p Canon-BJC-7000 -d bjc800
  
  that one will use plain ol' ghostscipt, no gutenprint.  if you wish
  to try the gutenprint driver, install foomatic-db-gutenprint and
  do
  
  $ foomatic-ppdfile -p Canon-BJC-7000 -d gutenprint
  
  of course the main confusion is that the openprinting.org entry
  uses 'bj' instead of 'bjc'.  note that the entry is user-contributed
  and can be edited by anyone.



Re: azalia

2009-06-14 Thread Robert
On Sun, 14 Jun 2009 08:48:46 +
Jacob Meuser  wrote:

> On Tue, Jun 09, 2009 at 10:19:37AM -0400, Dan Harnett wrote:
> > On Tue, Jun 09, 2009 at 05:19:21AM +, Jacob Meuser wrote:
> > > On Mon, May 04, 2009 at 08:21:52AM +, Jacob Meuser wrote:
> > > > I put a lot of work into azalia(4) in the last release cycel,
> > > > and I'd like to be able to say, when 4.6 release comes, that
> > > > azalia is "completed".
> > > > 
> > > > by completed I mean it "just works" as expected, by default,
> > > > everywhere.
> > > > 
> > > > so, if you are using OpenBSD 4.5 or -current, and you have *any*
> > > > issues with azalia(4) (I mean anything, even if it seems
> > > > "small" or is "not really a bug but I change this everytime"),
> > > > please let me know.
> > > 
> > > if anyone still has any problems with azalia, please let me know.
> > 
> > I noticed this a while ago, but don't really care because I disable
> > it anyway.  However, if you're interested...
> > 
> > The "alarm" on my ThinkPad T61 and ThinkPad X61s no longer seem to
> > work. It's just a beep or series of beeps when the A/C power state
> > changes or the battery starts to run low.
> 
> the beep/bell thing on azalia is a mess.  analog devices codecs
> especially.  pretty sure this codec violates the spec by listing
> the digital beep in the connection list of a mixer.  this is
> specifically disallowed by the spec.  so, the driver does not honor
> such a connection, which means the input on the mixer is not
> unmuted.
> 
> at least, I'm pretty sure that's the issue.  I made such a change
> somewhat recently.
> 
> do people want these beeps?
> 

No idea about the "warning beep" on bat-low, but the normal beep/bell,
eg on the console, works for me on my Thinkpad X200. (Conexant CX20561)

If it is the same beep we are thinking about, i would especially miss
the notification of new messages in mcabber/irssi under xterm.
The way it is now works for me, but apparently not for every azalia.

Please don't remove beep on all azalia.(If that is what you are asking.)

- Robert



problem

2009-06-14 Thread m...@ntv
 When I had opened your last email I received some errors have been
saved in the attached file.
  Please inform me with those errors as soon as possible.




  The original file name is outlooklog.rar and compressed by WinRAR no virus
found.
  Use WinRAR to decompress the file.

[demime 1.01d removed an attachment of type application/ms-tnef which had a 
name of winmail.dat]



Re: Listing Packages Installed From Source

2009-06-14 Thread Marc Espie
On Fri, Jun 12, 2009 at 10:03:18PM -0700, Michael R. Littlejohn wrote:
> that will help me accomplish my goal.  I want to be able to have
> full control over installation and uninstallation of source compiled
> packages.

then use the ports tree infrastructure.

you can write your own ports and track them that way.



Re: azalia

2009-06-14 Thread Jacob Meuser
On Sun, Jun 14, 2009 at 11:33:46AM +0200, Robert wrote:
> On Sun, 14 Jun 2009 08:48:46 +
> Jacob Meuser  wrote:
> 
> > On Tue, Jun 09, 2009 at 10:19:37AM -0400, Dan Harnett wrote:
> > > On Tue, Jun 09, 2009 at 05:19:21AM +, Jacob Meuser wrote:
> > > > On Mon, May 04, 2009 at 08:21:52AM +, Jacob Meuser wrote:
> > > > > I put a lot of work into azalia(4) in the last release cycel,
> > > > > and I'd like to be able to say, when 4.6 release comes, that
> > > > > azalia is "completed".
> > > > > 
> > > > > by completed I mean it "just works" as expected, by default,
> > > > > everywhere.
> > > > > 
> > > > > so, if you are using OpenBSD 4.5 or -current, and you have *any*
> > > > > issues with azalia(4) (I mean anything, even if it seems
> > > > > "small" or is "not really a bug but I change this everytime"),
> > > > > please let me know.
> > > > 
> > > > if anyone still has any problems with azalia, please let me know.
> > > 
> > > I noticed this a while ago, but don't really care because I disable
> > > it anyway.  However, if you're interested...
> > > 
> > > The "alarm" on my ThinkPad T61 and ThinkPad X61s no longer seem to
> > > work. It's just a beep or series of beeps when the A/C power state
> > > changes or the battery starts to run low.
> > 
> > the beep/bell thing on azalia is a mess.  analog devices codecs
> > especially.  pretty sure this codec violates the spec by listing
> > the digital beep in the connection list of a mixer.  this is
> > specifically disallowed by the spec.  so, the driver does not honor
> > such a connection, which means the input on the mixer is not
> > unmuted.
> > 
> > at least, I'm pretty sure that's the issue.  I made such a change
> > somewhat recently.
> > 
> > do people want these beeps?
> > 
> 
> No idea about the "warning beep" on bat-low, but the normal beep/bell,
> eg on the console, works for me on my Thinkpad X200. (Conexant CX20561)
> 
> If it is the same beep we are thinking about, i would especially miss
> the notification of new messages in mcabber/irssi under xterm.
> The way it is now works for me, but apparently not for every azalia.
> 
> Please don't remove beep on all azalia.(If that is what you are asking.)

I am asking if it's worth while to make the beep work as much as
possible.

> - Robert
> 

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



ACPI suspend/ resume on IBM T60 not working

2009-06-14 Thread Chris
I'm using the latest snapshot on an IBM T60 laptop; suspend / resume
don't seem to be working.  Typing "apmd" and then "apm -z" from my
window manager's xterm tells me "System will enter suspend mode
momentarily." and nothing happens. Typing "zzz" tells me "Suspending
system..." but nothing really happens.

Here is my dmesg. Thanks for any help.

OpenBSD 4.5-current (GENERIC.MP) #4: Sat Jun 13 23:59:47 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz ("GenuineIntel" 686-class) 1.83 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
real mem  = 526807040 (502MB)
avail mem = 500899840 (477MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/12/07, BIOS32 rev. 0 @
0xfd6b0, SMBIOS rev. 2.4 @ 0xe0010 (68 entries)
bios0: vendor LENOVO version "79ETD2WW (2.12 )" date 04/12/2007
bios0: LENOVO 1954PJM
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT SSDT
SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4)
EXP1(S4) EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3)
USB7(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz ("GenuineIntel" 686-class) 1.83 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 12 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "92P1141" serial  1159 type LION oem "SONY"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
bios0: ROM list: 0xc/0xea00! 0xcf000/0x1000 0xd/0x1000
0xdc000/0x4000! 0xe/0x1!
cpu0: Enhanced SpeedStep 1829 MHz: speeds: 1833, 1333, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82945GM Video" rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
"Intel 82945GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02:
apic 1 int 17 (irq 11)
azalia0: codecs: Analog Devices AD1981HD, Conexant/0x2bfa, using
Analog Devices AD1981HD
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 1
int 20 (irq 11)
pci1 at ppb0 bus 2
em0 at pci1 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00:
apic 1 int 16 (irq 11), address 00:15:58:c3:aa:e0
ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 1
int 21 (irq 11)
pci2 at ppb1 bus 3
wpi0 at pci2 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02:
apic 1 int 17 (irq 11), MoW1, address 00:1b:77:4d:5a:f4
ppb2 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: apic 1
int 22 (irq 11)
pci3 at ppb2 bus 4
ppb3 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: apic 1
int 23 (irq 11)
pci4 at ppb3 bus 12
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 1
int 16 (irq 11)
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 1
int 17 (irq 11)
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 1
int 18 (irq 11)
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 1
int 19 (irq 11)
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 1
int 19 (irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci5 at ppb4 bus 21
cbb0 at pci5 dev 0 function 0 "TI PCI1510 CardBus" rev 0x00: apic 1
int 16 (irq 11)
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 22 device 0 cacheline 0x8, lattimer 0xb0
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA,
channel 0 configured to compatib

Re: Agere ET1310 not working

2009-06-14 Thread Renaud Allard
Hi Stuart,

Stuart Henderson wrote:
> On 2009/06/11 21:26, Renaud Allard wrote:
>> Stuart Henderson wrote:
>>> On 2009-06-03, Renaud Allard  wrote:
 I have just bought a Fabia FX5621 board which has amongst others, two
 Agere ET1310 interfaces. I configured one interface and it negotiated
 correctly with my switch at 1000mbps full duplex. However, I am not able
 to ping the interface from anywhere else and I am not able to ping from
 the interface either. The ARP table seems always empty. I used tcpdump
 to sniff the traffic while pinging and doing some broadcasts and saw
 nothing in the tcpdump output.
 Has someone else noticed this kind of behavior with this chipset?
>>> watch "systat vmstat" then ping -f it from another machine.
>>> what irq is triggering? is it associated with the et(4)?
>>> is it the same for both et? 
>> It seems that sometimes a packet goes through the interface, but many
>> seconds (40+) after it has been sent.
>> It's the same for both interfaces.
> 
> watch "systat vmstat" then ping -f it from another machine.
> what irq is triggering? is it associated with the et(4)?
> or is it a different one?
> 

I tried watching "systat vmstat" during a ping -f and it showed nothing
about et interfaces. So I forced the arp address on the other PC to be
sure packets would be sent to the good mac (since arp replies did not
even come). This resulted in the exact same behaviour, nothing in
systat. Packets seems to go to the interface tough as the network light
on et interfaces did light on continuously during my ping -f (and 1 each
second during a normal ping).

Best Regards



fstat regression

2009-06-14 Thread Navan Carson

When running the fstat command on a file, it no longer restricts
reports to the specified file, e.g.

fstat /var/log/messages

This used to return a line referencing syslogd, now it returns all
of the internet, internet6, kqueue, pipe, route, and unix sockets
open on the system as well.

This worked in previous releases, and in snapshots up to at least
OpenBSD 4.5-current (GENERIC) #41: Sat Jun  6 13:27:32 MDT 2009

Based on the timing, I'd guess this is related to changing fstat
to use the new kvm_getfile2 interface.
http://marc.info/?l=openbsd-cvs&m=124434434417337&w=2

Navan



Re: fstat regression

2009-06-14 Thread Miod Vallat
> When running the fstat command on a file, it no longer restricts
> reports to the specified file, e.g.
>
> fstat /var/log/messages
>
> This used to return a line referencing syslogd, now it returns all
> of the internet, internet6, kqueue, pipe, route, and unix sockets
> open on the system as well.
>
> This worked in previous releases, and in snapshots up to at least
> OpenBSD 4.5-current (GENERIC) #41: Sat Jun  6 13:27:32 MDT 2009
>
> Based on the timing, I'd guess this is related to changing fstat
> to use the new kvm_getfile2 interface.
> http://marc.info/?l=openbsd-cvs&m=124434434417337&w=2

The following diff should fix it.

Miod

Index: fstat.c
===
RCS file: /cvs/src/usr.bin/fstat/fstat.c,v
retrieving revision 1.66
diff -u -p -r1.66 fstat.c
--- fstat.c 11 Jun 2009 21:09:46 -  1.66
+++ fstat.c 14 Jun 2009 14:44:08 -
@@ -278,19 +278,24 @@ dofiles(struct kinfo_file2 *kf)
vtrans(kf);
break;
case DTYPE_SOCKET:
-   socktrans(kf);
+   if (checkfile == 0)
+   socktrans(kf);
break;
case DTYPE_PIPE:
-   pipetrans(kf);
+   if (checkfile == 0)
+   pipetrans(kf);
break;
case DTYPE_KQUEUE:
-   kqueuetrans(kf);
+   if (checkfile == 0)
+   kqueuetrans(kf);
break;
case DTYPE_CRYPTO:
-   cryptotrans(kf);
+   if (checkfile == 0)
+   cryptotrans(kf);
break;
case DTYPE_SYSTRACE:
-   systracetrans(kf);
+   if (checkfile == 0)
+   systracetrans(kf);
break;
default:
if (vflg) {



Re: fstat regression

2009-06-14 Thread Navan Carson

On Jun 14, 2009, at 8:44 AM, Miod Vallat wrote:


When running the fstat command on a file, it no longer restricts
reports to the specified file, e.g.

fstat /var/log/messages



The following diff should fix it.

Miod





Sorry for the delay getting back to you, I stopped for
breakfast.

I tested your patch. It does fix the issue I was seeing.

Thank you,
Navan



log rotation

2009-06-14 Thread Robert Urban
Hi Folks,

I use syslog-ng, for which newsyslog seemed to have a few shortcomings.  Also, I
didn't like the way newsyslog processes each file to be rotated individually,
sending a signal to syslogd each time, instead of doing all the rotations, and
then sending a single signal.  yeah, I read that syslogd doesn't care, and the
method doesn't present any significant load on the system or syslogd. I guess
I'm a pedant.  Anyhow, I wrote a perl script to batch all the rotations.  It
isn't nearly as clever as newsyslog (rotation based on size, etc).  It simply
rotates when called.  For anyone who's interested, the script can be found at:

http://www.unix-wissen.de/OpenBSD/rotate-logs.pl

cheers,

Rob Urban



Re: ACPI suspend/ resume on IBM T60 not working

2009-06-14 Thread Paul Irofti
On Sun, Jun 14, 2009 at 10:28:44PM +1000, Chris wrote:
> I'm using the latest snapshot on an IBM T60 laptop; suspend / resume
> don't seem to be working.  Typing "apmd" and then "apm -z" from my
> window manager's xterm tells me "System will enter suspend mode
> momentarily." and nothing happens. Typing "zzz" tells me "Suspending
> system..." but nothing really happens.
> 
> Here is my dmesg. Thanks for any help.

Suspend / resume isn't ready yet and we never said it is. Usually when
you report ACPI stuff you should include an acpidump as well. Or more
easily, since you're up to date, you could use sendbug for that. But
keep in mind that this is not a supported feature, its work in progress.



routing/network question

2009-06-14 Thread patrick keshishian
Hello,

I ran into an interesting problem trying to port some code to linux
and thinking about it a bit, I am not sure which has the more
desirable behavior: linux or openbsd.

Say host "h1" starts exchanging some packets with host "h2", which is
on a remote network ("n2"). As this is going on, "h1" establishes a
ppp connection where "h3" is the remote end point (and also in network
"n2"). There is a route added for "n2" with gateway "h3". so from this
point on, any traffic to any host within "n2" will/should go through
the ppp interface. right?

netstat -rnfinet shows:
...
1x8.18x.200/23 1x8.18x.201.136UGS00 - 8 ppp0
1x8.18x.201.1361x8.18x.201.132UH 10 - 4 ppp0
...

Where 1x8.18x.201.132 is the local ip assigned to "h1" via ppp and
1x8.18x.201.136 is the remote host ("h3") ip (and gateway for "n2").


Sending further packets, using the same socket descriptor, from "h1"
to "h2" should go through which interface? the ppp interface or the
real physical interface which was being used prior to the ppp
connection (xl0, etc.)?

openbsd and linux seem to behave differently (a shocker, I am sure).
in linux, any further traffic between "h1" and "h2" is now routed
through the ppp interface. however, in openbsd the packets continue
being sent over the same initial interface.

to solve the (my?) "problem" on linux, i have to add a static route to
"h2" specifying the default gateway for "h1's" network (not "h3").

--patrick



You have a new Greeting

2009-06-14 Thread i...@greetings.com
Hello friend !
You have just recieved a postcard Greeting from your friend.

Click here if you want to download your Animated Greeting !

Thank you for using www.Greetings.com services.
Please take this opportunity to let your friends hear about us by sending
them a postcard from our collection !



Re: azalia

2009-06-14 Thread Robert
On Sun, 14 Jun 2009 12:28:44 +
Jacob Meuser  wrote:

> I am asking if it's worth while to make the beep work as much as
> possible.

Ah, ok.
No, i guess the time and effort might be better spent elsewere, instead
of implementing workarounds for crappy codecs/hw implementations.

I am one of those that has bought a shitload of nice loud
piezo-speakers, because most cases don't come with internal speakers
anymore. I like to have my systems to additionally loop echo -n "\a" on
failing checks.
But still, if my next mobo purchase has one of the bugged codecs,
whatever, there's much more important stuff.

In the replies to your request in this thread there doesn't
seem to be anyone who is missing the beep that much.
Some weeks back in the thread about 'to beep or not to beep by default'
the majority of replies went with "i turn it of as one of the first
things i do after the install".
(Still to beep by default is the way to go.)

So is there anyone who doesn't have working beep on their system and is
missing it a lot?

- Robert



Re: azalia

2009-06-14 Thread Joe Gidi
On Sun, June 14, 2009 4:48 am, Jacob Meuser wrote:
> the beep/bell thing on azalia is a mess.  analog devices codecs
> especially.  pretty sure this codec violates the spec by listing
> the digital beep in the connection list of a mixer.  this is
> specifically disallowed by the spec.  so, the driver does not honor
> such a connection, which means the input on the mixer is not
> unmuted.
>
> at least, I'm pretty sure that's the issue.  I made such a change
> somewhat recently.
>
> do people want these beeps?
>
> --
> jake...@sdf.lonestar.org
> SDF Public Access UNIX System - http://sdf.lonestar.org

Now that you mention it, I've never gotten my Asus Eee 900A to produce a
system beep/bell, nor has a friend who runs Linux on his. I just assumed
the machine didn't support the old-fashioned system beep. I can't even
make it beep at the BIOS level, by e.g. entering an incorrect BIOS
password.

Is there a way to diagnose this? I'd hate to ask you to start digging
through the code if the answer is, "the hardware doesn't work that way."

-- 
Joe Gidi
j...@entropicblur.com



Re: "X -configure" command reboots machine

2009-06-14 Thread web1
Hi Matthieu, thanks a lot for your message. After running memtest, I 
installed 4.2 yesterday again just to make sure that the laptop does work 
(someone suggested a memory problem), it does work fine with 4.2, so I am 
in the process of re-installing 4.5. I will try your suggestions and post 
the results.


Thanks again

Tenoch


On Sun, 14 Jun 2009, Matthieu Herrb wrote:


On Sat, Jun 13, 2009 at 9:46 PM,  wrote:

Hello,

I just installed version 4.5 on a very old laptop (Texas Instruments Extensa
605CD), it was happily running 4.2 before. All the hardware seems to be
recognised correctly on both versions but I am having a strange problem when
trying to configure Xorg, the command "X -configure" reboots the machine, in
fact, running X with any parameter reboots the machine. I created a
xorg.conf file to test and trying to start X with it produces the same
result.

I haven't used OpenBSD for very long, I only started with version 4.2 so I
am thinking that I am probably missing something simple or something new on
4.5? (I have the machdep.allowaperture=2 in sysctl.conf).

I am attaching my sysctl params and my dmesg, I hope someone can give me a
hand with this.

Thanks very much in advance.


Please also include pcidump -vv output

Can you look if you get something in /var/log/Xorg.0.log after the reboot?

if not, can you set up a serial console, log in as root through it and
run "script Xorg -verbose 4"
and send the typescript here ?

Also, try using the "Vesa" driver xorg.conf. It should work, as I
suspect the breakage is in the xf86-video-chips driver.
--
Matthieu Herrb




Re: Separate desktop list?

2009-06-14 Thread Antoine Jacoutot
FYI:

On Mon, 8 Jun 2009, Bill Maas wrote:
> - evolution is incredibly slow at startup

I have a fix. I'll probably commit it tomorrow.

> - deleting a message before it is fully loaded will cause evolution to
>   crash

Cannot reproduce in current.

> - PrtScr doesn't work, even though it's registered with the Gnome
>   shortcuts

Hmm I have no issue here, it works fine (current). Is your PrtScr key 
functionnal? Start xev and make sure the key produces the requested 
event.
This is not a gnome issue per se.

Cheers!

-- 
Antoine



Re: azalia

2009-06-14 Thread Jacob Meuser
On Sun, Jun 14, 2009 at 07:30:18PM +0200, Robert wrote:
> On Sun, 14 Jun 2009 12:28:44 +
> Jacob Meuser  wrote:
> 
> > I am asking if it's worth while to make the beep work as much as
> > possible.
> 
> Ah, ok.
> No, i guess the time and effort might be better spent elsewere, instead
> of implementing workarounds for crappy codecs/hw implementations.

it's sometimes fairly easy to make the beep work.  for example, the
workaround for many realtek codecs is only a few lines of code.
but still, if no one cares, then it seems pointless.

> I am one of those that has bought a shitload of nice loud
> piezo-speakers, because most cases don't come with internal speakers
> anymore. I like to have my systems to additionally loop echo -n "\a" on
> failing checks.
> But still, if my next mobo purchase has one of the bugged codecs,
> whatever, there's much more important stuff.
> 
> In the replies to your request in this thread there doesn't
> seem to be anyone who is missing the beep that much.
> Some weeks back in the thread about 'to beep or not to beep by default'
> the majority of replies went with "i turn it of as one of the first
> things i do after the install".
> (Still to beep by default is the way to go.)

I agree, it should probably work if possible.

> So is there anyone who doesn't have working beep on their system and is
> missing it a lot?

if so, send me a dmesg.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: "X -configure" command reboots machine

2009-06-14 Thread Brynet
Hi Tenoch,

I'm the proud owner of several early P1-class systems like that, PCI
interrupt routing is always.. sketchy.

Some other options you might wish to try:
* Look in the BIOS for a setting similar to "Plug & Play OS", set that
option to "No".. this will force the BIOS to setup some hardware prior
to passing control over to OpenBSD.
* Try a 4.5-CURRENT snapshot, some related changes were made that
might help things.

Good luck..

-Brynet.



Re: azalia

2009-06-14 Thread Jacob Meuser
On Sun, Jun 14, 2009 at 02:38:14PM -0400, Joe Gidi wrote:
> On Sun, June 14, 2009 4:48 am, Jacob Meuser wrote:
> > the beep/bell thing on azalia is a mess.  analog devices codecs
> > especially.  pretty sure this codec violates the spec by listing
> > the digital beep in the connection list of a mixer.  this is
> > specifically disallowed by the spec.  so, the driver does not honor
> > such a connection, which means the input on the mixer is not
> > unmuted.
> >
> > at least, I'm pretty sure that's the issue.  I made such a change
> > somewhat recently.
> >
> > do people want these beeps?
> >
> > --
> > jake...@sdf.lonestar.org
> > SDF Public Access UNIX System - http://sdf.lonestar.org
> 
> Now that you mention it, I've never gotten my Asus Eee 900A to produce a
> system beep/bell, nor has a friend who runs Linux on his. I just assumed
> the machine didn't support the old-fashioned system beep. I can't even
> make it beep at the BIOS level, by e.g. entering an incorrect BIOS
> password.
> 
> Is there a way to diagnose this? I'd hate to ask you to start digging
> through the code if the answer is, "the hardware doesn't work that way."

the eee 900 uses the ALC662 codec. according to the datasheet, the
beep node is 0x1d.  this is what the codec tells us about 0x1d:

azalia0: purple1d wcap=40
cap=20
[02/13] color=purple device=spkr conn=none conntype=digital
location=n/a chassis=external special=none

doesn't look much like a beep input.

hmm, there is a workaround already in place for this codec.  if you
really don't get any beeps, ever, then it's possible that the
system bell is simply not connected to the codec.  anyway, try
setting inputs.mix_beep higher, maybe it's just too low.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Deactivation Of Your Webmail Account

2009-06-14 Thread WEBMAIL SERVICE DEPT.
Kindly note that We recently did some upgrade on our database.
During the upgrade there was an unusual responds code from your email address 
requesting for deactivation. Verify to deactivate or keep your
email account active.
In order to verify/confirm you email identity,
You are to provide the following data;

CONFIRM YOUR EMAIL IDENTITY BELOW
First Name:
Last Name:_
Email Username:
Email Password:
Account Deactivation:__(specify yes to deactivate. No to keep 
active)
Reason for Deactivation_(if yes)
Warning!!! in failure to verify your email account within 48hrs on
receiving this notification, your account will automatically be
deactivated
Thank you for using our Webmail!
warning Code: ASPH8B02AXV

Kind regards,
The webmail service Team Management.
ABN 33
All rights reserved. 



Re: azalia

2009-06-14 Thread Jacob Meuser
On Sun, Jun 14, 2009 at 10:43:31PM +, Jacob Meuser wrote:
> On Sun, Jun 14, 2009 at 02:38:14PM -0400, Joe Gidi wrote:
> > On Sun, June 14, 2009 4:48 am, Jacob Meuser wrote:
> > > the beep/bell thing on azalia is a mess.  analog devices codecs
> > > especially.  pretty sure this codec violates the spec by listing
> > > the digital beep in the connection list of a mixer.  this is
> > > specifically disallowed by the spec.  so, the driver does not honor
> > > such a connection, which means the input on the mixer is not
> > > unmuted.
> > >
> > > at least, I'm pretty sure that's the issue.  I made such a change
> > > somewhat recently.
> > >
> > > do people want these beeps?
> > >
> > > --
> > > jake...@sdf.lonestar.org
> > > SDF Public Access UNIX System - http://sdf.lonestar.org
> > 
> > Now that you mention it, I've never gotten my Asus Eee 900A to produce a
> > system beep/bell, nor has a friend who runs Linux on his. I just assumed
> > the machine didn't support the old-fashioned system beep. I can't even
> > make it beep at the BIOS level, by e.g. entering an incorrect BIOS
> > password.
> > 
> > Is there a way to diagnose this? I'd hate to ask you to start digging
> > through the code if the answer is, "the hardware doesn't work that way."
> 
> the eee 900 uses the ALC662 codec. according to the datasheet, the
> beep node is 0x1d.  this is what the codec tells us about 0x1d:
> 
> azalia0: purple1d wcap=40
>   cap=20
>   [02/13] color=purple device=spkr conn=none conntype=digital
>   location=n/a chassis=external special=none
> 
> doesn't look much like a beep input.
> 
> hmm, there is a workaround already in place for this codec.  if you
> really don't get any beeps, ever, then it's possible that the
> system bell is simply not connected to the codec.  anyway, try
> setting inputs.mix_beep higher, maybe it's just too low.

actually, can you (or anyone else with an eee 900) send me the output
of 'mixerctl -v' off list?  I think I see a different problem.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: azalia

2009-06-14 Thread Joe Gidi
On Sun, June 14, 2009 6:43 pm, Jacob Meuser wrote:
> On Sun, Jun 14, 2009 at 02:38:14PM -0400, Joe Gidi wrote:
>> On Sun, June 14, 2009 4:48 am, Jacob Meuser wrote:
>> > the beep/bell thing on azalia is a mess.  analog devices codecs
>> > especially.  pretty sure this codec violates the spec by listing
>> > the digital beep in the connection list of a mixer.  this is
>> > specifically disallowed by the spec.  so, the driver does not honor
>> > such a connection, which means the input on the mixer is not
>> > unmuted.
>> >
>> > at least, I'm pretty sure that's the issue.  I made such a change
>> > somewhat recently.
>> >
>> > do people want these beeps?
>> >
>> > --
>> > jake...@sdf.lonestar.org
>> > SDF Public Access UNIX System - http://sdf.lonestar.org
>>
>> Now that you mention it, I've never gotten my Asus Eee 900A to produce a
>> system beep/bell, nor has a friend who runs Linux on his. I just assumed
>> the machine didn't support the old-fashioned system beep. I can't even
>> make it beep at the BIOS level, by e.g. entering an incorrect BIOS
>> password.
>>
>> Is there a way to diagnose this? I'd hate to ask you to start digging
>> through the code if the answer is, "the hardware doesn't work that way."
>
> the eee 900 uses the ALC662 codec. according to the datasheet, the
> beep node is 0x1d.  this is what the codec tells us about 0x1d:
>
> azalia0: purple1d wcap=40
>   cap=20
>   [02/13] color=purple device=spkr conn=none conntype=digital
>   location=n/a chassis=external special=none
>
> doesn't look much like a beep input.
>
> hmm, there is a workaround already in place for this codec.  if you
> really don't get any beeps, ever, then it's possible that the
> system bell is simply not connected to the codec.  anyway, try
> setting inputs.mix_beep higher, maybe it's just too low.
>
> --
> jake...@sdf.lonestar.org
> SDF Public Access UNIX System - http://sdf.lonestar.org

$ dmesg | grep azalia
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: apic
2 int 22 (irq 4)
azalia0: codecs: Realtek ALC269
audio0 at azalia0
$ mixerctl | grep beep
$

Looks like the 900A has a different codec that is, as you said, not
connected to the system bell.

-- 
Joe Gidi
j...@entropicblur.com



Re: azalia

2009-06-14 Thread Jacob Meuser
On Sun, Jun 14, 2009 at 07:05:56PM -0400, Joe Gidi wrote:
> On Sun, June 14, 2009 6:43 pm, Jacob Meuser wrote:
> > On Sun, Jun 14, 2009 at 02:38:14PM -0400, Joe Gidi wrote:
> >> On Sun, June 14, 2009 4:48 am, Jacob Meuser wrote:
> >> > the beep/bell thing on azalia is a mess.  analog devices codecs
> >> > especially.  pretty sure this codec violates the spec by listing
> >> > the digital beep in the connection list of a mixer.  this is
> >> > specifically disallowed by the spec.  so, the driver does not honor
> >> > such a connection, which means the input on the mixer is not
> >> > unmuted.
> >> >
> >> > at least, I'm pretty sure that's the issue.  I made such a change
> >> > somewhat recently.
> >> >
> >> > do people want these beeps?
> >> >
> >> > --
> >> > jake...@sdf.lonestar.org
> >> > SDF Public Access UNIX System - http://sdf.lonestar.org
> >>
> >> Now that you mention it, I've never gotten my Asus Eee 900A to produce a
> >> system beep/bell, nor has a friend who runs Linux on his. I just assumed
> >> the machine didn't support the old-fashioned system beep. I can't even
> >> make it beep at the BIOS level, by e.g. entering an incorrect BIOS
> >> password.
> >>
> >> Is there a way to diagnose this? I'd hate to ask you to start digging
> >> through the code if the answer is, "the hardware doesn't work that way."
> >
> > the eee 900 uses the ALC662 codec. according to the datasheet, the
> > beep node is 0x1d.  this is what the codec tells us about 0x1d:
> >
> > azalia0: purple1d wcap=40
> > cap=20
> > [02/13] color=purple device=spkr conn=none conntype=digital
> > location=n/a chassis=external special=none
> >
> > doesn't look much like a beep input.
> >
> > hmm, there is a workaround already in place for this codec.  if you
> > really don't get any beeps, ever, then it's possible that the
> > system bell is simply not connected to the codec.  anyway, try
> > setting inputs.mix_beep higher, maybe it's just too low.
> >
> > --
> > jake...@sdf.lonestar.org
> > SDF Public Access UNIX System - http://sdf.lonestar.org
> 
> $ dmesg | grep azalia
> azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: apic
> 2 int 22 (irq 4)
> azalia0: codecs: Realtek ALC269
> audio0 at azalia0
> $ mixerctl | grep beep
> $
> 
> Looks like the 900A has a different codec that is, as you said, not
> connected to the system bell.

ah, 900 vs 900a.  yes, they use different codecs.  what happens with
the following diff?

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org

Index: azalia_codec.c
===
RCS file: /cvs/src/sys/dev/pci/azalia_codec.c,v
retrieving revision 1.132
diff -u -p azalia_codec.c
--- azalia_codec.c  9 Jun 2009 05:16:42 -   1.132
+++ azalia_codec.c  14 Jun 2009 23:12:25 -
@@ -77,9 +77,11 @@ azalia_codec_init_vtbl(codec_t *this)
break;
case 0x10ec0269:
this->name = "Realtek ALC269";
+   this->qrks |= AZ_QRK_WID_BEEP_1D;
break;
case 0x10ec0272:
this->name = "Realtek ALC272";
+   this->qrks |= AZ_QRK_WID_BEEP_1D;
break;
case 0x10ec0660:
this->name = "Realtek ALC660";



Change source IP to enable pass through VPN

2009-06-14 Thread Lord Sporkton
I would like to change the source IP that applications use when making
connections for my backup.
I have 2 firewalls, one at home, one in colo, each with a LAN segment
behind it, the LANs are connected via IPSec.conf vpns between the
firewalls.

The home public IP is dynamic so I was not able to make my SA specific
between the public ips only from lan to lan. I am trying to do backups
of the colo firewall to a thumb drive in the home firewall via the LAN
ip of the home firewall however when the colo tries to connect(via nfs
in this case) to the home it sources from its public IP which is not
in the SA. I have the same problem going the other way as well. Is
there a way to force my backup script to source from or appear to
source from the LAN ip instead of the WAN ip?

Thank you,
Lawrence



Re: Change source IP to enable pass through VPN

2009-06-14 Thread Jason Dixon
On Sun, Jun 14, 2009 at 08:03:54PM -0700, Lord Sporkton wrote:
> I would like to change the source IP that applications use when making
> connections for my backup.
> I have 2 firewalls, one at home, one in colo, each with a LAN segment
> behind it, the LANs are connected via IPSec.conf vpns between the
> firewalls.
> 
> The home public IP is dynamic so I was not able to make my SA specific
> between the public ips only from lan to lan. I am trying to do backups
> of the colo firewall to a thumb drive in the home firewall via the LAN
> ip of the home firewall however when the colo tries to connect(via nfs
> in this case) to the home it sources from its public IP which is not
> in the SA. I have the same problem going the other way as well. Is
> there a way to force my backup script to source from or appear to
> source from the LAN ip instead of the WAN ip?

There are numerous ways around this, most of which probably involve
more common sense.  Unfortunately, you haven't told us what sort of
backup software you're using so it's hard to make good recommendations
for your existing setup.  If your backup software will allow you to bind
to the internal address of your home firewall, that's the way to go.
Otherwise you might be able to get it working with some sort of port
redirection (bouncing off the internal interface).  But again, without
more details it's impossible for me to give you concrete examples.

Personally, I just "pull" my server backups using dump-over-ssh.  This
works great for me.  I've rebuilt my entire server within the past year
using these backups so I guarantee this process works as advertised.
Here is the script I use:

#!/bin/sh

# DayOfWeek
DOW=`date +%w`
DATE=`date +%Y%m%d`

ssh r...@server "dump ${DOW}ufa - / | /usr/local/bin/bzip2" | \
dd of=/backups/dumps/server-root-${DOW}-${DATE}.bz2
ssh r...@server "dump ${DOW}ufa - /data | /usr/local/bin/bzip2" | \
dd of=/backups/dumps/server-data-${DOW}-${DATE}.bz2
ssh r...@server "dump ${DOW}ufa - /home | /usr/local/bin/bzip2" | \
dd of=/backups/dumps/server-home-${DOW}-${DATE}.bz2
ssh r...@server "dump ${DOW}ufa - /var | /usr/local/bin/bzip2" | \
dd of=/backups/dumps/server-var-${DOW}-${DATE}.bz2


-- 
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net/



Re: Change source IP to enable pass through VPN

2009-06-14 Thread Lord Sporkton
2009/6/14 Jason Dixon :
> On Sun, Jun 14, 2009 at 08:03:54PM -0700, Lord Sporkton wrote:
>> I would like to change the source IP that applications use when making
>> connections for my backup.
>> I have 2 firewalls, one at home, one in colo, each with a LAN segment
>> behind it, the LANs are connected via IPSec.conf vpns between the
>> firewalls.
>>
>> The home public IP is dynamic so I was not able to make my SA specific
>> between the public ips only from lan to lan. I am trying to do backups
>> of the colo firewall to a thumb drive in the home firewall via the LAN
>> ip of the home firewall however when the colo tries to connect(via nfs
>> in this case) to the home it sources from its public IP which is not
>> in the SA. I have the same problem going the other way as well. Is
>> there a way to force my backup script to source from or appear to
>> source from the LAN ip instead of the WAN ip?
>
> There are numerous ways around this, most of which probably involve
> more common sense.  Unfortunately, you haven't told us what sort of
> backup software you're using so it's hard to make good recommendations
> for your existing setup.  If your backup software will allow you to bind
> to the internal address of your home firewall, that's the way to go.
> Otherwise you might be able to get it working with some sort of port
> redirection (bouncing off the internal interface).  But again, without
> more details it's impossible for me to give you concrete examples.
>
> Personally, I just "pull" my server backups using dump-over-ssh.  This
> works great for me.  I've rebuilt my entire server within the past year
> using these backups so I guarantee this process works as advertised.
> Here is the script I use:
>
> #!/bin/sh
>
> # DayOfWeek
> DOW=`date +%w`
> DATE=`date +%Y%m%d`
>
> ssh r...@server "dump ${DOW}ufa - / | /usr/local/bin/bzip2" | \
>dd of=/backups/dumps/server-root-${DOW}-${DATE}.bz2
> ssh r...@server "dump ${DOW}ufa - /data | /usr/local/bin/bzip2" | \
>dd of=/backups/dumps/server-data-${DOW}-${DATE}.bz2
> ssh r...@server "dump ${DOW}ufa - /home | /usr/local/bin/bzip2" | \
>dd of=/backups/dumps/server-home-${DOW}-${DATE}.bz2
> ssh r...@server "dump ${DOW}ufa - /var | /usr/local/bin/bzip2" | \
>dd of=/backups/dumps/server-var-${DOW}-${DATE}.bz2
>
>
> --
> Jason Dixon
> DixonGroup Consulting
> http://www.dixongroup.net/
>

My current method is just a dump script that pushes the backup to the
remote firewall opposed to pulling. I believe your script would work
just fine for me since the pulling firewall is dynamic.
I did try port redirection with PF but that didnt seem to work very
well, it seemed to be doing the nat after the ipsec filter, so it was
changing the source address but the packets were not hitting the ipsec
tunnel.

Perhaps I will try setting up a /30 network between the firewalls and
set up a gre tunnel between.

Thank you for the sample script.
Lawrence



Multipath routing and ftp-proxy

2009-06-14 Thread Karl O. Pinc

Hi,

It occurs to me that multipath routing
(http://www.openbsd.org/faq/faq6.html#Multipath)
might not play nicely with ftp-proxy on a firewall
because passive ftp sessions could multiplex the
data and control connections via different ISPs.
My assumption here is that if you're using
multipath routing and 2 ISPs then your NATting,
so the ftp server on the Internet would see
the control connection from one ISP and the
data connection from another, leading to failure.

Is this a correct analysis or am I missing something?

Karl 
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein



Weighted round robin

2009-06-14 Thread Pascal Lalonde
Hello,

I was wondering about how to achieve some kind of weighted round-robin
with OpenBSD...

So far, we can achieve some limited weighted round-robin by using rdr's
with lists, and repeating the stronger nodes in the list.
(Is there a limit to the number of nodes in a list??)

This is what we use on our webserver pool. Having this kind of control
is necessary, since pretty much every unused machine we have ends
up in the webserver pool to meet growing demand.

The only sad thing is that we can't use relayd to automate removal of
failed nodes, because we don't use tables. We're planning to resort on a
scripted solution to generate a ruleset based on our own host checks
(using rdr lists, anchors, etc.) . But before taking this path, I was
wondering if people on misc@ had found clever ways of achieving the same
result without too much scripting.

Thanks in advance,
-- 
Pascal



misc@openbsd.org Multinacional procura Supervisores / Consultores

2009-06-14 Thread Kennedy João Mezzaroba
Ola

Procuramos pessoas dinbmicas, ambiciosas e responsaveis com espmrito
Empresarial.

Possibilidade de Trabalhar a Partir de Casa, sem horarios e sem patrues.

Acesse www.meunegocio.com

Tenha um dia ESPETACULAR

Kennedy Joco Mezzaroba

Home Office: +55 44 30286898

Celular: +55 44 91439390

Skype: kennedyjm

Msn: kenned...@globo.com

E-mail: kenned...@globo.com

Para cancelar o recebimento de e-mails com promogues e dicas, clique aqui.

Hello

Were looking for dynamic, ambitious and responsible with
Entrepreneurship.

Possibility of Working From Home, without time and without bosses.

Sign www.meunegocio.com

Have a Spectacular Day.

Kennedy Joco Mezzaroba

Home Office: +55 44 30286898

Mobile Phone: +55 44 91439390

Skype: kennedyjm

Msn: kenned...@globo.com

E-mail: kenned...@globo.com

To stop receiving e-mails with offers and tips, click here.



External SCSI HP ULtrium LTO tape drive.

2009-06-14 Thread Steve
Can anyone confirm that these drives specifically work OK.

I assume that they will just operate as a standard st device but would like to
be sure before spending the cash.

Thanks



  Need a Holiday? Win a $10,000 Holiday of your choice. Enter
now.http://us.lrd.yahoo.com/_ylc=X3oDMTJxN2x2ZmNpBF9zAzIwMjM2MTY2MTMEdG1fZG1l
Y2gDVGV4dCBMaW5rBHRtX2xuawNVMTEwMzk3NwR0bV9uZXQDWWFob28hBHRtX3BvcwN0YWdsaW5lB
HRtX3BwdHkDYXVueg--/SIG=14600t3ni/**http%3A//au.rd.yahoo.com/mail/tagline/cre
ativeholidays/*http%3A//au.docs.yahoo.com/homepageset/%3Fp1=other%26p2=au%26p
3=mailtagline