lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 31 Dec 2008 15:50:45 +0100
From:	David Flatz <david@...s.at>
To:	linux-kernel@...r.kernel.org
Subject: PROBLEM: Oops when using emi62 with 2.6.28

When I plug my Emagic emi 2|6 soundcard into my system usually the emi62
module loads the firmware on the card and I can use it as a normal
usb-audio device.

With kernel 2.6.28 (and I don't really know which version of the kernel
introcudes this since I didn't use the card for quite a while) the
firmware gets loaded (the green lights on the card turn on) but the emi62
module crashes with an oops and then I can't use any usb device anymore
until I reboot.


Keywords: emi62 soundcard usb firmware oops


Kernel information:
Version: Linux pornomat 2.6.28 #2 SMP Wed Dec 31 15:11:53 CET 2008 i686 Intel(R) Core(TM) Duo CPU L2400 @ 1.66GHz GenuineIntel GNU/Linux
.config: see attachment


I don't know which version of the kernel does not have the bug but I
believe it worked with 2.6.27.2.


Oops:
usb 1-1: new full speed USB device using uhci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
emi26 - firmware loader 1-1:1.0: emi26_probe start
usb 1-1: firmware: requesting emi26/loader.fw
usb 1-1: firmware: requesting emi26/bitstream.fw
usb 1-1: firmware: requesting emi26/firmware.fw
usb 1-1: emi26_set_reset - 1
usb 1-1: emi26_set_reset - 0
BUG: unable to handle kernel NULL pointer dereference at 00000000
IP: [<f80dc487>] emi26_probe+0x2f7/0x620 [emi26]
*pde = 00000000 
Oops: 0000 [#1] SMP 
last sysfs file: /sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/firmware/1-1/loading
Modules linked in: emi26(+) ipv6 cpufreq_ondemand coretemp arc4 ecb iwl3945 irtty_sir sir_dev nsc_ircc ehci_hcd uhci_hcd mac80211 irda usbcore snd_hda_intel thinkpad_acpi rfkill hwmon led_class e1000e snd_pcm cfg80211 snd_timer crc_ccitt snd snd_page_alloc aes_generic

Pid: 5082, comm: modprobe Not tainted (2.6.28 #2) 17023QG
EIP: 0060:[<f80dc487>] EFLAGS: 00010206 CPU: 0
EIP is at emi26_probe+0x2f7/0x620 [emi26]
EAX: 0000015c EBX: 00000000 ECX: c1ffd9c0 EDX: 00000000
ESI: 0000015c EDI: f6bb215c EBP: f6bb0400 ESP: f00ebcfc
 DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Process modprobe (pid: 5082, ti=f00ea000 task=f5c7c700 task.ti=f00ea000)
Stack:
 0000015c 000000a5 f6a67cb8 f80dc7e0 c01c6262 fbef2986 f6bb2000 00008fe0
 0000015c f715f748 f715f740 f715f738 f715f748 f6a67c00 f80dd040 f80dcfc0
 f6bb0400 fbacb290 f6a67c94 fbae0160 c01c70bf 00000000 f6a67c1c 00000000
Call Trace:
 [<c01c6262>] sysfs_add_one+0x12/0x50
 [<fbacb290>] usb_probe_interface+0xa0/0x140 [usbcore]
 [<c01c70bf>] sysfs_create_link+0xf/0x20
 [<c02dead2>] driver_probe_device+0x82/0x180
 [<fbac9eeb>] usb_match_id+0x3b/0x50 [usbcore]
 [<c02dec4e>] __driver_attach+0x7e/0x80
 [<c02de27a>] bus_for_each_dev+0x3a/0x60
 [<c02de956>] driver_attach+0x16/0x20
 [<c02debd0>] __driver_attach+0x0/0x80
 [<c02de7b1>] bus_add_driver+0x1a1/0x220
 [<c02dee4d>] driver_register+0x4d/0x120
 [<c024e622>] idr_get_empty_slot+0xf2/0x290
 [<fbacab71>] usb_register_driver+0x81/0x100 [usbcore]
 [<f806c000>] emi26_init+0x0/0x14 [emi26]
 [<c0101126>] do_one_initcall+0x36/0x1b0
 [<c01c5e70>] sysfs_ilookup_test+0x0/0x10
 [<c0197a61>] ifind+0x31/0x90
 [<c01c6229>] __sysfs_add_one+0x59/0x80
 [<c01c64e4>] sysfs_addrm_finish+0x14/0x1c0
 [<c0175ca3>] __vunmap+0xa3/0xd0
 [<c014b854>] load_module+0x1544/0x1640
 [<c014b9d7>] sys_init_module+0x87/0x1b0
 [<c0187f41>] sys_read+0x41/0x70
 [<c01032a5>] sysenter_do_call+0x12/0x21
 [<c03d0000>] wait_for_common+0x40/0x110
Code: 66 c1 e8 08 66 09 d0 75 a5 31 d2 89 e8 e8 72 fc ff ff 85 c0 0f 88 9a 02 00 00 b8 fa 00 00 00 e8 30 46 05 c8 8b 74 24 28 8b 5e 04 <8b> 03 89 44 24 1c 0f c8 89 44 24 1c 0f b7 4b 04 c7 44 24 20 00 
EIP: [<f80dc487>] emi26_probe+0x2f7/0x620 [emi26] SS:ESP 0068:f00ebcfc
---[ end trace 2eefa13825431230 ]---


Environment:
I'm using a lenovo ThinkPad X60s with gentoo.

Gnu C                  4.2.4
Gnu make               3.81
binutils               2.18
util-linux             2.14.1
mount                  support
module-init-tools      found
Linux C Library        2.6.1
Dynamic linker (ldd)   2.6.1
Procps                 3.2.7
Kbd                    1.13
Sh-utils               6.10
udev                   124
Modules Loaded         emi26 ipv6 cpufreq_ondemand coretemp arc4 ecb iwl3945 irtty_sir sir_dev nsc_ircc ehci_hcd uhci_hcd mac80211 irda usbcore snd_hda_intel thinkpad_acpi rfkill hwmon led_class e1000e snd_pcm cfg80211 snd_timer crc_ccitt snd snd_page_alloc aes_generic 


/proc/cpuinfo:
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 14
model name	: Intel(R) Core(TM) Duo CPU      L2400  @ 1.66GHz
stepping	: 12
cpu MHz		: 1000.000
cache size	: 2048 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc
arch_perfmon bts pni monitor vmx est tm2 xtpr pdcm
bogomips	: 3326.81
clflush size	: 64
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 14
model name	: Intel(R) Core(TM) Duo CPU      L2400  @ 1.66GHz
stepping	: 12
cpu MHz		: 1000.000
cache size	: 2048 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc
arch_perfmon bts pni monitor vmx est tm2 xtpr pdcm
bogomips	: 3326.58
clflush size	: 64
power management:


/proc/modules:
emi26 6612 1 - Loading 0xf80dc000
ipv6 225780 18 - Live 0xfbbf4000
cpufreq_ondemand 8844 1 - Live 0xf81f8000
coretemp 7872 0 - Live 0xf81c3000
arc4 3776 2 - Live 0xf807c000
ecb 4672 2 - Live 0xf8065000
iwl3945 87928 0 - Live 0xfbae4000
irtty_sir 6976 0 - Live 0xf8068000
sir_dev 12676 1 irtty_sir, Live 0xf805f000
nsc_ircc 17936 0 - Live 0xf80e6000
ehci_hcd 34508 0 - Live 0xf80d1000
uhci_hcd 23628 0 - Live 0xf80c2000
mac80211 126352 1 iwl3945, Live 0xfbd64000
irda 105784 2 sir_dev,nsc_ircc, Live 0xf82e2000
usbcore 133008 4 emi26,ehci_hcd,uhci_hcd, Live 0xfbac1000
snd_hda_intel 401232 0 - Live 0xfbdf8000
thinkpad_acpi 55392 0 - Live 0xf81b3000
rfkill 11724 3 iwl3945,thinkpad_acpi, Live 0xf81a6000
hwmon 4252 2 coretemp,thinkpad_acpi, Live 0xf80e0000
led_class 5508 2 iwl3945,thinkpad_acpi, Live 0xf806e000
e1000e 109232 0 - Live 0xf829f000
snd_pcm 67588 1 snd_hda_intel, Live 0xf828c000
cfg80211 31312 2 iwl3945,mac80211, Live 0xf8282000
snd_timer 20680 1 snd_pcm, Live 0xf81f0000
crc_ccitt 3840 1 irda, Live 0xf81b0000
snd 43956 3 snd_hda_intel,snd_pcm,snd_timer, Live 0xf80f4000
snd_page_alloc 10120 2 snd_hda_intel,snd_pcm, Live 0xf80ec000
aes_generic 29352 2 - Live 0xf8072000


/proc/ioports:
0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-0060 : keyboard
0064-0064 : keyboard
0070-0077 : rtc
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : 0000:00:1f.1
  0170-0177 : piix
01f0-01f7 : 0000:00:1f.1
  01f0-01f7 : piix
02f8-02ff : nsc-ircc
0376-0376 : 0000:00:1f.1
  0376-0376 : piix
03f6-03f6 : 0000:00:1f.1
  03f6-03f6 : piix
0800-080f : pnp 00:02
0cf8-0cff : PCI conf1
1000-107f : 0000:00:1f.0
  1000-107f : pnp 00:02
    1000-1003 : ACPI PM1a_EVT_BLK
    1004-1005 : ACPI PM1a_CNT_BLK
    1008-100b : ACPI PM_TMR
    1010-1015 : ACPI CPU throttle
    1020-1020 : ACPI PM2_CNT_BLK
    1028-102f : ACPI GPE0_BLK
1180-11bf : 0000:00:1f.0
  1180-11bf : pnp 00:02
15e0-15ef : pnp 00:02
164e-164f : pnp 00:02
1800-1807 : 0000:00:02.0
1810-181f : 0000:00:1f.1
  1810-181f : piix
1820-183f : 0000:00:1d.0
  1820-183f : uhci_hcd
1840-185f : 0000:00:1d.1
  1840-185f : uhci_hcd
1860-187f : 0000:00:1d.2
  1860-187f : uhci_hcd
1880-189f : 0000:00:1d.3
  1880-189f : uhci_hcd
18b0-18bf : 0000:00:1f.2
  18b0-18bf : ahci
18c0-18c3 : 0000:00:1f.2
  18c0-18c3 : ahci
18c4-18c7 : 0000:00:1f.2
  18c4-18c7 : ahci
18c8-18cf : 0000:00:1f.2
  18c8-18cf : ahci
18d0-18d7 : 0000:00:1f.2
  18d0-18d7 : ahci
18e0-18ff : 0000:00:1f.3
  18e0-18ff : i801_smbus
2000-2fff : PCI Bus 0000:02
  2000-201f : 0000:02:00.0
3000-4fff : PCI Bus 0000:03
5000-6fff : PCI Bus 0000:04
7000-8fff : PCI Bus 0000:0c
9000-cfff : PCI Bus 0000:15
  9000-90ff : PCI CardBus 0000:16
  9400-94ff : PCI CardBus 0000:16


/proc/iomem:
00000000-0009efff : System RAM
0009f000-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000c8000-000cbfff : pnp 00:00
000cf000-000cffff : Adapter ROM
000d0000-000d0fff : Adapter ROM
000d2000-000d3fff : reserved
000dc000-000fffff : reserved
  000dc000-000dffff : Adapter ROM
  000f0000-000fffff : System ROM
00100000-7f69ffff : System RAM
  00100000-003d2829 : Kernel code
  003d282a-0050857b : Kernel data
  007a6000-007f071f : Kernel bss
7f6a0000-7f6b9fff : ACPI Tables
7f6ba000-7f6fffff : ACPI Non-volatile Storage
7f700000-7fffffff : reserved
88000000-8bffffff : PCI CardBus 0000:16
8c000000-8c000fff : Intel Flush Page
d0000000-dfffffff : 0000:00:02.0
  d0000000-dfffffff : intelfb
e0000000-e3ffffff : PCI Bus 0000:15
  e0000000-e3ffffff : PCI CardBus 0000:16
e4000000-e40fffff : PCI Bus 0000:03
e4100000-e41fffff : PCI Bus 0000:04
e4200000-e42fffff : PCI Bus 0000:0c
e4300000-e7ffffff : PCI Bus 0000:15
  e4300000-e4300fff : 0000:15:00.0
  e4301000-e43017ff : 0000:15:00.1
  e4301800-e43018ff : 0000:15:00.2
e8000000-e9ffffff : PCI Bus 0000:04
ea000000-ebffffff : PCI Bus 0000:0c
ec000000-edffffff : PCI Bus 0000:03
  edf00000-edf00fff : 0000:03:00.0
    edf00000-edf00fff : iwl3945
ee000000-ee0fffff : PCI Bus 0000:02
  ee000000-ee01ffff : 0000:02:00.0
    ee000000-ee01ffff : e1000e
ee100000-ee17ffff : 0000:00:02.0
  ee100000-ee17ffff : intelfb
ee180000-ee1fffff : 0000:00:02.1
ee200000-ee23ffff : 0000:00:02.0
ee240000-ee243fff : 0000:00:1b.0
  ee240000-ee243fff : ICH HD audio
ee444000-ee4443ff : 0000:00:1d.7
  ee444000-ee4443ff : ehci_hcd
ee444400-ee4447ff : 0000:00:1f.2
  ee444400-ee4447ff : ahci
f0000000-f3ffffff : PCI MMCONFIG 0
  f0000000-f3ffffff : reserved
    f0000000-f3ffffff : pnp 00:02
fec00000-fec0ffff : reserved
  fec00000-fec00fff : IOAPIC 0
fed00000-fed003ff : HPET 0
  fed00000-fed003ff : reserved
fed14000-fed19fff : reserved
  fed14000-fed17fff : pnp 00:02
  fed18000-fed18fff : pnp 00:02
  fed19000-fed19fff : pnp 00:02
fed1c000-fed8ffff : reserved
  fed1c000-fed1ffff : pnp 00:02
fee00000-fee00fff : Local APIC
  fee00000-fee00fff : reserved
ff800000-ffffffff : reserved


I tried to send this mail to Tapio Laxtröm but I couldn't find a working
e-mail address.

Regards and a happy New Year,

David Flatz

View attachment ".config" of type "text/plain" (56663 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ