Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: cdrecord and shmget fail ....
  1999-08-31 11:42 ` Jaap Schellekens
@ 1999-08-30 14:18   ` Peter Petrakis
  1999-08-31 16:16   ` Michal Jaegermann
  1999-08-31 23:48   ` Paul Jakma
  2 siblings, 0 replies; 9+ messages in thread
From: Peter Petrakis @ 1999-08-30 14:18 UTC (permalink / raw)
  To: axp-list

> As a temporary solution set the FORGOT_THE_NAME_SEE_MANPAGE environment
> variable to have cdrecord use less than 2Mb  of this stuff.

It's CDR_FIFOSIZE=4000k

Peter
-- 
www.alphalinux.org
Peter Petrakis.        Warrior/Engineer        ppetrakis@alphalinux.org
"Oh my God! They killed Xena! You bastards!!"
"<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..."


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

* cdrecord and shmget fail ....
@ 1999-08-31  7:56 Jaap Hogenberg
  0 siblings, 0 replies; 9+ messages in thread
From: Jaap Hogenberg @ 1999-08-31  7:56 UTC (permalink / raw)
  To: axp-list

Hi  all,

I know this is a FAQ , but I can't seem to get to the 
mailinglists-archives.
I bought a CD recorder and installed it succesfully.
The only problem I have is that cdrecord bails out with a "shmget" error.
Anyone remembers how to fix it ?
BTW, I have a 2.0.36 kernel and a mostly upgraded 5.2 RedHat 
installation.

TIA,

Jaap


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

* Re: cdrecord and shmget fail ....
@ 1999-08-31  9:34 Jean-Baptiste Vignaud
  1999-08-31 11:42 ` Jaap Schellekens
  1999-08-31 12:40 ` alphaPC 164 boot weirdness Izaak Bozof
  0 siblings, 2 replies; 9+ messages in thread
From: Jean-Baptiste Vignaud @ 1999-08-31  9:34 UTC (permalink / raw)
  To: axp-list

>Hi  all,
>
>I know this is a FAQ , but I can't seem to get to the
>mailinglists-archives.
>I bought a CD recorder and installed it succesfully.
>The only problem I have is that cdrecord bails out with a "shmget" error.
>Anyone remembers how to fix it ?
>BTW, I have a 2.0.36 kernel and a mostly upgraded 5.2 RedHat
>installation.


If i remember correctly, you must increase SHMMAX in
include/asm-alpha/shmparam.h
to a more correct value. It's written in some readme of cdrecord.

Jean-Baptiste.




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

* Re: cdrecord and shmget fail ....
  1999-08-31  9:34 cdrecord and shmget fail Jean-Baptiste Vignaud
@ 1999-08-31 11:42 ` Jaap Schellekens
  1999-08-30 14:18   ` Peter Petrakis
                     ` (2 more replies)
  1999-08-31 12:40 ` alphaPC 164 boot weirdness Izaak Bozof
  1 sibling, 3 replies; 9+ messages in thread
From: Jaap Schellekens @ 1999-08-31 11:42 UTC (permalink / raw)
  To: axp-list

Jean-Baptiste Vignaud wrote:
> 
> >Hi  all,
> >
> >I know this is a FAQ , but I can't seem to get to the
> >mailinglists-archives.
> >I bought a CD recorder and installed it succesfully.
> >The only problem I have is that cdrecord bails out with a "shmget" error.
> >Anyone remembers how to fix it ?
> >BTW, I have a 2.0.36 kernel and a mostly upgraded 5.2 RedHat
> >installation.
> 
> If i remember correctly, you must increase SHMMAX in
> include/asm-alpha/shmparam.h
> to a more correct value. It's written in some readme of cdrecord.

As a temporary solution set the FORGOT_THE_NAME_SEE_MANPAGE environment 
variable to have cdrecord use less than 2Mb  of this stuff.

Jaap

-- 
|Jaap Schellekens               | E-mail:     schj@geo.vu.nl|
|Hydro(geo)logy Dept.           | Fax:        +31 20 6462457|
|Inst. of Earth Sc.             | Voice:      +31 20 4447287|
|Vrije Universiteit, De Boelelaan 1085, 1081 HV Amsterdam NL|


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

* alphaPC 164 boot weirdness
  1999-08-31  9:34 cdrecord and shmget fail Jean-Baptiste Vignaud
  1999-08-31 11:42 ` Jaap Schellekens
@ 1999-08-31 12:40 ` Izaak Bozof
  1999-08-31 17:38   ` Wes Bauske
  1 sibling, 1 reply; 9+ messages in thread
From: Izaak Bozof @ 1999-08-31 12:40 UTC (permalink / raw)
  To: axp-list, axp-list

I am attempting an install of RH5.2 onto an alphaPC164 433 using SRM.

I get the following when executing a boot using ">>boot dka600 -fi
"kernels/cabrio-s.gz" -fl "root=/dev/scd0 load_ramdisk=1"



halted CPU 0

halt code = 2
kernel stack not valid halt
PC=200000000
boot failure


The system finds the cd boot track and starts aboot fine -- "switching to
OSF/1 Palcode..."etc.. then I get "iso: Maxsize 25343" and "iso:
Datazone..." followed by the above halt.

Somebody?


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

* Re: cdrecord and shmget fail ....
@ 1999-08-31 14:09 Miod Vallat
  0 siblings, 0 replies; 9+ messages in thread
From: Miod Vallat @ 1999-08-31 14:09 UTC (permalink / raw)
  To: axp-list

> As a temporary solution set the FORGOT_THE_NAME_SEE_MANPAGE environment
> variable to have cdrecord use less than 2Mb  of this stuff.
                
Actually, this is the "fs=" option to cdrecord.
I use "fs=2m" and never got any problem.

-- 
  Miod Vallat
  miodrag@multimania.com / vallat@essi.fr

  "Oh, I've got the Firewall Blues, chasing packets behind the gate,
   and stalking all the night, sooner or later I'm going to lose."


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

* Re: cdrecord and shmget fail ....
  1999-08-31 11:42 ` Jaap Schellekens
  1999-08-30 14:18   ` Peter Petrakis
@ 1999-08-31 16:16   ` Michal Jaegermann
  1999-08-31 23:48   ` Paul Jakma
  2 siblings, 0 replies; 9+ messages in thread
From: Michal Jaegermann @ 1999-08-31 16:16 UTC (permalink / raw)
  To: axp-list

> 
> As a temporary solution set the FORGOT_THE_NAME_SEE_MANPAGE environment 
> variable to have cdrecord use less than 2Mb  of this stuff.

Why "temporary"?  First of all 4000k, as opposed to a default 4M, works
just dandy and a difference in buffers size is insignificant.  Calling
cdrecord via a script wrapper which sets an environment and execs "the
real thing" is a total no-brainer.  Works with things like xcdroast as
well. Or you can use a flag provided by cdrecord expresly for that
purpose and clearly documented.

Hacking SHM_MAX with every kernel version you want to experiment
with is a major PITA and totally superflous.  If something of that
sort I would rather modify cdrecord sources to drop its default a bit. :-)
It can be actually higher than 4000k without bumping into a kernel
default limits on alpha.  OTOH 4000k is such easy number and I do not
remember precise values.

   Michal


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

* Re: alphaPC 164 boot weirdness
  1999-08-31 12:40 ` alphaPC 164 boot weirdness Izaak Bozof
@ 1999-08-31 17:38   ` Wes Bauske
  0 siblings, 0 replies; 9+ messages in thread
From: Wes Bauske @ 1999-08-31 17:38 UTC (permalink / raw)
  To: axp-list

Izaak Bozof wrote:
> 
> I am attempting an install of RH5.2 onto an alphaPC164 433 using SRM.
> 
> I get the following when executing a boot using ">>boot dka600 -fi
> "kernels/cabrio-s.gz" -fl "root=/dev/scd0 load_ramdisk=1"
> 
> halted CPU 0
> 
> halt code = 2
> kernel stack not valid halt
> PC=200000000
> boot failure
> 
> The system finds the cd boot track and starts aboot fine -- "switching to
> OSF/1 Palcode..."etc.. then I get "iso: Maxsize 25343" and "iso:
> Datazone..." followed by the above halt.
> 
> Somebody?

I don't think a PC164 is a cabriolet. It's a EB164 variant
from some messages I've seen on mine. Build your own kernel
and boot disk and see if things improve.


Wes


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

* Re: cdrecord and shmget fail ....
  1999-08-31 11:42 ` Jaap Schellekens
  1999-08-30 14:18   ` Peter Petrakis
  1999-08-31 16:16   ` Michal Jaegermann
@ 1999-08-31 23:48   ` Paul Jakma
  2 siblings, 0 replies; 9+ messages in thread
From: Paul Jakma @ 1999-08-31 23:48 UTC (permalink / raw)
  To: axp-list

On Tue, 31 Aug 1999, Jaap Schellekens wrote:

  > If i remember correctly, you must increase SHMMAX in
  > include/asm-alpha/shmparam.h
  > to a more correct value. It's written in some readme of cdrecord.
  
  As a temporary solution set the FORGOT_THE_NAME_SEE_MANPAGE environment 
  variable to have cdrecord use less than 2Mb  of this stuff.

shmmax is run-time configurable on newer kernels, eg:

echo 33554432 > /proc/sys/kernel/shmmax
  
  Jaap

And a large buffer is a good safeguard against dud cdr's. So it's
definitely worth setting it.

regards,
-- 
Paul Jakma
paul@clubi.ie	http://hibernia.clubi.ie
PGP5 key: http://www.clubi.ie/jakma/publickey.txt
-------------------------------------------
Fortune:
The system will be down for 10 days for preventive maintenance.


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

end of thread, other threads:[~1999-08-31 23:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-08-31  9:34 cdrecord and shmget fail Jean-Baptiste Vignaud
1999-08-31 11:42 ` Jaap Schellekens
1999-08-30 14:18   ` Peter Petrakis
1999-08-31 16:16   ` Michal Jaegermann
1999-08-31 23:48   ` Paul Jakma
1999-08-31 12:40 ` alphaPC 164 boot weirdness Izaak Bozof
1999-08-31 17:38   ` Wes Bauske
  -- strict thread matches above, loose matches on Subject: below --
1999-08-31 14:09 cdrecord and shmget fail Miod Vallat
1999-08-31  7:56 Jaap Hogenberg

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