Re: [gentoo-user] Some problems while migrating to 64bit
On Tue, Sep 14, 2010 at 5:13 PM, wrote: > Jes??s J. Guerrero Botella [10-09-15 > 01:49]: > > 2010/9/13 : > > > 1.) The fonts of mrxvt are microscopic tiny...my home and .mrxvt > > >remained the same. Are fonts not reported to "world" when emerged? > > >What are the basic fonts I need before buying new glasses? > > > > Maybe you forgot some use flag or something. To use truetype fonts in > > mrxvt you need to turn that flag on. I also have no idea about mrxvt, > > but most terminal emulators read their configs from ~/.Xdefaults, > > check the mrxvt man page and/or docs. > > > > > > > 2.) Mouse does not work. Hald is up, fdi-rules are copied from my old > > >system, /dev/input/mice is there, gpm (started for a test) sees > > >the mouse, xf86-input-mouse is recompiled, dbus is running. > > >What's wrong? X.org.log reports "no device defined for mouse"... > > >my xorg.conf does not define such...but it is the same xorg.conf, > > >which works under 32bit env. > > >So > > > > So, latest Xorg doesn't use hal. I can't be sure since you are not > > telling us what xorg version you are using. Since 1.8 X uses udev > > instead. > > > > > http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.8-upgrade-guide.xml > > > > > > > 3.) Keyboard behaves somehow strange. German Umlauts works, but "|" > > >does not...it performs something like a crazy backspace or so. > > >And a UNIX without a working pipe is not really making me happy... > > > > If it happens only under X, then it's the same issue that you have > > with your mouse. Configure it using the new method. > > > > > > > 4.) As someone already reports to the list: k3b does not find any > > >burner, cdrom, dvd-drive. /dev/sr0 exist and is linked to dvd. > > > > Probably a k3b and/or udev issue. I can't help with this one. But I > > think I've seen something about k3b lately in the forums. Might worth > > a check. > > > > >I even can boot from dvd... > > > > That's nothing to do with linux, but your BIOS. A different land. > > > > > > Regards. > > > > > > -- > > Jesús Guerrero Botella > > > > Hi, > > thank you for your reply and explanations, Jesus! :) > > The problems are nearly gone in the meanwhile: The HAL-flag > was missing for the xorg-sevrer (1.7), after that mouse was > recognized and the keyboard was fully functional (with pipes) again. > > Fonts: I simply missed to install a couple of fonts. But why they > was not in my old "world" file...dont know. > > k3b: Fixed. It is an issue with dbus having not enough rights > to rebort to hald which again was used by a user-land application > like k3b. I "fixed" this by badly manipulation /etc/dbus-1/system.conf > (see other mail from me of today). > > So my system now seems to work under 64bit. Rendering becomes 30% faster! > Oh yeah! ;) > > Best regards, > mcc > > > So, in the long run, would you say you saved any time? How fast can you install fresh 64 bit gentoo compared to your hop-step-jump that you did? I'd be interested to know. -- Bill Longman
[gentoo-user] Internal error: Maps lock 14270464 < unlock 14274560
Hello, After a recent new gentoo install on a lenovo laptop I get during booting: Filesystem isclean * Remounting root filesystem read/write ... * Setting up the Logical Volume Manager ... Internal error: Maps lock 14270464 < unlock 14274560 Internal error: Maps lock 14274560 < unlock 14278656 Internal error: Maps lock 14278656 < unlock 14282752 Internal error: Maps lock 14282752 < unlock 14286848 Internal error: Maps lock 14286848 < unlock 14290944 * Setting up dm-crypt mappings ... [snip] Filesystem is clean I don't find other messages in /var/log/messages. Also the system seems to run fine. Has anyone seen these messages? Are they a false positive? Thanks, -- Valmor
Re: [gentoo-user] Some problems while migrating to 64bit
Jes??s J. Guerrero Botella [10-09-15 01:49]: > 2010/9/13 : > > 1.) The fonts of mrxvt are microscopic tiny...my home and .mrxvt > > remained the same. Are fonts not reported to "world" when emerged? > > What are the basic fonts I need before buying new glasses? > > Maybe you forgot some use flag or something. To use truetype fonts in > mrxvt you need to turn that flag on. I also have no idea about mrxvt, > but most terminal emulators read their configs from ~/.Xdefaults, > check the mrxvt man page and/or docs. > > > > 2.) Mouse does not work. Hald is up, fdi-rules are copied from my old > > system, /dev/input/mice is there, gpm (started for a test) sees > > the mouse, xf86-input-mouse is recompiled, dbus is running. > > What's wrong? X.org.log reports "no device defined for mouse"... > > my xorg.conf does not define such...but it is the same xorg.conf, > > which works under 32bit env. > > So > > So, latest Xorg doesn't use hal. I can't be sure since you are not > telling us what xorg version you are using. Since 1.8 X uses udev > instead. > > http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.8-upgrade-guide.xml > > > > 3.) Keyboard behaves somehow strange. German Umlauts works, but "|" > > does not...it performs something like a crazy backspace or so. > > And a UNIX without a working pipe is not really making me happy... > > If it happens only under X, then it's the same issue that you have > with your mouse. Configure it using the new method. > > > > 4.) As someone already reports to the list: k3b does not find any > > burner, cdrom, dvd-drive. /dev/sr0 exist and is linked to dvd. > > Probably a k3b and/or udev issue. I can't help with this one. But I > think I've seen something about k3b lately in the forums. Might worth > a check. > > > I even can boot from dvd... > > That's nothing to do with linux, but your BIOS. A different land. > > > Regards. > > > -- > Jesús Guerrero Botella > Hi, thank you for your reply and explanations, Jesus! :) The problems are nearly gone in the meanwhile: The HAL-flag was missing for the xorg-sevrer (1.7), after that mouse was recognized and the keyboard was fully functional (with pipes) again. Fonts: I simply missed to install a couple of fonts. But why they was not in my old "world" file...dont know. k3b: Fixed. It is an issue with dbus having not enough rights to rebort to hald which again was used by a user-land application like k3b. I "fixed" this by badly manipulation /etc/dbus-1/system.conf (see other mail from me of today). So my system now seems to work under 64bit. Rendering becomes 30% faster! Oh yeah! ;) Best regards, mcc
[gentoo-user] HAL permissions? (k3b sees no device at all)
Hi, while installing my 64bit Gentoo on base on the configuration of 32bit system I came across the problem, that k3b did not see any devices. HAD was running, butL: When "hal-devices" was executed as user "no devices found" (none! not single!) was reported, while executing the same command as root works fine. With strace I found that this was due to permissions problems dbus has. I "fixed" this by removing a section (found by diffing a configuration of and old but working version of dbus) from /etc/dbus-1/system.conf, without really knowing the impact. Now "hal-devices" also reports to a normal user. I added both system.conf files for your information to this email. "org.system.conf" is the file, which was originally installed and which does not work. "system.conf" is the hacked one, which work, but which may do other things (currently unkonw to me) things wrong. What is the correct way to fix permission problems (or access rights) in conjunction with dbus the correct way? Thank you for your help in advance! Best regards, mcc http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd";> system messagebus /usr/libexec/dbus-daemon-launch-helper /var/run/dbus.pid EXTERNAL unix:path=/var/run/dbus/system_bus_socket system.d system-local.conf contexts/dbus_contexts http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd";> system messagebus /usr/libexec/dbus-daemon-launch-helper /var/run/dbus.pid EXTERNAL unix:path=/var/run/dbus/system_bus_socket system.d system-local.conf contexts/dbus_contexts
Re: [gentoo-user] Booting Gentoo from USB stick
On 15/09/10 04:28, YoYo Siska wrote: On Fri, Sep 10, 2010 at 07:29:01AM -0400, David Relson wrote: On Fri, 10 Sep 2010 11:05:12 +0200 J. Roeleveld wrote: On Friday 10 September 2010 10:43:30 Jake Moe wrote: On 10/09/2010 5:27 PM, Maciej Grela wrote: 2010/9/10 Jake Moe: Hello all, I've been thinking about creating a Gentoo USB stick for install and rescue purposes (and, of course, just to see if I could). I've mostly followed the Gentoo handbook (I used a single 4GB partition for the whole system, and no swap). I've used genkernel for the kernel (so I can have a multi-system capable kernel). I've gotten GRUB installed and working. My problem comes in after what I believe is the init process: Gentoo Linux; http://www.gentoo.org Copyright 1999-2009 Gentoo Foundation; Distributed under the GPLv2 Press I to enter interactive boot mode * Mounting proc at /proc ... [ ok ] * Mounting sysfs at /sys ... [ ok ] * Mounting /dev ... [ ok ] * Starting udevd ... [ ok ] * Populating /dev with existing devices through uevents ... [ ok ] * Waiting for uevents to be processed ... [ ok ] * Mounting devpts at /dev/pts ... [ ok ] * Checking root filesystem ... fsck.ext2: No such file or directory while trying to open /dev/sda1 /dev/sda1: The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 * Filesystem couldn't be fixed :( [ !! ] Give root password for maintenance (or type Control-D to continue): If I give the root password, I can find no /dev/sda1. However, mount shows /dev/sda1 on /, and there *is* a /sys/block/sda folders, with a sda1 folder in that as well. It's almost like it had /dev/sda1, but then lost it somehow. Does anyone have any idea what's going on here? Any help would be appreciated. Have you seen http://www.sysresccd.org/Main_Page ? It's based on Gentoo, you could check what they did to boot from a usb stick. Br, Maciej Grela Excellent, thanks for that, I hadn't found it in my previous searches. I'll have a look there. Jake Moe Had a similar issue a while ago when I was playing around with this myself. Take a look at the linux boot parameters. The 'theoretical' part is: You need to let the kernel initialize the USB-stick before trying to access it. (This can take some time) There is a delay-option, just can't remember the proper name off-hand. -- Joost I've got USB booting working in a syslinux environment. A delay of 12 seconds is working for me. The syslinux.cfg stanza I use is: LABEL usb KERNEL linux APPEND rootdelay=12 root=/dev/sda2 The usual way for linux on removable usb sticks / disks is to use LABEL or UUID to identify the disks and not the device names, because they will be different in different computers ;) The downside is that you need an initrd to mount the root partition... I think that the usual initrd generated by genkernel works... If you created the rootfs with: mkfs.ext2 -j -LUSBGentoo /dev/sdXY then you can change the kernel parameter to root=LABEL=USBGentoo and your fstab to: LABEL=USBGentoo / ext3 ... You can also use the uuid of the filesystem, find it out with dumpe2fs -h /dev/sdb2 | grep UUID and then use UUID=XXX instead of LABEL=XXX I never really played around with grub and USB booting, so I use syslinux. I create a small FAT partition with syslinux, kernel and initrd image (it gets also pretty handy when you sometimes need to copy something from a windows machine ;) and a second "regular" ext3 partition for the rootfs. Basically you would do: - partition the stick, mark the FAT partition as bootable/active - format the partitions: - mkfs.vfat -nUSBData /dev/sdX1 - mkfs.ext2 -j -LUSBGentoo /dev/sdX2 - install syslinux (on the FAT partition): - syslinux /dev/sdX1 - mount /dev/sdX2, install gentoo in the usual way - compile the kernel and initrd, make sure required USB stuff is in the kernel (theoretically it could be as modules in initrd... but in-kernel is safer :) if you are in a hurry, or don't know how to create them, get them from a gentoo livecd ;) don't forget to also copy the modules (/lib/modules-XXX/...) from the livecd to the rootfs. - put the kernel and initrd on the FAT partition (I name them vmlinuz.img and initrd.img) - edit syslinux.cfg (on the FAT partition), see http://syslinux.zytor.com/wiki/index.php/SYSLINUX#How_do_I_Configure_SYSLINUX.3F a very simple one from my USB disk: DEFAULT linux LABEL linux SAY Now booting USBGentoo KERNEL vmlinuz.img APPEND root=LABEL=USBGentoo initrd=initrd.img you might also add rootdelay=10 to the options if the usb stick/disk isn't detected quick enough umount, reboot, set the computer to boot from usb, enjoy... ;) Xorg without a
Re: [gentoo-user] Some problems while migrating to 64bit
2010/9/13 : > 1.) The fonts of mrxvt are microscopic tiny...my home and .mrxvt > remained the same. Are fonts not reported to "world" when emerged? > What are the basic fonts I need before buying new glasses? Maybe you forgot some use flag or something. To use truetype fonts in mrxvt you need to turn that flag on. I also have no idea about mrxvt, but most terminal emulators read their configs from ~/.Xdefaults, check the mrxvt man page and/or docs. > 2.) Mouse does not work. Hald is up, fdi-rules are copied from my old > system, /dev/input/mice is there, gpm (started for a test) sees > the mouse, xf86-input-mouse is recompiled, dbus is running. > What's wrong? X.org.log reports "no device defined for mouse"... > my xorg.conf does not define such...but it is the same xorg.conf, > which works under 32bit env. > So So, latest Xorg doesn't use hal. I can't be sure since you are not telling us what xorg version you are using. Since 1.8 X uses udev instead. http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.8-upgrade-guide.xml > 3.) Keyboard behaves somehow strange. German Umlauts works, but "|" > does not...it performs something like a crazy backspace or so. > And a UNIX without a working pipe is not really making me happy... If it happens only under X, then it's the same issue that you have with your mouse. Configure it using the new method. > 4.) As someone already reports to the list: k3b does not find any > burner, cdrom, dvd-drive. /dev/sr0 exist and is linked to dvd. Probably a k3b and/or udev issue. I can't help with this one. But I think I've seen something about k3b lately in the forums. Might worth a check. > I even can boot from dvd... That's nothing to do with linux, but your BIOS. A different land. Regards. -- Jesús Guerrero Botella
Re: [gentoo-user] Opera and Konqueror won't print, but FF works fine
On Tuesday 14 September 2010 09:06:25 Petric Frank wrote: > Hello Mick, > > Am Montag, 13. September 2010, 23:09:03 schrieb Mick: > > Konqueror won't even go as far as that. It only shows: > > > > I [13/Sep/2010:22:04:57 +0100] [Job ???] Request file type is > > application/pdf. > > In case of priting with KDE applications you may be hit by this bug: > http://bugs.gentoo.org/show_bug.cgi?id=309901 > > To make the the solution i applied at my installation short: > > copy > /usr/portage/net-print/cups/files/pdftops-1.20.gentoo > > to > /usr/libexec/cups/filter/pdftops > > After that restart cupsd. > > According to the bug report this seems to work is the package "poppler" is > also installed - which the case at my installation. > > Hope that helps. Thanks Petric, I will try upgrading to testing version and if that does not fix it, I will apply your suggestion. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Booting Gentoo from USB stick
On Fri, Sep 10, 2010 at 07:29:01AM -0400, David Relson wrote: > On Fri, 10 Sep 2010 11:05:12 +0200 > J. Roeleveld wrote: > > > On Friday 10 September 2010 10:43:30 Jake Moe wrote: > > > On 10/09/2010 5:27 PM, Maciej Grela wrote: > > > > 2010/9/10 Jake Moe: > > > >> Hello all, > > > >> > > > >> I've been thinking about creating a Gentoo USB stick for install > > > >> and rescue purposes (and, of course, just to see if I could). > > > >> I've mostly followed the Gentoo handbook (I used a single 4GB > > > >> partition for the whole system, and no swap). I've used > > > >> genkernel for the kernel (so I can have a multi-system capable > > > >> kernel). I've gotten GRUB installed and working. My problem > > > >> comes in after what I believe is the init process: > > > >> > > > >> > > > >> Gentoo Linux; http://www.gentoo.org > > > >> > > > >> Copyright 1999-2009 Gentoo Foundation; Distributed under the > > > >> GPLv2 > > > >> > > > >> Press I to enter interactive boot mode > > > >> > > > >> * Mounting proc > > > >> at /proc ... [ > > > >> > > > >> ok ] > > > >> > > > >> * Mounting sysfs > > > >> at /sys ... [ > > > >> > > > >> ok ] > > > >> > > > >> * > > > >> Mounting /dev ... [ > > > >> > > > >> ok ] > > > >> > > > >> * Starting > > > >> udevd ... [ > > > >> > > > >> ok ] > > > >> > > > >> * Populating /dev with existing devices through > > > >> uevents ... [ > > > >> > > > >> ok ] > > > >> > > > >> * Waiting for uevents to be > > > >> processed ... [ > > > >> > > > >> ok ] > > > >> > > > >> * Mounting devpts > > > >> at /dev/pts ... [ > > > >> > > > >> ok ] > > > >> > > > >> * Checking root filesystem ... > > > >> > > > >> fsck.ext2: No such file or directory while trying to > > > >> open /dev/sda1 /dev/sda1: > > > >> The superblock could not be read or does not describe a correct > > > >> ext2 filesystem. If the device is valid and it really contains > > > >> an ext2 filesystem (and not swap or ufs or something else), then > > > >> the superblock > > > >> > > > >> is corrupt, and you might try running e2fsck with an alternate > > superblock: > > > >> e2fsck -b 8193 > > > >> > > > >> * Filesystem couldn't be > > > >> fixed :( [ > > > >> > > > >> !! ] > > > >> Give root password for maintenance > > > >> (or type Control-D to continue): > > > >> > > > >> > > > >> If I give the root password, I can find no /dev/sda1. However, > > > >> mount shows /dev/sda1 on /, and there *is* a /sys/block/sda > > > >> folders, with a sda1 folder in that as well. It's almost like > > > >> it had /dev/sda1, but then lost it somehow. > > > >> > > > >> Does anyone have any idea what's going on here? Any help would > > > >> be appreciated. > > > > > > > > Have you seen http://www.sysresccd.org/Main_Page ? It's based on > > > > Gentoo, you could check what they did to boot from a usb stick. > > > > > > > > Br, > > > > Maciej Grela > > > > > > Excellent, thanks for that, I hadn't found it in my previous > > > searches. I'll have a look there. > > > > > > Jake Moe > > > > Had a similar issue a while ago when I was playing around with this > > myself. > > > > Take a look at the linux boot parameters. > > > > The 'theoretical' part is: You need to let the kernel initialize the > > USB-stick before trying to access it. (This can take some time) > > > > There is a delay-option, just can't remember the proper name off-hand. > > > > -- > > Joost > > I've got USB booting working in a syslinux environment. A delay of 12 > seconds is working for me. The syslinux.cfg stanza I use is: > > LABEL usb > KERNEL linux > APPEND rootdelay=12 root=/dev/sda2 The usual way for linux on removable usb sticks / disks is to use LABEL or UUID to identify the disks and not the device names, because they will be different in different computers ;) The downside is that you need an initrd to mount the root partition... I think that the usual initrd generated by genkernel works... If you created the rootfs with: mkfs.ext2 -j -LUSBGentoo /dev/sdXY then you can change the kernel parameter to root=LABEL=USBGentoo and your fstab to: LABEL=USBGentoo / ext3 ... You can also use the uuid of the filesystem, find it out with dumpe2fs -h /dev/sdb2 | grep UUID and then use UUID=XXX instead of LABEL=XXX I never really played around with grub and USB booting, so I use syslinux. I create a small FAT partition with syslinux, kernel and initrd image (it gets also pretty handy when you sometimes need to copy something from a windows machine ;) and a second "regular" ext3 partition for the rootfs. Basically you would do: - partition the stick, mark the FAT partition as bootable/active - format the partitions: - mkfs.vfat -nUSBData /dev/sdX1 - mkfs.ext2 -j -LUSBGentoo /dev/sdX2 - install syslinux (on the FAT partition): - syslinux /dev/sdX1 - mount /dev/sdX2, install gentoo in the usual way - compile the kernel and initrd, make sure required USB stuff is in the kernel
Re: [gentoo-user] machine check exception errors
On Tue, 2010-09-14 at 09:45 -0700, Grant wrote: > I'm getting a lot of machine check exception errors in dmesg on my > hosted server. Running mcelog I get: > > # mcelog > HARDWARE ERROR. This is *NOT* a software problem! [...] > Should I just contact the hosting company? Can anyone give me more > info on what this means? Bad memory? They are likely better able to help you if it's a hardware problem.
Re: [gentoo-user] what's going on with updates ?
On Monday 13 September 2010, Stéphane Guedon wrote: > Since few days ( two or three ?), every time I launch emerge, it's saying > me it needs an update of portage itself. > In plus, I have upgraded udev at least two times (160>161>162 today)... > Don't sync two times a day and emerge -u world if you don't want updates ;-) besides the ebuild commit dates are: udev-160: 12 Jul 2010 udev-161: 24 Aug 2010 udev-162: 12 Sep 2010 So I don't understand why you get more updates the same day. > Plus, I have had two warning message concerning updates : sudo and an > other... > > what's going on ? Is somebody founding security holes "à la pelle" (french > expression). Still udev ebuild development still lacks some days after udev upstream to just test ebuilds and also for time reasons. Matthias
[gentoo-user] machine check exception errors
I'm getting a lot of machine check exception errors in dmesg on my hosted server. Running mcelog I get: # mcelog HARDWARE ERROR. This is *NOT* a software problem! Please contact your hardware vendor MCE 0 CPU 0 4 northbridge TSC 5ab2d0c67592a MISC c00800190100 ADDR a2d6e1f0 Northbridge RAM Chipkill ECC error Chipkill ECC syndrome = 7b58 bit40 = error found by scrub bit46 = corrected ecc error bit59 = misc error valid bus error 'local node response, request didn't time out generic read mem transaction memory access, level generic' STATUS 9c2c41007b080a13 MCGSTATUS 0 MCGCAP c008001a0100 SOCKETID 7b080a13 HARDWARE ERROR. This is *NOT* a software problem! Please contact your hardware vendor MCE 1 CPU 0 4 northbridge TSC 5aee3f082740a MISC c008001a0100 ADDR a2d6e1f0 Northbridge RAM Chipkill ECC error Chipkill ECC syndrome = 7b58 bit46 = corrected ecc error bit59 = misc error valid bus error 'local node response, request didn't time out generic read mem transaction memory access, level generic' STATUS 9c2c40007b080a13 MCGSTATUS 0 SOCKETID 0 Should I just contact the hosting company? Can anyone give me more info on what this means? Bad memory? - Grant
Re: [gentoo-user] Re: What happened to belak.sbboard.com?
On Mon, Sep 13, 2010 at 10:25 PM, Nikos Chantziaras wrote: > OK, I've found out what's going on. I my layman.cfg I have: > > overlays: http://www.gentoo.org/proj/en/overlays/repositories.xml > http://belak.sbboard.com/gentoo/overlay.xml > > The second line was added as per instructions in order to be able to use the > belak overlay since it's not in the official layman list (at least it wasn't > back then.) I totally forgot I did that :-/ At least it's an easy solution, those are my favorite kind. :)
Re: [gentoo-user] Opera and Konqueror won't print, but FF works fine
Hello Mick, Am Montag, 13. September 2010, 23:09:03 schrieb Mick: > Konqueror won't even go as far as that. It only shows: > > I [13/Sep/2010:22:04:57 +0100] [Job ???] Request file type is > application/pdf. In case of priting with KDE applications you may be hit by this bug: http://bugs.gentoo.org/show_bug.cgi?id=309901 To make the the solution i applied at my installation short: copy /usr/portage/net-print/cups/files/pdftops-1.20.gentoo to /usr/libexec/cups/filter/pdftops After that restart cupsd. According to the bug report this seems to work is the package "poppler" is also installed - which the case at my installation. Hope that helps. regards Petric