initscripts
I've just installed a Debian 2.2r2on a G4-400 Black&white, but the thing is that have only a single button mouse. On a web page (http://www.linux-france.org/article/materiel/mac/ , sorry but it's in french) I've read that we can emulate 2nd and 3rd button mouse in the kernel. But now i'd like toput this instructions into an initscript to have them been executed automatically... And I can't find any of the /etc/rc.d/rc.(sysconfig, ...) script that I usually fond on my other Mandrake7.2/i386), is anyone can tell me if these bootscripts exists and where i can find them?
xf4 debs
I'd like to know if someone has some debian packages of xfree4.02 buildon top of potato for the powerpc architecture, and if o where I can download them? Damien
Quicktime movies
I'd like to know if there is a video player available on debian PPC which would be able to play .mov (Apple Quicktime) files. Thanks Damien GUIHAL
.sit files
Is anyone know if there is a tool with or without GUI to compress/uncompress .sit files. Thanks in advance Damien GUIHAL
Re: undefined symbol: __throw
Le Wed, 25 Apr 2001 10:42:31 +0200 [EMAIL PROTECTED] (Stefan Haller) a ecrit: > I was trying to upgrade my testing installation today, and I got lots of > errors of the following kind: > > Setting up eterm (0.9.0-9) ... > update-menus: error while loading shared libraries: update-menus: undefined > symbol: __throw > dpkg: error processing eterm (--configure): >subprocess post-installation script returned error exit status 127 > > Now everything is in a somewhat half-installed state, which doesn't feel > good... Any idea what I am missing? > > > -- > Stefan Haller > Berlin, Germany > http://www.snafu.de/~stk/ > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] I did have the problem too, I'm running Debian Testing, and that's the paskage menu which semms to be corrupted. I corrected the problem by compiling my own menu package (apt-get source -b menu) with the new gcc-2.95.4 --- Damien GUIHAL Nantes, France
Debian & MOSXServer
hi all, I have a problem and I'd like to know if anyone has experienced it : I'm now using a G4-400 black&white. On it I've 2 IDE disks : - On the first disk there is MacOSXServer and it is partionned as follows : /dev/hda1 Apple_partition_map Apple 63 @ 1 ( 31.5k) Partition map /dev/hda2Apple_Driver_ATA Macintosh 64 @ 64 ( 32.0k) Unknown /dev/hda3Apple_Driver_ATA Macintosh 64 @ 128( 32.0k) Unknown /dev/hda4 Apple_Boot MOSX_OF3_Booter 16384 @ 192( 8.0M) Unknown /dev/hda5Apple_Loader SecondaryLoader 1024 @ 16576 (512.0k) Unknown /dev/hda6 Apple_Rhapsody_UFS Mac OS X Server 1.2 19993216 @ 17600 ( 9.5G) Unknown -On the second disk there is Debian PPC with the bootstrap partion : /dev/hdb1 Apple_partition_map Apple 63 @ 1 ( 31.5k) Partition map /dev/hdb2 Apple_Driver43 Macintosh 54 @ 64 ( 27.0k) Driver 4.3 /dev/hdb3 Apple_Driver43 Macintosh 74 @ 118( 37.0k) Driver 4.3 /dev/hdb4Apple_Driver_ATA Macintosh 54 @ 192( 27.0k) Unknown /dev/hdb5Apple_Driver_ATA Macintosh 74 @ 246( 37.0k) Unknown /dev/hdb6 Apple_Bootstrap Apple_Bootstrap 1600 @ 320 (800.0k) Unknown /dev/hdb7Swap Swap1 262144 @ 1920 (128.0M) Unknown /dev/hdb8Swap Swap2 260544 @ 264064 (127.2M) Unknown /dev/hdb9 Apple_UNIX_SVR2 /home 4194304 @ 524608 ( 2.0G) Linux native /dev/hdb10Apple_UNIX_SVR2 /var 1433600 @ 4718912 (700.0M) Linux native /dev/hdb11Apple_UNIX_SVR2 / 6503936 @ 6152512( 3.1G) Linux native Here is my problem : When the G4 is launch the screen is at 640*480 as stays on it until the linux kernel boots (and then it switch to 1024*768 : I've a 17" monitor). But the point is when I launch MacOSXServer it keeps the 640*480, and i need to login, change the resolution, logout nd relogin to be back in 1024*768. SoI'd like to know if there is a workaround in yaboot/ybin to be able to boot at 1024*768 (or another solution). Here is my yaboot.conf (minus the commented line, the post is long enough :-)) : boot=/dev/hdb6 device=ultra1: partition=11 delay=120 timeout=60 install=/usr/local/lib/yaboot/yaboot magicboot=/usr/local/lib/yaboot/ofboot fgcolor=white bgcolor=black image=/vmlinux label=Linux root=/dev/hdb11 read-only image=/vmlinux.old label=Linux.old root=/dev/hdb11 read-only macosx=hd:4 enablecdboot enableofboot Thanks a lot, and sorry for the length of the post --- Damien GUIHAL Nantes, France ---
tomcat / apache-mod
I'd like to know if anyone has build the ppc version of the libapache-mod-jk, which is tomcat plugger into apache, for servlet developpement. It appears that it exists only for ix86, is it too difficult to buils on other platforms ? Thank you Damien GUIHAL Nantes, France
backdown JDK / XWindows
Is anyone experienced problems with using the Swing API (and sometimes even AWT API) under linux / Debian PPC ? The problem I have is that when Swing windows opens, it gets very often oversized (and so widgets inside) in height, so much that its heigher than my screen, I mailed blackdown but I got nearly no response. For information, I use the debian testing on a black&White G4 400 PPC. I suppose, it comes from jdk/X interface as it happens with KDE/Enlightenment/WindowMaker, not tested with other window managers. I anyone can help me Damien GUIHAL Nantes, France
strange kernels behavior
I've installed both lastest 2-2-19 and 2-4-8 kernels from testing and I have some problems using both of them : while precedent release of 2-2-19 kernel worked really fine for me, lastest doesn't seem to care about my keymaps. I event tried to manually use loadkeys to load my keymap and other keymaps, which as no effect, the problem happen in console and with X. Meanwhile I have a strange bug wich give me some errors if I want to log into the console, and telnet is not accessible (allowing connections but leaving before asking a login). here is the message log. end_request: I/O error, dev 03:4b (hdb), sector 1067704 hdb: timeout waiting for DMA hdb: irq timeout: status=0x51 { DriveReady SeekComplete Error } hdb: irq timeout: error=0x40 { UncorrectableError }, LBAsect=7220218, sector=106770 hdb is my linux hdd while hda is my macos hdd Meanwhile with the 2-4-8 kernel, I have no keymap problems but I experienced some system freeze while accessing some files. I experienced the same problem for 2-2-19 kernel as for console login, excepted that it's not an error message I have but a system freeze. moreover when the kernel starts it produce a 4 strange lines filled with color rectangles including a circle, I'm pretty sure that it's not a kernel hacker's joke (but why not :-) ), and get an error message with the rtc module : rtc: I/O port 112 is not free. I must add that I use a mixed testing/unstable system without any broken dependencies, on a black&white 400MHz G4. I want to mention either that I have no problem to log with kdm (except the fact that with the 2-2-19 kernel, as the keymap is completely false, it's not easy to type a correct password :-( ) Thank you for any help Damien GUIHAL Nantes France pgp5HqcLP25cS.pgp Description: PGP signature
Re: strange kernels behavior
Le Wed, 5 Sep 2001 15:56:30 -0800 Ethan Benson <[EMAIL PROTECTED]> a ecrit: > On Wed, Sep 05, 2001 at 07:44:40PM +0200, Damien GUIHAL wrote: > > I've installed both lastest 2-2-19 and 2-4-8 kernels from testing and I > > have some problems using both of them : > > > > while precedent release of 2-2-19 kernel worked really fine for me, lastest > > doesn't seem to care about my keymaps. I event tried to manually use > > loadkeys to load my keymap and other keymaps, which as no effect, the > > problem happen in console and with X. Meanwhile I have a strange bug wich > > give me some errors if I want to log into the console, and telnet is not > > accessible (allowing connections but leaving before asking a login). > > install the latest console-data. > > > here is the message log. > > > > end_request: I/O error, dev 03:4b (hdb), sector 1067704 > > hdb: timeout waiting for DMA > > hdb: irq timeout: status=0x51 { DriveReady SeekComplete Error } > > hdb: irq timeout: error=0x40 { UncorrectableError }, LBAsect=7220218, > > sector=106770 > > > > hdb is my linux hdd while hda is my macos hdd > > e either your using BootX on a newworld or your hardware is going bad. I'm using yaboot, and macos (actually macosX) doesn't seems to complain about hardware, perhaps my hdb disk is getting tired > > Meanwhile with the 2-4-8 kernel, I have no keymap problems but I > > experienced some system freeze while accessing some files. I experienced > > the same problem for 2-2-19 kernel as for console login, excepted that it's > > not an error message I have but a system freeze. moreover when the kernel > > starts it produce a 4 strange lines filled with color rectangles including > > a circle, I'm pretty sure that it's not a kernel hacker's joke (but why not > > :-) ), and get an error message with the rtc module : > > > > rtc: I/O port 112 is not free. > > you configured it wrong. you must have CONFIG_RTC=n and CONFIG_PPC_RTC=y I just get the kernel image package from debian testing so the error must be here I think. > > I must add that I use a mixed testing/unstable system without any broken > > dependencies, on a black&white 400MHz G4. I want to mention either that I > > have no problem to log with kdm (except the fact that with the 2-2-19 > > kernel, as the keymap is completely false, it's not easy to type a correct > > password :-( ) > > install the newwest console-data. it will install the correct keymap > for linux keycodes. I have the newest console-data (as for yesterday at least), and it didn't corrected the problem, and event if it's false, why loadkeys didn't have any effect. pgp7MNimJ1oWY.pgp Description: PGP signature
Re: strange kernels behavior
Le Thu, 6 Sep 2001 00:25:47 -0800 Ethan Benson <[EMAIL PROTECTED]> a ecrit: > On Thu, Sep 06, 2001 at 09:47:34AM +0200, Damien GUIHAL wrote: > > > > > > install the newwest console-data. it will install the correct keymap > > > for linux keycodes. > > > > I have the newest console-data (as for yesterday at least), and it didn't > > corrected the problem, and event if it's false, why loadkeys didn't have > > any effect. > > because your loading adb keymaps not i386 maps. > > you need the i386 maps. adb keycodes are not supported. OK thanks, now console is running correctly (even login, why now and not before, that's the question), I almost get X keymap working, but, as I'm a french user, i use a french keyboard, and I do not have special characters : "pipe", "backslash", "tilde", ... is any frech user has any advice to give me? here is my keyboard config file : Section "InputDevice" Identifier "Keyboard" Driver "Keyboard" Option "AutoRepeat""500 30" Option "CoreKeyboard" Option "XkbRules" "xfree86" Option "XkbModel" "pc105" Option "XkbLayout" "fr_FR" EndSection Damien GUIHAL Nantes France pgpvPGqtYOKUt.pgp Description: PGP signature
Compile problem
I'm currently trying to compile Apple WebObjects Adaptor for Apache on my debian PPC. The problem is that the compile time doesn't ends happily as it is made for Solaris and HP-UX. After a frew changes (2-3 modfied lines of code), I fail on the last error. Here it is : cc -O2 -Wall -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DSOLARIS -DFORKING_WEBSERVER -DAPACHE -c ../Adaptor/wastring.c ../Adaptor/wastring.c: In function `str_vappendf': ../Adaptor/wastring.c:199: invalid initializer I look at the code and see : int str_vappendf(String *s, const char *format, va_list args) { int i, len, requiredBufferSize; va_list sizer = args;<-- here is the line 199 /* figure out how much space we will need */ len=1; /* start len at 1 to include the terminator */ To check i tried to compile this code : #include int main (void) { va_list mytab ; va_list mysecondtab ; mysecondtab = mytab; } and get : gcc -o testassign test.c test.c: In function `main': test.c:7: incompatible types in assignment After a few checkings it seems that va_list is declared in stdarg.h is defined as _gnuc_va_list, which in turn is defined as void *. The problem is that is I run this small program : #include #include int main (void) { printf ("size of va_list : %d", sizeof (va_list)); } I get : size of va_list : 12 So I have two questions : Is va_list a real void * pointer, and if so why is it 12 bytes long? If not what is it so that gcc can't make by default a copy of it? Thank you Damien GUIHAL Nantes France P.S. I know about the -DSOLARIS flag in the compilation line, but i think it's the closest architecture available (HP/UX, SOLARIS, WINNT, MOSXS) pgpKpPnhpoQq0.pgp Description: PGP signature
Re: va_list (Was: Compile problem)
Le Fri, 07 Sep 2001 14:00:02 +0200 (MEST) "Edouard G. Parmelan" <[EMAIL PROTECTED]> a ecrit: > Damien GUIHAL <[EMAIL PROTECTED]> wrote: > > > Is va_list a real void * pointer, and if so why is it 12 bytes long? > > If not what is it so that gcc can't make by default a copy of it? > > Use va_copy(DEST, SRC) or __va_copy() if your version of GCC is too old. > > -- > Edouard G. Parmelan > http://egp.free.fr > Thanks for the tip, but what it do not understand is that I have gcc 2.95.4 (which I think can not be considered as old), but in my stdargs.g I only found __va_copy(), the other primitive doesn't not exist. You solution put me on the right way and this link raise (and solves) the problem : http://gcc.gnu.org/ml/gcc/1998-02/msg00835.html (dated 1998 !). Does anyone as anyexplanation on this fact? Damien GUIHAL Nantes France pgpfXY64aLqic.pgp Description: PGP signature
Re: flash and video on powerpc world
Le Wed, 19 Sep 2001 13:59:13 +0200 Jaume Teixi <[EMAIL PROTECTED]> a ecrit: > hi, > > so wich flash player and wich video (.mpeg .avi etc) player are for powerpc world ? > > bests, >jaume teixi. > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > for flash, try the gpl player (http://www.swift-tools.com/Flash/) for Real there is a player for Linux PPC for mpeg : xine, smpeg are the one I've been able to make working gool luck Damien pgpUNd9pYHziL.pgp Description: PGP signature
Re: Can't find video card
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le Vendredi 12 Octobre 2001 02:38, mmissett a écrit : > /dev/MAKEDEV doesn't do anything. However, to update info in original > message, xviddetect IS detecting the video card, just saying > it doesn't have a driver for it and suggesting I send a > *wishlist* bug. Is there really no driver for this card, which > came installed in the G4, and if so, should I submit a bug report? I don't remember exactly, but I think that ati video cards are ot supported until XFree v4.03 (or 2), so If you want to have your video card running, you have two solutions : - - Stay with Potato, in that case, you must use the frame buffer driver (driver called : fbdev) - -Upgrade to woody (or sid) and then you wil have XFree 4.1 and drivers for the ati rage 128 card (driver called : ati) -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7xuXdLFg22+iKxjURAsO3AJwP7YFZJtnY+s39j1Q9M9Ka1tLAUgCcDXen w38M99dcjX9Sz3xnekIVoco= =pzU2 -END PGP SIGNATURE-