Subject: Re: Lockup with -current via SSH
To: Ken Seefried <ken@seefried.com>
From: Adam K Kirchhoff <adamk@voicenet.com>
List: tech-smp
Date: 02/24/2003 19:47:44
FYI,

	In my experience, -cuurent does not play well with SMP and
threads.  Any threaded application will lock up my machine solid.

Adam

On Mon, 24 Feb 2003, Ken Seefried wrote:

>
> I loaded one of my SMP boxes (Intel PR440FX with dual PPro200/256) with the
> latest i386 snapshot (20021002).  I pulled a fresh source tree via CVS
> yesterday morning (2/23) and built & installed a from scratch, first time
>  -current per http://www.netbsd.org/Documentation/current/#using-anoncvs.  I
> compiled and installed a kernel using GENERIC.MP.
>
> Initially works fine, including compiling a kernel using "make -j 3".
>
> Until...I log in remotely via ssh.  Enter username, enter password.  Solid
> lockup.  No console output, nothing in /var/log.  Reset to recover.
> Repeatable every time.
>
> Any clues?  File a PR?
>
> Dmesg attached...
>
> NetBSD 1.6O (GENERIC.MP) #0: Mon Feb 24 03:16:39 UTC 2003
>    root@juju:/usr/src/sys/arch/i386/compile/GENERIC.MP
> total memory = 255 MB
> avail memory = 230 MB
> using 3297 buffers containing 13188 KB of memory
> BIOS32 rev. 0 found at 0xfd9f0
> mainbus0 (root)
> mainbus0: Intel MP Specification (Version 1.4) (INTEL    PR440FX     )
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel Pentium Pro (686-class), 198.69 MHz, id 0x619
> cpu0: features fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
> cpu0: features fbff<PGE,MCA,CMOV>
> cpu0: I-cache 8 KB 32b/line 4-way, D-cache 8 KB 32b/line 2-way
> cpu0: L2 cache 256 KB 32b/line 4-way
> cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
> cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
> cpu0: calibrating local timer
> cpu0: apic clock running at 66 MHz
> cpu0: 16 page colors
> cpu1 at mainbus0: apid 12 (application processor)
> cpu1: starting
> cpu1: Intel Pentium Pro (686-class), 198.67 MHz, id 0x619
> cpu1: features fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
> cpu1: features fbff<PGE,MCA,CMOV>
> cpu1: I-cache 8 KB 32b/line 4-way, D-cache 8 KB 32b/line 2-way
> cpu1: L2 cache 256 KB 32b/line 4-way
> cpu1: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
> cpu1: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
> mpbios: bus 0 is type PCI
> mpbios: bus 18 is type ISA
> ioapic0 at mainbus0 apid 13 (I/O APIC)
> ioapic0: pa 0xfec00000, version 11, 24 pins
> pci0 at mainbus0 bus 0: configuration mode 1
> pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
> pchb0 at pci0 dev 0 function 0
> pchb0: Intel 82441FX PCI and Memory Controller (PMC) (rev. 0x02)
> fxp0 at pci0 dev 6 function 0: Intel i82557 Ethernet, rev 2
> fxp0: interrupting at apic 13 int 18 (irq 11)
> fxp0: Ethernet address 00:a0:c9:60:34:b3
> nsphy0 at fxp0 phy 1: DP83840 10/100 media interface, rev. 1
> nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> pcib0 at pci0 dev 7 function 0
> pcib0: Intel 82371SB PCI-to-ISA Bridge (PIIX3) (rev. 0x01)
> pciide0 at pci0 dev 7 function 1: Intel 82371SB IDE Interface (PIIX3) (rev.
> 0x00)
> pciide0: bus-master DMA support present
> pciide0: primary channel wired to compatibility mode
> atapibus0 at pciide0 channel 0: 2 targets
> cd0 at atapibus0 drive 0: <ATAPI CD-ROM DRIVE 32X MAXIMUM, , 326P> cdrom
> removable
> cd0: 32-bit data port
> cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
> pciide0: primary channel interrupting at irq 14
> cd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
> pciide0: secondary channel wired to compatibility mode
> pciide0: secondary channel ignored (disabled)
> ahc1 at pci0 dev 9 function 0
> ahc1: interrupting at apic 13 int 17 (irq 11)
> ahc1: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
> scsibus0 at ahc1: 16 targets, 8 luns per target
> ahc2 at pci0 dev 11 function 0
> ahc2: interrupting at apic 13 int 16 (irq 10)
> ahc2: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
> scsibus1 at ahc2: 16 targets, 8 luns per target
> fxp1 at pci0 dev 15 function 0: Intel i82557 Ethernet, rev 1
> fxp1: interrupting at apic 13 int 17 (irq 11)
> fxp1: Ethernet address 00:a0:c9:0c:1c:e4
> nsphy1 at fxp1 phy 1: DP83840 10/100 media interface, rev. 0
> nsphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> vga1 at pci0 dev 17 function 0: S3 ViRGE/DX (rev. 0x01)
> wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
> wsmux1: connecting to wsdisplay0
> isa0 at pcib0
> com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
> com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
> pckbc0 at isa0 port 0x60-0x64
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pms0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> lpt0 at isa0 port 0x378-0x37b irq 7
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: PC speaker
> sysbeep0 at pcppi0
> isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
> npx0 at isa0 port 0xf0-0xff: using exception 16
> fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
> fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
> isapnp0: read port 0x203
> wss1 at isapnp0 port 0x534/4,0x388/4,0x220/16 irq 5 drq 1,0
> wss1: CS4236B Audio WSS/SB: CS4236B
> audio0 at wss1: full duplex, mmap
> opl0 at wss1: model OPL3
> midi1 at opl0: WSS Yamaha OPL3
> joy0 at isapnp0 port 0x200/8
> joy0: CS4236B Audio GAME
> joy0: joystick not connected
> isapnp0: <CS4236B Audio, CSC0010, , CTRL> port 0x120/8 not configured
> isapnp0: <CS4236B Audio, CSC0003, , MPU> port 0x330/2 irq 9 not configured
> ioapic0: enabling
> Kernelized RAIDframe activated
> scsibus0: waiting 2 seconds for devices to settle...
> st0 at scsibus0 target 6 lun 0: <TANDBERG, TDC 4200, =07:> tape removable
> st0: rogue, density code 0, 512-byte blocks, write-enabled
> st0: async, 8-bit transfers
> scsibus1: waiting 2 seconds for devices to settle...
> sd0 at scsibus1 target 8 lun 0: <SEAGATE, ST34572WC, 0784> disk fixed
> sd0: 4340 MB, 6300 cyl, 8 head, 176 sec, 512 bytes/sect x 8888924 sectors
> sd0: sync (50.0ns offset 8), 16-bit (40.000MB/s) transfers, tagged queueing
> boot device: sd0
> root on sd0a dumps on sd0b
> root file system type: ffs
> cpu1: CPU 12 running
> wsdisplay0: screen 1 added (80x25, vt100 emulation)
> wsdisplay0: screen 2 added (80x25, vt100 emulation)
> wsdisplay0: screen 3 added (80x25, vt100 emulation)
> wsdisplay0: screen 4 added (80x25, vt100 emulation)
>
>