connecting gigaset USB device causes null pointer error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Jaunty |
Fix Released
|
Medium
|
Stefan Bader |
Bug Description
SRU justification:
Impact: One of the updates from 2.6.28.10 for unknown reasons messed up the backport of the patch from upstream, placing some code at the wrong place which causes an Oops as soon as the module is loaded and the hardware gets probed.
Fix: Move the code section to the same place the upstream patch had intended the code to go.
Testcase: Plugging in the Gigaset ISDN hardware, which causes the module to be loaded and the hardware to be probed (fix verified by reporter).
---
Binary package hint: linux-image-
Ubuntu: 9.04 64bit
Since upgrading to the regular 2.6.28-15 kernel, there's an error when connecting a gigaset ISDN phone via USB:
snippet from /var/log/kern.log:
Aug 23 01:12:33 sith kernel: [10943.104011] usb 7-2: new full speed USB device using uhci_hcd and address 2
Aug 23 01:12:33 sith kernel: [10943.309106] usb 7-2: configuration #1 chosen from 1 choice
Aug 23 01:12:33 sith kernel: [10943.382989] ISDN subsystem Rev: 1.1.2.3/
Aug 23 01:12:33 sith kernel: [10943.393660] gigaset: Hansjoerg Lipp <email address hidden>, Tilman Schmidt <email address hidden>, Stefan Eilers
Aug 23 01:12:33 sith kernel: [10943.393663] gigaset: Driver for Gigaset 307x
Aug 23 01:12:33 sith kernel: [10943.406219] BUG: unable to handle kernel NULL pointer dereference at 0000000000000158
Aug 23 01:12:33 sith kernel: [10943.406223] IP: [<ffffffffa0c83
Aug 23 01:12:33 sith kernel: [10943.406229] PGD 15dc6f067 PUD 16c840067 PMD 0
Aug 23 01:12:33 sith kernel: [10943.406233] Oops: 0002 [#1] SMP
Aug 23 01:12:33 sith kernel: [10943.406235] last sysfs file: /sys/devices/
Aug 23 01:12:33 sith kernel: [10943.406239] Dumping ftrace buffer:
Aug 23 01:12:33 sith kernel: [10943.406241] (ftrace buffer empty)
Aug 23 01:12:33 sith kernel: [10943.406243] CPU 1
Aug 23 01:12:33 sith kernel: [10943.406244] Modules linked in: bas_gigaset(+) gigaset isdn crc_ccitt bridge stp bnep binfmt_misc vmnet ppdev parport_pc vmblock vmci vmmon video output input_polldev deflate zlib_deflate ctr twofish twofish_common camellia serpent blowfish des_generic cbc aes_x86_64 aes_generic xcbc rmd160 sha256_generic sha1_generic crypto_null af_key dm_crypt coretemp lp parport tuner_simple snd_hda_intel tuner_types snd_pcm_oss snd_mixer_oss tuner tvaudio snd_bt87x msp3400 snd_pcm snd_seq_dummy bttv snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event ir_common snd_seq compat_ioctl32 videodev v4l1_compat snd_timer snd_seq_device i2c_algo_bit psmouse v4l2_common snd videobuf_dma_sg videobuf_core btcx_risc soundcore serio_raw snd_page_alloc tveeprom intel_agp iTCO_wdt iTCO_vendor_support nvidia(P) pcspkr joydev usbhid r8169 mii floppy raid10 raid456 async_xor async_memcpy async_tx xor raid1 raid0 multipath linear fbcon tileblit font bitblit softcursor
Aug 23 01:12:33 sith kernel: [10943.406303] Pid: 11815, comm: modprobe Tainted: P 2.6.28-15-generic #49-Ubuntu
Aug 23 01:12:33 sith kernel: [10943.406305] RIP: 0010:[<
Aug 23 01:12:33 sith kernel: [10943.406310] RSP: 0018:ffff880194
Aug 23 01:12:33 sith kernel: [10943.406312] RAX: ffff8801acc13880 RBX: ffff8801818b1430 RCX: 0000000000000002
Aug 23 01:12:33 sith kernel: [10943.406314] RDX: ffff88002804efe0 RSI: 00000000000000d0 RDI: 0000000000000282
Aug 23 01:12:33 sith kernel: [10943.406315] RBP: ffff880194de3bf8 R08: 0000000000000001 R09: ffff880194de3908
Aug 23 01:12:33 sith kernel: [10943.406317] R10: 0000000000000001 R11: ffff880194de3ac8 R12: ffff8801a3c9d088
Aug 23 01:12:33 sith kernel: [10943.406319] R13: ffff880196856398 R14: ffff8801a3c9d000 R15: ffff8801818b1400
Aug 23 01:12:33 sith kernel: [10943.406321] FS: 00007f1ff45376f
Aug 23 01:12:33 sith kernel: [10943.406323] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Aug 23 01:12:33 sith kernel: [10943.406325] CR2: 0000000000000158 CR3: 000000017b0a0000 CR4: 00000000000006a0
Aug 23 01:12:33 sith kernel: [10943.406327] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Aug 23 01:12:33 sith kernel: [10943.406329] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Aug 23 01:12:33 sith kernel: [10943.406331] Process modprobe (pid: 11815, threadinfo ffff880194de2000, task ffff8801845bc320)
Aug 23 01:12:33 sith kernel: [10943.406333] Stack:
Aug 23 01:12:33 sith kernel: [10943.406334] ffffffff80532438 ffff8801a3c9d000 ffff880194de3be8 ffffffff80532b80
Aug 23 01:12:33 sith kernel: [10943.406337] ffff8801818b1430 ffff8801818b1430 0000000000000000 ffff8801818b1400
Aug 23 01:12:33 sith kernel: [10943.406341] ffffffffa0c89ac8 ffffffffa0c8d628 ffff880194de3c48 ffffffff80533293
Aug 23 01:12:33 sith kernel: [10943.406345] Call Trace:
Aug 23 01:12:33 sith kernel: [10943.406346] [<ffffffff80532
Aug 23 01:12:33 sith kernel: [10943.406352] [<ffffffff80532
Aug 23 01:12:33 sith kernel: [10943.406357] [<ffffffff80533
Aug 23 01:12:33 sith kernel: [10943.406363] [<ffffffff804ba
Aug 23 01:12:33 sith kernel: [10943.406368] [<ffffffff804ba
Aug 23 01:12:33 sith kernel: [10943.406371] [<ffffffff804ba
Aug 23 01:12:33 sith kernel: [10943.406373] [<ffffffff804ba
Aug 23 01:12:33 sith kernel: [10943.406376] [<ffffffff804b9
Aug 23 01:12:33 sith kernel: [10943.406380] [<ffffffff804ba
Aug 23 01:12:33 sith kernel: [10943.406382] [<ffffffff804b9
Aug 23 01:12:33 sith kernel: [10943.406387] [<ffffffff804ba
Aug 23 01:12:33 sith kernel: [10943.406391] [<ffffffff80533
Aug 23 01:12:33 sith kernel: [10943.406395] [<ffffffffa003f
Aug 23 01:12:33 sith kernel: [10943.406399] [<ffffffffa003f
Aug 23 01:12:33 sith kernel: [10943.406403] [<ffffffff8020a
Aug 23 01:12:33 sith kernel: [10943.406406] [<ffffffff802d0
Aug 23 01:12:33 sith kernel: [10943.406411] [<ffffffff802d0
Aug 23 01:12:33 sith kernel: [10943.406414] [<ffffffff8027f
Aug 23 01:12:33 sith kernel: [10943.406421] [<ffffffff8027f
Aug 23 01:12:33 sith kernel: [10943.406424] [<ffffffff80212
Aug 23 01:12:33 sith kernel: [10943.406428] Code: 00 00 00 4c 89 f7 e8 e5 d6 8a df 85 c0 0f 88 b7 03 00 00 4d 8b 6f 08 be d0 00 00 00 48 c7 c7 b8 bc 9a 80 e8 28 e9 65 df 48 85 c0 <48> 89 04 25 58 01 00 00 74 56 41 0f b6 5d 05 80 fb ff 74 65 49
Aug 23 01:12:33 sith kernel: [10943.406456] RIP [<ffffffffa0c83
Aug 23 01:12:33 sith kernel: [10943.406461] RSP <ffff880194de3ba8>
Aug 23 01:12:33 sith kernel: [10943.406462] CR2: 0000000000000158
Aug 23 01:12:33 sith kernel: [10943.406464] ---[ end trace c50f091eb174654e ]---
This prevents the system from shutting down, hibernating or going to standby properly. If a type "lsusb" the shell hangs forever.
Up to the previous kernel (linux-
Aug 23 11:29:35 sith kernel: [ 158.416016] usb 7-2: new full speed USB device using uhci_hcd and address 2
Aug 23 11:29:35 sith kernel: [ 158.617889] usb 7-2: configuration #1 chosen from 1 choice
Aug 23 11:29:35 sith kernel: [ 158.697746] ISDN subsystem Rev: 1.1.2.3/
Aug 23 11:29:35 sith kernel: [ 158.707560] gigaset: Hansjoerg Lipp <email address hidden>, Tilman Schmidt <email address hidden>, Stefan Eilers
Aug 23 11:29:35 sith kernel: [ 158.707563] gigaset: Driver for Gigaset 307x
Aug 23 11:29:35 sith kernel: [ 158.718944] usb 7-2: gigaset_probe: Device matched (Vendor: 0x681, Product: 0x22)
Aug 23 11:29:35 sith kernel: [ 158.719024] usbcore: registered new interface driver bas_gigaset
Aug 23 11:29:35 sith kernel: [ 158.719027] bas_gigaset: Tilman Schmidt <email address hidden>, Hansjoerg Lipp <email address hidden>, Stefan Eilers
Aug 23 11:29:35 sith kernel: [ 158.719029] bas_gigaset: USB Driver for Gigaset 307x
In linux-image-
$ lsusb
Bus 002 Device 002: ID 04e8:2004 Samsung Electronics Co., Ltd
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 002: ID 046d:c529 Logitech, Inc.
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 002: ID 0681:0022 Siemens Information and Communication Products Gigaset SX353 ISDN
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
tags: | added: regression-update |
description: | updated |
Changed in linux (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Jaunty): | |
assignee: | nobody → Stefan Bader (stefan-bader-canonical) |
importance: | Undecided → Medium |
status: | New → Fix Committed |
Changed in linux (Ubuntu): | |
assignee: | Stefan Bader (stefan-bader-canonical) → nobody |
status: | Fix Committed → Fix Released |
tags: |
added: verification-done removed: verification-needed |
Hi darthvader,
And just to completely confirm, this was not an issue with 2.6.28-14 (ie this is a regression). Thanks.