Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383889 - sys-kernel/gentoo-sources-2.6.39-r4: 3G Classic IPod won't mount with new FireWire stack
Summary: sys-kernel/gentoo-sources-2.6.39-r4: 3G Classic IPod won't mount with new Fir...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-21 05:47 UTC by Christopher Hogan
Modified: 2011-12-11 19:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Hogan 2011-09-21 05:47:15 UTC
I have an old IPod that I figure will work well for my 12-year old daughter. It is 3rd generation with FireWire. I haven't synced it in a couple of years. At the time, I was using Amarok, libgpod, and the old Linux FireWire stack.

The new FireWire stack (gentoo-sources-2.6.39-r4) produces the following output when I insert the IPod.

[121351.854499] firewire_core: phy config: card 0, new root=ffc1, gap_count=5
[121351.954091] firewire_core: phy config: card 0, new root=ffc1, gap_count=5
[121352.054088] firewire_core: phy config: card 0, new root=ffc1, gap_count=5
[121361.165444] firewire_core: phy config: card 0, new root=ffc1, gap_count=5
[121361.265093] firewire_core: phy config: card 0, new root=ffc1, gap_count=5
[121361.365099] firewire_core: phy config: card 0, new root=ffc1, gap_count=5
[121361.465086] firewire_core: phy config: card 0, new root=ffc1, gap_count=5
[121367.708918] firewire_ohci: isochronous cycle inconsistent
[121367.708964] firewire_core: giving up on config rom for node id ffc1
[121367.708982] firewire_core: phy config: card 0, new root=ffc0, gap_count=5
[147921.339133] firewire_ohci: isochronous cycle inconsistent
[147938.316758] firewire_core: giving up on config rom for node id ffc1
[147944.696557] firewire_core: phy config: card 0, new root=ffc1, gap_count=5
[149164.514944] firewire_core: giving up on config rom for node id ffc1
[149186.253256] firewire_ohci: isochronous cycle inconsistent
[153367.306689] firewire_core: giving up on config rom for node id ffc1
[169294.564788] firewire_core: phy config: card 0, new root=ffc1, gap_count=5

I can mount it in kernel-2.6.36-gentoo-r5 using the old stack. However, the new stack is not able to identify the device. So, I can't mount it.

Please let me know if any additional information is needed.


Reproducible: Always

Steps to Reproduce:
1.Boot with new FireWire stack
2.Insert IPod
3.
Actual Results:  
[121351.854499] firewire_core: phy config: card 0, new root=ffc1, gap_count=5
[121351.954091] firewire_core: phy config: card 0, new root=ffc1, gap_count=5
[121352.054088] firewire_core: phy config: card 0, new root=ffc1, gap_count=5
[121361.165444] firewire_core: phy config: card 0, new root=ffc1, gap_count=5
[121361.265093] firewire_core: phy config: card 0, new root=ffc1, gap_count=5
[121361.365099] firewire_core: phy config: card 0, new root=ffc1, gap_count=5
[121361.465086] firewire_core: phy config: card 0, new root=ffc1, gap_count=5
[121367.708918] firewire_ohci: isochronous cycle inconsistent
[121367.708964] firewire_core: giving up on config rom for node id ffc1
[121367.708982] firewire_core: phy config: card 0, new root=ffc0, gap_count=5
[147921.339133] firewire_ohci: isochronous cycle inconsistent
[147938.316758] firewire_core: giving up on config rom for node id ffc1
[147944.696557] firewire_core: phy config: card 0, new root=ffc1, gap_count=5
[149164.514944] firewire_core: giving up on config rom for node id ffc1
[149186.253256] firewire_ohci: isochronous cycle inconsistent
[153367.306689] firewire_core: giving up on config rom for node id ffc1
[169294.564788] firewire_core: phy config: card 0, new root=ffc1, gap_count=5

Expected Results:  
Stack should have identified the IPod as a hard drive and handed it over to SBP-2

Emerge --info:
Portage 2.2.0_alpha58 (default/linux/x86/10.0/desktop, gcc-4.4.5, glibc-2.12.2-r0, 2.6.39-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.39-gentoo-r4-i686-AMD_Athlon-tm-_XP_2600+-with-gentoo-2.0.3
Timestamp of tree: Thu, 15 Sep 2011 07:30:01 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.4.6, 2.5.4-r4, 2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.25-r2
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.4_p6::<unknown repository>, 1.5::<unknown repository>, 1.6.3::<unknown repository>, 1.7.9-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.1.2, 4.3.4, 4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.2.10
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo hoganskeep sunrise
Installed sets: @kdeadmin, @kdeartwork, @kdebase, @kdeedu, @kdegames, @kdegraphics, @kdemultimedia-local, @kdenetwork-local, @kdesdk-local, @kdeutils-local, @mythtv, @qt-split, @system
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -pipe -O2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distcc distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://chod.cwru.edu/gentoo ftp://gentoo.chem.wisc.edu/gentoo/ http://mirror.uni-c.dk/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/mnt/net/keeper/overlay/hoganskeep /mnt/net/keeper/overlay/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex 3dnowext X Xaw3d a52 aac accessibility acl acpi adns alsa aotuv asf audiofile avahi bash-completion berkdb branding browserplugin bzip2 c++ cairo caps cdda cddax cddb cdinstall cdio cdparanoia cdr cleartype cli clucene consolekit cracklib crypt css cups curl cxx dbus dc1394 divx4linux djvu dlloader dmx doc dri dts dv dvb dvd dvdnav dvdr dvdread ebook edl effects emboss encode exif fam fame festival ffmpeg firefox flac fontconfig foomaticdb fortran fortune gcj gdbm gdu gif gimp gimpprint glibc-omitfp glitz gnutls gphoto2 gpm gs gstreamer gtk howl hpn htmlhandbook iconv ieee1394 imagemagick inkjar innodb ipod ipv6 jack java jbig joystick jpeg jpeg2k kde kerberos kipi kpathsea lcms ldap libnotify libvisual lirc live lm_sensors logitech-mouse logrotate lzo mad matroska mikmod mjpeg mmap mmx mmxext mng modules mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mpeg mpi mplayer mudflap musicbrainz mysql mythtv ncurses network nfs nls nptl nptlonly nsplugin numeric nvidia objc odbc offensive ogg on-the-fly-crypt openal openexr opengl openldap openmp pam pam_krb5 pango pccts pcre pda pdf perl phonon pic pie plasma plugin png policykit postgres postscript ppds pppd pulseaudio python qt3support qt4 quicktime quotas readline redland rtc sasl scanner schroedinger sdl semantic-desktop session slp sndfile sox speex spell sql sqlite sqlite3 sse ssl startup-notification svg sysfs taglib tcl tcltk tcpd tga theora threads thumbnail tiff timidity tk toolbar transcode truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vcd visualization vnc vorbis wavpack webkit win32codecs wmf x264 x86 xanim xattr xcb xcomposite xine xinerama xinetd xml xorg xosd xpm xscreensaver xulrunner xv xvid xvmc yv12 zlib zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" LIRC_DEVICES="atiusb devinput" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev v4l nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mike Pagano gentoo-dev 2011-10-13 16:11:09 UTC
Have you tried the iPod with the latest 3.0.6 kernel?
Comment 2 Christopher Hogan 2011-10-17 14:26:41 UTC
Updated gentoo-sources to: 3.0.6-gentoo

dmesg now shows the following when inserting the iPod:

[21658.043779] firewire_ohci 0000:00:0d.0: PCI INT A -> Link[APCM] -> GSI 20 (level, high) -> IRQ 20
[21658.043790] firewire_ohci 0000:00:0d.0: setting latency timer to 64
[21658.094082] firewire_ohci: Added fw-ohci device 0000:00:0d.0, OHCI v1.10, 4 IR + 4 IT contexts, quirks 0x0
[21658.094127] pci 0000:00:1e.0: can't derive routing for PCI INT B
[21658.094131] firewire_ohci 0000:03:00.1: PCI INT B: no GSI - using ISA IRQ 5
[21658.094352] firewire_ohci: isochronous cycle inconsistent
[21658.345009] firewire_ohci: failed to read phy reg
[21658.345065] pci 0000:00:1e.0: can't derive routing for PCI INT B
[21658.345084] firewire_ohci: probe of 0000:03:00.1 failed with error -16
[21658.595319] firewire_core: created device fw0: GUID 00e01800005c9fad, S400

lspci -v:
00:0d.0 FireWire (IEEE 1394): nVidia Corporation nForce2 FireWire (IEEE 1394) Controller (rev a3) (prog-if 10 [OHCI])
        Subsystem: ASUSTeK Computer Inc. Device 809a
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 20
        Memory at e2084000 (32-bit, non-prefetchable) [size=2K]
        Memory at e2085000 (32-bit, non-prefetchable) [size=64]
        Capabilities: [44] Power Management version 2
        Kernel driver in use: firewire_ohci
        Kernel modules: firewire-ohci
03:00.1 FireWire (IEEE 1394): nVidia Corporation Device 00b0 (rev a4) (prog-if 10 [OHCI])
        Subsystem: LeadTek Research Inc. Device 2937
        Flags: 66MHz, medium devsel, IRQ 5
        Memory at df000000 (32-bit, non-prefetchable) [size=2K]
        Memory at df001000 (32-bit, non-prefetchable) [size=64]
        Capabilities: [44] Power Management version 2
        Kernel modules: firewire-ohci

Looks like progress has been made, but still do not have a mountable device.

Thanks!
Comment 3 Mike Pagano gentoo-dev 2011-11-02 16:06:16 UTC
Can you try unloading and load firewire-ohci and then plugging in the iPod?

modprobe -r firewire-ohci
modprove firewire-ohci