Re: lenny amd64 for Desktop
On Thu, Dec 06, 2007 at 11:15:12PM -0600, Karl Schmidt wrote: > Like to get some feedback from anyone running lenny on amd64. I have just upgraded from a (short-lived) etch installation to lenny. > Is it workable? Definetly! > I'm currently running etch as a desk top - how well is lenny doing? I upgraded to lenny in order to get the nv driver that would recognize my nvidia 8600 card - I simply could not get it to play with etch. Haven't got around to plugging it in after the upgrade, so I can't say if it works. Maybe this weekend... > Any reasons not to upgrade? I had problems with KDE's fish protocol (file browsing etc over ssh). Solved them by staying at an older kernel. Expect those to be ironed out soon. That was all. I had recently installed etch, coming from 32-bit mode. The upgrade was as painless as you could hope. Change your sources, apt-get update, apt-get dist-upgrade. No fuzz. Been happy with it the past few days. Still need to sort out some things that need to be run 32-bit (flash, java?, video codecs for xine, ...), but those problems were the same on etch. (anyone have a good howto that is up to date with lenny? Most I find on the net are somewhat older) Regards Heikki -- Heikki Levanto "In Murphy We Turst" heikki (at) lsd (dot) dk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: lenny amd64 for Desktop
On Fri, Dec 07, 2007 at 10:18:25AM -0600, Don Montgomery wrote: > When I leave the machine overnight, it usually loses touch > with the monitor. This occurs without regard to whether I > lock the screen or not, or whether I leave the monitor > turned on or off. No keypress, hotkey combo, or mouse > wiggle has any apparent effect, and I have to hard reboot. > I do not know what is causing it. Which graphics card do you have? And which driver? The symptoms sound much like what I had with Etch, Nvidia 8600, Nvidia's closed driver - except that it happened immediately upon start of X. Often (but not always) accompanied with a kernel panic in the nvidia module. I will try with my card on lenny, as soon as I get the time. -H -- Heikki Levanto "In Murphy We Turst" heikki (at) lsd (dot) dk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: which kernel to use on 64 bit hardware and 32 bit userland ?
On Mon, Dec 17, 2007 at 10:14:08AM -0500, Lennart Sorensen wrote: > I have had no problems compiling the nvidia module. module-assistant > works exactly the same on i386 and amd64 and gives exactly the same > result. I have seen problems, but those were caused by running the kernel that came with Etch, on a machine that I had since upgraded to Lenny. The kernel was compiled with a different compiler than what I had on the box, and nvidia would not compile. Fair enough. (I could not use the 2.6.22 kernel, because it had a problem with KDE's fish protocol handler, which I need. When 2.6.23 comes out on Lenny, I will try again) -Heikki -- Heikki Levanto "In Murphy We Turst" heikki (at) lsd (dot) dk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: chroot question [* SOLVED *]
On Fri, Jan 04, 2008 at 11:20:31AM +, A J Stiles wrote: > I successfully invoked the 32-bit firefox using > $ iceweasel -a firefox32 > from within the chroot while simultaneously running a 64-bit instance. > Flash, > Java &c. work fine. I will have to set up something like that too. Is there a good (up to date!) page somewhere on the net that explains what I need? Can I use my old root disk partition as the chroot environment, and still boot to it natively if I really need some 32-bit stuff? Sorry for the newbie questions. - Heikki -- Heikki Levanto "In Murphy We Turst" heikki (at) lsd (dot) dk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
chroot: java fails
On Fri, Jan 04, 2008 at 12:11:01PM -0500, Douglas A. Tutty wrote: > Under what conditions would you need to boot the 32-bit chroot natively? Hopefully none - but until it works perfectly, I need a way to get back there, so I can use my netbank (firefox, java, etc), and other things. Well, perhaps to run some performance tests, to show that my go program really is faster on a real 64-bit system. (well, I have to write that program first...) > I access the chroot with > $ schroot -pc etch-ia32 > which means that I have the schroot package installed on the amd64 > system. Thanks. The basic setup was surprisingly easy. I used the old root partition, so I did not have to install anything at all! I still had to (re?)mount my disks manually, haven't found where to tell schroot which disks I need mounted, or how to get them all right. I run into problems with X display not coming out. xeyes times out after some seconds with "Could not connect to :0". I fixed that by enabling tcp listening (in vi /etc/kde3/kdm/kdmrc), and setting DISPLAY="127.0.0.1" inside the chroot. And a "xhost +" on the amd-64 side. Xeyes works, xine works! Firefox works - except when I try to go to my netbank (www.nordea.dk). I get the login screen, but the process dies in a few seconds, often in the middle of me typing in my password. I am using a 'plain' schroot, since I already have the old root system mounted. Perhaps I should try with a block device type thing? - Heikki -- Heikki Levanto "In Murphy We Turst" heikki (at) lsd (dot) dk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: chroot: java fails
Sorry, I was too quick in posting this. I tried the block-device thing, and for some reason all seems to work better that way. Even my netbank! And I did not need to set DISPLAY to 127.0.0.1, for some reason. Not sure I understand why, but as long as it works... Regards Heikki -- Heikki Levanto "In Murphy We Turst" heikki (at) lsd (dot) dk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: status of native java JRE ?
On Mon, Jan 07, 2008 at 10:57:49AM +0100, Helge Hafting wrote: > You can use konqueror, a 64-bit web browser that is able to use > Sun java without a mozilla-style plugin. Many sites, especially > java compliance test sites, works fine with this. As well as > many java games. > > Some sites do not work - stupid web designers sometimes assumes > that java is running _as a plugin_, just as they sometimes > assumes that you use IE. Wow - I tried my netbank, and it just worked! (ok, some problem with the way they calculate font sizes, so some frames are too small. I can live with that). I had not even tried it before, since I "knew" that I could not install Sun Java on the 64-bit system. My to-do list is getting smaller every day! Hooray for Debian-amd64! - Heikki -- Heikki Levanto "In Murphy We Turst" heikki (at) lsd (dot) dk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Java and flash lenny amd64
On Tue, Jan 08, 2008 at 02:44:21PM -0600, Karl Schmidt wrote: > I want to upgrade my system to AMD64 lenny, but after reading this list > several times it is not clear what has to happen to get java and flash > working with iceweasel on lenny (amd64). Is it even possible? I have recently made the change, and as far as I can see, - java works in Konqueror all right, built in, needs no plugin. Some sites may give problems, but most work. - It is pretty easy to build a (s)chroot jail, where everything 32-bit things just work. I have xine playing videos with closed-source codecs, iceweasel with java, flash, the works. - It does take a bit of time to set it all up. Easier if you can keep (or rebuild) a 32-bit installation for such purposes. This is just my newbie experience. But I was surprised how easy it really was. Best regards Heikki -- Heikki Levanto "In Murphy We Turst" heikki (at) lsd (dot) dk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: In-place upgrade from i386
On Fri, Feb 15, 2008 at 01:52:52AM -0800, Alex Malinovich wrote: > There was a thread on here a month or two ago about this same topic. The > short version is that it IS possible to do this. However, I wouldn't > recommend it as it's more trouble than its worth. Your best bet would be > something simple like > > dpkg --get-selections > selections.list > tar czf etc.tar.gz /etc/ > > Then just do a clean install of amd64 on a separate disk/partition, and > then > > dpkg --set-selections < selections.list > apt-get -f install > cd / > tar xzf etc.tar.gz I would back up at least /var/lib, and selectively restore at least things like /var/lib/mysql. Also /var/mail might be worth saving... If you have /home on a separate partition, and have (or can make) enough space there, back up the whole system partition there! There will always be something you need to restore later... or use a USB stick or disc for the backup (ipod? camera? what ever works). - Heikki -- Heikki Levanto "In Murphy We Turst" heikki (at) lsd (dot) dk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Partition suggestions.
On Sun, Feb 17, 2008 at 07:49:15AM -0400, Cavan Mejias wrote: > can a 64bit and a 32bit version of debian etch share the same /home > partition? Assuming you had the disk space to spare and each had its own / ? Yes, that is what I have on my system. It is best if you have (more or less) same versions of the programs, so their settings files are compatible. -H -- Heikki Levanto "In Murphy We Turst" heikki (at) lsd (dot) dk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Graphics cards with Free drivers
> >SUPPORTED HARDWARE > > > > GeForce 8XXX G80, G84, G86, G92 Just a data point: I am running LInux 2.6.18-5-amd64 on a ATI-based motherboard and a AMD Athlon(tm) 64 X2 Dual Core Processor 3800+, with VGA compatible controller: nVidia Corporation GeForce 8600 GT (rev a1) The nv driver works "out of the box", without even having a xorg.conf. I have had problems with the closed-source nvidia driver, got it to work with some kernels, but not with the current one. The later ones had problems with KDE's KIO handler for the fish protocol, which I want to use in my KOrganizer to access remote calendars. Some day "real soon now" I will try with the latest kernels, to see if I can't get the nvidia driver to work. I would like some 3d graphics for the few games I occasionally play... -Heikki -- Heikki Levanto "In Murphy We Turst" heikki (at) lsd (dot) dk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Graphics cards with Free drivers
On Tue, Apr 08, 2008 at 11:04:35PM +1000, Dean Hamstead wrote: > just go > > apt-get install module-assistant > m-a prepare nvidia > m-a a-i nvidia > apt-get install nvidia-settings nvidia-glx > > viola! just need to configure X somewhat. Doesn't work for me. Compilation fails. I find several warnings in the file nvidia-kernel-source.buildlog.2.6.24-1-amd64.1207765467 for example: make[3]: Entering directory `/usr/src/linux-headers-2.6.24-1-amd64' echo \#define NV_COMPILER \"`gcc-4.1 -v 2>&1 | tail -n 1`\" > /usr/src/modules/nvidia-kernel/nv/nv_compiler.h CC [M] /usr/src/modules/nvidia-kernel/nv/nv.o In file included from include/asm/dma-mapping_64.h:9, from include/asm/dma-mapping.h:4, from include/linux/dma-mapping.h:52, from include/asm-generic/pci-dma-compat.h:7, from include/asm/pci.h:88, from include/linux/pci.h:796, from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:76, from /usr/src/modules/nvidia-kernel/nv/nv.c:14: include/linux/scatterlist.h: In function ?sg_virt?: include/linux/scatterlist.h:293: warning: pointer of type ?void *? used in arithmetic In file included from include/asm/pci.h:88, from include/linux/pci.h:796, from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:76, from /usr/src/modules/nvidia-kernel/nv/nv.c:14: include/asm-generic/pci-dma-compat.h: In function ?pci_map_page?: include/asm-generic/pci-dma-compat.h:49: warning: pointer of type ?void *? used in arithmetic And then a real error: make[2]: Entering directory `/usr/src/modules/nvidia-kernel/nv' NVIDIA: calling KBUILD... make CC=gcc-4.1 -C /lib/modules/2.6.24-1-amd64/build SUBDIRS=/usr/src/modules/nvidia-kernel/nv modules make[3]: Entering directory `/usr/src/linux-headers-2.6.24-1-amd64' echo \#define NV_COMPILER \"`gcc-4.1 -v 2>&1 | tail -n 1`\" > /usr/src/modules/nvidia-kernel/nv/nv_compiler.h CC [M] /usr/src/modules/nvidia-kernel/nv/nv.o In file included from include/asm/dma-mapping_64.h:9, from include/asm/dma-mapping.h:4, from include/linux/dma-mapping.h:52, from include/asm-generic/pci-dma-compat.h:7, from include/asm/pci.h:88, from include/linux/pci.h:796, from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:76, from /usr/src/modules/nvidia-kernel/nv/nv.c:14: include/linux/scatterlist.h: In function ?sg_virt?: include/linux/scatterlist.h:293: warning: pointer of type ?void *? used in arithmetic In file included from include/asm/pci.h:88, from include/linux/pci.h:796, from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:76, from /usr/src/modules/nvidia-kernel/nv/nv.c:14: include/asm-generic/pci-dma-compat.h: In function ?pci_map_page?: include/asm-generic/pci-dma-compat.h:49: warning: pointer of type ?void *? used in arithmetic In file included from include/linux/compat.h:14, from include/asm/mtrr.h:131, from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:104, from /usr/src/modules/nvidia-kernel/nv/nv.c:14: include/asm/compat.h: In function ?compat_alloc_user_space?: include/asm/compat.h:210: warning: pointer of type ?void *? used in arithmetic /usr/src/modules/nvidia-kernel/nv/nv.c: At top level: /usr/src/modules/nvidia-kernel/nv/nv.c:102: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token /usr/src/modules/nvidia-kernel/nv/nv.c: In function ?nvos_create_alloc?: /usr/src/modules/nvidia-kernel/nv/nv.c:418: error: ?nv_pte_t_cache? undeclared (first use in this function) The line in qestion is static kmem_cache_t *nv_pte_t_cache = NULL; I suppose something is screwed up with my m-a, or kernel sources or compiler, or something else. This should be a fairly regular Debian/Lenny machine running 2.6.24-1-amd64. I have just upgraded a great number of packages, but I can not say if that made any difference, it is some time since I tried last. There seems to be a driver in nonfree, but that is a bit old (for 2.6.18), and does not recognize my card (GE 8600-something, silent). So I can't use that one. I would like to get a bit of 3d working... But it is not really important, I can live without. Any ideas where to go hunting for this compile error? - Heikki -- Heikki Levanto "In Murphy We Turst" heikki (at) lsd (dot) dk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Graphics cards with Free drivers
On Wed, Apr 09, 2008 at 03:53:55PM -0400, Lennart Sorensen wrote: > > Well the 169 driver in unstable works fine with 2.6.24. The one in > stable works fine with 2.6.18 (but I don't believe it supports an 8xxx > cards). > > My howto on installing it on Debian is here: > http://www.tinyplanet.ca/~lsorense/debian/debian-nvidia-dri-howto.html Thanks, and sorry for being dense, but when you say 'the 196 driver' (or 1xx driver, as you say in your howto), what should I be getting. I seem to be unable to find any debian packages with that number in it. You have a nice table that explains how to substitute 'nvidia-kernel-legacy-71xx-source' for 'nvidia-kernel-source' for an old card, but I can't make anything similar to work no matter where I plug in the magical 169. Obviously I am doing something wrong here... The plain sudo m-a a-i -i -t -f nvidia-kernel-source gets to the compile errors I reported earlier. Thanks again Heikki -- Heikki Levanto "In Murphy We Turst" heikki (at) lsd (dot) dk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Graphics cards with Free drivers
On Thu, Apr 10, 2008 at 09:52:09AM +0200, Jochen Schulz wrote: > $ apt-cache policy nvidia-kernel-source > nvidia-kernel-source: > Installed: (none) > Candidate: 1.0.8776-4 > Version table: > 169.12-1 0 > 50 http://ftp2.de.debian.org sid/non-free Packages > 1.0.8776-4 0 > 950 http://ftp2.de.debian.org etch/non-free Packages > > 169 is (part of) the version number. You can use aptitude to search for > packages with a specific version: Ah, that was the problem. apt-cache policy nvidia-kernel-source nvidia-kernel-source: Installed: 1.0.8776-4 Candidate: 1.0.8776-4 Version table: *** 1.0.8776-4 0 100 /var/lib/dpkg/status I had misunderstood that the 169-version would be in lenny. Seems not to be. Need to get it from sid, then. Thanks! - Heikki -- Heikki Levanto "In Murphy We Turst" heikki (at) lsd (dot) dk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Graphics cards with Free drivers
On Thu, Apr 10, 2008 at 09:49:51AM -0400, Lennart Sorensen wrote: > non-free packages often lag severely in Lenny, often right up until a > few weeks before release. The build system does not promote non-free > packages automatically from unstable to testing as far as I am aware. Thanks, I got it from sid. m-a compiled it all right, but X didn't want to find the module. I had to leave for work, I will dig deeper when I get home... You asked in another mail, I am running lenny. Now I have pinned everything on lenny, but added sid in my sources, so I can get packages from there too. Thanks again for your help! - Heikki -- Heikki Levanto "In Murphy We Turst" heikki (at) lsd (dot) dk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Graphics cards with Free drivers
On Thu, Apr 10, 2008 at 04:08:15PM +0200, Heikki Levanto wrote: > Thanks, I got it from sid. m-a compiled it all right, but X didn't want to > find the module. I had to leave for work, I will dig deeper when I get > home... Thanks all, especially Lennart. I have nvidia now working. Don't know why it failed earlier, I just redid all the steps, and suddenly it works. -H -- Heikki Levanto "In Murphy We Turst" heikki (at) lsd (dot) dk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: libsc7_2.3.1-3_amd64.deb problems
On Mon, May 05, 2008 at 09:43:05AM -0700, Francesco Pietra wrote: > > /var/cache/apt/archives/libsc7_2.3.1-3_amd64.deb > > I remember that library was in connection with a quantum-mechanical > computation program "mpqc" (from the Sandja lab), which is deb packaged but > which is no more installed on this machine ("which mpqc" and varieties of > this command for the executable do not report anything). > > Is that library needed for something else? One way to find out: sudo apt-get remove libsc7_2.3.1 It will remove all that depends on the package as well. Before doing it, it will ask if you are sure. Say no, or hit Ctrl-C, unless the package list looks totally harmless to you. > Also a naive question: why all those deb packages in /var/cache/apt/archives ? Probably to make reinstalling faster. I usually do sudo apt-get clean as a part of my weekly(?) update routine, and it seems to keep them away. Actually, my routine command (cut and pasted from the wiki page where I note the changes) is sudo apt-get update && sudo apt-get dist-upgrade -u && sudo apt-get clean -H -- Heikki Levanto "In Murphy We Turst" heikki (at) lsd (dot) dk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How would I get debian unstable?
On Thu, Jun 05, 2008 at 10:26:55AM -0400, Lennart Sorensen wrote: > > Debian stable releases seem to upgrade better to the next release than > Ubuntu. I think Ubuntu should really put some more effort into making > sure upgrades work flawlessly. I think fixed release dates is a huge > mistake on the part of Ubuntu, but rather typical of anything with > commercial backing. No, I think it is typical for any distribution that is new enough not have made enough mistakes in the upgrade process. One of Debian's strengths is that they have been around for a long while, and have learned most of the time. I bet that in the beginning, upgrading a Debian/Stable was still a hazzle. > I have never tried gentoo, since it is fundamentally the wrong way to do > a system. Sorry if I over react, but I am a bit allergic to anyone claiming something is "fundamentally the wrong way to do" almost anything. I guess most of the ways have their justifications for some situations. I learned a lot from the year I installed and run Gentoo on my desktop. That experience was the direct cause that I dared to to a Debian install over the net, with not much help from the local people... Just stick in a CD (I think it wasn't even Debian, possibly Knoppix), enable me to ssh in, and I took it from there. Bit scary to tell it to reboot, but it did come up, and was a functional system... I guess a Debian wizard would have done it with just Debian background, but walking through the Gentoo installation was a good learning experience. (and maintaining the system for a while too, although that was what convinced me to switch back to Debian). Best regards Heikki -- Heikki Levanto "In Murphy We Turst" heikki (at) lsd (dot) dk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How would I get debian unstable?
On Thu, Jun 05, 2008 at 03:26:33AM +0100, annne annnie wrote: > > I'd like to use debian unstable, but I do not know how to get it. I guess others have already given you instructions how to get it, and arguments why you should / should not do so. So I won't repeat them here. > Also, why did you people choose to use debian? Is it just better than > other distributions? It seems like you people are elite linux users, and I > just wanted to the differences between debian and some other distributions. > I haven't tried many, but to me they would all seem the same (I'm new). Well, it all depends what you want! I am a (semi?) professional sysadmin, and I appreciate the fact that Debian is extremely stable, and has a strict policy on what packages should be before they are accepted into the distribution. That means that Debian (at least "stable" or "etch") is never really up to the bleeding edge, which is fine for my servers. Let some other people worry about getting things just right, and catch the last-minute errors that always creep in. When things get into Debian/Stable, I know I can trust them. And I can trust that when the time comes, I can upgrade to the next stable version, without much hazzle. I have had machines in production since stable was called potato (2003 or so, I guess), and never had to reinstall those (except a few that were broken into). I routinely do system upgrades on other continents (I'm located in Denmark, and I have servers in the US), and those usually go fine. As to my workstation(s), I prefer Debian for the simple reason that I know and trust it so well. I tend to use a hybrid installation of stable/unstable/sid, to get more recent packages, but I would not recommend that for people who do not know how to handle the occasional dependenvy problem... For what it is worth, I have my old father running Debian/Stable, and see no reason why I should not keep doing that for many years. Best regards Heikki -- Heikki Levanto "In Murphy We Turst" heikki (at) lsd (dot) dk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How would I get debian unstable?
On Fri, Jun 06, 2008 at 11:40:35AM -0400, Douglas A. Tutty wrote: > Argh! %s/Linux/Linus (almost did it again again). Why couldn't he call > it LSD (Linus Software Distribution) instead of Linux? Because I already have LSD - Levanto Software Development ;-) -H -- Heikki Levanto "In Murphy We Turst" heikki (at) lsd (dot) dk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]