Re: OpenBSD 4.2 on Intel Board S3000AHLX + QuadNic EXPI9404PT = couldn't map interrupt
You need not to only enable ACPI, but also disable APM to make use of ACPI. Koenig, Thomas wrote: Hi, Have you tried to enable acpi? I try acpi with: boot -c enable acpi quit then I get a panic, with options for trace and ps - thats all. :( maybe its a bug? GENERIC.MP with acpi? Is this not the same as above? regards, Thomas [demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]
Re: Trouble ftp'ing out of network, already running ftpproxy for internal ftp server, need to ftp out
I've been having great fun with FTP - active and passive - and assumed it was the wrong port here or there or something strange in pf - my fault every time so far. Running with pf + ftp-proxy box, and proftpd or vsftpd on boxes behind that on two different networks, and then NAT clients on another network (behind another pf box.) It has been unrouteable (if that is the correct term?) addresses. And because the traffic never hits pf, you don't see anything in the logs (apart from the control channel traffic) and really wonder what is going on (I am logging in the right place? Maybe my ftp-proxy settings? Did I reload the rules? Maybe it's the router, etc., etc.) Apologies if this is all old hat to you (but might help others following the thread one day.) The symptoms are exactly what you describe - the control channel (port 21) allows you to connect (even create files, but they will be 0 bytes) but as soon as you touch the data channel ... nothing. Active FTP, the client is behind NAT, and tells the server that it (the client) is listening at 192.168.30.30 (or whatever) port xyz for data - obviously the server is never going to find 192.168.30.30 across the internet (or if it does find one, it is not the FTP client.) Haven't found a solution for this yet, but not bugging me enough! (I can test from other machines) Passive FTP, the server has an internal IP (e.g. 172.16.0.01), and tells the client that it (the server) is listening on that address, port xyz for data - same situation, the client will never find the server over the internet. http://en.wikipedia.org/wiki/Ftp shed light on this for me. It *seems* that some routers will see the IPs in the FTP traffic and sort things out automatically - not sure if this is the case - maybe someone will correct me? I can't explain everything that I've seen while getting this going. Different FTP clients behave differently! So choose your test environment. Some clients seem to ignore what the server says and try and connect to the original IP, so it all works. Others are very picky. You want one that displays as much info as possible as what it is trying to do (personally I use Tcl and the Tcllib FTP client with all debugging and callbacks enabled - but I'll probably be alone in that!) One solution for passive issues seems to be to masquerade the IP (vsftp or proftpd) e.g. http://vsftpd.beasts.org/vsftpd_conf.html quote pasv_address Use this option to override the IP address that vsftpd will advertise in response to the PASV command. Provide a numeric IP address. Default: (none - the address is taken from the incoming connected socket) unquote HTH. On 8/11/2007, at 9:19 PM, knitti wrote: On 11/8/07, Jake Conk [EMAIL PROTECTED] wrote: Hello, I have a computer running OpenBSD 4.2 which is acting as my router. Behind it I have a a ftp-server which is working fine thanks to ftp-proxy but one of the problems I am having is ftp'ing out of my network. I am able to connect and establish connections to outside servers but I am not able to run normal commands on them like ls, cd, get, etc. Any command I try running after I connect just hangs and fails. of course, since your are using NAT. starting a second instance of ftp-proxy on a different port should work, just look at the manpages pf.conf(5) ftp-proxy(8) --knitti
Re: Connecting nic on different vlan
Hi, Linux uses ifcfg-* filees, OpenBSD uses /etc/hostname.if gatekeeper-01# cat /etc/hostname.em1 ! /sbin/ifconfig \$if up ! /sbin/ifconfig \$if description DCS Fiber gatekeeper-01# cat /etc/hostname.vlan920 inet 172.30.0.252 255.255.255.0 NONE vlan 920 vlandev em1 ! /sbin/ifconfig \$if description VLAN Office 1 gatekeeper-01# cat /etc/hostname.vlan921 inet 172.20.0.252 255.255.255.0 NONE vlan 921 vlandev em1 ! /sbin/ifconfig \$if description VLAN Office 2 man hostname.if is your friend. -Thmas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jake Conk Sent: den 8 november 2007 11:29 To: misc@openbsd.org Subject: Connecting nic on different vlan Hello, I was wondering how do I configure a my nic with different vlan addresses attached to it. With linux I had vconfig which I created the vlans on my computer for which vlans I actually wanted to connect to on my switch. Then I would assign my ethernet card to whichever vlan it was supposed to be a part of, so adding eth0 to vlan 1 created an interface eth0.1 and then readding eht0 to vlan 2 created eth0.2 and on those new devices I added ips and everything was lovely. What could I use with OpenBSD to provide me with the same capabilities of configuring my server to be on specific vlans? Thanks, - Jake
Re: Connecting nic on different vlan
just curious, why do you explicitly call ifconfig in your hostname.if files? Hi, Linux uses ifcfg-* filees, OpenBSD uses /etc/hostname.if gatekeeper-01# cat /etc/hostname.em1 ! /sbin/ifconfig \$if up ! /sbin/ifconfig \$if description DCS Fiber gatekeeper-01# cat /etc/hostname.vlan920 inet 172.30.0.252 255.255.255.0 NONE vlan 920 vlandev em1 ! /sbin/ifconfig \$if description VLAN Office 1 gatekeeper-01# cat /etc/hostname.vlan921 inet 172.20.0.252 255.255.255.0 NONE vlan 921 vlandev em1 ! /sbin/ifconfig \$if description VLAN Office 2 snip
Re: Softraid queries
Edd Barrett wrote: Hi, I just had a read of the man page for the new softraid features in OpenBSD. Sounds like it's well on the way to replace raidframe, but some questions remain unanswered. a) Can disks be dynamically added/removed to a mirror? b) What happens when a disk fails? Almost anything. Which is true of any RAID system. Had a hardware RAID system with a drive that failed. Ended up with a short across a set of power supply pins. System went down. Disk tray was damaged. RAID controller was damaged. Power supply on the computer was damaged. Power supply on a computer I used to verify the failure of the disk was damaged (it was an interesting day...) Data was fine. Until I botched the replacement of the RAID controller, at which point, 100G or so of data was restored from backup. :) All RAID is sensitive to the mode of failure of the drive. Software RAID has the problem of relying on a non-RAID-focused interface. Not all interfaces are happy with many common modes of failure. Many won't reboot on the alternate drive after a failure of the primary, most won't boot on alternate drive under many circumstances (drive doesn't completely fall off the bus). The above is a really bad answer. The proper answer is FIND OUT FOR YOURSELF!. For ANY RAID system, YOU must know how to recover. I'm not aware of any software RAID system which does all the thinking for you -- that is actually one part fo the magic in SW RAID is that you control it completely. You must also practice. (And even then, you might botch things up. Or at least, I did. :) c) Does softraid do the same as raidframe on fsck at boot? Not yet. It actually doesn't do any recovery itself yet. Hence, the note under CAVEATS. d) Is there a way to query the status of a volume? (Is this what 'enumerate' means?) Same way all new OpenBSD RAID systems are monitored, bioctl(8) (which is darned cool). Also softraid is not yet listed in the raid options section of teh FAQ. It also isn't in GENERIC yet. It isn't quite ready for production. The lack of a rebuild feature is a limiting factor. It isn't quite fatal, you can manually rebuild with dd(1). While doing this for a disk failure isn't all bad, doing it every time the power goes out unexpectedly (or it crashes for any reason) is a pain, and ignoring it after an event is potentially risky. Nick.
Re: Connecting nic on different vlan
I was wondering how do I configure a my nic with different vlan addresses attached to it. With linux I had vconfig which I created the vlans on my computer for which vlans I actually wanted to connect to on my switch. Then I would assign my ethernet card to whichever vlan it was supposed to be a part of, so adding eth0 to vlan 1 created an interface eth0.1 and then readding eht0 to vlan 2 created eth0.2 and on those new devices I added ips and everything was lovely. What could I use with OpenBSD to provide me with the same capabilities of configuring my server to be on specific vlans? You create a vlan network interface. RTFM! Or, to give you an idea where to look: man vlan man hostname.if man ifconfig While you're at this also check the FAQ - 6th chapter in particular. http://www.openbsd.org/faq/faq6.html
Re: Connecting nic on different vlan
On 2007/11/08 02:28, Jake Conk wrote: I was wondering how do I configure a my nic with different vlan addresses attached to it. See ifconfig(8), search for VLAN.
Re: OpenBSD 4.2 on Intel Board S3000AHLX + QuadNic EXPI9404PT = couldn't map interrupt
Showing the actual panic has more chances of something getting fixed. On Thu, Nov 08, 2007 at 09:17:49AM +0100, Koenig, Thomas wrote: You need not to only enable ACPI, but also disable APM to make use of ACPI. it takes no effekt if I disable apm or not - every time I enable acpi I run into a PANIC. UKCdisable apm UKCenable acpi 263 acpi0 enabled UKCquit -- PANIC :( regards, Thomas [demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]
Re: OpenBSD 4.2 on Intel Board S3000AHLX + QuadNic EXPI9404PT = couldn't map interrupt
You need not to only enable ACPI, but also disable APM to make use of ACPI. it takes no effekt if I disable apm or not - every time I enable acpi I run into a PANIC. UKCdisable apm UKCenable acpi 263 acpi0 enabled UKCquit -- PANIC :( regards, Thomas [demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]
Re: Trouble ftp'ing out of network, already running ftpproxy for internal ftp server, need to ftp out
On 11/8/07, Jake Conk [EMAIL PROTECTED] wrote: Hello, I have a computer running OpenBSD 4.2 which is acting as my router. Behind it I have a a ftp-server which is working fine thanks to ftp-proxy but one of the problems I am having is ftp'ing out of my network. I am able to connect and establish connections to outside servers but I am not able to run normal commands on them like ls, cd, get, etc. Any command I try running after I connect just hangs and fails. of course, since your are using NAT. starting a second instance of ftp-proxy on a different port should work, just look at the manpages pf.conf(5) ftp-proxy(8) --knitti
Re: Trouble ftp'ing out of network, already running ftpproxy for internal ftp server, need to ftp out
On 11/8/07, Jake Conk [EMAIL PROTECTED] wrote: Ok I understand I'm supposed to have another instance of ftp-proxy running so that it can open up ports on my router to allow data connections to be established from remote hosts but I'm not sure how I should configured ftp-proxy for that and my pf... Lets start with ftp-proxy first then handle pf... Since I got 1 instance of ftp-proxy already running to redirect incominng ftp traffic to a local server in my network I must have another one on a different port so for that I'm starting with... `ftp-proxy -p 8022` Ok and I think I have to tell ftp-proxy to only listen on its local IP because we are trying to connect our local servers to public servers so I would add that to the command: `ftp-proxy -p 8022 -a 192.168.10.1` you need 127.0.0.1 in any case, because of the rdr in pf.conf I wasn't sure to use -a or -b so if I'm doing this wrong someone please correct me. 1) So now on the ftp-proxy configuration is there anything else I need to add? 2) Where's a good place to look on how to configure my packet filtering (pf) to work with the second instance of ftp-proxy and allow me to connect to outside (public) ftp servers look at your pf.conf, you have commented out the line. you should change it to about this: rdr pass on $int_if proto tcp from any to !$ftp_server port ftp - 127.0.0.1 port 8022 of course i didn#t test this, but you get the idea --knitti
Re: Trouble ftp'ing out of network, already running ftpproxy for internal ftp server, need to ftp out
Ok I understand I'm supposed to have another instance of ftp-proxy running so that it can open up ports on my router to allow data connections to be established from remote hosts but I'm not sure how I should configured ftp-proxy for that and my pf... Lets start with ftp-proxy first then handle pf... Since I got 1 instance of ftp-proxy already running to redirect incominng ftp traffic to a local server in my network I must have another one on a different port so for that I'm starting with... `ftp-proxy -p 8022` Ok and I think I have to tell ftp-proxy to only listen on its local IP because we are trying to connect our local servers to public servers so I would add that to the command: `ftp-proxy -p 8022 -a 192.168.10.1` I wasn't sure to use -a or -b so if I'm doing this wrong someone please correct me. 1) So now on the ftp-proxy configuration is there anything else I need to add? 2) Where's a good place to look on how to configure my packet filtering (pf) to work with the second instance of ftp-proxy and allow me to connect to outside (public) ftp servers Thanks, - Jake On Wed, 7 Nov 2007, Jake Conk wrote: Hello, I have a computer running OpenBSD 4.2 which is acting as my router. Behind it I have a a ftp-server which is working fine thanks to ftp-proxy but one of the problems I am having is ftp'ing out of my network. I am able to connect and establish connections to outside servers but I am not able to run normal commands on them like ls, cd, get, etc. Any command I try running after I connect just hangs and fails. Here is my pf.conf: # Macros: define common values, so they can be referenced and changed easily. ext_if=bge0 # External interface ext_ip=# External IP ext_carp_if=carp0 # External carp interface ext_carp_ip= # External carp IP ext_ifs={ $ext_if $ext_carp_if }# All external interfaces int_if=bge1 # Internal interface int_carp_if0=carp1# Internal carp interface 1 int_carp_if1=carp2# Internal carp interface 2 carp_ifs={ $ext_if $int_if }# Interfaces which do carp loop_if=lo0 # Loopback Interface bridge_if=bridge0 # Brige Interface tap_if=tap0 # Tap Interface pflog_if=pflog0 # Pflog Interface pfsync_if=xl0 # Pfsync Interface int_ifs={ $int_if $int_carp_if0 $int_carp_if1 \ $loop_if $bridge_if $tap_if $pflog_if \ $pfsync_if }# All internal interfaces external_addr=192.168.1.1 # External Address internal_net=192.168.10.0/24 # Internal Network icmp_types={0, 3, 4, 8, 11, 12} # Allowed ICMP Types # ADD __192.168.0.0/24__ BELOW WHEN IN PRODUCTION no_route={ 127.0.0.0/8, \ 172.16.0.0/12, 10.0.0.0/8 }# Non routable IPs # SERVERS # ftp_server=192.168.10.9 mail_server=192.168.10.9 # Tables: similar to macros, but more flexible for many addresses. #table foo { 10.0.0.0/8, !10.1.0.0/16, 192.168.0.0/24, 192.168.1.18 } # Options: tune the behavior of pf, defaults given set timeout { interval 10, frag 30 } set timeout { tcp.first 120, tcp.opening 30, tcp.established 86400 } set timeout { tcp.closing 900, tcp.finwait 45, tcp.closed 90 } set timeout { udp.first 60, udp.single 30, udp.multiple 60 } set timeout { icmp.first 20, icmp.error 10 } set timeout { other.first 60, other.single 30, other.multiple 60 } set timeout { adaptive.start 0, adaptive.end 0 } set limit {states 1, frags 5000} # Sets hard limits used on memory pools set loginterface $ext_if# Which interface to log set optimization normal # Optimize engine for network set block-policy drop # Default behavior of block policy set require-order yes # Enforce ordering of statements set fingerprints /etc/pf.os # Fingerprints set debug loud # Level of debug set skip on $loop_if
Softraid queries
Hi, I just had a read of the man page for the new softraid features in OpenBSD. Sounds like it's well on the way to replace raidframe, but some questions remain unanswered. a) Can disks be dynamically added/removed to a mirror? b) What happens when a disk fails? c) Does softraid do the same as raidframe on fsck at boot? d) Is there a way to query the status of a volume? (Is this what 'enumerate' means?) Also softraid is not yet listed in the raid options section of teh FAQ. Thanks -- Best Regards Edd --- http://students.dec.bournemouth.ac.uk/ebarrett
Connecting nic on different vlan
Hello, I was wondering how do I configure a my nic with different vlan addresses attached to it. With linux I had vconfig which I created the vlans on my computer for which vlans I actually wanted to connect to on my switch. Then I would assign my ethernet card to whichever vlan it was supposed to be a part of, so adding eth0 to vlan 1 created an interface eth0.1 and then readding eht0 to vlan 2 created eth0.2 and on those new devices I added ips and everything was lovely. What could I use with OpenBSD to provide me with the same capabilities of configuring my server to be on specific vlans? Thanks, - Jake
Building a custom kernel error
Hi, everybody the error log: ld -Ttext 0xD0200120 -e start -N --warn-common -S -x -o bsd ${SYSTEM_OBJ} vers.o locore.o(.text+0x26b2): In function `Xintrsofttty': : undefined reference to `comsoft' *** Error code 1 I dmassage to fiter configure file, my config: # $OpenBSD: GENERIC,v 1.568 2007/08/05 17:01:25 mglocker Exp $ # # For further information on compiling OpenBSD kernels, see the config(8) # man page. # # For further information on hardware support for this architecture, see # the intro(4) man page. For further information about kernel options # for this architecture, see the options(4) man page. For an explanation # of each device driver in this file see the section 4 man page for the # device. machine i386 include ../../../conf/GENERIC maxusers 32 # estimated number of users option I486_CPU # CPU classes; at least one is REQUIRED option I586_CPU option I686_CPU option USER_PCICONF # user-space PCI configuration #option VM86 # Virtual 8086 emulation option KVM86 # Kernel Virtual 8086 emulation option USER_LDT # user-settable LDT; see i386_set_ldt(2) option APERTURE # in-kernel aperture driver for XFree86 #option KGDB # Remote debugger support; exclusive of DDB #option KGDB_DEVNAME=\pccom\,KGDBADDR=0x2f8,KGDBRATE=9600 option COMPAT_SVR4 # binary compatibility with SVR4 option COMPAT_IBCS2 # binary compatibility with SCO and ISC option COMPAT_LINUX # binary compatibility with Linux option COMPAT_FREEBSD # binary compatibility with FreeBSD option COMPAT_BSDOS # binary compatibility with BSD/OS option COMPAT_AOUT # a.out binaries are emulated option PROCFS # /proc option NTFS # Experimental NTFS support # or use root on nfs swap on nfs config bsd swap generic mainbus0 at root cpu0 at mainbus? bios0 at mainbus0 #T apm0 at bios0 flags 0x # flags 0x0101 to force protocol version 1.1 pcibios0 at bios0 flags 0x # use 0x30 for a total verbose #T ipmi0 at mainbus? # IPMI #T esm0 at mainbus? # Dell Embedded Server Management #T isa0 at mainbus0 #T isa0 at pcib? isa0 at ichpcib? #T isa0 at piixpcib? #T isa0 at gscpcib? #T eisa0 at mainbus0 pci* at mainbus0 #option ACPIVERBOSE #option ACPI_ENABLE #T acpi0 at mainbus? disable #acpitimer* at acpi? #acpihpet* at acpi? #acpiac* at acpi? #acpibat* at acpi? #acpibtn* at acpi? #acpicpu* at acpi? #acpidock* at acpi? #T acpiec* at acpi? disable #T acpiprt* at acpi? #acpitz* at acpi? option PCIVERBOSE option EISAVERBOSE option USBVERBOSE pchb* at pci? # PCI-Host bridges ppb* at pci? # PCI-PCI bridges pci* at ppb? #T pci* at pchb? #T pcib* at pci? # PCI-ISA bridge ichpcib* at pci? # Intel ICHx/ICHx-M LPC bridges #T piixpcib* at pci? # Intel PIIX4 PCI-ISA bridge #T gscpcib* at pci? # NS Geode SC1100 PCI-ISA bridge #T gpio* at gscpcib? # power management and other environmental stuff #T elansc* at pci? # AMD Elan SC520 System Controller #T gpio* at elansc? #T geodesc* at pci? # Geode SC1100/SCx200 IAOC #gscpm* at pci? # NS Geode SC1100 SMI/ACPI module #ichwdt* at pci? # Intel 6300ESB ICH watchdog timer #T wdt0 at pci? # Ind Computer Source PCI-WDT50x driver #T pwdog0 at pci? # Quancom PWDOG1 watchdog timer # National Semiconductor LM7[89] and compatible hardware monitors #T lm0 at isa? port 0x290 #lm1 at isa? port 0x280 #lm2 at isa? port 0x310 #T nsclpcsio* at isa? port 0x2e # NS PC87366 LPC Super I/O #T nsclpcsio* at isa? port 0x4e #T gpio* at nsclpcsio? #T gscsio* at isa? port 0x2e # NS Geode SC1100 Super I/O #T gscsio* at isa? port 0x15c #T iic* at gscsio? # ACCESS.bus 1 2 #T piixpm* at pci? # Intel PIIX power management #T iic* at piixpm? #T alipm* at pci? # Acer Labs M7101 power management #T iic* at alipm? ichiic* at pci? # Intel ICH SMBus controller iic* at ichiic? #T viapm* at pci? # VIA VT8237 power management #T iic* at viapm? #T amdiic* at pci? # AMD-8111 SMBus controller #T iic* at amdiic? #T nviic* at pci? # NVIDIA nForce2/3/4 SMBus controller #T iic* at nviic? #T amdpm* at pci? # AMD-7xx/8111 and NForce SMBus controller #T iic* at amdpm? #T it0 at isa? port 0x290 # IT8705F, IT8712F and SiS970 hardware #T it1 at isa? port 0xc00 # monitors #T it2 at isa? port 0xd00 #T viaenv* at pci? # VIA VT82C686A hardware monitor #T viasio* at isa? port 0x2e flags 0x # VIA VT1211 LPC Super I/O #T viasio* at isa? port 0x4e flags 0x #T aps0 at isa? port 0x1600 # ThinkPad Active Protection System #T adc* at iic? # Analog Devices AD7416/AD7417/7418 #T admtemp* at iic? # Analog Devices ADM1021 #T admlc* at iic? # Analog Devices ADM1024 #T admcts* at iic? # Analog Devices ADM1026 #T admtm* at iic? # Analog Devices ADM1025 #T admtmp* at iic? # Analog Devices ADM1030 #T admtt* at iic? # Analog Devices ADM1031 #T adt* at iic? # Analog Devices ADT7460 #T lm* at iic? # LM78/79 and clones #T lmenv* at iic? # National Semiconductor LM87 #T lmtemp* at iic? # NS LM75/LM77 temperature sensor #T maxds* at iic? # Maxim DS1631/1624/1721 #T maxtmp* at iic? # Maxim MAX6642/MAX6690 #T asbtm* at iic? # Asus ASB100 #T wbenv* at iic? # Winbond
Re: altroot is not mentioned in FAQ [diff]
Hi! On Wed, Nov 07, 2007 at 05:17:35PM +0100, Antoine Jacoutot wrote: On Wed, 7 Nov 2007, Nick Holland wrote: Really. /altroot is useful for certain things, but ONLY certain things. Don't call it a backup, as it isn't rotated. You have I do backup everything. It's just that altroot is so easy to get a file you erased by mistake. rm /etc/myfile... err fuck... mount /altroot cp blah... well you see ;) It is good for my lazyness but I'm definitaly not using this for backup ;) rsnapshot (or similar programs) to a separate dir/fs from cron does the same, and can keep several generations in a relatively efficient way, w/o filesystem consistency problems. Kind regards, Hannah.
Re: Connecting nic on different vlan
just curious, why do you explicitly call ifconfig in your hostname.if files? Lazy. I can test without reading the man pages. -Thomas
Re: 7800GS + 2 monitors under 4.2-release
Hi Paul Just wondering if you have had any success ? I updated to -current and also xenocara but it hasn't worked. I have managed to get some form of dual screen through nv(4)'s Option DualHead Yes. I could not set a resolution suitable for my dual 19W (1440x900) monitors thou, it also treats the pair of monitors as one giant monitor which makes opening windows 'fully' span the pair. On Nov 6, 2007 9:32 AM, Paulo Rodriguez [EMAIL PROTECTED] wrote: Hi Chris, Those are exactly the same symptoms I'm experiencing as well. I'll be trying -current later tonight to see how it goes. I'll keep you informed. Thanks, P Chris Harper schreef: Im currently attempting to get my 7900GTX to run dual screens under 4.2 release without success. I can only seem to get green and orange squares on the second monitor which are some how linked to the first as they change colour as the mouse moves around. Any progress you make would be appareciated. On Nov 5, 2007 10:46 PM, Paulo Rodriguez [EMAIL PROTECTED] wrote: Hi misc, Just wondering about any success stories getting dual-screen/xinerama running under OpenBSD 4.2-release with nVidia cards (G73) under X. If I read correctly the necessary code for this was imported by matthieu@ after 4.2-release code was frozen, so it should be in -current. Kind regards, Paulo
Re: Building a custom kernel error
On 11/8/07, 23e7 [EMAIL PROTECTED] wrote: I missing some option? did you read the FAQ? do you know what you are doing? why do you need a custom kernel? --knitti
gOS Develop Kit with VIA pc-1 Processor Platform VIA C7-D
Has anyone tried this motherboard with OpenBSD? Does it work? http://www.clubit.com/product_detail.cfm?itemno=CA4842001 google yielded no hits for me... Thanks.
Re: gOS Develop Kit with VIA pc-1 Processor Platform VIA C7-D
Hey Mike, Has anyone tried this motherboard with OpenBSD? Does it work? I have a similar pc-1 device, which pus along perfectly. I got mine here: http://www.picco.nl/product_info.php?cPath=37_23products_id=747 Be well... Nico OpenBSD 4.1-stable (GENERIC) #0: Sun Oct 28 16:04:24 CET 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: VIA Esther processor 1500MHz (CentaurHauls 686-class) 1.50 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,SSE3 cpu0: RNG AES AES-CTR SHA1 SHA256 RSA real mem = 1055420416 (1030684K) avail mem = 955588608 (933192K) using 4278 buffers containing 52895744 bytes (51656K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+ BIOS, date 06/02/06, BIOS32 rev. 0 @ 0xf9ee0, SMBIOS rev. 2.3 @ 0xf (33 entries) bios0: IDOT ID-PCM7E PC2500 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 70102 dobusy 1 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf/0xd1a4 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfd110/144 (7 entries) pcibios0: bad IRQ table checksum pcibios0: PCI BIOS has 7 Interrupt Routing table entries pcibios0: PCI Exclusive IRQs: 5 10 11 pcibios0: PCI Interrupt Router at 000:17:0 (VIA VT8237 ISA rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0xfe00 0xd/0x8000! acpi at mainbus0 not configured cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 VIA CN700 Host rev 0x00 pchb1 at pci0 dev 0 function 1 VIA CN700 Host rev 0x00 pchb2 at pci0 dev 0 function 2 VIA CN700 Host rev 0x00 pchb3 at pci0 dev 0 function 3 VIA PT890 Host rev 0x00 pchb4 at pci0 dev 0 function 4 VIA CN700 Host rev 0x00 pchb5 at pci0 dev 0 function 7 VIA CN700 Host rev 0x00 ppb0 at pci0 dev 1 function 0 VIA VT8377 AGP rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 VIA S3 Unichrome PRO IGP rev 0x01: aperture at 0xf400, size 0x1000 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pciide0 at pci0 dev 15 function 0 VIA VT6420 SATA rev 0x80: DMA pciide0: using irq 11 for native-PCI interrupt wd0 at pciide0 channel 0 drive 0: HDT722525DLA380 wd0: 16-sector PIO, LBA48, 238475MB, 488397168 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 pciide1 at pci0 dev 15 function 1 VIA VT82C571 IDE rev 0x06: ATA133, channel 0 configured to compatibility, channel 1 configured to compatibility pciide1: channel 0 disabled (no drives) pciide1: channel 1 disabled (no drives) uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x81: irq 10 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 16 function 1 VIA VT83C572 USB rev 0x81: irq 10 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 16 function 2 VIA VT83C572 USB rev 0x81: irq 11 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3 at pci0 dev 16 function 3 VIA VT83C572 USB rev 0x81: irq 11 usb3 at uhci3: USB revision 1.0 uhub3 at usb3 uhub3: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0 at pci0 dev 16 function 4 VIA VT6202 USB rev 0x86: irq 5 usb4 at ehci0: USB revision 2.0 uhub4 at usb4 uhub4: VIA EHCI root hub, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered viapm0 at pci0 dev 17 function 0 VIA VT8237 ISA rev 0x00 iic0 at viapm0 vr0 at pci0 dev 18 function 0 VIA RhineII-2 rev 0x78: irq 10, address 00:16:ec:d2:fd:b6 ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 10: OUI 0x004063, model 0x0032 isa0 at mainbus0 isadma0 at isa0 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 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 it0 at isa0 port 0x290/8: IT87 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo biomask ff6d netmask ff6d ttymask ffef pctr: user-level cycle counter enabled dkcsum: wd0 matches BIOS drive 0x80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302
Re: Building a custom kernel error
yes, I know. On 11/8/07, knitti [EMAIL PROTECTED] wrote: On 11/8/07, 23$B9f(B [EMAIL PROTECTED] wrote: I missing some option? did you read the FAQ? do you know what you are doing? why do you need a custom kernel? --knitti -- Best Regards, No.23 http://blog.chinaunix.net/u1/42287
Re: OpenBSD 4.2 on Intel Board S3000AHLX + QuadNic EXPI9404PT = couldn't map interrupt
Hello, Showing the actual panic has more chances of something getting fixed. ok - here is the panic output, I hope anyone found something: acpi0: tables DSDT FACP APIC WDDT MCFG ASF! SSDT SSDT SSDT SSDT SSDT acpitimer at acpi0 not configured acpiprt0 at acpi0index.buf out of bounds: 6/6 0706 Called: \_SB_.PCI0._CRS panic: aml_die aml_derefvalue:1366 Stopped at Debugger+0x5: leave Debugger() at Debugger+0x5 panic() at panic+0x12a _aml_die() at _aml_die+0xdc aml_derefvalue() at aml_derefvalue+0x26f aml_evalterm() at aml_evalterm+0x32 aml_parseterm() at aml_parseterm+0x48 aml_parseref() at aml_parseref+0x11d aml_parseop() at aml_parseop+0xb4 aml_parseterm() at aml_parseterm+0x3a aml_parsewhile() at aml_parsewhile+0x4e end trace frame: 0x80ba8850, count: 0 RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC! DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION! ddb trace Debugger() at Debugger+0x5 panic() at panic+0x12a _aml_die() at _aml_die+0xdc aml_derefvalue() at aml_derefvalue+0x26f aml_evalterm() at aml_evalterm+0x32 aml_parseterm() at aml_parseterm+0x48 aml_parseref() at aml_parseref+0x11d aml_parseop() at aml_parseop+0xb4 aml_parseterm() at aml_parseterm+0x3a aml_parsewhile() at aml_parsewhile+0x4e aml_parseop() at aml_parseo+0xb4 aml_parseterm() at aml_parseterm+0x3a aml_callmethod() at aml_callmethod+0x3a aml_evalmethod() at aml_evalmethod+0x59 aml_derefvalue() at aml_derefvalue+0x7e aml_derefvalue() at aml_derefvalue+0x118 aml_evalterm() at aml_evalterm+0x32 aml_parseterm() at aml_parseterm+0x48 aml_callmethod() at aml_callmethod+0x3a aml_evalmethod() at aml_evalmethod+0x59 aml_evalnode() at aml_evalnode+0xd9 acpiprt_getpcibus() at acpiprt_getpcibus+0xd9 acpiprt_attach() at acpiprt_attach+0x28 config_attach() at config_attach+0x11b acpi_foundprt() at acpi_foundprt+0x4f aml_find_node() at aml_find_node+0x75 aml_find_node() at aml_find_node+0x58 aml_find_node() at aml_find_node+0x58 acpi_attach() at acpi_attach+0x3ea config_attach() at config_attach+0x11b mainbus_attach() at mainbus_attach+0x205 config_attach() at config_attach+0x11b cpu_configure() at cpu_configure+0x1c main() at main+0x39c end trace frame: 0x0, count: -34 ddb ps PIDPPID PGRPUID S FLAGS WAIT COMMAND *0 -1 0 0 70x80200swapper ddb show panic amldie aml_derefvalue:1366 ddb dmesg OpenBSD 4.2 (GENERIC) #1179: Tue Aug 28 10:37:50 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 1069268992 (1019MB) avail mem = 1027013656 (979MB) User Kernel Config UKC enable acpi 263 acpi0 enabled UKC quit Continuing... RTC BIOS diagnostic error ffixed_disk,invalid_time mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0x3fc1d000 (43 entries) bios0: vendor Intel Corporation version S3000.86B.02.00.0035.111020061326 date 11/10/2006 bios0: Intel S3000AHLX acpi0 at mainbus0: rev 0 acpi0: tables DSDT FACP APIC WDDT MCFG ASF! SSDT SSDT SSDT SSDT SSDT acpitimer at acpi0 not configured acpiprt0 at acpi0index.buf out of bounds: 6/6 0706 Called: \_SB_.PCI0.EROM local0: 0x80020020 cnt:00 stk:60 interger: c local0: 0x80020060 cnt:00 stk:61 interger: 6 local0: 0x800200a0 cnt:00 stk:62 interger: 3 0706 Called: \_SB_.PCI0._CRS panic: aml_die aml_derefvalue:1366 Stopped at Debugger+0x5: leave Debugger() at Debugger+0x5 panic() at panic+0x12a _aml_die() at _aml_die+0xdc aml_derefvalue() at aml_derefvalue+0x26f aml_evalterm() at aml_evalterm+0x32 aml_parseterm() at aml_parseterm+0x48 aml_parseref() at aml_parseref+0x11d aml_parseop() at aml_parseop+0xb4 aml_parseterm() at aml_parseterm+0x3a aml_parsewhile() at aml_parsewhile+0x4e end trace frame: 0x80ba8850, count: 0 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() at Debugger+0x5 panic() at panic+0x12a _aml_die() at _aml_die+0xdc aml_derefvalue() at aml_derefvalue+0x26f aml_evalterm() at aml_evalterm+0x32 aml_parseterm() at aml_parseterm+0x48 aml_parseref() at aml_parseref+0x11d aml_parseop() at aml_parseop+0xb4 aml_parseterm() at aml_parseterm+0x3a aml_parsewhile() at aml_parsewhile+0x4e aml_parseop() at aml_parseo+0xb4 aml_parseterm() at aml_parseterm+0x3a aml_callmethod() at aml_callmethod+0x3a aml_evalmethod() at aml_evalmethod+0x59 aml_derefvalue() at aml_derefvalue+0x7e aml_derefvalue() at aml_derefvalue+0x118 aml_evalterm() at aml_evalterm+0x32 aml_parseterm() at aml_parseterm+0x48 aml_callmethod() at aml_callmethod+0x3a aml_evalmethod() at aml_evalmethod+0x59 aml_evalnode() at aml_evalnode+0xd9 acpiprt_getpcibus() at acpiprt_getpcibus+0xd9 acpiprt_attach() at acpiprt_attach+0x28 config_attach() at config_attach+0x11b acpi_foundprt() at acpi_foundprt+0x4f aml_find_node() at aml_find_node+0x75 aml_find_node() at aml_find_node+0x58 aml_find_node() at aml_find_node+0x58 acpi_attach() at
Re: when was a pkg installed !!!
On Wed, Nov 07, 2007 at 11:43:14PM -0500, Jeremy Huiskamp wrote: You could hack pkg_add to write a log msg every time it completes an installation and just refer to the log for timestamps. If you're going to go through that much trouble, keep server change logs. It's a good practice anyway. -ME
Re: OpenBSD 4.2 on Intel Board S3000AHLX + QuadNic EXPI9404PT = couldn't map interrupt
What version of OpenBSD are you running ? Several fixes have recently been added that made my machine suddenly support ACPI. You snipped this (very important) piece of information. Maybe trying the latest snapshot fixes your problem. Please also add a full dmesg (without acpi) so we don't have to guess what's in your machine. Cheers, Paul 'WEiRD' de Weerd On Thu, Nov 08, 2007 at 02:48:33PM +0100, Koenig, Thomas wrote: | Hello, | | Showing the actual panic has more chances of something getting fixed. | | | ok - here is the panic output, I hope anyone found something: | | | acpi0: tables DSDT FACP APIC WDDT MCFG ASF! SSDT SSDT SSDT SSDT SSDT | acpitimer at acpi0 not configured | acpiprt0 at acpi0index.buf out of bounds: 6/6 | | 0706 Called: \_SB_.PCI0._CRS | panic: aml_die aml_derefvalue:1366 | Stopped atDebugger+0x5: leave | Debugger() at Debugger+0x5 | panic() at panic+0x12a | _aml_die() at _aml_die+0xdc | aml_derefvalue() at aml_derefvalue+0x26f | aml_evalterm() at aml_evalterm+0x32 | aml_parseterm() at aml_parseterm+0x48 | aml_parseref() at aml_parseref+0x11d | aml_parseop() at aml_parseop+0xb4 | aml_parseterm() at aml_parseterm+0x3a | aml_parsewhile() at aml_parsewhile+0x4e | end trace frame: 0x80ba8850, count: 0 | RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS | PANIC! | DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION! | ddb trace | Debugger() at Debugger+0x5 | panic() at panic+0x12a | _aml_die() at _aml_die+0xdc | aml_derefvalue() at aml_derefvalue+0x26f | aml_evalterm() at aml_evalterm+0x32 | aml_parseterm() at aml_parseterm+0x48 | aml_parseref() at aml_parseref+0x11d | aml_parseop() at aml_parseop+0xb4 | aml_parseterm() at aml_parseterm+0x3a | aml_parsewhile() at aml_parsewhile+0x4e | aml_parseop() at aml_parseo+0xb4 | aml_parseterm() at aml_parseterm+0x3a | aml_callmethod() at aml_callmethod+0x3a | aml_evalmethod() at aml_evalmethod+0x59 | aml_derefvalue() at aml_derefvalue+0x7e | aml_derefvalue() at aml_derefvalue+0x118 | aml_evalterm() at aml_evalterm+0x32 | aml_parseterm() at aml_parseterm+0x48 | aml_callmethod() at aml_callmethod+0x3a | aml_evalmethod() at aml_evalmethod+0x59 | aml_evalnode() at aml_evalnode+0xd9 | acpiprt_getpcibus() at acpiprt_getpcibus+0xd9 | acpiprt_attach() at acpiprt_attach+0x28 | config_attach() at config_attach+0x11b | acpi_foundprt() at acpi_foundprt+0x4f | aml_find_node() at aml_find_node+0x75 | aml_find_node() at aml_find_node+0x58 | aml_find_node() at aml_find_node+0x58 | acpi_attach() at acpi_attach+0x3ea | config_attach() at config_attach+0x11b | mainbus_attach() at mainbus_attach+0x205 | config_attach() at config_attach+0x11b | cpu_configure() at cpu_configure+0x1c | main() at main+0x39c | end trace frame: 0x0, count: -34 | ddb ps |PIDPPID PGRPUID S FLAGS WAIT COMMAND | *0 -1 0 0 70x80200swapper | ddb show panic | amldie aml_derefvalue:1366 | | ddb dmesg | OpenBSD 4.2 (GENERIC) #1179: Tue Aug 28 10:37:50 MDT 2007 | [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC | real mem = 1069268992 (1019MB) | avail mem = 1027013656 (979MB) | User Kernel Config | UKC enable acpi | 263 acpi0 enabled | UKC quit | Continuing... | RTC BIOS diagnostic error ffixed_disk,invalid_time | mainbus0 at root | bios0 at mainbus0: SMBIOS rev. 2.4 @ 0x3fc1d000 (43 entries) | bios0: vendor Intel Corporation version | S3000.86B.02.00.0035.111020061326 date 11/10/2006 | bios0: Intel S3000AHLX | acpi0 at mainbus0: rev 0 | acpi0: tables DSDT FACP APIC WDDT MCFG ASF! SSDT SSDT SSDT SSDT SSDT | acpitimer at acpi0 not configured | acpiprt0 at acpi0index.buf out of bounds: 6/6 | | 0706 Called: \_SB_.PCI0.EROM | local0: 0x80020020 cnt:00 stk:60 interger: c | local0: 0x80020060 cnt:00 stk:61 interger: 6 | local0: 0x800200a0 cnt:00 stk:62 interger: 3 | 0706 Called: \_SB_.PCI0._CRS | panic: aml_die aml_derefvalue:1366 | Stopped atDebugger+0x5: leave | Debugger() at Debugger+0x5 | panic() at panic+0x12a | _aml_die() at _aml_die+0xdc | aml_derefvalue() at aml_derefvalue+0x26f | aml_evalterm() at aml_evalterm+0x32 | aml_parseterm() at aml_parseterm+0x48 | aml_parseref() at aml_parseref+0x11d | aml_parseop() at aml_parseop+0xb4 | aml_parseterm() at aml_parseterm+0x3a | aml_parsewhile() at aml_parsewhile+0x4e | end trace frame: 0x80ba8850, count: 0 | 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() at Debugger+0x5 | panic() at panic+0x12a | _aml_die() at _aml_die+0xdc | aml_derefvalue() at aml_derefvalue+0x26f | aml_evalterm() at aml_evalterm+0x32 | aml_parseterm() at aml_parseterm+0x48 | aml_parseref() at aml_parseref+0x11d | aml_parseop() at aml_parseop+0xb4 | aml_parseterm() at aml_parseterm+0x3a | aml_parsewhile() at aml_parsewhile+0x4e | aml_parseop() at aml_parseo+0xb4 | aml_parseterm()
problems with D-LINK USB PCI Adapter on sparc64
?Anyone has any idea about this...? Thanks. Joaqumn. On Nov 5 joakinen wrote... Hi everybody, I'm having problems with usb disks on my Sun Ultra 10 desktop. Last week I bought a D-Link DU-520 5-Port USB 2.0 PCI Ada pter for this machine. OpenBSD detected it without problems, and detects all the hardware I plug in this card. The probl em is that only the c partition is shown in disklabel, so I cannot mount the disks, as no i partition shows up. I give here details about the problem and the dmesg of the machine. Any comments appreciated. When I plug an external USB disk this is what is logged on /var/log/messages: umass0 at uhub2 port 4 configuration 1 interface 0 umass0: Lacie Group. SA Lacie Mobile Drive, rev 2.00/0.01, addr 2 umass0: using SCSI over Bulk-Only scsibus3 at umass0: 2 targets sd0 at scsibus3 targ 1 lun 0: SAMSUNG, MP0804H, SCSI0 0/direct fixed sd0: 76351MB, 76351 cyl, 64 head, 32 sec, 512 bytes/sec, 156368016 sec total This is the disklabel output for that disk: # disklabel sd0 # /dev/rsd0c: type: SCSI disk: SCSI disk label: MP0804H flags: bytes/sector: 512 sectors/track: 32 tracks/cylinder: 64 sectors/cylinder: 2048 cylinders: 76351 total sectors: 156368016 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # microseconds track-to-track seek: 0 # microseconds drivedata: 0 3 partitions: # sizeoffset fstype [fsize bsize cpg] c: 156368016 0 unused 0 0 # Cyl 0 - 76351* disklabel: warning, partition c: size % cylinder-size != 0 There's no i partition, so I cannot mount it. Same happens with any usb disk I've tried. For example, this is the log for a usb flash disk: umass0 at uhub2 port 2 configuration 1 interface 0 umass0: vendor 0x0930 USB Flash Memory, rev 2.00/1.00, addr 2 umass0: using SCSI over Bulk-Only scsibus3 at umass0: 2 targets sd0 at scsibus3 targ 1 lun 0: , USB Flash Memory, 1.00 SCSI2 0/direct removable sd0: 978MB, 978 cyl, 64 head, 32 sec, 512 bytes/sec, 2002944 sec total and this is the disklabel output: # disklabel sd0 # /dev/rsd0c: type: SCSI disk: SCSI disk label: USB Flash Memory flags: bytes/sector: 512 sectors/track: 32 tracks/cylinder: 64 sectors/cylinder: 2048 cylinders: 978 total sectors: 2002944 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # microseconds track-to-track seek: 0 # microseconds drivedata: 0 3 partitions: # sizeoffset fstype [fsize bsize cpg] c: 2002944 0 unused 0 0 # Cyl 0 - 977 In this case there's no warning, but no sd0i partition. Here is the dmesg: console is keyboard/display Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2007 OpenBSD. All rights reserved. http://www.OpenBSD.org http://www.openbsd.org/ OpenBSD 4.1 (GENERIC) #1099: Sat Mar 10 19:18:09 MST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/sparc64/compile/GENERIC total memory = 1073741824 avail memory = 969736192 using 6553 buffers containing 53682176 bytes of memory bootpath: /[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED],0/[EMAIL PROTECTED],0 mainbus0 (root): Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 440MHz) cpu0 at mainbus0: SUNW,UltraSPARC-IIi (rev 9.1) @ 440 MHz, version 0 FPU cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 2048K external (64 b/l) psycho0 at mainbus0 addr 0xfffc4000: SUNW,sabre, impl 0, version 0, ign 7c0 psycho0: bus range 0-3, PCI bus 0 psycho0: dvma map c000-dfff, iotdb 534c000-53cc000 pci0 at psycho0 ppb0 at pci0 dev 1 function 1 Sun Simba PCI-PCI rev 0x13 pci1 at ppb0 bus 1 ebus0 at pci1 dev 1 function 0 Sun PCIO EBus2 rev 0x01 auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003, 72c000-72c003, 72f000-72f003 power0 at ebus0 addr 724000-724003 ipl 37 SUNW,pll at ebus0 addr 504000-504002 not configured sab0 at ebus0 addr 40-40007f ipl 43: rev 3.2 sabtty0 at sab0 port 0 sabtty1 at sab0 port 1 comkbd0 at ebus0 addr 3083f8-3083ff ipl 41: layout 42 wskbd0 at comkbd0: console keyboard com0 at ebus0 addr 3062f8-3062ff ipl 42: mouse: ns16550a, 16 byte fifo lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 70-7f ipl 34: polled fdthree at ebus0 addr 3023f0-3023f7, 706000-70600f, 72-720003 ipl 39 not configured clock1 at ebus0 addr 0-1fff: mk48t59 flashprom at ebus0 addr 0-f not configured audioce0 at ebus0 addr 20-2000ff, 702000-70200f, 704000-70400f, 722000-722003 ipl 35 ipl 36: nvaddrs 0 audio0 at audioce0 hme0 at pci1 dev 1 function 1 Sun HME rev 0x01: ivec 0x7e1, address 08:00:20:fe:3f:6c nsphy0 at hme0 phy 1: DP83840 10/100 PHY, rev. 1 vgafb0 at pci1 dev 2 function 0 ATI Mach64 GP rev 0x5c wsdisplay0 at vgafb0 wsdisplay0: screen 0 added (std, sun emulation) pciide0 at pci1 dev 3 function 0 CMD Technology PCI0646 rev 0x03: DMA, channel 0 configured to native-PCI,
Re: Building a custom kernel error
it is okay, I added its to configure file: pccom0 at isa? port 0x3f8 irq 4 # standard PC serial ports pccom1 at isa? port 0x2f8 irq 3 thx. On 11/8/07, knitti [EMAIL PROTECTED] wrote: On 11/8/07, 23$B9f(B [EMAIL PROTECTED] wrote: yes, I know. On 11/8/07, knitti [EMAIL PROTECTED] wrote: On 11/8/07, 23 $B9f (B [EMAIL PROTECTED] wrote: I missing some option? did you read the FAQ? do you know what you are doing? why do you need a custom kernel? the error message tells you to find the code which defines 'comsoft' and enable it. --knitti -- Best Regards, No.23 http://blog.chinaunix.net/u1/42287
Re: OpenBSD 4.2 on Intel Board S3000AHLX + QuadNic EXPI9404PT =couldn't map interrupt
What version of OpenBSD are you running ? Several fixes have recently been added that made my machine suddenly support ACPI. You snipped this (very important) piece of information. Maybe trying the latest snapshot fixes your problem. Please also add a full dmesg (without acpi) so we don't have to guess what's in your machine. Hi, as you can see, the full dmesg output without acpi was included in my fist email! But currently I've installed the amd64 version and not i386, it was a try - but with both the same problems. and btw. you can find the Version I'm running in the dmesg/panic output in my last email, but however here the dmesg out without acpi from the current amd64 installation: OpenBSD 4.2 (GENERIC) #1179: Tue Aug 28 10:37:50 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 1069268992 (1019MB) avail mem = 1027014656 (979MB) RTC BIOS diagnostic error ffixed_disk,invalid_time mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0x3fc1d000 (43 entries) bios0: vendor Intel Corporation version S3000.86B.02.00.0035.111020061326 date 11/10/2006 bios0: Intel S3000AHLX acpi at mainbus0 not configured cpu0 at mainbus0: (uniprocessor) cpu0: Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz, 2200.18 MHz cpu0: FPU,VME,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,NXE,LONG cpu0: 2MB 64b/line 8-way L2 cache pci0 at mainbus0 bus 0: configuration mode 1 pchb0 at pci0 dev 0 function 0 Intel E7230 MCH rev 0x00 ppb0 at pci0 dev 1 function 0 Intel E7230 PCIE rev 0x00 pci1 at ppb0 bus 1 ppb1 at pci1 dev 0 function 0 vendor IDT, unknown product 0x8018 rev 0x04 pci2 at ppb1 bus 2 ppb2 at pci2 dev 0 function 0 vendor IDT, unknown product 0x8018 rev 0x04 pci3 at ppb2 bus 3 em0 at pci3 dev 0 function 0 Intel PRO/1000 QP (82571EB) rev 0x06pci_intr_map: bad interrupt line 128 : couldn't map interrupt em0: Allocation of PCI resources failed em1 at pci3 dev 0 function 1 Intel PRO/1000 QP (82571EB) rev 0x06pci_intr_map: bad interrupt line 128 : couldn't map interrupt em1: Allocation of PCI resources failed ppb3 at pci2 dev 1 function 0 vendor IDT, unknown product 0x8018 rev 0x04 pci4 at ppb3 bus 4 em2 at pci4 dev 0 function 0 Intel PRO/1000 QP (82571EB) rev 0x06pci_intr_map: bad interrupt line 128 : couldn't map interrupt em2: Allocation of PCI resources failed em3 at pci4 dev 0 function 1 Intel PRO/1000 QP (82571EB) rev 0x06pci_intr_map: bad interrupt line 128 : couldn't map interrupt em3: Allocation of PCI resources failed ppb4 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01 pci5 at ppb4 bus 5 ppb5 at pci5 dev 0 function 0 Intel PCIE-PCIE rev 0x09 pci6 at ppb5 bus 6 ppb6 at pci0 dev 28 function 4 Intel 82801G PCIE rev 0x01 pci7 at ppb6 bus 7 ppb7 at pci0 dev 28 function 5 Intel 82801G PCIE rev 0x01 pci8 at ppb7 bus 8 em4 at pci8 dev 0 function 0 Intel PRO/1000MT (82573E) rev 0x03: irq 9, address 00:15:17:29:70:25 Intel 82573E AMT rev 0x03 at pci8 dev 0 function 3 not configured Intel 82573E KCS (Active Management) rev 0x03 at pci8 dev 0 function 4 not configured ppb8 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0xe1 pci9 at ppb8 bus 9 vga1 at pci9 dev 4 function 0 ATI ES1000 rev 0x02 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) em5 at pci9 dev 5 function 0 Intel PRO/1000MT (82541GI) rev 0x05: irq 9, address 00:15:17:29:70:26 pcib0 at pci0 dev 31 function 0 Intel 82801GB LPC rev 0x01 pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: Optiarc, DVD RW AD-7540A, 1.01 SCSI0 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 disabled (no drives) pciide1 at pci0 dev 31 function 2 Intel 82801GB SATA rev 0x01: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide1: using irq 10 for native-PCI interrupt wd0 at pciide1 channel 0 drive 0: Hitachi HDS721680PLA380 wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 ichiic0 at pci0 dev 31 function 3 Intel 82801GB SMBus rev 0x01: irq 10 iic0 at ichiic0 adt0 at iic0 addr 0x2e: emc6d100 rev 0x69 isa0 at pcib0 isadma0 at isa0 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 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 dkcsum: wd0 matches BIOS drive 0x80 root on wd0a swap on wd0b dump on wd0b regards, Thomas [demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]
detecting bad disks
Trying to copy a file from one filesystem to another, I kept getting input/output errors. I noticed these messages in the logs: wd1a: uncorrectable data error reading fsbn 768416 of 768384-0 (wd1 bn 768416; cn 762 tn 5 sn 5), retrying wd1a: uncorrectable data error reading fsbn 768416 of 768384-0 (wd1 bn 768416; cn 762 tn 5 sn 5), retrying wd1a: uncorrectable data error reading fsbn 768416 of 768384-0 (wd1 bn 768416; cn 762 tn 5 sn 5), retrying wd1a: uncorrectable data error reading fsbn 768416 of 768384-0 (wd1 bn 768416; cn 762 tn 5 sn 5), retrying wd1a: uncorrectable data error reading fsbn 768417 of 768384-0 (wd1 bn 768417; cn 762 tn 5 sn 6), retrying wd1a: uncorrectable data error reading fsbn 768417 of 768384-0 (wd1 bn 768417; cn 762 tn 5 sn 6) Okay, so clearly wd1 has some issues (wd1a is the only filesystem on that disk). I've already started moving the data to a different disk. Now, I thought I was going to be alerted to this sort of thing automatically because of an entry like this one in the crontab: 0 * * * * /sbin/atactl /dev/wd0c smartstatus /dev/null However, when I run this by hand, I get [EMAIL PROTECTED]:$ sudo /sbin/atactl /dev/wd1 smartstatus No SMART threshold exceeded So clearly, the SMART stuff wasn't going to tell me about this. However: [EMAIL PROTECTED]:$ sudo /sbin/atactl /dev/wd1 readattr Attributes table revision: 16 ID Attribute name Threshold Value Raw 1 Raw Read Error Rate 51199 0x0081 3 Spin Up Time 21123 0x1127 4 Start/Stop Count 40 99 0x056f 5 Reallocated Sector Count 140200 0x 7 Seek Error Rate 51200 0x 9 Power-on Hours Count 0 73 0x4da4 10 Spin Retry Count 51100 0x 11 Unknown 51100 0x 12 Device Power Cycle Count 0 99 0x056e 194 Temperature0101 0x0031 196 Reallocation Event Count 0200 0x 197 Current Pending Sector Count 0197 0x0068 198 Off-line Scan Uncorrectable Sect 0199 0x0032 199 Ultra DMA CRC Error Count 0200 0x I see a number of values that exceed the preset threshholds. But I see the same kinds of values on the other three drives: [EMAIL PROTECTED]:$ sudo /sbin/atactl /dev/wd0 readattr Attributes table revision: 16 ID Attribute name Threshold Value Raw 1 Raw Read Error Rate 51200 0x 3 Spin Up Time 21 96 0x175f 4 Start/Stop Count 40 96 0x110f 5 Reallocated Sector Count 140196 0x003a 7 Seek Error Rate 51200 0x 9 Power-on Hours Count 0 80 0x3a71 10 Spin Retry Count 51100 0x 11 Unknown 51100 0x 12 Device Power Cycle Count 0 99 0x0585 196 Reallocation Event Count 0181 0x0013 197 Current Pending Sector Count 0200 0x 198 Off-line Scan Uncorrectable Sect 0200 0x 199 Ultra DMA CRC Error Count 0200 0x0001 200 Unknown 51200 0x [EMAIL PROTECTED]:$ sudo /sbin/atactl /dev/wd2 readattr Attributes table revision: 16 ID Attribute name Threshold Value Raw 3 Spin Up Time 63200 0x1b3c 4 Start/Stop Count 0253 0x0020 5 Reallocated Sector Count 63253 0x 6 Unknown 100253 0x 7 Seek Error Rate0253 0x 8 Seek Time Performance187253 0xaa64 9 Power-on Hours Count 0217 0xb2b8 10 Spin Retry Count 157253 0x 11 Unknown 223253 0x 12 Device Power Cycle Count 0253 0x003b 192 Power-off Retract Count0253 0x 193 Load Cycle
Re: OpenBSD 4.2 on Intel Board S3000AHLX + QuadNic EXPI9404PT = couldn't map interrupt
On 2007/11/08 14:48, Koenig, Thomas wrote: 0706 Called: \_SB_.PCI0._CRS panic: aml_die aml_derefvalue:1366 Stopped atDebugger+0x5: leave ddb dmesg OpenBSD 4.2 (GENERIC) #1179: Tue Aug 28 10:37:50 MDT 2007 Try a snapshot.
Re: how to create cdrom42.fs?
I believe the boot image must be less than 9900 sectors to be used on a bootable cdrom. bsd.rd would be too large. -- Calomel @ http://calomel.org Open Source Research and Reference On Wed, Nov 07, 2007 at 07:45:52PM -0500, Steve Shockley wrote: Calomel wrote: You can use geteltorito.pl by Rainer Krienke. It will extract what it needs from the cdemu42.iso image and make a new cdrom42.fs image. Just takes a second. Doing: ./geteltorito.pl -o test cd42.iso results in a file test that's identical to cdbr. Why jump through so many hoops to do things the hard way? I'm not sure I see the advantage of using 2.88 emulation, especially when bsd.rd is ~5M.
Re: Building a custom kernel error
On 11/8/07, 23e7 [EMAIL PROTECTED] wrote: yes, I know. On 11/8/07, knitti [EMAIL PROTECTED] wrote: On 11/8/07, 23 $B9f (B [EMAIL PROTECTED] wrote: I missing some option? did you read the FAQ? do you know what you are doing? why do you need a custom kernel? the error message tells you to find the code which defines 'comsoft' and enable it. --knitti
Re: why am i only able to run Gnome in safe mode? (getting error)
On Thu, Nov 08, 2007 at 09:56:50AM +0200, Genadijus Paleckis wrote: take a look at http://www.mail-archive.com/misc@openbsd.org/msg50994.html badeguruji wrote: Hello, Please help OR guide to me to any resource which describes installing gnome in clean clear steps on a new openBSD installation. (I am ready to uninstall and reinstall gnome if needed) i tried to install gnome in below order: gnome-desktop-2.18.2p0: gnome-session-2.18.2p0 gdm-2.18.2 I am only able to run gnome is safe mode. This post has the exact issue i am facing (only error in the log file is little different, which is shown below) http://www.webservertalk.com/message1134770.html --as per the solution in the above post user changed permissions on his home dir. i am logging in as root. should i change my root permissions? currently they are: drwx-- 14 root wheel 1024 Nov 7 07:01 root The errors in the log file: (==) Log file: /var/log/Xorg.0.log, Time: Wed Nov 7 05:46:56 2007 (EE) Unable to locate/open config file New driver is i810 (==) Using default built-in configuration (55 lines) (EE) Failed to load module dri (module does not exist, 0) (EE) Failed to load module fbdev (module does not exist, 0) FreeFontPath: FPE /usr/X11R6/lib/X11/fonts/misc/ refcount is 2, should be 1; fixing. FreeFontPath: FPE /usr/X11R6/lib/X11/fonts/misc/ refcount is 2, should be 1; fixing. # I am also getting below error on message log: Nov 7 00:12:46 ironhost gdm[12200]: gdm_slave_exec_script: Failed starting: /etc/X11/gdm/Init/Default please advice. thank you. BG ~~Kalyan-mastu~~ i'll have a look at this soon. thanks for reporting though. cheers, jasper -- The good life is one inspired by love and guided by knowledge. -- Bertrand Russel
Re: detecting bad disks
knitti wrote: - SMART didn't catch the errors. no monitoring is perfect, but it seems unlikely that it won't notice read errors Also, SMART thresholds are defined by the vendor. Setting them too high reduces the number of warranty claims. You'll notice wd1 has raw read errors and pending/offline uncorrectable sectors, they're an indicator of drive problems. wd0 also has 0x13 reallocated sectors, depending on the size of the drive that may be okay. It might be a good idea to to an offline self-test on all your drives and see if the numbers change.
Re: style(9)
On 11/7/07, David Walker [EMAIL PROTECTED] wrote: style(9) man page (DESCRIPTION section) says: Then there's a blank line, followed by the /usr/include files. The /usr/include files should be sorted! I guess this means alphabetically. Can someone confirm or deny please? mostly. some headers go on top always, like sys/types.h. Also, although not explicitly stated, it appears to be suggested that single line comments are punctuated. (DESCRIPTION section): /* * Multi-line comments look like this. Make them real sentences. * Fill them so they look like real paragraphs. */ and: #include sys/types.h /* Non-local includes in brackets. */ and various other places. However, when defining structures, the examples: struct foo { struct foo *next; /* List of active foo */ struct mumble amumble; /* Comment for mumble */ int bar; }; struct foo *foohead;/* Head of global foo list */ (etcetera) suggest ambiguity. Clarification appreciated. i think this doesn't matter. style guidelines are just guidelines.
Re: detecting bad disks
All drives develop read errors over time. When you write to these blocks, it may automatically remap them and the errors disappear. Just because you get some read errors doesn't meant the drive is necessarily about to die. But if you develop new bad blocks with any frequency, you might want to replace the drive. Derick Siddoway [EMAIL PROTECTED] wrote: Trying to copy a file from one filesystem to another, I kept getting input/output errors. I noticed these messages in the logs: wd1a: uncorrectable data error reading fsbn 768416 of 768384-0 (wd1 bn 768416; cn 762 tn 5 sn 5), retrying wd1a: uncorrectable data error reading fsbn 768416 of 768384-0 (wd1 bn 768416; cn 762 tn 5 sn 5), retrying wd1a: uncorrectable data error reading fsbn 768416 of 768384-0 (wd1 bn 768416; cn 762 tn 5 sn 5), retrying wd1a: uncorrectable data error reading fsbn 768416 of 768384-0 (wd1 bn 768416; cn 762 tn 5 sn 5), retrying wd1a: uncorrectable data error reading fsbn 768417 of 768384-0 (wd1 bn 768417; cn 762 tn 5 sn 6), retrying wd1a: uncorrectable data error reading fsbn 768417 of 768384-0 (wd1 bn 768417; cn 762 tn 5 sn 6) Okay, so clearly wd1 has some issues (wd1a is the only filesystem on that disk). I've already started moving the data to a different disk. Now, I thought I was going to be alerted to this sort of thing automatically because of an entry like this one in the crontab: 0 * * * * /sbin/atactl /dev/wd0c smartstatus /dev/null However, when I run this by hand, I get [EMAIL PROTECTED]:$ sudo /sbin/atactl /dev/wd1 smartstatus No SMART threshold exceeded So clearly, the SMART stuff wasn't going to tell me about this. However: [EMAIL PROTECTED]:$ sudo /sbin/atactl /dev/wd1 readattr Attributes table revision: 16 ID Attribute name Threshold Value Raw 1 Raw Read Error Rate 51199 0x0081 3 Spin Up Time 21123 0x1127 4 Start/Stop Count 40 99 0x056f 5 Reallocated Sector Count 140200 0x 7 Seek Error Rate 51200 0x 9 Power-on Hours Count 0 73 0x4da4 10 Spin Retry Count 51100 0x 11 Unknown 51100 0x 12 Device Power Cycle Count 0 99 0x056e 194 Temperature0101 0x0031 196 Reallocation Event Count 0200 0x 197 Current Pending Sector Count 0197 0x0068 198 Off-line Scan Uncorrectable Sect 0199 0x0032 199 Ultra DMA CRC Error Count 0200 0x I see a number of values that exceed the preset threshholds. But I see the same kinds of values on the other three drives: [EMAIL PROTECTED]:$ sudo /sbin/atactl /dev/wd0 readattr Attributes table revision: 16 ID Attribute name Threshold Value Raw 1 Raw Read Error Rate 51200 0x 3 Spin Up Time 21 96 0x175f 4 Start/Stop Count 40 96 0x110f 5 Reallocated Sector Count 140196 0x003a 7 Seek Error Rate 51200 0x 9 Power-on Hours Count 0 80 0x3a71 10 Spin Retry Count 51100 0x 11 Unknown 51100 0x 12 Device Power Cycle Count 0 99 0x0585 196 Reallocation Event Count 0181 0x0013 197 Current Pending Sector Count 0200 0x 198 Off-line Scan Uncorrectable Sect 0200 0x 199 Ultra DMA CRC Error Count 0200 0x0001 200 Unknown 51200 0x [EMAIL PROTECTED]:$ sudo /sbin/atactl /dev/wd2 readattr Attributes table revision: 16 ID Attribute name Threshold Value Raw 3 Spin Up Time 63200 0x1b3c 4 Start/Stop Count 0253 0x0020 5 Reallocated Sector Count 63253 0x 6 Unknown 100253 0x 7 Seek Error Rate0253 0x 8 Seek Time Performance187
Re: why am i only able to run Gnome in safe mode? (getting error)
thank you. Actually after trying various things i did that, and it stopped complaining(i am a little concerned about changing file permissions until i am very sure), and i could logon using gnome-desktop. but there were not many utilities/toys in gnome i guess (i checked the list of 'gnome' pkgs available on openbsd.org and found i have installed all). so i have now uninstalled complete gnome and firefox packages. Also one thing to note is i installed firefox before gnome. it shares some lib with gnome. My future approach would be a little more cautious and i will install 1)base-GUI-environment and then 2)any other GUI-based app. even though it seems having no impact and fvwm is already there with base X installation! -BG ~~Kalyan-mastu~~ - Original Message From: Genadijus Paleckis [EMAIL PROTECTED] To: badeguruji [EMAIL PROTECTED] Cc: misc@openbsd.org Sent: Thursday, November 8, 2007 1:56:50 AM Subject: Re: why am i only able to run Gnome in safe mode? (getting error) take a look at http://www.mail-archive.com/misc@openbsd.org/msg50994.html badeguruji wrote: Hello, Please help OR guide to me to any resource which describes installing gnome in clean clear steps on a new openBSD installation. (I am ready to uninstall and reinstall gnome if needed) i tried to install gnome in below order: gnome-desktop-2.18.2p0: gnome-session-2.18.2p0 gdm-2.18.2 I am only able to run gnome is safe mode. This post has the exact issue i am facing (only error in the log file is little different, which is shown below) http://www.webservertalk.com/message1134770.html --as per the solution in the above post user changed permissions on his home dir. i am logging in as root. should i change my root permissions? currently they are: drwx-- 14 root wheel 1024 Nov 7 07:01 root The errors in the log file: (==) Log file: /var/log/Xorg.0.log, Time: Wed Nov 7 05:46:56 2007 (EE) Unable to locate/open config file New driver is i810 (==) Using default built-in configuration (55 lines) (EE) Failed to load module dri (module does not exist, 0) (EE) Failed to load module fbdev (module does not exist, 0) FreeFontPath: FPE /usr/X11R6/lib/X11/fonts/misc/ refcount is 2, should be 1; fixing. FreeFontPath: FPE /usr/X11R6/lib/X11/fonts/misc/ refcount is 2, should be 1; fixing. # I am also getting below error on message log: Nov 7 00:12:46 ironhost gdm[12200]: gdm_slave_exec_script: Failed starting: /etc/X11/gdm/Init/Default please advice. thank you. BG ~~Kalyan-mastu~~
Re: when was a pkg installed !!!
On 11/7/07, Arnaud Bergeron [EMAIL PROTECTED] wrote: stat -f%Sc /var/db/pkg/pacakge name should give you the change time of the inode. I am not exactly certain if this will always correspond to the install time, but on my machine, it does. only if you haven't added any dependencies after the initial installation.
Re: how to create cdrom42.fs?
On Wed, 2007-11-07 at 13:45 -0500, Steve Shockley wrote: The drivers are in bsd.rd, not in the floppy image specifically. The other images just have smaller bsd.rd files so they fit on a floppy. Try using cdbr as the boot record in no emulation, and put cdboot in the root directory of the CD. As it has become usual, you are right. I've tried as you suggested, and it works (I didn't really install, but booted the system up with that CD and dropped to shell, this should be enough evidence). Thank you. Here is my mkhybrid line, I would welcome other suggestions you might have ($BOOT_IMG is now cdbr per your suggestion): mkhybrid -f -l -J -T -r -L \ -c boot.catalog \ -sysid $SYS_ID \ -p $PREP_ID \ -P $PUBLISH_ID \ -V $VOL_ID \ -A $APP_ID \ -b $BOOT_IMG \ -o $ISO_FILE \ $SRC_PATH (I need to follow symlinks and allow leading dots.)
Re: detecting bad disks
On 11/8/07, Derick Siddoway [EMAIL PROTECTED] wrote: Trying to copy a file from one filesystem to another, I kept getting input/output errors. I noticed these messages in the logs: wd1a: uncorrectable data error reading fsbn 768416 of 768384-0 (wd1 bn 768416; cn 762 tn 5 sn 5), retrying wd1a: uncorrectable data error reading fsbn 768416 of 768384-0 (wd1 bn 768416; cn 762 tn 5 sn 5), retrying ... However, when I run this by hand, I get [EMAIL PROTECTED]:$ sudo /sbin/atactl /dev/wd1 smartstatus No SMART threshold exceeded So clearly, the SMART stuff wasn't going to tell me about this. ... I see a number of values that exceed the preset threshholds. But I see the same kinds of values on the other three drives: not all SMART thresholds define an upper value, some values are a sort of quality measurement and go downwards. Indeed indicate your SMART values no error. Two possibilites: - SMART didn't catch the errors. no monitoring is perfect, but it seems unlikely that it won't notice read errors - there is everything OK with the disk, but something else is not. Try a different cable, look for faulty RAM or a dying PSU. Put the disk into another machine and look whether you can read everything fine. --knitti
Re: gOS Develop Kit with VIA pc-1 Processor Platform VIA C7-D
On 11/8/2007 at 3:07 PM Nico Meijer wrote: |Hey Mike, | | Has anyone tried this motherboard with OpenBSD? Does it work? | |I have a similar pc-1 device, which pus along perfectly. | |I got mine here: |http://www.picco.nl/product_info.php?cPath=37_23products_id=747 | |Be well... Nico = I may just pick up one of the $60 boards, and give it a test run. I'll post the dmesg when I get it running. Thanks.
Re: detecting bad disks
try a new IDE cable or if you can take the system offline, and assuming you can boot off cd/floppy I would suggest trying MHDD from http://hddguru.com/ it does some pretty nice low-level diagnostics. I've fixed some disks with this {crosses fingers} docs are very basic but there's more info on the forum http://forum.hddguru.com/?sid=9996c0fa3656ff12a72b5227b745a49b. floppy and cd .iso here http://hddguru.com/content/en/software/2006.02.10-Magic-Boot-Disk/ of course, be aware of what you're doing with these tools. mike
ooRexx runs on OpenBSD! At last!
Hi, The newest Open Object Rexx of 3.2.0 release can be compiled on OpenBSD 4.2. Patrick Cummings Stephen Nelson http://marc.info/?t=11377322463r=1w=2 asked for the news. It's real good news! Do not forget to set the prefix to /usr/local to keep the system tidy. Regards, pp -- Przemys3aw Pawe3czyk (P2O2) - [EMAIL PROTECTED] WWW: http://pp.kv.net.pl/ Forum: http://www.p2o2.fora.pl/ [demime 1.01d removed an attachment of type application/pgp-signature]
Re: can't figure out obsd with a bridging ADSL modem.
On 08/11/2007, Craig Hammond [EMAIL PROTECTED] wrote: me setup an obsd firewall. The adsl modem that the ISP sent only does bridging (Netgear DM111) and although I got it all working, it feels Looks like DM111 offers PPPoE/PPPoA bridge modes which sound like what some other boxes refer to as half-bridge or DHCP spoofing, and also standard RFC1483 bridging. If the modem can connect when it's set to PPPoE (which is sometimes possible even when the ISP normally uses another method e.g. PPPoA), you should be able to change it over to RFC1483 bridging and setup a pppoe(4) interface (man 4 pppoe) on the OpenBSD box. Obviously, if the only net access you'll have at the time is via this modem, make a note of current settings and any instructions you might need to reset things before fiddling. :-)
Re: About Xen: maybe a reiterative question but ..
On 08/11/2007, Don Jackson [EMAIL PROTECTED] wrote: As a minor note, I also found this article to be in interesting introduction to Xen: http://www.acmqueue.org/modules.php?name=Contentpa=printer_friendlypid=443page=1 The article is interesting, however it also claims: virtualization (...) decreases server count and reduces overall system complexity. I think that is plain wrong. Surely the hardware consolidation doesn't outweigh the added complexity of the virtualization software. Yes, your datacenter hardware may look leaner and cleaner, but just because the complexity of virtualization does not manifest itself in hardware form doesn't mean it isn't there. The article further claims: Virtualization has a long history, starting in the mainframe environment and arising from the need to provide isolation between users. This makes it sound as if virtualization had been invented as a security technique. Maybe, MAYBE, one VM for each user one one box might be deemed somewhat more separate than many users on one box w/o VM -- but users most definitely are not more separate when the box with VMs is compared to separate computers. Also, the seperation with VMs one one box is questionable because of the added code and complexity. On page 2, the article includes a hefty gulp of security Kool Aid, including this claim: In a system such as Xen, nontrusted applications (...) may be seconded to their own virtual machines and thus completely separated from both the underlying system software and other more trusted applications. Completely separated my arse. Yes, I'd still LOVE to see Christoph's OpenBSD/Xen port be officially included, but I can hardly help much to make it happen, nor do I expect OpenBSD/Xen to be a security godsend. --ropers
can pkg_ util do this?
It is desired for each installed pkg/file to store info about time of install( HMSms ) original install folder. original install permissions. and original size/checksum. is it already there? is it tough to do? -BG ~~Kalyan-mastu~~
Re: can't figure out obsd with a bridging ADSL modem.
On 08/11/2007, Craig Hammond [EMAIL PROTECTED] wrote: I feel like I'm missing something painfully obvious, but I just can't see it. I have someone who just got ADSL connected and I talked them into letting me setup an obsd firewall. The adsl modem that the ISP sent only does bridging (Netgear DM111) and although I got it all working, it feels like an awkward hack that will bite me in the ass later on if I don't do it properly now. If I set my external interface on the obsd box to dhcp, the adsl modem gives it the correct static IP (103.113.194.79 mask 255.255.255.0) but no default gateway gets set. I'm not trying to be a stickler, but if you configure your OpenBSD box to be a DHCP client, then the IP address it's getting from the Netgear ADSL modem is a *dynamic* IP address. You either use DHCP or a static IP. You're also writing that the Netgear box operates as a bridge. I find that strange. Mostly these DSL modems use PPPoE and are not configured to be bridges. If the Netgear box were a bridge, then that would logically put you on the same network segment with many other fellow DSL users. Are you positive that the device is a bridge, in this sense: http://en.wikipedia.org/wiki/Network_bridge ? If not, please explain what you mean by bridge. Apart from that, the first thing I would probably do is to see what happens if you connect one of your hosts directly to the Netgear box (and set the host to be a DHCP client). Does it get a gateway address? If not, can it communicate with the Internet anyway (which would be rather strange but not impossible)? If I logon to the adsl modems web interface, it gives me the following details: IP: 103.113.194.79 Gateway: 103.17.101.67 If I set these manually on the obsd box, it doesn't work as the default gateway isn't in my subnet. Ie, IP:103.113.194.79 Subnet 255.255.255.0 Gateway 103.17.101.67 The way that I did get it to work was manually setting the subnet mask to 255.0.0.0. Now the default gateway is within my subnet and so it gets used and at the moment, everything seems to be working ok, but this feels like a dirty hack that will bite me later on. Is there a better way to do this??? I can't see how a dmesg will help, but just in case. OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Celeron(R) CPU 420 @ 1.60GHz (GenuineIntel 686-class) 1.60 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,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,CX16,xT PR real mem = 527265792 (502MB) avail mem = 502185984 (478MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 05/28/07, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.4 @ 0xfcd70 (22 entries) bios0: vendor American Megatrends Inc. version P3.20 date 05/28/2007 apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 0% apm0: AC off, battery charge unknown, estimated 0:00 hours apm0: flags 20102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf4a80/192 (10 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801EB/ER LPC rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0xa000! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82865G/PE/P CPU-I/0-1 rev 0x02 vga1 at pci0 dev 2 function 0 Intel 82865G Video rev 0x02: aperture at 0xf000, size 0x800 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) uhci0 at pci0 dev 29 function 0 Intel 82801EB/ER USB rev 0x02: irq 10 uhci1 at pci0 dev 29 function 1 Intel 82801EB/ER USB rev 0x02: irq 3 uhci2 at pci0 dev 29 function 2 Intel 82801EB/ER USB rev 0x02: irq 5 uhci3 at pci0 dev 29 function 3 Intel 82801EB/ER USB rev 0x02: irq 10 ehci0 at pci0 dev 29 function 7 Intel 82801EB/ER USB2 rev 0x02: irq 11 usb0 at ehci0: USB revision 2.0 uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1 ppb0 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0xc2 pci1 at ppb0 bus 1 fxp0 at pci1 dev 1 function 0 Intel 8255x rev 0x0c, i82550: irq 11, address 00:02:b3:99:a5:96 inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4 rl0 at pci1 dev 5 function 0 Realtek 8139 rev 0x10: irq 11, address 00:19:66:41:a9:78 rlphy0 at rl0 phy 0: RTL internal PHY ichpcib0 at pci0 dev 31 function 0 Intel 82801EB/ER LPC rev 0x02: 24-bit timer at 3579545Hz pciide0 at pci0 dev 31 function 1 Intel 82801EB/ER IDE rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility pciide0: channel 0 disabled (no drives) pciide0: channel 1 disabled (no drives) pciide1 at pci0 dev 31 function 2 Intel 82801EB SATA rev 0x02: DMA, channel 0 configured to native-PCI, channel 1
Re: About Xen: maybe a reiterative question but ..
2007/11/8, Don Jackson [EMAIL PROTECTED]: It is not at all clear to me that the existance of a Xen port of OpenBSD would detract from the security or performance of the non-Xen ports of OpenBSD. Since you believe to know more about security then Theo, why don't you fork your own XenBSD? Shut up and code. :-p Best Martin
Re: 7800GS + 2 monitors under 4.2-release
Hi Michael Here is a copy of an xorg.conf that will get both screens to act as one screen, I had no luck getting it to display a useful resolution. I'm still hoping to get Xinerama to work. Section Files RgbPath /usr/X11R6/share/X11/rgb ModulePath /usr/X11R6/lib/modules FontPath /usr/X11R6/lib/X11/fonts/misc/ FontPath /usr/X11R6/lib/X11/fonts/TTF/ FontPath /usr/X11R6/lib/X11/fonts/OTF FontPath /usr/X11R6/lib/X11/fonts/Type1/ FontPath /usr/X11R6/lib/X11/fonts/100dpi/ FontPath /usr/X11R6/lib/X11/fonts/75dpi/ EndSection Section Module Load GLcore Load dbe Load extmod Load glx Load record Load xtrap Load freetype Load type1 EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option XkbLayout gb EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol wsmouse Option Device /dev/wsmouse Option ZAxisMapping 4 5 6 7 EndSection Section Monitor #DisplaySize 410 260 # mm Identifier Monitor0 VendorName HSD ModelNameHW191D ### Comment all HorizSync and VertRefresh values to use DDC: HorizSync30.0 - 80.0 VertRefresh 49.0 - 75.0 Option DPMS Modeline 1440x900 106.50 1440 1528 1672 1904 900 903 909 934 EndSection Section Monitor #DisplaySize 410 260 # mm Identifier Monitor1 VendorName HSD ModelNameHW191D ### Comment all HorizSync and VertRefresh values to use DDC: HorizSync30.0 - 80.0 VertRefresh 49.0 - 75.0 Option DPMS Modeline 1440x900 106.50 1440 1528 1672 1904 900 903 909 934 EndSection Section Device Identifier Card0 Driver nv VendorName nVidia Corporation BoardName GeForce 7900 GTX BusID PCI:1:0:0 Option DualHeadTrue EndSection Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 DefaultDepth24 SubSection Display Viewport 0 0 Modes 1440x900 Depth 24 EndSubSection EndSection Section ServerLayout Identifier X.org Configured Screen Screen0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection On Nov 8, 2007 8:14 PM, michael hamerski [EMAIL PROTECTED] wrote: Just wondering if you have had any success ? I updated to -current and also xenocara but it hasn't worked. I have managed to get some form of dual screen through nv(4)'s Option DualHead Yes. hi, could you mail me a copy of your xorg.conf, I can't seem to get it to pick up my second pciid? thx, mike
Re: About Xen: maybe a reiterative question but ..
Just a bit more follow up on this topic: Kirk Ismay wrote: I don't think it would be appropriate to have Xen included with the stock OpenBSD kernel/distribution, due to both the security issues, and license issues (Xen is GPL). It may be better for the project to have Xen available as a port, Yes, I agree. Best not to burden the current OS ports with Xen support, but it would be great to have ports like i386-xen and/or amd64-xen available as well. It is not at all clear to me that the existance of a Xen port of OpenBSD would detract from the security or performance of the non-Xen ports of OpenBSD. You may recall I mentioned the Amazon EC2 compute cloud Xen-based service. Yesterday, Red Hat announced support for RH Enterprise Linux on Amazon's EC2: http://aws.typepad.com/aws/2007/11/red-hat-enterpr.html http://www.redhat.com/solutions/cloud/?intcmp=7016000HCbi This is interesting, RH is providing a consistent platform for premise-based, hosted, or cloud-based deployment of applications. I maintain that it would be a good thing if OpenBSD developers had similar deployment options. As a minor note, I also found this article to be in interesting introduction to Xen: http://www.acmqueue.org/modules.php?name=Contentpa=printer_friendlypid=443page=1 Best regards, Don On 10/25/07, Don Jackson [EMAIL PROTECTED] wrote: I wanted to add my 2 cents to this thread. Ignoring the debate/flamage on this thread regarding the security merits/risks of virtualization, I beleive there are a number of us who would like the option to run OpenBSD as a guest under various virtual machine frameworks. Even if it is less secure than dedicating a machine to the problem at hand. Like it or not, Xen is a very popular VM environment. (Granted, this may change if Citrix makes changes that people can't live with) One of the most interesting services supporting Xen is the Amazon EC2 service, where you can buy time on their cloud to run VMs. I'd like to be able to build/define/buy AMIs that are based on OpenBSD, and run them on the EC2 cloud. If my application ever needs dedicated hardware, I'll move to that, and I'd remove the VM layer, and I'd gain more security, and more performance. http://www.amazon.com/gp/browse.html?node=201590011 Today, one has no choice but to run Linux-based AMIs on EC2. It would be great if people could define and build OpenBSD 'software appliances' that could be deployed both standalone and virtualized. The ability to participate in VM ecosystems like EC2 would benefit the broader OpenBSD initative. So, if the changes to OpenBSD to support running under VM frameworks can be made without reducing the security/stability/performance of OpenBSD when it is NOT running under VM, and if these changes can be made with licensing terms that are consistent with the OpenBSD license (and acceptable to Theo), then I would really like to see this happen. Don
Re: reply-to rule not working
On 2007-11-07 14:29 -0500, Steven Surdock wrote: Nick Golder wrote: I am trying to serve out OpenVPN (port 1194 UDP) through multiple external I solved this problem by running OpenVPN on the loopback only and using rdr and pass in on $if reply-to...) on the incoming traffic. Is this a PF bug? I thought PF kept UDP states based on SRC IP, SRC PORT, DEST IP, DEST PORT. Something would have to change one of those parameters for 'reply-to' not to work - since I can see the SRC IP and SRC PORT are the same, the DEST IP has to be getting changed. Or 'reply-to' can't do UDP? Does OpenVPN directly do route lookups and rewrite the packets? Odd. I assume you are running OpenVPN in UDP mode? I will give the loopback a try. Thanks for the suggestion. -- Nick Golder
help with pf DIOCADDSTATE
Hi All, I'm trying to insert arbitrary pf state entries from my userland app. I've repeatedly crashed my 4.2 box with bad pf ioctl DIOCADDSTATE calls, and find it difficult to progress any further. Does anyone have some sample code I can learn from? TIA, - Raja
Re: detecting bad disks
2007/11/8, Derick Siddoway [EMAIL PROTECTED]: the filesystem. What's the best way to do this short of monitoring? sysutils/smartmontools Best Martin
Re: ooRexx runs on OpenBSD! At last!
But the scripts I use for my WWW creation works. I do not use queues and maybe ooRexx is not fully functional within some specific actions but having the second choice of having no Rexx under OpenBSD (Regina Rexx is unavailable) I thank for what I got with 3.2.0 version at least. Oh, yeah. Thanks. Probably there's a Queue Server daemon I've got to start. Forgot about that! P.S. I wrote to you but the mail returned marked blacklisted. ;-) Will have to check with the spam meister, my apologies. -- Jack J. Woehr Director of Development Absolute Performance, Inc. [EMAIL PROTECTED] 303-443-7000 ext. 527
Re: reply-to rule not working
Nick Golder wrote: On 2007-11-07 14:29 -0500, Steven Surdock wrote: Nick Golder wrote stuff: ... Is this a PF bug? [Shrug]. They way it _seemed_ to work (for me, when I implemented the system back on 3.8 or 3.9, YMMV) was that route-to/reply-to caused the packet not to hit the normal routing table (on a pass in statement) but go where I told it. Once a packet hit the routing table it didn't seem to use the route-to/reply-to statements (pass out...). I have seen other implementation on this list (using tagged packets). If you follow this list you'll also know that several developers cringe at the route-to/reply-to statements. I have also not seen a successful implementation of route-to/reply-to if a service originates (or proxies) traffic from the firewall (e.g. squid or ftp-proxy...), which tend to support my observations above. I would be curious to know the effect of multipath routing in this scenario, but I have not had a chance to test it. I assume you are running OpenVPN in UDP mode? ... Yes. But I also run a second OpenVPN process in TCP mode (port 443) to get around a few (very few) places that still only allow 80/443. UDP has less overhead and feels faster, but I have never performed any measurements. -Steve S.
Re: ooRexx runs on OpenBSD! At last!
Compiles. Doesn't exactly run. Maybe I'm forgetting something from my ORexx days on OS/2 and Linux in the 1990's. $ echo $LD_LIBRARY_PATH /usr/local/lib/ooRexx: $ pwd /usr/local/share/ooRexx $ rexx rexxtry.rex REXX-ooRexx_3.2.0(MT) 6.02 8 Nov 2007 /usr/local/share/ooRexx/rexxtry.rex lets you interactively try REXX statements. Each string is executed when you hit Enter. Enter 'call tell' for a description of the features. Go on - try a few...Enter 'exit' to end. *E* No further API user possible! Oooops ! ... try again. Failure in system service rc = 48 .. /usr/local/share/ooRexx/rexxtry.rex on NETBSD *E* No further API user possible! 231 *-* if argrx '' queued() = 0 71 *-* call main REX0048E: Error 48 running /usr/local/share/ooRexx/rexxtry.rex line 231: Failure in system service $ On Nov 8, 2007, at 11:47 AM, PrzemysEaw PaweEczyk wrote: Hi, The newest Open Object Rexx of 3.2.0 release can be compiled on OpenBSD 4.2. -- Jack J. Woehr Director of Development Absolute Performance, Inc. [EMAIL PROTECTED] 303-443-7000 ext. 527
Re: ooRexx runs on OpenBSD! At last!
On Thu, 8 Nov 2007 13:04:45 -0700 Jack J. Woehr [EMAIL PROTECTED] wrote: Compiles. Doesn't exactly run. Maybe I'm forgetting something from my ORexx days on OS/2 and Linux in the 1990's. $ echo $LD_LIBRARY_PATH /usr/local/lib/ooRexx: $ pwd /usr/local/share/ooRexx $ rexx rexxtry.rex REXX-ooRexx_3.2.0(MT) 6.02 8 Nov 2007 /usr/local/share/ooRexx/rexxtry.rex lets you interactively try REXX statements. Each string is executed when you hit Enter. Enter 'call tell' for a description of the features. Go on - try a few...Enter 'exit' to end. *E* No further API user possible! Oooops ! ... try again. Failure in system service rc = 48 .. /usr/local/share/ooRexx/rexxtry.rex on NETBSD *E* No further API user possible! 231 *-* if argrx '' queued() = 0 71 *-* call main REX0048E: Error 48 running /usr/local/share/ooRexx/rexxtry.rex line 231: Failure in system service $ Hi, But the scripts I use for my WWW creation works. I do not use queues and maybe ooRexx is not fully functional within some specific actions but having the second choice of having no Rexx under OpenBSD (Regina Rexx is unavailable) I thank for what I got with 3.2.0 version at least. Regards, pp P.S. I wrote to you but the mail returned marked blacklisted. ;-) -- Przemys3aw Pawe3czyk (P2O2) - [EMAIL PROTECTED] WWW: http://pp.kv.net.pl/ Forum: http://www.p2o2.fora.pl/ [demime 1.01d removed an attachment of type application/pgp-signature]
Re: About Xen: maybe a reiterative question but ..
On 08/11/2007, Martin Schrvder [EMAIL PROTECTED] wrote: 2007/11/8, Don Jackson [EMAIL PROTECTED]: It is not at all clear to me that the existance of a Xen port of OpenBSD would detract from the security or performance of the non-Xen ports of OpenBSD. Since you believe to know more about security then Theo, why don't you fork your own XenBSD? Shut up and code. :-p Best Martin When did Theo claim that the mere existance of a Xen port of OpenBSD would detract from the security or performance of regular (non-Xen) OpenBSD? I don't remember Theo saying that at all, and I've just re-read Theo's posts to the thread and I could not find anything along the lines of what you seem to imply he said. What Theo did say about virtualization was: If people were saying: Yes, it increased hardware utilization, and the nasty security impact might be low it would be fine. But instead we have many uneducated people saying: Yes, it increased hardware utilization, and it improved security too. And that's complete and utter bullshit. Don's email made a very specific point which did not contradict Theo in any way. I think you're implying something about Theo's opinion that he in fact never said. Thanks and regards, --ropers
Re: reply-to rule not working
On Thu, 8 Nov 2007 20:40:00 -0500, Steven Surdock wrote: I assume you are running OpenVPN in UDP mode? ... Yes. But I also run a second OpenVPN process in TCP mode (port 443) to get around a few (very few) places that still only allow 80/443. UDP has less overhead and feels faster, but I have never performed any measurements. And TCP over TCP is fraught with its own problems. http://sites.inka.de/~W1011/devel/tcp-tcp.html Rod/ /earth: write failed, file system is full cp: /earth/creatures: No space left on device
Re: when was a pkg installed !!!
On Nov 8, 2007 6:07 AM, Mike Erdely [EMAIL PROTECTED] wrote: On Wed, Nov 07, 2007 at 11:43:14PM -0500, Jeremy Huiskamp wrote: You could hack pkg_add to write a log msg every time it completes an installation and just refer to the log for timestamps. If you're going to go through that much trouble, keep server change logs. It's a good practice anyway. I thought every admin did that? Greg -- Surrealism in the low desert: http://lodesertprotosites.org Dethink to survive - Mclusky
Re: Failure starting Gnome - OpenBSD 4.2
David H. Lynch Jr. wrote: Matthieu Herrb wrote: David H. Lynch Jr. wrote: I have tried to install Gnome on two different machines running OpenBSD 4.2. The first machine ran Gnome fine under OpenBSD 4.1 (though there were other problems) One both machines - fresh installs gdm starts I can attempt to logon but I get a fatal error after logging on and a request to look in ~/.xsession for further information. This indicates that your session exited for some reason, probably an error in your sessions startup script (.xsession or some thing else in gnome case). after acknowledging X restarts, I can do a failsafe terminal login but nothing else. I have looked in ~/.xsession as well as the X/gdm logs in /var/log and the rest of the logs and can find no indications of a problem. A clue would be greatly appreciated. Please provide more precise informations, *exact* copies of the error messages you see for instance, and more details on what files were edited in your home directory. Also misc@ or ports@ mmailing lists are more appropriate for this kind of questions. I was able to trace things further. It failed trying to open gnome-session. Somehow despite the fact that I thought i had installed X and gnome, somethings were missed. Unfortunately that lead to a new problem. When trying to install/re-install gnome I am getting missing expat dependency issues all over the place. With a bit of force I have been able to get things loaded anyway - but can't get expat. Now it is bombing trying to load libexpat.so.9 - which is not anywhere on my system. I found some messages suggesting that there are libexpat issues with 4.2 though theey sugest I can get it from xbase42.tgz but I can not find it there. Where can find libxpat and how can I persuade pkg_add that it is installed ? It's very clearly stated. http://www.openbsd.org/faq/upgrade42.html#libexpat ftp://ftp.openbsd.org/pub/OpenBSD/4.2/your arch here/ Aaron
Re: Trouble ftp'ing out of network, already running ftpproxy for internal ftp server, need to ftp out
Knitti, Thanks, I created another instance of ftp-proxy with these options: -p 8021 127.0.0.1 ...and put in my rdr this rule: rdr on $int_if proto tcp from any to any port ftp - 127.0.0.1 port 8021 Everything seems to work now, I can ftp out and people can ftp in :) My question though is why did you give this rdr rule? rdr pass on $int_if proto tcp from any to !$ftp_server port ftp - 127.0.0.1 port 8022 What special feature does switching any to !$ftp_server add to the pf rules? Should I modify mine to also say that? Thanks, - Jake On Nov 8, 2007 4:39 AM, knitti [EMAIL PROTECTED] wrote: On 11/8/07, Jake Conk [EMAIL PROTECTED] wrote: Ok I understand I'm supposed to have another instance of ftp-proxy running so that it can open up ports on my router to allow data connections to be established from remote hosts but I'm not sure how I should configured ftp-proxy for that and my pf... Lets start with ftp-proxy first then handle pf... Since I got 1 instance of ftp-proxy already running to redirect incominng ftp traffic to a local server in my network I must have another one on a different port so for that I'm starting with... `ftp-proxy -p 8022` Ok and I think I have to tell ftp-proxy to only listen on its local IP because we are trying to connect our local servers to public servers so I would add that to the command: `ftp-proxy -p 8022 -a 192.168.10.1` you need 127.0.0.1 in any case, because of the rdr in pf.conf I wasn't sure to use -a or -b so if I'm doing this wrong someone please correct me. 1) So now on the ftp-proxy configuration is there anything else I need to add? 2) Where's a good place to look on how to configure my packet filtering (pf) to work with the second instance of ftp-proxy and allow me to connect to outside (public) ftp servers look at your pf.conf, you have commented out the line. you should change it to about this: rdr pass on $int_if proto tcp from any to !$ftp_server port ftp - 127.0.0.1 port 8022 of course i didn#t test this, but you get the idea --knitti
Re: I've done something stupid
new_guy wrote: Somehow as root, I changed my shell to a non-existent shell '/bin/tcsh' on OpenBSD 4.2 When I try to su, I get this error: su: /bin/tcsh: No such file or directory I can't login as root, ssh in as root or su to root. I'm not in the sudoers file (but I am in the wheel group) so I can't sudo chsh for root. Any suggestions. I just set the box up today. It's been years since I used OpenBSD. I'm a bit rusty and duller than I once was :) Thanks, Brad can you log in using single user mode? boot boot -s then change it? Aaron
Re: I've done something stupid
On Thu, Nov 08, 2007 at 07:12:25PM -0800, new_guy wrote: Somehow as root, I changed my shell to a non-existent shell '/bin/tcsh' on OpenBSD 4.2 When I try to su, I get this error: su: /bin/tcsh: No such file or directory I can't login as root, ssh in as root or su to root. I'm not in the sudoers file (but I am in the wheel group) so I can't sudo chsh for root. Any suggestions. I just set the box up today. It's been years since I used OpenBSD. I'm a bit rusty and duller than I once was :) No problem. Put in the boot media you used to install OpenBSD and boot with it. At the (U)pgrade, (I)nstall, (S)hell prompt type 's' for shell. Next, you can really fix the problem. Maybe someone else will tell you how. I'm going to tell you the first short way that comes to mind... # mount /dev/wd0a /mnt # cd /mnt/bin # cp ksh tcsh # echo /bin/tcsh /mnt/etc/shells eject boot media # reboot login and fix your shell to be one of the installed ones # rm /bin/tcsh -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation
Cannot ssh after reboot! Help!!!!
Hello, I rebooted my server and now I get this error when I try to ssh: Last login: Thu Nov 8 19:40:00 2007 from 192.168.10.246 OpenBSD 4.1 (GENERIC) #0: Thu Sep 13 18:41:29 PDT 2007 Welcome to OpenBSD: The proactively secure Unix-like operating system. Please use the sendbug(1) utility to report bugs in the system. Before reporting a bug, please try to reproduce it with the latest version of the code. With bug reports, please try to ensure that enough information to reproduce the problem is enclosed, and if a known fix for it exists, include that as well. -bash: can't load library 'libintl.so.3.0' Connection to 192.168.10.2 closed. Why can't it load libintl? What causes this with a simple reboot?!??! - Jake
Re: I've done something stupid
On Thursday 08 November 2007 22:12:25 new_guy wrote: Somehow as root, I changed my shell to a non-existent shell '/bin/tcsh' on OpenBSD 4.2 When I try to su, I get this error: su: /bin/tcsh: No such file or directory I can't login as root, ssh in as root or su to root. I'm not in the sudoers file (but I am in the wheel group) so I can't sudo chsh for root. Any suggestions. I just set the box up today. It's been years since I used OpenBSD. I'm a bit rusty and duller than I once was :) Thanks, Brad Get your boot CD out. Go into the shell, and then you can mount the root partition on /mnt, and start fixing things. --STeve Andre'
Re: style(9)
Thanks Ted. I am thinking of doing some reformatting and prefer to do it correctly. Best wishes, David
We have gathered a lot of information
RCWars.NET - http://www.rcwars.net Technologies around RC Models and thus RC Warbirds have greatly evolved in the past years. While we still share the excitement of constructing, flying and tuning RC Warbirds, we have also looked beyond this and found something very, very exciting! A new product called RC:Gun has revolutionalized our hobby. It allows us to actually engage in real Air2Air combat By shooting our opponents down. But no worry - the wonderful Warbirds take no real harm. The trick is an ultrasound technology that allows combat without any physical interaction. More in http://www.rcwars.net
CanSecWest 2008 CFP (deadline Nov 30, conf Mar 26-28) and PacSec Dojo's
I'd like to congratulate Adam Laurie for winning the second Powerbook from the Pwn_to_Own contest as the prize for the best speaker rated by the audience for his presentation on RFID at CanSecWest 2007. We will have a similar prize for the best speaker at CanSecWest 2008, prize TBD (but we promise it will be cool - depending on what we find trawling though the electronics shops in Akihabara this year :). ** The Security Masters Dojo courses available at PacSec in Tokyo on November 27/28 2007 have been updated. The final list is: Ultimate Web Hacking - Yeng-Min Chen (Japanese) Reverse Engineering - Yuji Ukai (Japanese) The Exploit Laboratory - Saumil Shah (English) Advanced Honeypot Tactics - Thorsten Holz (English) Advanced Linux Hardening - Andrea Barisani (English) Bugfinding with the Immunity Debugger - Nicolas Waisman Kostya Kortchinski (English) Practical 802.11 Wi-Fi (In)Security - Cedric Blancher (English) ** CanSecWest 2008 CALL FOR PAPERS VANCOUVER, Canada -- The ninth annual CanSecWest applied technical security conference - where the eminent figures in the international security industry will get together share best practices and technology - will be held in downtown Vancouver at the the Mariott Renaissance Harbourside on March 26-28, 2008. The most significant new discoveries about computer network hack attacks and defenses, commercial security solutions, and pragmatic real world security experience will be presented in a series of informative tutorials. The CanSecWest meeting provides international researchers a relaxed, comfortable environment to learn from informative tutorials on key developments in security technology, and collaborate and socialize with their peers in one of the world's most scenic cities - a short drive away from one of North America's top skiing areas. The CanSecWest conference will also feature the availability of the Security Masters Dojo expert network security sensei instructors, and their advanced, and intermediate, hands-on training courses - featuring small class sizes and practical application excercises to maximize information transfer. We would like to announce the opportunity to submit papers, and/or lightning talk proposals for selection by the CanSecWest technical review committee. This year we will be doing one hour talks, and some shorter 20/30 minute talk sessions. Please make your paper proposal submissions before November 30th, 2007. Some invited papers have been confirmed, but a limited number of speaking slots are still available. The conference is responsible for travel and accomodations for the speakers. If you have a proposal for a tutorial session then please email a synopsis of the material and your biography, papers and, speaking background to [EMAIL PROTECTED] (please remove _'s). Only slides will be needed for the March paper deadline, full text does not have to be submitted - but will be accepted if available. The CanSecWest 2008 conference consists of tutorials on technical details about current issues, innovative techniques and best practices in the information security realm. The audiences are a multi-national mix of professionals involved on a daily basis with security work: security product vendors, programmers, security officers, and network administrators. We give preference to technical details and new education for a technical audience. The conference itself is a single track series of presentations in a lecture theater environment. The presentations offer speakers the opportunity to showcase on-going research and collaborate with peers while educating and highlighting advancements in security products and techniques. The focus is on innovation, tutorials, and education instead of product pitches. Some commercial content is tolerated, but it needs to be backed up by a technical presenter - either giving a valuable tutorial and best practices instruction or detailing significant new technology in the products. Paper proposals should consist of the following information: 1. Presenter, and geographical location (country of origin/passport) and contact info (e-mail, postal address, phone, fax). 2. Employer and/or affiliations. 3. Brief biography, list of publications and papers. 4. Any significant presentation and educational experience/background. 5. Topic synopsis, Proposed paper title, and a one paragraph description. 6. Reason why this material is innovative or significant or an important tutorial. 7. Optionally, any samples of prepared material or outlines ready. 8. Will you have full text available or only slides? 9. Please list any other publications or conferences where this material has been or will be published/submitted. Please include the
Re: Cannot ssh after reboot! Help!!!!
On 19:44:00 Nov 08, Jake Conk wrote: I rebooted my server and now I get this error when I try to ssh: Last login: Thu Nov 8 19:40:00 2007 from 192.168.10.246 OpenBSD 4.1 (GENERIC) #0: Thu Sep 13 18:41:29 PDT 2007 Welcome to OpenBSD: The proactively secure Unix-like operating system. Please use the sendbug(1) utility to report bugs in the system. Before reporting a bug, please try to reproduce it with the latest version of the code. With bug reports, please try to ensure that enough information to reproduce the problem is enclosed, and if a known fix for it exists, include that as well. -bash: can't load library 'libintl.so.3.0' Connection to 192.168.10.2 closed. Why can't it load libintl? What causes this with a simple reboot?!??! Do a ldd and see if it can pick up the symbols from the aforementioned shared library. $ ldd `which bash` The best option for any shell would be a statically linked one. OpenBSD ksh has nearly all the cool things bash has... Anyway the choice is yours. You can try manually running ldconfig or simply rebooting. Best, Girish
Re: Cannot ssh after reboot
Jake Conk wrote: I rebooted my server and now I get this error when I try to ssh: -bash: can't load library 'libintl.so.3.0' Connection to 192.168.10.2 closed. Why can't it load libintl? What causes this with a simple reboot? You forgot to set shlib_dirs in /etc/rc.conf.local Boot with `boot -s' at the boot prompt and then # mount -u -w / # echo shlib_dirs=/usr/local/lib /etc/rc.conf.local # exit # Han
identifying sparse files and get ride of them trick available?
Hi, I am trying to find a way ti identifying sparse files properly and quickly and find a way to rectify the situation. Any trick to do this? The problem is that overtime looks like I am ending up with lots of them and because I have to sync multiples servers together the sparse files makes the sync painful over time as well as huge obviously and slow. I am talking multiple GB's here. So far the only way I have do it is with rsync and -S options, but then the sync process takes a lots of time and when you need to sync multiple boxes multiple times per hours, it end up not be able to do it anymore and the process is not finish and it is suppose to start again. The other way that I found is to use dump and then restore, but that also is painful to do on live systems obviously. I need to find a way to clean the source, so that the sync system do their stuff easy. If I simply sync with the sparse file, sure I can do that, but then, the problem is the destinations runs out of space as the sparse gets to big over time. Google also pointed out that may be FIBMAP ioctl may have done to job, may be, but that was kill by Theo on 2007/06/02 09:14:36. I assume for many good reason for sure, so I didn't pursue that anymore. Then may be filefrag -v might work, but not much success there either. So, I am running out of ideas and may be there isn't any way to do this, I however hope there is. If it is not possible to correct the problem in a cronjob fashion or something, may be how could I possible find sparse files efficiently? At a minimum, if I could find the file getting out of control, then I could at a minimum delete them and copy them from the source again and reduce the problem of the sparse files. Any clue as to how to tackle this problem, or any trick around it? Best, Daniel
Re: OpenBSD 4.2 on Intel Board S3000AHLX + QuadNic EXPI9404PT =couldn't map interrupt
From: Stuart Henderson Try a snapshot. the latest one what I found was: OpenBSD 4.2-current (GENERIC) #452: Sun Oct 21 22:08:12 MDT 2007 dmesg looks like the same and if I enable acpi it runs in a kernel panic too. the panic output differs from the last, if someone interested I will post it. regards, Thomas # dmesg OpenBSD 4.2-current (GENERIC) #452: Sun Oct 21 22:08:12 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC RTC BIOS diagnostic error ffixed_disk,invalid_time cpu0: Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz (GenuineIntel 686-class) 2.21 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 = 1069850624 (1020MB) avail mem = 1026707456 (979MB) RTC BIOS diagnostic error ffixed_disk,invalid_time mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 07/11/06, SMBIOS rev. 2.4 @ 0x3fc1d000 (43 entries) bios0: vendor Intel Corporation version S3000.86B.02.00.0035.111020061326 date 11/10/2006 bios0: Intel S3000AHLX pcibios at bios0 function 0x1a not configured bios0: ROM list: 0xc/0x9000 acpi at mainbus0 not configured cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel E7230 MCH rev 0x00 ppb0 at pci0 dev 1 function 0 Intel E7230 PCIE rev 0x00 pci1 at ppb0 bus 1 ppb1 at pci1 dev 0 function 0 vendor IDT, unknown product 0x8018 rev 0x04 pci2 at ppb1 bus 2 ppb2 at pci2 dev 0 function 0 vendor IDT, unknown product 0x8018 rev 0x04 pci3 at ppb2 bus 3 em0 at pci3 dev 0 function 0 Intel PRO/1000 QP (82571EB) rev 0x06pci_intr_map: bad interrupt line 128 : couldn't map interrupt em0: Allocation of PCI resources failed em1 at pci3 dev 0 function 1 Intel PRO/1000 QP (82571EB) rev 0x06pci_intr_map: bad interrupt line 128 : couldn't map interrupt em1: Allocation of PCI resources failed ppb3 at pci2 dev 1 function 0 vendor IDT, unknown product 0x8018 rev 0x04 pci4 at ppb3 bus 4 em2 at pci4 dev 0 function 0 Intel PRO/1000 QP (82571EB) rev 0x06pci_intr_map: bad interrupt line 128 : couldn't map interrupt em2: Allocation of PCI resources failed em3 at pci4 dev 0 function 1 Intel PRO/1000 QP (82571EB) rev 0x06pci_intr_map: bad interrupt line 128 : couldn't map interrupt em3: Allocation of PCI resources failed ppb4 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01 pci5 at ppb4 bus 5 ppb5 at pci5 dev 0 function 0 Intel PCIE-PCIE rev 0x09 pci6 at ppb5 bus 6 ppb6 at pci0 dev 28 function 4 Intel 82801G PCIE rev 0x01 pci7 at ppb6 bus 7 ppb7 at pci0 dev 28 function 5 Intel 82801G PCIE rev 0x01 pci8 at ppb7 bus 8 em4 at pci8 dev 0 function 0 Intel PRO/1000MT (82573E) rev 0x03: irq 9, address 00:15:17:29:70:25 Intel 82573E AMT rev 0x03 at pci8 dev 0 function 3 not configured Intel 82573E KCS (Active Management) rev 0x03 at pci8 dev 0 function 4 not configured ppb8 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0xe1 pci9 at ppb8 bus 9 vga1 at pci9 dev 4 function 0 ATI ES1000 rev 0x02 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) em5 at pci9 dev 5 function 0 Intel PRO/1000MT (82541GI) rev 0x05: irq 9, address 00:15:17:29:70:26 ichpcib0 at pci0 dev 31 function 0 Intel 82801GB LPC rev 0x01: PM disabled pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: Optiarc, DVD RW AD-7540A, 1.01 SCSI0 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 disabled (no drives) pciide1 at pci0 dev 31 function 2 Intel 82801GB SATA rev 0x01: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide1: using irq 10 for native-PCI interrupt wd0 at pciide1 channel 0 drive 0: Hitachi HDS721680PLA380 wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 ichiic0 at pci0 dev 31 function 3 Intel 82801GB SMBus rev 0x01: irq 10 iic0 at ichiic0 adt0 at iic0 addr 0x2e: emc6d100 rev 0x69 spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM ECC PC2-5300CL5 spdmem1 at iic0 addr 0x52: 512MB DDR2 SDRAM ECC PC2-5300CL5 isa0 at ichpcib0 isadma0 at isa0 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 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 biomask fded netmask ffed ttymask ffef pctr: user-level performance counters enabled mtrr: Pentium Pro MTRR support dkcsum: wd0 matches BIOS drive 0x80 root on wd0a swap on wd0b dump on wd0b [demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name