Re: [gentoo-user] usb HD cannot boot without initramfs
On Thursday 17 December 2009 09:47:14 Xi Shen wrote: hi, i installed my gentoo on a usb HD disk, and i have compiled scsi, usb, ata drivers into the kernel. but when boot, the system still cannot find my usb hd, but it did find my hd on my laptop. what i missed? You missed the filesystem driver for / compiled into the kernel -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] {OT} Preparing a laptop for sale
On Thursday 17 December 2009 02:37:54 Robert Bridge wrote: dd is pretty thorough... afterall, it writes to every single block on the disk. And the resulting effect from doing that once is: Trivially easy to recover the data that was there just before you did the dd Why? Data on-disk is not a binary cell like ram. It is a magnetic pattern and the pattern from the previous write is still there IIF you know how to find it -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] What magic does portage use?
On Thursday 17 December 2009 00:25:43 Dale wrote: Hearing they use old code is not to surprising actually. Look at air traffic control. Every time they try to upgrade, it crashes. I guess the cheapest bidder is not always the best. o_O Every such crash after an upgrade I know of is trying to run the thing on Windows... Yep, I read the same thing. Why not use a real OS? I'm thinking BSD or something. Linux would be good but I think BSD is even better suited for basically 100% uptime. Solaris. Those guys need thumping great big iron. Solaris excels at that. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] {OT} Preparing a laptop for sale
dd is pretty thorough... afterall, it writes to every single block on the disk. And the resulting effect from doing that once is: Trivially easy to recover the data that was there just before you did the dd Why? Data on-disk is not a binary cell like ram. It is a magnetic pattern and the pattern from the previous write is still there IIF you know how to find it Agreed, using all zeros will just change the magnitude of the field, which will make it more difficult to read, but the underlying data will largely remain. You should use random data so with dd you could use if=/dev/random but that would be horribly slow so maybe if=/dev/urandom. But why bother when there's a tool like shred. I boot a Knoppix cd then use it on the raw device as i cant see any point in doing each partition separately.
Re: [gentoo-user] usb HD cannot boot without initramfs
sorry, could you be more specific? i cannot follow you ;) On Thu, Dec 17, 2009 at 4:01 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Thursday 17 December 2009 09:47:14 Xi Shen wrote: hi, i installed my gentoo on a usb HD disk, and i have compiled scsi, usb, ata drivers into the kernel. but when boot, the system still cannot find my usb hd, but it did find my hd on my laptop. what i missed? You missed the filesystem driver for / compiled into the kernel -- alan dot mckinnon at gmail dot com -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/
Re: [gentoo-user] {OT} Preparing a laptop for sale
On Wednesday 16 December 2009 23:24:51 Marcus Wanner wrote: On 12/16/2009 2:24 PM, Mick wrote: On Wednesday 16 December 2009 18:49:07 Grant wrote: I'm about to sell my old laptop and I'd like to wipe out the data and install any flavor of Linux via USB (the CD drive doesn't work any more). I've got a bootable USB key that will get me into Gentoo. How would you take it from there? I'm looking for something quick and easy. My data isn't too sensitive, but I'd like to do some type of wiping so it isn't all just sitting there with a deleted flag or however that works. First I'd mount the partitions and then emerge/use shred: # shred -v -n 25 -z -u /mnt/a_partition Then I would delete old partitions, create new partitions and format them as required. If you're really paranoid about your data (which from what you're telling me you're not) you can also use dd to randomly overwrite partition tables, but I would probably not bother. Now, there may be more modern tools to do all this with a single button, but I haven't looked into it in any detail. HTH. What's wrong with dd if=/dev/zero of/dev/sdxx? Nothing, I also mentioned dd. Both are equally effective (or less so on journaled fs). shred has the -n option for multiple overwrites. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] skip some package in glsa-check
On 12/17/09, Crístian Viana cristiandei...@gmail.com wrote: hi, I run glsa-check -f affected to update a Gentoo system, but there's one specific package I can't update, because it's a C library someone is using and the 'secure' version is causing segmentation fault on her program, so I added it to packages.mask. but as I run glsa-check in a cron job, if there's one package it can't emerge, it won't emerge the rest of them (if only I could add --keep-going). does anyone have a solution to this? I want to keep running glsa-check to update my system, but I don't want to update one specific package. thanks! -- Crístian Deives dos Santos Viana [aka CD1] Sent from Campinas, SP, Brazil I don't know this for sure, but I wonder if putting the package in package.provided would result in what you are looking for? So, unless someone gets a better idea, I'd try to emerge the properly functioning version of the package, and then mark it provided: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3chap=5#doc_chap3 -- Arttu V.
Re: [gentoo-user] {OT} Preparing a laptop for sale
On Thursday 17 December 2009 05:13:32 Joshua Murphy wrote: chicane ~ # shred test/ shred: test/: failed to open for writing: Is a directory chicane ~ # shred -v -n 25 -z -u ~/test/ shred: /root/test/: failed to open for writing: Is a directory shred ... shreds files. Therefore you may need to point it to the files in question for it to work. I suspect that if you point it to a device alone it just shreds the file representing the device on the Linux fs in question. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] skip some package in glsa-check
it didn't work :( although I didn't know about the existence of that file! :) On Thu, Dec 17, 2009 at 11:41 AM, Arttu V. arttu...@gmail.com wrote: On 12/17/09, Crístian Viana cristiandei...@gmail.com wrote: hi, I run glsa-check -f affected to update a Gentoo system, but there's one specific package I can't update, because it's a C library someone is using and the 'secure' version is causing segmentation fault on her program, so I added it to packages.mask. but as I run glsa-check in a cron job, if there's one package it can't emerge, it won't emerge the rest of them (if only I could add --keep-going). does anyone have a solution to this? I want to keep running glsa-check to update my system, but I don't want to update one specific package. thanks! -- Crístian Deives dos Santos Viana [aka CD1] Sent from Campinas, SP, Brazil I don't know this for sure, but I wonder if putting the package in package.provided would result in what you are looking for? So, unless someone gets a better idea, I'd try to emerge the properly functioning version of the package, and then mark it provided: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3chap=5#doc_chap3 -- Arttu V. -- Crístian Deives dos Santos Viana [aka CD1]
[gentoo-user] freeglut fails to compile because X11/extensions/XInput.h not found
Hi. This happened on my latest update -- looks like the package which used to contain this file no longer does -- any ideas on how to proceed? Thanks. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
Re: [gentoo-user] {OT} Preparing a laptop for sale
On Thu, 2009-12-17 at 11:42 +, Mick wrote: shred ... shreds files. Therefore you may need to point it to the files in question for it to work. I suspect that if you point it to a device alone it just shreds the file representing the device on the Linux fs in question. No. This is horribly wrong. Please don't tell people this. The problem with just shredding files is thus: * I have a file with very sensitive data, it occupies blocks x-y on my hard drive. * I later delete that file, in the os it just get's unlinked(). If there are no more links to that file then it's considered deleted, however the data is still there. * Out of sheer luck blocks x-y are never reallocated. The data remains on that block. * I go to shred every file on the filesystem. Blocks x-y never get shredded because they are not linked to a file. * I give my laptop to someone. They run a tool as simple as formost(1) on the drive. Bingo! Sensitive data found. Your comment about shredding devices... how long have you been using *nix man? When you cat /dev/sda what do you get? When you cat /dev/sda what do you get (please, don't try that)? When you run shred on a block device representing your hard drive.. it's just a file. Everything is a file (remember hearing that)? Shredding a drive will not shred the device node. Device nodes are empty anyway: $ ls -sH /dev/sda 0 /dev/sda So if you shred a drive and it takes days instead of microseconds you can rest assured that it's actually shredding the drive ;)
Re: [gentoo-user] {OT} Preparing a laptop for sale
On 12/17/2009 6:42 AM, Mick wrote: On Thursday 17 December 2009 05:13:32 Joshua Murphy wrote: chicane ~ # shred test/ shred: test/: failed to open for writing: Is a directory chicane ~ # shred -v -n 25 -z -u ~/test/ shred: /root/test/: failed to open for writing: Is a directory shred ... shreds files. Therefore you may need to point it to the files in question for it to work. I suspect that if you point it to a device alone it just shreds the file representing the device on the Linux fs in question. That would be a bit inconvenient...I still vote for dd, overwriting the thing 26 times sounds like WAY overkill for a hdd... Marcus
Re: [gentoo-user] skip some package in glsa-check
On 12/17/09, Crístian Viana cristiandei...@gmail.com wrote: it didn't work :( although I didn't know about the existence of that file! :) Ouch, too bad. I realized the same as I was reading portage man page about that file. It requires explicit versions for the provided packages, and that makes my suggestion a non-working one. But then I just noticed this in your first email: so I added it to packages.mask. I assume that's just a typo in the email? That file has no s (plural) before the dot, and if you create one with an s, I think it will just be silently ignored. -- Arttu V.
Re: [gentoo-user] usb HD cannot boot without initramfs
On Thu, Dec 17, 2009 at 03:47:14PM +0800, Penguin Lover Xi Shen squawked: i installed my gentoo on a usb HD disk, and i have compiled scsi, usb, ata drivers into the kernel. but when boot, the system still cannot find my usb hd, but it did find my hd on my laptop. what i missed? I don't completely understand your question: if it cannot find your usb hd and you installed on the usb HD, how did you boot? Did you install the bootloader on the USB HD? Did you get to the bootloader screen at all? What cannot find your USB HD? Tell us in more detail what you did, and what didn't work. Your description is so vague that for all I know cosmic rays could've caused your problem. W -- `I think you ought to know that I'm feeling very depressed.' `Life, don't talk to me about life.' `Here I am, brain the size of a planet and they ask me to take you down to the bridge. Call that job satisfaction? 'Cos I don't.' `I've got this terrible pain in all the diodes down my left side.' - Guess who. Sortir en Pantoufles: up 1105 days, 13:11
Re: [gentoo-user] {OT} Preparing a laptop for sale
On Thu, 17 Dec 2009 08:40:40 -0500, Marcus Wanner wrote: That would be a bit inconvenient...I still vote for dd, overwriting the thing 26 times sounds like WAY overkill for a hdd... Doesn't that depend on the contents of the disk? I don't see what's wrong with booting a DBAN disk and letting it get on with the job overnight. -- Neil Bothwick That's not a bug, it's a Free Enhanced Feature! signature.asc Description: PGP signature
Re: [gentoo-user] usb HD cannot boot without initramfs
Xi Shen schrieb: sorry, could you be more specific? i cannot follow you ;) On Thu, Dec 17, 2009 at 4:01 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Thursday 17 December 2009 09:47:14 Xi Shen wrote: hi, i installed my gentoo on a usb HD disk, and i have compiled scsi, usb, ata drivers into the kernel. but when boot, the system still cannot find my usb hd, but it did find my hd on my laptop. what i missed? You missed the filesystem driver for / compiled into the kernel 1. please don't toppost! 2. What alan said: have you compiled ext4 or whatever you use for your root-fs compiled _into_ the kernel? 3. Suggestion from me: have you _all_ usb-staff, you need to access the usb-hd compiled _into_ the kernel? (e.a. usb_storage) not as module! Steffen
[gentoo-user] does slim work with xorg-server1.7.3?
I've found the slim login manager will hang the computer if I enter exit or console in the panel, blank screen and no response at all, had to push the reset button to recover. I did not test it under the previous xorg-server installation, anybody has got the same issue? I've tried to recompile slim but no help slim 1.3.1 + xorg-server 1.7.3 (with xcb enabled) + awesome3.4.2 thanks fei
Re: [gentoo-user] Can I (partially) rebuild a package with emerge?
Hi, Neil, On Wed, Dec 16, 2009 at 10:05:40PM +, Neil Bothwick wrote: On Wed, 16 Dec 2009 20:44:29 +, Alan Mackenzie wrote: I've just emerged xorg-x11, and noticed that I had a wrong setting for VIDEO_CARDS in /etc/make.conf. Does emerge have a facility to rebuild only those portions of xorg-x11 dependent on that setting, or do I have to start again from scratch? I've perused the emerge man page, but not found this situation addressed. VIDEO_CARDS sets USE flags, so emerge -uavDN world. I've done that, but it failed to rebuild my xorg-x11. I've still got the version from last night, even though I've changed USE flags (via setting VIDEO_CARDS) in /etc/make.conf. /etc/make.conf has a later timestamp than /usr/bin/Xorg, yet this doesn't trigger the -N flag. I'm misunderstanding something significant here. The emerge man page is not explicit in how it determines new USE flags. If I wanted just to remove Xorg, together with the 188 other packages installed with it, would it be correct to run these commands: emerge --unmerge xorg-x11 emerge --depclean ? TVM! -- Neil Bothwick -- Alan Mackenzie (Nuremberg, Germany).
[gentoo-user] Re: off-topic: logitech mice (MX1000)
On 12/16/2009 07:51 PM, Allan Gottlieb wrote: At Wed, 16 Dec 2009 16:36:45 -0500 Albert Hopkinsmar...@letterboxes.org wrote: FWIW, I have a Logitech mouse with a wheel that scrolls up and down, presses down, and clicks left and right. All seem to work fine, except I don't use the latter as I haven't found any purpose for it although I could possibly see it replacing ALT-Tab. Nah... to confusing. Right. Mine (MX 1000) has those plus others (I inherited the mouse). My problem is that several of these send multiple events (i.e. clicking one physical button results in two button-down events for different X11 buttons and then the corresponding two button-up events). That's why I was wondering if just a simple front-or-back turn of the wheel also produces two different button events for each notch -- you should see only button-4 events for forward and only button-5 events for backward. (I actually see two button-4 events for each notch forward, but the 'state' differs between the first and second event.)
Re: [gentoo-user] {OT} Preparing a laptop for sale
Alan McKinnon writes: On Thursday 17 December 2009 02:37:54 Robert Bridge wrote: dd is pretty thorough... afterall, it writes to every single block on the disk. And the resulting effect from doing that once is: Trivially easy to recover the data that was there just before you did the dd Why? Data on-disk is not a binary cell like ram. It is a magnetic pattern and the pattern from the previous write is still there IIF you know how to find it I disagree here. In theory it may be possible, but trivially? Seems no one ever did it yet. From http://www.h-online.com/newsticker/news/item/Secure-deletion-a- single-overwrite-will-do-it-739699.html : They concluded that, after a single overwrite of the data on a drive, whether it be an old 1-gigabyte disk or a current model (at the time of the study), the likelihood of still being able to reconstruct anything is practically zero. Well, OK, not quite: a single bit whose precise location is known can in fact be correctly reconstructed with 56 per cent probability (in one of the quoted examples). To recover a byte, however, correct head positioning would have to be precisely repeated eight times, and the probability of that is only 0.97 per cent. Recovering anything beyond a single byte is even less likely. Wonko
Re: [gentoo-user] usb HD cannot boot without initramfs
What file system did you use on the USB drive? Did you compile support for that file system in the kernel? It can't be a module, it has to be compiled into the kernel itself. Dale P. S. Top posted because he did. Please don't shoot the messenger. Xi Shen wrote: sorry, could you be more specific? i cannot follow you ;) On Thu, Dec 17, 2009 at 4:01 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Thursday 17 December 2009 09:47:14 Xi Shen wrote: hi, i installed my gentoo on a usb HD disk, and i have compiled scsi, usb, ata drivers into the kernel. but when boot, the system still cannot find my usb hd, but it did find my hd on my laptop. what i missed? You missed the filesystem driver for / compiled into the kernel -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] {OT} Preparing a laptop for sale
On 17/12/09 15:12, Alex Schuster wrote: Well, OK, not quite: a single bit whose precise location is known can in fact be correctly reconstructed with 56 per cent probability (in one of the quoted examples) So a thing with a 50:50 change of being in a given state, can be identified, a little over half the time? That's a surprise ;) Now to go read TFA signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Re: off-topic: logitech mice (MX1000)
Am Donnerstag, 17. Dezember 2009 16:07:46 schrieb walt: That's why I was wondering if just a simple front-or-back turn of the wheel also produces two different button events for each notch -- you should see only button-4 events for forward and only button-5 events for backward. (I actually see two button-4 events for each notch forward, but the 'state' differs between the first and second event.) You get one event for ButtonPress and one event for ButtonRelease Regards Michael
Re: [gentoo-user] {OT} Preparing a laptop for sale
On Thu, Dec 17, 2009 at 8:13 AM, Alan McKinnon alan.mckin...@gmail.com wrote: On Thursday 17 December 2009 02:37:54 Robert Bridge wrote: dd is pretty thorough... afterall, it writes to every single block on the disk. And the resulting effect from doing that once is: Trivially easy to recover the data that was there just before you did the dd 1) It's not trivial. Yes, a forensic lab can probably get enough to convict, but that is NOT trivial... (And I have been talking to data retrieval experts about similar stuff in the last week!) 2) The OP has admitted it's not that sensitive. 3) dd DOES write to every sector of the disk. It does what it does pretty thoroughly. The major weakness of dd (and any other OS based tool) is the potential for drives doing sector remapping. The only absolutely guaranteed way to eliminate this is a furnace.
Re: [gentoo-user] Upgraded gcc 4.1.2 to 4.3.4; dosemu 1.4.0 won't emerge
On 12/16/2009 11:47 PM, Walter Dnes wrote: Attached is the emerge log. I'm running 32 bit on an Intel Core Duo (Dell D530) USE=-X -debug -gpm -svga. The last step of the gcc upgrade is emerge -eav world. dosemu 1.4.0 built under gcc 4.1.2 but not under 4.3.4. I've added my report to http://bugs.gentoo.org/show_bug.cgi?id=294843 Any ideas from the log? Did you follow the directions at http://www.gentoo.org/doc/en/gcc-upgrading.xml when upgrading? Marcus
Re: [gentoo-user] {OT} Preparing a laptop for sale
Joshua Murphy writes: A) To fill the drive with zeros: dd if=/dev/zero of=/dev/drive Should be enough for practical purposes. B) And, to make it at least questionable whether you wiped it or merely had it encrypted: dd if=/dev/urandom of=/dev/drive Similar method, but faster: badblocks -t random -w /dev/drive You can interrupt this after the first pass when the reading comparing part starts. Wonko
[gentoo-user] Where is my /dev/fd0?
I tried to mount a floppy disk in my ~x86 gentoo system, but the /dev/fd0 device is not there. In other words, I can't find the block device corresponding to my floppy drive. Where is it and what am I doing wrong? Marcus
[gentoo-user] Blocks with xz-utils lzma-utils
I'm trying to get KDE 4 where I can use it so I used the layman to get the latest. Anyway, I seem to have ran into a Block, may not be related to KDE4 tho, that I just can't make sense of. This is the error I get: [blocks b ] kde-base/kde-meta:4.3[-kdeprefix] (kde-base/kde-meta:4.3[-kdeprefix] is blocking kde-base/kde-meta-) [blocks B ] app-arch/lzma-utils (app-arch/lzma-utils is blocking app-arch/xz-utils-) [blocks B ] app-arch/xz-utils (app-arch/xz-utils is blocking app-arch/lzma-utils-4.32.7) Total: 278 packages (17 upgrades, 19 new, 242 in new slots, 248 uninstalls), Size of downloads: 240,422 kB Conflict: 511 blocks (2 unsatisfied) Portage tree and overlays: [0] /usr/portage [1] /usr/local/portage/layman/kde * Error: The above package list contains packages which cannot be * installed at the same time on the same system. ('ebuild', '/', 'app-arch/xz-utils-', 'merge') pulled in by app-arch/xz-utils required by ('installed', '/', 'app-arch/rpm2targz-9.0.0.3g', 'nomerge') app-arch/xz-utils required by ('installed', '/', 'sys-libs/gpm-1.20.5', 'nomerge') app-arch/xz-utils required by ('installed', '/', 'dev-libs/mpfr-2.4.1_p1', 'nomerge') (and 10 more) ('ebuild', '/', 'app-arch/lzma-utils-4.32.7', 'merge') pulled in by app-arch/lzma-utils required by ('installed', '/', 'app-portage/eix-0.17.0', 'nomerge') app-arch/lzma-utils required by ('installed', '/', 'app-arch/libarchive-2.7.0-r1', 'nomerge') I didn't post the whole thing but the part about the Blocks with a capital B. I have unmerged both lzma-utils and xz-utils but I still get this error. How can they block it when they are not installed yet? I'm missing something here. I just don't see it. I found a thread on the forums and did what it said but I still get this. It said to unmerge xz-utils which I did. Then I unmerged lzma-utils for good measure. Someone tell me the trick to this? Thanks. Dale :-) :-)
Re: [gentoo-user] Where is my /dev/fd0?
On Thu, Dec 17, 2009 at 10:53:21AM -0500, Penguin Lover Marcus Wanner squawked: I tried to mount a floppy disk in my ~x86 gentoo system, but the /dev/fd0 device is not there. In other words, I can't find the block device corresponding to my floppy drive. Where is it and what am I doing wrong? You are using udev, I assume? Did you compile the IDE floppy support into your kernel? W -- In this course we will of course make use of God's Units, namely h-bar = c = 1 but occasionally I will indulge myself in my personal addition to those units, in the form of 2 = -1 = pi = i = 1 please feel free to interject whenever you feel confused, and I will make my best effort to clarify things. ~Prof. Herman Verlinde explaining the things. PHY 509, Intro to QFT, first lecture 09-12-03 Sortir en Pantoufles: up 1105 days, 14:58
Re: [gentoo-user] Can I (partially) rebuild a package with emerge?
On Thu, 17 Dec 2009 15:14:48 +, Alan Mackenzie a...@muc.de wrote: Hi, Neil, On Wed, Dec 16, 2009 at 10:05:40PM +, Neil Bothwick wrote: On Wed, 16 Dec 2009 20:44:29 +, Alan Mackenzie wrote: I've just emerged xorg-x11, and noticed that I had a wrong setting for VIDEO_CARDS in /etc/make.conf. Does emerge have a facility to rebuild only those portions of xorg-x11 dependent on that setting, or do I have to start again from scratch? I've perused the emerge man page, but not found this situation addressed. VIDEO_CARDS sets USE flags, so emerge -uavDN world. I've done that, but it failed to rebuild my xorg-x11. I've still got the version from last night, even though I've changed USE flags (via setting VIDEO_CARDS) in /etc/make.conf. First, as I said in my other mail, the only relevant package that needs to be rebuilt is xorg-server, nothing else. The drivers you add will be built afresh as well as dependencies for xorg-server. Second, xorg-x11 is *nothing*. It's just a meta package that pulls dependencies, it doesn't actually install a single file on your hard disk, and it doesn't compile anything at all. So, re-emerging it will do nothing. /etc/make.conf has a later timestamp than /usr/bin/Xorg, yet this doesn't trigger the -N flag. -N flag is not triggered based on time stamps. Each time a package is merged, the USE flags you used the last time you merged it are stored under /var/db/pkg. All -N does is to check if these flags that are stored match the current ones, and if not, the offending package is re-emerged. If I wanted just to remove Xorg, together with the 188 other packages installed with it, would it be correct to run these commands: emerge --unmerge xorg-x11 emerge --depclean As long as you didn't emerge any single X package by hand, yes. But it will do nothing to help you, it will not solve your problem. And it's not related to your problem either. You'd just be wasting time. -- Jesús Guerrero
[gentoo-user] Re: Upgraded gcc 4.1.2 to 4.3.4; dosemu 1.4.0 won't emerge
On 12/16/2009 08:47 PM, Walter Dnes wrote: Attached is the emerge log. I'm running 32 bit on an Intel Core Duo (Dell D530) USE=-X -debug -gpm -svga. The last step of the gcc upgrade is emerge -eav world. dosemu 1.4.0 built under gcc 4.1.2 but not under 4.3.4. I've added my report to http://bugs.gentoo.org/show_bug.cgi?id=294843 Any ideas from the log? I'm guessing the doesemu code is getting old and needs maintenance. This patch lets dosemu compile with 4.3.4 but I can't test the result because I don't have any DOS programs. This is just a quick-and-dirty -- the right way would be to add an #ifdef to test for compiler version. #cat dosemu.patch --- work/dosemu-1.4.0/src/tools/periph/dexeconfig.c.orig2009-12-17 08:02:40.0 -0800 +++ work/dosemu-1.4.0/src/tools/periph/dexeconfig.c 2009-12-17 08:05:19.0 -0800 @@ -238,7 +238,7 @@ exit(1); } close(fd); - fc = open(cfile, O_WRONLY | O_CREAT | O_TRUNC); + fc = open(cfile, O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU); if (fc 0) { perror(cannot open config file); exit(1);
Re: [gentoo-user] Blocks with xz-utils lzma-utils
On Thu, Dec 17, 2009 at 9:55 AM, Dale rdalek1...@gmail.com wrote: I'm trying to get KDE 4 where I can use it so I used the layman to get the latest. Anyway, I seem to have ran into a Block, may not be related to KDE4 tho, that I just can't make sense of. This is the error I get: [blocks b ] kde-base/kde-meta:4.3[-kdeprefix] (kde-base/kde-meta:4.3[-kdeprefix] is blocking kde-base/kde-meta-) [blocks B ] app-arch/lzma-utils (app-arch/lzma-utils is blocking app-arch/xz-utils-) [blocks B ] app-arch/xz-utils (app-arch/xz-utils is blocking app-arch/lzma-utils-4.32.7) Total: 278 packages (17 upgrades, 19 new, 242 in new slots, 248 uninstalls), Size of downloads: 240,422 kB Conflict: 511 blocks (2 unsatisfied) Portage tree and overlays: [0] /usr/portage [1] /usr/local/portage/layman/kde * Error: The above package list contains packages which cannot be * installed at the same time on the same system. ('ebuild', '/', 'app-arch/xz-utils-', 'merge') pulled in by app-arch/xz-utils required by ('installed', '/', 'app-arch/rpm2targz-9.0.0.3g', 'nomerge') app-arch/xz-utils required by ('installed', '/', 'sys-libs/gpm-1.20.5', 'nomerge') app-arch/xz-utils required by ('installed', '/', 'dev-libs/mpfr-2.4.1_p1', 'nomerge') (and 10 more) ('ebuild', '/', 'app-arch/lzma-utils-4.32.7', 'merge') pulled in by app-arch/lzma-utils required by ('installed', '/', 'app-portage/eix-0.17.0', 'nomerge') app-arch/lzma-utils required by ('installed', '/', 'app-arch/libarchive-2.7.0-r1', 'nomerge') I didn't post the whole thing but the part about the Blocks with a capital B. I have unmerged both lzma-utils and xz-utils but I still get this error. How can they block it when they are not installed yet? I'm missing something here. I just don't see it. I found a thread on the forums and did what it said but I still get this. It said to unmerge xz-utils which I did. Then I unmerged lzma-utils for good measure. Someone tell me the trick to this? Thanks. Dale :-) :-) xz-utils replaces lzma-utils, so you can't have them both installed at once. Maybe try unmerging and re-emerging the packages that say they depend on lzma-utils, they've probably been updated to use xz-utils instead by now.
Re: [gentoo-user] skip some package in glsa-check
yeah, that was a typo! =/ the file I want to mask (and that's the same glsa-check wants to update) is really being masked when I run emerge. On Thu, Dec 17, 2009 at 10:35 AM, Arttu V. arttu...@gmail.com wrote: On 12/17/09, Crístian Viana cristiandei...@gmail.com wrote: it didn't work :( although I didn't know about the existence of that file! :) Ouch, too bad. I realized the same as I was reading portage man page about that file. It requires explicit versions for the provided packages, and that makes my suggestion a non-working one. But then I just noticed this in your first email: so I added it to packages.mask. I assume that's just a typo in the email? That file has no s (plural) before the dot, and if you create one with an s, I think it will just be silently ignored. -- Arttu V. -- Crístian Deives dos Santos Viana [aka CD1]
Re: [gentoo-user] freeglut fails to compile because X11/extensions/XInput.h not found
On Thursday 17 December 2009 14:09:37 cov...@ccs.covici.com wrote: Hi. This happened on my latest update -- looks like the package which used to contain this file no longer does -- any ideas on how to proceed? Thanks. nazgul ~ # locate XInput.h /usr/include/X11/extensions/XInput.h nazgul ~ # equery belongs `locate XInput.h` * Searching for /usr/include/X11/extensions/XInput.h ... x11-libs/libXi-1.3 (/usr/include/X11/extensions/XInput.h) -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: off-topic: logitech mice (MX1000)
On Wed, 2009-12-16 at 22:51 -0500, Allan Gottlieb wrote: Right. Mine (MX 1000) has those plus others (I inherited the mouse). My problem is that several of these send multiple events (i.e. clicking one physical button results in two button-down events for different X11 buttons and then the corresponding two button-up events). I wonder how to handle this. Actually, I have trouble believing it so wonder if I have some config wrong, but mine are very simple configs. allan I don't have the mouse with me to check, but ran xev on it last night and only saw one event for left-right wheel (button6 and button7 iirc). Could it be perhaps there are 2 (X11) drivers listneing on this device or are you using GPM or something like that? -a
Re: [gentoo-user] {OT} Preparing a laptop for sale
On Thursday 17 December 2009 16:26:20 Neil Bothwick wrote: On Thu, 17 Dec 2009 08:40:40 -0500, Marcus Wanner wrote: That would be a bit inconvenient...I still vote for dd, overwriting the thing 26 times sounds like WAY overkill for a hdd... Doesn't that depend on the contents of the disk? I don't see what's wrong with booting a DBAN disk and letting it get on with the job overnight. Let's look at the obvious solution then: remove the hard drive containing sensitive data, replace it with a new one, sell laptop. Ka-Ching! Problem solved. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Where is my /dev/fd0?
Willie Wong writes: On Thu, Dec 17, 2009 at 10:53:21AM -0500, Penguin Lover Marcus Wanner squawked: I tried to mount a floppy disk in my ~x86 gentoo system, but the /dev/fd0 device is not there. In other words, I can't find the block device corresponding to my floppy drive. Where is it and what am I doing wrong? You are using udev, I assume? Did you compile the IDE floppy support into your kernel? It's not IDE (IDE/ATAPI floppy support is for things like LS-120 drives), but CONFIG_BLK_DEV_FD, found in Device Drivers - Block devices - Normal floppy disk support. If it's compiled as a module, maybe you just need to modprobe floppy? Wonko
Re: [gentoo-user] Where is my /dev/fd0?
On 12/17/2009 11:06 AM, Willie Wong wrote: On Thu, Dec 17, 2009 at 10:53:21AM -0500, Penguin Lover Marcus Wanner squawked: I tried to mount a floppy disk in my ~x86 gentoo system, but the /dev/fd0 device is not there. In other words, I can't find the block device corresponding to my floppy drive. Where is it and what am I doing wrong? You are using udev, I assume? Did you compile the IDE floppy support into your kernel? The only floppy options I can find in the kernel relating to floppy drives in the kernel config are mac floppy, amiga floppy, and atari floppy, none of which apply to me. I believe I am using udev, and both the cd/dvd drives work with my current setup. Thanks! Marcus
Re: [gentoo-user] Re: off-topic: logitech mice (MX1000)
Am Mittwoch, 16. Dezember 2009 schrieb Bruce Hill: On Wed, Dec 16, 2009 at 04:36:45PM -0500, Albert Hopkins wrote: FWIW, I have a Logitech mouse with a wheel that scrolls up and down, presses down, and clicks left and right. All seem to work fine, except I don't use the latter as I haven't found any purpose for it although I could possibly see it replacing ALT-Tab. Nah... to confusing. -a What settings do you use for all those events? I have a mouse with right/left buttons, scroll wheel that also tilts right/left, and two side buttons. Nothing works atm but regular right/left, scroll wheel to scroll and press to paste, and side buttons. So scroll wheel tilt does nothing. Unlike Windows, where I'd have to download a 50 Meg file from logitech to make the tilt wheel work, everything's there in Xorg, and mplayer automatically uses the left and right click to skip forward and backward. Horizontal scrolling in browser windows works as well - out of the box. Isn't linux great :-) -- Gruß | Greetings | Qapla' UNIX is not user-unfriendly. It just expects the user to be a little more computer-friendly. signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] freeglut fails to compile because X11/extensions/XInput.h not found
Alan McKinnon alan.mckin...@gmail.com wrote: On Thursday 17 December 2009 14:09:37 cov...@ccs.covici.com wrote: Hi. This happened on my latest update -- looks like the package which used to contain this file no longer does -- any ideas on how to proceed? Thanks. nazgul ~ # locate XInput.h /usr/include/X11/extensions/XInput.h nazgul ~ # equery belongs `locate XInput.h` * Searching for /usr/include/X11/extensions/XInput.h ... x11-libs/libXi-1.3 (/usr/include/X11/extensions/XInput.h) However the newer version of this package has eliminated this file -- this is my whole problem.Now I re emerged the package which had an update and how its here. I guess portage did things in the wrong order or something. Thanks. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
[gentoo-user] @preserved-rebuild Loop
Hello, Well I keep getting the same 32 files to rebuild even after running 'emerge @preserved-rebuild' several times. Here is the list of files: ebuild R ] sys-fs/reiserfsprogs-3.6.19-r2 [ebuild R ] sys-apps/util-linux-2.16.1 [ebuild R ] dev-libs/apr-1.3.9 [ebuild R ] sys-fs/cryptsetup-1.0.6-r2 [ebuild R ] media-libs/libquicktime-1.1.3 [ebuild R ] net-nds/openldap-2.4.19-r1 [ebuild R ] gnome-base/libbonoboui-2.24.1 [ebuild R ] net-libs/webkit-gtk-1.1.10 [ebuild R ] media-gfx/graphviz-2.24.0-r2 [ebuild R ] x11-libs/openmotif-2.3.2 [ebuild R ] sys-fs/e2fsprogs-1.41.9 [ebuild R ] x11-libs/libSM-1.1.1 [ebuild R ] dev-libs/apr-util-1.3.9 [ebuild R ] sys-apps/hal-0.5.13-r2 [ebuild R ] media-libs/jasper-1.900.1-r3 [ebuild R ] media-video/cinelerra-20090210 [ebuild R ] net-libs/libproxy-0.2.3-r2 [ebuild R ] gnome-base/libgnomeui-2.24.1 [ebuild R ] media-video/kino-1.3.3 [ebuild R ] x11-libs/libXt-1.0.7-r1 [ebuild R ] app-admin/apache-tools-2.2.14 [ebuild R ] app-misc/lirc-0.8.5 [ebuild R ] media-gfx/imagemagick-6.5.7.0 [ebuild R ] sys-apps/dbus-1.2.3-r1 [ebuild R ] www-servers/apache-2.2.14-r1 [ebuild R ] media-libs/giflib-4.1.6-r1 [ebuild R ] games-action/bzflag-2.0.12 [ebuild R ] x11-libs/libXpm-3.5.8 [ebuild R ] x11-apps/xdm-1.1.8 [ebuild R ] media-video/transcode-1.0.7 [ebuild R ] media-libs/xine-lib-1.1.16.3-r1 [ebuild R ] sys-apps/pmount-0.9.19 so do I just remove the @perserved-rebuild list, not sure where this list is located, as some previous postings have suggested? Any other way to get past this message, as it pops up anytime I emerge anything now.. the same exact list Revdep-rebuild is clean and update world is clean too ??? James JAZ
Re: [gentoo-user] Blocks with xz-utils lzma-utils
On Thu, 17 Dec 2009 09:55:06 -0600, Dale wrote: I didn't post the whole thing but the part about the Blocks with a capital B. I have unmerged both lzma-utils and xz-utils but I still get this error. How can they block it when they are not installed yet? I'm missing something here. I just don't see it. One package is pulling in lzma-utils, another wants xz-utils. emerge --oneshot xz-utils (which replaces lzma-utils) should fix this. -- Neil Bothwick Yoda of the Borg am I. Futile, resistance is. Be assimilated, you will. signature.asc Description: PGP signature
[gentoo-user] Re: freeglut fails to compile because X11/extensions/XInput.h not found
On 12/17/2009 04:09 AM, cov...@ccs.covici.com wrote: Hi. This happened on my latest update -- looks like the package which used to contain this file no longer does -- any ideas on how to proceed? Hm. On my x86 and ~amd64 machines I have freeglut-2.4 and freeglut-2.6, respectively, but no such header file on either machine. Something must be stale on your machine. Have you run revdep-rebuild and lafilefixer? Without detailed build logs it's hard to say who's complaining about what.
Re: [gentoo-user] Blocks with xz-utils lzma-utils
Paul Hartman wrote: On Thu, Dec 17, 2009 at 9:55 AM, Dale rdalek1...@gmail.com wrote: I'm trying to get KDE 4 where I can use it so I used the layman to get the latest. Anyway, I seem to have ran into a Block, may not be related to KDE4 tho, that I just can't make sense of. This is the error I get: [blocks b ] kde-base/kde-meta:4.3[-kdeprefix] (kde-base/kde-meta:4.3[-kdeprefix] is blocking kde-base/kde-meta-) [blocks B ] app-arch/lzma-utils (app-arch/lzma-utils is blocking app-arch/xz-utils-) [blocks B ] app-arch/xz-utils (app-arch/xz-utils is blocking app-arch/lzma-utils-4.32.7) Total: 278 packages (17 upgrades, 19 new, 242 in new slots, 248 uninstalls), Size of downloads: 240,422 kB Conflict: 511 blocks (2 unsatisfied) Portage tree and overlays: [0] /usr/portage [1] /usr/local/portage/layman/kde * Error: The above package list contains packages which cannot be * installed at the same time on the same system. ('ebuild', '/', 'app-arch/xz-utils-', 'merge') pulled in by app-arch/xz-utils required by ('installed', '/', 'app-arch/rpm2targz-9.0.0.3g', 'nomerge') app-arch/xz-utils required by ('installed', '/', 'sys-libs/gpm-1.20.5', 'nomerge') app-arch/xz-utils required by ('installed', '/', 'dev-libs/mpfr-2.4.1_p1', 'nomerge') (and 10 more) ('ebuild', '/', 'app-arch/lzma-utils-4.32.7', 'merge') pulled in by app-arch/lzma-utils required by ('installed', '/', 'app-portage/eix-0.17.0', 'nomerge') app-arch/lzma-utils required by ('installed', '/', 'app-arch/libarchive-2.7.0-r1', 'nomerge') I didn't post the whole thing but the part about the Blocks with a capital B. I have unmerged both lzma-utils and xz-utils but I still get this error. How can they block it when they are not installed yet? I'm missing something here. I just don't see it. I found a thread on the forums and did what it said but I still get this. It said to unmerge xz-utils which I did. Then I unmerged lzma-utils for good measure. Someone tell me the trick to this? Thanks. Dale :-) :-) xz-utils replaces lzma-utils, so you can't have them both installed at once. Maybe try unmerging and re-emerging the packages that say they depend on lzma-utils, they've probably been updated to use xz-utils instead by now. I think I tried that. I ran this command with both blockers unmerged: emerge -1v rpm2targz gpm mpfr eix libarchive Thing is, it pulled both the blockers back in again. I also tried removing those two blockers and just doing the HUGE update, it still gripes about the block. I synced last night. Could it be that I need to sync again? Maybe something was in the process of changing when I synced? Thanks. Dale :-) :-)
Re: [gentoo-user] Blocks with xz-utils lzma-utils
Neil Bothwick wrote: On Thu, 17 Dec 2009 09:55:06 -0600, Dale wrote: I didn't post the whole thing but the part about the Blocks with a capital B. I have unmerged both lzma-utils and xz-utils but I still get this error. How can they block it when they are not installed yet? I'm missing something here. I just don't see it. One package is pulling in lzma-utils, another wants xz-utils. emerge --oneshot xz-utils (which replaces lzma-utils) should fix this. I have tried a few things but just to make sure, I tried this just to be sure. I unmerged both blockers and emerged xz-utils again, same block as before. Ideas? Dale :-)
Re: [gentoo-user] Blocks with xz-utils lzma-utils
Am Donnerstag 17 Dezember 2009 19:32:54 schrieb Dale: I have tried a few things but just to make sure, I tried this just to be sure. I unmerged both blockers and emerged xz-utils again, same block as before. Ideas? The solution is in the ebuilds (as always): eix 0.17.0 still depends on lzma- utils, while 0.17.1 has been switched to xz-utils. The same is true for libarchive, you need a later version. HTH... Dirk
[gentoo-user] fstab and cdrom question
Hello folks, Quick question. My main HD is SATA and gets /dev/sda in fstab. My CDROM, which is the only device on the IDE bus, seems to be /dev/hda. That's what Audacious declared when it was looking for a CD to play. I had CDROM device forced to /dev/cdrom in Audacious, unwittingly, before and was wondering why my CDs were not playing! However, my fstab is still /dev/cdrom /mnt/cdrom autonoauto,user 0 0 - so should I switch this to /dev/hda instead of /dev/cdrom? If so, should some link be made to /dev/cdrom, if other programs may be querying /dev/cdrom for the sake of Linux standard convention, or is /dev/cdrom already a link, which was broken in my case? Thank you, Denis
Re: [gentoo-user] Blocks with xz-utils lzma-utils
Dale schrieb am 17.12.2009 16:55: [blocks b ] kde-base/kde-meta:4.3[-kdeprefix] (kde-base/kde-meta:4.3[-kdeprefix] is blocking kde-base/kde-meta-) [blocks B ] app-arch/lzma-utils (app-arch/lzma-utils is blocking app-arch/xz-utils-) [blocks B ] app-arch/xz-utils (app-arch/xz-utils is blocking app-arch/lzma-utils-4.32.7) Total: 278 packages (17 upgrades, 19 new, 242 in new slots, 248 uninstalls), Size of downloads: 240,422 kB Conflict: 511 blocks (2 unsatisfied) Portage tree and overlays: [0] /usr/portage [1] /usr/local/portage/layman/kde * Error: The above package list contains packages which cannot be * installed at the same time on the same system. ('ebuild', '/', 'app-arch/xz-utils-', 'merge') pulled in by app-arch/xz-utils required by ('installed', '/', 'app-arch/rpm2targz-9.0.0.3g', 'nomerge') app-arch/xz-utils required by ('installed', '/', 'sys-libs/gpm-1.20.5', 'nomerge') app-arch/xz-utils required by ('installed', '/', 'dev-libs/mpfr-2.4.1_p1', 'nomerge') (and 10 more) ('ebuild', '/', 'app-arch/lzma-utils-4.32.7', 'merge') pulled in by app-arch/lzma-utils required by ('installed', '/', 'app-portage/eix-0.17.0', 'nomerge') app-arch/lzma-utils required by ('installed', '/', 'app-arch/libarchive-2.7.0-r1', 'nomerge') You need at least eix-0.17.1 and libarchive-2.7.1. Older versions depend on lzma-utils instead of xz-utils, thus the blocker. -- Daniel Pielmeier signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] @preserved-rebuild Loop
Well, I got the same problem in a recent past. What I did to solve this problem was to remove sys-libs/e2fsprogs-libs and to install it again: emerge -C e2fsprogs-libs emerge -van1 e2fsprogs-libs But I don't if it is good for your case. Regards, -- Ronan Arraes Jardim Chagas Control and Automation Engineer Gentoo Foundation Member Em Quinta-feira 17 Dezembro 2009, às 15:51:33, James escreveu: Hello, Well I keep getting the same 32 files to rebuild even after running 'emerge @preserved-rebuild' several times. Here is the list of files: ebuild R ] sys-fs/reiserfsprogs-3.6.19-r2 [ebuild R ] sys-apps/util-linux-2.16.1 [ebuild R ] dev-libs/apr-1.3.9 [ebuild R ] sys-fs/cryptsetup-1.0.6-r2 [ebuild R ] media-libs/libquicktime-1.1.3 [ebuild R ] net-nds/openldap-2.4.19-r1 [ebuild R ] gnome-base/libbonoboui-2.24.1 [ebuild R ] net-libs/webkit-gtk-1.1.10 [ebuild R ] media-gfx/graphviz-2.24.0-r2 [ebuild R ] x11-libs/openmotif-2.3.2 [ebuild R ] sys-fs/e2fsprogs-1.41.9 [ebuild R ] x11-libs/libSM-1.1.1 [ebuild R ] dev-libs/apr-util-1.3.9 [ebuild R ] sys-apps/hal-0.5.13-r2 [ebuild R ] media-libs/jasper-1.900.1-r3 [ebuild R ] media-video/cinelerra-20090210 [ebuild R ] net-libs/libproxy-0.2.3-r2 [ebuild R ] gnome-base/libgnomeui-2.24.1 [ebuild R ] media-video/kino-1.3.3 [ebuild R ] x11-libs/libXt-1.0.7-r1 [ebuild R ] app-admin/apache-tools-2.2.14 [ebuild R ] app-misc/lirc-0.8.5 [ebuild R ] media-gfx/imagemagick-6.5.7.0 [ebuild R ] sys-apps/dbus-1.2.3-r1 [ebuild R ] www-servers/apache-2.2.14-r1 [ebuild R ] media-libs/giflib-4.1.6-r1 [ebuild R ] games-action/bzflag-2.0.12 [ebuild R ] x11-libs/libXpm-3.5.8 [ebuild R ] x11-apps/xdm-1.1.8 [ebuild R ] media-video/transcode-1.0.7 [ebuild R ] media-libs/xine-lib-1.1.16.3-r1 [ebuild R ] sys-apps/pmount-0.9.19 so do I just remove the @perserved-rebuild list, not sure where this list is located, as some previous postings have suggested? Any other way to get past this message, as it pops up anytime I emerge anything now.. the same exact list Revdep-rebuild is clean and update world is clean too ??? James JAZ signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] {OT} Preparing a laptop for sale
On 17 Dec 2009, at 13:40, Marcus Wanner wrote: On 12/17/2009 6:42 AM, Mick wrote: On Thursday 17 December 2009 05:13:32 Joshua Murphy wrote: chicane ~ # shred test/ shred: test/: failed to open for writing: Is a directory chicane ~ # shred -v -n 25 -z -u ~/test/ shred: /root/test/: failed to open for writing: Is a directory shred ... shreds files. Therefore you may need to point it to the files in question for it to work. I suspect that if you point it to a device alone it just shreds the file representing the device on the Linux fs in question. That would be a bit inconvenient...I still vote for dd, overwriting the thing 26 times sounds like WAY overkill for a hdd... The US military specification is to overwrite randomly 3 times: http://en.wikipedia.org/wiki/Data_erasure I think the `shred` on the current System Rescue CD defaults to this. The advice to overwrite 26-35 times is, I think, based on Peter Gutmann's 1996 advice, which is now quite dated and is widely considered no longer relevant. Fair play to Gutmann: there aren't many studies on secure data removal made publicly available, so it was the best knowledge we had at the time. It may be accurate to the kind of drives available then, but not to those available now. Why not use dd? Grant says that his data isn't too sensitive, so it doesn't really matter. But it's no more difficult to run shred than it is to run `dd` - it's about the same amount of typing. You might as well do things properly (also known as following best practices), even if you don't think you need to. 3 writes really doesn't take that long. Stroller.
Re: [gentoo-user] Where is my /dev/fd0?
On Thu, Dec 17, 2009 at 06:04:37PM +0100, Penguin Lover Alex Schuster squawked: Willie Wong writes: On Thu, Dec 17, 2009 at 10:53:21AM -0500, Penguin Lover Marcus Wanner squawked: I tried to mount a floppy disk in my ~x86 gentoo system, but the /dev/fd0 device is not there. In other words, I can't find the block device corresponding to my floppy drive. Where is it and what am I doing wrong? You are using udev, I assume? Did you compile the IDE floppy support into your kernel? It's not IDE (IDE/ATAPI floppy support is for things like LS-120 drives), but CONFIG_BLK_DEV_FD, found in Device Drivers - Block devices - Normal floppy disk support. If it's compiled as a module, maybe you just need to modprobe floppy? My mistake. It's been a while since I built a kernel with floppy support. W -- You should approach relationships like chess. And preferably as Deep Blue plays it, or at least as Kasparov. Sortir en Pantoufles: up 1105 days, 18:51
Re: [gentoo-user] Where is my /dev/fd0?
On Thu, Dec 17, 2009 at 12:04:56PM -0500, Penguin Lover Marcus Wanner squawked: The only floppy options I can find in the kernel relating to floppy drives in the kernel config are mac floppy, amiga floppy, and atari floppy, none of which apply to me. I believe I am using udev, and both the cd/dvd drives work with my current setup. Thanks! Made a mistake in my post. Please see what Wonko/Alex said. Cheers W -- `Hand me the rap-rod, Plate Captain.' The little waiter's eyebrows wandered about his forehead in confusion. `I beg your pardon, sir?' he said. `The phone, waiter,' said Zaphod, grabbing it off him. `Shee, you guys are so unhip it's a wonder your bums don't fall off.' - Zaphod discovers that waiters are the least hip people in the Universe. Sortir en Pantoufles: up 1105 days, 18:57
Re: [gentoo-user] fstab and cdrom question
On Thu, Dec 17, 2009 at 01:42:33PM -0500, Penguin Lover Denis squawked: My main HD is SATA and gets /dev/sda in fstab. My CDROM, which is the only device on the IDE bus, seems to be /dev/hda. That's what Audacious declared when it was looking for a CD to play. I had CDROM device forced to /dev/cdrom in Audacious, unwittingly, before and was wondering why my CDs were not playing! However, my fstab is still /dev/cdrom /mnt/cdrom autonoauto,user 0 0 - so should I switch this to /dev/hda instead of /dev/cdrom? Sure, if you like. If so, should some link be made to /dev/cdrom, if other programs may be querying /dev/cdrom for the sake of Linux standard convention, or is /dev/cdrom already a link, which was broken in my case? The default udev scripts should have been able to automatically create symlinks for optical devices in /dev. Whether yours is broken, you can find out by trying to ls -l /dev/cdrom :) W -- The Short History of Medicine 2000 B.C. - Here, eat this root 1000 A.D. - That root is heathen. Here, say this prayer. 1850 A.D. - That prayer is superstition. Here, drink this potion. 1940 A.D. - That potion is snake oil. Here, swallow this pill. 1985 A.D. - That pill is ineffective. Here, take this antibiotic. 2000 A.D. - That antibiotic doesn't work any more. Here, eat this root. Sortir en Pantoufles: up 1105 days, 19:01
Re: [gentoo-user] fstab and cdrom question
The default udev scripts should have been able to automatically create symlinks for optical devices in /dev. Whether yours is broken, you can find out by trying to ls -l /dev/cdrom :) It appears the links /dev/cdrom1 and /dev/cdrw1 are tied to /dev/hda. Is that the default behavior instead of /dev/cdrom now?
Re: [gentoo-user] Re: off-topic: logitech mice (MX1000)
At Thu, 17 Dec 2009 16:30:58 +0100 Michael Schreckenbauer grim...@gmx.de wrote: Am Donnerstag, 17. Dezember 2009 16:07:46 schrieb walt: That's why I was wondering if just a simple front-or-back turn of the wheel also produces two different button events for each notch -- you should see only button-4 events for forward and only button-5 events for backward. (I actually see two button-4 events for each notch forward, but the 'state' differs between the first and second event.) You get one event for ButtonPress and one event for ButtonRelease Correct. Remember that on the left or right motion I received two presses and two releases for two different X-buttons. This same thing happens for other physical buttons on the beast. Fortunately the two main buttons give just button 1 and button 3 respectively. Another button just gives button 2 and the wheel rotation give button 4 in one direction and 5 in the other. So it does work as a wheeled mouse if I ignore all the other physical buttons. allan
Re: [gentoo-user] Blocks with xz-utils lzma-utils
Daniel Pielmeier wrote: Dale schrieb am 17.12.2009 16:55: [blocks b ] kde-base/kde-meta:4.3[-kdeprefix] (kde-base/kde-meta:4.3[-kdeprefix] is blocking kde-base/kde-meta-) [blocks B ] app-arch/lzma-utils (app-arch/lzma-utils is blocking app-arch/xz-utils-) [blocks B ] app-arch/xz-utils (app-arch/xz-utils is blocking app-arch/lzma-utils-4.32.7) Total: 278 packages (17 upgrades, 19 new, 242 in new slots, 248 uninstalls), Size of downloads: 240,422 kB Conflict: 511 blocks (2 unsatisfied) Portage tree and overlays: [0] /usr/portage [1] /usr/local/portage/layman/kde * Error: The above package list contains packages which cannot be * installed at the same time on the same system. ('ebuild', '/', 'app-arch/xz-utils-', 'merge') pulled in by app-arch/xz-utils required by ('installed', '/', 'app-arch/rpm2targz-9.0.0.3g', 'nomerge') app-arch/xz-utils required by ('installed', '/', 'sys-libs/gpm-1.20.5', 'nomerge') app-arch/xz-utils required by ('installed', '/', 'dev-libs/mpfr-2.4.1_p1', 'nomerge') (and 10 more) ('ebuild', '/', 'app-arch/lzma-utils-4.32.7', 'merge') pulled in by app-arch/lzma-utils required by ('installed', '/', 'app-portage/eix-0.17.0', 'nomerge') app-arch/lzma-utils required by ('installed', '/', 'app-arch/libarchive-2.7.0-r1', 'nomerge') You need at least eix-0.17.1 and libarchive-2.7.1. Older versions depend on lzma-utils instead of xz-utils, thus the blocker. You are both right. I tried installing a later version on the blockers but not the packages that depended on them. So, I added the following to my package.keyword and package.unmask files: =app-portage/eix-0.18.3 =app-arch/libarchive-2.7.1 Portage is now happy. Every time I think I have figured out portage and these blocker messages, I get thrown a curve ball. lol Thanks much for catching that curve ball. Dale :-) :-)
Re: [gentoo-user] does slim work with xorg-server1.7.3?
On Thu, 17 Dec 2009 15:45:20 +0100, fei huang daniel.huang...@gmail.com wrote: I've found the slim login manager will hang the computer if I enter exit or console in the panel, blank screen and no response at all, had to push the reset button to recover. I did not test it under the previous xorg-server installation, anybody has got the same issue? I've tried to recompile slim but no help slim 1.3.1 + xorg-server 1.7.3 (with xcb enabled) + awesome3.4.2 thanks fei Hey Fei, I don't have those issues. I'm using slim 1.3.1-r4 and xorg-server 1.7.3.901-r1. Are you using the same packages? If not then try upgrading, perhaps that will help :-) -- Zeerak
Re: [gentoo-user] Where is my /dev/fd0?
On 12/17/2009 12:04 PM, Alex Schuster wrote: Willie Wong writes: On Thu, Dec 17, 2009 at 10:53:21AM -0500, Penguin Lover Marcus Wanner squawked: I tried to mount a floppy disk in my ~x86 gentoo system, but the /dev/fd0 device is not there. In other words, I can't find the block device corresponding to my floppy drive. Where is it and what am I doing wrong? You are using udev, I assume? Did you compile the IDE floppy support into your kernel? It's not IDE (IDE/ATAPI floppy support is for things like LS-120 drives), but CONFIG_BLK_DEV_FD, found in Device Drivers - Block devices - Normal floppy disk support. If it's compiled as a module, maybe you just need to modprobe floppy? I looked at that path in the config, it turns out that it was disabled (by default! why?). I enabled it, rebuilt, rebooted, and now it works. Thanks guys! Marcus
Re: [gentoo-user] Re: off-topic: logitech mice (MX1000)
At Thu, 17 Dec 2009 11:49:43 -0500 Albert Hopkins mar...@letterboxes.org wrote: On Wed, 2009-12-16 at 22:51 -0500, Allan Gottlieb wrote: Right. Mine (MX 1000) has those plus others (I inherited the mouse). My problem is that several of these send multiple events (i.e. clicking one physical button results in two button-down events for different X11 buttons and then the corresponding two button-up events). I wonder how to handle this. Actually, I have trouble believing it so wonder if I have some config wrong, but mine are very simple configs. allan I don't have the mouse with me to check, but ran xev on it last night and only saw one event for left-right wheel (button6 and button7 iirc). Could it be perhaps there are 2 (X11) drivers listneing on this device or are you using GPM or something like that? That sounds promising, but I see no evidence in the log file. I assume this line (==) NVIDIA(0): Silken mouse enabled doesn't count as the NVIDIA is a display driver and I see nothing relevent in the doc that came with it. I do have two InputDevice sections in xorg.conf about the mouse, but my ServerLayout only mentions one. I attach both my log and xorg.conf below. Thanks for helping. allan # nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 1.0 (buildmeis...@builder58) Thu Jun 5 00:08:24 PDT 2008 Section ServerLayout Identifier Nvidia / Logitech layout Screen Nvidia screen 0 0 InputDeviceLogitech MX1000 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection Section ServerLayout Identifier Nvidia layout Screen Nvidia screen 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection Section Files ModulePath /usr/lib64/xorg/modules FontPath/usr/share/fonts/dejavu/ FontPath/usr/share/fonts/corefonts/ FontPath/usr/share/fonts/misc/ FontPath/usr/share/fonts/ttf-bitstream-vera/ FontPath/usr/share/fonts/Type1/ FontPath/usr/share/fonts/100dpi/ FontPath/usr/share/fonts/75dpi/ EndSection #Section ServerFlags #Option AutoAddDevicesfalse #EndSection Section Module Load glx Load record Load dbe Load xtrap # AJG # Load dri Load extmod EndSection Section InputDevice Identifier Keyboard0 Driver kbd EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/input/mice Option ZAxisMapping 4 5 6 7 EndSection Section InputDevice Identifier Logitech MX1000 Driver evdev Option Device /dev/input/event2 EndSection Section Monitor Identifier Dell wfp 3008 VendorName Dell ModelName wfp 3008 VertRefresh 60.0 ModeLine 2560x1600 268 2560 2608 2640 2720 1600 1603 1609 1646 Option dpms EndSection Section Monitor Identifier Monitor0 VendorName Vendor0 ModelName Model0 EndSection Section Device Identifier Nvidia Quadro FX1700 Driver nvidia EndSection Section Device ### Available Driver options are:- ### Values: i: integer, f: float, bool: True/False, ### string: String, freq: f Hz/kHz/MHz ### [arg]: arg optional #Option SWcursor # [bool] #Option HWcursor # [bool] #Option NoAccel # [bool] #Option ShadowFB # [bool] #Option UseFBDev # [bool] #Option Rotate# [str] #Option VideoKey # i #Option FlatPanel # [bool] #Option FPDither # [bool] #Option CrtcNumber# i #Option FPScale # [bool] #Option FPTweak # i #Option DualHead # [bool] Identifier Card0 Driver nv VendorName nVidia Corporation BoardName Unknown Board BusID PCI:1:0:0 EndSection Section Screen Identifier Nvidia screen Device Nvidia Quadro FX1700 MonitorDell wfp 3008 DefaultDepth24 SubSection Display Viewport0 0 Depth 24 Modes 2560x1600 EndSubSection EndSection Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 DefaultDepth24 SubSection Display Viewport0 0 Depth 1
[gentoo-user] Re: fstab and cdrom question
On 12/17/2009 10:42 AM, Denis wrote: Hello folks, Quick question. My main HD is SATA and gets /dev/sda in fstab. My CDROM, which is the only device on the IDE bus, seems to be /dev/hda. That's what Audacious declared when it was looking for a CD to play. I had CDROM device forced to /dev/cdrom in Audacious, unwittingly, before and was wondering why my CDs were not playing! However, my fstab is still /dev/cdrom /mnt/cdrom autonoauto,user 0 0 - so should I switch this to /dev/hda instead of /dev/cdrom? If so, should some link be made to /dev/cdrom, if other programs may be querying /dev/cdrom for the sake of Linux standard convention, or is /dev/cdrom already a link, which was broken in my case? Take a look at /etc/udev/rules.d/70-persisten-cd.rules, which may be pointing to the wrong hardware. Just delete that file and udev will create it again on the next boot.
Re: [gentoo-user] {OT} Preparing a laptop for sale
On Thu, 17 Dec 2009 18:49:31 +0200, Alan McKinnon wrote: Let's look at the obvious solution then: remove the hard drive containing sensitive data, replace it with a new one, sell laptop. Ka-Ching! Problem solved. Unfortunately, the hard drive seller gets more Ka-Ching and the OP gets less. It's always a trade off. -- Neil Bothwick Committee (noun): A group of people spending hours taking minutes signature.asc Description: PGP signature
Re: [gentoo-user] @preserved-rebuild Loop
On Thu, 17 Dec 2009 17:51:33 + (UTC), James wrote: Well I keep getting the same 32 files to rebuild even after running 'emerge @preserved-rebuild' several times. Here is the list of files: Where is the list of libraries causing the need for the rebuild? This is given in the message that tells you to run emerge @preserved-rebuild. -- Neil Bothwick Do hungry crows have ravenous appetites? signature.asc Description: PGP signature
Re: [gentoo-user] Blocks with xz-utils lzma-utils
On Thu, 17 Dec 2009 15:12:19 -0600, Dale wrote: You are both right. I tried installing a later version on the blockers but not the packages that depended on them. So, I added the following to my package.keyword and package.unmask files: =app-portage/eix-0.18.3 =app-arch/libarchive-2.7.1 Portage is now happy. Every time I think I have figured out portage and these blocker messages, I get thrown a curve ball. lol Ah, the fun of running a mixed arch/~arch system :) BTW ~ is usually better than = in this situation. -- Neil Bothwick As of next week, passwords will be entered in Morse code. signature.asc Description: PGP signature
Re: [gentoo-user] @preserved-rebuild Loop
On Thursday 17 December 2009 19:51:33 James wrote: Hello, Well I keep getting the same 32 files to rebuild even after running 'emerge @preserved-rebuild' several times. Here is the list of files: ebuild R ] sys-fs/reiserfsprogs-3.6.19-r2 [snip] ldd is your friend run on those apps to see what they are bitching about. Compare that to the app's DEPENDs and what is present on-disk. Based on that, make a determination. Or post the results asking for assistance. Without that info, help is normally not possible -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Where is my /dev/fd0?
On Thu, 17 Dec 2009 16:21:28 -0500, Marcus Wanner wrote: It's not IDE (IDE/ATAPI floppy support is for things like LS-120 drives), but CONFIG_BLK_DEV_FD, found in Device Drivers - Block devices - Normal floppy disk support. If it's compiled as a module, maybe you just need to modprobe floppy? I looked at that path in the config, it turns out that it was disabled (by default! why?). For the same reason that support for punched card readers is disabled by default. -- Neil Bothwick Protect your software at all costs -- all else is meat. signature.asc Description: PGP signature
Re: [gentoo-user] freeglut fails to compile because X11/extensions/XInput.h not found
On Thursday 17 December 2009 19:30:32 cov...@ccs.covici.com wrote: Alan McKinnon alan.mckin...@gmail.com wrote: On Thursday 17 December 2009 14:09:37 cov...@ccs.covici.com wrote: Hi. This happened on my latest update -- looks like the package which used to contain this file no longer does -- any ideas on how to proceed? Thanks. nazgul ~ # locate XInput.h /usr/include/X11/extensions/XInput.h nazgul ~ # equery belongs `locate XInput.h` * Searching for /usr/include/X11/extensions/XInput.h ... x11-libs/libXi-1.3 (/usr/include/X11/extensions/XInput.h) However the newer version of this package has eliminated this file -- this is my whole problem.Now I re emerged the package which had an update and how its here. I guess portage did things in the wrong order or something. Thanks. Hmm. Odd. Apparently, you are suffering from one or more of the following: solar flares cosmic rays a quantum level event leprechauns tooth fairies jubbjubb monsters {well, it's as good as any other explanation :-) } -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] {OT} Preparing a laptop for sale
From: Neil Bothwick n...@digimed.co.uk On Thu, 17 Dec 2009 18:49:31 +0200, Alan McKinnon wrote: Let's look at the obvious solution then: remove the hard drive containing sensitive data, replace it with a new one, sell laptop. Ka-Ching! Problem solved. Unfortunately, the hard drive seller gets more Ka-Ching and the OP gets less. It's always a trade off. Personally, I'd just go ahead and do the DBAN route as already mentioned. It's worth it - and easy enough to do. (I've done it for one of my work laptops that I purchased from work a couple years ago.) On the other hand, if you really don't want to do that - keep your hard drive, and sell without the hard drive. The buyer can get another one for it themselves. Ben
[gentoo-user] Re: off-topic: logitech mice (MX1000)
On 12/17/2009 01:23 PM, Allan Gottlieb wrote: I do have two InputDevice sections in xorg.conf about the mouse, but my ServerLayout only mentions one. I attach both my log and xorg.conf below. If you are using evdev (and you are) you should delete (or comment out) anything to do with Input from your xorg.conf, e.g. these sections: Section InputDevice Identifier Keyboard0 Driver kbd EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/input/mice Option ZAxisMapping 4 5 6 7 EndSection and also remove/comment these lines from ServerLayout: InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard The evdev driver is intended to replace *all* of that stuff. BTW, I remember having a section like this in my xorg.conf, but I don't have it any longer and I don't think you really need it: Section InputDevice Identifier Logitech MX1000 Driver evdev Option Device /dev/input/event2 EndSection I think that the evdev driver is loaded by default now, so you don't need to mention it in xorg.conf. Caveat: I needed to add /etc/hal/fdi/policy/10-x11-logitech.fdi to replace two lines in my xorg.conf because my mouse has four buttons and no wheel. You obviously don't have that problem, so I think your mouse should Just Work without any extra fdi files.
[gentoo-user] Re: fstab and cdrom question
On 12/17/2009 12:14 PM, Denis wrote: The default udev scripts should have been able to automatically create symlinks for optical devices in /dev. Whether yours is broken, you can find out by trying to ls -l /dev/cdrom :) It appears the links /dev/cdrom1 and /dev/cdrw1 are tied to /dev/hda. Is that the default behavior instead of /dev/cdrom now? That's what I have on my machines, except that I have /dev/cdrom instead of cdrom1. Do you have more than one cd device? If not, you should delete /etc/udev/rules/70-persistent-cd.rules and reboot.
[gentoo-user] Re: fstab and cdrom question
On 12/17/2009 08:42 PM, Denis wrote: Hello folks, Quick question. My main HD is SATA and gets /dev/sda in fstab. My CDROM, which is the only device on the IDE bus, seems to be /dev/hda. That's what Audacious declared when it was looking for a CD to play. I had CDROM device forced to /dev/cdrom in Audacious, unwittingly, before and was wondering why my CDs were not playing! However, my fstab is still /dev/cdrom /mnt/cdrom autonoauto,user 0 0 - so should I switch this to /dev/hda instead of /dev/cdrom? If so, should some link be made to /dev/cdrom, if other programs may be querying /dev/cdrom for the sake of Linux standard convention, or is /dev/cdrom already a link, which was broken in my case? Thank you, Denis You don't need an fstab entry at all. These days, when you insert a CD, it will get mounted automatically and appear in /media, just like USB storage devices.
Re: [gentoo-user] Where is my /dev/fd0?
On 12/17/2009 5:16 PM, Neil Bothwick wrote: On Thu, 17 Dec 2009 16:21:28 -0500, Marcus Wanner wrote: It's not IDE (IDE/ATAPI floppy support is for things like LS-120 drives), but CONFIG_BLK_DEV_FD, found in Device Drivers - Block devices - Normal floppy disk support. If it's compiled as a module, maybe you just need to modprobe floppy? I looked at that path in the config, it turns out that it was disabled (by default! why?). For the same reason that support for punched card readers is disabled by default. But they're so useful...and the computer we got a year ago had one. Do things really go obsolete like that after decades of prevalence? Marcus
Re: [gentoo-user] usb HD cannot boot without initramfs
On Thu, Dec 17, 2009 at 10:36 PM, Steffen Loos fe...@gmx.net wrote: Xi Shen schrieb: sorry, could you be more specific? i cannot follow you ;) On Thu, Dec 17, 2009 at 4:01 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Thursday 17 December 2009 09:47:14 Xi Shen wrote: hi, i installed my gentoo on a usb HD disk, and i have compiled scsi, usb, ata drivers into the kernel. but when boot, the system still cannot find my usb hd, but it did find my hd on my laptop. what i missed? You missed the filesystem driver for / compiled into the kernel 1. please don't toppost! ok. but it looks like the gmail web client encourage top post ;) 2. What alan said: have you compiled ext4 or whatever you use for your root-fs compiled _into_ the kernel? yes, i use ext4 and it is compiled into the kernel. 3. Suggestion from me: have you _all_ usb-staff, you need to access the usb-hd compiled _into_ the kernel? (e.a. usb_storage) not as module! i compiled the uhci and ehci into the kernel. i need to double check the usb_storage thing. maybe this is the thing i missed. Steffen -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/
Re: [gentoo-user] usb HD cannot boot without initramfs
On Fri, Dec 18, 2009 at 09:14:48AM +0800, Xi Shen wrote: ok. but it looks like the gmail web client encourage top post ;) That doesn't make it easy to read. This is how we see it when you top-post: A: Because you are doing it wrong. On Thu, Dec 17, 2009 at 4:01 PM, Alan McKinnon alan.mckin...@gmail.com wrote: then you didn't trim other junk that is irrelevant. Q. Why is my mouse eating all the cheese when I configured it no cheese? i compiled the uhci and ehci into the kernel. i need to double check the usb_storage thing. maybe this is the thing i missed. UHCI is for Intel and VIA ... OHCI for others (these are both USB 1.0{1} EHCI is for all USB 2.0 Make sure you have the correct UHCI/OHCI ... you only need one of those. -- Experience is a hard teacher because she gives the test first, the lesson afterward. But properly learned, the lesson forever changes the man.
Re: [gentoo-user] freeglut fails to compile because X11/extensions/XInput.h not found
Alan McKinnon alan.mckin...@gmail.com wrote: On Thursday 17 December 2009 19:30:32 cov...@ccs.covici.com wrote: Alan McKinnon alan.mckin...@gmail.com wrote: On Thursday 17 December 2009 14:09:37 cov...@ccs.covici.com wrote: Hi. This happened on my latest update -- looks like the package which used to contain this file no longer does -- any ideas on how to proceed? Thanks. nazgul ~ # locate XInput.h /usr/include/X11/extensions/XInput.h nazgul ~ # equery belongs `locate XInput.h` * Searching for /usr/include/X11/extensions/XInput.h ... x11-libs/libXi-1.3 (/usr/include/X11/extensions/XInput.h) However the newer version of this package has eliminated this file -- this is my whole problem.Now I re emerged the package which had an update and how its here. I guess portage did things in the wrong order or something. Thanks. Hmm. Odd. Apparently, you are suffering from one or more of the following: solar flares cosmic rays a quantum level event leprechauns tooth fairies jubbjubb monsters {well, it's as good as any other explanation :-) } Yep, very strange, however this update went OK, except for that, so I'll knock on my metal desk -- sorry no wood available -- to make sure nothing goes wrong. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
Re: [gentoo-user] usb HD cannot boot without initramfs
On Thu, Dec 17, 2009 at 10:22 PM, Willie Wong ww...@math.princeton.edu wrote: On Thu, Dec 17, 2009 at 03:47:14PM +0800, Penguin Lover Xi Shen squawked: i installed my gentoo on a usb HD disk, and i have compiled scsi, usb, ata drivers into the kernel. but when boot, the system still cannot find my usb hd, but it did find my hd on my laptop. what i missed? I don't completely understand your question: if it cannot find your usb hd and you installed on the usb HD, how did you boot? i boot from the livedvd, and installed it on my usb hd. and the system can boot normally if i use genkernel, i think it is because the initramfs generated by genkernel loaded something that i missed. Did you install the bootloader on the USB HD? yes, i use grub. Did you get to the bootloader screen at all? yes, i can see the screen, and the kernel load log. but the system dies when trying to mount the root and start the system. What cannot find your USB HD? Tell us in more detail what you did, and what didn't work. Your description is so vague that for all I know cosmic rays could've caused your problem. W -- `I think you ought to know that I'm feeling very depressed.' `Life, don't talk to me about life.' `Here I am, brain the size of a planet and they ask me to take you down to the bridge. Call that job satisfaction? 'Cos I don't.' `I've got this terrible pain in all the diodes down my left side.' - Guess who. Sortir en Pantoufles: up 1105 days, 13:11 -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/
Re: [gentoo-user] Re: off-topic: logitech mice (MX1000)
At Thu, 17 Dec 2009 15:34:51 -0800 walt w41...@gmail.com wrote: On 12/17/2009 01:23 PM, Allan Gottlieb wrote: I do have two InputDevice sections in xorg.conf about the mouse, but my ServerLayout only mentions one. I attach both my log and xorg.conf below. If you are using evdev (and you are) you should delete (or comment out) anything to do with Input from your xorg.conf, e.g. these sections: Section InputDevice Identifier Keyboard0 Driver kbd EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/input/mice Option ZAxisMapping 4 5 6 7 EndSection and also remove/comment these lines from ServerLayout: InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard The evdev driver is intended to replace *all* of that stuff. Yes, but those lines are effectively commented out. I have three ServerLayout sections but only the first counts (see excerpt from the xorg.conf man page below). The first ServerLayout section (the active one) references the logitech mouse and not mouse0 so the mouse driver is not loaded at all. I do specify the keyboard, but that is working fine. BTW, I remember having a section like this in my xorg.conf, but I don't have it any longer and I don't think you really need it: Section InputDevice Identifier Logitech MX1000 Driver evdev Option Device /dev/input/event2 EndSection I think that the evdev driver is loaded by default now, so you don't need to mention it in xorg.conf. Caveat: I needed to add /etc/hal/fdi/policy/10-x11-logitech.fdi to replace two lines in my xorg.conf because my mouse has four buttons and no wheel. You obviously don't have that problem, so I think your mouse should Just Work without any extra fdi files. I do not use the hal stuff. I was scared off by the horror stories reported here. Perhaps this summer I will give it a go. thanks again for helping, allan SERVERLAYOUT SECTION The config file may have multiple ServerLayout sections. A server layout represents the binding of one or more screens (Screen sections) and one or more input devices (InputDevice sections) to form a complete configuration. In multi-head configurations, it also specifies the relative layout of the heads. A ServerLayout section is considered active if it is referenced by the -layout command line option or by an Option DefaultServerLayout entry in the ServerFlags section (the former takes precedence over the latter). If those options are not used, the first ServerLayout section found in the config file is con- sidered the active one. If no ServerLayout sections are present, the single active screen and two active (core) input devices are selected as described in the relevant sections above.
[gentoo-user] Re: freeglut fails to compile because X11/extensions/XInput.h not found
On 12/17/2009 02:17 PM, Alan McKinnon wrote: solar flares cosmic rays a quantum level event leprechauns tooth fairies jubbjubb monsters Single malt, I hope? ;o)
Re: [gentoo-user] Where is my /dev/fd0?
On Thu, Dec 17, 2009 at 7:45 PM, Marcus Wanner marc...@cox.net wrote: On 12/17/2009 5:16 PM, Neil Bothwick wrote: On Thu, 17 Dec 2009 16:21:28 -0500, Marcus Wanner wrote: It's not IDE (IDE/ATAPI floppy support is for things like LS-120 drives), but CONFIG_BLK_DEV_FD, found in Device Drivers - Block devices - Normal floppy disk support. If it's compiled as a module, maybe you just need to modprobe floppy? I looked at that path in the config, it turns out that it was disabled (by default! why?). For the same reason that support for punched card readers is disabled by default. But they're so useful...and the computer we got a year ago had one. Do things really go obsolete like that after decades of prevalence? Marcus Yep... why deal with floppies when you can get a tiny little stick that'll hold about 5688 times as much (8GB), read and write faster, is more portable, and costs about $20 US on Newegg (without shopping around even a little to find one on sale). Windows XP is the last big reason I've dealt with floppy drives in the past 2/3 of a decade or so now, and that's only because the only other option in getting screwy chipset drivers at install time is to rebuild the install media (nforce fake raid on Dell XPSes, more often than not). -- Poison [BLX] Joshua M. Murphy
Re: [gentoo-user] Re: freeglut fails to compile because X11/extensions/XInput.h not found
On Friday 18 December 2009 04:28:32 walt wrote: On 12/17/2009 02:17 PM, Alan McKinnon wrote: solar flares cosmic rays a quantum level event leprechauns tooth fairies jubbjubb monsters Single malt, I hope? ;o) Sadly, no. I come from a long line of fine single malt liqueur makers but can't imbibe the stuff (it makes me wickedly ill even in small doses) -- alan dot mckinnon at gmail dot com