Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Adventures with xcdroast on Linux/Alpha
@ 1998-03-25  9:30 Ralph Gillen
  1998-03-26 22:58 ` Thomas Bogendoerfer
  0 siblings, 1 reply; 7+ messages in thread
From: Ralph Gillen @ 1998-03-25  9:30 UTC (permalink / raw)
  To: axp-list, tsbogend

Thomas Bogendoerfer wrote:
> You must increase the maximum allowed shm segment size in your kernel.
> To do this you have to change SHMMAX. Mine looks like this:
> 
> #define SHMMAX 0x2000000                /* max shared seg size (bytes) */
> 
> Just for the record, since cdrecord-1.6a11 my JVC writer is able to burn
> CDs on my Alpha machine. Older versions of cdrecord the fixiating stage
> didn't terminate.

So, I recompiled my kernel (2.0.30, RH5.0) with this change, compiled 
cdrecord-1.6a11 (and cdrecord-1.6a12), and everything I get from cdrecord is a 
crash when calling it.

Please, could somebody (Thomas?) help me and give me some more information on 
which kernel, libc etc. version you use? I´m fighting with this for two weeks 
now and I really don´t like the idea to put my CDR into a PC 8-(

Thanks a lot!
                  Ralph


^ permalink raw reply	[flat|nested] 7+ messages in thread
* Adventures with xcdroast on Linux/Alpha
@ 1998-03-21 21:30 Michal Jaegermann
  1998-03-22 14:20 ` Thomas Bogendoerfer
  0 siblings, 1 reply; 7+ messages in thread
From: Michal Jaegermann @ 1998-03-21 21:30 UTC (permalink / raw)
  To: axp-list; +Cc: tn


I tried recently xcdroast-0.96d-beta4; still the latest one I believe
on Linux machine running "patched up" Red Hat 5.0 distribution.
It requires tcl/tk 8.0p2 but luckily this is no longer a problem.
In summary - it works, but...

Here is one show stopper.  With this distribution are included
sources for cdrecord-1.6a11.  Patches for cdrecord, posted earlier
in this group by Martin Ostermann, are incorrect accordingly to
the cdrecord author.  Indeed, he is likely right.  In some situations
functions fillbytes() and movebytes() are called with negative counts,
on purpose or by a mistake, and replacing these functions with
memset() and memmove() is then not a very good idea (converted into
unsigned long values these counts are becoming pretty big :-).
On the other hand some macros from a generated header "align.h"
are applied to addresses which are casted, inside these macros, to
'int's.  Ouch!  Bombs caused by that are most interesting if not
entirely unfamiliar.  Patch included below.

The other problem is that cdrecord does not want to run on Alpha with
a default fifo size of 4 Megs.  I did not have a time to track down
what is a reall culprit but a call to shmget returns complaining
about an invalid argument.  Could be a library bug.  I do not know
at this moment nor have means, temporary - I think, to check it out.
Dropping this size to somewat smaller value 4000k works.  Unfortunately
xcdroast does not have means to set this.  Not all is lost.  This value,
and several others, can be passed to cdrecord via environment variables.
In order not to type that every time I want to start xcdroast
I replaced it with the following shell script:

#!/bin/sh
#
# A minor hack which seem to be required by cdrecord-1.6 on Alpha
# A default 4m value for CDR_FIFOSIZE causes errors in shmget;
# somewhat lower 4000k works fine at the moment
#
CDR_FIFOSIZE=4000k ; export CDR_FIFOSIZE
exec xcdroast.bin

where 'xcdroast.bin' is, obviously enough, a renamed original xcdroast
executable.  Works very well.

With these two changes I mastered and wrote, using xcdroast interface,
so far five different CDs without spoiling yet a single one. I did not
try yet "a file system direct to CD" option in cdrecord.  All writes
were from pre-mastered images.

  Happy roasting,
  Michal

begin 644 cdrecord.align.fix.gz
M'XL("%DP%#4"`V-D9@"-D-%*PS`4AJ_3ISA,D!RR;$MT<ZT,NAM%M-[,2V&D
M;38+-96F`T'QV<VZ*5MM<2$0SB'??[Z$<PY)6NJD*%,N!A,EQ##/XJ'*L[59
M5MI6@^2+1(6!&QV#F+@=2!E<CD'X_M1CC/V+DZ>7#42J=`3(43#V`R%V=!@"
MEQ=7_2FPW1&&'KR5F:E>56(I>O"QKU>T]VQZ>.WQG_(LU:O,:/)>C](I57VP
M2`AUR]U`JA#AW+5@-H,18!<N#_BXCJ!'$9^P+V)L"V2G^&R,K7N0%V;=8<9.
M-6L)VSHVVNVVC<^$YDS[.]*9'[YD_G!W^[A<1//%/7:Q1[Y;OO&`OQG?KB@1
%"7T"````
`
end


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1998-03-30 14:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-25  9:30 Adventures with xcdroast on Linux/Alpha Ralph Gillen
1998-03-26 22:58 ` Thomas Bogendoerfer
1998-03-30 13:55   ` NIC ports on UDB (aka Multia) Jerry Feldman
1998-03-30 14:13     ` Chris Price
  -- strict thread matches above, loose matches on Subject: below --
1998-03-21 21:30 Adventures with xcdroast on Linux/Alpha Michal Jaegermann
1998-03-22 14:20 ` Thomas Bogendoerfer
1998-03-22 21:44   ` Christoph Zens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox