Subject: pthreads on alpha 4.99.33 kernel and userland built today.
To: None <nick.hudson@dsl.pipex.com, port-alpha@netbsd.org>
From: mel kravitz <melk@switchpwr.com>
List: port-alpha
Date: 10/17/2007 13:55:00
Hi,
Finally sorted out a kernel from current and a release built from the 
same src,
I get problems with programs such as xine:
xine: Error detected by libpthread: Invalid mutex.
Detected by file "/usr/src/lib/libpthread/pthread_mutex.c", line 316, 
function "pthread_mutex_unlock".
See pthread(3) for information.
my dmesg for reference:

NetBSD 4.99.33 (GENERIC-$Revision: 1.317 $) #0: Wed Oct 17 07:30:36 EDT 2007
	mel@casey234.switchpwr.com:/usr/obj/sys/arch/alpha/compile.alpha/NEW
AlphaServer 800 5/400, 400MHz, s/n 
8192 byte page size, 1 processor.
total memory = 512 MB
(2088 KB reserved for PROM, 509 MB used by NetBSD)
avail memory = 491 MB
timecounter: Timecounters tick every 0.976 msec
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21164A-2
cpu0: Architecture extensions: 1<BWX>
cia0 at mainbus0: DECchip 2117x Core Logic Chipset (ALCOR/ALCOR2), pass 3
cia0: extended capabilities: 21<DWEN,BWEN>
cia0: using BWX for PCI config access
pci0 at cia0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
isp0 at pci0 dev 5 function 0: QLogic 1020 Fast Wide SCSI HBA
isp0: interrupting at dec_1000a irq 0
isp0: Board Type 1040B, Chip Revision 0x5, loaded F/W Revision 4.66.0
isp0: invalid NVRAM header
scsibus0 at isp0: 16 targets, 8 luns per target
pceb0 at pci0 dev 7 function 0: Intel 82375EB/SB PCI-EISA Bridge (rev. 0x15)
vga0 at pci0 dev 11 function 0: ATI Technologies Radeon 9200SE 5964 (rev. 0x01)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
direct rendering for vga0 unsupported
ATI Technologies Radeon 9200SE Secondary (miscellaneous display, revision 0x01) at pci0 dev 11 function 1 not configured
ppb0 at pci0 dev 12 function 0: HiNT HB1 PCI-PCI Bridge (rev. 0x15)
pci1 at ppb0 bus 2
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
ohci0 at pci1 dev 8 function 0: NEC USB Host Controller (rev. 0x41)
ohci0: interrupting at dec_1000a irq 3
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci1 dev 8 function 1: NEC USB Host Controller (rev. 0x41)
ohci1: interrupting at dec_1000a irq 4
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0 at pci1 dev 8 function 2: NEC USB Host Controller (rev. 0x02)
ehci0: interrupting at dec_1000a irq 19
ehci0: EHCI version 0.95
ehci0: companion controllers, 3 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 5 ports with 5 removable, self powered
fwohci0 at pci1 dev 12 function 0: Texas Instruments TSB43AA23 IEEE 1394 Host Controller (rev. 0x00)
fwohci0: interrupting at dec_1000a irq 3
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:50:42:b5:c0:0d:ed:da
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
tlp0 at pci0 dev 13 function 0: DECchip 21140A Ethernet, pass 2.0
tlp0: broken MicroWire interface detected; setting SROM size to 1Kb
tlp0: interrupting at dec_1000a irq 5
tlp0: Ethernet address 00:e0:29:08:6b:47
iophy0 at tlp0 phy 1: i82553 10/100 media interface, rev. 0
iophy0: 10baseT, 10baseT-FDX, 100baseT4
ifmedia_set: no match for 0x20/0xfffffff
ral0 at pci0 dev 14 function 0: Ralink Technologies RT2561S 802.11b/g (rev. 0x00)
ral0: interrupting at dec_1000a irq 7
ral0: 802.11 address 00:1a:4d:20:b1:67
ral0: MAC/BBP RT2561C, RF RT2527
ral0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ral0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
eisa0 at pceb0
eisa0: can't map I/O space for slot 9
isa0 at pceb0
lpt0 at isa0 port 0x3bc-0x3bf irq 7
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
attimer0 at isa0 port 0x40-0x43: AT Timer
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker (CPU-intensive output)
spkr0 at pcppi0
isabeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
mcclock0 at isa0 port 0x70-0x71: mc146818 compatible time-of-day clock
pcppi0: attached to attimer0
isapnp0: read port 0x203
sb0 at isapnp0 port 0x220/16,0x330/2,0x388/4 irq 5 drq 1,5
sb0: Creative SB AWE64 Gold Audio: dsp v4.16
audio0 at sb0: full duplex, mmap, independent
mpu at sb0 not configured
opl at sb0 not configured
isapnp0: <Creative SB AWE64 Gold, CTL7002, PNPB02F, Game> port 0x200/8 not configured
isapnp0: <Creative SB AWE64 Gold, CTL0023, , WaveTable> port 0x620/4 not configured
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
ieee1394if0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
ieee1394if0: bus manager 0 (me)
timecounter: Timecounter "clockinterrupt" frequency 1024 Hz quality 0
timecounter: Timecounter "PCC" frequency 400008016 Hz quality 1000
scsibus0: waiting 2 seconds for devices to settle...
rum0 at uhub2 port 2
rum0: Ralink 802.11 bg WLAN, rev 2.00/0.01, addr 2
rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528, address 00:1d:60:46:9f:a3
rum0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
rum0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
sd0 at scsibus0 target 0 lun 0: <COMPAQ, BF01863644, 3B05> disk fixed
sd0: 17365 MB, 7001 cyl, 20 head, 254 sec, 512 bytes/sect x 35565080 sectors
sd0: sync (50.00ns offset 8), 16-bit (40.000MB/s) transfers, tagged queueing
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
cd0 at scsibus0 target 4 lun 0: <TOSHIBA, DVD-ROM SD-M1711, 1005> cdrom removable
cd0: async, 8-bit transfers
Kernelized RAIDframe activated
root on sd0a dumps on sd0b
root file system type: ffs
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)
set{u,g}id pid 494 (gnome-pty-helper) was invoked by uid 1001 ppid 461 (Terminal) with fd 2 closed
set{u,g}id pid 498 (gnome-pty-helper) was invoked by uid 1001 ppid 162 (Terminal) with fd 2 closed
set{u,g}id pid 343 (gnome-pty-helper) was invoked by uid 1001 ppid 388 (Terminal) with fd 2 closed
set{u,g}id pid 342 (gnome-pty-helper) was invoked by uid 1001 ppid 96 (Terminal) with fd 2 closed
set{u,g}id pid 561 (gnome-pty-helper) was invoked by uid 1001 ppid 400 (Terminal) with fd 2 closed
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc1, gen=3, CYCLEMASTER mode
ieee1394if0: 2 nodes, maxhop <= 1, cable IRM = 1 (me)
ieee1394if0: bus manager 1 (me)
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc1, gen=4, CYCLEMASTER mode
ieee1394if0: 2 nodes, maxhop <= 1, cable IRM = 1 (me)
ieee1394if0: bus manager 1 (me)
ieee1394if0: New S400 device ID:00d04b5615046a60
sbp0 at ieee1394if0: SBP-2/SCSI over IEEE1394
scsibus1 at sbp0: 1 target, 0 luns per target
cd1 at scsibus1 target 0 lun 0: <IDE-DVD, DVDRW8651, JX25> cdrom removable