CDRECORD *shmget failed*

CDRECORD *shmget failed*

Post by root » Thu, 06 Apr 2000 04:00:00



Ok, I am new at this stuff, but I am fairly experienced when it comes to
the pc. Now, If I do a fresh install of Linux 6.2 I can get the writer
to work without a fail.  When i compile a new kernel to impliment my
Promise Ultra66 everything seems to go well, I can even see my HP 8200i.
IF I try to, lets say blank a CD-RW (which i have done with a fresh
install successfully) I get this error


Cdrecord 1.8 (i686-pc-linux-gnu) Copyright (C) 1995-2000 J?rg Schilling
cdrecord: Invalid argument. shmget failed

Now I did a man on shmget, and I am assumeing by what i was reading that
it has to do with a memorey allocation problem.  Is there something I am
forgetting to compile into the kernel? Has anyone else had this
problem.. and by chance do tehy know how to fix it? I have been
searching for the answer for awhile, even redid the system..

here is "cdrecord -scanbus"

Cdrecord 1.8 (i686-pc-linux-gnu) Copyright (C) 1995-2000 J?rg Schilling
Using libscg version 'schily-0.1'
scsibus0:
 0,0,0   0) 'HP      ' 'CD-Writer+ 8200 ' '1.0f' Removable CD-ROM
 0,1,0   1) *
 0,2,0   2) *
 0,3,0   3) *
 0,4,0   4) *
 0,5,0   5) *
 0,6,0   6) *
 0,7,0   7) *

Cdrecord 1.8 (i686-pc-linux-gnu) Copyright (C) 1995-2000 J?rg Schilling
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Using libscg version 'schily-0.1'
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'HP      '
Identifikation : 'CD-Writer+ 8200 '
Revision       : '1.0f'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : SWABAUDIO

The kernel I am useing is 2.3.99-pre3 (It has all the nice little toys i
want for my PIII550 and Asus P3C2000)

Any help would be greatly appreciated! :) Thx!

Phil.

 
 
 

CDRECORD *shmget failed*

Post by Agreza » Thu, 06 Apr 2000 04:00:00



> Ok, I am new at this stuff, but I am fairly experienced when it comes to
> the pc. Now, If I do a fresh install of Linux 6.2 I can get the writer
> to work without a fail.  When i compile a new kernel to impliment my
> Promise Ultra66 everything seems to go well, I can even see my HP 8200i.
> IF I try to, lets say blank a CD-RW (which i have done with a fresh
> install successfully) I get this error


> Cdrecord 1.8 (i686-pc-linux-gnu) Copyright (C) 1995-2000 J?rg Schilling
> cdrecord: Invalid argument. shmget failed

> Now I did a man on shmget, and I am assumeing by what i was reading that
> it has to do with a memorey allocation problem.  Is there something I am
> forgetting to compile into the kernel? Has anyone else had this
> problem.. and by chance do tehy know how to fix it? I have been
> searching for the answer for awhile, even redid the system..

> here is "cdrecord -scanbus"

> Cdrecord 1.8 (i686-pc-linux-gnu) Copyright (C) 1995-2000 J?rg Schilling
> Using libscg version 'schily-0.1'
> scsibus0:
>  0,0,0   0) 'HP      ' 'CD-Writer+ 8200 ' '1.0f' Removable CD-ROM
>  0,1,0   1) *
>  0,2,0   2) *
>  0,3,0   3) *
>  0,4,0   4) *
>  0,5,0   5) *
>  0,6,0   6) *
>  0,7,0   7) *

> Cdrecord 1.8 (i686-pc-linux-gnu) Copyright (C) 1995-2000 J?rg Schilling
> scsidev: '0,0,0'
> scsibus: 0 target: 0 lun: 0
> Using libscg version 'schily-0.1'
> Device type    : Removable CD-ROM
> Version        : 0
> Response Format: 1
> Vendor_info    : 'HP      '
> Identifikation : 'CD-Writer+ 8200 '
> Revision       : '1.0f'
> Device seems to be: Generic mmc CD-RW.
> Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
> Driver flags   : SWABAUDIO

> The kernel I am useing is 2.3.99-pre3 (It has all the nice little toys i
> want for my PIII550 and Asus P3C2000)

> Any help would be greatly appreciated! :) Thx!

> Phil.

ahhh found the problem!!!

You have to add this mount in your fstab.

none   /var/shm    shm    exec,dev,suid,rw  0 0

(just incase you run into the same problem!!! Cheers! :)

Phil

 
 
 

CDRECORD *shmget failed*

Post by Valette Jean-S├ębastie » Fri, 07 Apr 2000 04:00:00


cdrecord 18 is bet and kernel  2.3.XX are beta... so they may have bug :-(

cdrecord 1.8 release are stabe with kernel 2.2.13.
I use the SG2 driver from Schilling and it works fine.

PS : be careful of what u do when u are root
root a crit :

> Ok, I am new at this stuff, but I am fairly experienced when it comes to
> the pc. Now, If I do a fresh install of Linux 6.2 I can get the writer
> to work without a fail.  When i compile a new kernel to impliment my
> Promise Ultra66 everything seems to go well, I can even see my HP 8200i.
> IF I try to, lets say blank a CD-RW (which i have done with a fresh
> install successfully) I get this error


> Cdrecord 1.8 (i686-pc-linux-gnu) Copyright (C) 1995-2000 J?rg Schilling
> cdrecord: Invalid argument. shmget failed

> Now I did a man on shmget, and I am assumeing by what i was reading that
> it has to do with a memorey allocation problem.  Is there something I am
> forgetting to compile into the kernel? Has anyone else had this
> problem.. and by chance do tehy know how to fix it? I have been
> searching for the answer for awhile, even redid the system..

> here is "cdrecord -scanbus"

> Cdrecord 1.8 (i686-pc-linux-gnu) Copyright (C) 1995-2000 J?rg Schilling
> Using libscg version 'schily-0.1'
> scsibus0:
>  0,0,0   0) 'HP      ' 'CD-Writer+ 8200 ' '1.0f' Removable CD-ROM
>  0,1,0   1) *
>  0,2,0   2) *
>  0,3,0   3) *
>  0,4,0   4) *
>  0,5,0   5) *
>  0,6,0   6) *
>  0,7,0   7) *

> Cdrecord 1.8 (i686-pc-linux-gnu) Copyright (C) 1995-2000 J?rg Schilling
> scsidev: '0,0,0'
> scsibus: 0 target: 0 lun: 0
> Using libscg version 'schily-0.1'
> Device type    : Removable CD-ROM
> Version        : 0
> Response Format: 1
> Vendor_info    : 'HP      '
> Identifikation : 'CD-Writer+ 8200 '
> Revision       : '1.0f'
> Device seems to be: Generic mmc CD-RW.
> Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
> Driver flags   : SWABAUDIO

> The kernel I am useing is 2.3.99-pre3 (It has all the nice little toys i
> want for my PIII550 and Asus P3C2000)

> Any help would be greatly appreciated! :) Thx!

> Phil.

--

-------------------------------------------------------------------------------------------


83140 Six-Fours

  jean-sebastien.valette.vcf
< 1K Download
 
 
 

CDRECORD *shmget failed*

Post by Dances With Cro » Fri, 07 Apr 2000 04:00:00


On Thu, 06 Apr 2000 09:49:07 +0200, Valette Jean-Sbastien

Quote:>Il s'agit d'un message multivolet au format MIME.

Ne faites-?a jamais!  MIME est inconvnient pour les gens qui utilise
{tin, slrn, rn, etc.}

>cdrecord 18 is bet and kernel  2.3.XX are beta... so they may have bug :-(
>cdrecord 1.8 release are stabe with kernel 2.2.13.
>I use the SG2 driver from Schilling and it works fine.

>> cdrecord: Invalid argument. shmget failed
>> Now I did a man on shmget, and I am assumeing by what i was reading that
>> it has to do with a memorey allocation problem.  Is there something I am

[snip]

For kernel 2.3.XX, you need to put another line in your /etc/fstab if you
wish to use cdrecord.  That line is like so:

none            /var/shm         shm     exec,dev,suid,rw 0 0

Shared memory is now apparently a filesystem.  (Seems weird to me, but I
guess the kernel developers had a reason.)  The "suid,rw" bits worry me,
but since the man page for mount(8) hasn't really been updated yet, I have
no idea exactly what's going on.[0]  I did that and cdrecord's been
working well with 2.3.99-pre3.  

[0] I know, but reading kernel code makes my head spin.  One of these
days....

--
Matt G / Dances With Crows              \###| Programmers are playwrights
There is no Darkness in Eternity         \##| Computers are lousy actors
But only Light too dim for us to see      \#| Lusers are vicious drama critics
(Unless, of course, you're working with NT)\| BOFHen burn down theatres.

 
 
 

1. cdrecord: Invalid argument. shmget failed


I seem to remember getting this. It's trying to grab a chunk of shared
memory but the system won't give it. If you hack the code to ask for a
smaller chunk it works. I think there may be a command line argument
to do it without recompiling but I forget what it was. Sorry I can't
be more specific but I'm at work and my linux box is at home. Try
grepping the code for shmget.

Martin
_________________________________________________________________
We see here a curious instance of that frequent mental phenomenon
:- the precise inversion of the truth by a superficial view.
                                          Benjamin R. Tucker 1899

2. Installation Problem Solaris 2.6

3. how to write a file image of a device

4. cdrecord says shmget failed

5. About cvsup!

6. Gdk-WARNING **: shmget failed!

7. AHA-2940 W and AHA-2940UW

8. Shmget failed!

9. Help messg: Invalid argument. SHMGET failed.

10. Apache/Linux Failed Startup (shmget)

11. alpha : shmget failed && ethernet problems

12. "shmget failed!". kernel mem leak, maybe?