Re: 2.6.27-rc7-git1: usb-storage breakage with non-functional disk

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Rafael J. Wysocki <rjw@...>
Cc: USB development list <linux-usb@...>, LKML <linux-kernel@...>, Alan Stern <stern@...>, Greg KH <greg@...>, linux-scsi <linux-scsi@...>, Andrew Morton <akpm@...>
Date: Monday, June 23, 2008 - 7:42 pm

Huh.  Does SCSI core not do a get_device() before actually scanning?  It
looks to me like the disconnect path did it's scsi_host_put and the host
(and struct us_data) got freed immediately.

Matt

On Mon, Jun 23, 2008 at 11:58:32PM +0200, Rafael J. Wysocki wrote:
=3D3
 ANSI: 0 CCS
K,SUGGEST_OK
K,SUGGEST_OK
0004
 auth_rpcgss sunrpc exportfs iptable_filter ip_tables ip6table_filter ip6_t=
ables x_tables ipv6 cpufreq_conservative cpufreq_ondemand cpufreq_userspace=
 cpufreq_powersave powernow_k8 freq_table snd_pcm_oss snd_mixer_oss snd_seq=
 snd_seq_device reiserfs dm_mod ohci1394 sr_mod cdrom floppy ieee1394 serio=
_raw rtc_cmos sky2 wmi snd_hda_intel rtc_core sg rtc_lib joydev snd_pcm snd=
_timer snd_page_alloc snd_hwdep snd evdev button soundcore raid456 async_xo=
r async_memcpy async_tx xor raid0 usbhid ff_memless ehci_hcd ohci_hcd sd_mo=
d edd raid1 ext3 jbd fan pata_marvell pata_atiixp thermal processor
ve_alloc+0x41/0x80
eb1db90
fff810086cc4300)
3ea940
9c 00 00 00 48 8b 53 78 c1 e8 0f 83 e0 0f 48 8b 84 c2 e8 03 00 00 <0f> b7 7=
0 04 ff ce e8 44 d9 fb df 80 bb c4 00 00 00 04 75 12 49=20
VER_OK,SUGGEST_OK
VER_OK,SUGGEST_OK
VER_OK,SUGGEST_OK
VER_OK,SUGGEST_OK
VER_OK,SUGGEST_OK
VER_OK,SUGGEST_OK
VER_OK,SUGGEST_OK
VER_OK,SUGGEST_OK
VER_OK,SUGGEST_OK

--=20
Matthew Dharm                              Home: mdharm-usb@one-eyed-alien.=
net=20
Maintainer, Linux USB Mass Storage Driver

S:  Another stupid question?
G:  There's no such thing as a stupid question, only stupid people.
					-- Stef and Greg
User Friendly, 7/15/1998
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.27-rc7-git1: usb-storage breakage with non-functional disk, Rafael J. Wysocki, (Mon Jun 23, 5:45 pm)
Re: 2.6.27-rc7-git1: usb-storage breakage with non-functiona..., Rafael J. Wysocki, (Mon Jun 23, 5:58 pm)
Re: 2.6.27-rc7-git1: usb-storage breakage with non-functiona..., Matthew Dharm, (Mon Jun 23, 7:42 pm)