Re: OpenBSD 4.0 (amd64) PCI interrupt routing fails on ASUS A8N SLI Premium
Marc Balmer wrote: * Willy Jacobs wrote: OpenBSD 4.0 (amd64), but also the latest current release, failed to remap certain PCI interrupts (especially USB) on my ASUS A8N SLI Premium (NForce 4) motherboard. Is this problem caused by the NForce4 chip or APIC related? I see that FreeBSD 6.1 maps the IRQs: OHCI IRQ 23 - 217 (pin A) EHCI IRQ 22 - 225 (pin B) The output of dmesg: OpenBSD 4.0 (MERCURY) #0: Sat Dec 30 11:34:43 CET 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/MERCURY this is not a GENERIC kernel. When reporting problems or such, please always use a dmesg from a GENERIC kernel. The output of GENERIC kernel (same result): OpenBSD 4.0 (GENERIC) #690: Sat Sep 16 20:26:25 MDT 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 1073278976 (1048124K) avail mem = 907915264 (886636K) using 22937 buffers containing 107536384 bytes (105016K) of memory mainbus0 (root) bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf (79 entries) bios0: ASUSTeK Computer INC. A8N-SLI Premium cpu0 at mainbus0: (uniprocessor) cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+, 2010.52 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,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 pci0 at mainbus0 bus 0: configuration mode 1 NVIDIA nForce4 DDR rev 0xa3 at pci0 dev 0 function 0 not configured pcib0 at pci0 dev 1 function 0 NVIDIA nForce4 ISA rev 0xa3 nviic0 at pci0 dev 1 function 1 NVIDIA nForce4 SMBus rev 0xa2 iic0 at nviic0 iic1 at nviic0 lm1 at iic1 addr 0x2f: W83791SD ohci0 at pci0 dev 2 function 0 NVIDIA nForce4 USB rev 0xa2pci_intr_map: no mapping for pin A (line=ff) : couldn't map interrupt ehci0 at pci0 dev 2 function 1 NVIDIA nForce4 USB rev 0xa3pci_intr_map: no mapping for pin B (line=ff) : couldn't map interrupt auich0 at pci0 dev 4 function 0 NVIDIA nForce4 AC97 rev 0xa2: irq 11, nForce4 AC97 ac97: codec id 0x414c4790 (Avance Logic ALC850 rev 0) audio0 at auich0 pciide0 at pci0 dev 6 function 0 NVIDIA nForce4 IDE rev 0xf2: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: BENQ, DVD DD DW1640, BSLB SCSI0 5/cdrom removable atapiscsi1 at pciide0 channel 0 drive 1 scsibus1 at atapiscsi1: 2 targets cd1 at scsibus1 targ 0 lun 0: HL-DT-ST, DVD-ROM GDR8164B, 0L06 SCSI0 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 cd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 wd0 at pciide0 channel 1 drive 0: WDC WD307AA wd0: 16-sector PIO, LBA, 29333MB, 60074784 sectors wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4 pciide1 at pci0 dev 7 function 0 NVIDIA nForce4 SATA rev 0xf3: DMA pciide1: using irq 11 for native-PCI interrupt pciide2 at pci0 dev 8 function 0 NVIDIA nForce4 SATA rev 0xf3: DMA pciide2: using irq 5 for native-PCI interrupt wd1 at pciide2 channel 0 drive 0: ST3250823AS wd1: 16-sector PIO, LBA48, 238475MB, 488397168 sectors wd1(pciide2:0:0): using PIO mode 4, Ultra-DMA mode 5 wd2 at pciide2 channel 1 drive 0: ST3250823AS wd2: 16-sector PIO, LBA48, 238475MB, 488397168 sectors wd2(pciide2:1:0): using PIO mode 4, Ultra-DMA mode 5 ppb0 at pci0 dev 9 function 0 NVIDIA nForce4 PCI-PCI rev 0xa2 pci1 at ppb0 bus 5 TI TSB43AB22 FireWire rev 0x00 at pci1 dev 11 function 0 not configured skc0 at pci1 dev 12 function 0 Marvell Yukon 88E8001/8003/8010 rev 0x13, Marvell Yukon Lite (0x9): irq 5 sk0 at skc0 port A, address 00:15:f2:0f:f0:02 eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5 nfe0 at pci0 dev 10 function 0 NVIDIA CK804 LAN rev 0xa3: irq 12, address 00:15:f2:0f:e5:76 eephy1 at nfe0 phy 9: Marvell 88E Gigabit PHY, rev. 2 ppb1 at pci0 dev 11 function 0 NVIDIA nForce4 PCIE rev 0xa3 pci2 at ppb1 bus 4 ppb2 at pci0 dev 12 function 0 NVIDIA nForce4 PCIE rev 0xa3 pci3 at ppb2 bus 3 ppb3 at pci0 dev 13 function 0 NVIDIA nForce4 PCIE rev 0xa3 pci4 at ppb3 bus 2 ppb4 at pci0 dev 14 function 0 NVIDIA nForce4 PCIE rev 0xa3 pci5 at ppb4 bus 1 vga1 at pci5 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) pchb0 at pci0 dev 24 function 0 AMD AMD64 HyperTransport rev 0x00 pchb1 at pci0 dev 24 function 1 AMD AMD64 Address Map rev 0x00 pchb2 at pci0 dev 24 function 2 AMD AMD64 DRAM Cfg rev 0x00 pchb3 at pci0 dev 24 function 3 AMD AMD64 Misc Cfg rev 0x00 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo 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 mpu0 at isa0 port
OpenBSD 4.0 and ASUS A8V motherboards
I suspect there is some kind of incompatibility between OpenBSD 4.0 (i386 and amd64) and ASUS A8V motherboards. We have a few of these motherboards in use and since we upgraded to OpenBSD 4.0 they freeze from time to time, usually during high IO load (disk or network). Now I have upgraded my desktop PC (again with ASUS A8V motherboard) that never had any stability problem. Now from time to time the PC goes crazy: it usually freezes for a few seconds and then the mouse start to rapidly move and click by itself. And a couple of time the PC completely freezed. Is there some known problem (maybe interrupts related) with this motherboards (VIA K8T800 chipset)? Thanks. OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Athlon(tm) 64 Processor 3500+ (AuthenticAMD 686-class, 512KB L2 cache) 2.21 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3 cpu0: Cool`n'Quiet K8 2204 Mhz: speeds: 2200 2000 1800 1000 Mhz real mem = 1072984064 (1047836K) avail mem = 970764288 (948012K) using 4256 buffers containing 53751808 bytes (52492K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(00) BIOS, date 11/03/05, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.3 @ 0xf0530 (67 entries) bios0: ASUSTeK Computer Inc. A8V 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 @ 0xf5980/192 (10 entries) pcibios0: PCI Interrupt Router at 000:17:0 (VIA VT8237 ISA rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0xd000 0xcd000/0x4000! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 VIA K8HTB Host rev 0x00 pchb1 at pci0 dev 0 function 1 VIA K8HTB Host rev 0x00 pchb2 at pci0 dev 0 function 2 VIA K8HTB Host rev 0x00 pchb3 at pci0 dev 0 function 3 VIA K8HTB Host rev 0x00 pchb4 at pci0 dev 0 function 4 VIA K8HTB Host rev 0x00 pchb5 at pci0 dev 0 function 7 VIA K8HTB Host rev 0x00 ppb0 at pci0 dev 1 function 0 VIA K8HTB AGP rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility 9200 rev 0x01 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) skc0 at pci0 dev 10 function 0 Marvell Yukon 88E8001/8003/8010 rev 0x13, Marvell Yukon Lite (0x9): irq 10 sk0 at skc0 port A, address 00:15:f2:40:b4:cf eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5 pciide0 at pci0 dev 15 function 0 VIA VT6420 SATA rev 0x80: DMA pciide0: using irq 10 for native-PCI interrupt wd0 at pciide0 channel 0 drive 0: SAMSUNG HD160JJ wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 wd1 at pciide0 channel 1 drive 0: SAMSUNG HD160JJ wd1: 16-sector PIO, LBA48, 152627MB, 312581808 sectors wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5 pciide1 at pci0 dev 15 function 1 VIA VT82C571 IDE rev 0x06: ATA133, 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: PHILIPS, SPD2400L1, Y5H3 SCSI0 5/cdrom removable cd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 4 pciide1: channel 1 disabled (no drives) uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x81: irq 11 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 16 function 1 VIA VT83C572 USB rev 0x81: irq 11 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 16 function 2 VIA VT83C572 USB rev 0x81: irq 10 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3 at pci0 dev 16 function 3 VIA VT83C572 USB rev 0x81: irq 10 usb3 at uhci3: USB revision 1.0 uhub3 at usb3 uhub3: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0 at pci0 dev 16 function 4 VIA VT6202 USB rev 0x86: irq 5 usb4 at ehci0: USB revision 2.0 uhub4 at usb4 uhub4: VIA EHCI root hub, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered viapm0 at pci0 dev 17 function 0 VIA VT8237 ISA rev 0x00 iic0 at viapm0 auvia0 at pci0 dev 17 function 5 VIA VT8233 AC97 rev 0x60: irq 5 ac97: codec id 0x414c4790 (Avance Logic ALC850 rev 0) audio0 at auvia0 pchb6 at pci0 dev 24 function 0 AMD AMD64 HyperTransport rev 0x00 pchb7 at pci0 dev 24 function 1 AMD AMD64 Address Map rev 0x00 pchb8 at pci0 dev 24 function 2 AMD AMD64 DRAM Cfg rev 0x00 pchb9 at pci0 dev 24 function 3 AMD AMD64 Misc Cfg rev 0x00 isa0 at mainbus0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0
pps throughput discrepancies?
Hello, while reading the mailing list I noticed these opposite statements about realistic pps throughput reachable with OpenBSD. I'm quite interested in the topic, and would like to have an idea of the order of magnitude we are talking about. I should also say that the second post doesn't sound particularly informed to my ignorant hears, but still contradictory statements over the same numbers strikes me. Has anyone performed some real testing on this? If so, could you share details about your testing? Any hardware/software configuration choices which have measurable effect on performance? TIA Luca [demime 1.01d removed an attachment of type multipart/digest]
Re: Spamassassin segfaults
To Karel You should learn what ports and packages are Read FAQ 15 Ports and Packages Fetching port tree read 15.3.2 p5-Mail-SpamAssassin-3.1.0p0.tgz is it this package can't see from your mail. You dont need the ports maintainer when you use the package do you? You need the package mantainer. If you dont understand what i'm talking of, read FAQ 15 First from top to bottom. So you would use the pkg_xxx tools to find out that information i will give you a hint: try man pkg_add (read the doc) check the references (SEE ALSO) to other pkg_xxx commands, and one will reveal it self to be the command thy doth seek for. The tools also work on Compiled ports, see point 3 below. Ports 101: 1)Ports and packages are different. 2)Packages are the recommended(supported) way to install apps, especially for users that don't read docs (you). 3)A Port is compiled into a package (but is not an official package) Docs 101: READ THE DOCS, properly, don't just skim them, please. Reading the /ports.html you should also know that your question (about ports), should have been sent to ports. Though your using packages so the right place is here. Regards Michael
Re: OpenBSD 4.0 (amd64) PCI interrupt routing fails on ASUS A8N SLI Premium
Marc Balmer wrote: * Willy Jacobs wrote: OpenBSD 4.0 (amd64), but also the latest current release, failed to remap certain PCI interrupts (especially USB) on my ASUS A8N SLI Premium (NForce 4) motherboard. Is this problem caused by the NForce4 chip or APIC related? Hello, I have the problem with amd64 see and I'm unable to boot because I get the following timeouts: ami0: timeout ccb 18 (http://marc.theaimsgroup.com/?l=openbsd-miscm=116671932827017w=2) Try booting with -c and enable acpi. Here is my dmesg (with acpi enabled) because I can't boot without: OpenBSD 4.0-current (GENERIC.MP_acpi) #1: Mon Jan 1 14:22:26 CET 2007 [EMAIL PROTECTED]:/home/sources/src/sys/arch/amd64/compile/GENERIC.MP_acpi real mem = 3220303872 (3144828K) avail mem = 2757431296 (2692804K) using 22937 buffers containing 322236416 bytes (314684K) of memory mainbus0 (root) bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf0690 (74 entries) bios0: stem manufacturer P5WDG2 WS PRO acpi0 at mainbus0: rev 2 acpi0: tables DSDT FACP APIC OEMB HPET MCFG acpitimer0 at acpi0: 3579545 Hz, 24 bits acpi device at acpi0 from table DSDT not configured acpi device at acpi0 from table FACP not configured acpimadt0 at acpi0 table APIC addr 0xfee0: PC-AT compat LAPIC: acpi_proc_id 1, apic_id 0, flags 0x1 cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz, 2671.62 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,LONG cpu0: 4MB 64b/line 16-way L2 cache cpu0: apic clock running at 267MHz LAPIC: acpi_proc_id 2, apic_id 1, flags 0x1 cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz, 2671.24 MHz cpu1: 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,LONG cpu1: 4MB 64b/line 16-way L2 cache LAPIC: acpi_proc_id 3, apic_id 82, flags 0x0 LAPIC: acpi_proc_id 4, apic_id 83, flags 0x0 IOAPIC: acpi_ioapic_id 2, address 0xfec0, global_int_base 0x0 ioapic0 at mainbus0 apid 2 pa 0xfec0, version 20, 24 pins IOAPIC: acpi_ioapic_id 3, address 0xfec1, global_int_base 0x18 ioapic1 at mainbus0 apid 3 pa 0xfec1, version 20, 24 pins OVERRIDE: bus 0, source 0, global_int 2, flags 0 OVERRIDE: bus 0, source 9, global_int 9, flags d OVERRIDE: bus 0, source 0, global_int 2, flags 0 OVERRIDE: bus 0, source 9, global_int 9, flags d acpi device at acpi0 from table OEMB not configured acpihpet0 at acpi0 table HPET: 14318179 Hz acpi device at acpi0 from table MCFG not configured acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 6 (P0P1) acpiprt2 at acpi0: bus 0 (P0P2) acpiprt3 at acpi0: bus 1 (P0P3) acpiprt4 at acpi0: bus 2 (P0P8) acpiprt5 at acpi0: bus 0 (P0P9) acpiprt6 at acpi0: bus 3 (P0P4) acpiprt7 at acpi0: bus 4 (PXHA) acpibtn0 at acpi0: SLPB acpibtn1 at acpi0: PWRB pci0 at mainbus0 bus 0: configuration mode 1 pchb0 at pci0 dev 0 function 0 vendor Intel, unknown product 0x277c rev 0xc0 ppb0 at pci0 dev 1 function 0 vendor Intel, unknown product 0x277d rev 0xc0 pci1 at ppb0 bus 6 vga1 at pci1 dev 0 function 0 ATI Radeon X300 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ATI Radeon X300 Sec rev 0x00 at pci1 dev 0 function 1 not configured azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x01: apic 2 int 19 (irq 11) azalia0: host: High Definition Audio rev. 1.0 azalia0: codec: 0x04x/0x11d4 (rev. 2.0), HDA version 1.0 audio0 at azalia0 ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01 pci2 at ppb1 bus 3 ppb2 at pci2 dev 0 function 0 Intel PCIE-PCIE rev 0x09 pci3 at ppb2 bus 4 ppb3 at pci3 dev 2 function 0 Intel IOP331 PCIX-PCIX rev 0x0a pci4 at ppb3 bus 5 ami0 at pci4 dev 14 function 0 Symbios Logic MegaRAID SATA 4x/8x rev 0x0a: apic 3 int 4 (irq 10) ami0: LSI 3008, 32b, FW 814D, BIOS vH431, 128MB RAM ami0: 1 channels, 0 FC loops, 3 logical drives scsibus0 at ami0: 40 targets sd0 at scsibus0 targ 0 lun 0: AMI, Host drive #00, SCSI2 0/direct fixed sd0: 10MB, 10 cyl, 64 head, 32 sec, 512 bytes/sec, 20480 sec total sd1 at scsibus0 targ 1 lun 0: AMI, Host drive #01, SCSI2 0/direct fixed sd1: 49998MB, 49998 cyl, 64 head, 32 sec, 512 bytes/sec, 102395904 sec total sd2 at scsibus0 targ 2 lun 0: AMI, Host drive #02, SCSI2 0/direct fixed sd2: 629606MB, 629606 cyl, 64 head, 32 sec, 512 bytes/sec, 1289433088 sec total scsibus1 at ami0: 16 targets ppb4 at pci0 dev 28 function 4 Intel 82801G PCIE rev 0x01 pci5 at ppb4 bus 2 mskc0 at pci5 dev 0 function 0 Marvell Yukon 88E8052 rev 0x21, Marvell Yukon-2 EC rev. A3 (0x2): apic 2 int 16 (irq 10) msk0 at mskc0 port A, address 00:18:f3:29:a2:53 eephy0 at msk0 phy 0: Marvell 88E Gigabit PHY, rev. 2 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x01: apic 2 int 20 (irq 5) usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev
Re: on current, Xvnc core dumps on amd64 (with an intel dual core
Whell, of course, =); it's a place to start. Another place to start would be trying to reproduce this on i386 -current... Didier? Hello, Yes, ok no problem. I will test this on another similar system (same motherboard but with a Core 2 Duo E6600) as I can't break this one ... I'll let you know tomorrow. Kind regards, Didier
Re: OpenBSD 4.0 and ASUS A8V motherboards
Hi Federico, I have A8V Deluxe and had similar problems when I used Belkin KVM switch: erratic mouse after switching from my Windows machine back to OpenBSD. Problems disappeared after I bought Linksys's KVM -pekka- Federico Giannici wrote: I suspect there is some kind of incompatibility between OpenBSD 4.0 (i386 and amd64) and ASUS A8V motherboards. We have a few of these motherboards in use and since we upgraded to OpenBSD 4.0 they freeze from time to time, usually during high IO load (disk or network). Now I have upgraded my desktop PC (again with ASUS A8V motherboard) that never had any stability problem. Now from time to time the PC goes crazy: it usually freezes for a few seconds and then the mouse start to rapidly move and click by itself. And a couple of time the PC completely freezed. Is there some known problem (maybe interrupts related) with this motherboards (VIA K8T800 chipset)? Thanks. OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Athlon(tm) 64 Processor 3500+ (AuthenticAMD 686-class, 512KB L2 cache) 2.21 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3 cpu0: Cool`n'Quiet K8 2204 Mhz: speeds: 2200 2000 1800 1000 Mhz real mem = 1072984064 (1047836K) avail mem = 970764288 (948012K) using 4256 buffers containing 53751808 bytes (52492K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(00) BIOS, date 11/03/05, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.3 @ 0xf0530 (67 entries) bios0: ASUSTeK Computer Inc. A8V 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 @ 0xf5980/192 (10 entries) pcibios0: PCI Interrupt Router at 000:17:0 (VIA VT8237 ISA rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0xd000 0xcd000/0x4000! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 VIA K8HTB Host rev 0x00 pchb1 at pci0 dev 0 function 1 VIA K8HTB Host rev 0x00 pchb2 at pci0 dev 0 function 2 VIA K8HTB Host rev 0x00 pchb3 at pci0 dev 0 function 3 VIA K8HTB Host rev 0x00 pchb4 at pci0 dev 0 function 4 VIA K8HTB Host rev 0x00 pchb5 at pci0 dev 0 function 7 VIA K8HTB Host rev 0x00 ppb0 at pci0 dev 1 function 0 VIA K8HTB AGP rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility 9200 rev 0x01 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) skc0 at pci0 dev 10 function 0 Marvell Yukon 88E8001/8003/8010 rev 0x13, Marvell Yukon Lite (0x9): irq 10 sk0 at skc0 port A, address 00:15:f2:40:b4:cf eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5 pciide0 at pci0 dev 15 function 0 VIA VT6420 SATA rev 0x80: DMA pciide0: using irq 10 for native-PCI interrupt wd0 at pciide0 channel 0 drive 0: SAMSUNG HD160JJ wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 wd1 at pciide0 channel 1 drive 0: SAMSUNG HD160JJ wd1: 16-sector PIO, LBA48, 152627MB, 312581808 sectors wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5 pciide1 at pci0 dev 15 function 1 VIA VT82C571 IDE rev 0x06: ATA133, 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: PHILIPS, SPD2400L1, Y5H3 SCSI0 5/cdrom removable cd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 4 pciide1: channel 1 disabled (no drives) uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x81: irq 11 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 16 function 1 VIA VT83C572 USB rev 0x81: irq 11 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 16 function 2 VIA VT83C572 USB rev 0x81: irq 10 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3 at pci0 dev 16 function 3 VIA VT83C572 USB rev 0x81: irq 10 usb3 at uhci3: USB revision 1.0 uhub3 at usb3 uhub3: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0 at pci0 dev 16 function 4 VIA VT6202 USB rev 0x86: irq 5 usb4 at ehci0: USB revision 2.0 uhub4 at usb4 uhub4: VIA EHCI root hub, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered viapm0 at pci0 dev 17 function 0 VIA VT8237 ISA rev 0x00 iic0 at viapm0 auvia0 at pci0 dev 17 function 5 VIA VT8233 AC97 rev 0x60: irq 5 ac97: codec id 0x414c4790 (Avance Logic ALC850 rev 0) audio0 at auvia0 pchb6 at pci0 dev 24 function 0 AMD AMD64 HyperTransport rev 0x00 pchb7 at
Why isn't /usr/local/sbin in $PATH?
Hi, I was wondering why /usr/local/sbin was not in the $PATH of the default section of /etc/login.conf. Since /usr/local/bin is in there I can think of no reason not to also have /usr/local/sbin. Regards, Karl [EMAIL PROTECTED] Free Software: You don't pay back, you pay forward. -- Robert A. Heinlein
Re: sendmail w/ virtual mailboxes
Jacob Yocom-Piatt wrote: i have been a postfix user for several years and have decided i should learn to use sendmail. making a very basic setup that has 1 virtual mailbox (i.e. a mailbox for a user that does not have shell account on the mailserver) is giving me grief and i have not been able to fix this issue after reading all the docs i could find. i fully expect the answer is that i missed something trivial. I think you need to have a local user to deliver to if you use this approach or sendmail would not know where to deliver. We create an account (with no ssh access etc) for each mail account. If not, how is the user supposed to access his/her mail if there is no account? here is what i have tried: - make sendmail listen on all interfaces by removing the -C/etc/mail/localhost.cf from the rc.conf.local entry for starting sendmail; done by pkill -x sendmail and restarting w/ appropriate options - add the domain for which i want to accept mail to /etc/mail/local-host-names like so my-domain.net and issue pkill -HUP sendmail - add the same line to /etc/mail/relay-domains and pkill -HUP sendmail Not needed. - add a line to /etc/mail/virtusertable like so [EMAIL PROTECTED] my-domain-phantom and issue makemap hash /etc/mail/virtusertable /etc/mail/virtusertable at this point i would expect that i could send mail to [EMAIL PROTECTED] and have it delivered. the sendmail logs dictate otherwise: Seems fine except you'd need the 'my-domain-phantom' user account. I suppose you could write some wrapper and pipe the emails to it, but if you wish to keep it simple, I don't think that's the best idea. /Alexander
Stock fstab
Is the stock fstab documented anywhere? That is, the fstab that you get if you use the recommended partitions that the install program sets up for you. I've been shuffling partitions around and would like something to compare against with regards to mounting noexec nosuid etc. Thanks. Karl [EMAIL PROTECTED] Free Software: You don't pay back, you pay forward. -- Robert A. Heinlein
Re: Stock fstab
On Mon, Jan 01, 2007 at 09:11:12PM +, Karl O. Pinc wrote: Is the stock fstab documented anywhere? That is, the fstab that you get if you use the recommended partitions that the install program sets up for you. I've been shuffling partitions around and would like something to compare against with regards to mounting noexec nosuid etc. It can be extracted from /usr/src/distrib/miniroot/install.sh, I presume; but here's the default options: /dev/xxx/ ffw rw 1 1 /dev/xxx/home ffs rw,nodev,nosuid 1 2 /dev/xxx/tmpffs rw,nodev,nosuid 0 2 /dev/xxx/usrffs rw,nodev1 2 /dev/xxx/varffs rw,nodev,nosuid 1 2 Of course, adding softdep might be useful. I'm not 100% positive on the 'dump' flag on /tmp - it might have been set to 1 initially. But if you use it, you will know about that. Joachim
Re: Stock fstab
Karl O. Pinc wrote on Mon, Jan 01, 2007 at 09:11:12PM +: Is the stock fstab documented anywhere? That is, the fstab that you get if you use the recommended partitions that the install program sets up for you. The comments in the install script are nice to read: less /usr/src/distrib/miniroot/install.sh /nosuid I've been shuffling partitions around and would like something to compare against with regards to mounting noexec nosuid etc. The default is: - everything except / is nodev - everything except /sbin /usr /usr/bin /usr/sbin /usr/libexec /usr/libexec/* /usr/local /usr/local/* /usr/X11R6 /usr/X11R6/bin is nosuid - noexec is not used by default
Re: anyone know where I can get an IO-DATA USL-5P in the United States?
I wonder if the landisk port would support this device? if it did it would make a pretty cool wifi firewall :) http://www.unityelectronics.com/product-product_id/2506/m/Tritton_Technologies/p/TRI_WHD1200 Sam Fourman Jr. On 10/10/06, Diana Eichert [EMAIL PROTECTED] wrote: On Tue, 10 Oct 2006, Jason George wrote: Nevermind the sex toy, what beer is that? Big Rock Traditional Ale. http://www.bigrockbeer.com It's what we normally drink, along with Guinness and Wild Rose Brown. It usually gives me a headache in large quanitities... but then again, it might be that it's because I'm usually drinking it with Theo and that might really be what gives me the headache. ;-) FWIW, I'm going to pickup one of the Plextors mentioned earlier and take it apart to get a serial console connection going. Then it can sit on the office desk along side all the rest of my hacked boxes. I'll post the console h/w info when I figure it out. diana
Re: Stock fstab
On 01/01/2007 04:08:49 PM, Ingo Schwarze wrote: The default is: - everything except / is nodev - everything except /sbin /usr /usr/bin /usr/sbin /usr/libexec /usr/libexec/* /usr/local /usr/local/* /usr/X11R6 /usr/X11R6/bin is nosuid - noexec is not used by default Thanks to everybody. Karl [EMAIL PROTECTED] Free Software: You don't pay back, you pay forward. -- Robert A. Heinlein
Re: Dell E521: no sensors?
On Sat, Dec 30, 2006, Stuart Henderson wrote: On 2006/12/29 18:11, Claus Assmann wrote: Is it correct that the Dell E521 does not have any sensor chips? the bios to see if anything's reported there though, it would be a bit of a surprise if at least cpu temperature wasn't available. Nothing in the BIOS for monitoring at all which probably means there isn't anything available (well, the machine was cheap...). The output of acpidump can be found at: http://www.informatik.uni-kiel.de/%7Eca/tests/acpi.full (it's almost 4000 lines so I didn't want to include it here). After enabling the ACPI related options in the kernel I get these additional lines in dmesg: acpi0 at mainbus0: rev 0 acpi0: tables DSDT FACP BOOT SSDT HPET MCFG SLIC APIC acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0 table HPET: 232830 Hz acpibtn0 at acpi0: PWRB acpicpu0 at acpi0: CPU0: 2000, 1800, 1000 MHz acpicpu1 at acpi0: CPU1: 2000, 1800, 1000 MHz but nothing else is different (except for date/name/avail mem of course).
Re: anyone know where I can get an IO-DATA USL-5P in the United States?
On Mon, 1 Jan 2007, Sam Fourman Jr. wrote: I wonder if the landisk port would support this device? if it did it would make a pretty cool wifi firewall :) http://www.unityelectronics.com/product-product_id/2506/m/Tritton_Technologies/p/TRI_WHD1200 Sam Fourman Jr. Dunno what's inside, an earlier object from Tritton used a Toshiba CPU based on a MIPS R3000A, at least according to the info provided at the link below. https://www.hst.aau.dk/twiki/bin/view/Main/SeeHere?skin=print
OpenBSD 4.0-CURRENT amd64 ami0: timeout ccb 76
Hi, I am having problems getting my Asus K8N-LR motherboard and a Symbios Logic MegaRAID SATA 4x/8x PCI-X controller working together nicely on OpenBSD 4.0 amd64 current as of 12/30/06 from a snapshot. There are two 250g SATA drives behind the RAID controller in a mirrored configuration. I get the following errors when I run newfs against /dev/rsd0a: ami0: timeout ccb 76 ami0: timeout ccb 77 sd0: WARNING: cache synchronization failed the newfs then fails. I've tried with OpenBSD 4.0-GENERIC amd64, 3.9-GENERIC amd64, and the current snapshot and all have the same timeout issues. I read in an earlier thread about enabling acpi in the kernel, and still no go. Below is the dmesg output from The 4.0-CURRENT amd64 snapshot, including where acpi is enabled. Any help would be appreciated. Thanks in advance. Robert OpenBSD 4.0-current (GENERIC) #797: Sat Dec 30 14:56:15 MST 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 1073082368 (1047932K) avail mem = 907362304 (886096K) using 22937 buffers containing 107515904 bytes (104996K) of memory User Kernel Config UKC enable acpi 251 acpi0 enabled UKC quit Continuing... mainbus0 (root) bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf0680 (66 entries) bios0: ASUSTek Computer INC. K8N-LR acpi0 at mainbus0: rev 2 acpi0: tables DSDT FACP APIC OEMB MCFG acpitimer at acpi0 not configured acpi device at acpi0 from table DSDT not configured acpi device at acpi0 from table FACP not configured acpi device at acpi0 from table APIC not configured acpi device at acpi0 from table OEMB not configured acpi device at acpi0 from table MCFG not configured acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 7 (P0P1) acpiprt2 at acpi0: bus 6 (P0P2) acpiprt3 at acpi0: bus 5 (P0P3) acpiprt4 at acpi0: bus 3 (P4P5) acpiprt5 at acpi0: bus 1 (P0P6) acpibtn at acpi0 not configured acpicpu at acpi0 not configured cpu0 at mainbus0: (uniprocessor) cpu0: AMD Athlon(tm) 64 Processor 3200+, 2000.22 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF LUSH,MMX,FXSR,SSE,SSE2,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 1 6-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: Cool`n'Quiet K8 2000 MHz: speeds: 2000 1800 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 NVIDIA nForce4 DDR rev 0xa3 at pci0 dev 0 function 0 not configured pcib0 at pci0 dev 1 function 0 NVIDIA nForce4 ISA rev 0xa3 nviic0 at pci0 dev 1 function 1 NVIDIA nForce4 SMBus rev 0xa2 iic0 at nviic0 iic1 at nviic0 ohci0 at pci0 dev 2 function 0 NVIDIA nForce4 USB rev 0xa2: irq 3, 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: 10 ports with 10 removable, self powered ehci0 at pci0 dev 2 function 1 NVIDIA nForce4 USB rev 0xa3: irq 5 usb1 at ehci0: USB revision 2.0 uhub1 at usb1 uhub1: NVIDIA EHCI root hub, rev 2.00/1.00, addr 1 uhub1: 10 ports with 10 removable, self powered pciide0 at pci0 dev 6 function 0 NVIDIA nForce4 IDE rev 0xf2: DMA, channel 0 c onfigured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: SAMSUNG SV2001H wd0: 16-sector PIO, LBA, 19130MB, 39179952 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: CREATIVE, CD5233E-N, 0.20 SCSI0 5/cdrom removabl e cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 pciide1 at pci0 dev 7 function 0 NVIDIA nForce4 SATA rev 0xf3: DMA pciide1: using irq 11 for native-PCI interrupt pciide2 at pci0 dev 8 function 0 NVIDIA nForce4 SATA rev 0xf3: DMA pciide2: using irq 9 for native-PCI interrupt ppb0 at pci0 dev 9 function 0 NVIDIA nForce4 PCI-PCI rev 0xa2 pci1 at ppb0 bus 7 vga1 at pci1 dev 5 function 0 ATI Rage XL rev 0x27 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ppb1 at pci0 dev 11 function 0 NVIDIA nForce4 PCIE rev 0xa3 pci2 at ppb1 bus 6 bge0 at pci2 dev 0 function 0 Broadcom BCM5721 rev 0x11, BCM5750 B1 (0x4101): irq 10, address 00:17:31:47:a5:6f brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0 ppb2 at pci0 dev 12 function 0 NVIDIA nForce4 PCIE rev 0xa3 pci3 at ppb2 bus 5 bge1 at pci3 dev 0 function 0 Broadcom BCM5721 rev 0x11, BCM5750 B1 (0x4101): irq 7, address 00:17:31:47:ae:0f brgphy1 at bge1 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0 ppb3 at pci0 dev 13 function 0 NVIDIA nForce4 PCIE rev 0xa3 pci4 at ppb3 bus 2 ppb4 at pci4 dev 0 function 0 Intel PCIE-PCIE rev 0x09 pci5 at ppb4 bus 3 ppb5 at pci5 dev 0 function 0 Intel IOP331 PCIX-PCIX rev 0x07 pci6 at ppb5 bus 4 ami0 at pci6 dev 14 function 0 Symbios Logic MegaRAID SATA 4x/8x rev 0x07: irq 10 ami0: LSI 3008, 32b, FW 814D, BIOS vH431, 128MB RAM ami0: 4
Re: Repeat panic every 20 minutes with spamd enable
Daniel Ouellet wrote: I am going to test the memory next just in case, but anyone have an idea as to what that might be? Just for the record, after I got a replacement DDR 1GB replacement in the server, all have been stable so far for a few days. So, memory it was look like. Thanks
Patch to handle empty sed expressions
Some packages (e.g., binutils 2.17) want to issue sed commands like s,^.*/,,;s,^,avr-,;;s/$// but OpenBSD's sed doesn't handle empty expressions as in this. The patch below adds support for this. (It also eliminates a useless null pointer check: p is checked for nullity when it is set a few lines above the hunk, and p is also dereferenced later without null checks.) Index: src/usr.bin/sed/compile.c === RCS file: /cvs/src/usr.bin/sed/compile.c,v retrieving revision 1.22 diff -p -u -r1.22 compile.c --- src/usr.bin/sed/compile.c 9 Oct 2006 00:23:56 - 1.22 +++ src/usr.bin/sed/compile.c 2 Jan 2007 04:28:29 - @@ -161,8 +161,12 @@ compile_stream(struct s_command **link) } semicolon: EATSPACE(); - if (p (*p == '#' || *p == '\0')) + if (*p == '#' || *p == '\0') continue; + if (*p == ';') { + p++; + goto semicolon; + } *link = cmd = xmalloc(sizeof(struct s_command)); link = cmd-next; cmd-nonsel = cmd-inrange = 0;
Re: sendmail w/ virtual mailboxes
** Reply to message from Alexander Hall [EMAIL PROTECTED] on Mon, 01 Jan 2007 22:07:55 +0100 Jacob Yocom-Piatt wrote: i have been a postfix user for several years and have decided i should learn to use sendmail. making a very basic setup that has 1 virtual mailbox (i.e. a mailbox for a user that does not have shell account on the mailserver) is giving me grief and i have not been able to fix this issue after reading all the docs i could find. i fully expect the answer is that i missed something trivial. I think you need to have a local user to deliver to if you use this approach or sendmail would not know where to deliver. We create an account (with no ssh access etc) for each mail account. If not, how is the user supposed to access his/her mail if there is no account? This depends on your 'local' mail-delivery program definition in sendmail.cf. IIRC the standard program will only deliver to real users. I'm using maildrop (from packages) to allow delivery to virtual users (who access their mail via POP); there are undoubtedly other such programs available. Dave -- Dave Anderson [EMAIL PROTECTED]