/srv/irclogs.ubuntu.com/2009/11/05/#ubuntu-kernel.txt

* bjf off to a meeting00:00
=== bjf is now known as bjf-afk
dtchenogasawara: hi, did you have a laptop that experienced bug 279478?00:37
ubot3Malone bug 279478 in linux "alsa sound fades out when headphones are plugged in until you inaudible" [Low,Triaged] https://launchpad.net/bugs/27947800:37
ogasawaradtchen: not that I know of, but let me test really quick00:38
dtchenogasawara: seems to hit Dell Dimension E52x00:39
dtchenanything with SSID 0x102801?d00:39
ogasawaradtchen: I've got a 1420 here, 1028:01f300:41
dtchenexcellent, same codec00:42
dtchenit defaults to the model=dell-bios quirk, however00:42
dtchenso I don't think you'll have the same symptoms00:42
ogasawaradtchen: sound remains after I insert headphones00:42
dtchenogasawara: do you have a separate Headphone profile when you right-click the speaker icon in the lower GNOME panel and choose Sound Preferences > Hardware ?00:43
dtchenregardless, you have a completely different quirk, so this bug wouldn't be relevant 00:45
ogasawaradtchen: I don't see it00:45
dtchenmmkay00:45
dtchenhow about: echo autospawn = no|tee -a ~/.pulse/client.conf && killall pulseaudio && sudo alsa force-unload && sudo modprobe snd-hda-intel model=3stack && rm ~/.pulse/client.conf00:46
dtchenjack sense is such a mess right now :(00:47
* MsMaco gives dtchen cookies00:48
ogasawaraogasawara@emiko:~$ echo autospawn = no|tee -a ~/.pulse/client.conf && killall pulseaudio && sudo alsa force-unload && sudo modprobe snd-hda-intel model=3stack && rm ~/.pulse/client.conf00:48
ogasawaraautospawn = no00:48
ogasawara[sudo] password for ogasawara: 00:48
ogasawaralsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/ogasawara/.gvfs00:48
ogasawara      Output information may be incomplete.00:48
ogasawaralsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/ogasawara/.gvfs00:48
ogasawara      Output information may be incomplete.00:48
ogasawaraUnloading ALSA sound driver modules: snd-hda-codec-idt snd-hda-intel snd-hda-codec snd-hwdep snd-pcm-oss snd-mixer-oss snd-pcm snd-seq-dummy snd-seq-oss snd-seq-midi snd-rawmidi snd-seq-midi-event snd-seq snd-timer snd-seq-device snd-page-alloc (failed: modules still loaded: snd-hda-codec-idt snd-hda-codec snd-hwdep snd-pcm snd-timer snd-page-alloc).00:48
dtchenbarf 00:49
dtchensudo fuser -v /dev/dsp* /dev/snd/* /dev/seq*00:49
ogasawaraogasawara@emiko:~$ sudo fuser -v /dev/dsp* /dev/snd/* /dev/seq*00:49
ogasawaraCannot stat /dev/dsp*: No such file or directory00:49
ogasawaraCannot stat /dev/dsp*: No such file or directory00:49
ogasawaraCannot stat /dev/seq*: No such file or directory00:49
ogasawaraCannot stat /dev/seq*: No such file or directory00:49
dtchenok, and sudo alsa force-unload00:50
ogasawaraogasawara@emiko:~$ sudo alsa force-unload00:51
ogasawaralsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/ogasawara/.gvfs00:51
ogasawara      Output information may be incomplete.00:51
ogasawaralsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/ogasawara/.gvfs00:51
ogasawara      Output information may be incomplete.00:51
ogasawaraUnloading ALSA sound driver modules: snd-hda-codec-idt snd-hda-codec snd-hwdep snd-pcm snd-timer snd-page-alloc.00:51
dtchenexcellent00:52
dtchensudo modprobe snd-hda-intel model=3stack && rm ~/.pulse/client.conf00:52
ogasawaraogasawara@emiko:~$ sudo modprobe snd-hda-intel model=3stack && rm ~/.pulse/client.conf00:53
ogasawaraogasawara@emiko:~$ 00:53
dtchenso let's try: speaker-test -c2 -l4 -Dplug:front:000:53
dtchentry inserting headphones00:53
dtchendo the internal speakers mute properly?00:53
ogasawarayup00:54
dtchenand unplugging unmutes the int speakers, correct?00:54
ogasawarayup00:54
dtchensigh00:54
dtchenwould you please add your /proc/asound/card0/codec* to the bug?00:54
ogasawarawill do00:55
dtchenthanks!00:55
ogasawaradtchen: posted my info, let me know if you need any other testing from my end.01:03
dtchenI just need a big hammer01:04
dtchenthanks, regardless01:04
stavrobhey guys, why is ubuntu configured with 100hz timers for the standard desktop kernel?01:21
ikepanhcstavrob: you are using amd64 arch?01:26
stavrobikepanhc: yes01:26
ikepanhcstavrob: 250hz timer in i386 and 100hz timer in amd6401:27
stavrobim wondering why01:27
ikepanhclet me check out01:28
stavrob100hz timers really do introduce actual noticeable latency problems, its visible as little stutters and jerks, occasionally music skipping etc01:28
stavrobdunno about 250hz but i compiled the ubuntu kernel again with 1000hz and it's streets better01:28
ikepanhcSome discuss about set CONFIG_HZ to 1000 for a more "real-time" environment, I will check if there is discuss about why set to 100MHz for amd64 :-) 01:33
stavrobpersonally i think 1000hz timers for desktop kernels for both arch's would be lovely, but if we can at least get the timer resolution up on amd64 it'd be a nice start01:36
stavrobit really is a noticeable difference, compile your kernel with 100hz and then with 1000hz and just use each one for a bit. i know desktop interactivity is quite a woolly thing but trust me it's very noticeable01:37
ikepanhcstavrob: ya, I think so, but maybe there is some story behind this (digging for story)01:37
stavrobikepanhc: ok cool01:37
phenompandahi, ericm 05:37
phenompandai see sa1100 defconfig have CONFIG_ARCH_DISCONTIGMEM_ENABLE =y05:38
phenompandaericm, is there any special purpose for add this feature in ARM arch?05:39
ericmphenompanda, no - we are moving to sparsemem06:19
stavrobikepanhc: did you find anything in the end10:22
ikepanhcstavrob: not yet, is there anyone know why CONFIG_HZ=100 in arch amd64?10:23
apwikepanhc, cause the higher HZ is the more expensive tick handing is10:24
apwand where you have any sort of high res timer a high HZ is just useless noise10:25
apwso on amd64 where highres timeres are always present there is no point in maintaining a high HZ10:25
ikepanhcapw: you mean cost cpu time on content switch?10:25
apwit contributes many %'s of SPU usage10:25
apwi mean the cost of taking the interrupts to handle it and update the jiffies10:25
apwwhich we don't use in the main even10:26
Appiah100 isnt that typical server usage?10:26
apwtherefore the recomendation was 250 for i386 where highres timers are not present10:26
apwand 100 for amd64 where you have highres timers which form the bases for everything10:26
apwAppiah, my understanding is that when you have high res timers the HZ value is no longer relevant for scheduling10:27
apwand most times and timing uses the tick + high-res offset for accuracy10:27
apwso it matters little how often tick changes within the resolution of the high-res timer10:27
apwie ... updating it less often has no downside, and much upside in overall cost10:28
Appiahoki10:28
AppiahI just remeber from putting my kernel togheter myself on gentoo where you could choose between 100 , 512 or 1000 where it said 1000 recommended higher for desktop/workstations and lower for servers10:29
apwwhich kernel version tho?10:29
Appiahlast time I used gentoo was about little less then a year ago10:30
apwmoving HZ to 1000 from 250 was tested recently as the pulse peopel were shouting for it.  a full 8% cost in CPU alone10:30
stavrobapw: according to con, high res timers are mostly broken in the kernel atm so are disabled, they're apparently still limited by tick resolution for scheduling timeout decisions12:21
apwi seem to have timers enabled in my kernel ... the recomendation for the HZ change came down from mainline developers12:24
stavrobmy bad, it seems highres timers are actually enabled, just not for scheduling decisions12:28
stavrobwhich unfortunately has a noticeable impact on responsiveness12:28
ghostcubesimple question why is there an grub2 now14:33
ghostcubei hate it 14:36
ghostcubei just hate it14:36
ghostcube:|14:36
_rubenthen dont use it?14:37
ghostcubeon new karmic install its defaulted so i wanted to test14:37
ghostcubebut it pure bah14:37
_rubenand supposedly grub2 has more to offer than grub(1) .. then again, i havent played with it myself, yet14:37
ghostcube_ruben: try it 14:38
ghostcubeto configure it it drives you nuts :D14:39
_rubeni only have 1 karmic box, and it was upgraded step by step from uhm .. hardy i think14:39
apwghostcube, whats is so bad about it14:39
apwit seems almost identicle user interface wise14:40
=== hggdh_ is now known as hggdh
smbThe config file format is different but not necessarily worse. You now mostly do changes in /etc/default/grub and do update-grub. The only thing that is a bit annoying is the persistence it tries to go for the master boot record by default14:47
smbjjohansen, Is that virtio thingy from bug 458521 going to require a kernel patch too or is that more or less done with the kvm package update. (I believe they included dkms modules, but I am not sure)15:02
ubot3Malone bug 458521 in qemu "kvm crash when using virtio for network, hardy guest" [Medium,In progress] https://launchpad.net/bugs/45852115:02
smbKeybuk, around?15:06
ghostcubeapw: the config is pure horror15:06
ghostcubeold grub had one file and all worked15:06
ghostcubenew grub2 is script and file based daemon thingy15:06
ghostcubei dont like this 15:06
apwghostcube, it has a slightly different syntax.  and yes it uses cat to make a file out of it15:07
apwits split config, but its not that different15:07
smbghostcube, err do you generally need more than grub.cfg?15:07
ghostcubesmb: iam not only talking about me :)15:07
ghostcubei have oure linux install15:07
ghostcubep15:07
Keybuksmb: briefly ;)15:07
Keybukwhat's up?15:07
ghostcubeno need for any features of grub2 15:07
ghostcubebut i think its not the best solution to make linux boot stage easier or ?15:08
smbKeybuk, Just wanted to make sure we do the right thing on the next Karmic upload. I got the modified trace patch in that took out the uselib part, but the ureadahead from the ubuntu-boot ppa does not like this much15:08
Keybukyeah, I have another one to upload15:09
Keybukthere you go, uploaded ;)15:10
smbKeybuk, ah, so you won't yell (at me) when I upload that kernel without uselib. :) Good15:10
Keybukno15:11
Keybukit'd only break tracing anyway15:11
Keybukgo right ahead15:11
* smb goes off to test the new ureadahead and then upload the kernel15:11
smbhrm... actually... with the speed of the ppa builders atm, I should probably just upload... :-P15:13
apwsmb what else can you do15:28
=== bjf-afk is now known as bjf
=== MsMaco is now known as maco
jjohansensmb: it looks like it probably requires a kernel patch but I hadn't gotten to it yet16:25
smbjjohansen, Ok, ta. Just wanted to make sure I not forget about it16:25
jjohansensmb: right16:26
bjfdtchen, are we marking all the grub audio bugs as duplicates of 470265?16:34
=== sconklin-afk is now known as sconklin
=== maco__ is now known as maco
=== zul_ is now known as zul
HorsePunchKidI have a somewhat obscure problem with a non-ubuntu kernel. The problem does not occur when I use the ubuntu kernel from the minimal installation CD. Is this a place where I might find some help discovering what has fixed the problem in the ubuntu sources?21:43
dtchenbjf: yes, please22:05
=== bjf is now known as bjf-afk

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!