LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-15-2008, 11:54 AM   #1
<Ol>Origy
Member
 
Registered: Aug 2003
Location: Slovenia
Distribution: Arch, Debian, Embedded
Posts: 136

Rep: Reputation: 15
sdparm: REQUEST SENSE failed


Greetings.

Recently I purchased a My Book Studio 500 GB external HDD. It came pre-formatted with some Mac file system that I replaced with XFS. I wanted to use this HDD as a networked storage drive and I decided to have it plugged onto my 24/7 server. The HDD comes with 3 different ports to connect it to a PC - Firewire, USB and e-SATA. So I thought I'd buy a new fancy Firewire PCI card and plug it into an empty PCI slot. The PC I use for my server is an old Pentium 300MHz running Ubuntu Server 7.04. Everything fine and well. I power-on the PC, wait until it boots and connect the HDD via Firewire. The HDD powers on by itself.

Now at this point there is some shell output that gets printed twice:
[4406.125386] sda: assuming drive cache: write through

Anyway, by doing mount -t xfs /dev/sda1 /mnt/disk I can successfully mount and access the hard drive. Now here's the thing. After unmounting the drive I thought I'd give it a try to stop it with "sdparm". So I issue a command under root like "sdparm --command=stop /dev/sda" which, for some reason, fails. Using the command "sdparm -v /dev/sda" outputs the following lines:

/dev/sda: WD --- My Book --- 1018
Request sense cmd: 03 00 00 00 40 00
Request sense: Fixed format, current: Sense key: Illegal request
Additional sense: Invalid command operation code
REQUEST SENSE failed

The same gets printed when I add commands like --command=start, --command=stop, --command=sync. I haven't tried other commands. So I'd like to know how to fix this. What could be wrong? I can confirm that there is nothing wrong with the HDD as issuing the same shell commands from another PC with Slackware on it works without any complications. The disk spins down nicely.

Any ideas?
 
  


Reply

Tags
book, failed, request, sdparm, wd


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
samba: 5718 session request failed ragecyr Linux - Networking 7 06-10-2005 12:21 PM
kernel: st0: Error with sense data: Current st09:00: sense key N da_kidd_er Linux - Hardware 0 12-16-2004 10:51 PM
X Error of failed request: BadAccess Magmagal Linux - Software 1 10-22-2004 10:39 AM
X Error of failed request BadAccess (X_StoreColors) Magmagal Linux - Software 0 08-10-2004 06:16 AM
Session request failed (Called name not present) Spetnik Linux - Networking 1 04-07-2004 01:08 PM


All times are GMT -5. The time now is 09:11 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration