? Does it share user level memory?
Yes. They both do, but the Posix one is based on a ramfs or tmpfs on
/dev/shm and shared mmaps. I think analyzing the SysV version will be
better for your needs.
shmget: create the memory region
shmat: attach the memory region to this process.
--
Luciano Rocha
On Sat, Nov 24, 2007 at 02:34:41PM +0100, Pierre Ossman wrote:
On Fri, 23 Nov 2007 00:15:53 + (GMT)
Daniel Drake [EMAIL PROTECTED] wrote:
Being spoilt by the luxuries of i386/x86_64 I've never really had a good
grasp on unaligned memory access problems on other architectures and
On Sat, Nov 24, 2007 at 05:19:31PM +0100, Pierre Ossman wrote:
On Sat, 24 Nov 2007 15:50:52 +
Luciano Rocha [EMAIL PROTECTED] wrote:
Dumb memcpy (while (len--) { *d++ = *s++ }) will have alignment problems
in any case. Intelligent ones, like the one provided in glibc, first copy
On Sat, Nov 24, 2007 at 06:35:25PM +0100, Pierre Ossman wrote:
On Sat, 24 Nov 2007 17:22:36 +
Luciano Rocha [EMAIL PROTECTED] wrote:
On Sat, Nov 24, 2007 at 05:19:31PM +0100, Pierre Ossman wrote:
It most certainly does not. gcc will assume that an int* has int
alignment. memcpy
: 256 KB
--
Luciano Rocha [EMAIL PROTECTED]
Eurotux Informática, S.A. http://www.eurotux.com/
pgpNPo6XbBfoE.pgp
Description: PGP signature
to build this are out of date...
Those are for the kernel module setting the partition tables. If you're
only interested in the ldminfo utility:
make -C ldmutil CPP='g++ -static'
Substitute g++ for the C++ compiler you want to use.
--
Luciano Rocha [EMAIL PROTECTED]
Eurotux Informática, S.A. http
On Wed, Dec 12, 2007 at 04:57:39PM +0200, Alon Bar-Lev wrote:
On 12/12/07, Luciano Rocha [EMAIL PROTECTED] wrote:
Those are for the kernel module setting the partition tables. If you're
only interested in the ldminfo utility:
make -C ldmutil CPP='g++ -static'
Substitute g++ for the C
On Wed, Dec 12, 2007 at 03:29:55PM +, Luciano Rocha wrote:
On Wed, Dec 12, 2007 at 04:57:39PM +0200, Alon Bar-Lev wrote:
On 12/12/07, Luciano Rocha [EMAIL PROTECTED] wrote:
Those are for the kernel module setting the partition tables. If you're
only interested in the ldminfo utility
the kernel for that memory and use it (as
its own).
I managed to build a structure on the kernel.
Why? Aren't SysV IPC or Posix IPC enough?
See man shm_open, for the new Posix version, and man shmget for the
old SysV IPC version.
--
Luciano Rocha [EMAIL PROTECTED]
Eurotux Informática, S.A. http
/usb1/1-1/1-1.3/1-1.3:1.3/input/input7
[.537041] input: USB HID v1.00 Device [USB Audio] on usb-:02:04.2-1.3
--
Luciano Rocha [EMAIL PROTECTED]
Eurotux Informática, S.A. http://www.eurotux.com/
pgpvlKBiSmUVN.pgp
Description: PGP signature
On Wed, Feb 13, 2008 at 03:09:21PM +, Luciano Rocha wrote:
On Wed, Feb 13, 2008 at 03:21:38PM +0100, Takashi Iwai wrote:
At Wed, 13 Feb 2008 14:05:27 +,
Luciano Rocha wrote:
Hello,
Is this known? I got the error while connecting usb headphones, running
vanilla 2.6.24
Hello,
I have the following problem:
$ sudo -u ie -s # or sudo su ie
unable to change to runas uid: Resource temporarily unavailable
Works:
$ sudo su, followed by su ie
The first sudo also worked while I had a shell under user ie.
When I exited, it stopped working, but it is now working every
$ git describe
v2.6.23-rc9
$ make
...
BUILD arch/i386/boot/bzImage
Root device is (254, 3)
Setup is 11496 bytes (padded to 11776 bytes).
System is 1233 kB
Kernel: arch/i386/boot/bzImage is ready (#1)
Building modules, stage 2.
MODPOST 282 modules
ERROR: kasprintf [drivers/lguest/lg.ko]
On Fri, Oct 05, 2007 at 08:28:50AM -0700, Ray Lee wrote:
On 10/5/07, Luciano Rocha [EMAIL PROTECTED] wrote:
I have the following problem:
$ sudo -u ie -s # or sudo su ie
unable to change to runas uid: Resource temporarily unavailable
Works:
$ sudo su, followed by su ie
The first
On Fri, Oct 05, 2007 at 08:28:50AM -0700, Ray Lee wrote:
On 10/5/07, Luciano Rocha [EMAIL PROTECTED] wrote:
I have the following problem:
$ sudo -u ie -s # or sudo su ie
unable to change to runas uid: Resource temporarily unavailable
Works:
$ sudo su, followed by su ie
The first
?).
I can't reproduce this on a firewire connected HDD, but I can with
another USB connecte one (not locked).
Regards,
Luciano Rocha
--
lfr
0/0
# sda is firewire, unlocked, sdb is usb, locked, and sdc is usb, unlocked
$ ./keytool /dev/sda
Some of the INQUIRY command's response:
00 00 04 02 1f 00 00
files?).
I can't reproduce this on a firewire connected HDD, but I can with
another USB connecte one (not locked).
Regards,
Luciano Rocha
--
lfr
0/0
# sda is firewire, unlocked, sdb is usb, locked, and sdc is usb, unlocked
$ ./keytool /dev/sda
Some of the INQUIRY command's response:
00 00 04 02
Hello,
I have the following problem:
$ sudo -u ie -s # or sudo su ie
unable to change to runas uid: Resource temporarily unavailable
Works:
$ sudo su, followed by su ie
The first sudo also worked while I had a shell under user ie.
When I exited, it stopped working, but it is now working every
$ git describe
v2.6.23-rc9
$ make
...
BUILD arch/i386/boot/bzImage
Root device is (254, 3)
Setup is 11496 bytes (padded to 11776 bytes).
System is 1233 kB
Kernel: arch/i386/boot/bzImage is ready (#1)
Building modules, stage 2.
MODPOST 282 modules
ERROR: "kasprintf" [drivers/lguest/lg.ko]
On Fri, Oct 05, 2007 at 08:28:50AM -0700, Ray Lee wrote:
> On 10/5/07, Luciano Rocha <[EMAIL PROTECTED]> wrote:
> > I have the following problem:
> > $ sudo -u ie -s # or sudo su ie
> > unable to change to runas uid: Resource temporarily unavailable
> >
> >
On Fri, Oct 05, 2007 at 08:28:50AM -0700, Ray Lee wrote:
> On 10/5/07, Luciano Rocha <[EMAIL PROTECTED]> wrote:
> > I have the following problem:
> > $ sudo -u ie -s # or sudo su ie
> > unable to change to runas uid: Resource temporarily unavailable
> >
> >
: 1917.229
cache size : 256 KB
--
Luciano Rocha <[EMAIL PROTECTED]>
Eurotux Informática, S.A. <http://www.eurotux.com/>
pgpNPo6XbBfoE.pgp
Description: PGP signature
On Sat, Nov 24, 2007 at 02:34:41PM +0100, Pierre Ossman wrote:
> On Fri, 23 Nov 2007 00:15:53 + (GMT)
> Daniel Drake <[EMAIL PROTECTED]> wrote:
>
> > Being spoilt by the luxuries of i386/x86_64 I've never really had a good
> > grasp on unaligned memory access problems on other architectures
On Sat, Nov 24, 2007 at 05:19:31PM +0100, Pierre Ossman wrote:
> On Sat, 24 Nov 2007 15:50:52 +
> Luciano Rocha <[EMAIL PROTECTED]> wrote:
>
> >
> > Dumb memcpy (while (len--) { *d++ = *s++ }) will have alignment problems
> > in any case. Intelligent one
On Sat, Nov 24, 2007 at 06:35:25PM +0100, Pierre Ossman wrote:
> On Sat, 24 Nov 2007 17:22:36 +
> Luciano Rocha <[EMAIL PROTECTED]> wrote:
>
> > On Sat, Nov 24, 2007 at 05:19:31PM +0100, Pierre Ossman wrote:
> > > It most certainly does not. gcc wi
yway.
>
> Looking at the sources, it seems that the linux headers used in order
> to build this are out of date...
Those are for the kernel module setting the partition tables. If you're
only interested in the ldminfo utility:
make -C ldmutil CPP='g++ -static'
Substitute g++ for the C
On Wed, Dec 12, 2007 at 04:57:39PM +0200, Alon Bar-Lev wrote:
> On 12/12/07, Luciano Rocha <[EMAIL PROTECTED]> wrote:
> > Those are for the kernel module setting the partition tables. If you're
> > only interested in the ldminfo utility:
> > make -C ldmutil CPP='g++ -s
On Wed, Dec 12, 2007 at 03:29:55PM +, Luciano Rocha wrote:
> On Wed, Dec 12, 2007 at 04:57:39PM +0200, Alon Bar-Lev wrote:
> > On 12/12/07, Luciano Rocha <[EMAIL PROTECTED]> wrote:
> > > Those are for the kernel module setting the partition tables. If you'
client process may ask the kernel for that memory and use it (as
> its own).
> I managed to build a structure on the kernel.
Why? Aren't SysV IPC or Posix IPC enough?
See "man shm_open", for the new Posix version, and "man shmget" for the
old SysV IPC version.
--
Lucia
shmget would do? Does it share user level memory?
Yes. They both do, but the Posix one is based on a ramfs or tmpfs on
/dev/shm and shared mmaps. I think analyzing the SysV version will be
better for your needs.
shmget: create the memory region
shmat: attach the memory region to this process.
--
L
/usb1/1-1/1-1.3/1-1.3:1.3/input/input7
[.537041] input: USB HID v1.00 Device [USB Audio] on usb-:02:04.2-1.3
--
Luciano Rocha <[EMAIL PROTECTED]>
Eurotux Informática, S.A. <http://www.eurotux.com/>
pgpvlKBiSmUVN.pgp
Description: PGP signature
On Wed, Feb 13, 2008 at 03:21:38PM +0100, Takashi Iwai wrote:
> At Wed, 13 Feb 2008 14:05:27 +,
> Luciano Rocha wrote:
> >
> > Hello,
> >
> > Is this known? I got the error while connecting usb headphones, running
> > vanilla 2.6.24.
>
> Not
On Wed, Feb 13, 2008 at 03:09:21PM +, Luciano Rocha wrote:
> On Wed, Feb 13, 2008 at 03:21:38PM +0100, Takashi Iwai wrote:
> > At Wed, 13 Feb 2008 14:05:27 +0000,
> > Luciano Rocha wrote:
> > >
> > > Hello,
> > >
> > > Is this known? I got
33 matches
Mail list logo