LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 10-09-2018, 12:34 PM   #1
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Rep: Reputation: 47
marvell vs kernel


seems Marvell sata still don't work.

Code:
scsi 17:0:0:0: Processor         Marvell  91xx Config      1.01 PQ: 0 ANSI: 5
..

[    1.025634] ata12: SATA max UDMA/133 abar m2048@0xfbcff000 port 0xfbcff180 irq 36
[    1.340741] ata12: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    1.342636] ata12.00: FORCE: horkage modified (noncq)
[    1.342641] ata12.00: ATAPI: HL-DT-ST BD-RE  BH16NS55, 1.02, max UDMA/133
[    1.347226] ata12.00: configured for UDMA/133
[    4.108290] ata12.00: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x0
[    4.108346] ata12.00: irq_stat 0x40000001
[    4.160031] ata12.00: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x0
[    4.160080] ata12.00: irq_stat 0x40000001
[    4.180136] ata12.00: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x0
[    4.180191] ata12.00: irq_stat 0x40000001
[    4.196196] ata12.00: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x0
[    4.196250] ata12.00: irq_stat 0x40000001
[    4.212209] ata12.00: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x0
[    4.212264] ata12.00: irq_stat 0x40000001
[    4.232167] ata12.00: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x0
[    4.232214] ata12.00: irq_stat 0x40000001
[    4.248144] ata12.00: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x0
[    4.248190] ata12.00: irq_stat 0x40000001
[    9.289506] ata12.00: qc timeout (cmd 0xa0)
[    9.290680] ata12.00: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x6 frozen
[    9.290737] ata12.00: irq_stat 0x40000001
[    9.290791] ata12.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 19
[    9.290852] ata12.00: status: { DRDY ERR }
[    9.290894] ata12: hard resetting link
[    9.606126] ata12: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    9.612564] ata12.00: configured for UDMA/133
[    9.616881] ata12: EH complete
[    9.631849] ata12.00: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x0
[    9.631904] ata12.00: irq_stat 0x40000001
[    9.647817] ata12.00: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x0
[    9.647886] ata12.00: irq_stat 0x40000001
[    9.663847] ata12.00: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x0
[    9.663915] ata12.00: irq_stat 0x40000001
[    9.683725] ata12.00: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x0
[    9.683793] ata12.00: irq_stat 0x40000001
[    9.699867] ata12.00: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x0
[    9.699936] ata12.00: irq_stat 0x40000001
[    9.715843] ata12.00: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x0
[    9.715901] ata12.00: irq_stat 0x40000001
[    9.731607] ata12.00: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x0
[    9.731667] ata12.00: irq_stat 0x40000001
[   10.951685] ata12.00: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x0
[   10.951746] ata12.00: irq_stat 0x40000001
[   10.983516] ata12.00: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x0
[   10.983578] ata12.00: irq_stat 0x40000001
[   11.003519] ata12.00: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x0
[   11.003580] ata12.00: irq_stat 0x40000001
[   11.027560] ata12.00: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x0
[   11.027622] ata12.00: irq_stat 0x40000001
[   11.063515] ata12.00: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x0
[   11.063578] ata12.00: irq_stat 0x40000001
[   11.079621] ata12.00: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x0
[   11.079684] ata12.00: irq_stat 0x40000001
[   11.187501] ata12.00: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x0
[   11.187562] ata12.00: irq_stat 0x40000001
[   15.095630] ata12.00: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x0
[   15.095637] ata12.00: irq_stat 0x40000001
[   15.117314] ata12.00: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x0
[   15.117317] ata12.00: irq_stat 0x40000001
I've tried this fix from 'googling', to disable NCQ:

GRUB_CMDLINE_LINUX="libata.force=7.00:noncq,8.00:noncq"

but it didn't help.

the only device on that sata controller is BD drive.
using "Linux debian 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u5 (2018-09-30) x86_64 GNU/Linux"

thanks.

Last edited by qrange; 10-09-2018 at 12:45 PM.
 
Old 10-10-2018, 10:30 AM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
It could also be the drive.
 
Old 10-13-2018, 01:16 PM   #3
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
its not the drive (LG BD), it worked fine on bult-in intel sata controller. ( I ran out of free ports on intel)

sometimes it shows this error on boot:
Code:
[    9.286720] ata12.00: irq_stat 0x40000001
[    9.286780] ata12.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 17
[    9.286841] ata12.00: status: { DRDY ERR }
[    9.286883] ata12: hard resetting link
[    9.602114] ata12: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   14.661012] ata12.00: qc timeout (cmd 0xa1)
[   14.662196] ata12.00: failed to IDENTIFY (I/O error, err_mask=0x4)
[   14.662199] ata12.00: revalidation failed (errno=-5)
[   14.662252] ata12: hard resetting link
[   14.977605] ata12: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   25.155996] ata12.00: qc timeout (cmd 0xa1)
[   25.157180] ata12.00: failed to IDENTIFY (I/O error, err_mask=0x4)
[   25.157183] ata12.00: revalidation failed (errno=-5)
when that happens, booting takes long and linux/k3b doesn't even detect it.

edit:

its this bug: https://bugzilla.kernel.org/show_bug.cgi?id=98171

i've modified that grub line to this:
Code:
GRUB_CMDLINE_LINUX="libata.force=12.00:sata,noncq,noncqtrim,rstonce,nohrst"
it seems to be slightly better now.


edit2:

I've found this site with marvell firmware updates:
https://www.station-drivers.com/inde...id=347&lang=en

but, I'm hesitant to try it, might be some virus or it might brick something.

Last edited by qrange; 10-14-2018 at 04:28 AM. Reason: update
 
Old 10-19-2018, 05:47 PM   #4
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
finally found 'solution':

https://bugzilla.kernel.org/show_bug.cgi?id=42679#c22
https://git.kernel.org/pub/scm/linux...d=aa0082066343


unfortunately, debian stable is far away from kernel v4.16
oh, well.
 
1 members found this post helpful.
Old 10-19-2018, 06:33 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,124

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Thanks for the info.
Quite a while back I got a "latest-and-greatest" motherboard that caused me to sit on Linus' tree for a few weeks before I got it working. Similar issue.

It was about then I went back to Fedora.
 
Old 11-12-2018, 04:14 AM   #6
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
as they say 'enough is enough'; I've installed 'testing' too, so now dualboot stable/testing.
marvell works marvelously now. hopefully tensorflow will too.
 
Old 11-12-2020, 03:14 PM   #7
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
it had worked for a little while. then broke.

but finally 'in the year 2020' I think I've solved it by updating marvell firmware with 'marvell_88se91xx_firmware_2.2.0.1125b(www.station-drivers.com).exe'.
I've extracted it and used ISO Master to import the content onto Hirens boot then run go.bat.
there was a warning about wrong version (9128 vs 9125 or similar). but its marked 91xx and works fine for now.
 
  


Reply



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
Marvell 88E8053 wake on lan with 2.6.16 kernel and sky2 arizonagroovejet Linux - Hardware 1 05-26-2009 02:11 PM
DHCP not working on etch, Marvell Yukon card on a laptop, 2.6 kernel, netinst Adan Debian 2 09-13-2006 03:12 AM
Marvell 88E8001 Controller not working in Kernel 2.6.17 hpladd Linux - Networking 1 08-30-2006 02:21 PM
Marvell 88E8053 apocoloco Linux - Wireless Networking 11 07-16-2006 02:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:18 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration