Re: [CentOS] More oddities...

2018-05-02 Thread m . roth
From: Marcelo Ricardo Leitner 
On Tue, May 01, 2018 at 03:28:29PM -0400, m.r...@5-cent.us wrote:
>> My manager's workstation is C 7.4, and it started screaming yesterday
>> about issues with ata5.
>
>> Except that he has one internal and one external drive, and a DVD. Anyone
>> have clues as to what could be causing this, or where to start looking?

> ata'5' is about the port it is connected and not related to the count
> of devices in there.

> You should be able to match it with:
> ls -l /sys/class/block | grep ata5
> There sould be a symlink like:
> lrwxrwxrwx.  1 root root 0 abr 29 19:23 sda ->
> ../../devices/pci:00/:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda

> Or by going through boot dmesg.

Good thought... but no joy. I see links with sda, sda1, sdb, sdb1 and
sdb2, and four for dm-[0-3], and nothing else. Looking in that symlink, I
see
ll /sys/devices/pci\:00/\:00\:1f.2/ata5/
total 0
drwxr-xr-x.  6 root root0 May  2 10:12 ./
drwxr-xr-x. 10 root root0 May  2 10:11 ../
drwxr-xr-x.  3 root root0 May  2 10:14 ata_port/
drwxr-xr-x.  4 root root0 May  2 10:14 host4/
drwxr-xr-x.  5 root root0 May  2 10:14 link5/
drwxr-xr-x.  2 root root0 May  2 10:14 power/
-rw-r--r--.  1 root root 4096 May  2 10:14 uevent
$ ll /sys/devices/pci\:00/\:00\:1f.2/ata5/host4/
total 0
drwxr-xr-x. 4 root root0 May  2 10:14 ./
drwxr-xr-x. 6 root root0 May  2 10:12 ../
drwxr-xr-x. 2 root root0 May  2 10:15 power/
drwxr-xr-x. 3 root root0 May  2 10:15 scsi_host/
lrwxrwxrwx. 1 root root0 May  1 17:59 subsystem ->
../../../../../bus/scsi/
-rw-r--r--. 1 root root 4096 May  2 10:15 uevent

Finally, I did
ll /sys/devices/pci\:00/\:00\:1f.2/ata5/host4/scsi_host/host4/
total 0
drwxr-xr-x. 3 root root0 May  2 10:15 ./
drwxr-xr-x. 3 root root0 May  2 10:15 ../
-rw-r--r--. 1 root root 4096 May  2 10:15 active_mode
-r--r--r--. 1 root root 4096 May  2 10:15 ahci_host_cap2
-r--r--r--. 1 root root 4096 May  2 10:15 ahci_host_caps
-r--r--r--. 1 root root 4096 May  2 10:15 ahci_host_version
-r--r--r--. 1 root root 4096 May  2 10:15 ahci_port_cmd
-r--r--r--. 1 root root 4096 May  2 10:15 can_queue
-r--r--r--. 1 root root 4096 May  2 10:15 cmd_per_lun
lrwxrwxrwx. 1 root root0 May  2 10:15 device -> ../../../host4/
-rw-r--r--. 1 root root 4096 May  2 10:15 eh_deadline
-rw-r--r--. 1 root root 4096 May  2 10:15 em_buffer
-rw-r--r--. 1 root root 4096 May  2 10:15 em_message
-r--r--r--. 1 root root 4096 May  2 10:15 em_message_supported
-r--r--r--. 1 root root 4096 May  2 10:15 em_message_type
-r--r--r--. 1 root root 4096 May  2 10:15 host_busy
--w---. 1 root root 4096 May  2 10:15 host_reset
-rw-r--r--. 1 root root 4096 May  1 18:00 link_power_management_policy
drwxr-xr-x. 2 root root0 May  2 10:15 power/
-r--r--r--. 1 root root 4096 May  2 10:15 proc_name
-r--r--r--. 1 root root 4096 May  2 10:15 prot_capabilities
-r--r--r--. 1 root root 4096 May  2 10:15 prot_guard_type
--w---. 1 root root 4096 May  2 10:15 scan
-r--r--r--. 1 root root 4096 May  2 10:15 sg_prot_tablesize
-r--r--r--. 1 root root 4096 May  2 10:15 sg_tablesize
-rw-r--r--. 1 root root 4096 May  2 10:15 state
lrwxrwxrwx. 1 root root0 May  1 18:00 subsystem ->
../../../../../../../class/scsi_host/
-rw-r--r--. 1 root root 4096 May  2 10:15 supported_mode
-rw-r--r--. 1 root root 4096 May  2 10:15 uevent
-r--r--r--. 1 root root 4096 May  2 10:15 unchecked_isa_dma
-r--r--r--. 1 root root 4096 May  2 10:15 unique_id
-r--r--r--. 1 root root 4096 May  2 10:15 use_blk_mq

And nothing else.  Note that the it's running 3.10.0-862.el7.x86_64.

Seems to have given up, for at least now, but could start flooding the
logs again

mark

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] More oddities...

2018-05-01 Thread Marcelo Ricardo Leitner
On Tue, May 01, 2018 at 03:28:29PM -0400, m.r...@5-cent.us wrote:
> My manager's workstation is C 7.4, and it started screaming yesterday
> about issues with ata5.
>
> Except that he has one internal and one external drive, and a DVD. Anyone
> have clues as to what could be causing this, or where to start looking?

ata'5' is about the port it is connected and not related to the count
of devices in there.

You should be able to match it with:
ls -l /sys/class/block | grep ata5
There sould be a symlink like:
lrwxrwxrwx.  1 root root 0 abr 29 19:23 sda ->
../../devices/pci:00/:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda
   ^^^

Or by going through boot dmesg.

  Marcelo

>
> He's rebooted it, and before that, I tried rescan-scsi-bus.sh, with no joy.
>
> mark
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] More oddities...

2018-05-01 Thread m . roth
My manager's workstation is C 7.4, and it started screaming yesterday
about issues with ata5.

Except that he has one internal and one external drive, and a DVD. Anyone
have clues as to what could be causing this, or where to start looking?

He's rebooted it, and before that, I tried rescan-scsi-bus.sh, with no joy.

mark

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] More oddities with priorities

2010-02-15 Thread Stephen Harris
Following on from my previous, I removed the perl-Date-Manip and re-installed
the Centos base perl-DateManip package.

When I do a "check-update" then it shows nothing needs to be done, but
if I do an "update" then it tries to replace the package!

In the following, c5-local, update-local, rpmforge are local rsync'd
copies of the base, updates and rpmforge repositories.  This shouldn't make
any difference, though.

$ yum clean all
Loaded plugins: priorities
Cleaning up Everything
$ yum -d2 check-update
Loaded plugins: priorities
c5-local | 2.1 kB 00:00
c5-local/primary_db  | 1.6 MB 00:00
extras-local | 1.1 kB 00:00
extras-local/primary | 107 kB 00:00
extras-local325/325
rpmforge | 1.1 kB 00:00
rpmforge/primary | 3.6 MB 00:00
rpmforge10065/10065
update-local | 1.9 kB 00:00
update-local/primary_db  | 510 kB 00:00
476 packages excluded due to repository priority protections
$ yum update
Loaded plugins: priorities
476 packages excluded due to repository priority protections
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package perl-Date-Manip.noarch 0:5.54-2.el5.rf set to be updated
--> Finished Dependency Resolution

Dependencies Resolved


 Package   Arch VersionRepository  Size

Installing:
 perl-Date-Manip   noarch   5.54-2.el5.rf  rpmforge   210 k
 replacing  perl-DateManip.noarch 5.44-1.2.1


Transaction Summary

Install  1 Package(s)
Update   0 Package(s)
Remove   0 Package(s)

Total download size: 210 k
Is this ok [y/N]: n
Exiting on user Command
Complete!
$


-- 

rgds
Stephen
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos