/srv/irclogs.ubuntu.com/2010/02/15/#ubuntu-kernel.txt

=== nick_ is now known as Guest46551
|MA|hi all08:43
|MA|I have a kernel buil related issue08:43
|MA|http://paste.ubuntu.com/376717/08:44
|MA|any thoughts how i can fix it ?08:44
smbInstall ncurses-dev08:45
|MA|libncurses5-dev is already the newest version.08:46
|MA|0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.08:46
ghostcubesmb: i send him here cause i didnt know how to help any firther :)08:47
ghostcubefurther even08:47
smbMaybe some other headers it does not complain about... 08:48
smbLike complete build-essentials...08:48
|MA|E: Couldn't find package build-essentials08:49
smbErr, sorry without s at the end08:49
smbbuild-essential08:49
|MA|build-essential is already the newest version.08:50
|MA|0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.08:50
|MA|I did even build the kernel 2 days back08:50
smbIs your pastebin output all that gets out? Tried "make V=1 menuconfig"08:50
|MA|running that too ... Linux manu-04 2.6.31.6-ma3 #1 SMP Sat Feb 13 14:16:22 GST 2010 x86_64 GNU/Linux08:50
|MA|since yesterday, it is behaving thus08:51
smbIs /usr/include/ncurses.h still there?08:52
|MA|ok, here it is: http://paste.ubuntu.com/376736/08:52
|MA|http://paste.ubuntu.com/376737/08:53
|MA|It is there, yes08:53
smbFor me that would be a link (which could be broken) but to get the real error you might temporarily edit linux-source-2.6.31/scripts/kconfig/lxdialog/check-lxdialog.sh08:57
smband remove the 2>/dev/null in that line $cc -xc - -o $tmp 2>/dev/null <<'EOF'08:58
|MA|I will temporarily comment it out08:59
smbThe line itselfs must be there09:00
|MA|http://paste.ubuntu.com/376741/09:00
smbSounds like you did the wrong thing to the script09:01
|MA|only the 2> ... ?09:01
|MA|let me try again09:01
smbcheck() {09:02
smb        # $cc -xc - -o $tmp 2>/dev/null <<'EOF'09:02
smb        $cc -xc - -o $tmp <<'EOF'09:02
smbor like that09:02
|MA|wow, it comes up again.. let me but paste you the output09:03
|MA|http://paste.ubuntu.com/376742/09:04
|MA|thanks09:04
smbHm, not really what we wanted09:05
smbIn theory this should just let the error messages go past09:05
|MA|but it now works at least09:05
smbCan you do a make clean and then a make with V=1 again?09:05
|MA|sure, moment09:05
|MA|here it is: http://paste.ubuntu.com/376746/09:08
|MA|this is with the commented out stuff in the kernel build script09:09
smbHm, now your lines between check() and the include might be interesting. But one other thing, I saw you do a sudo. Might it be you just have a permissions problem? Like written the directory as root?09:12
|MA|not a permissions problem. Was doing everything with sudo09:13
|MA|except for the one in between09:13
smbOk (though feels a bit dangerous to me, but then not the problem). Can you paste me your lines of the check script then? Should only be three or four so the channel is ok09:14
|MA|here it is : http://paste.ubuntu.com/376750/09:16
smbIts quite weird, the change only should make the error messages from the check script go to stderr instead of being suppressed. And the check itself looks at the error code from the call, which should be unaffected. So between before and after it still should fail the same.09:18
|MA|but now it works for me09:19
smbDoes changing the cc line into "$cc -xc - -o $tmp 2>/tmp/check.log <<'EOF'" make a difference?09:19
|MA|you mean reverting back ?09:19
smbPartially. Instead of writing to /dev/null write to /tmp/check.log09:20
smbWhich brings up a weird thought. What does 'ls -la /dev/null' produce?09:20
|MA|manu@manu-04:/usr/src/linux-source-2.6.31$ ls -la /dev/null09:21
|MA|crw-rw-rw- 1 root root 1, 3 2010-02-15 00:13 /dev/null09:21
smbOk, nothing wrong with that09:21
|MA|ok, works as well, with the changed script09:21
smbI bet, if you change it back to how it was, it works as well09:22
|MA|nothing in /tmp/check.log though09:22
smbAnd actually, when I look at your initial posting:09:23
smbmanu@manu-04:/usr/src/linux-source-2.6.31$ make menuconfig09:23
smb^ no sudo there09:23
|MA|uh09:24
|MA|dang09:25
smb:)09:25
|MA|but :09:25
|MA|changed back09:25
|MA|http://paste.ubuntu.com/376756/09:26
|MA|same old thing09:26
|MA|should i change it back to /tmp/foobar ?09:27
|MA|eargh .... /me goes nuts09:27
smbSeems like a very odd thing that writing to /dev/null would fail while other tings work09:28
|MA|I am out of my wits end09:29
smbAnd its probably something not too many try out as root. Most are to paranoid to have the compile run as root09:29
|MA|my machine is a devel machine, where i err .. work on some drivers ... I am not too paranoid ... There were much more things to be paranoid such as HDD's getting fscked etc etc09:31
|MA|-were +are09:31
|MA|If i could get this thing up at the earliest i could get back to my work on some shiny new drivers ..09:32
|MA|:)09:33
smbTrue. And I usually have the tree not that way, so I would not notice oddness. I can try out to have it that way. One thing in general, have you ever tried to get the sources with "apt-get source linux-image-2.6.31-x-generic"? That way you also have the debian build environment with it and the default configs...09:34
smbI'll try whether having the tree as root shows the same problems here09:34
|MA|that's what I did initially, but I had to tweak some settings such as MSI-X and some others09:34
|MA|as well as some more kernel hacks09:35
|MA|that would be great. Thanks a lot09:36
|MA|at least I am able to get back to get it up at least09:36
|MA|Other than that, I am  a bit annoyed with the nvidia post install script as well. kernel install failed earlier, then i had to remove the nvidia-common package09:37
|MA|which helped me to get the kernel installed09:37
|MA|so many new hassles introduced ... wasting a lot of precious time09:37
smbYes, I'd probably use the /tmp/foo variant. You could base on apt-get source version for your work and make tweaks to debian.master/config 09:38
|MA|also applications such as acroread doesn't work. You know: evince and such applications do not open all the PDF file formats, that's to add to the yuck's09:38
smbNot sure what the problem with the post install is. But usually most things are set to work with the .debs produced by compiling the debian way.09:39
|MA|all these made me pull out my hair a lot, it took me 2 days to get the system up, as opposed to a few hours as of earlier versions09:39
smbAnd acroread, well... Seems to work for me, which is likely not much help09:40
|MA|well anyway, I got to get it going with a virtual host machine and used acrobat reader there. No other alternative ...09:40
|MA|since some of the document would open there alone, due to security reasons09:41
smbsecurity reasons? So a make menuconfig works for me here. Could it be you got some security framework active that might be over restrictive?09:45
|MA|by security reasons, I mean protected documents from some people that i receive. Those documents seem to open only with acroread and hence.09:46
smbahh ok, misunderstanding there, then09:46
|MA|some nastiness in those docs. They are sometimes password protected; then you can't copy/paste etc09:47
|MA|so regular pdf readers don't handle all those stuff09:48
|MA|and hence the document in some cases don't open up, or look like some Martian languages, like fully clobbered up09:48
|MA|in short, if you seriously use PDF docs, acroread is in some case unavoidable09:49
smbHad something like this. But in my case evince was able but acroread wasn't (due to fonts). But in generall acroread works on this system09:49
|MA|unless other apps catch up09:49
smbAs well as I cannot reproduce your strange problem with the compile.09:50
|MA|I have been going through real weirdness. Don't just remind me of it09:50
|MA|and that too, when you just want to get something moving really fast09:51
smbUnfortunately that happens usually whenever you want something done fast... :/09:51
|MA|true: murphy is there to strike at will09:52
smbOne thing you could check is apparmour_status. Not really expecting something there, but...09:52
|MA|I had disabled apparmour completely09:53
|MA|not wanting to have such stuff on a development machine09:53
|MA|i would more or less term it as an open frame machine ... ;-)09:53
|MA|where i can swap the hardware, cards in really fast09:54
smbWell, that should be possible with or without apparmor. :) But at least without it it cannot be any reason for strangeness09:55
|MA|yup :)09:55
smbJust for a test. When you are root. Can you do a echo bla >/dev/null?09:55
|MA|sec09:55
|MA|yes, i can 09:56
|MA|manu@manu-04:~$ sudo echo blahblah >/dev/null09:56
|MA|[sudo] password for manu:09:56
|MA|manu@manu-04:~$09:56
smbNo, do the sudo -i before09:57
smbThat way null is opened as the user09:57
|MA|yup09:58
|MA|root@manu-04:~# echo blahblah >/dev/null09:58
|MA|root@manu-04:~#09:58
smbThen I must admit, I cannot really help as I have no clue what might be wrong, sorry.09:59
|MA|but anyway, you have been a big help. At least I can get going on it09:59
|MA|thanks again09:59
smbYeah, at least some workaround. Though it feels like "quick backup all your work, this machine is odd"...10:00
|MA|I have all my work, except for the kernel builds on a completely separate hdd10:01
|MA|even in case something causes a freeze and fscks my /10:01
smbOk, very reasonable for a development box. :)10:02
=== nick_ is now known as Guest98440
crimsunooh, exmap is fixed19:44

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