Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing Gentoo Linux from LiveDVD on Dell Dimension V350
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Thu Mar 11, 2010 3:18 am    Post subject: Installing Gentoo Linux from LiveDVD on Dell Dimension V350 Reply with quote

As some people here might know from my other threads, I have been planning to do upgrades to my home network, setup a file server and basically overhaul the entire thing so everything is on Linux except for the media center components that require Windows for reasons beyond my control.

Anyway, I ordered a VGA cable so I could connect my old Dell Dimension V350 to my monitor in order to prepare it to run headlessly. I received that today.

My Dell Dimension V350's specifications are:

350MHz Intel Pentium II Processor
384MB of 133MHz SDRAM
Intel 440BX chipset
Samsung SM-352B Combo Drive
Western Digital 320GB 7200RPM PATA Caviar Drive
Western Digital 200GB 7200RPM PATA Caviar Drive
Promise Ultra133 TX2 Controller
ADMtek NC100 Network Everywhere Fast Ethernet 10/100 NIC
ATI 3D Rage Pro integrated graphics card
Yamaha YMF-724 integrated sound card

I put my copy of the Gentoo LiveDVD into the combo drive and started the computer. I was hit by the following bug:

https://bugs.gentoo.org/252635

I applied the workaround described there by booting with gentoo noload=pata_qdi and things appeared to load, although roughly 45 minutes later the system seemed to be frozen/still-loading-KDE. I then tried booting with gentoo-nofb nox noload=pata_qdi and that enabled me to get to a command prompt. It seemed to take an abnormally long amount of time to mount stuff on a tmpfs, but I now have a command prompt. I do not think that I will be able to install Gentoo on this machine over night because I do not plan to sleep with it (or anything else remotely similar in decibel level to a vacuum cleaner) in the same room as me, so I will probably have it start compiling software tomorrow morning and let it run while I am away during the day.

I saw the following error message during the boot-up sequence:

Code:
ERROR:  cannot start nfsmount because as rpc.statd could not start


Should I worry about this?

Edit: It seems that my network card is able to get an ipv6 address, but not an ipv4 address, which is a bit of a problem. I assume that the IPv6 address it is getting is some sort of stranage default address because my router is not IPv6 capable to my knowledge. Does anyone know how I can make it get an IPv4 address? I am used to this working by default on all of my other machines, both real and virtual.

Edit: To make matters worse, it appears that the LiveDVD has no drivers for my IDE controller card. It identifies itself as Promise Technology, Inc. 20269 (rev 02). Does have any suggestions on how I can get this to work with the LiveDVD?

Edit: I just cleaned up my post, since it seems I keep finding issue after issue. I am right now downloading a Ubuntu LiveCD in the hope that I can find linux drivers on it for my hardware. I am considering compiling my own kernel, but I am not familiar with kexec, so I do not know how I would replace the current in memory kernel with a new one that has the appropriate drivers, assuming I can find them on the Ubuntu LiveCD.


Last edited by Shining Arcanine on Thu Mar 11, 2010 3:52 am; edited 1 time in total
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Thu Mar 11, 2010 3:50 am    Post subject: Reply with quote

:idea: Have you tried using the SystemRescueCd :?:
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Thu Mar 11, 2010 3:54 am    Post subject: Reply with quote

No, I have not. I could try that tomorrow morning. Should I expect it to differ from the Gentoo 10.1 LiveDVD in terms of driver support?
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Thu Mar 11, 2010 4:00 am    Post subject: Reply with quote

That may very well be the case, not sure though. But I sould think that it would certainly be worth the effort to give it a try. :)
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Thu Mar 11, 2010 4:04 am    Post subject: Reply with quote

Mike Hunt wrote:
That may very well be the case, not sure though. But I sould think that it would certainly be worth the effort to give it a try. :)


Okay, I will do that first thing in the morning.

By the way, I tried the Ubuntu 9.10 LiveCD and it was no better off than the Gentoo 10.1 LiveDVD.
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Thu Mar 11, 2010 1:23 pm    Post subject: Reply with quote

My sysresccd did not have "ERROR: cannot start nfsmount because as rpc.statd could not start" and also did slightly better with my network card, as it listed an IPv4 IP. Unfortunately, it was a 169 address that indicated that it did not successfully get an IP address from DHCP. I will try a different cable to see if that changes things.

Anyway, it still is not seeing my hard drives. It seems that it does not have a driver for my controller. :/

Edit: I checked the Linux kernel configuration. Theoretically, "PROMISE PDC202{68|69|70|71|75|76|77} support" under "ATA/ATAPI/MFM/RLL support (DEPRECATED)" under "Device Drivers" should make Linux work with my controller card, but it does not seem like support for that is compiled into the kernel. Doing gunzip -c /proc/config.gz | grep 202 yielded CONFIG_PATA_PDC2027X=m, which I believe does not support my controller card.

Edit: It seems that does support my controller card according to the Linux kernel configuration help information. I just need to figure out what I need to modprobe to make things work.

Edit: According to lsmod | grep pdc, this module is already loaded in memory.
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Thu Mar 11, 2010 2:40 pm    Post subject: Reply with quote

Okay, it seems that I had a bad cat5e cable. The NIC is now working and can connect to the internet.

Sysresccd still cannot see my hard drives, but there has been some indication in the past that the cable is bad, so I am going to assume that the cable is bad and replace it too.

Edit: I now have things in a configuration that works. I switched to the original 40-pin IDE cable and connected the drives with it to the motherboard, which did not work at first. I had the jumpers removed from the drives in the past because the default had been cable select without the jumpers. I could not find the jumpers I had removed from the drives, but I had two old SATA drives with jumpers in them so I removed their jumpers to put their jumpers into the IDE drives. I configured the IDE drives as master and slave with the jumpers and now things work, although they are on a 40-pin IDE cable and they are connected to the system board's IDE controller, which seems less than optimal, but I will do some fiddling with things later to see if I can improve the situation.

Edit: I just reformatted my 200GB drive with a 32MB boot partition, a 16GB swap partition (I have space to burn) and the remaining space as the root partition. Both the boot and root partitions are formatted ext4 with huge_file, ndir_link and extra_isize disabled. I am not sure if that was the best idea, but I do not need nanosecond precision on my desktop, there is no way that 2TB files are going to be stored on this machine and I think that the 32000 subdirectory limit is fine.
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Thu Mar 11, 2010 7:39 pm    Post subject: Reply with quote

I have an update. I am installing Gentoo Linux via the sysrescue CD over ssh during my classes. Things are going well, but I am curious about one thing.

I assume I should choose "default/linux/x86/10.0/server" over the default profile "default/linux/x86/10.0". What is the difference between "default/linux/x86/10.0" and "default/linux/x86/10.0/server"? I am not sure what this is doing and there is not much documentation that I can find on this topic.

Also, I plan for this to be a file server, vpn server and private portage mirror, does anyone have any suggestions on what USE flags I should use?
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Thu Mar 11, 2010 7:49 pm    Post subject: Reply with quote

Generally, the profile provides a reasonable set of USE flags. It's a convenience.
I use the desktop profile because it's appropriate, and most USE flags that I need for KDE4 are provided by the profile. It makes things much simpler.

One way to see what the profiles actually do is to set one and run emerge --info then try another profile. Choose the one that best suits your needs.
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Fri Mar 12, 2010 10:59 am    Post subject: Reply with quote

I have another update. It seems that GCC 4.3.4 keeps having errors whenever I try to compile something. For example, if I try to compile the kernel, it will quit with "gcc: Internal error: Segmentation fault (program cc1)" an hour or two later. I tried compiling GCC 4.4.3, but that had an issue a few hours into the compilation as well. Googling it seemed to indicate that no one has ever had that problem before, so I am thinking it is some issue with my setup. I tried changing the system profile to the default and I am trying compiling GCC 4.4.3 again, but I think some sort of hardware issue is causing this because I can see no reason why a properly functioning system would have these issues.

If it fails again, I am going to try memtest, although I think it could be an issue somewhere between the south bridge and the hard drives; one reason why I suspect that is the cause is because I mounted a tmpfs filesystem to portage that was 12GB in size (I have a 16GB swap partition) and the GCC compilation failed citing a lack of space. I unmounted it and tried again, which lead to the other failure I cited above.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Fri Mar 12, 2010 11:11 am    Post subject: Reply with quote

350MHz Intel Pentium II Processor
384MB of 133MHz SDRAM

I'd use distcc in pump mode.
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Fri Mar 12, 2010 12:49 pm    Post subject: Reply with quote

...and even if you do manage to get KDE4 compiled eventually, which would surprise me really, it's unlikely to run very well with so little ram and CPU power. Something like FVWM would be a far better choice, in my opinion.
Back to top
View user's profile Send private message
Raptor85
Apprentice
Apprentice


Joined: 29 Dec 2007
Posts: 208

PostPosted: Fri Mar 12, 2010 8:08 pm    Post subject: Reply with quote

I have a few machines similarly spec'd and XFCE4 runs beautifully on them, I'd suggest that over kde4
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Sat Mar 13, 2010 2:48 am    Post subject: Reply with quote

Jaglover wrote:
350MHz Intel Pentium II Processor
384MB of 133MHz SDRAM

I'd use distcc in pump mode.


I was actually wrong about the 133MHz SDRAM. While the RAM itself is 133MHz, the motherboard can only run it at 100MHz.

Anyway, doesn't distcc have issues when you compile it on systems that do not have the same architecture as the system that will run the software?

Mike Hunt wrote:
...and even if you do manage to get KDE4 compiled eventually, which would surprise me really, it's unlikely to run very well with so little ram and CPU power. Something like FVWM would be a far better choice, in my opinion.


The plan is for this to run headless, which means no Desktop Environment or Window Manager. All I want is ssh access to the terminal and a few other server applications.

I ran Memtest86+ on the box from the System RescueCD for 5 to 6 hours and there were no errors detected. I turned off the system because its ball bearing fans were giving me a headache. I am going to try making a virtual machine that has similar specifications and compiling binary packages in it. Hopefully that will make things easier.
Back to top
View user's profile Send private message
sera
Retired Dev
Retired Dev


Joined: 29 Feb 2008
Posts: 1017
Location: CET

PostPosted: Sat Mar 13, 2010 9:20 am    Post subject: Reply with quote

Shining Arcanine wrote:
Anyway, doesn't distcc have issues when you compile it on systems that do not have the same architecture as the system that will run the software?.

All you have to do is make sure the right compiler is called. The wrapper is described in gentoos distcc docs.
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Mon Mar 15, 2010 1:17 pm    Post subject: Reply with quote

I have an update/. I first tried compiling the Linux kernel, which failed, so I assumed that the GCC version was too old, so I tried compiling GCC, which also failed.

Here is the tail of the build log:

Quote:
/var/tmp/portage/sys-devel/gcc-4.4.3/work/gcc-4.4.3/gcc/tree.h:4629: internal compiler error: in build_binary_op, at c-typeck.c:8283
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
make[3]: *** [explow.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.3/work/build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.3/work/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.3/work/build'
make: *** [bootstrap-lean] Error 2
* ERROR: sys-devel/gcc-4.4.3 failed:
* emake failed with bootstrap-lean
*
* Call stack:
* ebuild.sh, line 54: Called src_compile
* environment, line 5022: Called toolchain_src_compile
* environment, line 5584: Called gcc_src_compile
* environment, line 3210: Called gcc_do_make
* environment, line 3000: Called die
* The specific snippet of code:
* emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
*
* If you need support, post the output of 'emerge --info =sys-devel/gcc-4.4.3',
* the complete build log and the output of 'emerge -pqv =sys-devel/gcc-4.4.3'.
* The complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.4.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.4.3/temp/environment'.
* S: '/var/tmp/portage/sys-devel/gcc-4.4.3/work/build'


I am out of ideas. Does anyone know how to get things to work?
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Mon Mar 15, 2010 1:28 pm    Post subject: Reply with quote

I've hard time following this.

Why you think gcc is too old to build kernel?
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Mon Mar 15, 2010 1:38 pm    Post subject: Reply with quote

Jaglover wrote:
I've hard time following this.

Why you think gcc is too old to build kernel?


I don't, but I decided to try upgrading to GCC 4.4.3 on the off chance it would fix things, in part because I was getting an internal compiler error that I figured might have been fixed in 4.4.3 and also because I was planning to upgrade to GCC 4.4.3 anyway.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Mon Mar 15, 2010 6:21 pm    Post subject: Reply with quote

Things are a little different on "senior" hardware. Compiling puts alot of stress on components. And weird things start happening. Some semi-retired transistor in some microchip suddenly won't close properly, for instance. And errors start creeping in. Internal compiler error you said. I installed Gentoo on an AMD K-6 450 MHz once. After getting a bunch of compiler problems and segfaults I underclocked it. Down to 400 MHz, RAM to 90 MHz. And Gentoo installed.
In general, if you get a compiler error, and you try again, and the same compilation builds or errors out in some other place - that's the hardware giving up.
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Mon Mar 15, 2010 7:48 pm    Post subject: Reply with quote

Jaglover wrote:
Things are a little different on "senior" hardware. Compiling puts alot of stress on components. And weird things start happening. Some semi-retired transistor in some microchip suddenly won't close properly, for instance. And errors start creeping in. Internal compiler error you said. I installed Gentoo on an AMD K-6 450 MHz once. After getting a bunch of compiler problems and segfaults I underclocked it. Down to 400 MHz, RAM to 90 MHz. And Gentoo installed.
In general, if you get a compiler error, and you try again, and the same compilation builds or errors out in some other place - that's the hardware giving up.


Ah, okay. It seemed like it might have been a hardware issue, but the hardware had worked in the past with Windows, so I was hesitant to rule out some sort of software issue being the cause. I remember something about Dell systems having very low wattage power supply units and I know I have added a few things to the PC (the net change is +1 HD and +2 PCI boards), so I will try pulling out some PCI cards that are not in use and disconnecting the floppy drive and trying again to see if lowering the system's power requirements will make it stable enough to run Gentoo.

If that does not work, I have my uncle's old Pentium II 266MHz PC (circa 1997), so I will try installing Gentoo on that in the hope that it has more solid hardware than my Dell.
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Mon Mar 15, 2010 10:12 pm    Post subject: Reply with quote

I tried reducing my system's load and now System RescueCD fails to get an IP address from DHCP. I had issues with DHCP previously, but this is the first time where I cannot get it to work. I am declaring this system a lost cause; I will not dissemble it, take the parts I can still use (the nic, optical drive, hard drives, ram and processor) and throw out the parts that I cannot use (the case, motherboard, floppy drive, PSU, case fan, etcetera).
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Mon Mar 15, 2010 11:08 pm    Post subject: Reply with quote

Okay, my uncle's old PC apparently had several parts (memory, hard drives, PSU, optical drive, graphics card) removed. If I used parts from my Dell Dimension V350 to replace the missing parts, I would still be short a PSU and a graphics card. At this point, I think I am approaching the cost of buying a new computer, so I am looking at my options.

I started a new thread about this in the hardware forum:

https://forums.gentoo.org/viewtopic-t-819551.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum