Help interpreting dmesg output

Help interpreting dmesg output

Post by Andy A » Thu, 24 Jul 1997 04:00:00



I recently installed a SCSI disk drive with SCSI ID=5
and device name /dev/rdsk/c201d5s0 under HPUX 9.05.
I saw the following message from dmesg, but wasn't sure if it
was telling me there was a problem with my drive or something else.
Can anyone interpret this for me?

% dmesg
...

SCSI:   dev: 7201200
        cdb: 28 00 00 00 00 04 00 00 01 00
        opcode: (28) Read (10)
        status: (02) Check Condition
        request sense status: (00) Good
        sense data: f0 00 03 00 00 00 04 0a 00 00 00 00 15 00 00 00
                    00 00
        error code: (70) Current Error
        sense key: (03) Medium Error
        additional sense code: (15)
        additional sense code qualifier: (00)
                Random Positioning Error
        info (lba): 4

Thanks,
Andy

--
                                     _o_  

                                     \>> /  
                                      \\

 
 
 

Help interpreting dmesg output

Post by Andy Wall » Sat, 26 Jul 1997 04:00:00



> I recently installed a SCSI disk drive with SCSI ID=5
> and device name /dev/rdsk/c201d5s0 under HPUX 9.05.
> I saw the following message from dmesg, but wasn't sure if it
> was telling me there was a problem with my drive or something else.
> Can anyone interpret this for me?

> % dmesg
> ...

Well, here's what I can tell you:

Quote:> SCSI:   dev: 7201200

HP driver device node information

Quote:>         cdb: 28 00 00 00 00 04 00 00 01 00

SCSI Command:
            0: 28       -> Group 1 (10 byte) Read Command
            1: 00       -> Logical unit number (LUN) 0 & flags
          2-5: 00000004 -> Logical Block Address (LBA)
            6: 00       -> Reserved
          7-8: 0001     -> Transfer length in blocks
            9: 00       -> Control Flags

Quote:>         opcode: (28) Read (10)

The SCSI controller issued a Group 1 Read command

Quote:>         status: (02) Check Condition

The disk returned a check condition (error) status.
A Group 1 Read only returns Check Condition on the following
errors:

Illegal Request (Bad Logical Block Address)
Unit Attention (Removeable media has changed)
Medium Error (Unrecoverable read error)
Recovered Error
Aborted Command (Error that may be resolved by repeating command)

Quote:>         request sense status: (00) Good

The SCSI controller succesfully requested and received Sense Data
(error information) from the drive

Quote:>         sense data: f0 00 03 00 00 00 04 0a 00 00 00 00 15 00 00 00
>                     00 00

       0: f0      -> Valid error, Class 7 (extended) sense data,
                     error code 0
       1: 00      -> Segment number (meaningless for Read commands)
       2: 03      -> Sense key 3 (Medium Error)
     3-6: 00000004-> LBA of failed read
       7: 0a      -> Length of extended sense data in bytes
       c: 15      -> Additional Sense Code 15 - Positioning Error
       d: 00      -> ASC Qualifier 00 - Random Positioning Error
                     (vs 01 - Mechanical Positioning error
                      or 02 - Position Error detected by read of media)

Quote:>         error code: (70) Current Error
>         sense key: (03) Medium Error
>         additional sense code: (15)
>         additional sense code qualifier: (00)
>                 Random Positioning Error
>         info (lba): 4

Reiteration of the above

In summary, your disk tried to position to a particular block,
gave up when it couldn't and told the SCSI driver about it.
The SCSI driver recorded the error and moved on.

If the error occurrs infrequently, don't worry too much about it.
If you have a disk utiliy, you may want to read exercise the disk
at LBA 4.
If the error occurrs regularly, suspect a failing SCSI drive.

Quote:> Thanks,
> Andy

No Problem,
Andy



 
 
 

1. Questions on dmesg output

Hi, Can anyone advise me on the following?

1) What is meant by lockable memory?

2) What is available memory?

3) This machine that I perform a "dmesg" has 3GB of RAM. But the following
does not display the true physical memory space. How can I view the actual
memory installed on a machine?

Memory Information:
    physical page size = 4096 bytes, logical page size = 4096 bytes
    Physical: 2097152 Kbytes, lockable: 1573108 Kbytes, available: 1806364
Kbytes

Many Thanks!

2. I'm looking for a programmer

3. dmesg output

4. Shared borders

5. SCSI message in output /etc/dmesg

6. Audio over 74 min. .....HOW??

7. Help needed interpreting memory usage

8. help with netstat output information

9. help with top output

10. Help with lpstat output queue problems?

11. Help: E50 console no output

12. dmesg gives Can't get kernel namelist at 11.0