Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Kernel (http://www.linux-archive.org/debian-kernel/)
-   -   Bug#640665: linux-image-2.6.32-5-amd64: USB block device write error with images > 4 GB (http://www.linux-archive.org/debian-kernel/572343-bug-640665-linux-image-2-6-32-5-amd64-usb-block-device-write-error-images-4-gb.html)

Josef Spillner 09-06-2011 11:24 AM

Bug#640665: linux-image-2.6.32-5-amd64: USB block device write error with images > 4 GB
 
Package: linux-2.6
Version: 2.6.32-35
Severity: normal

I've partitioned a USB stick with parted into two partitions. The first one is set to be slightly larger
than an image files which is copied over onto with dd, followed by a bootloader installation into the MBR.
Now, this setup works fine for image files up to around 4 GB. Recently, the file has grown to 4329570304
bytes which is slightly larger than this boundary. Suddenly, the dd invocation locks up at around the
boundary and the kernel spits out some sort of "device blocked for too long" panic.
The call trace can be found in the log below.
Since the system is all amd64, this looks like a strange issue to me. Also, it affects not just one USB
stick but even a newly bought one (costly bug reporting...). Just copying the image to another file on
an ext4 partition also works without any issues.
Here's the command line used for the copy to the device:

sudo dd if=foo.img of=/dev/sdb1 bs=1048576

-- Package-specific info:
** Version:
Linux version 2.6.32-5-amd64 (Debian 2.6.32-35) (dannf@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Tue Jun 14 09:42:28 UTC 2011

** Command line:
BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-amd64 root=UUID=62f16ca4-eb34-479b-8791-2c979a729c1c ro quiet

** Not tainted

** Kernel log:
[ 1641.568094] groups: 2 (cpu_power = 589) 3 (cpu_power = 589)
[ 1641.568105] domain 1: span 0-3 level MC
[ 1641.568110] groups: 2-3 (cpu_power = 1178) 0-1 (cpu_power = 1178)
[ 1641.568123] CPU3 attaching sched-domain:
[ 1641.568127] domain 0: span 2-3 level SIBLING
[ 1641.568132] groups: 3 (cpu_power = 589) 2 (cpu_power = 589)
[ 1641.568144] domain 1: span 0-3 level MC
[ 1641.568149] groups: 2-3 (cpu_power = 1178) 0-1 (cpu_power = 1178)
[ 1641.678982] usb 1-1.4: new full speed USB device using ehci_hcd and address 8
[ 1641.774061] usb 1-1.4: New USB device found, idVendor=0a5c, idProduct=217f
[ 1641.774064] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1641.774067] usb 1-1.4: Product: Broadcom Bluetooth Device
[ 1641.774068] usb 1-1.4: Manufacturer: Broadcom Corp
[ 1641.774069] usb 1-1.4: SerialNumber: 5CAC4CCCA816
[ 1641.774169] usb 1-1.4: configuration #1 chosen from 1 choice
[ 4430.050179] usb 1-1.1: new high speed USB device using ehci_hcd and address 9
[ 4430.151155] usb 1-1.1: New USB device found, idVendor=18a5, idProduct=0302
[ 4430.151159] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4430.151163] usb 1-1.1: Product: STORE N GO
[ 4430.151165] usb 1-1.1: Manufacturer: Verbatim
[ 4430.151167] usb 1-1.1: SerialNumber: 07B40807497A8A05
[ 4430.151299] usb 1-1.1: configuration #1 chosen from 1 choice
[ 4430.151776] scsi7 : SCSI emulation for USB Mass Storage devices
[ 4430.151956] usb-storage: device found at 9
[ 4430.151959] usb-storage: waiting for device to settle before scanning
[ 4435.150411] usb-storage: device scan complete
[ 4435.335136] scsi 7:0:0:0: Direct-Access Verbatim STORE N GO 5.00 PQ: 0 ANSI: 0 CCS
[ 4435.335553] sd 7:0:0:0: Attached scsi generic sg2 type 0
[ 4436.038227] sd 7:0:0:0: [sdb] 15645120 512-byte logical blocks: (8.01 GB/7.45 GiB)
[ 4436.038865] sd 7:0:0:0: [sdb] Write Protect is off
[ 4436.038871] sd 7:0:0:0: [sdb] Mode Sense: 23 00 00 00
[ 4436.038875] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[ 4436.042171] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[ 4436.042176] sdb: sdb1
[ 4436.071557] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[ 4436.071563] sd 7:0:0:0: [sdb] Attached SCSI removable disk
[ 4572.598727] e1000e 0000:00:19.0: irq 29 for MSI/MSI-X
[ 4572.653595] e1000e 0000:00:19.0: irq 29 for MSI/MSI-X
[ 4572.654945] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 4574.227071] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX
[ 4574.227074] 0000:00:19.0: eth0: 10/100 speed: disabling TSO
[ 4574.229210] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 4585.164741] eth0: no IPv6 routers present
[ 5880.800476] INFO: task blkid:4527 blocked for more than 120 seconds.
[ 5880.800481] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 5880.800484] blkid D 0000000000000000 0 4527 4032 0x00000000
[ 5880.800490] ffffffff814611f0 0000000000000082 0000000000000000 ffffea0004f8b1c0
[ 5880.800495] 00000000000008a2 ffff880000011d00 000000000000f9e0 ffff88016b84bfd8
[ 5880.800500] 0000000000015780 0000000000015780 ffff880237323f90 ffff880237324288
[ 5880.800505] Call Trace:
[ 5880.800516] [<ffffffff8118f973>] ? kobject_get+0x12/0x17
[ 5880.800523] [<ffffffff812fb99b>] ? __mutex_lock_common+0x122/0x192
[ 5880.800527] [<ffffffff812fbac3>] ? mutex_lock+0x1a/0x31
[ 5880.800535] [<ffffffff8111282e>] ? __blkdev_get+0x75/0x342
[ 5880.800539] [<ffffffff81112b02>] ? blkdev_open+0x0/0x96
[ 5880.800543] [<ffffffff81112b69>] ? blkdev_open+0x67/0x96
[ 5880.800549] [<ffffffff810ed45a>] ? __dentry_open+0x19d/0x2bf
[ 5880.800555] [<ffffffff810f8cbb>] ? do_filp_open+0x4e4/0x94b
[ 5880.800561] [<ffffffff810d0b1e>] ? vma_link+0x74/0x9a
[ 5880.800566] [<ffffffff81101d0d>] ? alloc_fd+0x67/0x10c
[ 5880.800570] [<ffffffff810ed1eb>] ? do_sys_open+0x55/0xfc
[ 5880.800575] [<ffffffff81010b42>] ? system_call_fastpath+0x16/0x1b
[ 6000.793397] INFO: task blkid:4527 blocked for more than 120 seconds.
[ 6000.793401] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 6000.793404] blkid D 0000000000000000 0 4527 1 0x00000000
[ 6000.793410] ffffffff814611f0 0000000000000082 0000000000000000 ffffea0004f8b1c0
[ 6000.793416] 00000000000008a2 ffff880000011d00 000000000000f9e0 ffff88016b84bfd8
[ 6000.793420] 0000000000015780 0000000000015780 ffff880237323f90 ffff880237324288
[ 6000.793425] Call Trace:
[ 6000.793436] [<ffffffff8118f973>] ? kobject_get+0x12/0x17
[ 6000.793444] [<ffffffff812fb99b>] ? __mutex_lock_common+0x122/0x192
[ 6000.793448] [<ffffffff812fbac3>] ? mutex_lock+0x1a/0x31
[ 6000.793456] [<ffffffff8111282e>] ? __blkdev_get+0x75/0x342
[ 6000.793460] [<ffffffff81112b02>] ? blkdev_open+0x0/0x96
[ 6000.793464] [<ffffffff81112b69>] ? blkdev_open+0x67/0x96
[ 6000.793470] [<ffffffff810ed45a>] ? __dentry_open+0x19d/0x2bf
[ 6000.793476] [<ffffffff810f8cbb>] ? do_filp_open+0x4e4/0x94b
[ 6000.793481] [<ffffffff810d0b1e>] ? vma_link+0x74/0x9a
[ 6000.793487] [<ffffffff81101d0d>] ? alloc_fd+0x67/0x10c
[ 6000.793491] [<ffffffff810ed1eb>] ? do_sys_open+0x55/0xfc
[ 6000.793496] [<ffffffff81010b42>] ? system_call_fastpath+0x16/0x1b
[ 6120.786329] INFO: task blkid:4527 blocked for more than 120 seconds.
[ 6120.786333] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 6120.786336] blkid D 0000000000000000 0 4527 1 0x00000000
[ 6120.786343] ffffffff814611f0 0000000000000082 0000000000000000 ffffea0004f8b1c0
[ 6120.786348] 00000000000008a2 ffff880000011d00 000000000000f9e0 ffff88016b84bfd8
[ 6120.786353] 0000000000015780 0000000000015780 ffff880237323f90 ffff880237324288
[ 6120.786357] Call Trace:
[ 6120.786369] [<ffffffff8118f973>] ? kobject_get+0x12/0x17
[ 6120.786376] [<ffffffff812fb99b>] ? __mutex_lock_common+0x122/0x192
[ 6120.786381] [<ffffffff812fbac3>] ? mutex_lock+0x1a/0x31
[ 6120.786388] [<ffffffff8111282e>] ? __blkdev_get+0x75/0x342
[ 6120.786392] [<ffffffff81112b02>] ? blkdev_open+0x0/0x96
[ 6120.786397] [<ffffffff81112b69>] ? blkdev_open+0x67/0x96
[ 6120.786402] [<ffffffff810ed45a>] ? __dentry_open+0x19d/0x2bf
[ 6120.786408] [<ffffffff810f8cbb>] ? do_filp_open+0x4e4/0x94b
[ 6120.786414] [<ffffffff810d0b1e>] ? vma_link+0x74/0x9a
[ 6120.786419] [<ffffffff81101d0d>] ? alloc_fd+0x67/0x10c
[ 6120.786423] [<ffffffff810ed1eb>] ? do_sys_open+0x55/0xfc
[ 6120.786428] [<ffffffff81010b42>] ? system_call_fastpath+0x16/0x1b

** Model information
sys_vendor: LENOVO
product_name: 43494KG
product_version: ThinkPad T510
chassis_vendor: LENOVO
chassis_version: Not Available
bios_vendor: LENOVO
bios_version: 6MET75WW (1.35 )
board_vendor: LENOVO
board_name: 43494KG
board_version: Not Available

** Loaded modules:
Module Size Used by
acpi_cpufreq 5571 1
cpufreq_conservative 5162 0
cpufreq_stats 2659 0
cpufreq_userspace 1992 0
cpufreq_powersave 902 0
parport_pc 18855 0
ppdev 5030 0
lp 7462 0
parport 27954 3 parport_pc,ppdev,lp
sco 7225 2
bridge 39630 0
stp 1440 1 bridge
bnep 9427 2
rfcomm 29613 8
l2cap 24736 16 bnep,rfcomm
usb_storage 39961 2
vboxnetadp 4193 0
vboxnetflt 12525 0
vboxdrv 1723671 2 vboxnetadp,vboxnetflt
binfmt_misc 6431 1
kvm_intel 38146 0
kvm 214248 1 kvm_intel
uinput 6376 1
fuse 50892 1
loop 11799 0
firewire_sbp2 11514 0
snd_hda_intel 20035 2
snd_hda_codec 54244 1 snd_hda_intel
snd_hwdep 5380 1 snd_hda_codec
snd_pcm_oss 32591 0
snd_mixer_oss 12606 1 snd_pcm_oss
snd_pcm 60503 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_midi 4400 0
snd_rawmidi 15515 1 snd_seq_midi
snd_seq_midi_event 4628 1 snd_seq_midi
nouveau 353128 3
ttm 40146 1 nouveau
drm_kms_helper 20369 1 nouveau
arc4 1274 2
snd_seq 42881 3 snd_seq_midi,snd_seq_midi_event
drm 142327 5 nouveau,ttm,drm_kms_helper
ecb 1841 2
joydev 8459 0
snd_timer 15582 2 snd_pcm,snd_seq
snd_seq_device 4493 3 snd_seq_midi,snd_rawmidi,snd_seq
i2c_algo_bit 4225 1 nouveau
snd 46526 15 snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss, snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_time r,snd_seq_device
btusb 9913 2
qcserial 3831 0
soundcore 4598 1 snd
usb_wwan 8068 1 qcserial
battery 4998 0
video 17445 0
iwlagn 73139 0
bluetooth 41827 9 sco,bnep,rfcomm,l2cap,btusb
ac 2192 0
iwlcore 77842 1 iwlagn
mac80211 137356 2 iwlagn,iwlcore
uvcvideo 52079 0
videodev 29993 1 uvcvideo
v4l1_compat 11442 2 uvcvideo,videodev
i2c_i801 7830 0
v4l2_compat_ioctl32 8474 1 videodev
psmouse 49937 0
thinkpad_acpi 50087 0
cfg80211 101496 3 iwlagn,iwlcore,mac80211
usbserial 27676 2 qcserial,usb_wwan
evdev 7352 25
button 4650 1 nouveau
serio_raw 3752 0
i2c_core 15819 6 nouveau,drm_kms_helper,drm,i2c_algo_bit,videodev,i 2c_i801
pcspkr 1699 0
processor 29935 5 acpi_cpufreq
output 1692 1 video
rfkill 13044 4 bluetooth,thinkpad_acpi,cfg80211
wmi 4323 0
snd_page_alloc 6249 2 snd_hda_intel,snd_pcm
nvram 5077 1 thinkpad_acpi
ext4 288318 5
mbcache 5050 1 ext4
jbd2 67015 1 ext4
crc16 1319 2 l2cap,ext4
sha256_generic 8692 2
aes_x86_64 7340 2
aes_generic 25714 1 aes_x86_64
cbc 2539 1
dm_crypt 10664 1
dm_mod 53706 9 dm_crypt
sg 24069 0
sd_mod 29921 9
crc_t10dif 1276 1 sd_mod
sr_mod 12602 0
cdrom 29415 1 sr_mod
firewire_ohci 19676 0
sdhci_pci 5597 0
sdhci 13998 1 sdhci_pci
ahci 32534 5
ehci_hcd 32081 0
libata 133760 1 ahci
firewire_core 36848 2 firewire_sbp2,firewire_ohci
mmc_core 45702 1 sdhci
usbcore 122498 8 usb_storage,btusb,qcserial,usb_wwan,uvcvideo,usbse rial,ehci_hcd
scsi_mod 126517 6 usb_storage,firewire_sbp2,sg,sd_mod,sr_mod,libata
crc_itu_t 1307 1 firewire_core
led_class 2433 3 iwlcore,thinkpad_acpi,sdhci
nls_base 6377 1 usbcore
e1000e 110063 0
thermal 11674 0
thermal_sys 11942 3 video,processor,thermal

** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation Core Processor DRAM Controller [8086:0044] (rev 02)
Subsystem: Lenovo Device [17aa:2193]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
Latency: 0
Capabilities: <access denied>

00:01.0 PCI bridge [0604]: Intel Corporation Core Processor PCI Express x16 Root Port [8086:0045] (rev 02) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: cc000000-cdefffff
Prefetchable memory behind bridge: 00000000ce000000-00000000dfffffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA- VGA+ MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport

00:16.0 Communication controller [0780]: Intel Corporation 5 Series/3400 Series Chipset HECI Controller [8086:3b64] (rev 06)
Subsystem: Lenovo Device [17aa:215f]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx+
Latency: 0
Interrupt: pin A routed to IRQ 11
Region 0: Memory at f2427800 (64-bit, non-prefetchable) [size=16]
Capabilities: <access denied>

00:19.0 Ethernet controller [0200]: Intel Corporation 82577LM Gigabit Network Connection [8086:10ea] (rev 06)
Subsystem: Lenovo Device [17aa:2153]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 29
Region 0: Memory at f2400000 (32-bit, non-prefetchable) [size=128K]
Region 1: Memory at f2425000 (32-bit, non-prefetchable) [size=4K]
Region 2: I/O ports at 1820 [size=32]
Capabilities: <access denied>
Kernel driver in use: e1000e

00:1a.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b3c] (rev 06) (prog-if 20 [EHCI])
Subsystem: Lenovo Device [17aa:2163]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin D routed to IRQ 23
Region 0: Memory at f2428000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd

00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio [8086:3b56] (rev 06)
Subsystem: Lenovo Device [17aa:215e]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 17
Region 0: Memory at f2420000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel

00:1c.0 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 [8086:3b42] (rev 06) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1c.1 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 [8086:3b44] (rev 06) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
Memory behind bridge: f2000000-f20fffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1c.3 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 [8086:3b48] (rev 06) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Bus: primary=00, secondary=05, subordinate=0c, sec-latency=0
I/O behind bridge: 00003000-00003fff
Memory behind bridge: f0000000-f1ffffff
Prefetchable memory behind bridge: 00000000f2500000-00000000f25fffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1c.4 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 [8086:3b4a] (rev 06) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Bus: primary=00, secondary=0d, subordinate=0d, sec-latency=0
Memory behind bridge: f2100000-f21fffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1d.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b34] (rev 06) (prog-if 20 [EHCI])
Subsystem: Lenovo Device [17aa:2163]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin D routed to IRQ 19
Region 0: Memory at f2428400 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev a6) (prog-if 01 [Subtractive decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Bus: primary=00, secondary=0e, subordinate=0e, sec-latency=0
Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>

00:1f.0 ISA bridge [0601]: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller [8086:3b07] (rev 06)
Subsystem: Lenovo Device [17aa:2166]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Capabilities: <access denied>

00:1f.2 SATA controller [0106]: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller [8086:3b2f] (rev 06) (prog-if 01 [AHCI 1.0])
Subsystem: Lenovo Device [17aa:2168]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin B routed to IRQ 30
Region 0: I/O ports at 1818 [size=8]
Region 1: I/O ports at 180c [size=4]
Region 2: I/O ports at 1810 [size=8]
Region 3: I/O ports at 1808 [size=4]
Region 4: I/O ports at 1840 [size=32]
Region 5: Memory at f2427000 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: ahci

00:1f.3 SMBus [0c05]: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller [8086:3b30] (rev 06)
Subsystem: Lenovo Device [17aa:2167]
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 23
Region 0: Memory at f2428800 (64-bit, non-prefetchable) [size=256]
Region 4: I/O ports at 1860 [size=32]
Kernel driver in use: i801_smbus

00:1f.6 Signal processing controller [1180]: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem [8086:3b32] (rev 06)
Subsystem: Lenovo Device [17aa:2190]
Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin D routed to IRQ 11
Region 0: Memory at f2426000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>

01:00.0 VGA compatible controller [0300]: nVidia Corporation GT218 [NVS 3100M] [10de:0a6c] (rev a2) (prog-if 00 [VGA controller])
Subsystem: Lenovo Device [17aa:215c]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 16
Region 0: Memory at cc000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M]
Region 3: Memory at ce000000 (64-bit, prefetchable) [size=32M]
Region 5: I/O ports at 2000 [size=128]
Expansion ROM at cd000000 [disabled] [size=512K]
Capabilities: <access denied>
Kernel driver in use: nouveau

01:00.1 Audio device [0403]: nVidia Corporation High Definition Audio Controller [10de:0be3] (rev a1)
Subsystem: Lenovo Device [17aa:218f]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 17
Region 0: Memory at cdefc000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel

03:00.0 Network controller [0280]: Intel Corporation Centrino Ultimate-N 6300 [8086:4238] (rev 35)
Subsystem: Intel Corporation Centrino Ultimate-N 6300 3x3 AGN [8086:1111]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 31
Region 0: Memory at f2000000 (64-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: iwlagn

0d:00.0 SD Host controller [0805]: Ricoh Co Ltd MMC/SD Host Controller [1180:e822] (rev 01)
Subsystem: Lenovo Device [17aa:2133]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 16
Region 0: Memory at f2100000 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel driver in use: sdhci-pci

0d:00.1 System peripheral [0880]: Ricoh Co Ltd Memory Stick Host Controller [1180:e230] (rev 01)
Subsystem: Lenovo Device [17aa:2134]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 11
Region 0: Memory at f2100400 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>

0d:00.3 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd FireWire Host Controller [1180:e832] (rev 01) (prog-if 10 [OHCI])
Subsystem: Lenovo Device [17aa:2136]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin D routed to IRQ 19
Region 0: Memory at f2100800 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: firewire_ohci

ff:00.0 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers [8086:2c62] (rev 02)
Subsystem: Lenovo Device [17aa:2196]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0

ff:00.1 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture System Address Decoder [8086:2d01] (rev 02)
Subsystem: Lenovo Device [17aa:2196]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0

ff:02.0 Host bridge [0600]: Intel Corporation Core Processor QPI Link 0 [8086:2d10] (rev 02)
Subsystem: Lenovo Device [17aa:2196]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0

ff:02.1 Host bridge [0600]: Intel Corporation Core Processor QPI Physical 0 [8086:2d11] (rev 02)
Subsystem: Lenovo Device [17aa:2196]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0

ff:02.2 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d12] (rev 02)
Subsystem: Lenovo Device [17aa:2196]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0

ff:02.3 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d13] (rev 02)
Subsystem: Lenovo Device [17aa:2196]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0


** USB devices:
Bus 002 Device 003: ID 05c6:9204 Qualcomm, Inc.
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 009: ID 18a5:0302 Verbatim, Ltd
Bus 001 Device 008: ID 0a5c:217f Broadcom Corp. Bluetooth Controller
Bus 001 Device 007: ID 17ef:100a Lenovo
Bus 001 Device 005: ID 17ef:480f Lenovo Integrated Webcam [R5U877]
Bus 001 Device 003: ID 147e:2016 Upek Biometric Touchchip/Touchstrip Fingerprint Sensor
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


-- System Information:
Debian Release: 6.0.2
APT prefers proposed-updates
APT policy: (990, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-2.6.32-5-amd64 depends on:
ii debconf [debconf-2.0] 1.5.36.1 Debian configuration management sy
ii initramfs-tools [linux-initra 0.98.8 tools for generating an initramfs
ii linux-base 2.6.32-35 Linux image base package
ii module-init-tools 3.12-1 tools for managing Linux kernel mo

Versions of packages linux-image-2.6.32-5-amd64 recommends:
pn firmware-linux-free <none> (no description available)

Versions of packages linux-image-2.6.32-5-amd64 suggests:
pn grub | lilo <none> (no description available)
pn linux-doc-2.6.32 <none> (no description available)

Versions of packages linux-image-2.6.32-5-amd64 is related to:
pn firmware-bnx2 <none> (no description available)
pn firmware-bnx2x <none> (no description available)
pn firmware-ipw2x00 <none> (no description available)
pn firmware-ivtv <none> (no description available)
ii firmware-iwlwifi 0.28 Binary firmware for Intel Wireless
pn firmware-linux <none> (no description available)
pn firmware-linux-nonfree <none> (no description available)
pn firmware-qlogic <none> (no description available)
pn firmware-ralink <none> (no description available)
pn xen-hypervisor <none> (no description available)

-- debconf information:
linux-image-2.6.32-5-amd64/postinst/depmod-error-initrd-2.6.32-5-amd64: false
linux-image-2.6.32-5-amd64/prerm/removing-running-kernel-2.6.32-5-amd64: true
linux-image-2.6.32-5-amd64/postinst/missing-firmware-2.6.32-5-amd64:
linux-image-2.6.32-5-amd64/postinst/ignoring-do-bootloader-2.6.32-5-amd64:



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110906112407.4589.29050.reportbug@localhost">htt p://lists.debian.org/20110906112407.4589.29050.reportbug@localhost

Ben Hutchings 09-06-2011 02:07 PM

Bug#640665: linux-image-2.6.32-5-amd64: USB block device write error with images > 4 GB
 
On Tue, 2011-09-06 at 13:24 +0200, Josef Spillner wrote:
> Package: linux-2.6
> Version: 2.6.32-35
> Severity: normal
>
> I've partitioned a USB stick with parted into two partitions. The
> first one is set to be slightly larger
> than an image files which is copied over onto with dd, followed by a
> bootloader installation into the MBR.
> Now, this setup works fine for image files up to around 4 GB.
> Recently, the file has grown to 4329570304
> bytes which is slightly larger than this boundary. Suddenly, the dd
> invocation locks up at around the
> boundary and the kernel spits out some sort of "device blocked for too
> long" panic.
> The call trace can be found in the log below.
> Since the system is all amd64, this looks like a strange issue to me.

I don't know what the architecture has to do with anything. Linux on
any architecture can work with very large files and devices.

It's conceivable that there is a bug in the USB drive's firmware that
affects writes crossing the 4 GB boundary.

The warning actually doesn't refer to the blocked write, but to a task
that is trying to open the device. That is presumably blocked by the
first task, but it shouldn't be. This might indicate a locking bug.

> Also, it affects not just one USB
> stick but even a newly bought one (costly bug reporting...). Just
> copying the image to another file on
> an ext4 partition also works without any issues.
> Here's the command line used for the copy to the device:
>
> sudo dd if=foo.img of=/dev/sdb1 bs=1048576
[...]

Here is how you could test whether the 4 GB boundary is a problem for
the device:

dd if=/dev/zero of=/dev/sdb seek=8388607 bs=512 count=2

Note, this will of course erase part of /dev/sdb1. You could also test
reading across the boundary:

dd if=/dev/sdb of=/dev/null skip=8388607 bs=512 count=2

Ben.


All times are GMT. The time now is 10:10 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.