Re: W32 codecs
It's on it's way. Jasper On Wed, 22 Jun 2005 13:58:17 -0700 Jacob Meuser [EMAIL PROTECTED] wrote: On Wed, Jun 22, 2005 at 03:38:14PM -0500, eric wrote: On Wed, 2005-06-22 at 15:15:21 -0500, Steve Tornio proclaimed... Looks like the port needs to be updated. The filename currently offered is all-20050412.tar.bz2. It doesn't look like mplayer keeps the older codecs around. Yep, that's all I changed all-20050216.tar.bz2 to all-20050412.tar.bz2 in the Makefile and used `NO_CHECKSUM=YES make install` you _could_ of course run 'make makesum', and then send a diff to the listed MAINTAINER ... -- [EMAIL PROTECTED]
Re: W32 codecs
On (22/06/05 13:58), Jacob Meuser wrote: Looks like the port needs to be updated. The filename currently offered is all-20050412.tar.bz2. It doesn't look like mplayer keeps the older codecs around. First I'll ask the MPlayer team to put it back. I've asked them in the past and they said they won't remove them, but it seems they forgot it.
Re: unusual behaviour mixerctl audioctl
Still get scambled noise with all of these commands. I'm using an IBM X40. device dev/audio, sampling 8000 --- # rec -c 1 -r 8000 -f U -s b -d /dev/audio myvoice.raw Send break (control-c) to end recording ^C # play -c 1 -r 8000 -f U -s b -d /dev/audio myvoice.raw device /dev/sound, sampling 8000 # rec -c 1 -r 8000 -f U -s b -d /dev/sound myvoice.raw Send break (control-c) to end recording ^C # play -c 1 -r 8000 -f U -s b -d /dev/sound myvoice.raw device /dev/sound, sampling 48000 - # rec -c 1 -r 48000 -f U -s b -d /dev/sound myvoice.raw Send break (control-c) to end recording ^C # play -c 1 -r 48000 -f U -s b -d /dev/sound myvoice.raw device /dev/audio, samping 48000 # rec -c 1 -r 48000 -f U -s b -d /dev/audio myvoice.raw Send break (control-c) to end recording ^C # play -c 1 -r 48000 -f U -s b -d /dev/audio myvoice.raw # audioctl -a name=ICH4 AC97 version=0x01 config=auich0 encodings=ulinear:8,mulaw:8*,alaw:8*,slinear:8*,slinear_le:16,ulinear_le:16*,slinear_be:16*,ulinear_be:16* properties=full_duplex,mmap,independent full_duplex=0 fullduplex=0 blocksize=1600 hiwat=40 lowat=1 monitor_gain=0 mode= play.rate=8000 play.channels=1 play.precision=8 play.encoding=mulaw play.gain=127 play.balance=32 play.port=0x0 play.avail_ports=0x0 play.seek=0 play.samples=0 play.eof=0 play.pause=0 play.error=0 play.waiting=0 play.open=0 play.active=0 play.buffer_size=65536 record.rate=8000 record.channels=1 record.precision=8 record.encoding=mulaw record.gain=191 record.balance=32 record.port=0x1 record.avail_ports=0x7 record.seek=0 record.samples=456960 record.eof=0 record.pause=0 record.error=0 record.waiting=0 record.open=0 record.active=0 record.buffer_size=65536 record.errors=0 On Wed, Jun 22, 2005 at 05:09:33PM -0700, Jacob Meuser wrote: On Wed, Jun 22, 2005 at 11:39:26PM +0100, Ed Wandasiewicz wrote: Following the faq, here is my output. Using /dev/audio and sox, I get scrambled noise. The bytes/sec dont match... # dd if=/dev/audio of=myvoice.raw 289+0 records in 289+0 records out 147968 bytes transferred in 4.636 secs (31917 bytes/sec) # dd if=myvoice.raw of=/dev/audio 289+0 records in 289+0 records out 147968 bytes transferred in 16.498 secs (8969 bytes/sec) what is the full output of 'audioctl -a' right after running there commands? I'm guessing that something (sample_rate, precision, channels or encoding) doesn't match between record and play. also note, auich(4) says, Some hardware implementations only support 48kHz sampling rates. did you try using /dev/sound as well? -- [EMAIL PROTECTED]
Re: interface groups and pf
Hi all. And is ALTQ will work on such groups? For example, I had altq on $ext_if_1 priq bandwidth 10Mb queue { q_pri_1, q_def_1 } queue q_pri_1 priority 7 queue q_def_1 priority 1 priq(default) altq on $ext_if_2 priq bandwidth 10Mb queue { q_pri_2, q_def_2 } queue q_pri_2 priority 7 queue q_def_2 priority 1 priq(default) So, can I dispense just one altq? altq on $grp priq bandwidth 10Mb queue { q_pri, q_def } queue q_pri priority 7 queue q_def priority 1 priq(default) -- engineer
Re: log watching
On Thu, Jun 23, 2005 at 01:09:07PM +0800, Uwe Dippel wrote: Yes, I did 'make search' in /usr/ports. And now I ask about your experiences: which one is recommended, respectively not so suitable for a smaller server directly connected to the Internet ? LogWatch works just fine on openbsd. -- stephen
Re: block outgoing smtp (enable only two servers)
block out log quick on $ext_if proto tcp from any to any !{ correo.urdi.com.ar, smtp.bourlot.com } port smtp don't woks . what's I doing wrong. Syntax. You have 2 destinations in that rule: any and ! {}. -Jason
Re: block outgoing smtp (enable only two servers)
Hi, On 2005-06-23T08:55, Roberto Pereyra wrote: Hi I have a simple question about pf. I want to block outgoing smtp traficc for all my users. I only pass smtp traffic to two smtp server (correo.urdi.com.ar, smtp.bourlot.com). This rule: block out log quick on $ext_if proto tcp from any to any !{ correo.urdi.com.ar, smtp.bourlot.com } port smtp don't woks . what's I doing wrong. maybe you should try: pass out quick on $ext_if proto tcp from any to { 201.252.250.3, 200.80.42.124 } port smtp keep state block out log on $ext_if proto tcp from any to any port smtp hth (but reading pf faq also helps), Marcus.
Re: trouble compiling kernel with aac
Yeah, I do hope that it does continue to not be broken as well, as I have a Dell PowerEdge that has a PERC2 controller, and at this point there is no money to replace any hardware in my lab, until we move to a new facility, which won't happen until June 2006. I really wish that Adaptec would just throw some docs at you guys, but despite my pleas to them, nothing has happened. And considering that in June, I'm planning on purchasing over $50,000 worth of new computer equipment, I would have thought they'd want me to keep buying Adaptec. Jason On 6/22/05, Brad Brad [EMAIL PROTECTED] wrote: Well that's the official stance, but i'd hope the developers realise that many people have already purchased adaptec and will mainain the driver for breakages even if its not officially compiled in. Brad. From: Jason Crawford [EMAIL PROTECTED] Reply-To: Jason Crawford [EMAIL PROTECTED] To: O b s d [EMAIL PROTECTED] CC: misc@openbsd.org Subject: Re: trouble compiling kernel with aac Date: Wed, 22 Jun 2005 10:21:33 -0400 The OP was trying to compile it on amd64, which it won't work on. You're using it on i386, which it *sort of* works on. But it was removed from the GENERIC kernel for i386 right before 3.7 was tagged, and if there has been any work done to the kernel which might have broken aac, no one would know (or care) since it's no longer supported, and since Adaptec has made it quite clear they don't like us. On 6/22/05, O b s d [EMAIL PROTECTED] wrote: Don't use Adaptec RAID (aac). I does not work. Works fine for me in 3.5 using dell perc 3/Di (aac). Has the driver regressed any in 3.7? Brad. _ SEEK: Over 80,000 jobs across all industries at Australia's #1 job site. http://ninemsn.seek.com.au?hotmail
Re: trouble compiling kernel with aac
And if the driver breaks on i386 I am sure someone will care. On the other hand I honestly don't think any developer is using or will be using Adaptec on amd64. Why would we? On Jun 22, 2005, at 10:52 PM, Brad Brad wrote: Well that's the official stance, but i'd hope the developers realise that many people have already purchased adaptec and will mainain the driver for breakages even if its not officially compiled in. Brad. From: Jason Crawford [EMAIL PROTECTED] Reply-To: Jason Crawford [EMAIL PROTECTED] To: O b s d [EMAIL PROTECTED] CC: misc@openbsd.org Subject: Re: trouble compiling kernel with aac Date: Wed, 22 Jun 2005 10:21:33 -0400 The OP was trying to compile it on amd64, which it won't work on. You're using it on i386, which it *sort of* works on. But it was removed from the GENERIC kernel for i386 right before 3.7 was tagged, and if there has been any work done to the kernel which might have broken aac, no one would know (or care) since it's no longer supported, and since Adaptec has made it quite clear they don't like us. On 6/22/05, O b s d [EMAIL PROTECTED] wrote: Don't use Adaptec RAID (aac). I does not work. Works fine for me in 3.5 using dell perc 3/Di (aac). Has the driver regressed any in 3.7? Brad. _ SEEK: Over 80,000 jobs across all industries at Australia's #1 job site. http://ninemsn.seek.com.au?hotmail
Re: OpenBSD 3.7, xorg.conf for dual head matrox mga?
On Wed, Jun 22, 2005 at 01:29:26PM +0200, chefren wrote: Is there someone who has a working dual monitor matrox X11 configuration? Yep... but i'm always hit by the same bug: only one monitor gets initialized ( https://bugs.freedesktop.org/show_bug.cgi?id=615 ). Getting both to work is a mess... switch monitors in xorg.conf, start x so the second monitor gets the initialization, stop x, reenable the dual config and final start x again with both monitors up. Sucks but works (as long there's no fix). Regards, Simon
Re: server disaster, forking failure?
I still haven't resolved the problems on this machine. I had to have I'm sure that you're frustrated at this point not knowing how to resolve this issue and having to do it remotely at that :( If everything else is working at this point and you have pf enabled as you should, then it's a matter of remote administration using ssh. It has already been suggest to setup a serial cable as an out-of-band alternative way to get to your box. I am assuming that the admins at the co-location site would be able to help you out here. Once set up, you'll have an easier time trying to troubleshoot and resolve your remote access issue. 5-One other interesting thing to note is that /var/log/authlog was around 21,000 lines when I checked it. The OS install is only about 5 days old. I moved ssh to a non-standard port to try to help reduce the random break-in attempts. I have found the following ssh_blocker to be very helpful in my fight against taps on port 22. http://blackshell.usebox.net/pub/shell/ I would really like to use OpenBSD on this machine. If I can't figure it out in the next day or two, I will have to switch to another operating system. I highly doubt that it is an operating system issue. However, since you're running a snapshot, I can't be 100% sure. What I do know is that I've never had any stability issues with OpenSSH or OpenBSD for that matter in all the years that I've been using it. That comment probably doesn't help you much at this point but we've not much to go by. A dmesg would be helpful but you're best bet is either to get to this box or get to the console via a serial cable from another box. Mark T. Uemura OpenBSD Support Japan Inc. www.openbsd-support.com
HA firewall
Hi all, I'm trying to setup an ha firewall using carp and pfsync. I tried 3.6 and 3.7 version but both test fails with different kernel panic. In my last attempt I used the 3.7 version (-stable) on both the firewall but after some hours the primary box fails with this kernel panic: panic: kernel diagnostic assertion state-timeout PFTM_MAX failed: file /usr/src/sys/net/pf.c, line 887 Stopped at Debugger+0x4: leave RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC! DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION! ddb Debugger(e388eed8,d06d2000,d06d3df4,d5e22000,d5e22000) at Debugger+0x4 panic(d04dea80,d04affb7,d04d5c83,d04d5c9d,377) at panic+0x63 tablefull(d04affb7,d04d5c9d,377,d04d5c83,d05ab760) at tablefull pf_purge_expired_src_nodes(d5e22000,,d0563170,d06d3e30,20) at pf_purge_expired_src_nodes pf_purge_expired_states(30,d01feb16,d0b68a80,d06d3e54,d01021b1) at pf_purge_expired_states+0x33 pf_purge_timeout(d05ab72c,5305,3,0,0) at pf_purge_timeout+0x15 ... (the ddb log stop here) Is there someone that used OpenBSD in a similar configuration ? Paolo
CARP PFSYNC and Apache
Hello, I'm a newbie to OpenBSD and I'm looking at designing a redundant webserver and MySQL server. I think I have the MySQL side covered with the MySQL functionality. However, I'm curious to know if anyone has used CARP/PFSYNC as a primary and secondary Apache server. The Apache server will use a virtual name, so an IP address probably won't be a problem. There is a firewall already in front of the OpenBSD box. The goal is to have minimal downtime if there is a hardware failure. Thoughts? Suggestions? Thanks in advance, Mike
Re: block outgoing smtp (enable only two servers)
Syntax. You have 2 destinations in that rule: any and ! {}. Thanks that was wrong. roberto 2005/6/23, Jason Haag [EMAIL PROTECTED]: block out log quick on $ext_if proto tcp from any to any !{ correo.urdi.com.ar, smtp.bourlot.com } port smtp don't woks . what's I doing wrong. Syntax. You have 2 destinations in that rule: any and ! {}. -Jason
Re: HA firewall
I configured the two firewalls as the basic example described here: http://www.countersiege.com/doc/pfsync-carp/ I already reported a similar bug (http://thread.gmane.org/gmane.os.openbsd.misc/83948) but until now I didn't received any reply. Before report another bug I would like to know if someone else had similar experiences. Thanks Paolo knitti ha scritto: On 6/23/05, Paolo Perrucci [EMAIL PROTECTED] wrote: Hi all, I'm trying to setup an ha firewall using carp and pfsync. I tried 3.6 and 3.7 version but both test fails with different kernel panic. In my last attempt I used the 3.7 version (-stable) on both the firewall but after some hours the primary box fails with this kernel panic: panic: kernel diagnostic assertion state-timeout PFTM_MAX failed: file /usr/src/sys/net/pf.c, line 887 Stopped at Debugger+0x4: leave RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC! DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION! ddb Debugger(e388eed8,d06d2000,d06d3df4,d5e22000,d5e22000) at Debugger+0x4 panic(d04dea80,d04affb7,d04d5c83,d04d5c9d,377) at panic+0x63 tablefull(d04affb7,d04d5c9d,377,d04d5c83,d05ab760) at tablefull pf_purge_expired_src_nodes(d5e22000,,d0563170,d06d3e30,20) at pf_purge_expired_src_nodes pf_purge_expired_states(30,d01feb16,d0b68a80,d06d3e54,d01021b1) at pf_purge_expired_states+0x33 pf_purge_timeout(d05ab72c,5305,3,0,0) at pf_purge_timeout+0x15 ... (the ddb log stop here) Is there someone that used OpenBSD in a similar configuration ? no one knows your configuration. http://www.openbsd.org/faq/faq2.html#Bugs --knitti -- = Paolo Perrucci Program Manager [EMAIL PROTECTED] [EMAIL PROTECTED] Ludonet S.p.A. www.ludonet.org EUTELIA Via G.V. Bona, 67 00156 (GRA Tiburtina) ROMA ITALIA telefono +39 06.41797.205 fax +39 06.41797.898 =
Re: Can't rebuilt aliases.db file...?
On Thu, Jun 23, 2005, Timothy Horie wrote: I'm trying to rebuild my /etc/mail/aliases file after changing it but it isn't working. Check that you reference the right file: grep AliasFile `sendmail -bt -d0.14 /dev/null | awk '/Conf.*selected/ {print $3}'` Then run sendmail -bi -v
Re: Can't rebuilt aliases.db file...?
On Thu, Jun 23, 2005 at 08:45:29AM -0700, Timothy Horie wrote: Hello, I'm trying to rebuild my /etc/mail/aliases file after changing it but it isn't working. does it work if you back out your changes? Can someone give me some hints? The aliases.db file isn't supposed to be 0 bytes. it is indeed not supposed to be 0 bytes; at least as far as mine goes... if it worked and you changed a thing and then it doesn't work, it might be a good idea in that situation to revert the change and then see if it can work again, if it works again, try the change again and maybe it was a bit of human error or so. it would also likely be *MUCH* easier to paste a copy of the aliases file (should've been in your original posting) than it would be to come up with a valid argument as to how anyone could provide an answer for you without having seen said source aliases file. run it through sed first: $ sed -nel /etc/mail/aliases or (if you fancy) [EMAIL PROTECTED] sed -nel /etc/mail/aliases and inspect. could help you spot any ambiguities. jared - [ openbsd 3.7 GENERIC ( jun 10 ) // i386 ]
Re: CARP PFSYNC and Apache
On Jun 23, 2005, at 11:21 AM, Mike Koponick wrote: I'm a newbie to OpenBSD and I'm looking at designing a redundant webserver and MySQL server. I think I have the MySQL side covered with the MySQL functionality. However, I'm curious to know if anyone has used CARP/PFSYNC as a primary and secondary Apache server. The Apache server will use a virtual name, so an IP address probably won't be a problem. There is a firewall already in front of the OpenBSD box. The goal is to have minimal downtime if there is a hardware failure. Yours is a very simple application of OpenBSD and CARP. Unless you're planning on doing filtering on each server (in addition to the ingress filtering you already mentioned), there's no need for pfsync. -- Jason Dixon DixonGroup Consulting http://www.dixongroup.net
Re: CARP+FW+VPN+NAT
--On 23 June 2005 13:12 -0300, Gustavo Rios wrote: i am completely new to CARP. AFAIK, one is able to build redundant firewall using CARP. What i wonder is if a build a VPN (with IPSEC) in the same firewall it will be redundant to, i.e., is it possible to be redundant ? You might be interested in sasyncd(8) from -current.
Re: CARP PFSYNC and Apache
On 6/23/05, Mike Koponick [EMAIL PROTECTED] wrote: Hello, I'm a newbie to OpenBSD and I'm looking at designing a redundant webserver and MySQL server. I think I have the MySQL side covered with the MySQL functionality. However, I'm curious to know if anyone has used CARP/PFSYNC as a primary and secondary Apache server. The Apache server will use a virtual name, so an IP address probably won't be a problem. There is a firewall already in front of the OpenBSD box. The goal is to have minimal downtime if there is a hardware failure. Thoughts? Suggestions? Thanks in advance, Mike Luckily for you, HTTP is a stateless protocol, so unless your users in are mid file download, they will not notice a difference if the primary web server goes down. That is also assuming that the content on both your web servers are kept in sync, otherwise they might see old content or access files that aren't on your secondary web server, even though they are on the primary. There are many ways to do that easily enough though, like rsync, or cvs, or some other file server that they both sync to.
Re: Install on Multiple Disks
snip The only tricky part is after configuring the first disk, it will default to done. No, just specify the second, then the third. Thanks, I will reinstall later this week, and look for the done prompt. snip All that being said... 1) WHY do you feel the need to allocate all your storage space on three drives? If you don't have files to put in those partitions, and you aren't likely to ever have files to put in them, allocating the space will cause you many problems and solve none for you (i.e., longer fsck times after tripping over the power cord, possible memory exhaustion if you have really large drives to fsck on a small amount of RAM) Well, after a rash of drive failures I am left with just a 2gig, 4gig, and 7gig drive available for my test server. I know that I really don't *NEED* to use all three (the seven gig could hold the entire OS and all ports if I wanted it to.) But I am at the point in my learning curve where I feel like I need to do stupid stuff that breaks the OS, and then learn how to fix it. It will both show me 1.) what the stupid stuff *is* and 2.) force me to learn more of the OS (if I don't break it I am inclined to just let it run idle on my table until the end of days, or until I decide to try another, different OS) 2) IF you are dedicating an entire drive to swap, I think you are in one of a few situations: a) You have WAY too little RAM in the system. 128M RAM and 20G of swap is not a good idea, at least if you really need 20G of RAM b) you are trying to use a very old disk, and you will discover that very old disks are much slower than new disks (i.e., you will get much better performance putting swap on a new, fast disk than on an old, slow disk) c) Expecting magical performance gains out of swapping to a separate drive. Hint: If you are wanting performance gains out when swapping, there is a much better, vastly superior way to get it. 3) If you have three IDE disks, you might be dissapointed by your attempting to implement the ideal of different file systems on different drives. My swap drive would be the 2 gig, and yes it is a very old disk. However, I don't feel the need to purchase a newer drive with faster access speeds for this machine. This is just a learning experience for me. I will put some cash into a new machine if I learn enough of OBSD that I want to implement it into a production server. What you wish to do is trivial. But examine carefully the WHY of doing it. A lot of theoretically better reasons for doing somethings don't stand up to close examination in real life. Three disks means at least three times the failure points. Thanks for the input. I was trying for the theoretically better performance on this machine, but that was only one of the reasons why I wanted to install the OS in this manner (and a fairly low one at that.) Some of my other reasons I have already stated. As a Windows Sys Admin I don't administrate any *nix type machines at this time, however I see a great deal of use and profitability out of using an Open Source OS. OpenBSD being my favorite choice of all Open Source projects at this time; I wanted to use it in a test bed to see if I actually have a functioning brain cell left after Microsoft has brow beat me with there technologies. Again, thanks for your help, Gabe Nick.
Netra X1 and Serial from OpenBSD
Hi, I've googled for that to the point of madness and finally have broken down. I've got a Netra X1 running OpenBSD 3.6 and would like to SSH into it and then serial to another box. I've got the serial cable set up and know that most problems such as this arise from a faulty cable, but I'd like to be sure that my configuration is correct as well. I've plugged the serial cable into the serial port on the back of the Netra X1 (not the console port). I've added the following line to /etc/remote: test|For sparc,mvme68k:\ :dv=/dev/ttyb:br:#9600:tc=direct:tc=unixhost: I then type tip test and get the following: $ tip test /dev/ttyb: Device not configured link down It seems that no matter what device I use in /etc/remote, I get a Device not configured error. Am I using the correct device on this hardware? Thanks.
Userland Threading
I was reading an article on kerneltrap.org about the new rthreads being in the kernel. Is this in current yet or is it still not ready. Because I know nothing about this and I'm just trying to learn, is this implemented in all architectures similarly? Just curious. Thanks, Brandon
Re: Netra X1 and Serial from OpenBSD
Making, drinking tea and reading an opus magnum from byte_jump: [Charset ISO-8859-1 unsupported, filtering to ASCII...] Hi, I've googled for that to the point of madness and finally have broken down. I've got a Netra X1 running OpenBSD 3.6 and would like to SSH into it and then serial to another box. I've got the serial cable set up and know that most problems such as this arise from a faulty cable, but I'd like to be sure that my configuration is correct as well. I've plugged the serial cable into the serial port on the back of the Netra X1 (not the console port). I've added the following line to /etc/remote: test|For sparc,mvme68k:\ :dv=/dev/ttyb:br:#9600:tc=direct:tc=unixhost: I then type tip test and get the following: $ tip test /dev/ttyb: Device not configured link down It seems that no matter what device I use in /etc/remote, I get a Device not configured error. Am I using the correct device on this hardware? it's tty01 -- paranoic mickey (my employers have changed but, the name has remained)
Re: CARP PFSYNC and Apache
Hi Mike, However, I'm curious to know if anyone has used CARP/PFSYNC as a primary and secondary Apache server. The Apache server will use a virtual name, so an IP address probably won't be a problem. There is a firewall already in front of the OpenBSD box. This is what I do: http://marc.theaimsgroup.com/?l=openbsd-miscm=110310018304062w=2 I use no special options for the carp interfaces, no pfsync (though I could) and only refer to the shared carp IP-address and associated FQDN in my Apache config. If you'd like, I could send you some of my procedures, off list. It's really low level, non tech stuff. That's it... Nico
Re: Netra X1 and Serial from OpenBSD
I tried using /dev/tty01 and got: $ tip test can't open log file /var/log/aculog. connected This seems to have worked, but I couldn't get any sort of response and had to terminate the session. Perhaps I need to check my cable now. :-) Thanks. On 6/23/05, Michael Shalayeff [EMAIL PROTECTED] wrote: it's tty01 -- paranoic mickey (my employers have changed but, the name has remained)
Slow PCI write access to twe or pciide
Hi all, I have a problem with the RS480M2-IL mainboard from MSI. The problem is that I cannot write with more than 29 MB/s to a disk on any add-on PCI IDE/RAID controller, even not to a raid 0 array. I even get only 14 MB/s to a raid 1 array. I tried to attach a 3ware Escalade 7006-2 with 2 disks. I even tried some unknown IDE controller (ITE chip) on the PCI slots. I both tried OpenBSD/i386 and OpenBSD/amd64. The onboard IDE controller is forced to use DMA mode, since it was 10x slower otherwise because the controller did not report that DMA could be used. I tried the disks and controllers on another mainboard, and I could get at least 53 MB/s on the raid 0 array and 34 MB/s to an individual disk. Speeds were mesured with 'dd if=/dev/zero of=/mnt/100mb bs=1m count=100' This is the dmesg from the OpenBSD/amd64 installed were i had to include the twe driver myself. The same problem exists though with OpenBSD/i386's GENERIC kernel. Every suggestion is welcome, I already tried to tweak anything in the bios, doesn't change a thing, FreeBSD also has this same problem. OpenBSD 3.7 (CUSTOM) #0: Wed Jun 22 19:49:34 CEST 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/CUSTOM real mem = 518582272 (506428K) avail mem = 433680384 (423516K) using 12711 buffers containing 52064256 bytes (50844K) of memory mainbus0 (root) cpu0 at mainbus0: (uniprocessor) cpu0: AMD Athlon(tm) 64 Processor 3200+, 1990.06 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,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 pchb0 at pci0 dev 0 function 0 vendor ATI, unknown product 0x5950 rev 0x00 ppb0 at pci0 dev 1 function 0 vendor ATI, unknown product 0x5a3f rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 5 function 0 vendor ATI, unknown product 0x5954 rev 0x00 wsdisplay0 at vga1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ohci0 at pci0 dev 19 function 0 vendor ATI, unknown product 0x4374 rev 0x00: irq 7, version 1.0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered ohci1 at pci0 dev 19 function 1 vendor ATI, unknown product 0x4375 rev 0x00: irq 7, version 1.0, legacy support usb1 at ohci1: USB revision 1.0 uhub1 at usb1 uhub1: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 4 ports with 4 removable, self powered vendor ATI, unknown product 0x4372 (class serial bus subclass SMBus, rev 0x04) at pci0 dev 20 function 0 not configured pciide0 at pci0 dev 20 function 1 vendor ATI, unknown product 0x4376 rev 0x00: DMA, (partial support), channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: Maxtor 5T040H4 wd0: 16-sector PIO, LBA, 39083MB, 80043264 sectors pciide0: channel 1 ignored (not responding; disabled or no drives?) pciide0:0:0: using DMA data transfers vendor ATI, unknown product 0x4377 (class bridge subclass ISA, rev 0x00) at pci0 dev 20 function 3 not configured ppb1 at pci0 dev 20 function 4 vendor ATI, unknown product 0x4371 rev 0x00 pci2 at ppb1 bus 2 twe0 at pci2 dev 2 function 0 3ware Escalade IDE RAID rev 0x01: irq 11 twe0: Escalade V1.3 scsibus0 at twe0: 16 targets sd0 at scsibus0 targ 0 lun 0: 3WARE, Host drive #00, SCSI2 0/direct fixed sd0: 152636MB, 19458 cyl, 255 head, 63 sec, 512 bytes/sec, 312598784 sec total rl0 at pci2 dev 3 function 0 Realtek 8139 rev 0x10: irq 10 address 00:11:09:fa:e5:b5 rlphy0 at rl0 phy 0: RTL internal phy VIA VT6306 FireWire rev 0x80 at pci2 dev 4 function 0 not configured pchb1 at pci0 dev 24 function 0 AMD AMD64 HyperTransport rev 0x00 pchb2 at pci0 dev 24 function 1 AMD AMD64 Address Map rev 0x00 pchb3 at pci0 dev 24 function 2 AMD AMD64 DRAM Cfg rev 0x00 pchb4 at pci0 dev 24 function 3 AMD AMD64 Misc Cfg rev 0x00 isa0 at mainbus0 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 (mux 1 ignored for console): console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 sysbeep0 at pcppi0 dkcsum: wd0 matched BIOS disk 80 dkcsum: sd0 matched BIOS disk 81 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 # pcitweak -l PCI: Probing config type using method 1 PCI: Config type is 1 PCI: PCI scan (all values are in hex) PCI: 00:00:0: chip 1002,5950 card 1462,7141 rev 00 class 06,00,00 hdr 00 PCI: 00:01:0: chip 1002,5a3f card , rev 00 class 06,04,00 hdr 01 PCI: 00:13:0: chip 1002,4374 card 1462,7141 rev 00 class 0c,03,10 hdr 80 PCI: 00:13:1: chip 1002,4375 card 1462,7141 rev 00 class 0c,03,10 hdr 00 PCI: 00:14:0: chip
time offset of bios clock different from Utc?
Hello, how can one set the time offset of the bios clock different from UTC? -Hanspeter
Re: Netra X1 and Serial from OpenBSD
Google won't help you. Use dmesg and the manpages. OK, first dmesg to find the real serial io ports. If necessary man every device listed in dmesg. I think you'll find that you have a zs or a sab device. man sab Look in the FILES and SEE ALSO sections of the manpage. The message you get means that the carrier detect part of the driver hasn't yet detected a carrier. Traditional ways to deal with this were to re-wire the connector to cheat, or to use a driver (often by a mode bit in mknod) which ignores carrier. ttyb is AFAIK deprecated in favor of ttyNN. -sam
The Bible is a PROVEN HOAX
Click here, www.hoax-buster.org for more information. This is a paid advertisement. any views are not in any way our opinion as the advertiser of this ad. If you wish to be taken off this list please reply
Re: time offset of bios clock different from Utc?
On 6/24/05, Hanspeter Roth [EMAIL PROTECTED] wrote: how can one set the time offset of the bios clock different from UTC? You obviously haven't searched the archives Please do so before posting; it'll save you from getting flamed. Your question is rather old (so you'll get an old RTFA, dating back to 2001). http://marc.theaimsgroup.com/?l=openbsd-miscm=100897442502411w=2 Cheers, Rogier -- If you don't know where you're going, any road will get you there.
ural and AMD64
These are not in AMD64 GENERIC, but I gave it a go. It worked well. In hostap clients just worked (at 54M), in client (BSS) mode it's just as good as on i386. Are there issues with ural on AMD64? OpenBSD 3.7-current (GENERIC+URAL) #0: Thu Jun 23 12:14:17 BST 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC+URAL real mem = 1005121536 (981564K) avail mem = 850051072 (830128K) using 22937 buffers containing 100720640 bytes (98360K) of memory mainbus0 (root) cpu0 at mainbus0: (uniprocessor) cpu0: AMD Athlon(tm) 64 Processor 3200+, 2000.33 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,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 pchb0 at pci0 dev 0 function 0 ATI RS480 Host rev 0x00 ppb0 at pci0 dev 1 function 0 ATI RS480 PCIE rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 5 function 0 ATI Radeon XPRESS 200 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pciide0 at pci0 dev 17 function 0 ATI IXP400 SATA rev 0x00: DMA pciide0: using irq 10 for native-PCI interrupt pciide0: port 0: device present, speed: 1.5Gb/s wd0 at pciide0 channel 0 drive 0: Maxtor 6Y120M0 wd0: 16-sector PIO, LBA, 117246MB, 240121728 sectors wd0(pciide0:0:0): using BIOS timings, Ultra-DMA mode 6 pciide0: port 1: device present, speed: 1.5Gb/s wd1 at pciide0 channel 1 drive 0: Maxtor 6Y120M0 wd1: 16-sector PIO, LBA, 117246MB, 240121728 sectors wd1(pciide0:1:0): using BIOS timings, Ultra-DMA mode 6 pciide1 at pci0 dev 18 function 0 ATI IXP400 SATA rev 0x00: DMA pciide1: using irq 11 for native-PCI interrupt pciide1: port 1: device present, speed: 1.5Gb/s wd2 at pciide1 channel 1 drive 0: ST380817AS wd2: 16-sector PIO, LBA48, 76319MB, 156301488 sectors wd2(pciide1:1:0): using BIOS timings, Ultra-DMA mode 6 ATI IXP400 SMBus rev 0x04 at pci0 dev 20 function 0 not configured pciide2 at pci0 dev 20 function 1 ATI IXP400 IDE rev 0x00: DMA (unsupported), channel 0 configured to compatibility, channel 1 configured to compatibility wd3 at pciide2 channel 0 drive 0: ST3120026A wd3: 16-sector PIO, LBA48, 114473MB, 234441648 sectors atapiscsi0 at pciide2 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: SONY, DVD RW DRU-700A, VY05 SCSI0 5/cdrom removable ATI IXP400 ISA rev 0x00 at pci0 dev 20 function 3 not configured ppb1 at pci0 dev 20 function 4 ATI IXP400 PCI rev 0x00 pci2 at ppb1 bus 2 uhci0 at pci2 dev 5 function 0 VIA VT83C572 USB rev 0x50: irq 10 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci2 dev 5 function 1 VIA VT83C572 USB rev 0x50: irq 3 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ehci0 at pci2 dev 5 function 2 VIA VT6202 USB rev 0x51: irq 11 usb2 at ehci0: USB revision 2.0 uhub2 at usb2 uhub2: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 4 ports with 4 removable, self powered rl0 at pci2 dev 11 function 0 Realtek 8139 rev 0x10: irq 5 address 00:01:2e:0b:55:1b rlphy0 at rl0 phy 0: RTL internal phy VIA VT6306 FireWire rev 0x80 at pci2 dev 12 function 0 not configured ATI IXP400 AC'97 rev 0x00 at pci0 dev 20 function 5 not configured pchb1 at pci0 dev 24 function 0 AMD AMD64 HyperTransport rev 0x00 pchb2 at pci0 dev 24 function 1 AMD AMD64 Address Map rev 0x00 pchb3 at pci0 dev 24 function 2 AMD AMD64 DRAM Cfg rev 0x00 pchb4 at pci0 dev 24 function 3 AMD AMD64 Misc Cfg rev 0x00 isa0 at mainbus0 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 pmsi0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pmsi0 mux 0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 sysbeep0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 ural0 at uhub2 port 4 ural0: Belkin Belkin 54g USB Network Adapter, rev 2.00/0.01, addr 2 uhidev0 at uhub0 port 1 configuration 1 interface 0 uhidev0: Logitech USB Mouse, rev 1.10/20.10, addr 2, iclass 3/1 ums0 at uhidev0: 3 buttons and Z dir. wsmouse1 at ums0 mux 0 ural0: MAC/BBP RT2570 (rev 0x03), RF RT2526, address 00:11:50:6a:2c:24 wd0: no disk label dkcsum: wd0 matched BIOS disk 81 wd1: no disk label dkcsum: warning: dup BSD-BIOS disk mapping dkcsum: wd1 had no matching BIOS disk dkcsum: wd2 matched BIOS disk 80 wd3: no disk label dkcsum: wd3 matched BIOS disk 82 root on wd2a rootdev=0x20 rrootdev=0x320 rawdev=0x322
Re: OpenBSD 3.7, xorg.conf for dual head matrox mga?
chefren wrote: Is there someone who has a working dual monitor matrox X11 configuration? I put the xorg.conf and dmesg at http://shockley.net/OpenBSD/dmesg/leviathan.tar.gz. I've got a G450, not using the Matrox HAL thing.
Re: server disaster, forking failure?
Winston Williams wrote: This is a continuation of my 'sshd suddenly not responding' message from Tuesday. So you start a new thread. *sigh* And you continue to waste our time by not providing real information. Hint: if we all aren't saying, Me, too!, you have an unusual problem, and you have to explain what is different about YOUR machine vs. our machines...which often get uptimes that only prove we aren't keeping them properly updated. in other words.. DMESG, DAMMIT! Wild A**ed Guess: You have something on the box that is either using or leaking lots of memory, and the system is memory-locking. Processes are asking for RAM, there is none available, so the process waits for some other task to release some RAM, but that never happens, so the machine seems to lock. Yes, this happens. Any task already running which needs NO additional RAM will continue to work, but nothing new will start (in short: the box responds to pings, and almost nothing else). This could be caused by not enough real RAM, not enough swap (which also means, not enough real RAM), and/or apps which either pig out on RAM or leak it. Solution is to fix your apps, add memory and/or swap. Seeing a dmesg, configuration information, applications, etc. would give me some idea if this might be right or not. Lacking that, I'm declaring myself right and moving on. :) Nick.
Re: Netra X1 and Serial from OpenBSD
byte_jump wrote: I tried using /dev/tty01 and got: $ tip test can't open log file /var/log/aculog. connected This seems to have worked, but I couldn't get any sort of response and had to terminate the session. Perhaps I need to check my cable now. :-) yes. That's what happens when you got the right port and wrong cable. Nick.
Re: server disaster, forking failure?
Winston Williams wrote: This is a continuation of my 'sshd suddenly not responding' message from Tuesday. I still haven't resolved the problems on this machine. I had to have someone at the data center reboot the machine so that I could get back in over ssh. After they rebooted the machine, I was able to work for about 20 minutes before the ssh session (and sshd) died again. I put /sbin/reboot in the crontab and tested it, and the machine rebooted. I left that in the crontab to run hourly, and I also put in another entry to kill and restart sshd every 30 minutes. I also let that run and it worked. I stopped qmail and I disabled pf but I left apache running. After that 20 minutes or so, my ssh session died unexpectedly, and when I went to reconnect, the socket opens on that port but then it just sits forever. It never shows the OpenSSH banner and nothing further happens. Apache is still running and working fine. Here is where it gets really strange... The crontab for reboot does not run now, and neither does the crontab to restart ssh. I know it is not rebooting because I run hping and it never has an interruption. I now suspect that the machine is unable to fork new processes. Here are the results of some tests that I have run: 1-When I connect via SSH, the socket connects but then just sits before any data is sent. I suspect that the main process listens and accepts the connection, but then tries to fork a new process and fails. 2-named is still running and seems to be working fine 3-Nothing on cron seems to run at this point. I tested the entires in cron by letting them run while the system was operating normally, and they did work when the system was operating normally, like after a fresh reboot for that 20 minute or so window. After that, the reboot never happens and I don't think it is killing and restarting sshd either 4-Apache can still do it's thing. I am assuming this is because it automatically starts a number of processes right away. It has enough processes already running so that it does not need to fork when a new connection comes in. 5-One other interesting thing to note is that /var/log/authlog was around 21,000 lines when I checked it. The OS install is only about 5 days old. I moved ssh to a non-standard port to try to help reduce the random break-in attempts. I would really like to use OpenBSD on this machine. If I can't figure it out in the next day or two, I will have to switch to another operating system. Do any of you have any ideas for what I could try to either test out this fork failure theory, or other suggestions for what might be causing my problem? I have had 1 issue which maybe similar to this. 3.6 on a HP Netserver. The server was suspect so very little fault finding was done before it was replaced and many other boxes with 3.6 and 3.7 have zero problems. On the Netserver I blocked Linux OS from accessing ssh port with PF as I exclusively use OpenBSD and the problem did not occur again but as mentioned it was replaced fairly shortly afterwards. Steve
Apple iBook 300
Hi, I've installed OpenBSD 3.7 on iBook 300 from official CD. But in booting and Xorg, I get below messages. method backlight-off not found; ihandle=ffbc9600 phandle=ff93b470 method backlight-on not found; ihandle=ffbc9600 phandle=ff93b470 method set-contrast not found; ihandle=ffbc9600 phandle=ff93b470 I want to control backlight and contrast. Has anyone got any advice? I use GENERIC kernel. Dmesg output is below. [ using 308668 bytes of bsd ELF symbol table ] console out [ATY,RageM_Lp]console in [keyboard] ADB found : memaddr 9100 size 100, : consaddr 9100, : ioaddr 9002, size 2: memtag 8000, iotag 8000: width 800 linebytes 800 height 600 depth 8 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2005 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 3.7 (GENERIC) #225: Sun Mar 20 00:55:39 MST 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/macppc/compile/GENERIC real mem = 100663296 (98304K) avail mem = 81424384 (79516K) using 1228 buffers containing 5029888 bytes of memory mainbus0 (root) cpu0 at mainbus0: 750 (Revision 0x8300): 299 MHz: 512KB backside cache memc0 at mainbus0: uni-n mpcpcibr0 at mainbus0: uni-north, Revision 0xff pci0 at mpcpcibr0 bus 0 pchb0 at pci0 dev 11 function 0 Apple Uni-N AGP rev 0x00 vgafb0 at pci0 dev 16 function 0 ATI Mach64 LN rev 0x64, mmio wsdisplay0 at vgafb0: console (std, vt100 emulation) mpcpcibr1 at mainbus0: uni-north, Revision 0x0 pci1 at mpcpcibr1 bus 0 pchb1 at pci1 dev 11 function 0 Apple Uni-N rev 0x00 macobio0 at pci1 dev 23 function 0 Apple Keylargo rev 0x02 openpic0 at macobio0: version 0x4614 gpio_obio0 at macobio0 gpio_obio1 at gpio_obio0 irq 47 programmer-switch at gpio_obio0 not configured extint-gpio12 at gpio_obio0 not configured zsc0 at macobio0: irq 22,50 zstty0 at zsc0 channel 0 zstty1 at zsc0 channel 1 adb0 at macobio0 irq 25: via-pmu 3 targets aed0 at adb0 addr 0: ADB Event device akbd0 at adb0 addr 2: PowerBook G3 keyboard (Japanese layout) wskbd0 at akbd0 (mux 1 ignored for console): console keyboard, using wsdisplay0 ams0 at adb0 addr 3: EMP trackpad tpad 2-button, 400 dpi wsmouse0 at ams0 mux 0 abtn0 at adb0 addr 7: brightness/volume/eject buttons apm0 at adb0: battery flags 0x7, 100% charged ki2c0 at macobio0 wdc0 at macobio0 irq 19: DMA wd0 at wdc0 channel 0 drive 0: IBM-DBCA-203240 wd0: 16-sector PIO, LBA, 3102MB, 6354432 sectors wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2 wdc1 at macobio0 irq 20: DMA atapiscsi0 at wdc1 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: MATSHITA, CD-ROM CR-175, 5AAE SCSI0 5/cdrom removable cd0(wdc1:0:0): using BIOS timings, DMA mode 2 wdc2 at macobio0 irq 21: DMA ohci0 at pci1 dev 24 function 0 Apple USB rev 0x00: irq 27, version 1.0 usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: Apple OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ohci1 at pci1 dev 25 function 0 Apple USB rev 0x00: irq 0, version 1.0 usb1 at ohci1: USB revision 1.0 uhub1 at usb1 uhub1: Apple OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered mpcpcibr2 at mainbus0: uni-north, Revision 0x16 pci2 at mpcpcibr2 bus 0 pchb2 at pci2 dev 11 function 0 Apple Uni-N Eth rev 0x00 gem0 at pci2 dev 15 function 0 Apple GMAC rev 0x00: irq 41, address 00:0a:27:97:43:72 bmtphy0 at gem0 phy 0: BCM5201 10/100 PHY, rev. 2 bootpath: '/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/bsd' boot device: wd0. root on wd0a rootdev=0x0 rrootdev=0xb00 rawdev=0xb02 Best Regards. -- Tochy