Re: tcpdump no output on stdout
On Thu, 8 Jul 2010, Marian Hettwer wrote: Hi all, I'm experiencing a rather strang behaviour with tcpdump on OpenBSD 4.7 i386 running on a vmware esx vsphere 4. My tcpdump gives no output at all on stdout, but if I use the very same command with -w foobar it actually does dump packages. I know that esx server are probably not supported, however, does anybody know a work around this behavior? Or out of curiosity, where is this behaviour coming from? See below: [r...@openlb38-1] ~ # tcpdump tcpdump: listening on em0, link-type EN10MB ^C 198 packets received by filter 0 packets dropped by kernel aah, 198 packets I couldn't see... hm hm... Could be blocked on looking up hostnames. Try tcpdump -n
usb memory stick failing
Hi, I recently attempted an installation from a usb memory stick, where installation of xfont47.tgz failed consistently due to crc error[0]. The stick was prepared following steps from OBSD FAQ[1]. I recopied xfont47.tgz file to the stick, and confirmed (or so I thought) that the source and new copy of this file were identical using cmp(1). Restarting the install bombed on the same file. So I stuck the stick in my source computer and mounted it and ran md5(1) on it. Sure enough the checksum is different from the source. I did a umount(8) and a mount(8), then ran md5(1) again, and this time yet a new value was reported. While mounted, running md5(1) again reports the same value -- i assume this is because the file is cached at this point -- explaining why cmp(1) initially failed to raise a flag. Every umount(8), mount(8) and md5(1) gives a new result: $ md5 /mnt/umass/usr/build/rel/xfont47.tgz MD5 (/mnt/umass/usr/build/rel/xfont47.tgz) = 75e6065782783455bfcf912ec8822ec3 $ sudo umount /mnt/umass/ $ sudo mount /dev/sd0a /mnt/umass/ $ md5 /mnt/umass/usr/build/rel/xfont47.tgz MD5 (/mnt/umass/usr/build/rel/xfont47.tgz) = 3912b5506b63c105a945fe7535d6e70e $ md5 /mnt/umass/usr/build/rel/xfont47.tgz MD5 (/mnt/umass/usr/build/rel/xfont47.tgz) = 3912b5506b63c105a945fe7535d6e70e $ sudo umount /mnt/umass/ $ sudo mount /dev/sd0a /mnt/umass/ $ md5 /mnt/umass/usr/build/rel/xfont47.tgz MD5 (/mnt/umass/usr/build/rel/xfont47.tgz) = 315233c616a824057b2558d678aed2c4 This is a bit of an odd behavior to me. Does anyone have an explanation for this? Incidentally, should the install script not catch the error condition and warn the user of the incomplete install at the next prompt? --patrick [0] http://sidster.com/gallery/misc/2010/crc-error.DSC00190.JPG [1] http://www.openbsd.org/faq/faq14.html#flashmemLive
Re: Ordering CDs in Europe becoming increasingly difficult
ropers wrote: On 22 May 2010 11:01, Lyn Done wrote: Sorry that you have concerns about buying from us. We have moved to a new, more secure ecommerce system which is compliant under PCI-DSS, so that you need have no concerns about the security of entering your personal or card details. We were unable to transfer across the information from the old system, so that yes, you can use your previous details on the new site or different details - you can change this information at any time in the future. Once you enter any information on the login page, then it forces an https call, so the site is totally secure with your details. I admit that I'm a bit ignorant here, as I've myself never administered an SSL web site, but I am not convinced by this: Doesn't the above just mean that it switches to HTTPS *after* transmitting my information in the clear? Or can someone else explain if and/or how the above is sane? Please ignore the guess work.
Re: usb memory stick failing
patrick keshishian wrote: I recently attempted an installation from a usb memory stick, where installation of xfont47.tgz failed consistently due to crc error[0]. The stick was prepared following steps from OBSD FAQ[1]. I recopied xfont47.tgz file to the stick, and confirmed (or so I thought) that the source and new copy of this file were identical using cmp(1). Try renaming the failed file but leave it on the media, then make a fresh copy to the stick. That way you ensure that the (known) bad spots are left unused. Restarting the install bombed on the same file. So I stuck the stick in my source computer and mounted it and ran md5(1) on it. Sure enough the checksum is different from the source. I did a umount(8) and a mount(8), then ran md5(1) again, and this time yet a new value was reported. While mounted, running md5(1) again reports the same value -- i assume this is because the file is cached at this point -- explaining why cmp(1) initially failed to raise a flag. Every umount(8), mount(8) and md5(1) gives a new result: And, lesson learned here I hope, always unmount/mount a media to improve the odds of catching an error when verifying against the original. It is as you suspect very likely that all or some of your copy was cached the second time you accessed it. $ md5 /mnt/umass/usr/build/rel/xfont47.tgz MD5 (/mnt/umass/usr/build/rel/xfont47.tgz) = 75e6065782783455bfcf912ec8822ec3 $ sudo umount /mnt/umass/ $ sudo mount /dev/sd0a /mnt/umass/ $ md5 /mnt/umass/usr/build/rel/xfont47.tgz MD5 (/mnt/umass/usr/build/rel/xfont47.tgz) = 3912b5506b63c105a945fe7535d6e70e $ md5 /mnt/umass/usr/build/rel/xfont47.tgz MD5 (/mnt/umass/usr/build/rel/xfont47.tgz) = 3912b5506b63c105a945fe7535d6e70e $ sudo umount /mnt/umass/ $ sudo mount /dev/sd0a /mnt/umass/ $ md5 /mnt/umass/usr/build/rel/xfont47.tgz MD5 (/mnt/umass/usr/build/rel/xfont47.tgz) = 315233c616a824057b2558d678aed2c4 This is a bit of an odd behavior to me. Does anyone have an explanation for this? Yes, and you are clueing yourself in on it - the stick is failing. :-) I'd recommend tossing the stick out the window and getting yourself a new one. Now, if that one fails too in a similar way, then you have a problem... Incidentally, should the install script not catch the error condition and warn the user of the incomplete install at the next prompt? Provided the install script saves state, which I don't know if it does. Someone else should probably comment on that. :-) Regards, /Benny -- internetlabbet.se / work: +46 8 551 124 80 / Words must Benny Lvfgren/ mobile: +46 70 718 11 90 / be weighed, / fax:+46 8 551 124 89/not counted. /email: benny -at- internetlabbet.se
Re: tcpdump no output on stdout
Hi Damien, Am 09.07.10 08:16, schrieb Damien Miller: On Thu, 8 Jul 2010, Marian Hettwer wrote: Hi all, I'm experiencing a rather strang behaviour with tcpdump on OpenBSD 4.7 i386 running on a vmware esx vsphere 4. My tcpdump gives no output at all on stdout, but if I use the very same command with -w foobar it actually does dump packages. I know that esx server are probably not supported, however, does anybody know a work around this behavior? Or out of curiosity, where is this behaviour coming from? See below: [r...@openlb38-1]~ # tcpdump tcpdump: listening on em0, link-type EN10MB ^C 198 packets received by filter 0 packets dropped by kernel aah, 198 packets I couldn't see... hm hm... Could be blocked on looking up hostnames. Try tcpdump -n Yeah, it was a faulty entry in my resolv.conf. My box couldn't resolve names. Using tcpdump -n or fixing resolv.conf fixed my issue. Thanks, Marian
need help --reboot of newly installed OpenBSD 4.7 on Toshiba Libretto 70 neds in integet divide fault trap
Hello all, following situation: I installed OpenBSD 4.7 on Toshiba Libretto 70 4.7 using hard drive donor installation method, i.e. I used the original Libretto harddrive and installed OpenBSD 4.7 from install47.iso on it using different machine. Space is left on the disk for hybernation information to be saved. Once installed back to Libretto 70 I am able to boot but only up to following point (last 3 messages from dmesg and message from kernel): vscsi0 at root scsibus0 at vscsii0: 256 targets softraid0 at root kernel: integer divide fault trap, code=0 Stopped at cpu_switchto+0x76
Re: usb memory stick failing
On Friday 09 July 2010 02:54:15 patrick keshishian wrote: Hi, I recently attempted an installation from a usb memory stick, where installation of xfont47.tgz failed consistently due to crc error[0]. The stick was prepared following steps from OBSD FAQ[1]. I recopied xfont47.tgz file to the stick, and confirmed (or so I thought) that the source and new copy of this file were identical using cmp(1). [snip] The stick is bad. Don't be foolish and try to use it for anything that you care about at all--it isn't worth it. Get a new one. -- STeve Andre' Disease Control Warden Dept. of Political Science Michigan State University A day without Windows is like a day without a nuclear incident.
need help --reboot of newly installed OpenBSD 4.7 on Toshiba Libretto 70 neds in integet divide fault trap
Sorry, previous e-mail was sent faster than it should have been. Hello all, following situation: I installed OpenBSD 4.7 on Toshiba Libretto 70 4.7 using hard drive donor installation method, i.e. I used the original Libretto harddrive and installed OpenBSD 4.7 from install47.iso on it using different machine. Space is left on the disk for hybernation information to be saved. Once installed back to Libretto 70 I am able to boot but only up to following point (last 3 messages from dmesg and message from kernel): vscsi0 at root scsibus0 at vscsii0: 256 targets softraid0 at root kernel: integer divide fault trap, code=0 Stopped at cpu_switchto+0x76popl %ebx ddb So, any ideas what should I do from there on ? Help is much appreciated. /wbr Ariel Burbaickij
Presentaciones Efectivas y Comunicación de Alto Impacto. pu blicidad
[demime 1.01d removed an attachment of type image/jpeg which had a name of natajador.jpg] [demime 1.01d removed an attachment of type image/jpeg which had a name of najustadora.jpg]
Re: Ordering CDs in Europe becoming increasingly difficult
We have made it very clear on our website. If you wish to avoid the account creation/order process please email us your order directly. We're working on the other issues. Thanks,
Re: Music + NFS == skipping?
On Mon, 2010-07-05 at 08:28 +0200, Alexandre Ratchov wrote: On Sat, Jul 03, 2010 at 02:53:01AM -0400, Corey J. Bukolt wrote: Hi list, So far I have been able to get OpenBSD running nicely as my primary desktop with the only hitch being my NFS mounted music skips occasionally. I'm pretty sure it's not the NFS server since my Linux laptop has the same setup and doesn't skip. I'm using mpd to play the music, with a gigbit connection leading to a dedicated file server which has practically no load. Already gone over mount_nfs(8) and tried a whole bunch of different options with no luck. One point of interest is that it seems the longer I keep the share mounted, the worse it gets starting with mildy iritating (0-1 skips per song) to very annoying (4 or more skips per song) and after remounting it resets for about an hour. The obvious solution would be to just copy my music locally, but I would very much rather not. I use NFS for music since years it always worked, but the server is running OpenBSD in my case. I guess your NFS server makes short pauses that cause the player to not produce audio samples fast enough. If this is it true, how could my Linux clients be unaffected? could you try using mpg321 and/or ogg123 on NFS mounted files to see if skips occur? If so, does using aucat in server mode help ? Using both mpg321 and ogg123 still result in skipping. I have always used aucat in server mode. Using mpg321/ogg123/mpd without aucat results in less skipping, but still enough to be pretty annoying. (Apologies for taking so long to reply, real world distractions along with a shitty ISP have made checking my email impossible.) -- Corey
Re: need help --reboot of newly installed OpenBSD 4.7 on Toshiba Libretto 70 neds in integet divide fault trap
OK, here is trace: cpu_switchto(d08b654,d0c19000,d0a3ef18,d037af21,d0c19000) at cpu_switchto+0x76 cfdata(d0c19000,d0c19000,0,0,d15e8984) at cfdata+0x45e4 config_attach(0,d08640a4,0,0,d0752477) at config_attach+0xfd config_rootfound(d07524c0,0,d0a3efa0,d03655e1,2) at config_rootfound+0x27 main(0,0,0,0,0) at main+0x4bd here is ps: PID PPID PGRPUID S FLAGS WAIT COMMAND 8 00 0 20x100200 pfpurge 7 00 0 20x100200 pcic0,0,1 6 00 0 20x100200 pcic0,0,0 5 00 0 20x100200 apm0 4 00 0 20x100200 syswq 3 00 0 20x100200 idle0 2 00 0 20x100200 kmthread *100 0 70 swapper 0 -1 0 0 3 0x80200 wdccmd swapper On Fri, Jul 9, 2010 at 11:54 AM, Rogier Krieger rkrie...@gmail.com wrote: On Fri, Jul 9, 2010 at 11:23, Ariel Burbaickij ariel.burbaic...@gmail.com wrote: So, any ideas what should I do from there on ? You'll probably get asked to provide the output of 'trace' and 'ps' before actually reporting this. If I'm not mistaken, panic messages tell you to do so. Regards, Rogier
Re: need help --reboot of newly installed OpenBSD 4.7 on Toshiba Libretto 70 neds in integet divide fault trap
Is there same problem with latest snapshot, is 4.6 booting normally? ... On Fri, Jul 9, 2010 at 11:23 AM, Ariel Burbaickij ariel.burbaic...@gmail.com wrote: Sorry, previous e-mail was sent faster than it should have been. Hello all, following situation: I installed OpenBSD 4.7 on Toshiba Libretto 70 4.7 using hard drive donor installation method, i.e. I used the original Libretto harddrive and installed OpenBSD 4.7 from install47.iso on it using different machine. Space is left on the disk for hybernation information to be saved. Once installed back to Libretto 70 I am able to boot but only up to following point (last 3 messages from dmesg and message from kernel): vscsi0 at root scsibus0 B at vscsii0: 256 targets softraid0 at root kernel: integer divide fault trap, code=0 Stopped at B B B B B B cpu_switchto+0x76 B B B B B B popl %ebx ddb So, any ideas what should I do from there on ? Help is much appreciated. /wbr Ariel Burbaickij -- bIf youbre good at something, never do it for free.bB bThe Joker
Re: need help --reboot of newly installed OpenBSD 4.7 on Toshiba Libretto 70 neds in integet divide fault trap
I do not know as I did not test it with 4.6. I would like to understand what happens here with 4.7 before looking for other options. /wbr Ariel Burbaickij On Fri, Jul 9, 2010 at 12:18 PM, Tomas Bodzar tomas.bod...@gmail.com wrote: Is there same problem with latest snapshot, is 4.6 booting normally? ... On Fri, Jul 9, 2010 at 11:23 AM, Ariel Burbaickij ariel.burbaic...@gmail.com wrote: Sorry, previous e-mail was sent faster than it should have been. Hello all, following situation: I installed OpenBSD 4.7 on Toshiba Libretto 70 4.7 using hard drive donor installation method, i.e. I used the original Libretto harddrive and installed OpenBSD 4.7 from install47.iso on it using different machine. Space is left on the disk for hybernation information to be saved. Once installed back to Libretto 70 I am able to boot but only up to following point (last 3 messages from dmesg and message from kernel): vscsi0 at root scsibus0 at vscsii0: 256 targets softraid0 at root kernel: integer divide fault trap, code=0 Stopped at cpu_switchto+0x76popl %ebx ddb So, any ideas what should I do from there on ? Help is much appreciated. /wbr Ariel Burbaickij -- If youre good at something, never do it for free. The Joker
Re: Thanks for the ACPI suspend+resume work!
On 2010-07-09, Antoine Jacoutot ajacou...@bsdfrog.org wrote: On Fri, 9 Jul 2010, Josh Rickmar wrote: A big thank you to everyone who has been working on the ACPI code! Suspend and resume now work nearly flawlessly on my Thinkpad T500 (dmesg below) on the July 8 current snapshot. The only thing I've noticed is that my iwn(4) wifi connection doesn't automaticaly reconnet, but that's minor. Also, wsdisplay seems unhappy. After resume on my T60, X11 comes back but I don't see any output in the console, even though commands I type get executed. I'd also like to thank you all for this work! Best regards, Jona -- Worse is better Richard P. Gabriel
/boot broken on latest snapshot ?
Hi, I just upgraded to the very latest snapshot(9.7. 1:50) on i386. Now my system does not boot anymore. The only thing I get is: Using drive 0, partition 3. Loading... [cursor sits here] As I understand the boot process, the PBR boot loader has found /boot, verified the magic number and handed control over to the code loaded from /boot. I already booted the latest bsd.rd via pxeboot and did the following: # fdisk -u wd0 # mount /dev/wd0a /mnt # /mnt/mdec/installboot -v /mnt/boot /usr/mdev/biosboot wd0 this did not change anything. Same symptoms as before. Next thing I'll try is to boot normal bsd kernel via pxeboot and do installboot again from there. To me this looks like /boot is broken. Has anyone else this problem? Regards, Christopher
Re: Ordering CDs in Europe becoming increasingly difficult
On Fri, Jul 09, 2010 at 01:34:26AM +0200, Floor Terra wrote: I admit that I'm a bit ignorant here, as I've myself never administered an SSL web site, but I am not convinced by this: Doesn't the above just mean that it switches to HTTPS *after* transmitting my information in the clear? Or can someone else explain if and/or how the above is sane? From a quick glance at the website: You get an empty form delivered over plain http. The form submits to an https page. This means the content of the form is only transmitted over https. Unless the attacker substitutes the page with another one that can send your password wherever he wants...
Re: Odd hw.setperf quirk
On Fri, Jul 9, 2010 at 12:42 AM, Joe Gidi j...@entropicblur.com wrote: hw.cpuspeed=2493 hw.setperf=99 None of my other machines have ever shown hw.setperf=99; they always boot up at 100. It's not a problem, just a little quirk. The machine runs fine and SpeedSteps properly with apmd. Running 'sysctl hw.setperf=100' bumps up hw.cpuspeed to a displayed value of 2500. Has anyone seen this kind of behavior before? It's fairly common. We measure cpuspeed using two different techniques. One actually measures the speed, that's the number you see in dmesg and at first. Then to reflect setperf changes, we just ask the cpu how fast it thinks it's running which leads to nice round numbers. Same with the initial setperf value. We measured your cpu as running slightly slower than max and scale setperf accordingly.
Re: /boot broken on latest snapshot ?
On 07/09/10 14:19, Christopher Zimmermann wrote: Hi, I just upgraded to the very latest snapshot(9.7. 1:50) on i386. Now my system does not boot anymore. The only thing I get is: Using drive 0, partition 3. Loading... [cursor sits here] As I understand the boot process, the PBR boot loader has found /boot, verified the magic number and handed control over to the code loaded from /boot. I already booted the latest bsd.rd via pxeboot and did the following: # fdisk -u wd0 # mount /dev/wd0a /mnt # /mnt/mdec/installboot -v /mnt/boot /usr/mdev/biosboot wd0 this did not change anything. Same symptoms as before. Next thing I'll try is to boot normal bsd kernel via pxeboot and do installboot again from there. ok. Booting via pxeboot still works with boot hd0a:/bsd running installboot from there didn't help either. Next thing I tried was a complete reinstall of the latest snapshot on an alternate root via pxeboot. Install worked find, booting from harddist still doesn't work. pxeboot works fine. There is something broken in latest snapshots /boot for sure. The system is a ThinkPad T43p. I don't have a dmesg to provide at hand, sorry. Christopher
Re: Music + NFS == skipping?
On Jul 09 04:56:38, Corey J. Bukolt wrote: On Mon, 2010-07-05 at 08:28 +0200, Alexandre Ratchov wrote: On Sat, Jul 03, 2010 at 02:53:01AM -0400, Corey J. Bukolt wrote: Hi list, So far I have been able to get OpenBSD running nicely as my primary desktop with the only hitch being my NFS mounted music skips occasionally. I'm pretty sure it's not the NFS server since my Linux laptop has the same setup and doesn't skip. I'm using mpd to play the music, with a gigbit connection leading to a dedicated file server which has practically no load. Already gone over mount_nfs(8) and tried a whole bunch of different options with no luck. What NFS server is it? How exactly is the NFS share exported on the server side? How exactly is the share mounted on your clients?
Localizando POTENCIALES CLIENTES
No dude en consultarnos ...
Re: usb memory stick failing
On Friday 09 July 2010 08:54:15 patrick keshishian wrote: Hi, I recently attempted an installation from a usb memory stick, where installation of xfont47.tgz failed consistently due to crc error[0]. The stick was prepared following steps from OBSD FAQ[1]. I recopied xfont47.tgz file to the stick, and confirmed (or so I thought) that the source and new copy of this file were identical using cmp(1). Restarting the install bombed on the same file. So I stuck the stick in my source computer and mounted it and ran md5(1) on it. Sure enough the checksum is different from the source. I did a umount(8) and a mount(8), then ran md5(1) again, and this time yet a new value was reported. While mounted, running md5(1) again reports the same value -- i assume this is because the file is cached at this point -- explaining why cmp(1) initially failed to raise a flag. Every umount(8), mount(8) and md5(1) gives a new result: In adition to previous answers: http://www.undeadly.org/cgi?action=articlesid=20100404103735 gr Renzo
Re: Thanks for the ACPI suspend+resume work!
hello joshua, misc@, sorry for faking your message, I am on digest... joshua_rick...@eumx.net (Josh Rickmar), 2010.07.09 (Fri) 15:31 (CEST): A big thank you to everyone who has been working on the ACPI code! +1 Suspend and resume now work nearly flawlessly on my Thinkpad T500 (dmesg Unfortunately not on my IBM ThinkPad T30 (dmesg below), but getting closer: Until today's snapshot zzz caused display to go partly (!) off and console reporting devices (the way they are reported when inserted, blue lines, white text). I would have to revert to an old snapshot to get the exact details. After that nothing would happen unless I hit the on/off button (yes, I've tried every fn+F[1-12] combination) which made the half moon led (suspend indicator) start blinking (what it did in the good old non-acpi days for some seconds) and the hdd led was constantly on. Only a four second push of on/off remedied that. Now with OpenBSD 4.7-current (GENERIC) #108: Fri Jul 9 01:09:34 MDT 2010 zzz turns the notebook off darn fast (faster then in pre-acpi times) but the display still shows remains of the last image and the backlight does not go off if I close the lid. No console messages shown anymore. No suspend indicator blinking. Once I press on/off, things return, I can write for a couple of seconds, then the hdd led goes constantly on and everything's dead. Remedy as above. One of the five tries gave me the following: wd0(pciide0:0.0): timeout type: ata c_bcount: 16384 c_skip: 0 pciide0:0.0: bus-master dma error: missing interrupt, status 0x1 I got a spare T30 if need be. Until now I never noticed the mem address conflict line. Bye, Marcus OpenBSD 4.7-current (GENERIC) #108: Fri Jul 9 01:09:34 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz (GenuineIntel 686-class) 1.20 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT, PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR real mem = 1072721920 (1023MB) avail mem = 1045188608 (996MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 06/12/03, BIOS32 rev. 0 @ 0xfd7e0, SMBIOS rev. 2.31 @ 0xe0010 (48 entries) bios0: vendor IBM version 1IET66WW (2.05 ) date 06/12/2003 bios0: IBM 2366EG9 acpi0 at bios0: rev 2 acpi0: tables DSDT FACP SSDT ECDT TCPA BOOT acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) PCI0(S4) PCI1(S4) DOCK(S4) USB0(S3) USB1(S3) USB2(S3) AC97(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits \\_SB_.PCI0 post-crs: 0 \\_SB_.PCI0 post-bbn: 0, 0 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (AGP_) acpiprt2 at acpi0: bus 2 (PCI1) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, FVS, 2000, 1200 MHz acpipwrres0 at acpi0: PUBS acpitz0 at acpi0: critical temperature 94 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model IBM-COMPATIBLE serial 20884 type LION oem GW acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit offline acpithinkpad0 at acpi0 acpidock0 at acpi0: DOCK not docked (0) bios0: ROM list: 0xc/0x1 0xe/0x1 cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82845 Host rev 0x04 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xe000, size 0x400 ppb0 at pci0 dev 1 function 0 Intel 82845 AGP rev 0x04 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M7 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: irq 11 drm0 at radeondrm0 uhci0 at pci0 dev 29 function 0 Intel 82801CA/CAM USB rev 0x02: irq 11 uhci1 at pci0 dev 29 function 1 Intel 82801CA/CAM USB rev 0x02: irq 11 uhci2 at pci0 dev 29 function 2 Intel 82801CA/CAM USB rev 0x02: irq 11 ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x42 pci2 at ppb1 bus 2 mem address conflict 0x5000/0x1000 mem address conflict 0x5100/0x1000 cbb0 at pci2 dev 0 function 0 TI PCI1520 CardBus rev 0x01: irq 11 cbb1 at pci2 dev 0 function 1 TI PCI1520 CardBus rev 0x01: irq 5 fxp0 at pci2 dev 8 function 0 Intel PRO/100 VE rev 0x42, i82562: irq 11, address 00:09:6b:3f:67:a8 inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0xb0 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 6 device 0 cacheline 0x8, lattimer 0xb0 pcmcia1 at cardslot1 ichpcib0 at pci0 dev 31 function 0 Intel 82801CAM LPC rev 0x02 pciide0 at pci0 dev 31 function 1 Intel 82801CAM IDE rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: WDC WD3200BEVE-00A0HT0 wd0: 16-sector PIO, LBA48, 305245MB, 625142448 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2
Re: slow down dd - how?
f*ckyeah, it worked:) Something like http://zakalwe.fi/~shd/foss/pmr/ might work
Re: slow down dd - how?
On Thu, Jul 08, 2010 at 06:52:26PM +0200, jozsi.avad...@gmail.com wrote: How can I slow down dd? I don't want to slow down the pc, when generating a big file [~40 GByte]. Does ionice work properly? Thank you for any help! :\ Look for a small utility called disknice and written by Tedu... -- Olivier Cherrier - Symacx.com mailto:o...@symacx.com
Re: need help --reboot of newly installed OpenBSD 4.7 on Toshiba Libretto 70 neds in integet divide fault trap
On Fri, Jul 09, 2010 at 11:20:51AM +0200, Ariel Burbaickij wrote: Hello all, following situation: I installed OpenBSD 4.7 on Toshiba Libretto 70 4.7 using hard drive donor installation method, i.e. I used the original Libretto harddrive and installed OpenBSD 4.7 from install47.iso on it using different machine. Space is left on the disk for hybernation information to be saved. Once installed back to Libretto 70 I am able to boot but only up to following point (last 3 messages from dmesg and message from kernel): vscsi0 at root scsibus0 at vscsii0: 256 targets softraid0 at root kernel: integer divide fault trap, code=0 Stopped at cpu_switchto+0x76 My Compaq 433 20MB upgraded to 486DX2 stop one instruction before that. So it's probably unrelated. http://eintr.net/temporaire/GENERIC.47.issue.full.txt I thought it was a combinaison of low memory (originaly 12MB and then 20MB) and the archaic hardware being left behind so I haven't made an proper bug yet. But the machine works with a slimed-down 4.7 kernel. (One where every non-necessary driver is commented.) Good luck. Me, I run that machine with 4.3 because I sometime needs feature of pccom that aren't in com. -- Hugo Villeneuve
FELICITATION!!!!!!!!!!!!!!!FELICITATION!!!!!!!!!!!HEUREUX GAGNANTS!!!!!!!!!!!!!!!!!!!
Trhs cher(e) Monsieur / Madame A l'occasion de l'expansion de ses activitis, la sociiti d'ipargne et de cridit CRIDIT AGRICOLE FINANCE a organisi une tombola concernant toutes personnes risidant en Ctte d'Ivoire et toutes personnes vivant hors de la Ctte d'ivoire ayant une bonte ilectronique. -Le 1er prix est deux jumelies villa d'une valeur de 190 000 Euros situie ` la Rivera Golf ( Abidjan). - Le second prix , la somme de 130 000 Euros , - Le 3hme prix est un montant de 80 000 euros , - Le 4hme prix un montant de 45 000 Euros - Le 5hme prix un montant de 12 500 Euros. A l'issue de cette tombola, vous avez iti tiri ` la seconde place donc l'heureux binificiaire de le somme de 130 000 Euros Si vous avez regus ce message alors vous jtes la personne correspondante ` l'adresse ilectronique tirie au sort et qui fait de vous l'heureux binificiaire des 130 000 Euros. Nous vous prions de nous adresser un message de confirmation en mentionnant votre numiro de code qui est le DB/051/988 sans oublier de nous donner les informations suivantes: Votre nom prinom, adresse complhte ,profession , afin de vous mettre en contact avec l'huissier qui a eu ` superviser l'opiration CRIDIT AGRICOLE FINANCE-Service marketingMr ADRIEN KOUAKOU Directeur Marketing.
Lettre d'information Akiliweb
Entrez dans le monde des riseaux sociaux Vous connaissez Facebook, voire Twitter, mais peut-jtre pas le potentiel que ces riseaux reprisentent pour votre entreprise ? Si vous souhaitez briller en sociiti et dans vos affaires, cette silection d?articles vous sauvera la vie. Comprendre Twitter ( http://akiliweb.fr/blog/e-reputation/reseaux-sociaux-comprendre-twitter.html; ) Utiliser Twitter intelligemment ( http://akiliweb.fr/blog/referencement/limportance-des-reseaux-sociaux-se-ref erencer-sur-twitter.html ) 6 fausses idies sur le Community Management ( http://akiliweb.fr/blog/community-management/6-fausses-idees-sur-le-communit y-management.html ) 10 conseils pour faire participer votre communauti ( http://akiliweb.fr/blog/community-management/10-conseils-pour-faire-particip er-votre-communaute.html ) Twitter et Facebook, deux buts diffirents ( http://akiliweb.fr/blog/community-management/twitter-et-facebook-deux-buts-d ifferents.html ) Riseaux sociaux : lequel choisir ? ( http://akiliweb.fr/blog/community-management/reseaux-sociaux-lesquels-choisi r.html ) ( http://www.akiliweb.fr/formulaire-de-contact.html; ) E-riputation ( http://www.akiliweb.fr/solutions/e-reputation/reputation-en-ligne.html; ) Protiger Promouvoir Surveiller Rifirencement ( http://www.akiliweb.fr/solutions/referencement/agence-de-referencement-webma rting.html ) SEO / SEA / SEM E-marketing ( http://www.akiliweb.fr/solutions/e-marketing/agence-de-web-marketing.html; ) Criation de campagnes interactives Criation ( http://www.akiliweb.fr/solutions/creation/agence-de-communication-plurimedia .html ) Communication online - offline ( http://www.akiliweb.fr/solutions/referencement/agence-de-referencement-webma rting.html ) ( http://www.akiliweb.fr/solutions/e-marketing/agence-de-web-marketing.html; ) Akiliweb accompagne les marques pour assurer leur visibiliti sur les midia online et offline. ( http://www.akiliweb.fr/solutions/creation/agence-de-communication-plurimedia .html ) Akiliweb crie des campagnes aptes ` ginirer du bouche ` oreille positif (buzz et viral marketing). ( http://www.akiliweb.fr/solutions/e-marketing/agence-de-web-marketing.html; ) Akiliweb assure votre notoriiti, votre positionnement (SEO SEM) et vous garantit un retour sur investissement (ROI). ( http://www.akiliweb.fr/solutions/referencement/agence-de-referencement-webma rting.html ) Akiliweb prend en charge votre notoriiti et votre influence sur Internet. ( http://www.akiliweb.fr/solutions/e-reputation/reputation-en-ligne.html; ) ( http://www.akiliweb.fr/formulaire-de-contact.html; ) 61, rue du XXhme Corps Amiricain 57000 Metz +33 (0)3 87 62 02 32 Visitez notre site ( http://www.akiliweb.fr; ) ( http://www.akiliweb.fr/formulaire-de-contact.html; ) Nos devis sont personnalisis, en fonction de votre budget et de vos besoins. Nos experts vous ripondent dans les meilleurs dilais. ( http://www.facebook.com/pages/Akiliweb-Agence-Web-Marketing-Metz/11269945209 9707 ) ( http://twitter.com/akiliweb; ) Si vous ne voulez plus jamais recevoir cette lettre d'information, cliquez ici. [demime 1.01d removed an attachment of type image/jpeg which had a name of =?iso-8859-1?Q?augmentez2.jpg?=] [demime 1.01d removed an attachment of type image/png which had a name of =?iso-8859-1?Q?banniere-akili2.png?=] [demime 1.01d removed an attachment of type image/jpeg which had a name of =?iso-8859-1?Q?convertissez2.jpg?=] [demime 1.01d removed an attachment of type image/png which had a name of =?iso-8859-1?Q?demarquez-vous.png?=] [demime 1.01d removed an attachment of type image/png which had a name of =?iso-8859-1?Q?devis2.png?=] [demime 1.01d removed an attachment of type image/jpeg which had a name of =?iso-8859-1?Q?find-us-on-facebook-akiliweb.jpg?=] [demime 1.01d removed an attachment of type image/jpeg which had a name of =?iso-8859-1?Q?follow-us-on-twitter-akiliweb.jpg?=] [demime 1.01d removed an attachment of type image/png which had a name of =?iso-8859-1?Q?nouscontacter2.png?=] [demime 1.01d removed an attachment of type image/png which had a name of =?iso-8859-1?Q?picto-med-akiliweb-emarketing.png?=] [demime 1.01d removed an attachment of type image/png which had a name of =?iso-8859-1?Q?picto-med-akiliweb-e-reputation.png?=] [demime 1.01d removed an attachment of type image/png which had a name of =?iso-8859-1?Q?picto-med-akiliweb-referencement.png?=] [demime 1.01d removed an attachment of type image/png which had a name of =?iso-8859-1?Q?pictos-med-akiliweb-creation.png?=]
Re: need help --reboot of newly installed OpenBSD 4.7 on Toshiba Libretto 70 neds in integet divide fault trap
On 9 July 2010 10:20, Ariel Burbaickij ariel.burbaic...@gmail.com wrote: Hello all, following situation: I installed OpenBSD 4.7 on Toshiba Libretto 70 4.7 using hard drive donor installation method, i.e. I used the original Libretto harddrive and installed OpenBSD 4.7 from install47.iso on it using different machine. Space is left on the disk for hybernation information to be saved. Once installed back to Libretto 70 I am able to boot but only up to following point (last 3 messages from dmesg and message from kernel): vscsi0 at root scsibus0 at vscsii0: 256 targets softraid0 at root kernel: integer divide fault trap, code=0 Stopped at cpu_switchto+0x76 Hi, This is a known problem with the Libretto 70 - see PR6052 http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=6052 The ramdisks boot fine - but their is a subtle problem that has been around since OpenBSD 4.3 and 4.4, and I have been to busy (and lazy) to narrow down the bug that is causing this issue. The Libretto happily runs OpenBSD 4.3 :~) Thanks Fred
Re: need help --reboot of newly installed OpenBSD 4.7 on Toshiba Libretto 70 neds in integet divide fault trap
Googling for following string cpu_switchto OpenBSD libretto shows that it is fairly common, it happened to several people. Actually, I gleaned the code -- they pretty much are related and it is strange place to crash with the message about integer division fault. What is the procedure to open bug report in OpenBSD? /wbr Ariel Burbaickij On Fri, Jul 9, 2010 at 7:07 PM, Hugo Villeneuve harpa...@jwales.eintr.net wrote: On Fri, Jul 09, 2010 at 11:20:51AM +0200, Ariel Burbaickij wrote: Hello all, following situation: I installed OpenBSD 4.7 on Toshiba Libretto 70 4.7 using hard drive donor installation method, i.e. I used the original Libretto harddrive and installed OpenBSD 4.7 from install47.iso on it using different machine. Space is left on the disk for hybernation information to be saved. Once installed back to Libretto 70 I am able to boot but only up to following point (last 3 messages from dmesg and message from kernel): vscsi0 at root scsibus0 at vscsii0: 256 targets softraid0 at root kernel: integer divide fault trap, code=0 Stopped at cpu_switchto+0x76 My Compaq 433 20MB upgraded to 486DX2 stop one instruction before that. So it's probably unrelated. http://eintr.net/temporaire/GENERIC.47.issue.full.txt I thought it was a combinaison of low memory (originaly 12MB and then 20MB) and the archaic hardware being left behind so I haven't made an proper bug yet. But the machine works with a slimed-down 4.7 kernel. (One where every non-necessary driver is commented.) Good luck. Me, I run that machine with 4.3 because I sometime needs feature of pccom that aren't in com. -- Hugo Villeneuve
Re: Music + NFS == skipping?
I guess your NFS server makes short pauses that cause the player to not produce audio samples fast enough. If this is it true, how could my Linux clients be unaffected? Why don't you figure that out.
routing problem
Given the following: [internet - DSL Modem - 192.168.0.1]--[bge0:192.168.0.254 - OpenBSD 4.7 - em0:10.40.60.1]--[Laptop - DHCP] net.inet.ip.forwarding=1 How can I get my laptop to reach the internet? I kind of figured that all I would have to do is have forwarding enabled on the OpenBSD box without specifying any additional routing instructions. I can ping my laptop from the OpenBSD box. Since my default gateway is effectively 192.168.0.1, I am puzzled as to why I cannot ping that address from the laptop. What could I possibly be missing? I'm tearing my hair out . Thanks, Matt
Re: routing problem
On Fri, Jul 09, 2010 at 02:19:42PM -0700, Matt S wrote: Given the following: [internet - DSL Modem - 192.168.0.1]--[bge0:192.168.0.254 - OpenBSD 4.7 - em0:10.40.60.1]--[Laptop - DHCP] net.inet.ip.forwarding=1 How can I get my laptop to reach the internet? I kind of figured that all I would have to do is have forwarding enabled on the OpenBSD box without specifying any additional routing instructions. I can ping my laptop from the OpenBSD box. Since my default gateway is effectively 192.168.0.1, I am puzzled as to why I cannot ping that address from the laptop. What could I possibly be missing? I'm tearing my hair out . Simply because the DSL modem has no idea where 10.40.60.1 is and sends it down the DSL pipe. You need to add a route on the modem for this network pointing to you OpenBSD box. If not possible have a look at bridge(4) -- :wq Claudio
Re: routing problem
On Fri, Jul 09, 2010 at 02:19:42PM -0700, Matt S wrote: Given the following: [internet - DSL Modem - 192.168.0.1]--[bge0:192.168.0.254 - OpenBSD 4.7 - em0:10.40.60.1]--[Laptop - DHCP] net.inet.ip.forwarding=1 How can I get my laptop to reach the internet? I kind of figured that all I would have to do is have forwarding enabled on the OpenBSD box without specifying any additional routing instructions. I can ping my laptop from the OpenBSD box. Since my default gateway is effectively 192.168.0.1, I am puzzled as to why I cannot ping that address from the laptop. What could I possibly be missing? I'm tearing my hair out . The modem has no route to 10.40.60.0/[whatever your netmask is, perhaps you should have included enough information] It will reply to this mysterious internet where its default route points. This configuration is not guaranteed to work even if you add a static route in the modem, since it may not nat source addresses not within 192.168.0.0/[whatever netmask it is]. It's probably easiest to nat connections from 10.40.60.1/[...] on the openbsd box.
Re: /boot broken on latest snapshot ?
On 2010-07-09 14:01:41, Christopher Zimmermann wrote: On 07/09/10 14:19, Christopher Zimmermann wrote: Hi, I just upgraded to the very latest snapshot(9.7. 1:50) on i386. Now my system does not boot anymore. The only thing I get is: Using drive 0, partition 3. Loading... [cursor sits here] As I understand the boot process, the PBR boot loader has found /boot, verified the magic number and handed control over to the code loaded from /boot. I already booted the latest bsd.rd via pxeboot and did the following: # fdisk -u wd0 # mount /dev/wd0a /mnt # /mnt/mdec/installboot -v /mnt/boot /usr/mdev/biosboot wd0 this did not change anything. Same symptoms as before. Next thing I'll try is to boot normal bsd kernel via pxeboot and do installboot again from there. ok. Booting via pxeboot still works with boot hd0a:/bsd running installboot from there didn't help either. Next thing I tried was a complete reinstall of the latest snapshot on an alternate root via pxeboot. Install worked find, booting from harddist still doesn't work. pxeboot works fine. There is something broken in latest snapshots /boot for sure. The system is a ThinkPad T43p. I don't have a dmesg to provide at hand, sorry. I see this on my laptop too. Building /boot built from -current source and source from Jul 1 (before the last change to boot) yields the same result. Perhaps a gcc4 issue? OpenBSD 4.7-current (GENERIC) #14: Fri Jul 9 13:08:16 PDT 2010 jo...@flint.joshe.fake:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Celeron(R) M processor 1.40GHz (GenuineIntel 686-class) 1.40 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF real mem = 804540416 (767MB) avail mem = 781402112 (745MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 06/29/05, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 0xf8cb0 (61 entries) bios0: vendor Dell Computer Corporation version A17 date 06/29/2005 bios0: Dell Computer Corporation Inspiron 600m acpi0 at bios0: rev 0 acpi0: tables DSDT FACP acpi0: wakeup devices LID_(S3) PBTN(S4) PCI0(S3) USB0(S1) USB1(S1) USB2(S1) USB3(S1) MODM(S3) PCIE(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits \\_SB_.PCI0 post-crs: 0 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (AGP_) acpiprt2 at acpi0: bus 2 (PCIE) acpicpu0 at acpi0acpicpu0: struck PSS entry, core frequency equals last acpicpu0: struck PSS entry, core frequency equals last acpicpu0: struck PSS entry, core frequency equals last acpicpu0: struck PSS entry, core frequency equals last acpicpu0: struck PSS entry, core frequency equals last acpicpu0: struck PSS entry, core frequency equals last acpicpu0: struck PSS entry, core frequency equals last acpicpu0: struck PSS entry, core frequency equals last acpicpu0: invalid _PSS length : C3, C3, C2, C1 acpitz0 at acpi0: critical temperature 102 degC acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model DELL Y13385 serial 4344 type LION oem Sanyo acpibat1 at acpi0: BAT1 not present acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: PBTN acpibtn2 at acpi0: SBTN acpidock0 at acpi0: GDCK not docked (0) acpivideo0 at acpi0: VID_ acpivout0 at acpivideo0: TV__ acpivout1 at acpivideo0: CRT_ acpivout2 at acpivideo0: CRT2 acpivout3 at acpivideo0: LCD_ acpivout4 at acpivideo0: DVI_ bios0: ROM list: 0xc/0x1 cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82855PM Host rev 0x03 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xe000, size 0x800 ppb0 at pci0 dev 1 function 0 Intel 82855PM AGP rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M9 rev 0x02 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: irq 11 drm0 at radeondrm0 uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11 uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 11 uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 11 ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 11 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x81 pci2 at ppb1 bus 2 bce0 at pci2 dev 0 function 0 Broadcom BCM4401B1 rev 0x02: irq 11, address 00:14:22:b8:c3:99 bmtphy0 at bce0 phy 1: BCM4401 10/100baseTX PHY, rev. 0 cbb0 at pci2 dev 1 function 0 O2 Micro OZ711EC1 SmartCardBus rev 0x20: irq 11, CardBus support disabled cbb1 at pci2 dev 1 function 1 O2 Micro OZ711EC1 SmartCardBus rev 0x20: irq 11, CardBus support disabled ath0 at pci2 dev 3 function 0 Atheros AR5212 (IBM MiniPCI) rev 0x01: irq 11 ath0: AR5213A 5.9 phy 4.3 rf5112a 3.6, WOR01W, address 00:0e:9b:89:d7:ca cardslot0 at cbb0 slot 0 flags 0 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 pcmcia1 at cardslot1 ichpcib0 at pci0 dev 31
Re: routing problem
Am Fri, 9 Jul 2010 14:19:42 -0700 schrieb Matt S maschwa...@gmail.com: [internet - DSL Modem - 192.168.0.1]--[bge0:192.168.0.254 - OpenBSD 4.7 - em0:10.40.60.1]--[Laptop - DHCP] ping my laptop from the OpenBSD box. Since my default gateway is effectively 192.168.0.1, I am puzzled as to why I cannot ping that address from the laptop. Is the default route on your laptop set to 10.40.60.1 ? Does the DSL Modem know how to reach your 10.40.60.1 subnet?
Wichtige Information für die Geschäftsleitung
[demime 1.01d removed an attachment of type image/png which had a name of logo.png] [demime 1.01d removed an attachment of type image/png which had a name of trennzeichen.png] [demime 1.01d removed an attachment of type image/jpeg which had a name of news_juli_2010_clip_image002.jpg] [demime 1.01d removed an attachment of type image/png which had a name of impressum.png]
from pppoe(8) to pppoe(4) - how to run a script on IP address change?
Hello, I exchanged the hardware of my firewall/NAT-router from an old 400 MHz AMD K6-2 to an 1.6 GHz Intel Atom N270 CPU. I was using the user-space pppoe(8) driver to connect to my internet provider. On the new hardware, the connection was very slow with about 200kb/s instead of the usual 700kb/s. I found out that changing to the kernels pppoe(4) driver did the trick. What I am missing now is a way to run a script when the IP address on the pppoe interface changes. There seems to be no mechanism like the /etc/ppp/ppp.linkup script provided by the user-space pppoe(8) driver. It should be easy to add a cron job and check if the IP address has changed since the last run, but I thought there might be an easier way which I simply didn't found yet. Thanks, Christian
Re: routing problem
Thank you everyone. I cannot believe I forgot to set up that static route from the DSL modem back to the 10.40.60.0 network. Works like a charm. Next comes ipv6! On Jul 9, 2010, at 2:31 PM, Jussi Peltola pe...@pelzi.net wrote: On Fri, Jul 09, 2010 at 02:19:42PM -0700, Matt S wrote: Given the following: [internet - DSL Modem - 192.168.0.1]--[bge0:192.168.0.254 - OpenBSD 4.7 - em0:10.40.60.1]--[Laptop - DHCP] net.inet.ip.forwarding=1 How can I get my laptop to reach the internet? I kind of figured that all I would have to do is have forwarding enabled on the OpenBSD box without specifying any additional routing instructions. I can ping my laptop from the OpenBSD box. Since my default gateway is effectively 192.168.0.1, I am puzzled as to why I cannot ping that address from the laptop. What could I possibly be missing? I'm tearing my hair out . The modem has no route to 10.40.60.0/[whatever your netmask is, perhaps you should have included enough information] It will reply to this mysterious internet where its default route points. This configuration is not guaranteed to work even if you add a static route in the modem, since it may not nat source addresses not within 192.168.0.0/[whatever netmask it is]. It's probably easiest to nat connections from 10.40.60.1/[...] on the openbsd box.
Re: /boot broken on latest snapshot ?
2010/7/10, Josh Elsasser j...@elsasser.org: On 2010-07-09 14:01:41, Christopher Zimmermann wrote: On 07/09/10 14:19, Christopher Zimmermann wrote: Hi, I just upgraded to the very latest snapshot(9.7. 1:50) on i386. Now my system does not boot anymore. The only thing I get is: Using drive 0, partition 3. Loading... [cursor sits here] Same problem here. ThinkPad X60 Tablet, updated to a very fresh snapshot. Previous OS installation was pre-4.7. Booted installed kernel using USB stick (i.e. set device hd1a, boot) fine. dmesg and fdisk output as follows. Sorry for GMail mangling. :( -- WBR, Vadim Zhukov OpenBSD 4.7-current (GENERIC.MP) #186: Fri Jul 9 01:19:11 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) Duo CPU L2500 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM real mem = 1063677952 (1014MB) avail mem = 1036275712 (988MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 04/18/07, BIOS32 rev. 0 @ 0xfd690, SMBIOS rev. 2.4 @ 0xe0010 (64 entries) bios0: vendor LENOVO version 7JET23WW (1.08 ) date 04/18/2007 bios0: LENOVO 636464G acpi0 at bios0: rev 2 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT SSDT SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) DURT(S3) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 166MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) Duo CPU L2500 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpihpet0 at acpi0: 14318179 Hz \\_SB_.PCI0 post-crs: 0 \\_SB_.PCI0 post-bbn: 0, 0 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (AGP_) acpiprt2 at acpi0: bus 2 (EXP0) acpiprt3 at acpi0: bus 3 (EXP1) acpiprt4 at acpi0: bus 4 (EXP2) acpiprt5 at acpi0: bus 12 (EXP3) acpiprt6 at acpi0: bus 21 (PCI1) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, C1 acpicpu1 at acpi0: C3, C2, C1 acpipwrres0 at acpi0: PUBS acpitz0 at acpi0: critical temperature 127 degC acpitz1 at acpi0: critical temperature 97 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model 93P5032 serial 362 type LION oem SANYO acpibat1 at acpi0: BAT1 not present acpibat2 at acpi0: BAT2 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) bios0: ROM list: 0xc/0xea00! 0xcf000/0x1000 0xd/0x1000 0xdc000/0x4000! 0xe/0x1! cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130b1d06000613 cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 1829 MHz: speeds: 1833, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03 vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xd000, size 0x1000 inteldrm0 at vga1: apic 1 int 16 (irq 11) drm0 at inteldrm0 Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 1 int 17 (irq 11) azalia0: codecs: Analog Devices AD1981HD, Conexant/0x2bfa, using Analog Devices AD1981HD audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 20 (irq 11) pci1 at ppb0 bus 2 em0 at pci1 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00: apic 1 int 16 (irq 11), address 00:16:d3:39:d0:d7 ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1 int 21 (irq 11) pci2 at ppb1 bus 3 wpi0 at pci2 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: apic 1 int 17 (irq 11), MoW2, address 00:1c:bf:02:4e:55 ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 1 int 22 (irq 11) pci3 at ppb2 bus 4 ppb3 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02: apic 1 int 23 (irq 11) pci4 at ppb3 bus 12 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 1 int 16 (irq 11) uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 1 int 17 (irq 11) uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 1 int 18 (irq 11) uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 1 int 19 (irq 11) ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 1 int 19 (irq 11) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb4 at pci0 dev
Re: from pppoe(8) to pppoe(4) - how to run a script on IP address change?
On Sat, 10 Jul 2010 00:02:16 +0200, Christian Taube c.ta...@hcf.yourweb.de wrote: What I am missing now is a way to run a script when the IP address on the pppoe interface changes. There seems to be no mechanism like the /etc/ppp/ppp.linkup script provided by the user-space pppoe(8) driver. You might try the program below. Just compile with: cc -O2 -o watchaddr watchaddr.c You can then run something like: ./watchaddr -i pppoe0 /path/to/script and whenever an address is added to or removed from pppoe0, /path/to/script will be run. Omit the -i pppoe0 option, and it will run when an address changes on any interface. Beware that changing an address involves an address both being removed and being added, so your script will run twice. (It looks like this functionality could easily be added to ifstated(8), but a diff for that would be a bit more involved than whipping up this one off program. ;-) #include sys/types.h #include sys/socket.h #include net/if.h #include net/route.h #include err.h #include errno.h #include unistd.h #include stdio.h #include stdlib.h void usage(void) { extern char *__progname; fprintf(stderr, usage: %s [-i interface] command ...\n, __progname); exit(1); } int main(int argc, char *argv[]) { char msg[2048]; int fd; ssize_t n; pid_t pid; struct rt_msghdr *rtm; struct ifa_msghdr *ifam; unsigned int rtfilter; unsigned int ifindex = 0; int ch; while ((ch = getopt(argc, argv, i:)) != -1) { switch (ch) { case 'i': ifindex = if_nametoindex(optarg); if (ifindex == 0) errx(1, no interface: %s, optarg); break; case '?': default: usage(); } } argc -= optind; argv += optind; if (argv[0] == NULL) usage(); fd = socket(PF_ROUTE, SOCK_RAW, 0); if (fd == -1) err(1, unable to open route socket); rtfilter = ROUTE_FILTER(RTM_NEWADDR) | ROUTE_FILTER(RTM_DELADDR); if (setsockopt(fd, PF_ROUTE, ROUTE_MSGFILTER, rtfilter, sizeof(rtfilter)) == -1) err(1, unable to set route message filter); for (;;) { n = read(fd, msg, sizeof(msg)); if (n == -1) { if (errno == EINTR) continue; err(1, unable to read from route socket); } if (n == 0) errx(1, eof on route socket); rtm = (struct rt_msghdr *)msg; if (n sizeof(rtm-rtm_msglen) || n rtm-rtm_msglen) { warnx(route message truncated); continue; } if (rtm-rtm_version != RTM_VERSION) { warnx(bad route message version); continue; } if (rtm-rtm_type != RTM_NEWADDR rtm-rtm_type != RTM_DELADDR) { warnx(unexpected route message); continue; } ifam = (struct ifa_msghdr *)rtm; if (ifindex != 0 ifam-ifam_index != ifindex) continue; pid = fork(); if (pid == -1) { warnx(unable to fork child); continue; } if (pid == 0) { execvp(argv[0], argv); err(1, unable to exec command); } } /* NOTREACHED */ }
Re: Can't get Printing with hp officejet 5610
Donald Cooley dfcooley () gmail ! com wrote: I have an hp offficejet 5610 all-in-one printer. Following the instructions from pkg_add: To add a CUPS printer, use the 'hp-makeuri' command. e.g. for a network printer: $ hp-makeuri 192.168.10.100 ... CUPS URI: hp:/net/HP_LaserJet_5100_Series?ip=192.168.10.100 And I've read hp-makeuri -help and I'm stuck. I've tried sudo hp-makeuri serial_number/localhost/192.168.1.248 ,etc. each time I get error: Device not found Maybe I'm giving the wrong device. Could someone point me in the right direction? -- regards, donald cooley For the past two years I had no reason to use CUPS. I use stock LPD. I do use a network printer at work and adding it is as simple as editing the IP address in /etc/printcap file #rp|remote line printer:\ #:lp=:rm=printhost:rp=lp:sd=/var/spool/output:lf=/var/log/lpd-errs: as long as your printer is PostScript ready. Uncomment both lines and replace printhost with the IP address of your printer. There are three kinds of issues which you could encounter from the top of my head. Make sure your PF rules allow on-line printing. Bare in mind that CUPS speaks IPP so the port 631 must allow outbound traffic and keep the state. In my case it is port 515 since LPD speaks LPD protocol. Refer to /etc/services!!! Spooling and log directory must exist and have appropriate owners, groups, and permissions. Finally if you use OpenDNS like me (or Google DNS) you will have to run local DNS server so that the printer address can be resolved or two add the DNS address of your ISP into /etc/resolv.conf as the third DNS server. This is exactly what I am doing at work. Best of luck. Predrag P.S. I did use network printers with CUPS back in Arizona and honestly do not recall anything special about configuration on the client side. Configuring server side of CUPS is a bit of work but nothing serious. I just used web-interface http://localhost:631/ to add the printer. CUPS has fairly good documentation http://www.cups.org/doc-1.1/sum.html
Re: Music + NFS == skipping?
I guess your NFS server makes short pauses that cause the player to not produce audio samples fast enough. If this is it true, how could my Linux clients be unaffected? Why don't you figure that out. Indeed, it feels like I'm missing something obvious
Re: Music + NFS == skipping?
On Fri, 2010-07-09 at 16:01 +0200, Jan Stary wrote: On Jul 09 04:56:38, Corey J. Bukolt wrote: On Mon, 2010-07-05 at 08:28 +0200, Alexandre Ratchov wrote: On Sat, Jul 03, 2010 at 02:53:01AM -0400, Corey J. Bukolt wrote: Hi list, So far I have been able to get OpenBSD running nicely as my primary desktop with the only hitch being my NFS mounted music skips occasionally. I'm pretty sure it's not the NFS server since my Linux laptop has the same setup and doesn't skip. I'm using mpd to play the music, with a gigbit connection leading to a dedicated file server which has practically no load. Already gone over mount_nfs(8) and tried a whole bunch of different options with no luck. What NFS server is it? How exactly is the NFS share exported on the server side? How exactly is the share mounted on your clients? The NFS server is FreeNAS (FreeBSD 7.2). Exports line: /mnt/tank/main/home/corey/media/music -alldirs,ro -maproot=root -network 192.168.0.250 -mask 255.255.255.255 Linux client fstab entry: fileserver:/mnt/tank/main/home/corey/media/music /mnt/music nfs user 0 0 OpenBSD client fstab entry: fileserver:/mnt/tank/main/home/corey/media/music /mnt/music nfs ro,noexec,nodev,nosuid 0 0 The OpenBSD client is 4.7-stable AMD64 GENERIC.MP