/srv/irclogs.ubuntu.com/2008/12/30/#ubuntu-kernel.txt

=== asac_ is now known as asac
tjaaltonhum, something strange going on with multipath on initramfs, since I had to run 'kpartx -a -p -part /dev/mapper/mpath0' manually to create the devices. anyone have an idea why the kpartx udev rules failed to run that? or pointers how to debug the root cause?13:19
tjaaltonthis is jaunty of course13:19
tjaaltonok, "break=bottom" apparently should allow me to see how it fails13:27
Kanohi rtg , i would suggest do comple agp not static, seems to cause some problems when everything is active14:11
Kanoi see not increased boot speed anyway14:12
rtgKano: what problems is agp causing?14:12
Kanonewer ati cards like r600+ on old agp systems fail14:13
Kanofglrx does not load14:13
rtgis this a change from 2.6.28-3 to 2.6.28-4 ?14:13
Kanoyes, now are much more things static14:14
Kanoi would not have got anything against if you would compile every PATA/SATA driver static however, that usually does not hurt and you can boot without initrd in many cases14:15
Kanobut you dont need agp to boot14:15
Kanohttp://kernel.ubuntu.com/git?p=ubuntu/ubuntu-jaunty.git;a=commitdiff;h=6a2b8564b7afe9a4cd44935e6c8a555e27236ada14:16
Kanoi did not get the purpose of that commit14:17
rtgKano: Can you build a test kernel with 'CONFIG_AGP_ATI=m' and confirm that it is really the problem?14:17
Kanoi did, currently they use 2.6.27 kernels, but the ones with that problem are not online right now. its not me with that problem14:18
Kanosomebody even needed to go back to 2.6.24...14:18
rtghmmm, that doesn't really indicate an issue with AGP being built in.14:19
Kanoi guess i am right, but will tell you when they are back14:20
Kanosed -i 's/\(CONFIG_AGP.*=\)y/\1m/' debian/config/i386/config14:20
Kanoi used that for testing14:20
rtgKano: I want to know why CONFIG_AGP_ATI=y is causing problems. Can you start a bug report and attach dmesg info and other pertinent information?14:23
Kanoi dont think thats ati, because they often use nvidia boards14:24
Kanolike nforce2 + radeon 260014:24
Kanobut i even know of a ati laptop with onboard vga (vostro 1000) which fails to load fglrx with that -4 kernel14:25
rtgKano: so, you think its CONFIG_AGP=y that is the real issue?14:25
Kanonvidia would run even when agp is not working, so no good test14:25
Kanortg: i will verify that as soon as the others are here, but at least those options directy adress the problems they have now14:26
Kanotseliot: is there a package for nvidia 180.18' vdpau+ header?14:53
tseliotKano: only 180.11 ATM14:56
Kanonot good14:56
tseliotI know14:56
Kanovdpau changed with 180.1614:56
tseliotKano: I know. I'm working on other things but as soon as I'm done with them I'll upload the new driver14:57
Kanowell it would be good to use it as build-dep for xine-vdpau or mplayer14:57
Kanoin theory it should not really matter if vdpau libs are installed with other drivers14:58
Kanowhich can not use em14:59
tjaaltonhrm, my jaunty still won't mount NFS mounts15:39
rtgtjaalton: -4 was supposed to fix that15:40
tjaaltonrtg: yes I noticed. I've got a freshly installed server which hangs on boot likely because of that. I've got a workstation here and I'll try -4 with it15:41
rtgdrat!15:41
tjaaltonworks, but I wonder why the server doesn't15:43
tjaaltonit doesn't mount them on boot though, had to do it by hand15:43
rtgtjaalton: I presume the server would also hang on boot with -3?15:45
tjaaltonrtg: possibly, can't verify it anymore since I got it to boot from a multipathed device tomorrow (with a patched grub), so before today it didn't boot at all :)15:46
tjaaltonit'll timeout after a few hours though, I hope15:46
tjaaltoneh, s/tomorrow/today/15:52
Kanortg: something else: please disable: CONFIG_USB_SUSPEND because when this is set, scanners do not work correctly17:40
rtgKano: Intrepid has the same issue, right?17:42
Kanortg: please dont force me to test that always17:43
rtgKano: my point is that I didn't explicitly change CONFIG_USB_SUSPEND, so Intrepid likely has the same behavior.17:44
Kanono reports about not working xsane?17:44
Kanodo you own a scanner17:45
rtgnope17:45
Kanothats not good to test17:45
Kanomaybe get one from the sane list17:45
rtgKano: CONFIG_USB_SUSPEND causes scanners to not work _after_ resuming, right?17:46
Kanonope it must do something else, it has nothing to do with suspend to ram or so17:47
Kanothat some auto suspend17:47
Kanoit disables usb ports somehow17:48
Kanoi guess you can patch sane to enable it before use17:49
rtgKano: I'm looking at the kernel source to see what it does.17:49
Kanobut i can not think that you really gain much energy by doing so17:49
Kanohttp://www.blackberryforums.com/linux-users-corner/97661-enable-disable-config_usb_suspend-s-autosuspend-mode.html17:49
Kanoonly usefull for laptops anyway17:50
mjg59No17:51
mjg59Useful for anything with USB17:51
Kanoto save how much energy?17:51
mjg59Depends on how many USB ports you have17:52
mjg59In any case, it's now only autoenabled for hubs and a small number of specific devices17:52
Kanowell scanners do not like it17:52
mjg59Bug number?17:53
Kanomjg59: seek for sane errors17:53
mjg59No17:54
mjg59Ever since 7d2c592609a7da950b458403f1936d382f38ff9c, autosuspend has been disabled by default except for hubs and any device where the kernel driver claims it supports autosuspend17:55
mjg59Which was August 200717:55
mjg59Which means it'll be disabled by default on scanners, regardless of whether it's enabled in the kernel config17:55
rtgKano: with Intrepid you can disable autosuspend in /etc/modprobe.d using "options usbcore autosuspend=-1", but Jaunty is likely gonna require a boot parameter 'usbcore.autosuspend=-1'17:56
Kanortg: be sure i dont use ubuntu17:56
rtgKano: I guess thats always a choice.17:57
mjg59Kano: It might be an idea for you to make sure you understand what the kernel actually does before making suggestions about default configuration17:57
Kanomjg59: well those config tunings help my users however17:57
Kanoif yours dont need, ok17:58
mjg59Kano: Not on any kernel since 2.6.2417:58
mjg59Kano: Nowadays, my users are anyone who runs the kernel17:58
mjg59If you want your users to have their systems use more power, then that's your business. I just want to make it clear to you that your reason for doing so is invalid in this case.17:59
Kanowell i tested the default config and i got reports of non working scanners18:00
mjg59With which kernel?18:01
Kano2.6.28-418:01
mjg59This seems unlikely. It's of course possible that there's a bug.18:01
mjg59What USB class do they present as?18:02
rtgmjg59: on a different topic, what are your thoughts about building in all PATA/SATA drivers as a step towards avoiding the initramfs delay? Are there module load order side effects?18:03
mjg59rtg: There are order side effects, but the default link order in the kernel should be correct18:04
Kanortg: usually the buildin drivers even init in a more deterministic way than as module18:04
Kanoi used that config before, no problem at all18:04
rtgI assume there a boot time parameters that help those cases where the order is not correct?18:05
mjg59Don't /think/ so18:05
rtghow about the SATA controllers? are they mostly well behaved?18:05
mjg59Device specific will init first. If they don't bind, the generic ACPI driver will attempt to. If that doesn't, the generic pci driver will attempt to. If that doesn't, the legacy driver will attempt to.18:05
mjg59Yeah, this is for all libata stuff18:06
mjg59You risk problems if you mix stuff from drivers/ide and drivers/ata18:06
Kanortg: you can savely enable all SATA+PATA drivers18:06
Kanojust do never enable legacy ide18:06
Kanoas this is not set, i see no problem18:07
rtgKano: right, but enabling all pata/sata drivers requires a bit of work in the debian installer bits too, so its gonna take awhile.18:08
Kanoat least thats more important for booting without initrd than the ones you enabled now18:09
rtgKano: its an iterative approach. 18:09
Kanoits highly unlikely that you could boot without initrd even when you compile dm things in the kernel, as it needs user space tools18:10
rtgsome of the stuff we chose to compile in is core protocol code, code that is relatively invariant.18:11
=== pgraner_ is now known as pgraner
plippi guys & gals. Could I get some pointers on module-building?  I've downloaded the source through 'sudo apt-get build-dep linux-image-$(uname -r); apt-get source linux-image-$(uname -r). 21:05
plippCopied the config from /boot and built with "make modules" However, I get versioning issues when running them "no symbol version for struct_module"21:05
plippI mean 'Hi' (I'm not french).21:06
=== Michiel is now known as Guest81991
=== Guest81991 is now known as Eghie_
plippThat is, rebuilding a module to a generic kernel21:21
rtgplipp: https://wiki.ubuntu.com/KernelMaintenance, start with 'Getting the source', then 'Performing builds'21:32
Kanortg: verified, fglrx works with agp modules -but not static.21:49
Kanojust tested21:49
rtgKano: ok21:50

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