/srv/irclogs.ubuntu.com/2006/09/04/#ubuntu-kernel.txt

=== Keybuk [n=scott@syndicate.netsplit.com] has joined #ubuntu-kernel
=== niktaris_lap [n=niktaris@ppp191-35.adsl.forthnet.gr] has joined #ubuntu-kernel
niktaris_laphi, can anyone please tell me where the patches for the ubuntu kernel are located ?12:32
crimsunsee ubuntu-dapper.git and ubuntu-2.6.git. There're broken-out patches that I know of for Dapper and Edgy.12:34
crimsunthere're _no_12:34
niktaris_lapcrimsun, they are not in the kernel source .deb. are they?12:46
mjg59No12:47
niktaris_lapmjg59, didn't think so :)12:47
sn9you could also apt-get source12:48
niktaris_lapI am trying to figure out why a pcmcia card works with the standard ubuntu kernel but not with a vanilla kernel12:50
sn9wifi?12:51
niktaris_lapa vodafone 3g card12:51
niktaris_lapthe brand is option12:52
sn9when it does work, what /dev node does it use?12:52
niktaris_lapsn9, I will have to reboot to find that out12:52
sn9no need12:52
=== gnomefreak [n=gnomefre@ubuntu/member/gnomefreak] has joined #ubuntu-kernel
sn9you use ppp with it, right?12:53
niktaris_lapsn9, I don't actually _use_ it12:53
sn9you don't use the card? then how did you know it worked?12:54
niktaris_lapbecause when I use the ubuntu kernel the system sees it as usb3 modem12:54
niktaris_lapand with vanilla not12:54
sn9that also answers my question12:55
niktaris_lapusing kppp to query the modem12:55
niktaris_lapusing a standard vanilla kernel I only get " CardBus card inserted into slot 0"12:56
niktaris_lapwhile with the ubuntu kernel the system goes on and configures it12:56
sn9and you load the same module on the vanilla kernel?12:56
niktaris_lapno I don't do anything at all12:57
niktaris_lapthe ubuntu kernel does everything while vanilla does nothing12:57
sn9did you even compile the module for the vanilla kernel?12:57
niktaris_lap/lib/modules/2.6.17.11/kernel/drivers/usb/serial/option.ko12:58
niktaris_lapI even used the config from the ubuntu kernel12:59
sn9ok, what happens if you try to load that module manually on the vanilla kernel?12:59
niktaris_lapnothing01:01
niktaris_lapwell the module loads01:01
sn9nothing in dmesg?01:01
niktaris_lapbut besides that nothing01:01
niktaris_laponly [17185386.460000]  pccard: CardBus card inserted into slot 001:02
=== gnomefreak [n=gnomefre@ubuntu/member/gnomefreak] has joined #ubuntu-kernel
sn9ok, so it's not associating the card with the driver. do all other cardbus cards work?01:04
niktaris_lapit's the only one I  got 01:05
sn9it 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 version01:06
sn9you should modinfo both the vanilla version of the driver and the stock version and diff the output01:07
niktaris_lapoption driver version v0.401:07
niktaris_lapin vanilla01:08
niktaris_lapdon't know what is in ubuntu atm01:08
niktaris_lapbesides the giving the same config from the ubuntu kernel I can only image a patch is applied someplace 01:09
niktaris_lapthat's why I asked 01:09
sn9run modinfo on both files and use the diff command01:10
=== zul [n=bob@CPE0006258ec6c1-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel
sn9look for changes in lines with a bunch of numbers and codes01:10
niktaris_lapsn9, I uninstalled the ubuntu one. :(01:10
niktaris_lapuse the diff command where?01:11
sn9but you can apt-get it again, right?01:11
sn9in a shell01:11
niktaris_lapsn9, yes. but later as I am apt-getting something else now01:11
sn9if you still have it in /var/cache/apt/archive, you might not need to wait01:13
niktaris_lapyes. wait...01:13
=== gnomefreak [n=gnomefre@ubuntu/member/gnomefreak] has joined #ubuntu-kernel
niktaris_lap< alias:          usb:v16D5p6501d*dc*dsc*dp*ic*isc*ip*01:17
niktaris_lap< srcversion:     84340500E79BAB5E3CB786901:17
niktaris_lap---01:17
niktaris_lap> srcversion:     E986026D4704EC0498CCF9201:17
niktaris_lapsn9, is this it ?01:17
niktaris_lap< aliias : 01:18
niktaris_lapis ubuntu01:18
sn9yes, the alias lines were what i meant01:20
niktaris_lapso what should I do ?01:20
sn9but the one you show is for usb, and you said this was a cardbus device01:20
niktaris_lapthe option card is recognised as a usb device01:21
sn9so this is usb over cardbus... does lsusb show it with vanilla?01:22
niktaris_lapall 5 devices are listed as Device 001: ID 0000:000001:22
niktaris_lapwrong! wait01:23
niktaris_lapno right ( I had the card unplugged but the output is the same in any case)01:24
niktaris_lapall 5 devices are listed as Device 001: ID 0000:000001:24
sn9and there are no other usb devices?01:24
niktaris_lapconnected? no01:25
sn9ok, it seems there are two things that are not happening01:25
sn91) the cardbus is not being seen as usb01:26
sn92) even if usb were seen, the option driver wouldn't recognize it01:26
niktaris_lapwhen connecting a usb stick I get Bus 001 Device 002: ID 0930:651c Toshiba Corp01:27
niktaris_lapon a usb port 01:27
sn9we have not even confirmed that #1 is supposed to happen at all01:27
sn9looks like you'll have to boot the ubuntu kernel at least once more (to see whether the card is in lsusb there)01:28
niktaris_lapok give me 1 min01:28
=== 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
niktaris_lapsn9, Bus 006 Device 002: ID 0af0:5000 Option UMTS Card01:39
niktaris_lapBus 006 Device 001: ID 0000:000001:39
niktaris_lapthose are new01:39
sn9ok, do an lsmod and save that to a file01:40
sn9the option.ko is clearly not the only module involved01:41
niktaris_lapdone01:41
sn9look through dmesg for the last mentions of usb01:44
niktaris_lapsn9, where can I paste ?01:45
niktaris_lapit's at least 20 lines01:46
sn9just the last mentions of it01:46
niktaris_laplast line : [17179703.044000]  ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)01:46
niktaris_lap[17179703.048000]  PCI: Enabling device 0000:07:00.0 (0000 -> 0002)01:46
niktaris_lap[17179703.048000]  ACPI: PCI Interrupt 0000:07:00.0[A]  -> Link [LNKC]  -> GSI 11 (level, low) -> IRQ 1101:46
niktaris_lap[17179703.048000]  PCI: Setting latency timer of device 0000:07:00.0 to 6401:46
niktaris_lap[17179703.048000]  ohci_hcd 0000:07:00.0: OHCI Host Controller01:46
niktaris_lap[17179703.048000]  ohci_hcd 0000:07:00.0: new USB bus registered, assigned bus number 601:46
sn9at least one of them should mention a module other than option.ko01:46
niktaris_lap[17179703.048000]  ohci_hcd 0000:07:00.0: irq 11, io mem 0xb200000001:46
niktaris_lap[17179703.104000]  usb usb6: configuration #1 chosen from 1 choice01:46
niktaris_lap[17179703.104000]  hub 6-0:1.0: USB hub found01:47
niktaris_lap[17179703.104000]  hub 6-0:1.0: 2 ports detected01:47
niktaris_lap[17179712.260000]  ohci_hcd 0000:07:00.0: wakeup01:47
niktaris_lap[17179712.644000]  usb 6-1: new full speed USB device using ohci_hcd and address 201:47
niktaris_lap[17179712.904000]  spurious 8259A interrupt: IRQ7.01:47
niktaris_lap[17179712.920000]  usb 6-1: configuration #1 chosen from 1 choice01:47
niktaris_lap[17179713.072000]  usbcore: registered new driver usbserial01:47
niktaris_lap[17179713.072000]  drivers/usb/serial/usb-serial.c: USB Serial support registered for generic01:47
niktaris_lap[17179713.072000]  usbcore: registered new driver usbserial_generic01:47
niktaris_lap[17179713.072000]  drivers/usb/serial/usb-serial.c: USB Serial Driver core01:47
niktaris_lap[17179713.104000]  drivers/usb/serial/usb-serial.c: USB Serial support registered for Option 3G data card01:47
niktaris_lap[17179713.104000]  option 6-1:1.0: Option 3G data card converter detected01:47
niktaris_lap[17179713.108000]  usb 6-1: Option 3G data card converter now attached to ttyUSB001:47
niktaris_lap[17179713.108000]  option 6-1:1.1: Option 3G data card converter detected01:47
niktaris_lap[17179713.108000]  usb 6-1: Option 3G data card converter now attached to ttyUSB101:47
niktaris_lap[17179713.108000]  option 6-1:1.2: Option 3G data card converter detected01:47
niktaris_lap[17179713.108000]  usb 6-1: Option 3G data card converter now attached to ttyUSB201:47
niktaris_lap[17179713.108000]  usbcore: registered new driver option01:47
niktaris_lap[17179713.108000]  drivers/usb/serial/option.c: Option Card (PC-Card to) USB to Serial Driver: v0.401:47
niktaris_lapshit!!!!01:47
niktaris_lapsorry!!!!01:47
niktaris_lapsn9, at least you see them all :S01:47
sn9does the laptop have any built-in usb1.1 ports, or are they all usb2?01:49
niktaris_lapall usb2 01:50
sn9then the other module involved is ohci_hcd.ko01:51
sn9that's in your lsmod, right?01:52
niktaris_lapsn9, so if I reboot and load ohci_hcd.ko, usbserial and option modules it should work ?02:04
sn9before you do that,02:05
sn9see which of those is not auto-loaded02:06
sn9diff the modinfo's for that one02:06
niktaris_lapfor ohci_hdc.ko ?02:06
sn9yes, if that does not auto-load on vanilla02:06
niktaris_lapok. rebooting02:07
=== niktaris_lap [n=niktaris@ppp191-35.adsl.forthnet.gr] has joined #ubuntu-kernel
niktaris_lapsn9, nothing changed02:13
niktaris_lapohci-hdc does not auto load02:14
niktaris_lapmoprode ohci-hdc, usbserial , option02:14
sn9diff the modinfo's for ohci_hcd02:14
niktaris_lapstill nothing02:14
sn9look for changes in the alias lines02:15
niktaris_lapalias is the same02:17
sn9no change?02:18
niktaris_lapnope02:18
sn9in other words, alias does not show up in the diff?02:18
niktaris_lapyes02:18
niktaris_laponly filename and vermagic02:19
sn9if alias shows up in modinfo but not in the diff, and you modprobed it, look at dmesg02:19
niktaris_lapalias in modinfo shows. dmesg: [17179906.956000]  pccard: CardBus card inserted into slot 002:20
sn9no mention of ohci in dmesg?02:21
niktaris_lapno02:21
sn9even though you modprobed ohci_hcd?02:21
niktaris_lapoh sorry 02:22
niktaris_lapyes02:22
niktaris_lap[17179708.164000]  ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)02:22
niktaris_lapwhen modprobed02:22
sn9but no other mentions of ohci?02:22
niktaris_lapnothing more02:22
sn9i think you have an acpi or irq problem, then02:23
sn9save the entire dmesg to a file from both kernels, diff them, and look for the first mentions of acpi, apic, or pci in the diff02:25
niktaris_lapsn9, diff-ing the /boot/config files of both kernel I see some diff in acpi02:26
niktaris_lapso there should be a apci patch be applied to the ubuntu kernel02:27
sn9either that or kernel args02:28
niktaris_lapeg SCSI_SATA_ACPI exists in ubuntu kernel but not in vanilla02:28
sn9unless you actually have sata in your laptop, that is not the cause02:29
niktaris_lapdiff 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=m02:32
niktaris_lapthose do not exist in vanilla02:32
sn9but that's in the .config02:33
niktaris_lapyes but doesn't that mean that the modules do not exist ?02:33
sn9are there acpi/apic/pci diffs in the dmesg?02:33
niktaris_lapI remember some acpi events when pluging in the card02:34
niktaris_laphave to reboot to see though02:34
sn9yes, it means the modules do not exist, but if they were never in lsmod, what does it matter?02:34
sn9i said to save the entire dmesg to a file under both kernels02:35
niktaris_lapok I ll do that02:35
sn9diff those, looking for the first occurrences of acpi or apic or pci in the diff02:36
niktaris_lapok02:36
niktaris_laprebooting02:36
=== niktaris_lap [n=niktaris@ppp191-35.adsl.forthnet.gr] has joined #ubuntu-kernel
niktaris_lapsn9, fist thing that happens after card is inserted is ACPI: PCI Interrupt 0000:07:00.0[A]  -> Link [LNKC]  -> GSI 11 (level, low) -> IRQ 1102:43
niktaris_lapafter PCI: Enabling device 0000:07:00.0 (0000 -> 000202:44
sn9no diffs before it's inserted?02:44
niktaris_lap[17179569.184000]  Local APIC disabled by BIOS (or by default) -- you can enable it with "lapic"02:46
niktaris_lapin ubuntu 02:46
niktaris_lap[17179569.184000]  Local APIC disabled by BIOS -- you can enable it with "lapic"02:46
niktaris_lapin vanilla02:46
sn9that's the only diff before insertion?02:47
niktaris_lapfrom what I can see02:47
niktaris_laplet me check again02:47
niktaris_lapone diff is ACPI: Looking for DSDT ... not found!02:51
sn9on vanilla?02:52
niktaris_lapon ubuntu02:54
sn9and that line is just skipped on vanilla?02:55
niktaris_lapyes02:56
mjg59That code isn't in vanilla, hence the difference02:57
sn9but other than those two lines, the diffs only start after insertion, right?02:57
niktaris_lapafter the insetion I get ACPI: PCI Interrupt 0000:07:00.0[A]  -> Link [LNKC]  -> GSI 11 (level, low) -> IRQ 1102:59
sn9i'll take that as a yes02:59
niktaris_lapthere is http://gaugusch.at/acpi-dsdt-initrd-patches/acpi-dsdt-initrd-v0.8.2-2.6.17.patch03:01
niktaris_lapmaybe this is included in ubuntu03:01
mjg59It is03:04
niktaris_lapmjg59, thanks 03:07
niktaris_laplet me apply this patch first and test again03:07
niktaris_lapthanks a million sn9 03:08
niktaris_lapthanks all03:08
sn9niktaris_lap: why did you want a vanilla kernel, anyway?03:08
mjg59That patch isn't going to change anything03:08
niktaris_lapmjg59, why?03:09
mjg59Because it's got nothing to do with the problem you have03:09
niktaris_lapsn9, I like vanilla kernels 03:09
mjg59Only three lines of it are actually running on your machine, and the only thing they do is print the message you're seeing03:09
mjg59niktaris_lap: Shame that they don't seem to work in this case...03:10
niktaris_lapmjg59, well something is different in ubuntu kernel . Since I use the same config I guess some patch does the diff. 03:11
niktaris_lapat least I found one :)03:11
mjg59There's several hundred patches in the Ubuntu kernel03:13
mjg59One of them causes the difference. I don't know which one, but it isn't that one.03:13
niktaris_lapmjg59, it would be nice if they where located someplace...03:14
sn9they are03:16
sn9if you apt-get source, you get them all03:16
mjg59They're in the git repository03:22
mjg59We don't keep them as independent patches03:22
zulwe use to but its more harder to maintain if we didnt use a git repository03:23
niktaris_laphave to go03:26
niktaris_lapthanks again. 03:26
=== 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
niktaris_laphi, I downloaded the git tree, how do I see the ubuntu specific changes?05:54
Keybukbisect it with other trees?05:54
niktaris_lapubuntu vs vanilla05:55
=== lfittl_ [n=lfittl@85-125-149-213.dynamic.xdsl-line.inode.at] has joined #ubuntu-kernel
niktaris_lapKeybuk, do I have to download the vanilla tree also ?06:15
Keybukniktaris_lap: I'm afraid I don't know git06:17
niktaris_lapKeybuk, me neither :)06:18
Keybuktbh, I've never understood why the kernel developers like it so much06:20
Keybukto me it's always seemed complicated and obtuse06:20
niktaris_lapI am just trying to find the ubuntu specific changes (aka patches06:22
niktaris_lapI hope someone is kind enough to walk me through06:23
Keybukthat's difficult to judge07:07
Keybuke.g. is ubuntu pulling the acpi tip an ubuntu specific change?07:07
mjg59Keybuk: Because its merging stuff is magic07:09
Mithrandirzul: what's the state of xen now?  You said some days ago you were going to package up some xen-restricted-modules?07:11
mjg59Keybuk: I merged acpi tip with our own acpi crack in under an hour, despite there being  158 of them07:11
mjg59Hm. That's not a good start.07:11
mjg59"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"07:12
=== crimsun [n=crimsun@dargo.trilug.org] has joined #ubuntu-kernel
mjg59There's 12GB free!07:12
=== 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
niktaris_laphi again, so there is no easy way of finding out what patches are applied in the ubuntu kernel ?09:18
Mithrandirniktaris_lap: patches compared with what?09:20
Mithrandirzul: do you have your xen repo online somewhere?09:20
niktaris_lapMithrandir, to vanilla09:20
niktaris_lapDebian would work also I guess09:21
Mithrandirniktaris_lap: download the kernel.org tree, download our tree, run diff -Nru09:21
Mithrandiror look at the git commit log and diff that with Linus's git tree09:21
mjg59But no, there's no trivial way to determine whether a given patch came from upstream or us09:21
niktaris_lapMithrandir, I downloaded ubuntu tree. Don't know how to download the vanilla git tree. where a the git commit logs located?09:22
Mithrandirniktaris_lap: "git log" gives you the commit logs, iirc09:22
Mithrandirzul: it looks like the xen kernel could benefit from having the bd_claim patch applied.09:23
niktaris_lapMithrandir, can I see the changes based on the commit number eg. commit cda2a116920d69ff82689b4f92e98e32d346c63209:24
=== 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
Mithrandirzul: also, where's the domU?10:41
=== nigel_c [i=nigel@nigel.suspend2.net] has joined #ubuntu-kernel

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