=== Keybuk [n=scott@syndicate.netsplit.com] has joined #ubuntu-kernel === niktaris_lap [n=niktaris@ppp191-35.adsl.forthnet.gr] has joined #ubuntu-kernel [12:32] hi, can anyone please tell me where the patches for the ubuntu kernel are located ? [12:34] see ubuntu-dapper.git and ubuntu-2.6.git. There're broken-out patches that I know of for Dapper and Edgy. [12:34] there're _no_ [12:46] crimsun, they are not in the kernel source .deb. are they? [12:47] No [12:47] mjg59, didn't think so :) [12:48] you could also apt-get source [12:50] I am trying to figure out why a pcmcia card works with the standard ubuntu kernel but not with a vanilla kernel [12:51] wifi? [12:51] a vodafone 3g card [12:52] the brand is option [12:52] when it does work, what /dev node does it use? [12:52] sn9, I will have to reboot to find that out [12:52] no need === gnomefreak [n=gnomefre@ubuntu/member/gnomefreak] has joined #ubuntu-kernel [12:53] you use ppp with it, right? [12:53] sn9, I don't actually _use_ it [12:54] you don't use the card? then how did you know it worked? [12:54] because when I use the ubuntu kernel the system sees it as usb3 modem [12:54] and with vanilla not [12:55] that also answers my question [12:55] using kppp to query the modem [12:56] using a standard vanilla kernel I only get " CardBus card inserted into slot 0" [12:56] while with the ubuntu kernel the system goes on and configures it [12:56] and you load the same module on the vanilla kernel? [12:57] no I don't do anything at all [12:57] the ubuntu kernel does everything while vanilla does nothing [12:57] did you even compile the module for the vanilla kernel? [12:58] /lib/modules/2.6.17.11/kernel/drivers/usb/serial/option.ko [12:59] I even used the config from the ubuntu kernel [12:59] ok, what happens if you try to load that module manually on the vanilla kernel? [01:01] nothing [01:01] well the module loads [01:01] nothing in dmesg? [01:01] but besides that nothing [01:02] only [17185386.460000] pccard: CardBus card inserted into slot 0 === gnomefreak [n=gnomefre@ubuntu/member/gnomefreak] has joined #ubuntu-kernel [01:04] ok, so it's not associating the card with the driver. do all other cardbus cards work? [01:05] it's the only one I got [01:06] it could be pcmcia/cardbus support didn't get compiled with patches to use config files in /etc, or the driver itself may be a different version [01:07] you should modinfo both the vanilla version of the driver and the stock version and diff the output [01:07] option driver version v0.4 [01:08] in vanilla [01:08] don't know what is in ubuntu atm [01:09] besides the giving the same config from the ubuntu kernel I can only image a patch is applied someplace [01:09] that's why I asked [01:10] run modinfo on both files and use the diff command === zul [n=bob@CPE0006258ec6c1-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel [01:10] look for changes in lines with a bunch of numbers and codes [01:10] sn9, I uninstalled the ubuntu one. :( [01:11] use the diff command where? [01:11] but you can apt-get it again, right? [01:11] in a shell [01:11] sn9, yes. but later as I am apt-getting something else now [01:13] if you still have it in /var/cache/apt/archive, you might not need to wait [01:13] yes. wait... === gnomefreak [n=gnomefre@ubuntu/member/gnomefreak] has joined #ubuntu-kernel [01:17] < alias: usb:v16D5p6501d*dc*dsc*dp*ic*isc*ip* [01:17] < srcversion: 84340500E79BAB5E3CB7869 [01:17] --- [01:17] > srcversion: E986026D4704EC0498CCF92 [01:17] sn9, is this it ? [01:18] < aliias : [01:18] is ubuntu [01:20] yes, the alias lines were what i meant [01:20] so what should I do ? [01:20] but the one you show is for usb, and you said this was a cardbus device [01:21] the option card is recognised as a usb device [01:22] so this is usb over cardbus... does lsusb show it with vanilla? [01:22] all 5 devices are listed as Device 001: ID 0000:0000 [01:23] wrong! wait [01:24] no right ( I had the card unplugged but the output is the same in any case) [01:24] all 5 devices are listed as Device 001: ID 0000:0000 [01:24] and there are no other usb devices? [01:25] connected? no [01:25] ok, it seems there are two things that are not happening [01:26] 1) the cardbus is not being seen as usb [01:26] 2) even if usb were seen, the option driver wouldn't recognize it [01:27] when connecting a usb stick I get Bus 001 Device 002: ID 0930:651c Toshiba Corp [01:27] on a usb port [01:27] we have not even confirmed that #1 is supposed to happen at all [01:28] looks like you'll have to boot the ubuntu kernel at least once more (to see whether the card is in lsusb there) [01:28] ok give me 1 min === zul [n=bob@CPE0006258ec6c1-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel === niktaris_lap [n=niktaris@ppp191-35.adsl.forthnet.gr] has joined #ubuntu-kernel [01:39] sn9, Bus 006 Device 002: ID 0af0:5000 Option UMTS Card [01:39] Bus 006 Device 001: ID 0000:0000 [01:39] those are new [01:40] ok, do an lsmod and save that to a file [01:41] the option.ko is clearly not the only module involved [01:41] done [01:44] look through dmesg for the last mentions of usb [01:45] sn9, where can I paste ? [01:46] it's at least 20 lines [01:46] just the last mentions of it [01:46] last line : [17179703.044000] ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) [01:46] [17179703.048000] PCI: Enabling device 0000:07:00.0 (0000 -> 0002) [01:46] [17179703.048000] ACPI: PCI Interrupt 0000:07:00.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11 [01:46] [17179703.048000] PCI: Setting latency timer of device 0000:07:00.0 to 64 [01:46] [17179703.048000] ohci_hcd 0000:07:00.0: OHCI Host Controller [01:46] [17179703.048000] ohci_hcd 0000:07:00.0: new USB bus registered, assigned bus number 6 [01:46] at least one of them should mention a module other than option.ko [01:46] [17179703.048000] ohci_hcd 0000:07:00.0: irq 11, io mem 0xb2000000 [01:46] [17179703.104000] usb usb6: configuration #1 chosen from 1 choice [01:47] [17179703.104000] hub 6-0:1.0: USB hub found [01:47] [17179703.104000] hub 6-0:1.0: 2 ports detected [01:47] [17179712.260000] ohci_hcd 0000:07:00.0: wakeup [01:47] [17179712.644000] usb 6-1: new full speed USB device using ohci_hcd and address 2 [01:47] [17179712.904000] spurious 8259A interrupt: IRQ7. [01:47] [17179712.920000] usb 6-1: configuration #1 chosen from 1 choice [01:47] [17179713.072000] usbcore: registered new driver usbserial [01:47] [17179713.072000] drivers/usb/serial/usb-serial.c: USB Serial support registered for generic [01:47] [17179713.072000] usbcore: registered new driver usbserial_generic [01:47] [17179713.072000] drivers/usb/serial/usb-serial.c: USB Serial Driver core [01:47] [17179713.104000] drivers/usb/serial/usb-serial.c: USB Serial support registered for Option 3G data card [01:47] [17179713.104000] option 6-1:1.0: Option 3G data card converter detected [01:47] [17179713.108000] usb 6-1: Option 3G data card converter now attached to ttyUSB0 [01:47] [17179713.108000] option 6-1:1.1: Option 3G data card converter detected [01:47] [17179713.108000] usb 6-1: Option 3G data card converter now attached to ttyUSB1 [01:47] [17179713.108000] option 6-1:1.2: Option 3G data card converter detected [01:47] [17179713.108000] usb 6-1: Option 3G data card converter now attached to ttyUSB2 [01:47] [17179713.108000] usbcore: registered new driver option [01:47] [17179713.108000] drivers/usb/serial/option.c: Option Card (PC-Card to) USB to Serial Driver: v0.4 [01:47] shit!!!! [01:47] sorry!!!! [01:47] sn9, at least you see them all :S [01:49] does the laptop have any built-in usb1.1 ports, or are they all usb2? [01:50] all usb2 [01:51] then the other module involved is ohci_hcd.ko [01:52] that's in your lsmod, right? [02:04] sn9, so if I reboot and load ohci_hcd.ko, usbserial and option modules it should work ? [02:05] before you do that, [02:06] see which of those is not auto-loaded [02:06] diff the modinfo's for that one [02:06] for ohci_hdc.ko ? [02:06] yes, if that does not auto-load on vanilla [02:07] ok. rebooting === niktaris_lap [n=niktaris@ppp191-35.adsl.forthnet.gr] has joined #ubuntu-kernel [02:13] sn9, nothing changed [02:14] ohci-hdc does not auto load [02:14] moprode ohci-hdc, usbserial , option [02:14] diff the modinfo's for ohci_hcd [02:14] still nothing [02:15] look for changes in the alias lines [02:17] alias is the same [02:18] no change? [02:18] nope [02:18] in other words, alias does not show up in the diff? [02:18] yes [02:19] only filename and vermagic [02:19] if alias shows up in modinfo but not in the diff, and you modprobed it, look at dmesg [02:20] alias in modinfo shows. dmesg: [17179906.956000] pccard: CardBus card inserted into slot 0 [02:21] no mention of ohci in dmesg? [02:21] no [02:21] even though you modprobed ohci_hcd? [02:22] oh sorry [02:22] yes [02:22] [17179708.164000] ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) [02:22] when modprobed [02:22] but no other mentions of ohci? [02:22] nothing more [02:23] i think you have an acpi or irq problem, then [02:25] save the entire dmesg to a file from both kernels, diff them, and look for the first mentions of acpi, apic, or pci in the diff [02:26] sn9, diff-ing the /boot/config files of both kernel I see some diff in acpi [02:27] so there should be a apci patch be applied to the ubuntu kernel [02:28] either that or kernel args [02:28] eg SCSI_SATA_ACPI exists in ubuntu kernel but not in vanilla [02:29] unless you actually have sata in your laptop, that is not the cause [02:32] diff are: CONFIG_ACPI_SBS=m CONFIG_ACPI_PCC=m CONFIG_ACPI_SONY=m CONFIG_ACPI_DEV=m CONFIG_ACPI_TC1100=m CONFIG_ACPI_INITRD=y CONFIG_ACPI_DEV=m [02:32] those do not exist in vanilla [02:33] but that's in the .config [02:33] yes but doesn't that mean that the modules do not exist ? [02:33] are there acpi/apic/pci diffs in the dmesg? [02:34] I remember some acpi events when pluging in the card [02:34] have to reboot to see though [02:34] yes, it means the modules do not exist, but if they were never in lsmod, what does it matter? [02:35] i said to save the entire dmesg to a file under both kernels [02:35] ok I ll do that [02:36] diff those, looking for the first occurrences of acpi or apic or pci in the diff [02:36] ok [02:36] rebooting === niktaris_lap [n=niktaris@ppp191-35.adsl.forthnet.gr] has joined #ubuntu-kernel [02:43] sn9, fist thing that happens after card is inserted is ACPI: PCI Interrupt 0000:07:00.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11 [02:44] after PCI: Enabling device 0000:07:00.0 (0000 -> 0002 [02:44] no diffs before it's inserted? [02:46] [17179569.184000] Local APIC disabled by BIOS (or by default) -- you can enable it with "lapic" [02:46] in ubuntu [02:46] [17179569.184000] Local APIC disabled by BIOS -- you can enable it with "lapic" [02:46] in vanilla [02:47] that's the only diff before insertion? [02:47] from what I can see [02:47] let me check again [02:51] one diff is ACPI: Looking for DSDT ... not found! [02:52] on vanilla? [02:54] on ubuntu [02:55] and that line is just skipped on vanilla? [02:56] yes [02:57] That code isn't in vanilla, hence the difference [02:57] but other than those two lines, the diffs only start after insertion, right? [02:59] after the insetion I get ACPI: PCI Interrupt 0000:07:00.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11 [02:59] i'll take that as a yes [03:01] there is http://gaugusch.at/acpi-dsdt-initrd-patches/acpi-dsdt-initrd-v0.8.2-2.6.17.patch [03:01] maybe this is included in ubuntu [03:04] It is [03:07] mjg59, thanks [03:07] let me apply this patch first and test again [03:08] thanks a million sn9 [03:08] thanks all [03:08] niktaris_lap: why did you want a vanilla kernel, anyway? [03:08] That patch isn't going to change anything [03:09] mjg59, why? [03:09] Because it's got nothing to do with the problem you have [03:09] sn9, I like vanilla kernels [03:09] Only three lines of it are actually running on your machine, and the only thing they do is print the message you're seeing [03:10] niktaris_lap: Shame that they don't seem to work in this case... [03:11] mjg59, well something is different in ubuntu kernel . Since I use the same config I guess some patch does the diff. [03:11] at least I found one :) [03:13] There's several hundred patches in the Ubuntu kernel [03:13] One of them causes the difference. I don't know which one, but it isn't that one. [03:14] mjg59, it would be nice if they where located someplace... [03:16] they are [03:16] if you apt-get source, you get them all [03:22] They're in the git repository [03:22] We don't keep them as independent patches [03:23] we use to but its more harder to maintain if we didnt use a git repository [03:26] have to go [03:26] thanks again. === BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel === zul [n=bob@CPE0006258ec6c1-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel === zul [n=bob@CPE0006258ec6c1-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel === nigel_c [i=nigel@nigel.suspend2.net] has joined #ubuntu-kernel === nigel_c_ [i=nigel@nigel.suspend2.net] has joined #ubuntu-kernel === nigel_c [n=nigel_c@nigel.suspend2.net] has joined #ubuntu-kernel === Keybuk [n=scott@syndicate.netsplit.com] has joined #ubuntu-kernel === Lure [n=lure@ubuntu/member/lure] has joined #ubuntu-kernel === human_blip [n=mike@220.157.65.29] has joined #ubuntu-kernel === ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-kernel === ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-kernel === Lure [n=lure@ubuntu/member/lure] has joined #ubuntu-kernel === Lure [n=lure@external-7.hermes.si] has joined #ubuntu-kernel === pschulz01_ [n=paul@202.174.42.5] has joined #ubuntu-kernel === nigel_c [i=nigel@nigel.suspend2.net] has joined #ubuntu-kernel === nigel_c [i=nigel@nigel.suspend2.net] has left #ubuntu-kernel [] === rodarvus [n=rodarvus@ubuntu/member/rodarvus] has joined #ubuntu-kernel === nigel_c [i=nigel@nigel.suspend2.net] has joined #ubuntu-kernel === zul [n=bob@CPE0006258ec6c1-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel === rodarvus [n=rodarvus@ubuntu/member/rodarvus] has joined #ubuntu-kernel === nigel_c [i=nigel@nigel.suspend2.net] has joined #ubuntu-kernel === tuxmaniac [n=aanjhan@unaffiliated/tuxmaniac] has joined #ubuntu-kernel === Lure [n=lure@external-7.hermes.si] has joined #ubuntu-kernel === lfittl [n=lfittl@85-125-149-213.dynamic.xdsl-line.inode.at] has joined #ubuntu-kernel === zul [n=bob@CPE0006258ec6c1-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel === ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-kernel === Keybuk [n=scott@syndicate.netsplit.com] has joined #ubuntu-kernel === tuxmaniac [n=aanjhan@unaffiliated/tuxmaniac] has joined #ubuntu-kernel === niktaris_lap [n=niktaris@ppp191-35.adsl.forthnet.gr] has joined #ubuntu-kernel [05:54] hi, I downloaded the git tree, how do I see the ubuntu specific changes? [05:54] bisect it with other trees? [05:55] ubuntu vs vanilla === lfittl_ [n=lfittl@85-125-149-213.dynamic.xdsl-line.inode.at] has joined #ubuntu-kernel [06:15] Keybuk, do I have to download the vanilla tree also ? [06:17] niktaris_lap: I'm afraid I don't know git [06:18] Keybuk, me neither :) [06:20] tbh, I've never understood why the kernel developers like it so much [06:20] to me it's always seemed complicated and obtuse [06:22] I am just trying to find the ubuntu specific changes (aka patches [06:23] I hope someone is kind enough to walk me through [07:07] that's difficult to judge [07:07] e.g. is ubuntu pulling the acpi tip an ubuntu specific change? [07:09] Keybuk: Because its merging stuff is magic [07:11] zul: what's the state of xen now? You said some days ago you were going to package up some xen-restricted-modules? [07:11] Keybuk: I merged acpi tip with our own acpi crack in under an hour, despite there being 158 of them [07:11] Hm. That's not a good start. [07:12] "This computer does not have enough space for temporary files. Windows installation needs at least 306 megabytes of space on any partitoin for temporary files" === crimsun [n=crimsun@dargo.trilug.org] has joined #ubuntu-kernel [07:12] There's 12GB free! === Lure [n=lure@ubuntu/member/lure] has joined #ubuntu-kernel === rodarvus [n=rodarvus@ubuntu/member/rodarvus] has joined #ubuntu-kernel === ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-kernel [09:18] hi again, so there is no easy way of finding out what patches are applied in the ubuntu kernel ? [09:20] niktaris_lap: patches compared with what? [09:20] zul: do you have your xen repo online somewhere? [09:20] Mithrandir, to vanilla [09:21] Debian would work also I guess [09:21] niktaris_lap: download the kernel.org tree, download our tree, run diff -Nru [09:21] or look at the git commit log and diff that with Linus's git tree [09:21] But no, there's no trivial way to determine whether a given patch came from upstream or us [09:22] Mithrandir, I downloaded ubuntu tree. Don't know how to download the vanilla git tree. where a the git commit logs located? [09:22] niktaris_lap: "git log" gives you the commit logs, iirc [09:23] zul: it looks like the xen kernel could benefit from having the bd_claim patch applied. [09:24] Mithrandir, can I see the changes based on the commit number eg. commit cda2a116920d69ff82689b4f92e98e32d346c632 === Lure [n=lure@ubuntu/member/lure] has joined #ubuntu-kernel === stepomaticc [n=stepomat@85-125-151-177.dynamic.xdsl-line.inode.at] has joined #ubuntu-kernel === doko [n=doko@dslb-088-073-105-085.pools.arcor-ip.net] has joined #ubuntu-kernel === jwest- [n=jwest@unaffiliated/jwest/x-422957] has joined #ubuntu-kernel [10:41] zul: also, where's the domU? === nigel_c [i=nigel@nigel.suspend2.net] has joined #ubuntu-kernel