[Bug 37163] EFI-support in kernel causes I/O errors with iPods

Pontus Schönberg pontus.schonberg at elisanet.fi
Wed Mar 29 13:24:53 UTC 2006


Public bug reported:
https://launchpad.net/malone/bugs/37163

Affects: linux-source-2.6.15 (Ubuntu)
       Severity: Normal
       Priority: (none set)
         Status: Unconfirmed

Description:
My iPod (that worked with Hoary & Breezy) fails to work in Dapper. It
mounts automaticly, and unmounts without any problems. But when I try to
read or write to it, it freezes after random time (usualy about 10
seconds), with lots of I/O errors in kern.log and sys.log. After that it
will fail to unmount, or do anything else. This also corrupts iPods
database and all stored data. Only way to fix it is full reset and
clearing all settings and data from iPod. (and that needs apple's iPod
updater software, only available for OSX and Windows)

Mar 28 16:13:54 localhost kernel: [4295710.047000] usb 1-5: new high speed USB device using ehci_hcd and address 6
Mar 28 16:13:54 localhost kernel: [4295710.162000] scsi5 : SCSI emulation for USB Mass Storage devices
Mar 28 16:13:59 localhost kernel: [4295715.163000]   Vendor: Apple     Model: iPod              Rev: 1.62
Mar 28 16:13:59 localhosWht kernel: [4295715.163000]   Type:   Direct-Access                      ANSI SCSI revision: 00
Mar 28 16:13:59 localhost kernel: [4295715.164000] SCSI device sdb: 12000555 512-byte hdwr sectors (6144 MB)
Mar 28 16:13:59 localhost kernel: [4295715.165000] sdb: Write Protect is off
Mar 28 16:13:59 localhost kernel: [4295715.167000] SCSI device sdb: 12000555 512-byte hdwr sectors (6144 MB)
Mar 28 16:13:59 localhost kernel: [4295715.167000] sdb: Write Protect is off
Mar 28 16:14:00 localhost kernel: [4295715.167000]  sdb: sdb1 sdb2
Mar 28 16:14:00 localhost kernel: [4295715.483000] sd 5:0:0:0: Attached scsi removable disk sdb
Mar 28 16:14:00 localhost kernel: [4295715.483000] sd 5:0:0:0: Attached scsi generic sg1 type 0
.
.
Mar 28 16:27:58 localhost kernel: [4296554.241000] usb 1-5: reset high speed USB device using ehci_hcd and address 6
Mar 28 16:27:58 localhost kernel: [4296554.356000] sd 5:0:0:0: scsi: Device offlined - not ready after error recovery
Mar 28 16:27:58 localhost kernel: [4296554.356000] sd 5:0:0:0: SCSI error: return code = 0x50000
Mar 28 16:27:58 localhost kernel: [4296554.356000] end_request: I/O error, dev sdb, sector 1416681
Mar 28 16:27:58 localhost kernel: [4296554.356000] printk: 152925 messages suppressed.
Mar 28 16:27:58 localhost kernel: [4296554.356000] lost page write due to I/O error on sdb2
Mar 28 16:27:58 localhost last message repeated 9 times
Mar 28 16:27:58 localhost kernel: [4296554.367000] sd 5:0:0:0: SCSI error: return code = 0x10000
Mar 28 16:27:58 localhost kernel: [4296554.367000] end_request: I/O error, dev sdb, sector 1416809
Mar 28 16:28:19 localhost kernel: [4296574.521000] printk: 53765 messages suppressed.
Mar 28 16:28:27 localhost kernel: [4296582.814000] printk: 20 messages suppressed.
Mar 28 16:28:27 localhost kernel: [4296582.814000] lost page write due to I/O error on sdb2
.
.
Mar 28 14:45:51 localhost kernel: [4311435.158000] usb 1-5: reset high speed USB device using ehci_hcd and address 7
Mar 28 14:46:02 localhost kernel: [4311445.378000] usb 1-5: reset high speed USB device using ehci_hcd and address 7
Mar 28 14:46:18 localhost kernel: [4311461.697000] usb 1-5: reset high speed USB device using ehci_hcd and address 7
Mar 28 14:46:18 localhost kernel: [4311461.915000] usb 1-5: reset high speed USB device using ehci_hcd and address 7
Mar 28 14:46:28 localhost kernel: [4311472.132000] usb 1-5: reset high speed USB device using ehci_hcd and address 7
Mar 28 14:46:28 localhost kernel: [4311472.247000] sd 6:0:0:0: scsi: Device offlined - not ready after error recovery
Mar 28 14:46:28 localhost kernel: [4311472.247000] sd 6:0:0:0: SCSI error: return code = 0x50000
Mar 28 14:46:28 localhost kernel: [4311472.247000] end_request: I/O error, dev sdb, sector 1701609
Mar 28 14:46:30 localhost kernel: <<3>[4311473.240000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:46:31 localhost kernel: <3<3>[4311474.240000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:46:33 localhost kernel: [4311477.247000] printk: 602161 messages suppressed.
Mar 28 14:46:34 localhost kernel: <<3>[4311477.792000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:46:38 localhost kernel: [4311482.247000] printk: 309879 messages suppressed.
Mar 28 14:46:43 localhost kernel: [4311487.247000] printk: 338423 messages suppressed.
Mar 28 14:46:47 localhost kernel: <<3>[4311490.471000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:46:47 localhost kernel: <<3>[4311491.000000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:46:48 localhost kernel: [4311492.311000] printk: 350391 messages suppressed.
Mar 28 14:46:52 localhost kernel: <<3>[4311495.379000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:46:52 localhost kernel: <<3>[4311495.858000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:46:53 localhost kernel: [4311497.247000] printk: 365375 messages suppressed.
Mar 28 14:46:55 localhost kernel: <<3>[4311498.818000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:46:58 localhost kernel: [4311502.270000] printk: 356711 messages suppressed.
Mar 28 14:46:59 localhost kernel: <<3>[4311502.941000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:47:00 localhost kernel: <<3>[4311503.636000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:47:01 localhost kernel: <<3>[4311504.265000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:47:01 localhost kernel: <<3>[4311504.891000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:47:02 localhost kernel: <<3>[4311505.479000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:47:02 localhost kernel: <<3>[4311506.066000] sd 6:0:0:0<3>[4311506.066000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:47:03 localhost kernel: <<3>[4311506.732000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:47:04 localhost kernel: [4311507.255000] printk: 662527 messages suppressed.
Mar 28 14:47:04 localhost kernel: <<3>[4311508.003000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:47:05 localhost kernel: <<3>[4311508.616000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:47:05 localhost kernel: <<3>[4311509.188000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:47:06 localhost kernel: <<3>[4311509.791000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:47:07 localhost kernel: <<3>[4311510.378000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:47:07 localhost kernel: <<3>[4311510.929000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:47:08 localhost kernel: <<3>[4311511.544000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:47:08 localhost kernel: <<3>[4311512.191000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:47:09 localhost kernel: <<3>[4311512.821000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:47:10 localhost kernel: <<3>[4311513.388000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:47:10 localhost kernel: <<3>[4311513.990000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:47:11 localhost kernel: <<3>[4311514.658000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:47:12 localhost kernel: <<3>[4311515.327000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:47:12 localhost kernel: <<3>[4311516.010000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:47:13 localhost kernel: <<3>[4311516.666000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:47:14 localhost kernel: [4311517.263000] printk: 676744 messages suppressed.
Mar 28 14:47:14 localhost kernel: <<3>[4311518.044000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:47:15 localhost kernel: <<3>[4311518.638000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:47:16 localhost kernel: <<3>[4311519.268000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:47:16 localhost kernel: <<3>[4311519.866000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:47:17 localhost kernel: <<3>[4311520.483000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:47:17 localhost kernel: <<3>[4311521.021000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:47:18 localhost kernel: <<3>[4311521.711000] sd 6:0:0:0: rejecting I/O to offline device
Mar 28 14:47:19 localhost kernel: [4311522.247000] printk: 730416 messages suppressed.

kern.log:

Mar 28 14:12:00 localhost kernel: [4309403.225000] usb 1-5: new high speed USB device using ehci_hcd and address 3
Mar 28 14:12:01 localhost kernel: [4309403.423000] Initializing USB Mass Storage driver...
Mar 28 14:12:01 localhost kernel: [4309403.423000] scsi2 : SCSI emulation for USB Mass Storage devices
Mar 28 14:12:01 localhost kernel: [4309403.424000] usb-storage: device found at 3
Mar 28 14:12:01 localhost kernel: [4309403.424000] usb-storage: waiting for device to settle before scanning
Mar 28 14:12:01 localhost kernel: [4309403.424000] usbcore: registered new driver usb-storage
Mar 28 14:12:01 localhost kernel: [4309403.424000] USB Mass Storage support registered.
Mar 28 14:12:06 localhost kernel: [4309408.425000]   Vendor: Apple     Model: iPod              Rev: 1.62
Mar 28 14:12:06 localhost kernel: [4309408.425000]   Type:   Direct-Access                      ANSI SCSI revision: 00
Mar 28 14:12:06 localhost kernel: [4309408.427000] SCSI device sdb: 12000555 512-byte hdwr sectors (6144 MB)
Mar 28 14:12:06 localhost kernel: [4309408.428000] sdb: Write Protect is off
Mar 28 14:12:06 localhost kernel: [4309408.428000] sdb: Mode Sense: 64 00 00 08
Mar 28 14:12:06 localhost kernel: [4309408.428000] sdb: assuming drive cache: write through
Mar 28 14:12:06 localhost kernel: [4309408.429000] SCSI device sdb: 12000555 512-byte hdwr sectors (6144 MB)
Mar 28 14:12:06 localhost kernel: [4309408.430000] sdb: Write Protect is off
Mar 28 14:12:06 localhost kernel: [4309408.430000] sdb: Mode Sense: 64 00 00 08
Mar 28 14:12:06 localhost kernel: [4309408.430000] sdb: assuming drive cache: write through
Mar 28 14:12:06 localhost kernel: [4309408.430000]  sdb: sdb1 sdb2
Mar 28 14:12:06 localhost kernel: [4309408.774000] sd 2:0:0:0: Attached scsi removable disk sdb
Mar 28 14:12:06 localhost kernel: [4309408.774000] sd 2:0:0:0: Attached scsi generic sg1 type 0
Mar 28 14:12:06 localhost kernel: [4309408.775000] usb-storage: device scan complete
Mar 28 14:12:07 localhost kernel: [4309409.756000] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
Mar 28 14:13:49 localhost kernel: [4309512.063000] usb 1-5: reset high speed USB device using ehci_hcd and address 3
Mar 28 14:14:19 localhost kernel: [4309542.280000] usb 1-5: reset high speed USB device using ehci_hcd and address 3
Mar 28 14:14:30 localhost kernel: [4309552.497000] usb 1-5: reset high speed USB device using ehci_hcd and address 3
Mar 28 14:14:46 localhost kernel: [4309568.816000] usb 1-5: reset high speed USB device using ehci_hcd and address 3
Mar 28 14:14:46 localhost kernel: [4309569.034000] usb 1-5: reset high speed USB device using ehci_hcd and address 3
Mar 28 14:14:56 localhost kernel: [4309579.252000] usb 1-5: reset high speed USB device using ehci_hcd and address 3
Mar 28 14:14:57 localhost kernel: [4309579.369000] sd 2:0:0:0: scsi: Device offlined - not ready after error recovery
Mar 28 14:14:57 localhost kernel: [4309579.369000] sd 2:0:0:0: SCSI error: return code = 0x50000
Mar 28 14:14:57 localhost kernel: [4309579.369000] end_request: I/O error, dev sdb, sector 2867905
Mar 28 14:14:57 localhost kernel: [4309579.369000] Buffer I/O error on device sdb2, logical block 2787580
Mar 28 14:14:57 localhost kernel: [4309579.369000] lost page write due to I/O error on sdb2
Mar 28 14:14:57 localhost kernel: [4309579.369000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost kernel: [4309579.369000] Buffer I/O error on device sdb2, logical block 2787581
Mar 28 14:14:57 localhost kernel: [4309579.369000] lost page write due to I/O error on sdb2
Mar 28 14:14:57 localhost kernel: [4309579.369000] Buffer I/O error on device sdb2, logical block 2787582
Mar 28 14:14:57 localhost kernel: [4309579.369000] lost page write due to I/O error on sdb2
Mar 28 14:14:57 localhost kernel: [4309579.369000] Buffer I/O error on device sdb2, logical block 2787583
Mar 28 14:14:57 localhost kernel: [4309579.369000] lost page write due to I/O error on sdb2
Mar 28 14:14:57 localhost kernel: [4309579.369000] Buffer I/O error on device sdb2, logical block 2787584
Mar 28 14:14:57 localhost kernel: [4309579.369000] lost page write due to I/O error on sdb2
Mar 28 14:14:57 localhost kernel: [4309579.369000] Buffer I/O error on device sdb2, logical block 2787585
Mar 28 14:14:57 localhost kernel: [4309579.369000] lost page write due to I/O error on sdb2
Mar 28 14:14:57 localhost kernel: [4309579.369000] Buffer I/O error on device sdb2, logical block 2787586
Mar 28 14:14:57 localhost kernel: [4309579.369000] lost page write due to I/O error on sdb2
Mar 28 14:14:57 localhost kernel: [4309579.369000] Buffer I/O error on device sdb2, logical block 2787587
Mar 28 14:14:57 localhost kernel: [4309579.369000] lost page write due to I/O error on sdb2
Mar 28 14:14:57 localhost kernel: [4309579.369000] Buffer I/O error on device sdb2, logical block 2787588
Mar 28 14:14:57 localhost kernel: [4309579.369000] lost page write due to I/O error on sdb2
Mar 28 14:14:57 localhost kernel: [4309579.369000] Buffer I/O error on device sdb2, logical block 2787589
Mar 28 14:14:57 localhost kernel: [4309579.369000] lost page write due to I/O error on sdb2
Mar 28 14:14:57 localhost kernel: [4309579.369000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost last message repeated 130 times
Mar 28 14:14:57 localhost kernel: [4309579.380000] sd 2:0:0:0: SCSI error: return code = 0x10000
Mar 28 14:14:57 localhost kernel: [4309579.380000] end_request: I/O error, dev sdb, sector 2868033
Mar 28 14:14:57 localhost kernel: [4309579.380000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost kernel: [4309579.384000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost last message repeated 8 times
Mar 28 14:14:57 localhost kernel: [4309579.385000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost last message repeated 5 times
Mar 28 14:14:57 localhost kernel: [4309579.388000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost kernel: [4309579.388000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost kernel: [4309579.392000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost last message repeated 8 times
Mar 28 14:14:57 localhost kernel: [4309579.393000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost last message repeated 8 times
Mar 28 14:14:57 localhost kernel: [4309579.394000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost last message repeated 8 times
Mar 28 14:14:57 localhost kernel: [4309579.395000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost last message repeated 5 times
Mar 28 14:14:57 localhost kernel: [4309579.396000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost last message repeated 8 times
Mar 28 14:14:57 localhost kernel: [4309579.397000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost last message repeated 8 times
Mar 28 14:14:57 localhost kernel: [4309579.398000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost last message repeated 8 times
Mar 28 14:14:57 localhost kernel: [4309579.399000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost last message repeated 8 times
Mar 28 14:14:57 localhost kernel: [4309579.400000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost last message repeated 8 times
Mar 28 14:14:57 localhost kernel: [4309579.401000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost last message repeated 5 times
Mar 28 14:14:57 localhost kernel: [4309579.406000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost last message repeated 5 times
Mar 28 14:14:57 localhost kernel: [4309579.407000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost last message repeated 5 times
Mar 28 14:14:57 localhost kernel: [4309579.408000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost last message repeated 8 times
.
.
Mar 28 14:14:57 localhost kernel: [4309579.596000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost last message repeated 4 times
Mar 28 14:14:57 localhost kernel: [4309579.597000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost kernel: [4309579.597000] FAT: Directory bread(block 547583) failed
Mar 28 14:14:57 localhost kernel: [4309579.597000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost kernel: [4309579.597000] FAT: Directory bread(block 547583) failed
Mar 28 14:14:57 localhost kernel: [4309579.597000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost kernel: [4309579.597000] FAT: Directory bread(block 547583) failed
Mar 28 14:14:57 localhost kernel: [4309579.598000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost last message repeated 9 times
Mar 28 14:14:57 localhost kernel: [4309579.599000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost last message repeated 2 times
Mar 28 14:14:57 localhost kernel: [4309579.599000] FAT: Directory bread(block 547580) failed
Mar 28 14:14:57 localhost kernel: [4309579.599000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost kernel: [4309579.599000] FAT: Directory bread(block 547583) failed
Mar 28 14:14:57 localhost kernel: [4309579.599000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost last message repeated 2 times
Mar 28 14:14:57 localhost kernel: [4309579.599000] FAT: Directory bread(block 547580) failed
Mar 28 14:14:57 localhost kernel: [4309579.599000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost kernel: [4309579.599000] FAT: Directory bread(block 547583) failed
Mar 28 14:14:57 localhost kernel: [4309579.599000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost last message repeated 2 times
Mar 28 14:14:57 localhost kernel: [4309579.599000] FAT: Directory bread(block 547580) failed
Mar 28 14:14:57 localhost kernel: [4309579.599000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost kernel: [4309579.599000] FAT: Directory bread(block 547583) failed
Mar 28 14:14:57 localhost kernel: [4309579.599000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost kernel: [4309579.599000] FAT: FAT read failed (blocknr 2616)
Mar 28 14:14:57 localhost kernel: [4309579.599000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost kernel: [4309579.599000] FAT: bread failed in fat_clusters_flush
Mar 28 14:14:57 localhost kernel: [4309579.636000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost kernel: [4309579.636000] FAT: FAT read failed (blocknr 2815)
Mar 28 14:14:57 localhost kernel: [4309579.636000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost kernel: [4309579.636000] FAT: bread failed in fat_clusters_flush
Mar 28 14:14:57 localhost kernel: [4309579.637000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost kernel: [4309579.637000] FAT: FAT read failed (blocknr 2815)
Mar 28 14:14:57 localhost kernel: [4309579.637000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost kernel: [4309579.637000] FAT: bread failed in fat_clusters_flush
Mar 28 14:14:57 localhost kernel: [4309579.637000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost kernel: [4309579.637000] FAT: FAT read failed (blocknr 2815)
Mar 28 14:14:57 localhost kernel: [4309579.637000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost kernel: [4309579.637000] FAT: bread failed in fat_clusters_flush
Mar 28 14:14:57 localhost kernel: [4309579.637000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost kernel: [4309579.637000] FAT: FAT read failed (blocknr 2815)
Mar 28 14:14:57 localhost kernel: [4309579.637000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost kernel: [4309579.637000] FAT: bread failed in fat_clusters_flush
Mar 28 14:14:57 localhost kernel: [4309579.637000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost kernel: [4309579.637000] FAT: FAT read failed (blocknr 2815)
Mar 28 14:14:57 localhost kernel: [4309579.637000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost kernel: [4309579.637000] FAT: bread failed in fat_clusters_flush
Mar 28 14:14:57 localhost kernel: [4309579.637000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost kernel: [4309579.637000] FAT: FAT read failed (blocknr 2815)
Mar 28 14:14:57 localhost kernel: [4309579.637000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost kernel: [4309579.637000] FAT: bread failed in fat_clusters_flush
Mar 28 14:14:57 localhost kernel: [4309579.638000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost kernel: [4309579.638000] FAT: FAT read failed (blocknr 2815)
Mar 28 14:14:57 localhost kernel: [4309579.638000] sd 2:0:0:0: rejecting I/O to offline device
Mar 28 14:14:57 localhost kernel: [4309579.638000] FAT: bread failed in fat_clusters_flush


After searhing for any solution this I found this:

"When connecting an iPod via USB to a 2.6 kernel machine the iPod will
be recognized but not work correctly. In /var/log/messages you'll see
the a bunch of "Buffer I/O error on device sd?" when connecting the
iPod (Jonas Bergler, Kevin Venkiteswaran)

Solution (by "jeffmock"):

Disable CONFIG_EFI_PARTITION (File Systems -> Partition Types ->
Advanced Partition Selection -> EFI GUID Partition support) in your
kernel configuration, recompile.

Details can be found at 
http://www.linuxquestions.org/questions/showthread.php?postid=1197015#post1197015

Excerpt:

"This problem could potentially happen with both 2.4 and 2.6 kernels.

A longer story follows and perhaps someone can come up with a more
sensible solution for the long run.

The iPod looks like a removable disk drive to the host computer. When it
is attached to the computer, the mini iPod reports a capacity of 7999488
512-byte sectors (or about 4GB). This turns out to be wrong for whatever
reason. The mini iPod only really has 7999376 sectors and it exaggerates
by 112 sectors. The other quality of the iPod is that if the computer
attempts to read a sector greater than the actual capacity but less than
the reported capacity, the iPod will dutifully report an I/O error, but
it won't respond to any future requests until you unplug/plug the iPod."

I followed the kernel recompile instructions for distro, disabled only
the CONFIG_EFI_PARTITION option, and things ran perfectly for me
afterwards. As indicated above, hopefully a better long-term solution
will emerge soon."

(Jorg Schuler: it seems a patch was introduced in kernel version 2.6.10:
"<phil at ipom.com> [PATCH] USB Storage: Add unusual_devs entry for iPod
This patch adds an unusual_devs.h entry for the Apple iPod as it
reports one too many sectors. The patch was submitted by
Avi Kivity <avi at argo.co.il> and re-diffed by me.")"

As that was only thing worth trying, I recompiled kernel disabling EFI-
PARTITION, and that solved the problem.

With EFI partition support disabled my iPod works perfectly. But that is
hardly a suitable solution for all users, and the quoted post mentions a
patch that fixes this problem allowing both EFI and iPods to be
supported at the same time..




More information about the kernel-bugs mailing list