From owner-freebsd-questions@FreeBSD.ORG Thu Mar 24 18:44:06 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D47CD16A4CE for ; Thu, 24 Mar 2005 18:44:06 +0000 (GMT) Received: from 239dsl82.soderhamn-net.com (239dsl82.soderhamn-net.com [81.94.82.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A5A543D2F for ; Thu, 24 Mar 2005 18:44:06 +0000 (GMT) (envelope-from ulfalizer@gmail.com) Received: by 239dsl82.soderhamn-net.com (Postfix, from userid 1001) id 7B2696104; Thu, 24 Mar 2005 19:47:49 +0100 (CET) Date: Thu, 24 Mar 2005 19:47:49 +0100 From: Ulf Magnusson To: freebsd-questions list Message-ID: <20050324184749.GA889@obygden> Mail-Followup-To: freebsd-questions list References: <20050323225935.GA573@obygden> <16961.63535.308365.99806@jerusalem.litteratus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16961.63535.308365.99806@jerusalem.litteratus.org> User-Agent: Mutt/1.4.2.1i Subject: Re: iPod USB problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2005 18:44:07 -0000 On Ons, Mar 23, 2005 at 11:59:35pm +0100, Ulf Magnusson wrote: > I'm trying to get FreeBSD to "see" my iPod filesystem. I stumbled across > this howto, http://www.osxhax.com/archives/000009.html, that outlines > the procedure when using firewire. > > Unfortunately, my board doesn't support fireware, and so I have to use > USB. The iPod is detected at boot, as can be seen in the log: > > > * This section takes a long time to complete * > (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR > (probe0:umass-sim0:0:0:0): Retrying Command > (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR > (probe0:umass-sim0:0:0:0): Retrying Command > (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR > (probe0:umass-sim0:0:0:0): Retrying Command > * End of section * > GEOM: new disk da0 > ioapic0: routing intpin 1 (ISA IRQ 1) to cluster 0 > ioapic0: routing intpin 3 (ISA IRQ 3) to cluster 0 > ioapic0: routing intpin 4 (ISA IRQ 4) to cluster 0 > ioapic0: routing intpin 6 (ISA IRQ 6) to cluster 0 > ioapic0: routing intpin 7 (ISA IRQ 7) to cluster 0 > ioapic0: routing intpin 8 (ISA IRQ 8) to cluster 0 > ioapic0: routing intpin 9 (ISA IRQ 9) to cluster 0 > ioapic0: routing intpin 13 (ISA IRQ 13) to cluster 0 > ioapic0: routing intpin 14 (ISA IRQ 14) to cluster 0 > ioapic0: routing intpin 15 (ISA IRQ 15) to cluster 0 > ioapic0: routing intpin 16 (PCI IRQ 16) to cluster 0 > ioapic0: routing intpin 18 (PCI IRQ 18) to cluster 0 > ioapic0: routing intpin 21 (PCI IRQ 21) to cluster 0 > ioapic0: routing intpin 22 (PCI IRQ 22) to cluster 0 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Removable Direct Access SCSI-0 device > da0: Serial Number JQ5040KTPS9 > da0: 1.000MB/s transfers > da0: 19073MB (39063024 512 byte sectors: 255H 63S/T 2431C) > > The marked section takes several minutes to complete. > > I thought I'd try mounting da0 as is done in the tutorial, the fstab > entry being, > > /dev/da0 /ipod msdos rw,noauto 0 0 > > , but it fails with the error message "msdosfs: /dev/da0: Invalid > argument." I get no other da0* /dev entries. The boot message for the > USB port to which I attached the iPod (which is a USB 2.0 port) might > also be helpful, so I'll include it: > > usb1: OHCI version 1.0, legacy support > usb1: SMM does not respond, resetting > usb1: on ohci1 > usb1: USB revision 1.0 > > does the last line mean FreeBSD isn't correctly detecting USB 2.0 on the > port? > > I'm running FreeBSD 5.3-RELEASE, using a Epox nForce2 motherboard. > > Help appreciated as always. I added the EHCI driver, and now my ports are correctly being identified as USB 2.0 . Relevant (as far as I could tell) boot messages follow: ohci0: mem 0xe4001000-0xe4001fff irq 22 at device 2.0 on pci0 ohci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xe4001000 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 umass0: Apple iPod, rev 2.00/0.01, addr 3 umass0:0:0:-1: Attached to scbus0 ohci1: mem 0xe4004000-0xe4004fff irq 21 at device 2.1 on pci0 ohci1: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xe4004000 ohci1: [GIANT-LOCKED] ehci0: mem 0xe4005000-0xe40050ff irq 20 at device 2.2 on pci0 ehci0: Reserved 0x100 bytes for rid 0x10 type 3 at 0xe4005000 ehci0: [GIANT-LOCKED] ehci_pci_attach: companion usb0 ehci_pci_attach: companion usb1 usb2: EHCI version 1.0 usb2: companion controllers, 4 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 umass1: Apple iPod, rev 2.00/0.01, addr 2 umass1:1:1:-1: Attached to scbus1 pcib1: at device 8.0 on pci0 pcib1: secondary bus 1 pcib1: subordinate bus 1 pcib1: I/O decode 0xd000-0xdfff pcib1: memory decode 0xe2000000-0xe3ffffff pcib1: prefetched decode 0xfff00000-0xfffff GEOM: new disk ad0 [0] f:80 typ:165 s(CHS):0/0/17 e(CHS):1023/133/36 s:16 l:78164624 [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 umass0: at uhub0 port 2 (addr 3) disconnected umass0: detached (probe0:umass-sim0:0:0:0): CAM Status 0x39 (probe0:umass-sim0:0:0:0): Retrying Command (probe0:umass-sim0:0:0:0): CAM Status 0x39 (probe0:umass-sim0:0:0:0): Retrying Command (probe0:umass-sim0:0:0:0): CAM Status 0x39 (probe0:umass-sim0:0:0:0): Retrying Command (probe0:umass-sim0:0:0:0): CAM Status 0x39 (probe0:umass-sim0:0:0:0): Retrying Command (probe0:umass-sim0:0:0:0): error 5 (probe0:umass-sim0:0:0:0): Retries Exhausted (probe1:umass-sim1:1:0:0): Request completed with CAM_REQ_CMP_ERR (probe1:umass-sim1:1:0:0): Retrying Command GEOM: new disk da0 da0 at umass-sim1 bus 1 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: Serial Number JQ5040KTPS9 da0: 1.000MB/s transfers da0: 19073MB (39063024 512 byte sectors: 255H 63S/T 2431C) I still have the same problem though; only da0 shows up in /dev , and it still can't be mounted. "camcontrol devlist" now lists my iPod as, at scbus1 target 0 lun 0 (da0) , but when I try to eject it with "camcontrol eject 1:0:0", I get the error message "camcontrol: cam_open_btl: no passthrough device found at 1:0:0". Perhaps I've just misunderstood what camcontrol eject expects. I think I'm gonna try upgrading to the latest version of the EHCI driver from CVS. Any other suggestions?