Skip to contentSkip to conversation

PROBLEM: When hibernating or resuming, ide driver locks the computer with 100% cpu utilization (2.6.28.7)

DISCUSSION Pedro R 1 participant 1 message Mar 28, 2009 libata

lore
Share & tools
lore

Pedro R

author
#0 lore raw

Thanks that is great news!

Can you CC me or tell me where can I sign up to get an email when the problem is solved?

Pedro

Quoted 136 lines · Borislav Petkov

From: Borislav Petkov <[email protected]>
Subject: Re: PROBLEM: When hibernating or resuming, ide driver locks the computer with 100% cpu utilization (2.6.28.7)
To: "Pedro R" <[email protected]>
Cc: [email protected], [email protected]
Date: Saturday, 28 March, 2009, 2:34 PM

-----Inline Attachment Follows-----

(adding Bart to cc)

Quoted 2 lines · Pedro R

Sorry for not being more specific, this is quite a

hard bug to catch. I've been chasing it for a few months now,

Quoted 1 line

I first thought it was a TuxOnIce bug, then a

framebuffer bug, but now i'm pretty sure it's the ide driver.

Quoted 5 lines

Anyway, here is how to reproduce it:

0 - Boot the computer (i.e. without any resume) 1 - inside GNOME, insert a CD / DVD in the drive. Wait

for it to be auto mounted.

Quoted 1 line

2 - Hibernate the computer. Hibernation performs

sucessfully.

Quoted 1 line

3 - Turn on the computer, and resume. Resume performs

sucessfully.

Quoted 1 line

4 - Once back in GNOME, remove the CD / DVD. It

umounts, but then GNOME displays an error of the like

Quoted 1 line

"Cannot unmount the CD", however it is already

umounted!

Quoted 1 line

5 - Start the hibernation process. CPU jumps

immediately to 100%, displaying infinetely the message:

Quoted 2 lines

  ide: status error = 0x04 {DriveReady

SeekComplete DataRequest Error}

Quoted 1 line

  hdc: failed opcode = 0x059

Haa,

now it rings a very large bell here! Well, we know about this bug and
this is not ide-cd but more something else. The current theory is
that it is chipset related since you're getting this on the same ide
controller as I can reproduce it here on:

Quoted 1 line
Mar 27 16:35:23 portatel kernel: [   

0.440668] Uniform Multi-Platform E-IDE driver

Quoted 1 line
Mar 27 16:35:23 portatel kernel: [   

0.443486] piix 0000:00:1f.1: IDE controller (0x8086:0x24ca rev 0x03)

Quoted 1 line
Mar 27 16:35:23 portatel kernel: [   

0.446331] PIIX_IDE 0000:00:1f.1: enabling device (0005 -> 0007)

Quoted 1 line
Mar 27 16:35:23 portatel kernel: [   

0.449257] PIIX_IDE 0000:00:1f.1: PCI INT A -> GSI 18 (level, low) -> IRQ 18

Quoted 1 line
Mar 27 16:35:23 portatel kernel: [   

0.452262] piix 0000:00:1f.1: not 100% native mode: will probe irqs later

Quoted 1 line
Mar 27 16:35:23 portatel kernel: [   

0.455354]     ide0: BM-DMA at
0x1100-0x1107

Quoted 1 line
Mar 27 16:35:23 portatel kernel: [   

0.458545]     ide1: BM-DMA at
0x1108-0x110f

Quoted 1 line
Mar 27 16:35:23 portatel kernel: [   

0.461755] Probing IDE interface ide0...

Quoted 1 line
Mar 27 16:35:23 portatel kernel: [   

0.682363] Switched to high resolution mode on CPU 0

Quoted 1 line
Mar 27 16:35:23 portatel kernel: [   

0.698129] hda: HTS721010G9AT00, ATA DISK drive

Quoted 1 line
Mar 27 16:35:23 portatel kernel: [   

1.313051] hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4

Quoted 1 line
Mar 27 16:35:23 portatel kernel: [   

1.313280] hda: UDMA/100 mode selected

Quoted 1 line
Mar 27 16:35:23 portatel kernel: [   

1.316824] Probing IDE interface ide1...

Quoted 1 line
Mar 27 16:35:23 portatel kernel: [   

1.988130] hdc: Optiarc DVD RW AD-7630A, ATAPI CD/DVD-ROM drive

Quoted 1 line
Mar 27 16:35:23 portatel kernel: [   

2.603048] hdc: host max PIO4 wanted PIO255(auto-tune) selected PIO4

Quoted 1 line
Mar 27 16:35:23 portatel kernel: [   

2.606065] hdc: UDMA/33 mode selected

Quoted 1 line
Mar 27 16:35:23 portatel kernel: [   

2.612591] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14

Quoted 1 line
Mar 27 16:35:23 portatel kernel: [   

2.632370] ide1 at 0x170-0x177,0x376 on irq 15

Quoted 1 line
Mar 27 16:35:23 portatel kernel: [   

2.639305] ide-gd driver 1.18

Quoted 1 line
Mar 27 16:35:23 portatel kernel: [   

2.642994] hda: max request size: 512KiB

Quoted 1 line
Mar 27 16:35:23 portatel kernel: [   

2.646892] hda: 195371568 sectors (100030 MB) w/7539KiB Cache, CHS=16383/255/63

Quoted 1 line
Mar 27 16:35:23 portatel kernel: [   

2.650948] hda: cache flushes supported

Quoted 1 line
Mar 27 16:35:23 portatel kernel: [   

2.654652]  hda: hda1 hda2 hda3 < hda5 hda6 hda7

Quoted 2 lines
Mar 27 16:35:23 portatel kernel: [   

2.703252] ide-cd driver 5.00

Quoted 1 line
Mar 27 16:35:23 portatel kernel: [   

2.716065] ide-cd: hdc: ATAPI 24X DVD-ROM DVD-R/RAM CD-R/RW drive, 2048kB Cache

Quoted 1 line
Mar 27 16:35:23 portatel kernel: [   

2.719993] Uniform CD-ROM driver Revision: 3.20

vs mine:

[    4.242548] Uniform Multi-Platform E-IDE
driver
[    4.242774] piix 0000:00:1f.1: IDE controller
(0x8086:0x24cb rev 0x02)
[    4.242841] pci 0000:00:1f.1: PCI INT A ->
GSI 18 (level, low) -> IRQ 18
[    4.242919] piix 0000:00:1f.1: not 100% native
mode: will probe irqs later
[    4.242976]     ide0:
BM-DMA at 0xfc00-0xfc07
[    4.243050]     ide1:
BM-DMA at 0xfc08-0xfc0f
[    4.243104] Probing IDE interface ide0...

Stay tuned...

Signature · 2 lines
Regards/Gruss,
    Boris.