Re: azalia problem on 4.2-release: loud tone

2008-05-03 Thread Walter Bürger
Hi,

I have exactly the same problem as Jacob Yocom-Piatt.

The loud tone is a constant high-frequency tone, covering all other output.
I can't stand it much longer than two or three minutes.

My system:
OpenBSD 4.3-current GENERIC.MP i386
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x01: apic 2
int 19 (irq 5)
azalia0: codec[s]: Analog Devices/0x1986
audio0 at azalia0

I haven't found the codec azalia0: codec[s]: Analog Devices/0x1986
in azalia_codec.c

Website:
http://www.analog.com/en/prod/0,2877,AD1986,00.html

Data Sheet:
http://www.analog.com/UploadedFiles/Data_Sheets/AD1986.pdf

Regards,
Walter.


dmesg follows:

OpenBSD 4.3-current (GENERIC.MP) #0: Thu May  1 02:36:37 CEST 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz (GenuineIntel 686-class) 2.14
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF
LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX
16,
xTPR
real mem  = 2146594816 (2047MB)
avail mem = 2067501056 (1971MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/05/07, BIOS32 rev. 0 @ 0xf0010,
SMBIOS
rev. 2.4 @ 0xf04e0 (56 entries)
bios0: vendor American Megatrends Inc. version 1004 date 06/05/2007
bios0: ASUSTek Computer INC. P5L-MX
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC OEMB HPET MCFG
acpi0: wakeup devices P0P1(S0) P0P3(S0) P0P9(S0) P0P8(S0) P0P7(S0) P0P6(S0)
P0P5
(S0) P0P4(S0) PS2K(S0) PS2M(S0) UAR1(S0) USB2(S0) USB3(S0) USB4(S0) MC97(S0)
USB
1(S0) EUSB(S0) SLPB(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 266MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz (GenuineIntel 686-class) 2.14
GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF
LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX
16,
xTPR
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (P0P1)
acpiprt2 at acpi0: bus 1 (P0P3)
acpiprt3 at acpi0: bus 3 (P0P9)
acpiprt4 at acpi0: bus 2 (P0P8)
acpicpu0 at acpi0
acpicpu1 at acpi0
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: PWRB
bios0: ROM list: 0xc/0xee00 0xcf000/0x1000
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82945G Host rev 0x02
ppb0 at pci0 dev 1 function 0 Intel 82945G PCIE rev 0x02: apic 2 int 16 (irq
11)
pci1 at ppb0 bus 4
vga1 at pci1 dev 0 function 0 NVIDIA GeForce 6200 rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: no integrated graphics
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x01: apic 2
int 19 (irq 5)
azalia0: codec[s]: Analog Devices/0x1986
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01: apic 2 int 16
(irq 11)
pci2 at ppb1 bus 3
ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x01
pci3 at ppb2 bus 2
Attansic Technology L1 rev 0xb0 at pci3 dev 0 function 0 not configured
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x01: apic 2 int 20
(irq 3)
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x01: apic 2 int 17
(irq 10)
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x01: apic 2 int 18
(irq 5)
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x01: apic 2 int 19
(irq 5)
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x01: apic 2 int 20
(irq
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0xe1
pci4 at ppb3 bus 1
em0 at pci4 dev 0 function 0 Intel PRO/1000MT (82541GI) rev 0x00: apic 2 int
1
7 (irq 10), address 00:0e:0c:34:14:90
eap0 at pci4 dev 1 function 0 Ensoniq CT5880 rev 0x02: apic 2 int 21 (irq
10)
ac97: codec id 0x83847609 (SigmaTel STAC9721/23)
ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio1 at eap0
midi0 at eap0: AudioPCI MIDI UART
ichpcib0 at pci0 dev 31 function 0 Intel 82801GB LPC rev 0x01: PM disabled
pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x01: DMA, channel 0
c
onfigured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: WDC WD800JB-00ETA0
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVD-ROM GDR8163B, 0L23 SCSI0 5/cdrom
r
emovable
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 Intel 82801GB SATA rev 0x01: DMA, channel
0
configured to native-PCI, channel 1 configured to native-PCI
pciide1: using apic 2 int 23 (irq 10) for native-PCI 

4.3-current (RAMDISK_CD) #661 panics while booting

2008-04-02 Thread Walter Bürger
Hi,

at least on three different i386-machines I got kernel panics while booting,
here is the dmesg from the machine I could attach a serial console to:


booting cd0a:/4.3/i386/bsd.rd: 4995572+874168 [52+190496+176373]=0x5f2b6c
entry point at 0x20
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2008 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.3-current (RAMDISK_CD) #661: Sun Mar 30 23:52:04 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD
cpu0: Intel Pentium III (GenuineIntel 686-class) 1.01 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXS
R,SSE
real mem  = 267919360 (255MB)
avail mem = 252653568 (240MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/03/01, BIOS32 rev. 0 @ 0xf0c30,
SMBIOS
rev. 2.3 @ 0xf2b40 (44 entries)
bios0: vendor Award Software, Inc. version ASUS TUSL2-C ACPI BIOS Revision
1009
 date 08/03/2001
bios0: ASUSTeK Computer INC. TUSL2-C
apm0 at bios0: Power Management spec V1.2
apm0: APM power management enable: unrecognized device ID (9)
apm0: APM engage (device 1): power management disabled (1)
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf/0x1472
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf13a0/208 (11 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0xcc00
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82815 Host rev 0x04
ppb0 at pci0 dev 1 function 0 Intel 82815 AGP rev 0x04
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 NVIDIA GeForce2 MX rev 0xb2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
ppb1 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0x11
pci2 at ppb1 bus 2
skc0 at pci2 dev 12 function 0 D-Link Systems DGE-530T A1 rev 0x11, Yukon
(0x1
): irq 9
sk0 at skc0 port A: address 00:0f:3d:f0:bd:a3
eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 3
ichpcib0 at pci0 dev 31 function 0 Intel 82801BA LPC rev 0x11: 24-bit timer
at
 3579545Hz
pciide0 at pci0 dev 31 function 1 Intel 82801BA IDE rev 0x11: DMA, channel 0
w
ired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: WDC WD400JB-00ENA0
wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: LG, CD-ROM CRD-8522B, 2.02 SCSI0 5/cdrom
removab
le
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 31 function 2 Intel 82801BA USB rev 0x11: irq 5
Intel 82801BA SMBus rev 0x11 at pci0 dev 31 function 3 not configured
uhci1 at pci0 dev 31 function 4 Intel 82801BA USB rev 0x11: irq 9
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1
usb1 at uhci1: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
biomask ffe5 netmask ffe5 ttymask ffe7
rd0: fixed, 3800 blocks
uvm_fault(0xd06fe100, 0x0, 0, 1) - e
fatal page fault (6) in supervisor mode
trap type 6 code 0 eip d02d0acf cs 8 eflags 10297 cr2 0 cpl 0
panic: trap type 6, code=0, pc=d02d0acf
syncing disks... done

dumping to dev 1101, offset 0
dump error 19

rebooting...

Regards,
Walter.


___
Schon gehvrt? Der neue WEB.DE MultiMessenger kann`s mit allen:
http://www.produkte.web.de/messenger/?did=3016



MegaRAID SAS 8204ELP not working ?

2007-10-23 Thread Walter Bürger
Hi,

just installed a MegaRAID SAS 8204ELP Controller and according to the BIOS:

LSI MegaRAID Software RAID BIOS Version M1068e.01.01021804R
LSI Logic MPT RAID Found at PCI Bus No:04 Dev No:00
SAS/SATA RAID key is Detected.
Bringing up the Controller. Please wait...
Scanning for Port 00... Responding. WDC WD800JD-75MS 75781MB
Scanning for Port 01... Responding. WDC WD800AAJS-00 75807MB
Scanning for Port 02... Not Responding.
Scanning for Port 03... Not Responding.
Scanning for Port 04... Not Responding.
Scanning for Port 05... Not Responding.
Scanning for Port 06... Not Responding.
Scanning for Port 07... Not Responding.

01 Logical drive(s) Configured.
Array#  ModeStripe Size No.Of Stripes   DriveSize   
Status
00 RAID1   64KB  02
75340MBOnline

Press CTRL-M or Enter to run LSI Logic Software RAID Setup Utility.

all goes well so far.

But:
Normally, if a logical drive is recognized by OpenBSD, there are NO two sd
(sd0, sd1) drives at scsibus0.
At this installation i had sd0 and sd1 for root disk choice at scsibus0.

Also there is no mention of a logical drive in the dmesg.

After the installation OpenBSD 4.2 booted from sd0.

From the manpage mfi(4) the MegaRAID SAS 820'8'ELP should be recognized as
mfi0,
so i thought the MegaRAID SAS 820'4'ELP should be recognized as mfi0 too.

No, the MegaRAID SAS 8204ELP is recognized as mpi0 as the following dmesg
shows.

bioctl mpi0 gives: bioctl: Can't locate mpi0 device via /dev/bio
bioctl mfi0 gives: bioctl: Can't locate mfi0 device via /dev/bio

So I think, I do not have a functioning RAID.

Why is the MegaRAID SAS 8204ELP recognized as mpi0 ?
Is there a patch to correct the assignment of MegaRAID SAS 8204ELP to mfi0 ?
(If the Controller could made to be recognized as mfi0, then I could use
bioctl :-))
What method exists to let me know if Raid works, without bioctl ?

Thanks,
Walter.


dmesg:
OpenBSD 4.2-current (GENERIC) #405: Thu Sep 13 16:06:09 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Core(TM)2 CPU 6320 @ 1.86GHz (GenuineIntel 686-class) 1.87
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,
xTPR
real mem  = 1064464384 (1015MB)
avail mem = 1021571072 (974MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/05/07, BIOS32 rev. 0 @ 0xf0010,
SMBIOS rev. 2.4 @ 0xf04e0 (56 entries)
bios0: vendor American Megatrends Inc. version 1004date 06/05/2007
bios0: ASUSTek Computer INC. P5L-MX
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf7a50/240 (13 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801GB LPC rev 0x00)
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc/0xae00! 0xcb000/0x1800 0xcc800/0x5000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GP rev 0x02: rng active,
800Kb/sec
ppb0 at pci0 dev 1 function 0 Intel 82945GP PCIE rev 0x02
pci1 at ppb0 bus 4
mpi0 at pci1 dev 0 function 0 Symbios Logic SAS1068E rev 0x04: irq 11
scsibus0 at mpi0: 173 targets
sd0 at scsibus0 targ 0 lun 0: ATA, WDC WD800JD-75MS, 1E03 SCSI3 0/direct
fixed
sd0: 76293MB, 76294 cyl, 16 head, 127 sec, 512 bytes/sec, 15625 sec total
sd1 at scsibus0 targ 1 lun 0: ATA, WDC WD800AAJS-00, 6H05 SCSI3 0/direct
fixed
sd1: 76319MB, 76320 cyl, 16 head, 127 sec, 512 bytes/sec, 156301488 sec total
vga1 at pci0 dev 2 function 0 Intel 82945G Video rev 0x02: aperture at
0xe000, size 0x1000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01
pci2 at ppb1 bus 3
ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x01
pci3 at ppb2 bus 2
Attansic Technology L1 rev 0xb0 at pci3 dev 0 function 0 not configured
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x01: irq 5
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x01: irq 10
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x01: irq 14
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x01: irq 15
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x01: irq 5
usb0 at ehci0: USB revision 2.0
uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1
ppb3 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0xe1
pci4 at ppb3 bus 1
re0 at pci4 dev 0 function 0 D-Link Systems DGE-528T rev 0x10: RTL8169S
(0x0400), irq 10, address 00:11:95:1c:86:e1
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 0
em0 at pci4 dev 1 function 0 Intel PRO/1000MT (82540EM) rev 0x02: irq 3,
address 00:0e:0c:72:79:37
ichpcib0 at pci0 dev 31 function 0 Intel 82801GB LPC rev 0x01: PM disabled
ichiic0 at pci0 dev 31 function 3 Intel 82801GB SMBus rev 0x01: