Real-time kernels from the Ubuntu Studio Lucid repositories

Ralf ralf.mardorf at alice-dsl.net
Sat Oct 2 14:06:53 BST 2010


Hi :)

another trial to boot a kernel-rt on my machine.

spinymouse at ubuntu:/boot$ ls vmlinuz*
vmlinuz-2.6.31-10-rt
vmlinuz-2.6.31-11-rt
vmlinuz-2.6.32-23-preempt
vmlinuz-2.6.32-24-preempt
vmlinuz-2.6.32-25-preempt
vmlinuz-2.6.33-23-realtime
vmlinuz-2.6.33-29-realtime
vmlinuz-2.6.33.5-rt23
spinymouse at ubuntu:/boot$ ls initrd*
initrd.img-2.6.31-10-rt
initrd.img-2.6.31-11-rt
initrd.img-2.6.32-23-preempt
initrd.img-2.6.32-24-preempt
initrd.img-2.6.32-25-preempt
initrd.img-2.6.33-23-realtime
initrd.img-2.6.33-29-realtime

The kernel without initrd is a self build kernel-rt, build the same way
I build DEB packages for kernel-rt for 64 Studio based on Hardy. I don't
know why I didn't got the initrd for Ubuntu Studio Lucid.

I can boot all the preempt kernels. When I try to boot 2.6.31-10-rt I
get the message 'No such device' on startup. The entry for grub.cfg is
ok [1].

It's the same for 2.6.31-11-rt.

When I try to boot 2.6.23-realtime I get the message
'[...] ACPI: Expecting a [Reference] package element, found type 0'
only, followed by tty1.
For 2.6.33-29-realtime I get the message
'[...] ACPI: Expecting a [Reference] package element, found type 0
[...] ata1: softreset failed (device not ready)
[...] ata2: softreset failed (device not ready)
[...] ata3: softreset failed (device not ready)',
followed by tty1.

I've got 1 SATA DVD drive and 2 SATA hard disk drives. Could it be an
issue regarding to a PATA module, but a SATA module?

The self-build kernel ends in a kernel panic.
ASAP I'll build another kernel-rt myself and post all steps I do.

Cheers!

Ralf


[1]
I've got the influenza, so I might had a blackout and missed something,
because of this I attached my grub.cfg, a manually edited one:

spinymouse at ubuntu:~$ cat /usr/sbin/update-grub
#!/bin/sh -e
exec grub-mkconfig -o /boot/grub/grub.cfg_$(date +"%b-%d-%Y_%H-%M-%S")
"$@"
spinymouse at ubuntu:~$ ls /boot/grub/grub.cfg*
/boot/grub/grub.cfg  /boot/grub/grub.cfg_Oct-02-2010_12-22-37

I copied the entries for all Ubuntu Studio real-time kernels and
2.6.32-25-preempt from the latest auto-generated
grub.cfg_Oct-02-2010_12-22-37.

FWIW all kernel-rt for 64 Studio and Suse are self-build, the
kernel-multimedia are also kernel-rt, but from the 64 Studio
repositories. I can boot all those kernels, but I'm also unable to boot
kernel-rt from the Suse repositories and the self-build Suse needs a
Ctrl+Alt+Double-Backspace after startup, before it's ok. 
-------------- next part --------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  set saved_entry=${prev_saved_entry}
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z ${boot_once} ]; then
    saved_entry=${chosen}
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd1,11)'
search --no-floppy --fs-uuid --set 54b5bb8c-356a-4268-8592-e76aac7941a8
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
insmod ext2
set root='(hd1,11)'
search --no-floppy --fs-uuid --set 54b5bb8c-356a-4268-8592-e76aac7941a8
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
if [ ${recordfail} = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu Studio 10.04, Kernel 2.6.32-23-preempt' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod ext2
	set root='(hd1,11)'
	search --no-floppy --fs-uuid --set 54b5bb8c-356a-4268-8592-e76aac7941a8
	linux	/boot/vmlinuz-2.6.32-23-preempt root=UUID=54b5bb8c-356a-4268-8592-e76aac7941a8 ro   #quiet
	initrd	/boot/initrd.img-2.6.32-23-preempt
}
menuentry 'Ubuntu Studio 10.04, Kernel 2.6.32-24-preempt' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod ext2
	set root='(hd1,11)'
	search --no-floppy --fs-uuid --set 54b5bb8c-356a-4268-8592-e76aac7941a8
	linux	/boot/vmlinuz-2.6.32-24-preempt root=UUID=54b5bb8c-356a-4268-8592-e76aac7941a8 ro   #quiet
	initrd	/boot/initrd.img-2.6.32-24-preempt
}
menuentry 'Ubuntu Studio 10.04, Kernel 2.6.32-24-preempt (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod ext2
	set root='(hd1,11)'
	search --no-floppy --fs-uuid --set 54b5bb8c-356a-4268-8592-e76aac7941a8
	echo	'Loading Linux 2.6.32-24-preempt ...'
	linux	/boot/vmlinuz-2.6.32-24-preempt root=UUID=54b5bb8c-356a-4268-8592-e76aac7941a8 ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.32-24-preempt
}
menuentry 'Ubuntu, with Linux 2.6.32-25-preempt' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod ext2
	set root='(hd1,11)'
	search --no-floppy --fs-uuid --set 54b5bb8c-356a-4268-8592-e76aac7941a8
	linux	/boot/vmlinuz-2.6.32-25-preempt root=UUID=54b5bb8c-356a-4268-8592-e76aac7941a8 ro   quiet splash
	initrd	/boot/initrd.img-2.6.32-25-preempt
}
menuentry 'Ubuntu, with Linux 2.6.33.5-rt23' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod ext2
	set root='(hd1,11)'
	search --no-floppy --fs-uuid --set 54b5bb8c-356a-4268-8592-e76aac7941a8
	linux	/boot/vmlinuz-2.6.33.5-rt23 root=/dev/sdb11 ro   quiet splash
}
menuentry 'Ubuntu, with Linux 2.6.33-29-realtime' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod ext2
	set root='(hd1,11)'
	search --no-floppy --fs-uuid --set 54b5bb8c-356a-4268-8592-e76aac7941a8
	linux	/boot/vmlinuz-2.6.33-29-realtime root=UUID=54b5bb8c-356a-4268-8592-e76aac7941a8 ro   quiet splash
	initrd	/boot/initrd.img-2.6.33-29-realtime
}
menuentry 'Ubuntu, with Linux 2.6.33-23-realtime' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod ext2
	set root='(hd1,11)'
	search --no-floppy --fs-uuid --set 54b5bb8c-356a-4268-8592-e76aac7941a8
	linux	/boot/vmlinuz-2.6.33-23-realtime root=UUID=54b5bb8c-356a-4268-8592-e76aac7941a8 ro   quiet splash
	initrd	/boot/initrd.img-2.6.33-23-realtime
}
menuentry 'Ubuntu, with Linux 2.6.31-11-rt' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod ext2
	set root='(hd1,11)'
	search --no-floppy --fs-uuid --set 54b5bb8c-356a-4268-8592-e76aac7941a8
	linux	/boot/vmlinuz-2.6.31-11-rt root=UUID=54b5bb8c-356a-4268-8592-e76aac7941a8 ro   quiet splash
	initrd	/boot/initrd.img-2.6.31-11-rt
}
menuentry 'Ubuntu, with Linux 2.6.31-10-rt' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod ext2
	set root='(hd1,11)'
	search --no-floppy --fs-uuid --set 54b5bb8c-356a-4268-8592-e76aac7941a8
	linux	/boot/vmlinuz-2.6.31-10-rt root=UUID=54b5bb8c-356a-4268-8592-e76aac7941a8 ro   quiet splash
	initrd	/boot/initrd.img-2.6.31-10-rt
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod ext2
	set root='(hd1,11)'
	search --no-floppy --fs-uuid --set 54b5bb8c-356a-4268-8592-e76aac7941a8
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod ext2
	set root='(hd1,11)'
	search --no-floppy --fs-uuid --set 54b5bb8c-356a-4268-8592-e76aac7941a8
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "openSUSE 11.2,       Kernel 2.6.31.6-rt19" {
	insmod ext2
	set root='(hd0,7)'
	#search --no-floppy --fs-uuid --set e14edd28-428e-4413-a43d-9e6cb473d2da
	linux /boot/vmlinuz-2.6.31.6-rt19 root=/dev/sda7
	initrd /boot/initrd-2.6.31.6-rt19
}
menuentry "64 Studio 3.3 alpha, Kernel 2.6.31-2-multimedia-amd64" {
	insmod ext2
	set root='(hd1,10)'
	#search --no-floppy --fs-uuid --set b8e38544-c17b-48a6-a289-e6839b9ebd04
	linux /boot/vmlinuz-2.6.31-2-multimedia-amd64 root=UUID=b8e38544-c17b-48a6-a289-e6839b9ebd04 ro quiet nosplash
	initrd /boot/initrd.img-2.6.31-2-multimedia-amd64
}
menuentry "64 Studio 3.0-beta3, kernel 2.6.31.12-rt20" {
	insmod ext2
	set root='(hd1,6)'
	linux /boot/vmlinuz-2.6.31.12-rt20 root=UUID=b6b8ea6f-1626-45e3-9c6a-fa94cae8987d ro quiet nosplash
	initrd /boot/initrd.img-2.6.31.12-rt20
}
menuentry "64 Studio 3.0-beta3, kernel 2.6.31.6-rt19" {
	insmod ext2
	set root='(hd1,6)'
	#search --no-floppy --fs-uuid --set e14edd28-428e-4413-a43d-9e6cb473d2da
	linux /boot/vmlinuz-2.6.31.6-rt19 root=UUID=b6b8ea6f-1626-45e3-9c6a-fa94cae8987d ro quiet nosplash
	initrd (hd1,6)/boot/initrd.img-2.6.31.6-rt19
}
menuentry "64 Studio 3.0-beta3, kernel 2.6.31.5-rt18" {
	insmod ext2
	set root='(hd1,6)'
	linux /boot/vmlinuz-2.6.31.5-rt18 root=UUID=b6b8ea6f-1626-45e3-9c6a-fa94cae8987d ro quiet nosplash
	initrd /boot/initrd.img-2.6.31.5-rt18
}
menuentry "64 Studio 3.0-beta3, kernel 2.6.29-1-multimedia-amd64" {
	insmod ext2
	set root='(hd1,6)'
	#search --no-floppy --fs-uuid --set b6b8ea6f-1626-45e3-9c6a-fa94cae8987d
	linux /boot/vmlinuz-2.6.29-1-multimedia-amd64 root=UUID=b6b8ea6f-1626-45e3-9c6a-fa94cae8987d ro quiet nosplash
	initrd /boot/initrd.img-2.6.29-1-multimedia-amd64
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###


More information about the Ubuntu-Studio-users mailing list