Ubuntu 8.04 error on 2nd disk on an old IDE machine - revalidation failed

Bug #236706 reported by warptoy
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

We've recentrly upgraded our server from Ubuntu 7.10 to 8.04. Everything fine except for a problem during boot as the new kernel does not recognize second disk on the primary ide channel. Currently i've built the kernel 2.6.25 using congiguration from ubuntu 7.10 and everything works fine again!

Note that our server uses a duplidisk ide raid module that worked fine since Ubuntu 6.10

Here it's dmesg error during boot:
[ 67.680954] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xd400 irq 14
[ 67.681007] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xd408 irq 15
[ 67.731258] Floppy drive(s): fd0 is 1.44M
[ 67.753937] FDC 0 is a post-1991 82077
[ 67.896350] ata1.00: ATA-7: DupliDisk IDE RAID-1 Adapter( 3.37), 00.07H00, max UDMA/100
[ 67.896419] ata1.00: 312581808 sectors, multi 16: LBA48
[ 68.488807] Marking TSC unstable due to: TSC halts in idle.
[ 68.488876] Time: acpi_pm clocksource has been installed.
[ 69.990000] ata1.01: failed to set max address (err_mask=0x1)
[ 69.990060] ata1.01: device aborted resize (234441648 -> 312581808), skipping HPA handling
[ 69.990124] ata1.01: ATA-6: DupliDisk IDE RAID-1 Adapter( 3.37), 08.02D08, max UDMA/100
[ 69.990182] ata1.01: 234441648 sectors, multi 16: LBA48
[ 69.990244] ata1.00: limited to UDMA/33 due to 40-wire cable
[ 70.027473] ata1.00: configured for UDMA/33
[ 70.066457] ata1.01: n_sectors mismatch 234441648 != 312581807
[ 70.066514] ata1.01: revalidation failed (errno=-19)
[ 70.066565] ata1.01: limiting speed to UDMA/100:PIO3
[ 70.066613] ata1: failed to recover some devices, retrying in 5 secs
[ 75.247984] ata1.01: n_sectors mismatch 234441648 != 312581807
[ 75.248042] ata1.01: revalidation failed (errno=-19)
[ 75.248091] ata1.01: disabled
[ 75.817871] ata1.00: configured for UDMA/33
[ 76.156466] ata2.00: ATAPI: HL-DT-STDVD-ROM GDR8162B, 0015, max UDMA/33
[ 76.356011] ata2.00: configured for UDMA/33
[ 76.356215] scsi 0:0:0:0: Direct-Access ATA DupliDisk IDE RA 00.0 PQ: 0 ANSI: 5
[ 76.363440] scsi 1:0:0:0: CD-ROM HL-DT-ST DVD-ROM GDR8162B 0015 PQ: 0 ANSI: 5

and more

[ 76.602561] Driver 'sd' needs updating - please use bus_type methods
[ 76.602727] sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
[ 76.602792] sd 0:0:0:0: [sda] Write Protect is off
[ 76.602841] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 76.602860] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 76.602972] sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
[ 76.603031] sd 0:0:0:0: [sda] Write Protect is off
[ 76.603079] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 76.603096] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 76.603157] sda: sda1 sda2 <<4>Driver 'sr' needs updating - please use bus_type methods
[ 76.617612] sda5 sda6 sda7 sda8 >
[ 76.662926] sd 0:0:0:0: [sda] Attached SCSI disk
[ 76.669804] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 76.669882] sr 1:0:0:0: Attached scsi generic sg1 type 5
[ 76.693850] sr0: scsi3-mmc drive: 20x/48x cd/rw xa/form2 cdda tray
[ 76.693912] Uniform CD-ROM driver Revision: 3.20
[ 76.694030] sr 1:0:0:0: Attached scsi CD-ROM sr0
[ 77.278167] Attempting manual resume
[ 77.278217] swsusp: Resume From Partition 8:8
[ 77.278219] PM: Checking swsusp image.
[ 77.278966] PM: Resume from disk failed.

Revision history for this message
Victor Vargas (kamus) wrote :

Aug 5 17:56:35 bofh kernel: [ 21.166466] scsi 3:0:0:0: Direct-Access ATA ST380013AS 3.18 PQ: 0 ANSI: 5
Aug 5 17:56:35 bofh kernel: [ 21.173167] Driver 'sd' needs updating - please use bus_type methods
Aug 5 17:56:35 bofh kernel: [ 21.173268] sd 0:0:0:0: [sda] 488281250 512-byte hardware sectors (250000 MB)
Aug 5 17:56:35 bofh kernel: [ 21.173279] sd 0:0:0:0: [sda] Write Protect is off
Aug 5 17:56:35 bofh kernel: [ 21.173281] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
Aug 5 17:56:35 bofh kernel: [ 21.173294] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Aug 5 17:56:35 bofh kernel: [ 21.173333] sd 0:0:0:0: [sda] 488281250 512-byte hardware sectors (250000 MB)
Aug 5 17:56:35 bofh kernel: [ 21.173341] sd 0:0:0:0: [sda] Write Protect is off
Aug 5 17:56:35 bofh kernel: [ 21.173343] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
Aug 5 17:56:35 bofh kernel: [ 21.173356] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Aug 5 17:56:35 bofh kernel: [ 21.173358] sda:<4>Driver 'sr' needs updating - please use bus_type methods

----------------------------------------------------------------------------------------------
Ubuntu 8.04
2.6.24-19-generic #1 SMP Wed Jun 18 14:43:41 UTC 2008 i686 GNU/Linux
--------------------------------------------------------------------------------------------------

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
warptoy (warptoy) wrote :

Well, testing Intrepid BETA, i MUST report that:

1) Kernel 2.6.27-6 fixed the problem!!!

2) BUT with current Kernel 2.6.27-7 we had a regression to the initial error.
The second PATA HD is not configured.

Here it's part of dmesg error:
[ 4.243667] pata_via 0000:00:11.1: version 0.3.3
[ 4.243693] pata_via 0000:00:11.1: PCI INT A -> Link[LNKA] -> GSI 10 (level, low) -> IRQ 10
[ 4.243699] pata_via 0000:00:11.1: VIA VLink IRQ fixup, from 255 to 10
[ 4.244405] scsi1 : pata_via
[ 4.244905] scsi2 : pata_via
[ 4.248342] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xe000 irq 14
[ 4.248347] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xe008 irq 15
...
[ 6.520102] ata1.01: failed to set max address (err_mask=0x1)
[ 6.520109] ata1.01: device aborted resize (312581808 -> 390721968), skipping HPA handling
[ 6.520119] ata1.01: ATA-6: DupliDisk IDE RAID-1 Adapter( 3.37), 08.02D08, max UDMA/100
[ 6.520123] ata1.01: 312581808 sectors, multi 16: LBA48
[ 6.538387] ata1.00: configured for UDMA/100
[ 6.552303] ata1.01: n_sectors mismatch 312581808 != 390721967
[ 6.552308] ata1.01: revalidation failed (errno=-19)
[ 6.552317] ata1.01: limiting speed to UDMA/100:PIO3
[ 9.568434] ata1.01: n_sectors mismatch 312581808 != 390721967
[ 9.568439] ata1.01: revalidation failed (errno=-19)
[ 9.568445] ata1.01: disabled

As always it could be fixed using "all_generic_ide" statement.

Changed in linux:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Triaged a while ago but has not had any updated comments for quite some time. Please let us know if this issue remains in the current Ubuntu release, http://www.ubuntu.com/getubuntu/download . If the issue remains, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-triage
Changed in linux (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
lvm (lvm-royal) wrote :

still happens in 2.6.24-28 (8.04 server) when a Hitachi 7K2000 disk is moved from onboard sata on nforce430-based motherboard were it runs fine (sata_nv) to external sata on sil3132 controller (sata_sil24), the drive is NOT recovered automatically when it is moved back to mobo.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.