Slackware :: Worth Changing Chost If System Built With Custom Prescott Cflags?
Oct 18, 2010
I built my slackware system from source code. Bootstrapped, toolchained etc.. The only thing I didn't change was the chost thinking that life would be easier if left alone @ i486. Would I have gained anything if I had used i786 or even pentium4 (pentium4-slackware-linux-gnu)?
I already got all the benefits of optimization when I used (still using) my own CFLAGS CXXFLAGS right? So changing the chost won't do anything speed wise will it? If I used march=prescott when compiling everything am I ok to just forget about the chost value? It's not gonna change anything will it?
I have a custom built 2.6.37 kernel where I have most of my devices compiled into the kernel. The only modules are related to nouveau (in case I want to go back to proprietary nvidia) and sound drivers. Everything seems to be running fine. However, in /proc/acpi, I'm missing a number of entries, such as thermal_zone/, dsdt, etc. I do have ac_adapter/, battery/, button/, event, processor/ and wakeup. I've gone through what I think is a very detailed review of my kernel config, and I can't find where I've missed something ACPI related. Here is my kernel config with the ACPI section.
Code: # Power management and ACPI options CONFIG_ARCH_HIBERNATION_HEADER=y CONFIG_PM=y # CONFIG_PM_DEBUG is not set CONFIG_PM_SLEEP_SMP=y CONFIG_PM_SLEEP=y CONFIG_SUSPEND_NVS=y CONFIG_SUSPEND=y CONFIG_SUSPEND_FREEZER=y CONFIG_HIBERNATION=y .....
I have read that when using xfs with lvm2, prior to kernel 2.6.29 write barriers are by deffault disabled.As i want to migrate /home to xfs (and create a external partition to hold some data in xfs too) i was thinking in compile a custom kernel 2.6.30 or higher from [URL].I have read the wiki, all the warnings , and that for compile a kernel.org kernel you should use the Linux Kernel in a Nutshel guide/book. But i don't really know if would worth do that only to have write barrier support , more when in one month i will buy a ups to be sure i can shutdown the pc well if the power goes out.Should i enable write barriers on xfs with lvm2 ,although going to have a ups ?
I am new to linux, but need to do the following: 1.) Use a basic ubuntu 9.04 distro 2.) On boot run an existing .sh script
I would like to make a thumbdrive with a live cd version that will auto run to desktop and execute the .sh script. I am looking for pointers on accomplishing this. I have found ways to get the live cd to run on USB, but it still involves clicking the "run without changing your system link" and I cannot figure out how to run the script on start up.
I've been googling and reading up on how to set build optimizations for my system, and after consulting the Arch Wiki, old threads here, and some mailing lists, I've concluded that the way to set CFLAGS, etc. is by putting this in /etc/profile:
I compiled my own custom kernel for the first time. I tinkered with different options, nothing to difficult. I actually didn't expect it to work the first time.
I had kept the original lilo boot config just in case something was to go wrong. Now when I try to boot the system, I always get a "VFS: cannot mount root system on (8,3)". I googled this and found that my kernel did not support my root filesystem (btrfs). So I made an initrd with btrfs kernel module, but it didn't help. I then got a string of errors about how /dev could not be mounted.
My question is two-fold. First, how come when I configure the system back to when it was first installed, it still won't boot? Im using the same kernel (2.6.37.6-smp). Second, how can I get myself out of this rut without reinstalling?
lilo.conf
Code: lba32 append=" vt.default_utf8=0" boot=/dev/sda vga = normal # Linux - Slackware image = /boot/vmlinuz-huge-smp-2.6.37.6-smp root = /dev/sda3 label = Linux read-only
BTW, I have been maintenancing the system by chrooting into the device off of my slackware boot disk. Im on slack 13.37
I was just on an irc channel asking about Slackware, which I just installed, and they started bashing it saying its completely worthless. In 2010 is it still a good OS to use if learning about OS guts? I have another system which I use when I need to get stuff done, so its not like I can't deal with any system issues that may arise.
I'm building an RPM that requires adding a cron job into a user's(service account) crontab...from what I see in the manpages, this isn't possible, as the only viable option is to replace the crontab entries already there for previous scripts being run. Either way, as an example I've found I can make it work by directly modifying the crontab file using:
I'd just like to know, is there any MAJOR issues with modifying a the crontabs like this? This is running on a Redhat Enterprise Linux server by the way.
I've just built gcc 4.6.0 by myself since there is no update in Mandriva yet and I really needed the updated version, but I must be missing something in its configuration. I added ~/apps/gcc460/bin in front of my PATH, and the lib dir to my LD_LIBRARY_PATH in my .bash_profile, like so:
I still have gcc 4.4.2 installed, but it's now hidden, so gcc --version correctly yields 4.6.0. I finally tried to build my project, all went fine, but at the moment of running it I get: Code: ./EugGame.Release.Linux: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./EugGame.Release.Linux)
I assume the correct version is the one located in ~/apps/gcc460/lib, but how do I make my project load the correct lib? Is it possible at all to have two versions of gcc on the same machine? I just found that I should've added lib64 to my LD_LIBRARY_PATH instead of lib. Anyways, even if the problem is solved, I'd like to hear if my configuration is well made or if I should leave LD_LIBRARY_PATH unset and use some other way to override the default search path for stdlib.
I just rebuild the kernel for slackware 13, everything works, but root file system which is ext3 is mounted as ext2. Normally I've build ext3, ext4 and so on as modules, not in the kernel... but if I do this, then the kernel mounts the file system as ext2, which is build in the kernel. I also modified rc.modules so I can make sure that ext3,ext4,jbd are loaded, but it doesnt work.
I've been working on creating a Live CD with the tools I want, just for my use with system recovery and repair. For the most part, things have gone very well. The Live CD actually works fine, somewhat. I have run in to a problem where it doesn't actually boot on a lot of hardware.
What happens is during boot, while the modules are loading, the boot process hangs and the disc drive spins down. While I thought it might be a kernel problem, I'm using the .config from the latest gentoo Live CD, which boots fine on the same hardware.
I am following the tutorial found here: http://www.mythtv.org/wiki/AVerMedia_M150-D.I found that the sound does sound "demonic" so I'm trying to implement the custom channel changing command/script as he recommends, I made the script, but I cannot find the option or field in MythTV-Setup where I choose to use it or where to put a command for custom channel changing.
I have a Philips 19' HDTV I use as my monitor, I have tried every guide out there, including the wiki one with xandr. Nothing works for me. This seems like it should be way easier, set custom resolution go.. but this isn't the case.
Using Ubuntu 10.04 -
I've tried editing the xorg.conf and adding the modelines and changing the modes , I've tried the xandr commands. I've tried guides from years ago to current ones. I'm desperate, Everything is cut off like maybe an inch not even. Can just barely see the edges of the top and bottom bars.
I've been working on this for many many hours coming up with nothing every time. I wish there was a way to just resize the desktop.
Since there aren't many available third party packages for slackware 13.1 yet, is it safe to install packages built for slackware 13.0? For example I need to install openoffice and skype and the latest packages i could find are built for 13.0.
I read over the X11 acceleration in this forum but I'm not having issues with acceleration - running slackware 13 with built in ATI AGP stuff in kernel. Glxgears is putting out what I would expect for a 9600 pro (2500 FPS in the little window). I haven't needed you guys for a very long time but I just formatted Ubuntu (was getting on my nerves) and installed slack 12 on my hp netbook and 13 on my old desktop without a hitch - except this
I NEED BIG DESKTOP! I've searched, I've read, I've wondered! What's the normal setup in xorg.conf for bigdesktop WITHOUT the ATI driver (I ran the driver after building a custom kernel and the installer crashed with "Error: ./default_policy.sh does not support version" - I think I should of renamed my kernel path and setup differently or something)? Is BigDesktop ONLY supported with the driver? I know now that the driver wont work for my system - How do I enable bigdesktop with the open source driver I built in?
I'd like to stream from my netflix account on Slackware64, v13.1. What I've found is I should probably use "Moonlight" as it's a MS Silverlight clone for linux. Has anyone had this running before? Are there any pre-built packages or a slackbuild script somewhere?
Does anyone notice that Slackware's user/groups is cluttered with things no one will ever need, do you need be to be part of the slocate group? like really? Why doesn't every program just have its own group then, I look at my distro (LFS built), SuSE and some others and I can't help but notice the huge amount of groups in slackware, if you going to add groups for everything then why in the universe do we even need sudo for? Just make the binary you want to work a group and change its ownership..... wtf is Pat and the rest of Slackware doing?
I have kind of a weird question. All Slackbuilds use -march=i486 -mtune=i686 -O2 to pass to gcc for standard building. What does gcc use by default if none are specified. Say for instance I just did ./configure && make && make install without specifying -march.
I was wondering if there were a way to use the apt-get -b source command and add CFLAGS and CXXFLAGS in order to build things with optimized code. Also, would it be possible to use Intel's ICC for compiling with apt-get -b source
I have a Dell Inspiron 1525 And for some odd reason I can't use my webcam, whem I try to use my webcam all the programs I tried say the same "webcam/device not found". I don't know what's happening but a while ago I had to reinstall ubuntu 10.10, but the version I had installed before could use my webcam.
Okay, just wanted to be perfectly clear on this point... /static/ software builds don't link to /any/ shared libs, right? I.e., can a static-built C program run on a system without a libc installed?
Most all of this works when I execute it manually, but I cannot figure out how to get a bash script to execute it automatically.In this particular case, I am trying to build the xorg utilities. If I manually step through the process, prepending the commands with CFLAGS, LDFLAGS, etc, all of the packages build.So I created a bash script, test.sh:
The situation: computer based on Asus P6T motherboard. Two RAIDS:
- 'boot', on motherboard built-in RAID controller (CentOS 5.5 installed on this RAID) - 'data' on 3dware RAID card
At one moment a CPU fan fails and the system halts. After the fan is replaced, BIOS informs it's reset and all the inner controller data are forgotten. After I switch it to 'RAID' mode, it remembers it was a mirror raid (RAID 1) installed, but the file system on it is completely trashed.
The 'data' RAID run by external controller isn't affected by the system failure. Three questions:
- is it worth trying to install OS on the rebuilt 'boot' RAID once again? Looks like if BIOS settings are lost for some reason, there's chance of completely losing RAID data - has someone encountered similar problem with built-in RAID nd was it possible to recover data? - will the software RAID be worth creating instead of using hardware RAID to replace the 'boot' drive?
First time posting here, sort of long time slacker with some gaps in between... Anyway, I have a sort of question/feature request. First of all, I fully understand the KISS philosophy from Slackware. Story: I co-worker of my was looking for a Linux distro to install into a VM that he would be able to carry around in an USB memory from work to home. I suggested for him to try slackware. However, he has a limitation of ~2gb to the installation size, and he doesn't need most of the packages. With this in mind, I helped him select the more relevants one, but it was a pain to make an installation that both works AND attends the 2gb maximum limitation.
From that experience, and also having in mind the KISS philosophy from Slackware, comes my question/sugestion: why not provide an install option like "Custom Packages Script", that will load a single script file from a USB/mounted partition and install pre-selected packages that a person has selected and build the script from? This would allow anyone to build a custom Slackware installation and share it with the community.
13.37 default Xfce version panel clock not persisting custom format. Carry on. It would help if I didn't have two installations and I only configured the clock on one of them.
this isn't so much slackware specific as it is general linux related, but using the default huge slackware kernel included with 13.1, acpi reports cpu temps of about 55 celsius i always like to run my own kernels though, and using the latest stable kernel, i have compiled one using what i believe is necessary for my hardware, and everything works as expected except that acpi reports my cpu temp as 80 celsius at idle, causing my fan to be running constantly
so without simply using the generic config included with slack in the newer kernel, what do you think might be causing the thermal issues? i used diff on the two configs and the output is over 5,000 lines, so thats not a huge help, and im really not even sure what to be looking for the cpu is an intel i7 720qm, so if anyone might know any specific settings for that processor type needed for acpi to interface with it properly that would be much obliged here is my config for potential review: [URL] also, if i disable acpi entirely, the fan operates as normal but i cannot get readings obviously