Stefan Althoefer
2007-12-11 15:28:42 UTC
Sorry if this is duplicated, I sent it linux-***@vger.kernel.org but
it did not appear in the mailing list archives.
-------- Original-Nachricht --------
Hi,
I'm recognizing a problem with USB EHCI/OCHI driver in kernel 2.6.20.3.
I'm running this on a special system, and I haven't yet had the time
to test a more recent kernel.
Platform : ARM (Janz Automationssystem AG: emPC-A400)
Processor : XScale-IXP42x Family rev 1 (v5l)
USB : integrated ISP1562BE and add-on board with NEC 720101,
both showing the errors.
Memory : 128MByte
THE PROBLEM DID NOT YET APPEAR WHEN ONLY 64MBYTE ARE USED
(with mem=64M kernel parameter).
USB device : SanDisk memory stick USB2.0
After more or less file transfers (copy and verfiy), the driver dies withthe
following messages:
----------------------------------------
empc-A400:~# disktest
1 c 14.21 v 31.31 v 0.11
2 c 13.92 v 31.32 v 0.10
3 c 14.05 v 31.32 v 0.11
4 c 14.07 v 31.31 v 0.10
5 c 13.93 v 31.32 v 0.11
6 c 14.08 v 31.31 v 0.10
7 c 13.94 v 31.28 v 0.10
8 c 14.04 v 31.30 v 0.11
9 c 14.08 v 31.28 v 0.10
10 c 13.93 v 31.30 v 0.10
11 c ohci_hcd 0000:00:01.0: OHCI Unrecoverable Error, disabled
ohci_hcd 0000:00:01.0: HC died; cleaning up
ohci_hcd 0000:00:01.1: OHCI Unrecoverable Error, disabled
ohci_hcd 0000:00:01.1: HC died; cleaning up
irq 28: nobody cared (try booting with the "irqpoll" option)
[<c002cf18>] (dump_stack+0x0/0x14) from [<c0067c9c>] (__report_bad_irq+0x28/0x94)
[<c0067c74>] (__report_bad_irq+0x0/0x94) from [<c0067dbc>] (note_interrupt+0xb4/0x248)
r4 = 00000000
[<c0067d08>] (note_interrupt+0x0/0x248) from [<c0068a78>] (handle_level_irq+0xd0/0x104)
[<c00689a8>] (handle_level_irq+0x0/0x104) from [<c0029750>] (asm_do_IRQ+0x48/0x60)
r5 = C0305F54 r4 = C034B658
[<c0029708>] (asm_do_IRQ+0x0/0x60) from [<c00289e4>] (__irq_svc+0x24/0x60)
r5 = 0000001F r4 = FFFFFFFF
[<c004a290>] (__do_softirq+0x0/0xe0) from [<c004a6d4>] (irq_exit+0x48/0x50)
[<c004a68c>] (irq_exit+0x0/0x50) from [<c0029754>] (asm_do_IRQ+0x4c/0x60)
[<c0029708>] (asm_do_IRQ+0x0/0x60) from [<c00289e4>] (__irq_svc+0x24/0x60)
r5 = 0000001F r4 = FFFFFFFF
[<c0029cb4>] (cpu_idle+0x0/0x54) from [<c00282f8>] (rest_init+0x24/0x2c)
r6 = C0308564 r5 = C0325380 r4 = C0349934
[<c00282d4>] (rest_init+0x0/0x2c) from [<c0008a40>] (start_kernel+0x1bc/0x280)
[<c0008884>] (start_kernel+0x0/0x280) from [<00008030>] (0x8030)
r5 = C0325844 r4 = 0000397D
handlers:
[<c01b26cc>] (usb_hcd_irq+0x0/0x88)
[<c01b26cc>] (usb_hcd_irq+0x0/0x88)
[<c01b26cc>] (usb_hcd_irq+0x0/0x88)
Disabling IRQ #28
-----------------------------------------
IRQ #28 is the USB interrupt.
It looks to me as if the EHCI/OHCI chip tries to busmaster to a memory region
which is not reachable. This is possible as the IXP42x does allow PCI busmaster
access only to 64 of the 128MByte.
Can someone check if it is possible that the EHCI/OCHI driver allocates memory
for DMA transfer which is not "PCI save"?
When I replace the NEC 720101 add in board with a network card, I can do nfs-file
transfers without any problems (I think this proves that the problem is not
with the PCI implementation of the IXP42x).
Please CC me, as I'm not on the mailing list.
mfg
--
Stefan Althöfer ( ***@janz.de )
Janz Automationssysteme AG
- Automation Intelligence -
Member of the Janz company group
Im Doerener Feld 8
33100 Paderborn - Germany
phone +49 5251 1550-0
fax +49 5251 1550-190
web: www.janz.de www.janz.com www.can-fieldbus.com
ISO9001:2000 certified quality
----------------------------------------------------------
Besuchen Sie uns: / Visit us at:
- Embedded World 2008 in Nuremberg/Germany (hall 9, booth 9-467); Feb.
26.-28., 2008
- 12th ICC - International CAN Conference in Barcelona/Spain; Mar. 11.-13.,
2008
----------------------------------------------------------
Janz Automationssysteme AG, Im Doerener Feld 8, D-33100 Paderborn; Vorstand
(Managing Directors): Dipl.-Ing. Arnulf Lockmann, Dipl.-Ing. Michael
Rennerich, Matthias Stute; Aufsichtsratsvorsitzender (Chairman Supervisory
Board): Michael Stangier; Registergericht (registered): Paderborn HRB 3996
CONFIDENTIALITY NOTICE. This message is intended only for the use of the
individual or entity to which it is addressed and may contain information
that is confidential and/or privileged. If the reader of this message is not
the intended recipient, you are hereby notified that any dissemination,
distribution or copying of this e-mail is strictly prohibited. If you
received this communication in error, please notify us immediately by
telephone or e-mail, and delete the material from any computer. Thank you.
Reliable Solutions seit 1982: Die Janz Unternehmensgruppe feiert 25.
Geburtstag!
--
Stefan Althöfer ( ***@janz.de )
Janz Automationssysteme AG
- Automation Intelligence -
Member of the Janz company group
Im Doerener Feld 8
33100 Paderborn - Germany
phone +49 5251 1550-0
fax +49 5251 1550-190
web: www.janz.de www.janz.com www.can-fieldbus.com
ISO9001:2000 certified quality
----------------------------------------------------------
Besuchen Sie uns: / Visit us at:
- Embedded World 2008 in Nuremberg/Germany (hall 9, booth 9-467); Feb.
26.-28., 2008
- 12th ICC - International CAN Conference in Barcelona/Spain; Mar. 11.-13.,
2008
----------------------------------------------------------
Janz Automationssysteme AG, Im Doerener Feld 8, D-33100 Paderborn; Vorstand
(Managing Directors): Dipl.-Ing. Arnulf Lockmann, Dipl.-Ing. Michael
Rennerich, Matthias Stute; Aufsichtsratsvorsitzender (Chairman Supervisory
Board): Michael Stangier; Registergericht (registered): Paderborn HRB 3996
CONFIDENTIALITY NOTICE. This message is intended only for the use of the
individual or entity to which it is addressed and may contain information
that is confidential and/or privileged. If the reader of this message is not
the intended recipient, you are hereby notified that any dissemination,
distribution or copying of this e-mail is strictly prohibited. If you
received this communication in error, please notify us immediately by
telephone or e-mail, and delete the material from any computer. Thank you.
Reliable Solutions seit 1982: Die Janz Unternehmensgruppe feiert 25.
Geburtstag!
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
linux-usb-***@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
it did not appear in the mailing list archives.
-------- Original-Nachricht --------
Hi,
I'm recognizing a problem with USB EHCI/OCHI driver in kernel 2.6.20.3.
I'm running this on a special system, and I haven't yet had the time
to test a more recent kernel.
Platform : ARM (Janz Automationssystem AG: emPC-A400)
Processor : XScale-IXP42x Family rev 1 (v5l)
USB : integrated ISP1562BE and add-on board with NEC 720101,
both showing the errors.
Memory : 128MByte
THE PROBLEM DID NOT YET APPEAR WHEN ONLY 64MBYTE ARE USED
(with mem=64M kernel parameter).
USB device : SanDisk memory stick USB2.0
After more or less file transfers (copy and verfiy), the driver dies withthe
following messages:
----------------------------------------
empc-A400:~# disktest
1 c 14.21 v 31.31 v 0.11
2 c 13.92 v 31.32 v 0.10
3 c 14.05 v 31.32 v 0.11
4 c 14.07 v 31.31 v 0.10
5 c 13.93 v 31.32 v 0.11
6 c 14.08 v 31.31 v 0.10
7 c 13.94 v 31.28 v 0.10
8 c 14.04 v 31.30 v 0.11
9 c 14.08 v 31.28 v 0.10
10 c 13.93 v 31.30 v 0.10
11 c ohci_hcd 0000:00:01.0: OHCI Unrecoverable Error, disabled
ohci_hcd 0000:00:01.0: HC died; cleaning up
ohci_hcd 0000:00:01.1: OHCI Unrecoverable Error, disabled
ohci_hcd 0000:00:01.1: HC died; cleaning up
irq 28: nobody cared (try booting with the "irqpoll" option)
[<c002cf18>] (dump_stack+0x0/0x14) from [<c0067c9c>] (__report_bad_irq+0x28/0x94)
[<c0067c74>] (__report_bad_irq+0x0/0x94) from [<c0067dbc>] (note_interrupt+0xb4/0x248)
r4 = 00000000
[<c0067d08>] (note_interrupt+0x0/0x248) from [<c0068a78>] (handle_level_irq+0xd0/0x104)
[<c00689a8>] (handle_level_irq+0x0/0x104) from [<c0029750>] (asm_do_IRQ+0x48/0x60)
r5 = C0305F54 r4 = C034B658
[<c0029708>] (asm_do_IRQ+0x0/0x60) from [<c00289e4>] (__irq_svc+0x24/0x60)
r5 = 0000001F r4 = FFFFFFFF
[<c004a290>] (__do_softirq+0x0/0xe0) from [<c004a6d4>] (irq_exit+0x48/0x50)
[<c004a68c>] (irq_exit+0x0/0x50) from [<c0029754>] (asm_do_IRQ+0x4c/0x60)
[<c0029708>] (asm_do_IRQ+0x0/0x60) from [<c00289e4>] (__irq_svc+0x24/0x60)
r5 = 0000001F r4 = FFFFFFFF
[<c0029cb4>] (cpu_idle+0x0/0x54) from [<c00282f8>] (rest_init+0x24/0x2c)
r6 = C0308564 r5 = C0325380 r4 = C0349934
[<c00282d4>] (rest_init+0x0/0x2c) from [<c0008a40>] (start_kernel+0x1bc/0x280)
[<c0008884>] (start_kernel+0x0/0x280) from [<00008030>] (0x8030)
r5 = C0325844 r4 = 0000397D
handlers:
[<c01b26cc>] (usb_hcd_irq+0x0/0x88)
[<c01b26cc>] (usb_hcd_irq+0x0/0x88)
[<c01b26cc>] (usb_hcd_irq+0x0/0x88)
Disabling IRQ #28
-----------------------------------------
IRQ #28 is the USB interrupt.
It looks to me as if the EHCI/OHCI chip tries to busmaster to a memory region
which is not reachable. This is possible as the IXP42x does allow PCI busmaster
access only to 64 of the 128MByte.
Can someone check if it is possible that the EHCI/OCHI driver allocates memory
for DMA transfer which is not "PCI save"?
When I replace the NEC 720101 add in board with a network card, I can do nfs-file
transfers without any problems (I think this proves that the problem is not
with the PCI implementation of the IXP42x).
Please CC me, as I'm not on the mailing list.
mfg
--
Stefan Althöfer ( ***@janz.de )
Janz Automationssysteme AG
- Automation Intelligence -
Member of the Janz company group
Im Doerener Feld 8
33100 Paderborn - Germany
phone +49 5251 1550-0
fax +49 5251 1550-190
web: www.janz.de www.janz.com www.can-fieldbus.com
ISO9001:2000 certified quality
----------------------------------------------------------
Besuchen Sie uns: / Visit us at:
- Embedded World 2008 in Nuremberg/Germany (hall 9, booth 9-467); Feb.
26.-28., 2008
- 12th ICC - International CAN Conference in Barcelona/Spain; Mar. 11.-13.,
2008
----------------------------------------------------------
Janz Automationssysteme AG, Im Doerener Feld 8, D-33100 Paderborn; Vorstand
(Managing Directors): Dipl.-Ing. Arnulf Lockmann, Dipl.-Ing. Michael
Rennerich, Matthias Stute; Aufsichtsratsvorsitzender (Chairman Supervisory
Board): Michael Stangier; Registergericht (registered): Paderborn HRB 3996
CONFIDENTIALITY NOTICE. This message is intended only for the use of the
individual or entity to which it is addressed and may contain information
that is confidential and/or privileged. If the reader of this message is not
the intended recipient, you are hereby notified that any dissemination,
distribution or copying of this e-mail is strictly prohibited. If you
received this communication in error, please notify us immediately by
telephone or e-mail, and delete the material from any computer. Thank you.
Reliable Solutions seit 1982: Die Janz Unternehmensgruppe feiert 25.
Geburtstag!
--
Stefan Althöfer ( ***@janz.de )
Janz Automationssysteme AG
- Automation Intelligence -
Member of the Janz company group
Im Doerener Feld 8
33100 Paderborn - Germany
phone +49 5251 1550-0
fax +49 5251 1550-190
web: www.janz.de www.janz.com www.can-fieldbus.com
ISO9001:2000 certified quality
----------------------------------------------------------
Besuchen Sie uns: / Visit us at:
- Embedded World 2008 in Nuremberg/Germany (hall 9, booth 9-467); Feb.
26.-28., 2008
- 12th ICC - International CAN Conference in Barcelona/Spain; Mar. 11.-13.,
2008
----------------------------------------------------------
Janz Automationssysteme AG, Im Doerener Feld 8, D-33100 Paderborn; Vorstand
(Managing Directors): Dipl.-Ing. Arnulf Lockmann, Dipl.-Ing. Michael
Rennerich, Matthias Stute; Aufsichtsratsvorsitzender (Chairman Supervisory
Board): Michael Stangier; Registergericht (registered): Paderborn HRB 3996
CONFIDENTIALITY NOTICE. This message is intended only for the use of the
individual or entity to which it is addressed and may contain information
that is confidential and/or privileged. If the reader of this message is not
the intended recipient, you are hereby notified that any dissemination,
distribution or copying of this e-mail is strictly prohibited. If you
received this communication in error, please notify us immediately by
telephone or e-mail, and delete the material from any computer. Thank you.
Reliable Solutions seit 1982: Die Janz Unternehmensgruppe feiert 25.
Geburtstag!
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
linux-usb-***@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel