13.1 is decaying rapidly!! help please...

The lock file was old. Deleted and still couldn’t run “zypper patch”

Tried
l

inux-hive:/var/lib/rpm # ps afxu | grep -i rpm
root     31624  0.0  0.0  10516   924 pts/0    S+   14:40   0:00  |               \_ grep --color=auto -i rpm

Then I tried the following. Note that after manually deleting .rpm.lock it reappears after running “rpm --rebuiliddb”



linux-hive:/var/lib/rpm # rpm --rebuilddb
linux-hive:/var/lib/rpm # ls -a
.  ..  alternatives  Basenames  Conflictname  Dirnames  Group  Installtid  Name  Obsoletename  Packages  Providename  Requirename  .rpm.lock  Sha1header  Sigmd5  Triggername
linux-hive:/var/lib/rpm # lsof /var/lib/rpm/.rpm.lock
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1001/gvfs
      Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /var/run/user/1001/gvfs
      Output information may be incomplete.

On 2014-10-03 00:06, cgarai wrote:

> Then I tried the following. Note that after manually deleting .rpm.lock
> it reappears after running “rpm --rebuiliddb”

Now, that’s very weird. It should disappear instantly after running rpm.

Wait. I do have that lock file! But it is dated 2012, and doesn’t impede
things at all. I don’t understand.

…]

Nope. I’m installing something with YaST, and the lock file appears
there. And it is not deleted when it finishes.

I’m confused.

Your problem must be caused by something else.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

Looking at the zypper log file, here is what is there after running
rpm --rebuilddb
zypper patch.

No idea what this means:


2014-10-01 15:33:41|install|rsyslog|7.4.7-2.16.1|x86_64||repo-update|0e99514e71519ba255bdb852ac1beef338025733d0d5c02f47b93b2ddbde7a27|
# 2014-10-01 22:42:58 lvm2-2.02.98-0.28.14.1.x86_64 remove failed
# rpm output:
# warning: waiting for transaction lock on /var/lib/rpm/.rpm.lock
# 
# 2014-10-02 14:13:29 lvm2-2.02.98-0.28.14.1.x86_64 remove failed
# rpm output:
# warning: waiting for transaction lock on /var/lib/rpm/.rpm.lock
# 
# Kernel image:   /boot/vmlinuz-3.11.10-21-desktop
# Initrd image:   /boot/initrd-3.11.10-21-desktop
# KMS drivers:     nouveau
# Root device:    /dev/system/root (mounted on / as ext4)
# Resume device:    /dev/system/swap
# Microcode: AMD CPU family: 0xf does not support microcode updates
# Kernel Modules:    thermal_sys thermal processor fan dm-mod dm-log dm-region-hash dm-mirror dm-snapshot scsi_dh scsi_dh_rdac scsi_dh_emc scsi_dh_hp_sw scsi_dh_alua button wmi video mxm-wmi i2c-algo-bit drm drm_kms_helper ttm nouveau pata_amd xhci-hcd hid-logitech-dj hid-holtek-kbd hid-lenovo-tpkbd hid-ortek hid-roccat hid-roccat-common hid-roccat-arvo hid-roccat-isku hid-samsung ohci-pci linear libcrc32c xor zlib_deflate raid6_pq btrfs crc32c-intel 
# Features:       acpi dm amd_microcode kms plymouth block usb lvm2 btrfs resume.userspace resume.kernel
# 
# Kernel image:   /boot/vmlinuz-3.11.10-7-desktop
# Initrd image:   /boot/initrd-3.11.10-7-desktop
# KMS drivers:     nouveau
# Root device:    /dev/system/root (mounted on / as ext4)
# Resume device:    /dev/system/swap
# Microcode: AMD CPU family: 0xf does not support microcode updates
# Kernel Modules:    thermal_sys thermal processor fan dm-mod dm-log dm-region-hash dm-mirror dm-snapshot scsi_dh scsi_dh_rdac scsi_dh_emc scsi_dh_hp_sw scsi_dh_alua button wmi video mxm-wmi i2c-algo-bit drm drm_kms_helper ttm nouveau pata_amd xhci-hcd hid-logitech-dj hid-holtek-kbd hid-lenovo-tpkbd hid-ortek hid-roccat hid-roccat-common hid-roccat-arvo hid-roccat-isku hid-samsung ohci-pci linear libcrc32c xor zlib_deflate raid6_pq btrfs crc32c-intel 
# Features:       acpi dm amd_microcode kms plymouth block usb lvm2 btrfs resume.userspace resume.kernel
# Perl-Bootloader: 2014-10-02 14:13:29 <3> pbl-2197.2 Core::RunCommand.1642: Error: Command '/usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg >/var/log/YaST2/y2log_bootloader 2>&1' failed with code 2 and output: Generating grub.cfg ...
# Found theme: /boot/grub2/themes/openSUSE/theme.txt
# Found linux image: /boot/vmlinuz-3.11.10-21-desktop
# Found initrd image: /boot/initrd-3.11.10-21-desktop
# Found linux image: /boot/vmlinuz-3.11.10-7-desktop
# Found initrd image: /boot/initrd-3.11.10-7-desktop
# Found memtest image: /boot/memtest.bin
# ERROR: asr: reading /dev/sdc[Input/output error]
# ERROR: ddf1: reading /dev/sdc[Input/output error]
# ERROR: ddf1: reading /dev/sdc[Input/output error]
# ERROR: hpt37x: reading /dev/sdc[Input/output error]
# ERROR: hpt45x: reading /dev/sdc[Input/output error]
# ERROR: isw: reading /dev/sdc[Input/output error]
# ERROR: jmicron: reading /dev/sdc[Input/output error]
# ERROR: lsi: reading /dev/sdc[Input/output error]
# ERROR: nvidia: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: sil: reading /dev/sdc[Input/output error]
# ERROR: via: reading /dev/sdc[Input/output error]
# ERROR: asr: reading /dev/sdc[Input/output error]
# ERROR: ddf1: reading /dev/sdc[Input/output error]
# ERROR: ddf1: reading /dev/sdc[Input/output error]
# ERROR: hpt37x: reading /dev/sdc[Input/output error]
# ERROR: hpt45x: reading /dev/sdc[Input/output error]
# ERROR: isw: reading /dev/sdc[Input/output error]
# ERROR: jmicron: reading /dev/sdc[Input/output error]
# ERROR: lsi: reading /dev/sdc[Input/output error]
# ERROR: nvidia: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: sil: reading /dev/sdc[Input/output error]
# ERROR: via: reading /dev/sdc[Input/output error]
# ERROR: asr: reading /dev/sdc[Input/output error]
# ERROR: ddf1: reading /dev/sdc[Input/output error]
# ERROR: ddf1: reading /dev/sdc[Input/output error]
# ERROR: hpt37x: reading /dev/sdc[Input/output error]
# ERROR: hpt45x: reading /dev/sdc[Input/output error]
# ERROR: isw: reading /dev/sdc[Input/output error]
# ERROR: jmicron: reading /dev/sdc[Input/output error]
# ERROR: lsi: reading /dev/sdc[Input/output error]
# ERROR: nvidia: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# ERROR: pdc: reading /dev/sdc[Input/output error]
# 
# (received signal)
# 
# Interrupted, cleaning up.
# warning: %postun(lvm2-2.02.98-0.28.14.1.x86_64) scriptlet failed, signal 2
# 
# 2014-10-02 14:27:37 lvm2-2.02.98-0.28.14.1.x86_64 remove failed
# rpm output:
# 
# Kernel image:   /boot/vmlinuz-3.11.10-21-desktop
# Initrd image:   /boot/initrd-3.11.10-21-desktop
# KMS drivers:     nouveau
# Root device:    /dev/system/root (mounted on / as ext4)
# Resume device:    /dev/system/swap
# Microcode: AMD CPU family: 0xf does not support microcode updates
# Kernel Modules:    thermal_sys thermal processor fan dm-mod dm-log dm-region-hash dm-mirror dm-snapshot scsi_dh scsi_dh_rdac scsi_dh_emc scsi_dh_hp_sw scsi_dh_alua button wmi video mxm-wmi i2c-algo-bit drm drm_kms_helper ttm nouveau pata_amd xhci-hcd hid-logitech-dj hid-holtek-kbd hid-lenovo-tpkbd hid-ortek hid-roccat hid-roccat-common hid-roccat-arvo hid-roccat-isku hid-samsung ohci-pci linear libcrc32c xor zlib_deflate raid6_pq btrfs crc32c-intel 
# Features:       acpi dm amd_microcode kms plymouth block usb lvm2 btrfs resume.userspace resume.kernel
# 
# Kernel image:   /boot/vmlinuz-3.11.10-7-desktop
# Initrd image:   /boot/initrd-3.11.10-7-desktop
# KMS drivers:     nouveau
# Root device:    /dev/system/root (mounted on / as ext4)
# Resume device:    /dev/system/swap
# Microcode: AMD CPU family: 0xf does not support microcode updates
# Kernel Modules:    thermal_sys thermal processor fan dm-mod dm-log dm-region-hash dm-mirror dm-snapshot scsi_dh scsi_dh_rdac scsi_dh_emc scsi_dh_hp_sw scsi_dh_alua button wmi video mxm-wmi i2c-algo-bit drm drm_kms_helper ttm nouveau pata_amd xhci-hcd hid-logitech-dj hid-holtek-kbd hid-lenovo-tpkbd hid-ortek hid-roccat hid-roccat-common hid-roccat-arvo hid-roccat-isku hid-samsung ohci-pci linear libcrc32c xor zlib_deflate raid6_pq btrfs crc32c-intel 
# Features:       acpi dm amd_microcode kms plymouth block usb lvm2 btrfs resume.userspace resume.kernel
# Perl-Bootloader: 2014-10-02 14:27:37 <3> pbl-3679.2 Core::RunCommand.1642: Error: Command '/usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg >/var/log/YaST2/y2log_bootloader 2>&1' failed with code 2 and output: Generating grub.cfg ...
# 
# (received signal)
# 
# Interrupted, cleaning up.
# warning: %postun(lvm2-2.02.98-0.28.14.1.x86_64) scriptlet failed, signal 2
# 
2014-10-02 14:27:44|remove |lvm2|2.02.98-0.28.14.1|x86_64||

On 2014-10-03 08:06, cgarai wrote:
>
> Looking at the zypper log file, here is what is there after running
> rpm --rebuilddb
> zypper patch.
>
> No idea what this means:
>
>
> Code:
> --------------------
>
> 2014-10-01 15:33:41|install|rsyslog|7.4.7-2.16.1|x86_64||repo-update|0e99514e71519ba255bdb852ac1beef338025733d0d5c02f47b93b2ddbde7a27|
> # 2014-10-01 22:42:58 lvm2-2.02.98-0.28.14.1.x86_64 remove failed
> # rpm output:
> # warning: waiting for transaction lock on /var/lib/rpm/.rpm.lock
> #
> # 2014-10-02 14:13:29 lvm2-2.02.98-0.28.14.1.x86_64 remove failed
> # rpm output:
> # warning: waiting for transaction lock on /var/lib/rpm/.rpm.lock
> #
> # Kernel image: /boot/vmlinuz-3.11.10-21-desktop
> # Initrd image: /boot/initrd-3.11.10-21-desktop
> # KMS drivers: nouveau

We can ignore the lock thing.

> # ERROR: asr: reading /dev/sdc[Input/output error]
> # ERROR: ddf1: reading /dev/sdc[Input/output error]
> # ERROR: ddf1: reading /dev/sdc[Input/output error]

Now, that’s your problem.

> --------------------

You have hard disk problem on “/dev/sdc”.

Start with “smartctl --health /dev/sdc”, then the short test, the long
one, then chkdsk on all partitions.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

I don’t have an sdc, only sda and sdb.

We can ignore the lock thing.

> # ERROR: asr: reading /dev/sdc[Input/output error]
> # ERROR: ddf1: reading /dev/sdc[Input/output error]
> # ERROR: ddf1: reading /dev/sdc[Input/output error]

Now, that’s your problem.

> --------------------

You have hard disk problem on “/dev/sdc”.

Start with “smartctl --health /dev/sdc”, then the short test, the long
one, then chkdsk on all partitions.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)[/QUOTE]

On 2014-10-04 01:16, cgarai wrote:
>
> I don’t have an sdc, only sda and sdb.

Something in your system says you have, or had.

Ok, please run these commands in a terminal:


su -
lsblk --output NAME,KNAME,RM,SIZE,RO,TYPE,FSTYPE,LABEL,PARTLABEL,MOUNTPOINT,UUID,PARTUUID,MODEL,ALIGNMENT
fdisk -l
ls -l /dev/sd?

and paste it all here, in code tags.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

Thanksssssss so much for the help! Really appreciated!


linux-hive:/home/chris # lsblk --output NAME,KNAME,RM,SIZE,RO,TYPE,FSTYPE,LABEL,PARTLABEL,MOUNTPOINT,UUID,PARTUUID,MODEL,ALIGNMENT
NAME        KNAME RM   SIZE RO TYPE FSTYPE      LABEL    PARTLABEL MOUNTPOINT                                                UUID                                   PARTUUID MODEL            ALIGNMENT
sda         sda    0 149.1G  0 disk                                                                                                                                          WDC WD1600JB-00G         0
├─sda1      sda1   0  90.3G  0 part ntfs        Backups                                                                      2660ED1860ECF00B                                                         0
├─sda2      sda2   0   406M  0 part ext4                           /boot                                                     13a6b655-4066-4c42-9ace-e41ef359b313                                     0
└─sda3      sda3   0  58.3G  0 part LVM2_member                                                                              urH8PD-MlK1-0sX2-DDDl-hh1j-LgPP-RexgSG                                   0
  ├─system-home
            dm-0   0    25G  0 lvm  ext4                           /home                                                     094342ea-fbea-4c71-ae0d-5307b89f4956                                     0
  ├─system-root
            dm-1   0    20G  0 lvm  ext4                           /                                                         80e74d8a-ca13-4b29-bee8-a47b5f4c184d                                     0
  └─system-swap
            dm-2   0     2G  0 lvm  swap                           [SWAP]                                                    1853cdb8-76da-42cf-9dc3-9ba45df2a04a                                     0
sdb         sdb    0 186.3G  0 disk                                                                                                                                          WDC WD2000JS-00M         0
├─sdb1      sdb1   0  97.7G  0 part ntfs        Programs           /windows/C_Programs                                       B0C48337C482FEBA                                                         0
├─sdb2      sdb2   0     1K  0 part                                                                                                                                                                   0
├─sdb5      sdb5   0    88G  0 part ntfs        DATA               /windows/D_DATA                                           11AB766F2ADB5869                                                         0
└─sdb6      sdb6   0   724M  0 part ext4                           /var/run/media/chris/4a83efba-5074-4ec7-8d95-a263b1935a74 4a83efba-5074-4ec7-8d95-a263b1935a74                                     0
sr0         sr0    1  1024M  0 rom                                                                                                                                           DVDRW LH-18A1P           0
sr1         sr1    1  1024M  0 rom                                                                                                                                           CD-RW SOHR-5239V         0
linux-hive:/home/chris # fdisk -l

Disk /dev/sda: 160.0 GB, 160040803840 bytes, 312579695 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x0e438ef4

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63   189425663    94712800+   7  HPFS/NTFS/exFAT
/dev/sda2   *   189425664   190257151      415744   83  Linux
/dev/sda3       190257152   312578047    61160448   8e  Linux LVM

Disk /dev/mapper/system-home: 26.8 GB, 26843545600 bytes, 52428800 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/system-root: 21.5 GB, 21474836480 bytes, 41943040 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/system-swap: 2147 MB, 2147483648 bytes, 4194304 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sdb: 200.0 GB, 200049647616 bytes, 390721968 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0xa5b6a5b6

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          63   204796619   102398278+   7  HPFS/NTFS/exFAT
/dev/sdb2       204796620   390716864    92960122+   f  W95 Ext'd (LBA)
/dev/sdb5       204796683   389230591    92216954+   7  HPFS/NTFS/exFAT
/dev/sdb6       389232640   390715391      741376   83  Linux

linux-hive:/home/chris # ls -l /dev/sd?
brw-rw---- 1 root disk 8,  0 Oct  3 15:29 /dev/sda
brw-rw---- 1 root disk 8, 16 Oct  3 15:29 /dev/sdb
brw-rw---- 1 root disk 8, 32 Oct  3 15:29 /dev/sdc
brw-rw---- 1 root disk 8, 48 Oct  3 15:29 /dev/sdd
brw-rw---- 1 root disk 8, 64 Oct  3 15:29 /dev/sde
brw-rw---- 1 root disk 8, 80 Oct  3 15:29 /dev/sdf


Sorry, hit submit before checking


linux-hive:/home/chris # lsblk --output  NAME,KNAME,RM,SIZE,RO,TYPE,FSTYPE,LABEL,PARTLABEL,MOUNTPOINT,UUID,PARTUUID,MODEL,ALIGNMENT
NAME        KNAME RM   SIZE RO TYPE FSTYPE      LABEL    PARTLABEL  MOUNTPOINT                                                UUID                                    PARTUUID MODEL            ALIGNMENT
sda         sda    0 149.1G  0 disk                                                                                                                                            WDC WD1600JB-00G         0
├─sda1      sda1   0  90.3G  0 part ntfs        Backups                                                                       2660ED1860ECF00B                                                          0
├─sda2      sda2   0   406M  0 part ext4                           /boot                                                       13a6b655-4066-4c42-9ace-e41ef359b313                                      0
└─sda3      sda3   0  58.3G  0 part LVM2_member                                                                                urH8PD-MlK1-0sX2-DDDl-hh1j-LgPP-RexgSG                                    0
  ├─system-home
            dm-0   0    25G  0 lvm  ext4                           /home                                                       094342ea-fbea-4c71-ae0d-5307b89f4956                                      0
  ├─system-root
            dm-1   0    20G  0 lvm  ext4                           /                                                           80e74d8a-ca13-4b29-bee8-a47b5f4c184d                                      0
  └─system-swap
            dm-2   0     2G  0 lvm  swap                            [SWAP]                                                     1853cdb8-76da-42cf-9dc3-9ba45df2a04a                                      0
sdb         sdb    0 186.3G  0 disk                                                                                                                                            WDC WD2000JS-00M         0
├─sdb1      sdb1   0  97.7G  0 part ntfs        Programs            /windows/C_Programs                                        B0C48337C482FEBA                                                          0
├─sdb2      sdb2   0     1K  0 part                                                                                                                                                                     0
├─sdb5      sdb5   0    88G  0 part ntfs        DATA                /windows/D_DATA                                            11AB766F2ADB5869                                                          0
└─sdb6      sdb6   0   724M  0 part ext4                            /var/run/media/chris/4a83efba-5074-4ec7-8d95-a263b1935a74  4a83efba-5074-4ec7-8d95-a263b1935a74                                      0
sr0         sr0    1  1024M  0 rom                                                                                                                                             DVDRW LH-18A1P           0
sr1         sr1    1  1024M  0 rom                                                                                                                                             CD-RW SOHR-5239V         0
linux-hive:/home/chris # fdisk -l

Disk /dev/sda: 160.0 GB, 160040803840 bytes, 312579695 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x0e438ef4

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63   189425663    94712800+   7  HPFS/NTFS/exFAT
/dev/sda2   *   189425664   190257151      415744   83  Linux
/dev/sda3       190257152   312578047    61160448   8e  Linux LVM

Disk /dev/mapper/system-home: 26.8 GB, 26843545600 bytes, 52428800 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/system-root: 21.5 GB, 21474836480 bytes, 41943040 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/system-swap: 2147 MB, 2147483648 bytes, 4194304 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sdb: 200.0 GB, 200049647616 bytes, 390721968 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0xa5b6a5b6

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          63   204796619   102398278+   7  HPFS/NTFS/exFAT
/dev/sdb2       204796620   390716864    92960122+   f  W95 Ext'd (LBA)
/dev/sdb5       204796683   389230591    92216954+   7  HPFS/NTFS/exFAT
/dev/sdb6       389232640   390715391      741376   83  Linux

linux-hive:/home/chris # ls -l /dev/sd?
brw-rw---- 1 root disk 8,  0 Oct  3 15:29 /dev/sda
brw-rw---- 1 root disk 8, 16 Oct  3 15:29 /dev/sdb
brw-rw---- 1 root disk 8, 32 Oct  3 15:29 /dev/sdc
brw-rw---- 1 root disk 8, 48 Oct  3 15:29 /dev/sdd
brw-rw---- 1 root disk 8, 64 Oct  3 15:29 /dev/sde
brw-rw---- 1 root disk 8, 80 Oct  3 15:29 /dev/sdf


Thanks again,
Chris

On Fri, 03 Oct 2014 23:16:02 GMT, cgarai
<cgarai@no-mx.forums.opensuse.org> wrote:

>
>I don’t have an sdc, only sda and sdb.
>
Your system clearly thinks otherwise. Check /etc/fstab while you are at
it.
Your system may be looking for a thumb drive that it once saw.
>
>We can ignore the lock thing.
>
>> # ERROR: asr: reading /dev/sdc[Input/output error]
>> # ERROR: ddf1: reading /dev/sdc[Input/output error]
>> # ERROR: ddf1: reading /dev/sdc[Input/output error]
>
>Now, that’s your problem.
>
>> --------------------
>
>You have hard disk problem on “/dev/sdc”.
>
>Start with “smartctl --health /dev/sdc”, then the short test, the long
>one, then chkdsk on all partitions.
>

In my system sdc, sdd, sde and sdf are created for a multi-card reader.
You do also have one? Something wrong with it? Or still something mounted there (or trying to, josephkk’s suggestion)?

Check your fstab (as suggested) and maybe also

mount | grep sdc

On 2014-10-04 07:56, cgarai wrote:
>
> Sorry, hit submit before checking



>   linux-hive:/home/chris # lsblk --output  NAME,KNAME,RM,SIZE,RO,TYPE,FSTYPE,LABEL,PARTLABEL,MOUNTPOINT,UUID,PARTUUID,MODEL,ALIGNMENT
>   NAME        KNAME RM   SIZE RO TYPE FSTYPE      LABEL    PARTLABEL  MOUNTPOINT                                                UUID                                    PARTUUID MODEL            ALIGNMENT
>   sda         sda    0 149.1G  0 disk                                                                                                                                            WDC WD1600JB-00G         0
>   ├─sda1      sda1   0  90.3G  0 part ntfs        Backups                                                                       2660ED1860ECF00B                                                          0
>   ├─sda2      sda2   0   406M  0 part ext4                           /boot                                                       13a6b655-4066-4c42-9ace-e41ef359b313                                      0
>   └─sda3      sda3   0  58.3G  0 part LVM2_member                                                                                urH8PD-MlK1-0sX2-DDDl-hh1j-LgPP-RexgSG                                    0
>   ├─system-home
>   dm-0   0    25G  0 lvm  ext4                           /home                                                       094342ea-fbea-4c71-ae0d-5307b89f4956                                      0
>   ├─system-root
>   dm-1   0    20G  0 lvm  ext4                           /                                                           80e74d8a-ca13-4b29-bee8-a47b5f4c184d                                      0
>   └─system-swap
>   dm-2   0     2G  0 lvm  swap                            [SWAP]                                                     1853cdb8-76da-42cf-9dc3-9ba45df2a04a                                      0
>   sdb         sdb    0 186.3G  0 disk                                                                                                                                            WDC WD2000JS-00M         0
>   ├─sdb1      sdb1   0  97.7G  0 part ntfs        Programs            /windows/C_Programs                                        B0C48337C482FEBA                                                          0
>   ├─sdb2      sdb2   0     1K  0 part                                                                                                                                                                     0
>   ├─sdb5      sdb5   0    88G  0 part ntfs        DATA                /windows/D_DATA                                            11AB766F2ADB5869                                                          0
>   └─sdb6      sdb6   0   724M  0 part ext4                            /var/run/media/chris/4a83efba-5074-4ec7-8d95-a263b1935a74  4a83efba-5074-4ec7-8d95-a263b1935a74                                      0
>   sr0         sr0    1  1024M  0 rom                                                                                                                                             DVDRW LH-18A1P           0
>   sr1         sr1    1  1024M  0 rom                                                                                                                                             CD-RW SOHR-5239V         0

Well, there is currently nothing labeled “sdc”, but…


>   linux-hive:/home/chris # ls -l /dev/sd?
>   brw-rw---- 1 root disk 8,  0 Oct  3 15:29 /dev/sda
>   brw-rw---- 1 root disk 8, 16 Oct  3 15:29 /dev/sdb
>   brw-rw---- 1 root disk 8, 32 Oct  3 15:29 /dev/sdc
>   brw-rw---- 1 root disk 8, 48 Oct  3 15:29 /dev/sdd
>   brw-rw---- 1 root disk 8, 64 Oct  3 15:29 /dev/sde
>   brw-rw---- 1 root disk 8, 80 Oct  3 15:29 /dev/sdf

… there was.

Still, there also were sdd, sde, sdf, and these do not cause zypper to barf.

Maybe a reference in the repo list :-?

Have a look on the files at “/etc/zypp/repos.d/”, see if anyone makes a reference that could point to “sdc”.

The error we are looking at is:


# ERROR: asr: reading /dev/sdc[Input/output error]
# ERROR: ddf1: reading /dev/sdc[Input/output error]
# ERROR: ddf1: reading /dev/sdc[Input/output error]

Now, what is asr or ddf1, I don’t know/remember :-?

Wait!


# Perl-Bootloader: 2014-10-02 14:13:29 <3> pbl-2197.2 Core::RunCommand.1642: Error: Command '/usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg >/var/log/YaST2/y2log_bootloader 2>&1' failed with code 2 and output: Generating grub.cfg ...
# Found theme: /boot/grub2/themes/openSUSE/theme.txt
# Found linux image: /boot/vmlinuz-3.11.10-21-desktop
# Found initrd image: /boot/initrd-3.11.10-21-desktop
# Found linux image: /boot/vmlinuz-3.11.10-7-desktop
# Found initrd image: /boot/initrd-3.11.10-7-desktop
# Found memtest image: /boot/memtest.bin
# ERROR: asr: reading /dev/sdc[Input/output error]
# ERROR: ddf1: reading /dev/sdc[Input/output error]
# ERROR: ddf1: reading /dev/sdc[Input/output error]
.....

It is grub2 which is accessing sdc. Rather, Perl-Bootloader calling grub2-mkconfig.
Have a good look at it.

A grub2 expert can take over here now, please? :wink:


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

It seems my system is working now. Not quite sure what fixed it, but here is the short story:

Booted to GParted and it told me that one of the NTFS drives needed a chkdsk

I booted to a windows XP disk in recovery mode and ran chkdsk on the two NTFS partitions.

Then I rebooted the machine TWICE (read that was required somewhere in GParted) .

Then I ran boot-repair-disk. This gave me some weird messages that implied that it didn’t fully make it through the process.

MAGICALLY WinXP reappeared on the GRUB boot list!!

Booting back into OpenSUSE my DNS lookup was not working! I ran “netconfig update -f”

DNS was restored!

“zypper update” made it through.

“zypperr patch” made it as well. This was the one that was hanging in the past.

Anything else I should check??

One of the problems with the sdc stuff may have been an external drive hanging on a USB port. Running “mount | grub sdc” found nothing and nothing was in “fstab”

Thank you so much for all the time you all have spent helping me out!!

Chris

Well I spoke too soon. Networking is down completely, including just pinging my router. I’ll start a new thread.

Thanks,

Chris