Re: A20/keybord/no-keyboard
(sorry if this a resend, it seems there was a problem at hub.freebsd.org) > The console driver (sc) currently requires you to have at least one > keyboard driver compiled in. Since your board doesn't have a display > adapter, you can simply remove 'device sc'. > the kbd.c was getting compiled in, and complained, but i think that's taken care of. I solved it by adding hint.atkbdc.0.disabled="1". As I wrote before, 'it would be nice', if such fantom devices could be detected at boot time, so the same fs/root/kernel could work on 'similar' platforms out-of-the-box. with the kbd, i found where it was looping, in 'atkbdc.c: empty_both_buffers', but got lost trying to figure out how to get out of it (specialy since there is no kbd/buffer :-). danny ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: HD Mirroring
Have you looked into http://balance.sourceforge.net/ ? > I'm just curious if there's any other solution that will work on FreeBSD. > I have about 5 mysql servers (4 slaves, 1 master) and one application in > particular is not smart enough to try other servers if the configured > server does not answer. Is there any type of local proxy that can > intelligently route requests to the "best" server? > > Thanks, > > Charles -- //| //|| // | // || -//--//---|| ARIO LOBO // //|| - [EMAIL PROTECTED] http://www.ipad.com.br ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: A20/keybord/no-keyboard
On Wednesday 24 November 2004 09:29 am, Danny Braniss wrote: > > On Nov 24, 2004, at 2:47 AM, Danny Braniss wrote: > > >> If the VGA driver is present, the system will assume you want to use a > > >> VGA console, unless you force one of the serial ports to become the > > >> system console by setting the appropriate hint in device.hints or > > >> loader.conf as documented in the sio(4) man page. For instance: > > >> > > >> hint.sio.0.flags="0x30" > > >> > > >> forces sio0 to become the system console regardless of the presence of > > >> a display adapter. > > >> > > >> You may also have to tell the boot code and loader to use the serial > > >> console; see their respective manual pages. > > > > > > im using hint.sio.0.flags="0x20", and still, only after i removed the > > > vga > > > from the config file did i get the console output on the serial line. > > > > > > i'm using boot0sio, so the boot is also talking via the serial, but > > > the BTX > > > is still using the vga, compiling it to use the serial gave errors. > > > > BTX_SERIAL will not work with boot2 (hard drive boot blocks) due to > > space > > constraints. It does work for /boot/loader and pxeboot however. Note > > that > > it only outputs meaningful text if it crashes anyway, so I wouldn't > > worry > > about it. > > well, the host was not booting ... > > with BTX_SERIAL, btx does not compile, and for 'completness' it would be > nice to have all console output, anyways my problem was not btx related. > > danny Ah, I've fixed the btx compile. Seems some comment rototilling busted it. -- John Baldwin <[EMAIL PROTECTED]> <>< http://www.baldwin.cx/~john/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: setting promisc mode kills vlans on devices with hwtagging (em, re ...)
Robert Watson wrote: On Tue, 23 Nov 2004, Robert Watson wrote: On Tue, 23 Nov 2004, Iasen Kostov wrote: if you setup a vlan devices with parent one of emX or reX (this what I have at the moment) which has hardware vlan tagging just try to run tcpdump (without -p) and the vlans will die :). That doesn't happen with parent devices not supporting hwtagging. And this totally excludes possibility to run a bridge over vlans with parent device which support hwtaggs. And something else was observed with re driver - it is impossible to disable hwtaggs by -vlanhwtag neither you can disable vlan mtu :). I recently fixed this bug in if_em in HEAD, and will be merging that back to RELENG_5 shortly. We plan to also merge the change to RELENG_5_3 as an errata patch fix. It does not surprise me that if_re has a similar bug; I'll look at abstracting the solution in the next few days. I've now merged the fix to RELENG_5 from HEAD: Checking in if_em.c; /home/ncvs/src/sys/dev/em/if_em.c,v <-- if_em.c new revision: 1.44.2.4; previous revision: 1.44.2.3 done Checking in if_em.h; /home/ncvs/src/sys/dev/em/if_em.h,v <-- if_em.h new revision: 1.25.2.2; previous revision: 1.25.2.1 done I'll take a look at if_re shortly. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects [EMAIL PROTECTED] Principal Research Scientist, McAfee Research ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]" My if_em.c is 1.44.2.4 and if_em.h is 1.25.2.2 and the same happens again... I ran ping throu vlan device on one console and then start tcpdump on another console and the ping stops. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gmirror bugs, how many?
On Wed, Nov 24, 2004 at 07:30:08PM -0200, Jo?o Carlos Mendes Luís wrote: +> First, I partioned (fdisk) for a full FreeBSD system, with +> sysinstall, which got me this: [...] +> Then I tried to compose a single disk gmirror with the whole ad1 disk: [...] First mistake - wrong order. Create a mirror, than partition a mirror provider. +> Now, lets reboot. I could not unload geom_mirror, since it was +> preloaded during boot, is this expected? The device could not be +> unloaded, but the volume disapeared (gmirror list, ls /dev/mirror). If there is no mirror configured, you should be able to unload it. +> Ok, now let's try something diferent. Let's suppose that I only +> want one slice mirrored. Maybe the other slices could be standalone, or +> striped, this is not important now. Let's just say I do want to mirror +> ad1s1, instead of the whole ad1. [...] +> But the consumer name is still ad1, and not ad1s1. Hey, let's check: Read manual page. Gmirror uses the last provider's sector for metadata. If two or more providers share the same last sector (as in your case), use '-h' option. +> Is there any gmirror hacker around to fix these? There is nothing to fix. -- Pawel Jakub Dawidek http://www.FreeBSD.org [EMAIL PROTECTED] http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! pgpAcDZ4n8AnU.pgp Description: PGP signature
Re: gmirror bugs, how many?
Pawel Jakub Dawidek wrote: On Wed, Nov 24, 2004 at 07:30:08PM -0200, Jo?o Carlos Mendes Luís wrote: +> First, I partioned (fdisk) for a full FreeBSD system, with +> sysinstall, which got me this: [...] +> Then I tried to compose a single disk gmirror with the whole ad1 disk: [...] First mistake - wrong order. Create a mirror, than partition a mirror provider. Is this a constraint in the design? Im my point of view, geom would treat all block devices equally, no matter if they are whole disks or single partitions. If this is not the case, them maybe this should be noted in the man page. Note that sometimes it is not necessary to have a whole disk redundant. I could use part of it to temporary data, for example. I've done this with vinum in 4-stable more than once: I get two disks, each with a copy of the root partition (which I intended to mirror with gmirror), a swap partition, a mirror vinum subdisk and a stripe vinum subdisk. Note that in this case the data integrity and cost is more important than continuous operation. If a disk fail, the server will stop, but no *important* data will get lost. This is the scenario which I was testing. +> Now, lets reboot. I could not unload geom_mirror, since it was +> preloaded during boot, is this expected? The device could not be +> unloaded, but the volume disapeared (gmirror list, ls /dev/mirror). If there is no mirror configured, you should be able to unload it. Before putting it in /boot/loader.conf, unload worked, even with mirror devices configured, IIRC. Only after loader.conf preloading this problem appeared. +> Ok, now let's try something diferent. Let's suppose that I only +> want one slice mirrored. Maybe the other slices could be standalone, or +> striped, this is not important now. Let's just say I do want to mirror +> ad1s1, instead of the whole ad1. [...] +> But the consumer name is still ad1, and not ad1s1. Hey, let's check: Read manual page. Gmirror uses the last provider's sector for metadata. If two or more providers share the same last sector (as in your case), use '-h' option. The man page says only: -h Hardcode providers' names in metadata. and does not explain when I should use this. Do you mean that if I want it to use ad1s1 as the provider, and not ad1, -h is what I want? I do not have access to the test machine right now, will try tomorrow morning. +> Is there any gmirror hacker around to fix these? There is nothing to fix. Surely there is. At least the manual. And even if gmirror is correct, there's also the problem shown with disklabel in my previous email. Jonny -- João Carlos Mendes Luís - Networking Engineer - [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"