shivpratap chauhan | 3 Apr 19:51 2010
Picon

kernel panic

Hi All,

Pls anyone can tell me, what possible reason for this panic (pls refer attached png)?


<div><p>Hi All,<br><br>Pls anyone can tell me, what possible reason for this panic (pls refer attached png)?<br><br><br></p></div>
Dmitry Gromada | 3 Apr 21:18 2010

Re: kernel panic

Hi. I suppose it's occurred because you had launched qemu in non smp mode.

On Saturday 03 April 2010 21:51:20 shivpratap chauhan wrote:
> Hi All,
> 
> Pls anyone can tell me, what possible reason for this panic (pls refer
> attached png)?
> 

Best regards,
Dmitry Gromada.
shivpratap chauhan | 4 Apr 10:11 2010
Picon

Fwd: kernel panic

Hi,


Ya it helped me to get rid of that panic but now I am facing issue with graphics see attached.
Also, I would like to know about module "/system/serv/bootsd.x.static" I cant see this module in serv dir? so just booted image without loading this module in grub configuration.

Thanks,
Shiv


On Sun, Apr 4, 2010 at 12:48 AM, Dmitry Gromada <gromada <at> jarios.org> wrote:
Hi. I suppose it's occurred because you had launched qemu in non smp mode.

On Saturday 03 April 2010 21:51:20 shivpratap chauhan wrote:
> Hi All,
>
> Pls anyone can tell me, what possible reason for this panic (pls refer
> attached png)?
>

Best regards,
Dmitry Gromada.


<div>
<p>Hi,<br></p>
<div class="gmail_quote">
<br>Ya it helped me to get rid of that panic but now I am facing issue with graphics see attached.<br>Also, I would like to know about module "/system/serv/bootsd.x.static" I cant see this module in serv dir? so just booted image without loading this module in grub configuration.<br><br>Thanks,<br>Shiv<div>
<div></div>
<div class="h5">
<br><br><div class="gmail_quote">On Sun, Apr 4, 2010 at 12:48 AM, Dmitry Gromada <span dir="ltr">&lt;<a href="mailto:gromada <at> jarios.org" target="_blank">gromada <at> jarios.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">

Hi. I suppose it's occurred because you had launched qemu in non smp mode.<br><div>
<div></div>
<div>
<br>
On Saturday 03 April 2010 21:51:20 shivpratap chauhan wrote:<br>
&gt; Hi All,<br>
&gt;<br>
&gt; Pls anyone can tell me, what possible reason for this panic (pls refer<br>
&gt; attached png)?<br>
&gt;<br><br>
</div>
</div>Best regards,<br>Dmitry Gromada.<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
<br>
</div>
Dmitry Gromada | 4 Apr 13:16 2010

Re: Fwd: kernel panic

On Sunday 04 April 2010 12:11:33 shivpratap chauhan wrote:
> Hi,
> 
> Ya it helped me to get rid of that panic but now I am facing issue with
> graphics see attached.

There are some troubles with vga console in the kernel. I come on a system 
hang up at boot when i set the both, default and fault, kernel consoles to 
vga. Type 'make menuconfig' and set the both consoles to serial for the 
present. I'm going resolve the problem in the near future.

> Also, I would like to know about module "/system/serv/bootsd.x.static" I
> cant see this module in serv dir? so just booted image without loading this
> module in grub configuration.
> 

Here is the working menu.lst for the version being in the git repository

# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.
default		0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default 
entry
# (normally the first entry defined).
timeout		5

# Pretty colours
color cyan/blue white/blue

title Jari OS
kernel /boot/vmuielf
module /boot/initrd
module /os/nsv2.x.static
module /os/vfsv2.x.static
module /os/fs/init.fs.static
module /os/procmgr.x.static
module /os/btsdv2.x.static

savedefault

> Thanks,
> Shiv

Best regards,
Dmitry Gromada
shivpratap chauhan | 4 Apr 14:18 2010
Picon

Fwd: Fwd: kernel panic


Hi,

I tried building kernel with make menuconfig and set default and fault console to serial, and when I run image in qemu it hangs on grub screen as shown in attached. though HD image given on jari Os web site is working fine.

Also, Pls see comment inline.



On Sun, Apr 4, 2010 at 4:46 PM, Dmitry Gromada <gromada <at> jarios.org> wrote:
On Sunday 04 April 2010 12:11:33 shivpratap chauhan wrote:
> Hi,
>
> Ya it helped me to get rid of that panic but now I am facing issue with
> graphics see attached.

There are some troubles with vga console in the kernel. I come on a system
hang up at boot when i set the both, default and fault, kernel consoles to
vga. Type 'make menuconfig' and set the both consoles to serial for the
present. I'm going resolve the problem in the near future.

> Also, I would like to know about module "/system/serv/bootsd.x.static" I
> cant see this module in serv dir? so just booted image without loading this
> module in grub configuration.
>

Here is the working menu.lst for the version being in the git repository

# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.
default         0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default
entry
# (normally the first entry defined).
timeout         5

# Pretty colours
color cyan/blue white/blue


title Jari OS
kernel /boot/vmuielf
module /boot/initrd 
comment: do we have document that describe creation of initrd to work with JariOS?

module /os/nsv2.x.static
module /os/vfsv2.x.static
module /os/fs/init.fs.static
module /os/procmgr.x.static
module /os/btsdv2.x.static

savedefault

> Thanks,
> Shiv

Best regards,
Dmitry Gromada
Regards,
Shiv

<div>
<br><div class="gmail_quote">Hi,<br><br>I tried building kernel with make menuconfig and set default and fault console to serial, and when I run image in qemu it hangs on grub screen as shown in attached. though HD image given on jari Os web site is working fine.<br><br>Also, Pls see comment inline.<br><br><br><br><div class="gmail_quote">
<div>
<div></div>
<div class="h5">On Sun, Apr 4, 2010 at 4:46 PM, Dmitry Gromada <span dir="ltr">&lt;<a href="mailto:gromada <at> jarios.org" target="_blank">gromada <at> jarios.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">
<div>On Sunday 04 April 2010 12:11:33 shivpratap chauhan wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; Ya it helped me to get rid of that panic but now I am facing issue with<br>
&gt; graphics see attached.<br><br>
</div>There are some troubles with vga console in the kernel. I come on a system<br>
hang up at boot when i set the both, default and fault, kernel consoles to<br>
vga. Type 'make menuconfig' and set the both consoles to serial for the<br>
present. I'm going resolve the problem in the near future.<br><div>
<br>
&gt; Also, I would like to know about module "/system/serv/bootsd.x.static" I<br>
&gt; cant see this module in serv dir? so just booted image without loading this<br>
&gt; module in grub configuration.<br>
&gt;<br><br>
</div>Here is the working menu.lst for the version being in the git repository<br><br>
# menu.lst - See: grub(8), info grub, update-grub(8)<br>
# &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;grub-install(8), grub-floppy(8),<br>
# &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;grub-md5-crypt, /usr/share/doc/grub<br>
# &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;and /usr/share/doc/grub-doc/.<br>
default &nbsp; &nbsp; &nbsp; &nbsp; 0<br><br>
## timeout sec<br>
# Set a timeout, in SEC seconds, before automatically booting the default<br>
entry<br>
# (normally the first entry defined).<br>
timeout &nbsp; &nbsp; &nbsp; &nbsp; 5<br><br>
# Pretty colours<br>
color cyan/blue white/blue<br><br><br>
title Jari OS<br>
kernel /boot/vmuielf<br>
module /boot/initrd&nbsp; <br>
</blockquote>
</div>
</div>
<div>comment: do we have document that describe creation of initrd to work with JariOS? <br><br>
</div>
<div class="im"><blockquote class="gmail_quote">

module /os/nsv2.x.static<br>
module /os/vfsv2.x.static<br>
module /os/fs/init.fs.static<br>
module /os/procmgr.x.static<br>
module /os/btsdv2.x.static<br><br>
savedefault<br><br>
&gt; Thanks,<br>
&gt; Shiv<br><br>
Best regards,<br>Dmitry Gromada<br>
</blockquote></div>
</div>Regards,<br>Shiv<br>
</div>
<br>
</div>
Dmitry Gromada | 4 Apr 14:46 2010

Re: Fwd: Fwd: kernel panic

On Sunday 04 April 2010 16:18:33 shivpratap chauhan wrote:
> Hi,
> 
> I tried building kernel with make menuconfig and set default and fault
> console to serial, and when I run image in qemu it hangs on grub screen as
> shown in attached. though HD image given on jari Os web site is working
> fine.

Attach please the serial output (you should launch qemu with -serial)

> comment: do we have document that describe creation of initrd to work with
> JariOS?

There are utils located in '<path to jarios sources>/dev_tools/' which do all 
that's needed, and there are instructions in the 'README' file put to the root 
of the source tree. The script creating initrd is launched during 'make 
image_install'

Best regards,
Dmitry Gromada
shivpratap chauhan | 7 Apr 21:51 2010
Picon

JariOS hangs

Hi All,

I built a new image and it hangs, even i waited for 30 min still it does not show progress beyond [bdev.x]: Registering new storage 'ada'. This issue seems from long back. Did any one get around with this?


Serial logs:
[spc <at> Python git]$ tail -f log.txt
E820 memory map:
BIOS-e820: 0x0000000000 - 0x000009f000 (usable)
BIOS-e820: 0x000009f000 - 0x00000a0000 (reserved)
BIOS-e820: 0x00000e8000 - 0x0000100000 (reserved)
BIOS-e820: 0x0000100000 - 0x0007ff0000 (usable)
BIOS-e820: 0x0007ff0000 - 0x0008000000 (ACPI reclaimable)
BIOS-e820: 0x00fffbc000 - 0x00fffc0000 (reserved)
BIOS-e820: 0x00fffc0000 - 0x0100000000 (reserved)
[INFO] Available RAM: 127Mb
[INFO] Kernel size: 412K
[INFO] Services size: 7595K
[DEBUG] Verifying Identity mapping...     [OK]
[DEBUG] Verifying Kernel mapping...       [OK]
[INFO] Page frames array size: 2304K
[MM] Pool "Lowmem" initialized TLSF O(1) allocator
[MM] Pages statistics of pool "Lowmem":
 | Total    Free     Reserved |
 | 32752    29844    2908     |
[MM] All pages were successfully remapped.
[DBG] Validating memory pools... [OK]
LAPIC ID = 0, version = 17, lvts = 5
DEFAULT CONTROLLER: Local APIC
[MM] Initializing slab allocator
 Cache "slab_t" (size=32) was successfully initialized
 Cache "memcache_t" (size=224) was successfully initialized
[MM] Initializing memory objects subsystem...
[MM] Initializing VMM subsystem...
[MM] Reverse mapping system successfully initialized
Registering scheduler: 'Eza default scheduler' (CPUs supported: 2)
SEND INIT IPI TO CPU 1, cpuid=1
CPU#1 Hello folks! I'm here
online!
[LAUNCHER] Starting 6 servers with delay 500. First user (non-NS) PID is 7
[LAUNCHER] Starting server: /boot/initrd
[LAUNCHER] Starting server: /system/serv/nsv2.x.static
CPU #1 is entering idle loop. Current task: 0xffffffff87b99000, CPU: 1, ATOM: 0
CPU #0 is entering idle loop. Current task: 0xffffffff87b91000, CPU ID: 0
[LAUNCHER] Starting server: /system/serv/vfsv2.x.static
[LAUNCHER] Starting server: /system/fs/init.fs.static
[LAUNCHER] Starting server: /system/serv/procmgr.x.static
[ProcMgr] Starting with PID = 9
[LAUNCHER] Starting server: /system/serv/btsdv2.x.static
[btsdv2] starting ...
[btsdv2] going first stage (initrd).
[BDSMv2] conf_path=/etc/init.grub.scm
[BTSD] Executing module 'deviofs:/system/fs/devio.fs.static' with 0 params.
[LAUNCHER]: All servers started. Exiting ...
[BTSD] Executing module 'ioapic:/system/devs/ioapic.d.static' with 0 params.
initing ...
[ioapic.d] Jari OS I/O APIC driver ...OK
OK
[BTSD] Executing module 'pci:/system/devs/pci.d.static' with 0 params.
[pci.d] Jari OS PCI bus driver.
[BTSD] Executing module 'bdev:/system/serv/bdev.x.static' with 0 params.
[bdev.x] initing ...
[bdev.x] running ...
[bdev.x]: scanning ata interfaces
OK
[bdev.x]: Registering new storage 'ada'.

Thanks,
Shivpratap

<div><p>Hi All,<br><br>I built a new image and it hangs, even i waited for 30 min still it does not show progress beyond [bdev.x]: Registering new storage 'ada'. This issue seems from long back. Did any one get around with this?<br><br><br>Serial logs:<br>[spc <at> Python git]$ tail -f log.txt <br>E820 memory map:<br>BIOS-e820: 0x0000000000 - 0x000009f000 (usable)<br>BIOS-e820: 0x000009f000 - 0x00000a0000 (reserved)<br>BIOS-e820: 0x00000e8000 - 0x0000100000 (reserved)<br>
BIOS-e820: 0x0000100000 - 0x0007ff0000 (usable)<br>BIOS-e820: 0x0007ff0000 - 0x0008000000 (ACPI reclaimable)<br>BIOS-e820: 0x00fffbc000 - 0x00fffc0000 (reserved)<br>BIOS-e820: 0x00fffc0000 - 0x0100000000 (reserved)<br>[INFO] Available RAM: 127Mb<br>
[INFO] Kernel size: 412K<br>[INFO] Services size: 7595K<br>[DEBUG] Verifying Identity mapping...&nbsp;&nbsp;&nbsp;&nbsp; [OK]<br>[DEBUG] Verifying Kernel mapping...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [OK]<br>[INFO] Page frames array size: 2304K<br>[MM] Pool "Lowmem" initialized TLSF O(1) allocator<br>
[MM] Pages statistics of pool "Lowmem":<br>&nbsp;| Total&nbsp;&nbsp;&nbsp; Free&nbsp;&nbsp;&nbsp;&nbsp; Reserved |<br>&nbsp;| 32752&nbsp;&nbsp;&nbsp; 29844&nbsp;&nbsp;&nbsp; 2908&nbsp;&nbsp;&nbsp;&nbsp; |<br>[MM] All pages were successfully remapped.<br>[DBG] Validating memory pools... [OK]<br>LAPIC ID = 0, version = 17, lvts = 5<br>
DEFAULT CONTROLLER: Local APIC<br>[MM] Initializing slab allocator<br>&nbsp;Cache "slab_t" (size=32) was successfully initialized<br>&nbsp;Cache "memcache_t" (size=224) was successfully initialized<br>[MM] Initializing memory objects subsystem...<br>
[MM] Initializing VMM subsystem...<br>[MM] Reverse mapping system successfully initialized<br>Registering scheduler: 'Eza default scheduler' (CPUs supported: 2)<br>SEND INIT IPI TO CPU 1, cpuid=1<br>CPU#1 Hello folks! I'm here<br>
online!<br>[LAUNCHER] Starting 6 servers with delay 500. First user (non-NS) PID is 7<br>[LAUNCHER] Starting server: /boot/initrd<br>[LAUNCHER] Starting server: /system/serv/nsv2.x.static<br>CPU #1 is entering idle loop. Current task: 0xffffffff87b99000, CPU: 1, ATOM: 0<br>
CPU #0 is entering idle loop. Current task: 0xffffffff87b91000, CPU ID: 0<br>[LAUNCHER] Starting server: /system/serv/vfsv2.x.static<br>[LAUNCHER] Starting server: /system/fs/init.fs.static<br>[LAUNCHER] Starting server: /system/serv/procmgr.x.static<br>
[ProcMgr] Starting with PID = 9<br>[LAUNCHER] Starting server: /system/serv/btsdv2.x.static<br>[btsdv2] starting ...<br>[btsdv2] going first stage (initrd).<br>[BDSMv2] conf_path=/etc/init.grub.scm<br>[BTSD] Executing module 'deviofs:/system/fs/devio.fs.static' with 0 params.<br>
[LAUNCHER]: All servers started. Exiting ...<br>[BTSD] Executing module 'ioapic:/system/devs/ioapic.d.static' with 0 params.<br>initing ... <br>[ioapic.d] Jari OS I/O APIC driver ...OK<br>OK<br>[BTSD] Executing module 'pci:/system/devs/pci.d.static' with 0 params.<br>
[pci.d] Jari OS PCI bus driver.<br>[BTSD] Executing module 'bdev:/system/serv/bdev.x.static' with 0 params.<br>[bdev.x] initing ... <br>[bdev.x] running ...<br>[bdev.x]: scanning ata interfaces<br>OK<br>[bdev.x]: Registering new storage 'ada'.<br><br>Thanks,<br>Shivpratap<br></p></div>
Dmitry Gromada | 7 Apr 22:45 2010

Re: JariOS hangs

Show me your '.config' file, please

On Wednesday 07 April 2010 23:51:55 shivpratap chauhan wrote:
> Hi All,
> 
> I built a new image and it hangs, even i waited for 30 min still it does
>  not show progress beyond [bdev.x]: Registering new storage 'ada'. This
>  issue seems from long back. Did any one get around with this?
> 
> 
> Serial logs:
> [spc <at> Python git]$ tail -f log.txt
> E820 memory map:
> BIOS-e820: 0x0000000000 - 0x000009f000 (usable)
> BIOS-e820: 0x000009f000 - 0x00000a0000 (reserved)
> BIOS-e820: 0x00000e8000 - 0x0000100000 (reserved)
> BIOS-e820: 0x0000100000 - 0x0007ff0000 (usable)
> BIOS-e820: 0x0007ff0000 - 0x0008000000 (ACPI reclaimable)
> BIOS-e820: 0x00fffbc000 - 0x00fffc0000 (reserved)
> BIOS-e820: 0x00fffc0000 - 0x0100000000 (reserved)
> [INFO] Available RAM: 127Mb
> [INFO] Kernel size: 412K
> [INFO] Services size: 7595K
> [DEBUG] Verifying Identity mapping...     [OK]
> [DEBUG] Verifying Kernel mapping...       [OK]
> [INFO] Page frames array size: 2304K
> [MM] Pool "Lowmem" initialized TLSF O(1) allocator
> 
> [MM] Pages statistics of pool "Lowmem":
>  | Total    Free     Reserved |
>  | 32752    29844    2908     |
> 
> [MM] All pages were successfully remapped.
> [DBG] Validating memory pools... [OK]
> LAPIC ID = 0, version = 17, lvts = 5
> DEFAULT CONTROLLER: Local APIC
> [MM] Initializing slab allocator
>  Cache "slab_t" (size=32) was successfully initialized
>  Cache "memcache_t" (size=224) was successfully initialized
> [MM] Initializing memory objects subsystem...
> [MM] Initializing VMM subsystem...
> [MM] Reverse mapping system successfully initialized
> Registering scheduler: 'Eza default scheduler' (CPUs supported: 2)
> SEND INIT IPI TO CPU 1, cpuid=1
> CPU#1 Hello folks! I'm here
> online!
> [LAUNCHER] Starting 6 servers with delay 500. First user (non-NS) PID is 7
> [LAUNCHER] Starting server: /boot/initrd
> [LAUNCHER] Starting server: /system/serv/nsv2.x.static
> CPU #1 is entering idle loop. Current task: 0xffffffff87b99000, CPU: 1,
> ATOM: 0
> CPU #0 is entering idle loop. Current task: 0xffffffff87b91000, CPU ID: 0
> [LAUNCHER] Starting server: /system/serv/vfsv2.x.static
> [LAUNCHER] Starting server: /system/fs/init.fs.static
> [LAUNCHER] Starting server: /system/serv/procmgr.x.static
> [ProcMgr] Starting with PID = 9
> [LAUNCHER] Starting server: /system/serv/btsdv2.x.static
> [btsdv2] starting ...
> [btsdv2] going first stage (initrd).
> [BDSMv2] conf_path=/etc/init.grub.scm
> [BTSD] Executing module 'deviofs:/system/fs/devio.fs.static' with 0 params.
> [LAUNCHER]: All servers started. Exiting ...
> [BTSD] Executing module 'ioapic:/system/devs/ioapic.d.static' with 0
>  params. initing ...
> [ioapic.d] Jari OS I/O APIC driver ...OK
> OK
> [BTSD] Executing module 'pci:/system/devs/pci.d.static' with 0 params.
> [pci.d] Jari OS PCI bus driver.
> [BTSD] Executing module 'bdev:/system/serv/bdev.x.static' with 0 params.
> [bdev.x] initing ...
> [bdev.x] running ...
> [bdev.x]: scanning ata interfaces
> OK
> [bdev.x]: Registering new storage 'ada'.
> 
> Thanks,
> Shivpratap
> 
shivpratap chauhan | 8 Apr 05:30 2010
Picon

Re: JariOS hangs

Pls see below for mustring .config file and attached .config file for core_servers.

##############File: .config ####################
#
# Automatically generated make config: don't edit
# MuString kernel version: KERNELVERSION
# Thu Apr  8 06:23:20 2010
#
CONFIG_AMD64=y
CONFIG_ARCH="amd64"

#
# AMD64 processor features
#
CONFIG_APIC=y
CONFIG_SMP=y
CONFIG_NRCPUS=2
CONFIG_GENARCH_MM=y
CONFIG_EMU=y

#
# Memory manager
#
CONFIG_KCORE_STACK_PAGES=2
CONFIG_TLSF=y
# CONFIG_DEBUG_PTABLE is not set

#
# Common MuString settings
#
CONFIG_MAX_SRV_MBS=16
CONFIG_ALWAYS_INLINE=y
# CONFIG_CORESERVERS_PERCPU_LAUNCH is not set
CONFIG_CORESERVERS_LAUNCH_DELAY=500

#
# Task settings
#
CONFIG_AUTOREMOVE_ORPHANS=y

#
# Scheduler settings
#
# CONFIG_TRACE_CURRENT is not set
CONFIG_THREADS_PER_PROCESS=64

#
# Realtime timers
#
# CONFIG_TIMER_RBTREE is not set
CONFIG_TIMER_GRANULARITY=32
CONFIG_CACHED_MAJOR_TICKS=16
CONFIG_MIN_CACHED_MAJOR_TICKS=4
CONFIG_MAX_DEFERRED_IRQ_ACTIONS_PER_TICK=32
CONFIG_MAX_DEFERRED_USERSPACE_ACTIONS=2

#
# Kernel consoles
#
# CONFIG_DEFCONS_VGA is not set
CONFIG_DEFCONS_SERIAL=y
# CONFIG_FAULTCONS_VGA is not set
CONFIG_FAULTCONS_SERIAL=y

#
# Fault processing
#
# CONFIG_SEND_SIGSEGV_ON_FAULTS is not set

#
# Debug options
#
CONFIG_DEBUG=y
CONFIG_DEBUG_MM=y
# CONFIG_DUMP_VMM_ON_FAULT is not set
CONFIG_DEBUG_SLAB=y
# CONFIG_DEBUG_SLAB_MARK_PAGES is not set
# CONFIG_DEBUG_SLAB_OBJGUARDS is not set
# CONFIG_DEBUG_TIMERS is not set
# CONFIG_DEBUG_SIGNALS is not set
# CONFIG_DEBUG_IRQ_ACTIVITY is not set
# CONFIG_DUMP_USPACE_STACK is not set
CONFIG_NUM_STACKWORDS=5
# CONFIG_TRACE_ERRORS is not set
# CONFIG_TRACE_SYSCALL_ACTIVITY is not set

#
# IPC settings
#
CONFIG_IPC_DEFAULT_CHANNELS=128
CONFIG_IPC_DEFAULT_PORTS=32


####################END#############################

On Thu, Apr 8, 2010 at 2:15 AM, Dmitry Gromada <gromada <at> jarios.org> wrote:
Show me your '.config' file, please

On Wednesday 07 April 2010 23:51:55 shivpratap chauhan wrote:
> Hi All,
>
> I built a new image and it hangs, even i waited for 30 min still it does
>  not show progress beyond [bdev.x]: Registering new storage 'ada'. This
>  issue seems from long back. Did any one get around with this?
>
>
> Serial logs:
> [spc <at> Python git]$ tail -f log.txt
> E820 memory map:
> BIOS-e820: 0x0000000000 - 0x000009f000 (usable)
> BIOS-e820: 0x000009f000 - 0x00000a0000 (reserved)
> BIOS-e820: 0x00000e8000 - 0x0000100000 (reserved)
> BIOS-e820: 0x0000100000 - 0x0007ff0000 (usable)
> BIOS-e820: 0x0007ff0000 - 0x0008000000 (ACPI reclaimable)
> BIOS-e820: 0x00fffbc000 - 0x00fffc0000 (reserved)
> BIOS-e820: 0x00fffc0000 - 0x0100000000 (reserved)
> [INFO] Available RAM: 127Mb
> [INFO] Kernel size: 412K
> [INFO] Services size: 7595K
> [DEBUG] Verifying Identity mapping...     [OK]
> [DEBUG] Verifying Kernel mapping...       [OK]
> [INFO] Page frames array size: 2304K
> [MM] Pool "Lowmem" initialized TLSF O(1) allocator
>
> [MM] Pages statistics of pool "Lowmem":
>  | Total    Free     Reserved |
>  | 32752    29844    2908     |
>
> [MM] All pages were successfully remapped.
> [DBG] Validating memory pools... [OK]
> LAPIC ID = 0, version = 17, lvts = 5
> DEFAULT CONTROLLER: Local APIC
> [MM] Initializing slab allocator
>  Cache "slab_t" (size=32) was successfully initialized
>  Cache "memcache_t" (size=224) was successfully initialized
> [MM] Initializing memory objects subsystem...
> [MM] Initializing VMM subsystem...
> [MM] Reverse mapping system successfully initialized
> Registering scheduler: 'Eza default scheduler' (CPUs supported: 2)
> SEND INIT IPI TO CPU 1, cpuid=1
> CPU#1 Hello folks! I'm here
> online!
> [LAUNCHER] Starting 6 servers with delay 500. First user (non-NS) PID is 7
> [LAUNCHER] Starting server: /boot/initrd
> [LAUNCHER] Starting server: /system/serv/nsv2.x.static
> CPU #1 is entering idle loop. Current task: 0xffffffff87b99000, CPU: 1,
> ATOM: 0
> CPU #0 is entering idle loop. Current task: 0xffffffff87b91000, CPU ID: 0
> [LAUNCHER] Starting server: /system/serv/vfsv2.x.static
> [LAUNCHER] Starting server: /system/fs/init.fs.static
> [LAUNCHER] Starting server: /system/serv/procmgr.x.static
> [ProcMgr] Starting with PID = 9
> [LAUNCHER] Starting server: /system/serv/btsdv2.x.static
> [btsdv2] starting ...
> [btsdv2] going first stage (initrd).
> [BDSMv2] conf_path=/etc/init.grub.scm
> [BTSD] Executing module 'deviofs:/system/fs/devio.fs.static' with 0 params.
> [LAUNCHER]: All servers started. Exiting ...
> [BTSD] Executing module 'ioapic:/system/devs/ioapic.d.static' with 0
>  params. initing ...
> [ioapic.d] Jari OS I/O APIC driver ...OK
> OK
> [BTSD] Executing module 'pci:/system/devs/pci.d.static' with 0 params.
> [pci.d] Jari OS PCI bus driver.
> [BTSD] Executing module 'bdev:/system/serv/bdev.x.static' with 0 params.
> [bdev.x] initing ...
> [bdev.x] running ...
> [bdev.x]: scanning ata interfaces
> OK
> [bdev.x]: Registering new storage 'ada'.
>
> Thanks,
> Shivpratap
>

Attachment (config): application/octet-stream, 5308 bytes
<div>
<p>Pls see below for mustring .config file and attached .config file for core_servers.<br><br>##############File: .config ####################<br>#<br># Automatically generated make config: don't edit<br># MuString kernel version: KERNELVERSION<br>
# Thu Apr&nbsp; 8 06:23:20 2010<br>#<br>CONFIG_AMD64=y<br>CONFIG_ARCH="amd64"<br><br>#<br># AMD64 processor features<br>#<br>CONFIG_APIC=y<br>CONFIG_SMP=y<br>CONFIG_NRCPUS=2<br>CONFIG_GENARCH_MM=y<br>CONFIG_EMU=y<br><br>#<br># Memory manager<br>#<br>CONFIG_KCORE_STACK_PAGES=2<br>CONFIG_TLSF=y<br># CONFIG_DEBUG_PTABLE is not set<br><br>#<br># Common MuString settings<br>#<br>CONFIG_MAX_SRV_MBS=16<br>CONFIG_ALWAYS_INLINE=y<br># CONFIG_CORESERVERS_PERCPU_LAUNCH is not set<br>
CONFIG_CORESERVERS_LAUNCH_DELAY=500<br><br>#<br># Task settings<br>#<br>CONFIG_AUTOREMOVE_ORPHANS=y<br><br>#<br># Scheduler settings<br>#<br># CONFIG_TRACE_CURRENT is not set<br>CONFIG_THREADS_PER_PROCESS=64<br><br>#<br># Realtime timers<br>
#<br># CONFIG_TIMER_RBTREE is not set<br>CONFIG_TIMER_GRANULARITY=32<br>CONFIG_CACHED_MAJOR_TICKS=16<br>CONFIG_MIN_CACHED_MAJOR_TICKS=4<br>CONFIG_MAX_DEFERRED_IRQ_ACTIONS_PER_TICK=32<br>CONFIG_MAX_DEFERRED_USERSPACE_ACTIONS=2<br><br>#<br># Kernel consoles<br>#<br># CONFIG_DEFCONS_VGA is not set<br>CONFIG_DEFCONS_SERIAL=y<br># CONFIG_FAULTCONS_VGA is not set<br>CONFIG_FAULTCONS_SERIAL=y<br><br>#<br># Fault processing<br>#<br># CONFIG_SEND_SIGSEGV_ON_FAULTS is not set<br><br>#<br># Debug options<br>#<br>CONFIG_DEBUG=y<br>CONFIG_DEBUG_MM=y<br># CONFIG_DUMP_VMM_ON_FAULT is not set<br>CONFIG_DEBUG_SLAB=y<br># CONFIG_DEBUG_SLAB_MARK_PAGES is not set<br># CONFIG_DEBUG_SLAB_OBJGUARDS is not set<br>
# CONFIG_DEBUG_TIMERS is not set<br># CONFIG_DEBUG_SIGNALS is not set<br># CONFIG_DEBUG_IRQ_ACTIVITY is not set<br># CONFIG_DUMP_USPACE_STACK is not set<br>CONFIG_NUM_STACKWORDS=5<br># CONFIG_TRACE_ERRORS is not set<br># CONFIG_TRACE_SYSCALL_ACTIVITY is not set<br><br>#<br># IPC settings<br>#<br>CONFIG_IPC_DEFAULT_CHANNELS=128<br>CONFIG_IPC_DEFAULT_PORTS=32<br><br><br>####################END#############################<br><br></p>
<div class="gmail_quote">On Thu, Apr 8, 2010 at 2:15 AM, Dmitry Gromada <span dir="ltr">&lt;<a href="mailto:gromada <at> jarios.org">gromada <at> jarios.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">Show me your '.config' file, please<br><div>
<div></div>
<div class="h5">
<br>
On Wednesday 07 April 2010 23:51:55 shivpratap chauhan wrote:<br>
&gt; Hi All,<br>
&gt;<br>
&gt; I built a new image and it hangs, even i waited for 30 min still it does<br>
&gt; &nbsp;not show progress beyond [bdev.x]: Registering new storage 'ada'. This<br>
&gt; &nbsp;issue seems from long back. Did any one get around with this?<br>
&gt;<br>
&gt;<br>
&gt; Serial logs:<br>
&gt; [spc <at> Python git]$ tail -f log.txt<br>
&gt; E820 memory map:<br>
&gt; BIOS-e820: 0x0000000000 - 0x000009f000 (usable)<br>
&gt; BIOS-e820: 0x000009f000 - 0x00000a0000 (reserved)<br>
&gt; BIOS-e820: 0x00000e8000 - 0x0000100000 (reserved)<br>
&gt; BIOS-e820: 0x0000100000 - 0x0007ff0000 (usable)<br>
&gt; BIOS-e820: 0x0007ff0000 - 0x0008000000 (ACPI reclaimable)<br>
&gt; BIOS-e820: 0x00fffbc000 - 0x00fffc0000 (reserved)<br>
&gt; BIOS-e820: 0x00fffc0000 - 0x0100000000 (reserved)<br>
&gt; [INFO] Available RAM: 127Mb<br>
&gt; [INFO] Kernel size: 412K<br>
&gt; [INFO] Services size: 7595K<br>
&gt; [DEBUG] Verifying Identity mapping... &nbsp; &nbsp; [OK]<br>
&gt; [DEBUG] Verifying Kernel mapping... &nbsp; &nbsp; &nbsp; [OK]<br>
&gt; [INFO] Page frames array size: 2304K<br>
&gt; [MM] Pool "Lowmem" initialized TLSF O(1) allocator<br>
&gt;<br>
&gt; [MM] Pages statistics of pool "Lowmem":<br>
&gt; &nbsp;| Total &nbsp; &nbsp;Free &nbsp; &nbsp; Reserved |<br>
&gt; &nbsp;| 32752 &nbsp; &nbsp;29844 &nbsp; &nbsp;2908 &nbsp; &nbsp; |<br>
&gt;<br>
&gt; [MM] All pages were successfully remapped.<br>
&gt; [DBG] Validating memory pools... [OK]<br>
&gt; LAPIC ID = 0, version = 17, lvts = 5<br>
&gt; DEFAULT CONTROLLER: Local APIC<br>
&gt; [MM] Initializing slab allocator<br>
&gt; &nbsp;Cache "slab_t" (size=32) was successfully initialized<br>
&gt; &nbsp;Cache "memcache_t" (size=224) was successfully initialized<br>
&gt; [MM] Initializing memory objects subsystem...<br>
&gt; [MM] Initializing VMM subsystem...<br>
&gt; [MM] Reverse mapping system successfully initialized<br>
&gt; Registering scheduler: 'Eza default scheduler' (CPUs supported: 2)<br>
&gt; SEND INIT IPI TO CPU 1, cpuid=1<br>
&gt; CPU#1 Hello folks! I'm here<br>
&gt; online!<br>
&gt; [LAUNCHER] Starting 6 servers with delay 500. First user (non-NS) PID is 7<br>
&gt; [LAUNCHER] Starting server: /boot/initrd<br>
&gt; [LAUNCHER] Starting server: /system/serv/nsv2.x.static<br>
&gt; CPU #1 is entering idle loop. Current task: 0xffffffff87b99000, CPU: 1,<br>
&gt; ATOM: 0<br>
&gt; CPU #0 is entering idle loop. Current task: 0xffffffff87b91000, CPU ID: 0<br>
&gt; [LAUNCHER] Starting server: /system/serv/vfsv2.x.static<br>
&gt; [LAUNCHER] Starting server: /system/fs/init.fs.static<br>
&gt; [LAUNCHER] Starting server: /system/serv/procmgr.x.static<br>
&gt; [ProcMgr] Starting with PID = 9<br>
&gt; [LAUNCHER] Starting server: /system/serv/btsdv2.x.static<br>
&gt; [btsdv2] starting ...<br>
&gt; [btsdv2] going first stage (initrd).<br>
&gt; [BDSMv2] conf_path=/etc/init.grub.scm<br>
&gt; [BTSD] Executing module 'deviofs:/system/fs/devio.fs.static' with 0 params.<br>
&gt; [LAUNCHER]: All servers started. Exiting ...<br>
&gt; [BTSD] Executing module 'ioapic:/system/devs/ioapic.d.static' with 0<br>
&gt; &nbsp;params. initing ...<br>
&gt; [ioapic.d] Jari OS I/O APIC driver ...OK<br>
&gt; OK<br>
&gt; [BTSD] Executing module 'pci:/system/devs/pci.d.static' with 0 params.<br>
&gt; [pci.d] Jari OS PCI bus driver.<br>
&gt; [BTSD] Executing module 'bdev:/system/serv/bdev.x.static' with 0 params.<br>
&gt; [bdev.x] initing ...<br>
&gt; [bdev.x] running ...<br>
&gt; [bdev.x]: scanning ata interfaces<br>
&gt; OK<br>
&gt; [bdev.x]: Registering new storage 'ada'.<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Shivpratap<br>
&gt;<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
Dmitry Gromada | 8 Apr 15:58 2010

Re: JariOS hangs

Try the following: type 'make menuconfig' for the uspace part,
follow 'Base system/Block device layer settings', disable the deadline
scheduler in the 'Block I/O schedulers' nested menu and disable 'Block I/O 
scheduling' at all. Sometimes similar problem appeared on hardware with read 
delay 1 ms for deadline scheduling and was caused by some troubles in timers. 
However, it hasn't appeared under an emulator. Or you can  do 'git pull', i 
set the delay to 2 ms. But now we usually don't use block scheduling because 
access to a block device from file systems is single threaded, and therefore 
using of this feature hasn't sense yet.

Another variant is possible, but at first try this.

On Thursday 08 April 2010 07:30:26 shivpratap chauhan wrote:
> Pls see below for mustring .config file and attached .config file for
> core_servers.
> 
> ##############File: .config ####################
> #
> # Automatically generated make config: don't edit
> # MuString kernel version: KERNELVERSION
> # Thu Apr  8 06:23:20 2010
> #
> CONFIG_AMD64=y
> CONFIG_ARCH="amd64"
> 
> #
> # AMD64 processor features
> #
> CONFIG_APIC=y
> CONFIG_SMP=y
> CONFIG_NRCPUS=2
> CONFIG_GENARCH_MM=y
> CONFIG_EMU=y
> 
> #
> # Memory manager
> #
> CONFIG_KCORE_STACK_PAGES=2
> CONFIG_TLSF=y
> # CONFIG_DEBUG_PTABLE is not set
> 
> #
> # Common MuString settings
> #
> CONFIG_MAX_SRV_MBS=16
> CONFIG_ALWAYS_INLINE=y
> # CONFIG_CORESERVERS_PERCPU_LAUNCH is not set
> CONFIG_CORESERVERS_LAUNCH_DELAY=500
> 
> #
> # Task settings
> #
> CONFIG_AUTOREMOVE_ORPHANS=y
> 
> #
> # Scheduler settings
> #
> # CONFIG_TRACE_CURRENT is not set
> CONFIG_THREADS_PER_PROCESS=64
> 
> #
> # Realtime timers
> #
> # CONFIG_TIMER_RBTREE is not set
> CONFIG_TIMER_GRANULARITY=32
> CONFIG_CACHED_MAJOR_TICKS=16
> CONFIG_MIN_CACHED_MAJOR_TICKS=4
> CONFIG_MAX_DEFERRED_IRQ_ACTIONS_PER_TICK=32
> CONFIG_MAX_DEFERRED_USERSPACE_ACTIONS=2
> 
> #
> # Kernel consoles
> #
> # CONFIG_DEFCONS_VGA is not set
> CONFIG_DEFCONS_SERIAL=y
> # CONFIG_FAULTCONS_VGA is not set
> CONFIG_FAULTCONS_SERIAL=y
> 
> #
> # Fault processing
> #
> # CONFIG_SEND_SIGSEGV_ON_FAULTS is not set
> 
> #
> # Debug options
> #
> CONFIG_DEBUG=y
> CONFIG_DEBUG_MM=y
> # CONFIG_DUMP_VMM_ON_FAULT is not set
> CONFIG_DEBUG_SLAB=y
> # CONFIG_DEBUG_SLAB_MARK_PAGES is not set
> # CONFIG_DEBUG_SLAB_OBJGUARDS is not set
> # CONFIG_DEBUG_TIMERS is not set
> # CONFIG_DEBUG_SIGNALS is not set
> # CONFIG_DEBUG_IRQ_ACTIVITY is not set
> # CONFIG_DUMP_USPACE_STACK is not set
> CONFIG_NUM_STACKWORDS=5
> # CONFIG_TRACE_ERRORS is not set
> # CONFIG_TRACE_SYSCALL_ACTIVITY is not set
> 
> #
> # IPC settings
> #
> CONFIG_IPC_DEFAULT_CHANNELS=128
> CONFIG_IPC_DEFAULT_PORTS=32
> 
> 
> ####################END#############################
> 
> On Thu, Apr 8, 2010 at 2:15 AM, Dmitry Gromada <gromada <at> jarios.org> wrote:
> > Show me your '.config' file, please
> >
> > On Wednesday 07 April 2010 23:51:55 shivpratap chauhan wrote:
> > > Hi All,
> > >
> > > I built a new image and it hangs, even i waited for 30 min still it
> > > does not show progress beyond [bdev.x]: Registering new storage 'ada'.
> > > This issue seems from long back. Did any one get around with this?
> > >
> > >
> > > Serial logs:
> > > [spc <at> Python git]$ tail -f log.txt
> > > E820 memory map:
> > > BIOS-e820: 0x0000000000 - 0x000009f000 (usable)
> > > BIOS-e820: 0x000009f000 - 0x00000a0000 (reserved)
> > > BIOS-e820: 0x00000e8000 - 0x0000100000 (reserved)
> > > BIOS-e820: 0x0000100000 - 0x0007ff0000 (usable)
> > > BIOS-e820: 0x0007ff0000 - 0x0008000000 (ACPI reclaimable)
> > > BIOS-e820: 0x00fffbc000 - 0x00fffc0000 (reserved)
> > > BIOS-e820: 0x00fffc0000 - 0x0100000000 (reserved)
> > > [INFO] Available RAM: 127Mb
> > > [INFO] Kernel size: 412K
> > > [INFO] Services size: 7595K
> > > [DEBUG] Verifying Identity mapping...     [OK]
> > > [DEBUG] Verifying Kernel mapping...       [OK]
> > > [INFO] Page frames array size: 2304K
> > > [MM] Pool "Lowmem" initialized TLSF O(1) allocator
> > >
> > > [MM] Pages statistics of pool "Lowmem":
> > >  | Total    Free     Reserved |
> > >  | 32752    29844    2908     |
> > >
> > > [MM] All pages were successfully remapped.
> > > [DBG] Validating memory pools... [OK]
> > > LAPIC ID = 0, version = 17, lvts = 5
> > > DEFAULT CONTROLLER: Local APIC
> > > [MM] Initializing slab allocator
> > >  Cache "slab_t" (size=32) was successfully initialized
> > >  Cache "memcache_t" (size=224) was successfully initialized
> > > [MM] Initializing memory objects subsystem...
> > > [MM] Initializing VMM subsystem...
> > > [MM] Reverse mapping system successfully initialized
> > > Registering scheduler: 'Eza default scheduler' (CPUs supported: 2)
> > > SEND INIT IPI TO CPU 1, cpuid=1
> > > CPU#1 Hello folks! I'm here
> > > online!
> > > [LAUNCHER] Starting 6 servers with delay 500. First user (non-NS) PID
> > > is
> >
> > 7
> >
> > > [LAUNCHER] Starting server: /boot/initrd
> > > [LAUNCHER] Starting server: /system/serv/nsv2.x.static
> > > CPU #1 is entering idle loop. Current task: 0xffffffff87b99000, CPU: 1,
> > > ATOM: 0
> > > CPU #0 is entering idle loop. Current task: 0xffffffff87b91000, CPU ID:
> > > 0 [LAUNCHER] Starting server: /system/serv/vfsv2.x.static
> > > [LAUNCHER] Starting server: /system/fs/init.fs.static
> > > [LAUNCHER] Starting server: /system/serv/procmgr.x.static
> > > [ProcMgr] Starting with PID = 9
> > > [LAUNCHER] Starting server: /system/serv/btsdv2.x.static
> > > [btsdv2] starting ...
> > > [btsdv2] going first stage (initrd).
> > > [BDSMv2] conf_path=/etc/init.grub.scm
> > > [BTSD] Executing module 'deviofs:/system/fs/devio.fs.static' with 0
> >
> > params.
> >
> > > [LAUNCHER]: All servers started. Exiting ...
> > > [BTSD] Executing module 'ioapic:/system/devs/ioapic.d.static' with 0
> > >  params. initing ...
> > > [ioapic.d] Jari OS I/O APIC driver ...OK
> > > OK
> > > [BTSD] Executing module 'pci:/system/devs/pci.d.static' with 0 params.
> > > [pci.d] Jari OS PCI bus driver.
> > > [BTSD] Executing module 'bdev:/system/serv/bdev.x.static' with 0
> > > params. [bdev.x] initing ...
> > > [bdev.x] running ...
> > > [bdev.x]: scanning ata interfaces
> > > OK
> > > [bdev.x]: Registering new storage 'ada'.
> > >
> > > Thanks,
> > > Shivpratap
> 

Best regards,
Dmitry Gromada

Gmane