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. Re: 5.2-CURRENT constantly crashing (DrVince)
2. if_ndis/5.2.1/smc2602w-r3 (Svein Halvor Halvorsen)
3. Re: vmnet.ko missing - but it's there! - vmware and crashes
(Dick Davies)
4. Re: LORs with PF (Robert Watson)
5. Re: NEW TAR (Ian FREISLICH)
6. Re: 5.2-CURRENT constantly crashing (Robert Watson)
7. Re: 5.2-CURRENT constantly crashing (Robert Watson)
8. Re: Intel Pro/Wireless 2011B & FreeBSD 5.2.1 (Marian Hettwer)
9. Re: vmnet.ko missing - but it's there! - vmware and crashes
(Mark Santcroos)
10. Re: Intel Pro/Wireless 2011B & FreeBSD 5.2.1 (Eric Masson)
11. Re: NEW TAR (Ian FREISLICH)
12. Re: if_ndis/5.2.1/smc2602w-r3 (Dan Langille)
13. Re: NEW TAR (Ken Smith)
14. Re: nanosleep returning early (Bruce Evans)
15. Re: NEW TAR (Jan Grant)
16. STABILITY [Fwd: cvs commit: src/sys/kern kern_switch.c]
(Scott Long)
17. Re: laptop for -current (Joseph Peterson)
18. INSTABILITY all around (Was: Re: STABILITY [Fwd: cvs commit:
src/sys/kern kern_switch.c]) (Brian Fundakowski Feldman)
19. Re: laptop for -current (W. Tyler Gee)
20. Re: laptop for -current (Joseph Peterson)
21. Re: nanosleep returning early (Bruce Evans)
22. radeon drm code in -current (George D. Gal)
23. ath0 associaiton failure (Randy Bush)
24. Ntp 4.2.0 (Robin P. Blanchard)
25. Re: radeon drm code in -current (John Merryweather Cooper)
26. stray irq9, nvidia binary driver lock weirdness (Mike Hunter)
27. Re: radeon drm code in -current (Martin)
28. Re: Erros in: make -j 16 buildword (Doug White)
29. Re: Ntp 4.2.0 (Doug White)
30. Re: Erros in: make -j 16 buildword (Kent Stewart)
31. Re: vmnet.ko missing - but it's there! - vmware and crashes
(Peter Jeremy)
32. Re: vmnet.ko missing - but it's there! - vmware and crashes
(Scot Hetzel)
----------------------------------------------------------------------
Message: 1
Date: Thu, 22 Jul 2004 07:02:31 -0500
From: "DrVince" <drvince@anonymnet.net>
Subject: Re: 5.2-CURRENT constantly crashing
To: Jan Lentfer <lentferj@bio.tu-darmstadt.de>
Cc: freebsd-current <freebsd-current@freebsd.org>
Message-ID: <20040722114646.M69035@anonymnet.net>
Content-Type: text/plain; charset=iso-8859-1
On Thu, 22 Jul 2004 11:23:53 +0200, Jan Lentfer wrote
> i am running 5.2-CURRENT on an old 4x PPRO (200) Amdahl EnVista Server.
> The system is constantly crashing under heavy load for about 2-3
> month now. Since all drives are connected to a Mylex Raid Controller,
> I can't get any kernel dumps :(.
I've been reporting this for a while. I have all new hardware and running 2
IDE local drives, nothing's faulty. Everything is working fine now that I hav
e
downgraded to 5.2.1. I have no kernel dump either since it's a problem with
software disk write buffer. But, at least, you get a message of what could be
the problem, I only got dead freezes. For me, it wasn't heavy loads that was
crashing it, but only buffers getting full.
At the moment, all I can say to help is, if you use dummynet or altq, be sure
to have HZ=1000 in your kernel. But that won't help you much because your
server was working fine.
Good luck,
DrVince
DrVince@anonymnet.net
------------------------------
Message: 2
Date: Thu, 22 Jul 2004 14:15:07 +0200 (CEST)
From: Svein Halvor Halvorsen <svein-freebsd-current@theloosingend.net>
Subject: if_ndis/5.2.1/smc2602w-r3
To: current@freebsd.org
Message-ID: <20040722141237.O98018@mirrorball.theloosingend.net>
Content-Type: TEXT/PLAIN; charset=US-ASCII
I tried asking on questions to no avail. So I'll try again here, since
this is -current code I'm tinkering with here.
Copying
src/sys/modules/if_ndis
src/sys/modules/ndis
src/sys/compat/ndis
src/sys/dev/if_ndis
.. from a current source-tree to my 5.2.1-box, and compiling using a
ndis_driver_data.h made from the latest driver found on SMC's website
using a ndisctl on my current system, seems to work fine.
kldload-ing ndis also seems to work. But when I kldload if_ndis, the
system freezes. No error messages, no response. A cold boot is the only
thing that seems to fix it.
Is this supposed to work, or am I trying to do the impossible here?
Any hints would be appreciated.
Svein Halvor
Btw: ndisctl choked on the inf-file, because of a missing newline at the
end. The fact that the syntax error occured on the last line, hinted on a
missing newline, but I think ndisctl should either give a more precise
error message, or preferable just cope with a missing newline.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
------------------------------
Message: 3
Date: Thu, 22 Jul 2004 13:23:46 +0100
From: Dick Davies <rasputnik@hellooperator.net>
Subject: Re: vmnet.ko missing - but it's there! - vmware and crashes
To: FreeBSD Current list <freebsd-current@freebsd.org>
Message-ID: <20040722122346.GB27559@lb.tenfour>
Content-Type: text/plain; charset=us-ascii
* Garance A Drosihn <drosih@rpi.edu> [0759 01:59]:
> At 12:01 PM -0400 7/21/04, Robert Watson wrote:
> >
> >I've been wondering if we shouldn't bring the VMware modules into
> >the base source tree for some time -- the license is probably an
> >issue, but VMware is a valuable tool for development, and I'm
> >amazed at how frequently and accurately I shoot my feet due to
> >stale versions of the module ...
>
> It would be great to have more reliable support for VMware, as
> it can be a very helpful tool. I am also hopeful that the guys
> at http://www.serenityvirtual.com/ will eventually get to their
> virtual-machine product, which is supposed to run natively under
> FreeBSD. Right now they're still in the beta-version process,
> and they have not started to beta-test the product which will
> run with FreeBSD as the host OS. (perhaps they're waiting for
> 5.3-stable... :-).
>
> Right now my solution is to keep running VMware 2 on my
> freebsd 4.10-system. Neither of those are changing much, so
> that works well enough for my purposes. But if I had an option
> which would reliably work on a 5.x-system, that would be very
> helpful.
I know we're veering OT here, but are there any plans to support
Xen?
http://www.cl.cam.ac.uk/Research/SRG/netos/xen/
It seems like an promising alternative to vmware or jails for
shared hosting environments...
--
People often find it easier to be a result of the past than a cause of
the future.
Rasputin :: Jack of All Trades - Master of Nuns
------------------------------
Message: 4
Date: Thu, 22 Jul 2004 08:36:08 -0400 (EDT)
From: Robert Watson <rwatson@freebsd.org>
Subject: Re: LORs with PF
To: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc: Wiktor Niesiobedzki <bsd@w.evip.pl>
Message-ID:
<Pine.NEB.3.96L.1040722083203.69594B-100000@fledge.watson.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Thu, 22 Jul 2004, Bjoern A. Zeeb wrote:
> > I don't think, it was reported yet, but here it goes:
> >
> > lock order reversal
> > 1st 0xc0632c80 pf task mtx (pf task mtx) @ /usr/src/sys/contrib/pf/net/pf
.c:5822
> > 2nd 0xc066638c tcp (tcp) @ /usr/src/sys/contrib/pf/net/pf.c:2420
>
> for reference: added it to "LOR page" with LOR # 017:
> http://sources.zabbadoz.net/freebsd/lor.html#017
I have no immediate fix, but here's an explanation:
This likely occurs because calls are made into pf in the outgoing packet
path, which may hold protocol layer locks (inpcb and pcbinfo locks). The
pf mutex will therefore typically follow the protocol locks in the lock
order. However, when pf calls up to the pcb/socket code to find
potentially matching pcbs or sockets for a packet, it can't/shouldn't hold
the pf lock across that. A similar bug exists in ipfw.
FWIW, this is actually symptomatic of a race: technically, that pcb lookup
could have a different result between when the firewall looks it up and
when the TCP or UDP code looks it up. It's a property of what is
generally considered a layering violation, albeit a useful one.
The solution I'm looking at for ipfw, but haven't had a chance to
prototype yet, is to avoid holding the mutex for the duration of the call
to ipfw, but instead use some rule set reference count such that ipfw
consumers hold a reference on the rules to prevent them from changing out
from under them. Note that this has interesting semantic consideration
such as starvation, which are usually remedied using copy-on-write, but
that may be expensive for large rule sets. Just something to think
about...
Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org Principal Research Scientist, McAfee Research
------------------------------
Message: 5
Date: Thu, 22 Jul 2004 14:37:00 +0200
From: Ian FREISLICH <if@hetzner.co.za>
Subject: Re: NEW TAR
To: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Cc: current@FreeBSD.ORG
Message-ID: <E1Bncom-000BdL-00@hetzner.co.za>
Garrett Wollman wrote:
> <<On Wed, 21 Jul 2004 17:14:27 +0200, Daniel Lang <dl@leo.org> said:
>
> > I do not see, why it is important if the original file was sparse
> > at all or maybe in different places.
>
> You've never run out of disk space as a result of a sparse file
> becoming non-sparse?
So, are you arguing for or against tar converting files into sparse
files where it can as Daniel proposes?
I have heard stories about D.O.S. attacking backups by creating a
large sparse file that would be backed up using tar. Daniel's
proposal would be a boon in this instance.
How does dump handle sparse files?
Ian
--
Ian Freislich
------------------------------
Message: 6
Date: Thu, 22 Jul 2004 08:37:50 -0400 (EDT)
From: Robert Watson <rwatson@FreeBSD.org>
Subject: Re: 5.2-CURRENT constantly crashing
To: Jan Lentfer <lentferj@bio.tu-darmstadt.de>
Cc: freebsd-current@www.freebsd.org
Message-ID:
<Pine.NEB.3.96L.1040722083631.69594C-100000@fledge.watson.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Thu, 22 Jul 2004, Jan Lentfer wrote:
> i am running 5.2-CURRENT on an old 4x PPRO (200) Amdahl EnVista Server.
> The system is constantly crashing under heavy load for about 2-3 month
> now. Since all drives are connected to a Mylex Raid Controller, I can't
> get any kernel dumps :(.
>
> The system fails with "panic: page fault. fatal trap 12. fault code =
> supervisor read, page not present".
>
> Since this is old hardware I am not quite sure if this is a hardware or
> software problem, but the system used to run stable with 5.1-RELEASE.
>
> I don't have a serial console either, so i can't copy and paste the
> panic warning. Any way this can be sent over ssh so I can post the
> complete kernel panic??
Not easily. The most useful thing up front would be to know what the
faulting address is, and to have you turn the instruction pointer in the
panic into an address in the kernel. If you can get into DDB and get a
stack trace, a list of the names of the symbols (and ideally the offsets)
would be good. The best answer would be if you could set up a serial
console temporarily, as it will both save you trouble and increase
accuracy.
Thanks!
Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org Principal Research Scientist, McAfee Research
>
> This is the output from systat -vmstat from the last crash (don't know if it
> helps):
>
> 2 users Load 11.96 12.03 10.58 Jul 22 10:23
>
> Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER
> Tot Share Tot Share Free in out in out
> Act 226024 12128 585524 18944 27160 count
> All 482280 43796 3256020 172068 pages 1
> 1508 zfod Interrupts
> Proc:r p d s w Csw Trp Sys Int Sof Flt 96 cow 242 total
> 3 14113 12 2044 1884 1740 350 40 1671 94240 wire 1: atk
b
> 257092 act 5: ahc
1
> 15.8%Sys 1.1%Intr 51.0%User 23.6%Nice 8.4%Idl 130564 inact 6: fdc
0
> | | | | | | | | | | 1992 cache 129 8: rtc
> ========>>>>>>>>>>>>>>>>>>>>>>>>>>------------ 25832 free 9: ahc
0
> daefr 7 10: xl
0
> Namei Name-cache Dir-cache 1257 prcfr 6 11: ml
x
> Calls hits % hits % react 13: np
x
> 11579 11522 100 pdwak 100 0: clk
> pdpgs
> Disks mlxd0 mlxd1 cd0 fd0 pass0 intrn
> KB/t 5.21 0.00 0.00 0.00 0.00 61888 buf
> tps 5 0 0 0 0 105 dirtybuf
> MB/s 0.03 0.00 0.00 0.00 0.00 35957 desiredvnodes
> % busy 4 0 0 0 0 8989 numvnodes
> 1193 freevnodes
>
>
>
>
> amdahl# uname -a
> FreeBSD amdahl.bio.tu-darmstadt.de 5.2-CURRENT FreeBSD 5.2-CURRENT #2: Thu J
ul
> 8 12:37:12 CEST 2004
> lentferj@amdahl.bio.tu-darmstadt.de:/usr/obj/usr/src/sys/PPRO_SMP i386
>
>
>
>
> amdahl# cat /usr/src/sys/i386/conf/PPRO_SMP
>
> machine i386
> #cpu I486_CPU
> #cpu I586_CPU
> cpu I686_CPU
> ident PPRO_SMP
>
> # Turn on Filesystem Quotas
> options QUOTA
>
> # Enable IP Filtering
> options IPFIREWALL
> options IPDIVERT
> options IPFIREWALL_DEFAULT_TO_ACCEPT
> options DUMMYNET
>
> #To statically compile in device wiring instead of /boot/device.hints
> #hints "GENERIC.hints" #Default places to look for devices.
>
> #makeoptions DEBUG=-g #Build kernel with gdb(1) debug
> symbols
>
> options SCHED_4BSD #4BSD scheduler
> options INET #InterNETworking
> options INET6 #IPv6 communications protocols
> options FFS #Berkeley Fast Filesystem
> options SOFTUPDATES #Enable FFS soft updates support
> options UFS_ACL #Support for access control lists
> options UFS_DIRHASH #Improve performance on big
> directories
> options MD_ROOT #MD is a potential root device
> options NFSCLIENT #Network Filesystem Client
> options NFSSERVER #Network Filesystem Server
> options NFS_ROOT #NFS usable as root device, requires
> NFSCLIENT
> options MSDOSFS #MSDOS Filesystem
> options CD9660 #ISO 9660 Filesystem
> options PROCFS #Process filesystem (requires
> PSEUDOFS)
> options PSEUDOFS #Pseudo-filesystem framework
> options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!
]
> options COMPAT_FREEBSD4 #Compatible with FreeBSD4
> options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI
> options KTRACE #ktrace(1) support
> options SYSVSHM #SYSV-style shared memory
> options SYSVMSG #SYSV-style message queues
> options SYSVSEM #SYSV-style semaphores
> options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time
> extensions
> options KBD_INSTALL_CDEV # install a CDEV entry in /dev
> options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
> # output. Adds ~128k to driver.
> options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
> # output. Adds ~215k to driver.
>
> # Debugging for use in -current
> #options DDB #Enable the kernel debugger
> #options INVARIANTS #Enable calls of extra sanity checki
ng
> options INVARIANT_SUPPORT #Extra sanity checks of internal
> structures, required by INVARIANTS
> #options WITNESS #Enable checks to detect deadlocks a
nd
> cycles
> #options WITNESS_SKIPSPIN #Don't run witness on spinlocks for
> speed
>
> # To make an SMP kernel, the next two are needed
> options SMP # Symmetric MultiProcessor Kernel
> #options APIC_IO # Symmetric (APIC) I/O
> device apic
>
> device isa
> device eisa
> device pci
>
> # Floppy drives
> device fdc
>
> # ATA and ATAPI devices
> device ata
> device atadisk # ATA disk drives
> device atapicd # ATAPI CDROM drives
> device atapifd # ATAPI floppy drives
> device atapist # ATAPI tape drives
> options ATA_STATIC_ID #Static device numbering
>
> # SCSI Controllers
> #device ahb # EISA AHA1742 family
> device ahc # AHA2940 and onboard AIC7xxx devices
> #device ahd # AHA39320/29320 and onboard AIC79xx devices
> #device amd # AMD 53C974 (Tekram DC-390(T))
> #device isp # Qlogic family
> #device mpt # LSI-Logic MPT-Fusion
> #device ncr # NCR/Symbios Logic
> #device sym # NCR/Symbios Logic (newer chipsets + those
of
> `ncr')
> #device trm # Tekram DC395U/UW/F DC315U adapters
>
> #device adv # Advansys SCSI adapters
> #device adw # Advansys wide SCSI adapters
> #device aha # Adaptec 154x SCSI adapters
> #device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]6
0.
> #device bt # Buslogic/Mylex MultiMaster SCSI adapters
>
> #device ncv # NCR 53C500
> #device nsp # Workbit Ninja SCSI-3
> #device stg # TMC 18C30/18C50
>
> # RAID controllers interfaced to the SCSI subsystem
> #device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID
> #device ciss # Compaq Smart RAID 5*
> #device dpt # DPT Smartcache III, IV - See NOTES for
> options!
> #device iir # Intel Integrated RAID
> #device mly # Mylex AcceleRAID/eXtremeRAID
>
> # SCSI peripherals
> device scbus # SCSI bus (required)
> device ch # SCSI media changers
> device da # Direct Access (disks)
> device sa # Sequential Access (tape etc)
> device cd # CD
> device pass # Passthrough device (direct SCSI access)
> device ses # SCSI Environmental Services (and SAF-TE)
>
> # RAID controllers
> #device aac # Adaptec FSA RAID
> #device aacp # SCSI passthrough for aac (requires CAM)
> #device amr # AMI MegaRAID
> #device ida # Compaq Smart RAID
> #device ips # IBM (Adaptec) ServeRAID
> device mlx # Mylex DAC960 family
> #device pst # Promise Supertrak SX6000
> #device twe # 3ware ATA RAID
>
> # atkbdc0 controls both the keyboard and the PS/2 mouse
> device atkbdc # AT keyboard controller
> device atkbd # AT keyboard
> device psm # PS/2 mouse
>
> device vga # VGA video card driver
>
> device splash # Splash screen and screen saver support
>
> # syscons is the default console driver, resembling an SCO console
> device sc
>
> # Enable this for the pcvt (VT220 compatible) console driver
> #device vt
> #options XSERVER # support for X server on a vt conso
le
> #options FAT_CURSOR # start with block cursor
>
> #device agp # support several AGP chipsets
>
> # Floating point support - do not disable.
> device npx
>
> # Power management support (see NOTES for more options)
> #device apm
> # Add suspend/resume support for the i8254.
> device pmtimer
>
> # PCCARD (PCMCIA) support
> # Pcmcia and cardbus bridge support
> #device cbb # cardbus (yenta) bridge
> #device pcic # ExCA ISA and PCI bridges
> #device pccard # PC Card (16-bit) bus
> #device cardbus # CardBus (32-bit) bus
>
> # Serial (COM) ports
> device sio # 8250, 16[45]50 based serial ports
>
> # Parallel port
> device ppc
> device ppbus # Parallel port bus (required)
> device lpt # Printer
> device plip # TCP/IP over parallel
> device ppi # Parallel port interface device
> #device vpo # Requires scbus and da
>
>
> # PCI Ethernet NICs.
> #device de # DEC/Intel DC21x4x (``Tulip'')
> #device em # Intel PRO/1000 adapter Gigabit Ethernet Ca
rd
> #device txp # 3Com 3cR990 (``Typhoon'')
> #device vx # 3Com 3c590, 3c595 (``Vortex'')
>
> # PCI Ethernet NICs that use the common MII bus controller code.
> # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
> device miibus # MII bus support
> #device dc # DEC/Intel 21143 and various workalikes
> #device fxp # Intel EtherExpress PRO/100B (82557, 82558)
> #device pcn # AMD Am79C97x PCI 10/100 (precedence over
> 'lnc')
> #device rl # RealTek 8129/8139
> #device sf # Adaptec AIC-6915 (``Starfire'')
> #device sis # Silicon Integrated Systems SiS 900/SiS 701
6
> #device sk # SysKonnect SK-984x and SK-982x gigabit
> ethernet
> #device ste # Sundance ST201 (D-Link DFE-550TX)
> #device ti # Alteon Networks Tigon I/II gigabit etherne
t
> #device tl # Texas Instruments ThunderLAN
> #device tx # SMC EtherPower II (83c170 ``EPIC'')
> #device vr # VIA Rhine, Rhine II
> #device wb # Winbond W89C840F
> device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
> #device bge # Broadcom BCM570xx Gigabit Ethernet
>
> # ISA Ethernet NICs. pccard nics included.
> #device cs # Crystal Semiconductor CS89x0 NIC
> # 'device ed' requires 'device miibus'
> #device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards
> #device ex # Intel EtherExpress Pro/10 and Pro/10+
> #device ep # Etherlink III based cards
> #device fe # Fujitsu MB8696x based cards
> #device ie # EtherExpress 8/16, 3C507, StarLAN 10 etc.
> #device lnc # NE2100, NE32-VL Lance Ethernet cards
> #device sn # SMC's 9000 series of ethernet chips
> #device xe # Xircom pccard ethernet
>
> # ISA devices that use the old ISA shims
> #device le
>
> # Wireless NIC cards
> #device wlan # 802.11 support
> #device an # Aironet 4500/4800 802.11 wireless NICs.
> #device awi # BayStack 660 and others
> #device wi # WaveLAN/Intersil/Symbol 802.11 wireless
> NICs.
> #device wl # Older non 802.11 Wavelan wireless NIC.
>
> # Pseudo devices - the number indicates how many units to allocate.
> device random # Entropy device
> device loop # Network loopback
> device ether # Ethernet support
> device sl # Kernel SLIP
> device ppp # Kernel PPP
> device tun # Packet tunnel.
> device pty # Pseudo-ttys (telnet etc)
> device md # Memory "disks"
> device gif # IPv6 and IPv4 tunneling
> device faith # IPv6-to-IPv4 relaying (translation)
>
> # The `bpf' device enables the Berkeley Packet Filter.
> # Be aware of the administrative consequences of enabling this!
> device bpf # Berkeley packet filter
>
> # USB support
> #device uhci # UHCI PCI->USB interface
> #device ohci # OHCI PCI->USB interface
> #device usb # USB Bus (required)
> #device udbp # USB Double Bulk Pipe devices
> #device ugen # Generic
> #device uhid # "Human Interface Devices"
> #device ukbd # Keyboard
> #device ulpt # Printer
> #device umass # Disks/Mass storage - Requires scbus and da
> #device ums # Mouse
> #device urio # Diamond Rio 500 MP3 player
> #device uscanner # Scanners
> # USB Ethernet, requires mii
> #device aue # ADMtek USB ethernet
> #device axe # ASIX Electronics USB ethernet
> #device cue # CATC USB ethernet
> #device kue # Kawasaki LSI USB ethernet
>
> # FireWire support
> #device firewire # FireWire bus code
> #device sbp # SCSI over FireWire (Requires scbus and da)
> #device fwe # Ethernet over FireWire (non-standard!)
>
>
>
>
> amdahl# dmesg
> 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 #2: Thu Jul 8 12:37:12 CEST 2004
> lentferj@amdahl.bio.tu-darmstadt.de:/usr/obj/usr/src/sys/PPRO_SMP
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Pentium Pro (198.95-MHz 686-class CPU)
> Origin = "GenuineIntel" Id = 0x619 Stepping = 9
> Features=0xfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
MOV>
> real memory = 536870912 (512 MB)
> avail memory = 519884800 (495 MB)
> MPTable: <INTEL ALDER >
> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
> cpu0 (BSP): APIC ID: 0
> cpu1 (AP): APIC ID: 1
> cpu2 (AP): APIC ID: 2
> cpu3 (AP): APIC ID: 4
> ioapic0: Assuming intbase of 0
> ioapic0 <Version 1.1> irqs 0-15 on motherboard
> npx0: [FAST]
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> pcib0: <Intel 82454KX/GX (Orion) host to PCI bridge> at pcibus 0 on
> motherboard
> pci0: <PCI bus> on pcib0
> xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xfc80-0xfcff mem
> 0xfeaffc00-0xfeaffc7f irq 10 at device 13.0 on pci0
> miibus0: <MII bus> on xl0
> xlphy0: <3Com internal media interface> on miibus0
> xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> xl0: Ethernet address: 00:01:02:a8:b4:cf
> xl0: [GIANT-LOCKED]
> eisab0: <PCI-EISA bridge> at device 14.0 on pci0
> eisa0: <EISA bus> on eisab0
> mainboard0: <INT31c0 (System Board)> on eisa0 slot 0
> isa0: <ISA bus> on eisab0
> pci0: <unknown> at device 15.0 (no driver attached)
> pci0: <memory, RAM> at device 20.0 (no driver attached)
> pcib1: <Intel 82454KX/GX (Orion) host to PCI bridge> at pcibus 1 on
> motherboard
> pci1: <PCI bus> on pcib1
> mlx0: <Mylex version 3 RAID interface> port 0xec80-0xecff mem
> 0xfe8ffc00-0xfe8ffc7f irq 11 at device 10.0 on pci1
> mlx0: [GIANT-LOCKED]
> mlx0: DAC960P/PD, 2 channels, firmware 3.51-0-04, 32MB RAM
> mlxd0: <Mylex System Drive> on mlx0
> mlxd0: 8188MB (16769024 sectors) RAID 0 (online)
> mlxd1: <Mylex System Drive> on mlx0
> mlxd1: 20455MB (41891840 sectors) RAID 0 (online)
> ahc0: <Adaptec aic7880 Ultra SCSI adapter> port 0xe800-0xe8ff mem
> 0xfe8fe000-0xfe8fefff irq 9 at device 11.0 on pci1
> ahc0: Using left over BIOS settings
> ahc0: [GIANT-LOCKED]
> aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
> ahc1: <Adaptec aic7880 Ultra SCSI adapter> port 0xe400-0xe4ff mem
> 0xfe8fd000-0xfe8fdfff irq 5 at device 12.0 on pci1
> ahc1: Using left over BIOS settings
> ahc1: [GIANT-LOCKED]
> aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
> cpu0 on motherboard
> cpu1 on motherboard
> cpu2 on motherboard
> cpu3 on motherboard
> orm0: <ISA Option ROMs> at iomem
> 0xec000-0xeffff,0xea000-0xebfff,0xcf000-0xcf7ff,0xce800-0xcefff,0xc0000-0xc7
fff
> on isa0
> pmtimer0 on isa0
> ata0 at port 0x3f6,0x1f0-0x1f7 irq 14 on isa0
> ata1 at port 0x376,0x170-0x177 irq 15 on isa0
> atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> kbd0 at atkbd0
> atkbd0: [GIANT-LOCKED]
> 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 0x378-0x37f irq 7 on isa0
> ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
> ppc0: FIFO with 16/16/8 bytes threshold
> ppbus0: <Parallel port bus> on ppc0
> plip0: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> 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
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> unknown: <PNP0303> can't assign resources (port)
> psmcpnp0: irq resource info is missing; assuming irq 12
> unknown: <PNP0700> can't assign resources (port)
> unknown: <PNP0400> can't assign resources (port)
> unknown: <PNP0501> can't assign resources (port)
> unknown: <PNP0501> can't assign resources (port)
> Timecounters tick every 10.000 msec
> ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to
> accept, logging disabled
> Waiting 15 seconds for SCSI devices to settle
> SMP: AP CPU #1 Launched!
> SMP: AP CPU #2 Launched!
> SMP: AP CPU #3 Launched!
> cd0 at ahc1 bus 0 target 0 lun 0
> cd0: <TEAC CD-ROM CD-516S 1.0D> Removable CD-ROM SCSI-2 device
> cd0: 10.000MB/s transfers (10.000MHz, offset 8)
> cd0: Attempt to query device size failed: NOT READY, Medium not present
> Mounting root from ufs:/dev/mlxd0s1a
> WARNING: / was not properly dismounted
> WARNING: /tmp was not properly dismounted
> /tmp: mount pending error: blocks 40 files 10
> WARNING: /usr was not properly dismounted
> /usr: superblock summary recomputed
> WARNING: /var was not properly dismounted
> /var: mount pending error: blocks 12 files 0
> /var: superblock summary recomputed
> WARNING: /blast was not properly dismounted
> Accounting enabled
>
>
>
> Thanks,
>
>
> Jan
> _______________________________________________
> 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"
>
------------------------------
Message: 7
Date: Thu, 22 Jul 2004 08:38:34 -0400 (EDT)
From: Robert Watson <rwatson@freebsd.org>
Subject: Re: 5.2-CURRENT constantly crashing
To: DrVince <drvince@anonymnet.net>
Cc: Jan Lentfer <lentferj@bio.tu-darmstadt.de>
Message-ID:
<Pine.NEB.3.96L.1040722083809.69594D-100000@fledge.watson.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Thu, 22 Jul 2004, DrVince wrote:
> On Thu, 22 Jul 2004 11:23:53 +0200, Jan Lentfer wrote
> > i am running 5.2-CURRENT on an old 4x PPRO (200) Amdahl EnVista Server.
> > The system is constantly crashing under heavy load for about 2-3
> > month now. Since all drives are connected to a Mylex Raid Controller,
> > I can't get any kernel dumps :(.
>
> I've been reporting this for a while. I have all new hardware and
> running 2 IDE local drives, nothing's faulty. Everything is working
> fine now that I have downgraded to 5.2.1. I have no kernel dump either
> since it's a problem with software disk write buffer. But, at least, you
> get a message of what could be the problem, I only got dead freezes.
> For me, it wasn't heavy loads that was crashing it, but only buffers
> getting full.
I recently disabled sync-on-panic, which may increase the reliability of
dumping.
Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org Principal Research Scientist, McAfee Research
------------------------------
Message: 8
Date: Thu, 22 Jul 2004 13:02:34 +0200
From: Marian Hettwer <Mh@kernel32.de>
Subject: Re: Intel Pro/Wireless 2011B & FreeBSD 5.2.1
To: "Simon L. Nielsen" <simon@FreeBSD.org>
Cc: freebsd-current@freebsd.org
Message-ID: <40FF9ECA.6070409@kernel32.de>
Content-Type: text/plain; charset=us-ascii; format=flowed
Hi Simon,
Simon L. Nielsen wrote:
> On 2004.07.22 09:52:44 +0200, Marian Hettwer wrote:
>
>>Hi All,
>>
>>I searched the the pr database and figured out, that support for Intel's
>>2011B is in progress and that wi(4) actually doesn't support it.
>
>
> If you mean Intel PRO/Wireless 2100 it can be used with the ipw(4)
no, I meant the Pro/Wireless 2011B ... :)
I believe it's a different one ...
thanks anyway,
Marian
------------------------------
Message: 9
Date: Thu, 22 Jul 2004 15:06:01 +0200
From: Mark Santcroos <marks@ripe.net>
Subject: Re: vmnet.ko missing - but it's there! - vmware and crashes
To: Robert Watson <rwatson@freebsd.org>
Cc: "freebsd -current@" <freebsd-current@freebsd.org>
Message-ID: <20040722130601.GA2751@laptop.6bone.nl>
Content-Type: text/plain; charset=us-ascii
On Wed, Jul 21, 2004 at 12:01:40PM -0400, Robert Watson wrote:
> I've been wondering if we shouldn't bring the VMware modules into the base
> source tree for some time -- the license is probably an issue
Bringing it simply in the base tree is indeed not an option.
What I think that we need is mechanism to connect 3rd party modules to the
build.
So that when the kernel is rebuild, the 3rd party modules are rebuild too.
Of course there is a change that the module won't compile, but we should
create a mechanism then where we can disable that module easily until the
port gets updated too.
IMHO the most important point to reach is that it can't happen anymore that
we load an out-of-sync vmware module at boot time and panic. It should either
be correctly rebuild or not installed at all (and removed).
Mark
------------------------------
Message: 10
Date: Thu, 22 Jul 2004 15:08:47 +0200
From: Eric Masson <e-masson@kisoft-services.com>
Subject: Re: Intel Pro/Wireless 2011B & FreeBSD 5.2.1
To: Marian Hettwer <Mh@kernel32.de>
Cc: freebsd-current@freebsd.org
Message-ID: <86wu0wxk80.fsf@srvbsdnanssv.interne.kisoft-services.com>
Content-Type: text/plain; charset=iso-8859-15
>>>>> "Marian" == Marian Hettwer <Mh@kernel32.de> writes:
Marian> no, I meant the Pro/Wireless 2011B ... :) I believe it's a
Marian> different one ...
Yes, iirc it's a 2011 with no firmware, you have to upload the firmware
to the card to make it work (imp posted about this card a few years ago,
so there must be something in Google groups)
Eric Masson
--
Dis tu nous l�ches un peu ? C'est un sujet assez important pour qu'on en
parle, peu importe le groupe. C'est � cause de gens comme toi si c'est la
merde sur le net. Tes le�ons de n�tiqu�quette, tu peux te les... OK?
-+- Ghost in : <http://www.le-gnu.net> - Terrorisme neuneulectuel -+-
------------------------------
Message: 11
Date: Thu, 22 Jul 2004 15:22:36 +0200
From: Ian FREISLICH <if@hetzner.co.za>
Subject: Re: NEW TAR
To: SanD <sand@links.ru>
Cc: current@freebsd.org
Message-ID: <E1BndWu-000Bqw-00@hetzner.co.za>
SanD wrote:
> Ian wrote:
> > How does dump handle sparse files?
> Dump handles fine sparse files.
Maybe I should have asked how does dump figure out that the files
are sparse and if it's any more intelligent than a 2 pass read (I
have no idea why 2 passes are required) or just blindly turning
successive zeros into a seek offset, is there anything preventing
BSD tar from doing the same?
Ian
--
Ian Freislich
------------------------------
Message: 12
Date: Thu, 22 Jul 2004 09:47:45 -0400 (EDT)
From: Dan Langille <dan@langille.org>
Subject: Re: if_ndis/5.2.1/smc2602w-r3
To: current@freebsd.org
Message-ID: <20040722094638.C34640@xeon.unixathome.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Thu, 22 Jul 2004, Svein Halvor Halvorsen wrote:
> I tried asking on questions to no avail. So I'll try again here, since
> this is -current code I'm tinkering with here.
>
> Copying
>
> src/sys/modules/if_ndis
> src/sys/modules/ndis
> src/sys/compat/ndis
> src/sys/dev/if_ndis
>
> ... from a current source-tree to my 5.2.1-box, and compiling using a
> ndis_driver_data.h made from the latest driver found on SMC's website
> using a ndisctl on my current system, seems to work fine.
>
> kldload-ing ndis also seems to work. But when I kldload if_ndis, the
> system freezes. No error messages, no response. A cold boot is the only
> thing that seems to fix it.
>
> Is this supposed to work, or am I trying to do the impossible here?
> Any hints would be appreciated.
I don't have time to diagnose your procedure, but my notes are at
http://www.freebsddiary.org/ibm-thinkpad-t41.php <== Scroll down to the
section titled Project Evil.
--
Dan Langille - http://www.langille.org/
------------------------------
Message: 13
Date: Thu, 22 Jul 2004 09:55:25 -0400
From: Ken Smith <kensmith@cse.Buffalo.EDU>
Subject: Re: NEW TAR
To: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Cc: current@freebsd.org
Message-ID: <20040722135525.GA19550@electra.cse.Buffalo.EDU>
Content-Type: text/plain; charset=us-ascii
On Wed, Jul 21, 2004 at 12:22:35PM -0400, Garrett Wollman wrote:
> <<On Wed, 21 Jul 2004 17:14:27 +0200, Daniel Lang <dl@leo.org> said:
>
> > I do not see, why it is important if the original file was sparse
> > at all or maybe in different places.
>
> You've never run out of disk space as a result of a sparse file
> becoming non-sparse?
>
They also effect user quotas. The quota reflects actual disk block
allocation, not file size. I've had users' home directories get
copied and suddenly they're over quota (or the copy fails...) because
of a few core files that became non-sparse...
--
Ken Smith
- From there to here, from here to | kensmith@cse.buffalo.edu
there, funny things are everywhere. |
- Theodore Geisel |
------------------------------
Message: 14
Date: Fri, 23 Jul 2004 00:28:52 +1000 (EST)
From: Bruce Evans <bde@zeta.org.au>
Subject: Re: nanosleep returning early
To: John Birrell <jb@cimlogic.com.au>
Cc: Brian Fundakowski Feldman <green@FreeBSD.org>
Message-ID: <20040722225952.S1704@epsplex.bde.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Thu, 22 Jul 2004, John Birrell wrote:
> On Wed, Jul 21, 2004 at 11:01:20PM +1000, Bruce Evans wrote:
> > On Wed, 21 Jul 2004, Brian Fundakowski Feldman wrote:
> > > On Wed, Jul 21, 2004 at 06:13:10PM +1000, John Birrell wrote:
> > > >
> > > > Today I increased HZ in a current kernel to 1000 when adding dummynet.
> > > > Now I find that nanosleep regularly comes back a little early.
> > > > Can anyone explain why?
> >
> > The most obvious bug is that nanosleep() uses the low-accuracy interface
> > getnanouptime(). I can't see why the the problem is more obvious with
> > large HZ or why it affects short sleeps. From kern_time.c 1.170:
> > ...
> > % getnanouptime(&ts);
> >
> > This may lag the actual (up)time by 1/HZ seconds.
The inaccuracy of the "get" time functions is actually tc_tick/HZ seconds,
where tc_tick is 1 for small values of HZ but is scaled to give an
inaccuracy of 1 mS for large values of HZ or can be adjusted using sysctl
to give almost any inaccuracy that you want. But this makes no difference
until HZ exceeds 1000 or you use the sysctl.
> For any NTP clock adjustment to have an effect, it must happen between
> the time when my (crude) test gets the time and when the kernel calls
> getnanouptime to fill ts. All the rest of the code in nanosleep1()
> refers back to the value of ts. Any errors involved in the tv and hz
> conversions would just cause the code to go around the loop and tsleep
> more than once.
ts is the uptime, so there is another window (larger) for NTP adjustments
to have an affect: most of the sleep time. If ts were perfectly accurate
or larger then the correct value, then the sleep interval (measured as the
difference between uptimes) is sure to be large enough. However, the
sleep interval measured as a difference between real times reported by
gettimeofday() may be smaller because NTP adjusts the clocks differently,
which it only does for stepping the time.
> So, does increasing HZ expose the lower accuracy of getnanouptime() and is
> that what I'm seeing?
I still don't know the reason. Unfortunately, I deleted your original
mail so I can't run the test program in it easily.
> If so, shouldn't the time interface provided by the kernel to userland
> at least be consistently inaccurate? Or put another way, why should
> nanosleep be any less accurate than gettimeofday?
I think it can't be consistent if the time is stepped (i.e., set using
settimeofday() or clock_settime(CLOCK_REALTIME)). The real time is the
best known approximation to the, er, real time, but most other times are
for intervals. Having the most accurate times possible for intervals
is inconsistent with having the most accurate times possible for real
times if the real time is stepped.
> Bruce, have you seen this document: <http://www.dragonflybsd.org/docs/nanosl
eep/>?
> I'm not looking for a critique here. The document talks about the sleep
> overruns in various operatingg systems. There is a patch that was applied
> to DragonFly which aplies to the FreeBSD code base too.
I just looked. It doesn't apply to FreeBSD. Adding 1 to the tick
count in tvtohz() is necessary in many places in FreeBSD (e.g., for
itimers). It happens to be just an optimizatiom in nanosleep1() for
the reasons you mentioned above (going around again fixes any
underestimate of the tick count, and overestimating by 1 avoids going
around again in most cases).
It's normal for simple test programs to take 2-epsilon ticks extra for
nanosleep(), because they get in sync with clock interrupts. Returns
from nanosleep() normally occur epsilon seconds after a clock interrupt.
Then the kernel must wait until the next clock interrupt before returning
from the next nanosleep() even if the sleep interval is 1 nsec (unless
the kernel optimizes this operation and pessimizes others by busy-waiting
or checking on other interrupts...). This gives a minimal sleep of
1-epsilon ticks. The FreeBSD implementation adds an extra tick to
optimize the calculation of the minimal number of ticks. Without this,
it would have use code like that in nanosleep1() after every sleep and
itimer interrupt to check that the interval really has expired
(underestimate the tick count a little to ensure not wasting an extra
tick, at a cost of going around once more in the usual case).
I believe dragonflybsd has high resolution timeouts which make the
issues different. `tick' could be somthing like 10**6 and tick counts
in microseconds would be so large that off by 1 errors in them would
be too small to measure.
Bruce
------------------------------
Message: 15
Date: Thu, 22 Jul 2004 15:45:09 +0100 (BST)
From: Jan Grant <Jan.Grant@bristol.ac.uk>
Subject: Re: NEW TAR
To: Ian FREISLICH <if@hetzner.co.za>
Cc: SanD <sand@links.ru>
Message-ID: <Pine.GSO.4.61.0407221544060.27244@mail.ilrt.bris.ac.uk>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
On Thu, 22 Jul 2004, Ian FREISLICH wrote:
> SanD wrote:
>> Ian wrote:
>>> How does dump handle sparse files?
>> Dump handles fine sparse files.
>
> Maybe I should have asked how does dump figure out that the files
> are sparse and if it's any more intelligent than a 2 pass read (I
> have no idea why 2 passes are required) or just blindly turning
> successive zeros into a seek offset, is there anything preventing
> BSD tar from doing the same?
Dump knows about the filesystem format; it talks that directly to the
device.
--
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
Political talk? / What is said can be unsaid / with good old BS
-- ASCII haiku
------------------------------
Message: 16
Date: Thu, 22 Jul 2004 09:13:55 -0600
From: Scott Long <scottl@freebsd.org>
Subject: STABILITY [Fwd: cvs commit: src/sys/kern kern_switch.c]
To: "'current@freebsd.org'" <current@freebsd.org>
Message-ID: <40FFD9B3.3040607@freebsd.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
All,
This commit is another hack to try to improve stability some
more. Please let me know if it helps or hurts. If it helps
then I think that we are getting closer to at least one of the
real culprits.
Scott
-------- Original Message --------
Subject: cvs commit: src/sys/kern kern_switch.c
Date: Thu, 22 Jul 2004 14:32:48 +0000 (UTC)
From: Scott Long <scottl@FreeBSD.org>
To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
scottl 2004-07-22 14:32:48 UTC
FreeBSD src repository
Modified files:
sys/kern kern_switch.c
Log:
Disable the PREEMPTION-enabled code in critical_exit() that encourages
switching to a different thread. This is just a hack to try to improve
stability some more, but likely points closer to the real culprit.
Revision Changes Path
1.72 +2 -0 src/sys/kern/kern_switch.c
------------------------------
Message: 17
Date: Thu, 22 Jul 2004 10:23:40 -0500
From: Joseph Peterson <joseph.peterson@gmail.com>
Subject: Re: laptop for -current
To: roklein@roklein.de
Cc: freebsd-current@freebsd.org
Message-ID: <38a23c360407220823d412ca4@mail.gmail.com>
Content-Type: text/plain; charset=US-ASCII
Robert, I'm not sure if this is related to the problem that I had/have
(and forgot about) with my Toshiba, but I've found that if Windows was
run and I go to boot FreeBSD, I need to go into the BIOS and save it,
no changes have to be made, just go into BIOS and save it. This is
true of booting from the install CD for the first time, or (as is my
case) dual booting back and forth, when I shut down Windows I have to
go save the BIOS before FreeBSD will boot.
-joe
On Thu, 22 Jul 2004 07:46:55 +0200, Robert Klein <roklein@roklein.de> wrote:
> On Mittwoch, 21. Juli 2004 22:36, Kim Culhan wrote:
> > Anyone know a laptop they think is good for FreeBSd-current?
>
> I have an Acer Travelmate 291LCI which doesn't boot.
> Stable doesn't find the CD-ROM, all currents I tried had some
> kinda panic during boot.. :(
>
> Robert
>
>
>
> _______________________________________________
> 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"
>
------------------------------
Message: 18
Date: Thu, 22 Jul 2004 11:39:13 -0400
From: Brian Fundakowski Feldman <green@freebsd.org>
Subject: INSTABILITY all around (Was: Re: STABILITY [Fwd: cvs commit:
src/sys/kern kern_switch.c])
To: Scott Long <scottl@freebsd.org>
Cc: "'current@freebsd.org'" <current@freebsd.org>
Message-ID: <20040722153913.GA2312@green.homeunix.org>
Content-Type: text/plain; charset=us-ascii
On Thu, Jul 22, 2004 at 09:13:55AM -0600, Scott Long wrote:
> All,
>
> This commit is another hack to try to improve stability some
> more. Please let me know if it helps or hurts. If it helps
> then I think that we are getting closer to at least one of the
> real culprits.
I am having VERY bad luck with -CURRENT now. As of a few weeks ago,
the kernel was perfectly fine on UP and SMP i386. Now, I have had to
switch PREEMPTION off on both to gain some stability back. Turning on
debug.mpsafenet results in instareboots very quickly for my UP box,
but with debug.mpsafenet is off then instareboots take more like a day
to happen.
On SMP, I haven't tried debug.mpsafenet, but now I'm getting a hang
which is probably related to threading programs as it's when using a lot
of KDE and Mozilla Firefox and such. Instareboots might be debuggable
with serial console, as might hangs, if they are symptomatic of the
actual panic() crashing or hanging.
I'm not holding my breath; breaking into DDB+KDB from serial console
whether in X or not causes the machine to just hang completely on SMP,
haven't tried on UP. My machines are always using kern.sync_on_panic=0,
net.inet.tcp.sack.enable=1, INVARIANTS, WITNESS, WITNESS_SKIPSPIN,
and SCHED_ULE. Now I have debug.debugger_on_panic=1 and both hooked
up to serial consoles.
On SMP and on UP I have significant modifications to kqueue to make
it mp-safe, which showed no evidence of instability hammering on them
a month ago. On SMP I have UMA init/ctor-function error checking
modifications which should almost never do anything, as I am not
remotely running out of memory. On both I have also overhauled the
VM wiring capabilities, and I have never tripped any of the many
KASSERT()s that I added while doing that.
I am willing to run specific stress tests to help pinpoint my issues,
but I'm not even thinking it's worth bothering to reenable the
PREEMPTION code when there are so many problems without it. It is
of course possible that it's now broken in subtle ways to NOT use the
PREEMPTION code, but I don't know much about this. I certainly
hope DDB+KDB on panic works where DDB+KDB on break does not, or I'll
probably get nowhere at all.
--
Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\
<> green@FreeBSD.org \ The Power to Serve! \
Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\
------------------------------
Message: 19
Date: Thu, 22 Jul 2004 08:47:49 -0700 (PDT)
From: "W. Tyler Gee" <wtgee@yahoo.com>
Subject: Re: laptop for -current
To: freebsd-current@freebsd.org
Message-ID: <20040722154749.12658.qmail@web60701.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii
I have a Gateway 400 series that works fine except for the thermal
support when ACPI is running. I tried disabling just thermal but the
fan still had a bunch of problems and I would overheat when compiling
anything. With disabled ACPI everythings works like a charm.
wtgee
------------------------------
Message: 20
Date: Thu, 22 Jul 2004 11:20:58 -0500
From: Joseph Peterson <joseph.peterson@gmail.com>
Subject: Re: laptop for -current
To: anton@nikiforov.ru
Cc: freebsd-current@freebsd.org
Message-ID: <38a23c360407220920522e5415@mail.gmail.com>
Content-Type: text/plain; charset=US-ASCII
Anton,
A full power cycle was suggested to me, but that didn't work on my
Toshiba A25 - and Windows is XP for me as well, I guess Microsoft is
getting less well behaved as far as playing with others is concerned
=)
-joe
On Thu, 22 Jul 2004 19:48:12 +0400, Anton Nikiforov <anton@nikiforov.ru> wrote
:
> Joseph Peterson wrote:
> > Robert, I'm not sure if this is related to the problem that I had/have
> > (and forgot about) with my Toshiba, but I've found that if Windows was
> > run and I go to boot FreeBSD, I need to go into the BIOS and save it,
> > no changes have to be made, just go into BIOS and save it. This is
> > true of booting from the install CD for the first time, or (as is my
> > case) dual booting back and forth, when I shut down Windows I have to
> > go save the BIOS before FreeBSD will boot.
> >
> > -joe
> I have had the same problem with my Toshiba (tecra 8200) and Compaq
> (Presario 2585), but in my case Windows was XP (with W2K it was OK) and
> i did not run the BIOS, but just did full power sycle (turn off the
> notebook not just reboot from windows)
>
> Anton
>
>
> >
> > On Thu, 22 Jul 2004 07:46:55 +0200, Robert Klein <roklein@roklein.de> wrot
e:
> >
> >>On Mittwoch, 21. Juli 2004 22:36, Kim Culhan wrote:
> >>
> >>>Anyone know a laptop they think is good for FreeBSd-current?
> >>
> >>I have an Acer Travelmate 291LCI which doesn't boot.
> >>Stable doesn't find the CD-ROM, all currents I tried had some
> >>kinda panic during boot.. :(
> >>
> >>Robert
> >>
> >>
> >>
> >>_______________________________________________
> >>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"
> >>
> >
> > _______________________________________________
> > 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"
> >
> >
> >
>
>
>
------------------------------
Message: 21
Date: Fri, 23 Jul 2004 02:25:16 +1000 (EST)
From: Bruce Evans <bde@zeta.org.au>
Subject: Re: nanosleep returning early
To: John Birrell <jb@cimlogic.com.au>
Cc: current@freebsd.org
Message-ID: <20040723014517.B2451@epsplex.bde.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Fri, 23 Jul 2004, Bruce Evans wrote:
> On Thu, 22 Jul 2004, John Birrell wrote:
>
> > On Wed, Jul 21, 2004 at 11:01:20PM +1000, Bruce Evans wrote:
> > > ...
> > > The most obvious bug is that nanosleep() uses the low-accuracy interface
> > > getnanouptime(). I can't see why the the problem is more obvious with
> > > large HZ or why it affects short sleeps. From kern_time.c 1.170:
> > > ...
> > > % getnanouptime(&ts);
> > >
> > > This may lag the actual (up)time by 1/HZ seconds.
>
> [ (actually tc_tick/HZ seconds)
> > So, does increasing HZ expose the lower accuracy of getnanouptime() and is
> > that what I'm seeing?
>
> I still don't know the reason. Unfortunately, I deleted your original
> mail so I can't run the test program in it easily.
Now I think I know the reason. The interval between clock interrupts
is supposed to be 1/HZ seconds = `tick' microseconds, but it cannot
be set nearly that precisely, and the imprecision of inversely
proportional to HZ. The i8254 counter has a default nominal frequency
of 1193182 Hz. Suppose that this is perfectly accurate. Then to
implement clock interrupts at HZ hz, we want to program the i8254's
maximum count to 1193182/HZ in infinite precision, but counts must be
integers so we must round. The loss of precision is quite large for
HZ = 1000: 1193182 / 1000.0 = 1193.182; rounding this (to nearest)
gives 1193 and an error of 182 in 1193182 = 152 ppm. Also, the extra
tick added by tvtohz() is only 1000 uS long, so it only has a chance
of about 152/1000 to compensate for the rounding error. Finally, the
explicit check that the interval has elapsed cannot compensate for
errors larger than tc_tick/HZ because getnanouptime() is fuzzy.
Rounding 1193.182 to nearest happens to round down; thus clock ticks
are shorter than `tick' microseconds, tvtohz()'s value is too small,
and nanosleep() may return too early. The loop limits the error to
about 1 tick in this case. The i8254 frequency may be calibrated or
set using sysctl to a more (or less) accurate value. Then the rounding
may go the other way so that tvtohz()'s value is too large and nanoleep()
may return too late. The loop cannot limit the error in this case.
The absolute error may be large for long sleeps. E.g., 152 ppm over
1 day is 13 seconds.
tvtohz()'s value may also be too large because the i8254 frequency
is not known accurately. It's nominal value is wrong by 10-100 Hz
on my systems. I minimize errors from this by calibrating all
timecounters using a common clock.
Bruce
------------------------------
Message: 22
Date: Thu, 22 Jul 2004 13:08:53 -0400
From: "George D. Gal" <ggal@vsecurity.com>
Subject: radeon drm code in -current
To: <freebsd-current@FreeBSD.org>
Message-ID: <001401c4700e$91b5a470$5001a8c0@CINDY>
Content-Type: text/plain; charset="iso-8859-1"
Hello I'm wondering if anyone else has experienced problems with the radeon
drm driver in -current. It seems that sometime between Jun 22 and the
latest -current, I have problems with the radeon drm/dri drivers loading when
XFree starts up.
The error I get when starting XFree now is:
[drm] failed to load kernel module "radeon" (II) RADEON(0): [drm] drmOpen
failed
(EE) RADEON(0): [dri] DRIScreenInit failed. Disabling DRI.
I haven't changed anything in my XF86Config.
My hardware is a Dell D600 with the Radeon 9000 video card
Regards,
George
------------------------------
Message: 23
Date: Thu, 22 Jul 2004 07:26:24 -1000
From: Randy Bush <randy@psg.com>
Subject: ath0 associaiton failure
To: FreeBSD Current <freebsd-current@freebsd.org>
Message-ID: <16639.63680.703707.557180@roam.psg.com>
Content-Type: text/plain; charset=us-ascii
on my freebsd very current thinkpad t40p, every few minutes the
ath0 drops out and then, after a few seconds, recovers. the log
message is
ath0: association failed (reason 1) for 00:0f:66:04:c0:2f
my partner, running xp on the same model laptop, against the same
base station, sees no similar problems.
clues and/or debugging hints sought
randy
------------------------------
Message: 24
Date: Thu, 22 Jul 2004 13:30:27 -0400
From: "Robin P. Blanchard" <robin.blanchard@gactr.uga.edu>
Subject: Ntp 4.2.0
To: <current@FreeBSD.org>
Message-ID: <9B5C1FCAFB35084787C21EFFFA78DD9EE481@EBE1.gc.nat>
Content-Type: text/plain; charset="us-ascii"
Since the ntp update, I'm seeing this:
Jul 22 13:27:28 bsdfs5 ntpd[466]: ntpd 4.2.0-a Thu Jul 22 09:47:08 EDT 2004
(1)
Jul 22 13:27:28 bsdfs5 ntpd[466]: mlockall(): Resource temporarily
unavailable
Jul 22 13:27:28 bsdfs5 kernel: obreak: MAP_WIREFUTURE set
What do these message mean ?
---------------------------------------
Robin P. Blanchard
Systems Integration Specialist
Georgia Center for Continuing Education
fon: 706.542.2404 < > fax: 706.542.6546
---------------------------------------
------------------------------
Message: 25
Date: Thu, 22 Jul 2004 11:01:32 -0700
From: John Merryweather Cooper <johnmary@adelphia.net>
Subject: Re: radeon drm code in -current
To: "George D. Gal" <ggal@vsecurity.com>
Cc: freebsd-current@FreeBSD.org
Message-ID:
<1090519292.35023.15.camel@68-169-191-150.losaca.adelphia.net>
Content-Type: text/plain; charset="us-ascii"
On Thu, 2004-07-22 at 10:08, George D. Gal wrote:
> Hello I'm wondering if anyone else has experienced problems with the radeon
> drm driver in -current. It seems that sometime between Jun 22 and the
> latest -current, I have problems with the radeon drm/dri drivers loading whe
n
> XFree starts up.
>
> The error I get when starting XFree now is:
>
> [drm] failed to load kernel module "radeon" (II) RADEON(0): [drm] drmOpen
> failed
> (EE) RADEON(0): [dri] DRIScreenInit failed. Disabling DRI.
>
> I haven't changed anything in my XF86Config.
>
> My hardware is a Dell D600 with the Radeon 9000 video card
>
> Regards,
> George
>
I've had problems, but not quite like yours. This may be a function of
the different adapter (I have a Radeon 7000/VE). I can't run with DRI
enabled in XF86Config since about the dates you have mentioned. If I
load the DRI module in XF86Config and start X, my machine hard locks
shortly after the second icon in the Gnome 2.x startup sequence
displays. Thinking that this might be Gnome-specific, I started up with
KDE 3.x instead, but it locks up also early in it's startup. I can
avoid all this by disabling DRI in XF86Config--but it used to work
before mid-June some time.
jmc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040722/
c8c4666a/attachment-0001.bin
------------------------------
Message: 26
Date: Thu, 22 Jul 2004 11:09:52 -0700
From: Mike Hunter <mhunter@ack.Berkeley.EDU>
Subject: stray irq9, nvidia binary driver lock weirdness
To: freebsd-current@freebsd.org
Message-ID: <20040722180952.GA10004@ack.Berkeley.EDU>
Content-Type: text/plain; charset=us-ascii
Hi,
Just thought I'd state for the group that I now see
"stray irq9"
right before my Dell D800 laptop reboots or shuts down. (I have version
A9 of my bios IIRC, and I'm using a custom /boot/DSDT.aml.) Let me know
if I can do anything to help debug the problem.
I also see (and have been seeing) the following weirdness from the nvidia
driver; should I assume this is just caused by that driver not being
updated? I must use the nvidia binary driver to use an external monitor.
There's no problem with the driver (although it used to freeze the box
solid if I tried to use xlock's openGL modes.)
This is current from Wednesday, June 21, 2004.
Mike
malloc(M_WAITOK) of "32", forcing M_NOWAIT with the following non-sleepable lo
cks held:
exclusive sleep mutex dev.mtx_api r = 0 (0xc1a50a7c) locked @ /usr/ports/x11/n
vidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_subr.c:753
KDB: stack backtrace:
kdb_backtrace(1,20,c1044540,1,d65727f0) at kdb_backtrace+0x29
witness_warn(5,0,c07d9bf1,c07ad754) at witness_warn+0x18e
uma_zalloc_arg(c1044540,0,102) at uma_zalloc_arg+0x38
malloc(14,c0b32ba0,102,0,1) at malloc+0xae
nv_alloc_pages(c1a7d700,d6572958,1,0,0) at nv_alloc_pages+0xad
__nvsym00191(c2153000,d6572958,1,0,0) at __nvsym00191+0x68
__nvsym00183(c2153000,c1d00011,d6572958,d657295c,d6572904) at __nvsym00183+0x1
24
__nvsym00195(c1d00011,31415929,31415932,3e,1010) at __nvsym00195+0xc0
__nvsym00714(c2153000,6,0,c08a9138,c1a7d700) at __nvsym00714+0x11d
__nvsym00702(c1a7d700,c0b1bb1b,2f1,c1a50a00,c1a7d700) at __nvsym00702+0x172
rm_init_adapter(c1a7d700,c1a50a00,c1a7d700,d6572a00,c0b0483e) at rm_init_adapt
er+0x11
nvidia_open_dev(c1a50a00,c1a7d700,3,c214f210,d6572a48) at nvidia_open_dev+0x17
nvidia_dev_open(c087dea8,3,2000,c1de3000,d6572a34) at nvidia_dev_open+0x36
spec_open(d6572a6c,d6572b28,c063b86c,d6572a6c,180) at spec_open+0x2a2
spec_vnoperate(d6572a6c) at spec_vnoperate+0x13
vn_open_cred(d6572be4,d6572ce4,ed,c2049300,7) at vn_open_cred+0x3c0
vn_open(d6572be4,d6572ce4,ed,7,c087fd80) at vn_open+0x1e
kern_open(c1de3000,83f9a64,0,3,ff) at kern_open+0xd8
open(c1de3000,d6572d14,3,1d,3246) at open+0x18
syscall(2f,2f,2f,bfbfeb81,83f9a64) at syscall+0x217
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (5, FreeBSD ELF32, open), eip = 0x28262a9b, esp = 0xbfbfeacc, ebp
= 0xbfbfeae8 ---
malloc(M_WAITOK) of "32", forcing M_NOWAIT with the following non-sleepable lo
cks held:
exclusive sleep mutex dev.mtx_api r = 0 (0xc1a50a7c) locked @ /usr/ports/x11/n
vidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_subr.c:753
KDB: stack backtrace:
kdb_backtrace(1,20,c1044540,1,d65727c4) at kdb_backtrace+0x29
witness_warn(5,0,c07d9bf1,c07ad754) at witness_warn+0x18e
uma_zalloc_arg(c1044540,0,102) at uma_zalloc_arg+0x38
malloc(14,c0b32ba0,102,1000,1) at malloc+0xae
nv_alloc_system_pages(c1a7d700,d6572958,1,0,1) at nv_alloc_system_pages+0x2c
nv_alloc_pages(c1a7d700,d6572958,1,0,0) at nv_alloc_pages+0xf6
__nvsym00191(c2153000,d6572958,1,0,0) at __nvsym00191+0x68
__nvsym00183(c2153000,c1d00011,d6572958,d657295c,d6572904) at __nvsym00183+0x1
24
__nvsym00195(c1d00011,31415929,31415932,3e,1010) at __nvsym00195+0xc0
__nvsym00714(c2153000,6,0,c08a9138,c1a7d700) at __nvsym00714+0x11d
__nvsym00702(c1a7d700,c0b1bb1b,2f1,c1a50a00,c1a7d700) at __nvsym00702+0x172
rm_init_adapter(c1a7d700,c1a50a00,c1a7d700,d6572a00,c0b0483e) at rm_init_adapt
er+0x11
nvidia_open_dev(c1a50a00,c1a7d700,3,c214f210,d6572a48) at nvidia_open_dev+0x17
nvidia_dev_open(c087dea8,3,2000,c1de3000,d6572a34) at nvidia_dev_open+0x36
spec_open(d6572a6c,d6572b28,c063b86c,d6572a6c,180) at spec_open+0x2a2
spec_vnoperate(d6572a6c) at spec_vnoperate+0x13
vn_open_cred(d6572be4,d6572ce4,ed,c2049300,7) at vn_open_cred+0x3c0
vn_open(d6572be4,d6572ce4,ed,7,c087fd80) at vn_open+0x1e
kern_open(c1de3000,83f9a64,0,3,ff) at kern_open+0xd8
open(c1de3000,d6572d14,3,1d,3246) at open+0x18
syscall(2f,2f,2f,bfbfeb81,83f9a64) at syscall+0x217
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (5, FreeBSD ELF32, open), eip = 0x28262a9b, esp = 0xbfbfeacc, ebp
= 0xbfbfeae8 ---
..
------------------------------
Message: 27
Date: Thu, 22 Jul 2004 20:44:03 +0200
From: Martin <nakal@web.de>
Subject: Re: radeon drm code in -current
To: John Merryweather Cooper <johnmary@adelphia.net>
Cc: FreeBSD Current <freebsd-current@freebsd.org>
Message-ID: <1090521831.34181.34.camel@klotz.local>
Content-Type: text/plain
Am Do, den 22.07.2004 schrieb John Merryweather Cooper um 20:01:
> If I
> load the DRI module in XF86Config and start X, my machine hard locks
> shortly after the second icon in the Gnome 2.x startup sequence
> displays. Thinking that this might be Gnome-specific, I started up with
> KDE 3.x instead, but it locks up also early in it's startup. I can
> avoid all this by disabling DRI in XF86Config--but it used to work
> before mid-June some time.
I have a similar effect, but I can load DRI and it works fine,
when I don't load the glx extension.
With glx extension, it does not lock-up the system, it only drives
it to 100% load.
I can still login using ssh and reboot in this case. Can you check, if
this is the same bug? Or is it really a hard lock-up?
(Radeon Mobility 7500, Thinkpad R40)
Martin
------------------------------
Message: 28
Date: Thu, 22 Jul 2004 11:47:05 -0700 (PDT)
From: Doug White <dwhite@gumbysoft.com>
Subject: Re: Erros in: make -j 16 buildword
To: Willem Jan Withagen <wjw@withagen.nl>
Cc: current@FreeBSD.ORG
Message-ID: <20040722114523.C92369@carver.gumbysoft.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Thu, 22 Jul 2004, Willem Jan Withagen wrote:
> From: "Doug White" <dwhite@gumbysoft.com>
> > On Tue, 20 Jul 2004, Willem Jan Withagen wrote:
> >
> > > Hi,
> > >
> > > One way or another it seems that I can no longer buildworld with -j16.
> > > -j8 works perfectly, but -j16 fails consistently at:
> > [...]
> > >
> > > Unless anybody has suggestions of which programs generate these tearse
> > > messages???
> > > Or a way to get make to be more informative???
> >
> > You need to capture the entire output since the error is buried in there.
> > Make doesn't abort -j builds until all the subprocesses are finished, and
> > they can run for a long time...
>
> You know how long the output of a buildworld is, right??
> When the errors are reported, visually it is at the point where it normally
> looks like it is done.
Its not that bad. There's a large number of people that log their builds,
and besides, diskspace is cheap!
> Building ports gives you notice of the directory in which it started to come
up
> from thus telling you which package was in error.....
Port builds aren't done in parallel. The error was printed at the point of
the error, but it doesn't cause all the other subprocesses to be killed
immediately, so they run to completion.
> Maybe I'll see if I can put something like this in make of the makefiles....
Good luck...
--
Doug White | FreeBSD: The Power to Serve
dwhite@gumbysoft.com | www.FreeBSD.org
------------------------------
Message: 29
Date: Thu, 22 Jul 2004 11:57:50 -0700 (PDT)
From: Doug White <dwhite@gumbysoft.com>
Subject: Re: Ntp 4.2.0
To: "Robin P. Blanchard" <robin.blanchard@gactr.uga.edu>
Cc: current@FreeBSD.org
Message-ID: <20040722115631.B92369@carver.gumbysoft.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Thu, 22 Jul 2004, Robin P. Blanchard wrote:
> Since the ntp update, I'm seeing this:
>
> Jul 22 13:27:28 bsdfs5 ntpd[466]: ntpd 4.2.0-a Thu Jul 22 09:47:08 EDT 2004
> (1)
> Jul 22 13:27:28 bsdfs5 ntpd[466]: mlockall(): Resource temporarily
> unavailable
This is ntpd trying to lock all its pages in memory to keep it from
getting swapped out, which tends to mess up its timings. Its harmless but
it'd be nice to have the log entry pushed down to debug status.
> Jul 22 13:27:28 bsdfs5 kernel: obreak: MAP_WIREFUTURE set
I suspect this is related but I didn't get it on my -current boxes at
work.
--
Doug White | FreeBSD: The Power to Serve
dwhite@gumbysoft.com | www.FreeBSD.org
------------------------------
Message: 30
Date: Thu, 22 Jul 2004 12:05:18 -0700
From: Kent Stewart <kstewart@owt.com>
Subject: Re: Erros in: make -j 16 buildword
To: freebsd-current@freebsd.org
Message-ID: <200407221205.18540.kstewart@owt.com>
Content-Type: text/plain; charset="iso-8859-1"
On Thursday 22 July 2004 11:47 am, Doug White wrote:
> On Thu, 22 Jul 2004, Willem Jan Withagen wrote:
> > From: "Doug White" <dwhite@gumbysoft.com>
> >
> > > On Tue, 20 Jul 2004, Willem Jan Withagen wrote:
> > > > Hi,
> > > >
> > > > One way or another it seems that I can no longer buildworld
> > > > with -j16. -j8 works perfectly, but -j16 fails consistently at:
> > >
> > > [...]
> > >
> > > > Unless anybody has suggestions of which programs generate these
> > > > tearse messages???
> > > > Or a way to get make to be more informative???
> > >
> > > You need to capture the entire output since the error is buried
> > > in there. Make doesn't abort -j builds until all the subprocesses
> > > are finished, and they can run for a long time...
> >
> > You know how long the output of a buildworld is, right??
> > When the errors are reported, visually it is at the point where it
> > normally looks like it is done.
>
> Its not that bad. There's a large number of people that log their
> builds, and besides, diskspace is cheap!
I am one of these people. I figure that if you don't log, then you must
think your time isn't worth anything because you have to rerun it to
log the problem. I created a directory called /var/log/build to hold
the logs.
I don't have any MP systems and -j* was always slower than no -j. With a
no -j log, you don't have to rerun the build to find the problem. I
never seem to have enough of "me-time" but the system doesn't care what
it does :).
Kent
>
> > Building ports gives you notice of the directory in which it
> > started to come up from thus telling you which package was in
> > error.....
>
> Port builds aren't done in parallel. The error was printed at the
> point of the error, but it doesn't cause all the other subprocesses
> to be killed immediately, so they run to completion.
>
> > Maybe I'll see if I can put something like this in make of the
> > makefiles....
>
> Good luck...
--
Kent Stewart
Richland, WA
http://users.owt.com/kstewart/index.html
------------------------------
Message: 31
Date: Fri, 23 Jul 2004 05:32:13 +1000
From: Peter Jeremy <PeterJeremy@optushome.com.au>
Subject: Re: vmnet.ko missing - but it's there! - vmware and crashes
To: Mark Santcroos <marks@ripe.net>
Cc: "freebsd -current@" <freebsd-current@freebsd.org>
Message-ID: <20040722193213.GJ3001@cirb503493.alcatel.com.au>
Content-Type: text/plain; charset=us-ascii
On Thu, 2004-Jul-22 15:06:01 +0200, Mark Santcroos wrote:
>IMHO the most important point to reach is that it can't happen anymore that
>we load an out-of-sync vmware module at boot time and panic. It should either
>be correctly rebuild or not installed at all (and removed).
The nicest way to do this would be to add versioning to the kld interface
but this isn't practical (there was a thread about this some time ago).
There are two other fairly easy approaches to this:
1) Change installkernel so that it does
mv /boot/kernel /boot/kernel.old
instead of something like
cp -p /boot/kernel/* /boot/kernel.old
2) Add a check for old files in /boot/kernel at the end of installkernel
and generate a banner message "The following modules are out of date..."
--
Peter Jeremy
------------------------------
Message: 32
Date: Thu, 22 Jul 2004 15:03:01 -0500
From: Scot Hetzel <swhetzel@gmail.com>
Subject: Re: vmnet.ko missing - but it's there! - vmware and crashes
To: Peter Jeremy <peterjeremy@optushome.com.au>
Cc: "freebsd -current@" <freebsd-current@freebsd.org>
Message-ID: <790a9fff040722130326edaed7@mail.gmail.com>
Content-Type: text/plain; charset=US-ASCII
On Fri, 23 Jul 2004 05:32:13 +1000, Peter Jeremy
<peterjeremy@optushome.com.au> wrote:
> On Thu, 2004-Jul-22 15:06:01 +0200, Mark Santcroos wrote:
> >IMHO the most important point to reach is that it can't happen anymore that
> >we load an out-of-sync vmware module at boot time and panic. It should eith
er
> >be correctly rebuild or not installed at all (and removed).
>
> The nicest way to do this would be to add versioning to the kld interface
> but this isn't practical (there was a thread about this some time ago).
> There are two other fairly easy approaches to this:
> 1) Change installkernel so that it does
> mv /boot/kernel /boot/kernel.old
> instead of something like
> cp -p /boot/kernel/* /boot/kernel.old
> 2) Add a check for old files in /boot/kernel at the end of installkernel
> and generate a banner message "The following modules are out of date..."
>
Except that won't work for modules installed by ports. These modules
are not installed into a standard location. Some are installed into
${PREFIX}/modules, ${PREFIX}/lib/<module name>, /modules,
/boot/modules. What should happen is that all modules installed by
ports/packages should install into a common location. Then the
installkernel target could show out of date port/package modules.
Scot
------------------------------
_______________________________________________
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 69, Issue 13
***********************************************
--
[35mEvariste Galois[m:
[33m�����呛��樱������蔷������,����直前......[m
[m[35m�� ��源:������� bbs.ustc.edu.cn [FROM: 210.45.72.234][m