Re: ITIMER_REAL incorrect for process started _after_ a date change
Stefan Krah <[EMAIL PROTECTED]> writes: > Otto Moerbeek <[EMAIL PROTECTED]> wrote: > > On Tue, 9 Jan 2007, Stefan Krah wrote: > > > > > Hello, > > > > > > it seems that the interval timer is incorrect for a process that is > > > started _after_ a sudden date change. Could someone reproduce this > > > before I report it as a bug? System is OpenBSD 4.0-stable, i386. > > > > You already reported it. This is a bug. Try this diff from art@ > > Tested it with several kinds of date changes and things work > as they should. Thanks for the quick fix! Committed. Thanks for the report and test. //art > > > Stefan > > > > > > -Otto > > > > Index: kern_time.c > > === > > RCS file: /cvs/src/sys/kern/kern_time.c,v > > retrieving revision 1.60 > > diff -u -r1.60 kern_time.c > > --- kern_time.c 30 Oct 2006 20:19:33 - 1.60 > > +++ kern_time.c 9 Jan 2007 16:42:30 - > > @@ -550,7 +550,7 @@ > > if (SCARG(uap, which) == ITIMER_REAL) { > > struct timeval now; > > > > - getmicrotime(&now); > > + getmicrouptime(&now); > > /* > > * Convert from absolute to relative time in .it_value > > * part of real time timer. If time for real time timer > > > > > > > > > > > Here are the steps (program below): > > > > > > > > > # ./timertest > > > > > > 0 0 600 0 > > > 0 0 598 99 > > > 0 0 597 98 > > > 0 0 596 97 > > > 0 0 595 96 > > > ^C > > > # date > > > Tue Jan 9 15:18:23 CET 2007 > > > # date 1522 > > > Tue Jan 9 15:22:00 CET 2007 > > > # > > > # > > > # ./timertest > > > 0 0 389 61 > > > 0 0 388 60 > > > 0 0 387 59 > > > 0 0 386 58 > > > > > > > > > timertest.c > > > === > > > #include > > > > > > #include > > > #include > > > #include > > > > > > > > > int main(void) > > > { > > > > > > struct itimerval itimer = {{0, 0}, {600, 0}}; > > > > > > > > > if (setitimer(ITIMER_REAL, &itimer, (struct itimerval *)NULL)) { > > > puts("setting itimer failed\n"); > > > exit(1); > > > } > > > > > > while (1) { > > > getitimer(ITIMER_REAL, &itimer); > > > printf( "%ld %ld %ld %ld\n", itimer.it_interval.tv_sec, > > > itimer.it_interval.tv_usec, > > > itimer.it_value.tv_sec, > > > itimer.it_value.tv_usec ); > > > sleep(1); > > > } > > > > > > return 0; > > > } > > > === > > > > > > > > > Stefan Krah
pf rules order
Hello misc. I want to block traffic from 192.168.9.8 to 192.168.1.0/24 excluding 192.168.1.6 Is there any difference between: block in all pass in on xl1 from 192.168.9.8 to !192.168.1.0/24 modulate state pass in on xl1 from 192.168.9.8 to 192.168.1.6 modulate state and block in all pass in on xl1 from 192.168.9.8 to 192.168.1.6 modulate state pass in on xl1 from 192.168.9.8 to !192.168.1.0/24 modulate state Thanks in advance, -- raff
Re: pf rules order
On Wed, Jan 10, 2007 at 10:05:11AM +0100, raff wrote: > Hello misc. > > I want to block traffic from 192.168.9.8 to 192.168.1.0/24 > excluding 192.168.1.6 > Is there any difference between: > > block in all > pass in on xl1 from 192.168.9.8 to !192.168.1.0/24 modulate state > pass in on xl1 from 192.168.9.8 to 192.168.1.6 modulate state > > and > > block in all > pass in on xl1 from 192.168.9.8 to 192.168.1.6 modulate state > pass in on xl1 from 192.168.9.8 to !192.168.1.0/24 modulate state Yes, pf rules are evaluated from start to end, and the *last* match determines what happens. (There are some exceptions, like nat, where the *first* match determines this...) Therefore, in your seond example the second rule doesn't do anything. Joachim
Re: pf rules order
raff schrieb: > I want to block traffic from 192.168.9.8 to 192.168.1.0/24 > excluding 192.168.1.6 > Is there any difference between: > > block in all > pass in on xl1 from 192.168.9.8 to !192.168.1.0/24 modulate state > pass in on xl1 from 192.168.9.8 to 192.168.1.6 modulate state > > and > > block in all > pass in on xl1 from 192.168.9.8 to 192.168.1.6 modulate state > pass in on xl1 from 192.168.9.8 to !192.168.1.0/24 modulate state > > Thanks in advance, > Last matching rule wins... so the first would work. But how about using a table like this? table const { !192.168.1.0/24 192.168.1.6 } pass in on xl1 from 192.168.9.8 to modulate state - Michael
route
Hello, Just wondering, if there is a way to set a route priority manually? Is there plans to implement it? It would be a great feature, after all. Thank you. -- With best regards, Gregory Edigarov
Re: pf rules order
* Joachim Schipper <[EMAIL PROTECTED]> [2007-01-10 12:12]: > On Wed, Jan 10, 2007 at 10:05:11AM +0100, raff wrote: > > Hello misc. > > > > I want to block traffic from 192.168.9.8 to 192.168.1.0/24 > > excluding 192.168.1.6 > > Is there any difference between: > > > > block in all > > pass in on xl1 from 192.168.9.8 to !192.168.1.0/24 modulate state > > pass in on xl1 from 192.168.9.8 to 192.168.1.6 modulate state > > > > and > > > > block in all > > pass in on xl1 from 192.168.9.8 to 192.168.1.6 modulate state > > pass in on xl1 from 192.168.9.8 to !192.168.1.0/24 modulate state > > Yes, pf rules are evaluated from start to end, and the *last* match > determines what happens. (There are some exceptions, like nat, where the > *first* match determines this...) > > Therefore, in your seond example the second rule doesn't do anything. 2 wrong answers... both his examples are right and do the same thing. pass in on xl1 from 192.168.9.8 to 192.168.1.6 modulate state matches packets from 192.168.9.8 to 192.168.1.6 and passes them. good. pass in on xl1 from 192.168.9.8 to !192.168.1.0/24 passes packets from 192.168.9.8 to anywhere _except_ 192.168.1/24. there is no overlap AT ALL between those rules. where one matches, the other never will. so order doesn't make a difference here. -- Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED] BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting - Hamburg & Amsterdam
Live USB Stick
I would like to install OpenBSD on my 1GB Kingston USB stick. Does OpenBSD supports well USB sticks? Does anybody tried to do such a setup? any help welcome thanks, Dominik
Re: pf rules order
On Wed, Jan 10, 2007 at 01:10:32PM +0100, Henning Brauer wrote: > * Joachim Schipper <[EMAIL PROTECTED]> [2007-01-10 12:12]: > > On Wed, Jan 10, 2007 at 10:05:11AM +0100, raff wrote: > > > Hello misc. > > > > > > I want to block traffic from 192.168.9.8 to 192.168.1.0/24 > > > excluding 192.168.1.6 > > > Is there any difference between: > > > > > > block in all > > > pass in on xl1 from 192.168.9.8 to !192.168.1.0/24 modulate state > > > pass in on xl1 from 192.168.9.8 to 192.168.1.6 modulate state > > > > > > and > > > > > > block in all > > > pass in on xl1 from 192.168.9.8 to 192.168.1.6 modulate state > > > pass in on xl1 from 192.168.9.8 to !192.168.1.0/24 modulate state > > > > Yes, pf rules are evaluated from start to end, and the *last* match > > determines what happens. (There are some exceptions, like nat, where the > > *first* match determines this...) > > > > Therefore, in your seond example the second rule doesn't do anything. > > wrong answer (...) there is no overlap AT ALL between those rules. > where one matches, the other never will. so order doesn't make a > difference here. Woopsie, missed that !. Sorry, and thanks to Henning for correcting me! Joachim
Re: pf rules order
Thanks for all replies. -- raff
Re: Live USB Stick
On Wed, Jan 10, 2007 at 02:54:35PM +0200, Dominik Zalewski wrote: > I would like to install OpenBSD on my 1GB Kingston USB stick. Does OpenBSD > supports well USB sticks? Does anybody tried to do such a setup? This has been tried before, and aside from maybe getting a little tricky with the bootloader there is nothing special about it. Just don't try to install KDE. ;-) Joachim
Re: OT Re: 'database filesystems'
On Wed, Jan 10, 2007 at 09:21:45AM +0900, Mathieu Sauve-Frankel wrote: > Could you guys please take this completely useless discussion off-list ? > It has absolutely zero value to anyone running or developing OpenBSD. Well, maybe there is something useful that can be salvaged :-) I think the issue here is the use of the word "database". Let's drop that and look at the following problems: (1) Keeping a second (remote) filesystem in sync with a first That is, I make changes on disk1, and I want a remote copy on disk2 to remain synchronised. I want this to happen in as near-real-time as possible, but I don't want to lose local functionality if connectivity to the machine hosting disk2 is unavailable for a while. Solutions I know of in other environments: - NetApp with filesystem snapshots and 'snap mirror'. Basically you snapshot the filesystem, and copy the snapshot as a baseline. Then you take another snapshot, and send the diffs between the first and the second as updates to the remote site. Rinse and repeat. (A similar solution might use a journalling filesystem and copy the logs across to replicate changes, ideally coalescing the logs so that multiple updates to the same block only take a single entry) - FreeBSD geom with ggated/ggatec and gmirror, which is basically software RAID across a network. However this only really works in a LAN environment; whilst the master can continue to work if the slave is not reachable, when the slave comes back up I believe a full resync will be required. Not good for a 750GB drive :-( - iSCSI drives with iSCSI initiator and software RAID. Suffers the same problems as above. So are there any solutions for this in OpenBSD, either now or in the pipeline? Note that in this example, the remote disk image *cannot* be mounted, not even read-only, because any server which mounted the image would find blocks changing underneath it without any notification. So it only serves as a cold filesystem backup, although that in itself is valuable (IMO). (2) Further to the above: some form of shared filesystem where the remote copy can be safely mounted and used read-only (3) Further to the above: some form of shared filesystem where the remote copy can be mounted read-write and changes propagate both ways. This can land you into problems when conflicting off-line updates are made by both sides. AFS and Coda are the only things I know of of which fall into those categories, and I don't have any experience of using either. I do note the following comment in /usr/src/usr.sbin/afs/src/README | 6. What do I need to run arla? | | If you have one of the systems listed above you will be able to mount | afs as a file system (and probably to panic your kernel as well). which doesn't instill much confidence. But it seems to me that something like this is perhaps what the OP is looking for: not a 'database' as such (possibly implying SQL and/or ACID transactions), but filesystems with versioning and replication. These can be transparent to applications, which continue to open(), read() and write() files as usual(*). And personally I'd find it useful to hear about what options are available in OpenBSD for this. Regards, Brian. (*) If an application wants to get hold of an older version of a file, it can find the snapshot mounted read-only under a different subdirectory - at least, this is how Netapp deals with it. However this model does assume that the entire filesystem is snapshotted at particular times, and doesn't give you version control at the file level. In any case, databases don't give you this option either; that is, there's no SQL statement to say "show me the value that was in this column 6 hours ago"
Re: OT Re: 'database filesystems'
On Wed, Jan 10, 2007 at 02:47:16PM +, Brian Candler wrote: > On Wed, Jan 10, 2007 at 09:21:45AM +0900, Mathieu Sauve-Frankel wrote: > > Could you guys please take this completely useless discussion off-list ? > > It has absolutely zero value to anyone running or developing OpenBSD. > > Well, maybe there is something useful that can be salvaged :-) unless there's a diff included, no. -p.
openbsd3.9 i386 generic kernel crash
Hello, I had strange crash twice in 30 minutes today on a server running OpenBSD 3.9 stable with generic kernel. The machine rebooted inmediately, and i am not locally on the datacenter in order to run a trace or ps, but i've seen this unusual lines in the messages log: Jan 10 11:17:03 corsair savecore: reboot after panic: trap type 6, code=0, pc=d0020f65 Jan 10 11:17:03 corsair savecore: /var/crash/bounds: No such file or directory Jan 10 11:17:03 corsair savecore: writing core to /var/crash/bsd.0.core Jan 10 11:17:30 corsair savecore: writing kernel to /var/crash/bsd.0 I have no clue on where too look at. Any ideas? Full dmesg now: OpenBSD 3.9-stable (GENERIC) #3: Sun May 7 16:52:26 ART 2006 [EMAIL PROTECTED]:/u/system/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz ("GenuineIntel" 686-class) 3 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,EST,CNXT-ID cpu0: Enhanced SpeedStep 1500 MHz (1420 mV): unknown EST cpu, no changes possible real mem = 1064079360 (1039140K) avail mem = 964218880 (941620K) using 4278 buffers containing 53305344 bytes (52056K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(00) BIOS, date 04/29/05 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 30102 dobusy 0 doidle 1 pcibios at bios0 function 0x1a not configured bios0: ROM list: 0xc/0xaa00! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82915G/P/GV Host" rev 0x04 ppb0 at pci0 dev 1 function 0 "Intel 82915G/P/GV PCIE" rev 0x04 pci1 at ppb0 bus 1 vga1 at pci0 dev 2 function 0 "Intel 82915G/P/GV Video" rev 0x04: aperture at 0xff48, size 0x1000 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ppb1 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x03 pci2 at ppb1 bus 5 ppb2 at pci0 dev 28 function 1 "Intel 82801FB PCIE" rev 0x03 pci3 at ppb2 bus 4 ppb3 at pci0 dev 28 function 2 "Intel 82801FB PCIE" rev 0x03 pci4 at ppb3 bus 3 ppb4 at pci0 dev 28 function 3 "Intel 82801FB PCIE" rev 0x03 pci5 at ppb4 bus 2 uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x03: irq 5 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 uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x03: irq 10 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x03: irq 9 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x03: irq 11 usb3 at uhci3: USB revision 1.0 uhub3 at usb3 uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ppb5 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xd3 pci6 at ppb5 bus 6 fxp0 at pci6 dev 8 function 0 "Intel 82801FB LAN" rev 0x01, i82562: irq 12, address 00:16:76:23:ee:6c inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0 ichpcib0 at pci0 dev 31 function 0 "Intel 82801FB LPC" rev 0x03: PM disabled pciide0 at pci0 dev 31 function 1 "Intel 82801FB IDE" rev 0x03: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility pciide0: channel 0 disabled (no drives) pciide0: channel 1 disabled (no drives) pciide1 at pci0 dev 31 function 2 "Intel 82801FB SATA" rev 0x03: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide1: using irq 10 for native-PCI interrupt wd0 at pciide1 channel 0 drive 0: wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 wd1 at pciide1 channel 1 drive 0: wd1: 16-sector PIO, LBA48, 76319MB, 156301488 sectors wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5 ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x03: irq 10 iic0 at ichiic0 adt0 at iic0 addr 0x2e: emc6d10x (ADT7460) rev 68 isa0 at ichpcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: 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 biomask ef6d netmask ff6d ttymask ffef pctr: user-level cycle counter enabled dkcsum: wd0 matches BIOS drive 0x80 dkcsum: wd1 matches BIOS drive 0x81 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 WARNING: / was not properly unmounted Regards, Marcos Laufer
Re: OT Re: 'database filesystems'
Brian Candler wrote: Well, maybe there is something useful that can be salvaged :-) maybe, maybe not. (3) Further to the above: some form of shared filesystem where the remote copy can be mounted read-write and changes propagate both ways. This can land you into problems when conflicting off-line updates are made by both sides. conflict resolution is the fundamental problem in any sort of async multi-master replication system. if you can't find an answer for conflict resolution (and it's a damned hard problem), you don't have an answer for multi-master. richard
Lenovo Thinkpad T43p won't do external VGA output properly
Hi, I'm running OpenBSD 3.9-stable on a Lenovo (formerly IBM) Thinkpad T43p. X (X.org 6.9.0) works fine either (a) without any /etc/X11/xorg.conf, or (b) using the /etc/X11/xorg.conf from http://www.enting.se/T43/xorg.conf (which is linked from the T43 entry in http://www.openbsd.org/i386-laptop.html). All the behavior I describe below is identical for (a) and (b). The built-in LCD display works fine at 1600x1200. My problem is that I can't get external video output properly. There seem to be two cases (neither one of which fits my definition of "properly"): * If, in the BIOS setup, I set "Boot Display Device" to "LCD", then I can get 1600x1200 VGA output when booting and before I start X, but I get no external video output at all once I start X. * If, in the BIOS setup, I set "Boot Display Device" to "VGA+LCD" or "VGA+DVI+LCD", then I get no external video output when booting and before I start X, but when I start X I get only 640x480 resolution (and matching external video output). Does anyone know how to get a T43p to simultaneously * run X, * use a decent screen resolution (minimum 1024x768, prefer 1280x1024 and/or 1600x1200) * send this video to the external VGA connector so I can display things on a video projector Here are my dmesg and the /etc/X11/xorg.conf from (b) above: === begin dmesg === OpenBSD 3.9-stable (GENERIC) #9: Tue Jan 9 16:30:11 CET 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) M processor 2.13GHz ("GenuineIntel" 686-class) 2.13 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2 cpu0: Enhanced SpeedStep 1600 MHz (1356 mV): speeds: 2130, 1800, 1600, 1400, 1200, 1000, 800, 600 MHz real mem = 2145886208 (2095592K) avail mem = 1951961088 (1906212K) using 4278 buffers containing 107397120 bytes (104880K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(8d) BIOS, date 09/15/05, BIOS32 rev. 0 @ 0xfd760 apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 97% apm0: AC on, battery charge high apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xfd6f0/0x910 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/256 (14 entries) pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00) pcibios0: PCI bus #5 is the last bus bios0: ROM list: 0xc/0x1 0xd/0x1600 0xd1800/0x1000 0xdc000/0x4000! 0xe/0x1 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82915GM/PM/GMS Host" rev 0x03 ppb0 at pci0 dev 1 function 0 "Intel 82915PM/GM PCIE" rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "ATI FireGL V3200" rev 0x80 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ppb1 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x03 pci2 at ppb1 bus 2 bge0 at pci2 dev 0 function 0 "Broadcom BCM5751M" rev 0x11, BCM5750 B1 (0x4101): irq 11, address 00:01:6c:e9:50:d0 brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0 ppb2 at pci0 dev 28 function 2 "Intel 82801FB PCIE" rev 0x03 pci3 at ppb2 bus 3 uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x03: 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 uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x03: irq 11 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x03: irq 11 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x03: irq 11 usb3 at uhci3: USB revision 1.0 uhub3 at usb3 uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x03: irq 11 usb4 at ehci0: USB revision 2.0 uhub4 at usb4 uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xd3 pci4 at ppb3 bus 4 cbb0 at pci4 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0x8d: irq 11 ath0 at pci4 dev 2 function 0 "Atheros AR5212 (IBM MiniPCI)" rev 0x01: irq 11 ath0: AR5213 5.9 phy 4.3 rf5112 3.6, WOR2W, address 00:14:a4:5c:7f:a5 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 5 device 0 cacheline 0x0, lattimer 0xb0 pcmcia0 at cardslot0 auich0 at pci0 dev 30 function 2 "Intel 82801FB AC97" rev 0x03: irq 11, ICH6 AC97 ac97: codec id 0x41445374 (Analog Devices AD1981B) ac97: codec features headphone, 20 bit DAC, No 3D Stereo audio0 at auich0 "Intel 82801FB Modem" rev 0x03 at pci0 dev 30 function 3 not configured ichpcib0 at pci0 dev 31 function 0 "Intel
Re: openbsd3.9 i386 generic kernel crash
On 1/10/07, Marcos Laufer <[EMAIL PROTECTED]> wrote: Hello, I had strange crash twice in 30 minutes today on a server running OpenBSD 3.9 stable with generic kernel. The machine rebooted inmediately, and i am not locally on the datacenter I have no clue on where too look at. Any ideas? man crash
testing needed for keyboard change before 4.1
this diff changes the way ps/2 and AT keyboards are handled in attempt to gain support for some quirky ones. this includes most laptops that have internally connected ps/2 keyboards. if you want your keyboard to continue working for the 4.1 release, please test this change now and report back to me privately, off-list, whether your keyboard continues to work or not. include relevant details like what kind of keyboard it is and a dmesg. Index: dev/pckbc/pckbd.c === RCS file: /cvs/src/sys/dev/pckbc/pckbd.c,v retrieving revision 1.8 diff -u -r1.8 pckbd.c --- dev/pckbc/pckbd.c 29 Dec 2005 12:31:29 - 1.8 +++ dev/pckbc/pckbd.c 10 Jan 2007 15:58:01 - @@ -192,54 +192,75 @@ pckbc_tag_t kbctag; pckbc_slot_t kbcslot; { - u_char cmd[2]; - int res; + /* default to have the 8042 translate the keyboard with table 3 */ + int x = 3; - /* -* Some keyboard/8042 combinations do not seem to work if the keyboard -* is set to table 1; in fact, it would appear that some keyboards just -* ignore the command altogether. So by default, we use the AT scan -* codes and have the 8042 translate them. Unfortunately, this is -* known to not work on some PS/2 machines. We try desperately to deal -* with this by checking the (lack of a) translate bit in the 8042 and -* attempting to set the keyboard to XT mode. If this all fails, well, -* tough luck. -* -* XXX It would perhaps be a better choice to just use AT scan codes -* and not bother with this. -*/ - if (pckbc_xt_translation(kbctag, kbcslot, 1)) { - /* The 8042 is translating for us; use AT codes. */ + if (!pckbc_xt_translation(kbctag, kbcslot, 1)) { +#ifdef DEBUG + printf("pckbd: enabling of translation failed\n"); +#endif + /* just set the basic XT table and hope it works */ + x = 1; + } + + /* keep falling back until we hit a table that looks usable */ + for (; x >= 1; x--) { + u_char cmd[2]; +#ifdef DEBUG + printf("pckbd: trying table %d\n", x); +#endif cmd[0] = KBC_SETTABLE; - cmd[1] = 2; - res = pckbc_poll_cmd(kbctag, kbcslot, cmd, 2, 0, 0, 0); - if (res) { + cmd[1] = x; + if (pckbc_poll_cmd(kbctag, kbcslot, cmd, 2, 0, 0, 0)) { u_char cmd[1]; #ifdef DEBUG - printf("pckbd: error setting scanset 2\n"); + printf("pckbd: table set of %d failed"); #endif - /* -* XXX at least one keyboard is reported to lock up -* if a "set table" is attempted, thus the "reset". -* XXX ignore errors, scanset 2 should be -* default anyway. -*/ cmd[0] = KBC_RESET; (void)pckbc_poll_cmd(kbctag, kbcslot, cmd, 1, 1, 0, 1); pckbc_flush(kbctag, kbcslot); - res = 0; + + continue; } - } else { - /* Stupid 8042; set keyboard to XT codes. */ - cmd[0] = KBC_SETTABLE; - cmd[1] = 1; - res = pckbc_poll_cmd(kbctag, kbcslot, cmd, 2, 0, 0, 0); + + /* the 8042 took the table set request */ + + if (x == 3) { + /* however, not all that say they can go into table 3 +* actually work, so ask what table it's in now */ + + u_char cmd[1], resp[0]; + + cmd[0] = KBC_SETTABLE; + cmd[1] = 0; + if (pckbc_poll_cmd(kbctag, kbcslot, cmd, 2, 1, resp, 0)) { +#ifdef DEBUG + printf("pckbd: table 3 verification failed\n"); +#endif + /* query failed, let's just step down to table +* 2 to be safe */ + + continue; + } else if (resp[0] == 3) { +#ifdef DEBUG + printf("pckbd: settling on set 3\n"); +#endif + return (0); + } +#ifdef DEBUG + else + printf("pckbd: set %x != 3, trying 2\n", + resp[0]); +#endif + } else { #ifdef DEBUG - if (res) - printf("pckbd: error setting scanset 1\n"); + printf("pckbd: settling on set %d\n", x); #endif + return (0); + } } - return (res); + + return (1); } static int
USB printer not working
Hi all, i just received a Soekris 4801 which i want to use as a file and print server. However, i cannot get the printer to work. For testing purposes i am using a HP Deskjet 600 connected via a USB/Parallel cable. When i connect the printer it shows up as: ulpt0 at uhub0 port 1 configuration 1 interface 0 ulpt0: Prolific Technology Inc. IEEE-1284 Controller, rev 1.00/2.02, addr 2, iclass 7/1 ulpt0: using bi-directional mode Trying to access the printer: # echo "Hello World" > /dev/ulpt0 -bash: /dev/ulpt0: Resource temporarily unavailable # echo "Hello World" > /dev/ulpt0 -bash: /dev/ulpt0: Device busy Further attempts always yield "Device busy". The printer is working fine on another machine under Windows and Linux. The soekris' USB port seems to be ok too, since i can access a USB stick. Browsing the web only showed some old posts saying that this used to work with 2.8 :-(. The FAQ says nothing about printing at all. Am i missing something? Anything to configure? dmesg is attached. Thanks for any help :-) Heinrich Rebehn University of Bremen Physics / Electrical and Electronics Engineering - Department of Telecommunications - Phone : +49/421/218-4664 Fax :-3341 OpenBSD 4.0-stable (GENERIC) #1: Mon Nov 6 17:19:58 CET 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 = 268005376 (261724K) avail mem = 236724224 (231176K) using 3297 buffers containing 13504512 bytes (13188K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(00) BIOS, date 20/50/29, 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 #0 is the last bus bios0: ROM list: 0xc8000/0x9000 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (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 0x00, DP83816A: irq 10, address 00:00:24:c7:34:00 nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1 sis1 at pci0 dev 7 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq 10, address 00:00:24:c7:34:01 nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1 sis2 at pci0 dev 8 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq 10, address 00:00:24:c7:34:02 nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1 gscpcib0 at pci0 dev 18 function 0 "NS SC1100 ISA" rev 0x00 gpio0 at gscpcib0: 64 pins "NS SC1100 SMI" rev 0x00 at pci0 dev 18 function 1 not configured pciide0 at pci0 dev 18 function 2 "NS SCx200 IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA, 19077MB, 39070080 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 geodesc0 at pci0 dev 18 function 5 "NS SC1100 X-Bus" rev 0x00: iid 6 revision 3 wdstatus 0 ohci0 at pci0 dev 19 function 0 "Compaq USB OpenHost" rev 0x08: irq 11, version 1.0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: Compaq OHCI root hub, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered isa0 at gscpcib0 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 pcppi0 at isa0 port 0x61 midi0 at pcppi0: spkr0 at pcppi0 nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS gpio1 at nsclpcsio0: 29 pins gscsio0 at isa0 port 0x15c/2: SC1100 SIO rev 1: npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom0: console pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo biomask fbe5 netmask ffe5 ttymask ffe7 pctr: no performance counters in CPU dkcsum: wd0 matches BIOS drive 0x80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 umass0 at uhub0 port 1 configuration 1 interface 0 umass0: vendor 0x USB Flash Drive, rev 2.00/1.00, addr 2 umass0: using SCSI over Bulk-Only scsibus0 at umass0: 2 targets sd0 at scsibus0 targ 1 lun 0: SCSI0 0/direct removable sd0: 247MB, 247 cyl, 64 head, 32 sec, 512 bytes/sec, 507901 sec total umass0: at uhub0 port 1 (addr 2) disconnected sd0 detached scsibus0 detached umass0 detached ulpt0 at uhub0 port 1 configuration 1 interface 0 ulpt0: Prolific Technology Inc. IEEE-1284 Controller, rev 1.00/2.02, addr 2, iclass 7/1 ulpt0: using bi-directional mode
Re: Lenovo Thinkpad T43p won't do external VGA output properly
Interesting. I hadn't tried using the external VGA output on my laptop. I'm seeing pretty much what you describe, only I find that if I set the Boot Display Device in the BIOS to VGA+LCD, then I get external video output on the monitor. There's output in X, too. Even the Fn-F7 toggling seems to work. --Matt --On Wednesday, January 10, 2007 03:46:59 PM +0100 Jonathan Thornburg <[EMAIL PROTECTED]> wrote: Hi, I'm running OpenBSD 3.9-stable on a Lenovo (formerly IBM) Thinkpad T43p. X (X.org 6.9.0) works fine either (a) without any /etc/X11/xorg.conf, or (b) using the /etc/X11/xorg.conf from http://www.enting.se/T43/xorg.conf (which is linked from the T43 entry in http://www.openbsd.org/i386-laptop.html). All the behavior I describe below is identical for (a) and (b). The built-in LCD display works fine at 1600x1200. My problem is that I can't get external video output properly. There seem to be two cases (neither one of which fits my definition of "properly"): * If, in the BIOS setup, I set "Boot Display Device" to "LCD", then I can get 1600x1200 VGA output when booting and before I start X, but I get no external video output at all once I start X. * If, in the BIOS setup, I set "Boot Display Device" to "VGA+LCD" or "VGA+DVI+LCD", then I get no external video output when booting and before I start X, but when I start X I get only 640x480 resolution (and matching external video output). Does anyone know how to get a T43p to simultaneously * run X, * use a decent screen resolution (minimum 1024x768, prefer 1280x1024 and/or 1600x1200) * send this video to the external VGA connector so I can display things on a video projector Here are my dmesg and the /etc/X11/xorg.conf from (b) above: === begin dmesg === OpenBSD 3.9-stable (GENERIC) #9: Tue Jan 9 16:30:11 CET 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) M processor 2.13GHz ("GenuineIntel" 686-class) 2.13 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUS H,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2 cpu0: Enhanced SpeedStep 1600 MHz (1356 mV): speeds: 2130, 1800, 1600, 1400, 1200, 1000, 800, 600 MHz real mem = 2145886208 (2095592K) avail mem = 1951961088 (1906212K) using 4278 buffers containing 107397120 bytes (104880K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(8d) BIOS, date 09/15/05, BIOS32 rev. 0 @ 0xfd760 apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 97% apm0: AC on, battery charge high apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xfd6f0/0x910 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/256 (14 entries) pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00) pcibios0: PCI bus #5 is the last bus bios0: ROM list: 0xc/0x1 0xd/0x1600 0xd1800/0x1000 0xdc000/0x4000! 0xe/0x1 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82915GM/PM/GMS Host" rev 0x03 ppb0 at pci0 dev 1 function 0 "Intel 82915PM/GM PCIE" rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "ATI FireGL V3200" rev 0x80 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ppb1 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x03 pci2 at ppb1 bus 2 bge0 at pci2 dev 0 function 0 "Broadcom BCM5751M" rev 0x11, BCM5750 B1 (0x4101): irq 11, address 00:01:6c:e9:50:d0 brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0 ppb2 at pci0 dev 28 function 2 "Intel 82801FB PCIE" rev 0x03 pci3 at ppb2 bus 3 uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x03: 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 uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x03: irq 11 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x03: irq 11 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x03: irq 11 usb3 at uhci3: USB revision 1.0 uhub3 at usb3 uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x03: irq 11 usb4 at ehci0: USB revision 2.0 uhub4 at usb4 uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xd3 pci4 at ppb3 bus 4 cbb0 at pci4 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0x8d: irq 11 ath0 at pci4 dev 2 function 0 "Atheros AR5212 (IBM MiniPCI)" rev 0x01: irq 11 ath0: AR5213 5.9 phy 4.3 rf5112 3.6, WOR2W, address 00:14:a4:5c:7f:a5 cardslot0 at cbb0 slot 0 fl
Re: Checking out ports
On 1/9/07, Marc Espie <[EMAIL PROTECTED]> wrote: The checkout from ports always spend quite some time at the end. It comes from the way cvs works: creates every directory, then prunes them at the end. Something in your network path is unhappy that you spend long enough not doing enough, from its point of view... Thanks, that was the case. When I try to update without pruning empty directories (-P flag) it exits normally. Hopefully, empty directories won't break the build process.
unable to login
I have a problem with my Zaurus, let me paint the scenario. I am a rank newbie with OpenBSD, so I was trying (as a startup experiment) to build all of it. I have my main machine sitting nearby (running FreeBSD current, at which I have years of experience), so I NFS mounted the little Zaurus's /usr/src and /usr/obj from my FreeBSD host. I used cvsup to get the entire OpenBSD archive, then checked out copies of ports and and src (forgot to add ports to my list up on top, I had 3 remotely mounted filesystems). OK, I went ahead, built a kernel successfully, and did a "make build". I was kinda shocked to find that the install was included in the build target, so this shows me to be a little bit stupid, that I didn't read it well enough to make sure, but that's not the problem. I had the new kernel installed, and it seems to boot ok, but for both of my two user's, once I enter my password, it immediately cycles back to "login:" again. I tried giving it tons of control'c's but that wouldn't catch it, so I cna't get logged in. Look, as far as emergencies go, I have the orignal Linux OS sitting in back as a emergency, and it does work, so if there's no better fix, I could reinstall everything, or maybe just my /etc/ but could anyone give me guesses as to what sort of screwup I perpetrated, so as to keep me from getting logged in? Else, I will probably do this again, and I really, really like to learn from my mistakes, you know? Thanks for your guesses, folks...
ThinkPad A22p -- getting max performance w/o battery built in?
hi misc@, having OpenBSD 4.0 installed on my ThinkPad A22p (dmesg below) and wearing the appropriate oBSD shirt i'd like to ask whether it's possible to get max speed from this notebook without having the battery built in. i booted without it as i don't need it; i use this machine as my energy saving workstation for lightweighted tasks (email, browsing the web, etc.). however, running connected to the power supply and without battery i get this: # apm Battery state: unknown, 0% remaining, 0 minutes life estimate A/C adapter state: connected Performance adjustment mode: manual (698 MHz) with the battery built in, i get 1 GHz. trying to set the speed manually (apm -C or -H) is 'ignored' without error message -- it keeps running on ~700MHz. any ideas? thanks & wbr, timo schoeler --- OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium III ("GenuineIntel" 686-class) 698 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXS R,SSE real mem = 536375296 (523804K) avail mem = 481329152 (470048K) using 4256 buffers containing 26923008 bytes (26292K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(22) BIOS, date 05/20/04, BIOS32 rev. 0 @ 0xfd820, SMB IOS rev. 2.3 @ 0xe0010 (47 entries) bios0: IBM 2629UTG 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 @ 0xfd7b0/0x850 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdee0/208 (11 entries) pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB ISA" rev 0x00) pcibios0: PCI bus #5 is the last bus bios0: ROM list: 0xc/0x1 0xd/0x1800 0xe/0x1 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 Mobility M3" rev 0x02 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) cbb0 at pci0 dev 2 function 0 "TI PCI1450 CardBus" rev 0x03: irq 11 cbb1 at pci0 dev 2 function 1 "TI PCI1450 CardBus" rev 0x03: irq 11 fxp0 at pci0 dev 3 function 0 "Intel 8255x" rev 0x0c, i82550: irq 11, address 00 :03:47:8b:b4:4f inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4 "AT&T/Lucent LTMODEM" rev 0x01 at pci0 dev 3 function 1 not configured clcs0 at pci0 dev 5 function 0 "Cirrus Logic CS4280/46xx CrystalClear" rev 0x01: irq 11 ac97: codec id 0x43525914 (Cirrus Logic CS4297A rev 4) ac97: codec features headphone, 20 bit DAC, 18 bit ADC, Crystal Semi 3D 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 wi red to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA, 30520MB, 62506080 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: SCSI0 5/cdrom r emovable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 uhci0 at pci0 dev 7 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 7 function 3 "Intel 82371AB Power" rev 0x03: SMI iic0 at piixpm0 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0xb0 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 5 device 0 cacheline 0x8, lattimer 0xb0 pcmcia1 at cardslot1 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 pcppi0 at isa0 port 0x61 midi0 at pcppi0: spkr0 at pcppi0 lpt2 at isa0 port 0x3bc/4: polled 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 efed netmask efed 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 clcs0: firmware loaded audio0 at clcs0
Re: openbsd3.9 i386 generic kernel crash
It seems that it was a hardware issue. We put the hard disk in another machine and the problem was gone. Though, i would like to know what exactly caused it, i guess it was buggy memory (Kingston, so they have life warranty). I got this: # gdb GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-openbsd3.9". (gdb) file /var/crash/bsd.1 Reading symbols from /u/system/crash/bsd.1...(no debugging symbols found)...done. (gdb) target kvm /var/crash/bsd.1.core Cannot access memory at address 0xe9376df4 (gdb) # ps -N /var/crash/bsd.1 -M /var/crash/bsd.1.core -O paddr ps: Cannot allocate memory # vmstat -N /var/crash/bsd.1 -M /var/crash/bsd.1.core -m Memory statistics by bucket size Size In Use Free Requests HighWater Couldfree 16 232133 4411 4154741280 53 3212320 96 97116 640 0 64 7521 31 31283 320 41 128 3746 62 14423 160 0 256 2266 6 4914 80 0 512 303 17 1782 40 0 1024 543 21 2257 20 54 2048 22 4143 10 28 4096 30 1 1126 5 0 81928 0 8 5 0 163846 0 20 5 0 327685 0 9 5 0 Memory usage type by bucket size Size Type(s) 16 devbuf, pcb, routetbl, ifaddr, sysctl, vnodes, UFS mount, sem, dirhash, in_multi, exec, xform_data, VM swap, UVM amap, UVM aobj, USB, temp 32 devbuf, pcb, routetbl, ifaddr, vnodes, sem, dirhash, proc, VFS cluster, ether_multi, xform_data, VM swap, UVM amap, USB, packet tags, temp 64 devbuf, pcb, routetbl, sem, dirhash, in_multi, pfkey data, UVM amap, USB, NDP, temp 128 devbuf, routetbl, ifaddr, vnodes, ttys, exec, inodedep, UVM amap, USB, USB device, NDP, temp 256 devbuf, routetbl, ifaddr, sysctl, ioctlops, vnodes, shm, VM map, file desc, proc, NFS srvsock, NFS daemon, ttys, newblk, UVM amap, USB, temp 512 devbuf, pcb, ifaddr, ioctlops, mount, UFS mount, shm, sem, dirhash, file desc, exec, UVM amap, USB device, temp 1024 devbuf, ioctlops, namecache, sem, file desc, proc, ttys, exec, UVM amap, UVM aobj, crypto data, temp 2048 devbuf, ifaddr, ioctlops, shm, pagedep, VM swap, UVM amap, temp 4096 devbuf, ioctlops, UFS mount, MSDOSFS mount, temp 8192 devbuf, NFS node, namecache, UFS quota, UFS mount, ISOFS mount, inodedep 16384 devbuf, UFS mount, indirdep, UVM amap, temp 32768 devbuf, namecache, VM swap, UVM amap Memory statistics by type Type Kern Type InUse MemUse HighUse Limit Requests Limit Limit Size(s) devbuf 560 278K278K 39322K 6210 0 16,32,64,128,256,512,1024,2048,4096,8192,16384,32768 pcb 43029K 32K 39322K 14860 0 16,32,64,512 routetbl88 7K 7K 39322K 3000 0 16,32,64,128,256 ifaddr4110K 10K 39322K 410 0 16,32,128,256,512,2048 sysctl 2 1K 1K 39322K20 0 16,256 ioctlops 0 0K 4K 39322K 9010 0 256,512,1024,2048,4096 mount 6 3K 4K 39322K80 0 512 NFS node 1 8K 8K 39322K10 0 8192 vnodes48 7K 43K 39322K 12810 0 16,32,128,256 namecache 341K 41K 39322K30 0 1024,8192,32768 UFS quota 1 8K 8K 39322K10 0 8192 UFS mount2568K 68K 39322K 250 0 16,512,4096,8192,16384 shm 813K 13K 39322K90 0 256,512,2048 VM map 3 1K 1K 39322K30 0 256 sem 4 2K 2K 39322K70 0 16,32,64,512,1024 dirhash39 8K 9K 39322K 510 0 16,32,64,512 file desc7670K 73K 39322K 1160 0 256,512,1024 proc15 3K 3K 39322K 150 0 32,256,1024 VFS cluster 0 0K 4K 39322K 17990 0 32 NFS srvsock 2 1K 1K 39322K20 0 256 NFS daemon 1 1K 1K 39322K10 0 256 in_multi22 1K 1K 39322K 22
Re: unable to login
On 2007/01/10 15:55, Chuck Robey wrote: > Look, as far as emergencies go, I have the orignal Linux OS sitting in > back as a emergency, boot> bsd.rd then you can do an upgrade install. > I could reinstall everything, or maybe just my /etc/ but could anyone > give me guesses as to what sort of screwup I perpetrated, so as to > keep me from getting logged in? Else, I will probably do this again, > and I really, really like to learn from my mistakes, you know? you don't say which versions were involved, but if you installed 4.0 and then did a 'make build' of -current source, that's one problem - unlike FreeBSD the procedure here is to do a binary upgrade to the nearest -current snapshot before "make build". it's an arm arch:- N.B. http://www.openbsd.org/faq/current.html#20061227 (besides the snapshot install of the system binaries, there will be more to do if you changed your shell to something from packages).
Re: greylisting
Hmmm - should sis1 have an IP? On 9-Jan-07, at 3:54 PM, Stephen Schaff wrote: That's what I'm starting to think... hostname.sis0: (management interface) inet xxx.xxx.xxx.xxx 255.255.255.0 NONE hostname.sis1: up hostname.sis2: up bridgename.bridge0: add sis1 add sis2 up pf.conf: (as per http://undeadly.org/cgi? action=article&sid=20061108134508) ext_if="sis1" mailserver="xxx.xxx.xxx.xxx" table persist table persist rdr pass on $ext_if proto tcp from to port smtp \ -> 127.0.0.1 port spamd rdr pass on $ext_if proto tcp from ! to port smtp \ -> 127.0.0.1 port spamd # "log" so you can watch the connections getting trapped pass in log on $ext_if route-to lo0 inet proto tcp to 127.0.0.1 port spamd # log smtp sessions to and from the mailserver pass in log on $ext_if proto tcp to $mailserver port smtp keep state pass out log on $ext_if proto tcp from $mailserver to any port smtp keep state rc.conf: ... spamd_flags="-G 5:4:864 -v" spamd_grey=YES spamlogd_flags="" ... syslog.conf: !spamd *.* /var/log/spamd On 9-Jan-07, at 9:14 AM, Bob Beck wrote: Sounds to me like your pf rules and/or bridge setup are not set up correctly to allow the connections to be redirected. -Bob * Stephen Schaff <[EMAIL PROTECTED]> [2007-01-08 18:52]: tail -f /var/log/daemon shows: Jan 8 02:23:38 spamd spamd[4966]: listening for incoming connections. That's it. Stephen On 8-Jan-07, at 3:54 AM, edgarz wrote: They should be. tail -f /var/log/daemon there they are. Stephen Schaff wrote: I've set up spamd on a soekris bridge. It seems to be working for the most part. However, when I used spamdb to view the database - it only shows WHITE entries. It appears there are no GREY entries. Have I configured things incorrectly? Also, if I try to send mail from a remote mail client, using the mail server behind spamd, it won't allow the connection. I have to use my shaw smtp server, or some other one to get the mail to send. Any ideas on how to configure it so that I can use my main mail server to send messages? Config files: pf.conf: ext_if="sis1" mailserver="" table persist table persist rdr pass on $ext_if proto tcp from to port smtp \ -> 127.0.0.1 port spamd rdr pass on $ext_if proto tcp from ! to port smtp \ -> 127.0.0.1 port spamd # "log" so you can watch the connections getting trapped pass in log on $ext_if route-to lo0 inet proto tcp to 127.0.0.1 port spamd # log smtp sessions to and from the mailserver pass in log on $ext_if proto tcp to $mailserver port smtp keep state pass out log on $ext_if proto tcp from $mailserver to any port smtp keep state rc.conf: spamd_flags="-v" spamd_grey=YES spamlogd_flags="" !DSPAM:45a2227782793355514740! -- #!/usr/bin/perl if ((not 0 && not 1) != (! 0 && ! 1)) { print "Larry and Tom must smoke some really primo stuff...\n"; }
Re: OT Re: 'database filesystems'
On 01/10/07 01:21, Mathieu Sauve-Frankel wrote: Could you guys please take this completely useless discussion off-list ? It has absolutely zero value to anyone running or developing OpenBSD. Ah, it's clueless to try to think beond FFS and aim a little higher? +++chefren
Re: OT Re: 'database filesystems'
On 1/10/07, chefren <[EMAIL PROTECTED]> wrote: On 01/10/07 01:21, Mathieu Sauve-Frankel wrote: > Could you guys please take this completely useless discussion off-list ? > It has absolutely zero value to anyone running or developing OpenBSD. Ah, it's clueless to try to think beond FFS and aim a little higher? +++chefren Chefren, I'm interested in this topic too, but I know that misc@ is not the place for it. Anyway, if you want to play with different filesystems go to linux. -Nick
Re: OT Re: 'database filesystems'
On 01/10/07 22:00, Nick Guenther wrote: I'm interested in this topic too, but I know that misc@ is not the place for it. How do you know? I can see lot's of people are interested in it. > Anyway, if you want to play with different filesystems go to linux. I'm not interested in Linux and I have seen on and off-list some interesting thoughts about this. A few people mail things like "submit a patch" but those simple minds don't understand that there is nothing to patch here. As far as I see it we have to design something beyond FFS before it's possible to start coding at all. +++chefren
Re: Checking out ports
On Wed, Jan 10, 2007 at 01:22:27PM -0500, Andrey Shuvikov wrote: > On 1/9/07, Marc Espie <[EMAIL PROTECTED]> wrote: > >The checkout from ports always spend quite some time at the end. > >It comes from the way cvs works: creates every directory, then > >prunes them at the end. > > > >Something in your network path is unhappy that you spend long enough > >not doing enough, from its point of view... > > Thanks, that was the case. When I try to update without pruning empty > directories (-P flag) it exits normally. Hopefully, empty directories > won't break the build process. They will - for instance, src/games/snake/snake messes up the build process. For another, somewhat more clean non-solution, see ssh_config(5), and have a look at such options as 'ServerAliveInterval'. Joachim
Re: Lenovo Thinkpad T43p won't do external VGA output properly
I run -current on my T43. Have used external VGA out for the past 6 months. I don't have any xorg.conf and I get 1280x1024. It looks like you have a different video chip though. On Wed, Jan 10, 2007 at 03:46:59PM +0100, Jonathan Thornburg wrote: > Hi, > > I'm running OpenBSD 3.9-stable on a Lenovo (formerly IBM) Thinkpad T43p. > X (X.org 6.9.0) works fine either > (a) without any /etc/X11/xorg.conf, or > (b) using the /etc/X11/xorg.conf from http://www.enting.se/T43/xorg.conf >(which is linked from the T43 entry in > http://www.openbsd.org/i386-laptop.html). > All the behavior I describe below is identical for (a) and (b). > > The built-in LCD display works fine at 1600x1200. > My problem is that I can't get external video output properly. There > seem to be two cases (neither one of which fits my definition of "properly"): > * If, in the BIOS setup, I set "Boot Display Device" to "LCD", then > I can get 1600x1200 VGA output when booting and before I start X, > but I get no external video output at all once I start X. > * If, in the BIOS setup, I set "Boot Display Device" to "VGA+LCD" or > "VGA+DVI+LCD", then I get no external video output when booting and > before I start X, but when I start X I get only 640x480 resolution > (and matching external video output). > > Does anyone know how to get a T43p to simultaneously > * run X, > * use a decent screen resolution (minimum 1024x768, prefer 1280x1024 > and/or 1600x1200) > * send this video to the external VGA connector so I can display things > on a video projector > > Here are my dmesg and the /etc/X11/xorg.conf from (b) above: > > === begin dmesg === > OpenBSD 3.9-stable (GENERIC) #9: Tue Jan 9 16:30:11 CET 2007 > [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC > cpu0: Intel(R) Pentium(R) M processor 2.13GHz ("GenuineIntel" 686-class) 2.13 > GHz > cpu0: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2 > cpu0: Enhanced SpeedStep 1600 MHz (1356 mV): speeds: 2130, 1800, 1600, 1400, > 1200, 1000, 800, 600 MHz > real mem = 2145886208 (2095592K) > avail mem = 1951961088 (1906212K) > using 4278 buffers containing 107397120 bytes (104880K) of memory > mainbus0 (root) > bios0 at mainbus0: AT/286+(8d) BIOS, date 09/15/05, BIOS32 rev. 0 @ 0xfd760 > apm0 at bios0: Power Management spec V1.2 > apm0: battery life expectancy 97% > apm0: AC on, battery charge high > apm0: flags 30102 dobusy 0 doidle 1 > pcibios0 at bios0: rev 2.1 @ 0xfd6f0/0x910 > pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/256 (14 entries) > pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00) > pcibios0: PCI bus #5 is the last bus > bios0: ROM list: 0xc/0x1 0xd/0x1600 0xd1800/0x1000 > 0xdc000/0x4000! 0xe/0x1 > cpu0 at mainbus0 > pci0 at mainbus0 bus 0: configuration mode 1 (no bios) > pchb0 at pci0 dev 0 function 0 "Intel 82915GM/PM/GMS Host" rev 0x03 > ppb0 at pci0 dev 1 function 0 "Intel 82915PM/GM PCIE" rev 0x03 > pci1 at ppb0 bus 1 > vga1 at pci1 dev 0 function 0 "ATI FireGL V3200" rev 0x80 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > ppb1 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x03 > pci2 at ppb1 bus 2 > bge0 at pci2 dev 0 function 0 "Broadcom BCM5751M" rev 0x11, BCM5750 B1 > (0x4101): irq 11, address 00:01:6c:e9:50:d0 > brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0 > ppb2 at pci0 dev 28 function 2 "Intel 82801FB PCIE" rev 0x03 > pci3 at ppb2 bus 3 > uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x03: 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 > uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x03: irq 11 > usb1 at uhci1: USB revision 1.0 > uhub1 at usb1 > uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1 > uhub1: 2 ports with 2 removable, self powered > uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x03: irq 11 > usb2 at uhci2: USB revision 1.0 > uhub2 at usb2 > uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1 > uhub2: 2 ports with 2 removable, self powered > uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x03: irq 11 > usb3 at uhci3: USB revision 1.0 > uhub3 at usb3 > uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1 > uhub3: 2 ports with 2 removable, self powered > ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x03: irq 11 > usb4 at ehci0: USB revision 2.0 > uhub4 at usb4 > uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1 > uhub4: 8 ports with 8 removable, self powered > ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xd3 > pci4 at ppb3 bus 4 > cbb0 at pci4 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0x8d: irq 11 > ath0 at pci4 dev 2 function 0 "Atheros AR5212 (IBM MiniPCI)" rev 0x01: irq 11 > ath0: AR5213 5.9 phy 4.3 rf5112 3.6, WOR2W, address 00:14:a4:5c
Re: ThinkPad A22p -- getting max performance w/o battery built in?
thus Clint Pachl spake: Timo Schoeler wrote: hi misc@, having OpenBSD 4.0 installed on my ThinkPad A22p (dmesg below) and wearing the appropriate oBSD shirt i'd like to ask whether it's possible to get max speed from this notebook without having the battery built in. i booted without it as i don't need it; i use this machine as my energy saving workstation for lightweighted tasks (email, browsing the web, etc.). however, running connected to the power supply and without battery i get this: # apm Battery state: unknown, 0% remaining, 0 minutes life estimate A/C adapter state: connected Performance adjustment mode: manual (698 MHz) with the battery built in, i get 1 GHz. trying to set the speed manually (apm -C or -H) is 'ignored' without error message -- it keeps running on ~700MHz. any ideas? Have you tried BIOS settings? I have an old T22 900MHz P3 and I can disable CPU throttling in BIOS, which seems to take precedence over the OS settings. I'm running 3.9. -pachl thanks, being an old non-x86 guy i (unfortunately) quite often ignore the fact of a BIOS on peecees ;) okay, setting CPU speed selection from automatic to maximum didn't change. however, there's another switch to disable CPU power management -- maybe this will override it. i'll try it next reboot (am not able right now due to some tasks) and report back for the archives, if, and how, things went. thanks again, timo :)
OT: do not use securedoc
this is intended as a warning to users of disk encryption products, as i am to understand some of you are on [EMAIL PROTECTED] i strongly discourage anyone from purchasing securedoc personal edition for use on windows, as it is a poorly designed product that offers zero support in the event of problems. this once again reinforces, IMO, the need, not simply the desire, for open source disk encryption solutions. i am being held hostage by these blob bartering buffoons for data recovery at 200 usd / hr, with no estimate of how long it will take to recover the data. i have NEVER had a problem like this with my cgd or svnd encrypted files and don't expect that i would since they're WELL-DESIGNED encryption schemes, IMO. of course, i realize that i SHOULD have a backup of all this data and have been kicking myself in the ass about it for a couple weeks. never gonna let this crap happen again... do not buy this product! no need to reply to this post on-list since this is intended as a PSA to help protect other disk-security conscious individuals on misc@ who are forced to deal with crappy OSes.
Invitation Namm Show 2007 - 18th - 21st of january
Welcome to the Namm Show in Anaheim California 18th - 21st of january 2007 www.thenammshow.com Visit us at our booth # 2977 and check out our new designed website & our new products. www.triggerhead.com thanxs for your recommendation to your friends Best Regards DDRUM AG P.O. Box 816 Riedstrasse 6 CH-8953 Dietikon 1 Tel. +41 (0) 44 742 26 00 Fax +41 (0) 44 742 26 01 [EMAIL PROTECTED] [EMAIL PROTECTED] www.ddrum.ch www.triggerhead.com If you prefer not to continue receiving Triggerhead e-mails and wish to unsubscribe from this email list, please email to: [EMAIL PROTECTED] with subject "remove-me". - Please do not reply to this email. Your E-Mails can not be answered.
pf nat problem
Hello, I am experiencing a problem connecting to a specific mail server through an openbsd 4.0 firewall. From any unix host (tested both freebsd and debian) I will get a timed out connection if i telnet to the remote server and attempt to send mail. From a windows 2000 host, there is no timeout. I can prove the firewall is getting packets on the internal interface and not putting them out on the external interface. I am at a complete loss as to why, or where to continue looking. Does anyone have any clues as to what is going on here? Here is an example of the timeout happening after I type in the "mail from:" command. It times out at this point every time. > telnet 67.15.157.11 25 Trying 67.15.157.11... Connected to ns1.siteground14.com. Escape character is '^]'. 220-serv01.siteground14.com ESMTP Exim 4.52 #1 Wed, 10 Jan 2007 16:28:58 -0600 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. helo xxx.com 250 serv01.siteground14.com Hello xxx.com [66.xx.xx.xx] mail from:[EMAIL PROTECTED] Connection closed by foreign host. Here is a tcpdump from the external interface while the telnet is going on: # tcpdump -i fxp0 -n |grep 67.15.157.11 tcpdump: listening on fxp0, link-type EN10MB 15:16:48.757841 66.xx.xx.xx.60228 > 67.15.157.11.25: S 3904476190:3904476190(0) win 65535 1,nop,nop,timestamp 1720472318 0,sackOK,eol> (DF) [tos 0x10] 15:16:48.789409 67.15.157.11.25 > 66.xx.xx.xx.60228: S 4248820531:4248820531(0) ack 3904476191 win 5792 1460,sackOK,timestamp 2223527781 1720472318,nop,wscale 8> (DF) 15:16:48.789887 66.xx.xx.xx.60228 > 67.15.157.11.25: . ack 1 win 33304 (DF) [tos 0x10] 15:16:48.819800 67.15.157.11.52399 > 66.xx.xx.xx.113: S 4245434329:4245434329(0) win 5840 0,nop,wscale 8> (DF) 15:16:48.819932 66.xx.xx.xx.113 > 67.15.157.11.52399: R 0:0(0) ack 4245434330 win 0 (DF) [tos 0x10] 15:16:48.854970 67.15.157.11.25 > 66.xx.xx.xx.60228: P 1:182(181) ack 1 win 23 (DF) 15:16:48.954872 66.xx.xx.xx.60228 > 67.15.157.11.25: . ack 182 win 33304 (DF) [tos 0x10] 15:16:51.528366 66.xx.xx.xx.60228 > 67.15.157.11.25: P 1:19(18) ack 182 win 33304 (DF) [tos 0x10] 15:16:51.558204 67.15.157.11.25 > 66.xx.xx.xx.60228: . ack 19 win 23 (DF) 15:16:51.558413 67.15.157.11.25 > 66.xx.xx.xx.60228: P 182:244(62) ack 19 win 23 (DF) 15:16:51.658444 66.xx.xx.xx.60228 > 67.15.157.11.25: . ack 244 win 33304 (DF) [tos 0x10] ^C And here is a tcpdump from the internal interface. It shows the interface receiving more packets from the client and as can be seen above never sends them out on the external interface: # tcpdump -i em0 -n |grep 67.15.157.11 tcpdump: listening on em0, link-type EN10MB 15:18:39.577028 802.1Q vid 600 pri 0 192.168.0.25.60213 > 67.15.157.11.25: S 786363956:786363956(0) win 65535 1,nop,nop,timestamp 1720583155 0,sackOK,eol> (DF) [tos 0x10] 15:18:39.634189 802.1Q vid 600 pri 0 67.15.157.11.25 > 192.168.0.25.60213: S 58075875:58075875(0) ack 786363957 win 5792 1460,sackOK,timestamp 2223638610 1720583155,nop,wscale 8> (DF) 15:18:39.634259 802.1Q vid 600 pri 0 192.168.0.25.60213 > 67.15.157.11.25: . ack 1 win 33304 2223638610> (DF) [tos 0x10] 15:18:39.720216 802.1Q vid 600 pri 0 67.15.157.11.25 > 192.168.0.25.60213: P 1:182(181) ack 1 win 23 2223638712 1720583212> (DF) 15:18:39.819623 802.1Q vid 600 pri 0 192.168.0.25.60213 > 67.15.157.11.25: . ack 182 win 33304 2223638712> (DF) [tos 0x10] 15:18:42.643837 802.1Q vid 600 pri 0 192.168.0.25.60213 > 67.15.157.11.25: P 1:19(18) ack 182 win 33304 1720586222 2223638712> (DF) [tos 0x10] 15:18:42.673648 802.1Q vid 600 pri 0 67.15.157.11.25 > 192.168.0.25.60213: . ack 19 win 23 1720586222> (DF) 15:18:42.673772 802.1Q vid 600 pri 0 67.15.157.11.25 > 192.168.0.25.60213: P 182:244(62) ack 19 win 23 2223641677 1720586222> (DF) 15:18:42.773105 802.1Q vid 600 pri 0 192.168.0.25.60213 > 67.15.157.11.25: . ack 244 win 33304 2223641677> (DF) [tos 0x10] 15:18:48.577275 802.1Q vid 600 pri 0 192.168.0.25.60213 > 67.15.157.11.25: P 19:53(34) ack 244 win 33304 1720592157 2223641677> (DF) [tos 0x10] 15:18:48.946155 802.1Q vid 600 pri 0 192.168.0.25.60213 > 67.15.157.11.25: P 19:53(34) ack 244 win 33304 1720592526 2223641677> (DF) [tos 0x10] 15:18:50.359941 802.1Q vid 600 pri 0 192.168.0.25.60213 > 67.15.157.11.25: P 19:53(34) ack 244 win 33304 1720593940 2223641677> (DF) [tos 0x10] ^C Thank you for any help. Steven
Pour votre bonheur...
Bonjour Nous espirons que vous aurez profiti de l'annie 2006. Toute liquipe OptiVente vous souhaite de bonnes fjtes de fin dannie, et tous nos meilleurs souhaits pour vos projets 2007, tant professionnels que personnels. Cordialement Thierry CRAYE Girant OptiVente PS : Quelques informations qui peuvent vous intiresser, nous continuons dorganiser : Des riunions dinformation pour votre diveloppement commercial, et pour des subventions publiques : Pour en savoir plus Des ateliers thimatiques pour jtre encore plus efficace sur certaines itapes de vos ventes : Pour en savoir plus Si les liens regus ne fonctionnent pas, vous acchderez aux informations sur les subventions, confirences et ateliers par le site www.optivente.com. Vous recevez ce mail, car sauf erreur de notre part vous jtes impliqui dans des actions commerciales. Si ce mail ne vous concerne pas, veuillez nous en excuser, vous pouvez vous disisncrire de nos envois d'informations: [EMAIL PROTECTED] [demime 1.01d removed an attachment of type application/octet-stream which had a name of voeux 2007.jpg]
Re: OT Re: 'database filesystems'
On 1/10/07, chefren <[EMAIL PROTECTED]> wrote: On 01/10/07 22:00, Nick Guenther wrote: > I'm interested in this topic too, but I know that misc@ is not the > place for it. How do you know? I can see lot's of people are interested in it. > Anyway, if you want to play with different filesystems > go to linux. I'm not interested in Linux and I have seen on and off-list some interesting thoughts about this. A few people mail things like "submit a patch" but those simple minds don't understand that there is nothing to patch here. As far as I see it we have to design something beyond FFS before it's possible to start coding at all. +++chefren well in how many email letters will we "solve" this 'problem' Personnally i think it is unfeasable to do, among other because there are to many applications with differeing needs, however i also think sending code for something i not gonna work, as chefren said this might require quite some design and thoughts, first estimate if it is even a good idea. Anyways, where would you conduct this design and thinking. if you are serious about this you should create a webpage and set it up for collaboration (if you going down that road), or at least a wiki, plus a maling list for that. Or do you think we should have a long long long thread on misc where our development effort and design etc, happens in one thread, and do you think that should be on misc or on dev? or or (maybe piss off some people there :) ). If you really are serios about this, create f.ex. a Website, a Wiki a maling list or (and why would this be for openBSD even though you would like to use that as dev platform) When you done that send a mail to misc about this in this thread. Or do you really think this should be an ongoing thread on misc (i don't). A few suggestions: Some reasoning about why you want to do this. Examples of why this way would work, Problems you foresee that would be encountered, and how to go about solving them How do you see the structure of this 'database'' You dont have to do that all in one go but a rough draft would be nice, otherwise for me at least it is pretty hard to take as a serious proposition. ehh have some more suggestions but forgot them am in a middle of a 2 concurrent projects in my education so. Or maybe just start coding ;) ps. its the file versioning system that i think might look promising. cognacc
202 days Uptime in OpenBSD 3.6
I have 202 days using OpenBSD 3.6 as router/firewall/ PPPOE. I want to share this screenshot. http://farm1.static.flickr.com/147/353353577_e8e875083d_o.jpg Regards, -- --- Therefore, if anyone is in Christ, he is a new creation; the old has gone, the new has come! - 2 Corinthians 5:17 (NIV) --- Francisco Valladolid Hdez. [EMAIL PROTECTED] http://blog.bsdguy.net - http://www.flickr.com/photos/sigueme/
Re: java on openbsd 4.0?
On 1/10/07, J.C. Roberts <[EMAIL PROTECTED]> wrote: The only outstanding question is, has "bofh" gotten 1.5 to compile and install correctly on his amd64 box with Kurt's previous suggestion? ? The first note from Kurt says he's working on a patch, and the second mentioned a thread in ports@, and I didn't see anything that refers to what I was doing. I did update ports (nightly cvs with -rOPENSD_4_0) and jdk went from p20 to p21, IIRC. The new build failed too. As an aside, on amd64, since 3.9-current from months ago, jdk 1.5 only required kaffe, and I had used it without issues (see: [EMAIL PROTECTED]). But I appreciate the time and effort you had put in to help me, seriously. But that's why my original email was a little brief.
Re: 202 days Uptime in OpenBSD 3.6
On 1/10/07, Francisco Valladolid <[EMAIL PROTECTED]> wrote: I have 202 days using OpenBSD 3.6 as router/firewall/ PPPOE. I want to share this screenshot. http://farm1.static.flickr.com/147/353353577_e8e875083d_o.jpg Wow, I am impressed, your dick is wy bigger than mine because I have become a eunuch for the kingdom of heaven's sake. (Matthew 19:12) My uptime is permanently stuck at zero now. Greg
Re: OT Re: 'database filesystems'
On 1/10/07, Michael Jensen <[EMAIL PROTECTED]> wrote: On 1/10/07, chefren <[EMAIL PROTECTED]> wrote: > As far as I see it we have to design something beyond FFS before it's > possible to start coding at all. Anyways, where would you conduct this design and thinking. I'm curious, taking away some of the database-inna-filesystem things that was originally listed, everything else seemed to be addressed quite nicely by zfs. Why not look at porting that? As a classically trained civil engineer, my first instinct is always to look for work that other people have already done, and see if it fits. I think the Sun people put a shitload of work into designing their "next gen" filesystem, and looking at some of the demos, it really shows. However, it won't be easy porting it. It's been out in opensolaris for over a year+, but only showed up in solaris 10 6/06. However the linux folks have to do it through fuse, and even OSX don't have it working properly yet, according to reports.
reading sensor RS-232/485 output
i am planning on pulling live rate data from some manufacturing equipment using a red lion rate meter with RS-232 or 485 interface http://www.redlion.net/Products/DigitalandAnalog/Counters/CounterRate/CUB5.html what is the best way to pull this data, using base OS utilities if possible? if coding this is most expedient, handing me a pointer to a useful information address is sufficient. i'm under the impression that openbsd doesn't support RS-485 interface cards. do correct me if i'm wrong here. cheers, jake
Dump dumps core
Hello, I was able to make `dump` dump core when I pressed control-4, I didn't test any other key combinations. I was able to do this with 3.8-release and 4.0-current: [EMAIL PROTECTED]:~$ dd if=/dev/zero of=/test bs=1m count=100 100+0 records in 100+0 records out 104857600 bytes transferred in 1.868 secs (56117006 bytes/sec) [EMAIL PROTECTED]:~$ dump -a -0f /test /var/ DUMP: Dumping sub files/directories from / DUMP: Dumping file/directory /var/ DUMP: Date of this level 0 dump: Thu Jan 11 08:17:14 2007 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/rwd0a (/) to /test DUMP: mapping (Pass I) [regular files] ^\Quit (core dumped) -- Antti Harri
Re: Dump dumps core
On 1/10/07, Antti Harri <[EMAIL PROTECTED]> wrote: I was able to make `dump` dump core when I pressed control-4 <...> Control-4 generates character 28 (FS), which is usually known as control-backslash. That character is, by default, the 'quit' character in canonical mode of the terminal line discipline, which acts as a request to the kernel to send SIGQUIT to the foreground process group. The default handling for SIGQUIT is to kill the process and dump core. IMHO, the non-obvious step in the above is the first: why does control-4 generate 'FS'? My guess it has something to do with the relative position of '4' and 'FS' in ASCII, but it unlike other control mappings they don't differ by a multiple of 32. Philip Guenther
Re: 202 days Uptime in OpenBSD 3.6
On Wed, 10 Jan 2007 18:47:38 -0800 "Greg Thomas" <[EMAIL PROTECTED]> wrote: > On 1/10/07, Francisco Valladolid <[EMAIL PROTECTED]> wrote: > > I have 202 days using OpenBSD 3.6 as router/firewall/ PPPOE. > > > > I want to share this screenshot. > > > > http://farm1.static.flickr.com/147/353353577_e8e875083d_o.jpg > > > > Wow, I am impressed, your dick is wy bigger than mine because I > have become a eunuch for the kingdom of heaven's sake. (Matthew > 19:12) My uptime is permanently stuck at zero now. > > Greg We all know that a "long" uptime means neglect, but that doesn't mean we should reply in a dumb way like that! Why the hell do you always feel you have to make people wanna go away!?
Re: 202 days Uptime in OpenBSD 3.6
* Francisco Valladolid wrote: > I have 202 days using OpenBSD 3.6 as router/firewall/ PPPOE. we bring out a new release every ~180 days, with fixes and new features. If your uptime is longer than this, it is an indication that you did not buy any new cd-roms from us, which you really should if you want to support us... and 3.6 is quite "old style" these days, a much shorter uptime, but with 4.0 would be so much better ;) hmm, why are people so proud of their uptimes when it only show they don't care for their systems?
Re: reading sensor RS-232/485 output
* Jacob Yocom-Piatt wrote: > i am planning on pulling live rate data from some manufacturing equipment > using > a red lion rate meter with RS-232 or 485 interface > > http://www.redlion.net/Products/DigitalandAnalog/Counters/CounterRate/CUB5.html > > what is the best way to pull this data, using base OS utilities if possible? > if > coding this is most expedient, handing me a pointer to a useful information > address is sufficient. write a userland application that opens the cua device and reads in data frpm the serial port. at the moment there is no way to make the data show up as a sensor value. > > i'm under the impression that openbsd doesn't support RS-485 interface cards. > do > correct me if i'm wrong here. > > cheers, > jake
Re: OT Re: 'database filesystems'
On Wed, Jan 10, 2007 at 10:23:31PM +0100, chefren wrote: > A few people mail things like "submit a patch" but those simple minds > don't understand that there is nothing to patch here. those are usually the minds that make openbsd possible anyway, i will shut up and wait for the day you have code for your new file system, then i will be glad to participate in the discussion :-) good luck and have a nice day, -p. (who recently discovered the wonders of the 'delete' button in mutt)