Subject: top shows unually high cpu usage [was Re: Al's Xserve G4]
To: None <port-macppc@netbsd.org>
From: DataZap <az@datazap.net>
List: port-macppc
Date: 06/25/2007 06:59:42
Hi,
I made the change to the source and I commented out things you suggested
in the config file. Now, I am not getting the "bogus intr" error in the
dmesg at all. I am going to include my dmesg and my kernel config file and
the output from top.
I am not sure why, but since I configured the server and started things
like apache, pure-ftpd, and postfix ( I also started an rnsyc), now I am
seeing the server only being around 30% idle. I also see a load average of
of between 1.50 and 3.00. Yet, I only see 2 running processes (rsync and
master). Also, master (part of postfix) seems to be using almost 1 percent
of the cpu all the time. Other than that, the only thing that I see wrong
is Shared object "libipsec.so.2" not found when I run ping. I figured I
would let rync finish which will take the best part of a week at this
rate, before sending it to the colo.
Any thoughts?
Thanks,
Al
include "arch/macppc/conf/std.macppc"
options INCLUDE_CONFIG_FILE # embed config file in kernel
binary
ident "FAITH-$Revision: 4.212 $"
maxusers 64
options MAXFILES=32768
options NMBCLUSTERS=32768
options DFLDSIZ="(768*1024*1024)"
options ALTIVEC # Include AltiVec support
# Standard system options
options INSECURE # disable kernel security levels
options RTC_OFFSET=0 # hardware clock is this many mins. west
of GMT
options NTP # NTP phase/frequency locked loop
options KTRACE # system call tracing via ktrace(1)
#options SYSTRACE # system call vetting via systrace(1)
options SYSVMSG # System V message queues
options SYSVSEM # System V semaphores
#options SEMMNI=10 # number of semaphore identifiers
#options SEMMNS=60 # number of semaphores in system
#options SEMUME=10 # max number of undo entries per process
#options SEMMNU=30 # number of undo structures in system
options SYSVSHM # System V shared memory
#options SHMMAXPGS=1024 # 1024 pages is the default
options P1003_1B_SEMAPHORE # p1003.1b semaphore support
#options LKM # loadable kernel modules
#options USERCONF # userconf(4) support
#options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in
kernel
# Enable experimental buffer queue strategy for better responsiveness
under
# high disk I/O load. Use it with caution - it's not proven to be stable
yet.
#options BUFQ_READPRIO
#options BUFQ_PRIOCSCAN
# Diagnostic/debugging support options
#options DIAGNOSTIC # cheap kernel consistency checks
#options DEBUG # expensive debugging checks/support
options ZS_CONSOLE_ABORT# allow break to get into DDB on serial
options DDB # in-kernel debugger
options DDB_ONPANIC=0 # don't go into ddb on panic.
options DDB_HISTORY_SIZE=512 # enable history editing in DDB
#options TRAP_PANICWAIT
#makeoptions DEBUG="-g" # compile full symbol table
# Compatibility options
options COMPAT_09 # NetBSD 0.9,
options COMPAT_10 # NetBSD 1.0,
options COMPAT_11 # NetBSD 1.1,
options COMPAT_12 # NetBSD 1.2,
options COMPAT_13 # NetBSD 1.3,
options COMPAT_14 # NetBSD 1.4,
options COMPAT_15 # NetBSD 1.5,
options COMPAT_16 # NetBSD 1.6,
options COMPAT_20 # NetBSD 2.0
options COMPAT_30 # NetBSD 3.0 compatibility.
options COMPAT_43 # and 4.3BSD
#options COMPAT_386BSD_MBRPART # recognize old partition ID
options COMPAT_LINUX # Linux binary compatibility
#options COMPAT_DARWIN # Darwin binary compatibility
(experimental)
#options COMPAT_MACH # Mach compatibility, needed for
COMPAT_DARWIN
#options EXEC_MACHO # Mach-O binary support, needed for
COMPAT_MACH
#options DEBUG_DARWIN # COMPAT_DARWIN debugging
#options DEBUG_MACH # COMPAT_MACH debugging
#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not
recommended.
options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
# File systems
file-system FFS # UFS
file-system EXT2FS # second extended file system (linux)
file-system LFS # log-structured file system
file-system MFS # memory file system
file-system NFS # Network File System client
file-system CD9660 # ISO 9660 + Rock Ridge file system
file-system MSDOSFS # MS-DOS file system
file-system FDESC # /dev/fd
file-system KERNFS # /kern
file-system NULLFS # loopback file system
file-system OVERLAY # overlay file system
#file-system PORTAL # portal filesystem (still experimental)
file-system PROCFS # /proc
file-system UMAPFS # NULLFS + uid and gid remapping
file-system UNION # union file system
#file-system SMBFS # CIFS; also needs nsmb (below)
file-system PTYFS # /dev/pts/N support
file-system TMPFS # Efficient memory file-system
#file-system UDF # experimental - OSTA UDF CD/DVD
file-system
# File system options
options QUOTA # UFS quotas
#options FFS_EI # FFS Endian Independant support
options SOFTDEP # FFS soft updates support.
#options UFS_DIRHASH # UFS Large Directory Hashing -
Experimental
options NFSSERVER # Network File System server
#options FFS_NO_SNAPSHOT # No FFS snapshot support
#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
# immutable) behave as system flags.
options APPLE_UFS # Apple UFS support in FFS
options NFS_BOOT_DHCP # Support DHCP NFS root
# Networking options
options GATEWAY # packet forwarding
options INET # IP + ICMP + TCP + UDP
options INET6 # IPV6
#options IPSEC # IP security
#options IPSEC_ESP # IP security (encryption part; define
w/IPSEC)
#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
#options PIM # Protocol Independent Multicast
#options ISO,TPIP # OSI
#options EON # OSI tunneling over IP
options NETATALK # AppleTalk networking protocols
options PPP_BSDCOMP # BSD-Compress compression support for PPP
options PPP_DEFLATE # Deflate compression support for PPP
options PPP_FILTER # Active filter support for PPP (requires
bpf)
options PFIL_HOOKS # pfil(9) packet filter hooks
options IPFILTER_LOG # ipmon(8) log support
options IPFILTER_LOOKUP # ippool(8) support
#options IPFILTER_DEFAULT_BLOCK # block all packets by default
#options TCP_DEBUG # Record last TCP_NDEBUG packets with
SO_DEBUG
#options ALTQ # Manipulate network interfaces' output
queues
#options ALTQ_BLUE # Stochastic Fair Blue
#options ALTQ_CBQ # Class-Based Queueing
#options ALTQ_CDNR # Diffserv Traffic Conditioner
#options ALTQ_FIFOQ # First-In First-Out Queue
#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
#options ALTQ_HFSC # Hierarchical Fair Service Curve
#options ALTQ_LOCALQ # Local queueing discipline
#options ALTQ_PRIQ # Priority Queueing
#options ALTQ_RED # Random Early Detection
#options ALTQ_RIO # RED with IN/OUT
#options ALTQ_WFQ # Weighted Fair Queueing
# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
options PCIVERBOSE # verbose PCI device autoconfig messages
options MIIVERBOSE # verbose PHY autoconfig messages
#options PCI_CONFIG_DUMP # verbosely dump PCI config space
options SCSIVERBOSE # human readable SCSI error messages
options USBVERBOSE # verbose USB device autoconfig messages
# wscons options
#options WSEMUL_SUN # sun terminal emulation
options WSEMUL_VT100 # VT100 / VT220 emulation
options WS_DEFAULT_FG=WSCOL_BLACK
options WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
options WS_KERNEL_FG=WSCOL_GREEN
options WS_KERNEL_BG=WSCOL_LIGHT_WHITE
#options FONT_GALLANT12x22
#options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
options FONT_GALLANT12x22
# Optional Mac keyboard tweaks
# Tweak the keyboard driver to treat the caps lock key on an ADB
# keyboard as a control key; requires special remapping because of
# ADB's strange emulation of a mechanically-locked key.
#options CAPS_IS_CONTROL
# On Mac laptops, several function keys double as "hot keys"
# (brightness, volume, eject) when the Fn modifier is held down. Mac
# OS X likes to reprogram the keyboard controller to send hot key
# events when Fn is not held down and send function key events when it
# is. This option transforms the non-keyboard "button" events back
# into function key events.
#options FORCE_FUNCTION_KEYS
# Kernel root file system and dump configuration.
config netbsd root on wd0a type ffs
#
# Device configuration
#
mainbus* at root
cpu* at mainbus?
bandit* at mainbus?
grackle* at mainbus?
uninorth* at mainbus?
uni_n* at mainbus?
pci* at bandit? bus ?
pci* at grackle? bus ?
pci* at uninorth? bus ?
pci* at ppb? bus ?
pchb* at pci? dev ? function ? # PCI-Host bridges
ppb* at pci? dev ? function ? # PCI-PCI bridges
# XXX 'puc's aren't really bridges, but there's no better place for them
here
puc* at pci? dev ? function ? # PCI "universal" comm. cards
lpt* at puc? port ? # || ports on > "universal" comm
boards
# PCI Network devices
#an* at pci? dev ? function ? # Aironet PC4500/PC4800 (802.11)
#ath* at pci? dev ? function ? # Atheros 5210/5211/5212 802.11
#atw* at pci? dev ? function ? # ADMtek ADM8211 (802.11)
bge* at pci? dev ? function ? # Broadcom 570x Gigabit Ethernet
#ep* at pci? dev ? function ? # 3Com 3c59x
#epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
#ex* at pci? dev ? function ? # 3Com 90x[BC]
#fpa* at pci? dev ? function ? # DEC PCI FDDI (DEFPA) Controller
#fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
gem* at pci? dev ? function ? # gmac ethernet
#gm* at pci? dev ? function ? # gmac ethernet (old)
#gsip* at pci? dev ? function ? # NS83820 Gigabit Ethernet
#le* at pci? dev ? function ? # PCnet-PCI Ethernet
#lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3
#mtd* at pci? dev ? function ? # Myson MTD803 3-in-1 Ethernet
#ne* at pci? dev ? function ? # NE2000-compatible Ethernet
#pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet
#ral* at pci? dev ? function ? # Ralink Technology RT25x0
802.11a/b/g
#re* at pci? dev ? function ? # Realtek 8139C+/8169/8169S/8110S
#rtk* at pci? dev ? function ? # Realtek 8129/8139
#sf* at pci? dev ? function ? # Adaptec AIC-6915 Ethernet
#sip* at pci? dev ? function ? # SiS 900/7016 Ethernet
#skc* at pci? dev ? function ? # SysKonnect SK9821 Gigabit
Ethernet
#sk* at skc? # SysKonnect SK9821 Gigabit
Ethernet
#ste* at pci? dev ? function ? # Sundance ST-201 Ethernet
#stge* at pci? dev ? function ? # Sundance/Tamarack TC9021 Gigabit
#ti* at pci? dev ? function ? # Alteon ACEnic gigabit Ethernet
#tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
#tlp* at pci? dev ? function ? # DECchip 21x4x and clones
#vge* at pci? dev ? function ? # VIA VT612x Gigabit Ethernet
#vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
#wi* at pci? dev ? function ? # Intersil Prism Mini-PCI
(802.11b)
#wm* at pci? dev ? function ? # Intel 82543/82544 gigabit
# PCI SCSI controllers
adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA]
SCSI
adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W
SCSI
ahc* at pci? dev ? function ? # Adaptec 294x, aic78x0 SCSI
bha* at pci? dev ? function ? # BusLogic 9xx SCSI
esiop* at pci? dev ? function ? # NCR 53c8xx SCSI (enhanced)
iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
isp* at pci? dev ? function ? # Qlogic ISP 10x0/2xx0 SCSI/Fibre
Chan
pcscp* at pci? dev ? function ? # AMD Am53c974 PCscsi-PCI SCSI
siop* at pci? dev ? function ? # NCR 53c8xx SCSI
trm* at pci? dev ? function ? # Tekram DC-395U/UW/F, DC-315/U
SCSI
# Display devices
ofb* at pci? dev ? function ? # Generic Open Firmware
Framebuffer
# OFB_ENABLE_CACHE speeds up the console on many machines, but should
# not be enabled on some older machines, such as the rev. A-D iMacs.
#options OFB_ENABLE_CACHE # Speed up console in ofb
chipsfb* at pci? function ? # C&T 65550
machfb* at pci? function ? # ATI Mach 64, Rage, Rage Pro
#radeonfb* at pci? function ? # ATI Radeon. R3xx is problematic
options RADEONFB_MMAP_BARS # allow mmap()ing BARs - needed
for X
voodoofb* at pci? function ? # 3Dfx Voodoo3
# make sure the console display is always wsdisplay0
wsdisplay0 at wsemuldisplaydev? console 1
wsdisplay* at wsemuldisplaydev?
#macofcons0 at pci? dev ? function ? # OpenFirmware console (for
debugging)
# Other PCI devices
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
artsata* at pci? dev ? function ? # Intel i31244 SATA controller
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE
controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
#pdcsata* at pci? dev ? function ? # Promise SATA150 controllers
satalink* at pci? dev ? function ? # SiI SATALink controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
wdc* at pci? dev ? function ? # Kauai ATA
cbb* at pci? dev ? function ? # PCI-CardBus bridge
obio* at pci? dev ? function ?
acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874
PHYs
amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs
bmtphy* at mii? phy ? # Broadcom BCM5201/BCM5202 PHYs
brgphy* at mii? phy ? # Broadcom BCM5400 PHYs
ciphy* at mii? phy ? # Cicada CS8201 Gig-E PHYs
dmphy* at mii? phy ? # Davicom DM9101 PHYs
exphy* at mii? phy ? # 3Com internal PHYs
glxtphy* at mii? phy ? # Level One LXT-1000 PHYs
gphyter* at mii? phy ? # NS83861 Gig-E PHY
icsphy* at mii? phy ? # Integrated Circuit Systems
ICS189x
ikphy* at mii? phy ? # Intel 82563 PHYs
inphy* at mii? phy ? # Intel 82555 PHYs
iophy* at mii? phy ? # Intel 82553 PHYs
lxtphy* at mii? phy ? # Level One LXT-970 PHYs
makphy* at mii? phy ? # Marvell Semiconductor 88E1000
PHYs
nsphy* at mii? phy ? # NS83840 PHYs
nsphyter* at mii? phy ? # NS83843 PHYs
pnaphy* at mii? phy ? # generic HomePNA PHYs
qsphy* at mii? phy ? # Quality Semiconductor QS6612
PHYs
rgephy* at mii? phy ? # Realtek 8169S/8110S internal
PHYs
rlphy* at mii? phy ? # Realtek 8139/8201L PHYs
sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
tlphy* at mii? phy ? # ThunderLAN PHYs
tqphy* at mii? phy ? # TDK Semiconductor PHYs
ukphy* at mii? phy ? # generic unknown PHYs
urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
# PCI serial interfaces
com* at puc? port ? # 16x50s on "universal" comm
boards
cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards
#cz* at pci? dev ? function ? # Cyclades-Z multi-port serial
boards
bktr* at pci? dev ? function ? # Brooktree video/audio
capture/tuner
radio* at bktr?
bm* at obio? # bmac ethernet
mc* at obio? # MACE ethernet
esp* at obio? flags 0x00ff # 53c9x SCSI
mesh* at obio? flags 0xffff # MESH SCSI
nvram* at obio? # nvram
adb* at obio? # Apple Desktop Bus
apm0 at adb? # APM emulation
aed* at adb? # ADB Event Device
akbd* at adb? # ADB keyboard
ams* at adb? # ADB mouse
abtn* at adb?
wskbd0 at akbd? console ?
wsmouse* at ams?
zsc* at obio?
zstty* at zsc? channel ?
mediabay* at obio?
wdc* at mediabay? flags 0
# awacs is disabled because on most systems (7300 - 9600 PowerMacs,
# many kinds of G4s), very heavy load can cause the machine to lock
# up. ONLY enable this if your machine is never under heavy load, or
# you'd rather have audio than worry about occasional lockups.
#awacs* at obio? # Apple audio device
ki2c* at obio? # Keywest I2C
ki2c* at uni_n? # Keywest I2C
iic* at ki2c?
adt7467c* at ki2c? # Analog Devices ADT7467 thermal
# monitor, iBook G4
adm1030c* at ki2c? # Analog Devices ADM1030 thermal
# monitor, iBook G3
deq* at ki2c? # mixer/equalizer, needed by
snapper
wi* at obio? # AirMac
snapper* at obio? # Snapper audio device
cardslot* at cbb?
cardbus* at cardslot?
pcmcia* at cardslot?
com* at pcmcia? function ? # Modems and serial cards
wdc* at pcmcia? function ? # PCMCIA IDE controllers
ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
mbe* at pcmcia? function ? # MB8696x based Ethernet
ne* at pcmcia? function ? # NE2000-compatible Ethernet
awi* at pcmcia? function ? # BayStack 650/660 (802.11FH/DS)
wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11)
ath* at cardbus? function ? # Atheros 5210/5211/5212 802.11
atw* at cardbus? function ? # ADMtek ADM8211 (802.11)
ex* at cardbus? function ? # 3Com 3C575TX
tlp* at cardbus? function ? # DECchip 21143
ral* at cardbus? function ? # Ralink Technology RT25x0 802.11a/b/g
rtk* at cardbus? function ? # Realtek 8129/8139
rtw* at cardbus? function ? # Realtek 8180L (802.11)
# Cryptographic Devices
# PCI cryptographic devices
# (disabled, requires opencrypto framework which requires generic softints
#hifn* at pci? dev ? function ? # Hifn 7755/7811/795x
#ubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x
scsibus* at scsi?
sd* at scsibus? target ? lun ? # SCSI disks
st* at scsibus? target ? lun ? # SCSI tape drives
cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
ch* at scsibus? target ? lun ? # SCSI autochangers
ss* at scsibus? target ? lun ? # SCSI scanners
uk* at scsibus? target ? lun ? # SCSI unknown
wdc* at obio? flags 0x1
atabus* at ata?
wd* at atabus? drive ? flags 0x0000
atapibus* at atapi?
cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
# PCI USB controllers
ohci* at pci? dev ? function ? # USB Open Host Controller
ehci* at pci? dev ? function ? # USB Enhanced Host Controller
ohci* at cardbus? function ? # USB Open Host Controller
ehci* at cardbus? function ? # USB Enhanced Host Controller
usb* at ohci? # USB bus support
usb* at ehci? # USB bus support
uhub* at usb? # USB Hubs
uhub* at uhub? port ? configuration ? interface ?
uhidev* at uhub? port ? configuration ? interface ? # USB HID device
pbms* at uhidev? reportid ? # PowerBook 15"
mouse
wsmouse* at pbms?
ums* at uhidev? reportid ? # USB Mice
wsmouse* at ums?
ukbd* at uhidev? reportid ? # USB Keyboards
wskbd* at ukbd? console ?
ucycom* at uhidev? reportid ? # USB serial
adapter
uhid* at uhidev? reportid ? # USB Generic HID
ulpt* at uhub? port ? configuration ? interface ? # USB Printer
umodem* at uhub? port ? configuration ? # USB Modem
ucom* at umodem?
umass* at uhub? port ? configuration ? interface ? # USB Mass Storage
uaudio* at uhub? port ? configuration ? # USB audio
# D-Link DSB-R100 USB FM radio tuner
udsbr* at uhub? port ?
radio* at udsbr?
# USB Ethernet adapters
aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
axe* at uhub? port ? # ASIX AX88172 based adapters
cue* at uhub? port ? # CATC USB-EL1201A based adapters
kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
url* at uhub? port ? # Realtek RTL8150L based adapters
udav* at uhub? port ? # Davicom DM9601 based adapters
ukyopon* at uhub? port ? # Kyocera AIR-EDGE
PHONE
ucom* at ukyopon? portno ?
uscanner* at uhub? port ? # USB scanners
uyap* at uhub? port ? # Y@P firmware
loader
ugen* at uhub? port ? configuration ? interface ? # USB Generic
driver
# USB 802.11 adapters
atu* at uhub? port ? # Atmel at76c50x 802.11b
ral* at uhub? port ? # Ralink Technology RT25x0 802.11a/b/g
# PCI IEEE1394 controllers
#fwohci* at pci? dev ? function ? # IEEE1394 Open Host
Controller
# CardBus IEEE1394 controllers
#fwohci* at cardbus? function ? # IEEE1394 Open Host Controller
#ieee1394if* at fwohci?
#fwip* at ieee1394if? # IP over IEEE1394
#sbp* at ieee1394if? euihi ? euilo ?
# Audio Devices
# PCI audio devices
#clcs* at pci? dev ? function ? # Cirrus Logic CS4280
#cmpci* at pci? dev ? function ? # C-Media CMI8338/8738
eap* at pci? dev ? function ? # Ensoniq AudioPCI
#eso* at pci? dev ? function ? # ESS Solo-1 PCI AudioDrive
#fms* at pci? dev ? function ? # Forte Media FM801
#sv* at pci? dev ? function ? # S3 SonicVibes
# OPL[23] FM synthesizers
#opl* at cmpci? flags 1
#opl* at eso?
#opl* at fms?
# Audio support
#audio* at awacs?
#audio* at clcs?
#audio* at cmpci?
audio* at eap?
#audio* at eso?
#audio* at fms?
audio* at snapper?
#audio* at sv?
audio* at uaudio?
# MPU 401 UARTs
#mpu* at cmpci?
#mpu* at eso?
#mpu* at fms?
# MIDI support
midi* at eap? # 137[01] MIDI port
#midi* at mpu? # MPU 401
#pseudo-device crypto # /dev/crypto device
# (disabled, requires generic
softints)
#pseudo-device swcrypto # software crypto implementation
pseudo-device vnd # disk-like interface to files
#options VND_COMPRESSION # compressed vnd(4)
pseudo-device ccd 4 # concatenated/striped disk
devices
#pseudo-device cgd 4 # cryptographic disk devices
pseudo-device raid 8 # RAIDframe disk driver
options RAID_AUTOCONFIG # auto-configuration of RAID
components
# Options to enable various other RAIDframe RAID types.
# options RF_INCLUDE_EVENODD=1
# options RF_INCLUDE_RAID5_RS=1
# options RF_INCLUDE_PARITYLOGGING=1
# options RF_INCLUDE_CHAINDECLUSTER=1
# options RF_INCLUDE_INTERDECLUSTER=1
# options RF_INCLUDE_PARITY_DECLUSTERING=1
# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
pseudo-device fss 4 # file system snapshot device
pseudo-device md 1 # memory disk device
pseudo-device loop # network loopback
pseudo-device bpfilter # packet filter
pseudo-device ipfilter # IP filter (firewall) and NAT
pseudo-device ppp # Point-to-Point Protocol
pseudo-device pppoe # PPP over Ethernet (RFC 2516)
pseudo-device sl # Serial Line IP
pseudo-device tun # network tunneling over tty
pseudo-device tap # virtual Ethernet
#pseudo-device gre # generic L3 over IP tunnel
pseudo-device gif # IPv[46] over IPv[46] tunnel
(RFC1933)
#pseudo-device faith # IPv[46] tcp relay translation
i/f
pseudo-device stf # 6to4 IPv6 over IPv4
encapsulation
pseudo-device vlan # IEEE 802.1q encapsulation
pseudo-device bridge # simple inter-network bridging
#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks
too
pseudo-device pty # pseudo-terminals
pseudo-device rnd # /dev/random and in-kernel
generator
pseudo-device openfirm # /dev/openfirm
pseudo-device wsmux # mouse and keyboard multiplexor
pseudo-device clockctl # user control of clock subsystem
pseudo-device ksyms # /dev/ksyms
pseudo-device nsmb # SMB requester
#pseudo-device pf # PF packet filter
#pseudo-device pflog # PF log if
# Veriexec
#
# a pseudo device needed for veriexec
#pseudo-device veriexec 1
#
# Uncomment the fingerprint methods below that are desired. Note that
# removing fingerprint methods will have almost no impact on the kernel
# code size.
#
#options VERIFIED_EXEC_FP_RMD160
#options VERIFIED_EXEC_FP_SHA256
#options VERIFIED_EXEC_FP_SHA384
#options VERIFIED_EXEC_FP_SHA512
#options VERIFIED_EXEC_FP_SHA1
#options VERIFIED_EXEC_FP_MD5
#options PAX_MPROTECT=0 # PaX mprotect(2) restrictions
NetBSD 4.0_BETA2 (FAITH-$Revision: 4.212 $) #0: Fri Jun 22 05:05:30 UTC
2007
admin@faith.datazap.net:/usr/src/sys/arch/macppc/compile/FAITH
total memory = 1024 MB
avail memory = 987 MB
timecounter: Timecounters tick every 10.000 msec
init_interrupt: found OpenPIC @ pa 0x80040000, 0x80040000
mainbus0 (root)
cpu0 at mainbus0: 7455 (Revision 3.3), ID 0 (primary)
cpu0: HID0 8450c0bc<EMCP,TBEN,NAP,DPM,ICE,DCE,SGE,BTIC,LRSTK,FOLD,BHT>,
powersave: 1
cpu0: 1333.34 MHz, 256KB L2 cache, 2MB no-parity L3 cache (DDR SRAM) at
6:1 ratio
uni_n0 at mainbus0 address 0xf8000000
ki2c0 at uni_n0 address 0xf8001000
iic0 at ki2c0: I2C bus
lm87 at ki2c0 address 0x15a not configured
temp-monitor at ki2c0 address 0x92 not configured
i2c-hwclock at ki2c0 address 0xca not configured
cereal at ki2c0 address 0x1c0 not configured
uninorth0 at mainbus0
pci0 at uninorth0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 11 function 0
pchb0: Apple Computer UniNorth AGP Bridge (rev. 0x00)
bge0 at pci0 dev 16 function 0: Broadcom BCM5703X Gigabit Ethernet
bge0: interrupting at irq 48
bge0: ASIC BCM5703 A2 (0x1002), Ethernet address 00:03:93:f4:2d:8e
brgphy0 at bge0 phy 1: BCM5703 1000BASE-T media interface, rev. 2
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
uninorth1 at mainbus0
pci1 at uninorth1 bus 0
pci1: i/o space, memory space enabled
pchb1 at pci1 dev 11 function 0
pchb1: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
ppb0 at pci1 dev 13 function 0: Intel S21152BA,S21154AE/BE PCI-PCI Bridge
(rev. 0x00)
pci2 at ppb0 bus 1
pci2: i/o space, memory space enabled
obio0 at pci2 dev 7 function 0: addr 0x80000000
enabling KeyLargo internal modem
pwm at obio0 offset 0x30 not configured
zsc0 at obio0: irq 22,23
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
i2s at obio0 offset 0x10000 not configured
adb0 at obio0 offset 0x16000 irq 47: pm_adb_op: timeout. command = 0x0
0 targets
aed0 at adb0 addr 0: ADB Event device
apm0 at adb0: battery flags 0x9, 0% charged
ki2c1 at obio0
iic1 at ki2c1: I2C bus
cereal at ki2c1 address 0x1c0 not configured
wdc0 at obio0 offset 0x1f000 irq 19: DMA transfer
atabus0 at wdc0 channel 0
ohci0 at pci2 dev 8 function 0: Apple Computer KeyLargo USB Controller
(rev. 0x00)
ohci0: interrupting at irq 27
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Apple Computer OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1 at pci2 dev 9 function 0: Apple Computer KeyLargo USB Controller
(rev. 0x00)
ohci1: interrupting at irq 28
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Apple Computer OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ppb1 at pci1 dev 17 function 0: Intel S21152BA,S21154AE/BE PCI-PCI Bridge
(rev. 0x00)
pci3 at ppb1 bus 2
pci3: i/o space, memory space enabled
ofb0 at pci3 dev 2 function 0: ATI Technologies Radeon 7000/VE QY
ofb0: 800 x 600, 8bpp
wsdisplay0 at ofb0 kbdmux 1: console (std, vt100 emulation)
wsmux1: connecting to wsdisplay0
pdcide0 at pci1 dev 21 function 0
pdcide0: Promise Ultra133TX2v2/ATA Bus Master IDE Accelerator (rev. 0x03)
pdcide0: bus-master DMA support present
pdcide0: primary channel configured to native-PCI mode
pdcide0: using irq 1 for native-PCI interrupt
atabus1 at pdcide0 channel 0
pdcide0: secondary channel configured to native-PCI mode
atabus2 at pdcide0 channel 1
pdcide1 at pci1 dev 27 function 0
pdcide1: Promise Ultra133TX2v2/ATA Bus Master IDE Accelerator (rev. 0x03)
pdcide1: bus-master DMA support present
pdcide1: primary channel configured to native-PCI mode
pdcide1: using irq 1 for native-PCI interrupt
atabus3 at pdcide1 channel 0
pdcide1: secondary channel configured to native-PCI mode
atabus4 at pdcide1 channel 1
uninorth2 at mainbus0
pci4 at uninorth2 bus 0
pci4: i/o space, memory space enabled
pchb2 at pci4 dev 11 function 0
pchb2: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
wdc1 at pci4 dev 13 function 0: cannot find gmac node
Apple Computer UniNorth Firewire (Firewire serial bus, interface 0x10,
revision 0x01) at pci4 dev 14 function 0 not configured
gem0 at pci4 dev 15 function 0: Apple Computer GMAC Ethernet (rev. 0x00)
gem0: interrupting at irq 41
gem0: Ethernet address 00:0a:95:6d:c7:48, 10KB RX fifo, 4KB TX fifo
brgphy1 at gem0 phy 0: BCM5421 1000BASE-T media interface, rev. 1
brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "mftb" frequency 41537897 Hz quality 100
Kernelized RAIDframe activated
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <QSI CD-ROM TCR-241, , WL09> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2
cd0(wdc0:0:0): using PIO mode 4, DMA mode 2 (using DMA)
uhub2 at uhub0 port 1
uhub2: ALCOR macally Kbd Hub, class 9/0, rev 1.10/1.00, addr 2
uhub2: 3 ports with 2 removable, bus powered
uhidev0 at uhub2 port 1 configuration 1 interface 0
uhidev0: ALCOR macally Kbd Hub, rev 1.10/1.00, addr 3, iclass 3/1
ukbd0 at uhidev0
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
wd0 at atabus1 drive 0: <Maxtor 6L250R0>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 233 GB, 486344 cyl, 16 head, 63 sec, 512 bytes/sect x 490234752
sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(pdcide0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using
DMA)
wd1 at atabus2 drive 0: <Maxtor 7L250R0>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 233 GB, 486344 cyl, 16 head, 63 sec, 512 bytes/sect x 490234752
sectors
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd1(pdcide0:1:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using
DMA)
boot device: <unknown>
root on wd0a dumps on wd0b
uhub2: at uhub0 port 1 (addr 2) disconnected
uhidev0: at uhub2 port 1 (addr 3) disconnected
wskbd1: disconnecting from wsdisplay0
wskbd1 detached
ukbd0 detached
uhidev0 detached
uhub2 detached
load averages: 2.34, 1.62, 1.66 up 2 days, 21:20 02:29:16
119 processes: 118 sleeping, 1 on processor
CPU states: % user, % nice, % system, % interrupt, %
idle
Memory: 613M Act, 300M Inact, 816K Wired, 29M Exec, 756M File, 684K Free
Swap: 5000M Total, 5000M Free
PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
7264 root 2 0 97M 16M select 27:10 1.76% 1.76% rsync
1155 root 2 0 224K 1200K select 15:46 0.78% 0.78% master
13 root 18 0 0K 42M syncer 19:22 0.00% 0.00%
[ioflush]
12829 mysql 18 0 34M 18M sigwait 12:14 0.00% 0.00%
<mysqld>
13331 root 18 0 3096K 3996K sigwait 3:37 0.00% 0.00% <named>
20135 root 2 0 97M 95M select 2:09 0.00% 0.00% rsync
19228 postfix 2 0 304K 1296K select 1:24 0.00% 0.00% qmgr
12122 root 2 0 244K 1276K select 1:19 0.00% 0.00%
pure-ftpd
476 root 2 0 320K 1192K select 1:03 0.00% 0.00% sshd
18982 root 2 0 5012K 7324K select 1:01 0.00% 0.00% httpd
12 root -18 0 0K 42M pgdaemon 0:35 0.00% 0.00%
[pagedaemon]
14 root -18 0 0K 42M aiodoned 0:26 0.00% 0.00%
[aiodoned]
1 root 10 0 100K 232K wait 0:03 0.00% 0.00% <init>
28023 admin 2 0 372K 2688K select 0:03 0.00% 0.00% sshd
307 root 2 0 188K 792K kqread 0:03 0.00% 0.00% syslogd
3 root 10 0 0K 42M usbevt 0:01 0.00% 0.00% [usb0]
784 root 10 0 244K 484K nanoslee 0:01 0.00% 0.00% cron
795 root 3 -4 156K 1980K ttyin 0:01 0.00% 0.00% <login>
On Thu, 21 Jun 2007, Allen Briggs wrote:
> Date: Thu, 21 Jun 2007 19:56:47 -0400
> From: Allen Briggs <briggs@netbsd.org>
> To: DataZap <az@datazap.net>
> Cc: port-macppc@netbsd.org
> Subject: Re: Al's Xserve G4
>
> On Thu, Jun 21, 2007 at 03:45:51PM -0700, DataZap wrote:
> > I do have some concerns about the error at boot up and I was wondering if
> > it would be safe to put this server into production this way.
>
> If you mean the "bogus intr", you're probably OK with that. I suspect
> that there's something funny with the interrupt handling, so we're
> seeing two interrupts when we should be seeing one--the second gets
> the bogus intr message.
>
> I don't have the time to go digging for this, though.
>
> If you look back at the 2.1 dmesg, you had one of those messages there.
>
> > but I need to know how to apply this patch.
>
> In general, apply patches by cd'ing to the appropriate directory
> and running "patch < patchfile".
>
> For this one, you can just make the code at line 559 of
> src/sys/dev/pci/pdcide.c look like:
> ========================================================================
> if (crv == 0)
> {
> #if 0
> printf("%s:%d: bogus intr\n",
> sc->sc_wdcdev.sc_atac.atac_dev.dv_xname, i);
> #endif
> }
> else
> rv = 1;
> ========================================================================
>
> The counter was just to see if we hit it a lot or not.
>
> -allen
>
> --
> Allen Briggs | http://www.ninthwonder.com/~briggs/ | briggs@ninthwonder.com
>