Bug#630104: [kfreebsd] pstree -a: /proc/19/cmdline: Bad address
Typical kfreebsd-amd64 experimental system, kernel = kfreebsd-image-8.2-1-amd64 8.2-1.1. When I try to run pstree -a, I get: $ pstree -a /proc/19/cmdline: Bad address Indeed: $ ps 19 PID TTYSTATTIME COMMAND 19 ? S+ 0:00 [flowcleaner] $ cat /proc/19/cmdline cat: /proc/19/cmdline: Bad address By contrast, getting the commandline from ordinary processes works okay: It is upstream regression w.r.t 8.1 kernel. Seems be due to http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/compat/linprocfs/linprocfs.c.diff?r1=1.152;r2=1.153;f=h The FreeBSD kernel 8.1 returns process name, the linux kernel returns empty string for kernel-only processes. The kernel-only processes shoudl be handled specially, the fix should go also for environ. Petr -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/alpine.lrh.2.02.110622280.27...@sci.felk.cvut.cz
Bug#630107: [kfreebsd] cannot configure grub-pc (error: cannot find a GRUB drive for /dev/ad0s1)
2011/6/11 Jonathan Nieder jrnie...@gmail.com: Generating grub.pc ... Found kernel of FreeBSD: /boot/kfreebsd-8.2-1-amd64.gz Found kernel module directory: /lib/modules/8.2-1-amd64 /usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/ad0s1. Check your device.map ls: cannot access /lib/modules/8.2-1-amd64/unknown.ko: No such file or directory What filesystem(s) are you using? -- Robert Millan -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/banlktikwa4bhwokbe23gjvnqpmkeyst...@mail.gmail.com
Bug#630107: [kfreebsd] cannot configure grub-pc (error: cannot find a GRUB drive for /dev/ad0s1)
2011/6/11 Jonathan Nieder jrnie...@gmail.com: /usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/ad0s1. Check your device.map ls: cannot access /lib/modules/8.2-1-amd64/unknown.ko: No such file or directory What filesystem(s) are you using? Only one slice, UFS. Did you check your device.map? Try regenerating it (grub-mkdevicemap). Also please check wether grub 1.98+20100804-14 (from squeeze) also suffers from this problem. -- Robert Millan -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/BANLkTimdbYt44=2-tg+ehqeaq6wreny...@mail.gmail.com
Bug#630107: [kfreebsd] cannot configure grub-pc (error: cannot find a GRUB drive for /dev/ad0s1)
Robert Millan wrote: Did you check your device.map? Try regenerating it (grub-mkdevicemap). My device.map is in the original message. It has one line: (hd0) /dev/ad0 Running grub-mkdevicemap does not change it. Also please check wether grub 1.98+20100804-14 (from squeeze) also suffers from this problem. Is that necessary? Please see Bug#612128 for context (1.98+20100804-14 worked okay and did not use libgeom) if some is needed. Are you unable to reproduce this with libgeom0 and the kernel from experimental? -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/2011063050.GB25268@elie
Bug#630107: [kfreebsd] cannot configure grub-pc (error: cannot find a GRUB drive for /dev/ad0s1)
Hi again, Robert Millan wrote: 2011/6/11 Jonathan Nieder jrnie...@gmail.com: Is that necessary? Please see Bug#612128 for context (1.98+20100804-14 worked okay and did not use libgeom) if some is needed. Yes. Thanks for looking into this. I'm a bit confused: camcontrol is just used for informational candy. You can check if it works by running it manually to determine e.g. size of /dev/ad0, but it's not related to your grub-probe problem. Yes, Bug#612128 was not about camcontrol, despite the misleading title. I pointed to it to mention that I used 1.98+20100804-14 in the past and it worked fine. grub-probe in squeeze doesn't use libgeom, it was introduced in this commit: Yes, that's what I just said. :) If it's a regression, it could be a bug in GRUB or maybe it's a silent ABI bump (I'd check if a GRUB rebuild helps). As I mentioned, after downgrading libgeom0 to 8.1-5, everything works fine. Upgrading libgeom0 to 8.2-2 and running dpkg-reconfigure grub-pc reproduces the problem again. Why would a GRUB rebuild help? My previous question about whether this is reproducible on other people's machines was not rhetorical. It would be a new symptom, which could help me in investigating. -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/2011065903.GA25851@elie
Bug#630107: [kfreebsd] cannot configure grub-pc (error: cannot find a GRUB drive for /dev/ad0s1)
2011/6/11 Jonathan Nieder jrnie...@gmail.com: If it's a regression, it could be a bug in GRUB or maybe it's a silent ABI bump (I'd check if a GRUB rebuild helps). As I mentioned, after downgrading libgeom0 to 8.1-5, I was referring to grub-common. Upgrading libgeom0 to 8.2-2 and running dpkg-reconfigure grub-pc reproduces the problem again. AIUI you don't need to run the package scripts, you should be able to reproduce this with: grub-probe -t drive / Why would a GRUB rebuild help? It would help us weed out the possibility that there's an ABI inconsistency (exposed when building GRUB with libgeom 8.1 and running it with libgeom 8.2). But that's just one possible cause. -- Robert Millan -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/banlktik3_bc-1an6cwropns_csomtz8...@mail.gmail.com
llvm-2.9 build failure on kfreebsd-*
Hi all! I have managed to do some tests on that build failure (that now happens as well on my local box/vm). The testsuite still hangs when started like python /build/llvm-2.9-ETVRmI/llvm-2.9-2.9+dfsg/utils/lit/lit.py -v . just at the last testcase. However if I run it with -j1 it finishes: Testing Time: 352.73s Failing Tests (1): LLVM :: CodeGen/X86/2010-06-14-fast-isel-fs-load.ll Expected Passes: 5261 Expected Failures : 46 Unsupported Tests : 534 Unexpected Failures: 1 I haven't managed to get the package's build system accept the patch right now however. Still trying. Regards Christoph -- 9FED 5C6C E206 B70A 5857 70CA 9655 22B9 D49A E731 Debian Developer | Lisp Hacker | CaCert Assurer A. Because it breaks the logical sequence of discussion Q. Why is top posting bad? pgpISUfSbKg2R.pgp Description: PGP signature
Bug#630107: [kfreebsd] cannot configure grub-pc (error: cannot find a GRUB drive for /dev/ad0s1)
Robert Millan wrote: 2011/6/11 Jonathan Nieder jrnie...@gmail.com: As I mentioned, after downgrading libgeom0 to 8.1-5, I was referring to grub-common. What does that have to do with the price in China? I already explained that (with a different kernel) grub-common at the version in testing works fine. With the current kernel I haven't tested that yet but it's on my list of things to do. I guess I will be investigating this on my own --- we don't seem to be communicating and in particular I have no interest in doing make-work like dpkg --remove grub-pc-bin grub-common2 wget ...grub from testing... dpkg --install ...grub from testing... when you haven't answered the simple yes-or-no question of whether libgeom0 on experimental works on any machine other than my own. If it _does_ work on other people's machines, let's lower the severity to important and move on. Given time, I will happily look at the source code and try to figure out what's going on. AIUI you don't need to run the package scripts, you should be able to reproduce this with: grub-probe -t drive / Thanks for a useful tip. Why would a GRUB rebuild help? It would help us weed out the possibility that there's an ABI inconsistency (exposed when building GRUB with libgeom 8.1 and running it with libgeom 8.2). But that's just one possible cause. I'll try this. libgeom0 does not use versioned symbols so it seems like a long shot, but it's at least easy to do. :) -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110611192134.GA26635@elie
Bug#630107: [kfreebsd] cannot configure grub-pc (error: cannot find a GRUB drive for /dev/ad0s1)
Robert Millan wrote: I'd check if a GRUB rebuild helps. It does! I should never have doubted. After a rebuild, running grub-probe -t drive / with libgeom from unstable produces no output and exits with status 139 (sigsegv). I assume libgeom could benefit from a symbols bump in addition to a Breaks against the previous grub-common version. How about this patch, for grub2 in experimental? --- debian/changelog| 10 ++ debian/control |2 +- debian/shlibs.local |1 + 3 files changed, 12 insertions(+), 1 deletions(-) create mode 100644 debian/shlibs.local diff --git a/debian/changelog b/debian/changelog index 0260b3f..b0e80b6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +grub2 (1.99-6.1) local; urgency=low + + * Rebuild against libgeom 8.2 (thanks, Robert Millan): +- control: Build-Depends on libgeom-dev (= 8.2). + Works around: #630107. +- Add a shlibs.local file to work around an undeclared + change in the layout of struct gprovider. + + -- Jonathan Nieder jrnie...@gmail.com Sat, 11 Jun 2011 19:19:50 -0500 + grub2 (1.99-6) unstable; urgency=low [ Colin Watson ] diff --git a/debian/control b/debian/control index 290121b..415ef12 100644 --- a/debian/control +++ b/debian/control @@ -26,7 +26,7 @@ Build-Depends: debhelper (= 7.4.2~), libdevmapper-dev (= 2:1.02.34) [linux-any], libzfs-dev [kfreebsd-any], libnvpair-dev [kfreebsd-any], - libgeom-dev [kfreebsd-any], + libgeom-dev (= 8.2) [kfreebsd-any], libsdl1.2-dev [!hurd-any], xorriso (= 0.5.6.pl00), qemu-system [i386 kfreebsd-i386 kopensolaris-i386 any-amd64], diff --git a/debian/shlibs.local b/debian/shlibs.local new file mode 100644 index 000..c12e078 --- /dev/null +++ b/debian/shlibs.local @@ -0,0 +1 @@ +libgeom 0 libgeom0 (= 8.2) -- 1.7.5.4 -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110612005516.GA23908@elie
Bug#630107: [kfreebsd] cannot configure grub-pc (error: cannot find a GRUB drive for /dev/ad0s1)
Hi! On Sat, 2011-06-11 at 19:55:17 -0500, Jonathan Nieder wrote: Robert Millan wrote: I'd check if a GRUB rebuild helps. It does! I should never have doubted. After a rebuild, running grub-probe -t drive / with libgeom from unstable produces no output and exits with status 139 (sigsegv). I assume libgeom could benefit from a symbols bump in addition to a Breaks against the previous grub-common version. The problem is an ABI change as can be seen from: http://svnweb.freebsd.org/base/head/lib/libgeom/libgeom.h?r1=182843r2=202454 So the library needs the SOVERSION bumped. I'll do that and use the opportunity to add libjail too, now that we have to go through NEW. I'll try to check for other possible ABI changes on the rest of the libraries. regards, guillem -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110612012003.ga6...@gaara.hadrons.org
Processed: limit source to freebsd-libs, tagging 630107, tagging 629521
Processing commands for cont...@bugs.debian.org: #freebsd-libs (8.2+ds1-1) UNRELEASED; urgency=low # # * Bump libgeom SOVERSION from 0 to 1 and rename package libgeom0 to #libgeom1, due to ABI changes in âstruct gproviderâ. (Closes: #630107) # * Add new libjail library packages. Based on a patch by Robert Millan. #(Closes: #629521) # limit source freebsd-libs Limiting to bugs with field 'source' containing at least one of 'freebsd-libs' Limit currently set to 'source':'freebsd-libs' tags 630107 + pending Bug #630107 [libgeom0] [kfreebsd] cannot configure grub-pc (error: cannot find a GRUB drive for /dev/ad0s1) Added tag(s) pending. tags 629521 + pending Bug #629521 [freebsd-libs] add libjail Added tag(s) pending. thanks Stopping processing here. Please contact me if you need assistance. -- 629521: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629521 630107: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630107 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/handler.s.c.130785306821582.transcr...@bugs.debian.org