Xenocara corruption with intel driver on 4.9 release

2011-08-10 Thread Ersin Akinci

Hi all,

I'm having problems when using the intel driver for Xenocara in 
4.9-release.  It looks like it's an incompatibility with my particular 
chipset (I'm using a first gen white MacBook) because the same problem 
has been reported before for different intel-based laptops (see 
www.mail-archive.com/misc@openbsd.org/msg90971.html) and it looks like 
it got fixed for some users.  Does anyone have any advice on what to do 
or whether this might be something that someone with more experience 
than me can fix?


I'm pasting the output of pcidump, dmesg (note the render error at the 
end), and my X log (with debug turned on in Xorg.conf):


pcidump:

Domain /dev/pci0:
 0:0:0: Intel 82945GM Host
 0:2:0: Intel 82945GM Video
 0:2:1: Intel 82945GM Video
 0:7:0: Intel unknown
 0:27:0: Intel 82801GB HD Audio
 0:28:0: Intel 82801GB PCIE
 0:28:1: Intel 82801GB PCIE
 0:29:0: Intel 82801GB USB
 0:29:1: Intel 82801GB USB
 0:29:2: Intel 82801GB USB
 0:29:3: Intel 82801GB USB
 0:29:7: Intel 82801GB USB
 0:30:0: Intel 82801BAM Hub-to-PCI
 0:31:0: Intel 82801GBM LPC
 0:31:1: Intel 82801GB IDE
 0:31:2: Intel 82801GBM SATA
 0:31:3: Intel 82801GB SMBus
 1:0:0: Marvell Yukon 88E8053
 2:0:0: Atheros AR5418
 3:3:0: ATT/Lucent FW322 1394

dmesg:
OpenBSD 4.9 (GENERIC.MP) #794: Wed Mar  2 07:19:02 MST 2011
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (GenuineIntel 686-class) 
2 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,SSSE3,CX16,xTPR,PDCM

real mem  = 3188256768 (3040MB)
avail mem = 3125952512 (2981MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/29/05, SMBIOS rev. 2.4 @ 
0xe (37 entries)
bios0: vendor Apple Inc. version MB21.88Z.00A5.B07.0706270922 date 
06/27/07

bios0: Apple Inc. MacBook2,1
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET APIC MCFG ASF! SBST ECDT SSDT SSDT SSDT
acpi0: wakeup devices ADP1(S3) LID0(S3) PXS1(S4) PXS2(S4) USB1(S3) 
USB2(S3) USB3(S3) USB4(S3) USB7(S3) EC__(S3)

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 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (GenuineIntel 686-class) 
2 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,SSSE3,CX16,xTPR,PDCM

ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpimcfg0 at acpi0 addr 0xf000, bus 0-255
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (RP01)
acpiprt2 at acpi0: bus 2 (RP02)
acpiprt3 at acpi0: bus 3 (PCIB)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpiac0 at acpi0: AC unit offline
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 15253732082930497 type 15253732284385612 
oem 15253732284452179

acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: LCD_
acpivout1 at acpivideo0: VGA_
acpivout2 at acpivideo0: TV__
bios0: ROM list: 0xc/0xe600!
cpu0: Enhanced SpeedStep 1996 MHz: speeds: 2000, 1833, 1667, 1500, 1333, 
1000 MHz

memory map conflict 0xbef0/0x10
memory map conflict 0xbf00/0x100
memory map conflict 0xf00f8000/0x1000
memory map conflict 0xfed1c000/0x4000
memory map conflict 0xfffb/0x3
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 0xc000, size 0x1000
inteldrm0 at vga1: apic 1 int 16 (irq 11)
drm0 at inteldrm0
Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured
vendor Intel, unknown product 0x27a3 (class DASP subclass Time and 
Frequency, rev 0x03) at pci0 dev 7 function 0 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: 
apic 1 int 22 (irq 10)

azalia0: codecs: Sigmatel STAC9220/1
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 
17 (irq 11)

pci1 at ppb0 bus 1
mskc0 at pci1 dev 0 function 0 Marvell Yukon 88E8053 rev 0x22, Yukon-2 
EC rev. A3 (0x2): apic 1 int 16 (irq 11)

msk0 at mskc0 port A: address 00:17:f2:df:e2:5e
eephy0 at msk0 phy 0: 88E Gigabit PHY, rev. 2
ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1 int 
16 (irq 11)

pci2 at ppb1 bus 2
athn0 at pci2 dev 0 function 0 Atheros AR5418 rev 0x01: apic 1 int 17 
(irq 11)
athn0: MAC AR5418 rev 2, RF AR5133 (2T3R), ROM rev 4, address 
00:1b:63:09:a3:98

Xenocara corruption with intel driver on 4.9-release

2011-08-10 Thread Ersin Akinci
Hi all,

I'm having problems when using the intel driver for Xenocara in 
4.9-release.  It looks like it's an incompatibility with my particular 
chipset (I'm using a first gen white MacBook) because the same problem 
has been reported before for different intel-based laptops (see 
www.mail-archive.com/misc@openbsd.org/msg90971.html) and it looks like 
it got fixed for some users.  Does anyone have any advice on what to do 
or whether this might be something that someone with more experience 
than me can fix?

I'm pasting the output of pcidump, dmesg (note the render error at the 
end), and my X log (with debug turned on in Xorg.conf):

pcidump:

Domain /dev/pci0:
  0:0:0: Intel 82945GM Host
  0:2:0: Intel 82945GM Video
  0:2:1: Intel 82945GM Video
  0:7:0: Intel unknown
  0:27:0: Intel 82801GB HD Audio
  0:28:0: Intel 82801GB PCIE
  0:28:1: Intel 82801GB PCIE
  0:29:0: Intel 82801GB USB
  0:29:1: Intel 82801GB USB
  0:29:2: Intel 82801GB USB
  0:29:3: Intel 82801GB USB
  0:29:7: Intel 82801GB USB
  0:30:0: Intel 82801BAM Hub-to-PCI
  0:31:0: Intel 82801GBM LPC
  0:31:1: Intel 82801GB IDE
  0:31:2: Intel 82801GBM SATA
  0:31:3: Intel 82801GB SMBus
  1:0:0: Marvell Yukon 88E8053
  2:0:0: Atheros AR5418
  3:3:0: ATT/Lucent FW322 1394

dmesg:
OpenBSD 4.9 (GENERIC.MP) #794: Wed Mar  2 07:19:02 MST 2011
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (GenuineIntel 686-class) 
2 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,SSSE3,CX16,xTPR,PDCM
real mem  = 3188256768 (3040MB)
avail mem = 3125952512 (2981MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/29/05, SMBIOS rev. 2.4 @ 
0xe (37 entries)
bios0: vendor Apple Inc. version MB21.88Z.00A5.B07.0706270922 date 
06/27/07
bios0: Apple Inc. MacBook2,1
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET APIC MCFG ASF! SBST ECDT SSDT SSDT SSDT
acpi0: wakeup devices ADP1(S3) LID0(S3) PXS1(S4) PXS2(S4) USB1(S3) 
USB2(S3) USB3(S3) USB4(S3) USB7(S3) EC__(S3)
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 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (GenuineIntel 686-class) 
2 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,SSSE3,CX16,xTPR,PDCM
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpimcfg0 at acpi0 addr 0xf000, bus 0-255
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (RP01)
acpiprt2 at acpi0: bus 2 (RP02)
acpiprt3 at acpi0: bus 3 (PCIB)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpiac0 at acpi0: AC unit offline
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 15253732082930497 type 15253732284385612 
oem 15253732284452179
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: LCD_
acpivout1 at acpivideo0: VGA_
acpivout2 at acpivideo0: TV__
bios0: ROM list: 0xc/0xe600!
cpu0: Enhanced SpeedStep 1996 MHz: speeds: 2000, 1833, 1667, 1500, 1333, 
1000 MHz
memory map conflict 0xbef0/0x10
memory map conflict 0xbf00/0x100
memory map conflict 0xf00f8000/0x1000
memory map conflict 0xfed1c000/0x4000
memory map conflict 0xfffb/0x3
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 0xc000, size 0x1000
inteldrm0 at vga1: apic 1 int 16 (irq 11)
drm0 at inteldrm0
Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured
vendor Intel, unknown product 0x27a3 (class DASP subclass Time and 
Frequency, rev 0x03) at pci0 dev 7 function 0 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: 
apic 1 int 22 (irq 10)
azalia0: codecs: Sigmatel STAC9220/1
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 
17 (irq 11)
pci1 at ppb0 bus 1
mskc0 at pci1 dev 0 function 0 Marvell Yukon 88E8053 rev 0x22, Yukon-2 
EC rev. A3 (0x2): apic 1 int 16 (irq 11)
msk0 at mskc0 port A: address 00:17:f2:df:e2:5e
eephy0 at msk0 phy 0: 88E Gigabit PHY, rev. 2
ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1 int 
16 (irq 11)
pci2 at ppb1 bus 2
athn0 at pci2 dev 0 function 0 Atheros AR5418 rev 0x01: apic 1 int 17 
(irq 11)
athn0: MAC AR5418 rev 2, RF AR5133 (2T3R), ROM rev 4, address 
00:1b:63:09:a3:98

Re: 4.7 and AR5007

2010-11-06 Thread Ersin Akinci
Hi all,

Just to resurrect an old thread, I just installed OpenBSD on my laptop
and I'm having the same problem with my Atheros AR9285 card.
ifconfig athn0 scan freezes my computer almost immediately (perhaps
a one second pause or so?)

Damien, I recompiled and installed the kernel with the debug setting
set to 10, as you suggested, but when I run ifconfig, it doesn't print
any text.

Any suggestions?  I'm pondering buying a new wifi card.  I really
enjoy OpenBSD and I'd hate to have to stop using it on account of
wifi.

On tangential note, does anyone know of a wicd-like solution for
managing wifi networks in OpenBSD?  Could just be a set of shell
scripts, as well.

-Ersin

-- 
Ersin Y. Akinci -- ersinakinci.com

What Digital Revolution? -- www.whatdigitalrevolution.com
Thinking critically about digital worlds.



Re: 4.7 and AR5007

2010-11-06 Thread Ersin Akinci
Sorry to send another follow-up e-mail.  Someone asked me if I had
tried running 4.8, and I just wanted to mention that the problem is
with the driver shipped in 4.8 (yes, I'm running 4.8).  I wanted to
keep it in the same thread, though, which is why I replied to 4.7.

-Ersin

On Sat, Nov 6, 2010 at 12:39 PM, Ersin Akinci ersin.aki...@gmail.com wrote:
 Hi all,

 Just to resurrect an old thread, I just installed OpenBSD on my laptop
 and I'm having the same problem with my Atheros AR9285 card.
 ifconfig athn0 scan freezes my computer almost immediately (perhaps
 a one second pause or so?)

 Damien, I recompiled and installed the kernel with the debug setting
 set to 10, as you suggested, but when I run ifconfig, it doesn't print
 any text.

 Any suggestions?  I'm pondering buying a new wifi card.  I really
 enjoy OpenBSD and I'd hate to have to stop using it on account of
 wifi.

 On tangential note, does anyone know of a wicd-like solution for
 managing wifi networks in OpenBSD?  Could just be a set of shell
 scripts, as well.

 -Ersin

 --
 Ersin Y. Akinci -- ersinakinci.com

 What Digital Revolution? -- www.whatdigitalrevolution.com
 Thinking critically about digital worlds.




--
Ersin Y. Akinci -- ersinakinci.com

What Digital Revolution? -- www.whatdigitalrevolution.com
Thinking critically about digital worlds.



ports not detecting packages in PKG_PATH

2010-11-09 Thread Ersin Akinci
Hi,

I recently upgraded my ports tree from 4.8 release to current, but now
it's not detecting any dependency packages in my PKG_PATH.  PKG_PATH
is set to the main openbsd.org package site and pkg_add works
perfectly fine.  I did notice that I was trying to use ports earlier
tonight with a different PKG_PATH set to a mirror that was apparently
offline, and that's when I changed it to the master site.  Is ports
perhaps remembering the wrong site?

Valete,
Ersin

-- 
Ersin Y. Akinci -- ersinakinci.com

What Digital Revolution? -- www.whatdigitalrevolution.com
Thinking critically about digital worlds.



Re: ports not detecting packages in PKG_PATH

2010-11-09 Thread Ersin Akinci
 read this first http://www.openbsd.org/faq/faq15.html

 ports don't use PKG_PATH, but AnonCVS for updates/upgrades. Ports are
 using PKG_PATH only when you set FETCH_PACKAGES see here
 http://www.openbsd.org/cgi-bin/man.cgi?query=portssektion=7

Sorry, I should have specified that I have FETCH_PACKAGES=Yes in /etc/mk.conf.

-- 
Ersin Y. Akinci -- ersinakinci.com

What Digital Revolution? -- www.whatdigitalrevolution.com
Thinking critically about digital worlds.



Re: ports not detecting packages in PKG_PATH

2010-11-10 Thread Ersin Akinci
 But you wrote that you upgraded ports from release to current. Did you
 upgrade your system to current too?

 Every time use mirrors for packages, it saves bandwidth and you can
 have couple of them in PKG_PATH.

Quoth section 15 of the FAQ: Do NOT check out a -current ports tree
and expect it to work on a -release or -stable system. This is one of
the most common errors and you will irritate people when you ask for
help about why nothing seems to work!

D'oh!  Sorry, I misread that originally, and I had thought that it was
saying that we shouldn't mix different branches of ports together, not
different branches of ports and the system.  Indeed, that exactly what
I've done.

My apologies, a classic RTFM.

-Ersin


-- 
Ersin Y. Akinci -- ersinakinci.com

What Digital Revolution? -- www.whatdigitalrevolution.com
Thinking critically about digital worlds.



Re: ports not detecting packages in PKG_PATH

2010-11-10 Thread Ersin Akinci
 You found that so no problem ;-) Now you can do rm -rf /usr/ports and
 then unpack ports.tar.gz for 4.8 release again

I just wish there was some way to get gnash 0.88 on stable...that was
really the only reason I tried to upgrade.  Do the packages in current
normally find themselves in the next release?  I noticed that Gnash
.83p4 is in 4.8 and was released to ports on June 25th, just a few
months before 4.8's release...so maybe we can get the YouTube-y
goodness of .88 in time for 4.9 =D??

-- 
Ersin Y. Akinci -- ersinakinci.com

What Digital Revolution? -- www.whatdigitalrevolution.com
Thinking critically about digital worlds.