Mailing List Archive

afbinit
Hi,

I have 2 Elite video cards in my Blade 1000 and the rc.afb script
doesn't work with my configuration.
I modified the script and attached the patch.

Else, I would like launch a chroot in tty8, I modified the inittab but
doesn't work :
#echo "c8:2345:respawn:/bin/chroot /home/debinst "\
"/sbin/agetty 38400 tty8" >> /etc/inittab
#init q

What's the problem ?



emerge --info :


Portage 2.0.54 (default-linux/sparc/sparc64/2006.0, gcc-3.4.5,
glibc-2.3.5-r3, 2.6.15-gentoo-r8 sparc64)
=================================================================
System uname: 2.6.15-gentoo-r8 sparc64 sun4u
Gentoo Base System version 1.6.14
dev-lang/python: 2.4.2
sys-apps/sandbox: 1.2.12
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
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 -mcpu=ultrasparc3 -pipe"
CHOST="sparc-unknown-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/eselect/compiler /etc/gconf /etc/terminfo
/etc/env.d"
CXXFLAGS="-O2 -mcpu=ultrasparc3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/
ftp://mirror.ovh.net/gentoo-distfiles/ http://gentoo.modulix.net/gentoo/
http://ftp.club-internet.fr/pub/mirrors/gentoo "
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="sparc X alsa apache2 arts audiofile avi bash-completion berkdb
bitmap-fonts bzip2 cdr cli crypt cups curl dba dlloader dri dvd eds
encode esd exif expat fam fbcon font-server foomaticdb fortran gcc64 gd
gdbm gif glut gnome gstreamer gtk gtk2 gtkhtml hal howl idn imlib ipv6
jpeg lcms libwww mad mikmod mng motif mozilla mpeg ncurses nls nptl
nptlonly ogg opengl oss pam pcre pdflib perl png python readline
reflection sdl session spell spl ssl tcpd tiff truetype truetype-fonts
type1-fonts udev usb vorbis xml xml2 xmms xprint xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS,
PORTDIR_OVERLAY

--
Best regards,

Sébastien LANGE
_(__)_
Secrétaire d'Ornix '-e e -'__,--.__)
(°> Groupe d'utilisateur (o_o) )
//\ des logiciels libres \. /___. |
V_/_ dans l'Orne ||| )/ )/
http://ornix.org //_(/_(/_(

Registered Linux-User #313144
Re: afbinit [ In reply to ]
Hi,

I found my error :
#echo "c8:2345:respawn:/bin/chroot /home/debinst "\
"/sbin/getty 38400 tty8" >> /etc/inittab

I've just replace agetty by getty and now it's OK :-)

Now it's good :-)
--
Best regards,

Sébastien LANGE
_(__)_
Secrétaire d'Ornix '-e e -'__,--.__)
(°> Groupe d'utilisateur (o_o) )
//\ des logiciels libres \. /___. |
V_/_ dans l'Orne ||| )/ )/
http://ornix.org //_(/_(/_(

Registered Linux-User #313144

Sebastien LANG wrote:
> Hi,
>
> I have 2 Elite video cards in my Blade 1000 and the rc.afb script
> doesn't work with my configuration.
> I modified the script and attached the patch.
>
> Else, I would like launch a chroot in tty8, I modified the inittab but
> doesn't work :
> #echo "c8:2345:respawn:/bin/chroot /home/debinst "\
> "/sbin/agetty 38400 tty8" >> /etc/inittab
> #init q
>
> What's the problem ?
>
>
>
> emerge --info :
>
>
> Portage 2.0.54 (default-linux/sparc/sparc64/2006.0, gcc-3.4.5,
> glibc-2.3.5-r3, 2.6.15-gentoo-r8 sparc64)
> =================================================================
> System uname: 2.6.15-gentoo-r8 sparc64 sun4u
> Gentoo Base System version 1.6.14
> dev-lang/python: 2.4.2
> sys-apps/sandbox: 1.2.12
> 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
> 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 -mcpu=ultrasparc3 -pipe"
> CHOST="sparc-unknown-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/eselect/compiler /etc/gconf /etc/terminfo
> /etc/env.d"
> CXXFLAGS="-O2 -mcpu=ultrasparc3 -pipe"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="autoconfig distlocks sandbox sfperms strict"
> GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/
> ftp://mirror.ovh.net/gentoo-distfiles/ http://gentoo.modulix.net/gentoo/
> http://ftp.club-internet.fr/pub/mirrors/gentoo "
> MAKEOPTS="-j3"
> PKGDIR="/usr/portage/packages"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/usr/portage"
> SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
> USE="sparc X alsa apache2 arts audiofile avi bash-completion berkdb
> bitmap-fonts bzip2 cdr cli crypt cups curl dba dlloader dri dvd eds
> encode esd exif expat fam fbcon font-server foomaticdb fortran gcc64 gd
> gdbm gif glut gnome gstreamer gtk gtk2 gtkhtml hal howl idn imlib ipv6
> jpeg lcms libwww mad mikmod mng motif mozilla mpeg ncurses nls nptl
> nptlonly ogg opengl oss pam pcre pdflib perl png python readline
> reflection sdl session spell spl ssl tcpd tiff truetype truetype-fonts
> type1-fonts udev usb vorbis xml xml2 xmms xprint xv zlib userland_GNU
> kernel_linux elibc_glibc"
> Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS,
> PORTDIR_OVERLAY
>
>
> ------------------------------------------------------------------------
>
> --- rc.afb.rc 2006-04-21 18:03:35.000000000 +0200
> +++ rc.afb 2006-04-21 18:04:26.000000000 +0200
> @@ -41,7 +41,7 @@
> if [ `/bin/dmesg | /bin/grep -c "ffb: AFB"` -gt 0 ]
> then
>
> - afb_devs=`/bin/cat -s /proc/fb | /bin/egrep -i "Elite 3D" | /bin/sed 's/\ .*//'`
> + afb_devs=`/bin/ls /dev/fb/`
> # Load microcode onto each card.
> for AFB in ${afb_devs}
> do

--
gentoo-sparc@gentoo.org mailing list