From: Ronald P. <pij...@ds...> - 2004-03-30 18:32:09
|
Hi all, After tweaking reiserfs a bit (so it will not be stopped by a zero sized device :-), I started my natively installed Gentoo distribution for the first time. Then I ran into a couple of problems. /etc/fstab has an entry for / on /dev/hda6, but suddenly this has become /dev/cobd0. Although I can specify this in default.colinux.xml, during init it is remounted based on fstab. Some similar problem happens for the swap device and cd-rom. Has anyone an elegant solution for this? I manually edited fstab to accommodate said problem, then rebooted. This went fine :) . Hoera! That is... all services start (although I seem to have to press the any key a few times). However, when I get the login promt everything freeses, including Windows (XP Pro). I guess that this can be related to the CFLAGS settings that I use for Gentoo (includes -march=pentium3 -mcpu=pentium4), but that is just a guess. I didn't expect Windows to freese either. Any comments? All in all, I'm slowly getting where I want to get :) Ronald. |
From: <ch...@to...> - 2004-03-30 19:09:27
|
This is exactly what my topologilinux howto acomplishes on the coLinux wiki page but that is for a slackware based distro on a loopback filesystem. I use the fact that /initrd the mount point for the initrd in a native boot is not used by coLinux mode. hprofile can change configuation files for different boot methods but this can only be done after / is rw If you are not using an initrd for native boot you could create a do nothing initrd for native boot mode that just has a linuxrc that does the pivot root see the initrd.txt file in kernel source documentation. chris > Hi all, > > After tweaking reiserfs a bit (so it will not be stopped by a zero sized > device :-), I started my natively installed Gentoo distribution for the > first time. Then I ran into a couple of problems. > > /etc/fstab has an entry for / on /dev/hda6, but suddenly this has become > /dev/cobd0. Although I can specify this in default.colinux.xml, during > init it is remounted based on fstab. Some similar problem happens for > the swap device and cd-rom. Has anyone an elegant solution for this? > > I manually edited fstab to accommodate said problem, then rebooted. This > went fine :) . Hoera! > That is... all services start (although I seem to have to press the any > key a few times). However, when I get the login promt everything > freeses, including Windows (XP Pro). > I guess that this can be related to the CFLAGS settings that I use for > Gentoo (includes -march=pentium3 -mcpu=pentium4), but that is just a > guess. I didn't expect Windows to freese either. Any comments? > > All in all, I'm slowly getting where I want to get :) > > Ronald. > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > coLinux-devel mailing list > coL...@li... > https://lists.sourceforge.net/lists/listinfo/colinux-devel > |
From: <ch...@to...> - 2004-03-30 19:22:40
|
I would recomend getting the second problem fixed with your manually edited fstab first before going on to my other sugestion. chris > Hi all, > > After tweaking reiserfs a bit (so it will not be stopped by a zero sized > device :-), I started my natively installed Gentoo distribution for the > first time. Then I ran into a couple of problems. > > /etc/fstab has an entry for / on /dev/hda6, but suddenly this has become > /dev/cobd0. Although I can specify this in default.colinux.xml, during > init it is remounted based on fstab. Some similar problem happens for > the swap device and cd-rom. Has anyone an elegant solution for this? > > I manually edited fstab to accommodate said problem, then rebooted. This > went fine :) . Hoera! > That is... all services start (although I seem to have to press the any > key a few times). However, when I get the login promt everything > freeses, including Windows (XP Pro). > I guess that this can be related to the CFLAGS settings that I use for > Gentoo (includes -march=pentium3 -mcpu=pentium4), but that is just a > guess. I didn't expect Windows to freese either. Any comments? > > All in all, I'm slowly getting where I want to get :) > > Ronald. > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > coLinux-devel mailing list > coL...@li... > https://lists.sourceforge.net/lists/listinfo/colinux-devel > |
From: John L. <jo...@su...> - 2004-03-30 20:51:17
|
My guess is that gentoo is trying to start x at that point? or doing some other framebuffer operation? If so, that is what is causing the freeze. Colinux doesn't yet support linux trying to use your display adapter. John LeSueur Ronald Pijnacker wrote: > Hi all, > > After tweaking reiserfs a bit (so it will not be stopped by a zero > sized device :-), I started my natively installed Gentoo distribution > for the first time. Then I ran into a couple of problems. > > /etc/fstab has an entry for / on /dev/hda6, but suddenly this has > become /dev/cobd0. Although I can specify this in default.colinux.xml, > during init it is remounted based on fstab. Some similar problem > happens for the swap device and cd-rom. Has anyone an elegant solution > for this? > > I manually edited fstab to accommodate said problem, then rebooted. > This went fine :) . Hoera! > That is... all services start (although I seem to have to press the > any key a few times). However, when I get the login promt everything > freeses, including Windows (XP Pro). > I guess that this can be related to the CFLAGS settings that I use for > Gentoo (includes -march=pentium3 -mcpu=pentium4), but that is just a > guess. I didn't expect Windows to freese either. Any comments? > > All in all, I'm slowly getting where I want to get :) > > Ronald. > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > coLinux-devel mailing list > coL...@li... > https://lists.sourceforge.net/lists/listinfo/colinux-devel |
From: Daniel R. S. <dan...@ya...> - 2004-03-30 21:31:29
|
I ran into the same issue with /etc/fstab for my dual boot fedora installation. What I did was to create a small (250MB) file to use as a root partition. This I booted the debian image under colinux, mounted my fedora partition and the root file. Then I copied /etc, /bin, /sbin, /lib and /lib/modules from the fedora partition to the root file. I created a directory /.fedora on the root file, changed /etc/fstab on the root file to mount /dev/cobd0 on / and /dev/cobd2 on /.fedora. Then I created symbolic links for the rest of the directories in / that pointed to the corresponding directories on the fedora partition. This seems to work great for me. I can run fedora either under colinux or natively. Dan -----Original Message----- From: col...@li... [mailto:col...@li...] On Behalf Of John LeSueur Sent: Tuesday, March 30, 2004 3:53 PM To: Ronald Pijnacker Cc: col...@li... Subject: Re: [coLinux-devel] Dual boot vs. coLinux setup My guess is that gentoo is trying to start x at that point? or doing some other framebuffer operation? If so, that is what is causing the freeze. Colinux doesn't yet support linux trying to use your display adapter. John LeSueur Ronald Pijnacker wrote: > Hi all, > > After tweaking reiserfs a bit (so it will not be stopped by a zero > sized device :-), I started my natively installed Gentoo distribution > for the first time. Then I ran into a couple of problems. > > /etc/fstab has an entry for / on /dev/hda6, but suddenly this has > become /dev/cobd0. Although I can specify this in default.colinux.xml, > during init it is remounted based on fstab. Some similar problem > happens for the swap device and cd-rom. Has anyone an elegant solution > for this? > > I manually edited fstab to accommodate said problem, then rebooted. > This went fine :) . Hoera! > That is... all services start (although I seem to have to press the > any key a few times). However, when I get the login promt everything > freeses, including Windows (XP Pro). > I guess that this can be related to the CFLAGS settings that I use for > Gentoo (includes -march=pentium3 -mcpu=pentium4), but that is just a > guess. I didn't expect Windows to freese either. Any comments? > > All in all, I'm slowly getting where I want to get :) > > Ronald. > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > coLinux-devel mailing list > coL...@li... > https://lists.sourceforge.net/lists/listinfo/colinux-devel ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ coLinux-devel mailing list coL...@li... https://lists.sourceforge.net/lists/listinfo/colinux-devel |
From: <ch...@to...> - 2004-03-31 12:19:18
|
If you set inittab to boot to runlevel 3 that would probably be the easiest way to find out if X is the problem. If that is it and you later decide that you would like an X login then the solution I gave for fstab would work for changing out inittab and if you want to use an xdmcp solution for cygX or vnc then you could use my method to swap out the config file for xdm or gdm there is a setting there for not creating a local display which you could set in the coLinux version of the file. chris > My guess is that gentoo is trying to start x at that point? or doing > some other framebuffer operation? If so, that is what is causing the > freeze. Colinux doesn't yet support linux trying to use your display > adapter. > > John LeSueur > > Ronald Pijnacker wrote: > >> Hi all, >> >> After tweaking reiserfs a bit (so it will not be stopped by a zero >> sized device :-), I started my natively installed Gentoo distribution >> for the first time. Then I ran into a couple of problems. >> >> /etc/fstab has an entry for / on /dev/hda6, but suddenly this has >> become /dev/cobd0. Although I can specify this in default.colinux.xml, >> during init it is remounted based on fstab. Some similar problem >> happens for the swap device and cd-rom. Has anyone an elegant solution >> for this? >> >> I manually edited fstab to accommodate said problem, then rebooted. >> This went fine :) . Hoera! >> That is... all services start (although I seem to have to press the >> any key a few times). However, when I get the login promt everything >> freeses, including Windows (XP Pro). >> I guess that this can be related to the CFLAGS settings that I use for >> Gentoo (includes -march=pentium3 -mcpu=pentium4), but that is just a >> guess. I didn't expect Windows to freese either. Any comments? >> >> All in all, I'm slowly getting where I want to get :) >> >> Ronald. >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: IBM Linux Tutorials >> Free Linux tutorial presented by Daniel Robbins, President and CEO of >> GenToo technologies. Learn everything from fundamentals to system >> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >> _______________________________________________ >> coLinux-devel mailing list >> coL...@li... >> https://lists.sourceforge.net/lists/listinfo/colinux-devel > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > coLinux-devel mailing list > coL...@li... > https://lists.sourceforge.net/lists/listinfo/colinux-devel > |
From: Ronald P. <pij...@ds...> - 2004-04-01 19:51:44
|
ch...@to... wrote: > If you set inittab to boot to runlevel 3 that would probably be the > easiest way to find out if X is the problem. If that is it and you later > decide that you would like an X login then the solution I gave for fstab > would work for changing out inittab and if you want to use an xdmcp > solution for cygX or vnc then you could use my method to swap out the > config file for xdm or gdm there is a setting there for not creating a > local display which you could set in the coLinux version of the file. > > chris Hmm... that´s a mighty lot of files in one sentence. I think I understand what you´re getting at. I´ve been reading the Gentoo init documentation, and I´ve got the feeling there´s quite some interesting things to do with that. E.g. I could define a complete extra (soft)runlevel for booting coLinux. With a kernel parameter softlevel=coLinux it would boot into this runlevel. This should allow for doing some of the right things. Combined with your initrd boot option, I should be able to make this work. Thanks for the input. Ronald. |
From: Ronald P. <pij...@ds...> - 2004-04-01 19:45:05
|
John LeSueur wrote: > My guess is that gentoo is trying to start x at that point? or doing > some other framebuffer operation? If so, that is what is causing the > freeze. Colinux doesn't yet support linux trying to use your display > adapter. Yes, you´re very right. Booting with ¨single¨ lets me run Gentoo nicely. In fact, this mail is currently typed from Remote X-ing into Gentoo inside coLinux in WindowsXP :) Getting there... Ronald. |
From: morfic <mo...@bb...> - 2004-03-30 23:50:25
|
Im very curious about the freezing part, im currently using gentoo in a 10GB image since i have yet to manage to find a livecd (reg gentoo and knoppix fail to see the ricoh fireiwre adapter in this Sony laptop) to partition and format a 13GB area that is unused on my firewire drive, but back to the freezing i have problems when compiling in gentoo and after X number of packages my laptop simply shuts down. My first thought was over heating, a thought i discarded since i was able to create more heat and for a longer time when repacking several images i used for colinux and wanted to have backed up since one of those shut downs rendered two images unusable before you use -march=pentium3 -mcpu=pentium4 which should elegantly give the most optimized gentoo for a P4 while not having to worry about -march=pentium4 now correctly generating code or not (a problem in the past) i would like to point out i have had those shutdowns very frequent when using -march=pentium4 (i am trusting gcc 3.3.2 there) and still managed to get one since trying it all again with just -march=i686 -O2 -fomit-frame-pointer -pipe if anyone else has problems with freezes and or shut downs on P4s i would like to hear about it Ronald Pijnacker wrote: > Hi all, > > After tweaking reiserfs a bit (so it will not be stopped by a zero > sized device :-), I started my natively installed Gentoo distribution > for the first time. Then I ran into a couple of problems. > > /etc/fstab has an entry for / on /dev/hda6, but suddenly this has > become /dev/cobd0. Although I can specify this in default.colinux.xml, > during init it is remounted based on fstab. Some similar problem > happens for the swap device and cd-rom. Has anyone an elegant solution > for this? > > I manually edited fstab to accommodate said problem, then rebooted. > This went fine :) . Hoera! > That is... all services start (although I seem to have to press the > any key a few times). However, when I get the login promt everything > freeses, including Windows (XP Pro). > I guess that this can be related to the CFLAGS settings that I use for > Gentoo (includes -march=pentium3 -mcpu=pentium4), but that is just a > guess. I didn't expect Windows to freese either. Any comments? > > All in all, I'm slowly getting where I want to get :) > > Ronald. > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > coLinux-devel mailing list > coL...@li... > https://lists.sourceforge.net/lists/listinfo/colinux-devel > > |
From: Ronald P. <pij...@ds...> - 2004-04-01 19:54:01
|
morfic wrote: > Im very curious about the freezing part As just posted in another mail, the freezing was related to Gentoo accessing the framebuffer. I´ve had no problems in the course of this evening (on a HT machine even). Ronald |