Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
yippee cahier
Mar 28, 2005

I actually think I might go with gentoo. I already use it on my desktop, so I'm comfortable with it.

At first I thought I would just build stripped down binary packages with portage and transfer them onto flash, but thinking about that reminded me that they have a LiveCD building utility. Perfect for a relatively read-only device. Can someone tell me what directories need to be rw on flash? Just /etc?

Adbot
ADBOT LOVES YOU

JoeNotCharles
Mar 3, 2005

Yet beyond each tree there are only more trees.

dfn_doe posted:

Well, that may be, but I'm trying argue semantics. The problem/situation I've described does exist and is contrary to the ultimate goals that were listed.

I'm just saying if this ever comes up again you need to pick a different term, or explain yourself in full like you just did, because if you just say, "dependency hell" without explanation people will assume you're talking about something different.

RoundsToZero
Dec 3, 2004

An open door is an invitation

CrazyLittle posted:

It was some time around Nov/Dec 2004 I think. It's been years, and that's one headache I'm happy to forget. Having three bosses breathing down my neck because the everything broke after the CTO did "emerge update world"... well, yeah. As I remember it, we had PHP5 installed by doing "emerge php5", and then a few months later they put PHP5 on the blocked list in portage claiming it was unstable. The next update after that linked in PHP4 instead of PHP5

Ah that's right. They moved it so both versions were in the same package, but the version 5 didn't go stable right away because it was a new ebuild. I remember this change was announced way in advance, so it's pretty bad that you had a CTO that blindly updated machines and didn't read errata.

TreFitty
Jan 18, 2003

CrazyLittle posted:

Hahahah yes. I really really loved it when Gentoo's maintainers decided that it would be a good idea to REVERT PHP5 to PHP4, thus breaking a lot of code I was working on at the time.
LMAO

As terrible as that sounds, it's also terribly hilarious! :)

ShoulderDaemon
Oct 9, 2003
support goon fund
Taco Defender

JoeNotCharles posted:

Hmm, going only by this comment, it sounds to me like Gentoo and Debian use opposite meanings for their unstable and testing branches. Debian uses "unstable" for the day to day, good enough for a desktop branch, "testing" for the temporary branch that they're testing the hell out of before declaring it stable, and "stable" for the branch that's good enough for critical servers. Stuff that's brand new and barely tested at all goes to "experimental".

The way I usually explain it is that packages don't make it past experimental in Debian if they are broken, and the "unstable"/"stable" name refers to config files: In stable, you can "apt-get upgrade" at any time with the promise that once apt finishes, your system will be working exactly as it was before, but using newer software. In unstable, you might have to tweak config files or do other system maintainer stuff after the upgrade because newer software that isn't completely backwards-compatible was installed, or because some package was removed from the archive in favor of a better solution.

dfn_doe posted:

I don't think you get it. If I install vim from a binary package AND the binary package was built with the build time options to enable X support then the binary will be dynamically linked to X11 libs which will then be an install dependency. In my experience this means that for the worst offending packages there exists multiple version of the binary packages in order to limit the number of cross dependency between packages that only provide features which aren't used. Either way you end up with multiple version which still cater to whatever the lowest common denominator is which in the case of a general use OS will be a major portion of the compile time options turned on. vi was just the first example that came to mind, another common example is ipv6, very few people use it, every major distro has ipv6 support built into every major package. Gentoo allows both of these situations to be eliminated with a "-ipv6 -X11" when you build initially.

The vim package on my Debian machine only depends on libc6, libgpmg1, and libncurses5. That said, why the hell do you care? I just SSHed to one of my headless machines and asked it what would be installed if I added xbase-clients (which pulls in all the stuff that a console program which needlessly depended on X would pull in), and the sum total of all the X11 stuff that would get pulled is less than 10MiB on disc! You may lose a millisecond or two at program initialization for it to determine that X isn't in use, but once it knows that only a very minimal number of pages will be swapped in by the X11 libs at startup, and as those pages won't be touched for the rest of the program lifetime they'll be quickly swapped out again under any memory pressure whatsoever. This is as close to zero penalty as you can get.

The IPv6 complaint is even more bogus: The IPv6 stack is in the kernel, not in userspace; the added size of IPv6 support in everything from libc on down should be so close to zero as to not warrant consideration. Now, because the complexity of a new network stack is in kernel space, that means it can't be swapped out, but if you really need that extra few megs of RAM, it's trivial to simply blacklist the ipv6 kernel module and prevent it from ever being enabled. Remarkably, this will also remove any additional system maintainer confusion, because you won't even have to look at all those scary IPv6 addresses anymore!

Paul MaudDib
May 3, 2006

TEAM NVIDIA:
FORUM POLICE
I just got a shell account on a webhost. I love it, but I'm trying to install some applications. In particular I'm trying to set up streamripper. The server doesn't have the dependencies it needs, and apt-get is obviously disabled. The CVS version has the dependencies but the server lacks autoconf. Can I use an application after make but before make-install (no permission)?
Alternately, the server admin suggested altering the directory where make install installs to and making it install somewhere in my home directory. How would i go about doing that, too?

CrazyLittle
Sep 11, 2001





Clapping Larry

RoundsToZero posted:

Ah that's right. They moved it so both versions were in the same package, but the version 5 didn't go stable right away because it was a new ebuild. I remember this change was announced way in advance, so it's pretty bad that you had a CTO that blindly updated machines and didn't read errata.

Well the real salt in the wounds was that we couldn't fix it -quickly- because of course, to fix it we had to recompile php5 from source. I use Debian now. I'm in a happier place.

covener
Jan 10, 2004

You know, for kids!

Paul MaudDib posted:

Alternately, the server admin suggested altering the directory where make install installs to and making it install somewhere in my home directory. How would i go about doing that, too?

You can usually just pass --prefix to ./configure

Big Big Moon
Sep 2, 2006

In other regions and restaurants it is mispronounced as General Tsao's, General Zhou's, General Tzo's, General So's, General Joe's,
My media library is getting way too big for my little Macbook and I'd like to set up a storage server for the stuff. What's the best distro for this?

Aberrix
Aug 24, 2007

"Those who sacrifice liberty for security deserve neither" --Benjamin Franklin

Big Big Moon posted:

My media library is getting way too big for my little Macbook and I'd like to set up a storage server for the stuff. What's the best distro for this?

http://www.freenas.org/ is a great open source solution, it's 32mb installed; basically a stripped down version of freebsd. I would reccomend it.

or you could just install ubuntu linux (or any flavor for that matter) and just create a couple samba shares.

alg
Mar 14, 2007

A wolf was no less a wolf because a whim of chance caused him to run with the watch-dogs.

Big Big Moon posted:

My media library is getting way too big for my little Macbook and I'd like to set up a storage server for the stuff. What's the best distro for this?

Any distro should work for just storage. If you want to set it up as a media server for your house, LinuxMCE should work.

DMLou
May 17, 2004
Dragonmaster Lou

Big Big Moon posted:

My media library is getting way too big for my little Macbook and I'd like to set up a storage server for the stuff. What's the best distro for this?

Another alternative is OpenFiler: http://www.openfiler.com/.

The Remote Viewer
Jul 9, 2001
Apparently the latest Gutsy Gibbon alpha has fully automatically printer configuring. You just plug it in and you're ready to go. Printers used to be a huge pain to get working under Linux.

Contero
Mar 28, 2004

Yeah, time for contero to fill up the thread with all his retarded newbie questions. :(

I installed Ubuntu on my laptop. It's very pretty and I like it. I thought it would be a good place to start.

Now I want to get xemacs and start using it as an editor. I went to their site, downloaded the latest .tar.gz and put it in my home directory. I read all the instructions on the website and the instructions inside the tarball. I pretty much got stuck trying to run ./configure where it says "gcc cannot create executeables".

Any idea why? I'm pretty sure I could just use ubuntu's "add program" menu and get GNU Emacs, but I want to figure out how to run all the makefile fun stuff. :smith:

DMLou
May 17, 2004
Dragonmaster Lou

Contero posted:

Yeah, time for contero to fill up the thread with all his retarded newbie questions. :(

I installed Ubuntu on my laptop. It's very pretty and I like it. I thought it would be a good place to start.

Now I want to get xemacs and start using it as an editor. I went to their site, downloaded the latest .tar.gz and put it in my home directory. I read all the instructions on the website and the instructions inside the tarball. I pretty much got stuck trying to run ./configure where it says "gcc cannot create executeables".

Any idea why? I'm pretty sure I could just use ubuntu's "add program" menu and get GNU Emacs, but I want to figure out how to run all the makefile fun stuff. :smith:

If it fails that early in the configure stage, I suspect you might have a missing gcc package. I can't help you much more than this as I've never used Ubuntu myself (started with Slackware, and through several other distros currently ended up with Fedora).

Any chance you can dump more of the output from configure just to get a better idea just what exactly was going on?

yippee cahier
Mar 28, 2005

Contero posted:

Yeah, time for contero to fill up the thread with all his retarded newbie questions. :(

I installed Ubuntu on my laptop. It's very pretty and I like it. I thought it would be a good place to start.

Now I want to get xemacs and start using it as an editor. I went to their site, downloaded the latest .tar.gz and put it in my home directory. I read all the instructions on the website and the instructions inside the tarball. I pretty much got stuck trying to run ./configure where it says "gcc cannot create executeables".

Any idea why? I'm pretty sure I could just use ubuntu's "add program" menu and get GNU Emacs, but I want to figure out how to run all the makefile fun stuff. :smith:

You probably need the build-essential package from the package manager. While you're installing that, select xemacs as well. ;)

It's cool you want to dive in and do it by hand, but personally, I think a package manager is the #1 reason to use linux over another OS.

teapot
Dec 27, 2003

by Fistgrrl

Contero posted:

Yeah, time for contero to fill up the thread with all his retarded newbie questions. :(

I installed Ubuntu on my laptop. It's very pretty and I like it. I thought it would be a good place to start.

Now I want to get xemacs and start using it as an editor. I went to their site, downloaded the latest .tar.gz and put it in my home directory. I read all the instructions on the website and the instructions inside the tarball. I pretty much got stuck trying to run ./configure where it says "gcc cannot create executeables".

Any idea why? I'm pretty sure I could just use ubuntu's "add program" menu and get GNU Emacs, but I want to figure out how to run all the makefile fun stuff. :smith:

You can install XEmacs package, however if you really want to compile the latest version, make sure that, as another poster mentioned, build-essential package is installed. When building XEmacs you can use default /usr/local directory prefix, or set it to /usr. Make sure that you don't have conflicting versions of XEmacs, and if possible use checkinstall instead of running "make install" directly -- it will allow you to manage XEmacs with a package manager, though you will still need to uninstall it and install packaged XEmacs if you will want to follow Ubuntu package instead of your installed version.

You may also want to install files I have posted at http://abelits.livejournal.com/31307.html (make sure that msttcorefonts package is installed as well).

In any case after installing XEmacs you probably will become very familiar with Unix and GNU build utilities anyway -- it is commonly used for development, and it remained being my preferred development environment for over a decade.

teapot fucked around with this message at 06:39 on Aug 25, 2007

covener
Jan 10, 2004

You know, for kids!

teapot posted:

You can install XEmacs package, however if you really want to compile the latest version, make sure that, as another poster mentioned, build-essential package is installed.

apt-get build-dep foo is a good choice when you want to build already packaged 'foo' from source, without as much autoconf trial and error

Leathal
Oct 29, 2004

wanna be like gucci?
lil buddy eat your vegetables
I finally got around to copying Ubuntu to my primary hard drive today, but I have a problem. It keeps booting or mounting my OLD partition on the secondary HDD.

Originally my partition table looked like this:
code:
Main HDD
- Windows Vista (NTFS)

Secondary HDD
- Files (NTFS)
- Ubuntu (ext3)
- Swap
Now it looks like this:
code:
Main HDD
- Windows XP (NTFS)
- Copied Ubuntu (ext3)

Secondary HDD
-Files (NTFS)
- Source Ubuntu (ext3)
- Swap
I have grub set to boot hd(0,1) which SHOULD be the new Ubuntu partition, but if I go to System Monitor it shows the root drive as being /dev/hdb1 which is the original Ubuntu partition. To make things even wackier, the free space shown is what it should be if it was in fact the new partition. :psyduck:

Also, only one Linux partition is being mounted, and because of the weird poo poo I mentioned (drive size vs label saying /dev/hdb2) I don't know if it's the old partition or the new one.

Halp. :(

yippee cahier
Mar 28, 2005

Leathal posted:

Halp. :(

Just making sure you updated /etc/fstab too, right?

Git
Aug 21, 2004

For the first time in however long I've been using Linux for, I have discovered a use for some of the many buttons on my Razer Diamondback. It seems a lot of people have problems getting additional mouse-buttons to work, but that they're pretty easy to get working with the relevant additions to xorg.conf, some potching with xmodmap and some magic from imwheel. However, none of these work for me.

My problem is that, regardless of what I do, the two buttons on its right side are always bound to the same action as mousewheel up/down, and the two buttons on its left side are always bound to the same action as right-click and middle-click. imwheel confirms this with its graphical tool for identifying button clicks, which makes no distinction between the side buttons and the main buttons.

Any ideas? I'm guessing this is a hardware or driver issue and such something I'm not going to be able to fix. With that and my unhealthily absurd relationship with Razer mice, will an alternative be able to provide me with distinct button-mapping for those additional buttons? I'll be happy if I can bind them to key presses so long as I can use them independently.

I'm using Ubuntu Gutsy and here's the relevant part of my xorg.conf:

quote:

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Buttons" "9"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "ButtonMapping" "1 2 3 6 7 8 9"
EndSection

rugbert
Mar 26, 2003
yea, fuck you
edit - I think I have gotten the proper drivers to install but i cant get the wireless on.

Do a lot of toggle switches NOT work with linux? I couldn't imagine so since its a hardware only thing right?

rugbert fucked around with this message at 17:48 on Aug 27, 2007

thenameseli
Sep 6, 2006

Leathal posted:

I have grub set to boot hd(0,1) which SHOULD be the new Ubuntu partition, but if I go to System Monitor it shows the root drive as being /dev/hdb1 which is the original Ubuntu partition. To make things even wackier, the free space shown is what it should be if it was in fact the new partition. :psyduck:

Also, only one Linux partition is being mounted, and because of the weird poo poo I mentioned (drive size vs label saying /dev/hdb2) I don't know if it's the old partition or the new one.

Halp. :(

Can you post your /etc/fstab, /boot/grub/{menu.lst,grub.conf}, and the output from
code:
fdisk -l /dev/hd[a-z]
?

Leathal
Oct 29, 2004

wanna be like gucci?
lil buddy eat your vegetables

thenameseli posted:

Can you post your /etc/fstab, /boot/grub/{menu.lst,grub.conf}, and the output from
code:
fdisk -l /dev/hd[a-z]
?

Here's the fstab
code:
# /etc/fstab: static file system information.
#
#  -- This file has been automaticly generated by ntfs-config -- 
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

proc /proc proc defaults 0 0
# Entry for /dev/hdb2 :
UUID=0cb0ff40-2401-4795-a298-3fb9bf47a544 / ext3 defaults,errors=remount-ro 0 1
# Entry for /dev/hda1 :
UUID=FCA4BE0BA4BDC882 /media/hda1 ntfs-3g defaults,locale=en_US.UTF-8 0 1
# Entry for /dev/hdb1 :
UUID=01C570ECD9499C80 /media/hdb1 ntfs-3g defaults,locale=en_US.UTF-8 0 1
# Entry for /dev/hdb3 :
UUID=8c780b7b-cc17-4312-8ffb-85f5701b443f none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
There is no grub.conf, but here's my menu.lst
code:
# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default		0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout		10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title		Windows 95/98/NT/2000
# root		(hd0,0)
# makeactive
# chainloader	+1
#
# title		Linux
# root		(hd0,1)
# kernel	/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=0cb0ff40-2401-4795-a298-3fb9bf47a544 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd1,1)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## ## End Default Options ##

title		Ubuntu, kernel 2.6.20-16-generic
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.20-16-generic root=UUID=0cb0ff40-2401-4795-a298-3fb9bf47a544 ro quiet splash
initrd		/boot/initrd.img-2.6.20-16-generic
quiet
savedefault

title		Ubuntu, memtest86+
root		(hd0,1)
kernel		/boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title		Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title		Windows XP Professional
root		(hd0,0)
savedefault
makeactive
chainloader	+1
and finally the output of fdisk
code:
Disk /dev/hda: 80.0 GB, 80054059008 bytes
255 heads, 63 sectors/track, 9732 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        3824    30716248+   7  HPFS/NTFS
/dev/hda2            3825        9732    47456010   83  Linux

Disk /dev/hdb: 300.0 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1               1       32657   262314625    7  HPFS/NTFS
/dev/hdb2           32658       36182    28314562+  83  Linux
/dev/hdb3           36183       36481     2401717+  82  Linux swap / Solaris

teapot
Dec 27, 2003

by Fistgrrl

Leathal posted:

Also, only one Linux partition is being mounted, and because of the weird poo poo I mentioned (drive size vs label saying /dev/hdb2) I don't know if it's the old partition or the new one.

Halp. :(
You have partitions with identical uuids. To change the old partition's uuid, run
code:
/sbin/tune2fs -U random /dev/hdb2

Leathal
Oct 29, 2004

wanna be like gucci?
lil buddy eat your vegetables

teapot posted:

You have partitions with identical uuids. To change the old partition's uuid, run
code:
/sbin/tune2fs -U random /dev/hdb2

:love: Worked beautifully. Thanks for the help.

Jo
Jan 24, 2005

:allears:
Soiled Meat
What's the appropriate method of 'cleaning' a Debian Linux install?

Back when I ran windows, the OS would slow down after a period of about two years from software getting added and removed, debuggers getting added, miscellaneous things that I needed to install for school. Cleaning would entail 'remove everything you can from startup', defrag, uninstall extra applications, things of that sort.

I'm in sort of the same boat with Debian right now. I've added security patches, installed and removed software, and the OS is feeling kinda' slow right now. What should I do to clean out my process list, startup, etc?

covener
Jan 10, 2004

You know, for kids!

Jo posted:

What's the appropriate method of 'cleaning' a Debian Linux install?

Back when I ran windows, the OS would slow down after a period of about two years from software getting added and removed, debuggers getting added, miscellaneous things that I needed to install for school. Cleaning would entail 'remove everything you can from startup', defrag, uninstall extra applications, things of that sort.

I'm in sort of the same boat with Debian right now. I've added security patches, installed and removed software, and the OS is feeling kinda' slow right now. What should I do to clean out my process list, startup, etc?

Unused programs and services don't normally consume much in the way of resources. You might want to make sure your disks are still using DMA (hdparm) and make sure your video is still accelerated (xdriinfo, glxinfo).

deborphan can remove unneeded old dependencies to save you some marginal disk space.

Finally, monitoring actual resource (mem, cpu, io) usage and finding a culprit would probably be the most likely route to solving a real steady-state performance problem (as opposed to psychological change, or change in startup behavior)

Jo
Jan 24, 2005

:allears:
Soiled Meat

covener posted:

Finally, monitoring actual resource (mem, cpu, io) usage and finding a culprit would probably be the most likely route to solving a real steady-state performance problem (as opposed to psychological change, or change in startup behavior)

I (found :downs: ) and fired up the system performance monitor supplied by KDE. I didn't notice it at first, but it looks like my kernel only recognizes 1 gig of RAM out of the two I have installed. Is there a way to verify this in another application? Memtest will tell me, I think, but I'd like to run something from inside the OS to rule out a configuration problem.

Fake Edit: It reads two gigs on POST.

yippee cahier
Mar 28, 2005

Jo posted:

I (found :downs: ) and fired up the system performance monitor supplied by KDE. I didn't notice it at first, but it looks like my kernel only recognizes 1 gig of RAM out of the two I have installed. Is there a way to verify this in another application? Memtest will tell me, I think, but I'd like to run something from inside the OS to rule out a configuration problem.

Fake Edit: It reads two gigs on POST.
Run 'free' in a terminal and read the man page if that's not enough.

Jo
Jan 24, 2005

:allears:
Soiled Meat

sund posted:

Run 'free' in a terminal and read the man page if that's not enough.

Thanks for the help. Yeah, I'm definitely not seeing two gig of available memory.
code:
jo@VoidStar-Debian:~$ free -t -m
             total       used       free     shared    buffers     cached
Mem:           885        849         35          0         21        522
-/+ buffers/cache:        305        579
Swap:         1906          0       1906
Total:        2791        849       1941
885 megs of physical ram? How did I even get that number?

covener
Jan 10, 2004

You know, for kids!

Jo posted:

Thanks for the help. Yeah, I'm definitely not seeing two gig of available memory.
code:
jo@VoidStar-Debian:~$ free -t -m
             total       used       free     shared    buffers     cached
Mem:           885        849         35          0         21        522
-/+ buffers/cache:        305        579
Swap:         1906          0       1906
Total:        2791        849       1941
885 megs of physical ram? How did I even get that number?

Using a stock kernel on modern distribution? $ grep HIGHMEM /boot/config-`uname -r`

Maybe some people still need to pass mem= as a kernel parm? mem=2048M ?

Jo
Jan 24, 2005

:allears:
Soiled Meat
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set

Guess I need a custom kernel after all. Thanks for the help.

Jo fucked around with this message at 02:53 on Aug 29, 2007

hk0
Sep 24, 2005

HO HO HO!!!

Git posted:

For the first time in however long I've been using Linux for, I have discovered a use for some of the many buttons on my Razer Diamondback....

I'm using Ubuntu Gutsy and here's the relevant part of my xorg.conf:

Try this kind of stanza instead:

quote:

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Buttons" "9"
Option "Device" "/dev/input/event0"
Option "Protocol" "Auto"
Option "ZAxisMapping" "4 5"
Option "ButtonMapping" "1 2 3 6 7 8 9"
EndSection

If for some reason the mouse doesn't move anymore, first make sure Legacy Mouse emulation is turned off in your BIOS.
Then try replacing "/dev/input/event0" with "/dev/input/event1", "/dev/input/event2" and so forth. (If you read the output of lsusb -v carefully and poke around in /sys/bus/usb you can find out exactly but there usually is only 2-3 choices so just try them).

Finally, if your buttons are still not working as expected, try changing the ButtonMapping line to:
Option "ButtonMapping" "1 2 3 4 5 6 7 8 9" or "1 2 3 6 7 8 9 4 5"

You _will_ get it working after playing with that for a bit.

Of course you still have to map those extra buttons to useful things in your window manager :cheers:

RoundsToZero
Dec 3, 2004

An open door is an invitation

Jo posted:

CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set

Guess I need a custom kernel after all. Thanks for the help.

I don't know if this is still the case, but I remember at some point seeing that a distro would install multiple stock kernels, some with HIGHMEM, some without, others with PAE (another form of highmem). What else is in /boot?

obsidian440
Apr 15, 2004

Don't question god's choices.
I came across a server running a version of redhat and managed to learn that the harddrive is partitioned into 4 drives, SDA1-4. The forth partition is listed as unkown and takes up a good part of the total size of the drive. xwindows is not installed and and I have next to no experiance with linux command prompts. Is there a way to find out what is in this unknown partition ? There is reason to believe that the box was used to run virtualized windows servers as well.

RoundsToZero
Dec 3, 2004

An open door is an invitation
Is the partition type 8e (LVM)?

SnatchRabbit
Feb 23, 2006

by sebmojo
I'm a linux noob, but I have a system running ubuntu. What's the easiest way to run Windows without doing a dual boot? I was thinking VMWare or WINE. Which of these, or any others, would be easiest to setup and use?

Steve French
Sep 8, 2003

SnatchRabbit posted:

I'm a linux noob, but I have a system running ubuntu. What's the easiest way to run Windows without doing a dual boot? I was thinking VMWare or WINE. Which of these, or any others, would be easiest to setup and use?

Do you want to actually run a Windows install, or do you just need to use a few Windows programs?

Adbot
ADBOT LOVES YOU

SnatchRabbit
Feb 23, 2006

by sebmojo

jstultz posted:

Do you want to actually run a Windows install, or do you just need to use a few Windows programs?

I guess either one would be ok. Is it just easier to run a few programs with an emulator?

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply