I'm trying to use external USB HDD on Dual Xeon machines (Intels E7500 or Serverworks GC-LE Chipset).
OS: Fedora Core 1, Kernel 2.6.x
controller: Adaptec USB2Connect 5100 (NEC chipset)
disks: one Maxtor OneTouch 250GB
8 "old" IBM-DTLA in external cases with the Genesys chipset
(max_sectors = 128 to get those to work)
The problem is, that the machine runs into a deadlock when accessing the disks under the following conditions:
- one Maxtor with max_sectors=240 - several of the disks with genesys chipset with max_sectors=128
The deadlocks occur randomly, i.e. at no specific position during read or write operations.
----------------
with the following oopses:
Unable to handle kernel paging request at virtual address 00100104
printing eip:
f89d1617
*pde = 00000000
Oops: 0002 [#1]
SMP
CPU: 1
EIP: 0060:[<f89d1617>] Not tainted
EFLAGS: 00010046 (2.6.5)
EIP is at qh_completions+0x162/0x35d [ehci_hcd]
eax: 00100100 ebx: 80001c00 ecx: f6ce91b8 edx: 00200200
esi: f6ce9180 edi: f9d4244c ebp: f7f45ea4 esp: f7f45e60
ds: 007b es: 007b ss: 0068
Process swapper (pid: 0, threadinfo=f7f44000 task=f7f411f0)
Stack: f704ca9c f6d4244c 00001000 80001c00 f6ced14c 01000000 00000000 00000001
00000000 f6ce9218 f6ce9c60 00000000 c1a17660 f704cca4 f6ced14c f6ced100
f704ca9c f7f45ed0 f89d24bc f704ca9c f6ced100 00000000 00000001 00000000
Call Trace:
[<f89d24bc>] scan_async+0x7e/0x125 [ehci_hcd]
[<f89d441a>] ehci_watchdog+0x0/0xcd [ehci_hcd]
[<f89d4f47>] ehci_work+0x35/0xbb [ehci_hcd]
[<f89d4482>] ehci_watchdog+0x68/0xcd [ehci_hcd]
[<c012ac18>] run_timer_softirq+0xed/0x226
[<c0126192>] do_softirq+0xc6/0xc8
[<c0116319>] smp_apic_timer_interrupt+0xd9/0x141
[<c0109aa2>] apic_timer_interrupt+0x1a/0x20
[<c0106b19>] default_idle+0x0/0x31
[<c0106b45>] default_idle+0x2c/0x31
[<c0106bb8>] cpu_idle+0x36/0x3f
[<c0121c47>] printk+0x198/0x268
Code: 89 50 04 89 02 c7 41 04 00 02 20 00 c7 46 38 00 01 10 00 89 <0> Kernel panic: Fatal exception in interrupt In interrupt handler - not syncing
another example:
Unable to handle kernel paging request at virtual address 00100104
printing eip:
f8a34fb9
*pde = 00000000
Oops: 0002 [#1]
SMP
CPU: 0
EIP: 0060:[<f8a34fb9>] Not tainted
EFLAGS: 00010246 (2.6.6-rc1)
EIP is at qh_completions+0x162/0x35d [ehci_hcd]
eax: 00100100 ebx: 00001c00 ecx: f6ea12d8 edx: 00200200
esi: f5ea12a0 edi: f75fd460 ebp: c0343eac esp: c0343e68
ds: 007b es: 007b ss: 0068
Process swapper (pid: 0, threadinfo=f7f44000 task=c02d2bc0)
Stack: f7153900 f75fd460 00001000 00001c00 f6ea214c 01343eb0 00000000 00000004
00000000 f6ea1338 f6ea1c60 00000000 c1810880 c0343ec0 f6ea214c f6ea2100
f7153900 c0343ed8 f8a35ded f7153900 f6ea2100 c0343f8c c0343ef8 00000000
Call Trace:
[<f8a35ded>] scan_async+0x7e/0x125 [ehci_hcd]
[<f8a382c0>] ehci_work+0x35/0xbb [ehci_hcd]
[<f8a3842a>] ehci_irq+0xe4/0x135 [ehci_hcd]
[<f8ba0427>] usb_hcd_irq+0x35/0x64 [usbcore]
[<c010801d>] handle_IRQ_event+0x39/0x62
[<c010844d>] do_IRQ+0xdd/0x21a
[<c01128c9>] smp_apic_timer_interrupt+0xd9/0x141
[<c01067c8>] common_interrupt+0x18/0x20
[<c0103db9>] default_idle+0x0/0x31
[<c0103de5>] default_idle+0x2c/0x31
[<c0103e58>] cpu_idle+0x36/0x3f
[<c03448b6>] start_kernel+0x1c0/0x222
[<c0344454>] unknown_bootoption+0x0/0x108
Code: 89 50 04 89 02 c7 41 04 00 02 20 00 c7 46 38 00 01 10 00 89 <0> Kernel panic: Fatal exception in interrupt In interrupt handler - not syncing
----------------
There are other Call Traces, but they have all
EIP is at qh_completions+0x162/0x35d [ehci_hcd]
and
[<>] scan_async+0x7e/0x125 [ehci_hcd]
in common.
----------------
The single Maxtor disks works without problems, when setting max_sectors to 128.
When reducing max_sectors to 16, also the configuration with multiple disks works fine.
The same kernel with maxcpus=1 works fine with the max. possible max_sectors setting.
BTW, did anyone try to use a large number (50-100) of external HDDs yet??
Andreas Hirstius
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel