Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 133342

Summary: Patch allows bbc modules to work on sparc64 IIIcu systems
Product: Gentoo Linux Reporter: Chance Platt <chance2105>
Component: [OLD] Core systemAssignee: Daniel Drake (RETIRED) <dsd>
Status: RESOLVED FIXED    
Severity: normal CC: kernel, sparc
Priority: High    
Version: 2006.0   
Hardware: Sparc64   
OS: Linux   
URL: http://mailgate.supereva.com/linux/linux.debian.ports.sparc/msg15214.html
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: bbc_i2c patch to recognize IIIcu processors

Description Chance Platt 2006-05-14 20:28:47 UTC
Without the patch in the URL, BBC refuses to load on sparc64 IIIcu systems stating that the device is not found (reasons for that behavior, and patch make complete sense).
[ http://mailgate.supereva.com/linux/linux.debian.ports.sparc/msg15214.html ]


emerge --info:

Portage 2.0.54-r2 (default-linux/sparc/sparc64/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-gentoo-r7 sparc64)
=================================================================
System uname: 2.6.16-gentoo-r7 sparc64 sun4u
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mtune=ultrasparc3 -mcpu=ultrasparc3 -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=ultrasparc3 -mcpu=ultrasparc3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="sparc X apache2 audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt cups curl dba dlloader doc dri dvd dvdr dvdread eds encode esd ethereal exif expat fam fbcon firefox flac foomaticdb fortran gcc64 gd gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml idn imagemagick imlib jpeg lcms libwww mad mikmod mng motif mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png python readline reflection sdl session slang smp spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts udev vorbis xine xml xml2 xmms xorg xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Comment 1 Gustavo Zacarias (RETIRED) gentoo-dev 2006-05-16 08:01:24 UTC
Thanks chance, next time try to inline the patch.
The bbc_i2c is far from working right but at least this patch makes it work somehow on IIIcu processors. It needs to be rewritten to use the i2c framework.
Kernel team: Apply to g-s.
Comment 2 Gustavo Zacarias (RETIRED) gentoo-dev 2006-05-16 08:01:56 UTC
Created attachment 86855 [details, diff]
bbc_i2c patch to recognize IIIcu processors
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2006-05-17 07:38:47 UTC
What is bbc? Is this patch headed upstream?
Comment 4 Gustavo Zacarias (RETIRED) gentoo-dev 2006-05-17 07:41:33 UTC
Yes, it's upstream, just look at the diff :)
Basically it's UltraSPARC-III thermal/fan control for some machines to make them less noisy when they're not so hot.
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2006-05-21 08:32:53 UTC
Fixed in gentoo-sources-2.6.16-r8 (genpatches-2.6.16-10)