> /* test if signal handling preserves XMM registers */
> #include
> #include
> #include
>
> int count;
>
> void sighandler(int signum)
> {
> count++;
>
> /* alarm(1) without calling libc */
> asm("mov $0x1,%rdi");
> asm("mov $0x25,%rax");
> asm("syscall"
;rootfstype=hostfs', 'rw', 'init=/bin/bash'])
Can you please share your kernel config file?
Stian
--
___
User-mode-linux-devel mailing list
User-mode-linu
,
> 'rootfstype=hostfs', 'rw', 'init=/bin/bash'])
>
> [1.88] winch_thread : TIOCSCTTY failed on fd 1 err = 1
>
I suspect subprocess.check_call() uses pipes and not pty/tty when
creating this process. Same problem probably happens if do you something
like
cat /dev/
code inside bar can do
set_signals() magic.
I am not linux kernel ABI expert.
To me, it seems to be a more safe to have a ABI that tracks each signal
blocked mask individually, and have a ref-counted block-all/unblock-all
call. This would be like how you normally program on a CPU. Yo
ld be a no-op
foobar()
unblock() <- first here the signals should be unblocked again
Stian
--
___
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforg
> I will probably add some "manual" debug code to check if the nested
> invocation happens with the debug options off.
Might be timing dependent and/or issue with nested blocking/unblocking
of signals.
Or debug printing when it should not.
Just my two cents
mes to my
mind is that this very easy overflows if 32 bit multiplications are used
(tv_sec is usually 32bit and dictates the first multiplication unless
typecast is used).
Stian Skjelstad
--
One dashboard for servers a
hat you are missing
http://vde.sourceforge.net/ . Do you have this library with its
developments-headers installed?
Stian Skjelstad
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel
process to have multiple memory maps,
and a tracing process could use a syscall to change which memory map a
process should have at any given time. With SKAS0, this is no longer
required, hence the version was set to zero.
Googleling SKAS3 and SKAS0 should give some nice hits.
--
Stian Skjelst
ore the STUB and the END is not
after the STUB
Stian Skjelstad
--
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled
traces.
> And furthermore after a while the UML system does no longer serve any
> ssh login attempts.
516 == -ERESTART_RESTARTBLOCK ??
Stian
--
Rapidly troubleshoot problems before they affect your business. Most IT
or
5 = 0x
looks like something underflowed
Stian Skjelstad
--
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline deli
ably add /run/shm to the list of tmpfs directories to
test for (ubuntu systems atleast use this).
Stian Skjelstad
--
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, No
> You cannot build Linux with -O1/O0.
> Try printing the value using printk...
Or even printf(), since this an UML kernel.
Stian
--
November Webinars for C, C++, Fortran Developers
Accelerate application perfo
all decide what kind of multiplication and division we actually
perform here; so let us hope it is not something like (signed char)
>>>>> BUG_ON(pages_dirtied < 0);
>>>>> BUG_ON(task_ratelimit < 0);
These will never hit if pages_d
of a page
size = 2; // big enough to cross two pages
psrc = 0x0f000; // pointed to the start of the first page
size = 2; // does not include the second page anymore
second page is not checked
Or is this not a proble
race also included spin-lock right before the panic, which could
be the source of the issue. If I remember right, the kernel has some debug
options that can be enabled for spin-locks.
Stian Skjelstad
--
Virtualization &a
> Hi!
>
> systemd goes nuts on UML.
> While hunting down all issues I found out that systemd wants to read from
> /sys/class/tty/tty0/active.
Kernel version?
http://comments.gmane.org/gmane.comp.sysutils.systemd.devel/3079 indicates
that the given file appears in 2.6.37
Just some few things to check. How is the memory pressure? What resources does
the UML instances use (network, hostfs, cow). Could it be related to a
network-device not being able initialize?
Stian Skjelstad
> no hints? :-/
>
>Am 15.10.2010 11:42, schrieb Felix Antonius Wilhel
If this is a common issue/problem, perhaps an informativ error-message
can be written when this occure, hinting the user to a possible
solution.
Stian
On Mon, 2008-03-31 at 10:50 -0400, Jeff Dike wrote:
> On Fri, Mar 28, 2008 at 10:44:08PM +, Antoine Martin wrote:
> > [434926
initialization does/didn't have depencies).
Just me five cents :-)
Stian
On Tue, 2007-12-18 at 12:45 -0600, Rob Landley wrote:
> I want to loopback mount a jffs2 filesystem, and this filesystem has
> incestuous knowledge of flash devices for wear levelling and stuff, so it
> will
ice. Multicast aware programs should always bind to a
device, or broadcast on all devices for discovery.
This is not uml-specific, but vanilla kernel. Some distroes add
multicast-routing for ipv4 during init scripts.
Stian
---
SF.Net email i
t cpu's, and when interprocess stuff is to occure,
cpu's have to sync.
Also, some few kernel things is slower on SMP, while user-space things
that are not related, and multithreaded apps run faster.
Stian
---
This SF.Net email is spon
Just a quick question. Have anybody seen hostfs randomly failing to list
files when doing ls on samba-filesystems on the host, or other
filesystems?
Just wondering if I'm alone in the world being bother by this kernel-bug:
http://bugzilla.kernel.org/show_bug.cgi?id=4497
Stian Skjelsta
"pushl %eax\n\t"
> "call do_exit\n"
> ".previous");
kernel_thread helper is just a dummy wrapper to feed into kernel_thread
and can probably look at as a static local function only for use of x86
implementation of kernel_thread.
Stian
---
nter/tls
implementation in glibc. Either make gdb breakpoint (since processes doing
any system calls appear with this setup, or disable tls libraries. Atleast
that works for my setup).
To disable tls:
mv /lib/tls /lib/tls-old
and later to re-enable
mv /lib/tls-old /lib/tls
Hopes t
would be to use a configure prinsip to test-compile, and
have a define that depends on it. Perhaps dirty, conserning kbuild, but
resolves problems, unless the alias symbol works.
Stian
---
SF email is sponsored by - The IT Product Guide
Read honest
s this syscall as I find the syscall to be badly
documented last time I looked at it.
Stian Skjelstad
---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover wh
ther ways, and a communatication
channel for update-notifications and keyboard/mouse inputs).
Stian Skjelstad
---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop rep
gt; array is about 1% of the entire physical mem in size.
You can mangle with the page-size as-well. You will break some few
programs by increasing the page-size too 16K instead of 4K, but most
software should respect the output mmap give
which gives size 0, og uml_moo fails. Also I see that it is
compiled with 64bit file support, but shouldn't you define _GNU_SOURCE as
well? Since off_t didn't need %lld in the printf, but %ld as the
source-code now uses which is 32bit on i386 atleast. The last thingy was
just a qu
rward when trying to locate the affected filesytems, while all other
file-operations walks it backwards. So it seems to be general
kernel-problem when you have mounted a mount-point two times (Either with
intension or accident)
Stian
---
The S
even when the root is passed with -o, that
> is
> used even for the mount-point. And now I've actually ran the test...
>> df -h on host:
>>
>> Filesystems Size Used Avail Use% Mounted on
>> /dev/hda2 7.3G 6.2G 717M 90% /
>> none
type proc (rw,nodiratime)
df -h on host:
Filesystems Size Used Avail Use% Mounted on
/dev/hda2 7.3G 6.2G 717M 90% /
none 126M 0 126M 0% /dev/shm
192.168.1.1:/var/home/stian
147G 104G 37G 75% /root/UML/a
mount on host
when df -h does a statfs, hostfs statfs'es /, instead of the mount-source
directory, so you get the wrong stats about free-space if the mounted
directory does not originate from the / host partition.
Stian
---
The SF.Net email is sponsor
sig_handler
__restore
Stian
---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sf
36 matches
Mail list logo