/srv/irclogs.ubuntu.com/2008/04/18/#ubuntu-kernel.txt

=== dashua`__ is now known as dashua
DB42to whoever fixed the usb quirk for the "microsoft sound system 80" thanks, it works perfectly now01:26
=== asac_ is now known as asac
=== TheMuso_ is now known as TheMuso
=== asac_ is now known as asac
=== alex_jon1 is now known as alex_joni
Johninkyhello all08:03
JohninkyCan I ask a quick question please, might take a long answer08:03
JohninkyHow can I take .inf file and create a driver for ubuntu 8.0408:04
Johninkyor would it work, I have tried ndisgtk and  ndiswrapper08:05
mjg59Johninky: You can't08:24
JohninkyI can what08:24
Johninkycant^^08:24
Johninkyoh never mind I was a little slow on that one08:25
Johninkysorry08:25
krautmoin09:02
DB42i moved from 7.10 to 8.04 in my laptop and now i have no wifi and no ethernet16:43
DB42can i downgrade to ipw3945 ? 16:44
DB42ipl is giving me lots of errors and isn't working16:44
DB42is there a ipw3945 .deb i can d/l for 8.04 ?16:46
DB42is there an IPW3945 PACKAGE for UBUNTU 8.04 ??16:53
rtgDB42: install linux-backports-modules in order to get iwlwifi 1.2.2516:57
DB42ok i've submitted bug report with my problem: https://bugs.launchpad.net/ubuntu/+bug/21926817:00
ubotuLaunchpad bug 219268 in ubuntu "iwl3945 doesn't work with my wifi card (ipw3945 did)" [Undecided,New] 17:00
DB42rtg: hmm17:01
rtgDB42: support in 1.2.25 for the 3945 is a little better.17:02
DB42rtg: which one is for the -generic ?17:02
DB42rtg: is there a way to revert to ipw /17:02
DB42for the time being ?17:03
DB42(without moving to 2.6.22)17:03
rtgDB42: ipw is gone.17:03
DB42no .deb package ? :|17:03
DB42i tried compiling it, no go17:03
DB42rtg: which backports do i need to install for 2.6.24-16-generic ?17:03
rtgDB42: try 'sudo apt-get install linux-backports-modules-hardy'17:04
DB42installing now17:05
DB42rebooting laptop, let's hope for the best17:05
DB42i need to do anything after instaling and before rebooting ?17:06
rtgDB42: nope17:06
DB42btw this is a backport from what ? 8.10 ?17:08
DB42:( same error17:08
DB42problem still there17:08
DB42it's 1.2.2517:09
DB42rtg: any other idea ?17:10
rtgDB42: looking...17:10
DB42btw, using wicd as network manager if it's of any use17:12
rtgDB42: what kind of AP connection are you trying to make? WPA Enterprise? Add that to the LP report as well as any noise from /var/log/syslog. Attach it to the LP report, not pastebin. I'll make sure Intel sees the bug report.17:14
DB42WPA yes17:14
DB42hmm.. i'll try an unsecure one, and see if it works17:15
rtgDB42: personal or enterprise?17:15
DB42personal17:15
mdzBenC: is it possible to do sysrq-like actions programmatically, e.g. through sysfs or proc?17:18
DB42rtg: another problem17:18
DB42my ethernet card isn't working in 2.6.24-16-generic as well ...17:18
mdzthere's /proc/sysrq-trigger...17:18
DB42hwlist -C networ tells me it's disabled17:18
BenCmdz: probably, but if the hang is "system", then I'm not sure that would help17:19
mdzBenC: yeah17:19
rtgDB42: the rt8139 is well supported. Is this an HP laptop?17:20
mdzis it possible to serially debug our kernel without modifications?17:20
BenCI'm getting a base install so I can run the erase command from command line17:20
DB42rtg: check the bug report, lenovo 3000 n10017:20
DB42it's an 8139too driver17:20
DB42i connect a ethernet cable and i don't get in dmesg "link up or down" but the module for 8139too is loaded17:21
rtgDB42: i see it now. Is the cable plugged in (since you've been using wireless) ?17:21
DB42yeah17:21
rtgDB42: never mind17:22
DB42it's plugged in, but doesn't apear in ifconfig17:22
DB42and nothing in dmesg17:22
BenCcjwatson, soren: does blockdev-wipe run on the physical drive, or on the encrypted lvm?17:22
mdzBenC: the former17:22
rtgDB42: 'ifconfig -a' ?17:23
BenCSo the fact that this happens for encrypted is just that blockdev-wipe gets run when it normally doesn't17:23
mdzBenC: well, it runs on the device underlying the encrypted one, AIUI17:23
DB42rtG: i see eth0 and eth117:23
mdznot the physical drive but an unencrypted block device17:23
BenCmdz: so the wipe isn't being encrypted, right?17:23
rtgDB42: eth0 is likely the realtek controller.17:23
DB42yeap17:23
BenCok17:23
DB42check my dmesg on the bug report17:23
mdzBenC: I think not, but I don't have it in front of me17:24
DB42it has the RealTek anme there17:24
mdzalt+f2 during the erase and ps17:24
rtgDB42: what happens if you 'sudo ifconfig eth0 up'17:24
DB42rtg: i need to go to a place with ethernet connection and check :)17:24
DB42sec17:24
mdzBenC: lib/crypto-base.sh:crypto_wipe_device in partman-crypto17:25
mdzBenC: seems to say it is in fact writing through dm-crypt when it does the wipe17:26
DB42rtg: thanks, eth works now17:26
rtgDB42: so, pluggin it in to a switch fixed it?17:27
DB42no17:27
DB42ifconfig eth0 up did17:27
rtgDB42: hmm. Are you running NetworkManager?17:27
DB42no, as i said i'm using wicd17:27
rtgDB42: wicd only works on wireless, right?17:27
DB42NM didn't work well with my wireless card in 7.1017:27
DB42nop, wired as well17:28
rtgDB42: you ought to try NM again. maybe it'll work better with the i3945.17:28
DB42rtg: i'm trying to conect unencrtyped now and see if it's ok17:29
DB42how so ? the problem is in the microcode..17:29
DB42and when i boot to 2.4.22 for wifi now (on 8.04) i still need the wicd17:29
DB42and i can't have them both17:29
rtgDB42: indeed, but it could be a function of the kind of packets being transmitted. who knows.17:29
BenCmdz: so does d-i call blockdev-wipe for this progress?17:29
mdzBenC: yes17:30
rtgDB42: you could boot with the lice-cd and try it. that way you don't have to re-install.17:30
rtgs/lice-cd/live-cd/17:30
DB42rtg: i rather d/l it when the final is out :|17:30
mdz        /bin/blockdev-wipe -s 65536 $dev > $fifo &17:31
DB42also don't have media to burn it on17:31
mdz[...]        while read x <&9; do17:31
mdz                db_progress STEP 117:31
rtgDB42: the RC was announced an hour ago.17:31
DB42btw, i reported a bug in my sound card and did a system update 2 days after, and the bug disappered :)17:32
DB42that was pretty cool17:32
rtgDB42: probably a function of updated ALSA in LUM.17:32
BenCmdz: I can't get blockdev-wipe to reproduce from command line17:33
DB42the model i had needed to be added to usbquirks.h or so17:33
DB42(it worked ok in 7.10, but not in 8.04)17:33
mdzBenC: soren was trying that as well17:34
BenCThe fact that blockdev-wipe output is useless after 24 lines doesn't help either17:35
BenCwonder if I can easily wrap it in some shell script to put the asterisks on a single line instead of separate17:35
CYREXI see that the release candidate includes the 2.6.24-16.30 of Ubuntu but will the final version include Kernel 2.6.25 since it came out yesterday17:36
mdzBenC: | grep -n --line-buffered ''17:36
DB42CYREX: how so ?17:36
rtgCYREX: no17:36
DB42CYREX: 8.04 is freezed already17:36
CYREXis frozen mean no kernel changing17:37
DB42mean no change at all besides bug fixes17:37
DB42mean no change at all besides bug fixes17:37
CYREXoki thank you17:37
BenCmdz: not particularly supported by busybox grep17:38
BenC:)17:38
mdzoh, you're in d-i17:38
BenCfigure that's the best way to repro it17:38
mdzBenC: |while read x; do date; done ?17:38
mdzor similar17:39
DB42rtg: i'm trying a manual connection, how do i list SSIDs ?17:40
rtgDB42: sudo iwlist wlan0 scanning17:43
DB42i get "Failed to read scan data: Resource temporarily unavilable"17:44
rtgDB42: probably because the firmware has crashed.17:45
DB42tried removing / reloading the iwl, didn't help ..17:46
DB42i'll try restarting with no wifi, seing if it helps17:47
DB42how do i blacklist auto-loading of iwl3945 @ boot ?17:47
DB42(in kernel boot lie)17:47
BenCmdz: | while read x; do echo -n "$x"; done17:51
rtgDB42: add it to /etc/modprobe.d/blacklist17:51
BenCthat worked17:51
DB42rtg: yeah i wanted it in boot though (since i already reboot)17:52
DB42but nm, i did a check17:52
DB42it happens as soon as i type in CLI "iwlist eth1 scan" without even using a network manager17:52
DB42i updated my bug report to reflect it17:52
DB42https://bugs.launchpad.net/ubuntu/+bug/21926817:53
ubotuLaunchpad bug 219268 in ubuntu "iwl3945 doesn't work with my wifi card (ipw3945 did)" [Undecided,New] 17:53
DB42welp for now i guess i'll go back to 2.4.2417:54
DB42i mean 2.6.22 ... :)17:54
DB42rtg: no .deb package no backport no nothing for ipw ? :|17:54
rtgDB42: nope. the regulatory daemon is gone.17:55
DB42what is "LBM" and "LUM" ?17:57
rtglinux-backports-modules, linux-ubuntu-modules17:57
DB42k17:58
DB42now for the big test, checking if hibernation is fixed in 8.04 for my laptop :)17:58
DB42yippy18:06
DB42cool, the cpu fan seems to work after hibernation18:06
DB42it didn't in 7.1018:06
DB42so rtg need anything else for my report ?18:08
DB42will the intel people respond on the bug report itself ?18:08
rtgDB42: they might, but I think they are losing interest in 3945 in favor or more recent adapters (4965)18:09
DB42ouch :(18:10
DB42well if this isn't a specific case of mine, there are still lots of people with 3945 out there (the lenovo 3000 n100 is popular i belive)18:11
DB42i also think it might be tramuatic for some users that load ubuntu and won't have wifi18:11
rtgDB42: it doesn't fail for everyone, but I have seen the microcode issue before.18:11
DB42is there any documentation of the chipset that can tell me what is that specific error ?18:12
rtgDB42: not that I'm aware of18:12
BenCmdz: I'm starting to wonder if this is a blockdev-wipe issue...from one run to the next, it goes at different speeds18:13
BenClike now I'm at 47%, and it would have been done by now on the run before this18:13
mdzBenC: what are you using for the source? urandom?18:14
mdzBenC: there's some debugging available if you recompile it, but it's pretty dead simple18:16
BenCmdz: the stock d-i one, so it's /dev/zero18:17
BenCmdz: does d-i use default /dev/zero, or does it -f=/dev/urandom?18:17
mdzBenC: urandom, I believe18:17
BenCwhere is the d-i log kept nowadays?18:17
mdzBenC: oh, nm18:18
mdzit's using /dev/zero, but writing through a random cryptoloop18:18
BenCok18:18
mdzso blockdev-wipe writes zeros, but what gets written to the device should be random18:18
BenCok18:18
mdzmaybe the intervening cryptoloop is what's getting hung up18:18
mdzare you setting that up in your test environment?18:19
BenCwell, what gets written isn't really random, just encrypted 0's18:19
* BenC chuckles at encrypted 0's18:20
rtgBenC: maybe it would go faster with unencrypted zeroes :)18:21
BenC-f=/dev/unencrypted-zeroes18:22
BenCENODEV18:22
BenCmdz: I'm using the devices setup by d-i18:27
BenCswitching to console18:27
BenC...after partman runs18:28
mdzBenC: well, it's encrypting with a random key from /dev/urandom, so it should be pretty random18:30
mdzI wonder why it does it this way rather than just writing random data to the device18:30
BenCOk, I just got a completely different hang18:30
mdzstraight from /dev/urandom to whatever without going through device-mapper18:30
BenCduring dhcp...keyboard started it up again...18:30
BenCwonder if that's a red herring, or for real hang like we are seeing otherwise18:31
BenCwhoope, nope, same hang repeated18:32
BenCmdz: Ok, this isn't blockdev-wipe related then18:32
BenCI got network dhcp screen to hang twice in a row18:33
BenCstayed at 100% until I hit shift key18:33
* BenC starts to blame kvm18:33
BenCand note that even though nothing in d-i uses the mouse, the kernel and kvm both pay attention to it, so that would explain the kickstart from it as well18:34
mdzBenC: others (including jdstrand) have reported hangs in other parts of the installer18:34
BenC3 times dhcp hung...18:34
mdzeven before partitioning18:34
BenCshift key reliably starts it back up18:35
mdzthere is, as far as I know, only one unconfirmed report of this happening outside of KVM18:35
BenCright, so I'm thinking these are two separate bugs18:35
BenCOne in kvm (dunno if it's userspace or kernel), and one on that specific bit of hardware18:36
BenCI'm going to try this -server install on some hardware to try and reproduce18:36
mdzBenC: dendrobates said that mathiaz experienced some mysterious unreproducible hangs on real hardware when doing server enablement, but I have no information18:37
BenCBringing dendrobates here, hopefully hash this out a bit more18:37
* BenC summons the frog18:37
mdzI pasted him a log excerpt18:38
dendrobates-BenC: here18:41
mdzdendrobates-: I can always tell when you're here because my xchat-gnome window resizes to accomodate your nick18:41
=== dendrobates- is now known as dendrobates
mdzkirkland: are you able to reproduce this easily?18:45
kirklandmdz: I have not reproduced this at all18:45
kirklandmdz: I've only tried on real hardware18:45
mdzah, I see18:45
BenCdendrobates: I reproduced the hang...but, I was able to reproduce it during dhcp as well as during crypt erase18:45
kirklandmdz: and with a 300G drive, the device zero'ing takes FOREVER18:46
mdzBen and I are starting to think that the primary bug here is kvm-specific18:46
mdzand there may be a separate issue or two which are hardware-specific18:46
mdzkirkland: you can manually adjust the size of the device to mitigate that; I did it yesterday18:46
BenCdendrobates: so this isn't specific to blockdev-wipe usage...which leads to believe even more than what we are seeing in kvm is not likely the same bug as what was reported on real hw18:46
kirklandBenC: have you given any thought to the empty entropy suggestion one commenter gave?18:47
dendrobateseven in kvm it is not limited to blockdev-wipe.18:47
BenCkirkland: blockdev-wipe uses /dev/zero, and a key, so there's no entropy involved18:47
BenCkirkland: plus, it's not just during that operation18:48
kirklandBenC: right, my question is probably more d-i specific...  anywhere else in the installer that might rely on /dev/random?18:48
mdzkirkland: not on a recurring basis18:48
dendrobatesboth jdstrand and I are seeing it appear at various places during the install, but it always occurs during blockdev-wipe.18:48
kirklandparticularly something that might have been introduced in hardy, since this is looking like a regression since gutsy18:48
mdzI think the encryption aspect is a red herring18:49
dendrobatesmdz: I do as well.18:49
mdzthe installer just spends a lot of time (and makes a lot of system calls) there18:49
dendrobatesAll I know for sure is that it is easy to reproduce with lvm+crypt.18:50
BenCI'm going to try and reproduce under kvm on gutsy18:53
BenCthat should give us a reliable answer18:53
dendrobateswe have already tried to reproduce it installing Gutsy on a Hardy kvm, with no success.  That seems to point to someting in Hardy.18:54
BenCdendrobates: Ok, I'll try the other way (install hardy on gutsy)18:55
BenCdendrobates: but yeah, that's an interesting point too18:55
dendrobatesI am going to try a pre-beta hardy image.18:56
dendrobatesI have a daily build from dec-518:57
BenCAll I have are 32-bit 7.10 CD's18:58
BenCWhere are the gutsy live cd's?18:58
mdzBenC: http://releases.ubuntu.com/7.10/18:59
dendrobatesBenC: can't you reproduce it in 32bit?18:59
BenCthanks18:59
BenCdendrobates: I'm sticking with what soren told me...haven't tried 32-bit yet :)18:59
BenCwell, I did on my laptop, but it wouldn't repro there19:00
dendrobatesBenC: OK, it does not seem to matter though.19:00
BenCThat's an interesting regression19:04
BenChardy nv driver only does 800x600 on my plasma screen, while gutsy starts up at 1280x102419:04
BenCOk, I happen to have 32-bit handy, so I'll try that19:07
dendrobatesI was not able to reproduce it with an older hardy iso, but,  the hardy daily from Dec does not do the erase on lvm+crypt, which is the most reliable way I have found to reproduce it.19:12
dendrobatesmdz: do we have an archive of the daily builds somewhere?19:13
dendrobatesor the alpha releases?19:14
mdzdendrobates: slangasek would know19:15
mdzI'm sure we do, but I don't know where19:15
mdz(of milestones at least)19:15
=== mdomsch is now known as fedora_linux_mdo
=== fedora_linux_mdo is now known as fdr_lnx_mdomsch
=== rikai_ is now known as rikai
BenChmm19:54
=== fdr_lnx_mdomsch is now known as fedora_mdomsch
BenCThis might not be possible to test19:54
BenCGutsy kvm doesn't support the gfx boot it seems19:55
JanCBenC: there is a sed line to "fix" the gfxboot issue19:56
JanC(if that's useful)19:56
BenCSure19:56
dendrobatesB$ sed -e 's/GFXBOOT bootlogo/#FXBOOT bootlogo/g' < ubuntu-7.10-server-amd64.iso > ubuntu-7.10-server-amd64-nogfxboot.iso19:57
BenCdendrobates: thanks19:57
dendrobatesa little brutish, but it works.19:57
BenCcan I hexedit it instead? :)19:57
JanCit's documented on https://wiki.ubuntu.com/KvmVirtManagerEtc#head-80f0e334a1de270252f62ac69183da2ed58edf3f 19:58
JanC(the sed line)19:58
JanCBTW: does anybody know when vmware server & which version will be available for hardy?  (question from someone I know who uses it professionally)19:58
BenCyep, hexedit is much faster, it solved it, thanks20:02
arcticpenguin380what processor is ubuntus kernel optimized for?20:07
JanCarcticpenguin380: depends on which kernel you mean  ;)20:08
arcticpenguin380hardys.20:08
JanChardy has several kernels included20:09
JanCbut -generic kernel is optimized for 686 IIRC20:09
arcticpenguin380are all hardys kernels 2.6.24?20:09
JanCyes20:09
arcticpenguin380oh and is ext4dev compiled?20:11
JanCI don't think so20:14
JanCwell, /proc/filesystems doesn't list it20:15
BenCsoren: is there supposed to be a way to make kvm emulate 64-bit when running under a 32-bit kernel?20:43
BenCotherwise, I gotta download a 32-bit -server CD :/20:44
sorenBenC: No can do.21:13
BenCOk, I'm off, and will return in a few hours to continue tracking this down (and over the weekend)21:35
DB42rtg: here ?21:47
DB42rtg: http://ubuntuforums.org/showthread.php?p=4612681 fixes the problem21:48
=== doko_ is now known as doko
=== fedora_mdomsch is now known as mdomsch
sn9is anybody actively working on Bug #88746? if so, i'm willing to provide needed info22:26
ubotuLaunchpad bug 88746 in linux-source-2.6.22 "ehci_hcd module causes I/O errors in USB 2.0 devices" [Undecided,Invalid] https://launchpad.net/bugs/8874622:26
sn9having usb2 broken in feisty, gutsy, _and_ hardy is a bit much22:27
sn9for perspective, i've had the very same issue on a different machine with a different chipset, a different usb device, and a different distro22:31
sn9the common element appears to be multifunction usb devices22:31
crimsundo any of the workarounds ... work for you?22:32
sn9modprobe -r ehci-hcd22:33
crimsunso in the absence of a fix that works for everyone, you at least have a viable workaround22:33
sn9the rest are a bit hard to keep track of22:34
sn9and that workaround is NOT viable, just like the bug comments say22:34
sn9after all, apparently that workaround _does_ work for _everybody_22:35
crimsunthat's precisely what I mean.22:36
crimsun/you/ have a viable workaround.22:36
sn9huh?22:36
crimsunI asked if any of the workarounds work for /you/, and you responded with "modprobe -r ehci-hcd"22:36
crimsun(obviously it's not preferable)22:37
sn9but you said "in the absence of a fix that works for everyone" -- either there's no such absence or there's no such fix22:37
sn9there's a reason ehci-hcd isn't just blacklisted by default22:39
crimsunas we're both well aware, and I have no interest in arguing22:39
sn9so far, i have not encountered any machine with an amd cpu where ehci-hcd works with a multifunction usb device22:40
sn9strangely, it seems ok on p4's22:40
sn9what i'm interested in is contributing to whatever efforts to fix this issue once and for all22:45
tjaaltoncrimsun: any fix on the horizon for snd_hda_intel suspend/hibernate issue (needs to be removed after resume, otherwise no sound)?22:45
crimsuntjaalton: I don't head up sound anymore (and haven't for a year).  What's the issue?22:47
crimsuntjaalton: meaning, I need to know what HDA codec/model is affected22:47
tjaaltoncrimsun: oh sorry.. let's see..22:47
tjaaltoncrimsun: 8086:293e I guess22:48
crimsunneed the line afterward.22:48
crimsun(`lspci -nv|grep -A1 0403')22:48
tjaaltonSubsystem: 1043:829f22:49
crimsunI can guess that's a Realtek, but can you confirm by looking in /proc/asound/card0/codec#0?22:50
tjaaltonyeah.. Realtek ALC88322:51
tjaaltonshame on intel..22:51
crimsuntjaalton: ok, please pastebin that codec spew.22:52
tjaaltoncrimsun: http://pastebin.ubuntu.com/7440/22:53
crimsunthanks, looking22:53
tjaaltondoes it need some hal/suspend quirk?22:53
sn9hmm, i just tried a suspend, and no more sound...22:54
sn9ALC88522:54
crimsuninteresting, there's no unmute for autoconfig22:58
crimsuntjaalton: I presume you're not passing a model= in /etc/modprobe.d/* ?22:58
tjaaltoncrimsun: nope22:59
sn9i know i'm not -- it gets config from the bios22:59
crimsuntjaalton: ok, I'll ping you.  Looking closer.23:04
tjaaltoncrimsun: excellent, thanks23:05

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