You are not logged in.

#1 2006-03-08 23:00:23

Elias
Member
From: Lyon (Fr)
Registered: 2006-01-19
Posts: 35
Website

[solved] ipod hfs + archck + usb

Hi,

I have an ipod that strangly refuse to be formated in FAT32 (write disk error when I try to format it) but works well using a mac.

I'am currently trying to use it with arch. Since i've read on this forum that some user managed to get it working with an archck kernel ("Mine came formatted as HFS+ and I use it fine with ArchCK"), i switched to archck (using a tutorial on the french archlinux wiki) without any problem (i'am currently using it).

Of course i compiled hfs support as a module while compiling archck with abs and did a "modprobe hfsplus" before plug in the ipod (its the only modification i made to the kernel config, the rest is the generic config).

But I still can't get my ipod to work, here is dmesg when i plug it :

usb 3-4: new high speed USB device using ehci_hcd and address 9
scsi8 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 9
usb-storage: waiting for device to settle before scanning
  Vendor: Apple     Model: iPod              Rev: 1.62
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sda: 39063023 512-byte hdwr sectors (20000 MB)
sda: Write Protect is off
sda: Mode Sense: 64 00 00 08
sda: assuming drive cache: write through
SCSI device sda: 39063023 512-byte hdwr sectors (20000 MB)
sda: Write Protect is off
sda: Mode Sense: 64 00 00 08
sda: assuming drive cache: write through
 sda:<6>usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
sd 8:0:0:0: SCSI error: return code = 0x70000
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
sd 8:0:0:0: SCSI error: return code = 0x70000
end_request: I/O error, dev sda, sector 1
Buffer I/O error on device sda, logical block 1
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
sd 8:0:0:0: SCSI error: return code = 0x70000
end_request: I/O error, dev sda, sector 2
Buffer I/O error on device sda, logical block 2
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
sd 8:0:0:0: SCSI error: return code = 0x70000
end_request: I/O error, dev sda, sector 3
Buffer I/O error on device sda, logical block 3
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
sd 8:0:0:0: SCSI error: return code = 0x70000
end_request: I/O error, dev sda, sector 4
Buffer I/O error on device sda, logical block 4
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
sd 8:0:0:0: SCSI error: return code = 0x70000
end_request: I/O error, dev sda, sector 5
Buffer I/O error on device sda, logical block 5
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
sd 8:0:0:0: SCSI error: return code = 0x70000
end_request: I/O error, dev sda, sector 6
Buffer I/O error on device sda, logical block 6
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
sd 8:0:0:0: SCSI error: return code = 0x70000
end_request: I/O error, dev sda, sector 7
Buffer I/O error on device sda, logical block 7
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
sd 8:0:0:0: SCSI error: return code = 0x70000
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
sd 8:0:0:0: SCSI error: return code = 0x70000
end_request: I/O error, dev sda, sector 1
Buffer I/O error on device sda, logical block 1
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
sd 8:0:0:0: SCSI error: return code = 0x70000
end_request: I/O error, dev sda, sector 2
Buffer I/O error on device sda, logical block 2
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
sd 8:0:0:0: SCSI error: return code = 0x70000
end_request: I/O error, dev sda, sector 3
Buffer I/O error on device sda, logical block 3
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
sd 8:0:0:0: SCSI error: return code = 0x70000
end_request: I/O error, dev sda, sector 4
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
sd 8:0:0:0: SCSI error: return code = 0x70000
end_request: I/O error, dev sda, sector 5
printk: 1 messages suppressed.
Buffer I/O error on device sda, logical block 5
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
sd 8:0:0:0: SCSI error: return code = 0x70000
end_request: I/O error, dev sda, sector 6
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
sd 8:0:0:0: SCSI error: return code = 0x70000
end_request: I/O error, dev sda, sector 7
 unable to read partition table
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
usb 3-4: reset high speed USB device using ehci_hcd and address 9
sd 8:0:0:0: Attached scsi removable disk sda
sd 8:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete

There isn't anything that show up in /dev exept "sda". I tried using another usb port but it didn't changed anything.

(fdisk can't read the ipod too...)

# fdisk /dev/sda

Unable to read /dev/sda

And i repeat, the ipod works perfectly with a mac, even after this dmesg output.

Any ideas? thx.

Offline

#2 2006-03-09 06:13:40

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [solved] ipod hfs + archck + usb

Does the ipod work fine with a regular ArchCK kernel from testing? (testing/kernel26archck)

If it doesnt, I'd say the ipod is bust and you should get another one while its in warranty... The fact that it refuses to be reformatted, and spits out disk errors isnt good.

iphitus

Offline

#3 2006-03-09 09:17:51

Elias
Member
From: Lyon (Fr)
Registered: 2006-01-19
Posts: 35
Website

Re: [solved] ipod hfs + archck + usb

damn, this ipod is just out-of-the-box (it come from an apple center, i already change my ipod twice in 9 months).

i'll activate testing and install kernel26archck.

Offline

#4 2006-03-09 09:55:30

Elias
Member
From: Lyon (Fr)
Registered: 2006-01-19
Posts: 35
Website

Re: [solved] ipod hfs + archck + usb

Well, here are some news.

I installed and rebooted with kernel26archck... the ipod didn't work too.

But i managed to read the partition content with parted.

[root@tux max]# parted /dev/sda
GNU Parted 1.6.25.1
Copyright (C) 1998 - 2005 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This Program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

We use /dev/sda
(parted) p
Disk geometry for /dev/sda: 0kB - 20GB
Disk label type: mac
Minor    Start       End     Filesystem  Name                  Flags
1          1kB         32kb                   partition map
2          32kB       34MB                  firmware
3         34MB      20GB    hfs+              disk
(parted)

So parted reads it whereas fdisk can't (as i said and as you see, the ipod is empty, i just tryied to use it with both a mac and arch... and it just come out of the box). I read over internet that parted "is better" than fdisk because it try to read the partition table by its own and so can even read an mac partition map if the kernel as not been compiled to...

I'll try once again with a custom kernel and some others options
(CONFIG_MAC_PARTITION, CONFIG_MSDOS_PARTITION, CONFIG_SCSI_MULTI_LUN). (i've read on internet that even if the ipod is formated by a mac (and so use a mac partition map), you need to have the support for msdos partition otherwise it doesn't work. how can i see the config for the archck kernel i just installed from testing?) Thank you for helping me.

Offline

#5 2006-03-09 13:27:34

hotsauce
Member
From: Ann Arbor
Registered: 2005-12-28
Posts: 125

Re: [solved] ipod hfs + archck + usb

I had the same problem. It's some kind of conflict with module "ehci_hcd"

modify /etc/rc.conf add ehci_hcd to your MOD_BLACKLIST()

maybe there has been some changes now and you need to add !ehci_hcd to your MODULES()

I can't remember which that early in the morning.

Hope that helps.

hotsauce

Edit: Hmmm.. after all i'm not at all sure anymore hehe. good luck anyway

Offline

#6 2006-03-09 19:29:48

Elias
Member
From: Lyon (Fr)
Registered: 2006-01-19
Posts: 35
Website

Re: [solved] ipod hfs + archck + usb

It finally worked out !

The errors messages and the especially long time to scan the device were due to a conflict with "ehci_hcd".

The non-recognition of the partitions was due to the absence in the kernel of CONFIG_MSDOS_PARTITION and CONFIG_MAC_PARTITION (and its not a rumor, i tested without the "msdos", you DO need CONFIG_MSDOS_PARTITION even if you don't have any).

Offline

#7 2006-03-09 22:22:17

hotsauce
Member
From: Ann Arbor
Registered: 2005-12-28
Posts: 125

Re: [solved] ipod hfs + archck + usb

ah-ha! so I got at least part of it right!!  big_smile

Offline

Board footer

Powered by FluxBB