[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4326: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4328: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4329: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4330: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
Hdparm error (invalid argument)
Sign up here and you can log into the forum!

Hdparm error (invalid argument)

General WDLXTV-Live forum

Hdparm error (invalid argument)   

Postby FireBlast » Sat May 28, 2011 1:38 pm

Yesterday i wanted to change MultSect option on my usb-sata hdd WD Elements. When i entered "hdparm -i /dev/sda1" i've got a message "HDIO_GET_IDENTITY failed: Invalid argument" and most of other hdparm's options returned the same error "invalid argument". So i would like to know why and how can i solve this problem?

My FW 1.02.21 0.4.7.3
FireBlast
WDTVer
 
Posts: 35
Joined: Sat Dec 25, 2010 4:20 am

Re: Hdparm error (invalid argument)   

Postby RMerlin » Sat May 28, 2011 8:44 pm

/dev/sda is your HDD. /dev/sda1 is a partition on it.

You must access the device itself, not one of its partitions.
WDLXTV Webend maintainer. Visit http://www.lostrealm.ca/wdlxtv to see my other WDLXTV projects.
If you like my work, please consider .
User avatar
RMerlin
WDLXTV Team
 
Posts: 3236
Joined: Sat Jun 26, 2010 9:25 am
Location: Montreal, Canada

Re: Hdparm error (invalid argument)   

Postby FireBlast » Sun May 29, 2011 2:08 am

Thanks for your comment. But the error is the same. Any other advice?
FireBlast
WDTVer
 
Posts: 35
Joined: Sat Dec 25, 2010 4:20 am

Re: Hdparm error (invalid argument)   

Postby recliq » Sun May 29, 2011 2:28 am

I can confirm the bug on 1.02.21-0.4.7.x
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to for a beer or a new flash drive. ...and always remember: RTFM! (, , ) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5513
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: Hdparm error (invalid argument)   

Postby FireBlast » Mon May 30, 2011 6:22 am

Any suggetions? Or wil lit be fixed in next version?
FireBlast
WDTVer
 
Posts: 35
Joined: Sat Dec 25, 2010 4:20 am

Re: Hdparm error (invalid argument)   

Postby recliq » Mon May 30, 2011 6:46 am

we'll try to fix it in next version.
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to for a beer or a new flash drive. ...and always remember: RTFM! (, , ) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5513
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: Hdparm error (invalid argument)   

Postby RMerlin » Mon May 30, 2011 8:43 am

AFAIK, hdparm isn't guaranteed to fully work over USB. The ATA command set implementation will depend on the interface controller.
WDLXTV Webend maintainer. Visit http://www.lostrealm.ca/wdlxtv to see my other WDLXTV projects.
If you like my work, please consider .
User avatar
RMerlin
WDLXTV Team
 
Posts: 3236
Joined: Sat Jun 26, 2010 9:25 am
Location: Montreal, Canada

Re: Hdparm error (invalid argument)   

Postby FireBlast » Mon May 30, 2011 9:11 am

So it's not a kernel bug? Even though i can't look at hdd info!? I doubt that it's a usb-sata controller because i can see SMART status of hdd on my BB.

*Found this (man hdparm in ubuntu)
hdparm provides a command line interface to various hard disk ioctls supported by the Linux SATA/PATA/SAS "libata" subsystem and the older IDE driver subsystem. Some options may work correctly only with the latest kernels.
FireBlast
WDTVer
 
Posts: 35
Joined: Sat Dec 25, 2010 4:20 am

Re: Hdparm error (invalid argument)   

Postby dentex » Tue May 31, 2011 4:36 am

Last edited by dentex on Fri Jun 03, 2011 1:18 am, edited 1 time in total.
User avatar
dentex
Supporter
 
Posts: 179
Joined: Fri Apr 15, 2011 4:57 am
Location: Italy

Re: Hdparm error (invalid argument)   

Postby RMerlin » Tue May 31, 2011 5:44 am

try using sdparm instead of hdparm.
WDLXTV Webend maintainer. Visit http://www.lostrealm.ca/wdlxtv to see my other WDLXTV projects.
If you like my work, please consider .
User avatar
RMerlin
WDLXTV Team
 
Posts: 3236
Joined: Sat Jun 26, 2010 9:25 am
Location: Montreal, Canada

Next

Return to Discussion

Who is online

Users browsing this forum: No registered users and 4 guests

cron