Re: No console output on 5.4-Current
On 10/10/13 05:34, Marc Espie wrote: On Wed, Oct 09, 2013 at 05:36:22PM -0400, Bryan Chapman wrote: Just installed the Oct 3rd snapshot on my desktop. During the boot process it loses console output and just shows a blank screen. The screen doesn't go into power saving - just no output. At first I though the machine froze, but it continued running and I was able to SSH into the machine. Here is the DMESG. Looks like some issues with DRM. At a bit of a loss on the next troubleshooting steps, any ideas? Exact same issue here... drm effect. boot -c disable radeondrm then install the firmware manually (firmware-update will not see it unfortunately). Then reboot. If your machine has network, jsg would probably be happy to see what's going on in /var/log/messages while the machine loses boot... Thanks -- installing the firmware package resolved the issue. I just assumed that the firmware updater would grab it if needed. -Bryan
Re: No console output on 5.4-Current
On 10/10/13 12:23, Marc Espie wrote: On Thu, Oct 10, 2013 at 07:38:56AM -0400, Bryan Chapman wrote: On 10/10/13 05:34, Marc Espie wrote: On Wed, Oct 09, 2013 at 05:36:22PM -0400, Bryan Chapman wrote: Just installed the Oct 3rd snapshot on my desktop. During the boot process it loses console output and just shows a blank screen. The screen doesn't go into power saving - just no output. At first I though the machine froze, but it continued running and I was able to SSH into the machine. Here is the DMESG. Looks like some issues with DRM. At a bit of a loss on the next troubleshooting steps, any ideas? Exact same issue here... drm effect. boot -c disable radeondrm then install the firmware manually (firmware-update will not see it unfortunately). Then reboot. If your machine has network, jsg would probably be happy to see what's going on in /var/log/messages while the machine loses boot... Thanks -- installing the firmware package resolved the issue. I just assumed that the firmware updater would grab it if needed. According to jsg@, the KMS code is able to figure out that the firmware is needed, and not do the video change if it's not installed. Obviously, that still fails from some cards: the KMS code doesn't get an error, and the video change still occur. So a log of what the kernel says when it's switching while not having the firmware would be useful for trying to fix that... The only thing I see in /var/log/messages was on the end of the dmesg I posted: Oct 10 03:28:21 mystic /bsd: drm: initializing kernel modesetting (PITCAIRN 0x1002:0x6819 0x174B:0xE221). Oct 10 03:28:21 mystic /bsd: radeondrm0: VRAM: 2048M 0x - 0x7FFF (2048M used) Oct 10 03:28:21 mystic /bsd: radeondrm0: GTT: 512M 0x8000 - 0x9FFF Oct 10 03:28:21 mystic /bsd: ttm_pool_mm_shrink_init stub Oct 10 03:28:21 mystic /bsd: error: [drm:pid0:si_init_microcode] *ERROR* si_cp: Failed to load firmware radeon-pitcairn_pfp Oct 10 03:28:21 mystic /bsd: error: [drm:pid0:si_startup] *ERROR* Failed to load firmware! Oct 10 03:28:21 mystic /bsd: error: [drm:pid0:si_init] *ERROR* disabling GPU acceleration Oct 10 03:28:21 mystic /bsd: error: [drm:pid0:radeon_bo_unpin] *ERROR* 0xfe81b6de32b0 unpin not necessary Oct 10 03:28:21 mystic /bsd: error: [drm:pid0:radeon_bo_unpin] *ERROR* 0xfe81b6de32b0 unpin not necessary Oct 10 03:28:21 mystic /bsd: error: [drm:pid0:si_init] *ERROR* radeon: MC ucode required for NI+. Oct 10 03:28:21 mystic /bsd: : Fatal error during GPU init Oct 10 03:28:21 mystic /bsd: radeon_hwmon_fini stub Oct 10 03:28:21 mystic /bsd: drm: radeon: finishing device. Oct 10 03:28:21 mystic /bsd: Finalizing pool allocator Oct 10 03:28:21 mystic /bsd: ttm_pool_mm_shrink_fini stub Oct 10 03:28:21 mystic /bsd: drm: Zone kernel: Used memory at exit: 0 kiB Oct 10 03:28:21 mystic /bsd: drm: Zone dma32: Used memory at exit: 0 kiB Oct 10 03:28:21 mystic /bsd: drm: radeon: ttm finalized Oct 10 03:28:21 mystic /bsd: drm0 detached Oct 10 03:28:21 mystic /bsd: radeondrm0 detached Oct 10 03:28:21 mystic /bsd: vga1 at pci1 dev 0 function 0 ATI Radeon HD 7850 rev 0x00 Oct 10 03:28:21 mystic /bsd: wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation), using wskbd0 Oct 10 03:28:21 mystic /bsd: wskbd1: connecting to wsdisplay0 Oct 10 03:28:21 mystic /bsd: wsdisplay0: screen 1-5 added (80x25, vt100 emulation) Is there another place to look or debug to turn on? -Bryan
No console output on 5.4-Current
Just installed the Oct 3rd snapshot on my desktop. During the boot process it loses console output and just shows a blank screen. The screen doesn't go into power saving - just no output. At first I though the machine froze, but it continued running and I was able to SSH into the machine. Here is the DMESG. Looks like some issues with DRM. At a bit of a loss on the next troubleshooting steps, any ideas? -Bryan OpenBSD 5.4-current (GENERIC.MP) #65: Thu Oct 3 18:48:14 MDT 2013 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 6424166400 (6126MB) avail mem = 6245064704 (5955MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0x9f400 (68 entries) bios0: vendor American Megatrends Inc. version 1005 date 08/24/2010 bios0: ASUSTeK Computer INC. M4A87TD EVO acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP APIC MCFG OEMB SRAT HPET SSDT acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) PCE7(S4) PCE9(S4) PCEA(S4) PCEB(S4) PCEC(S4) SBAZ(S4) P0PC(S4) UHC1(S4) UHC2(S4) USB3(S4) UHC4(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Phenom(tm) II X4 925 Processor, 2809.76 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,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu0: AMD erratum 721 detected and fixed cpu0: smt 0, core 0, package 0 cpu0: apic clock running at 200MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Phenom(tm) II X4 925 Processor, 2809.44 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,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu1: AMD erratum 721 detected and fixed cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 2 (application processor) cpu2: AMD Phenom(tm) II X4 925 Processor, 2809.44 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache cpu2: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu2: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu2: AMD erratum 721 detected and fixed cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: AMD Phenom(tm) II X4 925 Processor, 2809.44 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC cpu3: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache cpu3: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu3: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu3: AMD erratum 721 detected and fixed cpu3: smt 0, core 3, package 0 ioapic0 at mainbus0: apid 4 pa 0xfec0, version 21, 24 pins acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpihpet0 at acpi0: 14318180 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 5 (PCE2) acpiprt2 at acpi0: bus -1 (PCE3) acpiprt3 at acpi0: bus -1 (PCE4) acpiprt4 at acpi0: bus -1 (PCE5) acpiprt5 at acpi0: bus -1 (PCE6) acpiprt6 at acpi0: bus -1 (PCE7) acpiprt7 at acpi0: bus 4 (PCE9) acpiprt8 at acpi0: bus 3 (PCEA) acpiprt9 at acpi0: bus -1 (PCEB) acpiprt10 at acpi0: bus -1 (PCEC) acpiprt11 at acpi0: bus 2 (P0PC) acpiprt12 at acpi0: bus 1 (PE20) acpiprt13 at acpi0: bus -1 (PE21) acpiprt14 at acpi0: bus -1 (PE22) acpiprt15 at acpi0: bus -1 (PE23) acpiec0 at acpi0 acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS acpicpu2 at acpi0: PSS acpicpu3 at acpi0: PSS aibs0 at acpi0: GGRP GITM SITM acpibtn0 at acpi0: PWRB cpu0: 2809 MHz: speeds: 2800 2100 1600 800 MHz pci0 at mainbus0 bus 0 0:0:0: mem address conflict 0xe000/0x2000 pchb0 at pci0 dev 0 function 0 ATI RX780 Host rev 0x00 ppb0 at
Re: Booting and radeon problems on ThinkPad SL510
On 02/18/11 12:41, Pascal Stumpf wrote: Hi misc@, I am too experiencing the booting problems described a few days ago for the SL410. With the MP kernel, booting would sometines just stop at mtrr: Pentium Pro MTRR support, forcing a hard reset of the machine. Other times it just works fine, not following any apparent pattern. How can I provide more info to debug this? The fix for me on my SL410 was to disable the webcam via BIOS. That was the device for me that was causing it to hang. uvideo0 at uhub1 port 6 configuration 1 interface 0 Bison Integrated Camera rev 2.00/0.06 addr 2 -Bryan
4.8 on Thinkpad SL410
I have a strange problem with my new (to me) Thinkpad SL410. I was able to boot and install from the 4.8 bsd.rd kernel (AMD64). However, on first boot it froze during boot. Disabled acpi at boot time and it was able to boot fine. Reading thru the list I saw the option to enable verbose logging from the boot prompt. Enabled that with ACPI enabled and the laptop booted fine. So... BSD.RD boots fine BSD.MP does not boot BSD.MP without ACPI does boot BSD.MP with ACPI and verbose logging boots I didn't think that verbose logging should change the behavior but I guess I am wrong. If I need to try out a snapshot to see if this is fixed, I can. I would attach a dmesg, but with the verbose on it generates more than the dmesg command or dmesg.boot can handle. Ideas on grabbing the full dmesg? I could boot with bsd.sp if that helps. -Bryan
Re: 4.8 on Thinkpad SL410
On 02/14/11 21:12, Theo de Raadt wrote: BSD.MP without ACPI does boot People should stop using this as a debugging technique. On almost all modern machines, acpi handling is *required*. Especially on something so new as your machine. Without the acpi handling, it *will* work worse. It is gauranteed. Please stop sending us reports about 'without acpi it works different'; it adds no information. Of course it works differently. I bet it works different if you don't power it on, too. Ok. Lets take two. I have upgraded to the latest snapshot. The single processor kernel boots and runs fine. I have included a dmesg from it. When booting from the multiprocessor kernel the last line displayed is: mtrr: Pentium Pro MTRR support -Bryan OpenBSD 4.9-beta (GENERIC) #460: Fri Feb 11 16:49:13 MST 2011 t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 3077259264 (2934MB) avail mem = 2981351424 (2843MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xe0010 (44 entries) bios0: vendor LENOVO version 6JET83WW (1.41 ) date 09/21/2010 bios0: LENOVO 2842K4U acpi0 at bios0: rev 4 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET MCFG APIC BOOT SLIC SSDT SSDT SSDT acpi0: wakeup devices P0P2(S4) P0P1(S4) USB0(S3) USB1(S3) USB2(S3) USBR(S3) EHC1(S3) USB3(S3) USB4(S3) USB5(S3) EHC2(S3) HDEF(S4) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) RP06(S4) BLAN(S4) LID_(S3) SLPB(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU T6670 @ 2.20GHz, 8120.07 MHz cpu0: FPU,VME,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,SSE4.1,XSAVE,NXE,LONG cpu0: 2MB 64b/line 8-way L2 cache cpu0: apic clock running at 199MHz cpu at mainbus0: not configured ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (P0P2) acpiprt2 at acpi0: bus 9 (P0P1) acpiprt3 at acpi0: bus 2 (RP01) acpiprt4 at acpi0: bus 3 (RP02) acpiprt5 at acpi0: bus 4 (RP03) acpiprt6 at acpi0: bus 5 (RP04) acpiprt7 at acpi0: bus 6 (RP05) acpiprt8 at acpi0: bus 8 (RP06) acpiec0 at acpi0 acpicpu0 at acpi0: C2, C1, PSS acpitz0 at acpi0: critical temperature 105 degC acpithinkpad0 at acpi0 acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT1 model 42T4755 serial 1361 type LION oem SONY acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: PWRB acpibtn2 at acpi0: SLPB cpu0: Enhanced SpeedStep 8120 MHz: speeds: 2201, 2200, 1600, 1200 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07 vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xd000, size 0x1000 inteldrm0 at vga1: apic 2 int 16 (irq 10) drm0 at inteldrm0 Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 2 int 16 (irq 10) uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 2 int 21 (irq 10) uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 2 int 19 (irq 10) ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 2 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 2 int 22 (irq 10) azalia0: codecs: Realtek ALC269, Intel/0x2802, using Realtek ALC269 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: apic 2 int 17 (irq 11) pci1 at ppb0 bus 2 JMicron SD/MMC rev 0x20 at pci1 dev 0 function 0 not configured sdhc0 at pci1 dev 0 function 2 JMicron SD Host Controller rev 0x20: apic 2 int 16 (irq 10) sdmmc0 at sdhc0 JMicron Memory Stick rev 0x20 at pci1 dev 0 function 3 not configured JMicron xD rev 0x20 at pci1 dev 0 function 4 not configured ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: apic 2 int 16 (irq 10) pci2 at ppb1 bus 3 ppb2 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x03: apic 2 int 18 (irq 10) pci3 at ppb2 bus 4 ppb3 at pci0 dev 28 function 3 Intel 82801I PCIE rev 0x03: apic 2 int 19 (irq 10) pci4 at ppb3 bus 5 iwn0 at pci4 dev 0 function 0 Intel WiFi Link 1000 rev 0x00: apic 2 int 19 (irq 10), MIMO 1T2R, BGS, address 8c:a9:82:13:ed:66 ppb4 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x03: apic 2 int 17 (irq 11) pci5 at ppb4 bus 6 ppb5 at pci0 dev 28 function 5 Intel 82801I PCIE rev 0x03: apic 2 int 16 (irq 10) pci6 at ppb5 bus 8 re0 at pci6 dev 0 function 0 Realtek 8168 rev 0x03: RTL8168D/8111D (0x2800), apic 2 int 17 (irq 11), address 60:eb:69:c4:1a:fd
Re: dual head on 4.8, almost...
On 11/02/10 14:10, Aaron Martinez wrote: Hi All, I have a freshly installed 4.8 amd64 system and I was trying to get it set up in dual head mode. I know this has been discussed before and I have searched through the archives on marc, but for some reason I haven't been able to get it fully working. The current state of this are as such, when i fire up gdm or startx, it looks like it's working, I have to screens, the login in gdm comes up on the left monitor and not on the right. The right monitor however has the same pattern as when you run the X -configxorg_file command, kind of a pixely checker pattern. I can move the curser from the left monitor over to the right, but then it's stuck in that monitor, I can't move it back to the left monitor. Additionally at that point I can't CTRLALTbackspace to kill X and I can't even useCTRLALTF-KEY to switch to a non-X desktop/screen. Any and all help greatly appreciated. My xorg.conf and Xorg.0.log are below. Thanks in advance. Aaron It took me a while to figure out how to make this work. I hope it works for you. Here are the relevant parts of my xorg.conf: Section Monitor Identifier Monitor0 VendorName LCD ModelNameSP9106 HorizSync31.0 - 83.0 VertRefresh 56.0 - 75.0 Option DPMS EndSection Section Monitor Identifier Monitor1 Option RightOf Monitor0 EndSection Section Device Identifier Card0 Driver radeonhd VendorName ATI BoardName Radeon HD 4850 BusID PCI:1:0:0 Option Monitor-DVI-I_1/digital Monitor0 Option Monitor-DVI-I_2/digital Monitor1 EndSection Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 SubSection Display Viewport 0 0 Depth 1 EndSubSection SubSection Display Viewport 0 0 Depth 4 EndSubSection SubSection Display Viewport 0 0 Depth 8 EndSubSection SubSection Display Viewport 0 0 Depth 15 EndSubSection SubSection Display Viewport 0 0 Depth 16 EndSubSection SubSection Display Viewport 0 0 Depth 24 EndSubSection EndSection --Bryan
Re: dual head on 4.8, almost...
Hi Brian, Did you have to use the xrandr in your .xinitrc as well along with this, or are you saying that you have dual head working without the xrandr? I was a little surprised when I saw that you have it working like this because man xorg.conf states the following: Screen number This option is mandatory for cards where a single PCI entity can drive more than one display (i.e., multiple CRTCs sharing a sin- gle graphics accelerator and video memory). One Device section is required for each head, and this parameter determines which head each of the Device sections applies to. The legal values of number range from 0 to one less than the total number of heads per entity. Most drivers require that the primary screen (0) be present. I am going to try your configuration tomorrow however as it seems a little cleaner. One additional thing that I have noticed is that your config doesn't mention the virtual option on the display subsections. When I have run xrandr it complains with the following error: xrandr: screen cannot be larger than 1920x1080 (desired size 3840x1080) Thanks Aaron This setup does dual screens without the need for xrandr. You are correct -- when you try and do the setup with xrandr it does require the virtual option in your xorg.conf. This setup does not. Just run startx or xdm and you have dual screens. --Bryan
Re: Incorrect output from pftop on OpenBSD 4.4
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matthias Kilian wrote: On Wed, Dec 17, 2008 at 09:25:32AM -0800, valgray wrote: I have an odd problem with pftop 0.7 on OpenBSD 4.4 system. The output from it looks like: pfTop: Up State 1-4/4, View: default, Order: none, Cache: 1 17:10:12 PR DIR SRC DEST STATE AGE EXP PKTS BYTES tcp In 192.168.42.167:60317 192.168.42.168:22 ESTABLISHED:ESTABLISHED 48701986m 35320631m 1574144K 6189571K [...] I think most (if not all) functions of pftop are now included in systat(1), at least in -current. Is this working correctly for anyone? I am experiencing the same issues. I thought it might have been a bad install, but a rebuild of - -stable from source didn't solve the problem. Bryan Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJSbgjoDXHdCrcby8RAvihAJ0dmizIFh8xhJrJpRXkOql8gCQ+0gCeNA9Q Fkg9XofvnRHBpsKHIGHSjBI= =RstX -END PGP SIGNATURE-
Re: pf and load balancing some webservers
Marian Hettwer wrote: my pf.conf ext_if=fxp0 #int_if=int0 set skip on lo scrub in web_servers = { 193.99.144.85,66.135.208.93 } rdr on $ext_if proto tcp from any to any port 80 - $web_servers \ round-robin sticky-address Do you have a pass rule along with that rdr rule?
Libpcap library version
I was trying working with ettercap today, and found out the only version 0.6.bp3 is in the ports tree. This version is described as deprecated on the ettercap webpage. I downloaded the most recent version (0.7.3) and tried to install it. When I run the configure script included in I get the following output: $ ./configure --with-libpcap=/usr/src/lib/libpcap ... checking for libpcap... /usr/src/lib/libpcap checking for pcap_datalink_val_to_description in -lpcap... no configure: error: Incorrect libpcap version. libpcap = 0.8.1 required I was told on the #openbsd irc channel that openbsd maintains its own versions of the libraries. Is this just due to an old library version, or am I missing something else? -- There are no stupid questions, but there are a lot of inquisitive idiots.
D-link DWL-G520 and openbsd 3.9
I have been trying to get a wireless card that works on openbsd. I bought the dwl-g520 (revision B) because it should run under the ath driver. ath0 at pci1 dev 9 function 0 Atheros AR5212 rev 0x01: irq 10 ath0: AR5213 7.9 phy 4.5 rf2112a 5.6: RF radio not supported The dmesg says that the radio is not supported, however this card is supported with the ath driver provided in Freebsd 6. Is there any chance that it is only a trival change to allow this card to work? On a side note there is a page fault everytime the system is reboot: Syncing disks... done uvm_fault(0xd69fd44c, 0x0, 0, 1) - e Kernel: page fault trap, code=0 Stopped at ath_stop+0xe: movl 0xbb0(%esi),%edi I would have provided the output of ps and trace but that is a lot of copying by hand if no one wants to look at it. If anyone wants it, I can include it. Here is my dmesg output: OpenBSD 3.9 (GENERIC) #617: Thu Mar 2 02:26:48 MST 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Athlon(tm) XP 3000+ (AuthenticAMD 686-class, 512KB L2 cache) 2.10 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36, MMX,FXSR,SSE cpu0: AMD Powernow: TS real mem = 536387584 (523816K) avail mem = 482426880 (471120K) using 4278 buffers containing 26923008 bytes (26292K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(56) BIOS, date 11/22/04, BIOS32 rev. 0 @ 0xfb3f0 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 70102 dobusy 1 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf/0xdf84 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/208 (11 entries) pcibios0: PCI Exclusive IRQs: 3 4 5 7 10 11 pcibios0: no compatible PCI ICU found pcibios0: Warning, unable to fix up PCI interrupt routing pcibios0: PCI bus #2 is the last bus bios0: ROM list: 0xc/0xec00 0xd/0x4800 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 NVIDIA nForce2 PCI rev 0xc1 NVIDIA nForce2 rev 0xc1 at pci0 dev 0 function 1 not configured NVIDIA nForce2 rev 0xc1 at pci0 dev 0 function 2 not configured NVIDIA nForce2 rev 0xc1 at pci0 dev 0 function 3 not configured NVIDIA nForce2 rev 0xc1 at pci0 dev 0 function 4 not configured NVIDIA nForce2 rev 0xc1 at pci0 dev 0 function 5 not configured pcib0 at pci0 dev 1 function 0 NVIDIA nForce2 ISA rev 0xa4 nviic0 at pci0 dev 1 function 1 NVIDIA nForce2 SMBus rev 0xa2 iic0 at nviic0 unknown at iic0 addr 0x4e not configured iic1 at nviic0 ohci0 at pci0 dev 2 function 0 NVIDIA nForce2 USB rev 0xa4: irq 10, version 1. 0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: NVIDIA OHCI root hub, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1 at pci0 dev 2 function 1 NVIDIA nForce2 USB rev 0xa4: irq 11, version 1. 0, legacy support usb1 at ohci1: USB revision 1.0 uhub1 at usb1 uhub1: NVIDIA OHCI root hub, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered ehci0 at pci0 dev 2 function 2 NVIDIA nForce2 USB rev 0xa4: irq 4 usb2 at ehci0: USB revision 2.0 uhub2 at usb2 uhub2: NVIDIA EHCI root hub, rev 2.00/1.00, addr 1 uhub2: 6 ports with 6 removable, self powered nfe0 at pci0 dev 4 function 0 NVIDIA nForce2 LAN rev 0xa1: irq 5, address 00: 50:8d:f3:a9:68 rlphy0 at nfe0 phy 1: RTL8201L 10/100 PHY, rev. 1 ppb0 at pci0 dev 8 function 0 NVIDIA nForce2 PCI-PCI rev 0xa3 pci1 at ppb0 bus 1 emu0 at pci1 dev 6 function 0 Creative Labs SoundBlaster Audigy rev 0x04: irq 11 ac97: codec id 0x83847609 (SigmaTel STAC9721/23) ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D audio0 at emu0 Creative Labs SoundBlaster Audigy Digital rev 0x04 at pci1 dev 6 function 1 not configured Creative Labs Firewire rev 0x04 at pci1 dev 6 function 2 not configured ath0 at pci1 dev 9 function 0 Atheros AR5212 rev 0x01: irq 10 ath0: AR5213 7.9 phy 4.5 rf2112a 5.6: RF radio not supported pciide0 at pci1 dev 11 function 0 CMD Technology SiI3112 SATA rev 0x02: DMA pciide0: using irq 11 for native-PCI interrupt pciide0: port 0: device present, speed: 1.5Gb/s wd0 at pciide0 channel 0 drive 0: ST3250823AS wd0: 16-sector PIO, LBA48, 238475MB, 488397168 sectors wd0(pciide0:0:0): using BIOS timings, Ultra-DMA mode 6 pciide0: port 1: device present, speed: 1.5Gb/s wd1 at pciide0 channel 1 drive 0: ST3250823AS wd1: 16-sector PIO, LBA48, 238475MB, 488397168 sectors wd1(pciide0:1:0): using BIOS timings, Ultra-DMA mode 6 pciide1 at pci0 dev 9 function 0 NVIDIA nForce2 IDE rev 0xa2: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide1 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: PLEXTOR, CD-R PX-W4012A, 1.06 SCSI0 5/cdrom removable cd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 2 atapiscsi1 at pciide1 channel 1 drive 0 scsibus1 at atapiscsi1: 2 targets cd1 at scsibus1 targ 0 lun 0: ASUS, DVD-E616A, 1.07 SCSI0 5/cdrom removable cd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5 NVIDIA nForce2
Re: D-link DWL-G520 and openbsd 3.9
Quoting Reyk Floeter [EMAIL PROTECTED]: Hi, On Wed, May 24, 2006 at 06:01:21PM -0400, Bryan Chapman wrote: I have been trying to get a wireless card that works on openbsd. I bought the dwl-g520 (revision B) because it should run under the ath driver. ath0 at pci1 dev 9 function 0 Atheros AR5212 rev 0x01: irq 10 ath0: AR5213 7.9 phy 4.5 rf2112a 5.6: RF radio not supported The dmesg says that the radio is not supported, however this card is supported with the ath driver provided in Freebsd 6. Is there any chance that it is only a trival change to allow this card to work? You can try the attached diff and report the results. The rf2112 is an unsupported chipset, but please try if it works in 11b mode for you. On a side note there is a page fault everytime the system is reboot: Syncing disks... done uvm_fault(0xd69fd44c, 0x0, 0, 1) - e Kernel: page fault trap, code=0 Stopped at ath_stop+0xe: movl 0xbb0(%esi),%edi This should have been fixed in -current. I would have provided the output of ps and trace but that is a lot of copying by hand if no one wants to look at it. If anyone wants it, I can include it. reyk Index: ath.c === RCS file: /cvs/src/sys/dev/ic/ath.c,v retrieving revision 1.49 diff -u -p -r1.49 ath.c --- ath.c 8 May 2006 18:32:11 - 1.49 +++ ath.c 24 May 2006 23:08:57 - @@ -252,12 +252,14 @@ ath_attach(u_int16_t devid, struct ath_s ah-ah_radio_2ghz_revision 0xf); } +#if 0 if (ah-ah_radio_5ghz_revision = AR5K_SREV_RAD_UNSUPP || ah-ah_radio_2ghz_revision = AR5K_SREV_RAD_UNSUPP) { printf(: RF radio not supported\n); error = EOPNOTSUPP; goto bad; } +#endif sc-sc_ah = ah; sc-sc_invalid = 0; /* ready to go, enable interrupt handling */ This diff changes the output of the dmesg to the following for ath0: ath0 at pci1 dev 9 function 0 Atheros AR5212 rev 0x01: irq 10 ath0: AR5213 7.9 phy 4.5 rf2112a 5.6, FCC1A, address 00:11:95:bd:f5:30 However I am not able to connect to any networks. And on a side note, the kernel panic goes away. -- There are no stupid questions, but there are a lot of inquisitive idiots.