Combining boot floppies
Hi all, I'm attempting my first install of OpenBSD (version 3.9) on an HP Omnibook 800CT (Pentium 166, 80 MB RAM, 4.3 GB HD, 3COM 3CXEM556 Carbus Ethernet card), coming over from RH9.0. One peculiarity of the 800CTs is that the SCSI CDROM is not bootable, so I'm down to booting with floppies. I first attempted to boot from floppyC39.fs, since that's supposed to be the image for laptops. Well, it does recognize my Ethernet card, but seems to choke on the hard drive. After recognizing the Ethernet card, I see the following: -- wd0(wdc0:0:0): timeout type: ata c_bcount: 512 c_skip: 0 wd0(wdc0:0:0): timeout type: ata c_bcount: 512 c_skip: 0 WARNING: preposterous time in file system WARNING: file system time much less than clock time -- After that, the machine is locked up. So I boot from floppy39.fs instead. That had no problem with the hard drive. I was able to successfully partition the drive. But that image does not recognize my Ethernet card, so I'm unable to retrieve any images (didn't see an option for PPP). Even after formatting the hard drive under the floppy39.s floppy, the floppyC39.fs floppy chokes on the hard drive. Is there any way to combine the two capabilities? I.e. dropping to the shell, loading some driver or other, forcing the recognition, and re-starting where I left off? The only reason I'm asking is because of a comment in the FAQ (section 4.3): Yes, there may be situations where one install disk is required to support your SCSI adapter and another disk is required to support your network adapter. Fortunately, this is a rare event, and can usually be worked around. I may have access to a Xircom network card - is that supported by the floppy39.s floppy? Thanks in advance. -- Michael White To protect people from the effects of folly is to fill the world with fools. -Herbert Spencer
state table, loopback and redirection
Hi, I'm trying to set up ftp-proxy on my OpenBSD 3.9 box. I'm using the following configuration: pf.conf: rdr pass proto tcp from any to any port 21 - 127.0.0.1 port 8021 block log (all) all pass proto tcp from any to 127.16.218.129 to 127.0.0.1 port 8021 flags S/SA keep state network: * A bridge (bridge0) of 3 interfaces. * Only one network (172.16/12) set on the first interface of the bridge (first brconfig add). * Every interfaces are LEARNING and DISCOVER (as well as UP and RUNNING :). * Loopback lo0 inteface is left to its default: 127.0.0.1/8, UP, LOOPBACK and RUNNING. When 172.16.218.129 is trying to reach the port 21/tcp of 129.128.5.191, here is what happen: * tcpdump -tei pflog0 port 21 or 8021: don't show anything * tcpdump -tni bridge0 port 21 or 8021: just show the SYN coming from 172.16.218.129, nothing else. * pfctl -ss show 2 states: all tcp 127.0.0.1:8021 - 129.128.5.191:21 - 172.16.218.129:22585 CLOSED:SYN_SENT all tcp 172.16.218.129:22585 - 127.0.0.1:8021 SYN_SENT:CLOSED * netstat -anp tcp show that ftp-proxy is listening on 127.0.0.1:8021 but don't receive anything (no socket in a state !=LISTEN with port 8021). Is there something I'm missing? What is the exact meaning of the arrows seen in the pfctl -ss output? thx, sheda Accidez au courrier ilectronique de La Poste : www.laposte.net ; 3615 LAPOSTENET (0,34 /mn) ; til : 08 92 68 13 50 (0,34/mn)
Re: Combining boot floppies
On Thu, Jun 08, 2006 at 01:08:04AM -0500, Michael White wrote: Hi all, I'm attempting my first install of OpenBSD (version 3.9) on an HP Omnibook 800CT (Pentium 166, 80 MB RAM, 4.3 GB HD, 3COM 3CXEM556 Carbus Ethernet card), coming over from RH9.0. One peculiarity of the 800CTs is that the SCSI CDROM is not bootable, so I'm down to booting with floppies. I first attempted to boot from floppyC39.fs, since that's supposed to be the image for laptops. Well, it does recognize my Ethernet card, but seems to choke on the hard drive. After recognizing the Ethernet card, I see the following: -- wd0(wdc0:0:0): timeout type: ata c_bcount: 512 c_skip: 0 wd0(wdc0:0:0): timeout type: ata c_bcount: 512 c_skip: 0 WARNING: preposterous time in file system WARNING: file system time much less than clock time -- After that, the machine is locked up. So I boot from floppy39.fs instead. That had no problem with the hard drive. I was able to successfully partition the drive. But that image does not recognize my Ethernet card, so I'm unable to retrieve any images (didn't see an option for PPP). Even after formatting the hard drive under the floppy39.s floppy, the floppyC39.fs floppy chokes on the hard drive. Is there any way to combine the two capabilities? I.e. dropping to the shell, Do you know if either or both of those recognize your CD? If so, you can download the install sets and burn them on CD, and do your install from there w/out ethernet. If you've got access to a burner that's probably the simpler way to go. Or try out the Xircom and see if it works. -- Darrin Chandler| Phoenix BSD Users Group [EMAIL PROTECTED] | http://bsd.phoenix.az.us/ http://www.stilyagin.com/ |
Re: ipv6 in openbsd 3.9
On 6/8/06, Lars Hansson [EMAIL PROTECTED] wrote: How I wish it was as easy with APNIC [...] Well, I'd say Google is your friend. The process at APNIC seems pretty similar to RIPE's. At least, it does so at first glance. Through Googling for obtain apnic person object, I end up at: http://sfc-cpu.ai3.net/v6/document/requestform.html Which leads to: http://www.apnic.net/apnic-bin/person.pl Cheers, Rogier -- If you don't know where you're going, any road will get you there.
Re: Which free board software for PostgeSQL?
I use PunBB 1.2.12 with -current OpenBSD and postgresql from ports here: http://preferans.de/ On 6/7/06, Michael Lechtermann [EMAIL PROTECTED] wrote: anyone can recommend a free PHP board/forums software for use with PostgreSQL 8.x?
Toshiba Tecra 8000 xorg.conf
Gidday... Anyone out there running 3.9 on a Toshiba Tecra 8000 ? Im trying to get it to run at 1024x768 but its being grumpy. Dmesg for good measure: OpenBSD 3.9 (GENERIC) #617: Thu Mar 2 02:26:48 MST 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium II (GenuineIntel 686-class, 512KB L2 cache) 233 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR real mem = 167288832 (163368K) avail mem = 145674240 (142260K) using 2067 buffers containing 8466432 bytes (8268K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(63) BIOS, date 12/30/99 apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 26% apm0: AC on, battery charge low, charging, estimated 0:37 hours apm0: flags 20102 dobusy 0 doidle 1 pcibios at bios0 function 0x1a not configured bios0: ROM list: 0xc/0xc000 0xe8000/0x4000! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82443BX rev 0x02 vga1 at pci0 dev 4 function 0 Neomagic Magicgraph NM2200 rev 0x12 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 5 function 0 Intel 82371AB PIIX4 ISA rev 0x02 pciide0 at pci0 dev 5 function 1 Intel 82371AB IDE rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: FUJITSU MHT2030AT wd0: 16-sector PIO, LBA, 28615MB, 58605120 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: TEAC, CD-224E, 7.5A SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 uhci0 at pci0 dev 5 function 2 Intel 82371AB USB rev 0x01: irq 11 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered piixpm0 at pci0 dev 5 function 3 Intel 82371AB Power rev 0x02: SMI iic0 at piixpm0 admtemp0 at iic0 addr 0x4e: adm1021 Toshiba Fast Infrared Type O rev 0x23 at pci0 dev 9 function 0 not configured cbb0 at pci0 dev 11 function 0 Toshiba ToPIC97 CardBus rev 0x05pci_intr_map: no mapping for pin A : couldn't map interrupt cbb1 at pci0 dev 11 function 1 Toshiba ToPIC97 CardBus rev 0x05pci_intr_map: no mapping for pin B : couldn't map interrupt isa0 at pcib0 isadma0 at isa0 apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 26% apm0: AC on, battery charge low, charging, estimated 0:37 hours apm0: flags 20102 dobusy 0 doidle 1 pcibios at bios0 function 0x1a not configured bios0: ROM list: 0xc/0xc000 0xe8000/0x4000! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82443BX rev 0x02 vga1 at pci0 dev 4 function 0 Neomagic Magicgraph NM2200 rev 0x12 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 5 function 0 Intel 82371AB PIIX4 ISA rev 0x02 pciide0 at pci0 dev 5 function 1 Intel 82371AB IDE rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: FUJITSU MHT2030AT wd0: 16-sector PIO, LBA, 28615MB, 58605120 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: TEAC, CD-224E, 7.5A SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 uhci0 at pci0 dev 5 function 2 Intel 82371AB USB rev 0x01: irq 11 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered piixpm0 at pci0 dev 5 function 3 Intel 82371AB Power rev 0x02: SMI iic0 at piixpm0 admtemp0 at iic0 addr 0x4e: adm1021 Toshiba Fast Infrared Type O rev 0x23 at pci0 dev 9 function 0 not configured cbb0 at pci0 dev 11 function 0 Toshiba ToPIC97 CardBus rev 0x05pci_intr_map: no mapping for pin A : couldn't map interrupt cbb1 at pci0 dev 11 function 1 Toshiba ToPIC97 CardBus rev 0x05pci_intr_map: no mapping for pin B : couldn't map interrupt isa0 at pcib0 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 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.01 midi0 at sb0: SB MIDI UART audio0 at sb0 opl0 at sb0: model OPL3 midi1 at opl0: SB Yamaha OPL3 wss0 at isa0 port 0x530/8 irq 10 drq 0: CS4231 or AD1845 (vers 4) audio1 at wss0 pcppi0 at isa0 port 0x61 midi2 at pcppi0: PC speaker spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: 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 pcic0 at isa0 port 0x3e0/2 iomem 0xd/65536 pcic0 controller 0:
Re: Linksys USB200M device boot-time troubleshooting,
Chris Smith wrote: N00b here. My Linksys USB200M, which should use the axe driver, isn't recognized at boot. In dmesg, I have: uhub3: port2, set config at addr 2 failed uhub3: device problem, disabling port 2 Request some references to investigate. The documentation is great, but I'm not seeing where I need to go to troubleshoot. The USB subsystem has to be initialized before ifconfig axe0, right? Thanks, Chris Hi Chris, My crystal ball is not working - but a dmesg(8) and the output of usbdevs -dv might help. Fred -- http://www.crowsons.net/puters/zaurus.php
entering custom AT commands into ppp.conf
Hi all. By asking this queston i admit that i have no idea how ppp.conf works. For a normal modem i am able to configure it fine, but for this problem i have to admit that i have no idea. I found some hits on google but nothing specific. I managed (finally) to get gprs working on OpenBSD using my Nokia 6680. Apart from some defalt route issues it works fine. But... I have to enter the init strings manually using minicom before i dial. i enter: ATZ and then AT+CGDCONT=1,IP,internet then i exit minicom with no reset (ctrl-a q) and dial. Obviously there HAS to be a way to include these in ppp.conf. All my attempts have failed. I'm sorry for the newbie-like question. Please direct answers to the list and flames to my private address :-) Cheers Marius Van Deventer Computer Technician Bytes Technology Group : Systems Integration Tel : +27 39 682 4202 | Fax : +27 39 682 4126 | Cell : +27 82 321 6491 Email : [EMAIL PROTECTED] Web : www.btgroup.co.za outbind://44/www.btgroup.co.za | Press Office : www.itweb.co.za/office/bytes outbind://44/www.itweb.co.za/office/bytes | Licensing : www.purelicensing.co.za outbind://44/www.purelicensing.co.za Bytes Systems Integration (Pty) Ltd : Registration No: 1995/012031/07 A subsidiary of Bytes Technology Group SA (Pty) Ltd, In association with KAGISO P O Box 4004, Umhlanga, 4350 ,55 Island Circle, Riverhorse Valley, Nandi Drive, South Africa. E-mail Disclaimer: http://www.altron.co.za/email.asp Or phone: (+27) (11) 205-7000 by Symantec Mail Security for the presence of any viruses. ** 0 [demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]
Re: Toshiba Tecra 8000 xorg.conf
Hi Joshua, On Thu, Jun 08, 2006 at 07:39:15PM +1200, Joshua Sandbrook wrote: | Anyone out there running 3.9 on a Toshiba Tecra 8000 ? Im trying to get it to | run at 1024x768 but its being grumpy. Check http://www.openbsd.org/i386-laptop.html - the machine is listed there with several tips on how to get it working. Xorg did not require any config for me (Just Works (tm)). Cheers, Paul 'WEiRD' de Weerd -- [++-]+++.+++[---].+++[+ +++-].++[-]+.--.[-] http://www.weirdnet.nl/ [demime 1.01d removed an attachment of type application/pgp-signature]
Re: Toshiba Tecra 8000 xorg.conf
Joshua Sandbrook wrote: Gidday... Anyone out there running 3.9 on a Toshiba Tecra 8000 ? Im trying to get it to run at 1024x768 but its being grumpy. Dmesg for good measure: What are the errors in your Xorg.0.log? And searching MARC gave: http://marc.theaimsgroup.com/?l=openbsd-miscm=110691734923937 Which seems to indicate that it should just work... HTH Fred -- http://www.crowsons.net/puters/zaurus.php
Re: Toshiba Tecra 8000 xorg.conf
Yeah I saw that. But xorg does not just 'work by default' at 1024x768 for me. It just runs at 800x600 and it seems thats all it can be bothered doing right now... On Thursday 08 June 2006 19:59, you wrote: Hi Joshua, On Thu, Jun 08, 2006 at 07:39:15PM +1200, Joshua Sandbrook wrote: | Anyone out there running 3.9 on a Toshiba Tecra 8000 ? Im trying to get | it to run at 1024x768 but its being grumpy. Check http://www.openbsd.org/i386-laptop.html - the machine is listed there with several tips on how to get it working. Xorg did not require any config for me (Just Works (tm)). Cheers, Paul 'WEiRD' de Weerd
Re: Toshiba Tecra 8000 xorg.conf
This is not a obsd related question. First make sure your screen and card can make that resolution. Then include your xorg.conf and the Xorg log. Please read the examples included first, and see if Xorg -configure can help. here is what it can look like http://bkw.lindesign.se/tmp/xorg.conf (for a acer tm 662) don't forget to read http://outlands.ca/linux/t8000.html http://ruby2shoes.sourceforge.net/xbox/laptops/linuxOnTecra8000.html http://www.geocities.com/goodjewishboy/tecra8000linux.html I found things like.. X resolution After installation, X resolution is stuck at 640x480. I have not found the cause, but I have been suggested a workaround that fix the problem. Add the following line to the Monitor section of /etc/X11/xorg.conf : HorizSync 36-52 VertRefresh 36-60 /bkw On 08/06/06, Joshua Sandbrook [EMAIL PROTECTED] wrote: Gidday... Anyone out there running 3.9 on a Toshiba Tecra 8000 ? Im trying to get it to run at 1024x768 but its being grumpy. Dmesg for good measure: OpenBSD 3.9 (GENERIC) #617: Thu Mar 2 02:26:48 MST 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium II (GenuineIntel 686-class, 512KB L2 cache) 233 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR real mem = 167288832 (163368K) avail mem = 145674240 (142260K) using 2067 buffers containing 8466432 bytes (8268K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(63) BIOS, date 12/30/99 apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 26% apm0: AC on, battery charge low, charging, estimated 0:37 hours apm0: flags 20102 dobusy 0 doidle 1 pcibios at bios0 function 0x1a not configured bios0: ROM list: 0xc/0xc000 0xe8000/0x4000! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82443BX rev 0x02 vga1 at pci0 dev 4 function 0 Neomagic Magicgraph NM2200 rev 0x12 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 5 function 0 Intel 82371AB PIIX4 ISA rev 0x02 pciide0 at pci0 dev 5 function 1 Intel 82371AB IDE rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: FUJITSU MHT2030AT wd0: 16-sector PIO, LBA, 28615MB, 58605120 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: TEAC, CD-224E, 7.5A SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 uhci0 at pci0 dev 5 function 2 Intel 82371AB USB rev 0x01: irq 11 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered piixpm0 at pci0 dev 5 function 3 Intel 82371AB Power rev 0x02: SMI iic0 at piixpm0 admtemp0 at iic0 addr 0x4e: adm1021 Toshiba Fast Infrared Type O rev 0x23 at pci0 dev 9 function 0 not configured cbb0 at pci0 dev 11 function 0 Toshiba ToPIC97 CardBus rev 0x05pci_intr_map: no mapping for pin A : couldn't map interrupt cbb1 at pci0 dev 11 function 1 Toshiba ToPIC97 CardBus rev 0x05pci_intr_map: no mapping for pin B : couldn't map interrupt isa0 at pcib0 isadma0 at isa0 apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 26% apm0: AC on, battery charge low, charging, estimated 0:37 hours apm0: flags 20102 dobusy 0 doidle 1 pcibios at bios0 function 0x1a not configured bios0: ROM list: 0xc/0xc000 0xe8000/0x4000! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82443BX rev 0x02 vga1 at pci0 dev 4 function 0 Neomagic Magicgraph NM2200 rev 0x12 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 5 function 0 Intel 82371AB PIIX4 ISA rev 0x02 pciide0 at pci0 dev 5 function 1 Intel 82371AB IDE rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: FUJITSU MHT2030AT wd0: 16-sector PIO, LBA, 28615MB, 58605120 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: TEAC, CD-224E, 7.5A SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 uhci0 at pci0 dev 5 function 2 Intel 82371AB USB rev 0x01: irq 11 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered piixpm0 at pci0 dev 5 function 3 Intel 82371AB Power rev 0x02: SMI iic0 at piixpm0 admtemp0 at iic0 addr 0x4e: adm1021 Toshiba Fast Infrared Type O rev 0x23 at pci0 dev 9 function 0 not configured cbb0 at pci0 dev 11 function 0 Toshiba ToPIC97 CardBus rev 0x05pci_intr_map: no mapping for pin A : couldn't map interrupt cbb1 at pci0 dev 11 function 1 Toshiba ToPIC97
Custom /bsd.rd to send in dmesgs?
Will devs ignore dmesgs from /bsd.rd that would resemble the -current GENERIC /bsd (if it is possible to do so)? I want to send in a few dmesgs from the machines where I cannot install OpenBSD, so I thought /bsd.rd would help.
Re: entering custom AT commands into ppp.conf
Hi, Here's my configs, should give you some hints.. mobile phone is connected to 'COM1' at 57600baud, adding a system default route via the new ppp link, and automatically redialing immediately after link failure: =/etc/ppp/peers/ISP /dev/tty00 57600 defaultroute debug #kdebug 7 lock user my_username noauth noccp novj noipdefault persist #demand connect '/usr/sbin/chat -e -v -f /etc/ppp/peers/chat/ISP-gprs' = script to initialise modem, and dial ISP: (CFUN/CPIN... is to reset the phone, then enter the PIN code etc) =/etc/ppp/peers/chat/ISP-gprs REPORT Starting chat script... ABORT ERROR ABORT BUSY ABORT 'NO CARRIER' ABORT 'NO DIALTONE' '' ATZ OK AT+CFUN=1,1 OK \d\dAT+CPIN=1234 OK AT+CGDCONT=1 OK AT+CGDCONT=1,IP,my.apn.name,,0,0 OK ATD*99***1# CONNECT = your ISP username password (see pap-secrets instead if applicable): =/etc/ppp/peers/chap-secrets #secrets for authentication using CHAP # clientserver secret IP addresses my_username * my_password* = create the i/f at boot time, and initiate connection: =/etc/hostname.ppp0 up !pppd call ISP = To debug: - $ sudo ifconfig ppp0 create - $ sudo pppd dial ISP - tail /var/log/daemon, /var/log/chat (after syslogd.conf uncommenting/restart) and /etc/ppp/connection-errors Hope this is of use. /Pete On 8. jun. 2006, at 08.07, Marius Van Deventer - Umzimkulu wrote: Hi all. By asking this queston i admit that i have no idea how ppp.conf works. For a normal modem i am able to configure it fine, but for this problem i have to admit that i have no idea. I found some hits on google but nothing specific. I managed (finally) to get gprs working on OpenBSD using my Nokia 6680. Apart from some defalt route issues it works fine. But... I have to enter the init strings manually using minicom before i dial. i enter: ATZ and then AT+CGDCONT=1,IP,internet then i exit minicom with no reset (ctrl-a q) and dial. Obviously there HAS to be a way to include these in ppp.conf. All my attempts have failed. I'm sorry for the newbie-like question. Please direct answers to the list and flames to my private address :-) Cheers Marius Van Deventer Computer Technician Bytes Technology Group : Systems Integration Tel : +27 39 682 4202 | Fax : +27 39 682 4126 | Cell : +27 82 321 6491 Email : [EMAIL PROTECTED] Web : www.btgroup.co.za outbind://44/www.btgroup.co.za | Press Office : www.itweb.co.za/office/bytes outbind://44/www.itweb.co.za/office/bytes | Licensing : www.purelicensing.co.za outbind://44/www.purelicensing.co.za Bytes Systems Integration (Pty) Ltd : Registration No: 1995/012031/07 A subsidiary of Bytes Technology Group SA (Pty) Ltd, In association with KAGISO P O Box 4004, Umhlanga, 4350 ,55 Island Circle, Riverhorse Valley, Nandi Drive, South Africa. E-mail Disclaimer: http://www.altron.co.za/email.asp Or phone: (+27) (11) 205-7000 by Symantec Mail Security for the presence of any viruses. ** 0 [demime 1.01d removed an attachment of type application/x-pkcs7- signature which had a name of smime.p7s]
Re: Wireless card use
On 6/7/06, Gaby vanhegan [EMAIL PROTECTED] wrote: The reviews seem to rate them, it's listed as supported hardware and it's less than #30. Any reason I shouldn't get one of these to go with a 3.9 box? Edimax EW-7128G http://www.scan.co.uk/Products/ProductInfo.asp?WebProductID=152539 -- ach
Re: OpenOffice.org 2.0 works on OpenBSD
On June 6, 2006 00:44, Tobias Ulmer wrote: Search the ports@ mailing list, there's a port for it. Thanks for the tip and also for the link with instructions. Yes, I was able to underatand it. :-) The title of the site chruetertee.ch, however, took me some more time. :- I found something http://marc.theaimsgroup.com/?l=openbsd-portsm=114289306831495w=2 on ports. ;-) I assume the proper way then would be to download this tgz-file, put it in /ports, and then build it the usual way? -- Beste Gr|_e / Best regards, Nikolaus Hiebaum
Re: OpenOffice.org 2.0 works on OpenBSD
On Thu, June 8, 2006 00:44, Bob Beck wrote: ... I use OpenOffice with sudo soffice.bin .. Shudder. My glasses just went dark. That's fucking terrifying. Seriously dude, You are begging for a security problem doing this. Thank you for pointing this out to me. If you have perused my previous message, it surely will not have slipped your attention that running OpenOffice without the sudo command causes OpenOffice to freeze when saving or not allowing me to save at all. Hence, if your glasses are bright (?) again, maybe you have a useful suggestion on how to remedy the situation. ;-) -- Beste Gr|_e / Best regards, Nikolaus Hiebaum
Re: state table, loopback and redirection
On Thu, 8 Jun 2006, uc.sheda wrote: When 172.16.218.129 is trying to reach the port 21/tcp of 129.128.5.191, here is what happen: * tcpdump -tei pflog0 port 21 or 8021: don't show anything You don't have log on your rdr pass line. * tcpdump -tni bridge0 port 21 or 8021: just show the SYN coming from 172.16.218.129, nothing else. * pfctl -ss show 2 states: all tcp 127.0.0.1:8021 - 129.128.5.191:21 - 172.16.218.129:22585 CLOSED:SYN_SENT all tcp 172.16.218.129:22585 - 127.0.0.1:8021 SYN_SENT:CLOSED * netstat -anp tcp show that ftp-proxy is listening on 127.0.0.1:8021 but don't receive anything (no socket in a state !=LISTEN with port 8021). Is there something I'm missing? What is the exact meaning of the arrows seen in the pfctl -ss output? You can't connect to the internet with a private space (172.16) address. -- Cam
Re: Wireless card use
Jonathan Gray wrote: The third is based on a TI ACX chip which can be picked by its blue PCB. http://kbserver.netgear.com/products/WG311v3.asp Is this likely to be supported by OpenBSD? Is TI still refusing to permit the distribution of the firmware blob? Linux people seem to have figured out that including a driver for this chip could have some legal issues: http://kerneltrap.org/node/6692 Cheers, Dries
Announcing OpenBSD/amd64 Xen port
Hi, I've been working toward porting OpenBSD/amd64 for the Xen Virtual Machine Monitor for a few months. It's not 100% complete, but most is already working for domU. Here's a list of the current issues/missing things: - virtual NIC driver is not fonctionnal, some part of the code still needs to be fixed for packet transfer from/to Xen to work. - events/clock issue: there seems to be a race condition leading to clock not ticking, hence putting system to sleep till a keyboard/network/disk interrupt is received. - SMP is currently not supported. I'll make a kernel binary, a disk image and sources available shortly. Regards, Mathieu
ntp on soekris
Hi, I have some flapping in ntp on soekris. Is it important ? First soekris (auto reboot each 15 and 45 minutes) Jun 8 06:17:46 r001 ntpd[17515]: adjusting local clock by 0.364500s Jun 8 06:47:45 r001 ntpd[26194]: adjusting local clock by 0.439883s Jun 8 07:17:41 r001 ntpd[22494]: adjusting local clock by 0.513877s Jun 8 07:47:43 r001 ntpd[30227]: adjusting local clock by 0.585656s Jun 8 08:17:42 r001 ntpd[4523]: adjusting local clock by 0.661055s Jun 8 08:47:44 r001 ntpd[23534]: adjusting local clock by -0.270700s Jun 8 09:17:41 r001 ntpd[26488]: adjusting local clock by -0.191056s Jun 8 09:47:46 r001 ntpd[23319]: adjusting local clock by 0.875716s Jun 8 09:51:26 r001 ntpd[23319]: adjusting local clock by 0.816038s Jun 8 09:55:43 r001 ntpd[23319]: adjusting local clock by -0.320128s Jun 8 09:59:52 r001 ntpd[23319]: adjusting local clock by -0.695182s Jun 8 10:01:35 r001 ntpd[23319]: adjusting local clock by -0.338598s Jun 8 10:05:18 r001 ntpd[23319]: adjusting local clock by 0.156039s Second soekris (auto reboot each 00 and 30 minutes) Jun 8 05:32:29 r002 ntpd[22037]: adjusting local clock by 0.915120s Jun 8 05:36:37 r002 ntpd[22037]: adjusting local clock by 0.626073s Jun 8 05:40:54 r002 ntpd[22037]: adjusting local clock by -0.447298s Jun 8 05:44:06 r002 ntpd[22037]: adjusting local clock by -0.466533s Jun 8 05:47:34 r002 ntpd[22037]: adjusting local clock by 0.135212s Jun 8 05:58:51 r002 ntpd[22037]: adjusting local clock by 0.131027s Jun 8 06:02:45 r002 ntpd[15955]: adjusting local clock by 0.961918s Jun 8 06:32:26 r002 ntpd[22591]: adjusting local clock by 1.017864s Jun 8 07:02:31 r002 ntpd[21007]: adjusting local clock by 1.060575s Jun 8 07:05:36 r002 ntpd[21007]: adjusting local clock by 0.529033s Jun 8 07:29:34 r002 ntpd[21007]: adjusting local clock by -0.530499s Jun 8 08:02:27 r002 ntpd[787]: adjusting local clock by 1.159095s Jun 8 08:32:29 r002 ntpd[24889]: adjusting local clock by 0.204871s Jun 8 09:02:27 r002 ntpd[12635]: adjusting local clock by 0.255003s Jun 8 09:32:28 r002 ntpd[17403]: adjusting local clock by 0.302008s Jun 8 10:02:29 r002 ntpd[11060]: adjusting local clock by 0.353288s I have some other soekris, and I never have so many log message. On these others box there are a adjusting message once by week or once a day. There are too many back and forward adjustements too close in time. Notice: The auto reboot is done by cron. I just do that because I test my redundant firewall. I may accept that during reboot the RTC lost it accuracy But if I take a slice a 30 minutes between 2 reboots, there are strange thing: Jun 8 09:47:46 r001 ntpd[23319]: adjusting local clock by 0.875716s Jun 8 09:51:26 r001 ntpd[23319]: adjusting local clock by 0.816038s Jun 8 09:55:43 r001 ntpd[23319]: adjusting local clock by -0.320128s Jun 8 09:59:52 r001 ntpd[23319]: adjusting local clock by -0.695182s Jun 8 10:01:35 r001 ntpd[23319]: adjusting local clock by -0.338598s Jun 8 10:05:18 r001 ntpd[23319]: adjusting local clock by 0.156039s It looks like the correction may have been done twice (0.875716s and 0.816038s) Too much in one direction, then (-0.320128s, -0.695182s, -0.338598s) The sum of the 5 first lines is 0.338s Same things with Jun 8 05:32:29 r002 ntpd[22037]: adjusting local clock by 0.915120s Jun 8 05:36:37 r002 ntpd[22037]: adjusting local clock by 0.626073s Jun 8 05:40:54 r002 ntpd[22037]: adjusting local clock by -0.447298s Jun 8 05:44:06 r002 ntpd[22037]: adjusting local clock by -0.466533s Jun 8 05:47:34 r002 ntpd[22037]: adjusting local clock by 0.135212s Jun 8 05:58:51 r002 ntpd[22037]: adjusting local clock by 0.131027s Cordialement, Jean-Girard Pailloncy cat /etc/ntpd.conf # $OpenBSD: ntpd.conf,v 1.7 2004/07/20 17:38:35 henning Exp $ # sample ntpd configuration file, see ntpd.conf(5) # Addresses to listen on (ntpd does not listen by default) #listen on * # sync to a single server #server ntp.example.org # use a random selection of 8 public stratum 2 servers # see http://twiki.ntp.org/bin/view/Servers/NTPPoolServers servers pool.ntp.org dmesg OpenBSD 3.9 (GENERIC) #617: Thu Mar 2 02:26:48 MST 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Geode(TM) Integrated Processor by National Semi (Geode by NSC 586-class) 267 MHz cpu0: FPU,TSC,MSR,CX8,CMOV,MMX cpu0: TSC disabled real mem = 133799936 (130664K) avail mem = 115367936 (112664K) using 1658 buffers containing 6791168 bytes (6632K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(00) BIOS, date 20/41/22, BIOS32 rev. 0 @ 0xf7840 pcibios0 at bios0: rev 2.0 @ 0xf/0x1 pcibios0: pcibios_get_intr_routing - function not supported pcibios0: PCI IRQ Routing information unavailable. pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc8000/0x9000 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Cyrix GXm PCI rev 0x00 sis0 at pci0 dev 6 function 0 NS DP83815 10/100 rev
Re: Bind popa3d to local interface only
Michael Lechtermann [EMAIL PROTECTED] writes: Hi, I am currently setting up a POP3 server and everything is working fine. Also added stunnel to handle SSL connections for popa3d. Now I would like to permit the usage of unencrypted connections to popa3d to enforce connections over SSL. popa3d runs in standalone mode and it should stay that way since I am not using inetd right now. When connected to port 995 stunnel forwards the connection to localhost port 110. Because of that I just need popa3d to listen on 127.0.0.1. Index: standalone.c === RCS file: /cvs/src/usr.sbin/popa3d/standalone.c,v retrieving revision 1.10 diff -u -r1.10 standalone.c --- standalone.c13 Mar 2005 19:29:44 - 1.10 +++ standalone.c8 Jun 2006 08:15:33 - @@ -127,7 +127,7 @@ hints.ai_socktype = SOCK_STREAM; hints.ai_family = af; hints.ai_flags = AI_PASSIVE; - error = getaddrinfo(NULL, sbuf, hints, res0); + error = getaddrinfo(127.0.0.1, sbuf, hints, res0); if (error) return log_error(getaddrinfo);
Re: entering custom AT commands into ppp.conf
By asking this queston i admit that i have no idea how ppp.conf works. I have to enter the init strings manually using minicom before i dial. AT+CGDCONT=1,IP,internet Obviously there HAS to be a way to include these in ppp.conf. All my attempts have failed. It's difficult to get the quoting just right. Would anyone like to commit this? Index: etc/ppp/ppp.conf.sample === RCS file: /data/cvsroot/OpenBSD/src/etc/ppp/ppp.conf.sample,v retrieving revision 1.21 diff -u -r1.21 ppp.conf.sample --- etc/ppp/ppp.conf.sample 9 Jun 2002 06:15:15 - 1.21 +++ etc/ppp/ppp.conf.sample 8 Jun 2006 10:12:24 - @@ -101,6 +101,23 @@ add default HISADDR enable dns +# To connect via a GPRS device (e.g. a mobile phone), it's often +# necessary to set the access-point name (in this case 'internet') +# which requires quotes in the dial string. This section shows +# the escaping required. +# +gprs: + set device /dev/cuaU0 + set dial ABORT ERROR ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ + \\ ATZ OK-ATZ-OK AT+CGDCONT=1,\\\IP\\\,\\\internet\\\ OK \\dATD\\T TIMEOUT 40 CONNECT + set phone *99# + set speed 115200 + set login + set timeout 0 + set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 + add default HISADDR + enable dns + # Example segments # # The following lines may be included as part of your configuration
Re: Bind popa3d to local interface only
On Thu, 8 Jun 2006, Gabriel Kihlman wrote: Because of that I just need popa3d to listen on 127.0.0.1. Index: standalone.c === RCS file: /cvs/src/usr.sbin/popa3d/standalone.c,v retrieving revision 1.10 diff -u -r1.10 standalone.c --- standalone.c 13 Mar 2005 19:29:44 - 1.10 +++ standalone.c 8 Jun 2006 08:15:33 - @@ -127,7 +127,7 @@ hints.ai_socktype = SOCK_STREAM; hints.ai_family = af; hints.ai_flags = AI_PASSIVE; - error = getaddrinfo(NULL, sbuf, hints, res0); + error = getaddrinfo(127.0.0.1, sbuf, hints, res0); if (error) return log_error(getaddrinfo); Why go through all of this trouble when you can just run it out of inetd(8)? [127.0.0.1]:pop3 stream tcp nowait root /usr/libexec/tcpd /usr/sbin/popa3d [::1]:pop3 stream tcp6 nowait root /usr/libexec/tcpd /usr/sbin/popa3d -d
Re: Bind popa3d to local interface only
Damien Miller schrieb: Why go through all of this trouble when you can just run it out of inetd(8)? Why running inetd for that alone and having an additional process open when popa3d is supposed to be able to do it alone when set to an address in params.h? Imho, that patch, (with my little addidional change) is how popa3d is supposed to work.
Re: entering custom AT commands into ppp.conf
-Original Message- From: Stuart Henderson [mailto:[EMAIL PROTECTED] Sent: 08 June 2006 12:19 PM To: Marius Van Deventer - Umzimkulu Cc: misc@openbsd.org Subject: Re: entering custom AT commands into ppp.conf By asking this queston i admit that i have no idea how ppp.conf works. I have to enter the init strings manually using minicom before i dial. AT+CGDCONT=1,IP,internet Obviously there HAS to be a way to include these in ppp.conf. All my attempts have failed. It's difficult to get the quoting just right. Would anyone like to commit this? Index: etc/ppp/ppp.conf.sample === RCS file: /data/cvsroot/OpenBSD/src/etc/ppp/ppp.conf.sample,v retrieving revision 1.21 diff -u -r1.21 ppp.conf.sample --- etc/ppp/ppp.conf.sample 9 Jun 2002 06:15:15 - 1.21 +++ etc/ppp/ppp.conf.sample 8 Jun 2006 10:12:24 - @@ -101,6 +101,23 @@ add default HISADDR enable dns +# To connect via a GPRS device (e.g. a mobile phone), it's often +# necessary to set the access-point name (in this case 'internet') +# which requires quotes in the dial string. This section shows +# the escaping required. +# +gprs: + set device /dev/cuaU0 + set dial ABORT ERROR ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ + \\ ATZ OK-ATZ-OK AT+CGDCONT=1,\\\IP\\\,\\\internet\\\ OK \\dATD\\T TIMEOUT 40 CONNECT + set phone *99# + set speed 115200 + set login + set timeout 0 + set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 + add default HISADDR + enable dns + # Example segments # # The following lines may be included as part of your configuration Thanks Stuart. This works for me. [demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]
Re: entering custom AT commands into ppp.conf
On Thu, Jun 08, 2006 at 08:07:21AM +0200, Marius Van Deventer - Umzimkulu wrote: By asking this queston i admit that i have no idea how ppp.conf works. for a setup with pppd, take a look here: url: http://hazardous.org/~fkr/openbsd/openbsd_gprs_umts.html It is for umts/gprs cards, but the same applies to modems in cell phones. felix -- GPG/PGP: D9AC74D0 / 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD3 D9AC 74D0 http://hazardous.org/~fkr - [EMAIL PROTECTED] - [EMAIL PROTECTED]|irc - FKR-RIPE https://www.bytemine.net/ - bytemine - BSD based hosting/solutions/ideas
SMP
Dear friends, i have been having an increasing interest on OpenBSD internals. So, my first movement was to buy some Unix books on OS design like The Design of the 4.4BSD . One thing i would like to know better is about SMP. Up to now i could not figure it out about the algorithm choice and motivation, not i can have a good ideia about how openbsd does behave on an SMP system compared other unices like Solaris/AIX, etc or even pretenders like Linux. Thank you a lot for your time and cooperation.
Re: Bind popa3d to local interface only
On Thu, 8 Jun 2006, Michael Lechtermann wrote: Damien Miller schrieb: Why go through all of this trouble when you can just run it out of inetd(8)? Why running inetd for that alone and having an additional process open when popa3d is supposed to be able to do it alone when set to an address in params.h? popa3d forks for each connection
Re: SMP
* Gustavo Rios wrote: Dear friends, i have been having an increasing interest on OpenBSD internals. So, my first movement was to buy some Unix books on OS design like The Design of the 4.4BSD . One thing i would like to know better is about SMP. Up to now i could not figure it out about the algorithm choice and motivation, not i can have a good ideia about how openbsd does behave on an SMP system compared other unices like Solaris/AIX, etc or even pretenders like Linux. Thank you a lot for your time and cooperation. you should read the book UNIX systems for modern architectures by carl schimmel. it covers the topic in-depth. be warned, this is a rather theoretical text (as the topic is not entry-level anyways...) - marc balmer
Re: state table, loopback and redirection
On Thu, 8 Jun 2006, sheda wrote: There's a NAT box between the OpenBSD box and Internet, that's why I don't need outgoing NAT rules. Then the ftp-proxy needs to run on the NAT box, because the private space address is used _inside_ the FTP protocol as well (in active mode). For bridges ftpsesame may be what you're looking for: http://www.sentia.org/projects/ftpsesame -- Cam
Re: OpenOffice.org 2.0 works on OpenBSD
Is it maybe a permissions issue on the directory that OpenOffice uses as temporary space to save your files while you're working on them? On 6/8/06, Nikolaus Hiebaum [EMAIL PROTECTED] wrote: On Thu, June 8, 2006 00:44, Bob Beck wrote: ... I use OpenOffice with sudo soffice.bin .. Shudder. My glasses just went dark. That's fucking terrifying. Seriously dude, You are begging for a security problem doing this. Thank you for pointing this out to me. If you have perused my previous message, it surely will not have slipped your attention that running OpenOffice without the sudo command causes OpenOffice to freeze when saving or not allowing me to save at all. Hence, if your glasses are bright (?) again, maybe you have a useful suggestion on how to remedy the situation. ;-) -- Beste Gr|_e / Best regards, Nikolaus Hiebaum
Re: b/g wifi card on wi list?
On 2006/06/08 14:33, Toni Mueller wrote: I am also just now shopping for a good PCMCIA (or CardBus) card for building an accesspoint and/or a router supporting wireless LAN and perused www.openbsd.org/i386.html which imho lists a lot of cards, only to find out that most if not all of them don't seem to be available anymore here in Germany - at least our supplier claims so. There are a limited number of PCMCIA/CardBus cards with external antennas (which you're likely to want for an AP), so you might be limited to B with the prism-based Senao/Engenius cards - wi(4) - they're reliable in hostap mode (as long as they are running supported firmware; see `man wi'). They seem to be quite widely available; Wim sells them, amongst others. If you want 11g hostap on OpenBSD, currently you need a Ralink device. Afaik if you want a decent antenna, this means PCI/MiniPCI (or possibly some of the USB devices). It would be very nice if someone had a list of good current cards... Manufacturers change chipsets so often that maintaining this would be a major undertaking. If you want something that works you need to research, try cards, and when you find one that's good, buy any more you need before the manufacturer has chance to change design. Or buy from someone who already did this.
Re: Which free board software for PostgeSQL?
On Wed, Jun 07, 2006 at 08:46:56PM +0200, Michael Lechtermann wrote: Hi, anyone can recommend a free PHP board/forums software for use with PostgreSQL 8.x? PgSQL isn't mentioned in the vBulletin homepage. PHPBB is supposed to work with 7.x, not sure about 8.x Thanks in advance. Michael PunBB isn't bad. Look in the archives, somebody gave some instructions how to set it up. As far as PhpBB goes, it's been plagued with security problems. -- Terry http://tyson.homeunix.org
Re: entering custom AT commands into ppp.conf
oops. Well spotted Marius. + set phone *99# should have been + set phone *99\# I did test it but my phone obviously didn't require the #. Index: etc/ppp/ppp.conf.sample === RCS file: /data/cvsroot/OpenBSD/src/etc/ppp/ppp.conf.sample,v retrieving revision 1.21 diff -u -r1.21 ppp.conf.sample --- etc/ppp/ppp.conf.sample 9 Jun 2002 06:15:15 - 1.21 +++ etc/ppp/ppp.conf.sample 8 Jun 2006 10:12:24 - @@ -101,6 +101,23 @@ add default HISADDR enable dns +# To connect via a GPRS device (e.g. a mobile phone), it's often +# necessary to set the access-point name (in this case 'internet') +# which requires quotes in the dial string. This section shows +# the escaping required. +# +gprs: + set device /dev/cuaU0 + set dial ABORT ERROR ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ + \\ ATZ OK-ATZ-OK AT+CGDCONT=1,\\\IP\\\,\\\internet\\\ OK \\dATD\\T TIMEOUT 40 CONNECT + set phone *99\# + set speed 115200 + set login + set timeout 0 + set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 + add default HISADDR + enable dns + # Example segments # # The following lines may be included as part of your configuration
Re: ntp on soekris
Jun 8 09:47:46 r001 ntpd[23319]: adjusting local clock by 0.875716s Jun 8 09:51:26 r001 ntpd[23319]: adjusting local clock by 0.816038s Note that the time shown is *not* the time being adjusted, but the difference from true time. I.e at first the offset is 0.87s and later it is only 0.81s so it is slowly getting there. Ok. Sorry to misunderstand the numbers. I do some calculation in spreadsheet. The skew is between -10.7 and 3.7 milliseconds/second. The man page of adjtime says: delta is positive, a larger increment than normal is used. The skew used to perform the correction is generally a fraction of one percent. Thus, An average correction of 10.7 milliseconds in 1 seconds during 4 minutes is larger than a fraction of one percent. I wonder if my understanding is correct, and why the skew is so fast. And last question, is it a real problem ? time: time in log file adjusting: number in second in adjusting by message unnamed column: delta in time and in off second skew: speed of the correction. time adjusting skew (ms/s) 00:14:04 0.161853 00:17:47 0.914204 223.00 0.752351 3.3738 00:21:30 0.912827 223.00 -0.001377 -0.0062 01:47:43 0.135143 5173.00 -0.777684 -0.1503 02:17:44 1.207917 1801.00 1.072774 0.5957 02:47:42 1.281030 1798.00 0.073113 0.0407 03:17:41 0.356476 1799.00 -0.924554 -0.5139 03:47:42 0.429416 1801.00 0.072940 0.0405 03:51:22 0.213789 220.00 -0.215627 -0.9801 03:58:06 -0.164806 404.00 -0.378595 -0.9371 04:17:44 0.507832 1178.00 0.672638 0.5710 04:49:11 1.575442 1887.00 1.067610 0.5658 05:17:43 0.660218 1712.00 -0.915224 -0.5346 05:47:44 0.728825 1801.00 0.068607 0.0381 06:17:39 0.798930 1795.00 0.070105 0.0391 06:22:00 0.240950 261.00 -0.557980 -2.1379 06:29:28 -0.242509 448.00 -0.483459 -1.0791 06:33:51 -0.164418 263.00 0.078091 0.2969 07:47:46 1.024516 4435.00 1.188934 0.2681 08:17:44 1.101519 1798.00 0.077003 0.0428 08:47:49 0.173583 1805.00 -0.927936 -0.5141 09:17:53 0.247539 1804.00 0.073956 0.0410 09:47:42 0.318959 1789.00 0.071420 0.0399 10:17:53 1.392653 1811.00 1.073694 0.5929 10:47:43 0.474007 1790.00 -0.918646 -0.5132 11:17:44 0.540287 1801.00 0.066280 0.0368 11:47:45 -0.375363 1801.00 -0.915650 -0.5084 11:51:34 -0.172898 229.00 0.202465 0.8841 12:17:41 0.69 1567.00 0.869564 0.5549 12:21:22 0.520937 221.00 -0.175729 -0.7952 12:25:03 -0.132391 221.00 -0.653328 -2.9562 12:36:28 -0.429008 685.00 -0.296617 -0.4330 12:47:44 0.764023 676.00 1.193031 1.7648 12:50:50 0.759465 186.00 -0.004558 -0.0245 13:17:45 0.844410 1615.00 0.084945 0.0526 13:22:01 0.426703 256.00 -0.417707 -1.6317 13:25:38 -0.218589 217.00 -0.645292 -2.9737 13:32:25 -0.390765 407.00 -0.172176 -0.4230 13:47:43 0.925055 918.00 1.315820 1.4334 15:17:46 0.150131 5403.00 -0.774924 -0.1434 15:47:46 0.212621 1800.00 0.062490 0.0347 16:17:47 0.296601 1801.00 0.083980 0.0466 16:47:45 0.373255 1798.00 0.076654 0.0426 17:17:48 0.444087 1803.00 0.070832 0.0393 17:47:45 0.519118 1797.00 0.075031 0.0418 18:17:47 0.594991 1802.00 0.075873 0.0421 18:47:49 0.666787 1802.00 0.071796 0.0398 18:50:50 0.663644 181.00 -0.003143 -0.0174 19:17:40 -0.262104 1610.00 -0.925748 -0.5750 19:21:54 -0.143448 254.00 0.118656 0.4671 19:47:43 0.815742 1549.00 0.959190 0.6192 19:51:29 0.805368 226.00 -0.010374 -0.0459 19:55:34 -0.401787 245.00 -1.207155 -4.9272 19:59:53 -0.688805 259.00 -0.287018 -1.1082 20:01:11 -0.39866078.00 0.290145 3.7198 20:17:45 0.889891 994.00 1.288551 1.2963 20:21:45 0.637197 240.00 -0.252694 -1.0529 20:26:06 -0.410787 261.00 -1.047984 -4.0153 20:28:58 -0.505440 172.00 -0.094653 -0.5503 20:31:34 -0.208699 156.00 0.296741 1.9022 20:37:11 0.402252 337.00 0.610951 1.8129 20:47:42 0.964681 631.00 0.562429 0.8913 20:51:24 0.960566 222.00 -0.004115 -0.0185 21:02:36 -0.873072 672.00 -1.833638 -2.7286 21:05:56 -0.527576 200.00 0.345496 1.7275 21:09:39 0.131954 223.00 0.659530 2.9575 21:17:42 1.033462 483.00 0.901508 1.8665 21:47:44 1.104782 1802.00 0.071320 0.0396 22:17:43 0.184729 1799.00 -0.920053 -0.5114 22:47:47 0.254301 1804.00 0.069572 0.0386 23:17:55 1.340637 1808.00 1.086336 0.6008 23:19:24 1.33359889.00 -0.007039 -0.0791 23:23:33 -1.336042 249.00 -2.669640 -10.7214 23:26:58 -0.690752 205.00 0.645290 3.1478 23:47:42 0.408653 1244.00 1.099405 0.8838 23:51:12 0.354902 210.00 -0.053751 -0.2560 23:55:15 -0.357164 243.00 -0.712066 -2.9303 23:58:46 -0.138396 211.00 0.218768 1.0368 00:17:45 0.479970 1139.00 0.618366 0.5429 00:47:48 0.559100 1803.00 0.079130 0.0439 01:17:46
Re: Custom /bsd.rd to send in dmesgs?
vladas wrote: Will devs ignore dmesgs from /bsd.rd that would resemble the -current GENERIC /bsd (if it is possible to do so)? I want to send in a few dmesgs from the machines where I cannot install OpenBSD, so I thought /bsd.rd would help. There are a lot of reasons why developers want the dmesgs -- a major reason is to find out how the GENERIC kernel sees the hardware, another is to get reports of how it actually works with that hardware. A custom kernel does neither of those tasks. Simply booting bsd.rd (even an official one) doesn't answer either very well...what happens if a probe of something in GENERIC that isn't in bsd.rd causes the machine to lock? What happens if the disk interface is properly recognized..but doesn't work properly? You would never know if you didn't actually do the install. The lack of a didn't work! message might cause someone to think it did... Perhaps even more tantalizing, what if a problem IS seen in the dmesg...if you can't install, you can't test a fix. So..I suspect you won't get a lot of excited responses from developers, in general. Or I could be wrong... Nick.
Problem logging in.
Hello, A week ago my open bsd firewall started to show a very strange behaviour. I have the ssh-daemon running and ususally log-in remotely to be able to administrate the pf.conf file. But now I cant log in. Ok, maybe I've just forgott my password. I booted in single user mode and changed it, then booted normally but couldn't log in anyway. I booted in single user mode again changed it to another password, changed to another user (using su) and then changed user to root again (again using su). Was prompted for the password, entered it and login was again rejected. When i tried to change the password it complained that something was wrong with a file called /etc/master.passwd. When looking at the file it contained parts of my pf.conf file. Have I've been hacked or is it just a major error done from my side. I understand that the information probably isn't enough but if someone could guide me further I would be very happy. regards Jonas Lindskog
Re: entering custom AT commands into ppp.conf
hmmm. Was right the first time with *99# - not sure why you needed *99\# then Marius...
Re: entering custom AT commands into ppp.conf
-Original Message- From: Stuart Henderson [mailto:[EMAIL PROTECTED] Sent: 08 June 2006 04:17 PM To: Marius Van Deventer - Umzimkulu Cc: misc@openbsd.org Subject: Re: entering custom AT commands into ppp.conf hmmm. Was right the first time with *99# - not sure why you needed *99\# then Marius... When I tried *99# my phone's display read Dialling *99 and then Disconnecting *99 shortly after. Changing it to *99\# results in the phone simply connecting without any message at all. The only change is the double arrow icon in the corner telling you you're connected (nokia 6680). After that, I can browse the web, ping sites etc... It is probably a quirk of the service provider. Each provider probably has a different number. Some users are required to enter a Pin number command to activate the phones, others need usernames and passwords. I just needed the number and the at+ command that chooses the right acess point. [demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]
Re: ipv6 in openbsd 3.9
On Thu, 2006-06-08 at 02:40 +, Lars Hansson wrote: [..] I wanted to try SixXs but I dont have an apnic (or other rir) handle. I guess you missed http://www.sixxs.net/signup/create/ Of course, if you are in APNIC area it is much wiser to use a broker from that area, see http://www.sixxs.net/tools/aiccu/brokers/ for a large list of them which should encompass all. Unfortunately there have not been any offers from that area yet to get one up and running. Greets, Jeroen [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]
Re: entering custom AT commands into ppp.conf
On 2006/06/08 16:37, Marius Van Deventer - Umzimkulu wrote: When I tried *99# my phone's display read Dialling *99 and then Disconnecting *99 shortly after. Did you have it in quotes as in my example? It is probably a quirk of the service provider. Each provider probably has a different number. AIUI the PPP session is actually with the phone, rather than with the provider.
Lockups and Semop panics
Hi, I've got a Dell Dimension XPS B866r desktop running as my web/mail server (recently upgraded to 3.9). Occasionally, after a seemingly random amount of time, the machine will do one of two things: it will either lockup/freeze where there are no messages on the console, but you cannot type, ping or access the box in any way (but the reset button) OR, since I have ddb.panic=0, it will reboot with the following message from my serial console: panic: semop - can't undo undos Starting stack trace...panic(fff4,3,e870df10,2,fff4) at panic+0x71panic(d051c1f6,e870dec8,12,d6a4f2d0,3) at panic+0x71 sys_semop(d658b2f0,e870df68,e870df58,0,1998c) at sys_semop+0x492syscall() at syscall+0x2ea --- syscall (number 290) ---0x444e4e9: End of stack trace. syncing disks... 19 19 donerebooting... Since the box rebooted automatically, I don't have ps output, but the box is running: stock GENERIC kernel, mysql-server-5.0.22, stock apache (chrooted) w/ ssl, courier-imap/pop3 w/ssl, imap-proxy, php5-core,curl,gd,imap,mbstring,mcrypt,mysql-5.1.4-hardened (compiled from CVS ports of -current), wordpress-2.0.3, gallery-2.1.1, squirrelmail 1.4.6 and 1.5.1, spamd (openbsd), spamassassin (spamc+spamd+procmail), clamav (clamav-milter + clamd), sendmail (with sasl compiled in), sasl with mysql+crypt patch applied, pure-ftpd (requiring ssl... not really used). When the box comes back up, none of the log files have error messages. Let me know if I can provide any more info. Does anyone have any thoughts? I'm thinking that I'm running too much on my P3-866 w/ 512 MB RAM and should set up another box to offload either mail, apache or mysql. Below is a dmesg. Thanks. OpenBSD 3.9 (GENERIC) #617: Thu Mar 2 02:26:48 MST 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium III (GenuineIntel 686-class) 865 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real mem = 536190976 (523624K) avail mem = 482246656 (470944K) using 4278 buffers containing 26910720 bytes (26280K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(00) BIOS, date 03/29/01, BIOS32 rev. 0 @ 0xfda74 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf3250/208 (11 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #2 is the last bus bios0: ROM list: 0xc/0x8000 0xc8000/0x800 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82820 MCH rev 0x03: rng active, 8Kb/sec ppb0 at pci0 dev 1 function 0 Intel 82820 AGP rev 0x03 pci1 at ppb0 bus 1 ppb1 at pci0 dev 30 function 0 Intel 82801AA Hub-to-PCI rev 0x02 pci2 at ppb1 bus 2 vga1 at pci2 dev 8 function 0 S3 Trio32/64 rev 0x53 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) xl0 at pci2 dev 11 function 0 3Com 3c905C 100Base-TX rev 0x74: irq 10, address 00:50:da:b6:52:f9 bmtphy0 at xl0 phy 24: Broadcom 3C905C internal PHY, rev. 6 ichpcib0 at pci0 dev 31 function 0 Intel 82801AA LPC rev 0x02 pciide0 at pci0 dev 31 function 1 Intel 82801AA IDE rev 0x02: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: ST330630A wd0: 16-sector PIO, LBA, 29188MB, 59777640 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 wd1 at pciide0 channel 1 drive 0: ST330013A wd1: 16-sector PIO, LBA, 28629MB, 58633344 sectors atapiscsi0 at pciide0 channel 1 drive 1 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: HITACHI, DVD-ROM GD-5000, 0212 SCSI0 5/cdrom removable wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4 cd0(pciide0:1:1): using PIO mode 4, DMA mode 2 uhci0 at pci0 dev 31 function 2 Intel 82801AA USB rev 0x02: irq 10 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ichiic0 at pci0 dev 31 function 3 Intel 82801AA SMBus rev 0x02: irq 9 iic0 at ichiic0 unknown at iic0 addr 0x18 not configured 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 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom0: console fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec biomask ef6d netmask ef6d ttymask ffef pctr: 686-class user-level performance counters enabled mtrr: Pentium Pro MTRR support dkcsum: wd0 matches BIOS drive 0x80 dkcsum: wd1 matches BIOS drive 0x81
Re: Lockups and Semop panics
On Thu, 8 Jun 2006, Michael Erdely wrote: Hi, I've got a Dell Dimension XPS B866r desktop running as my web/mail server (recently upgraded to 3.9). Occasionally, after a seemingly random amount of time, the machine will do one of two things: it will either lockup/freeze where there are no messages on the console, but you cannot type, ping or access the box in any way (but the reset button) OR, since I have ddb.panic=0, it will reboot with the following message from my serial console: panic: semop - can't undo undos Starting stack trace...panic(fff4,3,e870df10,2,fff4) at panic+0x71panic(d051c1f6,e870dec8,12,d6a4f2d0,3) at panic+0x71 sys_semop(d658b2f0,e870df68,e870df58,0,1998c) at sys_semop+0x492syscall() at syscall+0x2ea --- syscall (number 290) ---0x444e4e9: End of stack trace. syncing disks... 19 19 donerebooting... Since the box rebooted automatically, I don't have ps output, but the box is running: stock GENERIC kernel, mysql-server-5.0.22, stock apache (chrooted) w/ ssl, courier-imap/pop3 w/ssl, imap-proxy, php5-core,curl,gd,imap,mbstring,mcrypt,mysql-5.1.4-hardened (compiled from CVS ports of -current), wordpress-2.0.3, gallery-2.1.1, squirrelmail 1.4.6 and 1.5.1, spamd (openbsd), spamassassin (spamc+spamd+procmail), clamav (clamav-milter + clamd), sendmail (with sasl compiled in), sasl with mysql+crypt patch applied, pure-ftpd (requiring ssl... not really used). When the box comes back up, none of the log files have error messages. Let me know if I can provide any more info. Does anyone have any thoughts? I'm thinking that I'm running too much on my P3-866 w/ 512 MB RAM and should set up another box to offload either mail, apache or mysql. your system is running out of semaphore undo data structures. Try increasing at least kern.seminfo.semmnu. Other semaphore related sysctl's might need an increase as well. -Otto Below is a dmesg. Thanks. OpenBSD 3.9 (GENERIC) #617: Thu Mar 2 02:26:48 MST 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium III (GenuineIntel 686-class) 865 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real mem = 536190976 (523624K) avail mem = 482246656 (470944K) using 4278 buffers containing 26910720 bytes (26280K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(00) BIOS, date 03/29/01, BIOS32 rev. 0 @ 0xfda74 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf3250/208 (11 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #2 is the last bus bios0: ROM list: 0xc/0x8000 0xc8000/0x800 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82820 MCH rev 0x03: rng active, 8Kb/sec ppb0 at pci0 dev 1 function 0 Intel 82820 AGP rev 0x03 pci1 at ppb0 bus 1 ppb1 at pci0 dev 30 function 0 Intel 82801AA Hub-to-PCI rev 0x02 pci2 at ppb1 bus 2 vga1 at pci2 dev 8 function 0 S3 Trio32/64 rev 0x53 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) xl0 at pci2 dev 11 function 0 3Com 3c905C 100Base-TX rev 0x74: irq 10, address 00:50:da:b6:52:f9 bmtphy0 at xl0 phy 24: Broadcom 3C905C internal PHY, rev. 6 ichpcib0 at pci0 dev 31 function 0 Intel 82801AA LPC rev 0x02 pciide0 at pci0 dev 31 function 1 Intel 82801AA IDE rev 0x02: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: ST330630A wd0: 16-sector PIO, LBA, 29188MB, 59777640 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 wd1 at pciide0 channel 1 drive 0: ST330013A wd1: 16-sector PIO, LBA, 28629MB, 58633344 sectors atapiscsi0 at pciide0 channel 1 drive 1 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: HITACHI, DVD-ROM GD-5000, 0212 SCSI0 5/cdrom removable wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4 cd0(pciide0:1:1): using PIO mode 4, DMA mode 2 uhci0 at pci0 dev 31 function 2 Intel 82801AA USB rev 0x02: irq 10 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ichiic0 at pci0 dev 31 function 3 Intel 82801AA SMBus rev 0x02: irq 9 iic0 at ichiic0 unknown at iic0 addr 0x18 not configured 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 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte
Re: ntp on soekris
On 6/8/06, Peter [EMAIL PROTECTED] wrote: --- knitti [EMAIL PROTECTED] wrote: the soekris are not very good at time keeping, in my experience. whether this is a problem is something you have to decide, do you need more precision? if yes, change the hardware, else don't worry What is your experience and what did you observe? I have two 4801 units and they have no problem keeping time. I have a couple of 4501, and they _do_ keep the time, with the help of ntpd, random sample: Dec 21 03:33:45 fg-router ntpd[14941]: adjusting local clock by 0.893647s Dec 21 03:37:45 fg-router ntpd[14941]: adjusting local clock by 0.859043s Dec 21 03:41:43 fg-router ntpd[14941]: adjusting local clock by 0.788777s Dec 21 03:44:49 fg-router ntpd[14941]: adjusting local clock by 0.740139s Dec 21 03:48:49 fg-router ntpd[14941]: adjusting local clock by 0.645784s Dec 21 03:52:22 fg-router ntpd[14941]: adjusting local clock by 0.761796s Dec 21 03:56:20 fg-router ntpd[14941]: adjusting local clock by 0.822203s Dec 21 03:59:59 fg-router ntpd[14941]: adjusting local clock by 0.890898s Dec 21 04:04:03 fg-router ntpd[14941]: adjusting local clock by 0.796980s Dec 21 04:07:44 fg-router ntpd[14941]: adjusting local clock by 0.740668s Dec 21 04:11:45 fg-router ntpd[14941]: adjusting local clock by 0.726457s Dec 21 04:15:45 fg-router ntpd[14941]: adjusting local clock by 0.817878s Dec 21 04:19:45 fg-router ntpd[14941]: adjusting local clock by 0.917739s which is similiar on all of the soekris boxes another sample from another box, not a soekris: Jun 5 22:21:38 cvs ntpd[2002]: adjusting local clock by -0.194812s Jun 5 23:25:42 cvs ntpd[2002]: adjusting local clock by -0.170715s Jun 6 00:38:50 cvs ntpd[2002]: adjusting local clock by -0.131455s Jun 6 00:50:41 cvs ntpd[2002]: adjusting local clock by -0.156146s Jun 6 00:55:39 cvs ntpd[10045]: peer 82.133.58.132 now invalid Jun 6 01:09:08 cvs ntpd[10045]: peer 82.133.58.132 now valid Jun 6 01:54:22 cvs ntpd[2002]: adjusting local clock by -0.142031s Jun 6 02:06:02 cvs ntpd[2002]: adjusting local clock by -0.153419s Jun 6 02:14:49 cvs ntpd[2002]: adjusting local clock by -0.181421s Jun 6 03:10:24 cvs ntpd[2002]: adjusting local clock by -0.176803s Jun 6 04:17:09 cvs ntpd[2002]: adjusting local clock by -0.142914s Jun 6 04:25:24 cvs ntpd[2002]: adjusting local clock by -0.131678s which leads me to the assumption, that the soekris boxes have drift a bit more in time. thats all. --knitti
Re: Lockups and Semop panics
Otto Moerbeek wrote: On Thu, 8 Jun 2006, Michael Erdely wrote: panic: semop - can't undo undos your system is running out of semaphore undo data structures. Try increasing at least kern.seminfo.semmnu. Other semaphore related sysctl's might need an increase as well. Thanks, Otto. I'll give it a shot (increased semmnu to 40 for starters). -ME -- Support OpenBSD: http://www.openbsd.org/orders.html
Re: ntp on soekris
--- knitti [EMAIL PROTECTED] wrote: the soekris are not very good at time keeping, in my experience. whether this is a problem is something you have to decide, do you need more precision? if yes, change the hardware, else don't worry What is your experience and what did you observe? I have two 4801 units and they have no problem keeping time. I have 3 others soekris, and they have no problem keeping time. Cordialement, Jean-Girard Pailloncy
Re: Lockups and Semop panics
* Otto Moerbeek [EMAIL PROTECTED] [2006-06-08 10:00]: On Thu, 8 Jun 2006, Michael Erdely wrote: Hi, I've got a Dell Dimension XPS B866r desktop running as my web/mail server (recently upgraded to 3.9). Occasionally, after a seemingly random amount of time, the machine will do one of two things: it will either lockup/freeze where there are no messages on the console, but you cannot type, ping or access the box in any way (but the reset button) OR, since I have ddb.panic=0, it will reboot with the following message from my serial console: panic: semop - can't undo undos Starting stack trace...panic(fff4,3,e870df10,2,fff4) at panic+0x71panic(d051c1f6,e870dec8,12,d6a4f2d0,3) at panic+0x71 sys_semop(d658b2f0,e870df68,e870df58,0,1998c) at sys_semop+0x492syscall() at syscall+0x2ea --- syscall (number 290) ---0x444e4e9: End of stack trace. syncing disks... 19 19 donerebooting... Since the box rebooted automatically, I don't have ps output, but the box is running: stock GENERIC kernel, mysql-server-5.0.22, stock apache (chrooted) w/ ssl, courier-imap/pop3 w/ssl, imap-proxy, php5-core,curl,gd,imap,mbstring,mcrypt,mysql-5.1.4-hardened (compiled from CVS ports of -current), wordpress-2.0.3, gallery-2.1.1, squirrelmail 1.4.6 and 1.5.1, spamd (openbsd), spamassassin (spamc+spamd+procmail), clamav (clamav-milter + clamd), sendmail (with sasl compiled in), sasl with mysql+crypt patch applied, pure-ftpd (requiring ssl... not really used). When the box comes back up, none of the log files have error messages. Let me know if I can provide any more info. Does anyone have any thoughts? I'm thinking that I'm running too much on my your system is running out of semaphore undo data structures. Try increasing at least kern.seminfo.semmnu. Other semaphore related sysctl's might need an increase as well. And mysqueal sucks... Your system may run out of other things as well given the bloatware you're running on it. anything else I have mysqeal on and any significant amount of users I usually have to crank up quite a few of the default limits, both in the kernel and in mysql - I usually build a GENERIC with maxusers=128 to start, and then find the 80 bazillion knobs in mysqeal to turn to tell it to use file descriptors. no really use more than 100 file descriptors. no really really use more than 100 file descriptors If you have a small number of users you may be fine. however seeing what you have there and 512 mb of ram, you may want a bit more if you have significant(1) usage. Did I mention that mysqueal sucks? -Bob 1) Your notion of significant may not be mine - Our similar boxes cluster a load of up to 2500 simultaneous sessions with up to 300 click the thingy at the same time... They've all got 2 gig of ram and there are 7 (I think atm) of them.
Re: ntp on soekris
--- knitti [EMAIL PROTECTED] wrote: On 6/8/06, Pailloncy Jean-Gerard [EMAIL PROTECTED] wrote: minutes is larger than a fraction of one percent. I wonder if my understanding is correct, and why the skew is so fast. And last question, is it a real problem ? the soekris are not very good at time keeping, in my experience. whether this is a problem is something you have to decide, do you need more precision? if yes, change the hardware, else don't worry What is your experience and what did you observe? I have two 4801 units and they have no problem keeping time. Peter Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
nfe driver and Sun X2100
Has anyone gotten teh nfe port on a Sun 2100 to work on 19M? I have one of these, that I am setting up as a firewall between 2 legacy networks, both of which are 10M, and when I plug that port into the 10M hub, I get continuing kernel error messages. I'm considering locking it down, to se if that works, but have not tried that yet. -- U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong Terror - New York Times 9/3/1967
Re: OpenOffice.org 2.0 works on OpenBSD
* John Fiore wrote on Jun 8, 2006 [08:22, -0500] : Is it maybe a permissions issue on the directory that OpenOffice uses as temporary space to save your files while you're working on them? I checked the settings in OpenOffice: temporary files are written to /tmp and My Documents are written to my home directory. The permissions of the directory where OpenOffice is installed are: drwxr-xr-x 8 root wheel 512 Feb 23 21:13 openoffice.org2.0 And this is the permission of -r-xr-xr-x 1 root wheel6818 Feb 23 21:22 soffice -r-xr-xr-x 1 root wheel 281780 Feb 23 21:22 soffice.bin -r-xr-xr-x 1 root wheel 63 Feb 23 21:13 swriter Yes, I am member of the group wheel. -- Beste Gr|_e / Best regards , Nikolaus Hiebaum
Re: nfe driver and Sun X2100
On 6/8/06, stan [EMAIL PROTECTED] wrote: Has anyone gotten teh nfe port on a Sun 2100 to work on 19M? I have one of these, that I am setting up as a firewall between 2 legacy networks, both of which are 10M, and when I plug that port into the 10M hub, I get continuing kernel error messages. I'm considering locking it down, to se if that works, but have not tried that yet. AFAIK, phy on that nfe *does not* support 10mbit.
Re: ntp on soekris
On Thu, 8 Jun 2006, Pailloncy Jean-Gerard wrote: Jun 8 09:47:46 r001 ntpd[23319]: adjusting local clock by 0.875716s Jun 8 09:51:26 r001 ntpd[23319]: adjusting local clock by 0.816038s Note that the time shown is *not* the time being adjusted, but the difference from true time. I.e at first the offset is 0.87s and later it is only 0.81s so it is slowly getting there. Ok. Sorry to misunderstand the numbers. You are misinformed. Time adjustments are fixed in rate. For adjustments 1s, the rate is +/-40us per 1us. That boils down to about 1s per 4min. For adjustments larger than 1s, the rate is +/-400us/1us. There are a couple of reasons why you can see alternating positive/negative adjustments: 1. Your time reference is wobbling. 2. Your clock is wobbling. 3. In some cases ntpd overcompensates. This is especially true for large adjustments. I committed a diff to ntpd last week to fix the overcompensating. Note that this need a recent kernel as well. Without extra data you cannot tell what is happening here. If you see continuous positive or negative adjustments, it just means you clock is too slow or too fast. Currently, ntpd does not compensate for such a systematic clock error. Small adjustments (128ms) are not logged, that's why the log looks very empty on some systems. This does not mean ntpd does not do adustments. I do some calculation in spreadsheet. I think the calculations are based on misunderstanding the way adjtime(2) works. You also do not take into account that your clock might be wobbling. -Otto
Re: double-letter problem in X.org
On 6/7/06, Fred Crowson [EMAIL PROTECTED] wrote: Cagdas Tulek wrote: Hi, I've installed OpenBSD 3.9 on Toshiba Satellite 1410 laptop, yesterday. Everything is fine except the problem I face on X which does not happed at console. When I press a key, it sometimes prints double-letters. I am asking for help. I'm sending the dmesg output as an attachment. Thanks... Cagdas Tulek [demime 1.01d removed an attachment of type application/octet-stream which had a name of dmesg.output] Hi The following setting in your xorg.conf might help: Option XkbDisable true Unfortunately, It didn't change anything. Double-letters still occurs. Cagdas
Re: ntp on soekris
On Thu, Jun 08, 2006 at 08:01:16PM +0200, Otto Moerbeek wrote: There are a couple of reasons why you can see alternating positive/negative adjustments: 1. Your time reference is wobbling. 2. Your clock is wobbling. 3. In some cases ntpd overcompensates. This is especially true for large adjustments. I have seen a fair amount of all three. My favorite setup these days is to find a machine that has a decent clock, and will keep time through a reboot, and config ntpd there to use outside servers. Then I sync my other boxes to that one. That seems to give the most stable time for all my machines. -- Darrin Chandler| Phoenix BSD Users Group [EMAIL PROTECTED] | http://bsd.phoenix.az.us/ http://www.stilyagin.com/ |
Re: ntp on soekris
* Otto Moerbeek [EMAIL PROTECTED] [2006-06-08 20:02]: If you see continuous positive or negative adjustments, it just means you clock is too slow or too fast. Currently, ntpd does not compensate for such a systematic clock error. this is actually what we lack most in the timekeeping area currently. I really hope we'll get that solved sometime soon. -- BS Web Services, http://www.bsws.de/ OpenBSD-based Webhosting, Mail Services, Managed Servers, ... Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie)
Re: Problem logging in.
A week ago my open bsd firewall started to show a very strange behaviour. I have the ssh-daemon running and ususally log-in remotely to be able to administrate the pf.conf file. But now I cant log in. Ok, maybe I've just forgott my password. I booted in single user mode and changed it, then booted normally but couldn't log in anyway. I booted in single user mode again changed it to another password, changed to another user (using su) and then changed user to root again (again using su). Was prompted for the password, entered it and login was again rejected. When i tried to change the password it complained that something was wrong with a file called /etc/master.passwd. When looking at the file it contained parts of my pf.conf file. If your master.passwd contains parts of your pf.conf things sound really weird. Remember, if you ever touch master.passwd ALWAYS use vipw to keep dbs synced. I would try to create a new user foo, check if it works to login as foo from the localhost using kb. then try with ssh as the new user and see how that works. I'm unsure about exactlly what your problem is, your description of changing passwds really confuse me. Do not forget to set a existing shell for the user foo. GL /bkw
Re: Problem mounting/unmounting a CD
On Thu, 8 Jun 2006, Gabriel George POPA wrote: Hello BSD users, /dev/cd0a 93.9M 93.9M 0B 100%/mnt/dvdrw0 # umount /dev/cd0a umount: /mnt/dvdrw0: Input/output error # eject /dev/rcd0c # # (the tray doesn't move, it's shut) # eject -t /dev/rcd0c # eject /dev/rcd0c # # (the tray still shut remains) # # (not CD is in the drive) # # (my question is what happens, I cannot mount anymore any CD): # # (take a look:) # mount /dev/cd0a mount: realpath /mnt/dvdrw0: Input/output error # mount /dev/cd0a mount: realpath /mnt/dvdrw0: Input/output error # mount /dev/cd0a mount: realpath /mnt/dvdrw0: Input/output error # mount /dev/cd0a mount: realpath /mnt/dvdrw0: Input/output error # (the tray can be ejected and closed but only manually, by pressing the buonly manually, by pressing the button) Before you try anything else, you must unmount the device. Try umount -f /dev/cd0a Yes, the CD I inserted is good. No, a dmesg for you won't be useful. And, yes, Home come you know a dmesg isn't useful? A dmesg is almost always useful. -Otto I know you would ask, here is my fstab: /dev/wd0a / ffs rw 1 1 /dev/wd0d /home ffs rw,nodev,nosuid 1 2 /dev/wd0f /tmp ffs rw,nodev,nosuid 1 2 /dev/wd0e /usr ffs rw,nodev 1 2 /dev/wd0g /var ffs rw,nodev,nosuid 1 2 /dev/fd0a /mnt/floppy0 msdos rw,nodev,nosuid,noauto,noexec 0 0 /dev/cd0a /mnt/dvdrw0 cd9660 ro,nodev,nosuid,noauto,noexec 0 0 /dev/cd1a /mnt/cdrw1 cd9660 ro,nodev,nosuid,noauto,noexec 0 0 The optical unit is a DVD+/-RW DL, ASUS (DRW-1608P2, Rev 1.17). Processor Intel P4, 3GHz etc. You can imagine the rest... I run the standard OpenBSD 3.8 system. I don't think you would ask, but if I restart the system it's all OK. It happened to me several times; I'm not stupid, I can assure you, but every time I was tired and I cannot reproduce the situation; My question is: what's going on here? All commands were of course executed from the root account. Thanks in advance Yours in BSDness, Gabriel George POPA
savecore segfaults in June 7 i386 -current snapshot (#870)
I noticed it after just installing it as an upgrade. I was seeing a segmentation fault as /etc/rc was running, and traced it to savecore. The segmentation fault will drop a core file if I run it manually. gdb says: Core was generated by `savecore'. Program terminated with signal 11, Segmentation fault. #0 0x1c004a50 in ?? () (gdb) Obviously, I wonder if this is recreatable by others; that would lead me to think it might possibly be the snapshot. If not, then I know its something local. Anyone using this snap? (For completeness, my dmesg follows) OpenBSD 3.9-current (GENERIC) #870: Wed Jun 7 17:11:37 MDT 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Sempron(tm) 2600+ (AuthenticAMD 686-class, 256KB L2 cache) 1.84 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real mem = 502820864 (491036K) avail mem = 451043328 (440472K) using 4256 buffers containing 25243648 bytes (24652K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(37) BIOS, date 01/07/05, BIOS32 rev. 0 @ 0xfb9b0, SMBIOS rev. 2.2 @ 0xf (44 entries) bios0: ASUS A7VT 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/0xda84 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfda10/112 (5 entries) pcibios0: PCI Exclusive IRQs: 3 5 10 11 pcibios0: PCI Interrupt Router at 000:17:0 (VIA VT82C596A ISA rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0x7e00 0xc8000/0x8000! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 VIA VT8378 PCI 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 VT8378 VGA rev 0x01: aperture at 0xe400, size 0x1000 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) dc0 at pci0 dev 8 function 0 Lite-On PNIC-II rev 0x25: irq 10, address 00:a0:cc:e3:42:d6 dcphy0 at dc0 phy 31: internal PHY uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x80: irq 11 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 0x80: 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 0x80: irq 5 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 ehci0 at pci0 dev 16 function 3 VIA VT6202 USB rev 0x82: irq 3 usb3 at ehci0: USB revision 2.0 uhub3 at usb3 uhub3: VIA EHCI root hub, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered viapm0 at pci0 dev 17 function 0 VIA VT8235 ISA rev 0x00 iic0 at viapm0 pciide0 at pci0 dev 17 function 1 VIA VT82C571 IDE rev 0x06: ATA133, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: ExcelStor Technology J880 wd0: 16-sector PIO, LBA48, 78533MB, 160836480 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: LITE-ON, DVDRW SHW-160P6S, PS01 SCSI0 5/cdrom removable wd1 at pciide0 channel 1 drive 1: Maxtor 92732U8 wd1: 16-sector PIO, LBA, 26059MB, 53369568 sectors cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4 wd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 4 auvia0 at pci0 dev 17 function 5 VIA VT8233 AC97 rev 0x50: irq 5 ac97: codec id 0x41445368 (Analog Devices AD1888) ac97: codec features headphone, 20 bit DAC, No 3D Stereo audio0 at auvia0 vr0 at pci0 dev 18 function 0 VIA RhineII-2 rev 0x74: irq 11, address 00:11:2f:85:b1:90 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 lm0 at isa0 port 0x290/8: W83697HF npx0 at isa0 port 0xf0/16: 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 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec biomask ff6d netmask ff6d ttymask ffef pctr: user-level cycle counter enabled mtrr: Pentium Pro MTRR support uhidev0 at uhub0 port 1 configuration 1 interface 0 uhidev0: vendor 0x062a product 0x, rev 1.10/0.00, addr 2, iclass 3/1 ums0 at uhidev0: 3 buttons and Z dir. wsmouse0 at ums0 mux 0 dkcsum: wd0 matches BIOS drive 0x80 dkcsum: wd1 matches BIOS drive 0x81 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302
Re: ip address ?
On 6/8/06, akonsu [EMAIL PROTECTED] wrote: hello, my openbsd machine is conected to a windows machine. the windows machine has a wireless connection and gets its ip using dhcp. the openbsd machine gets its ip from the windows machine also by using dhcp on boot. the windows machine runs cygwin X server and the openbsd machine uses its display when running various x applications. so i need to set up DISPLAY variable on openbsd to point to this screen. is there a way to automatically retrieve the ip address of the windows machine and set up DISPLAY variable in the login script on openbsd machine? also, how to handle ip renewals? So, are you saying the windows machine is the gateway for the OpenBSD machine? If that's the case, then you can just screen-scrape `route show` (there's probably a better way than screen-scraping tho). If that's not the case, then perhaps you can scrape the boot logs (I believe dhclient says something like 'bound to X.X.X.X from Y.Y.Y.Y'). Be aware though, that in either of these set ups you must trust that the dhcp server is actually your trusted windows box. -Nick
squid and pf and dansguardian
Greetings, I get transparent proxying with squid and pf. I get dansguardian and pf. What I don't get is squid, dansguardian, and pf. pf.conf fragment: int_if=gem0 ext_if=kue0 # redirect to squid rdr on $int_if inet proto tcp from any to any \ port www - 127.0.0.1 port 3128 ## Allow the redirected connections to pass. pass in on $int_if inet proto tcp from any to 127.0.0.1 \ port 3128 keep state ## Also, the proxy must be able to establish outgoing ## connections to external web servers. pass out on $ext_if inet proto tcp from any to any \ port www keep state pass quick on $int_if But now I want to put dansguardian on. It listens on 8080, uses proxy port 3128. How do these rules change? I think I change 3128 to 8080 in the above rules. But what happens to 3128? Do I still need a 'pass in' rule for 3128? Thanks and take care, Allen Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: Which free board software for PostgeSQL?
On Wed, Jun 07, 2006 at 08:46:56PM +0200, Michael Lechtermann wrote: Hi, anyone can recommend a free PHP board/forums software for use with PostgreSQL 8.x? PgSQL isn't mentioned in the vBulletin homepage. PHPBB is supposed to work with 7.x, not sure about 8.x I use PHPBB with PostgreSQL 8.0, so it should work - 8.1 has changed nothing which I could imagine breaking PHPBB, or much of anything for that matter (except for newly introduced bugs, of course, but the PostgreSQL teams doesn't seem to do too bad on that front). However, as mentioned before, PHPBB isn't exactly secure. In fact, it pretty much has its own box on my network... Joachim
Re: ip address ?
On Wed, Jun 07, 2006 at 10:42:41PM -0700, akonsu wrote: hello, my openbsd machine is conected to a windows machine. the windows machine has a wireless connection and gets its ip using dhcp. the openbsd machine gets its ip from the windows machine also by using dhcp on boot. the windows machine runs cygwin X server and the openbsd machine uses its display when running various x applications. so i need to set up DISPLAY variable on openbsd to point to this screen. is there a way to automatically retrieve the ip address of the windows machine and set up DISPLAY variable in the login script on openbsd machine? also, how to handle ip renewals? I'm afraid neither is possible. However, I'm not sure about the proposed architecture, but if the Windows machine has at least one interface with a fixed IP address, that might be helpful. For a very dirty solution, abuse nmap, and include some actual authentication - whatever you're tunneling X over should do. (Oh, you are aware that running X over an unencrypted link is a VERY bad idea, right? Not saying you're doing so, but if you are...) Some alternatives exist; I'm not sure if a service like DynDNS.org accepts internal IP addresses (192.168.0.0/16 and the equivalent B and A classes), but that would solve some part of what you're trying to do. There are various, mostly not very robust, ways to do something similar on one's own. Joachim
Re: Combining boot floppies
On Wed, Jun 07, 2006 at 11:36:14PM -0700, Darrin Chandler wrote: On Thu, Jun 08, 2006 at 01:08:04AM -0500, Michael White wrote: Hi all, I'm attempting my first install of OpenBSD (version 3.9) on an HP Omnibook 800CT (Pentium 166, 80 MB RAM, 4.3 GB HD, 3COM 3CXEM556 Carbus Ethernet card), coming over from RH9.0. One peculiarity of the 800CTs is that the SCSI CDROM is not bootable, so I'm down to booting with floppies. I first attempted to boot from floppyC39.fs, since that's supposed to be the image for laptops. Well, it does recognize my Ethernet card, but seems to choke on the hard drive. After recognizing the Ethernet card, I see the following: -- wd0(wdc0:0:0): timeout type: ata c_bcount: 512 c_skip: 0 wd0(wdc0:0:0): timeout type: ata c_bcount: 512 c_skip: 0 WARNING: preposterous time in file system WARNING: file system time much less than clock time -- After that, the machine is locked up. So I boot from floppy39.fs instead. That had no problem with the hard drive. I was able to successfully partition the drive. But that image does not recognize my Ethernet card, so I'm unable to retrieve any images (didn't see an option for PPP). Even after formatting the hard drive under the floppy39.s floppy, the floppyC39.fs floppy chokes on the hard drive. Is there any way to combine the two capabilities? I.e. dropping to the shell, Do you know if either or both of those recognize your CD? If so, you can download the install sets and burn them on CD, and do your install from there w/out ethernet. If you've got access to a burner that's probably the simpler way to go. Or try out the Xircom and see if it works. Be aware, though, that (not all|many) older CD drives do not recognize (all|most|some|any) burned CDs. Joachim
Re: ip address ?
On 2006/06/08 22:16, Joachim Schipper wrote: is there a way to automatically retrieve the ip address of the windows machine and set up DISPLAY variable in the login script on openbsd machine? also, how to handle ip renewals? If this is for programs started from an ssh session to the OpenBSD box from the windows box, just use X forwarding.
which package to install?
Hey folks, i would like to install python in my 3.8 box, but when i cd'ed to /usr/ports/lang/python, i saw two directories, once for 2.3 another for 2.4. I would like to install on 2.4, but not both. I could not figure it out how to install only 2.4 the official way, since a make install the that directory would end up installing them both. Thanks a lot for your time and cooperation. Best regards.
like the faq 14.16.1, partition is not in my disklabel ... need help anyway
Hello, My ntfs amd comaq diag. partition is not in the disklabel. Unfortunately I don't know how to add correctly in the disklabel. I've read the faq 14.16.1 but it only shows a modification. Here is my fdisk output, which shows id 0 the ntfs partition: Disk: wd0 geometry: 12921/240/63 [195365520 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: idC H S -C H S [ start: size ] *0: 070 1 1 - 6800 239 63 [ 63: 102831057 ] HPFS/QNX/AUX 1: 12 12270 0 1 - 12920 239 63 [ 185522400: 9843120 ] Compaq Diag. 2: A6 6801 0 1 - 12269 239 63 [ 102831120:82691280 ] OpenBSD 3: 000 0 0 -0 0 0 [ 0: 0 ] unused Here is current my disklabel: 16 partitions: # sizeoffset fstype [fsize bsize cpg] a: 2097648 102831120 4.2BSD 2048 16384 328 # Cyl 102015 -104095 b: 1024128 104928768swap # Cyl 104096 -105111 c: 195371568 0 unused 0 0 # Cyl 0 -193820 d: 4194288 105952896 4.2BSD 2048 16384 328 # Cyl 105112 -109272 e: 1024128 110147184 4.2BSD 2048 16384 328 # Cyl 109273 -110288 f: 4194288 71312 4.2BSD 2048 16384 328 # Cyl 110289 -114449 g: 10486224 115365600 4.2BSD 2048 16384 328 # Cyl 114450 -124852 h: 4194288 125851824 4.2BSD 2048 16384 328 # Cyl 124853 -129013 i: 2097648 130046112 4.2BSD 2048 16384 328 # Cyl 129014 -131094 j: 3072384 132143760 4.2BSD 2048 16384 328 # Cyl 131095 -134142 k: 50306256 135216144 4.2BSD 2048 16384 328 # Cyl 134143 -184049 What do I have to add to disklabel to be able to access the ntfs and the compaq diag partition? For ntfs something like: l: 102831057 63 unknown # Cyl ??? I would really appreciate some help. Thank you very much ! Kind regards Didier
Re: Linphone installation
* Nikolaus Hiebaum wrote on Jun 8, 2006 [22:43, +0200] : My approach was to download the source and compile it myself. However, I am running into this error as I run ./configure --with-osip=/usr/local/include/osip2 I forgot to write that I am trying to install linphone-1.3.5. -- Beste Gr|_e / Best regards , Nikolaus Hiebaum
Linphone installation
Hello, I was looking for a SIP softphone working under OpenBSD and from I found it sounded as if Linphone would work. There is an unofficial port for it (cf. http://marc.theaimsgroup.com/?l=openbsd-portsm=113297483831524w=2) of an older version which doesn't build, however. My approach was to download the source and compile it myself. However, I am running into this error as I run ./configure --with-osip=/usr/local/include/osip2 checking for osip2/osip.h... no configure: error: Could not find osip2 headers ! I have osip2 here /usr/local/include/osip2 and have the libosip2-2.2.0p0 installed. Since I couldn't find any pointer what to do now, I came here to ask you, please, to get me jump started how to fix this. If you know of another SIP softphone working under OpenBSD, I am open to suggestions. -- Beste Gr|_e / Best regards , Nikolaus Hiebaum
Re: savecore segfaults in June 7 i386 -current snapshot (#870)
On Thu, Jun 08, 2006 at 02:32:39PM -0400, Josh Grosse wrote: I noticed it after just installing it as an upgrade. I was seeing a segmentation fault as /etc/rc was running, and traced it to savecore In response to my own post, Ray Lai very politely asked me to rebuild savecore with symbols, and run a back trace, to make the gdb output useful. Sometimes, we end-users don't add one to one and arrive at two. I have now done what I should have done before posting: Core was generated by `savecore'. Program terminated with signal 11, Segmentation fault. #0 0x1c004a50 in _kvm_kvatop (kd=0x80434000, va=3496836692, pa=0xcf7c3030) at /usr/src/lib/libkvm/kvm_i386.c:186 186 if ((PDE(vm, va) PG_V) == 0) (gdb) bt #0 0x1c004a50 in _kvm_kvatop (kd=0x80434000, va=3496836692, pa=0xcf7c3030) at /usr/src/lib/libkvm/kvm_i386.c:186 #1 0x1c0045fa in kvm_read (kd=0x80434000, kva=3496836692, buf=0xcf7c3064, len=4) at /usr/src/lib/libkvm/kvm.c:865 #2 0x1c000be0 in dump_exists () #3 0x1c000488 in main () (gdb)
Yes, MySQL sucks (was: Re: Lockups and Semop panics)
On Thu, Jun 08, 2006 at 10:19:31AM -0600, Bob Beck wrote: * Otto Moerbeek [EMAIL PROTECTED] [2006-06-08 10:00]: On Thu, 8 Jun 2006, Michael Erdely wrote: Hi, I've got a Dell Dimension XPS B866r desktop running as my web/mail server (recently upgraded to 3.9). Occasionally, after a seemingly random amount of time, the machine will do one of two things: it will either lockup/freeze where there are no messages on the console, but you cannot type, ping or access the box in any way (but the reset button) OR, since I have ddb.panic=0, it will reboot with the following message from my serial console: your system is running out of semaphore undo data structures. Try increasing at least kern.seminfo.semmnu. Other semaphore related sysctl's might need an increase as well. And mysqueal sucks... Your system may run out of other things as well given the bloatware you're running on it. anything else I have mysqeal on and any significant amount of users I usually have to crank up quite a few of the default limits, both in the kernel and in mysql - I usually build a GENERIC with maxusers=128 to start, and then find the 80 bazillion knobs in mysqeal to turn to tell it to use file descriptors. no really use more than 100 file descriptors. no really really use more than 100 file descriptors If you have a small number of users you may be fine. however seeing what you have there and 512 mb of ram, you may want a bit more if you have significant usage. Did I mention that mysqueal sucks? To be fully honest, OpenBSD sucks quite a bit too, in this area (massively threaded servers). There are good reasons for this suckage; but MySQL does not perform quite as well on OpenBSD as it does on almost every other system, so it's not entirely fair to only base one's opinion on that. Of course, I installed it first on Linux, and then found that it was basically a fastish table (not a RDBMS - use PostgreSQL if you want that). With a lot of crud. And, indeed, quite strange configuration options. And which required one to install something like 3.x to build the client part of 4.x, or something similarly inane (supposedly, everyone used binary packages). And which has had quite a few security problems of its own. Finally, it's the wrong solution in almost every case. It's not a database - again, use PostgreSQL. If you only want a table, you could look at SQLite - I never used it, but it's supposedly much, much easier and very fast. Of course, it's even less of an RDBMS than MySQL, but it still works for PHP scripts and it's not like MySQL is much good for anything else. Never mind that PHP scripts are, themselves, better replaced by a proper solution - like FastCGI - written in a proper language - i.e., almost anything but PHP: Perl, Python, Ruby[2], C[1]. Joachim [1] Some of these, especially C, would cost slightly more time, though, which is an issue in some cases. However, I'd assert that anyone not capable of writing in a real language shouldn't be writing internet-exposed programs in the first place. Additionally, I'm not allowed to do this. A good idea, probably - a random PHP script can be understood fairly easily and just plonked down on any commercial hoster; on the other hand, a heavily optimized C program is less likely to be understood... [2] It's been said that Ruby is very slow. I don't know anything about it, really - if this is the case, its place in the list of real languages might need reconsidering.
Re: which package to install?
On 6/8/06, Gustavo Rios [EMAIL PROTECTED] wrote: Hey folks, i would like to install python in my 3.8 box, but when i cd'ed to /usr/ports/lang/python, i saw two directories, once for 2.3 another for 2.4. I would like to install on 2.4, but not both. I could not figure it out how to install only 2.4 the official way, since a make install the that directory would end up installing them both. Thanks a lot for your time and cooperation. Best regards. cd /usr/ports/lang/python/2.4 make install clean-depends -- viq
Re: popular mail squid virus scanning technique for openbsd
On Mon, Jun 05, 2006 at 12:33:23PM +0530, Siju George wrote: Hi, One of my openBSD server is the Gateway/Firewall to internet. Our mal server(s) is on the Internet. What would be the best method to scan all mail traffic through the firewall? Currenly I am using plain NAT. It would be great if people can recommend which is the best software from packages/ports if I have to install any. I successfully use spamd in grey listing mode, with postfix, and that's all. Works great. Use extensive postfix dns checks and that kills all non-mailling list spam: smtpd_recipient_restrictions = reject_non_fqdn_hostname reject_invalid_hostname reject_non_fqdn_sender reject_non_fqdn_recipient reject_unknown_client reject_unknown_hostname reject_unknown_sender_domain reject_unknown_recipient_domain permit_mynetworks reject_unauth_destination check_recipient_access pcre:$config_directory/recipient_checks.pcre check_client_access btree:$config_directory/client_checks.map check_sender_access btree:$config_directory/sender_checks.map check_client_access pcre:$config_directory/client_checks.pcre check_helo_access btree:$config_directory/helo_checks.map check_helo_access pcre:$config_directory/helo_checks.pcre smtp_skip_5xx_greeting = no smtp_skip_4xx_greeting = no smtpd_helo_required = yes smtpd_recipient_limit = 50 smtpd_recipient_overshoot_limit = 5 smtpd_reject_unlisted_sender = yes smtpd_soft_error_limit = 3 smtpd_hard_error_limit = 6 biff = no delay_warning_time = 1d message_size_limit = 5242880 disable_vrfy_command = yes unknown_address_reject_code = 554 unknown_hostname_reject_code = 554 unknown_client_reject_code = 554 strict_rfc821_envelopes = yes strict_mime_encoding_domain = yes strict_8bitmime = yes default_database_type = btree header_size_limit = 5120 body_checks = pcre:$config_directory/body_checks.pcre header_checks = pcre:$config_directory/header_checks.pcre allow_percent_hack = no This lot is pretty heavy to the point that it does reject more legit mail than most people would tolerate, but hey, tough. The postfix docs and mailling list are really good. -- Craig Skinner | http://www.kepax.co.uk | [EMAIL PROTECTED]
Re: which package to install?
Go into the 2.4 dir and make install. --Bryan On 6/8/06, Gustavo Rios [EMAIL PROTECTED] wrote: Hey folks, i would like to install python in my 3.8 box, but when i cd'ed to /usr/ports/lang/python, i saw two directories, once for 2.3 another for 2.4. I would like to install on 2.4, but not both. I could not figure it out how to install only 2.4 the official way, since a make install the that directory would end up installing them both. Thanks a lot for your time and cooperation. Best regards.
Re: ip address ?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris 'Xenon' Hanson Sent: Thursday, June 08, 2006 4:28 PM To: misc Subject: Re: ip address ? Joachim Schipper wrote: my openbsd machine is conected to a windows machine. the windows machine has a wireless connection and gets its ip using dhcp. the openbsd machine gets its ip from the windows machine also by using dhcp on boot. is there a way to automatically retrieve the ip address of the windows machine and set up DISPLAY variable in the login script on openbsd machine? also, how to handle ip renewals? I wonder if you could misuse traceroute to do this somehow? Traceroute to a known outside host that you know will have to traverse the Windows gateway, with a low max-hops value, and then parse the output of traceroute to see what the n'th hop was. -- Chris 'Xenon' Hanson | Xenon @ 3D Nature | http://www.3DNature.com/ I set the wheels in motion, turn up all the machines, activate the programs, and run behind the scenes. I set the clouds in motion, turn up light and sound, activate the window, and watch the world go 'round. -Prime Mover, Rush. Or a twist I use when connecting locally to machines whose IP address I don't know-- assign a dummy address to the MAC (which never changes) then connect to that address. Not sure how practical a solution that would be for you, but then perhaps connecting to the FQDN of the windows box, as opposed to the IP address, and let DNS figure out what that address is... maybe that would work? Or am I missing something? Dan Farrell Applied Innovations [EMAIL PROTECTED]
[4.0 release] PR event
Hiya list, If you are like me, you are probably pondering how the milestone OpenBSD 4.0 release should be launched in the public eye. Due to the extraordinary volume of additional software that any point0 release brings to our valued customer base, I thought it high time to elect a specialist Chief Liaison Officer - Temporary, CLOT. Or, if as I suspect, that a global enterprise such as ours, would require a permanent spokesperson: Pubic Relations Articulation Technologist, PRAT. Now, I understand that the person specification for such a demanding role is very difficult to precisely define, but through supportive teamwork via conference calls, that this vision can be realised. The most important new software to be launched is the much exalted tFace. I'm sure there is no need to expand on the top secret, *and* first to market operational Telepathic Interface. (Search the hidden archives at http://i-no-thinky.so) The CLOT/PRAT must evangelise the first deliverable protocol: tMail, and emphasise the pain point reduction for enterprise customers. He/she must also be able to downplay the unfortunate incident when the FBI's crack agent Moldiberg intercepted Wacko Jacko's next lover requirements transmission. I have an outline of the 4.0 launch event and thought we could make pivotal use of a 40 theme: 40 scantily clad dancing girls. Each one of which shall be 40 years old and weigh some 40 stone (254kgs, if you don't use the British Imperial measuring system). We could hire a quality band to perform the classic song Life begins at 40. I thought the Spice Girls would dovetail quite well as each member has 40 men a year, I suspect due to their musical talents. - Theo may want to comment here. The Windows Vista Migratory Team may want to rent a bouncy castle for their target demographic. I am confident we can get all the environmentally friendly 40x40 girls on the castle in time with the music. I know what you are thinking, and I've had a risk analysis report commissioned on the resultant pulsating solar eclipse. I have assurances from the highest zoological consultants that the homosexual activities of the rare Tibetan Lama will return to acceptable levels in due course. Of more interest is that the resulting press coverage is sure to guarantee market dominance through many licence sales. To ensure the production is harmoniously co-ordinated amoungst stakeholders, we may need the services of a Team Heading Uber Geek, THUG. To effect the initial screening of volunteer CLOTs, PRATs and THUGs, please ensure any replies are on list and on topic. Remember to keep the noise down on this one as we need to focus on the long term financial success of our company. -- Craig Skinner | http://www.kepax.co.uk | [EMAIL PROTECTED]
Re: Linphone installation
On 2006/06/08 22:43, Nikolaus Hiebaum wrote: My approach was to download the source and compile it myself. However, I am running into this error as I run ./configure --with-osip=/usr/local/include/osip2 I've just been trying to get a softphone running too. You'll get a bit further using --with-osip=/usr/local/include but I haven't got the build to complete yet. If you know of another SIP softphone working under OpenBSD, I am open to suggestions. Me too! I thought minisip looked the most interesting, but it looks like a right pig to build here.
Re: Toshiba Tecra 8000 xorg.conf
On Thu, Jun 08, 2006 at 08:04:43PM +1200, Joshua Sandbrook wrote: | Yeah I saw that. But xorg does not just 'work by default' at 1024x768 for me. | It just runs at 800x600 and it seems thats all it can be bothered doing right | now... Ah ok, so that's what being grumpy means ;) You could try configuring X, saving a config file and editing that to give you 1024x768. If that doesn't get you any further, could you post your Xorg.0.log (maybe put it online somewhere) ? For future reference, please indicate what you've done to try to solve the problem before posting so you don't get referred to stuff you've tried already. Adding a dmesg (which you did, yaay ;) and (in case of X problems) X log files usually helps too. being grumpy doesn't indicate that X works perfectly at 800x600 where you'd want it to run at another resolution (at least, not to me .. but maybe I'm just being obnoxious). Cheers, Paul 'WEiRD' de Weerd | On Thursday 08 June 2006 19:59, you wrote: | Hi Joshua, | | On Thu, Jun 08, 2006 at 07:39:15PM +1200, Joshua Sandbrook wrote: | | Anyone out there running 3.9 on a Toshiba Tecra 8000 ? Im trying to get | | it to run at 1024x768 but its being grumpy. | | Check http://www.openbsd.org/i386-laptop.html - the machine is listed | there with several tips on how to get it working. Xorg did not require | any config for me (Just Works (tm)). | | Cheers, | | Paul 'WEiRD' de Weerd -- [++-]+++.+++[---].+++[+ +++-].++[-]+.--.[-] http://www.weirdnet.nl/ [demime 1.01d removed an attachment of type application/pgp-signature]
Re: Linphone installation
On Thu, Jun 08, 2006 at 10:43:55PM +0200, Nikolaus Hiebaum wrote: If you know of another SIP softphone working under OpenBSD, I am open to suggestions. This is the only VoIP phone that I have found to work well: http://www.shop.bt.com/invt/caw126 I used to work for an ISP that had its own VoIP system. We spent more time appologising to customers about poor call quality and dropped lines, not to mention trying to get new customers to replace the pissed off ones. Fine as a toy for home use. -- Craig Skinner | http://www.kepax.co.uk | [EMAIL PROTECTED]
Re: ip address ?
thanks all for help. i can change my whole setup. what i have now is the best that i could think of. basically the problem is that my laptop's wireless card is not supported yet and i run a VMWare virtual machine under my windows and openbsd runs from a physical disk partition on this virtual machine. so openbsd connects to windows through these virtual ethernet connections installed with the VMWare player. this way openbsd can use internet. but since VM window is too small, i want to run openbsd applications on windows desktop, so i am using cygwin X. this response suggests that i can use ssh to connect to openbsd. could you give me more pointers? is there a better setup that i can use? what a mess it is with all these mutiple OS running on the same machine... ;-) konstantin 2006/6/8, Stuart Henderson [EMAIL PROTECTED]: On 2006/06/08 22:16, Joachim Schipper wrote: is there a way to automatically retrieve the ip address of the windows machine and set up DISPLAY variable in the login script on openbsd machine? also, how to handle ip renewals? If this is for programs started from an ssh session to the OpenBSD box from the windows box, just use X forwarding.
Re: Yes, MySQL sucks (was: Re: Lockups and Semop panics)
On Thu, Jun 08, 2006 at 10:54:01PM +0200, Joachim Schipper wrote: Did I mention that mysqueal sucks? Finally, it's the wrong solution in almost every case. It's not a database - again, use PostgreSQL. Seconded. MySQL is only an SQLish interface to a file system, it is not a database. Fine for keeping random banner ads in, but that is it. -- Craig Skinner | http://www.kepax.co.uk | [EMAIL PROTECTED]
Re: OpenOffice.org 2.0 works on OpenBSD
On Thu, Jun 08, 2006 at 10:21:02AM +0200, Nikolaus Hiebaum wrote: On June 6, 2006 00:44, Tobias Ulmer wrote: Search the ports@ mailing list, there's a port for it. Thanks for the tip and also for the link with instructions. Yes, I was able to underatand it. :-) The title of the site chruetertee.ch, however, took me some more time. :- I found something http://marc.theaimsgroup.com/?l=openbsd-portsm=114289306831495w=2 on ports. ;-) I assume the proper way then would be to download this tgz-file, put it in /ports, and then build it the usual way? Yes, its a normal port, but it could use an update... --- Some thoughts about your sudo problem. Maybe you have java in your PATH and sudo changes something in the environment. If java is in your PATH, oo will not work! Tobias -- Beste Gr|_e / Best regards, Nikolaus Hiebaum
Re: new port: OpenBSD/aviion
Miod Vallat wrote: I would like to extend the hardware coverage of this port by supporting more models and more on-board devices. But as long as I do not have AViiON hardware and rely on other people for testing, development will not progress very fast, and will hit on our nerves. So if you have an unused AViiON machine in your Attic you have no real use for, or if you know someone who wants to get rid of his... please get in touch with me. This would definitely help this emerging port a lot! I saw just this: http://cgi.ebay.com/Data-General-system-board-for-Aviion-5500-005-039600_W0QQitemZ6888270148QQihZ013QQcategoryZ1244QQssPageNameZWDVWQQrdZ1QQcmdZViewItem Would it help if someone bought that board for you? Preferrably someone living in the USA... Cheers, Dries
Re: ip address ?
On 2006/06/08 14:35, akonsu wrote: i can change my whole setup. what i have now is the best that i could think of. basically the problem is that my laptop's wireless card is not supported yet If it's minipci, it's usually cheap and not difficult to swap it for a ralink-based card (but check you don't have anything silly to do first, like run tpwireless on an IBM). Or you probably have the option of using plug-in wireless (USB/PC-card), which might be slightly annoying, but is probably less annoying than having to run Windows like this... but since VM window is too small, i want to run openbsd applications on windows desktop, so i am using cygwin X. this response suggests that i can use ssh to connect to openbsd. could you Yes, you can still ssh to something running on the same physical box... give me more pointers? is there a better setup that i can use? For console apps just run sshd on the OpenBSD vm and connect to it with PuTTY (or OpenSSH compiled under Cygwin, but then you have crappy Windows terminal emulation to put up with, which I mostly try and avoid - if I'm running some cygwin/windows box I usually putty to localhost for CLI). If you have GUI apps to run too, turn on X11 forwarding (in the GUI for PuTTY, or in ~/.ssh/config for OpenSSH) and it will send it over a tunnel in the SSH session and set DISPLAY for you, so you type 'xterm' in the session and it appears on your local screen. Of course by connecting from Windows to OpenBSD, you are reliant on Windows for security of those sessions...
Re: ip address ?
On 6/9/06, akonsu [EMAIL PROTECTED] wrote: i run a VMWare virtual machine under my windows and openbsd runs from a physical disk partition on this virtual machine. so openbsd connects to windows through these virtual ethernet connections installed with the VMWare player. this way openbsd can use internet. I use NAT networking with VMPlayer and this makes my Windows host with multiple *bsd guests very simple to setup. Using NAT for VMWare networking creates a 192.168.214.0/24 network with the following features: Windows host machine: 192.168.214.1 Gateway: 192.168.214.2 DNS: 192.168.214.2 Virtual Machines: 192.168.214.3-254 (I use static IPs) I don't bother with DHCP on the VMs and use static IPs (and save them in PuTTY sessions). The VMs have no problems accessing the web over any wired or wireless network on the host. I do not use any services on my host machine from the VMs, but I'm certain setting DISPLAY=192.168.214.1:0 should allow you to run X apps. - Raja
setting ath txpower via ifconfig errors out
Trying to change txpower on atheros wireless cards does not set the power accordingly, just errors out. I submitted this mail to bugs@ but I cannot find it in the bug tracking system page, so I send it here also in case there was a problem. I don't have the skills to figure out anything by looking at the source code. Perhaps manipulation with txpower isn't supported at all in ath cards? This is the output of the ifconfig command. # ifconfig ath1 txpower 10 ifconfig: SIOCS80211TXPOWER: Invalid argument # ifconfig ath1 txpower 20 ifconfig: SIOCS80211TXPOWER: Invalid argument # ifconfig ath1 txpower 0 ifconfig: SIOCS80211TXPOWER: Invalid argument # ifconfig ath0 txpower 0 ifconfig: SIOCS80211TXPOWER: Invalid argument # ifconfig ath0 txpower 10 ifconfig: SIOCS80211TXPOWER: Invalid argument # ifconfig ath2 txpower 10 ifconfig: SIOCS80211TXPOWER: Invalid argument Obviously, the same error persists regardless the txpower argument value. # dmesg OpenBSD 3.9 (GENERIC) #617: Thu Mar 2 02:26:48 MST 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium II (GenuineIntel 686-class, 512KB L2 cache) 401 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR real mem = 66625536 (65064K) avail mem = 53170176 (51924K) using 838 buffers containing 3432448 bytes (3352K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(92) BIOS, date 03/04/99, BIOS32 rev. 0 @ 0xfbc00 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/0xc07c pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdef0/160 (8 entries) pcibios0: PCI Exclusive IRQs: 5 10 11 12 pcibios0: PCI Interrupt Router at 000:07:0 (Intel 82371SB ISA rev 0x00) pcibios0: PCI bus #2 is the last bus bios0: ROM list: 0xc/0x8000 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x03 ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Rage Pro rev 0x5c wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x02 pciide0 at pci0 dev 7 function 1 Intel 82371AB IDE rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: QUANTUM FIREBALL ST3.2A wd0: 16-sector PIO, LBA, 3079MB, 6306048 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 disabled (no drives) uhci0 at pci0 dev 7 function 2 Intel 82371AB USB rev 0x01: irq 10 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered piixpm0 at pci0 dev 7 function 3 Intel 82371AB Power rev 0x02: polling iic0 at piixpm0 xl0 at pci0 dev 14 function 0 3Com 3c905B 100Base-TX rev 0x30: irq 11, address 00:50:04:34:3b:2d exphy0 at xl0 phy 24: 3Com internal media interface ppb1 at pci0 dev 16 function 0 vendor Hint, unknown product 0x0021 rev 0x15 pci2 at ppb1 bus 2 ath0 at pci2 dev 8 function 0 Atheros AR5212 rev 0x01: irq 12 ath0: AR5213 5.6 phy 4.1 rf5111 1.7 rf2111 2.3, FCC2A*, address 00:0b:6b:34:95:a9 ath1 at pci2 dev 9 function 0 Atheros AR5212 rev 0x01: irq 5 ath1: AR5213 5.9 phy 4.3 rf5112 3.6, FCC2A*, address 00:0b:6b:4d:58:60 ath2 at pci2 dev 10 function 0 Atheros AR5212 rev 0x01: irq 10 ath2: AR5213 5.6 phy 4.1 rf5111 1.7 rf2111 2.3, FCC2A*, address 00:0b:6b:34:96:0c eap0 at pci0 dev 20 function 0 Ensoniq AudioPCI97 rev 0x06: irq 5 ac97: codec id 0x54524103 (TriTech Microelectronics TR28023) audio0 at eap0 midi0 at eap0: AudioPCI MIDI UART isa0 at pcib0 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 midi1 at pcppi0: PC speaker spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: 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 e74d netmask ff6d ttymask ffef pctr: 686-class user-level performance counters enabled mtrr: Pentium Pro MTRR support dkcsum: wd0 matches BIOS drive 0x80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 # ifconfig -a lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33224 groups: lo inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8 xl0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500 lladdr 00:50:04:34:3b:2d media: Ethernet autoselect (100baseTX full-duplex) status: active inet 10.2.29.1 netmask 0xffc0 broadcast 10.2.29.63 inet6 fe80::250:4ff:fe34:3b2d%xl0 prefixlen 64 scopeid 0x1 ath0: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr
Re: Linphone installation
On Thursday 08 June 2006 22:28, Stuart Henderson wrote: I've just been trying to get a softphone running too. You'll get a bit further using --with-osip=/usr/local/include but I haven't got the build to complete yet. It works with ossaudio(3), except audio. Me too! I thought minisip looked the most interesting, but it looks like a right pig to build here. They are all pigs, linphone might fly if it used audio(4).
Re: like the faq 14.16.1, partition is not in my disklabel ... need help anyway
On Thu, Jun 08, 2006 at 08:31:59PM +, Didier Wiroth wrote: Hello, My ntfs amd comaq diag. partition is not in the disklabel. Unfortunately I don't know how to add correctly in the disklabel. I've read the faq 14.16.1 but it only shows a modification. Here is my fdisk output, which shows id 0 the ntfs partition: Disk: wd0 geometry: 12921/240/63 [195365520 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: idC H S -C H S [ start: size ] *0: 070 1 1 - 6800 239 63 [ 63: 102831057 ] HPFS/QNX/AUX 1: 12 12270 0 1 - 12920 239 63 [ 185522400: 9843120 ] Compaq Diag. 2: A6 6801 0 1 - 12269 239 63 [ 102831120:82691280 ] OpenBSD 3: 000 0 0 -0 0 0 [ 0: 0 ] unused Here is current my disklabel: 16 partitions: # sizeoffset fstype [fsize bsize cpg] a: 2097648 102831120 4.2BSD 2048 16384 328 # Cyl 102015 -104095 b: 1024128 104928768swap # Cyl 104096 -105111 c: 195371568 0 unused 0 0 # Cyl 0 -193820 d: 4194288 105952896 4.2BSD 2048 16384 328 # Cyl 105112 -109272 e: 1024128 110147184 4.2BSD 2048 16384 328 # Cyl 109273 -110288 f: 4194288 71312 4.2BSD 2048 16384 328 # Cyl 110289 -114449 g: 10486224 115365600 4.2BSD 2048 16384 328 # Cyl 114450 -124852 h: 4194288 125851824 4.2BSD 2048 16384 328 # Cyl 124853 -129013 i: 2097648 130046112 4.2BSD 2048 16384 328 # Cyl 129014 -131094 j: 3072384 132143760 4.2BSD 2048 16384 328 # Cyl 131095 -134142 k: 50306256 135216144 4.2BSD 2048 16384 328 # Cyl 134143 -184049 What do I have to add to disklabel to be able to access the ntfs and the compaq diag partition? For ntfs something like: l: 102831057 63 unknown # Cyl ??? I would really appreciate some help. Thank you very much ! Some noteworthy points: 1. Looks like you ran out of space in the disklabel (or in the device namespace, or whatever): don't define this many disklabel slices if you want to see the other partitions (which are typically numbered from i). [I'm not 100% sure I'm correct here; please flame me, with the correct answer if possible, if this is not the case.] 2. NTFS is not supported in GENERIC. This usually means the implementation isn't really ready for prime time yet; you could build a custom kernel, if you know what you are doing and have read most, if not all, of FAQ 5.*. 3. I don't know what you want to do with the Compaq diag partition, but it might not be too useful. Joachim
Cryptography Accelerators
Hello. Given the recent post by Theo about the poor state of Hifn cooperation, I am curious to know how OpenBSD developers rate the other companies producing cryptography accelerators. The Cryptography page (http://www.openbsd.org/crypto.html) seems to be somewhat outdated, stating 'Hifn was initially a difficult company to deal with (threatening to sue us over our non-USA reverse engineering of their crypto unlock algorithm), but more recently they have been very helpful in providing boards and support'. Since this runs contrary to what Theo has said on the subject, I am wondering if the products from Broadcom or SafeNet are better supported. Or does it make more sense to shoot for a total solution like the VIA C3? Or are there other viable options? Thanks. Breeno
Re: Cryptography Accelerators
On 2006/06/08 17:13, Breen Ouellette wrote: total solution like the VIA C3? Not sure you can still get C3, Intel revoked VIA's license to use the bus. Think they worked-around it by combining cpu and chipset into the same chip for the 'corefusion' stuff and then there's the C7 with a new bus. Or are there other viable options? Faster general-purpose cpu?
Re: Stability of bge on 3.8 SMP
Hi - we just had the exact same experience on a SMP AMD64 box with OpenBSD 3.9. Anyone got any further on this? On 3/23/06, Daniel Hamlin [EMAIL PROTECTED] wrote: Daniel Hamlin wrote: I have a server acting as a router/firewall (dmesg below) that stopped passing traffic on one network card after being up for ~4 months. The card was unpingable, and I believe the console said watchdog timeout. Since the connection was down, I didn't take the time to write down the message, but instead rebooted the system. Two days later the same thing happened. I currently attribute it to bad hardware and have swapped out the server with another identical one. I'm not asking for the problem to be solved, since I know I don't have enough information, rather I want to know if I should use a different network card. Should I just use the single processor kernel? Or is there a work-around/configuration change that will guarantee me stability with this configuration? I found this while searching Google: http://www.armorlogic.com/openbsd_information_server_compatibility_list.html?action=detailid=dl580g3 which says OpenBSD 3.8 can boot on the machine, but seems to have various issues related to multiprocessor support and on-board Broadcom network interfaces. Thanks! Dan # cat hostname.bge0 inet www.xxx.yyy.zzz 255.255.255.252 NONE # cat hostname.bge1 inet aaa.bbb.ccc.ddd 255.255.255.248 NONE # ifconfig -a lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33192 groups: lo inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6 bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:e0:81:30:ba:30 media: Ethernet autoselect (100baseTX full-duplex) status: active inet www.xxx.yyy.zzz netmask 0xfffc broadcast snip inet6 snipbge0 prefixlen 64 scopeid 0x1 bge1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:e0:81:30:ba:31 groups: egress media: Ethernet autoselect (1000baseT full-duplex) status: active inet aaa.bbb.ccc.ddd netmask 0xfff8 broadcast snip inet6 snipbge1 prefixlen 64 scopeid 0x2 pflog0: flags=141UP,RUNNING,PROMISC mtu 33192 pfsync0: flags=0 mtu 1348 enc0: flags=0 mtu 1536 OpenBSD 3.8 (GENERIC.MP) #504: Sat Sep 10 16:02:38 MDT 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 4227395584 (4128316K) avail mem = 3632812032 (3547668K) using 22937 buffers containing 422948864 bytes (413036K) of memory mainbus0 (root) mainbus0: Intel MP Specification (Version 1.4) (TYAN S2881 ) cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Opteron(tm) Processor 248, 2191.74 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,LONG,3DNOW2,3DNOW cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: apic clock running at 199220473Hz cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Opteron(tm) Processor 248, 2191.43 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,LONG,3DNOW2,3DNOW cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative mpbios: bus 0 is type PCI mpbios: bus 1 is type PCI mpbios: bus 2 is type PCI mpbios: bus 3 is type PCI mpbios: bus 4 is type ISA ioapic0 at mainbus0 apid 2: pa 0x86cbde24, version 11, 24 pins ioapic1 at mainbus0 apid 3: pa 0x86cbdd24, version 11, 4 pins ioapic2 at mainbus0 apid 4: pa 0x86cbdc24, version 11, 4 pins pci0 at mainbus0 bus 0: configuration mode 1 ppb0 at pci0 dev 6 function 0 AMD 8111 PCI-PCI rev 0x07 pci1 at ppb0 bus 3 ohci0 at pci1 dev 0 function 0 AMD 8111 USB rev 0x0b: apic 2 int 19 (irq 10), version 1.0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: AMD OHCI root hub, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1 at pci1 dev 0 function 1 AMD 8111 USB rev 0x0b: apic 2 int 19 (irq 10), version 1.0, legacy support usb1 at ohci1: USB revision 1.0 uhub1 at usb1 uhub1: AMD OHCI root hub, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered vga1 at pci1 dev 6 function 0 ATI Rage XL rev 0x27 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) AMD AMD8111 LPC rev 0x05 at pci0 dev 7 function 0 not configured pciide0 at pci0 dev 7 function 1 AMD 8111 IDE rev 0x03: DMA, channel 0
Re: like the faq 14.16.1, partition is not in my disklabel ... need help anyway
Joachim Schipper wrote: On Thu, Jun 08, 2006 at 08:31:59PM +, Didier Wiroth wrote: Hello, My ntfs amd comaq diag. partition is not in the disklabel. Unfortunately I don't know how to add correctly in the disklabel. I've read the faq 14.16.1 but it only shows a modification. Here is my fdisk output, which shows id 0 the ntfs partition: Disk: wd0 geometry: 12921/240/63 [195365520 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: idC H S -C H S [ start: size ] *0: 070 1 1 - 6800 239 63 [ 63: 102831057 ] HPFS/QNX/AUX 1: 12 12270 0 1 - 12920 239 63 [ 185522400: 9843120 ] Compaq Diag. 2: A6 6801 0 1 - 12269 239 63 [ 102831120:82691280 ] OpenBSD 3: 000 0 0 -0 0 0 [ 0: 0 ] unused Here is current my disklabel: 16 partitions: # sizeoffset fstype [fsize bsize cpg] a: 2097648 102831120 4.2BSD 2048 16384 328 # Cyl 102015 -104095 b: 1024128 104928768swap # Cyl 104096 -105111 c: 195371568 0 unused 0 0 # Cyl 0 -193820 d: 4194288 105952896 4.2BSD 2048 16384 328 # Cyl 105112 -109272 e: 1024128 110147184 4.2BSD 2048 16384 328 # Cyl 109273 -110288 f: 4194288 71312 4.2BSD 2048 16384 328 # Cyl 110289 -114449 g: 10486224 115365600 4.2BSD 2048 16384 328 # Cyl 114450 -124852 h: 4194288 125851824 4.2BSD 2048 16384 328 # Cyl 124853 -129013 i: 2097648 130046112 4.2BSD 2048 16384 328 # Cyl 129014 -131094 j: 3072384 132143760 4.2BSD 2048 16384 328 # Cyl 131095 -134142 k: 50306256 135216144 4.2BSD 2048 16384 328 # Cyl 134143 -184049 What do I have to add to disklabel to be able to access the ntfs and the compaq diag partition? For ntfs something like: l: 102831057 63 unknown # Cyl ??? I would really appreciate some help. Thank you very much ! Some noteworthy points: 1. Looks like you ran out of space in the disklabel (or in the device namespace, or whatever): don't define this many disklabel slices if you want to see the other partitions (which are typically numbered from i). [I'm not 100% sure I'm correct here; please flame me, with the correct answer if possible, if this is not the case.] 16 partitions. That's a through p inclusive. (also referred to as 15 partitions (excluding c)) 2. NTFS is not supported in GENERIC. This usually means the implementation isn't really ready for prime time yet; you could build a custom kernel, if you know what you are doing and have read most, if not all, of FAQ 5.*. There are screweys, particularly on writitng. I think Windows gets burned occasionally. 3. I don't know what you want to do with the Compaq diag partition, but it might not be too useful. I think it's an msdos partition Called something different to keep Windows out of it. Flames invited if I guessed wrong. Joachim
bge0 - Watchdog Timeout
Hi! We recently moved from a Cisco based router to OpenBSD and have been wrapped. The only issue is that recently, every 2 days or so, the OBSD 3.9 router stops moving packets and has to be rebooted. The system is an dual AMD 64 with The console reports bge0: Watchdog timeout The console responsiveness is intermittent - I get 5 secons (ish) of input before it freezes for around 10 seconds. This repeats over and over. Top says their is only 1 process on the queue. ifconfig says all NICs are up and connected. I'm at a loss where to start looking. # ifconfig -a lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33192 groups: lo inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7 fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:e0:81:32:06:57 media: Ethernet autoselect (100baseTX full-duplex) status: active inet 10.1.1.17 netmask 0xff00 broadcast 10.255.255.255 inet6 fe80::2e0:81ff:fe32:657%fxp0 prefixlen 64 scopeid 0x1 bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:ex:8x:3x:0x:a4 groups: egress media: Ethernet autoselect (1000baseT full-duplex) status: active inet x.x.x.86 netmask 0xfffc broadcast x.x.x.87 inet6 xe80::xe0:x1ff:xe32:xa4%bge0 prefixlen 64 scopeid 0x2 bge1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:ex:8x:3x:0x:a5 media: Ethernet autoselect (1000baseT full-duplex) status: active inet y.y.y.254 netmask 0xff00 broadcast y.y.y.255 inet6 xe80::xe0:x1ff:xe32:xa5%bge1 prefixlen 64 scopeid 0x3
Re: OpenBSD 3.9 on a Sun Fire x4100
I have not put -current on this system. Would making this machine public and available to developers be of any use? I would also include ilom access. Thoughts? Nick
Re: OpenBSD 3.9 on a Sun Fire x4100
Er, rather I have put current on the x4100. Hmmm... I must still be brain dead from work... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Shank Sent: Thursday, June 08, 2006 6:54 PM To: misc@openbsd.org Subject: Re: OpenBSD 3.9 on a Sun Fire x4100 I have not put -current on this system. Would making this machine public and available to developers be of any use? I would also include ilom access. Thoughts? Nick
Re: squid and pf and dansguardian
Allen Theobald wrote: Greetings, I get transparent proxying with squid and pf. I get dansguardian and pf. What I don't get is squid, dansguardian, and pf. pf.conf fragment: int_if=gem0 ext_if=kue0 # redirect to squid rdr on $int_if inet proto tcp from any to any \ port www - 127.0.0.1 port 3128 ## Allow the redirected connections to pass. pass in on $int_if inet proto tcp from any to 127.0.0.1 \ port 3128 keep state ## Also, the proxy must be able to establish outgoing ## connections to external web servers. pass out on $ext_if inet proto tcp from any to any \ port www keep state pass quick on $int_if But now I want to put dansguardian on. It listens on 8080, uses proxy port 3128. How do these rules change? I think I change 3128 to 8080 in the above rules. But what happens to 3128? Do I still need a 'pass in' rule for 3128? Thanks and take care, Short answer: yes, change 3128 to 8080. Nothing for 3128 if you're not blocking connections to lo0. Pass in if you restrict lo0. Long(er) answer: I found it helpful if I wanted to route around Dans to use the 'internal_pass' table and there were certain sites that just didn't like squid so I use the oksites table. But those are optional. If you'll just need to watch your rules to the lo0 interface (skip or pass quick). The tun0 interface is for OpenVPN connections as I like the adzapping that adzapper performs - http://adzapper.sourceforge.net/) # Dan's Guardian rdr on $int_if proto tcp from ! internal_pass to ! oksites port 80 - 127.0.0.1 port 8080 rdr on tun0 proto tcp from ! internal_pass to ! oksites port 80 - 127.0.0.1 port 8080 -Steve S.
Re: Combining boot floppies
When I saw your note, I figured Something Ain't Right here. I wasn't the only one. Theo noticed. I'm on a mission from Theo. Michael White wrote: Hi all, I'm attempting my first install of OpenBSD (version 3.9) on an HP Omnibook 800CT (Pentium 166, 80 MB RAM, 4.3 GB HD, 3COM 3CXEM556 Carbus Ethernet card), coming over from RH9.0. One peculiarity of the 800CTs is that the SCSI CDROM is not bootable, so I'm down to booting with floppies. whoa. SCSI. (he's right on this, btw... Symbios Logic 53C810, if the page I'm reading is to be believed.) I first attempted to boot from floppyC39.fs, since that's supposed to be the image for laptops. Well, it does recognize my Ethernet card, but seems to choke on the hard drive. After recognizing the Ethernet card, I see the following: -- wd0(wdc0:0:0): timeout type: ata c_bcount: 512 c_skip: 0 wd0(wdc0:0:0): timeout type: ata c_bcount: 512 c_skip: 0 WARNING: preposterous time in file system WARNING: file system time much less than clock time -- After that, the machine is locked up. So I boot from floppy39.fs instead. That had no problem with the hard drive. I was able to successfully partition the drive. But that image does not recognize my Ethernet card, so I'm unable to retrieve any images (didn't see an option for PPP). The fact that floppy38.fs didn't see your network adapter is not unexpected, of course. The fact that you had disk issues on floppyC39.fs is unexpected. The fact that they go away on floppy39.fs is all the way to Just Plain Wrong. Even after formatting the hard drive under the floppy39.s floppy, the floppyC39.fs floppy chokes on the hard drive. Is there any way to combine the two capabilities? Not the way you are thinking. But I have some ideas... The only reason I'm asking is because of a comment in the FAQ (section 4.3): Yes, there may be situations where one install disk is required to support your SCSI adapter and another disk is required to support your network adapter. Fortunately, this is a rare event, and can usually be worked around. Worked around means combining hardware and install options in such a way that it is made to work...not fiddling with the boot media. Usually. I may have access to a Xircom network card - is that supported by the floppy39.s floppy? No, the Xircom driver is not in floppy39.fs... At least, not the Xircom driver I'm thinking of...they may have more than one. :) Anyway...I'm sitting here looking at the config files that make up floppy39.fs and floppy39C.fs (RAMDISK and RAMDISKC, for those who want to follow along), and their diffs. First, I see that the SCSI controller that is probably in your laptop is supported by the siop(4) driver, which is on floppy39.fs. SO..the suggestion of dropping the file set on a CD and installing from that is probably workable. But that's not what Theo sent me to ask. We are interested in the reason for the problem more than a quick-and-dirty work-around. Besides, it is entirely possible the problem will be back with us when the full kernel loads. So..back to the diff... It sounds like there is something hurting the disk support on this thing. So...we can try turning some drivers off, and see if that gets floppyC booting properly. You do this using User Kernel Configuration, a.k.a., UKC: http://www.openbsd.org/faq/faq5.html#BootConfig Here is a list of things to try disabling (disable bla at the ukc prompt): uhci* ohci* wdc* Those you can do all at once. h... those were the only easy (a.k.a., mostly harmless) ones. Well...if those don't improve things, let's try breaking some things: pciide* (your disk performance now sucks) pcic* (that might kill your PCcard slot) cbb* (if the above didn't, this will) Do these one-at-a-time. I'm not really sure what is going on... You may have an issue with the PCcard/Cardbus support...which means your NIC may show up in the dmesg, but it may be just as non-functional as it is with floppy39.fs. Disabling pciide will cause a huge performance hit, but slow beats not working at all. Might be interesting to see what happens if you boot without the NIC installed in the machine. yeah, useless for your problem, but interesting for troubleshooting. I'd love to see is a serial console capture of the output of the boot on this thing, from both the floppy39 and floppyC39 disks...but if you aren't fluent in serial, hooking one up for your first OpenBSD install might be a lot to ask for. Ah, heck, if I don't ask, I won't get, right? :) http://www.openbsd.org/faq/faq4.html#getdmesg You can probably at least get the dmesg from floppy39.fs to a floppy disk using the process there, but if you can get both by using a serial cable, all the better... Nick.
Re: ipv6 in openbsd 3.9
On Thursday 08 June 2006 23:03, Jeroen Massar wrote: I guess you missed http://www.sixxs.net/signup/create/ Oops, yeah I totally missed that one. Thanks. Of course, if you are in APNIC area it is much wiser to use a broker from that area, see http://www.sixxs.net/tools/aiccu/brokers/ for a large list of them which should encompass all. Unfortunately there are few, if any, actually working tunnel brokers in this area that I can use. IIJ's is only for IIj customers, SingNet's isnt working (you can get an account but there are never any tunnels available), MANIS is dead, myTBS is only for Malaysia, CERNET is dead and this leaves me with either AArnet or ascc. AArnet has a higher latency than btexact and I think ascc is not sufficient (I remember trying it but still opting for btexact for reasons i have now forgot). You might want to remove all those that arent working. --- Lars Hansson
Re: bge0 - Watchdog Timeout
MP = yes # dmesg OpenBSD 3.9-current (GENERIC.MP) #770: Sun Apr 9 01:47:42 MDT 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 1073274880 (1048120K) avail mem = 908345344 (887056K) using 22937 buffers containing 107536384 bytes (105016K) of memory mainbus0 (root) ipmi0 at mainbus0bmc_io_wait_cold fails : *v=ff m=02 b=00 write_cmd kcs_sendmsg: 18 01 : unable to send get device id command mainbus0: Intel MP Specification (Version 1.1) (TYAN S2882 ) cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Opteron(tm) Processor 250, 2388.95 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Opteron(tm) Processor 250, 2388.69 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative mpbios: bus 0 is type PCI mpbios: bus 1 is type PCI mpbios: bus 2 is type PCI mpbios: bus 3 is type PCI mpbios: bus 4 is type ISA ioapic0 at mainbus0 apid 2 pa 0xfec0, version 11, 24 pins ioapic1 at mainbus0 apid 3 pa 0xfebff000, version 11, 4 pins ioapic2 at mainbus0 apid 4 pa 0xfebfe000, version 11, 4 pins pci0 at mainbus0 bus 0: configuration mode 1 ppb0 at pci0 dev 6 function 0 AMD 8111 PCI-PCI rev 0x07 pci1 at ppb0 bus 3 ohci0 at pci1 dev 0 function 0 AMD 8111 USB rev 0x0b: apic 2 int 19 (irq 9), version 1.0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: AMD OHCI root hub, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1 at pci1 dev 0 function 1 AMD 8111 USB rev 0x0b: apic 2 int 19 (irq 9), version 1.0, legacy support usb1 at ohci1: USB revision 1.0 uhub1 at usb1 uhub1: AMD OHCI root hub, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered pciide0 at pci1 dev 4 function 0 CMD Technology AAR-1210SA rev 0x02: DMA pciide0: using apic 2 int 16 (irq 10) for native-PCI interrupt pciide0: port 1: device present, speed: 1.5Gb/s wd0 at pciide0 channel 1 drive 0: WDC WD1200JS-00MHB0 wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors wd0(pciide0:1:0): using BIOS timings, Ultra-DMA mode 6 pciide1 at pci1 dev 5 function 0 CMD Technology SiI3114 SATA rev 0x02: DMA pciide1: using apic 2 int 19 (irq 9) for native-PCI interrupt vga1 at pci1 dev 6 function 0 ATI Rage XL rev 0x27 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) fxp0 at pci1 dev 8 function 0 Intel 8255x rev 0x10, i82551: apic 2 int 18 (irq 11), address 00:e0:81:32:06:57 inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4 pcib0 at pci0 dev 7 function 0 AMD AMD8111 LPC rev 0x05 pciide2 at pci0 dev 7 function 1 AMD 8111 IDE rev 0x03: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility pciide2: channel 0 disabled (no drives) atapiscsi0 at pciide2 channel 1 drive 1 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: LITE-ON, COMBO SOHC-5236V, R$07 SCSI0 5/cdrom removable cd0(pciide2:1:1): using PIO mode 4, Ultra-DMA mode 3 amdiic0 at pci0 dev 7 function 2 AMD 8111 SMBus rev 0x02: SCI iic0 at amdiic0 amdpm0 at pci0 dev 7 function 3 AMD 8111 Power rev 0x05: rng active iic1 at amdpm0 lm1 at iic1 addr 0x28: W83627HF adt0 at iic1 addr 0x2e: adm1027 (ADT7460) rev 0x60 ppb1 at pci0 dev 10 function 0 AMD 8131 PCIX rev 0x12 pci2 at ppb1 bus 2 bge0 at pci2 dev 9 function 0 Broadcom BCM5704C rev 0x03, BCM5704 A3 (0x2003): apic 3 int 0 (irq 10), address 00:e0:81:32:07:a4 brgphy0 at bge0 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0 bge1 at pci2 dev 9 function 1 Broadcom BCM5704C rev 0x03, BCM5704 A3 (0x2003): apic 3 int 1 (irq 5), address 00:e0:81:32:07:a5 brgphy1 at bge1 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0 aapic0 at pci0 dev 10 function 1 AMD 8131 PCIX IOAPIC rev 0x01 ppb2 at pci0 dev 11 function 0 AMD 8131 PCIX rev 0x12 pci3 at ppb2 bus 1 aapic1 at pci0 dev 11 function 1 AMD 8131 PCIX IOAPIC rev 0x01 pchb0 at pci0 dev 24 function 0 AMD AMD64 HyperTransport rev 0x00 pchb1 at pci0 dev 24 function 1 AMD AMD64 Address Map rev 0x00 pchb2 at pci0 dev 24 function 2 AMD AMD64 DRAM Cfg rev 0x00 pchb3 at pci0 dev 24 function 3 AMD AMD64 Misc Cfg rev 0x00 pchb4 at pci0 dev 25 function 0 AMD AMD64 HyperTransport rev 0x00 pchb5 at pci0 dev 25 function 1 AMD AMD64 Address Map rev 0x00 pchb6 at pci0 dev 25 function 2 AMD AMD64 DRAM Cfg
Re: ipv6 in openbsd 3.9
FYI: CHTTL is also dead. --- Lars Hansson