Would I be encouraged to use OpenBSD as embedded system
Hello, My English is poor and I wish I could express myself clearly. I am an embedded software engineer developing arm-linux based system. In fact, ebmedded system is an huage industrial domain in P.R.China now, and linux is the most popular OS. But the linux kernel 2.6 is more and more complex. I think an embedded system should be brief or laconic which is the feature of OpenBSD and NetBSD. I intend to make some effort to let people substitute linux for OpenBSD in P.R.China, such as port OpenBSD to Samsung S3Cxxx, Cirrus EP9xxx and Freescale i.MX etc., publicize the good features of OpenBSD and offer some technical supports. Would I be encouraged? I visit the web site of OpenBSD and find the supported platforms should be self-compile itself and one of the project goal is greater integration of cryptographic software. But usually ther is no IDE disks in an arm9 based system, at most a 64MB flash chip. So it can not self-compile. And the resource is limitted, in some circumstance integration of cryptographic software is unnecessary, such as industrial control and some handhelds equipment. Would I be encouraged by the OpenBSD organization and get supported to just port OpenBSD kernel to arm based board and only run some necessary applications.(Actually busybox and some controlling programs in a controlling circumstance is enough.) Thank you for reply. Bin Shi in China.
[AV DiD] the death of AV defense in Depth
Hi, misc ! I think this is worth reading, http://www.nruns.com/ps/The_Death_of_AV_Defense_in_Depth-Revisiting_Anti-Virus_Software.pdf If anyone know an AV that is conceptually well made, please, tell me.
Would I be encouraged to use OpenBSD as an embedded system
Hello, My English is poor and I wish I could express myself clearly. I am an embedded software engineer developing arm-linux based system. In fact, ebmedded system is an huage industrial domain in P.R.China now, and linux is the most popular OS. But the linux kernel 2.6 is more and more complex. I think an embedded system should be brief or laconic which is the feature of OpenBSD and NetBSD. I intend to make some effort to let people substitute linux for OpenBSD in P.R.China, such as port OpenBSD to Samsung S3Cxxx, Cirrus EP9xxx and Freescale i.MX, etc., publicize the good features of OpenBSD and offer some technical supports. Would I be encouraged? I visit the web site of OpenBSD and find the supported platforms should be self-compile itself and one of the project goal is greater integration of cryptographic software. But usually ther is no IDE disks in an arm9 based system, at most a 64MB flash chip. So it can not self-compile. And the resource is limitted, in some circumstance integration of cryptographic software is unnecessary, such as industrial control and some handhelds equipment. Would I be encouraged by the OpenBSD organization and get supported to just port OpenBSD kernel to arm based board and only run some necessary applications.(Actually busybox and some controlling programs in a controlling circumstance is enough.) Thank you for reply. Bin Shi in China.
major problems in 4.2
Hi, Recently I moved from 4.0 to 4.2 as a full-reinstall. However since then i have had nothing but problems. No longer is sk0 detected as a device although it is the kernel, pc has frequent freezes (cause unknown). Doesnt even respond to keyboard/network requests but does continue to update systat on screen. I have tested the RAM and replaced the disk. No change. No other changes to the pc. And nothing being reported in syslog. Has anyone seen anything like this? Dumbfounded! thanks, Moe
Re: ntop out-of-date version
Probably because their is not maintainer for the port? Update it yourself submit the update to [EMAIL PROTECTED] ntop will nolonger be out of date then :) It's an idea. I've established e-mail contact with ports lists and ntop author about this. If nobody is working in ntop port maybe I'll do it (if I've time enough, of course) -- Thanks Jordi Espasa Clofent
Re: File collision while using pkg_add
On Thu, Nov 22, 2007 at 11:31:30AM +0100, Pieter Verberne wrote: Hi all, I'm trying to install gnome-doc-utils : $ sudo pkg_add gnome-doc-utils perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = (unset), LC_CTYPE = en_US.UTF-8, LANG = (unset) are supported and installed on your system. perl: warning: Falling back to the standard locale (C). We don't have support for UTF8 yet, and perl sees that. It's just an innocuous warning. Collision: the following files already exist /usr/local/bin/gnome-doc-prepare (same md5) /usr/local/bin/gnome-doc-tool (same md5) /usr/local/bin/xml2po (same md5) /usr/local/lib/pkgconfig/gnome-doc-utils.pc (same md5) /usr/local/lib/pkgconfig/xml2po.pc (same md5) /usr/local/man/man1/xml2po.1 (same md5) /usr/local/share/aclocal/gnome-doc-utils.m4 (same md5) /usr/local/share/xml2po/xhtml.pyc (same md5) etc, etc, etc... /usr/sbin/pkg_add: fatal issues in installing gnome-doc-utils-0.10.3p2 $ So, it definitely looks like you've got gnome-doc-utils installed already (or most of it). Did you look at installed your package list ? check for gnome-doc-utils-*, or partial-gnome-doc-utils-* in case something went wrong. It is totally *impossible* that you've got those files on this computer without having already tried to install this package (voluntarily, or by accident): just look at this report, you've got loads of files with the same md5, so they come from the same package. The package should say it's already installed if it is, and should say there's a conflict with a partial-* of the same name. I don't know how you did it, but something very wrong happened here. Did you erase /var/db/pkg ? did you get an error message from a pkg_add you didn't read and went forward anyways ?
Re: Would I be encouraged to use OpenBSD as embedded system
On 16:16:18 Nov 24, PowerMan wrote: Hello, My English is poor and I wish I could express myself clearly. No problem. English is not my native language either. ;) I am an embedded software engineer developing arm-linux based system. In fact, ebmedded system is an huage industrial domain in P.R.China now, and linux is the most popular OS. Right. But the linux kernel 2.6 is more and more complex. Right again. I think an embedded system should be brief or laconic which is the feature of OpenBSD and NetBSD. OpenBSD has the leanest kernel. NetBSD kernel is also bloated. FreeBSD used to be good till around 5.3. OpenBSD has the slimmest kernel around with support for nearly every ethernet card and other common peripherals that give trouble with linux. Most importantly audio support has been excellent with OpenBSD. There are problems with exotic hardware however. But there is no doubt about the fact that for an embedded system there is no better choice than OpenBSD if there is an MMU. I intend to make some effort to let people substitute linux for OpenBSD in P.R.China, such as port OpenBSD to Samsung S3Cxxx, Cirrus EP9xxx and Freescale i.MX etc., publicize the good features of OpenBSD and offer some technical supports. I have never heard of these. OpenBSD has been ported to several architectures. Sharp Zaurus is the closest I believe to an embedded port that we have. Others please correct me if I am wrong. Also landisk perhaps. There is a very good chance that your machine is already supported by the kernel. Would I be encouraged? I visit the web site of OpenBSD and find the supported platforms should be self-compile itself and one of the project goal is greater integration of cryptographic software. Yes. Hardware accelerated crypto for SSL and IPsec has never been a problem. But usually ther is no IDE disks in an arm9 based system, at most a 64MB flash chip. So it can not self-compile. And the resource is limitted, You need an MMU. Does it have a USB port? These days embedded systems come with USB support. You can put the OS on a memory stick. That way you can get much more capacity than flash. in some circumstance integration of cryptographic software is unnecessary, such as industrial control and some handhelds equipment. I agree. OpenBSD excels in all areas. Seamless package management, support for industry strength crypto and built in security mechanisms, support for nearly every single routing protocol and other cutting edge network protocols on earth ( except MPLS,ISIS). And many many more. You can see the slides of my seminar for more details about what all OpenBSD can do. http://sirsasana.org/seminar ( I am focusing only on networking and crypto here ) Would I be encouraged by the OpenBSD organization and get supported to just port OpenBSD kernel to arm based board and only run some necessary applications.(Actually busybox and some controlling programs in a controlling circumstance is enough.) Check the openbsd website[1] and [2] for hardware support and the supported architectures. ARM I am sure is supported but porting is not only about the CPU; the machine counts as well. busybox is a linux thingy. You can generate your own stuff with crunchgen(1). Best of luck! Thanks and welcome to the wonderful world of OpenBSD. Where the world is without fences and (add your thing here)... :) regards, Girish 1. http://www.openbsd.org 2. http://www.openbsd.org/plat.html
CARP not failing-over
Hi Guys, Currently set things up with CARP here.. I got two machines, supposed to be doing IP load balancing when I setup them to be like this, NET-BCARP MachinesNET-A _ || __|Machine A|__ || | NET-B | | |_| | | NET-A | ||__| |Machine B| |_|| || |__|_|_| || and there Layer 2 cisco 3524 switch and 2948 switch between them. So, I setup pf to pass everything in/out. The machine it self is a 4.2 -current, just compiled last night. So, I boot the machines.. tried them on, ping form net A to net B.. it works. But, when I intentionaly shutdown the master, carp stop forwarding/routing, no fail-over, the ping between net-B and net-B just frezee. Is there something wrong with the config? this is the pf.conf on both machines ext_if=em0 int_if0=vlan2 int_if1=vlan22 int_if2=em1 int_if3=em2 sync_if=rl0 #table spamd-white persist set skip on {lo $sync_if} set ruleset-optimization basic set optimization aggressive scrub in #nat-anchor ftp-proxy/* #rdr-anchor ftp-proxy/* #nat on $ext_if from !($ext_if) - ($ext_if:0) #rdr pass on $int_if proto tcp to port ftp - 127.0.0.1 port 8021 #no rdr on $ext_if proto tcp from spamd-white to any port smtp #rdr pass on $ext_if proto tcp from any to any port smtp \ # - 127.0.0.1 port spamd #anchor ftp-proxy/* block in pass out #pass quick on $int_if no state pass in on $sync_if all no state pass in on {$int_if0 $int_if1 $int_if2 $int_if3} all pass in on $ext_if all antispoof quick for { lo } #pass in on $ext_if proto tcp to ($ext_if) port ssh #pass in log on $ext_if proto tcp to ($ext_if) port smtp #pass out log on $ext_if proto tcp from ($ext_if) to port smtp The Bridge Table on cat 2948G-L3: GREENDISTRO#sh bridge 22 Total of 300 station blocks, 212 free Codes: P - permanent, S - self Bridge Group 22: Address Action Interface .5e00.0104 forward Fa37.22 0015.1725.0a9d forward Fa37.22 Bridge Group 2: Address Action Interface .5e00.0102 forward Fa37.2 0015.1725.0a9e forward Fa37.2 The ifconfig: Machine A# lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33168 groups: lo inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6 em0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500 lladdr 00:15:17:25:0a:9d description: CARPdev0 media: Ethernet autoselect (100baseTX full-duplex) status: active inet6 fe80::215:17ff:fe25:a9d%em0 prefixlen 64 scopeid 0x1 inet 10.10.12.254 netmask 0xff00 broadcast 10.10.12.255 rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:80:48:1f:75:53 description: SYNCDEV groups: egress media: Ethernet autoselect (100baseTX full-duplex) status: active inet6 fe80::280:48ff:fe1f:7553%rl0 prefixlen 64 scopeid 0x2 inet 10.10.10.254 netmask 0xff00 broadcast 10.10.10.255 em1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:07:e9:0f:44:ac description: CARPdev1 media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause) status: active inet6 fe80::207:e9ff:fe0f:44ac%em1 prefixlen 64 scopeid 0x3 em2: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500 lladdr 00:15:17:25:0a:9e media: Ethernet autoselect (100baseTX full-duplex) status: active inet6 fe80::215:17ff:fe25:a9e%em2 prefixlen 64 scopeid 0x4 enc0: flags=0 mtu 1536 vlan112: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:15:17:25:0a:9e vlan: 112 priority: 0 parent interface: em2 groups: vlan inet6 fe80::215:17ff:fe25:a9e%vlan112 prefixlen 64 scopeid 0x7 vlan122: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:15:17:25:0a:9d vlan: 122 priority: 0 parent interface: em0 groups: vlan inet6 fe80::215:17ff:fe25:a9d%vlan122 prefixlen 64 scopeid 0x8 vlan2: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500 lladdr 00:15:17:25:0a:9e vlan: 2 priority: 0 parent interface: em2 groups: vlan inet6 fe80::215:17ff:fe25:a9e%vlan2 prefixlen 64 scopeid 0x9 vlan22: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500 lladdr 00:15:17:25:0a:9d vlan: 22 priority: 0 parent interface: em0 groups: vlan inet6 fe80::215:17ff:fe25:a9d%vlan22 prefixlen 64 scopeid 0xa pfsync0: flags=41UP,RUNNING mtu 1460 pfsync: syncdev: rl0 syncpeer: 10.10.10.253 maxupd: 128 groups: carp pfsync pflog0: flags=141UP,RUNNING,PROMISC mtu 33168 groups: pflog carp0: flags=b843UP,BROADCAST,RUNNING,SIMPLEX,LINK0,LINK1,MULTICAST mtu 1500 lladdr 00:00:5e:00:01:01 carp: MASTER carpdev vlan2 vhid
Re: major problems in 4.2
On 2007/11/24 17:22, Moe Sizlak wrote: Recently I moved from 4.0 to 4.2 as a full-reinstall. However since then i have had nothing but problems. Please see 'Include important information' in http://www.openbsd.org/mail.html
Re: File collision while using pkg_add
On 2007/11/24 10:53, Marc Espie wrote: The package should say it's already installed if it is, and should say there's a conflict with a partial-* of the same name. I don't know how you did it, but something very wrong happened here. Did you erase /var/db/pkg ? Corruption of the filesystem holding /var/db/pkg could do this.
Re: 7800GS + 2 monitors under 4.2-release
I was just wondering if anyone has made any progress? I'm still using one monitor and it feels like I lost a finger. On 11/11/2007, Paulo Rodriguez [EMAIL PROTECTED] wrote: Hi Chris, I confirm again. The xenocara build from the last snapshop gave me zero results. I still have the garbled screen on the monitor plugged using a VGA connector. Funny thing is, it sets the correct resolution for the 22 screen but only ID's the AL1717 monitor. Very odd. Chris Harper schreef: Hi Paul Just wondering if you have had any success ? I updated to -current and also xenocara but it hasn't worked. I have managed to get some form of dual screen through nv(4)'s Option DualHead Yes. I could not set a resolution suitable for my dual 19W (1440x900) monitors thou, it also treats the pair of monitors as one giant monitor which makes opening windows 'fully' span the pair. On Nov 6, 2007 9:32 AM, Paulo Rodriguez [EMAIL PROTECTED] wrote: Hi Chris, Those are exactly the same symptoms I'm experiencing as well. I'll be trying -current later tonight to see how it goes. I'll keep you informed. Thanks, P Chris Harper schreef: Im currently attempting to get my 7900GTX to run dual screens under 4.2 release without success. I can only seem to get green and orange squares on the second monitor which are some how linked to the first as they change colour as the mouse moves around. Any progress you make would be appareciated. On Nov 5, 2007 10:46 PM, Paulo Rodriguez [EMAIL PROTECTED] wrote: Hi misc, Just wondering about any success stories getting dual-screen/xinerama running under OpenBSD 4.2-release with nVidia cards (G73) under X. If I read correctly the necessary code for this was imported by matthieu@ after 4.2-release code was frozen, so it should be in -current. Kind regards, Paulo
Re: CARP not failing-over
On Sat, Nov 24, 2007 at 05:14:04PM +0700, Insan Praja SW wrote: The ifconfig: Machine A# [...] vlan2: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500 lladdr 00:15:17:25:0a:9e vlan: 2 priority: 0 parent interface: em2 groups: vlan inet6 fe80::215:17ff:fe25:a9e%vlan2 prefixlen 64 scopeid 0x9 vlan22: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500 lladdr 00:15:17:25:0a:9d vlan: 22 priority: 0 parent interface: em0 groups: vlan inet6 fe80::215:17ff:fe25:a9d%vlan22 prefixlen 64 scopeid 0xa [...] carp0: flags=b843UP,BROADCAST,RUNNING,SIMPLEX,LINK0,LINK1,MULTICAST mtu 1500 lladdr 00:00:5e:00:01:01 carp: MASTER carpdev vlan2 vhid 1 advbase 1 advskew 0 groups: carp inet6 fe80::200:5eff:fe00:101%carp0 prefixlen 64 scopeid 0xc inet 202.149.93.12 netmask 0xfff0 broadcast 202.149.93.15 carp1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:00:5e:00:01:02 carp: BACKUP carpdev vlan2 vhid 2 advbase 1 advskew 100 groups: carp inet6 fe80::200:5eff:fe00:102%carp1 prefixlen 64 scopeid 0xd inet 202.149.93.12 netmask 0xfff0 broadcast 202.149.93.15 carp2: flags=b843UP,BROADCAST,RUNNING,SIMPLEX,LINK0,LINK1,MULTICAST mtu 1500 lladdr 00:00:5e:00:01:03 carp: MASTER carpdev vlan22 vhid 3 advbase 1 advskew 0 groups: carp inet6 fe80::200:5eff:fe00:103%carp2 prefixlen 64 scopeid 0xe inet 202.149.93.97 netmask 0xfff0 broadcast 202.149.93.111 carp3: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:00:5e:00:01:04 carp: BACKUP carpdev vlan22 vhid 4 advbase 1 advskew 100 groups: carp inet6 fe80::200:5eff:fe00:104%carp3 prefixlen 64 scopeid 0xf inet 202.149.93.97 netmask 0xfff0 broadcast 202.149.93.111 vlan2 and vlan22 need an IP in the same network as their carp interfaces. IP Balancing currently doesn't work for the 'carpdev is ip-less' case.
Re: OBSD Functionality ala DTrace
Hi, On 23/11/2007, Tito Mari Francis EscaC1o [EMAIL PROTECTED] wrote: One of the most developer- and sysadmin-friendly tools in Solaris is DTrace (dynamic tracing framework), enabling one to troubleshoot or observe the system's behavior and performance in real-time. However, I'm not sure if Sun's CDDL is BSD-friendly, and how feasible is it to implement. Having a free and full-disclosure OS of good reputation on security with simplified X-ray vision-like perspective/monitoring of the system performance for the developers and especially administrators would/should be the killer-app! How can one conduct similiar functionality without resorting to porting DTrace? Please provide me pointers how to get similar results with simplicity to get rid of DTrace-envy :) Thank you very much! This has been covered before. I would love to see dtrace(and zfs) in OpenBSD to, but there are licensing issues regarding the CDDL. I *think* (but might be wrong) the main problem is that this kind of stuff needs to be kernelized, and only BSD licensed code can be there (Am I correct?). However I believe the LKM (loadable kernel modules) framework still works for OpenBSD, so perhaps you could make a port that makes a module??? I think the nearest you will get to dtrace on OpenBSD is ktrace/kdump, althought these tools are more like truss than dtrace. All of Suns new dtrace/zfs code is in FreeBSD, perhaps this is better for you? -- Best Regards Edd --- http://students.dec.bournemouth.ac.uk/ebarrett
Re: CARP not failing-over
On Sat, 24 Nov 2007 18:51:41 +0700, Marco Pfatschbacher [EMAIL PROTECTED] wrote: On Sat, Nov 24, 2007 at 05:14:04PM +0700, Insan Praja SW wrote: The ifconfig: Machine A# [...] vlan2: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500 lladdr 00:15:17:25:0a:9e vlan: 2 priority: 0 parent interface: em2 groups: vlan inet6 fe80::215:17ff:fe25:a9e%vlan2 prefixlen 64 scopeid 0x9 vlan22: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500 lladdr 00:15:17:25:0a:9d vlan: 22 priority: 0 parent interface: em0 groups: vlan inet6 fe80::215:17ff:fe25:a9d%vlan22 prefixlen 64 scopeid 0xa [...] carp0: flags=b843UP,BROADCAST,RUNNING,SIMPLEX,LINK0,LINK1,MULTICAST mtu 1500 lladdr 00:00:5e:00:01:01 carp: MASTER carpdev vlan2 vhid 1 advbase 1 advskew 0 groups: carp inet6 fe80::200:5eff:fe00:101%carp0 prefixlen 64 scopeid 0xc inet 202.149.93.12 netmask 0xfff0 broadcast 202.149.93.15 carp1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:00:5e:00:01:02 carp: BACKUP carpdev vlan2 vhid 2 advbase 1 advskew 100 groups: carp inet6 fe80::200:5eff:fe00:102%carp1 prefixlen 64 scopeid 0xd inet 202.149.93.12 netmask 0xfff0 broadcast 202.149.93.15 carp2: flags=b843UP,BROADCAST,RUNNING,SIMPLEX,LINK0,LINK1,MULTICAST mtu 1500 lladdr 00:00:5e:00:01:03 carp: MASTER carpdev vlan22 vhid 3 advbase 1 advskew 0 groups: carp inet6 fe80::200:5eff:fe00:103%carp2 prefixlen 64 scopeid 0xe inet 202.149.93.97 netmask 0xfff0 broadcast 202.149.93.111 carp3: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:00:5e:00:01:04 carp: BACKUP carpdev vlan22 vhid 4 advbase 1 advskew 100 groups: carp inet6 fe80::200:5eff:fe00:104%carp3 prefixlen 64 scopeid 0xf inet 202.149.93.97 netmask 0xfff0 broadcast 202.149.93.111 vlan2 and vlan22 need an IP in the same network as their carp interfaces. IP Balancing currently doesn't work for the 'carpdev is ip-less' case. Hi, Thanks for the clue, so.. one other thing, for IP Load Balancing, I don't need the net.inet.arpbalance to 1, am I correct? Thanks, Insan -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Re: OpenBSD/i386 won't boot on Transmeta Efficeon CPU
Travers Buda wrote: * Anders Langworthy [EMAIL PROTECTED] [2007-11-23 18:56:35]: Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2007 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 4.2-current (RAMDISK_CD) #539: Thu Nov 15 19:28:35 MST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD cpu0: Transmeta Efficeon(tm) Processor TM8000 (GenuineTMx86 386- class) 1.60 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,ACPI,MMX,FXSR,SSE,SSE2,SS,TM NOTICE: this kernel does not support i386 CPU class panic: no appropriate CPU class available This should do it, however I don't do this kernel stuff too often. Take from that what you will. --- /usr/src/sys/arch/i386/i386/machdep.c 2007/11/24 05:34:44 1.1 +++ /usr/src/sys/arch/i386/i386/machdep.c 2007/11/24 06:54:34 @@ -922,15 +922,15 @@ }, tm86_cpu_setup }, - /* Family 6, not yet available from Transmeta */ + /* Family 6 */ { CPUCLASS_686, { + TM8000, 0, TM8000, TM8000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 686 class /* Default */ + TM8000 /* Default */ }, - NULL + tm86_cpu_setup } } }, { @@ -1493,7 +1493,7 @@ void tm86_cpu_setup(struct cpu_info *ci) { -#if !defined(SMALL_KERNEL) defined(I586_CPU) +#if !defined(SMALL_KERNEL) defined(I586_CPU) || defined(I686_CPU) longrun_init(); #endif } Hi. Thank you for your help. In the process of testing this patch, I discovered that if I try to boot a normal kernel as opposed to the ramdisk kernel, it fails but at least I get a panic and some debugger output, which may or may not be useful. Does bsd.rd not include the debugger? Anyway I get pretty much the same result with the patch as without: /* without patch */ OpenBSD 4.2-current (GENERIC) #538: Thu Nov 15 19:04:34 MST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Transmeta Efficeon(tm) Processor TM8000 (GenuineTMx86 386- class) 1.60 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFL USH,ACPI,MMX,FXSR,SSE,SSE2,SS,TM NOTICE: this kernel does not support i386 CPU class panic: no appropriate CPU class available Stopped at Debugger+0x4: leave Debugger(d077d604,0,d08fbe88,18,9) at Debugger+0x4 panic(d06c7340,d06d6435,d074a538,2000,d086a1b4) at panic+0x63 identifycpu(d086a1a0,d06c6a25,10,0,d077d604) at identifycpu+0x386 cpu_startup(d06a0695,d06a2b60,d08fbfa0,d03370ef,2) at cpu_startup+0x94 main(0,0,0,0,0) at main+0x5d /* end */ /* with patch */ OpenBSD 4.2-current (GENERIC) #0: Fri Nov 23 23:00:24 CST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Transmeta Efficeon(tm) Processor TM8000 (GenuineTMx86 386- class) 1.60 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFL USH,ACPI,MMX,FXSR,SSE,SSE2,SS,TM NOTICE: this kernel does not support i386 CPU class panic: no appropriate CPU class available Stopped at Debugger+0x4: leave Debugger(d077db04,0,d08fbe88,18,9) at Debugger+0x4 panic(d06c7680,d06d6775,d074a958,2000,d086a6d4) at panic+0x63 identifycpu(d086a6c0,d06c6d65,10,0,d077db04) at identifycpu+0x386 cpu_startup(d06a1415,d06a38e0,d08fbf0a,d0337a1f,2) at cpu_startup+0x94 main(0,0,0,0,0) at main+0x5d /* end */
Re: File collision while using pkg_add
On Sat, Nov 24, 2007 at 10:53:51AM +0100, Marc Espie wrote: On Thu, Nov 22, 2007 at 11:31:30AM +0100, Pieter Verberne wrote: I'm trying to install gnome-doc-utils : $ sudo pkg_add gnome-doc-utils perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = (unset), LC_CTYPE = en_US.UTF-8, LANG = (unset) are supported and installed on your system. perl: warning: Falling back to the standard locale (C). We don't have support for UTF8 yet, and perl sees that. It's just an innocuous warning. Collision: the following files already exist /usr/local/bin/gnome-doc-prepare (same md5) etc, etc, etc... /usr/sbin/pkg_add: fatal issues in installing gnome-doc-utils-0.10.3p2 $ So, it definitely looks like you've got gnome-doc-utils installed already (or most of it). Did you look at installed your package list ? check for gnome-doc-utils-*, or partial-gnome-doc-utils-* in case something went wrong. I have installed the package before indeed. However, it was not installed at the moment I run pkg_add. It is totally *impossible* that you've got those files on this computer without having already tried to install this package (voluntarily, or by accident): just look at this report, you've got loads of files with the same md5, so they come from the same package. True. The package should say it's already installed if it is, and should say there's a conflict with a partial-* of the same name. I don't know how you did it, but something very wrong happened here. Did you erase /var/db/pkg ? did you get an error message from a pkg_add you didn't read and went forward anyways ? I don't know how I did this either. Can I always erase /var/db/pkg safly? However, I think I'm doing a new install soon, and then try to keep my package managemet system clean:-) Pieter
Re: File collision while using pkg_add
Just to make one point clear: yep the collision report does not give you an `easy' way to delete the files (though saving the file and apply some simple sed/awk like pattern is not that hard), because that's the wrong way to think about the problem. If you've got files in /usr/local, and pkg_* can't figure out where they come from, then you are in trouble... Those dangling files are usually a symptom something much more fishy is going on, like file system corruption. And most often, you don't want to just fix the local problem, you want to figure out what is going on, for real. It's possible to extend pkg_add to sniff around, and to recover from some simple situations... just means it will fail later in weirder ways. Like, sure, you've got files right from a package, you could just reinstall the package on top of it, and expect things to be right... except they won't ! If this package was installed at some point, it probably also means some stuff is/was depending on it. So you would need to also re-check each and every dependency in packages to make sure they don't want this package (fairly important in case of updates). And if one package has missing meta-information, who says it's the only one ? rescanning /usr/local looking for orphaned files would be needed. then probably perusing pkglocatedb to try to figure out where they come from in the first place, and trying to re-obtain those packages and check more things out. Assuming you still can grab the missing packages somewhere, all this is feasible. It's just not being done with the current tools, and it's probably a bit too complex to implement quickly...
Re: OpenBSD/i386 won't boot on Transmeta Efficeon CPU
On 11/23/07, Anders Langworthy [EMAIL PROTECTED] wrote: I have a Sharp MP30 notebook that won't boot on OpenBSD/i386. I am unsure if my situation is a bug or unsupported hardware. The issue seems to be the CPU. It is a Transmeta Efficeon processor at 1.60 GHz. The processor is supposedly Pentium Pro (686) compatible. Below are two console outputs. The first is the console output for an attempt to boot the system from a -current install42.iso as of a week or so ago. Naturally since it never gets past the CPU, it isn't very lengthy. The second is the dmesg from the same system booting NetBSD/i386, purely for purposes of system hardware information. By attaching this I am not making a qualitative judgement in any form, nor am I implying that just because the system will boot NetBSD, it should also boot OpenBSD. With that out of the way, we proceed: can you build and boot a kernel with option CPU_DEBUG in the config?
Re: Would I be encouraged to use OpenBSD as embedded system
Most importantly audio support has been excellent with OpenBSD. There are problems with exotic hardware however. OSS is available, for those who are willing to go a little CDDL. -- Karthik http://guilt.bafsoft.net
Paper about memory speed with multi-core CPUs
Hello [EMAIL PROTECTED] FYI. Abstract As CPU cores become both faster and more numerous, the limiting factor for most programs is now, and will be for some time, memory access. Hardware designers have come up with ever more sophisticated memory handling and acceleration techniquessuch as CPU cachesbut these cannot work optimally without some help from the programmer. Unfortunately, neither the structure nor the cost of using the memory subsystem of a computer or the caches on CPUs is well understood by most programmers. This paper explains the structure of memory subsystems in use on modern commodity hardware, illustrating why CPU caches were developed, how they work, and what programs should do to achieve optimal performance by utilizing them. http://people.redhat.com/drepper/cpumemory.pdf - Alexey.
Re: Paper about memory speed with multi-core CPUs
On Saturday 24 November 2007 15:22:17 you wrote: Hello [EMAIL PROTECTED] FYI. Abstract As CPU cores become both faster and more numerous, the limiting factor for most programs is now, and will be for some time, memory access. Hardware designers have come up with ever more sophisticated memory handling and acceleration techniquessuch as CPU cachesbut these cannot work optimally without some help from the programmer. Unfortunately, neither the structure nor the cost of using the memory subsystem of a computer or the caches on CPUs is well understood by most programmers. This paper explains the structure of memory subsystems in use on modern commodity hardware, illustrating why CPU caches were developed, how they work, and what programs should do to achieve optimal performance by utilizing them. http://people.redhat.com/drepper/cpumemory.pdf - Alexey. Is this paper from the same Drepper as is posting in the URL below? http://sources.redhat.com/ml/libc-alpha/2000-08/msg00053.html ... Regards Johan M:son Lindman
root fs mount problem with bsd.mp + acpi + ahc on i386
Hello, I just received an old multi-proc system (an 1999's ABIT BP6, http://en.wikipedia.org/wiki/ABIT_BP6) and installed a current system. Boot process runs fine with bsd and bsd.mp + disable acpi in UKC, but it ends in ddb with bsd.mp (acpi is now enabled in GENERIC.MP), unable to mount root file system from SCSI drive (drive connected to an adpatec scsi card, ahc(4)). You can find dmesg from bsd, bsd.mp + ddb output and bsd.mp + noacpi here : http://www.wo-do.com/openbsd_dmesg/ Thanks in advance for your help, -- Serge
Re: [AV DiD] the death of AV defense in Depth
xavier brinon wrote: I think this is worth reading, http://www.nruns.com/ps/The_Death_of_AV_Defense_in_Depth-Revisiting_Anti-Virus_Software.pdf Important to note on page 42/46: N.runs is developing a secure system solution... The market introduction begins in the 4th quarter of 2007. If anyone know an AV that is conceptually well made, please, tell me. Antivirus (i.e. blacklists) is a flawed concept anyway. A better (although more difficult) solution is to generate a whitelist.
cwm: alt-tabbing behavior
Hi there, I have noticed some odd behavior of the alt-tab feature of cwm. Occasionally alt-tab will get stuck at a specific window and refuse to go and futher. Moving the window, will unstuck it. Has anyone else noticed this? -- Best Regards Edd --- http://students.dec.bournemouth.ac.uk/ebarrett
Re: OT - MIPS idle loop
On 11/24/07, Dan Shechter [EMAIL PROTECTED] wrote: In x86 I know (or think I know) that the idle loop is implemented with the HALT command. I could not find any HALT command in MIPS assembly. I tried to read the idle loop in MIPS asm, but as I don't know mips assembly I could not follow the logic in it. And finally here is the question : How the IDLE loop is implemented in MIPS. the latest idle loop on MIPS is: LEAF(cpu_idle_cycle, 0) j ra nop END(cpu_idle_cycle) which says return. that's all it does.
OT - MIPS idle loop
Hi All, Sorry about the OT. In x86 I know (or think I know) that the idle loop is implemented with the HALT command. I could not find any HALT command in MIPS assembly. I tried to read the idle loop in MIPS asm, but as I don't know mips assembly I could not follow the logic in it. And finally here is the question : How the IDLE loop is implemented in MIPS. Thanks, Dan
Re: OpenBSD/i386 won't boot on Transmeta Efficeon CPU
* Ted Unangst [EMAIL PROTECTED] [2007-11-24 06:13:45]: *snip* can you build and boot a kernel with option CPU_DEBUG in the config? Actually use option CPUDEBUG, note the missing underscore. -- Travers Buda
Re: Getting HD Audio to work on Sony VIAO SZ460N
Rob Lytle writes: Allright both speakers and headphones work now and show up on XMMS as master volume control in the mixer section of the output config. Same thing with mixer apps. Great. The fix has been committed, thanks.
Re: Any OpenBSD users in Berlin?
http://marc.info/?l=openbsd-miscw=2r=1s=berlinq=b I am (very) unfortunately leaving Berlin in 20 days, though... probably one of the worst tragedies of my life 2007/11/23, Siju George [EMAIL PROTECTED]: Hi, If there are any OpenBSD users in Berlin could you please contact me off list please? Thank you so much :-) Kind Regards Siju
Re: OT - MIPS idle loop
In x86 I know (or think I know) that the idle loop is implemented with the HALT command. I could not find any HALT command in MIPS assembly. R5000 and above have a ``wait'' instruction which achieves this. I tried to read the idle loop in MIPS asm, but as I don't know mips assembly I could not follow the logic in it. You should look at -current sources, where it is much easier to read (see sys/arch/mips64/mips64/context.S) And finally here is the question : How the IDLE loop is implemented in MIPS. See the cpu_idle_* entry points in the above file. Miod
Welcome to Club Penguin
Dear Parent, Your child has created the penguin account: Ncstategirl5 If you would like to learn more about our website, please go to: http://www.clubpenguin.com/parents.htm To allow your child to start playing, please click on the URL below, which contains the personal activation code. Click Here To Start -- http://www.clubpenguin.com/miniclip/activate.php?c=03A58EBD (If that link doesn't work by clicking, please copy and paste the link into your browsers URL bar) If you need to enter the activation code because the link above is not working, here it is: 03A58EBD Your child's Club Penguin login information is as follows: (Please remind them to keep this VERY safe and not to share this information with ANYBODY!) Username : Ncstategirl5 Password : doctorwho11 Parental Consent If this email account has been used without your consent and you wish to delete this Club Penguin account please click the following link: http://www.clubpenguin.com/delete.php?i=43862168a=03A58EBD Note that you can not delete an account if it has been activated. Sincerely, The Club Penguin Team Suite 410 - 1620 Dickson Ave. Kelowna, BC, V1Y9Y2 Canada Contact: http://www.clubpenguin.com/contact.htm Privacy: http://www.clubpenguin.com/privacy.htm
Issues with USB wireless adapter in hostap mode
Hey, I bought a hawking HWUG1A USB wireless adapter with external antenna port thingie. Using it with OpenBSD 4.2 in hostap mode. I'm having issues where it'll drop clients off the network if they're not constantly ping'ing something. It also tops out at 100k/sec, even though the adapter links up in 802.11g mode. The same host is able to transfer several megabytes/sec over the same USB ports. The configuration's bridged, and was directly converted from me having a networked WAP bridged over an extra network port. Shows up as: rum0 at uhub3 port 1 rum0: Ralink 802.11 bg WLAN, rev 2.00/0.01, addr 2 rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528, address 00:0e:3b:09:81:65 Configured as: media autoselect mediaopt hostap nwid dormando mode 11g chan 3 txpower 95 up ... I've twiddled the mode (I think), txpower, channel, etc. I'm emptyheaded as far as wireless still. What should I try next? The dropping thing is pretty annoying :) Thanks, -Dormando
Annoying startx problem on 4.2/i386
Hello list. I am running 4.2/i386 on my company's Dell Latitude D510 laptop. I started with a fresh 4.2 install, all hardware got recognized, everything went just great... until a couple of days ago. I'm experiencing an annoying problem with startx. Since a few days each time I log in (via console, no fancy graphic login yet) and launch startx the console freezes with no error messages, and X server doesn't start. Tampering around I found out that startx get unblocked (and X server + windowmaker and everything) starts correctly as soon as I kill -9 the xauth process. A simple kill (-15) proves useless. I'm sure I did something to the system because after installation and configuration (via xorgconfig) it worked correctly, but honestly I can't remember *what* I did right before having this problem. Can anyone out there point me to the right direction? Any hint or suggestion appreciated! Thank you all, bye Manuel -- Anyone who cannot cope with mathematics is not fully human. At best he is a tolerable sub-human who has learned to wear shoes, bathe, and not make messes in the house. -Robert Heinlein Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
Re: Issues with USB wireless adapter in hostap mode
On Sat, Nov 24, 2007 at 11:52:00AM -0800, dormando wrote: Hey, I bought a hawking HWUG1A USB wireless adapter with external antenna port thingie. Using it with OpenBSD 4.2 in hostap mode. I'm having issues where it'll drop clients off the network if they're not constantly ping'ing something. It also tops out at 100k/sec, even though the adapter links up in 802.11g mode. The same host is able to transfer several megabytes/sec over the same USB ports. The configuration's bridged, and was directly converted from me having a networked WAP bridged over an extra network port. Shows up as: rum0 at uhub3 port 1 rum0: Ralink 802.11 bg WLAN, rev 2.00/0.01, addr 2 rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528, address 00:0e:3b:09:81:65 Configured as: media autoselect mediaopt hostap nwid dormando mode 11g chan 3 txpower 95 up ... I've twiddled the mode (I think), txpower, channel, etc. I'm emptyheaded as far as wireless still. What should I try next? The dropping thing is pretty annoying :) Thanks, -Dormando I think you should read the last lines of the rum(4) man page. -Otto
Unable to install 3.8-4.2, able to install 3.8 on old 486DX. probably wscons(4)/wskbd(4) related.
Hello misc@, First of all sorry for not mentioning this earlier but, better late than never! Problem definition: As stated in the subject. Abstract: Keyboard works in 3.7. Keyboard works in boot(8) and UKC. Keyboard is dead after booting the kernel in 3.8 and higher. dmesg for 3.7-release and 4.2-stable below, both GENERIC ofcourse. What I've tried so far: Booted from several different floppies with images floppy38.fs-floppy42.fs. Booted bsd.rd loaded from hd with boot(8) again the same range. Booted an i386 4.2 GENERIC kernel with boot(8) -a option. Booted an i386 4.2 GENERIC kernel. Disabled pcibios during each trail, on or off same result. What I will probably try in the near future: Locating my null modem cable and hooking it up to see if I can install 4.2-stable. Testing an other keyboard? Symptoms: Loads each kernel. No difference for bsd.rd floppy or hd based. Same for GENERIC. bsd.rd halts at the install upgrade shell prompt, keyboard is totally unresponsive, no {caps,scroll,num}lock, no ctrl-alt-del. bsd 4.2 GENERIC with boot(8) -a option halts at the root disk prompt, keyboard is totally unresponsive, no {caps,scroll,num}lock, no ctrl-alt-del. bsd 4.2 GENERIC halts at the login prompt, keyboard is totally unresponsive, no {caps,scroll,num}lock, no ctrl-alt-del, am able to ssh to the box. Hypothesis: Keyboard support dropped for my old beast? The keyboard is connected via a 5-pin DIN (DIN 41524) AT connector. Changes made between OpenBSD 3.7 and OpenBSD 3.8 Miod is hacking keyboard map support in wscons(4) and elsewhere. My questions: Has anybody else noticed this problem with an AT connector connected box? Any ideas on what to enable or disable in UKC to get my keyboard working? Is my keyboard not working by design or mistake? Thanks in advance for any hints besides buying new hardware. Jasper OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel 486DX (486-class) real mem = 49913856 (48744K) avail mem = 37879808 (36992K) using 634 buffers containing 2596864 bytes (2536K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(2c) BIOS, date 04/07/95, BIOS32 rev. 0 @ 0xfbfa0 pcibios0 at bios0: rev 2.0 @ 0xf/0xc3b0 pcibios0: pcibios_get_intr_routing - function not supported pcibios0: PCI IRQ Routing information unavailable. pcibios0: PCI bus #0 is the last bus bios0: ROM list: 0xc/0x8000 0xc8000/0x800 0xef000/0x1000! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (bios) xl0 at pci0 dev 12 function 0 3Com 3c905C 100Base-TX rev 0x74: irq 12, address 00:01:02:f6:c8:17 bmtphy0 at xl0 phy 24: Broadcom 3C905C internal PHY, rev. 6 pchb0 at pci0 dev 16 function 0 UMC UM8881F Host rev 0x01 pcib0 at pci0 dev 18 function 0 UMC UM8886 rev 0x01 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard vga0 at isa0 port 0x3b0/48 iomem 0xa/131072 wsdisplay0 at vga0: console (80x25, vt100 emulation), using wskbd0 wsdisplay0: screen 1-5 added (80x25, vt100 emulation) wdc0 at isa0 port 0x1f0/8 irq 14 wd0 at wdc0 channel 0 drive 0: IBM-DALA-3540 wd0: 16-sector PIO, LBA, 516MB, 1057392 sectors wd0(wdc0:0:0): using BIOS timings wdc1 at isa0 port 0x170/8 irq 15 atapiscsi0 at wdc1 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: SAMSUNG, CD-ROM SC-152L, C100 SCSI0 5/cdrom removable cd0(wdc1:0:0): using BIOS timings ne1 at isa0 port 0x300/32 irq 10 ne1: NE2000 (RTL8019) Ethernet ne1: address 00:00:e8:5d:49:57 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker sysbeep0 at pcppi0 npx0 at isa0 port 0xf0/16: using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec pci0 at mainbus0 bus 0: configuration mode 1 (bios) xl0 at pci0 dev 12 function 0 3Com 3c905C 100Base-TX rev 0x74: irq 12, address 00:01:02:f6:c8:17 bmtphy0 at xl0 phy 24: Broadcom 3C905C internal PHY, rev. 6 pchb0 at pci0 dev 16 function 0 UMC UM8881F Host rev 0x01 pcib0 at pci0 dev 18 function 0 UMC UM8886 rev 0x01 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard vga0 at isa0 port 0x3b0/48 iomem 0xa/131072 wsdisplay0 at vga0: console (80x25, vt100 emulation), using wskbd0 wsdisplay0: screen 1-5 added (80x25, vt100 emulation) wdc0 at isa0 port 0x1f0/8 irq 14 wd0 at wdc0 channel 0 drive 0: IBM-DALA-3540 wd0: 16-sector PIO, LBA, 516MB, 1057392 sectors wd0(wdc0:0:0): using BIOS timings wdc1 at isa0 port 0x170/8 irq 15 atapiscsi0 at wdc1 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: SAMSUNG, CD-ROM SC-152L, C100 SCSI0 5/cdrom removable cd0(wdc1:0:0): using BIOS timings ne1 at isa0 port 0x300/32 irq 10 ne1: NE2000 (RTL8019) Ethernet ne1: address 00:00:e8:5d:49:57 pcppi0 at isa0
Re: Unable to install 3.8-4.2, able to install 3.8 on old 486DX. probably wscons(4)/wskbd(4) related.
Can you try to run either a 3.7 kernel with sys/dev/ic/pckbc.c r1.10 (stock 3.7 is r1.9) and report whether this causes the keyboard to become unresponsive? Miod
howto restored rm-ed files/directory
Hi Misc, I got an important directory in my 4.1 bsd and it's deleted using rm -rf :(. Anyone had experience restoring them? I really.. (I mean Really) need help on this one.. Thanks, Kind Regards, Insan -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Re: OpenBSD/i386 won't boot on Transmeta Efficeon CPU
Travers Buda wrote: * Ted Unangst [EMAIL PROTECTED] [2007-11-24 06:13:45]: *snip* can you build and boot a kernel with option CPU_DEBUG in the config? Actually use option CPUDEBUG, note the missing underscore. Here is the output: OpenBSD 4.2-current (GENERIC_DEBUG) #0: Sat Nov 24 08:19:52 CST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC_DEBUG cpu0: family f model 2 step 4 cpu0: cpuid level 1 cache eax 0 ebx 0 ecx 0 edx 0 cpu0: Transmeta Efficeon(tm) Processor TM8000 (GenuineTMx86 386- class) 1.60 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFL USH,ACPI,MMX,FXSR,SSE,SSE2,SS,TM NOTICE: this kernel does not support i386 CPU class panic: no appropriate CPU class available Stopped at Debugger+0x4:leave Debugger(d077dbe4,0,d08fbe88,18,9) at Debugger+0x4 panic(d06c7740,d06d6835,d074aa18,2000,d086a7b4) at panic+0x63 identifycpu(d086a7a0,d06c6d65,10,0,d077dbe4) at identifycpu+0x3ce cpu_startup(d06a1475,d06a3940,d08fbfa0,d0337a1f,2) at cpu_startup+0x94 main(0,0,0,0,0) at main+0x5d
Re: Unable to install 3.8-4.2, able to install 3.8 on old 486DX. probably wscons(4)/wskbd(4) related. [FIXED]
2007/11/24, Miod Vallat (on the road) [EMAIL PROTECTED]: Can you try to run either a 3.7 kernel with sys/dev/ic/pckbc.c r1.10 (stock 3.7 is r1.9) and report whether this causes the keyboard to become unresponsive? Sure, it will take me some time to get the kernel though. Unless you can tell me what cvs commandstring I have to unleash on my 4.2-stable source to get the r1.10 version. Oh, if you have a 4.2 available, it's easier to test a 4.2 with the 1.10 changes reverted, by doing this: cd /usr/src/sys/dev/ic/ cvs diff -r1.9 -r1.10 pckbc.c pckbc.revert patch -R pckbc.revert and compile a new 4.2 kernel. Keyboard works again after the booted and patched kernel, dmesg below. A round of beer is on me next hackathlon! $25 sent to the paypal account. Thanks Miod! Jasper # patch -R pckbc.revert Hmm... Looks like a normal diff to me... The text leading up to this was: -- |Index: pckbc.c |=== |RCS file: /cvs/src/sys/dev/ic/pckbc.c,v |retrieving revision 1.9 |retrieving revision 1.10 |diff -r1.9 -r1.10 -- Patching file pckbc.c using Plan A... Hunk #1 failed at 1. Hunk #2 succeeded at 362 (offset 4 lines). 1 out of 2 hunks failed--saving rejects to pckbc.c.rej done OpenBSD 4.2-stable (GENERIC) #5: Sat Nov 24 23:39:10 CET 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel 486DX (486-class) real mem = 49901568 (47MB) avail mem = 39292928 (37MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 04/07/95, BIOS32 rev. 0 @ 0xfbfa0 pcibios0 at bios0: rev 2.0 @ 0xf/0xc3b0 pcibios0: pcibios_get_intr_routing - function not supported pcibios0: PCI IRQ Routing information unavailable. pcibios0: PCI bus #0 is the last bus bios0: ROM list: 0xc/0x8000 0xc8000/0x800 0xef000/0x1000! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (bios) xl0 at pci0 dev 12 function 0 3Com 3c905C 100Base-TX rev 0x74: irq 12, address 00:01:02:f6:c8:17 bmtphy0 at xl0 phy 24: Broadcom 3C905C internal PHY, rev. 6 pchb0 at pci0 dev 16 function 0 UMC UM8881F Host rev 0x01 pcib0 at pci0 dev 18 function 0 UMC UM8886 rev 0x01 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard vga0 at isa0 port 0x3b0/48 iomem 0xa/131072 wsdisplay0 at vga0 mux 1: console (80x25, vt100 emulation), using wskbd0 wsdisplay0: screen 1-5 added (80x25, vt100 emulation) wdc0 at isa0 port 0x1f0/8 irq 14 wd0 at wdc0 channel 0 drive 0: IBM-DALA-3540 wd0: 16-sector PIO, LBA, 516MB, 1057392 sectors wd0(wdc0:0:0): using BIOS timings wdc1 at isa0 port 0x170/8 irq 15 atapiscsi0 at wdc1 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: SAMSUNG, CD-ROM SC-152L, C100 SCSI0 5/cdrom removable cd0(wdc1:0:0): using BIOS timings ne1 at isa0 port 0x300/32 irq 10, NE2000 (RTL8019), address 00:00:e8:5d:49:57 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec isapnp0 at isa0 port 0x279: read port 0x203 ne3 at isapnp0 NE2000 PLUG PLAY ETHERNET CAR, @@@9519, PNP80D6, port 0x200/32 irq 3: NE2000 (RTL8019), address 00:00:e8:5d:49:57 pccom3 at isapnp0 Tornado Modem SFM56PC, SFM0120, , port 0x3f8/8 irq 4: ns16550a, 16 byte fifo biomask ebe5 netmask ffed ttymask ffef pctr: no performance counters in CPU dkcsum: wd0 matches BIOS drive 0x80 root on wd0a swap on wd0b dump on wd0b -- We spend the first twelve months of our children's lives teaching them to walk and talk and the next twelve telling them to sit down and shut up.
Re: OpenBSD/i386 won't boot on Transmeta Efficeon CPU
Anders Langworthy wrote: I have a Sharp MP30 notebook that won't boot on OpenBSD/i386. I am unsure if my situation is a bug or unsupported hardware. The issue seems to be the CPU. It is a Transmeta Efficeon processor at 1.60 GHz. The processor is supposedly Pentium Pro (686) compatible. ...snip... As an update to anybody tinkering with this: This diff from Tom Cosgrove allows the kernel to detect the cpu and boot properly on my system: Index: machdep.c === RCS file: /cvs/src/sys/arch/i386/i386/machdep.c,v retrieving revision 1.411 diff -U9 -r1.411 machdep.c --- machdep.c 12 Nov 2007 01:17:41 - 1.411 +++ machdep.c 24 Nov 2007 20:22:22 - @@ -925,18 +925,63 @@ /* Family 6, not yet available from Transmeta */ { CPUCLASS_686, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 686 class /* Default */ }, NULL + }, + /* Family 7 */ + { + CPUCLASS_686, + } , + /* Family 8 */ + { + CPUCLASS_686, + } , + /* Family 9 */ + { + CPUCLASS_686, + } , + /* Family A */ + { + CPUCLASS_686, + } , + /* Family B */ + { + CPUCLASS_686, + } , + /* Family C */ + { + CPUCLASS_686, + } , + /* Family D */ + { + CPUCLASS_686, + } , + /* Family E */ + { + CPUCLASS_686, + } , + /* Family F */ + { + /* Extended processor family - Transmeta Efficeon */ + CPUCLASS_686, + { + 0, 0, TM8000, TM8000, + 0, 0, 0, 0, + 0, 0, 0, 0, + 0, 0, 0, 0, + TM8000 /* Default */ + }, + tm86_cpu_setup } } }, { Geode by NSC, CPUVENDOR_NS, National Semiconductor, /* Family 4, not available from National Semiconductor */ { { CPUCLASS_486, @@ -1493,7 +1538,7 @@ void tm86_cpu_setup(struct cpu_info *ci) { -#if !defined(SMALL_KERNEL) defined(I586_CPU) +#if !defined(SMALL_KERNEL) (defined(I586_CPU) || defined(I686_CPU)) longrun_init(); #endif }
adjusting the mtu with vr(4)
Is the support for adjusting the mtu with VIA Rhine-II chipset based interfaces missing because of hardware limitations or because support for it hasn't been written yet?? # ifconfig vr0 mtu 1492 ifconfig: SIOCSIFMTU: Inappropriate ioctl for device Sevan / Venture37 _ The next generation of MSN Hotmail has arrived - Windows Live Hotmail http://www.newhotmail.co.uk
Re: Annoying startx problem on 4.2/i386
check your DNS configuration. xauth(1) needs a working DNS to translates names to addresses and vice-versa. If it block, this blocks X startup. Hmmm... Maybe the first time the problem showed up the laptop was disconnected from the network, but I'm positive it showed more than once when the laptop was connected to my company's network. DNS addresses are configured via DHCP and I was able to connect to both company network and the internet once the X environment server was up, so I think DNS was not the problem. I'll double-check next time I'll fire the laptop up. Thank you anyway, bye, Manuel Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/
Re: howto restored rm-ed files/directory
On Sun, 25 Nov 2007 06:17:52 +0700, Randal L. Schwartz [EMAIL PROTECTED] wrote: it's called having a backup. once the inode is gone, the data is scattered, and the blocks likely reused quickly. no chance for undelete on unix. Yep.. totally agree.. -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Re: howto restored rm-ed files/directory
* Insan Praja SW [EMAIL PROTECTED] [2007-11-25 06:34:21]: On Sun, 25 Nov 2007 06:17:52 +0700, Randal L. Schwartz [EMAIL PROTECTED] wrote: it's called having a backup. once the inode is gone, the data is scattered, and the blocks likely reused quickly. no chance for undelete on unix. Yep.. totally agree.. Jesus saves, but Buddha makes incremental backups. -- Travers Buda
Re: Would I be encouraged to use OpenBSD as an embedded system
On Nov 24, 2007 3:13 AM, PowerMan [EMAIL PROTECTED] wrote: Hello, My English is poor and I wish I could express myself clearly. I am an embedded software engineer developing arm-linux based system. In fact, ebmedded system is an huage industrial domain in P.R.China now, and linux is the most popular OS. But the linux kernel 2.6 is more and more complex. I think an embedded system should be brief or laconic which is the feature of OpenBSD and NetBSD. I intend to make some effort to let people substitute linux for OpenBSD in P.R.China, such as port OpenBSD to Samsung S3Cxxx, Cirrus EP9xxx and Freescale i.MX, etc., publicize the good features of OpenBSD and offer some technical supports. Would I be encouraged? I visit the web site of OpenBSD and find the supported platforms should be self-compile itself and one of the project goal is greater integration of cryptographic software. But usually ther is no IDE disks in an arm9 based system, at most a 64MB flash chip. So it can not self-compile. And the resource is limitted, in some circumstance integration of cryptographic software is unnecessary, such as industrial control and some handhelds equipment. Would I be encouraged by the OpenBSD organization and get supported to just port OpenBSD kernel to arm based board and only run some necessary applications.(Actually busybox and some controlling programs in a controlling circumstance is enough.) The OpenBSD devs are always looking for hardware companies that are friendly (i.e. will supply good documentation for hardware). OpenBSD has been ported to the ARM processor. See http://www.openbsd.org/armish.html That port is primarily meant for the zaurus devices, but it's possible you could adapt it (and write drivers for it) to elsewhere. -Nick
Re: Getting HD Audio to work on Sony VIAO SZ460N
Thanks for the great work Deanna. I'm sure other Sony laptop owners are appreciative as well. Now to start work on the wpa_supplicant. Sincerely, Rob. -- Emancipate yourself from mental slavery, none but ourselves can free our minds Bob Marley, Redemption Song
Looking for ideas on stability research for Sun X4100 M2
Hi, You may have seen a few posts from me on this box. I continue to try to isolate the problem as much as possible with it and it's now narrow to a more specific setup in the current kernel, but still this box WILL NOT be stable what so ever if use with the amd64.mp kernel. I am running out of ideas to narrow it more, so if anyone may have suggestions as to what I could look for, I would appreciate it. I start to think that it might be a run out of buffer space when writing to the drives, I am not sure if that's logical or not. However, I find a few ways to make it more stable, but not crash free. All may be 100% related to the writing speed to the SAS drives. To proof this point, or to discard it, I would like to find a way to really control the writing speed and at the same time be able to monitor the system variable, buffer, or what ever make sense to isolate it more. Why I am saying this is because if I do transfer slowly, by using slow old servers over the network, I can transfer big files to that Sun box, but as soon as I increase the writing speed to the drive, I reach the point when I crash it. It is ALWAYS writing only that will crash it. Reading as badly as you want, so far anyway, just doesn't trigger the problem. I proof that by mounting partitions, RO and noatime in fstab. Yes, I need both, then noatime is important in my tests anyway. I can create a 10GB file and then do cp /var/test /dev/null and I will transfer that file at 32MB/sec and it will do it and not crash. I can do multiple read, etc. However, as soon as ANY write is done as small as it might be when the drive is very busy, or I guess may be the driver buffer, or control, or what not that I am trying to isolate is full, or loaded, then a simple small write to drive like echo 'test' /tmp/test will crash that box every time. Even a simple ssh access to that box, when it will try to update the /var/log/authlog, it will go south. I also was able to increase the writing speed to the drive before it crash, or the size I can transfer before it crash if I also disable the USB virtual support for the SCSI cdrom that is provided by the BIOS on that box. So, I am looking at ideas where I could possibly look to come out with more details and possibly fix that box. It's much better then it was with 4.2 release by far as many issues where fix, including auto negotiation of network card, etc on that box. The short of it is that box is not usable at all when you load the amd64.mp kernel on it, but is now finally stable, or sure more resistant anyway when use the single processor amd64, and so far, I haven't been able to crash it yet in more then two months test if I use the i386 single or mp kernel. But as far as I can see, there is still bug(s) to be found in the amd64.mp kernel and I am looking for ideas as to narrow it down more. I am running out of trucks so far and need more ideas. Amy be some sysctl variable can be try to test my theory, may be not. But based on my tests, it looks like that it might be some kind of buffer that runs out, based on the fact that slower writing doesn't crash it, and I want to proof or deny that, but do not know how, other then doing it the way I did using slow speed computers, or put port speed at 10mb as an example, etc. But that may also be a very stupid idea, however looks possible. Most likely there is something in the drive that crash it, however, my understanding is that, the drive here is the same regardless if use in the single processor, or mp kernel. I try to see what might be different in kernel between the two that might affect this, but I have to admit that at this point, I am over my head to find witch part is the most logical part to look at. So, an suggestions for testing that anyone might have would be welcome. I totally give up on using the amd64.mp kernel on these boxes and I am happily using the i386.mp, but I still would love to find the final answers as almost all bugs for that box in the last 6 months have been resolved. It's much better then it was, but not home free yet. Best, Daniel
How do you start a non-standard daemon/program near end of boot?
Hi, I've read all the relevant boot and rc type manuals and they only give a vague reference to starting programs with rc.local or rc.conf.local. I want to start wpa_supplicant and I haven't seen any variables for doing it. Some OS's have the /usr/local/etc/rc.d directory for such purposes. Thanks, Rob -- Emancipate yourself from mental slavery, none but ourselves can free our minds Bob Marley, Redemption Song
Re: How do you start a non-standard daemon/program near end of boot?
Rob Lytle P=P0P?P8QP0: Hi, I've read all the relevant boot and rc type manuals and they only give a vague reference to starting programs with rc.local or rc.conf.local. I want to start wpa_supplicant and I haven't seen any variables for doing it. Some OS's have the /usr/local/etc/rc.d directory for such purposes. Thanks, Rob Just add arbitrary commands to /etc/rc.local - it is executed at the end of the boot process.
Re: How do you start a non-standard daemon/program near end of boot?
On Nov 24, 2007 10:37 PM, Rob Lytle [EMAIL PROTECTED] wrote: Hi, I've read all the relevant boot and rc type manuals and they only give a vague reference to starting programs with rc.local or rc.conf.local. I want to start wpa_supplicant and I haven't seen any variables for doing it. Some OS's have the /usr/local/etc/rc.d directory for such purposes. Have you tried $ sudo mg /etc/rc.local yet? rc.conf is just a shell script that gives variables which /etc/rc reads and uses to decide what to launch rc.local is just a shell script that gets run at the end of /etc/rc Put your calls in rc.local or make /etc/rc.mydaemons and call it from /etc/rc or something. It's a pretty simple system. -Nick
Re: How do you start a non-standard daemon/program near end of boot?
I've read all the relevant boot and rc type manuals and they only give a vague reference to starting programs with rc.local or rc.conf.local. I want to start wpa_supplicant and I haven't seen any variables for doing it. Some OS's have the /usr/local/etc/rc.d directory for such purposes. It's pretty clear here that you should put it inside /etc/rc.local: http://openbsd.org/faq/faq10.html#rc Just as the example in the docs provide: if [ -x /usr/local/sbin/daemonx ]; then echo -n ' daemonx'; /usr/local/sbin/daemonx fi Obviously, you need to know how to start the daemon you want to use. Then if you want to shut it down, use the rc.shutdown, also in the docs. Best, Daniel
xterm color issues
hi I have installed OpenBSD 4.2 on a 32 bit x86 platform. full install/ all packages. When I start a xterm on a VNC # xterm -fg green Warning: Color name green is not defined does not understand any of the colors. Please help.
rxvt / aterm etc.. cannot open due to Colour issue
hi I did a new install of OpenBSD 4.2 on a 32bit i386 box. I then pkg_add rxvt, but it wont start with a color error. Error www# rxvt rxvt: can't determine colour: Black rxvt: can't determine colour: Black rxvt: aborting This seems to be an issue with the rgb.txt file and Xorg etc.. Can some one direct me as to what is rxvt looking for in the OS and where should it be.. I think it needs to look for the rgb.txt file - not sure where.. I need rxvt. please help. www# uname -a OpenBSD www 4.2 GENERIC#375 i386 www# rxvt -version rxvt: bad option -version Rxvt v2.7.10 - released: 26 MARCH 2003 Options: XPM,transparent,utmp,menubar,XIM,multichar_languages,scrollbars=rxvt,XGetDe-f aults www# Xorg X Window System Version 7.2.0 Release Date: 22 January 2007 X Protocol Version 11, Revision 0, Release 7.2 Build Operating System: OpenBSD 4.2 i386 Current Operating System: OpenBSD www 4.2 GENERIC#375 i386
Re: Looking for ideas on stability research for Sun X4100 M2
Just for the records. Here is what help some for the stability in BIOS: * Hotplug USB FDD Support[Disabled] * * Hotplug USB CDROM Support [Disabled] * Everything is default, or as F9 would put it when you load optimum setting in BIOS. Then you only need to change these and it will help, but not eliminate the crash/reboot. It will however be able to take a good amount more load. Daniel. Advanced *** * USB Configuration * * *** * * Module Version - 2.24.0-11.4* * * * USB Devices Enabled : * * 1 Keyboard, 1 Mouse, 2 Drives * * * * USB Controller Support [USB 1.1+USB 2.0]* * Legacy USB Support [Enabled]* * USB 2.0 Controller Mode[HiSpeed]* * BIOS EHCI Hand-Off [Enabled]* * Hotplug USB FDD Support[Disabled] * * Hotplug USB CDROM Support [Disabled] * * * USB Mass Storage Device Configuration * * * * * * * *** v02.58 (C)Copyright 1985-2007, American Megatrends, Inc.
Re: How do you start a non-standard daemon/program near end of boot?
NetOne - Doichin Dokov said: Rob Lytle P=P0P?P8QP0: Hi, I've read all the relevant boot and rc type manuals and they only give a vague reference to starting programs with rc.local or rc.conf.local. I want to start wpa_supplicant and I haven't seen any variables for doing it. Some OS's have the /usr/local/etc/rc.d directory for such purposes. Thanks, Rob Just add arbitrary commands to /etc/rc.local - it is executed at the end of the boot process. - Thanks for the info. I was making it more complicated than it is. Also thanks for other peoples' posts. I might have WPA-PSK faster than I thought. Sincerely, Rob. -- Emancipate yourself from mental slavery, none but ourselves can free our minds Bob Marley, Redemption Song
Re: howto restored rm-ed files/directory
Insan Praja SW wrote: Hi Misc, I got an important directory in my 4.1 bsd and it's deleted using rm -rf :(. Anyone had experience restoring them? I really.. (I mean Really) need help on this one.. Thanks, Kind Regards, Insan depends how much trouble you want to go to and in what format your files were. there are companies who will charge 800-2000$ for recovery... for a DYI-er: stop using the box/filesystem use dd or something like that to get a bit-for-bit copy of the filesystem. the underlying data is probably still there, maybe not so accessible - something like this: dd if=/dev/rsd0f of=/var/tmp/dd_rsd0f bs=64k use strings(1) and then grep or less on this to see what readable stuff you can get out of it. txt files will emerge quite usable, but not necessarily in order. if you need complete unadulterated data then there are a few other things you could try, but basically you'll need to get down dirty with disk blocks. NB suggest using vsconfig to mount a copy of your dd file as a volume again, and then fsdb to see what you can recover. a+ scorch
How to track down a suspected memory leak?
Hello list, I am looking for suggestions how to identify the source(s) of what appears to be a memory leak of approx. 10 MByte/day on a clustered pair of filtering bridges. These bridges are running i386 -current snapshot from Nov 2nd. They form outer, Internet-facing stage of a two stage firewall in an enterprise setup. Before we received two new i386 servers, the same setup was running on two sparc64 servers with a snapshot about one month old. Back then, I observed the same steady decrease of memory, graphing trends using net-snmp and Cacti. Those old sparc64 servers only had 192 MByte of RAM, they ran out of memory and stopped working after 10 days or so. As I had some difficulties to get net-snmp to run at all on sparc64 (see patch posted to this list earlier), I was hoping to get away from this apparent memory leak once I migrate to to newer i386 servers. After the migration from sparc64 to i386, indeed the memory consumed during the first few days remained constant. Thereafter however, the steady decrease of free memory also started to appear on the i386 much like with the sparc64. I disabled all SNMP GET operations for a few hours, just to see if the leak might be caused by net-snmp, but the leakage continues during this time too. Staring at the output of 'systat vmstat' etc. did not help either. The pragmatic work-around for the moment is cron job that reboots each of the cluster nodes once a week. There is is enough headroom with 1 GByte of RAM on these i386 servers. The two cluster nodes reboot at different times, so the service is interrupted only for a few seconds until rapid spanning tree completes fail-over. At the moment, on a much smaller scale, I replicate such a two stage clustered firewall setup for home use. based on OpenBSD flashboot, WRAP / ALIX boards from PCengines and surplus Nokia IP120s which I converted to OpenBSD. Also because the WRAPs have only 128 MByte of RAM, I very much like to get to the root cause of that apparent memory leak in my clustered filtering bridge configuration. I am grateful for any hints and suggestions how to track it down. Thanks, Rolf