From: Matthew Dharm <mdharm-scsi@one-eyed-alien.net>
To: Greg KH <greg@kroah.com>
Cc: USB Developers <linux-usb-devel@lists.sourceforge.net>,
USB Storage List <usb-storage@one-eyed-alien.net>,
Mike Anderson <andmike@us.ibm.com>,
Linux SCSI list <linux-scsi@vger.kernel.org>
Subject: Re: PATCH: usb-storage: fix typo
Date: Thu, 23 Jan 2003 11:40:40 -0800 [thread overview]
Message-ID: <20030123114040.B12788@one-eyed-alien.net> (raw)
In-Reply-To: <20030123044306.GA6584@kroah.com>; from greg@kroah.com on Wed, Jan 22, 2003 at 08:43:06PM -0800
[-- Attachment #1: Type: text/plain, Size: 7751 bytes --]
Well, it's stored in my local tree as a large series of deltas. But I'd
settle for just being able to boot the kernel with debugging enabled and
try it myself.
The problem is, it doesn't make any sense if split up into smaller pieces.
The change from old hotplug system to new hotplug system really is one
package. I mean, I could send you the delta where I convert the probe
mechanism to use the new system, but then it's just going to blow up when a
device is detached.
I'll keep working on getting a booting configuration. Some people have
suggested turning off framebuffer support, but that's already off....
Matt
On Wed, Jan 22, 2003 at 08:43:06PM -0800, Greg KH wrote:
> On Sun, Jan 19, 2003 at 05:16:02PM -0800, Matthew Dharm wrote:
> > This patch goes on top of the last one. It fixes a typo in the test for
> > scsi_register() failure.
>
> With these two patches applied, when plugging in a usb-storage device I
> get the following oops. So I've backed the changes out :)
>
> Any thoughts of splitting them up into smaller pieces to try to figure
> out where the problem would be?
>
> thanks,
>
> greg k-h
>
>
> drivers/usb/host/uhci-hcd.c: 1c20: wakeup_hc
> hub 1-0:0: port 1, status 101, change 1, 12 Mb/s
> hub 1-0:0: debounce: port 1: delay 100ms stable 4 status 0x101
> hub 1-0:0: new USB device on port 1, assigned address 2
> usb 1-1: new device strings: Mfr=73, Product=90, SerialNumber=110
> usb 1-1: Product: USB Storage Adapter
> usb 1-1: Manufacturer: In-System Design
> usb 1-1: SerialNumber: 1300E00000DEEF2E
> DEV: registering device: ID = '1-1', name = USB Storage Adapter (In-System Design)
> kobject 1-1: registering. parent: usb1, set: devices
> bus usb: add device 1-1
> bound device '1-1' to driver 'usb'
> dev_hotplug
> do_hotplug
> fill_devpath: path = 'devices/pci0/00:07.2/usb1/1-1'
> drivers/usb/core/usb.c: usb_hotplug
> do_hotplug: /sbin/hotplug usb HOME=/ PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add DEVPATH=devices/pci0/00:07.2/usb1/1-1
> usb 1-1: usb_new_device - registering interface 1-1:0
> DEV: registering device: ID = '1-1:0', name = usb-00:07.2-1 interface 0
> kobject 1-1:0: registering. parent: 1-1, set: devices
> bus usb: add device 1-1:0
> usb-storage 1-1:0: usb_device_probe
> usb-storage 1-1:0: usb_device_probe - got id
> scsi0 : SCSI emulation for USB Mass Storage devices
> Unable to handle kernel NULL pointer dereference at virtual address 000000b8
> printing eip:
> c88b1023
> *pde = 00000000
> Oops: 0000
> CPU: 0
> EIP: 0060:[<c88b1023>] Not tainted
> EFLAGS: 00010097
> EIP is at usb_storage_queuecommand+0x13/0x3774eff0 [usb_storage]
> eax: c7f6f440 ebx: 00000297 ecx: c569ae00 edx: 00000000
> esi: c569ae00 edi: c7f6f440 ebp: 00000000 esp: c55cbbf4
> ds: 007b es: 007b ss: 0068
> Process khubd (pid: 990, threadinfo=c55ca000 task=c6a80120)
> Stack: c88995e7 c569ae00 c8899ab0 c569a88c c7f6f440 c569aa00 c55cbc2c c889e640
> c569ae00 c569ae00 c569ae00 c569a88c c569ac00 00000202 c569a800 c01b0147
> c569ac00 c569ac00 c569a88c 00000001 00000000 c55cbc98 00001770 00000024
> Call Trace:
> [<c88995e7>] scsi_dispatch_cmd+0xf7/0x37766b10 [scsi_mod]
> [<c8899ab0>] scsi_done+0x0/0x37766550 [scsi_mod]
> [<c889e640>] scsi_request_fn+0x1c0/0x37761b80 [scsi_mod]
> [<c01b0147>] blk_insert_request+0x47/0x50
> [<c889d8f4>] scsi_insert_special_req+0x24/0x37762730 [scsi_mod]
> [<c88996d0>] scsi_wait_req+0x70/0x377669a0 [scsi_mod]
> [<c8899000>] +0x0/0x37767000 [scsi_mod]
> [<c889f36f>] scsi_probe_lun+0x4f/0x37760ce0 [scsi_mod]
> [<c012f0f7>] kmalloc+0x77/0xa0
> [<c889f7c4>] scsi_probe_and_add_lun+0x94/0x377608d0 [scsi_mod]
> [<c889fab8>] scsi_scan_target+0x38/0x37760580 [scsi_mod]
> [<c889fbac>] scsi_scan_host+0x4c/0x377604a0 [scsi_mod]
> [<c889ac09>] __scsi_add_host+0x39/0x37765430 [scsi_mod]
> [<c88a11e0>] +0x340/0x3775f160 [scsi_mod]
> [<c88bbe20>] +0x40/0x37744220 [usb_storage]
> [<c88b3d9e>] storage_probe+0x79e/0x3774ca00 [usb_storage]
> [<c012f045>] kmem_cache_alloc+0x25/0x60
> [<c88bf75c>] us_unusual_dev_list+0x7a8/0x3774104c [usb_storage]
> [<c88bf828>] usb_storage_driver+0x88/0x37740860 [usb_storage]
> [<c88bf7a0>] usb_storage_driver+0x0/0x37740860 [usb_storage]
> [<c88bf7a0>] usb_storage_driver+0x0/0x37740860 [usb_storage]
> [<c886212a>] usb_device_probe+0x10a/0x3779dfe0 [usbcore]
> [<c88bef88>] storage_usb_ids+0x7a8/0x37741820 [usb_storage]
> [<c88bef88>] storage_usb_ids+0x7a8/0x37741820 [usb_storage]
> [<c88bf7b8>] usb_storage_driver+0x18/0x37740860 [usb_storage]
> [<c8878900>] usb_bus_type+0x0/0x37787700 [usbcore]
> [<c0199564>] bus_match+0x34/0x60
> [<c88bf7ec>] usb_storage_driver+0x4c/0x37740860 [usb_storage]
> [<c8878958>] usb_bus_type+0x58/0x37787700 [usbcore]
> [<c01995e0>] device_attach+0x50/0x60
> [<c88bf7b8>] usb_storage_driver+0x18/0x37740860 [usb_storage]
> [<c8878940>] usb_bus_type+0x40/0x37787700 [usbcore]
> [<c0199762>] bus_add_device+0x82/0xc0
> [<c0198b28>] device_add+0xe8/0x130
> [<c886e2d4>] +0xa8/0x37791dd4 [usbcore]
> [<c8863441>] usb_new_device+0x4f1/0x3779d0b0 [usbcore]
> [<c886fa20>] +0x6a0/0x37790c80 [usbcore]
> [<c886e2d4>] +0xa8/0x37791dd4 [usbcore]
> [<c886e415>] +0x1e9/0x37791dd4 [usbcore]
> [<c0115f35>] __wake_up+0x15/0x30
> [<c88653bd>] usb_hub_port_connect_change+0x27d/0x3779aec0 [usbcore]
> [<c8870b00>] +0x1780/0x37790c80 [usbcore]
> [<c886e9cd>] +0x7a1/0x37791dd4 [usbcore]
> [<c886557d>] usb_hub_events+0x12d/0x3779abb0 [usbcore]
> [<c88657e5>] usb_hub_thread+0x45/0x3779a860 [usbcore]
> [<c0115e80>] default_wake_function+0x0/0x40
> [<c8878a0c>] khubd_wait+0x4/0x377875f8 [usbcore]
> [<c8878a0c>] khubd_wait+0x4/0x377875f8 [usbcore]
> [<c88657a0>] usb_hub_thread+0x0/0x3779a860 [usbcore]
> [<c0106f31>] kernel_thread_helper+0x5/0x14
>
> Code: 8b 82 b8 00 00 00 48 74 08 0f 0b 95 00 60 be 8b c8 8b 82 b0
> <1>Unable to handle kernel NULL pointer dereference at virtual address 000000b0
> printing eip:
> c88b107d
> *pde = 00000000
> Oops: 0000
> CPU: 0
> EIP: 0060:[<c88b107d>] Not tainted
> EFLAGS: 00010002
> EIP is at usb_storage_command_abort+0xd/0x3774ef90 [usb_storage]
> eax: 00000000 ebx: 00000202 ecx: 00002003 edx: c569ae00
> esi: c7f6f440 edi: c7f6f440 ebp: 00000000 esp: c5c95f6c
> ds: 007b es: 007b ss: 0068
> Process scsi_eh_0 (pid: 1038, threadinfo=c5c94000 task=c54d3240)
> Stack: c889cd13 c569ae00 c569ae00 c889cdec c569ae00 c7f6f440 c88a325b c889d4a7
> c569ae00 c7f6f440 c569ae00 c5c95fc4 c889d5eb c7f6f440 00000000 00000000
> 00000000 c5c95fd0 c5c95fd0 00000000 c55cbd14 c0108ae5 00000000 00000000
> Call Trace:
> [<c889cd13>] scsi_try_to_abort_cmd+0x43/0x37763330 [scsi_mod]
> [<c889cdec>] scsi_eh_abort_cmd+0x1c/0x37763230 [scsi_mod]
> [<c88a325b>] +0x23bb/0x3775f160 [scsi_mod]
> [<c889d4a7>] scsi_unjam_host+0x37/0x37762b90 [scsi_mod]
> [<c889d5eb>] scsi_error_handler+0xbb/0x37762ad0 [scsi_mod]
> [<c0108ae5>] ret_from_fork+0x5/0x14
> [<c889d530>] scsi_error_handler+0x0/0x37762ad0 [scsi_mod]
> [<c0106f31>] kernel_thread_helper+0x5/0x14
>
> Code: 39 90 b0 00 00 00 74 0b b8 03 20 00 00 c3 90 8d 74 26 00 50
>
> -
> 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
--
Matthew Dharm Home: mdharm-usb@one-eyed-alien.net
Maintainer, Linux USB Mass Storage Driver
You are needink to look more evil. You likink very strong coffee?
-- Pitr to Dust Puppy
User Friendly, 10/16/1998
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
next prev parent reply other threads:[~2003-01-23 19:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-19 22:30 PATCH: usb-storage: move to SCSI hotplugging Matthew Dharm
2003-01-19 22:56 ` Oliver Neukum
2003-01-20 1:11 ` Matthew Dharm
2003-01-20 1:16 ` PATCH: usb-storage: fix typo Matthew Dharm
2003-01-23 4:43 ` Greg KH
2003-01-23 19:40 ` Matthew Dharm [this message]
2003-01-24 8:26 ` Greg KH
2003-01-25 18:11 ` [linux-usb-devel] " Matthew Dharm
2003-01-25 20:32 ` Matthew Dharm
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=20030123114040.B12788@one-eyed-alien.net \
--to=mdharm-scsi@one-eyed-alien.net \
--cc=andmike@us.ibm.com \
--cc=greg@kroah.com \
--cc=linux-scsi@vger.kernel.org \
--cc=linux-usb-devel@lists.sourceforge.net \
--cc=usb-storage@one-eyed-alien.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox