ppp vs mgetty. Device busy.
I have use mgetty on FreeBSD and that work very well there for a long time (about 9 years). Currenlty I'd like to achieve the same behaviour on OpenBSD. The problem is ppp unable to open /dev/cua01 till mgetty shut down. ppp[7296]: tun0: Warning: deflink: /dev/cua01: Device busy I ran mgetty from /etc/ttys (like on FreeBSD): cua01 /usr/local/libexec/mgetty -D -n 4 -s 115200 dialup on secure And I have been test mgetty with old one config from FreeBSD. Does anyone there have idea, why ppp unable to open COM port on OpenBSD, but able to do it on FreeBSD??? OpenBSD localhost 4.5 200908010004#0 i386 mgetty+sendfax-1.1.36p0 -- /4625
Re: Defending OpenBSD Performance
On Fri, Sep 18, 2009 at 01:59:43PM +1200, Paul M wrote: I like fluidsynth. Well, I got it. Could you explain me how do you ran it? Are you serious? Is it looks like joke? fluidsynth -ni Unison.sf2 beethoven_-_5th_simphony.mid fluidsynth: warning: Ignoring sample *KPianoB5: can't use ROM samples fluidsynth: error: Couldn't set libsndio audio parameters as desired Failed to create the audio driver the way the manual says to. What make you think that I did not saw the manual? You should probably stop posting about now, you're starting to make yourself look realy bad. Your are talking about unrelated topics, Paul. I do not care about how everything looks there and I did not ask your opinion about how I look... Good or bad - it is indifferent for me. By the way, absence of constructive reply starting to make you look really bad. -- /4625
Re: Defending OpenBSD Performance
On Fri, Sep 18, 2009 at 04:09:04PM +0200, Alexandre Ratchov wrote: I think your problem can be traced to the different default voices. I've test timidity with a different sound fonts and with the same config, like I have one in FreeBSD, on the same PC. I wonder if FreeBSD's patch-playmidi would make any difference. It is not port or patch problem, but perfomance (on my opinion). maybe you don't. but for me, multichannel audio is more important for a desktop than some busted old software midi player. It would be nice to hope that there is exist good substitute for timidity, which able to produce sound with the same quality. did you try that timidity patch from freebsd I refered you to? Sure. But I'm sure, I should boot FreeBSD-4.11 to listen midi files. or you could use a less ancient midi player. Could you advice me one? I like fluidsynth. Well, I got it. Could you explain me how do you ran it? the way the manual says to. What make you think that I did not saw the manual? Feel free to ask for hints and to explain what you try to do with MIDI and -- most importantly -- with what MIDI hardware. Either privately or on the list, if you feel there's something others should know. I'd like nothing especially, just listen classical music in midi. sb1 at isapnp0 Creative SB AWE64 PnP, CTL0045, , Audio port 0x220/16,0x330/2,0 x388/4 irq 5 drq 1,5: dsp v4.16 midi1 at sb1: SB MPU-401 UART audio0 at sb1 Creative SB AWE64 PnP, CTL0022, , WaveTable at isapnp0 port 0x620/4 not configured -- /4625
Re: Defending OpenBSD Performance
On Wed, Sep 16, 2009 at 11:55:57PM +, Jacob Meuser wrote: I think your problem can be traced to the different default voices. I've test timidity with a different sound fonts and with the same config, like I have one in FreeBSD, on the same PC. I wonder if FreeBSD's patch-playmidi would make any difference. It is not port or patch problem, but perfomance (on my opinion). btw, FreeBSD doesn't support multichannel audio. Don't know do I really need multichannel. maybe you don't. but for me, multichannel audio is more important for a desktop than some busted old software midi player. It would be nice to hope that there is exist good substitute for timidity, which able to produce sound with the same quality. But I'm sure, I should boot FreeBSD-4.11 to listen midi files. or you could use a less ancient midi player. Could you advice me one? I like fluidsynth. Well, I got it. Could you explain me how do you ran it? -- /4625
Re: Defending OpenBSD Performance
On Thu, Sep 17, 2009 at 10:36:08PM +0100, Fred Crowson wrote: But, I'd like to have hard technicaly data to demonstrate that while Linux and FreeBSD may scale to a gazillion CPUs and PetaBytes of Memory that OpenBSD makes a fine firewall or desktop or mail server, etc and point out that the old article so many people cite is indeed *old*. Firewall and mail server - may be. But desktop would not be so fine. I've been using OpenBSD as my main desktop OS since 2.9 - it rocked then and it is awesome now. Fred PS YMMV - but for me it is far more stable, flexible, reliable, secure, and fun to use. PPS Thanks to the OpenBSD team I have an excellent desktop OS that I can also run servers with. I told once - problem with timidity still exist yet. This why I should boot FreeBSD-4.11 to listen classical music. However, when this one problem and problem with Fkeys will be fixed, I will be the first person who will say - OpenBSD - the best in the world desktop OS! -- /4625
Re: Defending OpenBSD Performance
On Thu, Sep 17, 2009 at 10:08:55PM +, Jacob Meuser wrote: I think your problem can be traced to the different default voices. I've test timidity with a different sound fonts and with the same config, like I have one in FreeBSD, on the same PC. I wonder if FreeBSD's patch-playmidi would make any difference. It is not port or patch problem, but perfomance (on my opinion). maybe you don't. but for me, multichannel audio is more important for a desktop than some busted old software midi player. It would be nice to hope that there is exist good substitute for timidity, which able to produce sound with the same quality. did you try that timidity patch from freebsd I refered you to? Sure. But I'm sure, I should boot FreeBSD-4.11 to listen midi files. or you could use a less ancient midi player. Could you advice me one? I like fluidsynth. Well, I got it. Could you explain me how do you ran it? the way the manual says to. What make you think that I did not saw the manual? -- /4625
Re: Defending OpenBSD Performance
On Wed, 16 Sep 2009 03:01:49 + Jacob Meuser wrote: But, I'd like to have hard technicaly data to demonstrate that while Linux and FreeBSD may scale to a gazillion CPUs and PetaBytes of Memory that OpenBSD makes a fine firewall or desktop or mail server, etc and point out that the old article so many people cite is indeed *old*. Firewall and mail server - may be. But desktop would not be so fine. 3) Also try to find thread with subject '/usr/ports/audio/timidity' in po...@openbsd.*** archive. I think your problem can be traced to the different default voices. I've test timidity with a different sound fonts and with the same config, like I have one in FreeBSD, on the same PC. btw, FreeBSD doesn't support multichannel audio. Don't know do I really need multichannel. But I'm sure, I should boot FreeBSD-4.11 to listen midi files. -- /4625
Re: Defending OpenBSD Performance
On Wed, 16 Sep 2009 17:47:08 +0100 - Tethys wrote: And that attitude is why OpenBSD will never be more than a hobby OS. The same words I can say about Linux. -- /4625
Re: Defending OpenBSD Performance
On Wed, 16 Sep 2009 14:20:05 -0400 Tom Smith wrote: Anyway, thanks for all the performance feedback. As to the others, in this thread, who find using or managing OpenBSD difficult, I'd say ...make OS for newbies, and only newbies will want to use this OS. -- /4625
Re: Defending OpenBSD Performance
On Wed, 16 Sep 2009 09:36:49 -0300 Christiano Farina Haesbaert wrote: Remember Optimization is the root of all evil from Knuth ? To act contrary to common sense would be ignore optimization. Look on MS Windows - each new version require more resources and constrain to buy new hardware every 2-3 years. -- /4625
Re: Defending OpenBSD Performance
On Wed, 16 Sep 2009 06:39:31 +0200 Bret S. Lambert wrote: 1) In X on OpenBSD 4.5 mouse cursor may freeze sometimes. On FreeBSD 4.11 (on the same PC) - never. Doesn't happen for me... Did you ever report this? with information to reproduce it? I do not think so. It is not a bug, I think. Just performance problem. I'll consider about bug report. By the way, I did send a few reports to ports maintainers. Got no response for a long time. If they were of the quality of the bug reports you've made on misc@, it's no goddamn wonder they didn't respond. What if I'm unable make better report? -- /4625
Re: Defending OpenBSD Performance
But, I'd like to have hard technicaly data to demonstrate that while Linux and FreeBSD may scale to a gazillion CPUs and PetaBytes of Memory that OpenBSD makes a fine firewall or desktop or mail server, etc and point out that the old article so many people cite is indeed *old*. Firewall and mail server - may be. But desktop would not be so fine. 3) Also try to find thread with subject '/usr/ports/audio/timidity' in po...@openbsd.*** archive. I think your problem can be traced to the different default voices. I've test timidity with a different sound fonts and with the same config, like I have one in FreeBSD, on the same PC. this is the frst time you ever said anything about what patches you're using, which is why I never took your report seriously. I wonder if FreeBSD's patch-playmidi would make any difference. It is not port or patch problem, but perfomance (on my opinion). btw, FreeBSD doesn't support multichannel audio. Don't know do I really need multichannel. maybe you don't. but for me, multichannel audio is more important for a desktop than some busted old software midi player. But I'm sure, I should boot FreeBSD-4.11 to listen midi files. or you could use a less ancient midi player. Could you advice me one? -- /4625
Re: Defending OpenBSD Performance
On Wed, Sep 16, 2009 at 11:55:57PM +, Jacob Meuser wrote: I wonder if FreeBSD's patch-playmidi would make any difference. It is not port or patch problem, but perfomance (on my opinion). well, that patch sure looks like it's correcting an inopportune typo. but I'm not a timidity user. I'm not going to spend time trying to test that, because it's hard to test regressions if you don't know how it was to begin with ... maybe you don't. but for me, multichannel audio is more important for a desktop than some busted old software midi player. Offered by you midi player cost my attention, I hope. But I'm sure, I should boot FreeBSD-4.11 to listen midi files. or you could use a less ancient midi player. Could you advice me one? I like fluidsynth. Thank you. I will see on it. Does fluidsynth support Unison and Utopia sound fonts? -- /4625
Re: Defending OpenBSD Performance
On Mon, 14 Sep 2009 13:39:46 -0400 Tom Smith wrote: But, I'd like to have hard technicaly data to demonstrate that while Linux and FreeBSD may scale to a gazillion CPUs and PetaBytes of Memory that OpenBSD makes a fine firewall or desktop or mail server, etc and point out that the old article so many people cite is indeed *old*. Firewall and mail server - may be. But desktop would not be so fine. 1) In X on OpenBSD 4.5 mouse cursor may freeze sometimes. On FreeBSD 4.11 (on the same PC) - never. 2) Please find and read following message: From: Hugo Villeneuve harpa...@*** To: m...@openbsd.*** Subject: wscons don't generate keyboard sequences as defined in terminfo db for vt220 [was: Re: F1-F10, 'HOME', 'END' keys.] 3) Also try to find thread with subject '/usr/ports/audio/timidity' in po...@openbsd.*** archive. -- /4625
Re: Fw: Re: 0~ and beep on switch from console to X.
On Sun, 13 Sep 2009 09:32:26 +0300 4625 wrote: 4625 escribiC3: On Sat, 12 Sep 2009 05:44:50 +0200 Jesus Sanchez wrote: If xterm window currently active in X and I'm switch from console to X by pressing Alt-F9 key, then xterm will beep and display 0~. I mean Ctrl-Alt-F9. on OpenBSD there are only 6 virtual consoles by default. to change from X to virtual console use Ctrl+Alt+F1 to F6 except which F5 to return X. You can change this on kernel configuration, checkout the FAQ before posting this. My kernel will create ttyC0 only. Next 10 consoles wsconscfg will create on boot. hmm, it looks OK to me... you should post this on misc@, I don't really know what else to do. Hope someone can help you with this issue better than me. It seem I have found what is going wrong. In some cases xterm will display the ^[[20~ sequence instead of 0~, which one correspondent to F9. When I hold down Ctrl-Alt-F9 a few ms., then there is no ${SUBJECT} occur. What is a best values for variables below to avoid the problem? keyboard.repeat.del1=250 keyboard.repeat.deln=50 -- /4625
Re: Defending OpenBSD Performance
On Wed, 16 Sep 2009 00:06:46 +0100 Owain Ainsworth wrote: But, I'd like to have hard technicaly data to demonstrate that while Linux and FreeBSD may scale to a gazillion CPUs and PetaBytes of Memory that OpenBSD makes a fine firewall or desktop or mail server, etc and point out that the old article so many people cite is indeed *old*. Firewall and mail server - may be. But desktop would not be so fine. 1) In X on OpenBSD 4.5 mouse cursor may freeze sometimes. On FreeBSD 4.11 (on the same PC) - never. Doesn't happen for me... Did you ever report this? with information to reproduce it? I do not think so. I'll consider about bug report. By the way, I did send a few reports to ports maintainers. Got no response for a long time. -- /4625
Fw: Re: 0~ and beep on switch from console to X.
Begin forwarded message: Date: Sunday, 13 Sep 2009 +0400 From: Jesus Sanchez To: 4625 Subject: Re: 0~ and beep on switch from console to X. 4625 escribiC3: On Sat, 12 Sep 2009 05:44:50 +0200 Jesus Sanchez wrote: If xterm window currently active in X and I'm switch from console to X by pressing Alt-F9 key, then xterm will beep and display 0~. I mean Ctrl-Alt-F9. If web browser window currently active there is in X, then he will open history toolbar. Still nothing on my install ... Want to supply more information?? 1) OpenBSD localhost 4.5 200908010004#0 i386 2) Part of /etc/ttys console /usr/libexec/getty std.9600 vt220 off secure ttyC0 /usr/libexec/getty std.9600 vt220 on secure ttyC1 /usr/libexec/getty std.9600 vt220 on secure ttyC2 /usr/libexec/getty std.9600 vt220 on secure ttyC3 /usr/libexec/getty std.9600 vt220 on secure ttyC4 /usr/libexec/getty std.9600 vt220 on secure ttyC5 /usr/libexec/getty std.9600 pcvt25 on secure ttyC6 /usr/libexec/getty std.9600 pcvt25 on secure ttyC7 /usr/libexec/getty std.9600 wsvt25 on secure ttyC8 /usr/libexec/getty std.9600 vt220 off secure ttyC9 /usr/libexec/getty std.9600 vt220 off secure ttyCa /usr/libexec/getty std.9600 vt220 off secure ttyCb /usr/libexec/getty std.9600 vt220 off secure tty00 /usr/libexec/getty std.9600 unknown off 3) Something else?.. As I understood, you're having problems to switch between X an virtual consoles (the ones without mouse) on OpenBSD there are only 6 virtual consoles by default. to change from X to virtual console use Ctrl+Alt+F1 to F6 except which F5 to return X. You can change this on kernel configuration, checkout the FAQ before posting this. My kernel will create ttyC0 only. Next 10 consoles wsconscfg will create on boot. hmm, it looks OK to me... you should post this on misc@, I don't really know what else to do. Hope someone can help you with this issue better than me. regards and good luck -Jesus -- /4625
0~ and beep on switch from console to X.
If xterm window currently active in X and I'm switch from console to X by pressing Alt-F9 key, then xterm will beep and display 0~. If web browser window currently active there is in X, then he will open history toolbar. -- /4625
Re: Cyrillic fonts in X Window. (fwd)
On Sun, 06 Sep 2009 13:00:04 +0400 Kaltashkin Eugene zhe...@gmail.com wrote: try run xterm -fn koi9x15 -rv As I told before (see my reply to shweg...@...), 'XTerm*locale: true' in ~.Xdefaults will be enough to solve the problem with cyrillic in xterm. Anyway, thanks for reply. -- xorg.conf -- Section InputDevice Identifier keyboard Driver kbd ... -- xorg.conf -- I have add string 'FontPath /usr/X11R6/lib/X11/fonts/cyrillic/' into xorg.conf, then I execute fc-cache. However, these fonts unavailable in X. What is going wrong? fc-cache -v Fontconfig error: Cannot load default config file /usr/X11R6/lib/X11/fonts/TTF: skipping, 23 fonts, 0 dirs /usr/X11R6/lib/X11/fonts/Type1: skipping, 29 fonts, 0 dirs /usr/X11R6/lib/X11/fonts/cyrillic: skipping, 0 fonts, 0 dirs - 4625
Re: Cyrillic fonts in X Window. (fwd)
On Sun, 6 Sep 2009 10:54:51 +0800 (CST) shweg...@gmail.com wrote: Well, I could never get cyrillic to work in xterm either, but only in gtk or qt apps. I don't know why it is, maybe it has to do with the lack of locale. So I just gave up long ago trying to use xterm (mlterm has the same issue) for this. Sorry I cannot be of any better help. If anybody know how to solve this I'd be very interested to know too. Anyway, thanks for to pay attention to. DESCRIPTION xlsfonts lists the fonts that match the given pattern. And command 'xlsfonts *koi8-r*' will display 962 matched items (for example '-cronyx-helvetica-medium-o-normal--18-180-75-75-p-98-koi8-r') which one, I assume, should be available for any apps. If so, then why xterm may does not display cyrillic in case when 'xterm*faceName' option given in ~/.Xdefaults? Finally, I have found the answer! xterm*faceName: courier xterm*faceSize: 22 XTerm*locale: true XTerm.vt220.renderFont: true Someone, please add this issue to FAQ. On my system, to use cyrillic in X I did not add any cyrillic fonts, but just these lines in xorg.conf (InputDevice section): Option XkbLayout us,ru(winkeys),de Option XkbOptions grp:lwin_toggle Option XkbVariant nodeadkeys This way you can toggle the russian keyboard with the left Windows key. It does not work with xterm just like that, you need uxterm or you can use roxterm or gnome-terminal etc. I'm trying to use TrueType fonts for xterm. The problem is xterm does not display cyrillic correctly. However, in the same time, almost all gtk and qt apps display cyrillic correctly. This problem still exist yet. I see no advices. -- Forwarded message -- Date: Fri, 31 Jul 2009 20:52:25 + To: misc@openbsd.org Subject: Cyrillic fonts in X Window. I have add string 'FontPath /usr/X11R6/lib/X11/fonts/cyrillic/' into xorg.conf, then I execute fc-cache. However, these fonts unavailable in X. What is going wrong? fc-cache -v Fontconfig error: Cannot load default config file /usr/X11R6/lib/X11/fonts/TTF: skipping, 23 fonts, 0 dirs /usr/X11R6/lib/X11/fonts/Type1: skipping, 29 fonts, 0 dirs /usr/X11R6/lib/X11/fonts/cyrillic: skipping, 0 fonts, 0 dirs -- 4625 -- 4625
Cyrillic fonts in X Window. (fwd)
This problem still exist yet. I see no advices. -- 4625 -- Forwarded message -- Date: Fri, 31 Jul 2009 20:52:25 + To: misc@openbsd.org Subject: Cyrillic fonts in X Window. I have add string 'FontPath /usr/X11R6/lib/X11/fonts/cyrillic/' into xorg.conf, then I execute fc-cache. However, these fonts unavailable in X. What is going wrong? fc-cache -v Fontconfig error: Cannot load default config file /usr/X11R6/lib/X11/fonts/TTF: skipping, 23 fonts, 0 dirs /usr/X11R6/lib/X11/fonts/Type1: skipping, 29 fonts, 0 dirs /usr/X11R6/lib/X11/fonts/cyrillic: skipping, 0 fonts, 0 dirs
display.vblank=on
In the file named '/etc/wsconsctl.conf' I have set up following options: display.vblank=on # enable vertical sync blank for screen burner display.screen_off=42 # set screen burner timeout to 60 seconds display.msact=off # disable screen unburn w/ mouse display.kbdact=on The problem is vertical sync blank will happen in X, no depends move I mouse or I type something there. OpenBSD 4.5 (200908010004) #0: Mon Aug 3 23:49:26 EEST 2009 r...@localhost:/sys/arch/i386/compile/200908010004 cpu0: Intel Pentium II (GenuineIntel 686-class, 512KB L2 cache) 349 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR real mem = 334000128 (318MB) avail mem = 314273792 (299MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 02/05/01, BIOS32 rev. 0 @ 0xfb1b0, SMBIOS rev. 2.1 @ 0xf0800 (29 entries) bios0: vendor Award Software International, Inc. version 4.51 PG date 02/05/01 bios0: Giga-Byte Technology CO., LTD i440BX-W977 apm0 at bios0: Power Management spec V1.2 (slowidle) apm0: AC on, battery charge unknown acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xf/0xb628 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdd60/128 (6 entries) pcibios0: PCI Exclusive IRQs: 11 pcibios0: PCI Interrupt Router at 000:07:0 (Intel 82371SB ISA rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0xc600! cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x03 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xe000, size 0x400 ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x03 pci1 at ppb0 bus 1 piixpcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x02 pciide0 at pci0 dev 7 function 1 Intel 82371AB IDE rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: ST340016A wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectors wd1 at pciide0 channel 0 drive 1: FUJITSU MPC3064AT wd1: 16-sector PIO, LBA, 6187MB, 12672450 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 wd2 at pciide0 channel 1 drive 0: ST3160815A wd2: 16-sector PIO, LBA48, 152627MB, 312581808 sectors atapiscsi0 at pciide0 channel 1 drive 1 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: Optiarc, DVD RW AD-5200A, 1.04 ATAPI 5/cdrom removable wd2(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 uhci0 at pci0 dev 7 function 2 Intel 82371AB USB rev 0x01: irq 11 piixpm0 at pci0 dev 7 function 3 Intel 82371AB Power rev 0x02: polling iic0 at piixpm0 lm1 at iic0 addr 0x2d: W83781D spdmem0 at iic0 addr 0x50: 64MB SDRAM non-parity PC100CL2 spdmem1 at iic0 addr 0x51: 256MB SDRAM non-parity PC133CL3 vga1 at pci0 dev 11 function 0 vendor NVIDIA, unknown product 0x032a rev 0xa1 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) isa0 at piixpcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: 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 pmsi0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pmsi0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 lm0 at isa0 port 0x290/8: W83781D lm1 detached npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec isapnp0 at isa0 port 0x279: read port 0x203 isapnp0: No current device for tag, card 1 sb1 at isapnp0 Creative SB AWE64 PnP, CTL0045, , Audio port 0x220/16,0x330/2,0x388/4 irq 5 drq 1,5: dsp v4.16 midi1 at sb1: SB MPU-401 UART audio0 at sb1 opl0 at sb1: model OPL3 midi2 at opl0: SB Yamaha OPL3 joy0 at isapnp0 Creative SB AWE64 PnP, CTL7002, PNPB02F, Game port 0x200/8 Creative SB AWE64 PnP, CTL0022, , WaveTable at isapnp0 port 0x620/4 not configured usb0 at uhci0: USB revision 1.0 uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1 biomask ef45 netmask ef45 ttymask ffdf mtrr: Pentium Pro MTRR support softraid0 at root root on wd2a swap on wd2b dump on wd2b wsdisplay0: screen 1 added (80x25bf, vt100 emulation) wsdisplay0: screen 2 added (80x25bf, vt100 emulation) wsdisplay0: screen 3 added (80x25bf, vt100 emulation) wsdisplay0: screen 4 added (80x25bf, vt100 emulation) wsdisplay0: screen 5 added (80x25bf, vt100 emulation) wsdisplay0: screen 6 added (80x25bf, vt100 emulation) wsdisplay0: screen 7 added (80x25bf, vt100 emulation) wsdisplay0: screen 8 added (80x25bf, vt100 emulation) wsdisplay0: screen 9 added (80x25bf, vt100 emulation) wsdisplay0: screen 10 added (80x25bf, vt100 emulation) -- 4625
mount FAT16 DOS partition
Sometimes I need to mount ${subject} or floppy disk where files have cyrillic in own names. The problem is Midnight Commander unable to copy such files from there. May be cause the char '?' present in file name. On FreeBSD this problem can be solved by '-W koi2dos' mount_msdos argument. OpenBSD localhost 4.5 200908010004#0 i386 -- 4625
pppd
pppd: PPP device not available. Why? -- 4625
Re: encryption
On Wed, 26 Aug 2009, My List Mail wrote: early 1990's. 64-bit block size. I realize there is no known cryptanalysis of it out in the public domain. But I would feel safer This is why I satisfied with blowfish. -- 4625
Re: TiMidity Port trouble
On Sat, 22 Aug 2009, matecocido wrote: I wont play a midi file, to do this i follow http://www.openbsd.org/faq/faq13.html#playaudio... I have OpenBSD 4.5 release. when i try to install TiMidity port, i have a trouble, in particular : - before download the source in many places i have: Size does not match for /usr/ports/distfiles/TiMidity++-2.13.2.tar.gz - and in some places (openbsd official mirrors) this file don't exist. Try to search file on google, then download it and check MD5. If MD5 ok, then copy file to /usr/ports/distfiles/ Hope this help. MD5 (TiMidity++-2.13.2.tar.gz) = 4a1644d1893437b372769cf331611e76 -- 4625
spam in misc list.
Why we should read this shit? -- 4625 -- Forwarded message -- From: Bank of America memberserv...@cua.com To: misc@openbsd.org Subject: You have 1 new message from Bank of America ! Dear customer We regret to inform you that your Bank of America Online Account has been temporarily suspended.
Re: spam in misc list.
On Mon, 17 Aug 2009, Ted Unangst wrote: Let me answer that question with another: why should we read messages about people whining about spam? It's actually worse than the spam itself in some cases. That's why I flag all complaints about spam as spam too. Your right. -- 4625
Re: spam in misc list.
On Tue, 18 Aug 2009, Aaron Mason wrote: Let me answer that question with another: why should we read messages about people whining about spam? It's actually worse than the spam It is simple: I do not wanna to see smap/fish message in message index. itself in some cases. 90% of mail clients have a delete button. Excercise it. No matter have or not. Traffic cost money. Why we should read this shit? -- Forwarded message -- From: Bank of America memberserv...@cua.com To: misc@openbsd.org Subject: You have 1 new message from Bank of America ! Dear customer We regret to inform you that your Bank of America Online Account has been temporarily suspended. -- Aaron Mason - Programmer, open source addict - Oh, why does everything I whip leave me? -- 4625
Re: /altroot
On Sat, 15 Aug 2009, Philip Guenther wrote: Is it correct string for /etc/fstab? /dev/wd2d /altroot ffs xx 0 0 Assuming /dev/wd2d is the correct partition, yes. (You're looking at the daily(8) manpage, right?) Sure. Original mount string for '/altroot' there was '/dev/wd2d /altroot ffs rw,nodev,nosuid 1 2'. Should df display the /altroot? Only if you mount it yourself. It is not normally mounted and therefore does not appear in 'df' output. (No point in displaying it, what with it being a duplicate of the root filesystem) Ok. Thanks. I do not see any messages about backup. How do I check if backup really happen? -- 4625
Re: /altroot
On Sun, 16 Aug 2009, Igor Sobrado wrote: Is it correct string for /etc/fstab? /dev/wd2d /altroot ffs xx 0 0 same device i am using here (a for root, b for swap, c entire disk, d for /altroot, and so on...) just two advices: (1) the /altroot filesystem must have the same size He have. Filesystem SizeUsed Avail Capacity Mounted on /dev/wd2a 223M 58.3M153M28%/ /dev/wd2d 223M 58.3M153M28%/altroot Wow, now I'm sure - backup happens here. But silencely... as the root (a) one (it may be slightly larger on architectures where root does not start at the beginning of the disk, like i386); (2) as Philip suggests you must read daily(8) to know how enabling back up of the root filesystem. my personal choice is setting ROOTBACKUP to 1 by hand and then run /etc/daily, this way /altroot will survive in case a mistake in the root filesystem remains unnoticed for more than twenty four hours. Should df display the /altroot? Only if you mount it yourself. It is not normally mounted and therefore does not appear in 'df' output. (No point in displaying it, what with it being a duplicate of the root filesystem) indeed, filesystems with xx as mount option are never mounted on boot. it is a backup filesystem -- automatically mounting it is a bad idea. -- 4625
Cursor blink frequency.
How to decrease cursor blink frequency? -- 4625
Re: /altroot
On Sun, 16 Aug 2009, Denny White wrote: Sure. Original mount string for '/altroot' there was '/dev/wd2d /altroot ffs rw,nodev,nosuid 1 2'. I do not see any messages about backup. How do I check if backup really happen? In daily output to root, the section of the message pertaining to the backup should look something similar to this: Backing up root filesystem: 131098+1 records in 131098+1 records out I see now. So, everything is fine! -- 4625
/altroot
Is it correct string for /etc/fstab? /dev/wd2d /altroot ffs xx 0 0 Should df display the /altroot? -- 4625
LED on language switch
How do I enable LED on language switch in console? -- 4625
mount FreeBSD '/usr' partition.
I have FreeBSD 4.11 installed on wd0 and OpenBSD 4.5 on wd2. The problem is I see no way how to mount FreeBSD /usr partition. Can any one help me? r...@localhost:~:0$ disklabel -n -v /dev/wd0c disklabel: warning, DOS partition table with no valid OpenBSD partition # /dev/wd0c: type: ESDI disk: ESDI/IDE disk label: ST340016A flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 4865 total sectors: 78165360 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # microseconds track-to-track seek: 0 # microseconds drivedata: 0 16 partitions: #size offset fstype [fsize bsize cpg] c: 781653600 unused i: 78156162 63 unknown Part of dmesg wd0 at pciide0 channel 0 drive 0: ST340016A wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectors wd1 at pciide0 channel 0 drive 1: FUJITSU MPC3064AT wd1: 16-sector PIO, LBA, 6187MB, 12672450 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 wd2 at pciide0 channel 1 drive 0: ST3160815A wd2: 16-sector PIO, LBA48, 152627MB, 312581808 sectors -- 4625
Re: wscons don't generate keyboard sequences as defined in terminfo db for vt220 [was: Re: F1-F10, 'HOME', 'END' keys.]
On Wed, 5 Aug 2009, Hugo Villeneuve wrote: On Fri, Jul 31, 2009 at 08:49:15PM +, 4625 wrote: How to achieve the adequate behaviour on pressing keys F1-F10 in GoldED+ (message editor); 'HOME' - return to begin of line, 'END' - end of line in bash prompt and some text/message editors? I will explain the problem. Golded+: F1-F5 keys should offer a lot of different functions (help, save, reply, etc...), but offer only 'Quit' actually. Message index should be appear on key F9, but it will happen on key F10 actually. On key F5 should be menu 'Answer In Area'. Such menu on F6 actually. The same problems in Midnight Commander. 'Alt-S', 'Alt-P', 'Alt-I', etc - should set message attributes, but display cyrillic letter actually. 'HOME' and 'END' keys will display the '~' almost everywhere in OpenBSD console. When wscons was imported in OpenBSD, they made odd decisions. Or kept NetBSD assumptions. wscons simulate perfectly an ANSI keyboard on almost all arch. Exactly how my Wyse 520 terminal does it. (Except END/HOME have are new codes and don't just reuse FIND/SELECT codes like many terminfo entries do.) My issues with that are: 1. Consoles set TERM to vt220 (/etc/ttys). The terminfo key information recorded for vt220 doesn't match what wscons keyboard generates. Perfectly good application getting they key sequence from the terminfo database can't correctly use F1-F10, HOME and END keys because of that. Since wscons is a virtual layer, it would not have cost much to have the keyboard generates key sequences from the default TERM OpenBSD sets the console. 2. termcap/terminfo databases are incorporated in 100s of unix-like operating system. Changes or new entries can take a while to get distributed everywhere. Taking a well distributed entry and simulating it completly can be more helpfull for cross compatibility than being right about how a hardware vt100/vt220 behave. 3. In pcvt times, keys matched the vt220 terminfo definitions. What I don't know: 1. Do vt100/vt220 terminals always shipped with that keyboard? The few terminal manufacturer left seem to all ship with PC like keyboards now with sometimes an ANSI keyboard option. (I was actually lent shortly a PS2 compatible ANSI keyboard recently. Didn't know they existed.) 2. Why in the decades of their existances (keyboards, vt220, vt100, termcap/terminfo database) there is no vt100 or vt220 like entries that correspond to what wscons beleive vt100/vt220 behave. 3. wscons is a generic driver for all architecture, maybe this behavior is important for one of them. I don't see why i386/macppc/mac68k/hppa needs that. sparc set TERM to sun so that's ok. The other ones I don't know. To the OP, the generic OpenBSD answer is use X. I might try to make a wsemul_vt100_keys.c patch and test it. Turn my rant in something usefull. At least send a proper bug report for this. Thank you for to pay attention to my problem. I will be waiting for patch. -- 4625
Re: F1-F10, 'HOME', 'END' keys.
On Mon, 3 Aug 2009, Richard Toohey wrote: 'HOME' and 'END' keys will display the '~' almost everywhere in OpenBSD console. openbsd home key tilde First link might help with the HOME and END keys; depending on what exactly you are doing. Maybe for ksh it would work, I don't know. First of all there is impropriety bind format: 'bind '^[[3'=prefix-2'. Bash advice to use the ':' instead of '='. Bash does not know 'prefix-2'. I have different scancode on HOME and END keys - ^[[7~, ^[[8~. So, when you say almost everywhere in OpenBSD console do you mean if you It is 'HOME' and 'END' keys related only. do, say Alt-Ctrl-F2 and log in, and then press ... F1you get 1~ No, ~ F2you get 2~ No again, ~ F5you get 5~ No, ~ The '~' on F1-F8 and '0~' on F9, '1~' on F10, '3~' on F11, '4~' on F12. HOME you get ~ END you get ~ Yes, ~ (So, at this point, we are completely outside X / xterm, nothing to do with bash, etc.) Did I say anything about X or xterm? -- 4625
Re: F1-F10, 'HOME', 'END' keys.
On Mon, 3 Aug 2009, Richard Toohey wrote: 'HOME' and 'END' keys will display the '~' almost everywhere in OpenBSD console. openbsd home key tilde First link might help with the HOME and END keys; depending on what exactly you are doing. Maybe for ksh it would work, I don't know. First of all there is impropriety bind format: 'bind '^[[3'=prefix-2'. Bash advice to use the ':' instead of '='. Bash does not know 'prefix-2'. I have different scancode on HOME and END keys - ^[[7~, ^[[8~. So, when you say almost everywhere in OpenBSD console do you mean if you do, say Alt-Ctrl-F2 and log in, and then press ... F1you get 1~ F2you get 2~ ... F5you get 5~ ... but ... F6you get 7~ F7you get 8~ ... HOME you get ~ END you get ~ (So, at this point, we are completely outside X / xterm, nothing to do with bash, etc.) Google openbsd function keys Second link seems to make Midnight Commander F-keys work ... With deafault MC configuration problem will be exist. However, he able to to learn keys. This feature will solve the problem (in MC). -- 4625
Re: Encrypted virtual disk.
On Sun, 2 Aug 2009, James wrote: We call that luck and a very good UPS. I call that good driver, without UPS. Seems definitely to be luck, good driver or not. No 'good driver' will completely mitigate the damage a power|other failure during a write on an encrypted disk would do. It is also probably a I write on encrypted disk not 24h/7. So, if power failure occur at idle time, file system will be clean. :-) documentation bug if the vncrypt man page doesn't mention this possibility. P.S. Folks, how long salt key could be? -- 4625
Re: F1-F10, 'HOME', 'END' keys.
On Sat, 1 Aug 2009, Richard Toohey wrote: 'HOME' and 'END' keys will display the '~' almost everywhere in OpenBSD console. openbsd home key tilde First link might help with the HOME and END keys; depending on what exactly you are doing. Maybe for ksh it would work, I don't know. First of all there is impropriety bind format: 'bind '^[[3'=prefix-2'. Bash advice to use the ':' instead of '='. Bash does not know 'prefix-2'. I have different scancode on HOME and END keys - ^[[7~, ^[[8~. -- 4625
Re: Encrypted virtual disk.
On Sat, 1 Aug 2009, Marco Peereboom wrote: Can anyone explain how to create encrypted virtual disk? (similar to vncrypt disk on FreeBSD). Google openbsd encrypted virtual disk Many thanks. Not sure if it is the same as FreeBSD's vncrypt, though. Yes, it is substitute of vncrypt. Many thanks again. There is one thing make abash me - warning about filesystem damage. For example, vncrypt'ed disk have never been damaged on power failure during 8 years of usage. We call that luck and a very good UPS. I call that good driver, without UPS. -- 4625
Re: Cyrillic fonts in X Window.
On Sat, 1 Aug 2009, Alexander Polakov wrote: Probably bitmap fonts are disabled. Take a look at /etc/fonts/conf.d. If there is no 70-yes-bitmaps.conf then link or copy it from /etc/fonts/conf.avail and use fc-cache -fv cd: /etc/fonts/conf.avail: No such file or directory % tar tvzf xetc46.tgz|grep conf.avail drwxr-xr-x root/wheel0 2009-07-29 21:45 ./etc/fonts/conf.avail OK, '70-yes-bitmaps.conf' present now in /etc/fonts/conf.d/. /usr/X11R6/lib/X11/fonts/cyrillic: caching, 0 fonts, 0 dirs Something is wrong with your install. And I guess what is going wrong. There was a few untar errors during install (with a brand new NEC device and Verbatim CD-RW!). I have untar those files by hands immediately, but something miss, as we see. -- 4625
F1-F10, 'HOME', 'END' keys.
How to achieve the adequate behaviour on pressing keys F1-F10 in GoldED+ (message editor); 'HOME' - return to begin of line, 'END' - end of line in bash prompt and some text/message editors? I will explain the problem. Golded+: F1-F5 keys should offer a lot of different functions (help, save, reply, etc...), but offer only 'Quit' actually. Message index should be appear on key F9, but it will happen on key F10 actually. On key F5 should be menu 'Answer In Area'. Such menu on F6 actually. The same problems in Midnight Commander. 'Alt-S', 'Alt-P', 'Alt-I', etc - should set message attributes, but display cyrillic letter actually. 'HOME' and 'END' keys will display the '~' almost everywhere in OpenBSD console. -- 4625
Cyrillic fonts in X Window.
I have add string 'FontPath /usr/X11R6/lib/X11/fonts/cyrillic/' into xorg.conf, then I execute fc-cache. However, these fonts unavailable in X. What is going wrong? fc-cache -v Fontconfig error: Cannot load default config file /usr/X11R6/lib/X11/fonts/TTF: skipping, 23 fonts, 0 dirs /usr/X11R6/lib/X11/fonts/Type1: skipping, 29 fonts, 0 dirs /usr/X11R6/lib/X11/fonts/cyrillic: skipping, 0 fonts, 0 dirs -- 4625
Encrypted virtual disk.
Can anyone explain how to create encrypted virtual disk? (similar to vncrypt disk on FreeBSD). -- 4625
Re: Cyrillic fonts in X Window.
On Sat, 1 Aug 2009, Alexander Polakov wrote: I have add string 'FontPath /usr/X11R6/lib/X11/fonts/cyrillic/' into xorg.conf, then I execute fc-cache. However, these fonts unavailable in X. What is going wrong? fc-cache -v Fontconfig error: Cannot load default config file /usr/X11R6/lib/X11/fonts/TTF: skipping, 23 fonts, 0 dirs /usr/X11R6/lib/X11/fonts/Type1: skipping, 29 fonts, 0 dirs /usr/X11R6/lib/X11/fonts/cyrillic: skipping, 0 fonts, 0 dirs Probably bitmap fonts are disabled. Take a look at /etc/fonts/conf.d. If there is no 70-yes-bitmaps.conf then link or copy it from /etc/fonts/conf.avail and use fc-cache -fv cd: /etc/fonts/conf.avail: No such file or directory -- 4625
Re: Encrypted virtual disk.
On Sat, 1 Aug 2009, Richard Toohey wrote: Can anyone explain how to create encrypted virtual disk? (similar to vncrypt disk on FreeBSD). Google openbsd encrypted virtual disk Many thanks. Not sure if it is the same as FreeBSD's vncrypt, though. Yes, it is substitute of vncrypt. Many thanks again. There is one thing make abash me - warning about filesystem damage. For example, vncrypt'ed disk have never been damaged on power failure during 8 years of usage. -- 4625
Re: xauth
On Sun, 19 Jul 2009, Jamie Griffin wrote: I installed OpenBSD4.5 yesterday and i'm having the exact same issue. Removing the ~/.Xauthority file does allow X to start again. just to follow up on that, i did find a duplicate entry in /etc/hosts and removing it has fixed the problem. Indeed, removing duplicate entry (in /etc/hotst) will fix this problem. -- 4625
Re: xauth
On Sat, 18 Jul 2009, Matthieu Herrb wrote: On first run and exit from X, I have 'Segmentation fault (core dumped)' (xauth.core). On all following startx command - window manager unable connect to X server, while '.Xauthority' file are present in '~/' (home) dir. Can anyone help me to fix this problem? OpenBSD localhost 4.5 200907101811#0 i386 1) does removing your .Xauthority change the behavior? 2) does it happen with the stock 4.5 GENERIC or GENERIC.MP kernels? How old is you X installation? Afaik this bug was fixed in march 09. My X come with OpenBSD 4.5 distributive. -- 4625
xauth
On first run and exit from X, I have 'Segmentation fault (core dumped)' (xauth.core). On all following startx command - window manager unable connect to X server, while '.Xauthority' file are present in '~/' (home) dir. Can anyone help me to fix this problem? OpenBSD localhost 4.5 200907101811#0 i386 -- 4625