Bug 234661 - SAS tape drive does not show up in the test plan.
SAS tape drive does not show up in the test plan.
Product: Red Hat Hardware Certification Program
Classification: Red Hat
Component: Test Suite (tests) (Show other bugs)
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: YangKun
Depends On:
  Show dependency treegraph
Reported: 2007-03-30 16:54 EDT by Keith Orsak
Modified: 2008-07-16 17:57 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-04-28 04:01:54 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
dmesg (38.12 KB, application/octet-stream)
2007-04-25 02:45 EDT, YangKun
no flags Details
hal.log (103.60 KB, text/plain)
2007-04-25 02:48 EDT, YangKun
no flags Details
hwconf (12.98 KB, application/octet-stream)
2007-04-25 02:48 EDT, YangKun
no flags Details
plan.xml (1.44 KB, text/xml)
2007-04-25 02:49 EDT, YangKun
no flags Details
sysreport (578.64 KB, application/x-bzip2)
2007-04-26 02:58 EDT, YangKun
no flags Details
proc-tree.log (245.68 KB, text/plain)
2007-04-26 03:01 EDT, YangKun
no flags Details
sys-tree.log (141.52 KB, text/plain)
2007-04-26 03:01 EDT, YangKun
no flags Details

  None (edit)
Description Keith Orsak 2007-03-30 16:54:35 EDT
Description of problem:
After setting up a test plan for hts the SAS tape drive does not show up in 
the test plan.

Version-Release number of selected component (if applicable): R32

How reproducible:
Every time.

Steps to Reproduce:
1. Install HTS.
2. Power down server.
3. Plug in a SAS tape drive into the server ( I used a HP Ultrium LTO 448 SAS )
4. Turn on the tape drive and insert a tape.
5. Turn the server back on and boot to RHEL 5.
6. Open up a terminal and type:
->hts server start
->hts plan
->hts print --report plan
Actual results:
The tape drive did not show up in the list of devices to test in the test plan.

Expected results:
I expected the tape drive to show up.

Additional info:
I was testing on a DL380 G5 server with RHEL 5 X86_64 installed.  I also tried 
to use the "lshal | grep info.udi" command to find the udi but could not 
determine the correct udi.
Comment 1 YangKun 2007-04-09 09:57:04 EDT
please run "hal-device > hal.log", and attach the file "hal.log" here, please
also attach following three files here:
  1) "/etc/sysconfig/hwconf"
  2) "/var/log/dmesg"
  3) "/var/hts/plan.xml"

Comment 2 YangKun 2007-04-25 02:45:45 EDT
Created attachment 153397 [details]
Comment 3 YangKun 2007-04-25 02:48:04 EDT
Created attachment 153398 [details]
Comment 4 YangKun 2007-04-25 02:48:38 EDT
Created attachment 153399 [details]
Comment 5 YangKun 2007-04-25 02:49:17 EDT
Created attachment 153400 [details]
Comment 6 YangKun 2007-04-25 03:13:34 EDT
Hi Keith,

I checked the attached 4 files. Both kudzu and HAL can not find any TAPE device.
And I can not find it in dmesg neither. This is strange.

Could you please provide more info as following:
  1) make sure the SAS tape drive is well connected before the system boots;
  2) boot the system, after the system booted, run following commands as root:
      a) # echo ^M | sysreport
      b) # tree /proc/ > /root/proc-tree.log
      c) # tree /sys/ > /root/sys-tree.log
  3) attach three files: "/root/*.tar.bz2" and "/root/proc-tree.log" and
"/root/sys-tree.log" here.

Comment 7 YangKun 2007-04-26 02:58:26 EDT
Created attachment 153481 [details]
Comment 8 YangKun 2007-04-26 03:01:02 EDT
Created attachment 153482 [details]
Comment 9 YangKun 2007-04-26 03:01:38 EDT
Created attachment 153483 [details]
Comment 10 YangKun 2007-04-26 03:56:59 EDT
Hi Keith,

I didn't see any tape-related device driver been loaded into kernel.

Can you confirm if this SAS tape drive(HP Ultrium LTO 448 SAS) works well under
RHEL5 ?  Is there a proper device name for this tape drive under "/dev/"
directory ? If yes, could you manually run following command to verify if it works:
    #  mt -f /dev/DEVICE_NAME rewind

Comment 11 Keith Orsak 2007-04-27 17:18:14 EDT
The HBA I used to plug the tape drive into the server did not have a driver 
installed.  I used a Sputnik SAS card instead and it worked fine.

Comment 12 YangKun 2007-04-28 04:01:01 EDT
That's great. 

Closing this bug now.

Note You need to log in before you can comment on or make changes to this bug.