Professional Web Applications Themes

iPod USB problems - FreeBSD

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 ...

  1. #1

    Default iPod USB problems

    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: <Apple iPod 1.62> 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: <OHCI (generic) USB controller> 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.
    Ulf Guest

  2. #2

    Default iPod USB problems


    Ulf Magnusson writes:
     

    As I remember it:

    a) USB 2.0 requires the EHCI driver
    b) the EHCI driver, while much improved over previous versions,
    is still not 100% ready for prime time. (You should search the list
    archives for more information,)


    Robert Huff

    Robert Guest

  3. #3

    Default Re: iPod USB problems

    On Ons, Mar 23, 2005 at 11:59:35pm +0100, Ulf Magnusson wrote: 

    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: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> on ohci0
    usb0: USB revision 1.0
    <SNIP>
    umass0: Apple iPod, rev 2.00/0.01, addr 3
    umass0:0:0:-1: Attached to scbus0
    ohci1: <OHCI (generic) USB controller> 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]
    <SNIP>
    ehci0: <EHCI (generic) USB 2.0 controller> 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]
    <SNIP>
    ehci_pci_attach: companion usb0
    ehci_pci_attach: companion usb1
    usb2: EHCI version 1.0
    usb2: companion controllers, 4 ports each: usb0 usb1
    usb2: <EHCI (generic) USB 2.0 controller> on ehci0
    usb2: USB revision 2.0
    <SNIP>
    umass1: Apple iPod, rev 2.00/0.01, addr 2
    umass1:1:1:-1: Attached to scbus1
    pcib1: <ACPI PCI-PCI bridge> 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
    <SNIP>
    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
    <SNIP>
    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
    <SNIP>
    da0 at umass-sim1 bus 1 target 0 lun 0
    da0: <Apple iPod 1.62> 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,

    <Apple iPod 1.62> 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?
    Ulf Guest

  4. #4

    Default Re: iPod USB problems

    On Thursday 24 March 2005 13:47, Ulf Magnusson wrote:
     

    btw, have you done a simple:

    ls -sald /dev/da0*

    ?

    I'm working on this right now, and I found the 'pod at /dev/da0s2

    However, the pod is having issues. If I boot the pod from the machine
    when down, it's recognized and everything is fine.

    However, if I try to connect after I'm up, I get the umass device but
    not the da0 device. Just weird.

    P.
    Paul Guest

  5. #5

    Default Re: iPod USB problems

    On Tor, Mar 24, 2005 at 03:22:43pm -0500, Paul J. Pathiakis wrote: 
    >
    > btw, have you done a simple:
    >
    > ls -sald /dev/da0*
    >
    > ?
    >
    > I'm working on this right now, and I found the 'pod at /dev/da0s2
    >
    > However, the pod is having issues. If I boot the pod from the machine
    > when down, it's recognized and everything is fine.
    >
    > However, if I try to connect after I'm up, I get the umass device but
    > not the da0 device. Just weird.
    >
    > P.[/ref]

    Yes, all I have is the /dev/da0 device.
    Ulf Guest

  6. #6

    Default Re: iPod USB problems

     


    Well, first off, I'm not getting those CAM retry errors...

    second, I noticed this:

    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,

    <snip>

    message "camcontrol: cam_open_btl: no passthrough device found at
    1:0:0".
    Perhaps I've just misunderstood what camcontrol eject expects.

    What SCSI options are in your kernel? (I'm REALLY reaching here, just
    trying to help...)

    I noticed that it says "no passthrough device",

    I have no idea, but, I have the fully SCSI device set in my kernel,
    including the passthrough device, pass. If you do, then, I guess we
    just have to believe it's having trouble talking to the device and due
    to the trouble, it's not detecting the passthrough device because it
    never negotiated the SCSI target correctly.

    # SCSI peripherals
    device scbus # SCSI bus (required for SCSI)
    device ch # SCSI media changers
    device da # Direct Access (disks)
    device sa # Sequential Access (tape etc)
    device cd # CD
    device pass # Passthrough device (direct SCSI
    access)
    device ses # SCSI Environmental Services (and
    SAF-TE)

    P.
    Paul Guest

Similar Threads

  1. IPod Givaway
    By Lisa in forum Dreamweaver AppDev
    Replies: 0
    Last Post: March 26th, 04:59 PM
  2. iPod won't mount...
    By Slang755 in forum Mac Networking
    Replies: 5
    Last Post: November 4th, 07:59 AM
  3. iPod hosed?
    By Jeff in forum Mac Applications & Software
    Replies: 11
    Last Post: August 18th, 02:07 AM
  4. iPod
    By Keith O'Brien in forum Mac Applications & Software
    Replies: 0
    Last Post: July 18th, 02:17 PM
  5. iPod Q
    By Andre G. Isaak in forum Mac Applications & Software
    Replies: 1
    Last Post: June 25th, 07:27 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139