Re: home, end, delete, pageup, pagedown with ksh
Le 13/10/2009 12:29, Markus Hennecke a icrit : > Nicolas Letellier wrote: > >> Le 13/10/2009 09:57, Nicholas Marriott a icrit : >> >>> For me, Home and End generate ^[[H and ^[[F (you can check they do for >>> you as >>> well by running cat then pressing the keys, if they don't let me know, >>> I might >>> have fiddled with some setting), so you should be able to bind them with: >>> >>> bind '^XH'=beginning-of-line >>> bind '^XF'=end-of-line >>> >>> >> For me, Home, End, PgUp, PgDown, Insert generate a ^[[7~ ^[[6~ ^[[5~ >> ^[[4~ (and it's a basic usb keyboard :-)) >> ^XH and ^XF does not work in my system. >> >> >>> It is possible to (use a hack to) bind ONE key with a trailing ~ by >>> binding the >>> start to prefix-2 and then binding ~ itself to the command, I do this >>> for the >>> Del key. >>> >> That's the hack I found, and as you say, it works only for one key. >> However, all my keys generate a four character sequence with a tilde. I >> tried with another TERM (vt220), the problem is the same. >> >> I think ksh is too complicate, and I have to get back to csh or tcsh (or >> ignore these bindkeys on ksh :-)). With them, my bindkeys work. >> > I have the lines > XTerm*loginShell: true > XTerm*eightBitInput: true > in my .Xdefaults file together with set +o emacs-usemeta in my .profile. > Those bind statements are in my .kshrc, set differently for each terminal: > > if [ -o interactive ]; then > case "$TERM" in > vt220) > bind '^[[3'=prefix-2# DEL > bind '^[[3~'=delete-char-forward# DEL > ;; > wsvt25) > bind '^[[3'=prefix-2# DEL > bind '^[[3~'=delete-char-forward# DEL > ;; > xterm*) > export TERM=xterm-color # force color > bind '^XH'=beginning-of-line# Pos1 > bind '^XF'=end-of-line # End > ;; > nxterm) > bind '^XH'=beginning-of-line# Pos1 > bind '^XF'=end-of-line # End > ;; > *) ;; > esac > fi > > > HTH, >Markus > It does not work on my config. In xterm*, vt220, nxterm, etc home is ^[[7~, end is ^[[8~, etc... In tcsh/zsh, I can use these keys for my bindkeys. I have the same .Xdefaults -- Nicolas
Re: home, end, delete, pageup, pagedown with ksh
Hello. First, thanks for this answer! Le 13/10/2009 09:57, Nicholas Marriott a icrit : For me, Home and End generate ^[[H and ^[[F (you can check they do for you as well by running cat then pressing the keys, if they don't let me know, I might have fiddled with some setting), so you should be able to bind them with: bind '^XH'=beginning-of-line bind '^XF'=end-of-line For me, Home, End, PgUp, PgDown, Insert generate a ^[[7~ ^[[6~ ^[[5~ ^[[4~ (and it's a basic usb keyboard :-)) ^XH and ^XF does not work in my system. It is possible to (use a hack to) bind ONE key with a trailing ~ by binding the start to prefix-2 and then binding ~ itself to the command, I do this for the Del key. That's the hack I found, and as you say, it works only for one key. However, all my keys generate a four character sequence with a tilde. I tried with another TERM (vt220), the problem is the same. I think ksh is too complicate, and I have to get back to csh or tcsh (or ignore these bindkeys on ksh :-)). With them, my bindkeys work. -- Nicolas
Re: no hostname in mails sent with smtpd in a crontab
I tested with the latest files on CVS (this morning), the error is always here. To reproduce the problem: - edit crontab root - set a fake cronjob which print anything: */1 * * * * ls / - set a root alias (/etc/mail/aliases) to an other mail (root: yourem...@yourprovider.com) And wait to receive the mail... See the header (I replaced my full hostname by sub.domain.net, and the root alias by yourem...@free.fr) From - Tue Oct 13 09:34:56 2009 X-Account-Key: account4 X-UIDL: 1255419242.14725.mrelay6-g25 X-Mozilla-Status: 0001 X-Mozilla-Status2: X-Mozilla-Keys: Return-Path: Delivered-To: yourem...@free.fr Received: (qmail 14687 invoked from network); 13 Oct 2009 07:34:02 - Received: from mx23-g26.free.fr (HELO sub.domain.net) (212.xx.xx.xx) by mrelay6-g25.free.fr with SMTP; 13 Oct 2009 07:34:02 - Received: from sub.domain.net ([82.xxx.xx.xxx]) by mx2-g20.free.fr (MXproxy) for yourem...@free.fr ; Tue, 13 Oct 2009 09:34:02 +0200 (CEST) X-ProXaD-SC: state=HAM score=10 Received: from localhost (0...@localhost [IPv6:::1]) by sub.domain.net (OpenSMTPD) with ESMTP id 1255419241.POaAAxCh6duP43wr for ; Tue, 13 Oct 2009 09:34:01 +0200 (CEST) Date: Tue, 13 Oct 2009 09:34:01 +0200 (CEST) Message-Id: <5391984582864661144.enqu...@sub.domain.tld> From: root (Cron Daemon) To: root Subject: Cron ls / Auto-Submitted: auto-generated X-Cron-Env: X-Cron-Env: X-Cron-Env: X-Cron-Env: X-Cron-Env: As you can see, the problem is the "From" field. There is no hostname here. So, a MUA can't answer to it. If you send a mail with : echo "hello world" | mail youru...@yourprovider.com, no problem. The problem is *only* when a mail is sent from and by a crontab with OpenSMTPd (no problems with Sendmail or Postfix). Regards, Nicolas Le 13/10/2009 08:52, Gilles Chehade a icrit : > I'll fix this by this week-end, yesterday's late bug tracking of this > issue > was not successful, I can totally reproduce it on my production > server, but > not on the box im hacking on ... > > Gilles > > Nicolas Letellier wrote: >> Hello. >> >> I'm on a OPENBSD_4_6. I use smtpd insted of sendmail. All works >> perfect with it, except one point. When a mail is sent from a >> crontab, the mail received has this in the header: >> >>> From: root (Cron Daemon) >> >> I have no hostname, no domain, nothing. Just the user in the From part. >> >> This case is only when a mail is sent from a crontab (crontab -e -u >> root). With this line for example: >> >>> */1 * * * * echo test >> >> So, we wan't answer to this mail, or know who is the machine which >> send it. However, in other informations in the header, we wan see the >> domain in 'Received' parts. >> >> >> See my /etc/mail/smtpd.conf: >>> listen on sk0 >>> >>> hostname my.hostname.tld >>> >>> map "aliases" { source db "/etc/mail/aliases.db" } >>> >>> accept from all for local deliver to mbox >>> accept for all relay >> >> See the end of /etc/mail/aliases >>> root: u...@myprovider.tld >> >> >> And, other question... Why "Cron Daemon" AND "root" are printed in my >> "From"? >> >> Thanks. >> >> Regards, > -- Nicolas
home, end, delete, pageup, pagedown with ksh
Hello. I want to use home, end, delete, pageup, pagedown with ksh. My TERM is xterm-color. These keys works fine with tcsh and zsh, but not with ksh (print a tilda ~) I found this: bind '^[[3'=prefix-2 bind '^[[3~'=delete-char-forward bind '^[[1'=prefix-2 bind '^[[1~'=beginning-of-line bind '^[[4'=prefix-2 bind '^[[4~'=end-of-line But when I set one bindkey, the last does not work anymore. How can I use these keys in ksh with a .kshrc ? Best regards, -- Nicolas
no hostname in mails sent with smtpd in a crontab
Hello. I'm on a OPENBSD_4_6. I use smtpd insted of sendmail. All works perfect with it, except one point. When a mail is sent from a crontab, the mail received has this in the header: > From: root (Cron Daemon) I have no hostname, no domain, nothing. Just the user in the From part. This case is only when a mail is sent from a crontab (crontab -e -u root). With this line for example: > */1 * * * * echo test So, we wan't answer to this mail, or know who is the machine which send it. However, in other informations in the header, we wan see the domain in 'Received' parts. See my /etc/mail/smtpd.conf: > listen on sk0 > > hostname my.hostname.tld > > map "aliases" { source db "/etc/mail/aliases.db" } > > accept from all for local deliver to mbox > accept for all relay See the end of /etc/mail/aliases > root: u...@myprovider.tld And, other question... Why "Cron Daemon" AND "root" are printed in my "From"? Thanks. Regards, -- Nicolas
Re: Error in fsck_ffs: cannot allocate memory for inode cache
Le Thu, 26 Feb 2009 13:50:12 +0100, Otto Moerbeek a icrit : > On Thu, Feb 26, 2009 at 11:23:16AM +0100, Nicolas Letellier wrote: > > > Hello m...@. > > > > My server crashed this night. However, OpenBSD 4.4 does not want to > > boot. There are errors on my /home partition (125 Go, ffs type). > > > > The following file system had unexpected inconsistency > > ffs: /dev/rwd0g (/home) > > > > I must run fsck_ffs manually. > > > > However, when I run it : > > > > fsck_ffs /dev/rwd0g > > > > 1824 DUP I=2678 > > 1825 DUP I=2678 > > > > cannot allocate memory for inode cache. > > Run fsck by using the fsck(8) command. It sets up the max resource > limits before calling fsck_ffs(8). That might save your day. > > -Otto Thanks for your advice but it did not work. So, we bought another hard disks. Regards, -- Nicolas
Error in fsck_ffs: cannot allocate memory for inode cache
Hello m...@. My server crashed this night. However, OpenBSD 4.4 does not want to boot. There are errors on my /home partition (125 Go, ffs type). The following file system had unexpected inconsistency ffs: /dev/rwd0g (/home) I must run fsck_ffs manually. However, when I run it : fsck_ffs /dev/rwd0g 1824 DUP I=2678 1825 DUP I=2678 cannot allocate memory for inode cache. I tried to reboot, same problem. I didn't find informations about it in fsck_ffs manpage. Do you have some advices to repair this disk, and for booting my OpenBSD? Regards, -- Nicolas
Re: font size with xenocara -current
On Tue, 17 Jun 2008 12:42:37 +0300 Ihar Hrachyshka <[EMAIL PROTECTED]> wrote: > Try to manually specify "-dpi XX", f.e. "-dpi 96" in your 'xserveropts' > in 'startx' script. I don't know which dpi I must use. dpi 96 returns the same size font. Why must I specify it, now? -- -Nicolas.
font size with xenocara -current
Hello Misc. I'm on OpenBSD 4.3 -current. This morning, I upgrade my -current to the lastest src and xenocara tree. No problems with src. However, with the new xenocara (I see xserver has been updated since my latest built, two weeks ago), size font is bigger than before. I have the same resolution (1280x800), I use the same xorg.conf, and the same xinit/xinitrc file. I use the same Xfce with the same configuration files. But the size font is big... very big. I have the problem with others WM (like openbox). All fonts are biggers, and it seems we use a 640x480 resolution (in more beautiful!). My xrandr returns: Screen 0: minimum 640 x 480, current 1280 x 800, maximum 1280 x 800 default connected 1280x800+0+0 0mm x 0mm 1280x800 60.0* I don't see any errors in my Xorg.log. I don't know how resolve this. Any ideas? It's a known problem (or a new feature?). Thanks. -- - Nicolas.
Re: openCVS
Le Wed, 30 Apr 2008 14:36:48 +0200, [EMAIL PROTECTED] a icrit : > any info on why http://www.opencvs.org/ is down, and how active is > this project? > thx > http://www.undeadly.org/cgi?action=article&sid=20080228093414 -- - Nicolas.
powerdown does not work with acpi
Hello misc. I use 4.3-current on an asustek laptop. For use acpi, I have to disable apm (via UKC). Powerdown works perfectly with GENERIC and apm. However, it does not work with GENERIC and acpi (I have to disable apm for acpi works). With GENERIC.MP, powerdown does not work. When I say powerdown does not work, it means the machine always reboot... When I do a powerdown, the machine halt... and reboot, whitout any messages. It's a little problem for me, if I can't halt my machine. See my dmesg: OpenBSD 4.3-current (GENERIC) #0: Fri Apr 25 22:33:12 CEST 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Genuine Intel(R) CPU T2300 @ 1.66GHz ("GenuineIntel" 686-class) 1.67 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,EST,TM2,xTPR real mem = 1073115136 (1023MB) avail mem = 1029562368 (981MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 07/27/06, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.3 @ 0xfc660 (35 entries) bios0: vendor American Megatrends Inc. version "A6JCMAS.219" date 07/27/2006 bios0: ASUSTeK Computer Inc. A6JC apm at bios0 function 0x15 not configured acpi0 at bios0: rev 0 acpi0: tables DSDT FACP APIC MCFG BOOT OEMB acpi0: wakeup devices P0P2(S0) P0P1(S0) CBS0(S0) P394(S0) USB0(S0) USB1(S0) EUSB(S0) MC97(S0) P0P4(S0) P0P5(S0) P0P6(S0) P0P7(S0) P0P8(S0) P0P9(S0) HDAC(S0) SLPB(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (P0P2) acpiprt2 at acpi0: bus 4 (P0P1) acpiprt3 at acpi0: bus 2 (P0P4) acpiprt4 at acpi0: bus -1 (P0P5) acpiprt5 at acpi0: bus -1 (P0P6) acpiprt6 at acpi0: bus 3 (P0P7) acpiprt7 at acpi0: bus -1 (P0P8) acpiprt8 at acpi0: bus -1 (P0P9) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2 acpitz0 at acpi0acpitz0: THRM: failed to read _CRT : no critical temperature defined acpitz0: THRM: failed to read _AC0 acpitz0: THRM: failed to read _PSV acpiac0 at acpi0: AC unit in unknown state acpibat0 at acpi0: BAT0 serial type LIon oem "ASUSTEK" acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: PWRB acpibtn2 at acpi0: SLPB bios0: ROM list: 0xc/0xf000 cpu0 at mainbus0 cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130a2c06000613 cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 1000 MHz (1004 mV): speeds: 1667, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03 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 "NVIDIA GeForce 7300 Go" rev 0xa1 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) agp0 at vga1: no integrated graphics azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: irq 3 azalia0: codec[s]: Realtek ALC880, Motorola/0x3055, using Realtek ALC880 audio0 at azalia0 ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: irq 11 pci2 at ppb1 bus 2 re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x01: RTL8168 2 (0x3800), irq 11, address 00:18:f3:5b:f6:31 rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2 ppb2 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: irq 5 pci3 at ppb2 bus 3 wpi0 at pci3 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: irq 5, MoW2, address 00:13:02:dd:05:5f uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: irq 7 uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: irq 5 uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: irq 4 uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: irq 6 ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: irq 7 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2 pci4 at ppb3 bus 4 cbb0 at pci4 dev 1 function 0 "Ricoh 5C476 CardBus" rev 0xb3: irq 3 "Ricoh 5C552 Firewire" rev 0x08 at pci4 dev 1 function 1 not configured sdhc0 at pci4 dev 1 function 2 "Ricoh 5C822 SD/MMC" rev 0x17: irq 5 sdmmc0 at sdhc0 "Ricoh 5C592 Memory Stick" rev 0x08 at pci4 dev 1 function 3 not configured cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 5 device 0 cacheline 0x0, lattimer 0x40 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 wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA48, 95396MB, 195371568 sectors atapiscsi0 at pciide0 channel 0 drive 1 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: ATAPI 5/cdrom removable wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 ignored (disabled) usb1 at uhci0: USB revision 1.0 uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb2 at
Re: update openbsd
Le Thu, 24 Apr 2008 04:58:15 -0700 (PDT), Anil Saini <[EMAIL PROTECTED]> a icrit : > how can we update openBSD system for vuneralbility > > tell me steps to update system security regularly You can follow -stable branch: http://openbsd.org/faq/faq5.html#Flavors - Nicolas.
Re: Beep-media-player and esd
Landry Breuil a icrit : > On Sat, Apr 19, 2008 at 01:19:50PM +0200, Nicolas Letellier wrote: >> Hello ports@ >> >> I upgraded to 4.3-current (from 4.3-stable) and I installed audio/beep-media-player and I see it requires esound be launched. Why? >> So, I must launch esd before (and esd play a sound at the beginning). I don't remember I had to do this before... Beep-media-player worked perfectly without I had to launch esound. > > 4.3-stable doesn't really exist at the moment.. and audio/bmp hasn't > changed since months, so i suppose it's a local problem. > Yes, 4.3-stable does not really exists... I use a system built from OPENBSD_4_3 if you prefer... I saw that audio/bmp has not changed, but audio/esound yes. But I don't think it is the problem... I don't understand why now I must launch esd. >> Is there a possibility to launch esound automatically (with Xfce for example). > > Settings -> autostarted applications > Ok, I will try. I would like to know if users who use bmp have to launch esd to play music? Thanks. - Nicolas.
Re: Problem with libiconv-1.9.2p3 on 4.2
Hi. On 4.2, you must install xbase set (which contains lib expat). Or waint for 4.3, this problem is fixed. - Nicolas. Eric Pancer a icrit : There seems to be a problem with the libiconv-1.9.2p3 package; I took it from the main FTP server, as well as several mirrors and had this problem. $ date Fri Mar 14 03:47:34 CDT 2008 $ uname -a OpenBSD foo.example.org 4.2 GENERIC#375 i386 $ sudo pkg_add gettext-0.14.6p0.tgz Can't install gettext-0.14.6p0: lib not found expat.8.0 Dependencies for gettext-0.14.6p0 resolve to: libiconv-1.9.2p3 Full dependency tree is libiconv-1.9.2p3 $ md5 libiconv-1.9.2p3.tgz MD5 (libiconv-1.9.2p3.tgz) = e0c719123bc569b450898b20c910cd46 $ pkg_info -L libiconv-1.9.2p3.tgz Information for file:./libiconv-1.9.2p3.tgz Files: /usr/local/lib/libcharset.so.1.0 /usr/local/lib/libiconv.so.4.0 /usr/local/bin/iconv /usr/local/include/iconv.h /usr/local/include/libcharset.h /usr/local/include/localcharset.h /usr/local/lib/charset.alias /usr/local/lib/libcharset.a /usr/local/lib/libcharset.la /usr/local/lib/libiconv.a /usr/local/lib/libiconv.la /usr/local/man/man1/iconv.1 /usr/local/man/man3/iconv.3 /usr/local/man/man3/iconv_close.3 /usr/local/man/man3/iconv_open.3 /usr/local/share/doc/libiconv/iconv.1.html /usr/local/share/doc/libiconv/iconv.3.html /usr/local/share/doc/libiconv/iconv_close.3.html /usr/local/share/doc/libiconv/iconv_open.3.html
halt -p does not work with GENERIC.MP on 4.2-STABLE
Hello, I use OpenBSD 4.2-stable with a core2duo laptop. When I use GENERIC kernel, 'halt -p' works perfectly. However, when I use GENERIC.MP, 'halt -p' does not work and says : apm0: APM set power state: interface not connected (3) the operating system has halted Please press any key to reboot As you can see, the machine does not shutdown powerdown with GENERIC.MP. Powerdown works with GENERIC. I copied my /bsd.mp to /bsd to use it as default kernel. With GENERIC.MP avec 'config -ef /bsd', I tried to disable apm. Same result. I tried to enable acpi. Same result. I tried to enable acpi and apm in the kernel, same result. I tried to enable apmd_flags="-C" in /etc/rc.conf.local, same result. I don't understand why powerdown the machine is impossible with GENERIC.MP. With a Core2Duo CPU, I would like to user SMP kernel. Or, is SMP kernel really important with a double core CPU? See my dmesg : OpenBSD 4.2-stable (GENERIC.MP) #2: Fri Jan 25 09:53:58 CET 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Genuine Intel(R) CPU T2300 @ 1.66GHz ("GenuineIntel" 686-class) 1.67 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,EST,TM2,xTPR real mem = 1073115136 (1023MB) avail mem = 1029959680 (982MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 07/27/06, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.3 @ 0xfc660 (35 entries) bios0: vendor American Megatrends Inc. version "A6JCMAS.219 " date 07/27/2006 bios0: ASUSTeK Computer Inc. A6JC 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 3.0 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf56b0/224 (12 entries) pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801GBM LPC" rev 0x00) pcibios0: PCI bus #5 is the last bus bios0: ROM list: 0xc/0xf000 mainbus0: Intel MP Specification (Version 1.4) cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 166 MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Genuine Intel(R) CPU T2300 @ 1.66GHz ("GenuineIntel" 686-class) 1.67 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,EST,TM2,xTPR mainbus0: bus 0 is type PCI mainbus0: bus 1 is type PCI mainbus0: bus 2 is type PCI mainbus0: bus 3 is type PCI mainbus0: bus 4 is type PCI mainbus0: bus 5 is type PCI mainbus0: bus 6 is type ISA ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130a2c06000a2c cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 1667 MHz (1404 mV): speeds: 1667, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82945GM MCH" rev 0x03 ppb0 at pci0 dev 1 function 0 "Intel 82945GM PCIE" rev 0x03 pci_intr_map: bus 0 dev 1 func 0 pin 2; line 3 pci_intr_map: no MP mapping found pci_intr_map: bus 0 dev 1 func 0 pin 3; line 4 pci_intr_map: no MP mapping found pci_intr_map: bus 0 dev 1 func 0 pin 4; line 5 pci_intr_map: no MP mapping found pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "NVIDIA GeForce 7300 Go" rev 0xa1 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: apic 2 int 21 (irq 3) azalia0: host: High Definition Audio rev. 1.0 azalia0: codec: Realtek ALC880 (rev. 8.0), HDA version 1.0 azalia0: codec: Motorola/0x3055 (rev. 7.0), HDA version 1.0 azalia0: codec[1]: No support for modem function groups azalia0: codec[1]: No audio function groups audio0 at azalia0 ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02 pci_intr_map: bus 0 dev 28 func 0 pin 2; line 3 pci_intr_map: no MP mapping found pci_intr_map: bus 0 dev 28 func 0 pin 3; line 4 pci_intr_map: no MP mapping found pci2 at ppb1 bus 2 re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x01: RTL8168 2 (0x3800), apic 2 int 16 (irq 11), address 00:18:f3:5b:f6:31 rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2 ppb2 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02 pci_intr_map: bus 0 dev 28 func 3 pin 2; line 3 pci_intr_map: no MP mapping found pci_intr_map: bus 0 dev 28 func 3 pin 3; line 4 pci_intr_map: no MP mapping found pci3 at ppb2 bus 3 wpi0 at pci3 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: apic 2 int 19 (irq 5), MoW2, address 00:13:02:dd:05:5f uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 2 int 23 (irq 7) uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 2 int 19 (irq 5) uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 2 int 18 (irq 4) uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 2 int 22 (irq 6) ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 2 int 23 (irq
problem with re driver
Hello, re driver freeze OpenBSD 4.2-current. This driver doesn't bug in NetBSD or FreeBSD. Users with re at pcie bus are suffering from this bug. Someting like: > ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x01: irq 10 > pci3 at ppb2 bus 3 > re0 at pci3 dev 0 function 0 "Realtek 8168" rev 0x01: RTL8168 2 > (0x3800), irq 10, address 00:1c:c0:0f:08:bf > rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2 In certain situation, we must force the re interface to 100baseTX, but it's not always true. So, is anybody using this driver *with a pcie bus* without problems? This situation could help to solve the problem. Thanks you Nicolas
Re: Updated ports/packages in -stable/-release
Hello Nick, That may be what you do, but you are generally wrong if that is your goal. The goal is that the BEST version of OpenBSD is -current. This goal is usually met. At home, I use -current version for 6 months. However, I'm in my society, and I must set up 10 development machines, and I would like to install OpenBSD on these machines. You recommend me to install OpenBSD -current on these machines? My actual boss want a **secure** system, and he believed that a Debian Linux is better than a OpenBSD. I believe it's not true. I use and I love OpenBSD. Again, the most robust, best supported, most secure version of OpenBSD is -current. What's the interest of -stable if -current is better? and in a few days, it will probably be 2.0.0.11. Don't fool yourself into thinking that running the newest version means you are "secure". In that case in particular, it just means you are running a version where they reacted to a few more bugs. "Better than IE" is the Mozilla goal, not "good". If you are doing things that expose yourself to Firefox vulnerabilities, you probably aren't going to save yourself by running the "lease insecure" version on a secure OS. I don't think that firefox 2.0.0.11 is very secured. I think that 2.0.0.11 is better secured than 2.0.0.6 :-) Let's say you plan on implementing a new machine today. Install -current. Really. In May, upgrade to the 4.3, and sit there for six months. In November, upgrade to 4.4. IF you are using some third party apps which have "issues" mid-cycle, bump to a snapshot, and update the packages. If a system bug is found that impacts you, bump to -stable. The -release/-stable spots are "resting points" in the upgrade cycle. But that new app should be set up and tested out on -current, not -release. Try to use the base OpenBSD system for as much of the system as you can. The fewer packages you have installed, the fewer special cases you will have to deal with. The fewer cutesie-crap apps you put in your servers, the less often you will have to take down your servers because of cutesie-crap bugs. I want a plan of updating machines. 2 solutions: * install -current OpenBSD and follow -current * install -stable every 6 months and follow -stable I want too "secured" ports. So, I must install -current and follow -current? If today I install -current, and 01 may I upgrade to 4.3-stable, I'll have "non upgraded packages/ports" until 01 november 2008. So, I install -current? Nicolas
Updated ports/packages in -stable/-release
Hello misc@, I have a question : If I want the last packages/ports, I use a -current system, with -current ports tree. Last updates of softwares are in -current. On the other hand, they're developpement versions, If I want a *very* stable system (in production for example), I use -release or -stable system. On the other hand, packages and ports are not updated even it's necessary (for example, the last mozilla-firefox is in 2.0.0.6 in ports tree -release and 2.0.0.10 in -current port tree). If I use openbsd, it's for security and stability. Or, I must do a choice between : * stability (-stable, -release) with no security updates of packages/ports, * security (-current) with a less stability. Why does OpenBSD team not make a -stable branch of the port tree ? It's necessary to security. What method does recommend to have updated applications in -stable or -release ? Thanks for your informations. Nicolas
Re: machine which freeze with openbsd 4.2
Hello everybody, thanks to all for your responses ! I have a laptop and a desktop. They have an 8169 NIC realtek... And these 2 machines freeze. When i disabling these NIC, i have no problems. In this page http://www.openbsd.org/i386.html, the chipset 8169 is not written. I think it doesn't work 'well'. So, in my laptop, I use wifi, and in the desktop, i bought another NIC :-) Thanks to everybody who help me ! Nicolas Mark Zimmerman a icrit : On Sun, Oct 21, 2007 at 09:32:36PM +0200, Matthieu Herrb wrote: On 10/21/07, Firas Kraiem <[EMAIL PROTECTED]> wrote: Nicolas Letellier wrote: Firas Kraiem a icrit : Salut ;) I have the very same problem on my laptop (running 4.2) and I've discovered that the freezings stop if I'm not using the built-in NIC (Realtek Gigabit 8169) but use an USB wifi adapter instead. If you also have a Realtek, maybe it could be due to a bug in the re driver ? Firas Are you sure about what you are saying ? I have already a laptop with this NIC and I have this problem; It means that there is a bug with gigabit realtek 8169 ? Nicolas That's what I saw on mine, anyway. Try to boot it without using using the NIC (i.e. delete /etc/hostname.re0) and see if the freezes stop. Firas I see the re(4) hanging my machine problem too. There are at least three open bug reports related to re hanging when used at gigabit speeds. You might try forcing it to 100baseTX. -- Mark -- Nicolas Letellier, administrateur systhmes Site personnel : http://nicoelro.net Curriculum-vitae : http://nletellier.info OpenBSD - free, functional and secure
Re: machine which freeze with openbsd 4.2
Denise H. G. a icrit : Try to boot without X and see if it still hangs. If it does not, this might be the problem of Xorg (the `nv' driver ?) Thanks for you response. I tested again and again this release of openbsd and my machine. I have the problem, with or without X launched... 2 minutes ago, the system freezed when i do a vim /var/log/Xorg.log, in a non-X session, with root. I don't understand why I have this problem... -- Nicolas Letellier, administrateur systhmes Site personnel : http://nicoelro.net Curriculum-vitae : http://nletellier.info OpenBSD - free, functional and secure
machine which freeze with openbsd 4.2
Hello, I obtained my CDs of OpenBSD 4.2 yesterday, at Open Source Days at Lyon. However, I have problems with my machine. This machine freezes after few minutes. I cannot do nothing and i must restart it with reset. This is my configuration : Core2Duo 4400 Motherboard Asustek P5B (Intel P965 Express) 2*1 Go DDR2 Corsair nVidia 8600 (doesn't works with Xorg < 7.2) SoundBlaster Audigy (no existing driver in BSD licence, but it's not important for me, at the moment) You can see my dmesg here : http://nicoelro.net/dmesg I have no informations in /var/log I use Xorg (tested with vesa driver and nv driver), and at the installation, I asked yes to "Do you expect to run the X window System". I already tested to activate acpi. Same results. So, I don't understand the problem... And I would like what it is ! I said all informations I have. Is an harware problem ? Do you have any idea ? Thanks you very much ! Nicolas -- Nicolas Letellier, administrateur systhmes Site personnel : http://nicoelro.net Curriculum-vitae : http://nletellier.info OpenBSD - free, functional and secure
Support for soundblaster audigy SE ?
Hello, is anyone could confirm to me that this sound card is supported by OpenBSD (4.1) ? I couldn't see it in this page http://openbsd.com/i386.html But, this sound card could use same driver than other soundblaster cards ? Thanks for the information ! :-) Nicolas -- Nicolas Letellier, administrateur systhmes Site personnel : http://nicoelro.net Curriculum-vitae : http://nletellier.info