!L!ù‘ù’˜A—æ‚È‚µ

2002-04-05 Thread #9977
ù‘‘S‘ƒlƒbƒg‚̏o‰ï‚¢Œn
—«‚ÍŠ®‘S–³—¿I’j«•ƒŒƒY‚Ì•û‚͐V‹K“o˜^Žžš100pt-1000‰~•ªƒvƒŒƒ[ƒ“ƒgù©
‘ü¡‘ål‹C’†ù§
http://ing.mu
ƒGƒbƒ`‰æ‘œ‚àŒ©‚ê‚郈





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message


Please commit patches in PR

2002-04-05 Thread Martin Nilsson

Fix for PRs:
kern/30836: Chipset SiS735 / NIC SiS 900
kern/35691: Realtek NIC driver does not work with Realtek 8201L NIC adapter


Hello,
I have submitted patches that solves the last problem in kern/30836
and probably also solves kern/35691.

Please take a look at them and commit if they seems right.

The patches are against STABLE but there were no differences in the
affected file between the head branch and STABLE when I made the patch.
 /Martin

-- 
Martin Nilsson, Civilingenjör M.Sc. CSE
Svenska Butiker AB,
S:t Larsväg 44, 222 70 Lund, Sweden
[EMAIL PROTECTED]
Phone: +46-46-304130
http://www.svenskabutiker.se


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



How to add more than one lpt?

2002-04-05 Thread Bernd Walter

I have 3 ppc interfaces with connected printers.
The ppc are probed fine but I get only an lpt for the first.

The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #0: Thu Apr  4 18:03:18 GMT 2002

[EMAIL PROTECTED]:/var/d7/builder/FreeBSD-2002-03-23/src/sys/i386/compile/CICELY13
Preloaded elf kernel /boot/kernel/kernel at 0xc034f000.
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 132873674 Hz
CPU: Pentium/P54C (132.87-MHz 586-class CPU)
  Origin = GenuineIntel  Id = 0x52c  Stepping = 12
  Features=0x1bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8
real memory  = 33554432 (32768K bytes)
avail memory = 29233152 (28548K bytes)
Intel Pentium detected, installing workaround for F00F bug
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Host to PCI bridge at pcibus 0 on motherboard
pci0: PCI bus on pcib0
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX3 ATA controller port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ahc0: Adaptec 2940 Ultra SCSI adapter port 0x6000-0x60ff mem 0xe4001000-0xe4001fff 
irq 9 at device 10.0 on pci0
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/255 SCBs
de0: Digital 21140A Fast Ethernet port 0x6100-0x617f mem 0xe400-0xe47f irq 
12 at device 11.0 on pci0
de0: SMC 9332BDT 21140A [10-100Mb/s] pass 2.0
de0: address 00:00:c0:1e:03:f2
pci0: display, VGA at device 12.0 (no driver attached)
orm0: Option ROMs at iomem 0xc8000-0xcc7ff,0xc-0xc7fff on isa0
atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0
fdc0: enhanced floppy controller (i82077, NE72065 or clone) at port 
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
ppc0: Parallel port at port 0x3bc-0x3c3 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: IEEE1284 device found /NIBBLE
Probing for PnP devices on ppbus0:
ppbus0: Canon BJC-4550 PRINTER BJ,LQ,BJL,BJRaster,BSCC
lpt0: Printer on ppbus0
lpt0: Polled port
ppi0: Parallel I/O on ppbus0
ppc1: Parallel port at port 0x378-0x37f on isa0
ppc1: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc1: FIFO with 16/16/15 bytes threshold
ppc2: Parallel port at port 0x278-0x27f on isa0
ppc2: Generic chipset (NIBBLE-only) in COMPATIBLE mode
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio2 at port 0x3e8-0x3ef irq 10 on isa0
sio2: type 16550A
sio3 at port 0x2e8-0x2ef irq 11 on isa0
sio3: type 16550A
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
unknown: PNP0303 can't assign resources (port)
unknown: PNP0501 can't assign resources (port)
unknown: PNP0700 can't assign resources (port)
unknown: PNP0401 can't assign resources (port)
unknown: PNP0501 can't assign resources (port)
acd0: CDROM ALPS ELECTRIC CO.,LTD. DC544C at ata1-master PIO3
Waiting 15 seconds for SCSI devices to settle
de0: enabling 100baseTX port

My device.hints:
hint.fdc.0.at=isa
hint.fdc.0.port=0x3F0
hint.fdc.0.irq=6
hint.fdc.0.drq=2
hint.fd.0.at=fdc0
hint.fd.0.drive=0
hint.ata.0.at=isa
hint.ata.0.port=0x1F0
hint.ata.0.irq=14
hint.ata.1.at=isa
hint.ata.1.port=0x170
hint.ata.1.irq=15
hint.atkbdc.0.at=isa
hint.atkbdc.0.port=0x060
hint.atkbd.0.at=atkbdc
hint.atkbd.0.irq=1
hint.atkbd.0.flags=0x1
hint.vga.0.at=isa
hint.sc.0.at=isa
hint.sc.0.flags=0x100
hint.npx.0.at=nexus
hint.npx.0.port=0x0F0
hint.npx.0.irq=13
hint.sio.0.at=isa
hint.sio.0.port=0x3F8
hint.sio.0.flags=0x10
hint.sio.0.irq=4
hint.sio.1.at=isa
hint.sio.1.port=0x2F8
hint.sio.1.irq=3
hint.sio.2.at=isa
hint.sio.2.port=0x3E8
hint.sio.2.irq=10
hint.sio.3.at=isa
hint.sio.3.port=0x2E8
hint.sio.3.irq=11
hint.ppc.0.at=isa
hint.ppc.1.at=isa
hint.ppc.2.at=isa


I thought that I possibly need a device hint for lpt but none is
documented it seems and all I tried where ignored.

devinfo shows that also ppi is only connected to ppc0:
[48]cicely13# devinfo
nexus0
  npx0
  pcib0
pci0
  hostb0
  isab0
isa0
  atkbdc0
atkbd0
  fdc0
fd0
  ppc0
ppbus0
  lpt0
  ppi0
  ppc1
ppbus1
  ppc2
ppbus2
  sc0
  sio0
  sio1
  sio2
  sio3
  vga0
  orm0
  atpic0
  atdma0
  attimer0
  attimer1
  npxisa0
  sysresource0
  pcibus_pnp0
  atapci0
ata0
ata1
  ahc0
  de0
  eisa0
  mca0

-- 
B.Walter  COSMO-Project http://www.cosmo-project.de
[EMAIL PROTECTED] Usergroup   [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: BUS_SPACE_MAXSIZE isp driver.

2002-04-05 Thread Justin T. Gibbs

 I think it should go away.  We should malloc space to hold the segments in
 the leaf dma tags and base that size on the information in the tag.  The
 segments would only be allocated on the first dma_map_create call on a
 tag so that intermediate (i.e. non-leaf) tags never have this stuff allocate
d.

But lacking that, what does it mean?

Nothing.  The maximum mapping size is in the tag.  tag create calls can
fail, so if the tag creation request is too large, the port's tag creation
call should fail.

--
Justin

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: segfault in getpwuid()?

2002-04-05 Thread Brian Somers

Yes, I think I can !

I'll bet the binary in question is using libc.so.4 *AND* libc.so.5 
because of a third library that has a libc.so.4 dependency.

This confused me for quite some time with apache.

for f in /usr/local/lib/*.so
do
  objdump -x $f 2/dev/null | grep -q NEEDED.*libc.so.4  echo $f
done

 Can anyone explain this to me?
 
 #0  0x286613cc in _ftello () from /usr/lib/libc.so.5
 #1  0x28661358 in ftello () from /usr/lib/libc.so.5
 #2  0x286612f6 in ftell () from /usr/lib/libc.so.5
 #3  0x28678ef7 in .cerror () from /usr/lib/libc.so.5
 #4  0x28676c9e in isatty () from /usr/lib/libc.so.5
 #5  0x2865f621 in _nsyy_init_buffer () from /usr/lib/libc.so.5
 #6  0x2865f577 in _nsyy_create_buffer () from /usr/lib/libc.so.5
 #7  0x2865e9c3 in _nsyylex () from /usr/lib/libc.so.5
 #8  0x28657680 in _nsyyparse () from /usr/lib/libc.so.5
 #9  0x2865905d in _nsdbtget () from /usr/lib/libc.so.5
 #10 0x286591dc in nsdispatch () from /usr/lib/libc.so.5
 #11 0x2863085a in getpwuid () from /usr/lib/libc.so.5
 #12 0x2814db0e in g_get_any_init () at gutils.c:539
 #13 0x2814ddb9 in g_get_home_dir () at gutils.c:623
 #14 0x2859bd97 in gnomelib_init () from /usr/X11R6/lib/libgnome.so.5
 #15 0x282123bf in gnome_init_with_popt_table ()
   from /usr/X11R6/lib/libgnomeui.so.5
 #16 0x282124ae in gnome_init () from /usr/X11R6/lib/libgnomeui.so.5
 #17 0x281765b5 in gnome_CORBA_init () from /usr/X11R6/lib/libgnorba.so.5
 #18 0x805dddb in main ()
 #19 0x8058ee5 in _start ()
 
 A listing at #12:
 
 534 #  endif /* !HAVE_GETPWUID_R */
 535
 536 if (!pw)
 537   {
 538 setpwent ();
 539 pw = getpwuid (getuid ());
 540 endpwent ();
 541   }
 542 if (pw)
 543   {
 
 (that's from glib12)
 
 This makes panel,gnome-session, etc all crash on start.
 
 
 -current as of this morning.
 
 
 -Seth

-- 
Brian [EMAIL PROTECTED][EMAIL PROTECTED]
  http://www.freebsd-services.com/brian@[uk.]FreeBSD.org
Don't _EVER_ lose your sense of humour !  brian@[uk.]OpenBSD.org



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



ccache and FreeBSD kernels...

2002-04-05 Thread Poul-Henning Kamp


Just for fun I tried compiling some kernels with ccache.

It cuts the time it takes to compile LINT in half.

And that is on a dual-athlon-1800 system with 2GB RAM and 15kRPM
scsi disks, slower systems will see larger improvements.

There about 100 files overlab between kernels, probably mostly stuff
in libkern.

Conclusion: Most people can probably benefit from using ccache.

It's actually a pretty neat idea, which (despite what O'brien
will yell at me) I would suggest should be put in the compiler
itself.

-- 
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer   | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: BUS_SPACE_MAXSIZE isp driver.

2002-04-05 Thread Michael Smith

 For ISA, this ends up being a 16M limit; I think the 2G limit
 on Alpha is because the limit is 32 bits, but there is some
 signed math that should be unsigned.

No, Terry, it has to do with the PCI bridge's translation mapping 
hardware, and if we supported it (which we don't seem to) then the 
problem would all just go away.

Please, give up with the guessing already. 8)

-- 
To announce that there must be no criticism of the president,
or that we are to stand by the president, right or wrong, is not
only unpatriotic and servile, but is morally treasonable to 
the American public.  - Theodore Roosevelt



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: BUS_SPACE_MAXSIZE isp driver.

2002-04-05 Thread Matthew Jacob


Now, Mike, play nice...


On Fri, 5 Apr 2002, Michael Smith wrote:

  For ISA, this ends up being a 16M limit; I think the 2G limit
  on Alpha is because the limit is 32 bits, but there is some
  signed math that should be unsigned.
 
 No, Terry, it has to do with the PCI bridge's translation mapping 
 hardware, and if we supported it (which we don't seem to) then the 
 problem would all just go away.
 
 Please, give up with the guessing already. 8)
 
 -- 
 To announce that there must be no criticism of the president,
 or that we are to stand by the president, right or wrong, is not
 only unpatriotic and servile, but is morally treasonable to 
 the American public.  - Theodore Roosevelt
 
 
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



brakage in if_wi

2002-04-05 Thread Julian Elischer


dev/wi/if_wi_pccard.c
../../../dev/wi/if_wi_pccard.c:102: `PCMCIA_STR_3COM_3CRWE777A' undeclared
here (not in a function)
../../../dev/wi/if_wi_pccard.c:102: initializer element is not constant
../../../dev/wi/if_wi_pccard.c:102: (near initialization for
`wi_pccard_products[1].pp_name')
../../../dev/wi/if_wi_pccard.c:102: `PCMCIA_PRODUCT_3COM_3CRWE777A'
undeclared here (not in a function)
../../../dev/wi/if_wi_pccard.c:102: initializer element is not constant
../../../dev/wi/if_wi_pccard.c:102: (near initialization for
`wi_pccard_products[1].pp_product')
../../../dev/wi/if_wi_pccard.c:102: `PCMCIA_CIS_3COM_3CRWE777A' undeclared
here (not in a function)
../../../dev/wi/if_wi_pccard.c:102: initializer element is not constant
../../../dev/wi/if_wi_pccard.c:102: (near initialization for
`wi_pccard_products[1].pp_cis')
*** Error code 1


Newly suppe'd code



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: brakage in if_wi

2002-04-05 Thread M. Warner Losh

Try again.  Committed a fix a few hours ago.

Warner

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: brakage in if_wi

2002-04-05 Thread Brooks Davis

On Fri, Apr 05, 2002 at 11:21:14AM -0800, Julian Elischer wrote:
 
 Newly suppe'd code

It's fixed as of about 3hrs ago.  You need the latest
sys/dev/pccard/pccarddevs*.

-- Brooks

-- 
Any statement of the form X is the one, true Y is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4



msg36999/pgp0.pgp
Description: PGP signature


Updating from 4.4

2002-04-05 Thread Seth Hettich

Doing a buildworld I get:
cc -O -pipe  -D_open=open -DIN_GCC -DHAVE_CONFIG_H
-DPREFIX=\/usr/obj/usr/src/i386/usr\
-I/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc_fbsd/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc_fbsd/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc_fbsd/../../../../contrib/gcc.295
-I/usr/src/gnu/usr.bin/cc/cc_fbsd/../../../../contrib/gcc.295/config  -c
/usr/src/gnu/usr.bin/cc/cc_fbsd/../../../../lib/libc/stdio/mktemp.c -o
mktemp.o
/usr/src/gnu/usr.bin/cc/cc_fbsd/../../../../lib/libc/stdio/mktemp.c:38:
syntax error before string constant
/usr/src/gnu/usr.bin/cc/cc_fbsd/../../../../lib/libc/stdio/mktemp.c:38:
warning: data definition has no type or storage class
*** Error code 1

Stop in /usr/src/gnu/usr.bin/cc/cc_fbsd.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/cc.
*** Error code 1



-Seth

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



atacontrol breaks world

2002-04-05 Thread Steve Kargl

=== sbin/atacontrol
cc -O -pipe -c /usr/src/sbin/atacontrol/atacontrol.c
/usr/src/sbin/atacontrol/atacontrol.c: In function `cap_print':
/usr/src/sbin/atacontrol/atacontrol.c:121: structure has no member named `lba_size'
/usr/src/sbin/atacontrol/atacontrol.c:122: structure has no member named `lba_size'
/usr/src/sbin/atacontrol/atacontrol.c:127: structure has no member named `lba_size48'
/usr/src/sbin/atacontrol/atacontrol.c:128: structure has no member named `lba_size48'
*** Error code 1

Stop in /usr/src/sbin/atacontrol.
*** Error code 1

Stop in /usr/src/sbin.
*** Error code 1

-- 
Steve

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



usb lpt borked?

2002-04-05 Thread Julian Elischer


ok guys we seem to be going backwards on this one..

3 months ago this worked perfectly
2 months ago it crashed after each document (on close())
now it crashes on open().. at least in the old kernel
I could get my printouts :-)

Apr  5 12:10:23 jules kernel: uhci0: Intel 82371AB/EB (PIIX4) USB
controller p
ort 0x1060-0x107f irq 5 at device 7.2 on pci0
Apr  5 12:10:23 jules kernel: usb0: Intel 82371AB/EB (PIIX4) USB
controller on
 uhci0
Apr  5 12:10:23 jules kernel: usb0: USB revision 1.0
Apr  5 12:10:23 jules kernel: uhub0: Intel UHCI root hub, class 9/0, rev
1.00/1.
00, addr 1
Apr  5 12:10:23 jules kernel: uhub0: 2 ports with 2 removable, self
powered
Apr  5 12:10:23 jules kernel: ulpt0: Hewlett-Packard DeskJet 940C, rev
1.10/1.00
, addr 2, iclass 7/1
Apr  5 12:10:23 jules kernel: ulpt0: using bi-directional mode
Apr  5 12:10:23 

ps shows the lpd daemon sleeping 'usbsyn' just before the crash..
no crashdumps yet.. will try, though I don't know if
the new crashdump code produces usable dumps yet..
(I guess I'm going to find out :-)




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



patch: make syslog stop spamming any root it finds...

2002-04-05 Thread Poul-Henning Kamp


I have always hated the three lines in /etc/syslog.conf which spams
root with far too many and far too irrellevant syslog messages, in
some cases even with several copies of them.

For the life of me I cannot understand why we feel the need to whine
like that at any root which crosses our way, so unless somebody can
explain to me why this is vital, I'll commit the following patch.

Poul-Henning

Index: syslog.conf
===
RCS file: /home/ncvs/src/etc/syslog.conf,v
retrieving revision 1.20
diff -u -r1.20 syslog.conf
--- syslog.conf 11 Mar 2002 19:34:57 -  1.20
+++ syslog.conf 5 Apr 2002 21:24:07 -
@@ -12,9 +12,6 @@
 mail.info  /var/log/maillog
 lpr.info   /var/log/lpd-errs
 cron.* /var/log/cron
-*.err  root
-*.notice;news.err  root
-*.alertroot
 *.emerg*
 # uncomment this to log all writes to /dev/console to /var/log/console.log
 #console.info  /var/log/console.log

-- 
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer   | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Last round of sendmail startup changes in place

2002-04-05 Thread Bill Fenner


BTW, not that this is particularly related to startup scripts, but -- I
found it quite frustrating that due to a transient failure at submission
time, my mail went into /var/spool/clientmqueue, for which you have to
use mailq -Ac, which is pretty much completely undocumented.  It
turned out OK because there was actually a daemon there whose job it
was to process that queue, but from a user experience point of view,
sending mail, having it talk about a transient failure and that it
was queued, and then not having that message show up in mailq was
fairly astonishing (and stress-inducing until I found the other
queue).

Anyway, that was really a long way of saying: should this be documented
somewhere?  Like, prominently in the mailq man page?

And, addressing the initial failure itself: apparently I need to add
O ResolverOptions=WorkAroundBroken and my masquerading options
to submit.cf; are there any plans to add per-host submit.mc handling
(i.e. a SENDMAIL_MC equivalent) to /etc/mail/Makefile?  Is there any
general advice on what MC stuff goes where at this point (e.g. does
the masquerading stuff only go in submit.cf, or should it also be in
sendmail.cf, etc.)

Thanks,
  Bill

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: atacontrol breaks world

2002-04-05 Thread Søren Schmidt

It seems Steve Kargl wrote:
 === sbin/atacontrol
 cc -O -pipe -c /usr/src/sbin/atacontrol/atacontrol.c
 /usr/src/sbin/atacontrol/atacontrol.c: In function `cap_print':
 /usr/src/sbin/atacontrol/atacontrol.c:121: structure has no member named `lba_size'
 /usr/src/sbin/atacontrol/atacontrol.c:122: structure has no member named `lba_size'
 /usr/src/sbin/atacontrol/atacontrol.c:127: structure has no member named `lba_size48'
 /usr/src/sbin/atacontrol/atacontrol.c:128: structure has no member named `lba_size48'
 *** Error code 1

Fixed.

-Søren

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: patch: make syslog stop spamming any root it finds...

2002-04-05 Thread Emiel Kollof

* Poul-Henning Kamp ([EMAIL PROTECTED]) wrote:
 
 I have always hated the three lines in /etc/syslog.conf which spams
 root with far too many and far too irrellevant syslog messages, in
 some cases even with several copies of them.

Amen to that. You got my vote. Usually when I set up a FreeBSD box, it's
the first thing I turn off. I say commit it.

(although it's not really a hard job turning it off after an install,
but hey, I'm lazy :-)

Cheers,
Emiel
-- 
Every journalist has a novel in him, which is an excellent place for it.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Updating from 4.4

2002-04-05 Thread Thomas Quinot

Le 2002-04-05, Seth Hettich écrivait :

 Doing a buildworld I get:

 /usr/src/gnu/usr.bin/cc/cc_fbsd/../../../../lib/libc/stdio/mktemp.c:38:
 syntax error before string constant

Got hit by that one two days ago. There is a patch in PR bin/36747.

Thomas.

-- 
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



make buildkernel fails - missing header

2002-04-05 Thread Chris van der Pennen

make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | xargs  env MKDEP_CPP=cc -E
CC=cc mkdep -a -f
.newdep -O -pipe -march=k6 -Wall -Wredundant-decls -Wnested-externs -Wstrict
-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -ffo
rmat-extensions -ansi -g -nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/de
v -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -I/usr/s
rc/sys/../include  -D_KERNEL -ffreestanding -include
opt_global.h -fno-common   -mpreferred-stack-boundary=2
/usr/src/sys/netinet6/nd6.c:67: netinet/if_fddi.h: No such file or directory
mkdep: compile failed

after which make fails with error 1.

find /usr/src | grep fddi turns up a c-file, but no headers.  This is with a
cvsup as of a few minutes ago.

I can attach the script file, if you like.

Chris van der Pennen


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: patch: make syslog stop spamming any root it finds...

2002-04-05 Thread Peter Wemm

Emiel Kollof wrote:
 * Poul-Henning Kamp ([EMAIL PROTECTED]) wrote:
  
  I have always hated the three lines in /etc/syslog.conf which spams
  root with far too many and far too irrellevant syslog messages, in
  some cases even with several copies of them.
 
 Amen to that. You got my vote. Usually when I set up a FreeBSD box, it's
 the first thing I turn off. I say commit it.

Likewise, it's the first thing I turn off, as well as the *.emerg line
that broadcasts to all users.

Note however that having syslogd whine to root logins is kind of a
discouragement to actually log in as root, and rather have people log in
and 'su' instead.  But even then, it's I would rather see it dead. :-)


Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
All of this is for nothing if we don't go to the stars - JMS/B5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: make buildkernel fails - missing header

2002-04-05 Thread Adrian Penisoara

Hi,

  Bitten by the same rotten thing; luckily i had the older
/usr/include/netinet/if_fddi.h header that I linked to in
/usr/src/sys/netinet/if_fddi.h.

  Looking at the commit logs it seems that the right solution is to
patch src/sys/netinet6/nd6.c to #include net/fddi.h instead of
netinet/if_fddi.h. It compiles for me ...

 Ady (@freebsd.ady.ro)
___
| Programming in BASIC causes brain damage.   |
|   (Edsger Wybe Dijkstra)|

On Sat, 6 Apr 2002, Chris van der Pennen wrote:

 make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | xargs  env MKDEP_CPP=cc -E
 CC=cc mkdep -a -f
 .newdep -O -pipe -march=k6 -Wall -Wredundant-decls -Wnested-externs -Wstrict
 -prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -ffo
 rmat-extensions -ansi -g -nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/de
 v -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -I/usr/s
 rc/sys/../include  -D_KERNEL -ffreestanding -include
 opt_global.h -fno-common   -mpreferred-stack-boundary=2
 /usr/src/sys/netinet6/nd6.c:67: netinet/if_fddi.h: No such file or directory
 mkdep: compile failed
 
 after which make fails with error 1.
 
 find /usr/src | grep fddi turns up a c-file, but no headers.  This is with a
 cvsup as of a few minutes ago.
 
 I can attach the script file, if you like.
 
 Chris van der Pennen
 
 
 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-current in the body of the message
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: make buildkernel fails - missing header

2002-04-05 Thread Matthew N. Dodd

On Sat, 6 Apr 2002, Chris van der Pennen wrote:
 /usr/src/sys/netinet6/nd6.c:67: netinet/if_fddi.h: No such file or directory
 mkdep: compile failed

 after which make fails with error 1.

 find /usr/src | grep fddi turns up a c-file, but no headers.  This is with a
 cvsup as of a few minutes ago.

 I can attach the script file, if you like.

That will teach me to grep a contaminated source tree...

Fixed.

-- 
| Matthew N. Dodd  | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD  |
| [EMAIL PROTECTED] |   2 x '84 Volvo 245DL| ix86,sparc,pmax |
| http://www.jurai.net/~winter |  For Great Justice!  | ISO8802.5 4ever |


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Updating from 4.4

2002-04-05 Thread David O'Brien

On Sat, Apr 06, 2002 at 12:16:22AM +0200, Thomas Quinot wrote:
  Doing a buildworld I get:
 
  /usr/src/gnu/usr.bin/cc/cc_fbsd/../../../../lib/libc/stdio/mktemp.c:38:
  syntax error before string constant
 
 Got hit by that one two days ago. There is a patch in PR bin/36747.

If possible, I would like for no one to commit this PR.  ru and I had a
way to fix this once and for all.  I would like a few days to investigate
this.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: ccache and FreeBSD kernels...

2002-04-05 Thread David O'Brien

On Fri, Apr 05, 2002 at 08:31:06PM +0200, Poul-Henning Kamp wrote:
 Just for fun I tried compiling some kernels with ccache.
 It cuts the time it takes to compile LINT in half.
...
 It's actually a pretty neat idea, which (despite what O'brien
 will yell at me) I would suggest should be put in the compiler
 itself.

No yelling.  Just a gentle asking where the patch is. ;-)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Intel i830 driver?

2002-04-05 Thread James Satterfield

Anyone working on one of these?

James.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Intel i830 driver?

2002-04-05 Thread Benno Rice

On Sat, 2002-04-06 at 15:17, James Satterfield wrote:
 Anyone working on one of these?

What kind of driver do you mean?

I have an i830MP chipset in my Dell Inspiron 4100 and it's working fine.

-- 
Benno Rice
[EMAIL PROTECTED]



signature.asc
Description: This is a digitally signed message part


Re: Intel i830 driver?

2002-04-05 Thread James Satterfield

I have a Dell Latitude C400 with an Intel i830M graphics chip. Running
4.5-stable, the i810 driver complains about not finding the (I assume AGP)
bridge device. Here's my dmesg.

James.

CPU: Pentium III/Pentium III Xeon/Celeron (797.35-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x6b1  Stepping = 1

Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,
PAT,PSE36,MMX,FXSR,SSE
real memory  = 267239424 (260976K bytes)
Physical memory chunk(s):
0x1000 - 0x0009efff, 647168 bytes (158 pages)
0x00518000 - 0x0fed3fff, 261865472 bytes (63932 pages)
config di sn0
config di lnc0
config di ie0
config di fe0
config di ed0
config di cs0
config di bt0
config di aic0
config di aha0
config di adv0
config q
avail memory = 254971904 (248996K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00ffe80
bios32: Entry = 0xffe90 (c00ffe90)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xc00e
pnpbios: Found PnP BIOS data at 0xc00fe2d0
pnpbios: Entry = f:e2f4  Rev = 1.0
pnpbios: Event flag at 4b4
Other BIOS signatures found:
ACPI: 000fde50
Preloaded elf kernel kernel at 0xc04f1000.
Preloaded userconfig_script /boot/kernel.conf at 0xc04f10a8.
netsmb_dev: loaded
Pentium Pro MTRR support enabled
md0: Malloc disk
Creating DISK md0
Math emulator present
pci_open(1):mode 1 addr port (0x0cf8) is 0x8000eac4
pci_open(1a):   mode1res=0x8000 (0x8000)
pci_cfgcheck:   device 0 [class=06] [hdr=00] is there (id=35758086)
Using $PIR table, 11 entries at 0xc00fbbb0
pcib-: pcib0 exists, using next available unit number
pcib-: pcib0 exists, using next available unit number
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Host to PCI bridge on motherboard
found- vendor=0x8086, dev=0x3575, revid=0x04
class=06-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0secondarybus=0
map[10]: type 1, range 32, base , size  0
found- vendor=0x8086, dev=0x3577, revid=0x04
class=03-00-00, hdrtype=0x00, mfdev=1
subordinatebus=0secondarybus=0
intpin=a, irq=11
map[10]: type 1, range 32, base e000, size 27
map[14]: type 1, range 32, base f4f8, size 19
found- vendor=0x8086, dev=0x3577, revid=0x00
class=03-80-00, hdrtype=0x00, mfdev=1
subordinatebus=0secondarybus=0
map[10]: type 1, range 32, base d800, size 27
map[14]: type 1, range 32, base f4f0, size 19
found- vendor=0x8086, dev=0x2482, revid=0x02
class=0c-03-00, hdrtype=0x00, mfdev=0
subordinatebus=0secondarybus=0
intpin=a, irq=11
map[20]: type 1, range 32, base bf80, size  5
found- vendor=0x8086, dev=0x2448, revid=0x42
class=06-04-00, hdrtype=0x01, mfdev=0
subordinatebus=10   secondarybus=2
found- vendor=0x8086, dev=0x248c, revid=0x02
class=06-01-00, hdrtype=0x00, mfdev=1
subordinatebus=0secondarybus=0
found- vendor=0x8086, dev=0x248a, revid=0x02
class=01-01-8a, hdrtype=0x00, mfdev=0
subordinatebus=0secondarybus=0
intpin=a, irq=0
map[10]: type 1, range 32, base 01f0, size  3
map[14]: type 1, range 32, base 03f4, size  2
map[18]: type 1, range 32, base 0170, size  3
map[1c]: type 1, range 32, base 0374, size  2
map[20]: type 1, range 32, base bfa0, size  4
found- vendor=0x8086, dev=0x2485, revid=0x02
class=04-01-00, hdrtype=0x00, mfdev=0
subordinatebus=0secondarybus=0
intpin=b, irq=11
map[10]: type 1, range 32, base d800, size  8
map[14]: type 1, range 32, base dc80, size  6
found- vendor=0x8086, dev=0x2486, revid=0x02
class=07-03-00, hdrtype=0x00, mfdev=0
subordinatebus=0secondarybus=0
intpin=b, irq=11
map[10]: type 1, range 32, base d400, size  8
map[14]: type 1, range 32, base dc00, size  7
pci0: PCI bus on pcib0
I810: can't find bridge device
pci0: Intel model 3577 VGA-compatible display device (vendor=0x8086,
dev=0x3577) at 2.0 irq 11
pci0: unknown card (vendor=0x8086, dev=0x3577) at 2.1
uhci0: Intel 82801CA/CAM (ICH3) USB controller USB-A port 0xbf80-0xbf9f
irq 11 at device 29.0 on pci0
usb0: Intel 82801CA/CAM (ICH3) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pcib3: PCI to PCI bridge (vendor=8086 device=2448) at device 30.0 on pci0
found- vendor=0x10b7, dev=0x9200, revid=0x78
class=02-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0secondarybus=0
intpin=a, irq=11
map[10]: type 1, range 32, base ec80, size  7
map[14]: type 1, range 32, base fafffc00, size  7
found- vendor=0x104c, dev=0xac50, revid=0x02
class=06-07-00, hdrtype=0x02, mfdev=0
subordinatebus=0secondarybus=0
intpin=a, irq=11
found- vendor=0x104c, dev=0xac50, 

Re: patch: make syslog stop spamming any root it finds...

2002-04-05 Thread Garance A Drosihn

At 11:27 PM +0200 4/5/02, Poul-Henning Kamp wrote:
For the life of me I cannot understand why we feel the
need to whine like that at any root which crosses our
way, so unless somebody can explain to me why this is
vital, I'll commit the following patch.

There are times when it has been useful to me to have
the messages show up immediately on a root-login window,
instead of at some later time when I happen to read
/var/log/messages.  Of course, there are other times
when it absolutely infuriates me when some dumb message
pops up in the middle of what I'm doing -- particularly
if it's a message triggered by something I'm testing.

As to your patch, how about leaving the line for *.alert
there, but commented out.  That would just leave it as
an example to show how syslog messages can go to a
logged-in user.

But when I saw the subject for this thread, I admit I was
hoping you meant something different.  Is there any good
way we could say send to a root login on ttyv0, but NOT
to root logged onto any other device?  That way, when I
wouldn't mind syslog spamming me, I could login to the
first virtual terminal, and when I didn't want it I could
log into any of the other ones.  I guess I'm asking for a
new action type, something like:

*.alert root@/dev/ttyv0

or maybe just

*.alert root@ttyv0

-- 
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: usb lpt borked?

2002-04-05 Thread Alexander Leidinger

On  5 Apr, Julian Elischer wrote:
 
 ok guys we seem to be going backwards on this one..
 
 3 months ago this worked perfectly
 2 months ago it crashed after each document (on close())
 now it crashes on open().. at least in the old kernel
 I could get my printouts :-)

A Mar 12 kernel should work ok.

 ps shows the lpd daemon sleeping 'usbsyn' just before the crash..
 no crashdumps yet.. will try, though I don't know if
 the new crashdump code produces usable dumps yet..
 (I guess I'm going to find out :-)

I've seen no ulpt related panics, it just doesn't print (VIA KT133A).
Only my USB mice does something bad, it hangs the system hard on
shutdown.

Bye,
Alexander.

-- 
   It's not a bug, it's tradition!

http://www.Leidinger.net   Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: usb lpt borked?

2002-04-05 Thread Michael Reifenberger

On Sat, 6 Apr 2002, Alexander Leidinger wrote:
...
 Only my USB mice does something bad, it hangs the system hard on
 shutdown.
Me too.

Bye!

Michael Reifenberger
^.*Plaut.*$, IT, R/3 Basis, GPS


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message