Gentoo Archives: gentoo-sparc

From: Sebastien LANGE <doownek@×××××××.org>
To: gentoo-sparc@l.g.o
Subject: Re: [gentoo-sparc] afbinit
Date: Sat, 22 Apr 2006 11:23:41
Message-Id: 444A121E.7030807@doownek.org
In Reply to: [gentoo-sparc] afbinit by Sebastien LANG
1 Hi,
2
3 I found my error :
4 #echo "c8:2345:respawn:/bin/chroot /home/debinst "\
5 "/sbin/getty 38400 tty8" >> /etc/inittab
6
7 I've just replace agetty by getty and now it's OK :-)
8
9 Now it's good :-)
10 --
11 Best regards,
12
13 Sébastien LANGE
14 _(__)_
15 Secrétaire d'Ornix '-e e -'__,--.__)
16 (°> Groupe d'utilisateur (o_o) )
17 //\ des logiciels libres \. /___. |
18 V_/_ dans l'Orne ||| )/ )/
19 http://ornix.org //_(/_(/_(
20
21 Registered Linux-User #313144
22
23 Sebastien LANG wrote:
24 > Hi,
25 >
26 > I have 2 Elite video cards in my Blade 1000 and the rc.afb script
27 > doesn't work with my configuration.
28 > I modified the script and attached the patch.
29 >
30 > Else, I would like launch a chroot in tty8, I modified the inittab but
31 > doesn't work :
32 > #echo "c8:2345:respawn:/bin/chroot /home/debinst "\
33 > "/sbin/agetty 38400 tty8" >> /etc/inittab
34 > #init q
35 >
36 > What's the problem ?
37 >
38 >
39 >
40 > emerge --info :
41 >
42 >
43 > Portage 2.0.54 (default-linux/sparc/sparc64/2006.0, gcc-3.4.5,
44 > glibc-2.3.5-r3, 2.6.15-gentoo-r8 sparc64)
45 > =================================================================
46 > System uname: 2.6.15-gentoo-r8 sparc64 sun4u
47 > Gentoo Base System version 1.6.14
48 > dev-lang/python: 2.4.2
49 > sys-apps/sandbox: 1.2.12
50 > sys-devel/autoconf: 2.13, 2.59-r7
51 > sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
52 > sys-devel/binutils: 2.16.1
53 > sys-devel/libtool: 1.5.22
54 > virtual/os-headers: 2.6.11-r4
55 > ACCEPT_KEYWORDS="sparc"
56 > AUTOCLEAN="yes"
57 > CBUILD="sparc-unknown-linux-gnu"
58 > CFLAGS="-O2 -mcpu=ultrasparc3 -pipe"
59 > CHOST="sparc-unknown-linux-gnu"
60 > CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
61 > /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
62 > /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
63 > /var/qmail/control"
64 > CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo
65 > /etc/env.d"
66 > CXXFLAGS="-O2 -mcpu=ultrasparc3 -pipe"
67 > DISTDIR="/usr/portage/distfiles"
68 > FEATURES="autoconfig distlocks sandbox sfperms strict"
69 > GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/
70 > ftp://mirror.ovh.net/gentoo-distfiles/ http://gentoo.modulix.net/gentoo/
71 > http://ftp.club-internet.fr/pub/mirrors/gentoo "
72 > MAKEOPTS="-j3"
73 > PKGDIR="/usr/portage/packages"
74 > PORTAGE_TMPDIR="/var/tmp"
75 > PORTDIR="/usr/portage"
76 > SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
77 > USE="sparc X alsa apache2 arts audiofile avi bash-completion berkdb
78 > bitmap-fonts bzip2 cdr cli crypt cups curl dba dlloader dri dvd eds
79 > encode esd exif expat fam fbcon font-server foomaticdb fortran gcc64 gd
80 > gdbm gif glut gnome gstreamer gtk gtk2 gtkhtml hal howl idn imlib ipv6
81 > jpeg lcms libwww mad mikmod mng motif mozilla mpeg ncurses nls nptl
82 > nptlonly ogg opengl oss pam pcre pdflib perl png python readline
83 > reflection sdl session spell spl ssl tcpd tiff truetype truetype-fonts
84 > type1-fonts udev usb vorbis xml xml2 xmms xprint xv zlib userland_GNU
85 > kernel_linux elibc_glibc"
86 > Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS,
87 > PORTDIR_OVERLAY
88 >
89 >
90 > ------------------------------------------------------------------------
91 >
92 > --- rc.afb.rc 2006-04-21 18:03:35.000000000 +0200
93 > +++ rc.afb 2006-04-21 18:04:26.000000000 +0200
94 > @@ -41,7 +41,7 @@
95 > if [ `/bin/dmesg | /bin/grep -c "ffb: AFB"` -gt 0 ]
96 > then
97 >
98 > - afb_devs=`/bin/cat -s /proc/fb | /bin/egrep -i "Elite 3D" | /bin/sed 's/\ .*//'`
99 > + afb_devs=`/bin/ls /dev/fb/`
100 > # Load microcode onto each card.
101 > for AFB in ${afb_devs}
102 > do
103
104 --
105 gentoo-sparc@g.o mailing list