mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* USB bugs in 2.6.11.8, 2.6.11.10 and 2.6.12.2
@ 2005-07-07  9:22 Markus   Törnqvist
  2005-07-07 13:38 ` Markus   Törnqvist
  0 siblings, 1 reply; 4+ messages in thread
From: Markus   Törnqvist @ 2005-07-07  9:22 UTC (permalink / raw)
  To: linux-kernel, linux-usb-devel


[-- Attachment #1.1: Type: text/plain, Size: 1257 bytes --]

Hi!

I got some weird badness on two Dell PowerEdge 2850 (64-bit SMP Xeon)
boxes. One of them is all identical with one that runs ok, so I
attached that one's ksymoops information in this message.

The one that works just fine was installed locally (iirc) so this
may be an issue with Dell's Remote Administration Console's
VGA console redirection and its emulation of USB for input, maybe?

My first guess was just hardware failure, but it's a bit unlikely
on two boxes, especially now that I installed the boxes with a 32-bit
kernel and everything's fine.

Needless to say both I and the customer would want the 64-bit
one working :)

The boxes are situated some 3000km from here so getting hard
forensics is kind of hard, but the Dell system can do a bit,
so please let me know ASAP if there's something more I can
try out.

Any ideas on why box number one works but these two don't?
"Sunspots and lunar positions" is not a good theory ;)

I put up everything I could easily dig out on
http://mjt.nysv.org/kernelbugfest/

It's just that the boxes don't boot far, as they get stuck in
that suspend/wakeup loop, so there's only one really complete
oops decode there from the identical working setup.

Thanks!

-- 
mjt


[-- Attachment #1.2: usb_bug_2.6.11.8-ck7s.ksymoops --]
[-- Type: text/plain, Size: 7128 bytes --]

ksymoops 2.4.9 on x86_64 2.6.11.8-ck7server-smpnice2-em64t.  Options used
     -V (default)
     -k /proc/kallsyms (specified)
     -l /proc/modules (default)
     -o /lib/modules/2.6.11.8-ck7server-smpnice2-em64t/ (default)
     -m /boot/System.map-2.6.11.8-ck7server-smpnice2-em64t (default)

Warning (read_ksyms): no kernel symbols in ksyms, is /proc/kallsyms a valid ksyms file?
No modules in ksyms, skipping objects
No ksyms, skipping lsmod
Kernel BUG at traps:324
invalid operand: 0000 [1] SMP 
CPU 1 
Pid: 633, comm: khubd Not tainted 2.6.11.8-ck7server-smpnice2-em64t
RIP: 0010:[<ffffffff8010fa0a>] <ffffffff8010fa0a>{out_of_line_bug+0}
Using defaults from ksymoops -t elf64-x86-64 -a i386:x86-64
RSP: 0018:ffff81013e725bd0  EFLAGS: 00010206
RAX: ffffffff00000000 RBX: ffff8100062841c0 RCX: 0000000000000040
RDX: 000000013f711780 RSI: ffff8100bfd58070 RDI: ffff8100062841c0
RBP: 000000013f711740 R08: 0000000000000040 R09: 00000000000003e8
R10: 0000000000000000 R11: 0000000000000002 R12: ffff810138e9fc00
R13: 0000000000000292 R14: ffff81013a125468 R15: 0000000000000010
FS:  00002aaaaae00640(0000) GS:ffffffff805fc200(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00002aaaaac6c640 CR3: 000000013a8b3000 CR4: 00000000000006e0
Stack: ffffffff8800fd7a 0000000300000000 <4>ffff8100062841c0 ffff81013a125400 
0000000000000002 <4>0000000000000010 uhci_hcd 0000:00:1d.2: irq 18, io base 0xbca0
0000000000000000 <4>0000000080000080 
       ffffffff8801088d uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
ffffffff805b8343 <4>
Call Trace:uhci_hcd 0000:00:1d.2: detected 2 ports
<ffffffff8800fd7a>{:usbcore:hcd_submit_urb+460}<4> usb usb3: new device strings: Mfr=3, Product=2, SerialNumber=1
<ffffffff8801088d>{:usbcore:usb_submit_urb+847}<4> 
<ffffffff88010ad5>{:usbcore:usb_start_wait_urb+88}<4> 
<ffffffff80124f27>{vprintk+323}<4> <ffffffff80124ddc>{printk+141} 
<ffffffff88010c55>{:usbcore:usb_internal_control_msg+137}usb usb3: hotplug
<ffffffff88010d13>{:usbcore:usb_control_msg+143}<4> usb 3-0:1.0: hotplug
<ffffffff8800d53f>{:usbcore:hub_port_init+627}<4> 
<ffffffff8023711d>{kobject_get+18}<4> hub 3-0:1.0: USB hub found
<ffffffff8800dc4f>{:usbcore:hub_port_connect_change+535}<4> 
<4><ffffffff8800e249>{:usbcore:hub_events+955}<4> hub 3-0:1.0: individual port over-current protection
<ffffffff8800e37d>{:usbcore:hub_thread+37}<4> 
<ffffffff80139509>{autoremove_wake_function+0}<4> hub 3-0:1.0: local power source is good
<ffffffff8011e999>{finish_task_switch+64} 
       <ffffffff80139509>{autoremove_wake_function+0} <ffffffff8011ea00>{schedule_tail+17} 
       <ffffffff8010eeb3>{child_rip+8} <ffffffff8800e358>{:usbcore:hub_thread+0} 
       <ffffffff8010eeab>{child_rip+0} 
Code: 0f 0b a3 fd 3d 80 ff ff ff ff 44 01 c3 8b 35 87 60 4a 00 53 


>>RIP; ffffffff8010fa0a <out_of_line_bug+0/d>   <=====

Trace; ffffffff8800fd7a <_end+79d9d7a/7efca000>
Trace; ffffffff8801088d <_end+79da88d/7efca000>
Trace; ffffffff88010ad5 <_end+79daad5/7efca000>
Trace; ffffffff80124f27 <vprintk+143/14a>
Trace; ffffffff88010c55 <_end+79dac55/7efca000>
Trace; ffffffff88010d13 <_end+79dad13/7efca000>
Trace; ffffffff8800d53f <_end+79d753f/7efca000>
Trace; ffffffff8023711d <kobject_get+12/17>
Trace; ffffffff8800dc4f <_end+79d7c4f/7efca000>
Trace; ffffffff8800e249 <_end+79d8249/7efca000>
Trace; ffffffff8800e37d <_end+79d837d/7efca000>
Trace; ffffffff80139509 <autoremove_wake_function+0/2e>
Trace; ffffffff8011e999 <finish_task_switch+40/96>
Trace; ffffffff80139509 <autoremove_wake_function+0/2e>
Trace; ffffffff8010eeb3 <child_rip+8/11>
Trace; ffffffff8010eeab <child_rip+0/11>

Code;  ffffffff8010fa0a <out_of_line_bug+0/d>
0000000000000000 <_RIP>:
Code;  ffffffff8010fa0a <out_of_line_bug+0/d>   <=====
   0:   0f 0b                     ud2a      <=====
Code;  ffffffff8010fa0c <out_of_line_bug+2/d>
   2:   a3 fd 3d 80 ff ff ff      mov    %eax,0x44ffffffff803dfd
Code;  ffffffff8010fa13 <out_of_line_bug+9/d>
   9:   ff 44 
Code;  ffffffff8010fa15 <out_of_line_bug+b/d>
   b:   01 c3                     add    %eax,%ebx
Code;  ffffffff8010fa17 <oops_begin+0/91>
   d:   8b 35 87 60 4a 00         mov    4874375(%rip),%esi        # 4a609a <_RIP+0x4a609a>
Code;  ffffffff8010fa1d <oops_begin+6/91>
  13:   53                        push   %rbx

Call Trace:<ffffffff80275f7d>{poke_blanked_console+63} <ffffffff802750a5>{vt_console_print+715} 
       <ffffffff80124ad3>{__call_console_drivers+71} <ffffffff80124c23>{call_console_drivers+232} 
       <ffffffff80125013>{release_console_sem+90} <ffffffff80124f16>{vprintk+306} 
       <ffffffff80124ddc>{printk+141} <ffffffff88010d1d>{:usbcore:usb_control_msg+153} 
       <ffffffff8800b400>{:usbcore:get_hub_status+72} <ffffffff88011a4f>{:usbcore:usb_get_status+130} 
       <ffffffff8800b9d2>{:usbcore:hub_hub_status+46} <ffffffff8800c0d1>{:usbcore:hub_configure+1672} 
       <ffffffff8800c563>{:usbcore:hub_probe+402} <ffffffff8800a0d2>{:usbcore:usb_probe_interface+204} 
       <ffffffff80281ef6>{driver_probe_device+78} <ffffffff80281f78>{device_attach+84} 
       <ffffffff8028224b>{bus_add_device+97} <ffffffff80281198>{device_add+149} 
       <ffffffff88012432>{:usbcore:usb_set_configuration+984} 
       <ffffffff80195c04>{sysfs_make_dirent+41} <ffffffff8800ccc2>{:usbcore:usb_new_device+369} 
       <ffffffff8800f6e4>{:usbcore:usb_register_root_hub+241} 
       <ffffffff88046294>{:ehci_hcd:ehci_start+1105} <ffffffff8801848f>{:usbcore:usbfs_add_bus+176} 
       <ffffffff88014734>{:usbcore:usb_hcd_pci_probe+1220} 
       <ffffffff8023fa2f>{pci_device_probe_static+62} <ffffffff8023fa7d>{__pci_device_probe+42} 
       <ffffffff8023facd>{pci_device_probe+48} <ffffffff80281ef6>{driver_probe_device+78} 
       <ffffffff80282002>{driver_attach+69} <ffffffff8028247f>{bus_add_driver+140} 
       <ffffffff8023fd3b>{pci_register_driver+132} <ffffffff8013d5c2>{sys_init_module+299} 
       <ffffffff8010e1d6>{system_call+126} 
Warning (Oops_read): Code line not seen, dumping what data is available


Trace; ffffffff80275f7d <poke_blanked_console+3f/be>
Trace; ffffffff80124ad3 <__call_console_drivers+47/55>
Trace; ffffffff80125013 <release_console_sem+5a/df>
Trace; ffffffff80124ddc <printk+8d/95>
Trace; ffffffff8800b400 <_end+79d5400/7efca000>
Trace; ffffffff8800b9d2 <_end+79d59d2/7efca000>
Trace; ffffffff8800c563 <_end+79d6563/7efca000>
Trace; ffffffff80281ef6 <driver_probe_device+4e/7c>
Trace; ffffffff8028224b <bus_add_device+61/a4>
Trace; ffffffff88012432 <_end+79dc432/7efca000>
Trace; ffffffff80195c04 <sysfs_make_dirent+29/a2>
Trace; ffffffff8800f6e4 <_end+79d96e4/7efca000>
Trace; ffffffff88046294 <_end+7a10294/7efca000>
Trace; ffffffff88014734 <_end+79de734/7efca000>
Trace; ffffffff8023fa2f <pci_device_probe_static+3e/62>
Trace; ffffffff8023facd <pci_device_probe+30/50>
Trace; ffffffff80282002 <driver_attach+45/7f>
Trace; ffffffff8023fd3b <pci_register_driver+84/a4>
Trace; ffffffff8010e1d6 <system_call+7e/83>


2 warnings issued.  Results may not be reliable.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: USB bugs in 2.6.11.8, 2.6.11.10 and 2.6.12.2
  2005-07-07  9:22 USB bugs in 2.6.11.8, 2.6.11.10 and 2.6.12.2 Markus   Törnqvist
@ 2005-07-07 13:38 ` Markus   Törnqvist
  2005-07-11 14:06   ` Markus   Törnqvist
       [not found]   ` <mailman.1121132100.14735.linux-kernel2news@redhat.com>
  0 siblings, 2 replies; 4+ messages in thread
From: Markus   Törnqvist @ 2005-07-07 13:38 UTC (permalink / raw)
  To: linux-kernel, linux-usb-devel; +Cc: linux-poweredge

[-- Attachment #1: Type: text/plain, Size: 2231 bytes --]

(Gotta love replying to oneself ;)

On Thu, Jul 07, 2005 at 12:22:58PM +0300, Markus   Törnqvist wrote:
>Hi!
>
>I got some weird badness on two Dell PowerEdge 2850 (64-bit SMP Xeon)
>boxes. One of them is all identical with one that runs ok, so I
>attached that one's ksymoops information in this message.
>
>The one that works just fine was installed locally (iirc) so this
>may be an issue with Dell's Remote Administration Console's
>VGA console redirection and its emulation of USB for input, maybe?
>
>My first guess was just hardware failure, but it's a bit unlikely
>on two boxes, especially now that I installed the boxes with a 32-bit
>kernel and everything's fine.
>
>Needless to say both I and the customer would want the 64-bit
>one working :)
>
>The boxes are situated some 3000km from here so getting hard
>forensics is kind of hard, but the Dell system can do a bit,
>so please let me know ASAP if there's something more I can
>try out.
>
>Any ideas on why box number one works but these two don't?
>"Sunspots and lunar positions" is not a good theory ;)
>
>I put up everything I could easily dig out on
>http://mjt.nysv.org/kernelbugfest/
>
>It's just that the boxes don't boot far, as they get stuck in
>that suspend/wakeup loop, so there's only one really complete
>oops decode there from the identical working setup.

I reproduced this with vanilla 2.6.12.2 now, and I'm quoting
the entire message for the benefit of the guys over at
linux-poweredge@dell.com

To make it short, the suspend/wakeup loop didn't occur with 2.6.12.2
vanilla.

Still the bug happens, the box is apparently usable, but not
for the remote administration, so usability is quite shaky
a definition ;)

The relevant stuff is still at the url below, the two new interesting
files are:
http://mjt.nysv.org/kernelbugfest/usb_bug_2.6.12.2.ksymoops
http://mjt.nysv.org/kernelbugfest/netconsole_panic_2.6.12.2
(The netconsole issue is probably not related and I'll look into it
later, if ever, as we're not really using it...)

I also got a hint that disabling power management might help,
but that has to wait until tomorrow.. Anyone want to back
this theory? :)

Thanks!

-- 
mjt


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: USB bugs in 2.6.11.8, 2.6.11.10 and 2.6.12.2
  2005-07-07 13:38 ` Markus   Törnqvist
@ 2005-07-11 14:06   ` Markus   Törnqvist
       [not found]   ` <mailman.1121132100.14735.linux-kernel2news@redhat.com>
  1 sibling, 0 replies; 4+ messages in thread
From: Markus   Törnqvist @ 2005-07-11 14:06 UTC (permalink / raw)
  To: linux-kernel, linux-usb-devel; +Cc: linux-poweredge

[-- Attachment #1: Type: text/plain, Size: 272 bytes --]

Hi!

Sorry about the bother, enabling K8 IOMMU fixed the issues.
At least that's the most relevant change I made to the conf
to fix it.

For some reason I must have had a brainfart and not enabled it.

Thanks to Pauli Borodulin for noticing this :)

-- 
mjt


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: USB bugs in 2.6.11.8, 2.6.11.10 and 2.6.12.2
       [not found]   ` <mailman.1121132100.14735.linux-kernel2news@redhat.com>
@ 2005-07-13  5:19     ` Pete Zaitcev
  0 siblings, 0 replies; 4+ messages in thread
From: Pete Zaitcev @ 2005-07-13  5:19 UTC (permalink / raw)
  To: Markus   Törnqvist; +Cc: linux-kernel

On Mon, 11 Jul 2005 17:06:28 +0300, mjt@nysv.org (Markus   Törnqvist) wrote:

> Sorry about the bother, enabling K8 IOMMU fixed the issues.
> At least that's the most relevant change I made to the conf
> to fix it.

This is not a good reason for crashes though. All is well that ends
well, but perhaps Andi wants to make a mental note.

-- Pete

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-07-13  5:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-07  9:22 USB bugs in 2.6.11.8, 2.6.11.10 and 2.6.12.2 Markus   Törnqvist
2005-07-07 13:38 ` Markus   Törnqvist
2005-07-11 14:06   ` Markus   Törnqvist
     [not found]   ` <mailman.1121132100.14735.linux-kernel2news@redhat.com>
2005-07-13  5:19     ` Pete Zaitcev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome