Send freebsd-current mailing list submissions to
freebsd-current@freebsd.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freebsd.org/mailman/listinfo/freebsd-current
or, via email, send a message with subject or body 'help' to
freebsd-current-request@freebsd.org
You can reach the person managing the list at
freebsd-current-owner@freebsd.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-current digest..."
Today's Topics:
1. [current tinderbox] failure on amd64/amd64 (FreeBSD Tinderbox)
2. Re: [current tinderbox] failure on amd64/amd64 (Max Laier)
3. Re: [current tinderbox] failure on amd64/amd64 (Max Laier)
4. Kernel preemption is disabled - random crashes using xmms
over NFS. Related possibly? (Grover Lines)
5. Re: Fatal LOR: PV ENTRY (UMA zone) @
/home2/src/sys/vm/uma_core.c:2033 (Willem Jan Withagen)
6. LPT interruptstorm (Willem Jan Withagen)
7. [current tinderbox] failure on i386/i386 (FreeBSD Tinderbox)
8. Re: LPT interruptstorm (Ian FREISLICH)
9. Re: LPT interruptstorm (Willem Jan Withagen)
----------------------------------------------------------------------
Message: 1
Date: Mon, 2 Aug 2004 06:26:58 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on amd64/amd64
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
<amd64@freebsd.org>
Message-ID: <20040802102658.9970D7303F@freebsd-current.sentex.ca>
TB --- 2004-08-02 09:14:00 - tinderbox 2.3 running on freebsd-current.sentex.ca
TB --- 2004-08-02 09:14:00 - starting CURRENT tinderbox run for amd64/amd64
TB --- 2004-08-02 09:14:00 - checking out the source tree
TB --- 2004-08-02 09:14:00 - cd /home/tinderbox/sandbox/CURRENT/amd64/amd64
TB --- 2004-08-02 09:14:00 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src
TB --- 2004-08-02 09:19:59 - building world (CFLAGS=-O -pipe)
TB --- 2004-08-02 09:19:59 - cd /home/tinderbox/sandbox/CURRENT/amd64/amd64/src
TB --- 2004-08-02 09:19:59 - /usr/bin/make -B buildworld
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
TB --- 2004-08-02 10:09:43 - building generic kernel (COPTFLAGS=-O -pipe)
TB --- 2004-08-02 10:09:43 - cd /home/tinderbox/sandbox/CURRENT/amd64/amd64/src
TB --- 2004-08-02 10:09:43 - /usr/bin/make buildkernel KERNCONF=GENERIC
>>> Kernel build for GENERIC started on Mon Aug 2 10:09:43 UTC 2004
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
>>> Kernel build for GENERIC completed on Mon Aug 2 10:18:58 UTC 2004
TB --- 2004-08-02 10:18:58 - generating LINT kernel config
TB --- 2004-08-02 10:18:58 - cd /home/tinderbox/sandbox/CURRENT/amd64/amd64/src/sys/amd64/conf
TB --- 2004-08-02 10:18:58 - /usr/bin/make -B LINT
TB --- 2004-08-02 10:18:59 - building LINT kernel (COPTFLAGS=-O -pipe)
TB --- 2004-08-02 10:18:59 - cd /home/tinderbox/sandbox/CURRENT/amd64/amd64/src
TB --- 2004-08-02 10:18:59 - /usr/bin/make buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Mon Aug 2 10:18:59 UTC 2004
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
/tinderbox/CURRENT/amd64/amd64/src/sys/pci/if_vr.c:146: warning: 'vr_ioctl' used but never defined
/tinderbox/CURRENT/amd64/amd64/src/sys/pci/if_vr.c:147: warning: 'vr_init' used but never defined
/tinderbox/CURRENT/amd64/amd64/src/sys/pci/if_vr.c:148: warning: 'vr_init_locked' used but never defined
/tinderbox/CURRENT/amd64/amd64/src/sys/pci/if_vr.c:149: warning: 'vr_stop' used but never defined
/tinderbox/CURRENT/amd64/amd64/src/sys/pci/if_vr.c:150: warning: 'vr_watchdog' used but never defined
/tinderbox/CURRENT/amd64/amd64/src/sys/pci/if_vr.c:151: warning: 'vr_shutdown' used but never defined
/tinderbox/CURRENT/amd64/amd64/src/sys/pci/if_vr.c:152: warning: 'vr_ifmedia_upd' used but never defined
/tinderbox/CURRENT/amd64/amd64/src/sys/pci/if_vr.c:153: warning: 'vr_ifmedia_sts' used but never defined
*** Error code 1
Stop in /tinderbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURRENT/amd64/amd64/src/sys/LINT.
*** Error code 1
Stop in /tinderbox/CURRENT/amd64/amd64/src.
*** Error code 1
Stop in /tinderbox/CURRENT/amd64/amd64/src.
TB --- 2004-08-02 10:26:58 - WARNING: /usr/bin/make returned exit code 1
TB --- 2004-08-02 10:26:58 - ERROR: failed to build lint kernel
TB --- 2004-08-02 10:26:58 - tinderbox aborted
------------------------------
Message: 2
Date: Mon, 2 Aug 2004 12:35:29 +0200
From: Max Laier <max@love2party.net>
Subject: Re: [current tinderbox] failure on amd64/amd64
To: freebsd-current@freebsd.org
Cc: amd64@freebsd.org
Message-ID: <200408021235.29974.max@love2party.net>
Content-Type: text/plain; charset="iso-8859-1"
On Monday 02 August 2004 12:26, FreeBSD Tinderbox wrote:
> [...]
> /tinderbox/CURRENT/amd64/amd64/src/sys/pci/if_vr.c:146: warning: 'vr_ioctl'
> used but never defined
Sorry, my fault ... fixed in if_vr.c rev.1.92
--
/"\ Best regards, | mlaier@freebsd.org
\ / Max Laier | ICQ #67774661
X http://pf4freebsd.love2party.net/ | mlaier@EFnet
/ \ ASCII Ribbon Campaign | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040802/9d7c36a4/attachment-0002.bin
------------------------------
Message: 3
Date: Mon, 2 Aug 2004 12:35:29 +0200
From: Max Laier <max@love2party.net>
Subject: Re: [current tinderbox] failure on amd64/amd64
To: freebsd-current@freebsd.org
Cc: amd64@freebsd.org
Message-ID: <200408021235.29974.max@love2party.net>
Content-Type: text/plain; charset="iso-8859-1"
On Monday 02 August 2004 12:26, FreeBSD Tinderbox wrote:
> [...]
> /tinderbox/CURRENT/amd64/amd64/src/sys/pci/if_vr.c:146: warning: 'vr_ioctl'
> used but never defined
Sorry, my fault ... fixed in if_vr.c rev.1.92
--
/"\ Best regards, | mlaier@freebsd.org
\ / Max Laier | ICQ #67774661
X http://pf4freebsd.love2party.net/ | mlaier@EFnet
/ \ ASCII Ribbon Campaign | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040802/9d7c36a4/attachment-0003.bin
------------------------------
Message: 4
Date: Mon, 02 Aug 2004 03:58:48 -0700
From: Grover Lines <grover@ceribus.net>
Subject: Kernel preemption is disabled - random crashes using xmms
over NFS. Related possibly?
To: freebsd-current@freebsd.org
Message-ID: <410E1E68.7000900@ceribus.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
I was reading up about a message i saw in my dmesg output
WARNING: Kernel preemption is disabled, expect reduced performance.
and came accross a message in current a while back saying.
You'll see the following warning on boot:
WARNING: Kernel preemption is disabled, expect reduced performance.
An example of this reduced performance is sound issues (slowdowns, pops,
etc.) when the system is under load (most notably with disk load).
This is exactly what I am seeing also. Using xmms in xorg playing mp3's
over NFS, I can reproduce random hard lockups on my machine doing this.
purgatory# vmstat -i
interrupt total rate
irq0: clk 567052 99
irq8: rtc 725836 127
irq11: nvidia0 450361 79
irq12: rl0 uhci0++ 129058 22
irq13: npx0 1 0
irq14: ata0 142578 25
irq15: ata1 54 0
Total 2014940 355
also is my nic card supposed to be sharingand irq qith my usb? This has
just happened within the last day or so.
Built world kernel, xorg only using p4 as a cpu type no -O optomizations.
also im seeing
kernel: Warning: pid 524 used static ldt allocation.
kernel: See the i386_set_ldt man page for more info
kernel: pid 524 (glxgears), uid 0: exited on signal 11 (core dumped)
or any x program
kernel: pid 36698 (glxinfo), uid 0: exited on signal 11 (core dumped)
--
Grover Lines
dmesg output
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.2-CURRENT #0: Sun Aug 1 13:33:20 PDT 2004
root@xxx###.net:/usr/obj/usr/src/sys/PSYCHO
WARNING: Kernel preemption is disabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 1.50GHz (1514.92-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf12 Stepping = 2
Features=0x3febf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
real memory = 536805376 (511 MB)
avail memory = 515624960 (491 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <VT8753 VPSDACPI> on motherboard
acpi0: [GIANT-LOCKED]
acpi0: Power Button (fixed)
unknown: I/O range not supported
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0: <ACPI CPU (3 Cx states)> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port
0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA Generic host to PCI bridge> mem 0xc0000000-0xcfffffff at
device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
nvidia0: <GeForce3 Ti 200> mem
0xd4000000-0xd407ffff,0xd0000000-0xd3ffffff,0xd8000000-0xd8ffffff irq 11
at device 0.0 on pci1
nvidia0: [GIANT-LOCKED]
rl0: <RealTek 8139 10/100BaseTX> port 0xa000-0xa0ff mem
0xda000000-0xda0000ff irq 12 at device 7.0 on pci0
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:50:ba:42:d9:4d
rl0: [GIANT-LOCKED]
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8233 UDMA100 controller> port
0xa400-0xa40f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 17.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xa800-0xa81f irq 12 at device
17.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: Microsoft Microsoft IntelliMouse\M-. Optical, rev 1.10/1.21, addr
2, iclass 3/1
ums0: 5 buttons and Z dir.
ukbd0: Logitech Logitech USB Keyboard, rev 1.10/12.10, addr 3, iclass 3/1
kbd0 at ukbd0
uhid0: Logitech Logitech USB Keyboard, rev 1.10/12.10, addr 3, iclass 3/0
uhci1: <VIA 83C572 USB controller> port 0xac00-0xac1f irq 12 at device
17.3 on pci0
uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0xb000-0xb01f irq 12 at device
17.4 on pci0
uhci2: [GIANT-LOCKED]
usb2: <VIA 83C572 USB controller> on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pcm0: <VIA VT8233> port 0xb400-0xb4ff irq 5 at device 17.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: <Avance Logic ALC200 AC97 Codec>
pmtimer0 on isa0sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1514924252 Hz quality 800
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 2 steps (1001003117120 50.0%), currently 100.0%
ad0: 38166MB <WDC WD400BB-00AUA1> [77545/16/63] at ata0-master UDMA100
ATAPI_RESET time = 10us
acd0: DVDR <PIONEER DVD-RW DVR-105> at ata1-master UDMA33
Mounting root from ufs:/dev/ad0s3a
Warning: pid 521 used static ldt allocation.
See the i386_set_ldt man page for more info
------------------------------
Message: 5
Date: Mon, 2 Aug 2004 13:28:59 +0200
From: "Willem Jan Withagen" <wjw@withagen.nl>
Subject: Re: Fatal LOR: PV ENTRY (UMA zone) @
/home2/src/sys/vm/uma_core.c:2033
To: "John Baldwin" <jhb@FreeBSD.org>, "Robert Watson"
<rwatson@FreeBSD.org>
Cc: bzeeb+freebsd+lor@zabbadoz.net
Message-ID: <006001c47883$f20e9f70$471b3dd4@digiware.nl>
Content-Type: text/plain; charset="iso-8859-1"
Well the Tyan board is finally in. Look like a quality PCB, althoug some of the
connectors are somewhat far away for the large case I'm using..
First need to do some paid work, but then I'll start rebuilding the system.
I guess we'll know more by tomorrow. :)
--WjW
----- Original Message -----
From: "John Baldwin" <jhb@FreeBSD.org>
To: "Robert Watson" <rwatson@FreeBSD.org>
Cc: "Willem Jan Withagen" <wjw@withagen.nl>; <current@FreeBSD.org>;
<bzeeb+freebsd+lor@zabbadoz.net>; <alc@FreeBSD.org>
Sent: Wednesday, July 28, 2004 5:18 AM
Subject: Re: Fatal LOR: PV ENTRY (UMA zone) @ /home2/src/sys/vm/uma_core.c:2033
> On Tuesday 27 July 2004 06:51 pm, Robert Watson wrote:
> > On Wed, 28 Jul 2004, Willem Jan Withagen wrote:
> > > Running on amd64:
> >
> > <snip>
> > <unsnip>
> >
> > > And right followed by....
> > >
> > > panic: lock (sleep mutex) Giant not locked @
> > > /home2/src/sys/kern/vfs_syscalls.c: 959
> > > cpuid = 0;
> > > KDB: stack backtrace:
> > > kdb_backtrace() at kdb_backtrace+0x34
> > > panic() at panic+0x1d2
> > > witness_unlock() at witness_unlock+0xdd
> > > _mtx_unlock_flags() at _mtx_unlock_flags+0x68
> > > kern_open() at kern_open+0x128
> > > open() at open+0x18
> > > syscall() at syscall+0x330
> > > Xfast_syscall() at Xfast_syscall+0xa8
> > > --- syscall (5, FreeBSD ELF64, open), rip = 0x76d75c, rsp =
> > > 0x7fffffffe088, rbp = 0x7fffffffe0c0 ---
> > > KDB: enter: panic
> > > [thread 100316]
> > > Stopped at kdb_enter+0x2e: nop
> >
> > I've seen several reports of "mysterious" panics where Giant isn't held on
> > return from namei() or other points following a name lookup. Kris
> > Kenneway reported this on the package build cluster, for example. I'm
> > wondering if something handling a page fault hit by namei() during a
> > string copy in from user space if resulting in Giant not being held where
> > it should be. In Kris's case, we tried pushing around GIANT_REQUIRED some
> > because I thought maybe the caller wasn't holding Giant when it should,
> > but that turned out not to be it. So maybe we have some sort of
> > preemption/VM/locking issue?
>
> The preemption case is very easy to test, just turn it off in machine/param.h
> and see if it goes away.
>
> --
> John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
> "Power Users Use the Power to Serve" = http://www.FreeBSD.org
>
>
------------------------------
Message: 6
Date: Mon, 2 Aug 2004 13:33:20 +0200
From: "Willem Jan Withagen" <wjw@withagen.nl>
Subject: LPT interruptstorm
To: <current@FreeBSD.ORG>
Message-ID: <006c01c47884$834e4ee0$471b3dd4@digiware.nl>
Content-Type: text/plain; charset="iso-8859-1"
Hi,
Must be a FAQ, but I did not find anything ...
When wanting to print thru /dev/lpt0 the kernel now starts to complain about
interruptstorms. Something I can imagine, since printing can generate > 1000
ints/sec.
Problem is that the current document (500k) is now printed at 100
interrupts/sec.
That's going to take some time....
How do I prevent this from happening?
Thanx,
--WjW
------------------------------
Message: 7
Date: Mon, 2 Aug 2004 07:43:19 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on i386/i386
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
<i386@freebsd.org>
Message-ID: <20040802114319.A174E7303F@freebsd-current.sentex.ca>
TB --- 2004-08-02 10:26:58 - tinderbox 2.3 running on freebsd-current.sentex.ca
TB --- 2004-08-02 10:26:58 - starting CURRENT tinderbox run for i386/i386
TB --- 2004-08-02 10:26:58 - checking out the source tree
TB --- 2004-08-02 10:26:58 - cd /home/tinderbox/sandbox/CURRENT/i386/i386
TB --- 2004-08-02 10:26:58 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src
TB --- 2004-08-02 10:32:35 - building world (CFLAGS=-O -pipe)
TB --- 2004-08-02 10:32:35 - cd /home/tinderbox/sandbox/CURRENT/i386/i386/src
TB --- 2004-08-02 10:32:35 - /usr/bin/make -B buildworld
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
TB --- 2004-08-02 11:21:57 - building generic kernel (COPTFLAGS=-O -pipe)
TB --- 2004-08-02 11:21:57 - cd /home/tinderbox/sandbox/CURRENT/i386/i386/src
TB --- 2004-08-02 11:21:57 - /usr/bin/make buildkernel KERNCONF=GENERIC
>>> Kernel build for GENERIC started on Mon Aug 2 11:21:57 UTC 2004
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
>>> Kernel build for GENERIC completed on Mon Aug 2 11:34:23 UTC 2004
TB --- 2004-08-02 11:34:23 - generating LINT kernel config
TB --- 2004-08-02 11:34:23 - cd /home/tinderbox/sandbox/CURRENT/i386/i386/src/sys/i386/conf
TB --- 2004-08-02 11:34:23 - /usr/bin/make -B LINT
TB --- 2004-08-02 11:34:24 - building LINT kernel (COPTFLAGS=-O -pipe)
TB --- 2004-08-02 11:34:24 - cd /home/tinderbox/sandbox/CURRENT/i386/i386/src
TB --- 2004-08-02 11:34:24 - /usr/bin/make buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Mon Aug 2 11:34:24 UTC 2004
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
/tinderbox/CURRENT/i386/i386/src/sys/pci/if_vr.c:146: warning: 'vr_ioctl' used but never defined
/tinderbox/CURRENT/i386/i386/src/sys/pci/if_vr.c:147: warning: 'vr_init' used but never defined
/tinderbox/CURRENT/i386/i386/src/sys/pci/if_vr.c:148: warning: 'vr_init_locked' used but never defined
/tinderbox/CURRENT/i386/i386/src/sys/pci/if_vr.c:149: warning: 'vr_stop' used but never defined
/tinderbox/CURRENT/i386/i386/src/sys/pci/if_vr.c:150: warning: 'vr_watchdog' used but never defined
/tinderbox/CURRENT/i386/i386/src/sys/pci/if_vr.c:151: warning: 'vr_shutdown' used but never defined
/tinderbox/CURRENT/i386/i386/src/sys/pci/if_vr.c:152: warning: 'vr_ifmedia_upd' used but never defined
/tinderbox/CURRENT/i386/i386/src/sys/pci/if_vr.c:153: warning: 'vr_ifmedia_sts' used but never defined
*** Error code 1
Stop in /tinderbox/CURRENT/i386/i386/obj/tinderbox/CURRENT/i386/i386/src/sys/LINT.
*** Error code 1
Stop in /tinderbox/CURRENT/i386/i386/src.
*** Error code 1
Stop in /tinderbox/CURRENT/i386/i386/src.
TB --- 2004-08-02 11:43:19 - WARNING: /usr/bin/make returned exit code 1
TB --- 2004-08-02 11:43:19 - ERROR: failed to build lint kernel
TB --- 2004-08-02 11:43:19 - tinderbox aborted
------------------------------
Message: 8
Date: Mon, 02 Aug 2004 13:49:53 +0200
From: Ian FREISLICH <if@hetzner.co.za>
Subject: Re: LPT interruptstorm
To: "Willem Jan Withagen" <wjw@withagen.nl>
Cc: current@FreeBSD.ORG
Message-ID: <E1BrbKD-000GdA-00@hetzner.co.za>
"Willem Jan Withagen" wrote:
> Hi,
>
> Must be a FAQ, but I did not find anything ...
>
> When wanting to print thru /dev/lpt0 the kernel now starts to complain about
> interruptstorms. Something I can imagine, since printing can generate > 1000
> ints/sec.
> Problem is that the current document (500k) is now printed at 100
> interrupts/sec.
>
> That's going to take some time....
> How do I prevent this from happening?
/etc/sysctl.conf: hw.intr_storm_threshold=2000
OR
/boot/device.hints: hint.ppc.0.flags="0x8"
Make sure your bios is set to ecp/epp for the printer port, or the
second option will fail. A couple of people around here have also
suggested 'lptcontrol -e', but every time I've tried that (even
with lpd stopped) I get 'lptcontrol: open: Device busy'. I'm not
sure what keeps the printer port open other than lpd.
Ian
--
Ian Freislich
------------------------------
Message: 9
Date: Mon, 2 Aug 2004 13:59:06 +0200
From: "Willem Jan Withagen" <wjw@withagen.nl>
Subject: Re: LPT interruptstorm
To: "Ian FREISLICH" <if@hetzner.co.za>
Cc: current@FreeBSD.ORG
Message-ID: <007601c47888$1cf15580$471b3dd4@digiware.nl>
Content-Type: text/plain; charset="Windows-1252"
From: "Ian FREISLICH" <if@hetzner.co.za>
> "Willem Jan Withagen" wrote:
> > Hi,
> >
> > Must be a FAQ, but I did not find anything ...
> >
> > When wanting to print thru /dev/lpt0 the kernel now starts to complain about
> > interruptstorms. Something I can imagine, since printing can generate > 1000
> > ints/sec.
> > Problem is that the current document (500k) is now printed at 100
> > interrupts/sec.
> >
> > That's going to take some time....
> > How do I prevent this from happening?
>
> /etc/sysctl.conf: hw.intr_storm_threshold=2000
>
> OR
>
> /boot/device.hints: hint.ppc.0.flags="0x8"
>
> Make sure your bios is set to ecp/epp for the printer port, or the
> second option will fail. A couple of people around here have also
> suggested 'lptcontrol -e', but every time I've tried that (even
> with lpd stopped) I get 'lptcontrol: open: Device busy'. I'm not
> sure what keeps the printer port open other than lpd.
Setting the sysctl worked.
But now watching it with sysstat, I see that the interrupts go up as high as
65.000 ????
But instead of > 40 minutes, it now is printed in 3 secs.
Thanx,
--WjW
------------------------------
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
End of freebsd-current Digest, Vol 71, Issue 2
**********************************************
--
[35mEvariste Galois[m:
[33m�����呛��樱������蔷������,����直前......[m
[m[31m�� ��源:������� bbs.ustc.edu.cn [FROM: 210.45.72.234][m