忘記密碼
 立即註冊
樓主: BYOB

打造終極 HiEnd HTPC - Linux 哇塞!

[複製鏈接]

14

主題

849

回帖

0

積分

新手上路

三星級會員

舊站積分
2319
舊站發表文章數
826
 樓主| 發表於 2013-1-24 10:27:04 | 顯示全部樓層
原發表者是 bchsieh
[B]

小弟只是區區小民, 怎敢被稱關老爺..
敢問BYOB兄, 您用的kernel版本為何? 是否為自行編譯的版本?

請您試試nmi_watchdog=0 nowatchdog nosoftlockup [/B]


kernel是參照bchsieh兄的 所以這幾個都已經有加了

3.7.1-3-ck 是直接從套件褲下載安裝的 非自行編譯!

不然再找時間自行編譯 把watchdog相關的拿掉試試看了

16

主題

1772

回帖

0

積分

新手上路

四星級會員

舊站積分
6295
舊站發表文章數
1683
發表於 2013-1-24 10:46:03 | 顯示全部樓層
原發表者是 BYOB
[B]

kernel是參照bchsieh兄的 所以這幾個都已經有加了

3.7.1-3-ck 是直接從套件褲下載安裝的 非自行編譯!

不然再找時間自行編譯 把watchdog相關的拿掉試試看了 [/B]


原來是3.7.1, 這樣就有可能kernel parameter會不太相同了.
目前小弟使用的是3.5.0-19-generic-ck, 也是ubuntu的ck的最新版,
所以如果要更新到3.7.1-3-ck, 可能得找其他方法.
這也表示之後kernel更新到更新的版本, kernel parameter也必須隨之調整.

對了, 新的boot parameter小弟再提供一下給各位參考,
因為kernel parameter的字數長度有限
(設定在/include/asm/setup.h裡 COMMAND_LINE_SIZE,
ubuntu的kernel預設值介於512和768之間,
如果自行編譯核心, 這個值可以介於256至4096),
所以必須有所取捨.
小弟已經把對聲音影響似有若無的參數拿掉一部份, 避免長度超過ubuntu kernel的預設長度.

ipv6.disable=1 threadirqs hpet=disable clocksource=tsc nojitter i8042.nokbd i8042.nopnp i8042.noaux i8042.nomux vga=normal elevator=noop usbcore.autosuspend=-1 norandmaps nmi_watchdog=0 nowatchdog nosoftlockup selinux=0 apparmor=0 no_timer_check tsc=reliable tsc=noirqtime acpi_pm_good idle=poll cpuidle.off=1 memory_corruption_check=0 swapaccount=0 thermal.off=1 isolcpus=0 noaliencache noautogroup nodelayacct noirqbalance noirqdebug nomce nohz=off nohalt rcu.blimit=0 rcutree.blimit=0 consoleblank=0 iomem=relaxed disable_mtrr_trim disable_mtrr_cleanup dma_debug=off ima_appraise=off noresume no-scroll pcie_aspm=off relax_domain_level=0 intremap=off edd=off erst_disable hest_disable vsyscall=native cgroup_disable=memory

在小弟的系統上, 細節比之前更多, 聲音更透明.
各位可以試試看.

16

主題

1772

回帖

0

積分

新手上路

四星級會員

舊站積分
6295
舊站發表文章數
1683
發表於 2013-1-24 11:20:41 | 顯示全部樓層
剛剛才注意到, Ubuntu的CK PPA的提供人Daniel Hollocher
已經宣佈再也不更新他的CK PPA了.. []

以後是要小弟自己編譯核心, 還是要小弟轉入archlinux陣營? [}]

14

主題

849

回帖

0

積分

新手上路

三星級會員

舊站積分
2319
舊站發表文章數
826
 樓主| 發表於 2013-1-24 11:57:35 | 顯示全部樓層
原發表者是 bchsieh
[B]剛剛才注意到, Ubuntu的CK PPA的提供人Daniel Hollocher
已經宣佈再也不更新他的CK PPA了.. []

以後是要小弟自己編譯核心, 還是要小弟轉入archlinux陣營? [}] [/B]


當然是轉入archlinux陣營啦 !!!

archlinux 套件更新速度快到不行

原來幾個台灣的mirror伺服器更新都有問題 剛換成美國的就OK了

已更新為最新版的 3.7.4-1-ck

但reboot之後網路無法登錄了 查了一下原本balcklist裡有寫了停用ehci_hcd
原本這條指令試沒作用 也就忘了
沒想到這次的更新似乎已經修正BUG 那條指令也就如其運作

但如之前提到的ehci_hcd如先停用  usb設備重開機後就會抓不到
只能讓udev先抓晚後再利用 bchsieh兄的方法去停用它了

archlinux 主要能掌握systemd的運作大概就沒啥問題了

但昨天發現沒有 /etc/default/rtirq 這個檔案 正再煩惱如何設定 []

0

主題

165

回帖

0

積分

新手上路

二星級會員

舊站積分
171
舊站發表文章數
165
發表於 2013-1-25 01:39:21 | 顯示全部樓層
Hi guys,

After been follwing thru the kernel options and have compiled my own kernel (although not yet have time to test) I've been thinking is ARM is more suitable for CAS?
since we basically don't need most of the functions at all. What do you guys think?

Btw I'm thinking do we really need fpu (I assume that is floating point unit) coz I seen there is a kernel options nofpu dunno whether it will work or not?

Cheers!!!

14

主題

849

回帖

0

積分

新手上路

三星級會員

舊站積分
2319
舊站發表文章數
826
 樓主| 發表於 2013-1-25 01:41:23 | 顯示全部樓層
原發表者是 bchsieh
[B]

原來是3.7.1, 這樣就有可能kernel parameter會不太相同了.
目前小弟使用的是3.5.0-19-generic-ck, 也是ubuntu的ck的最新版,
所以如果要更新到3.7.1-3-ck, 可能得找其他方法.
這也表示之後kernel更新到更新的版本, kernel parameter也必須隨之調整.

對了, 新的boot parameter小弟再提供一下給各位參考,
因為kernel parameter的字數長度有限
(設定在/include/asm/setup.h裡 COMMAND_LINE_SIZE,
ubuntu的kernel預設值介於512和768之間,
如果自行編譯核心, 這個值可以介於256至4096),
所以必須有所取捨.
小弟已經把對聲音影響似有若無的參數拿掉一部份, 避免長度超過ubuntu kernel的預設長度.

ipv6.disable=1 threadirqs hpet=disable clocksource=tsc nojitter i8042.nokbd i8042.nopnp i8042.noaux i8042.nomux vga=normal elevator=noop usbcore.autosuspend=-1 norandmaps nmi_watchdog=0 nowatchdog nosoftlockup selinux=0 apparmor=0 no_timer_check tsc=reliable tsc=noirqtime acpi_pm_good idle=poll cpuidle.off=1 memory_corruption_check=0 swapaccount=0 thermal.off=1 isolcpus=0 noaliencache noautogroup nodelayacct noirqbalance noirqdebug nomce nohz=off nohalt rcu.blimit=0 rcutree.blimit=0 consoleblank=0 iomem=relaxed disable_mtrr_trim disable_mtrr_cleanup dma_debug=off ima_appraise=off noresume no-scroll pcie_aspm=off relax_domain_level=0 intremap=off edd=off erst_disable hest_disable vsyscall=native cgroup_disable=memory

在小弟的系統上, 細節比之前更多, 聲音更透明.
各位可以試試看. [/B]


這新版的內核參數真的是更上一層樓, 有"登大人"的feel~ [] [] []

16

主題

1772

回帖

0

積分

新手上路

四星級會員

舊站積分
6295
舊站發表文章數
1683
發表於 2013-1-25 07:39:51 | 顯示全部樓層
原發表者是 solo16
[B]Hi guys,

After been follwing thru the kernel options and have compiled my own kernel (although not yet have time to test) I've been thinking is ARM is more suitable for CAS?
since we basically don't need most of the functions at all. What do you guys think?

Btw I'm thinking do we really need fpu (I assume that is floating point unit) coz I seen there is a kernel options nofpu dunno whether it will work or not?

Cheers!!! [/B]


ARM小弟一直都想試, 但是一直沒有空.
但是ARM的最大問題, 除了軟體支援度可能會出問題(像是alsa, oss4),
硬體的支援度也是要考慮的 (例如無法使用pci and pci-e介面的數位輸出介面).

關閉FPU小弟雖然沒試過, 不過小弟是傾向不關比較好.
理論上如果不做Sampling rate convertor, 似乎播放wav用不太到浮點運算.
但若是播放flac等壓縮格式的檔案, 解壓縮的過程也許會用到.
而除了播放音樂的相關程式以外, 系統的其他程式也有可能用到FPU.
況且, 沒用到FPU, 它應該也只是晾在那裡, "理論上"是不影響聲音的.
而如果強制關閉FPU, 當需要用到浮點運算的時候, 是用CPU去模擬, 這對CPU來說, 是很操的工作呢..

0

主題

165

回帖

0

積分

新手上路

二星級會員

舊站積分
171
舊站發表文章數
165
發表於 2013-1-25 08:44:07 | 顯示全部樓層
hi bchsieh,

Thanks for your opinion!!!

In fact there is no. of arm mobo e.g. Freescale supports pcie but it seems like not easy to get coz most of them are industrial board which i guess it only sell in quantity.

The only concern to me is the emmc which normally built onboard which i don't really appreciate it as ssd alike storage is quite noisy.

Cheers!!!

0

主題

165

回帖

0

積分

新手上路

二星級會員

舊站積分
171
舊站發表文章數
165
發表於 2013-1-25 14:43:18 | 顯示全部樓層
Hi master BYOB / bchsieh,

Just read something from the mailing list.
People do not suggest to compile alsa under rt kernel so I'm asking if I compile the alsa in generic kernel will it also apply to the rt kernel I've installed?

Thanks!!!

16

主題

1772

回帖

0

積分

新手上路

四星級會員

舊站積分
6295
舊站發表文章數
1683
發表於 2013-1-25 17:14:59 | 顯示全部樓層
原發表者是 solo16
[B]Hi master BYOB / bchsieh,

Just read something from the mailing list.
People do not suggest to compile alsa under rt kernel so I'm asking if I compile the alsa in generic kernel will it also apply to the rt kernel I've installed?

Thanks!!! [/B]


間單的說, 不行.
除非經過一些修改和設定, 但不容易.

但小弟覺得奇怪的是, 為什麼不能在rt kernel下編譯alsa?
您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

Archiver|MyAV視聽商情網 test

GMT+8, 2026-11-20 07:45 , Processed in 0.104168 second(s), 41 queries .

Powered by MyAV!

快速回覆 返回頂部 返回列表