ATi SB600 IDE

2009-10-23 Thread Dmitrij D. Carjkov
I've installed OpenBSD 4.6 (release) on Dell Inspiron 1721 laptop, and
I'm facing a problem with IDE. AHCI driver recognises the SB600 IDE
controller, configures it but doesn't find HDD.

Disabling AHCI makes system recognise the disk, but the system is very
slow compared to previous releases.

My questions:

1. What can I do to make AHCI recognise HDD?
2. What can I do to get system performance (disk operation performance,
as I understand) to 4.5 level?

Thanks in advance.

P.S.: I'm not on list, so please CC me answering.
P.P.S.: My dmesg:

OpenBSD 4.6 (GENERIC.MP) #81: Thu Jul  9 21:26:19 MDT 2009
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3721801728 (3549MB)
avail mem = 3599667200 (3432MB)
User Kernel Config
UKC disable ahci
 66 ahci* disabled
 67 ahci* disabled
UKC exit
Continuing...
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf7200 (43 entries)
bios0: vendor Dell Inc. version A03 date 09/17/2007
bios0: Dell Inc. Inspiron 1721
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP HPET APIC MCFG SLIC SSDT BOOT
acpi0: wakeup devices PCI0(S3) PCIE(S4) USB1(S0) USB2(S0) USB3(S0)
USB4(S0) USB5(S0) EHCI(S0) AZAL(S3) RP01(S3) RP02(S3) RP03(S3) RP04(S3)
RP05(S3) LID_(S3) PBTN(S4) MBTN(S5)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpihpet0 at acpi0: 14318180 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Turion(tm) 64 X2 Mobile Technology TL-60, 1995.32 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully
associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully
associative
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Turion(tm) 64 X2 Mobile Technology TL-60, 1995.00 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
64b/line 16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully
associative
cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully
associative
ioapic0 at mainbus0 apid 2 pa 0xfec0, version 21, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 3 (PCIE)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus -1 (RP01)
acpiprt3 at acpi0: bus 11 (RP02)
acpiprt4 at acpi0: bus -1 (RP03)
acpiprt5 at acpi0: bus 12 (RP04)
acpiprt6 at acpi0: bus -1 (RP05)
acpiprt7 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpitz0 at acpi0: critical temperature 95 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PBTN
acpibtn2 at acpi0: SBTN
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model DELL NR2227 serial 485 type LION oem
Panasonic
acpivideo0 at acpi0: VID_
acpivout0 at acpivideo0: TV__
acpivout1 at acpivideo0: CRT_
acpivout2 at acpivideo0: LCD_
acpivout3 at acpivideo0: DVI_
acpivideo1 at acpi0: VID_
acpivout4 at acpivideo1: TV__
acpivout5 at acpivideo1: CRT_
acpivout6 at acpivideo1: LCD_
acpivout7 at acpivideo1: DVI_
cpu0: PowerNow! K8 1995 MHz: speeds: 2000 1800 1600 800 MHz
pci0 at mainbus0 bus 0
mem address conflict 0xfec01000/0x400
pchb0 at pci0 dev 0 function 0 ATI RS690 Host rev 0x00
ppb0 at pci0 dev 1 function 0 ATI RS690 PCIE rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 vendor ATI, unknown product 0x791f rev
0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 5 function 0 ATI RS690 PCIE rev 0x00
pci2 at ppb1 bus 11
bwi0 at pci2 dev 0 function 0 Broadcom BCM4312 rev 0x01: apic 2 int 17
(irq 10), address 00:1d:d9:0a:41:c1
ppb2 at pci0 dev 7 function 0 ATI RS690 PCIE rev 0x00
pci3 at ppb2 bus 12
pciide0 at pci0 dev 18 function 0 ATI SB600 SATA rev 0x00: DMA
(unsupported), channel 0 configured to native-PCI, channel 1 configured
to native-PCI
pciide0: using apic 2 int 22 (irq 10) for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: ST9160821AS
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
pciide0: channel 1 ignored (not responding; disabled or no drives?)
ohci0 at pci0 dev 19 function 0 ATI SB600 USB rev 0x00: apic 2 int 16
(irq 11), version 1.0, legacy support
ohci1 at pci0 dev 19 function 1 ATI SB600 USB rev 0x00: apic 2 int 17
(irq 10), version 1.0, legacy support
ohci2 at pci0 dev 19 function 2 ATI SB600 USB rev 0x00: apic 2 int 18
(irq 9), version 1.0, legacy support
ohci3 at pci0 dev 19 function 3 ATI SB600 USB rev 0x00: apic 2 int 17
(irq 10), version 1.0, legacy support
ohci4 at pci0 dev 19 function 4 ATI SB600 USB rev 0x00: apic 2 int 18
(irq 9), version 1.0, legacy support
ehci0 at pci0 dev 19 

No sound in 4.6 with M-Audio Audiophile 2496 (envy(4))

2009-10-23 Thread peters
After a fresh install of OpenBSD 4.6 my sound card stopped working,
i.e., I can hear nothing when playing audio. It worked just fine in 4.5.
The card is an M-Audio Audiophile 2496 using envy(4).
I run aucat -l before playing audio.

- OpenBSD 4.5 dmesg snippet:
...
envy0 at pci0 dev 10 function 0 IC Ensemble Envy24 I/O Ctrlr rev 0x02: apic 2 
in
t 18 (irq 10)
audio0 at envy0
...

- OpenBSD 4.6 dmesg snippet:
...
envy0 at pci0 dev 10 function 0 IC Ensemble Envy24 I/O Ctrlr rev 0x02: apic 2
int 18 (irq 10)
envy0: unknown 1712-based card, 8 inputs, 8 outputs
audio0 at envy0
...

- OpenBSD 4.5 mixerctl -v:
monitor.play0=240 volume
monitor.play1=240 volume
monitor.play2=240 volume
monitor.play3=240 volume
monitor.play4=240 volume
monitor.play5=240 volume
monitor.play6=240 volume
monitor.play7=240 volume
monitor.play8=240 volume
monitor.play9=240 volume
monitor.rec0=240 volume
monitor.rec1=240 volume
monitor.rec2=240 volume
monitor.rec3=240 volume
monitor.rec4=240 volume
monitor.rec5=240 volume
monitor.rec6=240 volume
monitor.rec7=240 volume
monitor.rec8=240 volume
monitor.rec9=240 volume
inputs.line0=100 volume
inputs.line1=100 volume
inputs.line2=254 volume
inputs.line3=254 volume
inputs.line4=254 volume
inputs.line5=254 volume
inputs.line6=254 volume
inputs.line7=254 volume
outputs.line0=254 volume
outputs.line0.source=play0  [ line0 line1 line2 line3 line4 line5 line6 line7 
line8 line9 play0 mon0 ]
outputs.line1=254 volume
outputs.line1.source=play1  [ line0 line1 line2 line3 line4 line5 line6 line7 
line8 line9 play1 mon1 ]
outputs.line2=254 volume
outputs.line2.source=play2  [ line0 line1 line2 line3 line4 line5 line6 line7 
line8 line9 play2 ]
outputs.line3=254 volume
outputs.line3.source=play3  [ line0 line1 line2 line3 line4 line5 line6 line7 
line8 line9 play3 ]
outputs.line4=254 volume
outputs.line4.source=play4  [ line0 line1 line2 line3 line4 line5 line6 line7 
line8 line9 play4 ]
outputs.line5=254 volume
outputs.line5.source=play5  [ line0 line1 line2 line3 line4 line5 line6 line7 
line8 line9 play5 ]
outputs.line6=254 volume
outputs.line6.source=play6  [ line0 line1 line2 line3 line4 line5 line6 line7 
line8 line9 play6 ]
outputs.line7=254 volume
outputs.line7.source=play7  [ line0 line1 line2 line3 line4 line5 line6 line7 
line8 line9 play7 ]
outputs.mute0-1=off  [ off on ]
outputs.mute2-3=off  [ off on ]
outputs.mute4-5=off  [ off on ]
outputs.mute6-7=off  [ off on ]

- OpenBSD 4.6 mixerctl -v
outputs.line0_source=play0  [ line0 line1 line2 line3 line4 line5 line6 line7 
play0 mon0 ]
outputs.line1_source=play1  [ line0 line1 line2 line3 line4 line5 line6 line7 
play1 mon1 ]
outputs.line2_source=play2  [ line0 line1 line2 line3 line4 line5 line6 line7 
play2 ]
outputs.line3_source=play3  [ line0 line1 line2 line3 line4 line5 line6 line7 
play3 ]
outputs.line4_source=play4  [ line0 line1 line2 line3 line4 line5 line6 line7 
play4 ]
outputs.line5_source=play5  [ line0 line1 line2 line3 line4 line5 line6 line7 
play5 ]
outputs.line6_source=play6  [ line0 line1 line2 line3 line4 line5 line6 line7 
play6 ]
outputs.line7_source=play7  [ line0 line1 line2 line3 line4 line5 line6 line7 
play7 ]
monitor.play0=240 volume
monitor.play1=240 volume
monitor.play2=240 volume
monitor.play3=240 volume
monitor.play4=240 volume
monitor.play5=240 volume
monitor.play6=240 volume
monitor.play7=240 volume
monitor.play8=240 volume
monitor.play9=240 volume
monitor.rec0=240 volume
monitor.rec1=240 volume
monitor.rec2=240 volume
monitor.rec3=240 volume
monitor.rec4=240 volume
monitor.rec5=240 volume
monitor.rec6=240 volume
monitor.rec7=240 volume
monitor.rec8=240 volume
monitor.rec9=240 volume

- OpenBSD 4.5 audioctl:
name=Envy24
version=-
config=envy
encodings=slinear_le:24
properties=full_duplex,independent
full_duplex=1
fullduplex=1
blocksize=27000
hiwat=2
lowat=1
output_muted=0
monitor_gain=0
mode=play,record
play.rate=44100
play.channels=10
play.precision=24
play.encoding=slinear
play.gain=127
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=0
play.samples=0
play.eof=0
play.pause=0
play.error=0
play.waiting=0
play.open=1
play.active=0
play.buffer_size=65520
play.block_size=27000
play.errors=0
record.rate=44100
record.channels=12
record.precision=24
record.encoding=slinear
record.gain=127
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=1
record.active=0
record.buffer_size=65520
record.block_size=32400
record.errors=0

- OpenBSD 4.6 audioctl:
name=Envy24
version=-
config=unknown 1712-ba
encodings=slinear_le:24
properties=full_duplex,independent
full_duplex=1
fullduplex=1
blocksize=26400
hiwat=2
lowat=1
output_muted=0
monitor_gain=0
mode=play,record
play.rate=44100
play.channels=10
play.precision=24
play.encoding=slinear
play.gain=127
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=0
play.samples=0
play.eof=0
play.pause=0
play.error=0
play.waiting=0
play.open=1

Je sur comptable a la banque BCB je vais virée $6.million a la etranger

2009-10-23 Thread Ashraf Cotu
You are invited to Je sur comptable a la banque BCB je vais virie $6.million a 
la etranger.


By your host Ashraf Cotu:


 Date:  Friday October 23, 2009

 Time:  8:00 am - 9:00 am (GMT +00:00)
 Location:  Cher Ami Salut, Je suis MR, Ashraf Cotu comptable a la 
BANQUE COMERCIALE DU BURKINA (BCB), je vais virie $6.million (usd) a la 
etranger si vous pour vais me aide et ci ga vous intersse je vous enverrons 
tous les ditails sur la fagon dont on va fait le demache et igalement noter que 
vous aurez 30% du montant indiqui .si vous jtes d'accord pour m'aider ` 
exicuter cette transaction. reponne moi rapidement et s.v.p ces un propossition 
confidentielle merci

Guests:

 * mino_le_pailla...@hotmail.fr
 * minouchette...@yahoo.fr
 * minoudu13013m...@hotmail.fr
 * mino...@yahoo.fr
 * mira_g...@hotmail.fr
 * miravi...@yahoo.fr
 * miray_...@yahoo.fr
 * mireillepda...@yahoo.ca
 * miriame...@yahoo.fr
 * mirikit...@hotmail.fr
 * mirodrig...@voila.fr
 * miruna...@yahoo.com
 * misc@openbsd.org
 * mis...@enesad.inra.fr
 * miss-coiff...@hotmail.fr
 * miss-d...@hotmail.fr
 * miss-imane_fash...@hotmail.fr
 * miss-ti...@hotmail.fr
 * miss_bry...@hotmail.fr
 * miss_comoria_...@hotmail.fr
 * miss_jordanna_...@yahoo.ca
 * miss_jordanna_...@yahoo.com
 * miss_o...@hotmail.fr
 * miss_princess_nute...@hotmail.fr
 * miss_shameek...@hotmail.fr
 * miss_tatanne_du...@hotmail.fr
 * missah-du...@hotmail.fr
 * missalici...@hotmail.com
 * misscar...@hotmail.fr
 * misscarod...@hotmail.fr
 * missionurba...@yahoo.ca
 * missmo...@hotmail.fr
 * missmounassed...@hotmail.fr
 * missm...@yahoo.fr
 * missta...@yahoo.ca
 * missyich...@hotmail.fr
 * mistanfl...@hotmail.fr
 * mister.k1fry-...@hotmail.fr
 * mistervi...@yahoo.fr
 * miulescuand...@yahoo.fr
 * mius_...@hotmail.fr
 * miyuk...@hotmail.fr
 * miz_mi...@hotmail.com
 * mizuk...@hotmail.fr
 * mizz_deca...@yahoo.ca
 * mj@hotmail.fr
 * mjcco9...@yahoo.fr
 * mjcelbeuf_jeune...@yahoo.fr
 * mjelel...@yahoo.es
 * mjguenetteque...@yahoo.ca
 * mjmerc...@maskatel.net
 * mjo.diffus...@wanadoo.fr
 * mjosee_pro...@yahoo.ca
 * mjtremblayavoc...@yahoo.ca
 * mjturp...@yahoo.ca
 * mjul...@sportetudiant.qc.ca
 * mkau...@yahoo.fr
 * m...@hotmail.fr
 * mklau...@yahoo.ca
 * mkrezagb...@hotmail.com
 * mkydi...@mauritel.mr
 * mkydi...@yahoo.fr
 * mlangev...@yahoo.ca
 * mlav...@cegep-fxg.qc.ca
 * ml...@loria.fr
 * mm6...@yahoo.ca
 * mma...@unizar.es
 * mmecaro2010sm...@yahoo.fr
 * mmecha...@yahoo.ca
 * mme...@yahoo.fr
 * mm...@yahoo.ca
 * mmhen...@yahoo.ca
 * mmsculptu...@yahoo.fr
 * mmvod...@yahoo.fr
 * mndj...@yahoo.ca
 * mnok...@hotmail.com
 * mnpine...@hotmail.fr
 * mnsan...@cripsul.ipimar.pt
 * moa-...@hotmail.fr

invitation_add_to_your_yahoo_calendar:

 
http://calendar.yahoo.com/?v=60ST=20091023T08%2BTITLE=Je+sur+comptable+a+la+banque+BCB+je+vais+vir%c3%a9e+$6.million+a+la+etrangerDUR=0100VIEW=din_loc=Cher+Ami+Salut,+Je+suis+MR,+Ashraf+Cotu+comptable+a+la+BANQUE+COMERCIALE+DU+BURKINA+(BCB),+je+vais+vir%c3%a9e+$6.million+(usd)+a+la+etranger+si+vous+pour+vais+me+aide+et+ci+%c3%a7a+vous+intersse+je+vous+enverrons+tous+les+d%c3%a9tails+sur+la+fa%c3%a7on+dont+on+va+fait+le+demache+et+%c3%a9galement+noter+que+vous+aurez+30%25+du+montant+indiqu%c3%a9+.si+vous+%c3%aates+d%27accord+pour+m%27aider+%c3%a0+ex%c3%a9cuter+cette+transaction.+reponne+moi+rapidement+et+s.v.p+ces+un+propossition+confidentielle+merciTYPE=10


Copyright ) 2009 All Rights Reserved
 www.yahoo.com

Privacy Policy:
 http://privacy.yahoo.com/privacy/us

Terms of Service:
 http://docs.yahoo.com/info/terms/



Error trying to use pkg_add with ftp

2009-10-23 Thread Marcio David
Hello everyone. I'm a software developer from Brazil and I've been using
Linux for about 8 years and now I starting to play with some new toys, like
FreeBSD and OpenBSD. I installed OpenBSD 4.6 on a quadcore intel machine,
and now I'm trying to install some new softwares using pkg_add. I downloaded
a few applications (like wget and wmii) and I was able to install it, but
it's not a fun task, since I had to download all dependancys... Well, the
pkg_add is working fine when I download the .tgz and install it localy, but
I was not able to configure it to access the FTP server and download/install
it from there.

What I did was (as root):
export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.6/packages/i386/

And then:
pkg_add -vi midori-0.1.7.tgz

But I always get an error saying:
ftp: No control connection for command

I read all documentation about it, google-it and I was not to solve it yet.
Any tips??

Thanks a lot,
Marcio F. David



Re: 4.6 reboots x336 ibm server(s)

2009-10-23 Thread FRLinux
Hello

I have generated a verbose trace using a com port on the server, this
is by booting the official 4.6 i386 install CD.

boot boot -c
booting cd0a:/4.6/i386/bsd.rd: 5651156+913072 [52+211008+196339]=0x6a6260
entry point at 0x200120

Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2009 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.6 (RAMDISK_CD) #53: Thu Jul  9 21:41:35 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/RAMDISK_CD
cpu0: Intel(R) Xeon(TM) CPU 3.20GHz (GenuineIntel 686-class) 3.21 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CR
real mem  = 3623231488 (3455MB)
avail mem = 3518279680 (3355MB)
User Kernel Config
UKC verbose
autoconf verbose enabled
UKC quit
Continuing...
 probing for mainbus0
 mainbus probe returned 1
mainbus0 at root
 probing for pci*
 pci probe returned 0
 probing for isa0
 isa probe returned 0
 probing for eisa0
 eisa probe returned 0
 probing for bios0
 bios probe returned 1
 probing for cpu0
 cpu probe returned 0
 probing for ioapic*
 ioapic probe returned 0
 bios probe won
bios0 at mainbus0: AT/286+ BIOS, date 02/15/07, BIOS32 rev. 0 @ 0xfd6f1, SMBIOS)
bios0: vendor IBM version -[APE137AUS-1.14]- date 02/15/2007
bios0: IBM eserver xSeries 336 -[883722Y]-
 probing for apm0
 apm probe returned 0
 probing for pcibios0
 pcibios probe returned 0
 probing for acpi0
 acpi probe returned 1
 acpi probe won
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC MCFG
 probing for acpimadt0
 acpimadt probe returned 0
 probing for acpiprt*
 acpiprt probe returned 0
 no winning probe
 probing for acpimadt0
 acpimadt probe returned 0
 probing for acpiprt*
 acpiprt probe returned 0
 no winning probe
 probing for acpimadt0
 acpimadt probe returned 1
 probing for acpiprt*
 acpiprt probe returned 0
 acpimadt probe won
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 probing for pci*
 pci probe returned 0
 probing for isa0
 isa probe returned 0
 probing for eisa0
 eisa probe returned 0
 probing for cpu0
 cpu probe returned 1
 probing for ioapic*
 ioapic probe returned 0
 cpu probe won
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 200MHz
 probing for pci*
 pci probe returned 0
 probing for isa0
 isa probe returned 0
 probing for eisa0
 eisa probe returned 0
 probing for ioapic*
 ioapic probe returned 0
 no winning probe
cpu at mainbus0: not configured
 probing for pci*
 pci probe returned 0
 probing for isa0
 isa probe returned 0
 probing for eisa0
 eisa probe returned 0
 probing for ioapic*
 ioapic probe returned 1
 ioapic probe won
ioapic0 at mainbus0: apid 14 pa 0xfec0, version 20, 24 pins
 probing for pci*
 pci probe returned 0
 probing for isa0
 isa probe returned 0
 probing for eisa0
 eisa probe returned 0
 probing for ioapic*
 ioapic probe returned 1
 ioapic probe won
ioapic1 at mainbus0: apid 13 pa 0xfec82000, version 20, 24 pins
 probing for pci*
 pci probe returned 0
 probing for isa0
 isa probe returned 0
 probing for eisa0
 eisa probe returned 0
 probing for ioapic*
 ioapic probe returned 1
 ioapic probe won
ioapic2 at mainbus0: apid 12 pa 0xfec82400, version 20, 24 pins
 probing for acpiprt*
 acpiprt probe returned 0
 no winning probe
 probing for acpiprt*
 acpiprt probe returned 1
 acpiprt probe won
acpiprt0 at acpi0: bus 4 (PCI2)
 probing for acpiprt*
 acpiprt probe returned 1
 acpiprt probe won
acpiprt1 at acpi0: bus 5 (PCI3)
 probing for acpiprt*
 acpiprt probe returned 1
 acpiprt probe won
acpiprt2 at acpi0: bus 1 (PCIS)
 probing for acpiprt*
 acpiprt probe returned 1
 acpiprt probe won
acpiprt3 at acpi0: bus 0 (PCI0)
bios0: ROM list: 0xc/0xb000
 probing for pci*
 pci probe returned 1
 probing for isa0
 isa probe returned 0
 probing for eisa0
 eisa probe returned 0
 probing for ioapic*
 ioapic probe returned 0
 pci probe won
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
mem address conflict 0xff00/0x1000
 probing for vga*
 vga probe returned 0
 probing for ahc*
 ahc probe returned 0
 probing for ahd*
 ahd probe returned 0
 probing for adv*
 adv probe returned 0
 probing for adw*
 adw probe returned 0
 probing for bha*
 bha probe returned 0
 probing for twe*
 twe probe returned 0
 probing for arc*
 arc probe returned 0
 probing for jmb*
 jmb probe returned 0
 probing for ahci*
 ahci probe returned 0
 probing for ami*
 ami probe returned 0
 probing for mfi*
 mfi probe returned 0
 probing for ips*
 ips probe returned 0
 probing for iop*
 iop probe returned 0
 probing for gdt*
 gdt probe returned 0
 probing for cac*
 cac probe returned 0
 probing for ciss*
 ciss probe returned 0
 probing for isp*
 isp probe returned 0
 probing for mpi*
 mpi probe returned 0
 probing for sili*
 sili probe returned 0
 probing for de*
 de probe returned 0
 probing for ep0
 ep probe returned 0
 probing for ep*
 ep probe returned 0
 probing for fpa*
 fpa probe returned 0
 probing for pcn*
 pcn 

Re: bgpd strangeness (solved)

2009-10-23 Thread Csillag Tamas
Hi,

On Thu, Oct 22, 2009 at 09:31:25AM +, Stuart Henderson wrote:
 If you can try a -current snapshot on it (or at least build a -current
 bgpd/bgpctl even if you keep this kernel), that would be helpful because
 we'll know if the problem was already fixed.

I tought that it will not work (I need to upgrade the kernel too).

But it does and fixes the issue.

 If it still happens it's worth checking logs for anything unusual,
 ideally run bgpd -v and make sure that syslog.conf is configured
 to save everything...

I am logging to stderr with runit (service supervisor) so I already
have the logs, but there is/was nothing unusual in the logs.

Thanks!

Regards,
  cstamas
-- 
CSILLAG Tamas (cstamas) - http://digitus.itk.ppke.hu/~cstamas

God does not play dice.
-- Einstein



Re: Error trying to use pkg_add with ftp

2009-10-23 Thread Rod Whitworth
On Fri, 23 Oct 2009 08:05:09 -0200, Marcio David wrote:

Hello everyone. I'm a software developer from Brazil and I've been using
Linux for about 8 years and now I starting to play with some new toys, like
FreeBSD and OpenBSD. I installed OpenBSD 4.6 on a quadcore intel machine,
and now I'm trying to install some new softwares using pkg_add. I downloaded
a few applications (like wget and wmii) and I was able to install it, but
it's not a fun task, since I had to download all dependancys... Well, the
pkg_add is working fine when I download the .tgz and install it localy, but
I was not able to configure it to access the FTP server and download/install
it from there.

What I did was (as root):
export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.6/packages/i386/

And then:
pkg_add -vi midori-0.1.7.tgz

But I always get an error saying:
ftp: No control connection for command

I read all documentation about it, google-it and I was not to solve it yet.
Any tips??


Yep! You did NOT read all the docs. Start with OpenBSD FAQ. Read it
all. Study the pf part well. Look for references to ftp.

Find out what you need to provide by way of info before you write your
question. Find out where OpenBSD tells you what you MUST provide.

You are new here. I am being very kind. Must have been good wine with
dinner.
You do not get away with this form of question in future. OK?

Note my reply instructions below. You probably can restrict your reply
to the list address anyway.

Adeus para agora.

*** NOTE *** Please DO NOT CC me. I am subscribed to the list.
Mail to the sender address that does not originate at the list server is 
tarpitted. The reply-to: address is provided for those who feel compelled to 
reply off list. Thankyou.

Rod/
---
This life is not the real thing.
It is not even in Beta.
If it was, then OpenBSD would already have a man page for it.



Re: No sound in 4.6 with M-Audio Audiophile 2496 (envy(4))

2009-10-23 Thread Alexandre Ratchov
On Fri, Oct 23, 2009 at 11:12:34AM +0200, pet...@schwertfisch.de wrote:
 After a fresh install of OpenBSD 4.6 my sound card stopped working,
 i.e., I can hear nothing when playing audio. It worked just fine in 4.5.
 The card is an M-Audio Audiophile 2496 using envy(4).
 I run aucat -l before playing audio.
 

i guess this is because codecs aren't initialized.
could you try the diff below?

It should show in dmesg as ``M-Audio Audiophile 2496'', and
should work as in 4.5 except that there will be the right
number of ``inputs'' and ``outputs'' mixer controls.

i'm interested in the output of dmesg, audioctl and mixerctl
with the diff applied, even if it works :)

-- Alexandre

Index: envy.c
===
RCS file: /cvs/src/sys/dev/pci/envy.c,v
retrieving revision 1.29
diff -u -p -r1.29 envy.c
--- envy.c  11 Oct 2009 12:59:29 -  1.29
+++ envy.c  23 Oct 2009 10:19:21 -
@@ -39,10 +39,12 @@
 #include dev/audio_if.h
 #include machine/bus.h
 
+#define ENVY_DEBUG
+
 #ifdef ENVY_DEBUG
 #define DPRINTF(...) do { if (envydebug) printf(__VA_ARGS__); } while(0)
 #define DPRINTFN(n, ...) do { if (envydebug  (n)) printf(__VA_ARGS__); } 
while(0)
-int envydebug = 1;
+int envydebug = 2;
 #else
 #define DPRINTF(...) do {} while(0)
 #define DPRINTFN(n, ...) do {} while(0)
@@ -230,6 +232,13 @@ struct envy_card envy_cards[] = {
PCI_ID_CODE(0x1412, 0xd63b),
M-Audio Delta 1010LT,
8, ak4524_adc, 8, ak4524_dac,
+   delta_init,
+   delta_codec_write,
+   NULL
+   }, {
+   PCI_ID_CODE(0x1412, 0xd634),
+   M-Audio Audiophile 2496,
+   2, ak4524_adc, 2, ak4524_dac,
delta_init,
delta_codec_write,
NULL



Re: 4.6 reboots x336 ibm server(s)

2009-10-23 Thread FRLinux
On Fri, Oct 23, 2009 at 11:08 AM, FRLinux frli...@gmail.com wrote:
 Hello

 I have generated a verbose trace using a com port on the server, this
 is by booting the official 4.6 i386 install CD.

Alright, disabling ACPI allows me to install the system, but then on
reboot, even disabling ACPI makes the system restart:

boot boot -c
booting hd0a:/bsd: 6563548+1052072 [52+345584+327881]=0x7e7ce8
entry point at 0x200120

[ using 673892 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2009 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.6 (GENERIC) #58: Thu Jul  9 21:24:42 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Xeon(TM) CPU 3.20GHz (GenuineIntel 686-class) 3.21 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CR
real mem  = 3623231488 (3455MB)
avail mem = 3516555264 (3353MB)
User Kernel Config
UKC disable acpi
466 acpi0 disabled
UKC quit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 02/15/07, BIOS32 rev. 0 @ 0xfd6f1, SMBIOS)
bios0: vendor IBM version -[APE137AUS-1.14]- date 02/15/2007
bios0: IBM eserver xSeries 336 -[883722Y]-
acpi at bios0 function 0x0 not configured
mpbios0 at bios0: Intel MP Specification 1.4
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 200MHz
cpu at mainbus0: not configured
mpbios0: bus 0 is type PCI
mpbios0: bus 1 is type PCI
mpbios0: bus 2 is type PCI
mpbios0: bus 3 is type PCI
mpbios0: bus 4 is type PCI
mpbios0: bus 5 is type PCI
mpbios0: bus 6 is type PCI
mpbios0: bus 7 is type PCI
mpbios0: bus 8 is type ISA
ioapic0 at mainbus0: apid 14 pa 0xfec0, version 20, 24 pins
ioapic1 at mainbus0: apid 13 pa 0xfec82000, version 20, 24 pins
ioapic2 at mainbus0: apid 12 pa 0xfec82400, version 20, 24 pins
pcibios0 at bios0: rev 2.1 @ 0xf/0x
pcibios0: PCI BIOS has 11 Interrupt Routing table entries
pcibios0: PCI Exclusive IRQs: 9 10 11 15
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801EB/ER LPC rev 0x00)
pcibios0: PCI bus #7 is the last bus
bios0: ROM list: 0xc/0xb000
ipmi at mainbus0 not configured
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
mem address conflict 0xff00/0x1000
pchb0 at pci0 dev 0 function 0 Intel E7520 Host rev 0x0c
Intel E7520 Error Reporting rev 0x0c at pci0 dev 0 function 1 not configured
ppb0 at pci0 dev 2 function 0 Intel E7520 PCIE rev 0x0c
pci1 at ppb0 bus 2
ppb1 at pci0 dev 4 function 0 Intel E7520 PCIE rev 0x0c
pci2 at ppb1 bus 3
ppb2 at pci2 dev 0 function 0 Intel PCIE-PCIE rev 0x09
pci3 at ppb2 bus 4
ppb3 at pci2 dev 0 function 2 Intel PCIE-PCIE rev 0x09
pci4 at ppb3 bus 5
ppb4 at pci0 dev 6 function 0 Intel E7520 PCIE rev 0x0c
pci5 at ppb4 bus 6
bge0 at pci5 dev 0 function 0 Broadcom BCM5721 rev 0x11, BCM5750 B1 (0x4101):e
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb5 at pci0 dev 7 function 0 Intel E7520 PCIE rev 0x0c
pci6 at ppb5 bus 7
bge1 at pci6 dev 0 function 0 Broadcom BCM5721 rev 0x11, BCM5750 B1 (0x4101):f
brgphy1 at bge1 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
Intel E7520 Config rev 0x0c at pci0 dev 8 function 0 not configured
uhci0 at pci0 dev 29 function 0 Intel 82801EB/ER USB rev 0x02: apic 14 int 16)
uhci1 at pci0 dev 29 function 1 Intel 82801EB/ER USB rev 0x02: apic 14 int 19)
ehci0 at pci0 dev 29 function 7 Intel 82801EB/ER USB2 rev 0x02: apic 14 int 2)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb6 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0xc2
pci7 at ppb6 bus 1
vga1 at pci7 dev 1 function 0 ATI Radeon VE rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)

***reboots after that line...***



Re: bgpd strangeness (solved)

2009-10-23 Thread Stuart Henderson
On 2009-10-23, Csillag Tamas csta...@digitus.itk.ppke.hu wrote:
 Hi,

 On Thu, Oct 22, 2009 at 09:31:25AM +, Stuart Henderson wrote:
 If you can try a -current snapshot on it (or at least build a -current
 bgpd/bgpctl even if you keep this kernel), that would be helpful because
 we'll know if the problem was already fixed.

 I tought that it will not work (I need to upgrade the kernel too).

It depends on what was changed in the meantime; going from the version
you were running to -current at the moment, there wasn't anything that
affects this.

For the sake of completeness - other people reading this at another
time, or starting with older code, might have a problem with this.

 But it does and fixes the issue.

Great :-)



Re: 4.6 reboots x336 ibm server(s)

2009-10-23 Thread Vadim Zhukov
On 23 October 2009 c. 14:34:49 FRLinux wrote:
 On Fri, Oct 23, 2009 at 11:08 AM, FRLinux frli...@gmail.com wrote:
  Hello
 
  I have generated a verbose trace using a com port on the server,
  this is by booting the official 4.6 i386 install CD.

 Alright, disabling ACPI allows me to install the system, but then on
 reboot, even disabling ACPI makes the system restart:

 boot boot -c
 booting hd0a:/bsd: 6563548+1052072 [52+345584+327881]=0x7e7ce8
 entry point at 0x200120

 [ using 673892 bytes of bsd ELF symbol table ]
 Copyright (c) 1982, 1986, 1989, 1991, 1993
 The Regents of the University of California.  All rights
 reserved. Copyright (c) 1995-2009 OpenBSD. All rights reserved.
 http://www.OpenBSD.org

 OpenBSD 4.6 (GENERIC) #58: Thu Jul  9 21:24:42 MDT 2009
 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel(R) Xeon(TM) CPU 3.20GHz (GenuineIntel 686-class) 3.21
 GHz cpu0:
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE3
6,CR real mem  = 3623231488 (3455MB)
 avail mem = 3516555264 (3353MB)
 User Kernel Config
 UKC disable acpi
 466 acpi0 disabled
 UKC quit
 Continuing...
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 02/15/07, BIOS32 rev. 0 @
 0xfd6f1, SMBIOS) bios0: vendor IBM version -[APE137AUS-1.14]- date
 02/15/2007 bios0: IBM eserver xSeries 336 -[883722Y]-
 acpi at bios0 function 0x0 not configured
 mpbios0 at bios0: Intel MP Specification 1.4
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: apic clock running at 200MHz
 cpu at mainbus0: not configured
 mpbios0: bus 0 is type PCI
 mpbios0: bus 1 is type PCI
 mpbios0: bus 2 is type PCI
 mpbios0: bus 3 is type PCI
 mpbios0: bus 4 is type PCI
 mpbios0: bus 5 is type PCI
 mpbios0: bus 6 is type PCI
 mpbios0: bus 7 is type PCI
 mpbios0: bus 8 is type ISA
 ioapic0 at mainbus0: apid 14 pa 0xfec0, version 20, 24 pins
 ioapic1 at mainbus0: apid 13 pa 0xfec82000, version 20, 24 pins
 ioapic2 at mainbus0: apid 12 pa 0xfec82400, version 20, 24 pins
 pcibios0 at bios0: rev 2.1 @ 0xf/0x
 pcibios0: PCI BIOS has 11 Interrupt Routing table entries
 pcibios0: PCI Exclusive IRQs: 9 10 11 15
 pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801EB/ER LPC rev
 0x00) pcibios0: PCI bus #7 is the last bus
 bios0: ROM list: 0xc/0xb000
 ipmi at mainbus0 not configured
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 mem address conflict 0xff00/0x1000
 pchb0 at pci0 dev 0 function 0 Intel E7520 Host rev 0x0c
 Intel E7520 Error Reporting rev 0x0c at pci0 dev 0 function 1 not
 configured ppb0 at pci0 dev 2 function 0 Intel E7520 PCIE rev 0x0c
 pci1 at ppb0 bus 2
 ppb1 at pci0 dev 4 function 0 Intel E7520 PCIE rev 0x0c
 pci2 at ppb1 bus 3
 ppb2 at pci2 dev 0 function 0 Intel PCIE-PCIE rev 0x09
 pci3 at ppb2 bus 4
 ppb3 at pci2 dev 0 function 2 Intel PCIE-PCIE rev 0x09
 pci4 at ppb3 bus 5
 ppb4 at pci0 dev 6 function 0 Intel E7520 PCIE rev 0x0c
 pci5 at ppb4 bus 6
 bge0 at pci5 dev 0 function 0 Broadcom BCM5721 rev 0x11, BCM5750 B1
 (0x4101):e brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
 ppb5 at pci0 dev 7 function 0 Intel E7520 PCIE rev 0x0c
 pci6 at ppb5 bus 7
 bge1 at pci6 dev 0 function 0 Broadcom BCM5721 rev 0x11, BCM5750 B1
 (0x4101):f brgphy1 at bge1 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
 Intel E7520 Config rev 0x0c at pci0 dev 8 function 0 not configured
 uhci0 at pci0 dev 29 function 0 Intel 82801EB/ER USB rev 0x02: apic
 14 int 16) uhci1 at pci0 dev 29 function 1 Intel 82801EB/ER USB rev
 0x02: apic 14 int 19) ehci0 at pci0 dev 29 function 7 Intel
 82801EB/ER USB2 rev 0x02: apic 14 int 2) usb0 at ehci0: USB revision
 2.0
 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
 ppb6 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0xc2
 pci7 at ppb6 bus 1
 vga1 at pci7 dev 1 function 0 ATI Radeon VE rev 0x00
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)

 ***reboots after that line...***

My $0.02: try to disable intagp, agp, inteldrm, drm devices.

--
  Best wishes,
Vadim Zhukov

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Re: Error trying to use pkg_add with ftp

2009-10-23 Thread Steve Shockley

On 10/23/2009 6:23 AM, Rod Whitworth wrote:

But I always get an error saying:
ftp: No control connection for command



Yep! You did NOT read all the docs. Start with OpenBSD FAQ. Read it
all. Study the pf part well. Look for references to ftp.


What makes you think that's the issue?  pkg_add uses PASV ftp by 
default, which shouldn't have any issues with pf.


Marcio, try just issuing:

ftp ftp://ftp.openbsd.org/pub/OpenBSD/4.6/packages/i386/midori-0.1.7.tgz

(or whatever package) and see if that gives the same error.  If it does, 
then start diagnosing problems with ftp, maybe there's an upstream 
transparent FTP proxy or misconfigured firewall.  Also make sure you 
don't have the FTPMODE variable set, but that doesn't seem likely.


If you continue having problems and don't control your upstream 
connection, a different mirror may work.




Re: Error trying to use pkg_add with ftp

2009-10-23 Thread Joachim Schipper
On Fri, Oct 23, 2009 at 08:05:09AM -0200, Marcio David wrote:
 Hello everyone. I'm a software developer from Brazil and I've been using
 Linux for about 8 years and now I starting to play with some new toys, like
 FreeBSD and OpenBSD. I installed OpenBSD 4.6 on a quadcore intel machine,
 and now I'm trying to install some new softwares using pkg_add. I downloaded
 a few applications (like wget and wmii) and I was able to install it, but
 it's not a fun task, since I had to download all dependancys... Well, the
 pkg_add is working fine when I download the .tgz and install it localy, but
 I was not able to configure it to access the FTP server and download/install
 it from there.
 
 What I did was (as root):
 export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.6/packages/i386/
 
 And then:
 pkg_add -vi midori-0.1.7.tgz
 
 But I always get an error saying:
 ftp: No control connection for command
 
 I read all documentation about it, google-it and I was not to solve it yet.
 Any tips??

I'm not sure what Rod is getting at, but yes, there is most likely some
firewall blocking it. Perhaps you need to set ftp_proxy? (See ftp(1).)

You could also try HTTP...

Joachim



Trouble installing on Intel Dual core, intel motherboard

2009-10-23 Thread Marcus Booth
Using 4.6 stable.
I'm having trouble installing on an Intel dual core with Intel motherboard.
I've tried installing both AMD64 and i386
 versions with the same problem.  My initial installation completes just
fine.  At the reboot (when booting off of the
hard drive) the kernel messages get just past a line that includes Intel
82801GB SMBus and then I just start
getting a bunch addresses and values 21=ff 22=ff 23=ff and so on for an
entire screen.  The system hangs and
won't boot at that point.  Unfortunately, I don't know how to capture a
dmesg from a hung system like that.  I do
however have photos of the dmesg if anyone wants to take a peek.

I have installed OBSD many times on many systems since 3.0 and never had a
problem.  Just for grins I installed
on a quad core system with a Gigabyte mobo this morning and it went
perfectly.  I also installed a linux distro on
the dual core and it went fine.  Do I have an incompatible mobo or
processor?  If someone could throw me
a pointer or suggestion it would be appreciated.

If it helps at all, the motherboars is an Intel BOXD975XBX2KR.  Processor is
an Intel Dual Core E5200.
Thanks,
MB



Re: less minor install issue

2009-10-23 Thread Kenneth R Westerback
On Thu, Oct 22, 2009 at 06:15:25PM -0700, patrick keshishian wrote:
 On Thu, Oct 22, 2009 at 5:41 PM, Nick Holland
 n...@holland-consulting.net wrote:
  Daniel Malament wrote:
  On 10/22/2009 5:37 AM, William Boshuck wrote:
  And here I thought I remembered the new installer being described as
 easier to use.
 
  It is.  Were it not so quick it would be positively
  boring. Just don't set mount points for the partitions
 
  Perhaps I should clarify: IMO, not double-checking with the user about
  what specifically to wipe, especially when it used to, is a step back in
  'usability' (in the Jakob Nielsen sense) - or to put it another way,
  user-friendliness.
 
  I presume you are talking about this question:
 
   The next step *DESTROYS* all existing data on these partitions!
   Are you really sure that you're ready to proceed? [no] y
 
  This question was asked AFTER you had fdisk'd and disklabled your
  disk.  By this point, the data had been already potentially destroyed,
  I thought this question quite silly, in that it implies data has been
  safe up to this point...no, it hasn't, you have potentially been
  destroying things all over the place.
 
 Hey Nick,
 
 I don't wish to contradict you here, but ... I usually do installs and
 never upgrades. So what I do is keep /home out of the mount points in
 the disklabel stage, go through install, then re-add /home. I recall a
 while back, I did get to this stage and agreed to proceed and as the
 partitions were being newfs-ed I realized I had forgotten and included
 /home in the list. I ^C out before the /home slice was reached. I
 restarted the install, this time doing it correctly, and my data in
 /home was OK!
 
 Might have been a fluke ... but, it is what it is.
 
 --patrick
 

Nick's point is that by the time the question came the disk setup
could have been completely changed - new MBR partitions, different
disklael layout of partitions.  So the script really had no idea
when it asked that question if your data was already gone. Thus it
was misleading, and thus it was eliminated in the great 4.6 rewrite.

 Ken



Re: Trouble installing on Intel Dual core, intel motherboard

2009-10-23 Thread Tobias Ulmer
On Fri, Oct 23, 2009 at 06:36:21AM -0500, Marcus Booth wrote:
 Using 4.6 stable.
 I'm having trouble installing on an Intel dual core with Intel motherboard.
 I've tried installing both AMD64 and i386
  versions with the same problem.  My initial installation completes just
 fine.  At the reboot (when booting off of the
 hard drive) the kernel messages get just past a line that includes Intel
 82801GB SMBus and then I just start
 getting a bunch addresses and values 21=ff 22=ff 23=ff and so on for an
 entire screen.  The system hangs and
 won't boot at that point.  Unfortunately, I don't know how to capture a
 dmesg from a hung system like that.  I do
 however have photos of the dmesg if anyone wants to take a peek.
 
 I have installed OBSD many times on many systems since 3.0 and never had a
 problem.  Just for grins I installed
 on a quad core system with a Gigabyte mobo this morning and it went
 perfectly.  I also installed a linux distro on
 the dual core and it went fine.  Do I have an incompatible mobo or
 processor?  If someone could throw me
 a pointer or suggestion it would be appreciated.
 
 If it helps at all, the motherboars is an Intel BOXD975XBX2KR.  Processor is
 an Intel Dual Core E5200.
 Thanks,
 MB

Try to disable the usual suspects, acpi and/or [oeu]hci



Re: 4.6 reboots x336 ibm server(s)

2009-10-23 Thread FRLinux
2009/10/23 Vadim Zhukov persg...@gmail.com:
 My $0.02: try to disable intagp, agp, inteldrm, drm devices.

Thanks, tried disabling a fair few based on successful boot log but
still fails after wsdisplay0

Also, as pointed out, before 4.6, it just works.

Cheers,
Steph



Re: No sound in 4.6 with M-Audio Audiophile 2496 (envy(4))

2009-10-23 Thread peters
Alexandre Ratchov a...@caoua.org wrote:

 On Fri, Oct 23, 2009 at 11:12:34AM +0200, pet...@schwertfisch.de wrote:
  After a fresh install of OpenBSD 4.6 my sound card stopped working,
  i.e., I can hear nothing when playing audio. It worked just fine in 4.5.
  The card is an M-Audio Audiophile 2496 using envy(4).
  I run aucat -l before playing audio.
  

 i guess this is because codecs aren't initialized.
 could you try the diff below?

 It should show in dmesg as ``M-Audio Audiophile 2496'', and
 should work as in 4.5 except that there will be the right
 number of ``inputs'' and ``outputs'' mixer controls.

 i'm interested in the output of dmesg, audioctl and mixerctl
 with the diff applied, even if it works :)

Thank you very much for your fast reply, Alexandre.
Just to make sure the patch went alright, here is what I did:
Extracted the sources from CD 3,
cd /usr/src/sys/dev/pci
patch -p0  your_patch
Compiled  installed a new GENERIC kernel and rebooted

Great: Sound is back, clear and full. But there are some new
messages on the console:

When running mixerctl, I get
envy0: outsrc=0
envy0: outsrc=0

When starting aucat -l, I get
envy0: no params to set
envy0: no params to set
envy0: no params to set

Also, when playing audio stops:
envy0: no params to set
envy0: no params to set


Here is the output of mixerctl -v, audioctl and dmesg:

outputs.line0_source=play0  [ line0 line1 play0 mon0 ]
outputs.line1_source=play1  [ line0 line1 play1 mon1 ]
monitor.play0=240 volume
monitor.play1=240 volume
monitor.play2=240 volume
monitor.play3=240 volume
monitor.play4=240 volume
monitor.play5=240 volume
monitor.play6=240 volume
monitor.play7=240 volume
monitor.play8=240 volume
monitor.play9=240 volume
monitor.rec0=240 volume
monitor.rec1=240 volume
monitor.rec2=240 volume
monitor.rec3=240 volume
monitor.rec4=240 volume
monitor.rec5=240 volume
monitor.rec6=240 volume
monitor.rec7=240 volume
monitor.rec8=240 volume
monitor.rec9=240 volume
inputs.line0=254 volume
inputs.line1=254 volume
outputs.line0=254 volume
outputs.line1=254 volume
outputs.mute0-1=off  [ off on ]


name=Envy24
version=-
config=M-Audio Audioph
encodings=slinear_le:24
properties=full_duplex,independent
full_duplex=1
fullduplex=1
blocksize=26400
hiwat=2
lowat=1
output_muted=0
monitor_gain=0
mode=play,record
play.rate=44100
play.channels=10
play.precision=24
play.encoding=slinear
play.gain=127
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=0
play.samples=0
play.eof=0
play.pause=0
play.error=0
play.waiting=0
play.open=1
play.active=0
play.buffer_size=65536
play.block_size=26400
play.errors=0
record.rate=44100
record.channels=12
record.precision=24
record.encoding=slinear
record.gain=127
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=1
record.active=0
record.buffer_size=65536
record.block_size=31680
record.errors=0


OpenBSD 4.6 (GENERIC) #0: Fri Oct 23 14:18:34 CEST 2009
d...@overstolz.my.domain:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) XP 2000+ (AuthenticAMD 686-class, 256KB L2 cache) 1.68 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 804810752 (767MB)
avail mem = 768880640 (733MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/18/06, BIOS32 rev. 0 @ 0xfdb10, SMBIOS 
rev. 2.3 @ 0xf0630 (21 entries)
bios0: vendor American Megatrends Inc. version P2.80 date 10/18/2006
bios0: American Megatrends Inc. K7S41GX
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC
acpi0: wakeup devices PS2M(S4) PS2K(S4) UAR1(S4) USB1(S4) USB2(S4) EHCI(S4) 
LAN_(S4) MDM_(S4) AUD_(S4) PCI0(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 268MHz
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
acpipwrres0 at acpi0: URP1
acpipwrres1 at acpi0: URP2
acpipwrres2 at acpi0: FDDP
acpipwrres3 at acpi0: LPTP
acpibtn0 at acpi0: PWRB
bios0: ROM list: 0xc/0xd000 0xcd000/0xa000
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 SiS 741 PCI rev 0x03
sisagp0 at pchb0
agp0 at sisagp0: aperture at 0xd000, size 0x800
ppb0 at pci0 dev 1 function 0 SiS 648FX AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon 9200 PRO rev 0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 2 int 16 (irq 11)
drm0 at radeondrm0
pcib0 at pci0 dev 2 function 0 SiS 85C503 System rev 0x25
pciide0 at pci0 dev 2 function 5 SiS 5513 EIDE rev 0x00: 741: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: WDC WD1600JB-22GVC0
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd1 at pciide0 channel 0 drive 1: WDC 

Re: Error trying to use pkg_add with ftp

2009-10-23 Thread Marcio David
Hey Steve Shockley and Joachim Schipper, thanks for your help!

On Fri, Oct 23, 2009 at 9:15 AM, Steve Shockley steve.shock...@shockley.net
 wrote:

 Marcio, try just issuing:

 ftp ftp://ftp.openbsd.org/pub/OpenBSD/4.6/packages/i386/midori-0.1.7.tgz


Yeah, I get the same error. But it's kinda funny since I have Debian
installed on the same box and FTP works fine there, but at OpenBSD FTP is
acting weird (so I guess it's something with my OpenBSD configuration). I'll
make more tests here.

Cya,
Marcio

ps. Hey Whitworth, that sentence you tried to speak in portuguese makes no
sense. Google translator is not a good way to learn a new language.



Re: Error trying to use pkg_add with ftp

2009-10-23 Thread Tomáš Bodžár
Hi,

if you are from Brazil then why are you using mirror from USA? BTW if
you read FAQ then you will know that it's better to add PKG_PATH to
.profile of normal user and use sudo for installation and I have at
least two mirrors set in PKG_PATH for situations when some mirror
fails (one is ftp and second one is http).

On Fri, Oct 23, 2009 at 12:05 PM, Marcio David mfda...@gmail.com wrote:
 Hello everyone. I'm a software developer from Brazil and I've been using
 Linux for about 8 years and now I starting to play with some new toys, like
 FreeBSD and OpenBSD. I installed OpenBSD 4.6 on a quadcore intel machine,
 and now I'm trying to install some new softwares using pkg_add. I downloaded
 a few applications (like wget and wmii) and I was able to install it, but
 it's not a fun task, since I had to download all dependancys... Well, the
 pkg_add is working fine when I download the .tgz and install it localy, but
 I was not able to configure it to access the FTP server and download/install
 it from there.

 What I did was (as root):
 export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.6/packages/i386/

 And then:
 pkg_add -vi midori-0.1.7.tgz

 But I always get an error saying:
 ftp: No control connection for command

 I read all documentation about it, google-it and I was not to solve it yet.
 Any tips??

 Thanks a lot,
 Marcio F. David





-- 
http://www.openbsd.org/lyrics.html



Re: No sound in 4.6 with M-Audio Audiophile 2496 (envy(4))

2009-10-23 Thread Alexandre Ratchov
On Fri, Oct 23, 2009 at 02:48:06PM +0200, pet...@schwertfisch.de wrote:
 Alexandre Ratchov a...@caoua.org wrote:
 
  On Fri, Oct 23, 2009 at 11:12:34AM +0200, pet...@schwertfisch.de wrote:
   After a fresh install of OpenBSD 4.6 my sound card stopped working,
   i.e., I can hear nothing when playing audio. It worked just fine in 4.5.
   The card is an M-Audio Audiophile 2496 using envy(4).
   I run aucat -l before playing audio.
   
 
  i guess this is because codecs aren't initialized.
  could you try the diff below?
 
  It should show in dmesg as ``M-Audio Audiophile 2496'', and
  should work as in 4.5 except that there will be the right
  number of ``inputs'' and ``outputs'' mixer controls.
 
  i'm interested in the output of dmesg, audioctl and mixerctl
  with the diff applied, even if it works :)
 
 Thank you very much for your fast reply, Alexandre.
 Just to make sure the patch went alright, here is what I did:
 Extracted the sources from CD 3,
 cd /usr/src/sys/dev/pci
 patch -p0  your_patch
 Compiled  installed a new GENERIC kernel and rebooted
 
 Great: Sound is back, clear and full. But there are some new
 messages on the console:
 
 When running mixerctl, I get
 envy0: outsrc=0
 envy0: outsrc=0
 
 When starting aucat -l, I get
 envy0: no params to set
 envy0: no params to set
 envy0: no params to set
 
 Also, when playing audio stops:
 envy0: no params to set
 envy0: no params to set
 

These messages are ``normal''; the diff enabled certain
debug printf()s just in case there's a problem to debug.
They don't hurt but are useless. You can edit

/usr/src/sys/dev/pci/envy.c

and remove the line with ``#define ENVY_DEBUG'', recompile
and reinstall the kernel, and they will go away.

-- Alexandre



Re: Trouble installing on Intel Dual core, intel motherboard

2009-10-23 Thread Jonathan Gray
On Fri, Oct 23, 2009 at 06:36:21AM -0500, Marcus Booth wrote:
 Using 4.6 stable.
 I'm having trouble installing on an Intel dual core with Intel motherboard.
 I've tried installing both AMD64 and i386
  versions with the same problem.  My initial installation completes just
 fine.  At the reboot (when booting off of the
 hard drive) the kernel messages get just past a line that includes Intel
 82801GB SMBus and then I just start
 getting a bunch addresses and values 21=ff 22=ff 23=ff and so on for an
 entire screen.  The system hangs and
 won't boot at that point.  Unfortunately, I don't know how to capture a
 dmesg from a hung system like that.  I do
 however have photos of the dmesg if anyone wants to take a peek.

try boot -c
disable ichiic
quit



Re: Trouble installing on Intel Dual core, intel motherboard

2009-10-23 Thread Marcus Booth
That worked great.  It booted perfectly.

It appears that I can just disable that in the kernel config and rebuild the
kernel?
I will work on getting that done now.  Thanks for the help.


On Fri, Oct 23, 2009 at 9:04 AM, Jonathan Gray j...@goblin.cx wrote:

 On Fri, Oct 23, 2009 at 06:36:21AM -0500, Marcus Booth wrote:
  Using 4.6 stable.
  I'm having trouble installing on an Intel dual core with Intel
 motherboard.
  I've tried installing both AMD64 and i386
   versions with the same problem.  My initial installation completes just
  fine.  At the reboot (when booting off of the
  hard drive) the kernel messages get just past a line that includes Intel
  82801GB SMBus and then I just start
  getting a bunch addresses and values 21=ff 22=ff 23=ff and so on for an
  entire screen.  The system hangs and
  won't boot at that point.  Unfortunately, I don't know how to capture a
  dmesg from a hung system like that.  I do
  however have photos of the dmesg if anyone wants to take a peek.

 try boot -c
 disable ichiic
 quit



Re: Trouble installing on Intel Dual core, intel motherboard

2009-10-23 Thread Otto Moerbeek
On Fri, Oct 23, 2009 at 09:34:28AM -0500, Marcus Booth wrote:

 That worked great.  It booted perfectly.
 
 It appears that I can just disable that in the kernel config and rebuild the
 kernel?
 I will work on getting that done now.  Thanks for the help.

You do not need to recompile. See config(8), you can disable a device
in a compiled kernel and make that persistent.

-Otto

 
 
 On Fri, Oct 23, 2009 at 9:04 AM, Jonathan Gray j...@goblin.cx wrote:
 
  On Fri, Oct 23, 2009 at 06:36:21AM -0500, Marcus Booth wrote:
   Using 4.6 stable.
   I'm having trouble installing on an Intel dual core with Intel
  motherboard.
   I've tried installing both AMD64 and i386
versions with the same problem.  My initial installation completes just
   fine.  At the reboot (when booting off of the
   hard drive) the kernel messages get just past a line that includes Intel
   82801GB SMBus and then I just start
   getting a bunch addresses and values 21=ff 22=ff 23=ff and so on for an
   entire screen.  The system hangs and
   won't boot at that point.  Unfortunately, I don't know how to capture a
   dmesg from a hung system like that.  I do
   however have photos of the dmesg if anyone wants to take a peek.
 
  try boot -c
  disable ichiic
  quit



Trouble with a uaudio(4) device

2009-10-23 Thread Jona Joachim
Here's the dmesg output when I plug in the device:

uaudio0 at uhub3 port 2 configuration 1 interface 0 Ten X Technology,
Inc. USB  AUDIO rev 1.10/2.04 addr 2
uaudio0: ignored input endpoint of type adaptive
uaudio0: audio rev 1.00, 4 mixer controls
audio1 at uaudio0
uhidev1 at uhub3 port 2 configuration 1 interface 3 Ten X Technology,
Inc. USB  AUDIO rev 1.10/2.04 addr 2
uhidev1: iclass 3/1
uhid0 at uhidev1: input=8, output=8, feature=0
uhidev2 at uhub3 port 2 configuration 1 interface 4 Ten X Technology,
Inc. USB  AUDIO rev 1.10/2.04 addr 2
uhidev2: iclass 3/1, 3 report ids
uhid1 at uhidev2 reportid 3: input=1, output=0, feature=0

When I try to use it I get the following errors:

han% audioctl -f /dev/audio1
audioctl: /dev/audio1: Device not configured
han% aucat -f /dev/audio1 -l
aucat: /dev/audio1: can't open device

I don't really know how to debug this any further. This is on i386
-current.

Here's some more info about the hardware:

 port 2 addr 2: full speed, power 500 mA, config 1, USB  AUDIO(0xf211),
Ten X Technology, Inc.(0x1130), rev 2.04

n% usbhidctl -f /dev/uhid0
No_Event=1 [0]
No_Event=1 [1]
No_Event=1 [2]
No_Event=1 [3]
No_Event=1 [4]
No_Event=1 [5]
No_Event=1 [6]
No_Event=1 [7]
Undefined.Num_Lock=0
Undefined.Caps_Lock=0
Undefined.Scroll_Lock=0
Undefined.Compose=0
Undefined.Kana=0
Undefined.Power=0
Undefined.Shift=0
Undefined.Do_Not_Disturb=0
Undefined.Mute=0
Undefined.Tone_Enable=0
Undefined.High_Cut_Filter=0
Undefined.Low_Cut_Filter=0
Undefined.Equalizer_Enable=0
Undefined.Sound_Field_On=0
Undefined.Surround_Field_On=0
Undefined.Repeat=0
Undefined.Stereo=0
Undefined.Sampling_Rate_Detect=0
Undefined.Spinning=0
Undefined.CAV=0
Undefined.CLV=0
Undefined.Recording_Format_Detect=0
Undefined.Off-Hook=0
Undefined.Ring=0
Undefined.Message_Waiting=0
Undefined.Data_Mode=0
Undefined.Battery_Operation=0
Undefined.Battery_OK=0
Undefined.Battery_Low=0
Undefined.Speaker=0
Undefined.Head_Set=0
Undefined.Hold=0
Undefined.Microphone=0
Undefined.Coverage=0
Undefined.Night_Mode=0
Undefined.Send_Calls=0
Undefined.Call_Pickup=0
Undefined.Conference=0
Undefined.Stand-by=0
Undefined.Camera_On=0
Undefined.Camera_Off=0
Undefined.On-Line=0
Undefined.Off-Line=0
Undefined.Busy=0
Undefined.Ready=0
Undefined.Paper-Out=0
Undefined.Paper-Jam=0
Undefined.Remote=0
Undefined.Forward=0
Undefined.Reverse=0
Undefined.Stop=0
Undefined.Rewind=0
Undefined.Fast_Forward=0
Undefined.Play=0
Undefined.Pause=0
Undefined.Record=0
Undefined.Error=0
Undefined.Usage_Selected_Indicator=0
Undefined.Usage_In_Use_Indicator=0
Undefined.Usage_Multi_Mode_Indicator=0
Undefined.Indicator_On=0
Undefined.Indicator_Flash=0
Undefined.Indicator_Slow_Blink=0
Undefined.Indicator_Fast_Blink=0

han% usbhidctl -f /dev/uhid1
Consumer_Control.Volume_Up=0
Consumer_Control.Volume_Down=0
Consumer_Control.Mute=0
Consumer_Control.Scan_Next_Track=0
Consumer_Control.Scan_Previous_Track=0
Consumer_Control.Pause/Play=0



-- 
Worse is better
Richard P. Gabriel



Re: Error trying to use pkg_add with ftp

2009-10-23 Thread Marcio David
2009/10/23 TomC!E! BodEC!r tomas.bod...@gmail.com

 Hi,

 if you are from Brazil then why are you using mirror from USA?


Cuz none of the Brazilian mirrors are working (at least for the OBSD 4.6).
According to [1], there is only one FTP server from Brazil, and the 4.6
folder is not working (error 550). There is 3 HTTP servers from Brazil: the
first one gives me 404, the second one don't have a 4.6 folder and the third
one gives me 403 when I try to list the 4.6 folder.

[1] = http://openbsd.org/ftp.html

Cya,
Marcio



Re: No sound in 4.6 with M-Audio Audiophile 2496 (envy(4))

2009-10-23 Thread peters
Alexandre Ratchov a...@caoua.org wrote:

   On Fri, Oct 23, 2009 at 11:12:34AM +0200, pet...@schwertfisch.de wrote:
After a fresh install of OpenBSD 4.6 my sound card stopped working,
i.e., I can hear nothing when playing audio. It worked just fine in 4.5.
The card is an M-Audio Audiophile 2496 using envy(4).
I run aucat -l before playing audio.

  
   i guess this is because codecs aren't initialized.
   could you try the diff below?
  
   It should show in dmesg as ``M-Audio Audiophile 2496'', and
   should work as in 4.5 except that there will be the right
   number of ``inputs'' and ``outputs'' mixer controls.
  
   i'm interested in the output of dmesg, audioctl and mixerctl
   with the diff applied, even if it works :)
  
  Thank you very much for your fast reply, Alexandre.
  Just to make sure the patch went alright, here is what I did:
  Extracted the sources from CD 3,
  cd /usr/src/sys/dev/pci
  patch -p0  your_patch
  Compiled  installed a new GENERIC kernel and rebooted
  
  Great: Sound is back, clear and full. But there are some new
  messages on the console:
  
  When running mixerctl, I get
  envy0: outsrc=0
  envy0: outsrc=0
  
  When starting aucat -l, I get
  envy0: no params to set
  envy0: no params to set
  envy0: no params to set
  
  Also, when playing audio stops:
  envy0: no params to set
  envy0: no params to set
  

 These messages are ``normal''; the diff enabled certain
 debug printf()s just in case there's a problem to debug.
 They don't hurt but are useless. You can edit

   /usr/src/sys/dev/pci/envy.c

 and remove the line with ``#define ENVY_DEBUG'', recompile
 and reinstall the kernel, and they will go away.

Ah, I see... I did not actually look at envy.c after applying
the patch. I have reinstalled the kernel, and now audio is
back to normal.
Thanks again, without your help OpenBSD 4.6 sessions would have
been very quiet. By the way, are there any plans to add support
for S/PDIF and MIDI in this driver?

Regards,
Dirk



Re: Trouble with a uaudio(4) device

2009-10-23 Thread Remco
Jona Joachim wrote:

 Here's the dmesg output when I plug in the device:
 
 uaudio0 at uhub3 port 2 configuration 1 interface 0 Ten X Technology,
 Inc. USB  AUDIO rev 1.10/2.04 addr 2
 uaudio0: ignored input endpoint of type adaptive
 uaudio0: audio rev 1.00, 4 mixer controls
 audio1 at uaudio0
 uhidev1 at uhub3 port 2 configuration 1 interface 3 Ten X Technology,
 Inc. USB  AUDIO rev 1.10/2.04 addr 2
 uhidev1: iclass 3/1
 uhid0 at uhidev1: input=8, output=8, feature=0
 uhidev2 at uhub3 port 2 configuration 1 interface 4 Ten X Technology,
 Inc. USB  AUDIO rev 1.10/2.04 addr 2
 uhidev2: iclass 3/1, 3 report ids
 uhid1 at uhidev2 reportid 3: input=1, output=0, feature=0
 
 When I try to use it I get the following errors:
 
 han% audioctl -f /dev/audio1
 audioctl: /dev/audio1: Device not configured
 han% aucat -f /dev/audio1 -l
 aucat: /dev/audio1: can't open device
 
 I don't really know how to debug this any further. This is on i386
 -current.
 

Your problem might be the adaptive endpoint as described in:
http://marc.info/?l=openbsd-techm=125518948020717w=2

I applied the patch mentioned in this thread to my 4.5 system (at my own
risk) and my USB headset started working as it should.

Both 'audioctl' and 'aucat -l' worked.

It seems this patch was applied 8 days ago, I'm guessing it exists in a
recent snapshot. I don't know if your CURRENT system is current enough.



Re: No sound in 4.6 with M-Audio Audiophile 2496 (envy(4))

2009-10-23 Thread Alexandre Ratchov
On Fri, Oct 23, 2009 at 06:33:47PM +0200, pet...@schwertfisch.de wrote:
 Alexandre Ratchov a...@caoua.org wrote:
 
On Fri, Oct 23, 2009 at 11:12:34AM +0200, pet...@schwertfisch.de wrote:
 After a fresh install of OpenBSD 4.6 my sound card stopped working,
 i.e., I can hear nothing when playing audio. It worked just fine in 
 4.5.
 The card is an M-Audio Audiophile 2496 using envy(4).
 I run aucat -l before playing audio.
 
   
i guess this is because codecs aren't initialized.
could you try the diff below?
   
It should show in dmesg as ``M-Audio Audiophile 2496'', and
should work as in 4.5 except that there will be the right
number of ``inputs'' and ``outputs'' mixer controls.
   
i'm interested in the output of dmesg, audioctl and mixerctl
with the diff applied, even if it works :)
   
   Thank you very much for your fast reply, Alexandre.
   Just to make sure the patch went alright, here is what I did:
   Extracted the sources from CD 3,
   cd /usr/src/sys/dev/pci
   patch -p0  your_patch
   Compiled  installed a new GENERIC kernel and rebooted
   
   Great: Sound is back, clear and full. But there are some new
   messages on the console:
   
   When running mixerctl, I get
   envy0: outsrc=0
   envy0: outsrc=0
   
   When starting aucat -l, I get
   envy0: no params to set
   envy0: no params to set
   envy0: no params to set
   
   Also, when playing audio stops:
   envy0: no params to set
   envy0: no params to set
   
 
  These messages are ``normal''; the diff enabled certain
  debug printf()s just in case there's a problem to debug.
  They don't hurt but are useless. You can edit
 
  /usr/src/sys/dev/pci/envy.c
 
  and remove the line with ``#define ENVY_DEBUG'', recompile
  and reinstall the kernel, and they will go away.
 
 Ah, I see... I did not actually look at envy.c after applying
 the patch. I have reinstalled the kernel, and now audio is
 back to normal.
 Thanks again, without your help OpenBSD 4.6 sessions would have
 been very quiet. By the way, are there any plans to add support
 for S/PDIF and MIDI in this driver?
 

I plan to add support for midi as soon as I find some free
time, I use midi very often.

s/pdif is not a priority for me for now.

-- Alexandre



Re: Error trying to use pkg_add with ftp

2009-10-23 Thread Tomáš Bodžár
Yes, sometimes there are problems with mirrors but this is still valid
http://www.openbsd.org/faq/faq3.html#FTP and I think that main site is
under high load and it's better even from point of view of costs(where
is server) to use different mirror. Maybe you will get better access
with some EU mirror :-) (sounds funny, but same situation for me.
Sometimes I have better response and speed from some Asia or USA
mirror then from EU).

On Fri, Oct 23, 2009 at 5:54 PM, Marcio David mfda...@gmail.com wrote:
 2009/10/23 TomC!E! BodEC!r tomas.bod...@gmail.com

 Hi,

 if you are from Brazil then why are you using mirror from USA?


 Cuz none of the Brazilian mirrors are working (at least for the OBSD 4.6).
 According to [1], there is only one FTP server from Brazil, and the 4.6
 folder is not working (error 550). There is 3 HTTP servers from Brazil: the
 first one gives me 404, the second one don't have a 4.6 folder and the third
 one gives me 403 when I try to list the 4.6 folder.

 [1] = http://openbsd.org/ftp.html

 Cya,
 Marcio



Re: less minor install issue

2009-10-23 Thread patrick keshishian
On Fri, Oct 23, 2009 at 5:13 AM, Kenneth R Westerback
kwesterb...@rogers.com wrote:
 On Thu, Oct 22, 2009 at 06:15:25PM -0700, patrick keshishian wrote:
 On Thu, Oct 22, 2009 at 5:41 PM, Nick Holland
 n...@holland-consulting.net wrote:
  Daniel Malament wrote:
  On 10/22/2009 5:37 AM, William Boshuck wrote:
  And here I thought I remembered the new installer being described as
 easier to use.
 
  It is.  Were it not so quick it would be positively
  boring. Just don't set mount points for the partitions
 
  Perhaps I should clarify: IMO, not double-checking with the user about
  what specifically to wipe, especially when it used to, is a step back
in
  'usability' (in the Jakob Nielsen sense) - or to put it another way,
  user-friendliness.
 
  I presume you are talking about this question:
 
   The next step *DESTROYS* all existing data on these partitions!
   Are you really sure that you're ready to proceed? [no] y
 
  This question was asked AFTER you had fdisk'd and disklabled your
  disk.  By this point, the data had been already potentially destroyed,
  I thought this question quite silly, in that it implies data has been
  safe up to this point...no, it hasn't, you have potentially been
  destroying things all over the place.

 Hey Nick,

 I don't wish to contradict you here, but ... I usually do installs and
 never upgrades. So what I do is keep /home out of the mount points in
 the disklabel stage, go through install, then re-add /home. I recall a
 while back, I did get to this stage and agreed to proceed and as the
 partitions were being newfs-ed I realized I had forgotten and included
 /home in the list. I ^C out before the /home slice was reached. I
 restarted the install, this time doing it correctly, and my data in
 /home was OK!

 Might have been a fluke ... but, it is what it is.

 --patrick


 Nick's point is that by the time the question came the disk setup
 could have been completely changed - new MBR partitions, different
 disklael layout of partitions.  So the script really had no idea
 when it asked that question if your data was already gone. Thus it
 was misleading, and thus it was eliminated in the great 4.6 rewrite.

I don't want to belabor this, however, the actual data on the disk
(maybe with the exception of MBR) is still safe until newfs-ed.
Therefore, even if the disklabel was changed, if the user had a copy
of her pre-install dislabel she could revert/recover at this stage. I
know there has been suggestions many times over (by Nick Holland I
believe) that folks should save their disklabels for similar recovery
situations; in fact fairly recently someone reported such recovery on
misc@ IIRC.

Either way, point made. People who are used to keeping partitions from
install to install, should choose the Custom layout option as you
pointed out.

--patrick



4.6 on HP EliteBook 8530w

2009-10-23 Thread Jan Stary
First of all, thanks for 4.6. I am gradually upgrading
all of my machines; the process is smoother with every release.

One of these installs is my HP EliteBook 8530w.
That's a clean install, not an upgrade.

With a stock 4.6 GENERIC.MP, the kernel pagefaults during boot
with ACPI enabled, while it boots fine with ACPI disabled.

The same happens with -stable.
These are the dmesgs of all four:


OpenBSD 4.6 (GENERIC.MP) #89: Thu Jul  9 21:32:39 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
RTC BIOS diagnostic error bbclock_battery,config_unit,memory_size,fixed_disk
cpu0: Intel(R) Core(TM)2 Duo CPU T9400 @ 2.53GHz (GenuineIntel 686-class) 
2.53 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,SMX,EST,TM2,CX16,xTPR
real mem  = 2125561856 (2027MB)
avail mem = 2046459904 (1951MB)
RTC BIOS diagnostic error bbclock_battery,config_unit,memory_size,fixed_disk
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/10/08, SMBIOS rev. 2.4 @ 0x7edc4000 
(21 entries)
bios0: vendor Hewlett-Packard version 68PDV Ver. F.06 date 12/15/2008
bios0: Hewlett-Packard HP EliteBook 8530w
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP HPET APIC MCFG TCPA SSDT SLIC SSDT DMAR ASF! SSDT SSDT 
SSDT
acpi0: wakeup devices LANC(S5) HDEF(S4) RP02(S5) WNIC(S5) RP03(S5) ECF0(S5) 
RP05(S5) ECF0(S5) RP06(S5) NIC_(S5) USB1(S3) USB2(S3) USB3(S3) USB4(S3) 
USB5(S3) USB6(S3) U6RM(S3) EHC1(S3) EHC2(S3) PCIB(S5) HST1(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 265MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU T9400 @ 2.53GHz (GenuineIntel 686-class) 
2.53 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,SMX,EST,TM2,CX16,xTPR
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpiprt0 at acpi0: bus 1 (PEGP)
acpiprt1 at acpi0: bus 2 (RP01)
acpiprt2 at acpi0: bus 3 (RP02)
acpiprt3 at acpi0: bus 4 (RP03)
acpiprt4 at acpi0: bus 69 (RP05)
acpiprt5 at acpi0: bus 134 (PCIB)
acpiprt6 at acpi0: bus 0 (PCI0)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: APPR
acpipwrres1 at acpi0: COMP
acpipwrres2 at acpi0: LPP_
acpipwrres3 at acpi0: PGF0
acpitz0 at acpi0: critical temperature 115 degC
acpitz1 at acpi0: critical temperature 105 degC
acpitz2 at acpi0: critical temperature 112 degC
acpitz3 at acpi0: critical temperature 112 degC
acpitz4 at acpi0: critical temperature 90 degC
acpitz5 at acpi0: critical temperature 112 degC
acpibat0 at acpi0: BAT0 model Primary serial 00903 2009/01/13 type LIon oem 
Hewlett-Packard
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit offline
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: LID_
acpivideo0 at acpi0: DGFX
acpivout0 at acpivideo0: LCD_
acpivout1 at acpivideo0: CRT_
acpivout2 at acpivideo0: DVI_
acpivout3 at acpivideo0: DD04
bios0: ROM list: 0xc/0xe200 0xce800/0x1000 0xcf800/0x1000
cpu0: Enhanced SpeedStep 2527 MHz: speeds: 2534, 2533, 1600, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
ppb0 at pci0 dev 1 function 0 Intel GM45 PCIE rev 0x07: apic 1 int 16 (irq 10)
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 vendor NVIDIA, unknown product 0x065c rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Intel GM45 HECI rev 0x07 at pci0 dev 3 function 0 not configured
pciide0 at pci0 dev 3 function 2 Intel GM45 PT IDER rev 0x07: DMA 
(unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide0: using apic 1 int 18 (irq 11) for native-PCI interrupt
pciide0: channel 0 ignored (not responding; disabled or no drives?)
pciide0: channel 1 ignored (not responding; disabled or no drives?)
Intel GM45 AMT SOL rev 0x07 at pci0 dev 3 function 3 not configured
em0 at pci0 dev 25 function 0 Intel ICH9 IGP M AMT rev 0x03: apic 1 int 22 
(irq 10), address 00:23:7d:e7:ac:60
uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 1 int 16 (irq 
10)
uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 1 int 17 (irq 
10)
uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 1 int 18 (irq 
11)
ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 1 int 19 (irq 
10)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03: apic 1 int 
17 (irq 10)
azalia0: RIRB time out
azalia0: codecs: Analog Devices AD1984A, ATT/Lucent/0x1040, using Analog 
Devices AD1984A
audio0 at azalia0
ppb1 at pci0 dev 28 

Re: Payment Card Industry (PCI) Data Security Standard HELP!

2009-10-23 Thread Nick Berg
 On the bright side, because this list houses some of the best
 brainpower anywhere I have all but two of the requirements
 finished (yes, the easy ones) and one of the two left I'm sure
 I can handle on my own.

Would you mind sharing any non-confidential OpenBSD-related
questions/answers of the PCI questionnaire with the list?



Re: Error trying to use pkg_add with ftp

2009-10-23 Thread Paul M

On 24/10/2009, at 2:37 AM, Marcio David wrote:


Hey Steve Shockley and Joachim Schipper, thanks for your help!

On Fri, Oct 23, 2009 at 9:15 AM, Steve Shockley 
steve.shock...@shockley.net

wrote:



Marcio, try just issuing:

ftp 
ftp://ftp.openbsd.org/pub/OpenBSD/4.6/packages/i386/midori-0.1.7.tgz




Yeah, I get the same error. But it's kinda funny since I have Debian
installed on the same box and FTP works fine there, but at OpenBSD FTP 
is
acting weird (so I guess it's something with my OpenBSD 
configuration). I'll

make more tests here.

Cya,
Marcio

ps. Hey Whitworth, that sentence you tried to speak in portuguese 
makes no

sense. Google translator is not a good way to learn a new language.


Must have been the wine


paulm



Re: Error trying to use pkg_add with ftp

2009-10-23 Thread Stuart Henderson
On 2009-10-23, Marcio David mfda...@gmail.com wrote:

 Cuz none of the Brazilian mirrors are working (at least for the OBSD 4.6).
 According to [1], there is only one FTP server from Brazil, and the 4.6
 folder is not working (error 550). There is 3 HTTP servers from Brazil: the
 first one gives me 404, the second one don't have a 4.6 folder and the third
 one gives me 403 when I try to list the 4.6 folder.

 [1] = http://openbsd.org/ftp.html

It doesn't change anything for the list of mirrors in Brazil but,
in general, use http://www.openbsd.org/ *not* http://openbsd.org/...
   



Re: Error trying to use pkg_add with ftp

2009-10-23 Thread Stuart Henderson
On 2009-10-23, Marcio David mfda...@gmail.com wrote:
 export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.6/packages/i386/

try an http mirror.



FW: RENDA EXTRA!!

2009-10-23 Thread gera renda
Etamos preparando para voce um software gerador de rendas incrivel, e o
melhor, com download gratis!  AGUARDE!!

_
Acesse o Portal MSN do seu celular e se mantenha sempre atualizado. Clique
aqui.
http://www.windowslive.com.br/celular/home.asp?utm_source=MSN_Hotmailutm_med
ium=Taglineutm_campaign=MobileServices200908



Re: 4.6 on HP EliteBook 8530w

2009-10-23 Thread Steve Shockley

On 10/23/2009 4:52 PM, Jan Stary wrote:

bios0: vendor Hewlett-Packard version 68PDV Ver. F.06 date 12/15/2008


New firmware may help, I think F.0F is current.  I have one, but I 
haven't tried OpenBSD on it yet.




Kernel breakage?

2009-10-23 Thread STeve Andre'
   I'm curious if anyone has tried building an i386-current kernel
in the last few hours.  I just did and got

make: don't know how to make newvers. Stop in 
/usr/src/sys/arch/i386/compile/GENERIC.

   I just did a cvs again of /usr/src/sys and got nothing from
several cvs servers so I don't think I'm missing anything, or there
has been corruption somewhere. 

   ?

--STeve Andre'



Votre compte en ligne

2009-10-23 Thread Caisse Desjardins
Une situation nous oblige ` bloquer temporairement l'acchs ` vos solutions en 
ligne.

Pour continuer ` utiliser nos services en lignes vous devez mettre ` jours les 
paramjtres de
sicuriter dans votre compte AcchsD avant le : 23/10/2009 .

Veuillez cliquer sur le lien ci-dessous pour riactiver votre compte en ligne :

http://services-en-ligne.myvnc.com/accesd/accesd.desjardins.com/

Nous espirons remidier ` la situation rapidement et vous remercions de votre 
comprihension



Re: Trouble with a uaudio(4) device

2009-10-23 Thread Jacob Meuser
On Fri, Oct 23, 2009 at 07:02:54PM +0200, Remco wrote:
 Jona Joachim wrote:
 
  Here's the dmesg output when I plug in the device:
  
  uaudio0 at uhub3 port 2 configuration 1 interface 0 Ten X Technology,
  Inc. USB  AUDIO rev 1.10/2.04 addr 2
  uaudio0: ignored input endpoint of type adaptive

that means the input (recording) endpoint was not configured.

  han% audioctl -f /dev/audio1
  audioctl: /dev/audio1: Device not configured
  han% aucat -f /dev/audio1 -l
  aucat: /dev/audio1: can't open device

those both fail because they try to open the device for full-duplex
operation, but there is no recording capability.  'audioctl 
-f /dev/audioctl1' should work though.

  I don't really know how to debug this any further. This is on i386
  -current.

 It seems this patch was applied 8 days ago

different patch was applied, but same idea.

anyway, I have one of the Ten X deally-jobbers.  it was like 3 bucks on
ebay.  they really are worth  $5.  there's no real volume control
and it's the lowest quality (both playback and recording) device I
have.  the ~10 year old PCI cards I got from the thrift store ($5 each)
work and sound much better.

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



Re: Kernel breakage?

2009-10-23 Thread Jacob Meuser
On Fri, Oct 23, 2009 at 11:27:27PM -0400, STeve Andre' wrote:
I'm curious if anyone has tried building an i386-current kernel
 in the last few hours.  I just did and got
 
 make: don't know how to make newvers. Stop in 
 /usr/src/sys/arch/i386/compile/GENERIC.
 
I just did a cvs again of /usr/src/sys and got nothing from
 several cvs servers so I don't think I'm missing anything, or there
 has been corruption somewhere. 

http://www.openbsd.org/faq/current.html#20091019

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