Re: listing sysinit order ?
Arun Sharma wrote: Terry Lambert wrote: Arun Sharma wrote: So my question is, is there a simple tool to list the order in which various initialization/probe routines get called in mi_startup ? If not, what would it take to write one ? more /sys/sys/kernel.h Yes, I'm aware of this one, but it doesn't tell me very pricisely which drivers get initialized in what order. They get initialized by the ordinal value of the initializer; if you know the ordinal value, then you can know the driver. If you are asking for a reverse map... it's not there. That's because the kernel doesn't know what's linked into it (or we would not have needed SYSINIT in the first place). If you are asking for a reverse map, the closes you are going to get is: find /sys -name \*.x | xargs fgrep SYSINIT | more You can not cause messages to be printed until after SI_SUB_CONSOLE; if you want to put a printf in the init_main.c, verify that the sysinit_sub_id is SI_SUB_CONSOLE before attempting to call the printf. At that point only a function pointer is available. Is there a good way of converting it into a printable string ? No, actually, it's a sysinit structure. The function pointer is only one member, e.g.: if ((*sipp)-subsystem == SI_SUB_DONE) continue; /* Call function */ (*((*sipp)-func))((*sipp)-udata); If you change this to: if ((*sipp)-subsystem == SI_SUB_DONE) continue; if ((*sipp)-subsystem SI_SUB_CONSOLE) printf( init_main: SYSINIT %d %s\n, (*sipp)-subsystem, (*sipp)-order); /* Call function */ (*((*sipp)-func))((*sipp)-udata); You will get the information you seem to be asking for (unless I'm misunderstanding you, and you are trying to lead upo asking for a string identifier, and for some reason you don't want to come out and ask for a modification of the SYSINIT macro, for some reason...). -- Terry To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
First Seconds: 40+ dating
L.s. Onder single dertigers is speeddating een trend. Het snelle daten is een vrolijke en spannende manier om in korte tijd veel mensen te ontmoeten. First Seconds organiseert deze vorm van kennismaken voor alleenstaanden van begin 40 tot eind 50. In Hotel New York te Rotterdam op 23 februari zullen 25 dames 25 heren ontmoeten. Gedurende enkele minuten knopen zij een gesprekje aan, stellen wat vragen, beslissen of ze hun gespreksparter nog eens willen ontmoeten en gaan naar de volgende persoon. Aan het einde van de middag geeft men aan First Seconds door wie men leuk genoeg vindt voor een vervolg. Als er een 'match' is, ontvangen deelnemers de volgende dag het e-mailadres of telefoonnummer van de andere partij. Interesse in een vrolijk en spannend middagje uit? Bezoek onze site: http://www.firstseconds.nl Met vriendelijke groet, First Seconds To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: Mac iBook OS10 + BSD
On Wed, Jan 15, 2003 at 12:37:25AM -0500, void wrote: On Thursday, December 26, 2002, at 09:59 AM, Andrew Gallatin wrote: I think he means text-only syscons like vtys. MacOSX does not have them. I don't know about *multiple* text-only vtys, but it's easy enough to get the system into a no-graphics mode. In case anyone's wondering how you do this on OS X, just log in at the GUI with the username 'console' (no quotes). N -- FreeBSD: The Power to Serve http://www.freebsd.org/ (__) FreeBSD Documentation Projecthttp://www.freebsd.org/docproj/\\\'',) \/ \ ^ --- 15B8 3FFC DDB4 34B0 AA5F 94B7 93A8 0764 2C37 E375 --- .\._/_) msg39317/pgp0.pgp Description: PGP signature
Forwarding packages...
Hi hackers: Listen, I got two servers, first (MAIL) running Exim and Tacacs+, second (FTP) running WWW, Squid, Samba, FTP ok, now MAILĀ“s IP is xxx.yyy.120.178 and FTP share two Ethernet cards (xxx.yyy.120.179 and 192.168.1.1). Then a LAN connects to server (FTP) by the 192.168.1.1 IP. To connect the LAN with MAIL, enable Gateway in Inetd.conf, right. Note: There is a Cisco with xxx.yyy.120.177 IP. Question 1: there is another way to do the same thing. Question 2: Why I cannot see FTP and Samba services when start, just Squid and Apache. Thaks, by the way... To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: FreeBSD firewall for high profile hosts - waste of time ?
Dmitry Morozovsky wrote: On Thu, 16 Jan 2003, Darren Pilgrim wrote: DP There is sorting that you can do, like putting the highest-traffic rules DP near the top. ipfw terminates the search on the first matching rule except DP for count and skipto. Also, the fewer items that have to be checked the DP faster the rule is. Perhaps there is some aggregation that can be done with DP the rules themselves? By the way, is (moderately complex) aggregated rule faster than mix of simple rules? (for now, we drop accounting issues) So, will permit tcp from {a.b.c.0/24 or e.f.g.0/20} to any 22,25,80,443 setup perform measurably better than set of 8 corresponding rules? I'm not sure if the {a.b.c.0/24 or e.f.g.0/20} part is valid, but in theory this rule should require fewer ops on average than 8 seperate rules. What I meant when I said aggregate is that if you have a contiguous block of IPs, say 1.2.3.1 through 1.2.3.63, most need ports 22, 25, 80, and 443 open, then create one rule: pass tcp from any to 1.2.3.0/26 22,25,80,443 Then turn on the tcp.blackhole sysctl on the machines and you have the same effect with just one rule instead of 60 or configure firewalls with just two rules: allow tcp from any to me porta,portb,portc allow tcp from me to any To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: listing sysinit order ?
On Sun, Jan 19, 2003 at 04:57:13AM -0800, Terry Lambert wrote: You will get the information you seem to be asking for (unless I'm misunderstanding you, and you are trying to lead upo asking for a string identifier, and for some reason you don't want to come out and ask for a modification of the SYSINIT macro, for some reason...). That may be the right thing to do. I was worried about the unnecessary bloat it would add to a non-debug kernel. However, I figured that I was barking up the wrong tree. To debug driver initialization hangs, I need to put printfs in kern/subr_bus.c, not the sysinit code. -Arun To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: listing sysinit order ?
Arun Sharma wrote: On Sun, Jan 19, 2003 at 04:57:13AM -0800, Terry Lambert wrote: You will get the information you seem to be asking for (unless I'm misunderstanding you, and you are trying to lead upo asking for a string identifier, and for some reason you don't want to come out and ask for a modification of the SYSINIT macro, for some reason...). That may be the right thing to do. I was worried about the unnecessary bloat it would add to a non-debug kernel. However, I figured that I was barking up the wrong tree. To debug driver initialization hangs, I need to put printfs in kern/subr_bus.c, not the sysinit code. SYSINIT would at least get you to where it's hanging, and you may not need information over and above that, FWIW. -- Terry To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
verbose device probing ?
Having just spent 5 hours debugging a silent hang in EISA bus probe (even with boot -v) I'm tempted to ask, why doesn't device_probe_and_attach explicitly announce the device it's going to probe if bootverbose is set ? Thought I'd ask here before I submit a PR. -Arun BTW: There seem to be 30+ critical + 130+ serious bugs against 5.0 at the time of its release. Are developers looking at the gnats db at all ? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: listing sysinit order ?
On Sun, Jan 19, 2003 at 10:45:02PM -0800, Terry Lambert wrote: SYSINIT would at least get you to where it's hanging, and you may not need information over and above that, FWIW. Well, knowing that the kernel hangs in a function called configure (SI_SUB_CONFIGURE, SI_ORDER_THIRD) isn't terribly useful. However, knowing that it specifically hangs in eisa_probe() is useful. Also, see the mail I just sent to -hackers about making device_probe_and_attach verbose if bootverbose is set. -Arun To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message