PDA

View Full Version : hde : lost interrupt (desktop machine)



Yakumo
01-06-2004, 05:51 PM
I can't boot knoppix 3.3 19/11/2003 EN

the tux icon comes up top left, but then it just sticks for ages and ages, eventually it will start saying

hde : lost interrupt

it takes about a solid minute or more for this to come up , and then it will come up repeatedly at similar intervals, i havn't left it longer than for this to come up 3 or 4 times.

i've tried the dma cheat codes, and nosap, and noacpi and noapic as suggested in various places, but this was related to toshiba laptops.

I've tried failsafe too, but after finding some things it then finally gets stuck with the same hde message.

my machine :

p4 northwood 2.2
asus p4t-e motherboard
512mb pc-800 rdram
gainward gf4-4800se

adaptec Serial ATA RAID 1210SA (I'm thinking this is the problem)
maxtor diamondmax 9 SATA (main drive, NTFS, boots to winXP)
maxtor 80 gig ATA-133 drive (master 2nd channel, no bootable, NTFS)

knoppix 3.2 works ok, i jsut can't access the SATA drive at all obviously.

Yakumo
01-06-2004, 10:10 PM
would "lspci -v" only be usefull if i could get it from knoppix 3.3 somehow, instead of 3.2 that works for me?

windos_no_thanks
01-06-2004, 10:14 PM
would "lspci -v" only be usefull if i could get it from knoppix 3.3 somehow, instead of 3.2 that works for me?
Perhaps, at least it won't make matters worse :-D
The fact that 3.2 works may also be valuable info.

Edit:
I mean a lspci -v from 3.2 is better than nothing :-)

EmDee
01-06-2004, 11:00 PM
Try to disable the APIC controller in the BIOS setup menu! At least this works for me.

BTW, SuSE, MDrake and probably other distros have backported code from Linux 2.6 so booting with APIC enabled will work on these and Knoppix 3.4 (read on the mailinglist that it will be released by the end of march) as well.

Good luck, -Marek

Yakumo
01-08-2004, 04:37 PM
knoppix@ttyp0[knoppix]$ sudo lspci -v
00:00.0 Host bridge: Intel Corp. 82850 850 (Tehama) Chipset Host Bridge (MCH) (rev 02)
Subsystem: Asustek Computer, Inc.: Unknown device 8030
Flags: bus master, fast devsel, latency 0
Memory at f8000000 (32-bit, prefetchable) [size=64M]
Capabilities: [a0] AGP version 2.0

00:01.0 PCI bridge: Intel Corp. 82850 850 (Tehama) Chipset AGP Bridge (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
Memory behind bridge: ee000000-efcfffff
Prefetchable memory behind bridge: eff00000-f7ffffff

00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 04) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
I/O behind bridge: 0000a000-0000dfff
Memory behind bridge: eb800000-edffffff
Prefetchable memory behind bridge: efd00000-efefffff

00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 04)
Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 04) (prog-if 80 [Master])
Subsystem: Asustek Computer, Inc.: Unknown device 8028
Flags: bus master, medium devsel, latency 0
I/O ports at 9800 [size=16]

00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 04) (prog-if 00 [UHCI])
Subsystem: Asustek Computer, Inc.: Unknown device 8028
Flags: bus master, medium devsel, latency 0, IRQ 9
I/O ports at 9400 [size=32]

00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 04)
Subsystem: Asustek Computer, Inc.: Unknown device 8028
Flags: medium devsel, IRQ 10
I/O ports at e800 [size=16]

00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 04) (prog-if 00 [UHCI])
Subsystem: Asustek Computer, Inc.: Unknown device 8028
Flags: bus master, medium devsel, latency 0, IRQ 9
I/O ports at 9000 [size=32]

01:00.0 VGA compatible controller: nVidia Corporation NV28 [GeForce4 Ti 4800 SE] (rev a1) (prog-if 00 [VGA])
Subsystem: CardExpert Technology: Unknown device 0a08
Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 11
Memory at ee000000 (32-bit, non-prefetchable) [size=16M]
Memory at f0000000 (32-bit, prefetchable) [size=128M]
Expansion ROM at effe0000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 3.0

02:0a.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
Subsystem: Creative Labs: Unknown device 1002
Flags: bus master, medium devsel, latency 32
I/O ports at d800 [disabled] [size=64]
Capabilities: [dc] Power Management version 2

02:0a.1 Input device controller: Creative Labs SB Audigy MIDI/Game port (rev 04)
Subsystem: Creative Labs: Unknown device 0060
Flags: bus master, medium devsel, latency 32
I/O ports at d400 [disabled] [size=8]
Capabilities: [dc] Power Management version 2

02:0a.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev 04) (prog-if 10 [OHCI])
Subsystem: Creative Labs SB Audigy FireWire Port
Flags: bus master, medium devsel, latency 32, IRQ 9
Memory at ed800000 (32-bit, non-prefetchable) [size=2K]
Memory at ed000000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2

02:0b.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 08)
Subsystem: Intel Corp. EtherExpress PRO/100+ Management Adapter
Flags: bus master, medium devsel, latency 32, IRQ 9
Memory at ec800000 (32-bit, non-prefetchable) [size=4K]
I/O ports at d000 [size=64]
Memory at ec000000 (32-bit, non-prefetchable) [size=1M]
Expansion ROM at <unassigned> [disabled] [size=1M]
Capabilities: [dc] Power Management version 2

02:0c.0 RAID bus controller: CMD Technology Inc: Unknown device 0240 (rev 02) (prog-if 01)
Subsystem: Adaptec: Unknown device 0240
Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 9
I/O ports at b800 [size=8]
I/O ports at b400 [size=4]
I/O ports at b000 [size=8]
I/O ports at a800 [size=4]
I/O ports at a400 [size=16]
Memory at eb800000 (32-bit, non-prefetchable) [size=512]
Expansion ROM at <unassigned> [disabled] [size=512K]
Capabilities: [60] Power Management version 2




I have now tried turning off plug and play OS in the bios, and changing APIC to PIC (only options)

then tried knoppix noswap noscsi dma

still no joy. I'd put my bios to it's normal settings again before getting this list.

when 3.2 boots up (which works fine bar no sata, it's what i used for the lspci listing) i get this set of me messages :


ide-scsi : hdd : unsupported command in request que (0)
ide-scsi : hdd : unsupported command in request que (0)
ide-scsi : hdd : unsupported command in request que (0)
ide-scsi : hdd : unsupported command in request que (0)
ide-scsi : hdd : unsupported command in request que (0)
ide-scsi : hdd : unsupported command in request que (0)
ide-scsi : hdd : unsupported command in request que (0)
ldm_validate_partition_table() : Disk read failed.
ide-scsi : hdd : unsupported command in request que (0)
ide-scsi : hdd : unsupported command in request que (0)
ide-scsi : hdd : unsupported command in request que (0)
ide-scsi : hdd : unsupported command in request que (0)

then the knoppix welcome message.

these all come up within about 5 seconds, so there's no real wait to knoppix booting up.

somoene mentioned empty zip drives being a problem, so i've left a zip disk in through all tests, it never seems to light up though.

is there any way to jsut stop it trying to detect / use HDD's at all? as I'm fairly sure it's going to be because my main drives are on the adaptec SATA controller, and i'm quite happy for knoppix not to touch my drives at all as they are all NTFS anyway.

cheers.

EmDee
01-08-2004, 06:08 PM
It might also help to change the power management to APM instead of ACPI. And try to use the "noscsi" boot option, this could help soothe your SCSI problem but will probably break cd burning for you.
SATA is not supported by the 2.4.x kernel but it's supported by linux 2.6, and there have been lots of updates on the ACPI code (and APIC on single processor machines) too so it may be worth to wait a while until knoppix includes it!

Yakumo
01-08-2004, 09:40 PM
i dont actually have any scsi equipment (i used to, it died, replaced it with SATA for inexpensive masses of disk space isntead of high performance and high price)

i did use noscsi anyway just to be sure (I did say under the lspci dump if you look ).

I'm not bothered about getting it to access the disks, i jsut want it to ingore them, and otherwise run, as knoppix 3.2 does :o/

EmDee
01-09-2004, 05:31 PM
yeah, well, even if you are not using any physical scsi in your 'puter, scsi-ide emulation is required for cd burning (in linux 2.4.x at least)!

EmDee
01-09-2004, 06:45 PM
knoppix@ttyp0[knoppix]$ sudo lspci -v
00:00.0 Host bridge: Intel Corp. 82850 850 (Tehama) Chipset Host Bridge (MCH) (rev 02)
Subsystem: Asustek Computer, Inc.: Unknown device 8030
Flags: bus master, fast devsel, latency 0
Memory at f8000000 (32-bit, prefetchable) [size=64M]
Capabilities: [a0] AGP version 2.0

I have now tried turning off plug and play OS in the bios, and changing APIC to PIC (only options)

ide-scsi : hdd : unsupported command in request que (0)
ldm_validate_partition_table() : Disk read failed.


Ok, now, I tried to f*ck with my BIOS settings (AmiBIOS on ECS K7S5A, I'm poor you know;-) until I was getting the same problem that you got there with knoppix 3.3 (latest version); it actually boots fine with acpi enabled on my system and some research of mine brought up that acpi is more commonly known to cause trouble on laptops. BUT, theres an option called "I/O APIC" and when I enable that one, I am getting the same exact problem that you have there; there kernel fails to initialize IDE devices on the second controller and just hangs there with that cute little penguin in the upper corner... So I disabled that one again for obvious reasons;-)

I was looking through the changelogs but couldn't find anything that might have caused this, besides kernel upgrades that is, and I am quite sure that APIC is causing trouble here!

A little background info; "ibm-compatible" have had programmable interrupt controllers (PIC) for ages but those are limited to 14 interrupts (IRQs) assigned by the BIOS. Nowadays, with modern operating systems and a huge variety of hardware available (just like your mobo; all kinds of stuff on one circuit board) you'd be running out of IRQs very quickly (sure, multiple devices can share one IRQ but you don't want that, for performance reasons.) so APICs were invented; unlike PICs they allow more than 14 IRQs to be used but require the OS to do low level IRQ assignment. Logically, "stupid" or rather OSes with incomplete APIC code like DOS and Linux don't work very well then. Anyway, your lspci output does not show an IRQ assigned on your IDE controller, thats probably why you're having problems accessing hdc (harddisk) and hdd (cd burner I assume) and of course the partition table cannot be read then.

So please look at your BIOS again and see if you can find something like "I/O APIC" or whatever option neccessary! And in case you need to free up IRQs then, just rip out the SATA controller (only if removable pci;-), its not supported by linux 2.4.x anyway!

Besides I'm wondering what [size=64M] stands for; if ram is meant with that try to specify with the "mem=512M" (with capital M!!!) bootoption!

EmDee
01-09-2004, 06:53 PM
Oh, in case this isn't clear to you; with "noswap" knoppix does not use the disks at all unless you mount them. But linux is quite eager to find and initialize all hardware before proceeding to boot the rest of the system. So whether you use the disks or not, the linux kernel just gets stuck when non able to initialize them though they're reported to be there!

Yakumo
01-09-2004, 09:35 PM
wow, thank you VERY much , you've gone well out of your way there...

mm, everything is on 9 except the SMBus on 10 and my gfx card on 11, interesting. it does seem really odd that my HD controller isn't getting an IRQ (normally on 14/15 in windows)

I did try PIC and APIC, and jsut about everything, the only thing i havn't done (yet but i will ) is remove the IRQ 5 reservation that i kept on for my audigy (some people recomend it for stability etc as apparently it may try to access it in some bizzar legacy way?)

dumping the SATA controller, er, lol, no thanks :) I don't like messing with knoppix THAT much by a long way. I'll keep using 3.2 and wait for 3.4 and dabble with mandrakemove a little too.

cheers.

Yakumo
05-04-2004, 10:03 PM
i now have the same problem basically with knoppix 3.4, lots of hde lost intterupts, but now the SATA controller is detected :
booted knoppix 3.4 (first public release 05/04/2004)

knoppix noscsi noapic noswap

takes about 6-8 minutes to boot (if i can find out how to get a copy of the boot log i'll start a new thread with it)

sudo lspci -v
0000:00:00.0 Host bridge: Intel Corp. 82850 850 (Tehama) Chipset Host Bridge (MCH) (rev 02)
Subsystem: Asustek Computer, Inc.: Unknown device 8030
Flags: bus master, fast devsel, latency 0
Memory at f8000000 (32-bit, prefetchable)
Capabilities: [a0] AGP version 2.0

0000:00:01.0 PCI bridge: Intel Corp. 82850 850 (Tehama) Chipset AGP Bridge (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
Memory behind bridge: ee000000-efcfffff
Prefetchable memory behind bridge: eff00000-f7ffffff

0000:00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB/ER Hub interface to PCI Bridge (rev 04) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
I/O behind bridge: 0000a000-0000dfff
Memory behind bridge: eb800000-edffffff
Prefetchable memory behind bridge: efd00000-efefffff

0000:00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 04)
Flags: bus master, medium devsel, latency 0

0000:00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 04) (prog-if 80 [Master])
Subsystem: Asustek Computer, Inc.: Unknown device 8028
Flags: bus master, medium devsel, latency 0
I/O ports at 9800 [size=16]

0000:00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 04) (prog-if 00 [UHCI])
Subsystem: Asustek Computer, Inc.: Unknown device 8028
Flags: bus master, medium devsel, latency 0, IRQ 9
I/O ports at 9400 [size=32]

0000:00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 04)
Subsystem: Asustek Computer, Inc.: Unknown device 8028
Flags: medium devsel, IRQ 10
I/O ports at e800 [size=16]

0000:00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 04) (prog-if 00 [UHCI])
Subsystem: Asustek Computer, Inc.: Unknown device 8028
Flags: bus master, medium devsel, latency 0, IRQ 9
I/O ports at 9000 [size=32]

0000:01:00.0 VGA compatible controller: nVidia Corporation NV28 [GeForce4 Ti 4800 SE] (rev a1) (prog-if 00 [VGA])
Subsystem: CardExpert Technology: Unknown device 0a08
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
Memory at ee000000 (32-bit, non-prefetchable) [size=effe0000]
Memory at f0000000 (32-bit, prefetchable) [size=128M]
Expansion ROM at 00020000 [disabled]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 3.0

0000:02:0a.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
Subsystem: Creative Labs: Unknown device 1002
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at d800
Capabilities: [dc] Power Management version 2

0000:02:0a.1 Input device controller: Creative Labs SB Audigy MIDI/Game port (rev 04)
Subsystem: Creative Labs: Unknown device 0060
Flags: bus master, medium devsel, latency 32
I/O ports at d400
Capabilities: [dc] Power Management version 2

0000:02:0a.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev 04) (prog-if 10 [OHCI])
Subsystem: Creative Labs SB Audigy FireWire Port
Flags: bus master, medium devsel, latency 32, IRQ 9
Memory at ed800000 (32-bit, non-prefetchable)
Memory at ed000000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2

0000:02:0b.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 08)
Subsystem: Intel Corp. EtherExpress PRO/100+ Management Adapter
Flags: bus master, medium devsel, latency 32, IRQ 9
Memory at ec800000 (32-bit, non-prefetchable)
I/O ports at d000 [size=64]
Memory at ec000000 (32-bit, non-prefetchable) [size=1M]
Capabilities: [dc] Power Management version 2

0000:02:0c.0 RAID bus controller: Silicon Image, Inc. (formerly CMD Technology Inc) Adaptec AAR-1210SA SATA HostRAID Controller (rev 02) (prog-if 01)
Subsystem: Adaptec: Unknown device 0240
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 9
I/O ports at b800
I/O ports at b400 [size=4]
I/O ports at b000 [size=8]
I/O ports at a800 [size=4]
I/O ports at a400 [size=16]
Memory at eb800000 (32-bit, non-prefetchable) [size=512]
Capabilities: [60] Power Management version 2