From I think 20060829 : "/sbin/ldconfig: Can't open configuration file /etc/ld.so.conf: No such file or directory" - On RPM updates but of course also when just running 'ldconfig', the file in fact doesn't exist. I'd love to tell you what version it is but that brings me to the second problem..
[root@localhost ~]# rpm -qf /sbin/ldconfig rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages index using db3 - (-30977) error: cannot open Packages database in /var/lib/rpm rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages database in /var/lib/rpm file /sbin/ldconfig is not owned by any package
And...
[root@localhost ~]# rpm -e wine-capi wine-cms wine-core wine-esd wine-jack wine-nas wine-tools wine-twain /sbin/ldconfig: Can't open configuration file /etc/ld.so.conf: No such file or directory /sbin/ldconfig: Can't open configuration file /etc/ld.so.conf: No such file or directory rpmdb: page 60: illegal page type or format rpmdb: PANIC: Invalid argument rpmdb: /var/lib/rpm/Providename: pgin failed for page 60 error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) setting "advapi32.dll.so" records from Providename index rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) setting "advpack.dll.so" records from Providename index rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) setting "amstream.dll.so" records from Providename index rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) setting "atl.dll.so" records from Providename index rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) setting "avicap32.dll.so" records from Providename index rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) setting "avifil32.dll.so" records from Providename index rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) setting "cabinet.dll.so" records from Providename index rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) setting "cards.dll.so" records from Providename index rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) setting "cfgmgr32.dll.so" records from Providename index rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) setting "clock.exe.so" records from Providename index rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) setting "comcat.dll.so" records from Providename index rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) setting "comctl32.dll.so" records from Providename index rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery
And lastly I have general errors from the kernel (2.6.17-1.2600.fc6xen) :
Bad pte = f807396a28d7dfda, process = ???, vm_flags = 70, vaddr = 38b5831000 Call Trace: [<ffffffff8020ca43>] vm_normal_page+0xae/0xc2 [<ffffffff80207951>] unmap_vmas+0x658/0xae6 [<ffffffff8023af8f>] exit_mmap+0x7d/0xf8 [<ffffffff8023d3dd>] mmput+0x41/0x96 [<ffffffff8021589b>] do_exit+0x29a/0x8b5 [<ffffffff8027a186>] lookup_pte_fn+0x0/0x5a [<ffffffff80265203>] do_page_fault+0xd8f/0x1203 [<ffffffff8025e513>] error_exit+0x0/0x6e Bad pte = fffff000fffff0, process = ???, vm_flags = 70, vaddr = 38b5832000 Call Trace: [<ffffffff8020ca43>] vm_normal_page+0xae/0xc2 [<ffffffff80207951>] unmap_vmas+0x658/0xae6 [<ffffffff8023af8f>] exit_mmap+0x7d/0xf8 [<ffffffff8023d3dd>] mmput+0x41/0x96 [<ffffffff8021589b>] do_exit+0x29a/0x8b5 [<ffffffff8027a186>] lookup_pte_fn+0x0/0x5a [<ffffffff80265203>] do_page_fault+0xd8f/0x1203 [<ffffffff8025e513>] error_exit+0x0/0x6e Bad pte = fffff000fffff0, process = ???, vm_flags = 70, vaddr = 38b5833000 Call Trace: [<ffffffff8020ca43>] vm_normal_page+0xae/0xc2 [<ffffffff80207951>] unmap_vmas+0x658/0xae6 [<ffffffff8023af8f>] exit_mmap+0x7d/0xf8 [<ffffffff8023d3dd>] mmput+0x41/0x96 [<ffffffff8021589b>] do_exit+0x29a/0x8b5 [<ffffffff8027a186>] lookup_pte_fn+0x0/0x5a [<ffffffff80265203>] do_page_fault+0xd8f/0x1203 [<ffffffff8025e513>] error_exit+0x0/0x6e Bad pte = fffff000fffff0, process = ???, vm_flags = 70, vaddr = 38b5834000
Also plenty of oppses . .
Aug 31 17:14:01 localhost kernel: Unable to handle kernel paging request at ffff8800011f8c18 RIP: Aug 31 17:14:01 localhost kernel: [<ffffffff8025100a>] __change_page_attr+0xa1e/0xa8e Aug 31 17:14:01 localhost kernel: PGD ff6067 PUD ff7067 PMD 1000067 PTE 11f8065 Aug 31 17:14:01 localhost kernel: Oops: 0003 [1] SMP Aug 31 17:14:01 localhost kernel: last sysfs file: /class/drm/card0/dev Aug 31 17:14:01 localhost kernel: CPU 1 Aug 31 17:14:01 localhost kernel: Modules linked in: i915 drm bridge netloop netbk blkbk autofs4 sunrpc ip_conntrack_ftp ip_conntrack_netbios_ns ipt_REJECT xt_state ip_conntrack nfnetlink xt_tcpudp iptable_filter ip_tables x_tables video sbs i2c_ec button battery asus_acpi ac ipv6 parport_pc lp parport snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_timer sg snd i2c_i801 i2c_core soundcore snd_page_alloc tg3 intel_rng pcspkr ide_cd cdrom serio_raw shpchp dm_snapshot dm_zero dm_mirror dm_mod ext3 jbd ata_piix libata sd_mod scsi_mod ehci_hcd ohci_hcd uhci_hcd Aug 31 17:14:01 localhost kernel: Pid: 1307, comm: Xorg Not tainted 2.6.17-1.2600.fc6xen #1 Aug 31 17:14:01 localhost kernel: RIP: e030:[<ffffffff8025100a>] [<ffffffff8025100a>] __change_page_attr+0xa1e/0xa8e Aug 31 17:14:01 localhost kernel: RSP: e02b:ffff880070a83b98 EFLAGS: 00010286 Aug 31 17:14:01 localhost kernel: RAX: 80000000706000e7 RBX: ffff88000137cff8 RCX: 0000000000000023 Aug 31 17:14:01 localhost kernel: RDX: ffff8800011f8c18 RSI: 000000000000137c RDI: 0000000000000067 Aug 31 17:14:01 localhost kernel: RBP: ffff8800707ff000 R08: ffff8800013f9320 R09: 0000000000000000 Aug 31 17:14:01 localhost kernel: R10: 8000000000000067 R11: 80000000000000e7 R12: 00000000707ff000 Aug 31 17:14:01 localhost kernel: R13: 0000000000000c18 R14: 0000000000000008 R15: ffffffff80201880 Aug 31 17:14:01 localhost kernel: FS: 00002aaaaad44ae0(0000) GS:ffffffff80650080(0000) knlGS:0000000000000000 Aug 31 17:14:01 localhost kernel: CS: e033 DS: 0000 ES: 0000 Aug 31 17:14:01 localhost kernel: Process Xorg (pid: 1307, threadinfo ffff880070a82000, task ffff8800724c6040) Aug 31 17:14:01 localhost kernel: Stack: 0000000000000000 ffffffff802629cc ffffffff804c5770 ffffffff802628ab Aug 31 17:14:01 localhost kernel: ffffffff804c5770 ffffffff802622ac 0000000000000000 ffff8800707ff000 Aug 31 17:14:01 localhost kernel: 00000000000707ff 00000000707ff000 Aug 31 17:14:01 localhost kernel: Call Trace: Aug 31 17:14:01 localhost kernel: [<ffffffff802629cc>] _spin_lock_irqsave+0x26/0x2b Aug 31 17:14:01 localhost kernel: [<ffffffff802628ab>] _spin_unlock_irq+0x9/0x32 Aug 31 17:14:01 localhost kernel: [<ffffffff802622ac>] __down_write_nested+0x34/0x96 Aug 31 17:14:01 localhost kernel: [<ffffffff8027b058>] change_page_attr_addr+0x7b/0x12c Aug 31 17:14:01 localhost kernel: [<ffffffff80388e4f>] agp_generic_destroy_page+0x4e/0x7a
Ok rebooted to 2.6.17-1.2600.fc6 x86_64 and the above RPM db problems have gone. So far no OOPS'ing either but I'll thrash her a bit and see what pops up.
Naoki wrote:
And...
[root@localhost ~]# rpm -e wine-capi wine-cms wine-core wine-esd wine-jack wine-nas wine-tools wine-twain /sbin/ldconfig: Can't open configuration file /etc/ld.so.conf: No such file or directory /sbin/ldconfig: Can't open configuration file /etc/ld.so.conf: No such file or directory rpmdb: page 60: illegal page type or format rpmdb: PANIC: Invalid argument rpmdb: /var/lib/rpm/Providename: pgin failed for page 60 error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) setting "advapi32.dll.so" records from Providename index rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) setting "advpack.dll.so" records from Providename index
Ok.
The ldconfig problem was simply that I had an /etc/ld.so.conf.rpmnew file, but no /etc/ld.so.conf file, don't ask me why.
The RPM problem, the kernel OOPS'ing, and the random app crashing all seem to be a function of using the xen kernel.
On Fri, 2006-09-01 at 09:37 +0900, Naoki wrote:
From I think 20060829 : "/sbin/ldconfig: Can't open configuration file /etc/ld.so.conf: No such file or directory" - On RPM updates but of course also when just running 'ldconfig', the file in fact doesn't exist. I'd love to tell you what version it is but that brings me to the second problem..
[root@localhost ~]# rpm -qf /sbin/ldconfig rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages index using db3 - (-30977) error: cannot open Packages database in /var/lib/rpm rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages database in /var/lib/rpm file /sbin/ldconfig is not owned by any package
And...
[root@localhost ~]# rpm -e wine-capi wine-cms wine-core wine-esd wine-jack wine-nas wine-tools wine-twain /sbin/ldconfig: Can't open configuration file /etc/ld.so.conf: No such file or directory /sbin/ldconfig: Can't open configuration file /etc/ld.so.conf: No such file or directory rpmdb: page 60: illegal page type or format rpmdb: PANIC: Invalid argument rpmdb: /var/lib/rpm/Providename: pgin failed for page 60 error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) setting "advapi32.dll.so" records from Providename index rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) setting "advpack.dll.so" records from Providename index rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) setting "amstream.dll.so" records from Providename index rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) setting "atl.dll.so" records from Providename index rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) setting "avicap32.dll.so" records from Providename index rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) setting "avifil32.dll.so" records from Providename index rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) setting "cabinet.dll.so" records from Providename index rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) setting "cards.dll.so" records from Providename index rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) setting "cfgmgr32.dll.so" records from Providename index rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) setting "clock.exe.so" records from Providename index rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) setting "comcat.dll.so" records from Providename index rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery error: error(-30977) setting "comctl32.dll.so" records from Providename index rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery
And lastly I have general errors from the kernel (2.6.17-1.2600.fc6xen) :
Bad pte = f807396a28d7dfda, process = ???, vm_flags = 70, vaddr = 38b5831000 Call Trace: [<ffffffff8020ca43>] vm_normal_page+0xae/0xc2 [<ffffffff80207951>] unmap_vmas+0x658/0xae6 [<ffffffff8023af8f>] exit_mmap+0x7d/0xf8 [<ffffffff8023d3dd>] mmput+0x41/0x96 [<ffffffff8021589b>] do_exit+0x29a/0x8b5 [<ffffffff8027a186>] lookup_pte_fn+0x0/0x5a [<ffffffff80265203>] do_page_fault+0xd8f/0x1203 [<ffffffff8025e513>] error_exit+0x0/0x6e Bad pte = fffff000fffff0, process = ???, vm_flags = 70, vaddr = 38b5832000 Call Trace: [<ffffffff8020ca43>] vm_normal_page+0xae/0xc2 [<ffffffff80207951>] unmap_vmas+0x658/0xae6 [<ffffffff8023af8f>] exit_mmap+0x7d/0xf8 [<ffffffff8023d3dd>] mmput+0x41/0x96 [<ffffffff8021589b>] do_exit+0x29a/0x8b5 [<ffffffff8027a186>] lookup_pte_fn+0x0/0x5a [<ffffffff80265203>] do_page_fault+0xd8f/0x1203 [<ffffffff8025e513>] error_exit+0x0/0x6e Bad pte = fffff000fffff0, process = ???, vm_flags = 70, vaddr = 38b5833000 Call Trace: [<ffffffff8020ca43>] vm_normal_page+0xae/0xc2 [<ffffffff80207951>] unmap_vmas+0x658/0xae6 [<ffffffff8023af8f>] exit_mmap+0x7d/0xf8 [<ffffffff8023d3dd>] mmput+0x41/0x96 [<ffffffff8021589b>] do_exit+0x29a/0x8b5 [<ffffffff8027a186>] lookup_pte_fn+0x0/0x5a [<ffffffff80265203>] do_page_fault+0xd8f/0x1203 [<ffffffff8025e513>] error_exit+0x0/0x6e Bad pte = fffff000fffff0, process = ???, vm_flags = 70, vaddr = 38b5834000
Also plenty of oppses . .
Aug 31 17:14:01 localhost kernel: Unable to handle kernel paging request at ffff8800011f8c18 RIP: Aug 31 17:14:01 localhost kernel: [<ffffffff8025100a>] __change_page_attr+0xa1e/0xa8e Aug 31 17:14:01 localhost kernel: PGD ff6067 PUD ff7067 PMD 1000067 PTE 11f8065 Aug 31 17:14:01 localhost kernel: Oops: 0003 [1] SMP Aug 31 17:14:01 localhost kernel: last sysfs file: /class/drm/card0/dev Aug 31 17:14:01 localhost kernel: CPU 1 Aug 31 17:14:01 localhost kernel: Modules linked in: i915 drm bridge netloop netbk blkbk autofs4 sunrpc ip_conntrack_ftp ip_conntrack_netbios_ns ipt_REJECT xt_state ip_conntrack nfnetlink xt_tcpudp iptable_filter ip_tables x_tables video sbs i2c_ec button battery asus_acpi ac ipv6 parport_pc lp parport snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_timer sg snd i2c_i801 i2c_core soundcore snd_page_alloc tg3 intel_rng pcspkr ide_cd cdrom serio_raw shpchp dm_snapshot dm_zero dm_mirror dm_mod ext3 jbd ata_piix libata sd_mod scsi_mod ehci_hcd ohci_hcd uhci_hcd Aug 31 17:14:01 localhost kernel: Pid: 1307, comm: Xorg Not tainted 2.6.17-1.2600.fc6xen #1 Aug 31 17:14:01 localhost kernel: RIP: e030:[<ffffffff8025100a>] [<ffffffff8025100a>] __change_page_attr+0xa1e/0xa8e Aug 31 17:14:01 localhost kernel: RSP: e02b:ffff880070a83b98 EFLAGS: 00010286 Aug 31 17:14:01 localhost kernel: RAX: 80000000706000e7 RBX: ffff88000137cff8 RCX: 0000000000000023 Aug 31 17:14:01 localhost kernel: RDX: ffff8800011f8c18 RSI: 000000000000137c RDI: 0000000000000067 Aug 31 17:14:01 localhost kernel: RBP: ffff8800707ff000 R08: ffff8800013f9320 R09: 0000000000000000 Aug 31 17:14:01 localhost kernel: R10: 8000000000000067 R11: 80000000000000e7 R12: 00000000707ff000 Aug 31 17:14:01 localhost kernel: R13: 0000000000000c18 R14: 0000000000000008 R15: ffffffff80201880 Aug 31 17:14:01 localhost kernel: FS: 00002aaaaad44ae0(0000) GS:ffffffff80650080(0000) knlGS:0000000000000000 Aug 31 17:14:01 localhost kernel: CS: e033 DS: 0000 ES: 0000 Aug 31 17:14:01 localhost kernel: Process Xorg (pid: 1307, threadinfo ffff880070a82000, task ffff8800724c6040) Aug 31 17:14:01 localhost kernel: Stack: 0000000000000000 ffffffff802629cc ffffffff804c5770 ffffffff802628ab Aug 31 17:14:01 localhost kernel: ffffffff804c5770 ffffffff802622ac 0000000000000000 ffff8800707ff000 Aug 31 17:14:01 localhost kernel: 00000000000707ff 00000000707ff000 Aug 31 17:14:01 localhost kernel: Call Trace: Aug 31 17:14:01 localhost kernel: [<ffffffff802629cc>] _spin_lock_irqsave+0x26/0x2b Aug 31 17:14:01 localhost kernel: [<ffffffff802628ab>] _spin_unlock_irq+0x9/0x32 Aug 31 17:14:01 localhost kernel: [<ffffffff802622ac>] __down_write_nested+0x34/0x96 Aug 31 17:14:01 localhost kernel: [<ffffffff8027b058>] change_page_attr_addr+0x7b/0x12c Aug 31 17:14:01 localhost kernel: [<ffffffff80388e4f>] agp_generic_destroy_page+0x4e/0x7a