Re: Real time for Ubuntu Studio 10.04 amd64

2010-07-14 Thread Ralf Mardorf
On Tue, 2010-07-13 at 01:32 +0400, Oleg Ivanenko wrote:
 2010/7/13 Pablo pablo.f...@gmail.com
 
 
  One more significant(for me) reason for still using 2.6.31,
 except
  nvidia-problem,  is that I find out that command ps output
 was somehow
  changed in subsequent kernels, so steps starts from 3
  from http://subversion.ffado.org/wiki/IrqPriorities is not
 working.
 
 
 
 Hi Oleg,
 
 Just an idea. I use htop to see the processes and kernel
 threads'
 priorities.
 
 sudo apt-get install htop terminator
 
 I run htop in terminator because it uses the F10 to save
 configuration
 changes and gnome-terminal uses F10 to show the menus.
 
 F2 - Display Options: Disable Hide kernel threads - F10
 F6 - Sort by: PRI
 
 Hi, Pablo!
 
 
 Thanks for pointing, I will try this way.
 
 -- 
 Truly yours, Oleg Ivanenko aka Ash
 [if it wasn't so sad, it would be funny]

I also prefer htop, but atop also has some advantages.


-- 
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: Real time for Ubuntu Studio 10.04 amd64

2010-07-14 Thread Ralf Mardorf
Hi Oleg :) hi Brian :)

On Mon, 2010-07-12 at 11:45 -0500, Brian David wrote:

 This is one of the kernels that stops booting with the
 message 'mount:
 mounting none on /dev failed: No such device.'
 
 
 
 I have such message too but it is not stops booting and not
 affects my work. I have no idea what is this exactly :)
  
 
 
 This message will pop up, and the cursor will blink for some time, but
 the computer should start up if you wait long enough.  At least, this
 is how my computer works with the current -rt kernel.
 
 I don't know what the actual message means, though.

Aha, it might be some of that esoteric issues :D.

For my self build kernel 2.6.31.6-rt19 on Suse 11.2 I need to wait
around 10 seconds when GDM appeared, I also could log in, but than the
screen will freeze and I need to push

Ctrl + alt + double-backspace

yes, I need to push backspace two times and log in (again), then
everything is ok.

- Ralf


-- 
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: Real time for Ubuntu Studio 10.04 amd64

2010-07-12 Thread Ralf Mardorf
Hi Ken :)

On Sun, 2010-07-11 at 23:02 -0500, Kenneth Koym wrote:
 Ralf, Keep making these type postings; we need your expertise and
 questions! Ken
 
 On Sun, Jul 11, 2010 at 8:29 PM, Ralf Mardorf
 ralf.mard...@alice-dsl.net wrote:
 Hi :)
 
 I'm new to the list. Regarding to hw MIDI jitter, I'm testing
 and
 comparing several Linux setups.
 
 Here is a rough summary of my latest thread on LAD.

What's bad with this posting? This is my question:

 I wonder what I need to do, to get a kernel-rt for
 Ubuntustudio 10.04?

In other words, I couldn't boot a kernel-rt, but to do real time audio
work, I need a kernel-rt. My question is about hints, what might be
going wrong and how to solve it.


Here are some details about my machine:

Mobo M2A-VM HDMI
AMD Athlon(tm) X2 Dual Core Processor BE-2350
RAM 2 GB
Graphics NVIDIA 7200 GS
Sound cards 2x Terratec EWX 24/96

This is the reason why I need a kernel-rt:

 
 
 Ubuntu Studio 10.04 amd64
 $ uname -a
 Linux ubuntu 2.6.32-23-preempt #37-Ubuntu SMP PREEMPT Fri Jun
 11
 10:19:07 UTC 2010 x86_64 GNU/Linux
 
 $ alsa-midi-latency-test -Rrw=2 -o20:0 -i20:0
  alsa-midi-latency-test 0.0.3
  set_realtime_priority(SCHED_FIFO, 99).. done.
  clock resolution: 0.1 s
  SUCCESS
 
  best latency was 1.00 ms
  worst latency was 3.36 ms, which is great.
 
 3.36 ms isn't great, but unusable to make music.
 
 
 
 openSUSE 11.2 amd64
  uname -a
 Linux suse11-2 2.6.31.6-rt19 #1 SMP PREEMPT RT Wed Nov 18
 16:59:26 CET
 2009 x86_64 x86_64 x86_64 GNU/Linux
 
  alsa-midi-latency-test -Rrw=2 -o16:0 -i16:0
  alsa-midi-latency-test 0.0.3
  set_realtime_priority(SCHED_FIFO, 99).. done.
  clock resolution: 0.1 s
  SUCCESS
 
  best latency was 0.99 ms
  worst latency was 1.05 ms, which is great.
 
 
 
 
 PREEMPT vs PREEMPT RT and of course frequency scaling for an
 audio
 distro should be at performance by default, anyway, the
 frequency
 scaling isn't a big deal.

This is about the issues when I try to boot the kernel-rt from the
repositories  resp. the messages I get instead of a desktop session:

 I tried to boot the kernel-rt from the Ubuntu repositories and
 I tried
 to build a kernel-rt myself.
 
 If I try to boot kernel 2.6.31-11-rt or kernel 2.6.31-10-rt
 from the
 repositories I get
 'mount: mounting none on /dev failed: No such device.'
 Regading to the
 web this might be, because of CONFIG_DEVTMPFS.
 
 # cat config-2.6.31-11-rt | grep CONFIG_DEVTMPFS
 # cat config-2.6.32-23-preempt | grep CONFIG_DEVTMPFS
 CONFIG_DEVTMPFS=y
 CONFIG_DEVTMPFS_MOUNT=y
 
 When I try to boot kernel 2.6.33-23-realtime from the
 repository I get
 'ACPI: Expecting a [Reference] package element, found type 0'.

I also tried to build a kernel-rt without succes:

 At least this three kernel-rt from the repositories come with
 an initrd.
 The kernel I tried to build the way I usually build kernels
 for Ubuntu
 with success, is missing an initrd.
 
 $ cd /usr/src
 $ sudo synaptic
  I checked if those packages were installed:
  bin86
  build-essential
  bzip2
  fakeroot
  gcc
  kernel-package
  make
  libncurses5-dev
 $ wget
 ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.33.5.tar.bz2
 $ wget
 
 http://www.kernel.org/pub/linux/kernel/projects/rt/patch-2.6.33.5-rt23.bz2
 $ tar xvjf linux-2.6.33.5.tar.bz2
 $ rm linux-2.6.33.5.tar.bz2
 $ mv linux-2.6.33.5 linux-2.6.33.5-rt23
 $ ln -s linux-2.6.33.5-rt23 linux
 $ cd linux
 $ bunzip2 ../patch-2.6.33.5-rt23.bz2
 $ patch -p1  ../patch-2.6.33.5-rt23
 $ rm ../patch-2.6.33.5-rt23
 $ cp /boot/config-2.6.32-23-preempt .config
 $ make oldconfig
  81 x Enter
 $ make menuconfig
  Edited from Generic-x86-64 to Opteron/Athlon64/Hammer/K8
  Save an Alternate Configuration File
 $ make oldconfig
  Nothing to do
 $ make-kpkg clean
 $ export CONCURRENCY_LEVEL=2
  This didn't work:
  $ make-kpkg --rootcmd fakeroot --initrd kernel-image
 kernel-headers
 kernel-source
 

Re: Real time for Ubuntu Studio 10.04 amd64

2010-07-12 Thread Oleg Ivanenko
2010/7/12 Ralf Mardorf ralf.mard...@alice-dsl.net


 What's bad with this posting? This is my question:

  I wonder what I need to do, to get a kernel-rt for
  Ubuntustudio 10.04?


Hi, Ralf!

Check this link http://ubuntustudio.org/LucidLynx and find phrases 
https://launchpad.net/~abogani/+archive/ppa; and realtime kernel will be
available in Ubuntu Studio PPA in the text. May be this info will help you.

Personally I have installed(default Ubunto Studio meta-package linux-rt):
linux-image-2.6.31-11-rt
Linux kernel image for version 2.6.31 on Ingo Molnar's full real time
preemption patch


-- 
Truly yours, Oleg Ivanenko aka Ash
[if it wasn't so sad, it would be funny]
-- 
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: Real time for Ubuntu Studio 10.04 amd64

2010-07-12 Thread Oleg Ivanenko
Hi, Ralf!

2010/7/12 Ralf Mardorf ralf.mard...@alice-dsl.net

 Thank you, unfortunately 2.6.33-23-realtime amd64 results with 'ACPI:
 Expecting a [Reference] package element, found type 0' and a login for
 text mode. FWIW I didn't log in and tested to start x or gdm.

  Personally I have installed(default Ubunto Studio meta-package
  linux-rt):
  linux-image-2.6.31-11-rt
  Linux kernel image for version 2.6.31 on Ingo Molnar's full real time
  preemption patch

 This is one of the kernels that stops booting with the message 'mount:
 mounting none on /dev failed: No such device.'


I have such message too but it is not stops booting and not affects my work.
I have no idea what is this exactly :)



 Is your machine an AMD dual core too and is the architecture of your 64
 Studio also amd64, but x86?


I have machine with x86.



 Perhaps it has to do with the NVIDIA graphics? Perhaps I should generate
 a xorg.conf by running 'sudo X -configure' and test the vesa driver. I
 dunno.


Yes, I have NVIDIA videocard and it is the reason why I still use 2.6.31
kernel -- it still works with this kernel.


 The eye-catching thing regarding to 'mount: mounting none on /dev
 failed: No such device.' is

 # cat config-2.6.31-11-rt | grep CONFIG_DEVTMPFS
 # cat config-2.6.32-23-preempt | grep CONFIG_DEVTMPFS
 CONFIG_DEVTMPFS=y
 CONFIG_DEVTMPFS_MOUNT=y

 that there's no output for 2.6.31-11-rt.


May be this is a good point. But I don't dig with it, just stop to use new
kernels temporarily and still using 2.6.31-rt

One more significant(for me) reason for still using 2.6.31, except
nvidia-problem,  is that I find out that command ps output was somehow
changed in subsequent kernels, so steps starts from 3 from
http://subversion.ffado.org/wiki/IrqPriorities is not working.


-- 
Truly yours, Oleg Ivanenko aka Ash
[if it wasn't so sad, it would be funny]
-- 
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: Real time for Ubuntu Studio 10.04 amd64

2010-07-12 Thread Brian David
On Mon, Jul 12, 2010 at 7:04 AM, Oleg Ivanenko oivane...@gmail.com wrote:

 Hi, Ralf!

 2010/7/12 Ralf Mardorf ralf.mard...@alice-dsl.net

 Thank you, unfortunately 2.6.33-23-realtime amd64 results with 'ACPI:

 Expecting a [Reference] package element, found type 0' and a login for
 text mode. FWIW I didn't log in and tested to start x or gdm.

  Personally I have installed(default Ubunto Studio meta-package
  linux-rt):
  linux-image-2.6.31-11-rt
  Linux kernel image for version 2.6.31 on Ingo Molnar's full real time
  preemption patch

 This is one of the kernels that stops booting with the message 'mount:
 mounting none on /dev failed: No such device.'


 I have such message too but it is not stops booting and not affects my
 work. I have no idea what is this exactly :)



This message will pop up, and the cursor will blink for some time, but the
computer should start up if you wait long enough.  At least, this is how my
computer works with the current -rt kernel.

I don't know what the actual message means, though.

-- 
-Brian David
-- 
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: Real time for Ubuntu Studio 10.04 amd64

2010-07-12 Thread Pablo


 One more significant(for me) reason for still using 2.6.31, except 
 nvidia-problem,  is that I find out that command ps output was somehow 
 changed in subsequent kernels, so steps starts from 3 
 from http://subversion.ffado.org/wiki/IrqPriorities is not working.


Hi Oleg,

Just an idea. I use htop to see the processes and kernel threads' 
priorities.

sudo apt-get install htop terminator

I run htop in terminator because it uses the F10 to save configuration 
changes and gnome-terminal uses F10 to show the menus.

F2 - Display Options: Disable Hide kernel threads - F10
F6 - Sort by: PRI

Cheers! Pablo



-- 
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: Real time for Ubuntu Studio 10.04 amd64

2010-07-12 Thread Oleg Ivanenko
2010/7/13 Pablo pablo.f...@gmail.com


 
  One more significant(for me) reason for still using 2.6.31, except
  nvidia-problem,  is that I find out that command ps output was somehow
  changed in subsequent kernels, so steps starts from 3
  from http://subversion.ffado.org/wiki/IrqPriorities is not working.
 

 Hi Oleg,

 Just an idea. I use htop to see the processes and kernel threads'
 priorities.

 sudo apt-get install htop terminator

 I run htop in terminator because it uses the F10 to save configuration
 changes and gnome-terminal uses F10 to show the menus.

 F2 - Display Options: Disable Hide kernel threads - F10
 F6 - Sort by: PRI

 Hi, Pablo!

Thanks for pointing, I will try this way.

-- 
Truly yours, Oleg Ivanenko aka Ash
[if it wasn't so sad, it would be funny]
-- 
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users