mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Maciej Rutecki <maciej.rutecki@gmail.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	mdharm-usb@one-eyed-alien.net,
	USB list <linux-usb@vger.kernel.org>,
	USB Storage list <usb-storage@lists.one-eyed-alien.net>
Subject: WARNING: at drivers/usb/storage/transport.c:584 last_sector_hacks+0x12a/0x190  [usb_storage]()
Date: Sun, 8 Feb 2009 18:40:16 +0100	[thread overview]
Message-ID: <8db1092f0902080940i390efc72i18046210931606a9@mail.gmail.com> (raw)

Pendrive 1GB, in 2.6.28 works without any problems (also in XP and Vista)

2.6.29-rc3:

[ 7737.804065] usb 5-4: new high speed USB device using ehci_hcd and address 4
[ 7737.939363] usb 5-4: configuration #1 chosen from 1 choice
[ 7737.939969] scsi7 : SCSI emulation for USB Mass Storage devices
[ 7737.949340] usb-storage: device found at 4
[ 7737.949346] usb-storage: waiting for device to settle before scanning
[ 7742.950197] scsi 7:0:0:0: Direct-Access     pqi
IntelligentStick 0.00 PQ: 0 ANSI: 2
[ 7742.951269] sd 7:0:0:0: [sdb] 2015231 512-byte hardware sectors:
(1.03 GB/983 MiB)
[ 7742.952431] sd 7:0:0:0: [sdb] Write Protect is off
[ 7742.952439] sd 7:0:0:0: [sdb] Mode Sense: 00 00 00 00
[ 7742.952445] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[ 7742.954890] sd 7:0:0:0: [sdb] 2015231 512-byte hardware sectors:
(1.03 GB/983 MiB)
[ 7742.955761] sd 7:0:0:0: [sdb] Write Protect is off
[ 7742.955768] sd 7:0:0:0: [sdb] Mode Sense: 00 00 00 00
[ 7742.955773] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[ 7742.955779]  sdb: sdb1
[ 7743.063563] sd 7:0:0:0: [sdb] Attached SCSI removable disk
[ 7743.063657] sd 7:0:0:0: Attached scsi generic sg2 type 0
[ 7743.063914] usb-storage: device scan complete
[ 7743.201999] ------------[ cut here ]------------
[ 7743.202005] WARNING: at drivers/usb/storage/transport.c:584
last_sector_hacks+0x12a/0x190 [usb_storage]()
[ 7743.202009] Hardware name: HP Compaq nx6310 (EY501ES#AKD)
[ 7743.202012] sdb: Successful last sector success at 2015230, device
3538:0054:0100
[ 7743.202015] Modules linked in: usb_storage iwl3945 mac80211 btusb
i915 drm i2c_algo_bit i2c_core rfcomm l2cap bluetooth vboxnetflt
vboxdrv arc4 ecb rfkill firmware_class led_class lib80211 cfg80211
xt_tcpudp xt_limit xt_state iptable_nat nf_nat nf_conntrack_ipv4
nf_conntrack nf_defrag_ipv4 iptable_filter ip_tables x_tables aes_i586
aes_generic cbc dm_crypt dm_snapshot dm_mirror dm_region_hash dm_log
dm_mod fuse sbp2 loop snd_hda_codec_si3054 snd_hda_codec_analog
snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss snd_pcm
snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event
pcmcia snd_seq snd_timer snd_seq_device psmouse snd b44 ssb ohci1394
ehci_hcd uhci_hcd serio_raw rtc_cmos soundcore pcspkr mii ieee1394
yenta_socket rsrc_nonstatic pcmcia_core fan usbcore rtc_core rtc_lib
snd_page_alloc intel_agp ac button battery agpgart sg evdev [last
unloaded: mac80211]
[ 7743.202102] Pid: 10122, comm: usb-storage Tainted: G        W  2.6.29-rc3 #1
[ 7743.202105] Call Trace:
[ 7743.202117]  [<c012e783>] warn_slowpath+0x73/0xd0
[ 7743.202126]  [<c0394f00>] ? wait_for_common+0x60/0x110
[ 7743.202131]  [<c0128ac0>] ? default_wake_function+0x0/0x10
[ 7743.202135]  [<c0394fed>] ?
wait_for_completion_interruptible_timeout+0xd/0x10
[ 7743.202143]  [<f8dd1f43>] ? usb_stor_msg_common+0xd3/0x120 [usb_storage]
[ 7743.202150]  [<f8dd1e0a>] last_sector_hacks+0x12a/0x190 [usb_storage]
[ 7743.202167]  [<f8dd26b2>] usb_stor_invoke_transport+0x1a2/0x310 [usb_storage]
[ 7743.202171]  [<c012309b>] ? check_preempt_wakeup+0x1bb/0x1d0
[ 7743.202175]  [<c0128a43>] ? try_to_wake_up+0x113/0x190
[ 7743.202179]  [<c0394f96>] ? wait_for_common+0xf6/0x110
[ 7743.202183]  [<c0128ac0>] ? default_wake_function+0x0/0x10
[ 7743.202190]  [<f8dd1b88>]
usb_stor_transparent_scsi_command+0x8/0x10 [usb_storage]
[ 7743.202198]  [<f8dd3d50>] usb_stor_control_thread+0x120/0x1b0 [usb_storage]
[ 7743.202202]  [<c0122848>] ? complete+0x48/0x60
[ 7743.202209]  [<f8dd3c30>] ? usb_stor_control_thread+0x0/0x1b0 [usb_storage]
[ 7743.202214]  [<c0142c5c>] kthread+0x3c/0x70
[ 7743.202217]  [<c0142c20>] ? kthread+0x0/0x70
[ 7743.202221]  [<c0103c0b>] kernel_thread_helper+0x7/0x1c
[ 7743.202224] ---[ end trace 676bbe351870c93d ]---

After this works OK

It isn't clean 2.6.29-rc3; I add virtualbox module, but in another
machine I have the same problem.

Dmesg, lsusb and config:
http://unixy.pl/maciek/download/kernel/2.6.29-rc3/

-- 
Maciej Rutecki
http://www.maciek.unixy.pl

             reply	other threads:[~2009-02-08 17:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-08 17:40 Maciej Rutecki [this message]
2009-02-08 18:05 ` Greg KH

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=8db1092f0902080940i390efc72i18046210931606a9@mail.gmail.com \
    --to=maciej.rutecki@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mdharm-usb@one-eyed-alien.net \
    --cc=usb-storage@lists.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

all inboxes | Powered by JetHome®