HP-UX: 在HP-UX 10.20上安装Oracle 7.3.3版时挂起。
我使用运行HP-UX 10.20的9 。
|
000/K,我试图在上面安装Oracle 7.
|
3.3版,但安装挂起,我们找不到原因
|
问题是由于在PA8000系统上
|
使用VxFS Direct IO和SHMEM_MAGIC
|
时的死锁引起的。
|
| 使用下面的方法禁用superpage exec(): |
缺陷实际上在VxFS代码中。 检查UIOSEG_PAGEIN IO,然后有 exec_superpage_text(),从而
|
VX_DIRECT IO特性的设计只适用于用 可能在保持区域RW锁定的同时,调用 导致到达useracc()/pfault()/findp
|
户IO (UIOSEG_USER),问题在于VxFS不 vx_dio_iovec()/vx_memiolock()及 reg()/lock_write()时出现死锁:
|
| findpreg+0xb0 <<< 再次调用 reglock()!!! |
| vx_read1+0x2e4 <<< 调用 vx_dio_check() |
| vn_rdwr+0x8c <<< UIOSEG_PAGEIN |
| exec_superpage_text+0x168 <<< 调用 reglock() |
解决方法是将vx_dio_check()中的EINVAL返回 通道,从而避免死锁。
|
non-UIOSEG_USER段的IO,然后vx_read1()将返回标准IO
|
.........following with all English text
|
....
|
A4747242 [A4747242/TRAK/
|
English]
|
HP-UX: Installation of Oracle release 7.
|
3.3 hangs with HP-UX 10.20.
|
I have a 9000/K with HP- The installation hangs and w
|
UX 10.20 on which I am trying to e cannot find the cause.
|
install Oracle release 7.3.3.
|
The problem is caused by systems.
|
a deadlock when using VxFS Dire
|
ct IO and SHMEM_MAGIC on PA8000
|
Use this work-around to
|
disable superpage exec():
|
| The work-around should solve the problem. |
The defect is actually in the VxFS code. for user IOs only(UIOSEG_USER). The problem IOs. It is then possible to call vx_dio_iove
|
The VX_DIRECT IO feature is designed to work is that VxFS does not check for UIOSEG_PAGEIN c()/vx_memiolock() along the exec_superpage_text()
|
while holding the region RW lock, thus r
|
esulting in a deadlock when
|
reaching useracc()/pfaul
|
t()/findpreg()/lock_write():
|
| findpreg+0xb0 <<< calling reglock() again !!! |
| vx_read1+0x2e4 <<< called vx_dio_check() |
| vn_rdwr+0x8c <<< UIOSEG_PAGEIN |
| exec_superpage_text+0x168 <<< called reglock() |
The fix would be to retu segments. Then vx_read1() w
|
rn EINVAL in vx_dio_check() for ould fall-back to the
|
IOs with non-UIOSEG_USER
|
regular IO path and this would avoid the
|
deadlock.
|
SR 1653223669 has been o
|
pened for this problem.
|