CD0B-F192-76F3 : REMINDER from misc
accept CD0B-F192-76F3
Libressl and python2.7
Hi, How can I use libressl with a python2.7 programm on current? The python program use import OpenSSL, and I tried replace OpenSSL with Libtls and Libressl, but none can be found. Searched Misc, Tech and FAQ, didn't find anything helpful. Thanks. Alan Cheng
Re: Libressl and python2.7
Thanks Benjamin. Ssl works. But now I got a new eorror: OpenSSL.crypto.Pkey() function not found. Tried help(ssl) but found that module does not provide any crypto related functions. Is there more modules to be imported or anything? Thanks! Alan Benjamin Baier program...@netzbasis.de编写: try $ python2.7 Python 2.7.8 (default, Dec 12 2014, 14:59:33) [GCC 4.2.1 20070719 ] on openbsd5 Type help, copyright, credits or license for more information. import ssl ssl.OPENSSL_VERSION On 12/21/2014 11:11 AM, Alan Cheng wrote: Hi, How can I use libressl with a python2.7 programm on current? The python program use import OpenSSL, and I tried replace OpenSSL with Libtls and Libressl, but none can be found. Searched Misc, Tech and FAQ, didn't find anything helpful. Thanks. Alan Cheng
www.openbsd.org down?
I can't access www.openbsd.org right now. http://www.downforeveryoneorjustme.com/www.openbsd.org shows it's down.
Re: order site down?
On Fri, Apr 12, 2013 at 4:54 PM, Stefan Olsson stefan.karl.ols...@gmail.com wrote: Hello, https://https.openbsd.org/cgi-bin/order times out for me, is the order site down? Kind Regards I got 500 internal error too.
Re: OpenBSD as NAS
I did this on a similar hardware (Atom d525 + 4G + 100M LAN + 1 SATA2 drive) a few weeks ago with OpenBSD AMD64 snapshot, but now I switched to Ubuntu due to file copy performance issue. I can get around 10MB/s on OpenBSD, but around 20MB/s with Ubuntu on the same hardware. One major difference here: my NAS is not for disaster, it's simply for file sharing. All data is back'ed up somewhere else. It's also my wireless AP, btw. I'll be glad to know if there is any tips/advices to get better file copy speed on a OpenBSD NAS. On Thu, Mar 28, 2013 at 11:03 PM, Jan Lambertz jd.arb...@googlemail.comwrote: Hi there, to be prepared for storage desaster i am planning to upgrade my home box.itis a intel atom d525 with 2gig mem. Im planning to build up a small raid 10 with standard sata 5.25 inch drives. 1000 mbit lan. This storage will mainly be used for samba shares, backups and nfs shares. Of course i want massive performance. What du you suggest ? Change cpu Change filesystem (os) Parameters ? Do something other ? Any experiences in read /write speed of this hardware ?
Re: virtualization
I've been using virtualbox to run OpenBSD for over 2 years and I'm happy with it. The only issue I had is when I have more than 3 snapshots for a guest OS (OpenBSD or others) and its hard disk is 20+G, VM export seems not work. I tried VMWare Workstation and it works great too for OpenBSD, but since Virtualbox does not cost any money, I stick with it. On Sat, Jan 5, 2013 at 7:42 AM, Friedrich Locke friedrich.lo...@gmail.comwrote: Hi folks! I have a windows desktop and would like to install a virtualization software in order to have two virtual machine. I pretend to install OpenBSD on both of them. Which virtualization solution would be the best one for OpenBSD to run on ? Thanks.
kill a stale user session?
Hello all, I'd like to kill an stale user session, but could not find a way to do that. Seems like there is no process attached to that ttyp4 any more. It's an OpenBSD 5.1 on i386, by the way. Any advice appreciated. some output, more will be provided if necessary. #w 7:44PM up 12 days, 23:19, 2 users, load averages: 0.10, 0.14, 0.18 USERTTY FROM LOGIN@ IDLE WHAT acheng p0 180.116.63.38 6:00PM 0 w acheng p4 114.227.123.110 27Jul12 9days - -- the one I'd like to kill #ps -t p4 PID TT STAT TIME COMMAND thanks. acheng
Re: kill a stale user session?
Got nothing from ps aux|fgrep acheng@ttyp4. No SSHD process to kill either. The problem for me is that no process belongs to ttyp4, but w still reports an idle session. FYI: $ ps aux|fgrep acheng@ttyp4 $ w 9:57PM up 13 days, 1:31, 3 users, load averages: 0.16, 0.18, 0.23 USERTTY FROM LOGIN@ IDLE WHAT acheng p0 180.116.63.38 6:00PM 1:50 -ksh acheng p1 114.227.120.208:06PM 0 w acheng p4 114.227.123.110 27Jul12 9days - $ ps aux | grep ksh acheng 13452 0.0 0.1 548 500 p0 Is 6:00PM0:00.02 -ksh (ksh) root 25705 0.0 0.1 632 528 p0 I+ 6:07PM0:00.07 -ksh (ksh) acheng 30721 0.0 0.1 480 488 p1 Ss 8:06PM0:00.02 -ksh (ksh) acheng 28924 0.0 0.0 480 4 p1 R+ 9:57PM0:00.00 -ksh (ksh) $ ps aux | grep sshd root 16212 0.0 0.2 656 1208 ?? Is23Jul120:04.01 /usr/sbin/sshd root 30292 0.0 0.5 3456 2812 ?? Is 6:00PM0:00.07 sshd: acheng [priv] (sshd) acheng9594 0.0 0.7 4724 3612 ?? I 6:00PM0:02.20 sshd: acheng@ttyp0 (sshd) root 22538 0.0 0.5 3428 2828 ?? Is 8:06PM0:00.06 sshd: acheng [priv] (sshd) acheng 18141 0.0 0.6 3880 2920 ?? S 8:06PM0:02.19 sshd: acheng@ttyp1 (sshd) Thanks for the response. acheng On Mon, Aug 6, 2012 at 11:42 AM, David Diggles da...@elven.com.au wrote: On Mon, Aug 06, 2012 at 01:38:27PM +1000, David Diggles wrote: Try this? ps aux|fgrep acheng@ttyp3 ps aux|fgrep acheng@ttyp4 do you get the sshd process id you can kill? On Mon, Aug 06, 2012 at 10:56:00AM +0800, Alan Cheng wrote: Hello all, I'd like to kill an stale user session, but could not find a way to do that. Seems like there is no process attached to that ttyp4 any more. It's an OpenBSD 5.1 on i386, by the way. Any advice appreciated. some output, more will be provided if necessary. #w 7:44PM up 12 days, 23:19, 2 users, load averages: 0.10, 0.14, 0.18 USERTTY FROM LOGIN@ IDLE WHAT acheng p0 180.116.63.38 6:00PM 0 w acheng p4 114.227.123.110 27Jul12 9days - -- the one I'd like to kill #ps -t p4 PID TT STAT TIME COMMAND thanks. acheng
Re: kill a stale user session?
Ah ha, I searched marc.info earlier, but my key word did not found that thread. Now I know how it happened and how to fix it. Thanks David. On Mon, Aug 6, 2012 at 1:17 PM, David Diggles da...@elven.com.au wrote: http://marc.info/?l=openbsd-miscm=104862612011751w=2 --- List: openbsd-misc Subject:Re: Can't disconnect ghost SSH session from days ago From: Mathieu Sauve-Frankel m.sauve () secureops ! com Date: 2003-03-25 20:59:44 man utmp This ghost user is merely a stale entry in /var/run/utmp that has not been removed because your ssh session died uncleanly. Reboot your server cleanly and the ghost utmp entry will disappear. On Mon, Aug 06, 2012 at 01:00:15PM +0800, Alan Cheng wrote: Got nothing from ps aux|fgrep acheng@ttyp4. No SSHD process to kill either. The problem for me is that no process belongs to ttyp4, but w still reports an idle session. FYI: $ ps aux|fgrep acheng@ttyp4 $ w 9:57PM up 13 days, 1:31, 3 users, load averages: 0.16, 0.18, 0.23 USERTTY FROM LOGIN@ IDLE WHAT acheng p0 180.116.63.38 6:00PM 1:50 -ksh acheng p1 114.227.120.208:06PM 0 w acheng p4 114.227.123.110 27Jul12 9days - $ ps aux | grep ksh acheng 13452 0.0 0.1 548 500 p0 Is 6:00PM0:00.02 -ksh (ksh) root 25705 0.0 0.1 632 528 p0 I+ 6:07PM0:00.07 -ksh (ksh) acheng 30721 0.0 0.1 480 488 p1 Ss 8:06PM0:00.02 -ksh (ksh) acheng 28924 0.0 0.0 480 4 p1 R+ 9:57PM0:00.00 -ksh (ksh) $ ps aux | grep sshd root 16212 0.0 0.2 656 1208 ?? Is23Jul120:04.01 /usr/sbin/sshd root 30292 0.0 0.5 3456 2812 ?? Is 6:00PM0:00.07 sshd: acheng [priv] (sshd) acheng9594 0.0 0.7 4724 3612 ?? I 6:00PM0:02.20 sshd: acheng@ttyp0 (sshd) root 22538 0.0 0.5 3428 2828 ?? Is 8:06PM0:00.06 sshd: acheng [priv] (sshd) acheng 18141 0.0 0.6 3880 2920 ?? S 8:06PM0:02.19 sshd: acheng@ttyp1 (sshd) Thanks for the response. acheng On Mon, Aug 6, 2012 at 11:42 AM, David Diggles da...@elven.com.au wrote: On Mon, Aug 06, 2012 at 01:38:27PM +1000, David Diggles wrote: Try this? ps aux|fgrep acheng@ttyp3 ps aux|fgrep acheng@ttyp4 do you get the sshd process id you can kill? On Mon, Aug 06, 2012 at 10:56:00AM +0800, Alan Cheng wrote: Hello all, I'd like to kill an stale user session, but could not find a way to do that. Seems like there is no process attached to that ttyp4 any more. It's an OpenBSD 5.1 on i386, by the way. Any advice appreciated. some output, more will be provided if necessary. #w 7:44PM up 12 days, 23:19, 2 users, load averages: 0.10, 0.14, 0.18 USERTTY FROM LOGIN@ IDLE WHAT acheng p0 180.116.63.38 6:00PM 0 w acheng p4 114.227.123.110 27Jul12 9days - -- the one I'd like to kill #ps -t p4 PID TT STAT TIME COMMAND thanks. acheng
Re: Lemote Fuloong
On Fri, Jul 6, 2012 at 1:26 AM, Miod Vallat m...@online.fr wrote: The 3A systems are a completely different design. In addition to the CPU being multicore and using a completely different crossbar, the northbridge is now an AMD chip. A lot of work is needed to run on it, which is not worth starting until these systems are readily available. Unfortunately it seems Lemote can not produce enough of them for the foreign market, and I am told the ATX motherboard flavour (which would be much more interesting for server systems, or simply to use better disks than 2.5 ones) is not intended to be sold outside China. Miod 3A is not available even in China. I think there are just some sample machines out there. I've been keeping an close eye on Lemote's online store and its BBS, but don't know how to get one yet. By the way, someone posted a line on 3A benchmark, in case anyone is interested: http://openbenchmarking.org/s/ICT%20Loongson-3A%20V0.5%20FPU%20V0.1 -Alan Cheng
Re: Accounting and external logging?
I once used sudosh2 to record all user sessions by setting it as a login shell. It was on Solaris 10 and forgot whether it can send logs to a remote server. http://www.shortcutsolutions.net/sudosh2-shell-auditing-software/55-introduction-sudosh2.html On Tue, Jul 3, 2012 at 5:28 PM, Johan Ryberg jo...@securit.se wrote: Hi. I need to log all user activity and store the data on a logging facility. Accouting provides some information but not all. Is it possible to use syslog and transmit every command entered by the users? Best regards Johan
Re: Thank you OpenBSD
simple clean, is one of the reasons I like OB ~ On Tue, Apr 3, 2012 at 12:32 AM, Eric S Pulley pul...@dabus.com wrote: I'd just like to take a moment to thank everyone involved in releases of OpenBSD for having a nice clear and concise release schedule and version system. It's fantastic. I use FreeBSD on my file-server to take advantage of ZFS and all their convoluted versions/branches are just... a pain. So thank you all for keeping it simple, clean and efficient. -- ESP
Re: xfce4 freeze on Loongson netbook
With help from many on and off-list, I finally worked around the freeze issue, by doing the following: 1. went back to 5.0 release 2. in .xinitrc, use dbus-lunch startxfce4 instead of just startxfce4. Just in case anyone is still interested in this. Thanks again. - Alan
Re: xfce4 freeze on Loongson netbook
yeah. I upgraded it from 5.0 to snapshot, but just found there is no thunar package in snapshot. so I'm running everything else in snapshot with thunar still in 5.0. That's very likely the cause of library connflicts. I'm compiling thunar from updated ports now ... thanks. On Thu, Mar 22, 2012 at 5:53 AM, Stuart Henderson s...@spacehopper.orgwrote: You have a mismatched set of packages, some depending on old X libraries and some on new X libraries, causing a conflict. /usr/ports/infrastructure/bin/out-of-date should show you which need updates. On 2012-03-21, Alan Cheng bsdp...@gmail.com wrote: below is what i got from startx log. it's better to have some error that i can pass to google. will do my homework first, but wouldn't mind a few pointers if this looks obvious to anyone. :-) thanks. [acheng@azalea ~]$ tail -f startx.out Thunar:/usr/X11R6/lib/libGL.so.12.0: /usr/X11R6/lib/libGL.so.10.0 : WARNING: symbol(__glapi_noop_table) size mismatch, relink your program Thunar:/usr/X11R6/lib/libGL.so.12.0: /usr/X11R6/lib/libGL.so.10.0 : WARNING: symbol(__glapi_noop_table) size mismatch, relink your program xfdesktop:/usr/X11R6/lib/libGL.so.12.0: /usr/X11R6/lib/libGL.so.10.0 : WARNING: symbol(__glapi_noop_table) size mismatch, relink your program xfdesktop:/usr/X11R6/lib/libGL.so.12.0: /usr/X11R6/lib/libGL.so.10.0 : WARNING: symbol(__glapi_noop_table) size mismatch, relink your program (xfce4-settings-helper:9953): xfce4-settings-helper-WARNING **: Unknown mode '1024x600 @ 0.0' for output default. (xfce4-settings-helper:9953): xfce4-settings-helper-CRITICAL **: Stored Xfconf properties disable all outputs, aborting. xfdesktop[18998]: starting up (xfdesktop:18998): GLib-GObject-WARNING **: invalid (NULL) pointer instance (xfdesktop:18998): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed Juan Francisco Cantero Hurtado i...@juanfra.infog e o On Tue, Mar 20, 2012 at 11:41:56PM +0800, Alan Cheng wrote: Hello List, So I'm using a Loongson YeeLoong netbook. I installed XFCE4 without any issues, But it will freeze after around 15 minutes, even if I do nothing on it. Starting terminal will cause it to freeze immediately. I can still SSH into this netbook after freeze and everything else seems to be fine. This happens back during 4.9 days. It's the same on 5.0 and current snapshot. Any insight will be appreciated. and I'll be glad to provide any info required to troubleshoot this. I'm not sure exactly what info will be needed, so I'll start with dmesg. More will be provided as necessary: I can't help with your problem but if you run the window manager with startx, the output of startx is always very useful. Run startx with this command: startx 1startx-output.log 21 Also, you can log in your loongson with ssh, execute tail -f startx-output.log and look the errors in real time when your wm is freeze. Cheers. -- Juan Francisco Cantero Hurtado http://juanfra.info
xfce4 freeze on Loongson netbook
Hello List, So I'm using a Loongson YeeLoong netbook. I installed XFCE4 without any issues, But it will freeze after around 15 minutes, even if I do nothing on it. Starting terminal will cause it to freeze immediately. I can still SSH into this netbook after freeze and everything else seems to be fine. This happens back during 4.9 days. It's the same on 5.0 and current snapshot. Any insight will be appreciated. and I'll be glad to provide any info required to troubleshoot this. I'm not sure exactly what info will be needed, so I'll start with dmesg. More will be provided as necessary: [ using 466480 bytes of bsd ELF symbol table ] Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2012 OpenBSD. All rights reserved. http://www.OpenBSD.org http://www.openbsd.org/ OpenBSD 5.1 (GENERIC) #93: Sun Feb 12 18:10:05 MST 2012 dera...@loongson.openbsd.org:/usr/src/sys/arch/loongson/compile/GENERIC real mem = 1073741824 (1024MB) avail mem = 1059160064 (1010MB) mainbus0 at root: Lemote Yeeloong cpu0 at mainbus0: STC Loongson2F CPU 796 MHz, STC Loongson2F FPU cpu0: cache L1-I 64KB D 64KB 4 way, L2 512KB 4 way bonito0 at mainbus0: memory and PCI-X controller, rev 1 pci0 at bonito0 bus 0 rl0 at pci0 dev 7 function 0 Realtek 8139 rev 0x10: irq 5, address 00:23:8b:b5:38:eb rlphy0 at rl0 phy 0: RTL internal PHY smfb0 at pci0 dev 8 function 0 Silicon Motion LynxEM+ rev 0xb0 wsdisplay0 at smfb0 mux 1: console (std, vt100 emulation) ohci0 at pci0 dev 9 function 0 NEC USB rev 0x44: irq 7, version 1.0 ehci0 at pci0 dev 9 function 1 NEC USB rev 0x05: irq 7 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 NEC EHCI root hub rev 2.00/1.00 addr 1 glxpcib0 at pci0 dev 14 function 0 AMD CS5536 ISA rev 0x03: rev 3, 32-bit 3579545Hz timer, watchdog, gpio gpio1 at glxpcib0: 32 pins pciide0 at pci0 dev 14 function 2 AMD CS5536 IDE rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: ST9160310AS wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 ignored (disabled) auglx0 at pci0 dev 14 function 3 AMD CS5536 Audio rev 0x01: isa irq 9, CS5536 AC97 ac97: codec id 0x414c4760 (Avance Logic ALC655 rev 0) audio0 at auglx0 ohci1 at pci0 dev 14 function 4 AMD CS5536 USB rev 0x02: isa irq 11, version 1.0, legacy support ehci1 at pci0 dev 14 function 5 AMD CS5536 USB rev 0x02: isa irq 11 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 AMD EHCI root hub rev 2.00/1.00 addr 1 usb2 at ohci0: USB revision 1.0 uhub2 at usb2 NEC OHCI root hub rev 1.00/1.00 addr 1 isa0 at glxpcib0 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 mcclock0 at isa0 port 0x70/2: mc146818 or compatible ykbec0 at isa0 port 0x381/3 usb3 at ohci1: USB revision 1.0 uhub3 at usb3 AMD OHCI root hub rev 1.00/1.00 addr 1 clock0 at mainbus0: ticker on int5 using count register apm0 at mainbus0 rum0 at uhub0 port 2 Ralink Technology RT2573 rev 2.00/0.01 addr 2 rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528, address 00:19:e0:81:e1:4e umass0 at uhub1 port 1 configuration 1 interface 0 Generic USB2.0-CRW rev 2.00/58.87 addr 2 umass0: using SCSI over Bulk-Only scsibus0 at umass0: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: Generic-, Multi-Card, 1.00 SCSI0 0/direct removable serial.0bda015811417340 urtw0 at uhub1 port 4 Realtek RTL8187B rev 2.00/2.00 addr 3 urtw0: RTL8187B rev E, address 00:17:c4:3d:33:f9 vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root scsibus2 at softraid0: 256 targets pmon bootpath: /dev/disk/wd0 boot device: wd0 root on wd0a (2c517028a6b8deda.a) swap on wd0b dump on wd0b apm0: battery high thanks, Alan
Re: xfce4 freeze on Loongson netbook
fvwm works fine. So is jwm. Thanks, Alan On Tue, Mar 20, 2012 at 11:52 PM, Anders Trobdck b...@troback.com wrote: What happens if you run a different window manager like fvwm? Den Tue, 20 Mar 2012 23:41:56 +0800 skrev Alan Cheng bsdp...@gmail.com: Hello List, So I'm using a Loongson YeeLoong netbook. I installed XFCE4 without any issues, But it will freeze after around 15 minutes, even if I do nothing on it. Starting terminal will cause it to freeze immediately. I can still SSH into this netbook after freeze and everything else seems to be fine. This happens back during 4.9 days. It's the same on 5.0 and current snapshot. Any insight will be appreciated. and I'll be glad to provide any info required to troubleshoot this. I'm not sure exactly what info will be needed, so I'll start with dmesg. More will be provided as necessary: [ using 466480 bytes of bsd ELF symbol table ] Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2012 OpenBSD. All rights reserved. http://www.OpenBSD.org http://www.openbsd.org/ http://www.openbsd.org/ OpenBSD 5.1 (GENERIC) #93: Sun Feb 12 18:10:05 MST 2012 dera...@loongson.openbsd.org: /usr/src/sys/arch/loongson/compile/GENERIC real mem = 1073741824 (1024MB) avail mem = 1059160064 (1010MB) mainbus0 at root: Lemote Yeeloong cpu0 at mainbus0: STC Loongson2F CPU 796 MHz, STC Loongson2F FPU cpu0: cache L1-I 64KB D 64KB 4 way, L2 512KB 4 way bonito0 at mainbus0: memory and PCI-X controller, rev 1 pci0 at bonito0 bus 0 rl0 at pci0 dev 7 function 0 Realtek 8139 rev 0x10: irq 5, address 00:23:8b:b5:38:eb rlphy0 at rl0 phy 0: RTL internal PHY smfb0 at pci0 dev 8 function 0 Silicon Motion LynxEM+ rev 0xb0 wsdisplay0 at smfb0 mux 1: console (std, vt100 emulation) ohci0 at pci0 dev 9 function 0 NEC USB rev 0x44: irq 7, version 1.0 ehci0 at pci0 dev 9 function 1 NEC USB rev 0x05: irq 7 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 NEC EHCI root hub rev 2.00/1.00 addr 1 glxpcib0 at pci0 dev 14 function 0 AMD CS5536 ISA rev 0x03: rev 3, 32-bit 3579545Hz timer, watchdog, gpio gpio1 at glxpcib0: 32 pins pciide0 at pci0 dev 14 function 2 AMD CS5536 IDE rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: ST9160310AS wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 ignored (disabled) auglx0 at pci0 dev 14 function 3 AMD CS5536 Audio rev 0x01: isa irq 9, CS5536 AC97 ac97: codec id 0x414c4760 (Avance Logic ALC655 rev 0) audio0 at auglx0 ohci1 at pci0 dev 14 function 4 AMD CS5536 USB rev 0x02: isa irq 11, version 1.0, legacy support ehci1 at pci0 dev 14 function 5 AMD CS5536 USB rev 0x02: isa irq 11 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 AMD EHCI root hub rev 2.00/1.00 addr 1 usb2 at ohci0: USB revision 1.0 uhub2 at usb2 NEC OHCI root hub rev 1.00/1.00 addr 1 isa0 at glxpcib0 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 mcclock0 at isa0 port 0x70/2: mc146818 or compatible ykbec0 at isa0 port 0x381/3 usb3 at ohci1: USB revision 1.0 uhub3 at usb3 AMD OHCI root hub rev 1.00/1.00 addr 1 clock0 at mainbus0: ticker on int5 using count register apm0 at mainbus0 rum0 at uhub0 port 2 Ralink Technology RT2573 rev 2.00/0.01 addr 2 rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528, address 00:19:e0:81:e1:4e umass0 at uhub1 port 1 configuration 1 interface 0 Generic USB2.0-CRW rev 2.00/58.87 addr 2 umass0: using SCSI over Bulk-Only scsibus0 at umass0: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: Generic-, Multi-Card, 1.00 SCSI0 0/direct removable serial.0bda015811417340 urtw0 at uhub1 port 4 Realtek RTL8187B rev 2.00/2.00 addr 3 urtw0: RTL8187B rev E, address 00:17:c4:3d:33:f9 vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root scsibus2 at softraid0: 256 targets pmon bootpath: /dev/disk/wd0 boot device: wd0 root on wd0a (2c517028a6b8deda.a) swap on wd0b dump on wd0b apm0: battery high thanks, Alan
Re: xfce4 freeze on Loongson netbook
good to know there is a model on which xfce4 works. Mine is 8101. Bryan Irvine sparcta...@gmail.comgeo On Tue, Mar 20, 2012 at 8:41 AM, Alan Cheng bsdp...@gmail.com wrote: Hello List, So I'm using a Loongson YeeLoong netbook. I installed XFCE4 without any issues, But it will freeze after around 15 minutes, even if I do nothing on it. Starting terminal will cause it to freeze immediately. I can still SSH into this netbook after freeze and everything else seems to be fine. This happens back during 4.9 days. It's the same on 5.0 and current snapshot. It works fine on my 8089 running 5.0 -release.
Re: xfce4 freeze on Loongson netbook
I agree it's an issue with xfce4, the window manager, instead of the entire system. will check num lock key. I checked ps before but didn't find anything unusual. will give it another try. Miod Vallat m...@online.frgeo So I'm using a Loongson YeeLoong netbook. I installed XFCE4 without any issues, But it will freeze after around 15 minutes, even if I do nothing on it. Starting terminal will cause it to freeze immediately. I can still SSH into this netbook after freeze and everything else seems to be fine. I'm sorry, but this hardly sounds like the system freezing to me. On the other hand, it sounds from what you are reporting, that the X server (on an X application, such as the window manager) is misbehaving. You might want to check for the state of your `num lock' key, and look for a process in an unnatural state in a ps output.
Re: xfce4 freeze on Loongson netbook
below is what i got from startx log. it's better to have some error that i can pass to google. will do my homework first, but wouldn't mind a few pointers if this looks obvious to anyone. :-) thanks. [acheng@azalea ~]$ tail -f startx.out Thunar:/usr/X11R6/lib/libGL.so.12.0: /usr/X11R6/lib/libGL.so.10.0 : WARNING: symbol(__glapi_noop_table) size mismatch, relink your program Thunar:/usr/X11R6/lib/libGL.so.12.0: /usr/X11R6/lib/libGL.so.10.0 : WARNING: symbol(__glapi_noop_table) size mismatch, relink your program xfdesktop:/usr/X11R6/lib/libGL.so.12.0: /usr/X11R6/lib/libGL.so.10.0 : WARNING: symbol(__glapi_noop_table) size mismatch, relink your program xfdesktop:/usr/X11R6/lib/libGL.so.12.0: /usr/X11R6/lib/libGL.so.10.0 : WARNING: symbol(__glapi_noop_table) size mismatch, relink your program (xfce4-settings-helper:9953): xfce4-settings-helper-WARNING **: Unknown mode '1024x600 @ 0.0' for output default. (xfce4-settings-helper:9953): xfce4-settings-helper-CRITICAL **: Stored Xfconf properties disable all outputs, aborting. xfdesktop[18998]: starting up (xfdesktop:18998): GLib-GObject-WARNING **: invalid (NULL) pointer instance (xfdesktop:18998): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed Juan Francisco Cantero Hurtado i...@juanfra.infogeo On Tue, Mar 20, 2012 at 11:41:56PM +0800, Alan Cheng wrote: Hello List, So I'm using a Loongson YeeLoong netbook. I installed XFCE4 without any issues, But it will freeze after around 15 minutes, even if I do nothing on it. Starting terminal will cause it to freeze immediately. I can still SSH into this netbook after freeze and everything else seems to be fine. This happens back during 4.9 days. It's the same on 5.0 and current snapshot. Any insight will be appreciated. and I'll be glad to provide any info required to troubleshoot this. I'm not sure exactly what info will be needed, so I'll start with dmesg. More will be provided as necessary: I can't help with your problem but if you run the window manager with startx, the output of startx is always very useful. Run startx with this command: startx 1startx-output.log 21 Also, you can log in your loongson with ssh, execute tail -f startx-output.log and look the errors in real time when your wm is freeze. Cheers. -- Juan Francisco Cantero Hurtado http://juanfra.info
Re: Pre-orders for 5.1, and the new song!
Great! By the way, the picture on http://openbsd.org/51.html is still linked to http://openbsd.org/images/MAD.jpg. Someone might want to fix it. -Alan http://www.kdump.cn/store On Wed, Mar 14, 2012 at 10:46 AM, Theo de Raadt dera...@cvs.openbsd.orgwrote: It is that time again. I have just activated pre-orders for CDs, tshirts, and posters for the 5.1 release -- due May 1. http://openbsd.org/orders.html At the same time, I am making available the song that will come out with the release (hmm, it is still moving out to the ftp mirrors at the moment, but that is ok). The song and details of it are linked from: http://openbsd.org/lyrics.html And there is something else. Five years ago we made available an Audio CD that contained 5 years of songs. Well, we have made a new audio CD since enough new songs have been made. It is not very expensive, so please consider buying this as well when you place any order. It has some rather nice liner notes. Had some great fun coming up with the cover for that CD: http://openbsd.org/images/cdaudio2.gif I'd also like you remind you that Michael Lucas new SSH Mastery book is also now available, in case anyone was waiting for the 5.1 release to place one order. http://openbsd.org/books.html#book9 Please consider purchasing these items and/or making a donation, since this is a very important revenue source which keeps the project going.
Re: SSH Mastery -- New book by Michal Lucas!
As much as I want a printed copy, I just ordered an electronic copy on smashwords.com -- the int'l shipping cost, which is usually higher than the book itself, can be put to better use, like a donation to the project. thanks ml. Alan On Sat, Feb 18, 2012 at 9:42 AM, Michael W. Lucas mwlu...@blackhelicopters.org wrote: YES! Now I can tell people where they can pre-order print. And they will stop bugging me. ;-) Seriously, I'm delighted to be able to do this. I'm giving the books to the OpenBSD project at my cost. I expect them to use the proceeds well, on barbeque and beer. Maybe even some code. You'll notice that the OpenBSD folks are charging cover price. That's because this is a fundraiser. I don't make anything on these books, but that's okay. It'll be available through all the usual online booksellers later. Amazon will have it cheaper, and I'll get profits from those sales. But I'm thinking that the people on this list will want the OpenBSD-direct version. ==ml On Fri, Feb 17, 2012 at 05:27:49PM -0700, Austin Hook wrote: Here's the entry I just finished adding to OpenBSD's books.html page clip SSH Mastery by Michael Lucas ISBN-13: 978-1470069711 ISBN-10: 1470069717 February 2012, 145 pp. A guide to what you need to know about SSH. This book will help you eliminate passwords on your network, tunnel unencrypted protocols through secure channels, build VPNs with OpenSSH, and more. Focuses on the OpenSSH server, the OpenSSH client, and the PuTTY client. Michael W Lucas is the author of Absolute OpenBSD and other BSD books. Helping support OpenBSD, Michael is contributing all his author's profits, from orders via the main OpenBSD order page, back to the project. [ Order direct from the OpenBSD website International.] /clip A book like this is great for those of us that have a lot on our plate. I can remember a long period when I kind of knew what OpenSSH could do but just didn't have the time to parse out the man page to properly to forward a browser port or a mail port, to set up a VPN, and I could have benefited a lot sooner with a bit more well explained cookbook examples at my fingertips. Then there's that pesky stuff with keep alive and so on. What does it all really mean for the context I was having trouble with? Hey, I wonder if Michael has anything to say about the safety of even using OpenSSH variants on a different operating system to access one of my OpenBSD boxen. I'm looking forward to read my own copy. Yes, this book has already been out in electronic form for a bit, but myself I spend too much time looking at screen and I still like the physical experience of handling a book. Besides, the printed version already benefits from reader corrections to the electronic edition. Michael has been very gracious with timely help to enable the main OpenBSD website to be the first to offer it, It will be available everywhere soon, but we do have a jump on it this time. It's been so long for us since we last enjoyed Michael's style that we enjoyed in Absolute OpenBSD, I am really happy to see him come back to us with this new volume. There will be a slight delay before the first copies arrive and can be shipped, but the order site is already set up. https://https.openbsd.org/cgi-bin/order?B09=1B08%2b=Add Austin -- Michael W. Lucas http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/ Latest book: SSH Mastery http://www.michaelwlucas.com/nonfiction/ssh-mastery mwlu...@blackhelicopters.org, Twitter @mwlauthor
Re: Is fdisk partition a must for a non-system disk on i386
thanks Janne for the explanation. I thought a fdisk partition on i386 is *required* after reading FAQ14/man pages and I was a bit surprised to be able to create a disklabel partition without doing fdisk -i. so I wrote to the list for help on what I mis-understood ... thanks. Alan On Tue, Feb 7, 2012 at 3:41 PM, Janne Johansson icepic...@gmail.com wrote: 2012/2/7 Alan Cheng bsdp...@gmail.com: Hello list, I'm playing around with fdisk on a vmware virtual machine with 5.0 i386. Despite what's in FAQ14.4, I found I can still create disklabel partitions without a fdisk partition (no fdisk -i $disk) on a blank disk. I'm confused. So my question is: 1. Is fdisk partition a must for a NON-SYSTEM disk on i386? 2. what is the disadvantage of using a disklabel partition without fdisk partition in above mentioned scenario? fdisk and disklabel aren't really optional in that sense. Every disk (at least on PC derivates) should have one A6 partition, and a disklabel to match the area inside that fdisk partition. You can fake around it in various ways, but there is seldom a real need to, so why bother doing it in odd ways? It will perhaps bite you in the long run to do it in non-standard ways. -- To our sweethearts and wives. May they never meet. -- 19th century toast
Re: Is fdisk partition a must for a non-system disk on i386
I always tell people who ask me on this that they *have to* create a fdisk partition before creating a disklabel partition. Now I think I have a better understanding on this. thanks all for the responses.
Is fdisk partition a must for a non-system disk on i386
Hello list, I'm playing around with fdisk on a vmware virtual machine with 5.0 i386. Despite what's in FAQ14.4, I found I can still create disklabel partitions without a fdisk partition (no fdisk -i $disk) on a blank disk. I'm confused. So my question is: 1. Is fdisk partition a must for a NON-SYSTEM disk on i386? 2. what is the disadvantage of using a disklabel partition without fdisk partition in above mentioned scenario? thanks. - Alan
Re: file name too long error - apache
this was resolved by changing 1024 to 2048 on 3 lines of two files, as shown below, and recompile the kernel/userland. ./sys/sys/syslimits.h:46:#definePATH_MAX 2048 /* max bytes in pathname */ ./include/stdio.h:187:#define FILENAME_MAX2048/* must be = PATH_MAX sys/syslimits.h */ ./include/stdio.h:193:#define L_tmpnam2048 /* XXX must be == PATH_MAX */ thanks for the help, on and off the list. Regards, Alan On Thu, Dec 29, 2011 at 11:43 AM, Alan Cheng bsdp...@gmail.com wrote: I tried php without suhosin patch and it was the same. Thanks Stuart On Wed, Dec 28, 2011 at 4:44 PM, Stuart Henderson s...@spacehopper.orgwrote: This may be restricted by suhosin, try increasing suhosin.get.max_value_length from its default of 512 in your php-5.2.ini file then restart apache. On 2011-12-28, Alan Cheng bsdp...@gmail.com wrote: Hello list, I'm trying to install an PHP web app that generates very long URLs on my OpenBSD 5.0 i386 snapshot. But I just keep getting file name too long errors in apache error log like below. It happened on both built-in apache 1.3 and apache-httpd (2.2.20) in ports. I even tried compile apache2 using source files from ubuntu, as the same app works fine on ubuntu 11.04 + apache2 (2.2.17), it didn't help either. Any insight or suggestions? [Wed Dec 28 14:15:51 2011] [error] [client 10.249.70.50] (63)File name too long: Cannot map GET /media/ajax/component/boxList/filter/featured/limit/all/layout/thumbBig/vars/ a%253A25%253A%257Bs%253A3%253A%2522act%2522%253Bs%253A7%253A%2522boxList%2522 %253Bs%253A3%253A%2522mod%2522%253Bs%253A5%253A%2522media%2522%253Bs%253A4%25 3A%2522mode%2522%253Bs%253A3%253A%2522all%2522%253Bs%253A6%253A%2522filter%25 22%253Bs%253A8%253A%2522featured%2522%253Bs%253A5%253A%2522limit%2522%253Bs%2 53A3%253A%2522all%2522%253Bs%253A6%253A%2522layout%2522%253Bs%253A8%253A%2522 thumbBig%2522%253Bs%253A6%253A%2522search%2522%253Bs%253A0%253A%2522%2522%253 Bs%253A8%253A%2522per_page%2522%253Ba%253A3%253A%257Bs%253A8%253A%2522thumbBi g%2522%253Bi%253A6%253Bs%253A5%253A%2522thumb%2522%253Bi%253A10%253Bs%253A4%2 53A%2522list%2522%253Bi%253A4%253B%257Ds%253A11%253A%2522show_filter%2522%253 Bb%253A1%253Bs%253A10%253A%2522show_limit%2522%253Bb%253A0%253Bs%253A11%253A% 2522show_layout%2522%253Bb%253A1%253Bs%253A11%253A%2522show_search%2522%253Bb %253A0%253Bs%253A10%253A%2522show_pager%2522%253Bb%253A0%253Bs%253A9%253A%252 2show_more%2522%253Bb%253A1%253Bs%253A9%253A%2522save_page%2522%253Bb%253A1%2 53Bs%253A10%253A%2522pager_name%2522%253Bs%253A4%253A%2522page%2522%253Bs%253 A9%253A%2522thumbsize%2522%253Bs%253A7%253A%2522160x120%2522%253Bs%253A9%253A %2522more_link%2522%253Bs%253A10%253A%2522media%252Flist%2522%253Bs%253A2%253 A%2522id%2522%253Bs%253A9%253A%2522media-box%2522%253Bs%253A9%253A%2522compon ent%2522%253Bs%253A7%253A%2522boxList%2522%253Bs%253A4%253A%2522type%2522%253 BN%253Bs%253A4%253A%2522text%2522%253BN%253Bs%253A13%253A%2522captionParams%2 522%253Ba%253A0%253A%257B%257Ds%253A7%253A%2522caption%2522%253Bs%253A9%253A% 2522New%2Bmedia%2522%253Bs%253A4%253A%2522page%2522%253Bi%253A1%253B%257D HTTP/1.1 to file, referer: http://host BTW, I found this url https://issues.apache.org/bugzilla/show_bug.cgi?id=45187 while googling, it did help on understanding the possible root cause, but did not help in resolving it. thanks, Alan Cheng
Re: file name too long error - apache
I tried php without suhosin patch and it was the same. Thanks Stuart On Wed, Dec 28, 2011 at 4:44 PM, Stuart Henderson s...@spacehopper.orgwrote: This may be restricted by suhosin, try increasing suhosin.get.max_value_length from its default of 512 in your php-5.2.ini file then restart apache. On 2011-12-28, Alan Cheng bsdp...@gmail.com wrote: Hello list, I'm trying to install an PHP web app that generates very long URLs on my OpenBSD 5.0 i386 snapshot. But I just keep getting file name too long errors in apache error log like below. It happened on both built-in apache 1.3 and apache-httpd (2.2.20) in ports. I even tried compile apache2 using source files from ubuntu, as the same app works fine on ubuntu 11.04 + apache2 (2.2.17), it didn't help either. Any insight or suggestions? [Wed Dec 28 14:15:51 2011] [error] [client 10.249.70.50] (63)File name too long: Cannot map GET /media/ajax/component/boxList/filter/featured/limit/all/layout/thumbBig/vars/ a%253A25%253A%257Bs%253A3%253A%2522act%2522%253Bs%253A7%253A%2522boxList%2522 %253Bs%253A3%253A%2522mod%2522%253Bs%253A5%253A%2522media%2522%253Bs%253A4%25 3A%2522mode%2522%253Bs%253A3%253A%2522all%2522%253Bs%253A6%253A%2522filter%25 22%253Bs%253A8%253A%2522featured%2522%253Bs%253A5%253A%2522limit%2522%253Bs%2 53A3%253A%2522all%2522%253Bs%253A6%253A%2522layout%2522%253Bs%253A8%253A%2522 thumbBig%2522%253Bs%253A6%253A%2522search%2522%253Bs%253A0%253A%2522%2522%253 Bs%253A8%253A%2522per_page%2522%253Ba%253A3%253A%257Bs%253A8%253A%2522thumbBi g%2522%253Bi%253A6%253Bs%253A5%253A%2522thumb%2522%253Bi%253A10%253Bs%253A4%2 53A%2522list%2522%253Bi%253A4%253B%257Ds%253A11%253A%2522show_filter%2522%253 Bb%253A1%253Bs%253A10%253A%2522show_limit%2522%253Bb%253A0%253Bs%253A11%253A% 2522show_layout%2522%253Bb%253A1%253Bs%253A11%253A%2522show_search%2522%253Bb %253A0%253Bs%253A10%253A%2522show_pager%2522%253Bb%253A0%253Bs%253A9%253A%252 2show_more%2522%253Bb%253A1%253Bs%253A9%253A%2522save_page%2522%253Bb%253A1%2 53Bs%253A10%253A%2522pager_name%2522%253Bs%253A4%253A%2522page%2522%253Bs%253 A9%253A%2522thumbsize%2522%253Bs%253A7%253A%2522160x120%2522%253Bs%253A9%253A %2522more_link%2522%253Bs%253A10%253A%2522media%252Flist%2522%253Bs%253A2%253 A%2522id%2522%253Bs%253A9%253A%2522media-box%2522%253Bs%253A9%253A%2522compon ent%2522%253Bs%253A7%253A%2522boxList%2522%253Bs%253A4%253A%2522type%2522%253 BN%253Bs%253A4%253A%2522text%2522%253BN%253Bs%253A13%253A%2522captionParams%2 522%253Ba%253A0%253A%257B%257Ds%253A7%253A%2522caption%2522%253Bs%253A9%253A% 2522New%2Bmedia%2522%253Bs%253A4%253A%2522page%2522%253Bi%253A1%253B%257D HTTP/1.1 to file, referer: http://host BTW, I found this url https://issues.apache.org/bugzilla/show_bug.cgi?id=45187 while googling, it did help on understanding the possible root cause, but did not help in resolving it. thanks, Alan Cheng
Re: Longsoon/Godson MIPS boxes, where to buy?
On Wed, Dec 28, 2011 at 2:09 AM, Dave U. Random anonym...@anonymitaet-im-inter.net wrote: Are the Longson/Godson MIPS boxes available over the counter yet? If so where is the best place to order one? Thanks. checkout http://www.tekmote.nl/
file name too long error - apache
Hello list, I'm trying to install an PHP web app that generates very long URLs on my OpenBSD 5.0 i386 snapshot. But I just keep getting file name too long errors in apache error log like below. It happened on both built-in apache 1.3 and apache-httpd (2.2.20) in ports. I even tried compile apache2 using source files from ubuntu, as the same app works fine on ubuntu 11.04 + apache2 (2.2.17), it didn't help either. Any insight or suggestions? [Wed Dec 28 14:15:51 2011] [error] [client 10.249.70.50] (63)File name too long: Cannot map GET /media/ajax/component/boxList/filter/featured/limit/all/layout/thumbBig/vars/ a%253A25%253A%257Bs%253A3%253A%2522act%2522%253Bs%253A7%253A%2522boxList%2522 %253Bs%253A3%253A%2522mod%2522%253Bs%253A5%253A%2522media%2522%253Bs%253A4%25 3A%2522mode%2522%253Bs%253A3%253A%2522all%2522%253Bs%253A6%253A%2522filter%25 22%253Bs%253A8%253A%2522featured%2522%253Bs%253A5%253A%2522limit%2522%253Bs%2 53A3%253A%2522all%2522%253Bs%253A6%253A%2522layout%2522%253Bs%253A8%253A%2522 thumbBig%2522%253Bs%253A6%253A%2522search%2522%253Bs%253A0%253A%2522%2522%253 Bs%253A8%253A%2522per_page%2522%253Ba%253A3%253A%257Bs%253A8%253A%2522thumbBi g%2522%253Bi%253A6%253Bs%253A5%253A%2522thumb%2522%253Bi%253A10%253Bs%253A4%2 53A%2522list%2522%253Bi%253A4%253B%257Ds%253A11%253A%2522show_filter%2522%253 Bb%253A1%253Bs%253A10%253A%2522show_limit%2522%253Bb%253A0%253Bs%253A11%253A% 2522show_layout%2522%253Bb%253A1%253Bs%253A11%253A%2522show_search%2522%253Bb %253A0%253Bs%253A10%253A%2522show_pager%2522%253Bb%253A0%253Bs%253A9%253A%252 2show_more%2522%253Bb%253A1%253Bs%253A9%253A%2522save_page%2522%253Bb%253A1%2 53Bs%253A10%253A%2522pager_name%2522%253Bs%253A4%253A%2522page%2522%253Bs%253 A9%253A%2522thumbsize%2522%253Bs%253A7%253A%2522160x120%2522%253Bs%253A9%253A %2522more_link%2522%253Bs%253A10%253A%2522media%252Flist%2522%253Bs%253A2%253 A%2522id%2522%253Bs%253A9%253A%2522media-box%2522%253Bs%253A9%253A%2522compon ent%2522%253Bs%253A7%253A%2522boxList%2522%253Bs%253A4%253A%2522type%2522%253 BN%253Bs%253A4%253A%2522text%2522%253BN%253Bs%253A13%253A%2522captionParams%2 522%253Ba%253A0%253A%257B%257Ds%253A7%253A%2522caption%2522%253Bs%253A9%253A% 2522New%2Bmedia%2522%253Bs%253A4%253A%2522page%2522%253Bi%253A1%253B%257D HTTP/1.1 to file, referer: http://host BTW, I found this url https://issues.apache.org/bugzilla/show_bug.cgi?id=45187 while googling, it did help on understanding the possible root cause, but did not help in resolving it. thanks, Alan Cheng
Re: Where to buy Lemote FuLoong MIPS boxes?
On Sat, Dec 17, 2011 at 5:14 AM, Miod Vallat m...@online.fr wrote: If anyone, fluent in chinese, could tell me if I can indeed order a 3A system from this site and have it shipped to western Europe, and wouldn't mind assisting me to place an order, this would be greatly appreciated. TIA, Miod (OpenBSD/loongson portmaster, in case you didn't notice) Currently 3A is not out yet (coming soon, according to Lemote). I'll be glad to help on the ordering shipping once 3A is available, though my guess is it'll also be available on http://www.tekmote.nl/ by that time.
Re: Where to buy Lemote FuLoong MIPS boxes?
Lemoteo manufacturer of FuLoong and Yeloong, does have an store on www.taobao.com (http://loogson.taobao.com/), it's the official place to buy FuLoong/YeeLoong here in China. On Wed, Dec 14, 2011 at 12:09 PM, Rob Schmersel r...@schmersel.net wrote: On 12/14/2011 03:44 AM, Nomen Nescio wrote: The prices at the official European shop in the Netherlands are sky high. I thought this was supposed to be a 150 dollar PC. Does anybody have a good cheap source for these or other MIPS boxes? Thanks. Even here in China it is difficult to find. Just did a search on www.taobao.com (chinese eBay) and only 2 vendors showed up: http://s.taobao.com/search?q=**2f6004rt=1323835584378http://s.taobao.com/se arch?q=2f6004rt=1323835584378 The fulong is selling for 1800 RMB, which is the same price as tekmote.nlis charging. /Rob
Re: OpenBSD 5.0 released Nov 1, 2011
Thanks! and Yeah! On Tue, Nov 1, 2011 at 10:38 PM, Theo de Raadt dera...@cvs.openbsd.orgwrote: Nov 1, 2011. We are pleased to announce the official release of OpenBSD 5.0. This is our 30th release on CD-ROM (and 31th via FTP). We remain proud of OpenBSD's record of more than ten years with only two remote holes in the default install. As in our previous releases, 5.0 provides significant improvements, including new features, in nearly all areas of the system: - Improved hardware support, including: o MSI interrupts for many devices, on those architectures which can support them (amd64, i386, sparc64 only so far). o A new dma_alloc(9) API makes it easier for kernel code to allocate dma-safe memory. Many drivers (especially network drivers) and subsystems (in particular scsi and the buffer cache) were adapted to use this. o As a result, big-memory support has been enabled on all possible architectures. o The rather rare bce(4) driver now copies mbufs all the time, to cope with the hardware having a 1GB limit. o Added hds(4), a driver for Hitachi Modular Storage SCSI devices. o Added myx(4), a driver for the Myricom Myri-10G 10GB Ethernet devices. o Added dfs(4), a driver for Dynamic Frequency Switching on some macppc systems. o cardbus(4) and pcmcia(4) support on sgi. o Suspend/resume support on Loongson Yeelong laptops. o Interrupt handlers for bnx(4), em(4), ix(4) and sis(4) have been improved reducing overhead and increasing performance. o New acpitoshiba(4) driver providing ACPI support for Toshiba laptops. o Added nvt(4), a driver for the W83795G and W83795ADG hardware monitor. o Added support to sdhc(4) for the Ricoh 5U823 SD/MMC controller. o A new fw_update(1) tool to install and update non-free firmware packages. - Generic network stack improvements: o Added support for sending Wake on LAN packets using arp(8). o Permit turning Wake on LAN support on/off using ifconfig(8). o Added Wake on LAN support to xl(4), re(4), and vr(4). o Allow ftp-proxy to proxy across rdomains. o The IPv4 stack will no longer accept ICMP redirects when acting as a router. o By default the IPv6 stack will not process ICMP6 redirects. rtsol(8) will turn it back if -F is used. o Reworked large parts of the dhclient(8) options processing for better interoperability. o Fixed carp(4) to work in IPv6 only setups. o Make it possible to bind(2) to the local network broadcast address on datagram and raw sockets. o The default multicast reject route is now ignored if the UDP socket uses the IP_MULTICAST_IF socket option. o Make gre(4) work between systems in the same LAN. o Removed the link1 mode special addressing mode on lo(4). o New net.inet.tcp.always_keepalive sysctl, effectively enabling SO_KEEPALIVE on all TCP sockets. - Routing daemons and other userland network improvements: o bgpd(8) no longer bumps the rlimits: the rc.d framework respects login classes which is a much better solution. o Correctly set the network filtersets on reload in bgpd(8). o The routing socket is now sending RTM_DESYNC messages if the socketbuffer overflows. o Allow ospfd(8) to send out LS updates and other messages larger than the MTU. o Fixed nexthop calculation in ospfd(8) for directly connected P2P links. o First bits to support opaque LSA in ospfd(8). Only basic redistribute logic and LSDB handling for now. o Creating new interfaces will no longer cause a fatal error in ospf6d(8). o ospf6d(8) handles link-state changes better. o Better loopback handling in ospf6d(8). o No longer install extra multicast routes in ripd(8) and ldpd(8). o Make kqueue(2) work with sosplice(9). o Enabled sosplice(9) in relayd(8) for TCP. o Added support for divert-to which provides some benefits over rdr-to in relayd(8). o Reload support in relayd(8) has been fixed. o Fixed trap sending in snmpd(8). o Make ping6(8) compare minimum amount of bytes between what was received and what was sent out. o Make traceroute(8) with type-of-service setted (-t) display a message if the returned packet has a different tos type. o Added the socket splicing fields of struct socket to netstat -vP output. o tcpbench(1) now uses libevent and supports both TCP and UDP modes. o TCP socket buffer sizes can now be displayed using the netstat(1) -B flag. o tcpdump(8) can now filter on icmptype and tcpflags. o bgplg(8) now supports show ip bgp peer-as. - pf(4) improvements: o Make pf(4) reassemble IPv6 fragments. In the forward case, pf refragments the packets with the same maximum size. o Allow pf(4) to filter on the rdomain a packet belongs to. o Make
Re: Help on understanding mbr.S
On Fri, Sep 23, 2011 at 11:24 AM, Daniel Dickman didick...@gmail.comwrote: What are you trying to do though? Working with x86 in real mode and dealing with ancient PC conventions is probably not the easiest place to start. I'm trying to learn how kernel (or OS) works. I went through a couple of books on OS design and implementation and think I know some general rules on OS, now I'm reading the source code to learn the details. Thanks Daniel for the explanation. I went over the links you posted, and that gives me a better understanding of what the 1: is and local labels in general. A follow up question, though: So ljmp $BOOTSEC, $1f is used to set seg:offset to 07C0:. While $BOOTSEC is defined to be 07C0, why $1f is guaranteed to be , isn't it something volatile?
Re: Help on understanding mbr.S
Thanks Bryan. Your explanation makes things a lot clearer to me. As mentioned in my reply to Daniel, I not cannot figure out why $1f will be . On Fri, Sep 23, 2011 at 12:05 PM, Brynet bry...@gmail.com wrote: One of the first things an MBR does is do a long jump from where the BIOS loaded it. The thing is, often you can't trust the BIOS to do the right thing, the x86 in 16-bit real mode uses segmented memory, so you may be at :07C0 or 7C00: depending on the implementation. If you read the comment higher up you'll see they perform a long jump to normalize the Code Segment to 07C0, offset 0. :07C0 and 7C00: technically resolve to the same address, but enforcing segment:offset (cs:ip) just makes things consistent. The references to :1 is a local label, used for relative addressing, 'f' meaning forward and 'b' meaning backward. http://sourceware.org/binutils/docs/as/Symbol-Names.html Most MBR's are OS-independent, they relocate, parse partition table, load the PBR/VBR to 7C00 and perform a ljmp to it. Hope that helps, -Bryan.
Help on understanding mbr.S
Hello, Not sure if this is the right place to request help for this, but I'm reading mbr.S file (i386 arch), but could not figure out what the function is for the line that reads 1:. The code below that line is setting up statck, but why do we need this line? and there are more than one line that reads 1: in the mbr.S file, which confues me even more. Could someone help expain it a little a bit, or point me to some links that helps? thanks. ... ... .text .code16 .globl start start: /* Adjust %cs to be right */ ljmp $BOOTSEG, $1f 1: /* what is this, a label? */ /* Set up stack */ movw %cs, %ax /* * We don't need to disable and re-enable interrupts around the * the load of ss and sp. ... ... Complete mbr.S file I'm refering to: http://www.openbsd.org/cgi-bin/cvsweb/src/sys/arch/i386/stand/mbr/mbr.S?rev=1.21;content-type=text%2Fx-cvsweb-markup I'm still working on my ATT assembly learning, googled around but could not find anything related. Thanks, Alan
Re: pre-orders for 5.0
Cool. thank you! On Wed, Sep 7, 2011 at 8:35 PM, Theo de Raadt dera...@cvs.openbsd.orgwrote: I have activated pre-orders for the 5.0 release -- it is scheduled for official release on Nov 1 on the FTP sites. As usual, we try to get CDs in people's hands slightly a few days before that. http://www.openbsd.org/orders.html There are two tshirts available. It's roughly the same image, but it comes in both white and black. http://www.openbsd.org/tshirts.html#35 At the same time, I am also releasing the song to accompany the art for this release. http://www.openbsd.org/lyrics.html#50 Please keep in mind that donations and CD/tshirt/poster sales, done twice a year, are crucial to the continuation of the project. It may seem strange to keep selling such out-dated types of items and expecting it to keep the project afloat, but so it goes. As collector items they do pay expenses around here. Besides donations done along with a CD or tshirt purchase, there are a few other options for donations and described at: http://www.openbsd.org/donations.html http://www.openbsdfoundation.org/ Thanks for continuing to let us make OpenBSD.
Re: Why aren't you running -current?
same here. it's kinda a time consuming to follow it ... On Thu, Sep 8, 2011 at 9:10 AM, Jussi Peltola pe...@pelzi.net wrote: I'm lazy.
Re: Is there a kernel walkthough for newbies?
On 07/19/2011 10:51 PM, Stuart Henderson wrote: On 2011-07-19, Billy Wongbi...@tube-fish.net wrote: Hi everybody, Just wondering if there are some documentations telling a newbie his whereabouts in the kernel? It doesnt need to be an extensive line-by-line or file-by-file treatment but something at a higher level of the general design and architecture approach. thanks and regards, bill http://www.atmnis.com/~proger/openkyiv/openkyiv2009_proger_sys.pdf Thanks Stuart for sharing this. I once found a copy of this doc in Russian, and had been trying to find something similar in English.