tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg_chk -uq hangs and can't be killed. (kern/42318)



Since a recent upgrade of netbsd-5, I'm having a weird problem with pkg_chk - it hangs and cannot be killed. Any processes that spawned it (like the shell, or pkg_comp) are also hung. It's so bad that I've had to cold-reboot to recover from this.

I filed a PR - kern/42318 about this, but this was not right (category perhaps should be "pkg"). The fact is, pkg_chk shows the same behaviour in the "normal" system, i.e. not inside of a pkg_comp chroot (I had previously thought that the chroot environment or mount_null or something else was to blame).

But the symptoms are all in the PR. And they are repeatable. The system otherwise works beautifully. As long as I don't run pkg_chk for any reason, it works fine.

To repeat: run netbsd-5 kernel and userland from Nov. 12 and then try to use "pkg_chk -uq".

System info is below - any help would be great. Thanks,

Louis




NetBSD xxx.xxx.xxx 5.0_STABLE NetBSD 5.0_STABLE (GENERIC) #9: Thu Nov 12 22:02:50 EST 2009 louis%xxx.xxx.xxx@localhost:/usr/obj/sys/arch/i386/compile/GENERIC i386

total memory = 2047 MB
avail memory = 2000 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
To Be Filled By O.E.M. To Be Filled By O.E.M. (To Be Filled By O.E.M.)
mainbus0 (root)
mainbus0: Intel MP Specification (Version 1.1) (TYAN     S2722-400   )
cpu0 at mainbus0 apid 0: Intel 686-class, 2399MHz, id 0xf24
cpu1 at mainbus0 apid 1: Intel 686-class, 2399MHz, id 0xf24
cpu2 at mainbus0 apid 6: Intel 686-class, 2399MHz, id 0xf24
cpu3 at mainbus0 apid 7: Intel 686-class, 2399MHz, id 0xf24
mpbios: bus 0 is type PCI
mpbios: bus 1 is type PCI
mpbios: bus 2 is type PCI
mpbios: bus 3 is type PCI
mpbios: bus 4 is type PCI
mpbios: bus 5 is type ISA
ioapic0 at mainbus0 apid 8: pa 0xfec00000, version 20, 24 pins
ioapic1 at mainbus0 apid 9: pa 0xfec80000, version 20, 24 pins
ioapic2 at mainbus0 apid 10: pa 0xfec80400, version 20, 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: vendor 0x8086 product 0x2540 (rev. 0x03)
ppb0 at pci0 dev 2 function 0: vendor 0x8086 product 0x2543 (rev. 0x03)
pci1 at ppb0 bus 2
pci1: i/o space, memory space enabled
vendor 0x8086 product 0x1461 (interrupt system, interface 0x20, revision 0x03) at pci1 dev 28 functi
on 0 not configured
ppb1 at pci1 dev 29 function 0: vendor 0x8086 product 0x1460 (rev. 0x03)
pci2 at ppb1 bus 4
pci2: i/o space, memory space enabled
wm0 at pci2 dev 1 function 0: Intel i82545EM 1000BASE-T Ethernet, rev. 1
wm0: interrupting at ioapic2 pin 0
wm0: 64-bit 100MHz PCIX bus
wm0: 64 word (6 address bits) MicroWire EEPROM
wm0: Ethernet address 00:e0:81:23:f8:37
makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto vendor 0x8086 product 0x1461 (interrupt system, interface 0x20, revision 0x03) at pci1 dev 30 functi
on 0 not configured
ppb2 at pci1 dev 31 function 0: vendor 0x8086 product 0x1460 (rev. 0x03)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled
3ware 9550SX series: (rev. 0x00)
twa0 at pci3 dev 3 function 0: 3ware Apache
twa0: interrupting at ioapic1 pin 0
twa0: AEN 0x0029: INFO: Background verify started: unit=0
twa0: AEN 0x003D: INFO: Background verify paused: unit=0
twa0: 4 ports, Firmware FE9X 3.04.01.011, BIOS BE9X 3.04.00.002
twa0: Monitor BL9X 3.02.00.001, PCB Rev 032 , Achip 1.70    , Pchip 1.60
twa0: port 0: ST31000340AS                             953869 MB
twa0: port 2: ST31000340AS                             953869 MB
twa0: AMCC    9550SX-4LP DISK 3.045QJ10FX6A477A2000086
ld0 at twa0 unit 0
ld0: 931 GB, 121575 cyl, 255 head, 63 sec, 512 bytes/sect x 1953103872 sectors
uhci0 at pci0 dev 29 function 0: vendor 0x8086 product 0x2482 (rev. 0x02)
uhci0: interrupting at ioapic0 pin 16
usb0 at uhci0: USB revision 1.0
ppb3 at pci0 dev 30 function 0: vendor 0x8086 product 0x244e (rev. 0x42)
pci4 at ppb3 bus 1
pci4: i/o space, memory space enabled
fxp0 at pci4 dev 1 function 0: i82550 Ethernet, rev 16
fxp0: interrupting at ioapic0 pin 17
fxp0: Ethernet address 00:e0:81:23:f8:36
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vga1 at pci4 dev 2 function 0: vendor 0x1002 product 0x4752 (rev. 0x27)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
drm at vga1 not configured
ahc1 at pci4 dev 3 function 0: Adaptec 2940 Ultra SCSI adapter
ahc1: interrupting at ioapic0 pin 18
ahc1: aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
scsibus0 at ahc1: 16 targets, 8 luns per target
ichlpcib0 at pci0 dev 31 function 0
ichlpcib0: vendor 0x8086 product 0x2480 (rev. 0x02)
timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
ichlpcib0: 24-bit timer
ichlpcib0: TCO (watchdog) timer configured.
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801CA IDE Controller (ICH3) (rev. 0x02)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14
atabus0 at piixide0 channel 0
piixide0: secondary channel configured to compatibility mode
piixide0: secondary channel interrupting at ioapic0 pin 15
atabus1 at piixide0 channel 1
ichsmb0 at pci0 dev 31 function 3: vendor 0x8086 product 0x2483 (rev. 0x02)
ichsmb0: interrupting at ioapic0 pin 17
iic0 at ichsmb0: I2C bus
isa0 at ichlpcib0
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
attimer0 at isa0 port 0x40-0x43: AT Timer
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker (CPU-intensive output)
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0-0xff
npx0: reported by CPUID; using exception 16
attimer0: attached to pcppi0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
scsibus0: waiting 2 seconds for devices to settle...
uhub0 at usb0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
st0 at scsibus0 target 1 lun 0: <IBM, ULT3580-TD2, 38D0> tape removable
st0: density code 66, variable blocks, write-enabled
st0: sync (50.00ns offset 8), 16-bit (40.000MB/s) transfers
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio0 at pad0: half duplex, playback, capture
boot device: ld0
root on ld0a dumps on ld0b
root file system type: ffs





Home | Main Index | Thread Index | Old Index