Re: booting problem
On 5/11/07, alicornio [EMAIL PROTECTED] wrote: Hi all I can't boot my system after the instalation. My OS can't be finded. I follow the faq (4.12.2 - My i386 won't boot after install) and nothing change. But I can boot with CD typing b hd0a:\bsd. When I tried install again I saw a warning in disklabel stage: WARNING: inode blocks/cyl group (155) = data blocks (5) in last cylinder group. This implies 188 sector(s) cannot be allocated. What's happening? How I can solve this problem? Did you leave 63 sectors free at the start of the disk? This seems like something is getting overwritten poorly. -Nick
Re: booting problem
On Fri, 11 May 2007, alicornio wrote: Hi all I can't boot my system after the instalation. My OS can't be finded. I follow the faq (4.12.2 - My i386 won't boot after install) and nothing change. But I can boot with CD typing b hd0a:\bsd. When I tried install again I saw a warning in disklabel stage: WARNING: inode blocks/cyl group (155) = data blocks (5) in last cylinder group. This implies 188 sector(s) cannot be allocated. This is not a problem. It's just that a very small part o f your disk is not being used. What's happening? How I can solve this problem? Since you left out any details about your setup, we cannot help you with the booting problem. -Otto
Re: Failing to get [EMAIL PROTECTED] in X
Quoting Jimmy Mitchener ([EMAIL PROTECTED]): Try `sudo 915resolution 4d 1680 1050 32` If 4d is the only one that has 1680x1050 available you only have 16bit color, and you're trying to use 24, so it's not changing anything. Thanks for commenting; this is the relevant output from 915resolution: tori$ sudo 915resolution -l | grep 1680 Mode 3a : 1680x1050, 8 bits/pixel Mode 3c : 1680x1050, 8 bits/pixel Mode 4b : 1680x1050, 16 bits/pixel Mode 4d : 1680x1050, 32 bits/pixel Mode 5a : 1680x1050, 24 bits/pixel Mode 5c : 1680x1050, 32 bits/pixel With those settings, I get [EMAIL PROTECTED] - but again xwininfo -root shows that my actual desktop size is 1680x1050. -- I prefer the dark of the night, after midnight and before four-thirty, when it's more bare, more hollow.http://a.mongers.org
Re: pkg_add after manually installed stuff
On Thu, May 10, 2007 at 05:29:14PM -0700, Darrin Chandler wrote: Lately, mostly with ruby/RoR stuff I've manually installed some things such as gems. Later, there were ports/packages for these things. Using pkg_add then fails because files already exists. I've looked at various -F options, but none that I've tried work for this situation. To be able to install the package, I've had to go through the error output of pkg_add and manually remove any conflicting files (ok, I scripted it). Is there an easier way that I'm overlooking? Would this be worth adding another keyword for -F to just install the files even if they are there (same md5, even!)? Yes, yes, I should be submitting ports instead of just installing unported stuff. ;-P Known issue. Grabbing stuff which has the same md5 is reasonable, wiping out stuff if it's not under pkg control as well... Right now, I'm rather into removing extra stuff from pkg_add. Then I'll probably add some more...
Re: vpn in OBSD 4.1
On Fri, 11 May 2007, Adam Hawes wrote: You're well advised to go do some reading on your own. If you had you would have discovered that OpenVPN ahs a tutorial page for configuring the server, as does the readily available PPTP server. It's not a funny joke to be recommending PPTP to anybody. Some may miss the sarcasm and actually try to deploy it. Any further amount of reading (if done) would reveal that PPTP can't really be called secure and should be avoided. Its successor, L2TP, can be improved somewhat, at least the connections, by tunnelling over SSL. But then why not cut out the middleman and use SSL to begin with? Fewer parts that way. IPsec and SSL are your two options: http://www.vpnc.org/vpn-standards.html I'm wondering that since IPsec is part fo IPv6, the equivalent to an IPsec-on-IPv4 VPN could be made using IPv6 instead. Maybe that would be smarter in the long run. -Lars Lars NoodC)n ([EMAIL PROTECTED]) Ensure access to your data now and in the future http://opendocumentfellowship.org/about_us/contribute
Re: Failing to get [EMAIL PROTECTED] in X
On 5/10/07, Alex Holst [EMAIL PROTECTED] wrote: Quoting Jimmy Mitchener ([EMAIL PROTECTED]): Try `sudo 915resolution 4d 1680 1050 32` If 4d is the only one that has 1680x1050 available you only have 16bit color, and you're trying to use 24, so it's not changing anything. Thanks for commenting; this is the relevant output from 915resolution: tori$ sudo 915resolution -l | grep 1680 Mode 3a : 1680x1050, 8 bits/pixel Mode 3c : 1680x1050, 8 bits/pixel Mode 4b : 1680x1050, 16 bits/pixel Mode 4d : 1680x1050, 32 bits/pixel Mode 5a : 1680x1050, 24 bits/pixel Mode 5c : 1680x1050, 32 bits/pixel With those settings, I get [EMAIL PROTECTED] - but again xwininfo -root shows that my actual desktop size is 1680x1050. Have you checked your HorizSync/VertRefresh? I'd be willing to bet those are not correct. Check your display's specs. My Samsung 206BW uses the following: HorizSync 30 - 81 VertRefresh 56 - 75 Jimmy.
Re: cvsync broken?
[EMAIL PROTECTED] (Christian Weisgerber) writes: Hannah Schroeter [EMAIL PROTECTED] wrote: Just trying to cvsync my stuff. And it wants to remove quite much: The same mirroring problem that affected www.openbsd.org also affected the master repository mirror. The damage propagated to cvsync.de.openbsd.org and probably some other public mirrors. That's the usual problem with mirrors. They are also very good at mirroring errors. :) //art
Re: vpn in OBSD 4.1
so i must using ipsec for security reason , how about the client ( such us Microsoft ) can they use ipsec too. On 5/11/07, Lars D. Noodin [EMAIL PROTECTED] wrote: On Fri, 11 May 2007, Adam Hawes wrote: You're well advised to go do some reading on your own. If you had you would have discovered that OpenVPN ahs a tutorial page for configuring the server, as does the readily available PPTP server. It's not a funny joke to be recommending PPTP to anybody. Some may miss the sarcasm and actually try to deploy it. Any further amount of reading (if done) would reveal that PPTP can't really be called secure and should be avoided. Its successor, L2TP, can be improved somewhat, at least the connections, by tunnelling over SSL. But then why not cut out the middleman and use SSL to begin with? Fewer parts that way. IPsec and SSL are your two options: http://www.vpnc.org/vpn-standards.html I'm wondering that since IPsec is part fo IPv6, the equivalent to an IPsec-on-IPv4 VPN could be made using IPv6 instead. Maybe that would be smarter in the long run. -Lars Lars Noodin ([EMAIL PROTECTED]) Ensure access to your data now and in the future http://opendocumentfellowship.org/about_us/contribute -- sonjaya http://sicute.blogspot.com
PF and rdr rules
I got my pf set up. All works fine, except rdr rules. simply: pf won't redirect anything to internal servers. I change /etc/sysctl.conf: net.inet.ip.forwarding=1 net.inet.carp.allow=1 net.inet.carp.preempt=1 net.inet.ip.multipath=1 My scenario is: fw1 - rl0 - carp / pfsync devs - rl1 - No ip addr, and vinculed to carp1 ( with external IP ) - rl2 - Internal lan ip vinculed to carp0 ( with lan gateway ip ) and FW2 on the same way. Nat works fine, but rdr don't. pf.conf: ext_if=rl1 ext_carp_if=carp1 int_if=rl2 int_carp_if=carp0 pf_if=rl0 nat on $ext_if from lan_hosts to any - ($ext_carp_if) rdr on $ext_if inet proto tcp from any to ($ext_carp_if) port 22 - 192.168.0.200 port 22 rdr on $ext_if inet proto tcp from any to ($ext_carp_if) port 80 - 192.168.0.200 port 80 pass out all pass in all What i am doing so worng? Thanks!
Re: OpenBSD 4.1 install issue??
On Thu, May 10, 2007 at 11:25:39PM -0300, Marcos Laufer wrote: I upgraded to stable , rebooted with the new kernel, and i was stuck with this uvm_page_physload problem again. It looks like moving to stable from this snapshot is not possible . I had to go back to the snapshot kernel . Will it be possible to move to stable from this point? I really wouldn't like to have a production server running -current You can go to -stable when 4.2 is tagged, and not before. Of course, if you know what you are doing, you could try to backport the change you need to -stable... Joachim -- PotD: x11/xfce4/xfce4-clipman - clipboard history plugin for the xfce4 panel
Re: vpn in OBSD 4.1
On Fri, May 11, 2007 at 03:53:39PM +0700, sonjaya wrote: On 5/11/07, Lars D. Noodin [EMAIL PROTECTED] wrote: On Fri, 11 May 2007, Adam Hawes wrote: You're well advised to go do some reading on your own. If you had you would have discovered that OpenVPN ahs a tutorial page for configuring the server, as does the readily available PPTP server. It's not a funny joke to be recommending PPTP to anybody. Some may miss the sarcasm and actually try to deploy it. Any further amount of reading (if done) would reveal that PPTP can't really be called secure and should be avoided. Its successor, L2TP, can be improved somewhat, at least the connections, by tunnelling over SSL. But then why not cut out the middleman and use SSL to begin with? Fewer parts that way. IPsec and SSL are your two options: http://www.vpnc.org/vpn-standards.html I'm wondering that since IPsec is part fo IPv6, the equivalent to an IPsec-on-IPv4 VPN could be made using IPv6 instead. Maybe that would be smarter in the long run. so i must using ipsec for security reason , how about the client ( such us Microsoft ) can they use ipsec too. Yes, but don't use the stock IPsec client. Really, the archives are full of this discussion. Please take a good look there, first; if you encounter any problems, you are welcome to ask, but *please* search the archive first. Joachim -- TFMotD: release (8) - building an OpenBSD release
Re: Insecurity problem?
On Fri, May 11, 2007 at 09:29:08AM +1000, RW wrote: In the past I have always applied relevant patches and recompiled whatever was needed to take care of errata items. Nearly a week ago I decided to use a spare machine to track i386 4.1 stable, did what I was told (FAQ, thanks Nick et al!) : untarred sources, cvs updates, makes all went without hitches and just used a fair few hours. The build box now sends me email every day saying: Checking setuid/setgid files and devices: Setuid/device find errors: find: fts_read: No such file or directory I ran sh -v /etc/security 21 |less and searched for fts_read but the context is just waht you'd expect from the output above. I know that fts_read is a part of find but what is it looking for in vain? I get an itchy feeling that everything did not go as expected during update but the box seems to do whatever I try with no problems. Can you use debug 'echo' statements or somesuch to find out what command causes it? It could indeed be find, although I haven't ever seen this error message from find... Joachim -- TFMotD: rndc (8) - name server control utility
Re: Insecurity problem?
On 2007/05/11 11:36, Joachim Schipper wrote: On Fri, May 11, 2007 at 09:29:08AM +1000, RW wrote: In the past I have always applied relevant patches and recompiled whatever was needed to take care of errata items. Nearly a week ago I decided to use a spare machine to track i386 4.1 stable, did what I was told (FAQ, thanks Nick et al!) : untarred sources, cvs updates, makes all went without hitches and just used a fair few hours. The build box now sends me email every day saying: Checking setuid/setgid files and devices: Setuid/device find errors: find: fts_read: No such file or directory I ran sh -v /etc/security 21 |less and searched for fts_read but the context is just waht you'd expect from the output above. I know that fts_read is a part of find but what is it looking for in vain? I get an itchy feeling that everything did not go as expected during update but the box seems to do whatever I try with no problems. Can you use debug 'echo' statements or somesuch to find out what command causes it? from the output before the error, it must be 'Checking setuid/setgid files and devices': find / \( ! -fstype local \ -o -fstype procfs -o -fstype afs -o -fstype xfs \) -a -prune -o \ -type f -a \( -perm -u+s -o -perm -g+s \) -print0 -o \ ! -type d -a ! -type f -a ! -type l -a ! -type s -a ! -type p [and -print0 and a pipeline, but that's the important bit] Rod, you could try running this under ktrace and see what happens before the 'No such file or directory' error (ENOENT) is displayed, it may give you some clues.
Re: VNC server on OpenBSD (error allocating memory)
Are you using -current ports? Patched again but still getting the same errors. Thanks. On Wed, 9 May 2007, Stuart Henderson wrote: On 2007/05/08 16:17, Daniel Bolgheroni wrote: Applied the patch succesfully against 4.1 net/tightvnc, but getting the following error: Sorry, I missed -P when I generated the diff. It's fixed now. http://spacehopper.org/openbsd/tightvnc-1.3.8-update.txt I suggest any more discussion on this is moved to ports@
Re: Softupdates question
On Wed, May 09, 2007 at 12:03:40PM -0400, Peter Fraser wrote: I did read the papers. There is a difference between the file system being screwed and data lost. Softupdates hopefully stops the files system from being in a bad state, but it is amazing how much user data can be lost on a power failure while using softupdates. you can loose much more data w/o softdeps _and_ get your filesystem horribly broken. cu -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mickey Sent: Wednesday, May 09, 2007 11:49 AM To: Peter Fraser Cc: misc@openbsd.org Subject: Re: Softupdates question On Wed, May 09, 2007 at 10:45:15AM -0400, Peter Fraser wrote: I had always assumed the use of softupdates was safe as long as you could have reasonable assurances that the machine would not be shutdown without warning. (i.e. no loss of power or reset being hit). So if you had a UPS, good hardware, and no vandals it's good to use. actually if you bother to read the papers whole idea behind softdeps is to ensure better recoverability from crashes/power/etc. cu -- paranoic mickey (my employers have changed but, the name has remained) -- paranoic mickey (my employers have changed but, the name has remained)
TightVNC doesn't use non default fonts
I have setup a TightVNC server to work remotely on my OpenBSD box. I can connect successfully. I have installed the artwiz and the terminus fonts. In X (using fluxbox) I can use these fonts, but when I use TightVNC I can't use them. (They don't even show up in the font selector) Any ideas? Something of my installation: Running OpenBSD 4.1 (I had the same problem on 4.0, but I didn't install the fonts correct, I don't have a 4.0 box any more) I use xdm to login, the following is in my /etc/X11/xdm/Xservers: :0 local /usr/X11R6/bin/X vt05 :1 local /usr/local/bin/Xvnc :1 -geometry 1024x768 -depth 24 -desktop asterix -wm
Re: OpenBSD 4.1 install issue??
Looks like i'm miximng kernel and userspace versions because i did get the -release cd and installed it, but it didn' recognize my hardware , it wouldn't boot: http://i175.photobucket.com/albums/w132/winstonwaite/firstScreen.jpg http://i175.photobucket.com/albums/w132/winstonwaite/secondScreen.jpg So i found this thread wich says i should install the latest snapshot . What i didn't consider is that it was not possible to move to -stable from -current. I did tried to move to -stable (compiled kernel and booted) and it crashed like in those images up there, the same does when booting with -release cd , so i had to keep with -current kernel (and -current userland of course) I just wish OpenBSD 4.1 -release (too late for -release) or -stable could boot on my hardware, i can't fix that myself , i don't know how to backport the changes i need - Original Message - From: Ben Calvert [EMAIL PROTECTED] To: Marcos Laufer [EMAIL PROTECTED] Sent: Friday, May 11, 2007 12:33 AM Subject: Re: OpenBSD 4.1 install issue?? On May 10, 2007, at 7:25 PM, Marcos Laufer wrote: I upgraded to stable , rebooted with the new kernel, and i was stuck with this uvm_page_physload problem again. It looks like moving to stable from this snapshot is not possible . I had to go back to the snapshot kernel . 1. you can't upgrade down ( current stable ) 2. ths is not linux - from the above it sounds like you were mixing different kernel and userspace versions.. you can't do that either ( as you seem to have found out ) Will it be possible to move to stable from this point? possible? maybe. supported? no. I really wouldn't like to have a production server running -current so then you need to get the -release cd, and upgrade to -stable from there. Has anyone sorted this out? Marcos
Re: vpn in OBSD 4.1
On Fri, 11 May 2007, sonjaya wrote: so i must using ipsec for security reason , IPsec or SSL. You may wish to try IPsec with IPv6. That will future-proof your VPN, at least in theory, and raise the bar slightly for intrusion. how about the client ( such us Microsoft ) can they use ipsec too. I asked around a few weeks ago and have heard that MS systems can use IPsec. However, you will want to avoid any clients built into MS Windows and use instead the ones that come with the VPN or maybe third party ones. KVpnc is supposed to work with OpenVPN. However, by connecting MS Windows machines into your VPN you neutralize many of the security benefits that you may have in place. Not counting the holes resulting from the design and production flaws permeating the entire brand, apparently the EULAs now grant remote admin rights to third parties. Joachim mentions the archives. It would be nice to have an 'official' archive using the openbsd.org domain. As it stands, the contents of the existing archives seems to vary from site to site: http://www.openbsd.org/mail.html#Archives regards, -Lars Lars NoodC)n ([EMAIL PROTECTED]) Ensure access to your data now and in the future http://opendocumentfellowship.org/about_us/contribute
Re: OpenBSD serial terminal binary programs
On 5/10/07, Diana Eichert [EMAIL PROTECTED] wrote: On Thu, 10 May 2007, Jason McIntyre wrote: note that cu and tip have separate man pages now. jmc yeah, I just looked in one of the ssh sessions I had running, it's running 3.5. Can you use cu/tip to start a session with a box with no kernel to start a remote install? The man page says cu/tip establishes a full-duplex connection to another machine, giving the appearance of being logged in directly on the remote CPU. This part leads me to believe that it should be no problem, but reading further, It goes with-out saying that you must have a login on the machine (or equivalent) to which you wish to connect. Makes me think some sort of OS has to be present before using cu. I have a couple of sparc machines with no monitor/OS that I would love to throw an OS on.. Zach
Re: OpenBSD serial terminal binary programs
On 2007/05/11 08:51, Zach Keatts wrote: Can you use cu/tip to start a session with a box with no kernel to start a remote install? The man page says Depends on the box you're connecting to. I have a couple of sparc machines with no monitor/OS that I would love to throw an OS on.. You should generally be ok with sparc hardware, as long as you have a machine on the same network segment that can serve as a boot server to get things started. Start with diskless(8) - some of this is only needed when running the OS with root and swap mounted over NFS and is not necessary when you just want to boot bsd.rd to install onto local disk. To netboot most arch you'll be modifying /etc/{ethers,bootparams,hosts} and setting up tftpd if you don't have one already. For PCs (i386/amd64) there's less to do, you just need to setup tftpd and dhcpd, I don't think there's any OS with a simpler netboot procedure than OpenBSD - I buy the CD sets anyway but haven't used them in a long time...
Re: OpenBSD serial terminal binary programs
On Fri, 11 May 2007, Zach Keatts wrote: Can you use cu/tip to start a session with a box with no kernel to start a remote install? The man page says cu/tip establishes a full-duplex connection to another machine, giving the appearance of being logged in directly on the remote CPU. This part leads me to believe that it should be no problem, but reading further, It goes with-out saying that you must have a login on the machine (or equivalent) to which you wish to connect. Makes me think some sort of OS has to be present before using cu. I have a couple of sparc machines with no monitor/OS that I would love to throw an OS on.. Zach sure you can, but the hardware boot ROM has to support it. I ran most of my non-intel systems headless for years. If you're running i386/amd64 boxes a lot have a BIOS setting called console redirection or something similar. While it works it's no where near as friendly as the non-intel workstation/server ROM monitors. However as more and more intel/amd boxes showed up in lights out data centers the server manufactures started supporting real remote management solutions.
Re: booting problem
On 5/11/07, alicornio [EMAIL PROTECTED] wrote: Hi all I can't boot my system after the instalation. My OS can't be finded. I follow the faq (4.12.2 - My i386 won't boot after install) and nothing change. But I can boot with CD typing b hd0a:\bsd. When I tried install again I saw a warning in disklabel stage: WARNING: inode blocks/cyl group (155) = data blocks (5) in last cylinder group. This implies 188 sector(s) cannot be allocated. What's happening? How I can solve this problem? thx all Thiago If you post at least output of fdisk wd0 and disklabel wd0 commands...
Garbled line in dmesg = flakey hardware?
Hi, I found this in my dmesg this morning after rebooting a server that paniced. (Sorry, no chance to get a trace or ps--I'm still working on getting a serial connection to another box working.) scsibus1 at ami0: 16 targets safte0 at scsibus1 targ 6 lun 0: SUPER, GEM318, 0 SCSI2 3/processor fixed scsibus2 at ami0: 16 targets safte1 at scsibus2 targ 6 lun 0: \\240 PER, GEM318, 0 SCSI2 3/processor fixed Over the weekend I had to rebuild the RAID 1 set that lives in the safte1 enclosure when it went down hard. The first reboot after the panic the safte1 enclosure wasn't even in the dmesg. That RAID came up fine although bioctl -v sd2 showed noencl instead of safte1. Second reboot found the safte1 enclosure but with the garbled dmesg line. Does this mean the enclosure itself might be flakey? Full dmesg below, and thanks! Jeff OpenBSD 4.1-current (GENERIC.MP) #21: Mon Apr 23 01:30:33 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Xeon(TM) CPU 2.66GHz (GenuineIntel 686-class) 2.67 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR real mem = 2146988032 (2096668K) avail mem = 1950175232 (1904468K) using 4278 buffers containing 107474944 bytes (104956K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+ BIOS, date 02/09/05, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.3 @ 0xf82a0 (48 entries) pcibios0 at bios0: rev 2.1 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf2ff0/224 (12 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801CA LPC rev 0x00) pcibios0: PCI bus #5 is the last bus bios0: ROM list: 0xc/0x8000 0xc8000/0x1800 0xc9800/0x2200 acpi at mainbus0 not configured mainbus0: Intel MP Specification (Version 1.4) cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 133 MHz cpu1 at mainbus0: apid 6 (application processor) cpu1: Intel(R) Xeon(TM) CPU 2.66GHz (GenuineIntel 686-class) 2.67 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,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 8 pa 0xfec0, version 20, 24 pins ioapic1 at mainbus0: apid 9 pa 0xfec8, version 20, 24 pins ioapic2 at mainbus0: apid 10 pa 0xfec80400, version 20, 24 pins pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel E7501 MCH Host rev 0x01 ppb0 at pci0 dev 2 function 0 Intel E7500 MCH rev 0x01 pci1 at ppb0 bus 2 Intel 82870P2 IOxAPIC rev 0x04 at pci1 dev 28 function 0 not configured ppb1 at pci1 dev 29 function 0 Intel 82870P2 PCIX-PCIX rev 0x04 pci2 at ppb1 bus 5 Intel 82870P2 IOxAPIC rev 0x04 at pci1 dev 30 function 0 not configured ppb2 at pci1 dev 31 function 0 Intel 82870P2 PCIX-PCIX rev 0x04 pci3 at ppb2 bus 3 ppb3 at pci3 dev 3 function 0 IBM 133 PCIX-PCIX rev 0x03 pci4 at ppb3 bus 4 ami0 at pci4 dev 0 function 0 Symbios Logic MegaRAID 320 rev 0x02: apic 9 int 0 (irq 10) ami0: LSI 532, 32b, FW 414C, BIOS vH429, 128MB RAM ami0: 2 channels, 0 FC loops, 3 logical drives scsibus0 at ami0: 40 targets sd0 at scsibus0 targ 0 lun 0: AMI, Host drive #00, SCSI2 0/direct fixed sd0: 69618MB, 8875 cyl, 255 head, 63 sec, 512 bytes/sec, 142577664 sec total sd1 at scsibus0 targ 1 lun 0: AMI, Host drive #01, SCSI2 0/direct fixed sd1: 69618MB, 8875 cyl, 255 head, 63 sec, 512 bytes/sec, 142577664 sec total sd2 at scsibus0 targ 2 lun 0: AMI, Host drive #02, SCSI2 0/direct fixed sd2: 69618MB, 8875 cyl, 255 head, 63 sec, 512 bytes/sec, 142577664 sec total scsibus1 at ami0: 16 targets safte0 at scsibus1 targ 6 lun 0: SUPER, GEM318, 0 SCSI2 3/processor fixed scsibus2 at ami0: 16 targets safte1 at scsibus2 targ 6 lun 0: \\240 PER, GEM318, 0 SCSI2 3/processor fixed ahc0 at pci3 dev 6 function 0 Adaptec AHA-29160 U160 rev 0x02: apic 9 int 4 (irq 10) scsibus3 at ahc0: 16 targets st0 at scsibus3 targ 6 lun 0: SEAGATE, DAT 9SP40-000, 910B SCSI3 1/sequential removable uhci0 at pci0 dev 29 function 0 Intel 82801CA/CAM USB rev 0x02: apic 8 int 16 (irq 10) ppb4 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0x42 pci5 at ppb4 bus 1 fxp0 at pci5 dev 1 function 0 Intel 8255x rev 0x10, i82551: apic 8 int 17 (irq 5), address 00:e0:81:26:a9:e4 inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4 vga1 at pci5 dev 2 function 0 ATI Rage XL rev 0x27 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) skc0 at pci5 dev 4 function 0 D-Link Systems DGE-530T A1 rev 0x11, Yukon (0x1): apic 8 int 19 (irq 9) sk0 at skc0 port A, address 00:13:46:72:3b:1d eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 3 ichpcib0 at pci0 dev 31 function 0 Intel 82801CA LPC rev 0x02: 24-bit timer at 3579545Hz pciide0
Re: OpenBSD serial terminal binary programs
Makes me think some sort of OS has to be present before using cu. I have a couple of sparc machines with no monitor/OS that I would love to throw an OS on.. Zach sure you can, but the hardware boot ROM has to support it. I ran most of my non-intel systems headless for years. If you're running i386/amd64 boxes a lot have a BIOS setting called console redirection or something similar. While it works it's no where near as friendly as the non-intel workstation/server ROM monitors. However as more and more intel/amd boxes showed up in lights out data centers the server manufactures started supporting real remote management solutions. Typically for OpenBSD, you need to set the PC bios on an i386 machine to do console redirection at 9600 baud (8N1) until the OS boots and *NOT* do it afterwards. This is because if it does it afterwards then typically the bios eats com0 and you can't use it from OpenBSD for a real serial tty. The trick is finding the right settings in the stupid bios. and of course since PC bios's are based on 15 years of programming by monkeys with typewriters it can be a bit of an effort sometimes, assuming your bios supports it, and it works. we run most of our i386 boxen here headless with serial consoles. we either connect direct with tip/cu, or we run conserver from ports, which is a wonderful thing. -Bob
Re: Failing to get [EMAIL PROTECTED] in X
In article [EMAIL PROTECTED], Alex Holst wrote: Quoting Jimmy Mitchener ([EMAIL PROTECTED]): Try `sudo 915resolution 4d 1680 1050 32` If 4d is the only one that has 1680x1050 available you only have 16bit color, and you're trying to use 24, so it's not changing anything. Thanks for commenting; this is the relevant output from 915resolution: tori$ sudo 915resolution -l | grep 1680 Mode 3a : 1680x1050, 8 bits/pixel Mode 3c : 1680x1050, 8 bits/pixel Mode 4b : 1680x1050, 16 bits/pixel Mode 4d : 1680x1050, 32 bits/pixel Mode 5a : 1680x1050, 24 bits/pixel Mode 5c : 1680x1050, 32 bits/pixel With those settings, I get [EMAIL PROTECTED] - but again xwininfo -root shows that my actual desktop size is 1680x1050. xdpyinfo | grep dim -- [100~Plax]sb16i0A2172656B63616820636420726568746F6E61207473754A[dZ1!=b]salax
Re: OpenBSD serial terminal binary programs
Zach Keatts wrote: Fortunately this is a sparc machine, Then everything will work fine. It's specifically i386 that sucks so hard. -- Matthew Weigel hacker [EMAIL PROTECTED]
Re: OpenBSD serial terminal binary programs
On 5/11/07, Bob Beck [EMAIL PROTECTED] wrote: Makes me think some sort of OS has to be present before using cu. I have a couple of sparc machines with no monitor/OS that I would love to throw an OS on.. Zach sure you can, but the hardware boot ROM has to support it. I ran most of my non-intel systems headless for years. If you're running i386/amd64 boxes a lot have a BIOS setting called console redirection or something similar. While it works it's no where near as friendly as the non-intel workstation/server ROM monitors. However as more and more intel/amd boxes showed up in lights out data centers the server manufactures started supporting real remote management solutions. Typically for OpenBSD, you need to set the PC bios on an i386 machine to do console redirection at 9600 baud (8N1) until the OS boots and *NOT* do it afterwards. This is because if it does it afterwards then typically the bios eats com0 and you can't use it from OpenBSD for a real serial tty. The trick is finding the right settings in the stupid bios. and of course since PC bios's are based on 15 years of programming by monkeys with typewriters it can be a bit of an effort sometimes, assuming your bios supports it, and it works. we run most of our i386 boxen here headless with serial consoles. we either connect direct with tip/cu, or we run conserver from ports, which is a wonderful thing. -Bob Fortunately this is a sparc machine, so I do not believe I will need to manually set the BIOS. At least I hope not. When you mentioned setting the BIOS on an i386 to do a redirection, this makes me think that this initial step is not a headless operation. My goal is to do the entire install etc. headless (since I am without a monitor, but have access to a bsd laptop + serial). I will be playing around with this tonight so I should know more soon. Bob, Diana, and Stuart -- Thanks for the great responses, its exactly what I needed. Zach
THANKS tedu Re: Resolved Re: [landisk] poweroff on shutdown -r/reboot
Ted thanks for committing the reboot fix. http://marc.info/?l=openbsd-cvsm=117884845913475w=2 once upon a time tedu scribbled: it's silly for reboot to poweroff. adapted from diff by diana eichert
dual g4 needed for hackathon
On this years hackathon I'd like to hack more on macppc smp support. For obvious reasons I cannot bring my own machine. Is there anyone in the Calgary or Edmonton area that can loan us a dual g4 machine end may/early june? Mark
ipsec.conf and carp/physical interfaces
When using ipsec.conf to set up the vpn on redundant firewalls with carp on the outside interface, I noticed that the session is using the ip of the physical interface and not the ip of the carp interface which the remote end is listening for. When looking in the man pages there are options for local localip remote peerip but setting this up seems to give me a syntax error. I had this working a few days ago and now I cant seem to figure out what im doing wrong. local x.x.x.142 remote y.y.y.218 ike esp from a.a.a.0/24 to b.b.b.0/21 peer y.y.y.218 ike esp from x.x.x.142 to b.b.b.0/21 peer y.y.y.218 ike esp from x.x.x.142 to y.y.y.218 ike esp from b.b.b.0/21 to a.a.a.0/24 peer x.x.x.142 ike esp from y.y.y.218 to a.a.a.0/24 peer x.x.x.142 ike esp from y.y.y.218 to x.x.x.142
Re: BGP + Multiple Providers + Redundant Firewalls
henning, you mentioned you are running redundant firewalls running bgp to multiple providers. my question is are you taking incoming traffic on both links or is your bgp configured in an active failover scenario? And do you use iBgp between the firewalls to control outgoing traffic up thru both links? Thanks. On 5/8/07, Henning Brauer [EMAIL PROTECTED] wrote: * [EMAIL PROTECTED] [EMAIL PROTECTED] [2007-05-08 01:24]: On 5/5/07, Henning Brauer [EMAIL PROTECTED] wrote: * [EMAIL PROTECTED] [EMAIL PROTECTED] [2007-05-03 20:58]: Any recommendations on running BGP on redundant firewalls to multiple providers advertising the same network thru both links, and talking iBGP with the other firewall? that is what I am doing here as well as at multiple customer sites. Just asking because I ran into a problem with this scenario when traffic would enter 1 host, traverse the iBGP crossover link and then exit the 2nd host, and return traffic would come back in thru the 1st host. There was a mismatch of the states that seemed to cause my problems. not seen that. you could suffer from the carp route screwup issue I just committed a fix for in -current. I'll attach it, it'llapply for 4.1 too. in general, bgpctl sh nexthop is your friend to debug this. can you elaborate a little more on the carp route issue. i had been working with the 2 firewall/2 provider/ibgp/pf/pfsync setup about 3 months ago and hit a wall when traffic flowed a certain direction - so i moved to the 2 router + 2 firewall setup that cleared it up, so my memories a little foggy about the exact issue. but I'm willing to try the 2 firewall setup again as this will cost us so much less when we clone this configuration from our office to our data center. thanks. well, carp was playing fast and losing with routes, without messages on the routing socket. i included the diff, what else whould I say? -- Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED] BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting - Hamburg Amsterdam
Compiling programs for multiple CPUs
On 4/13/07, Otto Moerbeek [EMAIL PROTECTED] wrote: On Fri, 13 Apr 2007, Siju George wrote: On 4/12/07, Otto Moerbeek [EMAIL PROTECTED] wrote: On Thu, 12 Apr 2007, Siju George wrote: On 4/12/07, Marco Peereboom [EMAIL PROTECTED] wrote: You need 4.1 for that model. Might even need -current. I installed the Latest Snapshot. Directory: i386 04/10/0719:03:00 now runing # uname -a OpenBSD current.openbsd.local 4.1 GENERIC.MP#1260 i386 It Still Doesn't Detects both CPU's in the .Intel Core Duo T2300 1.67 http://reviews.cnet.com/Dell_Latitude_D820/4507-3121_7-31792100.html # cat /var/run/dmesg.boot |grep cpu cpu0: Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR cpu0 at mainbus0: (uniprocessor) # Try enabling acpi: boot -c, then enable acpi. If that works, you can make it permanent using config -e -o /bsd /bsd Thanks a million Otto Marco and Kenneth :-) It works :-) dmesg is below. Just use the latest snapshot. alright :-) use the upgrade procedure and use pkg_add -ui to update packages right? Yep. Though you might wanna wipe /usr/X11R6 and /etc/X11 before upgrading, so no old stuff remains. Since the laptop is an SMP will there be any significant benifit if I compile from source using ports? the packages are compiled on a uni processor machine for i386 right? No, it's completely transparent to programs. The binaries do not differ. By a lot of help from you and others initially I am a happy current user now :-) I was trying to install the CMU Sphinx speech recognition software ( to convert a few mp3s into text ) on 4.1 current and read this from their website. http://www.speech.cs.cmu.edu/sphinx/tutorial.html On Linux machines, you can set up the scripts to take advantage of multiple CPUs. To do this, edit etc/sphinx_train.cfg, change the line defining the variable $CFG_NPART to match the number of CPUs in your system, and edit the line defining $CFG_QUEUE_TYPE to the following: # Queue::POSIX for multiple CPUs on a local machine # Queue::PBS to use a PBS/TORQUE queue $CFG_QUEUE_TYPE = Queue::POSIX; Just wondering if it is only for Linux or it is applicable for OpenBSD too? Since you said it is transparent to the programs. Thankyou so much :-) Kind Regards Siju
via systems?
I'm looking and probably just blind but haven't found any complete systems using the via c7 esther chipset. Specifically I'm looking for rsa accelleration. I suspect I'm not the only one looking and interested. Thanks, -- Todd Fries .. [EMAIL PROTECTED] _ | \ 1.636.410.0632 (voice) | Free Daemon Consulting, LLC \ 1.405.227.9094 (voice) | http://FreeDaemonConsulting.com \ 1.866.792.3418 (FAX) | ..in support of free software solutions. \ 250797 (FWD) | \ \\ 37E7 D3EB 74D0 8D66 A68D B866 0326 204E 3F42 004A http://todd.fries.net/pgp.txt
Re: via systems?
On 5/11/07, Todd T. Fries [EMAIL PROTECTED] wrote: I'm looking and probably just blind but haven't found any complete systems using the via c7 esther chipset. Specifically I'm looking for rsa accelleration. Via EPIA EN15000? -- ach
Re: ipsec.conf and carp/physical interfaces
ok i misinterpreted the man page, this is what i needed instead... ike esp from a.a.a.0/24 to b.b.b.0/21 local x.x.x.142 peer y.y.y.218 ike esp from x.x.x.142 to b.b.b.0/21 local x.x.x.142 peer y.y.y.218 ike esp from x.x.x.142 to y.y.y.218 On 5/11/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: When using ipsec.conf to set up the vpn on redundant firewalls with carp on the outside interface, I noticed that the session is using the ip of the physical interface and not the ip of the carp interface which the remote end is listening for. When looking in the man pages there are options for local localip remote peerip but setting this up seems to give me a syntax error. I had this working a few days ago and now I cant seem to figure out what im doing wrong. local x.x.x.142 remote y.y.y.218 ike esp from a.a.a.0/24 to b.b.b.0/21 peer y.y.y.218 ike esp from x.x.x.142 to b.b.b.0/21 peer y.y.y.218 ike esp from x.x.x.142 to y.y.y.218 ike esp from b.b.b.0 /21 to a.a.a.0/24 peer x.x.x.142 ike esp from y.y.y.218 to a.a.a.0/24 peer x.x.x.142 ike esp from y.y.y.218 to x.x.x.142
Re: Compiling programs for multiple CPUs
On Sat, 12 May 2007, Siju George wrote: On 4/13/07, Otto Moerbeek [EMAIL PROTECTED] wrote: On Fri, 13 Apr 2007, Siju George wrote: On 4/12/07, Otto Moerbeek [EMAIL PROTECTED] wrote: On Thu, 12 Apr 2007, Siju George wrote: On 4/12/07, Marco Peereboom [EMAIL PROTECTED] wrote: You need 4.1 for that model. Might even need -current. I installed the Latest Snapshot. Directory: i386 04/10/0719:03:00 now runing # uname -a OpenBSD current.openbsd.local 4.1 GENERIC.MP#1260 i386 It Still Doesn't Detects both CPU's in the .Intel Core Duo T2300 1.67 http://reviews.cnet.com/Dell_Latitude_D820/4507-3121_7-31792100.html # cat /var/run/dmesg.boot |grep cpu cpu0: Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR cpu0 at mainbus0: (uniprocessor) # Try enabling acpi: boot -c, then enable acpi. If that works, you can make it permanent using config -e -o /bsd /bsd Thanks a million Otto Marco and Kenneth :-) It works :-) dmesg is below. Just use the latest snapshot. alright :-) use the upgrade procedure and use pkg_add -ui to update packages right? Yep. Though you might wanna wipe /usr/X11R6 and /etc/X11 before upgrading, so no old stuff remains. Since the laptop is an SMP will there be any significant benifit if I compile from source using ports? the packages are compiled on a uni processor machine for i386 right? No, it's completely transparent to programs. The binaries do not differ. By a lot of help from you and others initially I am a happy current user now :-) I was trying to install the CMU Sphinx speech recognition software ( to convert a few mp3s into text ) on 4.1 current and read this from their website. http://www.speech.cs.cmu.edu/sphinx/tutorial.html On Linux machines, you can set up the scripts to take advantage of multiple CPUs. To do this, edit etc/sphinx_train.cfg, change the line defining the variable $CFG_NPART to match the number of CPUs in your system, and edit the line defining $CFG_QUEUE_TYPE to the following: # Queue::POSIX for multiple CPUs on a local machine # Queue::PBS to use a PBS/TORQUE queue $CFG_QUEUE_TYPE = Queue::POSIX; Just wondering if it is only for Linux or it is applicable for OpenBSD too? Since you said it is transparent to the programs. Depends on how parallelism is achieved in this application. If multiple processes are used, then it can help. If multiple threads are used, then not. I'd say, just try it. -Otto
msk watchdog timeout + working idea
hello, until 15 minutes ago I had a nasty ethernet behaviour on my laptop, i.e watchdog timeout forever and ever in tx (rx seems ok for what I can see) I decided to dig into the source and I've enabled a little bit of degugging messages. mskc0 at pci1 dev 0 function 0 Marvell Yukon 88E8036 rev 0x13 begin mskc_attach mskc_attach: allocate interrupt mskc_reset mskc_reset: sk_csr=4a mskc_reset: sk_link_ctrl=2 mskc_attach: ramsize=4096 (4k), rboff=0 , Yukon-2 FE (0x1): apic 2 int 16 (irq 7) msk0 at mskc0 port A begin msk_attach: port=0, address 00:13:a9:60:1b:eb msk_attach: rx_ramstart=0 rx_ramend=0x154 tx_ramstart=0x155 tx_ramend=0x1fe first thing I've noted is the rx and tx buffer dimension calculation rx - 0x154 tx - 0xa9 w/o thinking twice with a priory knowledge of ramsize i.e 4k I've modified the algorithm as follow: chunk = sc-sk_ramsize - (sc-sk_ramsize1); val = sc-sk_rboff / sizeof(u_int64_t); sc_if-sk_rx_ramstart = val; val += (chunk / sizeof(u_int64_t)); sc_if-sk_rx_ramend = val - 1; chunk = sc-sk_ramsize - chunk; sc_if-sk_tx_ramstart = val; val += (chunk / sizeof(u_int64_t)); sc_if-sk_tx_ramend = val - 1; compiled and restarted: mskc0 at pci1 dev 0 function 0 Marvell Yukon 88E8036 rev 0x13 begin mskc_attach mskc_attach: allocate interrupt mskc_reset mskc_reset: sk_csr=4a mskc_reset: sk_link_ctrl=2 mskc_attach: ramsize=4096 (4k), rboff=0 , Yukon-2 FE (0x1): apic 2 int 16 (irq 7) msk0 at mskc0 port A begin msk_attach: port=0, address 00:13:a9:60:1b:eb msk_attach: rx_ramstart=0 rx_ramend=0xff tx_ramstart=0x100 tx_ramend=0x1ff now both rx and tx buffer has the same size result: msk works like a charm with no more watchdog timeouts hope in a answer, thanks, OpenBSD 4.1-current (GENERIC.MP) #5: Fri May 11 22:34:35 CEST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM)2 CPU T5500 @ 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,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR real mem = 1063415808 (1038492K) avail mem = 963076096 (940504K) using 4278 buffers containing 53293056 bytes (52044K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+ BIOS, date 11/15/06, BIOS32 rev. 0 @ 0xfd5f0, SMBIOS rev. 2.4 @ 0xdc010 (18 entries) bios0: Sony Corporation VGN-C1S_H pcibios0 at bios0: rev 2.1 @ 0xfd5f0/0xa10 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdec0/288 (16 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #6 is the last bus bios0: ROM list: 0xc/0x1! 0xdc000/0x4000! 0xe/0x1800! acpi0 at mainbus0: rev 0 acpi0: tables DSDT FACP APIC MCFG APIC BOOT SSDT SSDT acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 166 MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 CPU T5500 @ 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,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: duplicate apic id, remapped to apid 2 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 0 (PEGP) acpiprt2 at acpi0: bus 1 (RP01) acpiprt3 at acpi0: bus 2 (RP02) acpiprt4 at acpi0: bus 3 (RP03) acpiprt5 at acpi0: bus 4 (RP04) acpiprt6 at acpi0: bus 5 (PCIB) acpiec0 at acpi0: EC__ acpicpu0 at acpi0: CPU0: acpicpu1 at acpi0: CPU1: acpitz0 at acpi0, critical temperature: 105 degC acpitz1 at acpi0, critical temperature: 105 degC acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0: not present acpibtn0 at acpi0: LID0 acpibtn1 at acpi0: PWRB acpidock0 at acpi0: DOCK: not docked (0) cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130a2a06000a2a cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 1667 MHz (1372 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 vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03: aperture at 0xd010, size 0x1000 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 2 int 22 (irq 4) azalia0: host: High Definition Audio rev. 1.0 azalia0: codec: 0x10ec/0x0262 (rev. 1.0), HDA version 1.0 azalia0: codec: 0x14f1/0x2c06 (rev. 0.0), HDA version 1.0 azalia0: codec[1]: No support for modem function groups azalia0: codec[1]: No audio function groups audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02 pci1 at ppb0 bus 1 mskc0 at pci1 dev 0 function 0 Marvell Yukon 88E8036 rev 0x13begin mskc_attach mskc_attach: allocate
Re: OpenBSD serial terminal binary programs
Matthew Weigel wrote: Zach Keatts wrote: Fortunately this is a sparc machine, Then everything will work fine. It's specifically i386 that sucks so hard. Hey man, not all i386 suck so hard. I have some old IBM xSeries servers that don't even have PS/2 or VGA ports. The only way to get in the machine is through the first serial port or IBM's proprietary daisy chain connections (which is cool if you want to spend some bucks for cables and hardware).
Excess arguments to dump:
I'm having a wee bit of bother with a korn shell script that drives dump: The guts of the script: dump=${dump} -${level}${dump_flags} ${device} | gzip -9 if [[ ! -z ${encryption} ]]; then dump=${dump} | ${encryption} -pass file:${conf}.passwd -out else dump=${dump} -o fi [ ${debug} ] echo ${dump} ${file}\n ${dump} ${file} [ ${digest} ] ${digest} ${file} ${checksum} # cp locally, overwriting previous file of same name # scp offsite The output: dump -6anu -f - -h 0 /dev/wd0g | gzip -9 | openssl enc -bf -salt -pass file:/etc/dumpster/teak.dumpster_slices.conf.passwd -out /tmp/tmp.MEuYIi9135/teak/_var_mail_6_Friday.dump.gz.crypto Excess arguments to dump: | gzip -9 | openssl enc -bf -salt -pass file:/etc/dumpster/teak.dumpster_slices.conf.passwd -out /tmp/tmp.MEuYIi9135/teak/_var_mail_6_Friday.dump.gz.crypto sha1: cannot open /tmp/tmp.MEuYIi9135/teak/_var_mail_6_Friday.dump.gz.crypto: No such file or directory I thought it was due to the way that I had put in the encryption stuff as it was working until then, but when I run it again without encryption; same, same: dump -6anu -f - -h 0 /dev/wd0g | gzip -9 -o /tmp/tmp.qGWnO29107/teak/_var_mail_6_Friday.dump.gz Excess arguments to dump: | gzip -9 -o /tmp/tmp.qGWnO29107/teak/_var_mail_6_Friday.dump.gz sha1: cannot open /tmp/tmp.qGWnO29107/teak/_var_mail_6_Friday.dump.gz: No such file or directory Nae gud src/sbin/dump/main.c shows: if (dirlist == 0) { disk = *argv++; if (argc != 1) { (void)fputs(Excess arguments to dump:, stderr); while (--argc) { (void)putc(' ', stderr); (void)fputs(*argv++, stderr); } (void)putc('\n', stderr); exit(X_STARTUP); } } If I run the full command manually, it works as expected. S, I reckon there is something wrong with my script and the manner in which it passes arguments to dump. Any suggestions? -- Craig Skinner | http://www.kepax.co.uk | [EMAIL PROTECTED]
BGP Convergence Time
I have 2 boxes connected independantly to two providers with a sangoma T1 card. I have a crossover between the 2 routers which iBGP session is talking over and the 3rd network interface drops down into 2 switches. going to redundant firewalls running carp/pfsync. We currently use BGP in our office to advertise our /24 network via both providers. We use the set prepend-self x to manipulate the incoming bandwidth to try and get as even of a distribution of traffic as we can. Outgoing bandwidth is a little harder to manipulate it seems because it looks to be based on the better connected provider. Point is I wanna use both providers links simultaneously and not just wanna have 1 for backup sitting ideally. Well my question is when i take one of the routers down, I seem to suffer reachability problems to certain networks due to BGP convergence issues. At least this is what I believe is the cause of the reachability issues. How do others deal with this? How do I minimize the BGP convergence time as much as possible. In our data center we will be using a private as and BGP because they do not offer an HSRP gateway. This will be an active/backup scenario so I dont think I will any reachibility issues with the BGP convergence time in this enviornment as BGP updates only need to propogate within our providers AS which should happen relatively quickly. Am I correct in this assumption? Unfortuanately, we plan to migrate our data center enviornment to a public AS number when we bring in a 2nd provider. Since any downtime or network reachibility issues will be completely unacceptable in our data center, BGP convergence is a major issue. How do I deal with this? How do others deal with this?
Re: booting problem
Hi guys Hi all I can't boot my system after the instalation. My OS can't be finded. I follow the faq (4.12.2 - My i386 won't boot after install) and nothing change. But I can boot with CD typing b hd0a:\bsd. When I tried install again I saw a warning in disklabel stage: WARNING: inode blocks/cyl group (155) = data blocks (5) in last cylinder group. This implies 188 sector(s) cannot be allocated. What's happening? How I can solve this problem? thx all Thiago If you post at least output of fdisk wd0 and disklabel wd0 commands... My disk: [WIN(ntfs)][DATA(ntfs)][OpenBSD] 1- I know, it's flaged to my Windows partition 2- I jump 1 cylinder between partition 1 and 2. #fdisk -e wd0 Enter 'help' for information fdisk: 1 p m Disk: wd0 geometry: 9729/255/63 [76317 Megabytes] Offset: 0 Signature: 0xAA55 StartingEnding LBA Info: #: idC H S -C H S [ start: size ] - *0: 070 1 1 - 2549 254 63 [63: 20003M] HPFS/QNX/AUX 1: 07 2550 0 1 - 7649 254 63 [ 40965750: 40006M] HPFS/QNX/AUX 2: A6 7651 0 1 - 9728 254 63 [ 122913315: 16300M] OpenBSD 3: 000 0 0 -0 0 0 [ 0: 0M] unused fdisk: 1 +++ fdisk: 1 p Disk: wd0 geometry: 9729/255/63 [156296385 Sectors] Offset: 0 Signature: 0xAA55 StartingEnding LBA Info: #: idC H S -C H S [ start: size ] - *0: 070 1 1 - 2549 254 63 [63: 40965687] HPFS/QNX/AUX 1: 07 2550 0 1 - 7649 254 63 [ 40965750: 81931500] HPFS/QNX/AUX 2: A6 7651 0 1 - 9728 254 63 [ 122913315: 33383070] OpenBSD 3: 000 0 0 -0 0 0 [ 0: 0] unused fdisk: 1 +++ a = /, d = /tmp, e = /var, g = /usr, h = /home i = Windows, j = data # disklabel wd0 # Inside MBR partition 2: type A6 start 122913315 size 33383070 # /dev/rwd0c: type: ESDI disk: ESDI/IDE disk label: ST380817AS falgs: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 16383 total sectors: 156301488 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] a:306621 122913315 4.2BSD2048 16384 304 # Cyl 121937*-122241 b:524160 123219936 swap # Cyl 122242 -122761 c: 156301488 0 unused 0 0 # Cyl 0 -155060 d: 1536192 123744096 4.2BSD2048 16384 328 # Cyl 122762 -124285 e:307440 125280288 4.2BSD2048 16384 306 # Cyl 124286 -124590 g: 14335776 125587728 4.2BSD2048 16384 328 # Cyl 124591 -138812 h: 16372881 139923504 4.2BSD2048 16384 328 # Cyl 138813 -155055* i: 40965687 63 unknown # Cyl 0*- 40640* j: 81931500 40965750 unknown # Cyl 40640*-121921* # Need more information? What's happening? How I can solve this problem? thanks thiago
Re: Is there anyone who succeed in 3945ABG by wpi driver ?
Yeah, I have noticed that the light was yellow on my laptop which means that wireless network is disabled. But when I switched the control button, the light was yellow all the same. I think this button is not one of the standarded keyboard, and acpibtn driver perhaps is needed which is not included in default amd64 kernel of 4.1-current. So, what kerenl do you run for 3945ABG ? Default kernel or special kernel ? And does it contain acpibtn driver or others ? Thanks! 2007/5/11, Janne Johansson [EMAIL PROTECTED]: abutter gao wrote: I'm sorry for asking this again, but I really can't use the 3945ABG on amd64 platform now . rootdev=0x400 rrootdev=0xd00 rawdev=0xd02 wpi0: timeout waiting for thermal sensors calibration wpi0: timeout waiting for thermal sensors calibration I get this on my (i386) laptop when the button for do not permit wlan at all is set. Dunno if you have one of those, but it might help.
Re: booting problem
Hi guys Problems with my webmail. I'm sorry. Hi all I can't boot my system after the instalation. My OS can't be finded. I follow the faq (4.12.2 - My i386 won't boot after install) and nothing change. But I can boot with CD typing b hd0a:\bsd. When I tried install again I saw a warning in disklabel stage: WARNING: inode blocks/cyl group (155) = data blocks (5) in last cylinder group. This implies 188 sector(s) cannot be allocated. What's happening? How I can solve this problem? thx all Thiago If you post at least output of fdisk wd0 and disklabel wd0 commands... My disk: [WIN(ntfs)][DATA(ntfs)][OpenBSD] 1- Booting from frist partition (my webmail can't print lines with '*' in the begin) 2- I jump 1 cylinder between partition 1 and 2. #fdisk -e wd0 Enter 'help' for information fdisk: 1 p m Disk: wd0 geometry: 9729/255/63 [76317 Megabytes] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S [ start: size ] - 0: 070 1 1 - 2549 254 63 [ 63: 20003M]HPFS/QNX/AUX 1: 07 2550 0 1 - 7649 254 63 [ 40965750: 40006M] HPFS/QNX/AUX 2: A6 7651 0 1 - 9728 254 63 [ 122913315: 16300M] OpenBSD 3: 00 0 0 0 - 0 0 0 [ 0: 0M] unused fdisk: 1 +++ fdisk: 1 p Disk: wd0 geometry: 9729/255/63 [156296385 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S [ start: size ] - 0: 070 1 1 - 2549 254 63 [ 63: 40965687] HPFS/QNX/AUX 1: 07 2550 0 1 - 7649 254 63 [ 40965750: 81931500] HPFS/QNX/AUX 2: A6 7651 0 1 - 9728 254 63 [ 122913315: 33383070] OpenBSD 3: 00 0 0 0 - 0 0 0 [ 0: 0] unused fdisk: 1 +++ a = /, d = /tmp, e = /var, g = /usr, h = /home i = Windows, j = data # disklabel wd0 # Inside MBR partition 2: type A6 start 122913315 size 33383070 # /dev/rwd0c: type: ESDI disk: ESDI/IDE disk label: ST380817AS falgs: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 16383 total sectors: 156301488 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] a: 306621 122913315 4.2BSD 2048 16384 304 # Cyl 121937*-122241 b: 524160 123219936 swap # Cyl 122242 -122761 c: 156301488 0 unused 0 0 # Cyl 0 -155060 d: 1536192 123744096 4.2BSD 2048 16384 328 # Cyl 122762 -124285 e: 307440 125280288 4.2BSD 2048 16384 306 # Cyl 124286 -124590 g: 14335776 125587728 4.2BSD 2048 16384 328 # Cyl 124591 -138812 h: 16372881 139923504 4.2BSD 2048 16384 328 # Cyl 138813 -155055* i: 40965687 63 unknown # Cyl 0*- 40640* j: 81931500 40965750 unknown # Cyl 40640*-121921* # Need more information? What's happening? How I can solve this problem? thanks thiago