Lost interrupts on SMP systems

Peter Trifonov pvtrifonov at mail.ru
Thu Dec 30 23:21:31 PST 2004


Hello John,

On Thursday 30 December 2004 22:54, John Baldwin wrote:
> > >You forgot to mention what version of FreeBSD you're running.
> > I am running FreeBSD 5.3 RELEASE
> Can you get a verbose dmesg please?
Please find it below.

There is another strange thing here. Kernel reports a lot of SCSI drives 
(da0-da6), while there is only one (da6) installed.  However, this does not 
seem to be related to the fxp timeout problem and is not very annoying.

============================================
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.3-RELEASE #0: Sat Dec 18 11:45:40 MSK 2004
    bugman at firewall.xj.dcn:/usr/src/sys/i386/compile/FIREWALL
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium Pro (199.74-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,CMOV>
real memory  = 100663296 (96 MB)
avail memory = 88842240 (84 MB)
MPTable: <HP       XX          >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  1
 cpu1 (AP): APIC ID:  0
ioapic0: Changing APIC ID to 16
ioapic0: Assuming intbase of 0
MPTable: Ignoring global interrupt entry for pin 1
MPTable: Ignoring global interrupt entry for pin 2
MPTable: Ignoring global interrupt entry for pin 3
MPTable: Ignoring global interrupt entry for pin 4
MPTable: Ignoring global interrupt entry for pin 5
MPTable: Ignoring global interrupt entry for pin 6
MPTable: Ignoring global interrupt entry for pin 7
MPTable: Ignoring global interrupt entry for pin 8
MPTable: Ignoring global interrupt entry for pin 9
MPTable: Ignoring global interrupt entry for pin 10
MPTable: Ignoring global interrupt entry for pin 11
MPTable: Ignoring global interrupt entry for pin 12
MPTable: Ignoring global interrupt entry for pin 13
MPTable: Ignoring global interrupt entry for pin 14
MPTable: Ignoring global interrupt entry for pin 15
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> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 0.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <CMD 646 WDMA2 controller> port 
0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 irq 14 at device 1.0 on 
pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
ahc0: <Adaptec aic7880 Ultra SCSI adapter> port 0xf800-0xf8ff mem 
0xffbfc000-0xffbfcfff irq 9 at device 2.0 on pci0
ahc0: Using left over BIOS settings
ahc0: [GIANT-LOCKED]
aic7880: Ultra Single Channel A, SCSI Id=7, 16/253 SCBs
pci0: <display, VGA> at device 11.0 (no driver attached)
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xf400-0xf47f mem 
0xffbec000-0xffbec07f irq 10 at device 12.0 on pci0
miibus0: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:50:da:39:91:99
xl1: <3Com 3c905B-TX Fast Etherlink XL> port 0xf000-0xf07f mem 
0xffbdc000-0xffbdc07f irq 11 at device 13.0 on pci0
miibus1: <MII bus> on xl1
xlphy1: <3Com internal media interface> on miibus1
xlphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl1: Ethernet address: 00:10:4b:b3:ef:1b
xl2: <3Com 3c905C-TX Fast Etherlink XL> port 0xec00-0xec7f mem 
0xffbcc000-0xffbcc07f irq 11 at device 14.0 on pci0
miibus2: <MII bus> on xl2
xlphy2: <3c905C 10/100 internal PHY> on miibus2
xlphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl2: Ethernet address: 00:04:76:15:b6:e1
pci0: <memory, RAM> at device 20.0 (no driver attached)
cpu0 on motherboard
cpu1 on motherboard
orm0: <ISA Option ROMs> at iomem 
0xcc000-0xd07ff,0xc8000-0xc87ff,0xc0000-0xc7fff on isa0
pmtimer0 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> at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: [FAST]
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)
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
Timecounters tick every 10.000 msec
ipfw2 initialized, divert enabled, rule-based forwarding disabled, default to 
deny, logging limited to 100 packets/entry by default
ad2: 2441MB <WDC AC22500L/24.39E26> [4960/16/63] at ata1-master WDMA2
acd0: CDROM <HITACHI CDR-7930/1023> at ata1-slave PIO3
Waiting 15 seconds for SCSI devices to settle
da0 at ahc0 bus 0 target 0 lun 0
da0: <HP 2.13GB B 50-0658 0658> Fixed Direct Access SCSI-2 device
da0: 3.300MB/s transfers, Tagged Queueing Enabled
da0: 2033MB (4165272 512 byte sectors: 64H 32S/T 2033C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <HP 2.13GB B 50-0658 0658> Fixed Direct Access SCSI-2 device
da1: 3.300MB/s transfers, Tagged Queueing Enabled
da1: 2033MB (4165272 512 byte sectors: 64H 32S/T 2033C)
da2 at ahc0 bus 0 target 2 lun 0
da2: <HP 2.13GB B 50-0658 0658> Fixed Direct Access SCSI-2 device
da2: 3.300MB/s transfers, Tagged Queueing Enabled
da2: 2033MB (4165272 512 byte sectors: 64H 32S/T 2033C)
da3 at ahc0 bus 0 target 3 lun 0
da3: <HP 2.13GB B 50-0658 0658> Fixed Direct Access SCSI-2 device
da3: 3.300MB/s transfers, Tagged Queueing Enabled
da3: 2033MB (4165272 512 byte sectors: 64H 32S/T 2033C)
da4 at ahc0 bus 0 target 4 lun 0
da4: <HP 2.13GB B 50-0658 0658> Fixed Direct Access SCSI-2 device
da4: 3.300MB/s transfers, Tagged Queueing Enabled
da4: 2033MB (4165272 512 byte sectors: 64H 32S/T 2033C)
da5 at ahc0 bus 0 target 5 lun 0
da5: <HP 2.13GB B 50-0658 0658> Fixed Direct Access SCSI-2 device
da5: 3.300MB/s transfers, Tagged Queueing Enabled
da5: 2033MB (4165272 512 byte sectors: 64H 32S/T 2033C)
da6 at ahc0 bus 0 target 6 lun 0
da6: <HP 2.13GB B 50-0658 0658> Fixed Direct Access SCSI-2 device
da6: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
da6: 2033MB (4165272 512 byte sectors: 64H 32S/T 2033C)
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/ad2s1a
Pre-seeding PRNG:
 kickstart
.
Loading configuration files.
Entropy harvesting:
 interrupts
 ethernet
 point_to_point
 kickstart
.
swapon: adding /dev/ad2s1b as swap device
Starting file system checks:
/dev/ad2s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad2s1a: clean, 81811 free (1531 frags, 10035 blocks, 1.2% fragmentation)
/dev/ad2s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad2s1e: clean, 126830 free (38 frags, 15849 blocks, 0.0% fragmentation)
/dev/da6s1d: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/da6s1d: clean, 924924 free (28 frags, 115612 blocks, 0.0% fragmentation)
/dev/ad2s1f: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad2s1f: clean, 367788 free (1228 frags, 45820 blocks, 0.2% fragmentation)
/dev/ad2s1d: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad2s1d: clean, 120491 free (99 frags, 15049 blocks, 0.1% fragmentation)
Setting hostname: firewall.xj.dcn.
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 10.0.103.3 netmask 0xffffff00 broadcast 10.0.103.255
        inet xxx.xxx.xxx.xxx netmask 0xfffffff0 broadcast xxx.xxx.xxx.xxx
        ether 00:50:da:39:91:99
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet xxx.xxx.xxx.xxx netmask 0xffffffc0 broadcast xxx.xxx.xxx.xxx
        ether 00:10:4b:b3:ef:1b
        media: Ethernet autoselect (none)
        status: no carrier
xl2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet xxx.xxx.xxx.xxx netmask 0xfffffffc broadcast xxx.xxx.xxx.xxx
        ether 00:04:76:15:b6:e1
        media: Ethernet autoselect (none)
        status: no carrier
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000

Flushed all rules.
<**********IPFW RULES SKIPPED******************>
Firewall rules loaded, starting divert daemons:
 natd
natd:
instance default: aliasing address not given

.
net.inet.ip.fw.enable:
1
 ->
1

Additional routing options:
 tcp extensions=NO
 log ICMP redirect=YES
 IP gateway=YES
 drop SYN+FIN packets=YES
.
Starting devd.
Mounting NFS file systems:
.
Starting syslogd.
Dec 31 10:11:51 firewall syslogd: kernel boot file is /boot/kernel/kernel
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib
a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout
Starting local daemons:
add net 10.0.0.0: gateway 10.0.103.1
add net xxx.xxx.xxx.xxx: gateway 10.0.103.1
route:
writing to routing socket
:
File exists
add net xxx.xxx.xxx.xxx: gateway 10.0.103.1: File exists
add net 0.0.0.0: gateway xxx.xxx.xxx.xxx
.
Updating motd
.
Configuring syscons:
 keymap
 scrnmap
 font8x16
 font8x14
 font8x8
 blanktime
 screensaver
.
Starting sshd.
Initial i386 initialization:
.
Additional ABI support:
.
Starting cron.
Local package initialization:
Starting trafd.
xl0: promiscuous mode enabled
Dec 31 10:11:58 firewall kernel: xl0: promiscuous mode enabled
xl1: promiscuous mode enabled
Dec 31 10:11:58 firewall kernel: xl1: promiscuous mode enabled
xl2: promiscuous mode enabled
Dec 31 10:11:58 firewall kernel: xl2: promiscuous mode enabled
.
Additional TCP options:
.
Starting background file system checks in 60 seconds.


-- 
With best regards,
P. Trifonov



More information about the freebsd-smp mailing list