2001-02-17 09:08:47

by Fons Rademakers

[permalink] [raw]
Subject: had: lost interrupt...

Hi,

in my laptop (HP 4150B) I upgraded from a 12GB IBM Travelstar to an
20GB IBM Travelstar (both 4200rpm). After the upgrade I moved also to
2.4.2-pre3 and reiserfs. However, the problem I now have is that after
resume I get the message "hda: lost interrupt" and the only thing to do
is to reset the machine (in the only good thing is that reiserfs saved
me a lot of fsck time).

Any idea what the problem might be? Is the larger disk not supported by
the BIOS (it is recognized properly). People mentioned not to use DMA
anymore?

With 2.2.18 and the 12GB disk there were never problems (except that the
disk got bad blocks ;-().

My IDE setup in .config is below.


Cheers, Fons.



CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_IDE is not set
# CONFIG_BLK_DEV_HD is not set
CONFIG_BLK_DEV_IDEDISK=y
# CONFIG_IDEDISK_MULTI_MODE is not set
# CONFIG_BLK_DEV_IDEDISK_VENDOR is not set
# CONFIG_BLK_DEV_COMMERIAL is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
CONFIG_BLK_DEV_IDEFLOPPY=y
# CONFIG_BLK_DEV_IDESCSI is not set
#
# IDE chipset support/bugfixes
#
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_OFFBOARD is not set
# CONFIG_IDEDMA_PCI_AUTO is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_PCI_WIP is not set
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD7409 is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
CONFIG_BLK_DEV_PIIX=y
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_PDC202XX is not set
# CONFIG_BLK_DEV_OSB4 is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDE_CHIPSETS is not set
# CONFIG_IDEDMA_AUTO is not set
# CONFIG_IDEDMA_IVB is not set
# CONFIG_DMA_NONPCI is not set
CONFIG_BLK_DEV_IDE_MODES=y

--
Org: CERN, European Laboratory for Particle Physics.
Mail: 1211 Geneve 23, Switzerland
E-Mail: [email protected] Phone: +41 22 7679248
WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7677910


2001-02-22 00:25:44

by Tim Wright

[permalink] [raw]
Subject: Re: had: lost interrupt...

You didn't give the (likely more) important part of your .config, but I'll bet
that you have CONFIG_APM_ALLOW_INTS disabled. Turn it on, rebuild and reboot.
At least on a Thinkpad T20, trying to use UDMA, and APM without APM_ALLOW_INTS
enabled gives an 'hda: lost interrupt'. Even worse, I didn't hang, but was able
to go on and trash my hard drive :-(
With CONFIG_APM_ALLOW_INTS turned on, everything behaves nicely.

Tim

On Sat, Feb 17, 2001 at 10:08:21AM +0100, Fons Rademakers wrote:
> Hi,
>
> in my laptop (HP 4150B) I upgraded from a 12GB IBM Travelstar to an
> 20GB IBM Travelstar (both 4200rpm). After the upgrade I moved also to
> 2.4.2-pre3 and reiserfs. However, the problem I now have is that after
> resume I get the message "hda: lost interrupt" and the only thing to do
> is to reset the machine (in the only good thing is that reiserfs saved
> me a lot of fsck time).
>
> Any idea what the problem might be? Is the larger disk not supported by
> the BIOS (it is recognized properly). People mentioned not to use DMA
> anymore?
>
> With 2.2.18 and the 12GB disk there were never problems (except that the
> disk got bad blocks ;-().
>
> My IDE setup in .config is below.
>
>
> Cheers, Fons.
>
[IDE config elided]

--
Tim Wright - [email protected] or [email protected] or [email protected]
IBM Linux Technology Center, Beaverton, Oregon
Interested in Linux scalability ? Look at http://lse.sourceforge.net/
"Nobody ever said I was charming, they said "Rimmer, you're a git!"" RD VI

2001-02-22 18:10:17

by Fons Rademakers

[permalink] [raw]
Subject: Re: had: lost interrupt...

Hi Tim,

thanks for answering. However, I found the problem for my laptop. It was due
to the broken /etc/sysconfig/apm-scripts/... in RH7.0 that was always executing
the xlock and xcreensaver on suspend. Correcting this script and not running
this xlock stuff the interrupt lost problem disappeared. However, it should not
have happened in the first place so maybe you suggestion would allow one to
run both xlock on suspend and still being able to resume. I'll try that although
I won't need the xlock feature.

Cheers, Fons.



Tim Wright wrote:
>
> You didn't give the (likely more) important part of your .config, but I'll bet
> that you have CONFIG_APM_ALLOW_INTS disabled. Turn it on, rebuild and reboot.
> At least on a Thinkpad T20, trying to use UDMA, and APM without APM_ALLOW_INTS
> enabled gives an 'hda: lost interrupt'. Even worse, I didn't hang, but was able
> to go on and trash my hard drive :-(
> With CONFIG_APM_ALLOW_INTS turned on, everything behaves nicely.
>
> Tim
>
> On Sat, Feb 17, 2001 at 10:08:21AM +0100, Fons Rademakers wrote:
> > Hi,
> >
> > in my laptop (HP 4150B) I upgraded from a 12GB IBM Travelstar to an
> > 20GB IBM Travelstar (both 4200rpm). After the upgrade I moved also to
> > 2.4.2-pre3 and reiserfs. However, the problem I now have is that after
> > resume I get the message "hda: lost interrupt" and the only thing to do
> > is to reset the machine (in the only good thing is that reiserfs saved
> > me a lot of fsck time).
> >
> > Any idea what the problem might be? Is the larger disk not supported by
> > the BIOS (it is recognized properly). People mentioned not to use DMA
> > anymore?
> >
> > With 2.2.18 and the 12GB disk there were never problems (except that the
> > disk got bad blocks ;-().
> >
> > My IDE setup in .config is below.
> >
> >
> > Cheers, Fons.
> >
> [IDE config elided]
>
> --
> Tim Wright - [email protected] or [email protected] or [email protected]
> IBM Linux Technology Center, Beaverton, Oregon
> Interested in Linux scalability ? Look at http://lse.sourceforge.net/
> "Nobody ever said I was charming, they said "Rimmer, you're a git!"" RD VI

--
Org: CERN, European Laboratory for Particle Physics.
Mail: 1211 Geneve 23, Switzerland
E-Mail: [email protected] Phone: +41 22 7679248
WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7677910