[gentoo-ppc-user] RS/6000 matroxfb display corruption
I am attempting to install on an RS/6000 with two power3 processors and a Matrox Mystique video card. The cd (2005.0; I also tried 2004.3) seems to boot properly (that is, without error messages on the text console). The framebuffer seems to work as I get two smiling penguins on the screen. The problem is the text on the monitor is garbled and/or backwards. For example, the text under the penguins appears to be Japanese or Chinese. If I type 'ls' I get what appears to be a directory listing: [some strange symbol]SNARLBT. I think this is supposed to be TRANS.TBL. If I 'cd /' and 'ls' I get a mixture of Japanese/Chinese-appearing characters and directory names such as toob, toor, nibs, and emoh instead of boot, root, sbin, and home. A couple hours with Google has not been enlightening. I am new to the PPC platform and new to Gentoo. Any ideas? -- john-thomas -- A democracy cannot exist as a permanent form of government. It can only exist until the voters discover that they can vote themselves largess from the public treasury. Sir Alex Fraser Tytler (1742-1813) -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-user] He's baaaaaack!
log to linux, erase partition table, get those heads corect, write new partition table -- reboot, LBA is on and win is booting. none of dos/win apps worked for me to fix partition table. i asume LBA is needed only for win itself, not vfat or ntfs partitions, therefore files are accesible from linux martins On Monday 25 July 2005 08:42, maxim wexler wrote: there were no succesful winxp boot, because bios didnt enable LBA seting. i dont think (win95)fdisk wil work with linux partitions. Right, but booting a win95/98 CD and running fdisk /mbr from the DOS prompt will usually restore a WinXP boot sector. What's so bizarre in this case is that it should only partially restore(so it seems) bootability. Can you or anyone explain what this 16/255 controversy has to do with it? True, LBA is 'off', but WinXP starts at the beginning of /dev/hdb and *doesn't* boot, whereas gentoo starts at the 60G point and it *does* boot. Also FWIW all WinXP files are readable from gentoo once it's up. Even when I eliminate the first drive, the 200M drive where grub resides, and install the 120G HD as pri-master and try to boot, boot.ini opens up giving me the choices of WinXP and Recovery Console as I said before; only problem: neither goes anywhere, just hangs. -mw __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] He's baaaaaack!
Martins Steinbergs wrote: log to linux, erase partition table, get those heads corect, write new partition table -- reboot, LBA is on and win is booting. none of dos/win apps worked for me to fix partition table. i asume LBA is needed only for win itself, not vfat or ntfs partitions, therefore files are accesible from linux martins Um, if you do this, you will more than likely destroy the filesystems as well, because the new partitions will not line up exactly with the old ones. Anyway I don't think this is the problem. Afterall, WinXP booted fine before on this drive with LBA disabled, so something else is up. If you already made the right changes to the boot.ini file, then I suspect that a fixboot from the recovery mode of the WinXP CD will be necessary. This should not overwrite the MBR, only the boot loader that is at the beginning of the windows partition. -Richard -- gentoo-user@gentoo.org mailing list
[gentoo-user] Big booboo!
Help! I inadvertantly deleted my /var/db/pkg directory (and indeed my entire /var (Don't ask!)). Is there ANY way to regenerate it or am I SOL? The system still works, just not emerge. If necessary I can rebuild and migrate the apps but I'm hopeing... Tony -- Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Big booboo!
Can you: man emerge (check out the --regen flag) as a starter rebuild metadata then sync. BillK On Mon, 2005-07-25 at 02:59 -0500, Anthony E. Caudel wrote: Help! I inadvertantly deleted my /var/db/pkg directory (and indeed my entire /var (Don't ask!)). Is there ANY way to regenerate it or am I SOL? The system still works, just not emerge. If necessary I can rebuild and migrate the apps but I'm hopeing... Tony -- Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin -- gentoo-user@gentoo.org mailing list
[gentoo-user] /dev/hdb performance really sucks ...
Hi - I'm getting vastly different performance results on hda (master) as opposed to hdb (slave). Basically when my root partition mounts (/dev/hdb) I'm warned that DMA is off, yet hdparm -i shows udma as active. Basically /dev/hdb performance sucks ... I've bought both drives in the last few months. The motherboard is quite old (3 years .. I think). Any suggestions would be appreciated. -- Thanks - Richard = /dev/hda: Timing cached reads: 1360 MB in 2.00 seconds = 678.75 MB/sec Timing buffered disk reads: 146 MB in 3.03 seconds = 48.22 MB/sec /dev/hdb: Timing cached reads: 1376 MB in 2.00 seconds = 687.42 MB/sec Timing buffered disk reads: 10 MB in 3.51 seconds = 2.85 MB/sec /dev/hda: Model=Maxtor 6Y120P0, FwRev=YAR41BW0, SerialNo=Y36DHLVE Config={ Fixed } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57 BuffType=DualPortCache, BuffSize=7936kB, MaxMultSect=16, MultSect=16 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=240121728 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: mdma0 mdma1 mdma2 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 udma6 AdvancedPM=yes: disabled (255) WriteCache=enabled Drive conforms to: (null): * signifies the current active mode /dev/hdb: Model=ST3200826A, FwRev=3.03, SerialNo=5ND0CVYX Config={ HardSect NotMFM HdSw15uSec Fixed DTR10Mbs RotSpdTol.5% } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4 BuffType=unknown, BuffSize=8192kB, MaxMultSect=16, MultSect=16 CurCHS=65535/1/63, CurSects=4128705, LBA=yes, LBAsects=268435455 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: mdma0 mdma1 mdma2 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 AdvancedPM=no WriteCache=enabled Drive conforms to: device does not report version: * signifies the current active mode -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.4/57 - Release Date: 22/07/2005 -- gentoo-user@gentoo.org mailing list
[gentoo-user] Eterm, XTerm disappear everytime I invoke them in KDE
Hi All: Everytime I invoke a new instance of ETerm or XTerm, they appear on the screen momentarily and then disappear. A ps -ef | grep $TERM shows nothing, which proves that these processes died almost as soon as they were spawned. When I invoke Konsole, the window appears but the prompt never makes it to the screen. I have no idea why I am facing this problem, because in the last boot it worked. Any hints? Thanks, Hareesh -- gentoo-user@gentoo.org mailing list
[gentoo-user] shell inside XEmacs
Hi All: The shell inside XEmacs (M-shell) looks like this: [m[01;31mhareesh: [01;34mhareesh/ $ ls [01;34mreduced[0m [01;34mrelayfs[0m [01;34msvn[0m Any idea how I can fix it? Thanks, Hareesh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Big booboo!
Anthony E. Caudel wrote: Help! I inadvertantly deleted my /var/db/pkg directory (and indeed my entire /var (Don't ask!)). Is there ANY way to regenerate it or am I SOL? The system still works, just not emerge. If necessary I can rebuild and migrate the apps but I'm hopeing... Tony If you have FEATURES=buildpkg then it is possible to recover all of the /var/db/pkg data from the tbz2 files. Attached is a quick and dirty little script to do that. This dumps everything, including multiple versions of the same package if they exist. Zac #!/usr/bin/env python import os, sys sys.path = [/usr/lib/portage/pym]+sys.path import xpak if __name__ == __main__: if len(sys.argv)!=3: sys.stderr.write(usage: %s tbz2 dir output dir % sys.argv[0]+\n) sys.exit(1) tbz2_dir=sys.argv[1] output_dir=sys.argv[2] tb2_list=os.listdir(tbz2_dir) for tbz2_file in tb2_list: tbz2=xpak.tbz2(os.path.join(tbz2_dir,tbz2_file)) pkg_dir=os.path.join(output_dir,tbz2.getfile(CATEGORY),tbz2.getfile(PF)) os.makedirs(pkg_dir) for name in tbz2.filelist(): f=file(os.path.join(pkg_dir,name),w) f.write(tbz2.getfile(name)) f.close()
Re: [gentoo-user] shell inside XEmacs
Le 25 juillet à 10:53:33 Hareesh Nagarajan [EMAIL PROTECTED] écrit notamment: | Hi All: | | The shell inside XEmacs (M-shell) looks like this: | | ZZhareesh: ZZhareesh/ $ ls | reduced | relayfs | svn | | Any idea how I can fix it? Not quite sure with Xemacs; but for emacs it is much better to call eshell than shell (M-x eshell). There is some way to fix the look of shell, but it is clumsy - still speaking from the emacs point of view. hth anyway! -- Jean Magnan de Bornier |Cours Victor Hugo e-mots: jean at bornier.net|13980 Alleins France T 08 70 39 34 03 |P 06 09 17 35 87 -- gentoo-user@gentoo.org mailing list
[gentoo-user] Problem using genkernel
Hallo all, i am trying to migrate from 2.4 to 2.6. i wasn't using genkernel with 2.4, now i want to start use it. I am calling genkernel like genkernel --menuconfig --bootloader=grub all years later it says: * Adding kernel to /boot/grub/grub.conf... but all i see is that my old grub.conf gets moved to grub.conf.bak and the new one contains nothing: tribus grub # cat /boot/grub/grub.conf tribus grub # I tried to find some bug in gentoo bugzilla but didn't found anything related (may be i am wrong too, not sure) any suggestions how to track the problem down? -- Best regards, Waldemar Tribus mailto:[EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
[gentoo-user] [OT] confusing RE doesn't work in diff
My RE must be wrong but I can hardly successfully match a whole line like the below example: This works: [EMAIL PROTECTED]:/tmp$ egrep \b*\/[*].*[*]\/\b* Calendar.php /* $Id: class.boalarm.inc.php,v 1.1.1.1 2005/03/18 09:17:36 dawnlinux Exp $ */ /* $Id: class.boalarm.inc.php,v 1.11 2004/05/23 14:51:27 ralfbecker Exp $ */ This doesn't work: [EMAIL PROTECTED]:/tmp$ egrep ^\b*\/[*].*[*]\/\b*$ Calendar.php any hint? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problem using genkernel
Waldemar Tribus wrote: Hallo all, i am trying to migrate from 2.4 to 2.6. i wasn't using genkernel with 2.4, now i want to start use it. I am calling genkernel like genkernel --menuconfig --bootloader=grub all years later it says: * Adding kernel to /boot/grub/grub.conf... but all i see is that my old grub.conf gets moved to grub.conf.bak and the new one contains nothing: tribus grub # cat /boot/grub/grub.conf tribus grub # I tried to find some bug in gentoo bugzilla but didn't found anything related (may be i am wrong too, not sure) any suggestions how to track the problem down? I've never thought to use the --bootloader=grub option because I've always want wanted to edit grub.conf myself. Are there any clues in /var/log/genkernel.log? What version of genkernel is it? Zac -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Eterm, XTerm disappear everytime I invoke them in KDE
On 2005-07-25 01:48:32 -0700 (Mon, Jul), Hareesh Nagarajan wrote: Hi All: Everytime I invoke a new instance of ETerm or XTerm, they appear on the screen momentarily and then disappear. A ps -ef | grep $TERM shows nothing, which proves that these processes died almost as soon as they were spawned. I don't thing that the variable TERM holds the proper terminal-program name. It's your current terminal type. pgrep -l term or ps -ef | grep term seems better. When I invoke Konsole, the window appears but the prompt never makes it to the screen. check the file ~/.xsession-errors - all stdout and stderr could go there. I have no idea why I am facing this problem, because in the last boot it worked. Any hints? did you do some upgrade recently? run revdep-rebuild ? run: eterm (or whatever) some_log_file 21 maybe some problem with fonts ? bash initialization problem? HTH -- No virus found in this outgoing message. Checked by 'grep -i virus $MESSAGE' Trust me. pgpSVCicVSxZj.pgp Description: PGP signature
Re: [gentoo-user] Eterm, XTerm disappear everytime I invoke them in KDE
Have you compiled a new kernel recently? When terminals behave like that, usually that means that you haven't compiled in legacy (bsd) pty support in your kernel (Device Drivers - Character devices)... Oscar Monday 25 July 2005 10.48 skrev Hareesh Nagarajan: Hi All: Everytime I invoke a new instance of ETerm or XTerm, they appear on the screen momentarily and then disappear. A ps -ef | grep $TERM shows nothing, which proves that these processes died almost as soon as they were spawned. When I invoke Konsole, the window appears but the prompt never makes it to the screen. I have no idea why I am facing this problem, because in the last boot it worked. Any hints? Thanks, Hareesh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] confusing RE doesn't work in diff
Zhang Weiwu wrote: This works: [EMAIL PROTECTED]:/tmp$ egrep \b*\/[*].*[*]\/\b* Calendar.php /* $Id: class.boalarm.inc.php,v 1.1.1.1 2005/03/18 09:17:36 dawnlinux Exp $ */ /* $Id: class.boalarm.inc.php,v 1.11 2004/05/23 14:51:27 ralfbecker Exp $ */ This doesn't work: [EMAIL PROTECTED]:/tmp$ egrep ^\b*\/[*].*[*]\/\b*$ Calendar.php any hint? ^ only matches at the beginning of a line. This isn't the case in your examples. Christoph -- echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problem using genkernel
On Mon, 25 Jul 2005 11:35:27 +0200, Waldemar Tribus wrote: i am trying to migrate from 2.4 to 2.6. i wasn't using genkernel with 2.4, now i want to start use it. Why? If you are comfortable with configuring your kernel by hand, why give up control of the process to a tool that is known to cause problems for many people? -- Neil Bothwick I am sitting on the toilet with your article before me. Soon it will be behind me. pgpBgYuYFfckB.pgp Description: PGP signature
Re: [gentoo-user] /dev/hdb performance really sucks ...
Richard Watson napsal(a): Hi - I'm getting vastly different performance results on hda (master) as opposed to hdb (slave). Basically when my root partition mounts (/dev/hdb) I'm warned that DMA is off, yet hdparm -i shows udma as active. Basically /dev/hdb performance sucks ... I've bought both drives in the last few months. The motherboard is quite old (3 years .. I think). Any suggestions would be appreciated. -- Thanks - Richard = /dev/hda: Timing cached reads: 1360 MB in 2.00 seconds = 678.75 MB/sec Timing buffered disk reads: 146 MB in 3.03 seconds = 48.22 MB/sec /dev/hdb: Timing cached reads: 1376 MB in 2.00 seconds = 687.42 MB/sec Timing buffered disk reads: 10 MB in 3.51 seconds = 2.85 MB/sec /dev/hda: Model=Maxtor 6Y120P0, FwRev=YAR41BW0, SerialNo=Y36DHLVE Config={ Fixed } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57 BuffType=DualPortCache, BuffSize=7936kB, MaxMultSect=16, MultSect=16 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=240121728 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: mdma0 mdma1 mdma2 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 udma6 AdvancedPM=yes: disabled (255) WriteCache=enabled Drive conforms to: (null): * signifies the current active mode /dev/hdb: Model=ST3200826A, FwRev=3.03, SerialNo=5ND0CVYX Config={ HardSect NotMFM HdSw15uSec Fixed DTR10Mbs RotSpdTol.5% } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4 BuffType=unknown, BuffSize=8192kB, MaxMultSect=16, MultSect=16 CurCHS=65535/1/63, CurSects=4128705, LBA=yes, LBAsects=268435455 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: mdma0 mdma1 mdma2 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 AdvancedPM=no WriteCache=enabled Drive conforms to: device does not report version: * signifies the current active mode maybe they dont like each other, try to plug second hd to another controller (hdc/hdd) T.B. -- gentoo-user@gentoo.org mailing list
[gentoo-user] dummy console
I upgraded from kernel 2.6.11 (gentoo-sources r4) to 2.6.12 (r6), and lost my framebuffer console. No console whatsoever, actually, but xdm starts OK. Checking .config, I see # Console display driver support # CONFIG_VGA_CONSOLE=y CONFIG_DUMMY_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE=m # CONFIG_FONTS is not set CONFIG_FONT_8x8=y CONFIG_FONT_8x16=y I was under the impression that CONFIG_DUMMY_CONSOLE is set only when CONFIG_VGA_CONSOLE is unset. Wrong? I'm assuming that the dummy console overrides the vga console... There is no way to unset the ugly thing. I tried make menuconfig and make xconfig. I tried commenting out that line. The line in grub.conf: kernel (hd1,2)/boot/linux-2.6.12-gentoo-r6 root=/dev/hdb3 video=vesafb:ywrap,mtrr vga=0x31a pci=usepirqmask -- Jorge Almeida -- gentoo-user@gentoo.org mailing list
[gentoo-user] suggestions needed for migration away from active directory
I'm trying to migrate some people away from active directory and I'm trying to figure out if there is anything better than NIS for directory service. I know folks are using LDAP but my last encounter with LDAP left me with flashbacks of the carnage especially in the area of replication and backup. Pointers of where to look would be most welcome. Thanks in advance ---eric -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: /dev/hdb performance really sucks ...
Richard Watson waty at bigpond.net.au writes: Hi - I'm getting vastly different performance results on hda (master) as opposed to hdb (slave). Any suggestions would be appreciated. I'd make sure you read the man page on hdparm. Certain actions can kill hardware, permanently. That said, what I do is set the hdparms in /etc/conf.d/hdparm. I believe you can test each drive, note the best (safe) parameters to adjust. Test the adjustments, and then make an entry, per hard drive in the /etc/conf.d/hdparm. Here's what works for me on one system: all_args=-d1 hda_args=-d1 -u1 -c1 -a256 Remember, any device that is seen as a /dev/hd* will be affected by settings like [all_args=-d1].. If get lesser performance when (2) different drives are on the same (ide/ata/eide) controller, then try a second pci cotroller card. or if both are on the same cable, and the MB or controller has a second port, add a second cable and move one drive to the other port/cable. This sort of performance degradation should effect both drives. HTH James -- gentoo-user@gentoo.org mailing list
[gentoo-user] KDE 3.4
Anyone know... when is a Gentoo release with packages disk with KDE 3.4 expected? Email Disclaimer http://www.aplitec.co.za/emaildisclaimer.htm -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] can' emerge kernel 2.6
Hi there, The only thing that I can imagine that may be causing something like this is the portage profile that you are using... Now, I am assuming that your Gentoo installation is based on an older release, and based upon that assumption, the question is: Have you updated to a more recent profile? If this is the case, there is documentation available at: http://www.gentoo.org/doc/en/gentoo-upgrading.xml HTH - AR On 7/25/05, Benjamin Grauer [EMAIL PROTECTED] wrote: hi - Since some time now i tried to re-emerge a new Version of the gentoo sources earlier in this year i just emerged the gentoo-dev-sources, and it worked perfectly, but since the change of the 2.6 kernel to the gentoo-sources-ebuild, i don't seem to be able to emerge any version above 2.4.X also i do not see, what use-flags could affct this, since on my laptop i have the same ones, and there it works with gentoo-sources hopefully, there is someone out there, that encountered the same problem... greetings Benjamin Grauer -- gentoo-user@gentoo.org mailing list -- If the truth can't set you free, a lie will save you. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] can' emerge kernel 2.6
Am Montag, 25. Juli 2005 15:28 schrieb ext Benjamin Grauer: Neil Bothwick wrote: Which profile are you using? ls -l /etc/make.profile ls -l /etc/make.profile/ Without the trailing slash it shows the symbolic link target, thus the original profile in the portage tree. On my system this gives: lrwxrwxrwx 1 root root 46 Apr 15 11:16 /etc/make.profile - /usr/portage/profiles/default-linux/x86/2005.0 packages: - sys-kernel/ac-sources-2.5 sys-kernel/ck-sources-2.5 sys-kernel/gentoo-sources-2.5 sys-kernel/grsec-sources-2.5 sys-kernel/hardened-sources-2.5 sys-kernel/openmosix-sources-2.5 sys-kernel/rsbac-sources-2.5 sys-kernel/uclinux-sources-2.5 sys-kernel/usermode-sources-2.5 sys-kernel/vanilla-sources-2.5 sys-kernel/win4lin-sources-2.5 sys-kernel/xbox-sources-2.5 sys-kernel/linux-headers-2.5 This means the listed packages with a version number greater than 2.5 are masked. Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: [EMAIL PROTECTED] Hambornerstraße 55 | Web: http://www.capgemini.com D-40472 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net pgp399GBTlEsR.pgp Description: PGP signature
Re: [gentoo-user] can' emerge kernel 2.6
On Mon, 25 Jul 2005 15:28:28 +0200, Benjamin Grauer wrote: Which profile are you using? ls -l /etc/make.profile ls -l /etc/make.profile/ ls -l /etc/make.profile - without the trailing slash. -- Neil Bothwick If the post office has machines that can sort snail mail at 1000's of times per minute, then why do they give it to a little old man on a bike to deliver? pgpoxQEgXdpg9.pgp Description: PGP signature
Re: [gentoo-user] fbsplash problems
Thanx, Richard! I've tried 1024x768-32! And everything works ok! ;) п'ятниця 22 липень 2005 18:00, Richard Fish Ви написали: Vitaly Kovalyshyn aka samael wrote: Hello! I've problems with fbsplash 2! in grub.conf: title Gentoo Linux root (hd0,0) kernel /kernel-2.6.11-gentoo-r11 root=/dev/hda3 video=vesafb:[EMAIL PROTECTED] plash=silent,theme:livecd-2005.0 initrd /fbsplash-livecd-2005.0-1024x768 in dmesg: # dmesg | grep vesafb Kernel command line: ro root=/dev/hda3 video=vesafb:ywrap,mtrr,[EMAIL PROTECTED] splash=silent vesafb: ATI Technologies Inc., V280, 01.00 (OEM: ATI RADEON 9200) vesafb: VBE version: 2.0 vesafb: protected mode interface info at c000:5767 vesafb: pmi: set display start = c00c57fb, set palette = c00c5847 vesafb: pmi: ports = a010 a016 a054 a038 a03c a05c a000 a004 a0b0 a0b2 a0b4 vesafb: monitor limits: vf = 0 Hz, hf = 0 kHz, clk = 0 MHz vesafb: scrolling: ywrap using protected mode interface, yres_virtual=1536 vesafb: framebuffer at 0xe000, mapped to 0xe088, using 3072k, total 16384k Do you also get a message about checking if initrd is initramfs... in dmesg? If not, then you probably don't have ram disk or initrd support in your kernel configuration. If so, then everything looks right, and maybe you can try a couple of different resolutions, and particularly, bit depths. 1024x768-24 or 1024x768-32 might work better. -Richard -- Vitaly Kovalyshyn aka samael ICQ: 169219607 e-mail: [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] Unix System Administrator Ukrainian Greek-Catholic Church ~~~ Open Your mind - use OpenSource! Nothing else matters, © Metallica Цели ясны, задачи определены, за работу, товарищи, © pgpZDLCKsotCr.pgp Description: PGP signature
Re: [gentoo-user] KDE 3.4
On Monday 25 July 2005 08:21 am, Mark Humphrey wrote: Anyone know... when is a Gentoo release with packages disk with KDE 3.4 expected? No idea. But you could always use catalyst to build your own packages CD. -- Chris Linux 2.6.12-gentoo-r6 i686 AMD Athlon(tm) XP 09:02:57 up 1 day, 36 min, 10 users, load average: 0.00, 0.00, 0.04 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] can' emerge kernel 2.6
Dirk Heinrichs wrote: Am Montag, 25. Juli 2005 15:28 schrieb ext Benjamin Grauer: Neil Bothwick wrote: Which profile are you using? ls -l /etc/make.profile ls -l /etc/make.profile/ Without the trailing slash it shows the symbolic link target, thus the original profile in the portage tree. On my system this gives: lrwxrwxrwx 1 root root 46 Apr 15 11:16 /etc/make.profile - /usr/portage/profiles/default-linux/x86/2005.0 packages: - sys-kernel/ac-sources-2.5 sys-kernel/ck-sources-2.5 sys-kernel/gentoo-sources-2.5 sys-kernel/grsec-sources-2.5 sys-kernel/hardened-sources-2.5 sys-kernel/openmosix-sources-2.5 sys-kernel/rsbac-sources-2.5 sys-kernel/uclinux-sources-2.5 sys-kernel/usermode-sources-2.5 sys-kernel/vanilla-sources-2.5 sys-kernel/win4lin-sources-2.5 sys-kernel/xbox-sources-2.5 sys-kernel/linux-headers-2.5 This means the listed packages with a version number greater than 2.5 are masked. Bye... Dirk hmm... ok.. now it shows the link, and i think i see the problem... /etc/make.profile - ../usr/portage/profiles/default-linux/x86/2005.0/2.4 now what todo.. i think i try the tutorial for upgrading safely -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] can' emerge kernel 2.6
Ok. thanks a lot. now i have found the solution. Just did not know that portage was so cool, but hard to understand :) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [A little OT] Is anybody else seeing these? - [EMAIL PROTECTED]: Messages from gentoo-user@gentoo.org to you have been bouncing]
John J. Foster [EMAIL PROTECTED] writes: I've gotten about 4 or 5 of these in the past few days, and don't really know what to make of them. Is anybody elese seeing this? Or do I have an issue? It's not happenning on any other lists, and all headers seem like it's legit. I have seen messages such as that when a virus (or a mail which the virus scanner identifies as containing a virus) is sent to a mailing list. My system rejects (at SMTP delivery) all emails which clamav identifies as containing a virus. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] can' emerge kernel 2.6
On Mon, 25 Jul 2005 16:03:43 +0200, Benjamin Grauer wrote: hmm... ok.. now it shows the link, and i think i see the problem... /etc/make.profile - ../usr/portage/profiles/default-linux/x86/2005.0/2.4 now what todo.. i think i try the tutorial for upgrading safely That's why I asked for the ls without the slash, it shows which profile you are using. As I suspected, you are using a 2.4 profile. AFAIK, the only way to be using this profile is if you set it yourself, so you must have decided you wanted 2.4 at some time. Change the link to ../usr/portage/profiles/default-linux/x86/2005.0 to switch to the, default, 2.6 profile.. -- Neil Bothwick Smoking Can Damage Your HealthUnless us Non-Smokers do it first! pgpYiXmKfLYYe.pgp Description: PGP signature
Re: [gentoo-user] He's baaaaaack!
Um, if you do this, you will more than likely destroy the filesystems as well, because the new partitions will not line up exactly with the old ones. Anyway I don't think this is the problem. Afterall, WinXP booted fine before on this drive with LBA disabled, so something else is up. If you already made the right changes to the boot.ini file, then I suspect that a fixboot from the recovery mode of the WinXP CD will be necessary. This should not overwrite the MBR, only the boot loader that is at the beginning of the windows partition. -Richard -- gentoo-user@gentoo.org mailing list there is no worry, writing new partition table give it the same values (partition start, end, type, order) as before and not a single bit is lost this is kind of fedora installer bug, since i have amd64 box i was moving from mandrake to some more amd64 distro at that point, and befor gentoo i checked fedora. and problems started when i upgraded bios. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Good reference for installing windows *after* linux?
I've been doing research about finding a way to install windows on my gentoo box (don't flame me, I wouldn't be doing it if I didn't have to). I've got a spiffy new 80gb drive which is available at /dev/hdb that I plan on using as the windows drive. Most of the dual boot guides suggest adding linux after windows; in my case I have a working gentoo linux system in place that I don't want to sack, I'd rather just add windows to the new drive. Anyone out there have a good pointer for me? Thanks! Dave -- gentoo-user@gentoo.org mailing list
[gentoo-user] bizzarre I2C kernel selection
Hello, I've got a very weird problem. When I go to build either a 2.6.12-gentoo-r4 or 2.6.12-gentoo-r6 kernel on a paticular AMD athlon, I cannot change the I2C selection: device driver - I2C support option. It is a dash. Manually deleting the .config file does not help. I use 'make oldconfig on this machine' but I not certain that is what locked out this option. I have an identical MB with a different video card, that does not have this problem with the 2.4.12-gentoo-r4 kernel. Maybe I should just delete the entire kernel dir, download anew and build a new kernel? OK, so I did this and I still get the same problem: make menuconfig Device Drivers - I2C support --- I2C support * I2C device interface I cannot select the I2C line i.e. it will not change to M or * Like this on the other identical MB: * I2C support I even tried to manually edit the .config file in /usr/src/linux to correct the errant line to look like this: 'CONFIG_I2C_SENSOR=y' but it always remains incorrect: # Hardware Sensors Chip support # # CONFIG_I2C_SENSOR is not set Ideas/comments? James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Good reference for installing windows *after* linux?
On Mon, 25 Jul 2005, Dave Nebinger wrote: Anyone out there have a good pointer for me? Install Windows on the second drive as if it were the first (unplug your primary drive). Use grub to swap the location of the two drives before you boot Windows after it's installed and you have your drives reconnected as you want them. The word around here is that Windows needs to believe it's on the primary drive in order to work correctly. I happen to know that's not true because I've run Windows installs on secondary drives in the past. However, Windows will install the boot information to the MBR of the primary drive and the boot.ini file will need to accurately reflect where the OS is really stored. I suspect people just feel it's easier to use grub to swap the drives virtually rather than toy with a boot.ini file. Ric -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: /dev/hdb performance really sucks ...
Richard Watson waty at bigpond.net.au writes: Hi - I'm getting vastly different performance results on hda (master) as opposed to hdb (slave). One more point. The drive tests via hdparm may not be conclusive. A variety of I/O (drive) benchmark performance tests may be needed. In portage there are other tools/tests to benchmark I/O (drive) performance: bonnie bonnie++ Other benchmark/diagnostic tools may exist for I/O drive testing. HTH, James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] MySQL Run Script Weirdness
On 7/25/05, A. Khattri [EMAIL PROTECTED] wrote: On Sat, 23 Jul 2005, Patrick Rutkowski wrote: Nope, same old stuff: localhost ~ # /etc/init.d/mysql start * Starting mysqld (/etc/mysql/my.cnf) ... * MySQL NOT started, proceding anyway [ !! ] localhost ~ # /etc/init.d/mysql zap localhost ~ # /etc/init.d/mysql start * Starting mysqld (/etc/mysql/my.cnf) ... [ !! ] localhost ~ # /etc/init.d/mysql stop * ERROR: mysql has not yet been started. localhost ~ # You could try rebuilding mysql - that missing symbol error message may have been a clue... -- -- gentoo-user@gentoo.org mailing list Fixed it http://forums.gentoo.org/viewtopic-t-362461-highlight-.html -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] can' emerge kernel 2.6
Do a ls -ld /etc/make.profile to see what it's linked to. From: Benjamin Grauer [EMAIL PROTECTED] Date: 2005/07/25 Mon AM 08:52:50 EDT To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] can' emerge kernel 2.6 hi - Since some time now i tried to re-emerge a new Version of the gentoo sources earlier in this year i just emerged the gentoo-dev-sources, and it worked perfectly, but since the change of the 2.6 kernel to the gentoo-sources-ebuild, i don't seem to be able to emerge any version above 2.4.X also i do not see, what use-flags could affct this, since on my laptop i have the same ones, and there it works with gentoo-sources hopefully, there is someone out there, that encountered the same problem... greetings Benjamin Grauer -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Good reference for installing windows *after* linux?
In the gentoo guide, you most likely installed the grub bootloader. What you want to do is after installing XP, go back and reload grub onto the master boot rercord (MBR). To do this, use the install disc that you used to setup your gentoo box. The manual has the steps to put grub on the MBR - you don't need to re-emerge it. When in the grub config file, you'll also have to add an entry for windows. My working config file is shown below, though i've removed a bunch of entries for different kernel versions I keep around.. You also want to be very very careful when formating your partions in the XP setup.. it's possible to make a mistake here, and coming from someone who just did that; it's not fun! Good luck! - Adam #/boot/grub/grub.conf default 0 timeout 30 splashimage=(hd0,3)/boot/grub/splash.xpm.gz title=Inital Kernel (2.6.12-r4) root (hd0,3) kernel (hd0,3)/boot/initalKernel root=/dev/sda4 title=WindowsXP x64 SP 2 root (hd0,0) makeactive chainloader +1 On Monday 25 July 2005 10:21 am, Dave Nebinger wrote: I've been doing research about finding a way to install windows on my gentoo box (don't flame me, I wouldn't be doing it if I didn't have to). I've got a spiffy new 80gb drive which is available at /dev/hdb that I plan on using as the windows drive. Most of the dual boot guides suggest adding linux after windows; in my case I have a working gentoo linux system in place that I don't want to sack, I'd rather just add windows to the new drive. Anyone out there have a good pointer for me? Thanks! Dave -- gentoo-user@gentoo.org mailing list
[gentoo-user] Strange samba behavior, go figure.
I'm running a fresh install of gentoo, kde 3.4, etc.. samba is installed, kde runs nicely, lisa is running, and i can list the smb directories on my network easily. I've got a full gigabit network setup, and every day I play media files over my network using the smb protocol from my server over to my ummm modfied game console, which only has a 100mb card in it, of course. The media file play just fine, no problems. Transfer speeds on the rest of my network, to and form the sever, and to and from other computers, and great and consistant with a gigabit network. Problem is, when copying files in KDE from anywhere in my network to my gentoo box, speeds are at about 95 k/sec! Awful speeds.. i'm perplexed by this issue. Kernel is obviously configured properly, and as far as I can tell my network card is operating at 1000x. Any suggestions? Thanks, Adam. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] He's baaaaaack!
--- Martins Steinbergs [EMAIL PROTECTED] wrote: log to linux, erase partition table, get those heads corect, write new partition table -- reboot, LBA is on and win is What does this mean? LBA was off before and now it's on? Where? In the POST? dmesg? In the BIOS? fdisk? dos or unix? Also note: as I've said elsewhere, even when the big drive(/dev/hdb) is installed alone as master WinXP is accessible, otherwise how could boot.ini open? But both available options, WinXP or Recovery Console(by which I had hoped to use fixboot etc.) lead to system hangs. The method you propose seems rather drastic. I'd like to be sure before proceeding __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] He's baaaaaack!
Martins wrote: Um, if you do this, you will more than likely destroy the filesystems as well, because the new partitions will not line up exactly with the old ones. Anyway I don't think this is the problem. Afterall, WinXP booted fine before on this drive with LBA disabled, so something else is up. If you already made the right changes to the boot.ini file, then I suspect that a fixboot from the recovery mode of the WinXP CD will be necessary. This should not overwrite the MBR, only the boot loader that is at the beginning of the windows partition. -Richard -- gentoo-user@gentoo.org mailing list there is no worry, writing new partition table give it the same values (partition start, end, type, order) as before and not a single bit is lost What I am saying is that this is not possible with fdisk, because fdisk will insist on creating the new partitions aligned on cylinder boundaries, which will have moved in terms of logical sectors. Example: Let's say you want a 100MB partition, or about 20 512-byte sectors: With non-LBA geometry, the math is 20 sectors / (63 sectors/track * 16 heads) = 198.41 cylinders. Now round down to 198 cylinders and you get 199584 sectors in your partition With LBA geometry, the math is 20 / (63 sectors/track * 255 heads) = 12.449 cylinders. Again, round down to 12, and you get 192780 sectors in your partition. You can round up to 13 and get 208845, but you *cannot* get 199584. Possibly with another partitioning tool that allows you to specify the starting and ending heads as well as cylinders, but not with fdisk. It is *possible* for this to work if you have just one huge partition, or if your partitions happen to end at even multiples of both (63 * 255) and (63 * 16). And just for the sake of accuracy, the cylinder alignment thing is true for all partitions except: - Cylinder 0, head 0 is reserved for the MBR, so any partition starting at cylinder 0 actually starts at head 1. - Logical partitions actually start at head 0, sector 1, because the first sector contains another partition table that points to the next partition. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] /dev/hdb performance really sucks ...
Richard Watson wrote: Hi - I'm getting vastly different performance results on hda (master) as opposed to hdb (slave). Basically when my root partition mounts (/dev/hdb) I'm warned that DMA is off, yet hdparm -i shows udma as active. Basically /dev/hdb performance sucks ... I've bought both drives in the last few months. The motherboard is quite old (3 years .. I think). Any suggestions would be appreciated. Maybe double check the jumpers on both drives... the first one should be master w/slave if that option is available. -Richard (um, Fish that is) -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] bash_history missing
So if you do ls -l .bash* in your home directory, what's the output? [EMAIL PROTECTED] blissfix $ ls -l .bash* -rw-r--r-- 1 blissfix users 0 Jul 6 14:59 .bash_history -rw-r--r-- 1 blissfix users 232 Jul 2 21:12 .bash_profile -rw-r--r-- 1 blissfix users 812 Jul 2 21:12 .bashrc Note: this .bash_history was manually created w/ nano, whereas some hidden process created the one in root. And if I delete the home version another doesn't pop up on its own. BTW, the root version of .bash_history is chockful of retrospective goodness :). Also, each home console session preserves a record somewhere; the up arrow can access those. Even if I logout in and out they're still there. It's just when rebooting the unit they disappear. Where are they kept, I wonder. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] dummy console
Jorge Almeida wrote: I upgraded from kernel 2.6.11 (gentoo-sources r4) to 2.6.12 (r6), and lost my framebuffer console. No console whatsoever, actually, but xdm starts OK. Checking .config, I see # Console display driver support # CONFIG_VGA_CONSOLE=y CONFIG_DUMMY_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE=m # CONFIG_FONTS is not set CONFIG_FONT_8x8=y CONFIG_FONT_8x16=y I was under the impression that CONFIG_DUMMY_CONSOLE is set only when CONFIG_VGA_CONSOLE is unset. Wrong? I'm assuming that the dummy console overrides the vga console... There is no way to unset the ugly thing. I tried make menuconfig and make xconfig. I tried commenting out that line. The line in grub.conf: kernel (hd1,2)/boot/linux-2.6.12-gentoo-r6 root=/dev/hdb3 video=vesafb:ywrap,mtrr vga=0x31a pci=usepirqmask My guess is that you just don't have the appropriate framebuffer drivers configured in Device Drivers-Graphics Support. With the Gentoo sources, I recommend at least CONFIG_FB_VESA=y and CONFIG_FB_VESA_TNG=y. If you do you will need to change your boot options, as VESA_TNG doesn't use the vga= parameter: kernel (hd1,2)/boot/linux-2.6.12-gentoo-r6 root=/dev/hdb3 video=vesafb:[EMAIL PROTECTED],ywrap,mtrr pci=usepirqmask -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Eterm, XTerm disappear everytime I invoke them in KDE
Hi Oscar, You were correct. During my last boot, I booted into the mm kernel (which did not have BSD PTY support), when I wasn't by the grub screen. Thanks a lot, Hareesh On 7/25/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Have you compiled a new kernel recently? When terminals behave like that, usually that means that you haven't compiled in legacy (bsd) pty support in your kernel (Device Drivers - Character devices)... Oscar Monday 25 July 2005 10.48 skrev Hareesh Nagarajan: Hi All: Everytime I invoke a new instance of ETerm or XTerm, they appear on the screen momentarily and then disappear. A ps -ef | grep $TERM shows nothing, which proves that these processes died almost as soon as they were spawned. When I invoke Konsole, the window appears but the prompt never makes it to the screen. I have no idea why I am facing this problem, because in the last boot it worked. Any hints? Thanks, Hareesh -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Eterm, XTerm disappear everytime I invoke them in KDE
Hey Mariusz, Thanks for the tip. Hareesh On 7/25/05, Mariusz Pękala [EMAIL PROTECTED] wrote: On 2005-07-25 01:48:32 -0700 (Mon, Jul), Hareesh Nagarajan wrote: Hi All: Everytime I invoke a new instance of ETerm or XTerm, they appear on the screen momentarily and then disappear. A ps -ef | grep $TERM shows nothing, which proves that these processes died almost as soon as they were spawned. I don't thing that the variable TERM holds the proper terminal-program name. It's your current terminal type. pgrep -l term or ps -ef | grep term seems better. When I invoke Konsole, the window appears but the prompt never makes it to the screen. check the file ~/.xsession-errors - all stdout and stderr could go there. I have no idea why I am facing this problem, because in the last boot it worked. Any hints? did you do some upgrade recently? run revdep-rebuild ? run: eterm (or whatever) some_log_file 21 maybe some problem with fonts ? bash initialization problem? HTH -- No virus found in this outgoing message. Checked by 'grep -i virus $MESSAGE' Trust me. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] bizzarre I2C kernel selection
James wrote: I've got a very weird problem. When I go to build either a 2.6.12-gentoo-r4 or 2.6.12-gentoo-r6 kernel on a paticular AMD athlon, I cannot change the I2C selection: device driver - I2C support option. It is a dash. Manually deleting the .config file does not help. I use 'make oldconfig on this machine' but I not certain that is what locked out this option. One of the other options you have selected depends on I2C so you are not able to deselect it. I have an identical MB with a different video card, that does not have this problem with the 2.4.12-gentoo-r4 kernel. But you are using a different kernel configuration. I even tried to manually edit the .config file in /usr/src/linux to correct the errant line to look like this: 'CONFIG_I2C_SENSOR=y' but it always remains incorrect: # Hardware Sensors Chip support # # CONFIG_I2C_SENSOR is not set I2C_SENSOR is a completely different option from the one that is locked on. I2C_SENSOR is a hidden option which appears to get turned on when you enable at least 1 specific sensor driver. The option that you have locked on is CONFIG_I2C. Daniel -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Beep holding Shift
David Corbin wrote: $ grep kde /var/lib/portage/world | sort When I get that, all I get is: kde-base/kde Okay, no problem, you have a full KDE install, not a series of split ebuilds. Ah! I see what's happened to me (at least in part). When I run the control center, it prompts me for the root password, That is strange, starting the Control Center shouldn't ask for the root password. Only under System Administration most sections have an Administrator Mode button, needed when one wants to change anything there. Then it asks for the root password. All the rest should be changeable as your normal user. Do you still have your ~/.kde3.3 dir lying around? If so, you may want to tar it up somewhere safe, then delete the dir, and restart KDE, just to be sure. That probably won't help anything, so then log out of KDE, move ~/.kde3.4 to a different name for the moment, clean all KDE stuff out of /tmp, and then relogin to KDE. If that brings things back to normal, you may try diffing the old and new .kde3.4 dirs. If it doesn't help, restore your original .kde3.4 dir to get all your settings back. Benno -- gentoo-user@gentoo.org mailing list
[gentoo-user] recreating my user accout woes
As many of you are aware I have been fighting an issue with gdm, currently I am at the point where I could not login to gdm using my normal user account, but I can login using the root account. I found the same issue in the forums http://forums.gentoo.org/viewtopic-t-358052-highlight-gdm.html. I can create new user accounts that work correctly (I can log in and get to the gnome desktop). However I have deleted my old normal user account, after making a backup, then I recreated the old account using useradd -d /home/george -G users,wheel,gdm,floppy,audio,cdrom,games,cdrw -m george. Now when I attempt to login to that account I am getting cascading errors and when I reach the desktop it is a black screen with computer and trash as the only icons and not toolbars. I can right click on the desktop and get the normal menu to get out of that account. I have checked the permissions of both accounts [EMAIL PROTECTED] /home $ ls -l george total 0 drwxr-xr-x 2 george users 48 Jul 25 12:12 Desktop [EMAIL PROTECTED] /home $ [EMAIL PROTECTED] /home $ ls -l geo total 0 drwxr-xr-x 2 geo users 48 Jul 25 11:38 Desktop [EMAIL PROTECTED] /home $ so I know that is not the issue here. My question now is am I missing something here or is my computer on drugs and I need to find work arounds to get the information from my old account backups to this account? Any thoughts or pointers on this will greatly appricietated. Thanks in advance. -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] recreating my user accout woes
[EMAIL PROTECTED] /home $ ls -l george total 0 drwxr-xr-x 2 george users 48 Jul 25 12:12 Desktop [EMAIL PROTECTED] /home $ [EMAIL PROTECTED] /home $ ls -l geo total 0 drwxr-xr-x 2 geo users 48 Jul 25 11:38 Desktop [EMAIL PROTECTED] /home $ Just to be on the safe side I'd try: # chown -R geo:users /home/geo # chown -R george:users /home/george Just to ensure that the permissions are cascading down correctly. The only reason I'm suggesting this is that, by the sounds of things, you're trying to recreate a new user using files from an old user. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] He's baaaaaack!
it is possible with fdisk, i did it and it worked, and this is steps i followed, step 7 wasnt necesary for me: Fix for the XP dual boot problem * From: Radu Cornea ccradu yahoo com * To: For testers of Fedora Core development releases fedora-test-list redhat com * Subject: Fix for the XP dual boot problem * Date: Tue, 18 May 2004 22:37:57 -0700 (PDT) Like other people on this list I was affected by the bug which makes the XP partition in a dual boot configuration inaccessible after installing Fedora. Below are the steps I used to restore the partition table to its original configuration. Some people mentioned a fix that involved setting the hard disk configuration to LBA in the BIOS, but that may not work in some cases (I have an old IBM Thinkpad which does not allow it). By looking at the partition information as printed by fdisk after the partition is corrupted, it seems that the bug affects only the C/H/S values, the LBA are still correct. Even the fdisk manual specifies that DOS uses C/H/S only, Windows uses both [C/H/S and LBA], Linux never uses C/H/S. This means that the correct information is still there but just one copy is correct, the LBA one (most people affected said they could access the Windows partition from Linux just fine). The procedure below attempts to regenerate the MBR from scratch using the LBA values. In most cases the original disk geometry had 255 (or 240) as number of heads initially and was changed to 16 after the partition was corrupted by FC2. More info about the bug can be found here: https://bugzilla.redhat.com/bugzill...g.cgi?id=115980 https://bugzilla.redhat.com/bugzill...g.cgi?id=113201 This did work for me. I don't guarantee it will work for everyone, use it at your own risk... You need a bootable Linux CD (e.g. Knoppix) and a DOS system disk with fdisk on it. Here are the steps I followed: 1. boot from Knoppix or other bootable Linux CD (using the Fedora rescue CD or booting in the newly installed system in single mode, ro mounted may work too, but I haven't tried) 2. save the content of the MBR (and possibly all the boot sectors from the partitions). This is important in case something goes wrong and you want to restore later: $ dd if=/dev/hda of=mbr.img bs=512 count=1 3. run fdisk, go into expert mode and write down (or save into a file) the starting sector (NOT block), end sector and type for each partition (example below): $ fdisk /dev/hda Command: u (change units to sectors) Command: p (print) Example output: Device Boot Start End Blocks Id System /dev/hda1 * 63 33732719 16866328+ 7 HPFS/NTFS /dev/hda2 74692800 78140159 1723680 1c Hidden W95 FAT32 (LBA) /dev/hda3 35834400 74692799 19429200 83 Linux /dev/hda4 33732720 35834399 1050840 82 Linux swap 4. completely erase the MBR by writing zeros to it (you may skip this step, I am not sure if it is really needed, but this way it worked for me): $ dd if=/dev/zero of=zero.img bs=512 count=1 $ dd if=zero.img of=/dev/hda 5. force the original number of heads. In my case (20Gb in a Thinkpad) this was 240, but in most other cases it would be 255. See this post for more info: http://groups.google.com/groups?hl=bofh.itrnum=4 Using fdisk this will also create a new DOS partition table and restore the original partitions: $ fdisk -H 255 /dev/hda # or 240 for some configurations Command: o (create new partition table) 6. by now you have a newly generaed partition table, with the original disk geometry. Recreate the partitions as they were before: Command: n (new partition) Primary partition (p) Partition number: 1 First cylinder: 63 # beginning of first partition Last cylinder or +size[...]: 33732719 # end of first partition Command: t (change type) Partition number: 1 Hex code: 07 # they type of the partition Repeat for all 4 partitions. Verify at the end that the start/end/id are correct: Command: p (print) If everything is correct, write the partition table to the disk and exit: Command: w (write) Command: q (quit) 7. in my case, I had to run an extra fdisk /mbr using the DOS bootdisk (may work with a XP installation CD too, but I haven't tried). After that, everything worked fine, the partition table was back to the original configuration. If you have the GRUB in the MBR, the fdisk /mbr will overwrite it so you may want to restore it later (but use the Knoppix CD, not FC2, otherwise you may end up where you started if the bug is in grub). On my machine GRUB was installed in the Linux partition so it wasn't affected. You can return to the original MBR at any time by writing the saved image to the disk (in case this fix does not work for you) as long as you only make changes to the MBR: $ fdisk if=mbr.img of=/dev/hda This is it, I hope it works for others, if it does please let me know. -- Radu At 21:25 2005.07.25., you wrote: Martins wrote: Um, if you do this, you will more than likely destroy the filesystems as well, because the new partitions will not line up exactly with the
Re: [gentoo-user] recreating my user accout woes
On 7/25/05, Dave Nebinger [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] /home $ ls -l george total 0 drwxr-xr-x 2 george users 48 Jul 25 12:12 Desktop [EMAIL PROTECTED] /home $ [EMAIL PROTECTED] /home $ ls -l geo total 0 drwxr-xr-x 2 geo users 48 Jul 25 11:38 Desktop [EMAIL PROTECTED] /home $ Just to be on the safe side I'd try: # chown -R geo:users /home/geo # chown -R george:users /home/george Just to ensure that the permissions are cascading down correctly. The only reason I'm suggesting this is that, by the sounds of things, you're trying to recreate a new user using files from an old user. -- gentoo-user@gentoo.org mailing list Actually I could not use the old files to recreate this account. useradd -d /home/george -G users,wheel,gdm,floppy,audio,cdrom,games,cdrw -m george. Per the man page for useradd -d home_dir The new user will be created using home_dir as the value for the user's login directory. The default is to append the login name to default_home and use that as the login directory name. I could not recreate the account until I had renamed the old folder (george 2, one of the backups I have). Once I renamed the old folder, I could recreate the account with that command line. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] He's baaaaaack!
Richard Fish wrote: Martins Steinbergs wrote: log to linux, erase partition table, get those heads corect, write new partition table -- reboot, LBA is on and win is booting. none of dos/win apps worked for me to fix partition table. i asume LBA is needed only for win itself, not vfat or ntfs partitions, therefore files are accesible from linux martins Um, if you do this, you will more than likely destroy the filesystems as well, because the new partitions will not line up exactly with the old ones. In most cases, with such a misalignment, wouldn't the filesystem driver see that the superblock (or whatever signature it uses) is misplaced and refuse to mount? I have destroyed an ext3 partition due to improper geometry settings for an external usb hard drive. Something about a computer I plugged it into (bad bios?) caused this. From the Large Disk HOWTO I learned to manually specify the C,H,S as a kernel parameter sda=24321,255,63 in order to correct the problem. Good fdisk -l output: Disk /dev/sda: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Bad fdisk -l output: Disk /dev/sda: 137.4 GB, 137438952960 bytes 255 heads, 63 sectors/track, 16709 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Zac -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] dummy console
On Mon, 25 Jul 2005, Richard Fish wrote: My guess is that you just don't have the appropriate framebuffer drivers configured in Device Drivers-Graphics Support. With the Gentoo sources, I recommend at least CONFIG_FB_VESA=y and CONFIG_FB_VESA_TNG=y. If you do you I have CONFIG_FB_VESA=y and CONFIG_FB_VESA_STD=y. will need to change your boot options, as VESA_TNG doesn't use the vga= parameter: kernel (hd1,2)/boot/linux-2.6.12-gentoo-r6 root=/dev/hdb3 video=vesafb:[EMAIL PROTECTED],ywrap,mtrr pci=usepirqmask -Richard Jorge -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] dummy console
On Mon, 25 Jul 2005, Richard Fish wrote: Jorge Almeida wrote: I upgraded from kernel 2.6.11 (gentoo-sources r4) to 2.6.12 (r6), and lost my framebuffer console. No console whatsoever, actually, but xdm starts OK. Checking .config, I see # Console display driver support # CONFIG_VGA_CONSOLE=y CONFIG_DUMMY_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE=m Oh, and also, FRAMEBUFFER_CONSOLE should be =y Will try that (only tomorrow night, I can't access my home box until then). Still, what about the dummy thing? The configurator doesn't give a chance. Is it OK like this? Thanks, Jorge -- gentoo-user@gentoo.org mailing list
[gentoo-user] LinuxWorld?
Is there going to be a Gentoo booth at LinuxWorld Expo this year? Even if it's just 1 guy sitting on a milk crate, that still counts as a booth. :P -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] LinuxWorld?
On Mon, 25 Jul 2005, Jonathan Nichols wrote: Is there going to be a Gentoo booth at LinuxWorld Expo this year? Even if it's just 1 guy sitting on a milk crate, that still counts as a booth. :P And speaking of that, is there interest in a gathering of some kind, say lunch or drinks? Michael -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Help - We got boot! :-)
Hi all, Well, I did make a typo in by grub.conf file - I had .gentoo-rc6 instead of r6. This, of course, resulted in my still not being able to boot when I fixed the kernel name. Martins Steinbergs wrote: i was wondering too ;) corect is initramfs, not initramdisk, see my grub.conf entry title Gentoo 11.12 - vanilla root (hd1,2) kernel /kernel-genkernel-x86_64-2.6.11.12 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hdb9 video=radeonfb:mtrr:ywrap vga=7 splash=silent udev devfs=nomount initrd /initramfs-genkernel-x86_64-2.6.11.12 I fixed the initrd line in my grub.conf file to read as above however, mine is slightly different after 'genkernel'. I got the correct line from the grub directory. It's amazing how a few problems will cause you to learn. :-) Thanks for the assistance. Regards, Colleen -- gentoo-user@gentoo.org mailing list
[gentoo-user] Messages on boot
Hi All, The first time I did a hard drive boot into Gentoon, I noticed two messages as follows: One said the make sure that the host name in /etc was set to a valid host name. Well, in /etc, I have a file named hosts and when I look at that, it says that the host is localhost with the ip address of 127.0.0.1, which is correct for local host. Should there be another host name in there? Second, I got the message 'cardmgr failed to start. Make sure you have PCMCIA modules built or support compiled into kernel' I thought I had done 'do pcmcia' at somepoint in the process, but maybe I didn't. Can I do this after the fact? If so, exactly what do I have to do? Thanks in advance for the assistance. :-) Regards, Colleen Regards, Colleen On Monday 25 July 2005 02:31, Alex A. Smith MCP wrote: Hi, Have you made sure of the filenames of the init ram disk and the kernel? Only reason I say this is because the other day when I did a Stage 3 Genkernel the files were named something completely different from what is in the handbook. (I think initrd was something along the lines of initramdisk-more text and the both included genkernel in the file name) I had myself wondering over that for a while :) hth Alex A. Smith p.s. im installing a gentoo 2.6.12-r6 Stage 3 genkernel atm so I'll let you know when its done if the above didn't help ya. -Original Message- From: C.Beamer [mailto:[EMAIL PROTECTED] Sent: 24 July 2005 18:24 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Help Hi All, After getting side-tracked by a power outage in the middle of a Gentoo install a couple of weeks ago, I finally got back to doing a Gentoo install trial run. All seemed to go well. When I rebooted I got the menu with the two selections listed (Gentoo and DOS). The computer will boot into DOS okay, but I can't get it to boot into Gentoo. Ergo, I think the grub install is fine, but I made an error in my grub.conf file. Since I'm only moderately savvy about editing configuration files, I relied on the examples in the Gentoo Handbook. Details are as follows: I have a dual boot system: hda1 is DOS hda2 is /boot hda3 is swap hda4 is my extended partition hda5 is /root The grub.conf file that I entered is as follows: default 0 timeout 30 splashimage=(hd0,1)/grub/splash.xpm.gz title=Genoo Linux 2.6.12-r6 root (hda0, 1) kernel /kernel-2.6.12-gentoo-r6 root=/dev/ram0 init=linuxrc ramdisk=8192 real_root=/dev/hda5 udev initrd /initrd-2.6.12-gentoo-r6 title=DOS root (hda0,0) makeactive chainloader +1 I put the initrd line in the grub.conf file even though when I ran the command 'ls /boot/kernel* /boot/initrd*' as instructed in the Handbook, I got told that there was no initrdfile. Have I missed something or done something wrong? Is there a way to fix the grub.conf file? I tried selecting the Gentoo line from the menu and pressing 'e' to edit, but no matter what changes I made, I still get an error message when I try to boot into Gentoo that says: Error 15: File not found This displays immediatedly after the line kernel /kernel-2.6.12-gentoo-r6 root=/dev/ram0 init=linuxrc ramdisk=8192 real_root=/dev/hda5 udev Any assistance would be appreciated. And please remember, I am not stupid, but I'm not a computer science grad. I've been running Linux at home for about 3 years and dabbling with it for a couple of years before that, but I've always used Redhat or Fedora. However, I'm finding that with each release of Fedora, more quirks appear. Things that I was able to do with no problem in a previous release, I now can't do without letting some blood. Hence, I wanted to try Gentoo because I can install the software from source using emerge. This will be a learning curve for me, but I can conquer it - I have come a long way since a friend first mentioned Linux to me and I asked what it was! Anyway, the point of the previous paragraph is to ask that complete details be stated for any help that is provided. And if you tell me that I screwed up royally and have to start all over, that's okay. That's what this exercise was for - to learn what I needed to know before installing Gentoo on a production system. BTW, I did a Stage 3 install. Since it was my first time and I don't know anything about optimizations, I didn't want to get in over my head. :-) Thanks in advance for any assistance. Respectfully, Colleen -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Messages on boot
On Mon, Jul 25, 2005 at 06:33:21PM -0400, C.Beamer wrote: Hi All, The first time I did a hard drive boot into Gentoon, I noticed two messages as follows: One said the make sure that the host name in /etc was set to a valid host name. Well, in /etc, I have a file named hosts and when I look at that, it says that the host is localhost with the ip address of 127.0.0.1, which is correct for local host. Should there be another host name in there? The message means for you to set the hostname in /etc/conf.d/hostname (or /etc/hostname if you are using a rather old baselayout). W -- The lack of market penetration of this concept is demonstrated when Darth Vader says the power of the FORCE when he actually meant the power of the FIELD. ~Prof. Kirk T. McDonald, DeathEM, P-town PHY 304 Sortir en Pantoufles: up 22:49 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Messages on boot
Willie Wong wrote: On Mon, Jul 25, 2005 at 06:33:21PM -0400, C.Beamer wrote: Hi All, The first time I did a hard drive boot into Gentoon, I noticed two messages as follows: One said the make sure that the host name in /etc was set to a valid host name. Well, in /etc, I have a file named hosts and when I look at that, it says that the host is localhost with the ip address of 127.0.0.1, which is correct for local host. Should there be another host name in there? The message means for you to set the hostname in /etc/conf.d/hostname (or /etc/hostname if you are using a rather old baselayout). W I don't have a /etc/hostname file, I just have a hosts file. Did I do something wrong? My computer is a stand alone, but I connect to the internet via cable modem. Regards, Colleen -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Firefox 1.0.6-r2 emerge error
On Mon, 25 Jul 2005 07:14:12 +0300 Rumen Yotov [EMAIL PROTECTED] wrote the words: Adrian wrote: Greetings all. I am trying to emerge Firefox 1.0.6-r2 Here are my outputs. If anyone can advise me I would be amazingly grateful. Thank you in advance. I'm trying to make something out of this message (no programmer am I) does my problem have something to do with freetype? Thank you all Skippy Hi, By your error messages it seems you'll have to re-emerge freetype library. Another suggestion is to use -O2 in your CFLAGS, i also don't use the two ..loop.. flags, somebody here. HTH. Rumen Howdy Rumen; I did re-emerge freetype, and the emerge worked fine, but I still get the same message error when I try to emerge Firefox. Skippy -- On The Fly Photography -:- Creation From Chaos On The Fly Photography: http://204EastSouth.com Purchase from On The Fly: http://204EastSouth.com/OTFStore.htm The Cynical Libertarian Society: http://www.204EastSouth.com/cls -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Good reference for installing windows *after* linux?
On Monday 25 July 2005 10:21 am, Dave Nebinger wrote: I've been doing research about finding a way to install windows on my gentoo box (don't flame me, I wouldn't be doing it if I didn't have to). I've got a spiffy new 80gb drive which is available at /dev/hdb that I plan on using as the windows drive. Most of the dual boot guides suggest adding linux after windows; in my case I have a working gentoo linux system in place that I don't want to sack, I'd rather just add windows to the new drive. Anyone out there have a good pointer for me? Thanks! Dave In the past I've had Windows on /dev/hdb1 and used grub to swap the two drives so Windows thinks it is still on the primary hard drive. I no longer have a use for Windows though. So good luck with it. -- Chris Linux 2.6.12-gentoo-r6 i686 AMD Athlon(tm) XP 20:18:38 up 1 day, 11:52, 10 users, load average: 0.02, 0.03, 0.00 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Good reference for installing windows *after* linux?
On Monday 25 July 2005 10:21 am, Dave Nebinger wrote: Most of the dual boot guides suggest adding linux after windows; in my case I have a working gentoo linux system in place that I don't want to sack, I'd rather just add windows to the new drive. Anyone out there have a good pointer for me? Oh, by the way, a quick google search found: http://gentoo-wiki.com/HOWTO_Install_Windows_after_Gentoo I'm sure there are many other examples out there. -- Chris Linux 2.6.12-gentoo-r6 i686 AMD Athlon(tm) XP 20:27:31 up 1 day, 12:01, 10 users, load average: 0.08, 0.02, 0.01 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Messages on boot
On Mon, Jul 25, 2005 at 08:16:10PM -0400, C.Beamer wrote: Willie Wong wrote: The message means for you to set the hostname in /etc/conf.d/hostname (or /etc/hostname if you are using a rather old baselayout). W I don't have a /etc/hostname file, I just have a hosts file. Did I do something wrong? My computer is a stand alone, but I connect to the internet via cable modem. how about /etc/conf.d/hostname? W -- Why should I have to work for everything? It's like saying that I don't deserve it. -- Calvin Sortir en Pantoufles: up 1 day, 2:19 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] PS/2 mouse not working
On Mon, 25 Jul 2005 00:05:36 +0200 smoke3 [EMAIL PROTECTED] wrote: On 7/24/05, smoke3 [EMAIL PROTECTED] wrote: I'm downloading a knoppix 3.9... i'll upload any result! For now none! Ok, some news: 1. Knoppix recognize the mouse as an ImExPS/2 Generic Explorer Mouse and I cannot get it working even with this livecd!!! 2. I think the problem is with the 2.6.* kernels: it seems mouse is always recognized, but the optical lens shuts down as soon as i begin moving it... Actually no. A very few mice don't work as expected - the signal levels are way messed up. They work in WinXX because the Manufacturer put workarounds in Microsoft's mouse driver so they wouldn't have to spend an extra penny per mouse to make the hardware work properly. I ran across this with some generic BenQ OEM mice a few years ago. After a few hours of trying various machines and OS releases, I told the Engineer to throw them in the trash. And, yes they work fine on WinXX. Try getting a decent mouse - borrow one, before declaring the kernel junk. FWIW -I run Logitec, Razer. and Elcom (the GE of Japan) USB mice on a variety of Gentoo systems - all different with different chipsets, with no problems. And have done so from 2.4.24 to the current 2.6.12. Bob - -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Messages on boot
Regarding your other problem (the one about cardmgr and PCMCIA) (sorry about this, I kind of lost your original email) look through your kernel configuration (it should be in /usr/src/linux/.config), look for the line CONFIG_PCCARD=y CONFIG_PCMCIA=y CONFIG_CARDBUS=y if it is set to n, then you don't have PCMCIA support compiled in the kernel. W On Mon, Jul 25, 2005 at 08:16:10PM -0400, C.Beamer wrote: I don't have a /etc/hostname file, I just have a hosts file. Did I do something wrong? My computer is a stand alone, but I connect to the internet via cable modem. -- I have plenty of common sense, I just choose to ignore it. --- Calvin Sortir en Pantoufles: up 1 day, 2:21 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] switching to LCD monitor
On Sun, 24 Jul 2005 20:08:38 -0400 Walter Dnes [EMAIL PROTECTED] wrote: Internet TV, or videos are one reason. Do you want an animated postage stamp in one corner of your 1280x1024 display? Software scaling imposes a heavy load on the cpu, so hardware scaling is preferable. As I mentioned in a previous message, attempting to interpolate partial pixels hurts image quality. E.g. going from 1280x1024 to 1024x768 or 800x600 or 640x480 is bad. But that is what the Gfx card is for, not the monitor. The vast majority of LCD monitors just don't have the ability to do decent scaling. Gfx cards like Nvidia's 6200 and 6600 are getting there. Ati, doesn't seem to do as well, the last time I looked. The integrated VIA Unichrome series has been hampered by the older memory - the new ones have upped the memory bus speed to 400 MHz DDR. The XGI cards have some scaling, but the open source driver is lacking. 3DLabs doest some really nice scaling, but at $900 for the entry level, it's not for everybody. And their driver is still closed source, like Nvidia and ATI. However, you can retain picture quality if you divide the resolution cleanly by whole integers. E.g. a 1280x1024 display should be just as good at 640x512 or 320x256. Similarly a 1600x1200 LCD would do OK at 800x600 or 400x300. xrandr -q is your friend. Yeah but it's a real pain if you prefer to work at higher resolutions, then have to go mucking about with a resolution change. Besides, all monitors need a different color profile and brightness/contrast ratio to display video correctly. If this isn't done, no amount of resolution mucking is going to present a decent image. And I've seen very, very, few LCD monitors that produce the same color temp across the surface. The original Apple 20 was one of the worst offenders in this regard. The new 23 seems much better. Bob -- - -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] LinuxWorld?
[EMAIL PROTECTED] wrote: On Mon, 25 Jul 2005, Jonathan Nichols wrote: Is there going to be a Gentoo booth at LinuxWorld Expo this year? Even if it's just 1 guy sitting on a milk crate, that still counts as a booth. :P And speaking of that, is there interest in a gathering of some kind, say lunch or drinks? Michael That's not a half bad idea. There's quite a few decent places to eat around there. I'm not sure what day I'm going up there, but any of them sound good. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Firefox 1.0.6-r2 emerge error
Adrian wrote: On Mon, 25 Jul 2005 07:14:12 +0300 Rumen Yotov [EMAIL PROTECTED] wrote the words: Adrian wrote: Greetings all. I am trying to emerge Firefox 1.0.6-r2 Here are my outputs. If anyone can advise me I would be amazingly grateful. Thank you in advance. I'm trying to make something out of this message (no programmer am I) does my problem have something to do with freetype? Thank you all Skippy Hi, By your error messages it seems you'll have to re-emerge freetype library. Another suggestion is to use -O2 in your CFLAGS, i also don't use the two ..loop.. flags, somebody here. HTH. Rumen Howdy Rumen; I did re-emerge freetype, and the emerge worked fine, but I still get the same message error when I try to emerge Firefox. Skippy Hi, In my previous post forgot to mention that the freetype library is slotted, usually you have two versions installed. On my system i have: media-libs/freetype-1.3.1-r4 media-libs/freetype-2.1.9-r1 and FF depends on 'fontconfig' which in turn depends on: =media-libs/freetype-2.1.4 media-libs/freetype-2.1.9-r1 (second entry is my version). Usually when using emerge category/package it emerges the latest version (corrections accepted here) but could try re-emerging the minor version. The syntax here is: emerge =category/package-version -v. Also search Bugzilla. HTH. Rumen smime.p7s Description: S/MIME Cryptographic Signature