how to build your own ubuntu rt-kernel?

What other apps and distros do you use to round out your studio?

Moderators: MattKingUSA, khz

studio32

how to build your own ubuntu rt-kernel?

Post by studio32 »

Hi,

How can I build my own Ubuntu rt kernel?
User avatar
raboof
Established Member
Posts: 1855
Joined: Tue Apr 08, 2008 11:58 am
Location: Deventer, NL
Has thanked: 50 times
Been thanked: 74 times
Contact:

Re: how to build your own ubuntu rt-kernel?

Post by raboof »

studio32

Re: how to build your own ubuntu rt-kernel?

Post by studio32 »

*I don t know why I posted this thread not in system configuration...


After building a Ubuntu kernel, should I also build the Linux-Restricted-Modules?

should I do something with realtime-lsm? http://packages.ubuntu.com/hardy/realtime-lsm-source
studio32

Re: how to build your own ubuntu rt-kernel?

Post by studio32 »

I tried to build 24.4-rt , it went ok, but guess what? After booting no soundcard, wtf!

What could this be?

edit: where can I find the boot messages? how do I turn this on (to get a file somewhere?)
ntnunk
Established Member
Posts: 71
Joined: Sat Nov 29, 2008 7:19 am
Location: Cary, NC

Re: how to build your own ubuntu rt-kernel?

Post by ntnunk »

Just because I'm curious, why are you building your own kernel?

I used to do this all the time a few years ago, back when the kernel modules weren't quite a reliable as they are now and you usually had to build your own kernels if you wanted all your hardware to work. These days the modular kernels seem to pretty much just work so it seems like custom compiling a kernel isn't worth the effort. I haven't had to compile a kernel in quite a while.
studio32

Re: how to build your own ubuntu rt-kernel?

Post by studio32 »

ntnunk wrote:Just because I'm curious, why are you building your own kernel?

I used to do this all the time a few years ago, back when the kernel modules weren't quite a reliable as they are now and you usually had to build your own kernels if you wanted all your hardware to work. These days the modular kernels seem to pretty much just work so it seems like custom compiling a kernel isn't worth the effort. I haven't had to compile a kernel in quite a while.
Your reply doesn't solve my problem.... ;) but I do this to learn... I want to be able to build my own rt kernel!

Someone which can help me with this?
thorgal
Established Member
Posts: 739
Joined: Mon Apr 07, 2008 6:04 pm

Re: how to build your own ubuntu rt-kernel?

Post by thorgal »

studio32 wrote:I tried to build 24.4-rt , it went ok, but guess what? After booting no soundcard, wtf!

What could this be?

edit: where can I find the boot messages? how do I turn this on (to get a file somewhere?)
in a terminal, type

Code: Select all

dmesg
or inspect stuff in /var/log
most system logs are in there (syslog, message, etc)
There's a file called boot. It will be empty if bootlog is not on. To turn this on, change the file /etc/default/bootlogd (replace option with yes) and reboot

about your kernel config, have you turned on ALSA and PCI card option for your card ?

in terminal, type

Code: Select all

sudo modinfo snd-ice1712
as I presume that's the driver you need (Delta card).
if the module does exists, then test it :

Code: Select all

# load the module
sudo modprobe snd-ice1712

# check if something shows up  
cat /proc/asound/cards

# start the h/w mixer
envy24control
studio32

Re: how to build your own ubuntu rt-kernel?

Post by studio32 »

Code: Select all

$ dmesg
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.24.4-rt4-jack-desktop-i386 (jack@jack-desktop) (gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)) #1 SMP PREEMPT RT Tue Dec 2 13:48:30 CET 2008
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
[    0.000000]  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 000000004ff74000 (usable)
[    0.000000]  BIOS-e820: 000000004ff74000 - 000000004ff76000 (ACPI NVS)
[    0.000000]  BIOS-e820: 000000004ff76000 - 000000004ff97000 (ACPI data)
[    0.000000]  BIOS-e820: 000000004ff97000 - 0000000050000000 (reserved)
[    0.000000]  BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
[    0.000000]  BIOS-e820: 00000000fecf0000 - 00000000fecf1000 (reserved)
[    0.000000]  BIOS-e820: 00000000fed20000 - 00000000fed90000 (reserved)
[    0.000000]  BIOS-e820: 00000000fee00000 - 00000000fee10000 (reserved)
[    0.000000]  BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
[    0.000000] 383MB HIGHMEM available.
[    0.000000] 896MB LOWMEM available.
[    0.000000] found SMP MP-table at 000fe710
[    0.000000] Entering add_active_range(0, 0, 327540) 0 entries of 256 used
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA             0 ->     4096
[    0.000000]   Normal       4096 ->   229376
[    0.000000]   HighMem    229376 ->   327540
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0:        0 ->   327540
[    0.000000] On node 0 totalpages: 327540
[    0.000000]   DMA zone: 56 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 4040 pages, LIFO batch:0
[    0.000000]   Normal zone: 3080 pages used for memmap
[    0.000000]   Normal zone: 222200 pages, LIFO batch:31
[    0.000000]   HighMem zone: 1342 pages used for memmap
[    0.000000]   HighMem zone: 96822 pages, LIFO batch:31
[    0.000000]   Movable zone: 0 pages used for memmap
[    0.000000] DMI 2.3 present.
[    0.000000] ACPI: RSDP 000FEB90, 0014 (r0 DELL  )
[    0.000000] ACPI: RSDT 000FD164, 0038 (r1 DELL    WS 360         8 ASL        61)
[    0.000000] ACPI: FACP 000FD19C, 0074 (r1 DELL    WS 360         8 ASL        61)
[    0.000000] ACPI: DSDT FFFC669B, 26B6 (r1   DELL    dt_ex     1000 MSFT  100000D)
[    0.000000] ACPI: FACS 4FF74000, 0040
[    0.000000] ACPI: SSDT FFFC8D51, 00A7 (r1   DELL    st_ex     1000 MSFT  100000D)
[    0.000000] ACPI: APIC 000FD210, 006C (r1 DELL    WS 360         8 ASL        61)
[    0.000000] ACPI: BOOT 000FD27C, 0028 (r1 DELL    WS 360         8 ASL        61)
[    0.000000] ACPI: ASF! 000FD2A4, 0067 (r16 DELL    WS 360         8 ASL        61)
[    0.000000] ACPI: PM-Timer IO Port: 0x808
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
[    0.000000] Processor #0 15:2 APIC version 20
[    0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x01] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] disabled)
[    0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
[    0.000000] IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: IRQ0 used by override.
[    0.000000] ACPI: IRQ2 used by override.
[    0.000000] ACPI: IRQ9 used by override.
[    0.000000] Enabling APIC mode:  Flat.  Using 1 I/O APICs
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] Allocating PCI resources starting at 60000000 (gap: 50000000:aec00000)
[    0.000000] swsusp: Registered nosave memory region: 00000000000a0000 - 00000000000f0000
[    0.000000] swsusp: Registered nosave memory region: 00000000000f0000 - 0000000000100000
[    0.000000] Real-Time Preemption Support (C) 2004-2007 Ingo Molnar
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 323062
[    0.000000] Kernel command line: root=/dev/sda7 ro quiet splash
[    0.000000] mapped APIC to ffffb000 (fee00000)
[    0.000000] mapped IOAPIC to ffffa000 (fec00000)
[    0.000000] Enabling fast FPU save and restore... done.
[    0.000000] Enabling unmasked SIMD FPU exception support... done.
[    0.000000] Initializing CPU#0
[    0.000000] PID hash table entries: 4096 (order: 12, 16384 bytes)
[    0.000000] Detected 2793.037 MHz processor.
[   13.697101] Console: colour VGA+ 80x25
[   13.697105] console [tty0] enabled
[   13.697776] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[   13.698461] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[   13.773308] Memory: 1237436k/1310160k available (2216k kernel code, 71484k reserved, 1036k data, 364k init, 392656k highmem)
[   13.773319] virtual kernel memory layout:
[   13.773320]     fixmap  : 0xfff4b000 - 0xfffff000   ( 720 kB)
[   13.773321]     pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
[   13.773322]     vmalloc : 0xf8800000 - 0xff7fe000   ( 111 MB)
[   13.773323]     lowmem  : 0xc0000000 - 0xf8000000   ( 896 MB)
[   13.773324]       .init : 0xc0433000 - 0xc048e000   ( 364 kB)
[   13.773325]       .data : 0xc032a210 - 0xc042d324   (1036 kB)
[   13.773326]       .text : 0xc0100000 - 0xc032a210   (2216 kB)
[   13.773329] Checking if this processor honours the WP bit even in supervisor mode... Ok.
[   13.833431] Calibrating delay using timer specific routine.. 5588.41 BogoMIPS (lpj=2794209)
[   13.833484] Security Framework initialized
[   13.833496] SELinux:  Disabled at boot.
[   13.833501] Capability LSM initialized
[   13.833520] Mount-cache hash table entries: 512
[   13.833720] Initializing cgroup subsys ns
[   13.833727] Initializing cgroup subsys cpuacct
[   13.833744] CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 00004400 00000000 00000000 00000000
[   13.833759] CPU: Trace cache: 12K uops, L1 D cache: 8K
[   13.833762] CPU: L2 cache: 512K
[   13.833765] CPU: Hyper-Threading is disabled
[   13.833768] CPU: After all inits, caps: bfebfbff 00000000 00000000 0000b080 00004400 00000000 00000000 00000000
[   13.833783] Compat vDSO mapped to ffffe000.
[   13.833799] Checking 'hlt' instruction... OK.
[   13.837866] SMP alternatives: switching to UP code
[   13.839117] Freeing SMP alternatives: 9k freed
[   13.839121] ACPI: Core revision 20070126
[   13.876032] CPU0: Intel(R) Pentium(R) 4 CPU 2.80GHz stepping 09
[   13.876071] Total of 1 processors activated (5588.41 BogoMIPS).
[   13.876205] ENABLING IO-APIC IRQs
[   13.876396] ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
[   13.988427] Brought up 1 CPUs
[   13.988456] CPU0 attaching sched-domain:
[   13.988460]  domain 0: span 01
[   13.988462]   groups: 01
[   13.988721] net_namespace: 76 bytes
[   13.988735] Booting paravirtualized kernel on bare hardware
[   13.989347] Time: 22:27:08  Date: 12/02/08
[   13.989390] NET: Registered protocol family 16
[   13.989692] EISA bus registered
[   13.989718] ACPI: bus type pci registered
[   13.989963] PCI: PCI BIOS revision 2.10 entry at 0xfba82, last bus=2
[   13.989966] PCI: Using configuration type 1
[   13.989969] Setting up standard PCI resources
[   13.991867] ACPI: EC: Look up EC in DSDT
[   14.018639] ACPI: Interpreter enabled
[   14.018644] ACPI: (supports S0 S1 S3 S4 S5)
[   14.018667] ACPI: Using IOAPIC for interrupt routing
[   14.046369] ACPI: PCI Root Bridge [PCI0] (0000:00)
[   14.046884] HPET at base address 0xfed00000
[   14.046892] PCI quirk: region 0800-087f claimed by ICH4 ACPI/GPIO/TCO
[   14.046895] PCI quirk: region 0880-08bf claimed by ICH4 GPIO
[   14.047449] PCI: Transparent bridge - 0000:00:1e.0
[   14.047475] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[   14.047877] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
[   14.141142] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12 15)
[   14.141452] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 *10 11 12 15)
[   14.141756] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 *9 10 11 12 15)
[   14.142074] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 *10 11 12 15)
[   14.142377] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11 12 15) *0, disabled.
[   14.142685] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11 12 15) *0, disabled.
[   14.143004] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 *5 6 7 9 10 11 12 15)
[   14.143309] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 *5 6 7 9 10 11 12 15)
[   14.143564] Linux Plug and Play Support v0.97 (c) Adam Belay
[   14.143609] pnp: PnP ACPI init
[   14.143619] ACPI: bus type pnp registered
[   14.166908] pnp: PnP ACPI: found 12 devices
[   14.166912] ACPI: ACPI bus type pnp unregistered
[   14.166918] PnPBIOS: Disabled by ACPI PNP
[   14.167261] PCI: Using ACPI for IRQ routing
[   14.167264] PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
[   14.181797] NET: Registered protocol family 8
[   14.181800] NET: Registered protocol family 20
[   14.181929] hpet clockevent registered
[   14.181936] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[   14.181941] hpet0: 3 64-bit timers, 14318180 Hz
[   14.193825] system 00:00: iomem range 0x0-0x9ffff could not be reserved
[   14.193829] system 00:00: iomem range 0x100000-0xffffff could not be reserved
[   14.193832] system 00:00: iomem range 0x1000000-0x4ff73fff could not be reserved
[   14.193835] system 00:00: iomem range 0xc0000-0xfffff could not be reserved
[   14.193838] system 00:00: iomem range 0xfec00000-0xfec0ffff could not be reserved
[   14.193841] system 00:00: iomem range 0xfee00000-0xfee0ffff could not be reserved
[   14.193844] system 00:00: iomem range 0xfed20000-0xfed8ffff could not be reserved
[   14.193847] system 00:00: iomem range 0xfecf0000-0xfecf0fff could not be reserved
[   14.193850] system 00:00: iomem range 0xffb00000-0xffbfffff could not be reserved
[   14.193853] system 00:00: iomem range 0xffc00000-0xffffffff could not be reserved
[   14.193869] system 00:0b: ioport range 0x800-0x85f has been reserved
[   14.193872] system 00:0b: ioport range 0xc00-0xc7f has been reserved
[   14.193875] system 00:0b: ioport range 0x860-0x8ff could not be reserved
[   14.224445] PCI: Bridge: 0000:00:01.0
[   14.224448]   IO window: disabled.
[   14.224453]   MEM window: fe000000-feafffff
[   14.224457]   PREFETCH window: f8000000-f9ffffff
[   14.224462] PCI: Bridge: 0000:00:1e.0
[   14.224465]   IO window: d000-dfff
[   14.224470]   MEM window: fdf00000-fdffffff
[   14.224474]   PREFETCH window: disabled.
[   14.224492] PCI: Setting latency timer of device 0000:00:1e.0 to 64
[   14.224518] NET: Registered protocol family 2
[   14.259737] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[   14.260146] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[   14.261446] TCP bind hash table entries: 65536 (order: 9, 2359296 bytes)
[   14.264540] TCP: Hash tables configured (established 131072 bind 65536)
[   14.264550] TCP reno registered
[   14.275837] checking if image is initramfs... it is
[   18.216609] Freeing initrd memory: 48474k freed
[   18.216836] Simple Boot Flag value 0x87 read from CMOS RAM was invalid
[   18.216839] Simple Boot Flag at 0x7a set to 0x1
[   18.217440] audit: initializing netlink socket (disabled)
[   18.217459] audit(1228256831.349:1): initialized
[   18.217653] krcupreemptd setsched 0
[   18.217655]   prio = 98
[   18.217739] highmem bounce pool size: 64 pages
[   18.217815] VFS: Disk quotas dquot_6.5.1
[   18.217845] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   18.217940] io scheduler noop registered
[   18.217943] io scheduler anticipatory registered
[   18.217945] io scheduler deadline registered
[   18.217954] io scheduler cfq registered (default)
[   18.218041] Boot video device is 0000:01:00.0
[   18.218431] isapnp: Scanning for PnP cards...
[   18.575460] isapnp: No Plug & Play device found
[   18.618501] Real Time Clock Driver v1.12ac
[   18.618668] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[   18.618801] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[   18.619145] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[   18.620071] 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[   18.620512] 00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[   18.621589] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[   18.621674] input: Macintosh mouse button emulation as /devices/virtual/input/input0
[   18.621808] PNP: PS/2 Controller [PNP0303:KBD] at 0x60,0x64 irq 1
[   18.621812] PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[   18.622405] serio: i8042 KBD port at 0x60,0x64 irq 1
[   18.631011] mice: PS/2 mouse device common for all mice
[   18.631181] EISA: Probing bus 0 at eisa.0
[   18.631218] EISA: Detected 0 cards.
[   18.631222] cpuidle: using governor ladder
[   18.631224] cpuidle: using governor menu
[   18.631324] NET: Registered protocol family 1
[   18.631354] Using IPI No-Shortcut mode
[   18.631398] registered taskstats version 1
[   18.631499]   Magic number: 4:447:501
[   18.631613] BIOS EDD facility v0.16 2004-Jun-25, 6 devices found
[   18.632364] Freeing unused kernel memory: 364k freed
[   18.632388] Write protecting the kernel read-only data: 805k
[   18.656823] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[   19.914634] fuse init (API version 7.9)
[   19.930626] ACPI Exception (processor_core-0816): AE_NOT_FOUND, Processor Device is not present [20070126]
[   20.489026] usbcore: registered new interface driver usbfs
[   20.489053] usbcore: registered new interface driver hub
[   20.497986] usbcore: registered new device driver usb
[   20.510972] USB Universal Host Controller Interface driver v3.0
[   20.511049] ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 16 (level, low) -> IRQ 16
[   20.511063] PCI: Setting latency timer of device 0000:00:1d.0 to 64
[   20.511067] uhci_hcd 0000:00:1d.0: UHCI Host Controller
[   20.511432] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
[   20.523926] uhci_hcd 0000:00:1d.0: irq 16, io base 0x0000ff80
[   20.524092] usb usb1: configuration #1 chosen from 1 choice
[   20.524119] hub 1-0:1.0: USB hub found
[   20.524129] hub 1-0:1.0: 2 ports detected
[   20.579034] SCSI subsystem initialized
[   20.594830] Intel(R) PRO/1000 Network Driver - version 7.3.20-k2-NAPI
[   20.594835] Copyright (c) 1999-2006 Intel Corporation.
[   20.624892] ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 17
[   20.624908] PCI: Setting latency timer of device 0000:00:1d.1 to 64
[   20.624912] uhci_hcd 0000:00:1d.1: UHCI Host Controller
[   20.624941] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
[   20.637793] uhci_hcd 0000:00:1d.1: irq 17, io base 0x0000ff60
[   20.637944] usb usb2: configuration #1 chosen from 1 choice
[   20.637973] hub 2-0:1.0: USB hub found
[   20.637984] hub 2-0:1.0: 2 ports detected
[   20.646733] libata version 3.00 loaded.
[   20.727389] Floppy drive(s): fd0 is 1.44M
[   20.738706] ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18
[   20.738721] PCI: Setting latency timer of device 0000:00:1d.2 to 64
[   20.738725] uhci_hcd 0000:00:1d.2: UHCI Host Controller
[   20.738751] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
[   20.746648] FDC 0 is a post-1991 82077
[   20.750568] uhci_hcd 0000:00:1d.2: irq 18, io base 0x0000ff40
[   20.750716] usb usb3: configuration #1 chosen from 1 choice
[   20.750746] hub 3-0:1.0: USB hub found
[   20.750756] hub 3-0:1.0: 2 ports detected
[   20.830445] usb 1-1: new low speed USB device using uhci_hcd and address 2
[   20.851551] ACPI: PCI Interrupt 0000:00:1d.3[A] -> GSI 16 (level, low) -> IRQ 16
[   20.851565] PCI: Setting latency timer of device 0000:00:1d.3 to 64
[   20.851570] uhci_hcd 0000:00:1d.3: UHCI Host Controller
[   20.851595] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 4
[   20.851619] uhci_hcd 0000:00:1d.3: irq 16, io base 0x0000ff20
[   20.851745] usb usb4: configuration #1 chosen from 1 choice
[   20.851773] hub 4-0:1.0: USB hub found
[   20.851781] hub 4-0:1.0: 2 ports detected
[   20.952429] ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 19
[   20.952447] PCI: Setting latency timer of device 0000:00:1d.7 to 64
[   20.952452] ehci_hcd 0000:00:1d.7: EHCI Host Controller
[   20.952478] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 5
[   20.956391] ehci_hcd 0000:00:1d.7: debug port 1
[   20.956398] PCI: cache line size of 128 is not supported by device 0000:00:1d.7
[   20.957741] ehci_hcd 0000:00:1d.7: irq 19, io mem 0xffa80800
[   20.967231] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[   20.967382] usb usb5: configuration #1 chosen from 1 choice
[   20.967409] hub 5-0:1.0: USB hub found
[   20.967419] hub 5-0:1.0: 8 ports detected
[   20.973145] usb 1-1: unable to read config index 0 descriptor/start: -71
[   20.973151] usb 1-1: chopping to 0 config(s)
[   20.981134] usb 1-1: string descriptor 0 read error: -71
[   20.989114] usb 1-1: string descriptor 0 read error: -71
[   20.997099] usb 1-1: string descriptor 0 read error: -71
[   20.997228] usb 1-1: no configuration chosen from 0 choices
[   21.067122] usb 1-1: USB disconnect, address 2
[   21.069956] ACPI: PCI Interrupt 0000:02:0c.0[A] -> GSI 18 (level, low) -> IRQ 18
[   21.389452] e1000: 0000:02:0c.0: e1000_probe: (PCI:33MHz:32-bit) 00:0c:f1:d3:84:ef
[   21.415413] e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
[   21.421864] ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 18
[   21.421913] PCI: Setting latency timer of device 0000:00:1f.1 to 64
[   21.421924] ACPI: PCI interrupt for device 0000:00:1f.1 disabled
[   21.421939] ACPI: PCI Interrupt 0000:00:1f.2[A] -> GSI 18 (level, low) -> IRQ 18
[   21.421958] PCI: Setting latency timer of device 0000:00:1f.2 to 64
[   21.421966] ACPI: PCI interrupt for device 0000:00:1f.2 disabled
[   21.429137] ata_piix 0000:00:1f.1: version 2.12
[   21.429158] ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 18
[   21.429207] PCI: Setting latency timer of device 0000:00:1f.1 to 64
[   21.432860] scsi0 : ata_piix
[   21.434045] scsi1 : ata_piix
[   21.434102] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xffa0 irq 14
[   21.434105] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xffa8 irq 15
[   21.531353] usb 1-1: new low speed USB device using uhci_hcd and address 3
[   21.610716] ata1.00: ATA-8: WDC WD2500AAJB-57WGA0, 00.02C01, max UDMA/100
[   21.610721] ata1.00: 488397168 sectors, multi 8: LBA48 
[   21.613634] ata1.00: configured for UDMA/100
[   21.704868] usb 1-1: configuration #1 chosen from 1 choice
[   21.866680] usbcore: registered new interface driver hiddev
[   21.887486] input: HoverStop NL Hoverstop active ergonomic mouse as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1:1.0/input/input2
[   21.896814] input,hidraw0: USB HID v1.10 Mouse [HoverStop NL Hoverstop active ergonomic mouse] on usb-0000:00:1d.0-1
[   21.896835] usbcore: registered new interface driver usbhid
[   21.896839] drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
[   21.915135] ata2.00: ATAPI: SAMSUNG DVD-ROM SD-616E, F501, max UDMA/33
[   22.068829] ata2.00: configured for UDMA/33
[   22.068973] scsi 0:0:0:0: Direct-Access     ATA      WDC WD2500AAJB-5 00.0 PQ: 0 ANSI: 5
[   22.069883] scsi 1:0:0:0: CD-ROM            SAMSUNG  DVD-ROM SD-616E  F501 PQ: 0 ANSI: 5
[   22.069963] ata_piix 0000:00:1f.2: MAP [ P0 -- P1 -- ]
[   22.069984] ACPI: PCI Interrupt 0000:00:1f.2[A] -> GSI 18 (level, low) -> IRQ 18
[   22.070035] PCI: Setting latency timer of device 0000:00:1f.2 to 64
[   22.070415] scsi2 : ata_piix
[   22.070652] scsi3 : ata_piix
[   22.070690] ata3: SATA max UDMA/133 cmd 0xfe00 ctl 0xfe10 bmdma 0xfea0 irq 18
[   22.070694] ata4: SATA max UDMA/133 cmd 0xfe20 ctl 0xfe30 bmdma 0xfea8 irq 18
[   23.709011] Driver 'sd' needs updating - please use bus_type methods
[   23.709106] sd 0:0:0:0: [sda] 488397168 512-byte hardware sectors (250059 MB)
[   23.709124] sd 0:0:0:0: [sda] Write Protect is off
[   23.709127] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   23.709153] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   23.709213] sd 0:0:0:0: [sda] 488397168 512-byte hardware sectors (250059 MB)
[   23.709228] sd 0:0:0:0: [sda] Write Protect is off
[   23.709231] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   23.709256] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   23.709262]  sda:<4>Driver 'sr' needs updating - please use bus_type methods
[   23.728435]  sda1 sda2 sda3 < sda5 sda6 sda7 sda8 > sda4
[   23.803508] sd 0:0:0:0: [sda] Attached SCSI disk
[   23.806367] sr0: scsi3-mmc drive: 1x/48x cd/rw xa/form2 cdda tray
[   23.806374] Uniform CD-ROM driver Revision: 3.20
[   23.806437] sr 1:0:0:0: Attached scsi CD-ROM sr0
[   23.817623] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   23.817648] sr 1:0:0:0: Attached scsi generic sg1 type 5
[   26.920199] Attempting manual resume
[   26.920204] swsusp: Resume From Partition 8:4
[   26.920206] PM: Checking swsusp image.
[   26.920457] PM: Resume from disk failed.
[   26.973218] EXT3-fs: mounted filesystem with ordered data mode.
[   26.973296] kjournald starting.  Commit interval 5 seconds
[   32.427873] input: PC Speaker as /devices/platform/pcspkr/input/input3
[   32.964612] intel_rng: Firmware space is locked read-only. If you can't or
[   32.964615] intel_rng: don't want to disable this in firmware setup, and if
[   32.964616] intel_rng: you are certain that your system has a functional
[   32.964617] intel_rng: RNG, try using the 'no_fwh_detect' option.
[   33.062413] Linux agpgart interface v0.102
[   33.200223] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[   33.299119] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[   33.339063] parport_pc 00:0a: reported by Plug and Play ACPI
[   33.339114] parport0: PC-style at 0x378 (0x778), irq 7, using FIFO [PCSPP,TRISTATE,COMPAT,ECP]
[   33.385954] agpgart: Detected an Intel i875 Chipset.
[   33.390906] agpgart: AGP aperture is 128M @ 0xf0000000
[   33.422945] input: Power Button (FF) as /devices/virtual/input/input4
[   33.444834] iTCO_vendor_support: vendor-support=0
[   33.446073] ACPI: Power Button (FF) [PWRF]
[   33.446143] input: Power Button (CM) as /devices/virtual/input/input5
[   33.469800] ACPI: Power Button (CM) [VBTN]
[   33.474270] EDAC MC: Ver: 2.1.0 Dec  2 2008
[   33.565732] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.02 (26-Jul-2007)
[   33.565837] iTCO_wdt: Found a ICH5 or ICH5R TCO device (Version=1, TCOBASE=0x0860)
[   33.565876] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[   33.737419] EDAC i82875p: i82875p init one
[   33.745472] PCI: Unable to reserve mem region #1:1000@fecf0000 for device 0000:00:06.0
[   33.745539] EDAC MC0: Giving out device to 'i82875p_edac' 'i82875p': DEV 0000:00:00.0
[   33.745566] EDAC PCI0: Giving out device to module 'i82875p_edac' controller 'EDAC PCI controller': DEV '0000:00:00.0' (POLLED)
[   34.073836] Driver for 1-wire Dallas network protocol.
[   34.152700] matrox_w1 0000:01:00.0: Matrox G400 GPIO transport layer for 1-wire.
[   34.547657] ACPI: PCI Interrupt 0000:02:01.0[A] -> GSI 22 (level, low) -> IRQ 20
[   34.565474] phy0: Selected rate control algorithm 'simple'
[   36.444786] lp0: using parport0 (interrupt-driven).
[   36.515622] Adding 1911724k swap on /dev/sda4.  Priority:-1 extents:1 across:1911724k
[   36.992758] wlan0: Initial auth_alg=0
[   36.992764] wlan0: authenticate with AP 00:16:b6:2b:4d:87
[   36.994190] wlan0: RX authentication from 00:16:b6:2b:4d:87 (alg=0 transaction=2 status=0)
[   36.994193] wlan0: authenticated
[   36.994196] wlan0: associate with AP 00:16:b6:2b:4d:87
[   36.996392] wlan0: RX AssocResp from 00:16:b6:2b:4d:87 (capab=0x411 status=0 aid=1)
[   36.996395] wlan0: associated
[   37.088173] EXT3 FS on sda7, internal journal
[   37.464159] NET: Registered protocol family 17
[   38.047311] ip_tables: (C) 2000-2006 Netfilter Core Team
[   38.735219] toshiba_acpi: Unknown parameter `hotkeys_over_acpi'
[   38.755217] No dock devices found.
[   39.945480] ppdev: user-space parallel port driver
[   40.108374] apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
[   40.108407] apm: overridden by ACPI.
[   41.847443] Bluetooth: Core ver 2.11
[   41.848388] NET: Registered protocol family 31
[   41.848394] Bluetooth: HCI device and connection manager initialized
[   41.848399] Bluetooth: HCI socket layer initialized
[   41.880920] Bluetooth: L2CAP ver 2.9
[   41.881177] Bluetooth: L2CAP socket layer initialized
[   41.971506] Bluetooth: RFCOMM socket layer initialized
[   41.971791] Bluetooth: RFCOMM TTY layer initialized
[   41.971955] Bluetooth: RFCOMM ver 1.8

Code: Select all

$ sudo modinfo snd-ice1712
modinfo: could not find module snd-ice1712

Code: Select all

$ aplay -l
aplay: device_list:205: no soundcards found...
Generic kernel works ok.
Last edited by studio32 on Tue Dec 02, 2008 10:42 pm, edited 1 time in total.
thorgal
Established Member
Posts: 739
Joined: Mon Apr 07, 2008 6:04 pm

Re: how to build your own ubuntu rt-kernel?

Post by thorgal »

have you configured the kernel before compiling it ? You seem to have missed the ALSA module ...

in the kernel source top directory, as root:

Code: Select all

make menuconfig
then go to Device Drivers -> Sound -> Advanced Linux Sound Architecture : say M for most of the relevant stuff, then go further in PCI Devices : select nothing except what is relevant, namely ICEnsemble ICE1712 (Envy24) and optionally your onboard sound if you have (set all this ALSA stuff to M so that modules are created).

Also make sure you have selected FULL PREEMPTION for realtime stuff. That's in
Processor type and features -> Preemption Mode -> Complete Preemption (Real-Time)
Last edited by thorgal on Tue Dec 02, 2008 10:51 pm, edited 1 time in total.
studio32

Re: how to build your own ubuntu rt-kernel?

Post by studio32 »

thorgal wrote:have you configured the kernel before compiling it ? You seem to have missed the ALSA module ...
mmh I've done

Code: Select all

make oldconfig

Code: Select all

make xconfig
- Processor type and features> Preemption Mode (Complete Preemption (Real-Time))
- Processor type and features>Timer frequency (1000 HZ)

Nothing specially with ALSA
thorgal
Established Member
Posts: 739
Joined: Mon Apr 07, 2008 6:04 pm

Re: how to build your own ubuntu rt-kernel?

Post by thorgal »

see my post before, I updated it.
studio32

Re: how to build your own ubuntu rt-kernel?

Post by studio32 »

@ thorgal, thanks for your help.

I thought oldconfig takes over the settings of the generic kernel, and my soundcards works with that kernel, so why to change anything, except the realtime stuff?

You say I have to do it again the whole process? As root? I made the kernel in my /home folder... and use fakeroot for building...
thorgal
Established Member
Posts: 739
Joined: Mon Apr 07, 2008 6:04 pm

Re: how to build your own ubuntu rt-kernel?

Post by thorgal »

no, don't get me wrong, you don't need to be root. I just usually do admin tasks and other tweaks as root, kernel stuff included. fakeroot is fine and meant for ppl who don't want to use root.

About the kernel config, I can only presume you used a packaged config file as .config

Inspect the config file you used as a seed for your new kernel and check that the ALSA modules are included. This sounds really strange indeed.
studio32

Re: how to build your own ubuntu rt-kernel?

Post by studio32 »

ok mmh will try it tomorrow again...
studio32

Re: how to build your own ubuntu rt-kernel?

Post by studio32 »

@torgal, ok mmhh I did oldconfig and did what you said. Nothing was M or Y in ALSA :/
Strange?

It's running now for a second try.

btw what to do if you want to make a realtime kernel which is usable for as much people as possible? If you have to make an realtime kernel for Ubuntu studio for instance.
Post Reply