2003-03-19 16:25:41

by Mauro Chiarugi

[permalink] [raw]
Subject: problem with pcmcia, pci and hard disk

Hi,
i've an hp Pavillon ze4288. I've compilied my kernel with pcmcia support
disabled (i use pcmcia-cs, but without kernel support because i've a
cisco aironet card 352, and it works only with this support disabled as
Cisco's release notes says) but, when i boot, my system freeze:"PCI:
Found IRQ 11 for device 00:0a.0 IRQ routing conflict for 00:0a.0, have
irq 5, want irq 11 O2 MICRO OZ6912 rev 00 PCI-to-Cardbus at slot 00:0a,
mem 0x80000000 host opts [0]: [pci/way] [pci irq 5]
[lat 32/32] [bus 2/5]"
I've seen that with other kernel too, i receive always an error that is
"spurious 8259A interrupt: IRQ 7".

My bios version is phoenix ka.m1.34

I report my lspci below.. as you can see, audio device use irq 5

Thx all

sracatus

--------
lspci -v
--------
00:00.0 Host bridge: ATI Technologies Inc: Unknown device cab0 (rev 13)
Flags: bus master, 66Mhz, medium devsel, latency 32
Memory at d4000000 (32-bit, prefetchable) [size=64M]
Memory at d0500000 (32-bit, prefetchable) [size=4K]
I/O ports at 8070 [disabled] [size=4]
Capabilities: [a0] AGP version 2.0

00:01.0 PCI bridge: ATI Technologies Inc U1/A3 AGP Bridge [IGP 320M]
(rev 01) (prog-if 00 [Normal decode]) Flags: bus master, 66Mhz, medium devsel,
latency 99 Bus: primary=00, secondary=01, subordinate=01, sec-latency=68
I/O behind bridge: 00009000-00009fff
Memory behind bridge: d0100000-d01fffff
Prefetchable memory behind bridge: e0000000-efffffff

00:02.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
(prog-if 10 [OHCI]) Subsystem: Hewlett-Packard Company: Unknown device 0024
Flags: bus master, medium devsel, latency 64, IRQ 9
Memory at d0004000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [60] Power Management version 2

00:06.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link
Controller Audio Device (rev 02) Subsystem: Hewlett-Packard Company:
Unknown device 0024 Flags: bus master, medium devsel, latency 64, IRQ 5
I/O ports at 8400 [size=256]
Memory at d0005000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [dc] Power Management version 2

00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV]
Subsystem: ALi Corporation ALI M1533 Aladdin IV ISA Bridge
Flags: bus master, medium devsel, latency 0
Capabilities: [a0] Power Management version 1

00:08.0 Modem: ALi Corporation Intel 537 [M5457 AC-Link Modem] (prog-if
00 [Generic]) Subsystem: Hewlett-Packard Company: Unknown device 0024
Flags: medium devsel, IRQ 3
Memory at d0006000 (32-bit, non-prefetchable) [size=4K]
I/O ports at 8800 [size=256]
Capabilities: [40] Power Management version 2

00:0a.0 CardBus bridge: O2 Micro, Inc. OZ6912 Cardbus Controller
Subsystem: Hewlett-Packard Company: Unknown device 0024
Flags: bus master, stepping, slow devsel, latency 168, IRQ 5
Memory at 80000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
Memory window 0: 81000000-81100000 (prefetchable)
Memory window 1: 1c000000-1c3ff000
I/O window 0: 00003000-0000307f
I/O window 1: 00004000-000040ff
16-bit legacy interface ports at 0001

00:0c.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21
IEEE-1394a-2000 Controller (PHY/Link) (prog-if 10 [OHCI]) Subsystem:
Hewlett-Packard Company: Unknown device 0024 Flags: medium devsel, IRQ 9
Memory at d0007000 (32-bit, non-prefetchable) [size=2K]
Memory at d0000000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2

00:10.0 IDE interface: ALi Corporation M5229 IDE (rev c4) (prog-if b0)
Subsystem: Hewlett-Packard Company: Unknown device 0024
Flags: bus master, medium devsel, latency 32
I/O ports at 8060 [size=16]
Capabilities: [60] Power Management version 2

00:11.0 Bridge: ALi Corporation M7101 PMU
Subsystem: Hewlett-Packard Company: Unknown device 0024
Flags: medium devsel

00:12.0 Ethernet controller: National Semiconductor Corporation DP83815
(MacPhyter) Ethernet Controller Subsystem: Hewlett-Packard Company: Unknown
device 0024 Flags: bus master, medium devsel, latency 90, IRQ 11
I/O ports at 8c00 [size=256]
Memory at d0008000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at <unassigned> [disabled] [size=64K]
Capabilities: [40] Power Management version 2

01:05.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility
U1 (prog-if 00 [VGA]) Subsystem: Hewlett-Packard Company: Unknown device 0024
Flags: bus master, stepping, fast Back2Back, 66Mhz, medium devsel,
latency 66, IRQ 10 Memory at e0000000 (32-bit, prefetchable) [size=256M]
I/O ports at 9000 [size=256]
Memory at d0100000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: [58] AGP version 2.0
Capabilities: [50] Power Management version 2


2003-03-19 16:37:26

by Mauro Chiarugi

[permalink] [raw]
Subject: Re: problem with pcmcia, pci and hard disk


I forgot to explain why in the subject i've written hard disk too..
When, at the boot, every 27 times, it check the file system, some times
(or every time, i don't sure..) it fails... :-( I use ext3.

Ps. i've tried 2.4.18 and 2.4.20 kernels.. i'd like to know if my
problems are solved with the 2.5.* kernel

2003-03-19 16:42:48

by Alan

[permalink] [raw]
Subject: Re: problem with pcmcia, pci and hard disk

On Wed, 2003-03-19 at 16:47, Mauro Chiarugi wrote:
> I forgot to explain why in the subject i've written hard disk too..
> When, at the boot, every 27 times, it check the file system, some times
> (or every time, i don't sure..) it fails... :-( I use ext3.

It should never be failing, on 2.4.18 or 2.5.x with ext3. You should
get log playbacks on a crash and maybe an fsck every 27 if you set the
checking to run that way.

My first guess is you have something corrupting data - bad memory, bad
disk, overclocking or of course a software bug that you happen to hit
and nobody else seems to.

What drivers are you running

2003-03-19 17:02:08

by Mauro Chiarugi

[permalink] [raw]
Subject: Re: problem with pcmcia, pci and hard disk

Il 19 Mar 2003 18:04:06 +0000
Alan Cox <[email protected]> (aka Alan Cox) ha scritto:

> It should never be failing, on 2.4.18 or 2.5.x with ext3. You should
> get log playbacks on a crash and maybe an fsck every 27 if you set the
> checking to run that way.

If i do:

/var/log# grep -ir fsck *

i don't find anything :-(
is it strange, don't you?

> My first guess is you have something corrupting data - bad memory, bad
> disk, overclocking or of course a software bug that you happen to hit
> and nobody else seems to.

mmmm... my poor new laptop!!! :-/
But there is something strange.. i tried to install debian woody, but
when the installation program starts, my notebook freezes!! So i've
tried knoppix.. and then i've installed it. I'm using it.

> What drivers are you running

I've tried with pcmcia 2.1.33 and now with 3.2.4

thx

--
sracatus

2003-03-19 17:50:51

by Mauro Chiarugi

[permalink] [raw]
Subject: Re: problem with pcmcia, pci and hard disk

Il Wed, 19 Mar 2003 18:11:47 +0100
Mauro Chiarugi <[email protected]> wrote:

> I've tried with pcmcia 2.1.33 and now with 3.2.4

Sorry... i've tried 3.1.33 and 3.2.4
:)

--
sracatus

2003-03-20 12:56:52

by Mauro Chiarugi

[permalink] [raw]
Subject: Re: problem with pcmcia, pci and hard disk

I've verified that my ram and hard disk are not bad.. i've used memtest
and disktest..

mmm

I think that it's a problem between my bios, my cardbus bridge (O2 Micro
OZ6912) that manage pcmcia, and my audio card. If pcmcia is enabled in
the kernel, all go straight.. if it isn't, there is a problem with
interrupts.. at the boot time, the kernel says that it waits irq 11 by
cardbus bridge but it receive irq 5. With the pcmcia support in the
kernel all go straight, but with lspci -v I can see that cardbus bridge
uses irq 5 (as my audio card)