Does OpenBSD have adjustkernel?
Hey,guys: In NetBSD its have adjustkernel perl script can custom your kernel configuration file,how about OpenBSD? I custom my OpenBSD kernel configuration and rebuild it,but in the dmesg I found OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC I rename my configuration file to OpenBSD,but in dmesg its also GENERIC,how can I change it? linyin -- Regards linyin.8800.org
Being a shell provider - good business?
Hello. My friend thinks that being a shell provider for IRC bots and bouncers is very good business. How do I convince him it's not? Sorry for going off-topic and cross-post, but I don't know who else to ask. Thanks, NRS http://nrk.no/p3/program/national_rap_show/
Re: snapshots/packages/i386 newer than snapshot/i386
Alright, thanks for the information, that explains a lot. So there is no easy way to run -current right now? 2008/9/13 Joe Gidi [EMAIL PROTECTED] I got the same(?) problem with the amd64. Or at least the libs is wrong version up or down, not sure which way. I have tried ftp.openbsd.org, ftp.eu.openbsd.org and ftp.su.se and a few reinstallation without luck. Snapshot ISOs and snapshot packages are currently out of sync due to the upcoming 4.4 release. Theo's explanation: http://marc.info/?l=openbsd-miscm=120620984225011w=2 -- Joe Gidi [EMAIL PROTECTED]
Re: Does OpenBSD have adjustkernel?
On 15:37 Sun 14 Sep, Ling Xiaoheng wrote: Hey,guys: In NetBSD its have adjustkernel perl script can custom your kernel configuration file,how about OpenBSD? I custom my OpenBSD kernel configuration and rebuild it,but in the dmesg I found OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC I rename my configuration file to OpenBSD,but in dmesg its also GENERIC,how can I change it? Hi! Try reading OpenBSD FAQ about compiling and read config(8) -- Vladimir Kirillov
Re: Does OpenBSD have adjustkernel?
Ling Xiaoheng schrieb: Hey,guys: In NetBSD its have adjustkernel perl script can custom your kernel configuration file,how about OpenBSD? I custom my OpenBSD kernel configuration and rebuild it,but in the dmesg I found OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC I rename my configuration file to OpenBSD,but in dmesg its also GENERIC,how can I change it? linyin Just config and compile 'OpenBSD' then instead of 'GENERIC'? And install this bsd[.mp] then, of course. It's pretty much what's written in the build-your-custom-kernel-howto except you replace GENERIC by OpenBSD.
Re: Does OpenBSD have adjustkernel?
On Sun, Sep 14, 2008 at 03:37:04PM +0800, Ling Xiaoheng wrote: Hey,guys: In NetBSD its have adjustkernel perl script can custom your kernel configuration file,how about OpenBSD? I custom my OpenBSD kernel configuration and rebuild it,but in the dmesg I found OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC I rename my configuration file to OpenBSD,but in dmesg its also GENERIC,how can I change it? You do not customize your kernel configuration file unless you know what you are doing, in which case you still are on your own. You need to read the FAQ which explains why you don't customize kernels. Gilles -- Gilles Chehade http://www.poolp.org/~gilles/ Please, contribute to my happiness ;) http://www.amazon.com/gp/registry/wishlist/2O09ACKR1A8HD/
Re: Being a shell provider - good business?
On Sun, Sep 14, 2008 at 9:34 AM, Art Vandelay [EMAIL PROTECTED] wrote: Hello. My friend thinks that being a shell provider for IRC bots and bouncers is very good business. How do I convince him it's not? Sorry for going off-topic and cross-post, but I don't know who else to ask. Thanks, NRS http://nrk.no/p3/program/national_rap_show/ I'm serious, I'm trying to get him to use his BSD servers for other purposes. Maybe webhosting. Maybe a grid to help out local universities in their supercomputing. Or just plain consulting. Isn't there any research article out there showing just how silly and profitless that whole business model is? Thanks guys, NRS http://nrk.no/p3/program/national_rap_show/
Re: dhcpd: send_packet: No buffer space available
On Sun, Sep 14, 2008 at 02:57:19PM +0200, marcin wrote: Hi, I have network server running on OpenBSD 4.3. Kernel was patched and recompiled with changed amount of queue for hfsc and cbq to 768. This machine has 3 interface, two external and one internal. On each interface i have hfsc queing active. On server i have DHCPD server, DNS (bind), PF+queing, Postfix + sasl + postgrey + clamd for small group of users. Server working for 100 hosts. My problem: In my logs i'm getting following message: dhcpd: send_packet: No buffer space available Most porbably it has todo with your altq setup. If the packet can't be queued because the bandwidth or queue length is exeeded it will be dropped and a ENOBUFS is returned. I tried to change my NIC, change values for sysctl, but this did not help me... Someone had similar problem ? Below I included additional information which can help to set the cause of problem Thank You! # sysctl net.inet.udp.sendspace=262144 net.inet.udp.recvspace=262144 Does not matter but honestly you should not fiddle with these settings if you don't know the effect of the values. net.bpf.bufsize=10485760 net.bpf.maxbufsize=10485760 I doubt this is the limiting factor in your case and I don't want to know in how many ways setting the bpf buffer size to 10MB will cause troubles later on. -- :wq Claudio
Re: Being a shell provider - good business?
Honestly speaking, I would say its easy money. Thanks Subhro On 9/14/08, Art Vandelay [EMAIL PROTECTED] wrote: On Sun, Sep 14, 2008 at 9:34 AM, Art Vandelay [EMAIL PROTECTED] wrote: Hello. My friend thinks that being a shell provider for IRC bots and bouncers is very good business. How do I convince him it's not? Sorry for going off-topic and cross-post, but I don't know who else to ask. Thanks, NRS http://nrk.no/p3/program/national_rap_show/ I'm serious, I'm trying to get him to use his BSD servers for other purposes. Maybe webhosting. Maybe a grid to help out local universities in their supercomputing. Or just plain consulting. Isn't there any research article out there showing just how silly and profitless that whole business model is? Thanks guys, NRS http://nrk.no/p3/program/national_rap_show/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Sent from Gmail for mobile | mobile.google.com Subhro Kar Software Engineer Dynamic Digital Technologies Pvt. Ltd. EPY-3, Sector: V Salt Lake City 700091 India
Re: Being a shell provider - good business?
actually i agree here, running a shell server for 10 USD a head per month, is a good idea especially for your freinds who need to learn, just do the math, 100 users at 10 USD a month and guess what your making money, though its the getting users to use and abide by good usage policies is the other trick it is a great tool for universities to teach students with also On Sun, Sep 14, 2008 at 8:37 PM, Subhro [EMAIL PROTECTED] wrote: Honestly speaking, I would say its easy money. Thanks Subhro On 9/14/08, Art Vandelay [EMAIL PROTECTED] wrote: On Sun, Sep 14, 2008 at 9:34 AM, Art Vandelay [EMAIL PROTECTED] wrote: Hello. My friend thinks that being a shell provider for IRC bots and bouncers is very good business. How do I convince him it's not? Sorry for going off-topic and cross-post, but I don't know who else to ask. Thanks, NRS http://nrk.no/p3/program/national_rap_show/ I'm serious, I'm trying to get him to use his BSD servers for other purposes. Maybe webhosting. Maybe a grid to help out local universities in their supercomputing. Or just plain consulting. Isn't there any research article out there showing just how silly and profitless that whole business model is? Thanks guys, NRS http://nrk.no/p3/program/national_rap_show/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Sent from Gmail for mobile | mobile.google.com Subhro Kar Software Engineer Dynamic Digital Technologies Pvt. Ltd. EPY-3, Sector: V Salt Lake City 700091 India ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Being a shell provider - good business?
The way I see it, providing the shells is relatively easy, but keeping your line free of DDoS and other niceties it brings is not worth the effort, especially if your users use IRC and bitch about every second of downtime. Suddenly $10 isn't so much, and it's a lot more than the cheap shell providers cost. Without good relations with your ISP it's not going to be easy to keep your connection at all when the users get nasty. -- Jussi Peltola
Re: Patching a SSH 'Weakness'
On Saturday 13 September 2008, johan beisser wrote: On Sep 13, 2008, at 5:49 AM, steve szmidt wrote: Yes, the US had it for a while but a recent ruling has reversed that. Really? I never heard of it ever being passed in the first place. If it's the case I'm thinking of, the key couldn't be compelled from the guy due to how they were trying to get the key, forcing him to incriminate or testify against himself. In the UK, it seems there's such a law. Page 1: http://networks.silicon.com/mobile/0,39024665,39282266,00.htm Page 2: http://networks.silicon.com/silicon/networks/mobile/0,39024665,39282266-2,00.htm The team cracks low-grade encryption using 100 quad-core PCs but for high-grade encryption it relies on the threat of a prison sentence for individuals refusing to hand over passwords or decrypted files. Unfortunately, the article does not mention of the specific law(s) used for said threats. -JCR
Re: Patching a SSH 'Weakness'
On 2008-09-14, J.C. Roberts [EMAIL PROTECTED] wrote: In the UK, it seems there's such a law. Page 1: http://networks.silicon.com/mobile/0,39024665,39282266,00.htm Page 2: http://networks.silicon.com/silicon/networks/mobile/0,39024665,39282266-2,00.htm The team cracks low-grade encryption using 100 quad-core PCs but for high-grade encryption it relies on the threat of a prison sentence for individuals refusing to hand over passwords or decrypted files. Unfortunately, the article does not mention of the specific law(s) used for said threats. that would be part III of the Regulation of Investigatory Powers Act 2000, as amended by the Terrorism Act 2006 Your favourite search engine should pick up a few references..
Re: Does OpenBSD have adjustkernel?
On Sunday 14 September 2008, Ling Xiaoheng wrote: Hey,guys: In NetBSD its have adjustkernel perl script can custom your kernel configuration file,how about OpenBSD? I custom my OpenBSD kernel configuration and rebuild it,but in the dmesg I found OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC I rename my configuration file to OpenBSD,but in dmesg its also GENERIC,how can I change it? linyin linyin, First of all, you are running an old version, OpenBSD 4.2 --The current version of OpenBSD is 4.3. From your previous post with the subject of Newbie some problem with OpenBSD, it is obvious you are just starting to learn OpenBSD. All users are strongly encouraged to run the GENERIC (or GENERIC.MP) kernel. The GENERIC kernel should be sufficient for most all systems and situations. There are only three situations where anyone should run a custom kernel: 1.) Development/Testing 2.) Resolving Conflicts 3.) Needed Functionality In situation #1, people are developing or testing new kernel level functionality and obviously have a verifiable need to run a custom kernel on their dev/test machine. In situation #2, using a custom kernel is required to get past a conflict caused by your hardware. There are situations where some hardware misrepresents itself, or is misidentified, or conflicts with other drivers/hardware. The only way to get past the conflict and/or misidentification problem is to disable and/or enable support for the actual hardware you have. Even when you have conflicts, often you do not need to build a custom kernel since you can reconfigure the GENERIC kernel through the config(8) utility. (see `man config`) In situation #3, you have a specific need for functionality not included in the GENERIC kernel. A good example is if you have a real need to support the NTFS file system, you would need to build a custom kernel with the NTFS support enabled. --The main reason why many seldom used features are not enabled by default in the GENERIC kernel is to keep the kernel small. Unless you have a verifiable need to run a modified kernel, you should always be running GENERIC (or GENERIC.MP). If you insist on messing around with the kernel, no one on these will help you, and mainly because they cannot help you without knowing exactly what tweaks and modifications you're actually running. Even if you are an absolute expert with computer systems and operating system design, running the default GENERIC (or GENERIC.MP) kernel whenever possible is always the very best way to manage your OpenBSD system properly. Kind Regards, JCR
Re: Patching a SSH 'Weakness'
On Sunday 14 September 2008, Stuart Henderson wrote: On 2008-09-14, J.C. Roberts [EMAIL PROTECTED] wrote: In the UK, it seems there's such a law. Page 1: http://networks.silicon.com/mobile/0,39024665,39282266,00.htm Page 2: http://networks.silicon.com/silicon/networks/mobile/0,39024665,3928 2266-2,00.htm The team cracks low-grade encryption using 100 quad-core PCs but for high-grade encryption it relies on the threat of a prison sentence for individuals refusing to hand over passwords or decrypted files. Unfortunately, the article does not mention of the specific law(s) used for said threats. that would be part III of the Regulation of Investigatory Powers Act 2000, as amended by the Terrorism Act 2006 Your favourite search engine should pick up a few references.. Thanks Stuart! I've recently been working on a global list of anti-fraud and anti-corruption government and non-government organizations but the toughest part is of course finding all the relevant statutes across language barriers and international borders. Luckily, I have some help on the legal research side of it. -JCR
Re: zyd(4) {xfer,frame} too short (length=XX)
Following up to an old post of mine : It seems the recent(ish, ~2 weeks ago) commits to zyd(4) have fixed the issue described below. At least, I'm currently downloading the latest snapshot install.iso and it's working just fine, no more errors like below. Thanks, Damien ! Cheers, Paul 'WEiRD' de Weerd On Sat, May 10, 2008 at 05:11:04PM +0200, Paul de Weerd wrote: | Hi all, | | Today I stumbled across a dirt cheap (~6 EUR) wireless + bluetooth | combo USB device. Turns out the wireless part is supported (it's a | zyd(4)) : | | uhub3 at uhub0 port 1 Genesys Logic USB2.0 Hub rev 2.00/6.0b addr 2 | zyd0 at uhub3 port 1 configuration 1 interface 0 ZyDAS USB2.0 WLAN rev 2.00/43 .30 addr 3 | ubt0 at uhub3 port 4 SiW SiW rev 1.10/15.00 addr 4 | zyd0: HMAC ZD1211, FW 46.05, RF RFMD, PA 0, address 00:11:f6:7e:fe:d8 | | However, when using the card I get lots of these : | | zyd0: xfer too short (length=22) | zyd0: frame too short (length=22) | zyd0: frame too short (length=4) | zyd0: xfer too short (length=8) | zyd0: xfer too short (length=24) | zyd0: xfer too short (length=11) | zyd0: xfer too short (length=6) | | etc. | | This errormessage is not described in the manpage and looking at the | source, all I see is that they're generated when receiving frames. | (zyd_rxeof and zyd_rx_data). Rate of error seems to be correlated to | the load on the nic, but not completely. Could this be a faulty nic | (maybe the reason why it's so damn cheap) or is something else going | on ? | | If anybody is interested, I could send one of these their way. | | Cheers, | | Paul 'WEiRD' de Weerd | | -- | [++-]+++.+++[---].+++[+ | +++-].++[-]+.--.[-] | http://www.weirdnet.nl/ -- [++-]+++.+++[---].+++[+ +++-].++[-]+.--.[-] http://www.weirdnet.nl/
Re: acpitz diff changes warnings on compaq nc6000 [Re: CVS: cvs.openbsd.org: src]
I've had the acpitz0: _AL1[0] not a object ref problem with my HP Compaq 6710B too, with -current it seems to be fixed /Markus OpenBSD 4.4-current (GENERIC.MP) #29: Sun Sep 14 18:59:41 CEST 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 2125410304 (2026MB) avail mem = 2063753216 (1968MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf2a6d (25 entries) bios0: vendor Hewlett-Packard version 68DDU Ver. F.10 date 01/11/2008 bios0: Hewlett-Packard HP Compaq 6710b (GR679ET#AK8) acpi0 at bios0: rev 2 acpi0: tables DSDT FACP SLIC HPET APIC MCFG TCPA SSDT SSDT SSDT SSDT SSDT SSDT acpi0: wakeup devices C0B0(S5) C108(S3) C10F(S3) C110(S3) C111(S3) C119(S3) C11A(S3) C11B(S3) C131(S5) C2A1(S5) C132(S5) C137(S5) C134(S5) C2A2(S5) C23D(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz, 1995.38 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG cpu0: 2MB 64b/line 8-way L2 cache cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz, 1995.00 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG cpu1: 2MB 64b/line 8-way L2 cache ioapic0 at mainbus0 apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 1 acpiprt0 at acpi0: bus 2 (C0B0) acpiprt1 at acpi0: bus 8 (C11D) acpiprt2 at acpi0: bus 16 (C131) acpiprt3 at acpi0: bus 24 (C132) acpiprt4 at acpi0: bus 40 (C134) acpiprt5 at acpi0: bus 0 (C003) acpiec0 at acpi0 acpicpu0 at acpi0 acpicpu1 at acpi0 acpitz0 at acpi0: critical temperature 105 degC acpitz1 at acpi0: critical temperature 108 degC acpitz2 at acpi0: critical temperature 110 degC acpitz3 at acpi0: critical temperature 256 degC acpitz4 at acpi0: critical temperature 108 degC acpibat0 at acpi0: C23B model Primary serial 20667 2007/08/17 type LIon oem Hewlett-Packard acpibat1 at acpi0: C23A not present acpiac0 at acpi0: AC unit online acpibtn0 at acpi0: C2BF acpibtn1 at acpi0: C153 acpivideo at acpi0 not configured cpu0: unknown Enhanced SpeedStep CPU, msr 0x06120a2506000a25 cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 2000 MHz (1292 mV): speeds: 2000, 1200 MHz pci0 at mainbus0 bus 0: configuration mode 1 pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x0c vga1 at pci0 dev 2 function 0 Intel GM965 Video rev 0x0c wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) agp0 at vga1: aperture at 0xd000, size 0x1000 Intel GM965 Video rev 0x0c at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x03: apic 1 int 16 (irq 10) uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x03: apic 1 int 17 (irq 10) ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x03: apic 1 int 18 (irq 11) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio rev 0x03: apic 1 int 16 (irq 10) azalia0: codec[s]: Analog Devices/0x1981, ATT/Lucent/0x1040, using Analog Devices/0x1981 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x03 pci1 at ppb0 bus 8 ppb1 at pci0 dev 28 function 1 Intel 82801H PCIE rev 0x03: apic 1 int 17 (irq 10) pci2 at ppb1 bus 16 wpi0 at pci2 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: apic 1 int 17 (irq 10), MoW2, address 00:1b:77:c7:4a:bc ppb2 at pci0 dev 28 function 2 Intel 82801H PCIE rev 0x03: apic 1 int 18 (irq 11) pci3 at ppb2 bus 24 bge0 at pci3 dev 0 function 0 Broadcom BCM5787M rev 0x02, BCM5754/5787 A2 (0xb002): apic 1 int 18 (irq 11), address 00:1a:4b:69:c0:69 brgphy0 at bge0 phy 1: BCM5787 10/100/1000baseT PHY, rev. 0 ppb3 at pci0 dev 28 function 4 Intel 82801H PCIE rev 0x03: apic 1 int 16 (irq 10) pci4 at ppb3 bus 40 uhci2 at pci0 dev 29 function 0 Intel 82801H USB rev 0x03: apic 1 int 20 (irq 10) uhci3 at pci0 dev 29 function 1 Intel 82801H USB rev 0x03: apic 1 int 21 (irq 10) uhci4 at pci0 dev 29 function 2 Intel 82801H USB rev 0x03: apic 1 int 18 (irq 11) ehci1 at pci0 dev 29 function 7 Intel 82801H USB rev 0x03: apic 1 int 20 (irq 10) usb1 at ehci1: USB revision 2.0 uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb4 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xf3 pci5 at ppb4 bus 2 cbb0 at pci5 dev 4 function 0 Ricoh 5C476 CardBus rev 0xb6: apic 1 int 16 (irq 5) Ricoh 5C832 Firewire rev 0x02 at pci5 dev 4 function 1 not configured cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x0, lattimer
Re: Patching a SSH 'Weakness'
On Saturday 13 September 2008, johan beisser wrote: On Sep 13, 2008, at 5:49 AM, steve szmidt wrote: Yes, the US had it for a while but a recent ruling has reversed that. Really? I never heard of it ever being passed in the first place. If it's the case I'm thinking of, the key couldn't be compelled from the guy due to how they were trying to get the key, forcing him to incriminate or testify against himself. Yeah, you might be right. But the Patriot Act gives them carte blanche to invade our privacy in the name of national security. -- Steve Szmidt They that would give up essential liberty for temporary safety deserve neither liberty nor safety. Benjamin Franklin
Re: Does OpenBSD have adjustkernel?
The GENERIC kernel should be sufficient for most all systems and situations. I think it's his decision. If he'll do drivers patches and even do new drivers, if he will use custom mk.conf, and maybe even custom cvs tree why not use custom kernel config too. By the way if he'll get problems with something, they are will not consider by community, if his kernel isn't GENERIC, so it's better to build GENERIC kernel every time along with custom and hold it for bad day. In NetBSD its have adjustkernel perl script can custom your kernel I really don't see reason to write such. Just write your own config base on sys/arch/(your architecture)/conf/GENERIC and sys/conf/GENERIC and some online information. Don't forget that the bootloader give you choose kernel patch, so you're always in safe place. I rename my configuration file to OpenBSD,but in dmesg its also GENERIC,how can I change it? Didn't you forget to build it? :-) or did make install, or put compiled kernel to right place manually?
Re: Does OpenBSD have adjustkernel?
On Sunday 14 September 2008 20:16:17 Ivan Arsenyev wrote: The GENERIC kernel should be sufficient for most all systems and situations. I think it's his decision. If he'll do drivers patches and even do new drivers, if he will use custom mk.conf, and maybe even custom cvs tree why not use custom kernel config too. By the way if he'll get problems with something, they are will not consider by community, if his kernel isn't GENERIC, so it's better to build GENERIC kernel every time along with custom and hold it for bad day. In NetBSD its have adjustkernel perl script can custom your kernel I really don't see reason to write such. Just write your own config base on sys/arch/(your architecture)/conf/GENERIC and sys/conf/GENERIC and some online information. Don't forget that the bootloader give you choose kernel patch, so you're always in safe place. I rename my configuration file to OpenBSD,but in dmesg its also GENERIC,how can I change it? Didn't you forget to build it? :-) or did make install, or put compiled kernel to right place manually? Looks like dmesg holds several boot processes in it and it just had the old kernel name on top of it with the newer one somewhere towards the end. That's at least my conclusion from the off-list communication, as long as there aren't any misunderstandings remaining and I guess he was looking for something like the ident-line in FreeBSD kernel configs.
Time Keeping with ntpd on sparc64 (Sun Fire V210)
Hi all, I've noticed two interesting (but minor) issues with timekeeping on my sparc64 machine. First, it doesn't seem to keep time across reboots and second I've recently seen two large jumps in clock drift. Of course, the first issue is easily solved with an ntpd -s, but it seems to me that a clean reboot should store system time in some sort of hardware clock, so it is still 'reasonably close' to the correct time after rebooting. In stead, my machine seems to have an increasingly large time offset every time I boot (not often, but still). The two most recent restarts (the ones still available in /var/log/daemon.*.gz) : Aug 31 16:18:17 despair ntpd[8191]: ntp engine ready Aug 31 16:19:45 despair ntpd[28761]: adjusting local clock by -78.630523s ... Sep 14 17:10:41 despair ntpd[11538]: ntp engine ready Sep 14 17:12:03 despair ntpd[10232]: adjusting local clock by -87.560146s This is a trend I've noticed ever since I got the machine. Unfortunately, I can not recall the behaviour from when I just got the machine (so I don't know if it was already offset somehow). Note that this happens on power cycling as well as simply rebooting the machine. The second issue is mostly my curiosity wanting to know what's going on. Drift on this machine used to be around 1120ppm. However, shortly after I installed the second CPU, it dropped by almost 35% to ~730ppm and just now it went to ~15ppm : Sep 14 23:05:59 despair ntpd[10232]: adjusting clock frequency by -764.473569 to -26.513469ppm Sep 14 23:23:52 despair ntpd[10232]: adjusting clock frequency by -21.373112 to -47.886581ppm Sep 14 23:44:38 despair ntpd[10232]: adjusting clock frequency by 63.863984 to 15.977402ppm Of course, this is a total non-issue (as time otherwise seems to run just fine) but I'm very curious how this came about. I used to think Sun used quality hardware in their products (including decent time keeping equipment), but with a random ASUS amd64 machine I get way lower drifts (sub 10ppm range) than here on a high-end server from a high priced company (this is probably a great illusion, created by the Sun marketing dept.) And of course, clock drift may not be the best measure of hardware quality. At any rate, there's again an easy solution : just ignore it. Can anybody shed some light on either of these two issues ? dmesg for this machine (a Sun Fire V210) is attached. Cheers, Paul 'WEiRD' de Weerd console is /[EMAIL PROTECTED],60/[EMAIL PROTECTED]/[EMAIL PROTECTED],3f8 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2008 OpenBSD. All rights reserved. http://www.OpenBSD.org Copyright (c) 1995-2008 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 4.3 (GENERIC) #1555: Wed Mar 12 11:15:43 MDT 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/sparc64/compile/GENERIC real mem = 8589934592 (8192MB) avail mem = 8370077696 (7982MB) mainbus0 at root: Sun Fire V210 SUNW,UltraSPARC-IIIi at mainbus0 not configured cpu0 at mainbus0: SUNW,UltraSPARC-IIIi (rev 3.4) @ 1336 MHz cpu0: physical 32K instruction (32 b/l), 64K data (32 b/l), 1024K external (64 b/l) memory-controller at mainbus0 not configured memory-controller at mainbus0 not configured schizo0 at mainbus0: Tomatillo, version 4, ign 7c0, bus B 0 to 0 schizo0: dvma map c000-dfff, iotdb 5174000-51f4000 pci0 at schizo0 bge0 at pci0 dev 2 function 0 Broadcom BCM5704C rev 0x00, BCM5704 A3 (0x2003): ivec 0x7c8, address 00:03:ba:fe:36:e9 brgphy0 at bge0 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0 bge1 at pci0 dev 2 function 1 Broadcom BCM5704C rev 0x00, BCM5704 A3 (0x2003): ivec 0x7c9, address 00:03:ba:fe:36:ea brgphy1 at bge1 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0 schizo1 at mainbus0: Tomatillo, version 4, ign 780, bus A 0 to 0 schizo1: dvma map c000-dfff, iotdb 58d8000-5958000 pci1 at schizo1 ebus0 at pci1 dev 7 function 0 Acer Labs M1533 ISA rev 0x00 flashprom at ebus0 addr 0-f, 290-290 not configured rtc0 at ebus0 addr 70-71: m5819p pcfiic0 at ebus0 addr 320-321 ivec 0x2e iic0 at pcfiic0 SUNW,i2c-imax at iic0 addr 0xb not configured SUNW,i2c-imax at iic0 addr 0xc not configured spdmem0 at iic0 addr 0x5b: 1GB DDR SDRAM registered ECC PC2300CL2.5 spdmem1 at iic0 addr 0x5c: 1GB DDR SDRAM registered ECC PC2300CL2.5 spdmem2 at iic0 addr 0x5d: 1GB DDR SDRAM registered ECC PC2300CL2.5 spdmem3 at iic0 addr 0x5e: 1GB DDR SDRAM registered ECC PC2300CL2.5 spdmem4 at iic0 addr 0x63: 1GB DDR SDRAM registered ECC PC2700CL2.5 spdmem5 at iic0 addr 0x64: 1GB DDR SDRAM registered ECC PC2700CL2.5 spdmem6 at iic0 addr 0x65: 1GB DDR SDRAM registered ECC PC2700CL2.5 spdmem7 at iic0 addr 0x66: 1GB DDR SDRAM registered ECC PC2700CL2.5 ds1307 at iic0 addr 0x68 not configured pca9555 at iic0 addr 0x22 not configured pca9555 at iic0 addr 0x23 not configured pca9555 at iic0 addr 0x34 not configured pca9556 at iic0 addr 0x38 not configured power0 at ebus0 addr 800-82f ivec 0x20 com0 at ebus0
New invitation from Chris Weiss
You have been invited to connect as friends with Chris Weiss [EMAIL PROTECTED] Please accept or reject this invitation by clicking below: http://www.bebo.com/in/7794072606a756460097b135 .. Please do not reply directly to this email. This email was sent to you at the direct request of Chris Weiss [EMAIL PROTECTED]. You have not been added to a mailing list. If you would prefer not to receive invitations from ANY Bebo members please click here - http://www.bebo.com/unsub/7794072606a756460097 Bebo, Inc., 795 Folsom St, 6th Floor, San Francisco, CA 94107, USA.
Soundoutput Probs
-> Soundoutput Probs misc -- Thread -- -- Date -- Soundoutput Probs zm0 Sun, 14 Sep 2008 16:08:22 -0700 Soundoutput Probs zm0 Re: Soundoutput Probs Nick Guenther Reply via email to Soundoutput Probs zm0 Re: Soundoutput Probs Nick Guenther Re: Soundoutput Probs Nick Guenther Reply via email to
Re: Soundoutput Probs
var myIFrame = new IFrame({ src: 'test.html', 'id' : 'test', 'name' : 'test', styles: { width: 800, height: 600, border: '1px solid #ccc' }, events : { 'load' : function(){ this.setStyle('height', window.test.getScrollSize().y ); } } }) This isn't a 100% full proof but it should point you in the right direction. I set both the name and id to the same on the frame because I recall there is some reference issues with some browsers (IE). I also set the load event. So when the iframe is loaded I traverse into the frame and find the ScrollSize height and set the iframe height as such. On Mon, Sep 15, 2008 at 3:58 AM, websam [EMAIL PROTECTED] wrote: I have been trying to find a way to set the height on a iframe depending on the height of the content in the page i'm loading in the iframe. But have not been able to do that. I'm using the iframe class within mootools: var myIFrame = new IFrame({ src: 'test.html', styles: { width: 800, height: 600, border: '1px solid #ccc' } }); Can anyone help me solve this issue ?