* shm problems ?
@ 1998-09-25 3:33 Wesley Hosking
1998-09-25 8:04 ` David S. Miller
1998-09-28 7:01 ` Wesley Hosking
0 siblings, 2 replies; 3+ messages in thread
From: Wesley Hosking @ 1998-09-25 3:33 UTC (permalink / raw)
To: ultralinux
I am VGER 2.1.121 with shm enabled, on an Ultra 30.
When I use xcdroast to burn a CD it gives me :
/usr/lib/xcdroast-0.96d/bin/cdrecord-1.6: Invalid argument. shmget failed
Cdrecord release 1.6 Copyright (C) 1995-1998 Jörg Schilling
(I also get the same in sparc32 mode :
/usr/lib/xcdroast-0.96d/bin/cdrecord-1.6: Invalid argument. shmget failed
Cdrecord release 1.6 Copyright (C) 1995-1998 Jörg Schilling
.....
ok - its probably the
#define SHMMAX (1024 * 1024)
in include/asm-sparc64/shmparam.h
cdrecord requires a 4M chunk...
will try it at 16Mb, and see if that is the problem.
If you don't hear from me there thats probably what the fix is ;-)
wes
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: shm problems ?
1998-09-25 3:33 shm problems ? Wesley Hosking
@ 1998-09-25 8:04 ` David S. Miller
1998-09-28 7:01 ` Wesley Hosking
1 sibling, 0 replies; 3+ messages in thread
From: David S. Miller @ 1998-09-25 8:04 UTC (permalink / raw)
To: ultralinux
Upgrade to and install latest CVS kernel.
ftp://vger.rutgers.edu/pub/linux/README.CVS
Later,
David S. Miller
davem@dm.cobaltmicro.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: shm problems ?
1998-09-25 3:33 shm problems ? Wesley Hosking
1998-09-25 8:04 ` David S. Miller
@ 1998-09-28 7:01 ` Wesley Hosking
1 sibling, 0 replies; 3+ messages in thread
From: Wesley Hosking @ 1998-09-28 7:01 UTC (permalink / raw)
To: ultralinux
David S. Miller writes:
>
> Upgrade to and install latest CVS kernel.
>
> ftp://vger.rutgers.edu/pub/linux/README.CVS
>
It turned out I had to do both....
Jakub put a fix into the CVS archive for sg.o
(the generic scsi device)
AND it required the stuff below (I changed the 1024's for SHMMAX to
4096)...
(cdrecord requires a 4Mbyte chunk to ensure the SCSI flow is kept
full to the CD - I just made it 4 * larger to make sure ;-)
It works fine ! (now).
wes
In response to Wesley Hosking writes:
> I am VGER 2.1.121 with shm enabled, on an Ultra 30.
>
> When I use xcdroast to burn a CD it gives me :
> /usr/lib/xcdroast-0.96d/bin/cdrecord-1.6: Invalid argument. shmget failed
> Cdrecord release 1.6 Copyright (C) 1995-1998 Jörg Schilling
>
> (I also get the same in sparc32 mode :
>
> /usr/lib/xcdroast-0.96d/bin/cdrecord-1.6: Invalid argument. shmget failed
> Cdrecord release 1.6 Copyright (C) 1995-1998 Jörg Schilling
>
> .....
>
> ok - its probably the
> #define SHMMAX (1024 * 1024)
> in include/asm-sparc64/shmparam.h
>
>
> cdrecord requires a 4M chunk...
> will try it at 16Mb, and see if that is the problem.
>
> If you don't hear from me there thats probably what the fix is ;-)
>
> wes
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-09-28 7:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-25 3:33 shm problems ? Wesley Hosking
1998-09-25 8:04 ` David S. Miller
1998-09-28 7:01 ` Wesley Hosking
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.