From: thunder7@xs4all.nl
To: Manfred Spraul <manfred@colorfullife.com>
Cc: linux-kernel@vger.kernel.org, jgarzik@mandrakesoft.com
Subject: Re: interrupt problem with MPS 1.4 / not with MPS 1.1 ?
Date: Fri, 1 Jun 2001 21:03:46 +0200 [thread overview]
Message-ID: <20010601210346.A1069@middle.of.nowhere> (raw)
In-Reply-To: <3B16A7E3.1BD600F3@colorfullife.com> <20010531222708.A8295@middle.of.nowhere> <3B16AD5D.DEDB8523@colorfullife.com> <20010601071414.A871@middle.of.nowhere> <3B17D0C1.5FC21CFB@colorfullife.com>
In-Reply-To: <3B17D0C1.5FC21CFB@colorfullife.com>; from manfred@colorfullife.com on Fri, Jun 01, 2001 at 07:28:33PM +0200
On Fri, Jun 01, 2001 at 07:28:33PM +0200, Manfred Spraul wrote:
> thunder7@xs4all.nl wrote:
> >
> > :setpci -s 00:07.2 INTERRUPT_LINE=15
> > :lspci -vx -s 00:07.2
> > 00:07.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 16) (prog-if 00 [UHCI])
> > Subsystem: Unknown device 0925:1234
> > Flags: bus master, medium devsel, latency 32, IRQ 19
> > I/O ports at a000 [size=32]
> > Capabilities: [80] Power Management version 2
> > 30: 00 00 00 00 80 00 00 00 00 00 00 00 15 04 00
> > :setpci -s 00:07.2 INTERRUPT_LINE=19
> > :lspci -vx -s 00:07.2
> > 00:07.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 16) (prog-if 00 [UHCI])
> > Subsystem: Unknown device 0925:1234
> > Flags: bus master, medium devsel, latency 32, IRQ 19
> > I/O ports at a000 [size=32]
> > Capabilities: [80] Power Management version 2
> > 30: 00 00 00 00 80 00 00 00 00 00 00 00 19 04 00 00
> >
> > So that is correct. I'll attach all the information from the MPS 1.4
> > reboot, in which 00:07.2 happily points at 05, while everything else
> > thinks it's at 19.....
> >
>
> Could you compile uhci as a module, set the configuration to MPS1.4 and
> find out with which interrupt line setting it works.
> I'd try both
>
> setpci -s 00:07.2 INTERRUPT_LINE=13
no change, still this in /var/log/messages:
Jun 1 20:57:48 middle kernel: uhci.c: USB Universal Host Controller Interface driver
Jun 1 20:57:48 middle kernel: hub.c: USB new device connect on bus1/1, assigned device number 2
Jun 1 20:57:51 middle kernel: usb_control/bulk_msg: timeout
Jun 1 20:57:51 middle kernel: usb.c: USB device not accepting new address=2 (error=-110)
Jun 1 20:57:51 middle kernel: hub.c: USB new device connect on bus1/1, assigned device number 3
Jun 1 20:57:54 middle kernel: usb_control/bulk_msg: timeout
Jun 1 20:57:54 middle kernel: usb.c: USB device not accepting new address=3 (error=-110)
> setpci -s 00:07.2 INTERRUPT_LINE=3
> [even if 13 works, please try 03 as well. 13 is hexadecimal==19]
Bingo!!
Jun 1 20:59:34 middle kernel: Type: Direct-Access ANSI SCSI revision: 02
Jun 1 20:59:34 middle kernel: Attached scsi removable disk sda at scsi3, channel 0, id 0, lun 0
Jun 1 20:59:34 middle kernel: sda : READ CAPACITY failed.
Jun 1 20:59:34 middle kernel: sda : status = 1, message = 00, host = 0, driver = 08
Jun 1 20:59:34 middle kernel: sda : extended sense code = 2
Jun 1 20:59:34 middle kernel: sda : block size assumed to be 512 bytes, disk size 1GB.
Jun 1 20:59:34 middle kernel: sda: I/O error: dev 08:00, sector 0
Jun 1 20:59:34 middle kernel: unable to read partition table
Jun 1 20:59:34 middle kernel: WARNING: USB Mass Storage data integrity not assured
Jun 1 20:59:34 middle kernel: USB Mass Storage device found at 2
>
> The via ac97 sound driver contains an irq fixup for this problem. Either
> a similar fixup is necessary in the uhci driver, or the fixup from the
> ac97 driver could be moved to the pci-quirks and applied to all devices
> in the southbridge.
>
Just to be sure, the lspci -vvvxxx reading of 07.2 after this setpci -s
00:07.2 INTERRUPT_LINE=3 with MPS=1.4 in the bios:
00:07.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 16) (prog-if 00 [UHCI])
Subsystem: Unknown device 0925:1234
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32, cache line size 08
Interrupt: pin D routed to IRQ 19
Region 4: I/O ports at a000 [size=32]
Capabilities: [80] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 06 11 38 30 07 00 10 02 16 00 03 0c 08 20 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 a0 00 00 00 00 00 00 00 00 00 00 25 09 34 12
30: 00 00 00 00 80 00 00 00 00 00 00 00 03 04 00 00
40: 00 10 03 00 02 00 32 e0 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
/proc/interrupts:
CPU0 CPU1
0: 22004 24207 IO-APIC-edge timer
1: 2073 2617 IO-APIC-edge keyboard
2: 0 0 XT-PIC cascade
8: 2 0 IO-APIC-edge rtc
14: 240 241 IO-APIC-edge ide0
16: 5342007 5342450 IO-APIC-level sym53c8xx
17: 23 21 IO-APIC-level sym53c8xx, sym53c8xx
18: 6448 6349 IO-APIC-level ide2, ide3, DE500-AA (eth0)
19: 42 42 IO-APIC-level usb-uhci, usb-uhci
NMI: 0 0
LOC: 46131 46128
ERR: 0
MIS: 0
Good luck,
Jurriaan
--
BOFH excuse #317:
Internet exceeded Luser level, please wait until a luser
logs off before attempting to log back on.
GNU/Linux 2.4.5-ac6 SMP/ReiserFS 2x1402 bogomips load av: 0.49 0.12 0.04
next prev parent reply other threads:[~2001-06-01 19:04 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-31 20:21 [lkml]Re: interrupt problem with MPS 1.4 / not with MPS 1.1 ? Manfred Spraul
2001-05-31 20:27 ` [lkml]Re: " thunder7
2001-05-31 20:45 ` Manfred Spraul
2001-06-01 5:14 ` thunder7
2001-06-01 5:20 ` Jeff Garzik
2001-06-01 5:39 ` thunder7
2001-06-01 17:28 ` Manfred Spraul
2001-06-01 17:41 ` Jeff Garzik
2001-06-01 19:03 ` thunder7 [this message]
2001-06-01 20:42 ` [PATCH] " Jeff Garzik
2001-06-02 6:27 ` [PATCH] " thunder7
2001-06-02 7:41 ` Jeff Garzik
2001-06-02 9:00 ` thunder7
2001-06-01 4:41 ` [lkml]Re: " Jeff Garzik
-- strict thread matches above, loose matches on Subject: below --
2001-05-31 18:39 thunder7
2001-05-31 18:06 ` Greg KH
2001-05-31 19:48 ` [lkml]Re: " thunder7
2001-05-31 18:56 ` Greg KH
2001-06-01 8:51 ` thunder7
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010601210346.A1069@middle.of.nowhere \
--to=thunder7@xs4all.nl \
--cc=jgarzik@mandrakesoft.com \
--cc=linux-kernel@vger.kernel.org \
--cc=manfred@colorfullife.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.