The REAL reason we use OpenBSD
http://blog.anamazingmind.com/2008/03/real-reason-we-use-linux.html oh, and before you started to read, to be more comfortable just do s/linux/openbsd/g
Re: 4.3 - acpi critical temperature on Lenovo R60
No, it is completely normal because it is not a warnings but information about what temperatures is defined as critical. Tom Van Looy wrote: Yesterday I sent my 4.3 dmesg (to dmesg@). Today I was comparing dmesgs to see what changed and noticed "critical temperature warnings". See dmesg below, I would say that's not normal. But with acpi I am able to turn off my machine now without rebooting :-) Very nice, thank you! OpenBSD 4.3 (GENERIC) #695: Tue Mar 4 14:28:56 MST 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz ("GenuineIntel" 686-class) 1.83 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,CX16,xTPR real mem = 1072066560 (1022MB) avail mem = 1028591616 (980MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 04/18/07, BIOS32 rev. 0 @ 0xfd690, SMBIOS rev. 2.4 @ 0xe0010 (68 entries) bios0: vendor LENOVO version "7CETC6WW (2.16 )" date 04/18/2007 bios0: LENOVO 9461DXG acpi0 at bios0: rev 2 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT SSDT SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (AGP_) acpiprt2 at acpi0: bus 2 (EXP0) acpiprt3 at acpi0: bus 3 (EXP1) acpiprt4 at acpi0: bus 4 (EXP2) acpiprt5 at acpi0: bus 12 (EXP3) acpiprt6 at acpi0: bus 21 (PCI1) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2 acpitz0 at acpi0: critical temperature 127 degC acpitz1 at acpi0: critical temperature 100 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model "92P1141" serial 5361 type LION oem "SONY" acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpidock at acpi0 not configured bios0: ROM list: 0xc/0xfe00 0xd/0x1600 0xd1800/0x1000 0xdc000/0x4000! 0xe/0x1! cpu0 at mainbus0 cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130b2506000b25 cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 1833 MHz (1292 mV): speeds: 1833, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03 agp0 at pchb0: no integrated graphics ppb0 at pci0 dev 1 function 0 "Intel 82945GM PCIE" rev 0x03: irq 11 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "ATI Radeon Mobility X1400" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: irq 11 azalia0: codec[s]: Analog Devices/0x1981, Conexant/0x2bfa, using Analog Devices/0x1981 audio0 at azalia0 ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: irq 11 pci2 at ppb1 bus 2 bge0 at pci2 dev 0 function 0 "Broadcom BCM5751M" rev 0x21, BCM5750 C1 (0x4201): irq 11, address 00:16:d3:b8:d6:4c brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0 ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: irq 11 pci3 at ppb2 bus 3 wpi0 at pci3 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: irq 11, MoW2, address 00:1b:77:41:1d:be ppb3 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: irq 11 pci4 at ppb3 bus 4 ppb4 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: irq 11 pci5 at ppb4 bus 12 uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: irq 11 uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: irq 11 uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: irq 11 uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: irq 11 ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: irq 11 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb5 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2 pci6 at ppb5 bus 21 cbb0 at pci6 dev 0 function 0 "TI PCIXX12 CardBus" rev 0x00: irq 11 "TI PCIXX12 FireWire" rev 0x00 at pci6 dev 0 function 1 not configured cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 22 device 0 cacheline 0x8, lattimer 0xb0 pcmcia0 at cardslot0 ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM disabled pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: 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: SCSI0 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 ignored (disabled) ahci0 at pci0 dev 31 function 2 "Intel 82801GBM AHCI" rev 0x02: irq 11, AHCI 1.1 scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: SCSI3 0/direct fixed sd0: 114473MB, 14593 cyl, 255 head, 63 sec, 512 bytes/sec, 234441648 sec total ichii
Re: Postfix(chroot) and Postgresql
Instead of that I would recommend you to use DB files generated at regular intervals instead of 'online' access to postgresql. It is less CPU expensive and much faster. But if you wish to use SQL maps I guess you may want to use 127.0.0.1 instead of local socket and of course you need to configure postgresql to accept network access. Bengt Frost wrote: *Addition* to above: In pg_hba.conf (PosgreSQL): vmail(user) access to datab with md5 password local(and host) --bfrost Bengt Frost wrote: Hi, I am trying to use PostgreSQL as a backend for my Postfix virtual mail system and dovecot(psql) for smtp-auth. 'Postfix' is chrooted - most of it - and with MySQL socket there is no problem to auth users and use Postfix transport_maps and virtual_*_maps. I have problem with postgresql socket(.s.PGSQL.5432). Neither dovecot(auth) or Postfix(processes) can connect to PostgreSQL. I have tried to google, read OpenBSD misc and ports maillinglists with no success. Here is some files with related 'stuff': ### rc - system /etc/rc.local: # Postfix - PostgreSQL if [ -x /usr/local/bin/pg_ctl ]; then echo -n ' postgresql' su -l _postgresql -c "nohup /usr/local/bin/pg_ctl start \ -D /var/postgresql/data -l /var/postgresql/logfile \ -o '-D /var/postgresql/data' >/dev/null" su -l _postgresql -c "ln -s /var/spool/postfix/tmp/.s.PGSQL.5432 /tmp" su -l _postgresql -c "ln -s /var/spool/postfix/tmp/.s.PGSQL.5432.lock /tmp" fi /etc/rc.shutdown: # Posfix - PostgreSQL if [ -f /var/postgresql/data/postmaster.pid ]; then su -l _postgresql -c "/usr/local/bin/pg_ctl stop -m fast \ -D /var/postgresql/data" rm -f /var/postgresql/data/postmaster.pid \ /var/spool/postfix/tmp/.s.PGSQL.5432 \ /var/spool/postfix/tmp/.s.PGSQL.5432.lock \ /tmp/.s.PGSQL.5432 \ /tmp/.s.PGSQL.5432.lock fi ### Dovecot: /etc/dovecot.conf: passdb sql { args = /etc/dovecot-pgsql.conf } ... userdb sql { args = /etc/dovecot-pgsql.conf ... socket listen { client { path = /var/spool/postfix/private/auth mode = 0660 user = _postfix group = _postfix } /etc/dovecot-pgsql: # Currently supported schemes include PLAIN, PLAIN-MD5, DIGEST-MD5, and CRYPT. default_pass_scheme = CRYPT # also above schemes # Database options # UNIX socket - see host connect = host=/tmp/.s.PGSQL.5432 dbname= user=vmail password=x ### Postfix - referensed from main.conf(pgsql: - no proxymap used): /etc/postfix/pgsql_transport: # UNIX socket - PostgreSQL - relative path(chroot) hosts = unix:/tmp/.s.PGSQL.5432 # inet: for TCP connections (default) #hosts = localhost ##hosts = 127.0.0.1 ### PostgreSQL /var/postgresql/postgresql.conf: unix_socket_directory = '/var/spool/postfix/tmp' # tmp directory in Postfix root : rwxrwxr-t permission and 'owned' by _postfix _postgresql Someone out there have any suggestions how use Postfix (and Dovecot) with PostgreSQL? Thanks! --bfrost
Re: OpenBSD 4.2 on Intel Board S3000AHLX + QuadNic EXPI9404PT => couldn't map interrupt
You need not to only enable ACPI, but also disable APM to make use of ACPI. Koenig, Thomas wrote: Hi, Have you tried to enable acpi? I try acpi with: boot -c enable acpi quit then I get a panic, with options for trace and ps - thats all. :( maybe its a bug? GENERIC.MP with acpi? Is this not the same as above? regards, Thomas [demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]
Re: why am i only able to run Gnome in safe mode? (getting error)
take a look at http://www.mail-archive.com/misc@openbsd.org/msg50994.html badeguruji wrote: Hello, Please help OR guide to me to any resource which describes installing gnome in clean clear steps on a new openBSD installation. (I am ready to uninstall and reinstall gnome if needed) i tried to install gnome in below order: gnome-desktop-2.18.2p0: gnome-session-2.18.2p0 gdm-2.18.2 I am only able to run gnome is safe mode. This post has the exact issue i am facing (only error in the log file is little different, which is shown below) http://www.webservertalk.com/message1134770.html --as per the solution in the above post user changed permissions on his home dir. i am logging in as root. should i change my root permissions? currently they are: drwx-- 14 root wheel 1024 Nov 7 07:01 root The errors in the log file: (==) Log file: "/var/log/Xorg.0.log", Time: Wed Nov 7 05:46:56 2007 (EE) Unable to locate/open config file New driver is "i810" (==) Using default built-in configuration (55 lines) (EE) Failed to load module "dri" (module does not exist, 0) (EE) Failed to load module "fbdev" (module does not exist, 0) FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc/" refcount is 2, should be 1; fixing. FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc/" refcount is 2, should be 1; fixing. # I am also getting below error on message log: Nov 7 00:12:46 ironhost gdm[12200]: gdm_slave_exec_script: Failed starting: /etc/X11/gdm/Init/Default please advice. thank you. BG ~~Kalyan-mastu~~
Re: 1440x900 resolution problem
Tried and as before it stuck at 75Hz resulting in 1280x1024. Some time ago I've somewhere read that on linux with Xorg 7.2 someone also had this problem (I don't know if I can call it "same problem", it has widescreen LCD, i810 driver) and solved it by updating i810 driver, xrandr to 1.2 and some other libs from Xorg's git tree. Because 7.3 is already released and Matthieu Herrb is doing his hard work to move xenocara to 7.3 I guess that in near future I also will be pleased with 1680x1050 :) Marius ROMAN wrote: Like Darrin suggested try matching Modelines and Modes : On xorg.conf Enable only this (comment the rest of the modellines) : Modeline "1680x1050_60.00" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -HSync +Vsync Modify the screen section : Section "Screen" Identifier "Screen0" Device "Card0" Monitor"Monitor0" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1680x1050_60.00" EndSubSection EndSection Marius On 9/21/07, Genadijus Paleckis <[EMAIL PROTECTED]> wrote: I have similar problem and it is still unresolved. My video card Intel i810 and monitor is Samsung SyncMaster 226CW, I'm trying to use 1680x1050 with no success. What I found is that I cannot force to use 60Hz vertrefresh and card uses 75Hz instead. gtf's suggestion boo$ gtf 1680 1050 60 # 1680x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 147.14 MHz Modeline "1680x1050_60.00" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -HSync +Vsync xorg.conf's monitor and screen sections: Section "Monitor" Identifier "Monitor0" Option "DPMS" # from Xorg.0.log HorizSync30-81 VertRefresh 56-75 # GTF suggestion Modeline "1680x1050_1" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -HSync +Vsync # numbers from Xorg.0.log ModeLine "1680x1050_2" 119.0 1680 1728 1760 1840 1050 1053 1059 1080 EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor"Monitor0" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1680x1050_1" "1680x1050_2" EndSubSection EndSection
Re: OpenBSD AJAX
Sam Fourman Jr. wrote: I am Searching the Internet for a Basic Hello World Ajax sample written in C if anyone has one laying around please reply to this post Wanted simple/minimal hello world AJAX app using C ? here it is... /* * C part */ #include int main(void) { printf("Content-type: text/html\n\n"); printf("Hello world"); return 0; } /* * HTML/JS part */ var say_hello = function() { req = new XMLHttpRequest(); req.open("GET", '/cgi-bin/hello', true); req.onreadystatechange = function() { if (req.readyState == 4) { if (req.status == 200) alert(req.responseText) } } req.send(null) }
Re: Web mail
Well, it is not necessary to use MySQL, because roundcube supports sqlite which is smaller and more efficient for this task (per account preferences, address book, etc...). Lars Hansson wrote: On Thursday 20 July 2006 03:32, Whyzzi wrote: Requires MySQL And the rational reason for a webmail system to require a RDBMS backend is? --- Lars Hansson
NetMos 4S question
I have 4 NetMos 4S serial cards and wanted to place them into single machine, all four cards is detected but it seems that only two of them is working. Is there any limitation of serial ports number on system ? Thank you.
Re: 3.8 beta requests
Antonios Anastasiadis wrote: No,it is clear that he is talking about the problems *other* people's (buggy) software will have. On 8/24/05, Genadijus Paleckis <[EMAIL PROTECTED]> wrote: Theo de Raadt wrote: Oh well -- we've decided that we will try to ship with this protection mechanism in any case, and try to solve the problems as we run into them. Is that means that 3.8 might be unstable ? Maybe all who wants/needs stable systems need to run 3.7 ? well, from base system side I gues it will be minimal problems, but what about ports ? because almost everyone using it.
Re: 3.8 beta requests
Theo de Raadt wrote: Oh well -- we've decided that we will try to ship with this protection mechanism in any case, and try to solve the problems as we run into them. Is that means that 3.8 might be unstable ? Maybe all who wants/needs stable systems need to run 3.7 ?