* Re: 2.6.30-rc1: OOPS on usb disk insert [not found] ` <49DC3094.5010607-u1xxEuL7cY4AvxtiuMwx3w@public.gmane.org> @ 2009-04-08 5:38 ` Andrew Morton [not found] ` <20090407223828.c9d2cb75.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Andrew Morton @ 2009-04-08 5:38 UTC (permalink / raw) To: Justin Madru Cc: lkml, linux-scsi-u79uwXL29TY76Z2rM5mHXA, linux-usb-u79uwXL29TY76Z2rM5mHXA, Arjan van de Ven (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 ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <20090407223828.c9d2cb75.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>]
* Re: 2.6.30-rc1: OOPS on usb disk insert [not found] ` <20090407223828.c9d2cb75.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org> @ 2009-04-08 6:07 ` Justin Madru 2009-04-08 13:25 ` Kay Sievers 0 siblings, 1 reply; 4+ messages in thread From: Justin Madru @ 2009-04-08 6:07 UTC (permalink / raw) To: Andrew Morton Cc: lkml, linux-scsi-u79uwXL29TY76Z2rM5mHXA, linux-usb-u79uwXL29TY76Z2rM5mHXA, Arjan van de Ven Andrew Morton wrote: > (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? > > Well, since it's consistently repeatable, a bisection shouldn't be too painful. I'll try to do that tomorrow. Justin Madru -- 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.6.30-rc1: OOPS on usb disk insert 2009-04-08 6:07 ` Justin Madru @ 2009-04-08 13:25 ` Kay Sievers [not found] ` <ac3eb2510904080625m228ddc4dl611c3c5c368fab2a-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Kay Sievers @ 2009-04-08 13:25 UTC (permalink / raw) To: Justin Madru; +Cc: Andrew Morton, lkml, linux-scsi, linux-usb, Arjan van de Ven On Tue, Apr 7, 2009 at 23:07, Justin Madru <jdm64@gawab.com> wrote: > Andrew Morton wrote: >> On Tue, 07 Apr 2009 22:05:24 -0700 Justin Madru <jdm64@gawab.com> wrote: >>> Testing out .30-rc1 and usb devises don't work. I insert my flash disk >>> and get this oops. >> 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. I've seen async problems with other subsystem too, maybe caused by a corruption which is fixed by: http://patchwork.kernel.org/patch/16776/ -static void __init acpi_battery_init_async(void *unused, ... +static void acpi_battery_init_async(void *unused, ... Kay -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <ac3eb2510904080625m228ddc4dl611c3c5c368fab2a-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: 2.6.30-rc1: OOPS on usb disk insert [not found] ` <ac3eb2510904080625m228ddc4dl611c3c5c368fab2a-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2009-04-09 6:46 ` Justin Madru 0 siblings, 0 replies; 4+ messages in thread From: Justin Madru @ 2009-04-09 6:46 UTC (permalink / raw) To: Kay Sievers Cc: Andrew Morton, lkml, linux-scsi-u79uwXL29TY76Z2rM5mHXA, linux-usb-u79uwXL29TY76Z2rM5mHXA, Arjan van de Ven Kay Sievers wrote: > On Tue, Apr 7, 2009 at 23:07, Justin Madru <jdm64-u1xxEuL7cY4AvxtiuMwx3w@public.gmane.org> wrote: > >> Andrew Morton wrote: >> >>> On Tue, 07 Apr 2009 22:05:24 -0700 Justin Madru <jdm64-u1xxEuL7cY4AvxtiuMwx3w@public.gmane.org> wrote: >>> > > >>>> Testing out .30-rc1 and usb devises don't work. I insert my flash disk >>>> and get this oops. >>>> > > >>> 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. >>> > > I've seen async problems with other subsystem too, maybe caused by a > corruption which is fixed by: > http://patchwork.kernel.org/patch/16776/ > > -static void __init acpi_battery_init_async(void *unused, ... > +static void acpi_battery_init_async(void *unused, ... > > Kay > > I've applied the following patches (to try to fix other bugs) and I no longer get a BUG/OOPS although the patches might have not been the cause of the fix, but inserting the disk still doesn't works. http://patchwork.kernel.org/patch/17199/ http://patchwork.kernel.org/patch/17025/ http://patchwork.kernel.org/patch/17039/ It now complains of: FAT: IO charset cp437 not found Which I've found a work around by: <insert flash disk> syslog complains: FAT: IO charset cp437 not found sudo modprobe -r nls_cp437 sudo modprobe -i nls_cp437 <remove then reinsert flash disk> syslog complains: FAT: IO charset iso8859_1 not found sudo modprobe -r nls_iso8859_1 sudo modprobe -i nls_iso8859_1 <insert flash disk> profit!! So, I have to insert the disk 3 times before it works. although after that it just works, until I reboot and I have to repeat the unload/load modules. Justin Madru -- 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-04-09 6:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <49DC3094.5010607@gawab.com>
[not found] ` <49DC3094.5010607-u1xxEuL7cY4AvxtiuMwx3w@public.gmane.org>
2009-04-08 5:38 ` 2.6.30-rc1: OOPS on usb disk insert 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 13:25 ` Kay Sievers
[not found] ` <ac3eb2510904080625m228ddc4dl611c3c5c368fab2a-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-04-09 6:46 ` Justin Madru
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox