Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 207158 - patch for sys-apps/smartmontools-5.37 for SATA disks
Summary: patch for sys-apps/smartmontools-5.37 for SATA disks
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://www.mail-archive.com/debian-bu...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-23 14:03 UTC by Wolfram Schlich (RETIRED)
Modified: 2008-03-18 23:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfram Schlich (RETIRED) gentoo-dev 2008-01-23 14:03:18 UTC
The kernel resets SATA ports when smartd/smartctl tries
to enable attribute autosaving and automatic offline
testing:
--8<--
ata9.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2
ata9.00: (BMDMA stat 0x4)
ata9.00: cmd 35/00:d8:74:47:14/00:02:03:00:00/e0 tag 0 cdb 0x0 data 372736 out
         res 51/84:00:74:47:14/84:00:03:00:00/e0 Emask 0x10 (ATA bus error)
ata9: soft resetting port
ata9.00: configured for UDMA/100
ata9.01: configured for UDMA/100
ata9: EH complete
ata9.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2
ata9.00: (BMDMA stat 0x4)
ata9.00: cmd 35/00:d8:74:47:14/00:02:03:00:00/e0 tag 0 cdb 0x0 data 372736 out
         res 51/84:00:74:47:14/84:00:03:00:00/e0 Emask 0x10 (ATA bus error)
ata9: soft resetting port
ata9.00: configured for UDMA/100
ata9.01: configured for UDMA/100
ata9: EH complete
ata9.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2
ata9.00: (BMDMA stat 0x4)
ata9.00: cmd 35/00:d8:74:47:14/00:02:03:00:00/e0 tag 0 cdb 0x0 data 372736 out
         res 51/84:00:74:47:14/84:00:03:00:00/e0 Emask 0x10 (ATA bus error)
ata9: soft resetting port
ata9.00: configured for UDMA/100
ata9.01: configured for UDMA/100
ata9: EH complete
ata9.00: limiting speed to UDMA/66:PIO4
ata9.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2
ata9.00: (BMDMA stat 0x4)
ata9.00: cmd 35/00:d8:74:47:14/00:02:03:00:00/e0 tag 0 cdb 0x0 data 372736 out
         res 51/84:00:74:47:14/84:00:03:00:00/e0 Emask 0x10 (ATA bus error)
ata9: soft resetting port
ata9.00: configured for UDMA/66
ata9.01: configured for UDMA/100
ata9: EH complete
--8<--
The patch mentioned there will fix it...
Comment 1 SpanKY gentoo-dev 2008-01-23 15:23:13 UTC
nuts to debian bug tracking when the issue is upstream

can you confirm the upstream change mentioned resolves the issue ?

http://smartmontools.cvs.sourceforge.net/smartmontools/sm5/os_linux.cpp?r1=1.94&r2=1.95&view=patch
Comment 2 Wolfram Schlich (RETIRED) gentoo-dev 2008-01-23 16:26:27 UTC
(In reply to comment #1)
> 
> can you confirm the upstream change mentioned resolves the issue ?
> 
http://smartmontools.cvs.sourceforge.net/smartmontools/sm5/os_linux.cpp?r1=1.94&r2=1.95&view=patch

No, haven't tried it yet.

Also, looking at http://smartmontools.cvs.sourceforge.net/smartmontools/sm5/CHANGELOG?view=markup 
it might be a good idea to incorporate more of those not-yet-released
changes into a patchset to ship with our 5.37 package....
Comment 3 SpanKY gentoo-dev 2008-01-23 17:58:50 UTC
i dont really want to go cherry picking what i cant test
Comment 4 Wolfram Schlich (RETIRED) gentoo-dev 2008-01-24 10:48:57 UTC
(In reply to comment #3)
> i dont really want to go cherry picking what i cant test

I will be able to test (all) that soon...
Comment 5 Wolfram Schlich (RETIRED) gentoo-dev 2008-03-18 23:21:56 UTC
Upstream has released 5.38 which is already in the tree.