From: Andrew Morton <akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
To: Justin Madru <jdm64-u1xxEuL7cY4AvxtiuMwx3w@public.gmane.org>
Cc: lkml <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Arjan van de Ven <arjan-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
Subject: Re: 2.6.30-rc1: OOPS on usb disk insert
Date: Tue, 7 Apr 2009 22:38:28 -0700 [thread overview]
Message-ID: <20090407223828.c9d2cb75.akpm@linux-foundation.org> (raw)
In-Reply-To: <49DC3094.5010607-u1xxEuL7cY4AvxtiuMwx3w@public.gmane.org>
(cc linux-scsi and linux-usb)
On Tue, 07 Apr 2009 22:05:24 -0700 Justin Madru <jdm64-u1xxEuL7cY4AvxtiuMwx3w@public.gmane.org> wrote:
> Hello,
>
> Testing out .30-rc1 and usb devises don't work. I insert my flash disk
> and get this oops.
> More information (dmesg, config, etc.) at
> http://jdserver.homelinux.org/bugreports/003/
It looks the async code blew up.
> usb 5-3: new high speed USB device using ehci_hcd and address 2
> usb 5-3: configuration #1 chosen from 1 choice
> Initializing USB Mass Storage driver...
> scsi2 : SCSI emulation for USB Mass Storage devices
> usb-storage: device found at 2
> usb-storage: waiting for device to settle before scanning
> usbcore: registered new interface driver usb-storage
> USB Mass Storage support registered.
> usb-storage: device scan complete
> scsi 2:0:0:0: Direct-Access SanDisk Cruzer Micro 8.01 PQ: 0
> ANSI: 0 CCS
> BUG: unable to handle kernel NULL pointer dereference at (null)
> IP: [<(null)>] (null)
The kernel tried to execute code at 0x00000000
> *pde = 00000000
> Oops: 0000 [#2] PREEMPT SMP
> last sysfs file:
> /sys/devices/pci0000:00/0000:00:1e.0/0000:03:00.0/ssb0:0/net/eth0/statistics/collisions
> Modules linked in: usb_storage i915 cfbcopyarea cfbimgblt cfbfillrect
> binfmt_misc acpi_cpufreq container sbs cpufreq_powersave pci_slot
> cpufreq_stats cpufreq_userspace sbshc cpufreq_conservative ext3 jbd
> mbcache firewire_sbp2 ecb cryptomgr aead pcompress crypto_blkcipher
> crypto_hash crypto_algapi dell_laptop snd_hda_codec_idt evdev iwl3945
> iwlcore rfkill sdhci_pci dcdbas video backlight rtc_cmos snd_hda_intel
> fb output sdhci rtc_core rtc_lib mac80211 snd_hda_codec snd_hwdep
> snd_pcm_oss snd_mixer_oss mmc_core psmouse snd_pcm battery ac button
> processor intel_agp snd_page_alloc reiserfs crc32 sr_mod cdrom sg
> firewire_ohci firewire_core crc_itu_t ata_piix ehci_hcd uhci_hcd usbcore
> thermal fan
>
> Pid: 5579, comm: scsi_scan_2 Tainted: G D (2.6.30-rc1-git #1)
> MM061
> EIP: 0060:[<00000000>] EFLAGS: 00010046 CPU: 0
> EIP is at 0x0
> EAX: f7117fb0 EBX: f7117fb0 ECX: 00000000 EDX: 00000003
> ESI: b8023874 EDI: 00000000 EBP: e4432dd4 ESP: e4432dac
> DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
> Process scsi_scan_2 (pid: 5579, ti=e4432000 task=ee7b3bb0 task.ti=e4432000)
> Stack:
> c012a8af 00000000 00000001 00000003 c04f22d8 00000282 c04f22dc 00000005
> 00000000 ee42ea20 e4432e00 c015e8b9 00000000 c0240d8d c04f22f8 f6527b00
> c02ff2d0 00000080 ffffffff f6527b00 e445c60e e4432e08 c015e93d e4432e44
> Call Trace:
> [<c012a8af>] ? __wake_up+0x4f/0x80
> [<c015e8b9>] ? __async_schedule+0x139/0x1a0
> [<c0240d8d>] ? ida_pre_get+0x11d/0x150
> [<c02ff2d0>] ? sd_probe_async+0x0/0x270
> [<c015e93d>] ? async_schedule+0xd/0x10
> [<c02ff748>] ? sd_probe+0x208/0x2a0
> [<c02e6df6>] ? really_probe+0x156/0x220
> [<c02e6fbc>] ? __device_attach+0x4c/0x60
> [<c02e5b0b>] ? bus_for_each_drv+0x5b/0x80
> [<c02e6c7b>] ? device_attach+0xeb/0x110
> [<c02e6f70>] ? __device_attach+0x0/0x60
> [<c02e5a7f>] ? bus_attach_device+0x3f/0x70
> [<c02e442e>] ? device_add+0x65e/0x830
> [<c02ea8e0>] ? transport_configure+0x0/0x30
> [<c02fb3b2>] ? scsi_sysfs_add_sdev+0x62/0x2a0
> [<c0241592>] ? kobject_get+0x12/0x20
> [<c02f779d>] ? scsi_finish_async_scan+0x11d/0x160
> [<c02f9920>] ? do_scan_async+0x0/0x90
> [<c02f9978>] ? do_scan_async+0x58/0x90
> [<c02f9920>] ? do_scan_async+0x0/0x90
> [<c015558c>] ? kthread+0x3c/0x70
> [<c0155550>] ? kthread+0x0/0x70
> [<c0103f5f>] ? kernel_thread_helper+0x7/0x18
> Code: Bad EIP value.
> EIP: [<00000000>] 0x0 SS:ESP 0068:e4432dac
> CR2: 0000000000000000
The trace appears to be claiming that kernel/async.c:async_new.func is
NULL.
But it cannot be - it's initialised at compilation time. Unless
something scribbled on it of course.
Cute. This might require a bisection search unless someone can see
something which I missed?
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: Andrew Morton <akpm@linux-foundation.org>
To: Justin Madru <jdm64@gawab.com>
Cc: lkml <linux-kernel@vger.kernel.org>,
linux-scsi@vger.kernel.org, linux-usb@vger.kernel.org,
Arjan van de Ven <arjan@infradead.org>
Subject: Re: 2.6.30-rc1: OOPS on usb disk insert
Date: Tue, 7 Apr 2009 22:38:28 -0700 [thread overview]
Message-ID: <20090407223828.c9d2cb75.akpm@linux-foundation.org> (raw)
In-Reply-To: <49DC3094.5010607@gawab.com>
(cc linux-scsi and linux-usb)
On Tue, 07 Apr 2009 22:05:24 -0700 Justin Madru <jdm64@gawab.com> wrote:
> Hello,
>
> Testing out .30-rc1 and usb devises don't work. I insert my flash disk
> and get this oops.
> More information (dmesg, config, etc.) at
> http://jdserver.homelinux.org/bugreports/003/
It looks the async code blew up.
> usb 5-3: new high speed USB device using ehci_hcd and address 2
> usb 5-3: configuration #1 chosen from 1 choice
> Initializing USB Mass Storage driver...
> scsi2 : SCSI emulation for USB Mass Storage devices
> usb-storage: device found at 2
> usb-storage: waiting for device to settle before scanning
> usbcore: registered new interface driver usb-storage
> USB Mass Storage support registered.
> usb-storage: device scan complete
> scsi 2:0:0:0: Direct-Access SanDisk Cruzer Micro 8.01 PQ: 0
> ANSI: 0 CCS
> BUG: unable to handle kernel NULL pointer dereference at (null)
> IP: [<(null)>] (null)
The kernel tried to execute code at 0x00000000
> *pde = 00000000
> Oops: 0000 [#2] PREEMPT SMP
> last sysfs file:
> /sys/devices/pci0000:00/0000:00:1e.0/0000:03:00.0/ssb0:0/net/eth0/statistics/collisions
> Modules linked in: usb_storage i915 cfbcopyarea cfbimgblt cfbfillrect
> binfmt_misc acpi_cpufreq container sbs cpufreq_powersave pci_slot
> cpufreq_stats cpufreq_userspace sbshc cpufreq_conservative ext3 jbd
> mbcache firewire_sbp2 ecb cryptomgr aead pcompress crypto_blkcipher
> crypto_hash crypto_algapi dell_laptop snd_hda_codec_idt evdev iwl3945
> iwlcore rfkill sdhci_pci dcdbas video backlight rtc_cmos snd_hda_intel
> fb output sdhci rtc_core rtc_lib mac80211 snd_hda_codec snd_hwdep
> snd_pcm_oss snd_mixer_oss mmc_core psmouse snd_pcm battery ac button
> processor intel_agp snd_page_alloc reiserfs crc32 sr_mod cdrom sg
> firewire_ohci firewire_core crc_itu_t ata_piix ehci_hcd uhci_hcd usbcore
> thermal fan
>
> Pid: 5579, comm: scsi_scan_2 Tainted: G D (2.6.30-rc1-git #1)
> MM061
> EIP: 0060:[<00000000>] EFLAGS: 00010046 CPU: 0
> EIP is at 0x0
> EAX: f7117fb0 EBX: f7117fb0 ECX: 00000000 EDX: 00000003
> ESI: b8023874 EDI: 00000000 EBP: e4432dd4 ESP: e4432dac
> DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
> Process scsi_scan_2 (pid: 5579, ti=e4432000 task=ee7b3bb0 task.ti=e4432000)
> Stack:
> c012a8af 00000000 00000001 00000003 c04f22d8 00000282 c04f22dc 00000005
> 00000000 ee42ea20 e4432e00 c015e8b9 00000000 c0240d8d c04f22f8 f6527b00
> c02ff2d0 00000080 ffffffff f6527b00 e445c60e e4432e08 c015e93d e4432e44
> Call Trace:
> [<c012a8af>] ? __wake_up+0x4f/0x80
> [<c015e8b9>] ? __async_schedule+0x139/0x1a0
> [<c0240d8d>] ? ida_pre_get+0x11d/0x150
> [<c02ff2d0>] ? sd_probe_async+0x0/0x270
> [<c015e93d>] ? async_schedule+0xd/0x10
> [<c02ff748>] ? sd_probe+0x208/0x2a0
> [<c02e6df6>] ? really_probe+0x156/0x220
> [<c02e6fbc>] ? __device_attach+0x4c/0x60
> [<c02e5b0b>] ? bus_for_each_drv+0x5b/0x80
> [<c02e6c7b>] ? device_attach+0xeb/0x110
> [<c02e6f70>] ? __device_attach+0x0/0x60
> [<c02e5a7f>] ? bus_attach_device+0x3f/0x70
> [<c02e442e>] ? device_add+0x65e/0x830
> [<c02ea8e0>] ? transport_configure+0x0/0x30
> [<c02fb3b2>] ? scsi_sysfs_add_sdev+0x62/0x2a0
> [<c0241592>] ? kobject_get+0x12/0x20
> [<c02f779d>] ? scsi_finish_async_scan+0x11d/0x160
> [<c02f9920>] ? do_scan_async+0x0/0x90
> [<c02f9978>] ? do_scan_async+0x58/0x90
> [<c02f9920>] ? do_scan_async+0x0/0x90
> [<c015558c>] ? kthread+0x3c/0x70
> [<c0155550>] ? kthread+0x0/0x70
> [<c0103f5f>] ? kernel_thread_helper+0x7/0x18
> Code: Bad EIP value.
> EIP: [<00000000>] 0x0 SS:ESP 0068:e4432dac
> CR2: 0000000000000000
The trace appears to be claiming that kernel/async.c:async_new.func is
NULL.
But it cannot be - it's initialised at compilation time. Unless
something scribbled on it of course.
Cute. This might require a bisection search unless someone can see
something which I missed?
next prev parent reply other threads:[~2009-04-08 5:38 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-08 5:05 2.6.30-rc1: OOPS on usb disk insert Justin Madru
[not found] ` <49DC3094.5010607-u1xxEuL7cY4AvxtiuMwx3w@public.gmane.org>
2009-04-08 5:38 ` Andrew Morton [this message]
2009-04-08 5:38 ` Andrew Morton
[not found] ` <20090407223828.c9d2cb75.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2009-04-08 6:07 ` Justin Madru
2009-04-08 6:07 ` Justin Madru
2009-04-08 13:25 ` Kay Sievers
2009-04-08 13:25 ` Kay Sievers
[not found] ` <ac3eb2510904080625m228ddc4dl611c3c5c368fab2a-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-04-09 6:46 ` Justin Madru
2009-04-09 6:46 ` Justin Madru
2009-04-16 21:10 ` Rafael J. Wysocki
2009-04-17 3:19 ` Justin Madru
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090407223828.c9d2cb75.akpm@linux-foundation.org \
--to=akpm-de/tnxtf+jlsfhdxvbkv3wd2fqjk+8+b@public.gmane.org \
--cc=arjan-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org \
--cc=jdm64-u1xxEuL7cY4AvxtiuMwx3w@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.