Distribution:gentoo Hardware Environment: amd64 motherboard ga-k8nf-9 Software Environment: sys-kernel/gentoo-sources-2.6.12-r4 and sys-kernel/vanilla-sources-2.6.13_rc1 s939 ~ # emerge info Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0, 2.6.12-gentoo-r3 x86_64) ================================================================= System uname: 2.6.12-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.6.12 ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -fweb -frename-registers -ftracer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe -fweb -frename-registers -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://cdn.mirror.garr.it/mirrors/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" LANG="it_IT@euro" LC_ALL="it_IT" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="it" MAKEOPTS="-j3 -s" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aalib acpi alsa bash-completion berkdb bitmap-fonts bzip2 bzlib cddb cdr chroot crypt cspell cups curl dvd dvdr eds encode esd fam flac font-server foomaticdb fortran fpx gif gimpprint gnome gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml hal ieee1394 imagemagick imlib jack java javascript jbig jp2 jpeg kde kdeenablefinal lcms ldap libwww lzw lzw-tiff mad mime mng mozilla mp3 mpeg nas ncurses nls nptl nvidia ogg opengl oss pam pam_chroot pam_console pam_timestamp perl php png posix ppds pwdb python qt readline rtc samba scanner slang smp ssl svg tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales wmf xine xml xml2 xmms xpm xrandr xv zlib linguas_it userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET Problem Description: kernel doesn't load correctly usb 2.0 devices using ehci_hcd module. They work only with ohci_hcd module on 64 bit installation or with ehci_hcd module on 32 bit installation. I've just documented my bug to this address: http://bugs.gentoo.org/show_bug.cgi?id=98100 with a lot of debug. Steps to reproduce: 1. boot linux. 2. attach a usb 2.0 device 3. watch the log of /var/log/kernel/current. Sorry, but is my first bug report and I don't try a way to attach external files. So I put something here. Other logs are on gentoo bugzilla. They work only with ohci_hcd module on 64 bit installation or with ehci_hcd module on 32 bit installation
Created attachment 5298 [details] lspci
Created attachment 5299 [details] output after attaching usb device
Created attachment 5300 [details] log output using ohci_hcd driver Attaching device after having done modprobe -rv ehci_hcd loads correctly the device.
Created attachment 5301 [details] log output with a 32 bit installation That's the output using the driver ehci_hcd with a 32-bit installation, on the same hardware. Everithing works fine.
Has there been any movement on this? Is the bug still present in 2.6.13-rc4? Thanks.
This is likely an ACPI or BIOS problem. We get all too many of them. In this case it's particularly suspicious that it works with a 32bit kernel but fails with a 64bit one. This should be transferred over to ACPI land ...
OK.. Marco, did any earlier 2.6.x kernel work correctly? If so, which version?
Same behaviour on vanilla-2.6.13-rc4, gentoo-sources-2.6.12.r6 and gentoo-sources-2.6.9-r9. This thread: http://www.mail-archive.com/linux-usb-users%40lists.sourceforge.net/msg13143.html , shows the same problem on "2.6.10 vanilla and 2.6.10-1.1109_FC4 (2.6.11-rc2 based)" kernels.
One more thing to check: does this machine have more than 2 Mbytes of physical memory? NVidia looked at this and found an issue with NF4 EHCI not doing DMA right except into the lower 2 MBytes of memory. The guy was going to resubmit the patch in mergeable form, but hasn't yet. Some details weren't clear, but that issue _might_ have been a 64-bit only thing. Workaround was to set the DMA mask to ~(1<<31) on certain chips. I've used NF3 EHCI with 64 bit kernels, no problem. Less memory though. :)
I assume David means more than 2GB ;)
Yeah, more than 2Gb :)
Solved upgrading bios to f4 version (see http://www.gigabyte.us/Motherboard/Support/BIOS/BIOS_GA-K8NF-9.htm). f7 version gives me another problem (may be a second bug?) Thank you for your support. You help me to understand a lot of things.