Re: Howto build Debian source packages (tar.gz)??
Nick Rudnick nick.rudn...@gmail.com writes: how to build Debian source packages, e.g. nvidia-graphics-drivers_331.20-1.debian.tar.gz ( http://packages.debian.org/source/experimental/nvidia-graphics-drivers)?? It seems different to common DEB as well as tarballs with configure/make. Others may be able to give you a better answer, but you might find the manuals here useful: http://www.debian.org/doc/devel-manuals See especially the Introduction to Debian Packaging and the New Maintainer's Guide. Best, Richard -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87r4a2spjo@berkeley.edu
Hardware support for Thinkpad X230?
Hi all, I am considering buying a Lenovo Thinkpad X230, and I am wondering if anyone on this list has advice to share about the hardware. It looks like most, but not all, of the standard hardware is supported under Wheezy. Specifically, the microphone and (some) hotkeys don't seem to work: https://wiki.debian.org/InstallingDebianOn/Thinkpad/X230/wheezy That page, however, has a note saying This is a work in progress; do not trust this page until this note disappears, and was last updated in August. I am wondering if anyone has had any luck getting these last pieces of hardware to work (just curious---they are not crucial for me), and if there are any other hardware or installation gotchas to be aware of. I am particularly concerned about: - wifi: any reason to prefer the Intel Centrino Wireless-N 2200 or the Centrino Advanced-N 6205? What about the 2x2 vs. 3x3 antenna? - SSD: any issues (besides the bug listed on the wiki) using an after-market SSD? - suspend/resume: Arch wiki reports suspend does not work in some cases, but lists some workarounds; has anyone been unable to get suspend/resume working? I would also be curious to know what kind of real-world battery life people get from an X230 running Debian. Thanks so much for your thoughts! Best, Richard -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87wqk4gs9x@berkeley.edu
Re: Mailing list organization
Hi Josef, Josef Bailey jcbjoe2...@gmail.com writes: So yes .. im using gmail and its an imap account Since you are saying i need to organize it myself does that mean i have to use the programs you said below ? 1. Porocmail 2. Mailfilter program 3. mapfilter and sieve I don't think you need these. I recommend you use offlineimap (http://offlineimap.org/). It can mirror your GMail folders/labels over IMAP to a local Maildir. You don't need to do any sorting to reproduce the folder structure you have in GMail on your local machine. You can then read the local Maildir with Mutt, and access your folders/labels as Mutt mailboxes. This is the setup I use. Offlineimap is available in the Debian repository and has good documentation. (See http://docs.offlineimap.org/en/latest/ for the latest version.) Start there for help on setting it up. Best, Richard -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87wqm6rxj5@berkeley.edu
Re: Cannot use GnuPG with Icedove in my desktop but can in my laptop
Hi Ken, Ken Heard kensli...@teksavvy.com writes: On the laptop I can digitally sign my e-mails, but I cannot on the desktop. The laptop can find the gnupg key list (~/.pubring.gpg?), but the desktop cannot. (In both computers I can see the key list, including my key, by clicking on the lock in the panel.) I tried using the wizard available from the OpenPGP button on the Icedove top level tool bar. In the laptop it finds my personal key, but not in the Desktop. In the wizard on the desktop I entered the gnupg keylist file (~/.pubring.gpg) on the page where the wizard asks for it, but the list did not appear. After trying but failing to send a signed message from the desktop the following message is returned: Send operation aborted. Error - encryption command failed gpg command line and output: /usr/bin/gpg gpg: skipped 0xE9099937: secret key not available gpg: [stdin]: clearsign failed: secret key not available You've probably already checked this, but are you sure you have your *secret* key on the desktop, and not just your public key? How did you move your secret key from the laptop (or wherever it was created) to your desktop? Do you see your key in the output of $ gpg --list-secret-keys on the desktop? HTH, Richard -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/871u6qch1f@berkeley.edu
Re: How do you manage encrypted mail?
On Tue, Jul 02, 2013 at 01:39:36PM -0400, Joey Hess wrote: Richard Lawrence wrote: Good to know, thanks. When I try this, Mutt asks me to enter my GPG passphrase for every encrypted message in the folder I'm limiting, though! (So it's not a good option for my sent folder, for example.) Any way to avoid that? Yes, use a gpg agent. Installing gnupg-agent and logging out and back in will probably do. Thanks! Alas, it didn't turn out to be quite this simple. I had to invoke gpg-agent from my .bash_profile: # start gpg-agent on login gpg-agent --daemon --write-env-file ${HOME}/.gpg-agent-info And add the following to my .bashrc: # gpg-agent is started in .bash_profile; this config should be read for # every new shell if [ -f ${HOME}/.gpg-agent-info ]; then . ${HOME}/.gpg-agent-info export GPG_AGENT_INFO # don't need this unless using gpg-agent as ssh-agent # export SSH_AUTH_SOCK fi export GPG_TTY=$(tty) But now gpg-agent seems to be up, and accessible from mutt. Thanks everyone for your help in this thread! Best, Richard signature.asc Description: Digital signature
Re: How do you manage encrypted mail?
green greenfreedo...@gmail.com writes: Rob Owens wrote at 2013-07-04 18:05 -0500: On Thu, Jul 04, 2013 at 01:19:37PM -0700, Richard Lawrence wrote: Thanks! Alas, it didn't turn out to be quite this simple. I had to invoke gpg-agent from my .bash_profile: I didn't have to go through all that, but I have used seahorse in the past -- perhaps that automatically set up a gpg agent for me? Simply adding use-agent to gpg.conf worked for me, if I remember correctly. I looked for a reference to GPG in those places but found nothing. I too have used seahorse in the past, but… probably not related? It didn't work for me. I didn't have any gpg-agent process running. Perhaps this is related to Seahorse: I don't use GNOME, or any other desktop. (I just start X manually and use a tiling window manager.) -- Best, Richard -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87li5ld8ft@berkeley.edu
Re: How do you manage encrypted mail?
On Tue, Jul 02, 2013 at 03:18:54PM -0400, Rob Owens wrote: Icedove/Thunderbird has the Enigmail extension to handle encryption. You might want to give that a try as well, particularly since you are trying to encourage others to use encryption and Thunderbird is available for both Linux and Windows (and Mac?). Yes, I used to use Thunderbird/Enigmail, and it is what I recommend to non-technical people, though I haven't used it recently myself (I don't much like GUI mail clients). Does Thunderbird/Enigmail have a way to search through encrypted mail? I don't remember this being available last time I used it. In my experience, email encryption is has been pretty easy with the exception of getting it to work with webmail. It's pretty easy to get up *sending and reading* encrypted mail, and there are lots of guides out there about how to do that much. But as I'm learning now, some of the other features of mail that people rely on become a lot harder or even impossible when their messages are encrypted. The big ones are searching, and accessing mail from a machine you don't control (part of the webmail problem). The other tricky thing is getting people to understand the concepts of how/why to trust a key -- things like verifying the fingerprint, etc. Mm, yes, I haven't even thought about that much myself. I'm still pretty much the only PGP user among people I communicate with regularly, so I haven't come across anybody who is wondering whether to trust my key. Guess I'll cross that bridge when I come to it... Thanks again for your input! Best, Richard -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/2013070436.GC3749@aristotle
How do you manage encrypted mail?
Hi list, I've recently (re-)decided to make an effort to use PGP, and to convince others to use it too. (My effort to do so: http://www.ocf.berkeley.edu/~rwl/encryption.html, linked from my .signature. Comments welcome.) But I've run into a couple of problems fairly quickly. If you use PGP regularly, how do you solve them? 1) Reading encrypted mail that I sent. If I need to remind myself what I said to someone, or recover an attachment, etc., I can't, because the only copy of my message is encrypted with the recipient's public key. I could work around this by Bcc'ing myself on every message, but that would have the mildly annoying effect of duplicating all my outgoing messages; every time I were to look for a message I sent to Mr. X, I'd get two results, and I'd have to figure out which one was encrypted with my key to read it. 2) Search. The more serious issue is that I can't search encrypted email, whether I sent it or received it. It is conceivably possible to search mail encrypted with my public key by decrypting it before running the search (though not encrypted mail that I sent, pending a good solution to problem 1). However, that seems like it would be extremely slow in practice, and I am not aware of any software that would make this simple or practical. I am currently using Mutt as a client for a local Maildir, with offlineimap and notmuch to download and index my mail, but I am willing to switch to a different setup if there is one out there that solves these problems. What's frustrating is that both problems seem pretty obvious, and solutions are conceivable, but I haven't been able to find much information about practical solutions. Is there any way to configure the software I'm using to allow searching and reading encrypted messages? If not, is there some other set of programs that would do this available in Debian? I don't want to recommend to others that they use PGP if it means they cannot reasonably search their mail archives and read their sent messages. What should I tell them to do? (Note: I also asked this question on Hacker News, at https://news.ycombinator.com/item?id=5978529, if you would like to reply or read the responses there.) Thanks for your input! -- Best, Richard -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87sizxc5ox@berkeley.edu
Re: How do you manage encrypted mail?
Joey Hess jo...@debian.org writes: Richard Lawrence wrote: I've recently (re-)decided to make an effort to use PGP, and to convince others to use it too. (My effort to do so: http://www.ocf.berkeley.edu/~rwl/encryption.html, linked from my .signature. Comments welcome.) But I've run into a couple of problems fairly quickly. If you use PGP regularly, how do you solve them? 1) Reading encrypted mail that I sent... Typically, gpg is configured to encrypt mail to multiple recipients, which includes everyone the mail is sent to, as well as the sender. For example, I have in my gpg.conf: # Encrypt stuff to my key too. encrypt-to 2512E3C7 Ah, this is what I was missing. Thanks! 2) Search. The more serious issue is that I can't search encrypted email, whether I sent it or received it... Mutt will use gpg to decrypt encrypted mail when searching in the body (ie, when limiting to ~bsomething). It can get slow, indeed. Good to know, thanks. When I try this, Mutt asks me to enter my GPG passphrase for every encrypted message in the folder I'm limiting, though! (So it's not a good option for my sent folder, for example.) Any way to avoid that? I rarely find the need to search in bodies of mail after it's a month old, and use mairix to index and search subject and other headers, which are not encrypted. Then if necessary I can load the resulting mbox full of search results into mutt and do a body search to further refine it down to what I was looking for. This is more or less what I'm doing now with notmuch. I think it will work fine for me personally, but I'm a bit concerned that this will not sound convincing to someone else. (You should encrypt all your messages. But full disclosure: you won't be able to search the message contents easily, just headers. Sorry!) One possibility I can see here is to store and index unencrypted copies of messages locally, but only sync encrypted messages with the mail server. I imagine I could rig something up to accomplish this, using the scripting features of offlineimap, etc. Is there an existing solution for a setup like that? Thanks! -- Best, Richard -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87obakdgjc@berkeley.edu
Re: How do you manage encrypted mail?
John Hasler jhas...@newsguy.com writes: Do you really need to archive each message in individually encrypted form? If you are concerned about the security of local copies I would think you would already be using disk or file system encryption. No, I am OK with keeping unencrypted local copies, at least on my home machine. I only expect pretty good privacy over the pipes, not protection from an FBI home raid privacy for local copies of my email. (I don't use disk encryption but probably should.) The issue is simply: what's the best way to do this? My setup uses offlineimap to sync a Gmail account (berkeley.edu's institutional choice...) to a local Maildir. Mutt only temporarily decrypts messages when I read them, unless I manually store an unencrypted copy somewhere. So to accomplish the suggested setup conveniently with the programs I currently use, I think I would need to: 1) Tell Mutt to automatically save messages somewhere when I decrypt them. (Is there an option for this? I only see fcc_clear, which is for outgoing messages. Should I call decrypt-save from message-hook?) 2) Tell offlineimap *not* to sync the decrypted messages folder back to Gmail. (Easy enough with offlineimap filters.) 3) Tell notmuch to index the decrypted messages folder. (Again, should be easy enough.) Does that sound reasonable? Do others have similar setups? I find it sort of telling that I didn't come across recommendations for setting things up this way when I was configuring these programs. I'm a bit surprised that there doesn't seem to be a standard solution for reading and searching archived mail that arrived encrypted. (I'm also a bit dismayed, since part of my concern is to find a solution that doesn't just work for me, but to which I can point non-technical users when I ask them to send me encrypted messages.) It still feels very much like email encryption is possible for the dedicated, but inconvenient enough for the average user -- and even for fairly technical users -- that most will avoid it. I guess I'll try to write up a blog post about how I solve these problems, once I get a working configuration. A more comprehensive solution will have to await someone more talented than me. -- Best, Richard -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87k3l8ddol@berkeley.edu
Re: Suspend to disk fails after Squeeze upgrade
Camaleón noela...@gmail.com writes: Well, no kernel oops is good but if you can reproduce this kernel bug every time you trigger the hibernation from GNOME when resuming the system, at least you can open a bug for this in Debian BTS. You are clearly having some sort of problem with the kernel. Right on. Thanks. I'll keep testing. OTOH, because of the weird behaviour you are experiencing with the delay on booting, I would also look for any BIOS update. Another good idea. Thanks for your help! Best, Richard -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87bp1xs3qp@berkeley.edu
Re: Suspend to disk fails after Squeeze upgrade
Hi Jeffrin, Thanks for the advice. I think some module which help in the suspend/resume process has failed to complete initialization. EDAC(Error Correction And Detection) module might have found error in a device or may be the module needs a patch. You can do dmesg | grep edac and see if there is a probe failure for any device. I have no output for dmesg | grep -i edac. I Think it is a kernel module issue. Should the edac module be loaded once the system is booted? I've got $ modprobe -l | grep edac kernel/drivers/edac/edac_core.ko kernel/drivers/edac/edac_mce_amd.ko kernel/drivers/edac/amd76x_edac.ko kernel/drivers/edac/i5000_edac.ko kernel/drivers/edac/i5100_edac.ko kernel/drivers/edac/i5400_edac.ko kernel/drivers/edac/e7xxx_edac.ko kernel/drivers/edac/e752x_edac.ko kernel/drivers/edac/i82875p_edac.ko kernel/drivers/edac/i82975x_edac.ko kernel/drivers/edac/i3000_edac.ko kernel/drivers/edac/i3200_edac.ko kernel/drivers/edac/x38_edac.ko kernel/drivers/edac/i82860_edac.ko kernel/drivers/edac/r82600_edac.ko But lsmod | grep edac turns up nada. Thanks, Richard -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/877hcls3is@berkeley.edu
Re: Suspend to disk fails after Squeeze upgrade
Thanks, Camaleón, for these suggestions. Make a quick and easy test: create a new user and try to hibernate/resume from there and see how it goes. Ok, here's where I'm at: 1) A new user (pmtest) can indeed hibernate and resume from the console without issue 2) My regular user account (rwl) can hibernate and resume from the console without issue 3) pmtest can hibernate the system from within Gnome in X, but a kernel error results on resume -- though the system recovers. Details below. 4) rwl can hibernate the system from within stumpwm in X. I see no kernel error on resume (though perhaps it's there, but stumpwm doesn't give me a nice dialog box the way Gnome did). I have now seen at least one successful resume after hibernating from stumpwm in X, but my previous failures to resume were always after hibernating from within stumpwm in X. If you are using pm-utils (man pm-action) there must be a log file under /var/log/pm-suspend.log There is indeed. I'm afraid I don't see much of use there, though. Lots of messages indicating that the /hibernate/ was successful. But nothing indicating what the problem is when resume fails. I have included segments of the log below from a successful hibernate/resume cycle. The only difference I can see between successful and unsuccessful runs is that, in the unsuccessful runs, there is no data logged for the resume part of the cycle -- which I guess suggests that the problem occurs before pm-utils even gets into the picture, right? One other piece of potentially relevant data: my machine seems to have some sort of hardware quirk that requires about a 35 second warmup period between loading GRUB and booting. (Sometimes, this period is accompanied by a fan noise that eventually shuts off, after which experience tells me that the system will boot fine.) If I don't wait the 35 seconds before booting when the machine is cold, a variety of strange things can happen (sometimes I see kernel panic type messages, sometimes nothing at all), but waiting the 35 seconds always allows the machine to boot successfully. The problem only occurs when the machine has been powered off and sitting for a while (e.g., overnight) -- I don't need to wait the 35 seconds when rebooting, for example. I have no idea what this problem is, nor do I have any idea how I might begin to find out. It's one of those things that I have reached an agreement with my machine about: as long as it keeps booting, I'm happy to wait 35 seconds, and not poke around. :) Best, Richard Kernel error message on resume, after hibernate by pmtest in Gnome: Kernel failure message 1: BUG: unable to handle kernel paging request at a63b404f IP: [08a5bc0a] 0x8a5bc0a *pde = Oops: 0002 [#1] SMP last sysfs file: /sys/power/state Modules linked in: cpufreq_stats cpufreq_userspace cpufreq_conservative cpufreq_powersave ppdev lp binfmt_misc fuse loop snd_via82xx gameport snd_ac97_codec ac97_bus snd_pcm snd_page_alloc snd_mpu401_uart snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq i2c_viapro snd_timer nouveau snd_seq_device ttm drm_kms_helper drm i2c_algo_bit snd via_ircc soundcore i2c_core shpchp irda pci_hotplug crc_ccitt evdev parport_pc parport processor button psmouse pcspkr serio_raw ext3 jbd mbcache sg sr_mod cdrom sd_mod crc_t10dif ata_generic pata_via fan uhci_hcd libata thermal via_rhine ehci_hcd floppy thermal_sys mii scsi_mod usbcore nls_base [last unloaded: scsi_wait_scan] Pid: 2925, comm: pm-hibernate Not tainted (2.6.32-5-686 #1) KT333-8235 EIP: 0060:[08a5bc0a] EFLAGS: 00010296 CPU: 0 EIP is at 0x8a5bc0a EAX: 04bf EBX: a5bc6000 ECX: eede6800 EDX: 0108 ESI: 00c1 EDI: 0030fb08 EBP: a5bc6000 ESP: de02ffcf DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 Process pm-hibernate (pid: 2925, ti=de02e000 task=def92200 task.ti=de02e000) Stack: 7b00 7b00 3300 0400 7db42400 73b7 00024600 0 eede2800 7bbf 20200a00 206c6e20 Call Trace: Code: Bad EIP value. EIP: [08a5bc0a] 0x8a5bc0a SS:ESP 0068:de02ffcf CR2: a63b404f ---[ end trace 0e93aec76eafb3ca ]--- Snippet from /var/log/pm-suspend.log, from a successful hibernate: Fri Feb 25 10:05:16 PST 2011: Running hooks for hibernate. /usr/lib/pm-utils/sleep.d/000kernel-change hibernate hibernate:success. /usr/lib/pm-utils/sleep.d/00logging hibernate hibernate:Linux ludwig 2.6.32-5-686 #1 SMP Wed Jan 12 04:01:41 UTC 2011 i686 GNU/Linux Module Size Used by cpufreq_stats 1940 0 cpufreq_userspace 1480 0 cpufreq_conservative 4018 0 cpufreq_powersave602 0 ppdev 4058 0 lp 5570 0 binfmt_misc 4907 1 fuse 44033 1 loop9765 0 snd_via82xx15256 0 gameport6061 1
Suspend to disk fails after Squeeze upgrade
Hi all, I upgraded from Lenny to Squeeze this past weekend. Since then, I haven't been able to successfully resume after a suspend to disk, which had been working fine in Lenny (with Linux 2.6.26). Basically, on boot, I see a blinking cursor, followed by a completely blank (unresponsive -- no virtual terminals or anything) screen. I've got this information from dmesg (more output below): [2.027753] PM: Starting manual resume from disk [2.027760] PM: Resume from partition 8:5 [2.027763] PM: Checking hibernation image. [2.028125] PM: Error -22 checking image file [2.028127] PM: Resume from disk failed. But I'm uncertain where to look for more information (I can't find anything more informative anywhere in /var/log), or how to go about determining whether this is a configuration issue I can fix or a bug that I should file. Any pointers would be greatly appreciated! Best, Richard $ dmesg | grep -A10 -i resume [0.799723] PM: Resume from disk failed. [0.799739] registered taskstats version 1 [0.800025] rtc_cmos 00:04: setting system clock to 2011-02-25 04:19:18 UTC (1298607558) [0.800058] Initalizing network drop monitor service [0.800101] Freeing unused kernel memory: 376k freed [0.800744] Write protecting the kernel text: 2504k [0.800768] Write protecting the kernel read-only data: 920k [0.817519] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0 [0.833963] udev[46]: starting version 164 [1.106983] usbcore: registered new interface driver usbfs [1.107185] usbcore: registered new interface driver hub -- [2.027753] PM: Starting manual resume from disk [2.027760] PM: Resume from partition 8:5 [2.027763] PM: Checking hibernation image. [2.028125] PM: Error -22 checking image file [2.028127] PM: Resume from disk failed. [2.052499] EXT3-fs: INFO: recovery required on readonly filesystem. [2.052503] EXT3-fs: write access will be enabled during recovery. [4.250323] kjournald starting. Commit interval 5 seconds [4.250353] EXT3-fs: recovery complete. [4.250799] EXT3-fs: mounted filesystem with ordered data mode. [6.316857] udev[296]: starting version 164 [6.951756] input: PC Speaker as /devices/platform/pcspkr/input/input1 [7.007276] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2 [7.007289] ACPI: Power Button [PWRB] [7.008153] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input3 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87y654pv9x@berkeley.edu
Re: Debian question
Kimberly Harvey kharve...@gmail.com writes: Question, after I entered python manage. py syncdb, then there's a error which says that I haven't set the database ENGINE settings yet. I opened the settings.py file and the ENGINE says 'django/db/backends/sqlite3'. You know why I'm facing this problem?? [This question is about Django, not about Debian, so it is more appropriate for the django-users list: http://groups.google.com/group/django-users] My guess is that even though you have configured the ENGINE variable, you have not specified various other properties that the sqlite3 engine requires. For example, with the sqlite3 backend, you need to specify a file path for the database (since sqlite stores databases in a single file). Richard -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87d3nnf3gz@berkeley.edu
Re: X: set resolution in Squeeze on a Macbook
Liam O'Toole liam.p.oto...@gmail.com writes: I have the same graphics card (down to the revision number) as the OP, and find that it works in squeeze both with and without KMS. The comsole appearance and behaviour is different, of course. ¹ http://wiki.debian.org/KernelModesetting That page mentions some known bugs for the card, but a consistently reliable workaround doesn't seem to be available. Fortunately I haven't encountered those bugs as yet. OK, now I'm *really* confused. Last night, I started experiencing problems with the touchpad: the mouse cursor wasn't really responding anymore; X seemed to be interpreting all movements as scroll events, and I couldn't move the cursor in any direction except sporadically. So rather than hibernating, as I usually do, I shut the machine down. This morning, my first boot attempt resulted in a blank screen. That is, I wasn't even getting a console. (X does not start at boot.) So I tried booting with acpi=off, as I have seen a number of sources that say this helps X-related problems on the Macbook go away. The result was: no change in mouse; no change in the graphics resolution; but really slow keyboard interaction (at the console and in X). To fix the mouse, I tried unloading and then reloading the appletouch module, which actually did help a bit, but didn't bring the mouse back to its normal functionality. Rebooted again (without acpi=off). Now I'm in X at native resolution, for the first time since installing Squeeze. Mouse works beautifully. /var/log/Xorg.0.log shows that I am at last using the intel driver. The only line before the driver initialization that I can see is different from previous attempts is: (WW) Falling back to old probe method for vesa ...So should I just hope it lasts? :) Richard -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/8739omxlrv@berkeley.edu
Re: X: set resolution in Squeeze on a Macbook
Sven Joachim svenj...@gmx.de writes: The Intel driver in Squeeze requires Kernel Modesetting (KMS)¹, if X uses the Vesa driver instead that means KMS is not active, for whatever reason. What are the contents of /proc/fb (if any) and the output of /sbin/lsmod | grep i915 ? /proc/fb exists, but is empty. Just to make sure: you did cat /proc/fb and got no output, rather than ls /proc/fb and seeing a file with size 0, right? Right. $ lsmod | grep i915 i915 54 0 drm_kms_helper 18309 1 i915 drm 112088 2 i915,drm_kms_helper i2c_algo_bit3497 1 i915 i2c_core 12696 5 i915,drm_kms_helper,drm,i2c_i801,i2c_algo_bit button 3598 1 i915 video 14605 1 i915 So i915 is loaded, but does apparently not work. I see. So it looks like I am using KMS (right?). No, you're not, otherwise the vesa driver would refuse to load. What does dmesg | grep -E '(drm|i915)' print? $ dmesg | grep -E '(drm|i915)' [6.317650] [drm] Initialized drm 1.1.0 20060810 [6.513284] i915 :00:02.0: PCI INT A - GSI 16 (level, low) - IRQ 16 [6.513358] i915 :00:02.0: setting latency timer to 64 [6.520225] [drm] set up 15M of stolen space [6.951910] [drm] initialized overlay support [6.952284] [drm:i915_handle_error] *ERROR* EIR stuck: 0x0010, masking [7.950092] fb0: inteldrmfb frame buffer device [7.950103] [drm] Initialized i915 1.6.0 20080730 for :00:02.0 on minor 0 [ 2232.604944] i915 :00:02.0: PCI INT A disabled [ 2233.212105] i915 :00:02.0: restoring config space at offset 0xf (was 0x100, writing 0x10b) [ 2233.212114] i915 :00:02.0: restoring config space at offset 0x7 (was 0x0, writing 0x5040) [ 2233.212118] i915 :00:02.0: restoring config space at offset 0x6 (was 0x8, writing 0x4008) [ 2233.212122] i915 :00:02.0: restoring config space at offset 0x5 (was 0x1, writing 0x20e1) [ 2233.304919] i915 :00:02.0: PCI INT A - GSI 16 (level, low) - IRQ 16 [ 2233.304925] i915 :00:02.0: setting latency timer to 64 (Note, however, that I grabbed this output after booting this morning and successfully getting the intel driver and native resolution...see my other post a short while ago in this thread.) You should have a file /etc/modprobe.d/i915-kms.conf with content options i915 modeset=1, is it there? Yes, indeed it is. Thanks for your help, Sven. Richard -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87y66ew5qj@berkeley.edu
Re: X: set resolution in Squeeze on a Macbook
Sven Joachim svenj...@gmx.de writes: There is an error message from your other post [drm:i915_handle_error] *ERROR* EIR stuck: 0x0010, masking which I think is not fatal, but you could try a newer kernel (e.g. 2.6.37 from experimental) and see if runs more stable than the Squeeze kernel on your system. Very good; I'll try that if I continue to have problems. Thanks, everyone, for your help. Best, Richard -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87lj2ew3wo@berkeley.edu
Re: X: set resolution in Squeeze on a Macbook
Hi Liam and all, $ grep -i /var/log/Xorg.0.log (Woops: for posterity's sake, that should be grep -i intel ...) (--) PCI:*(0:0:2:0) 8086:27a2:8086:7270 Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller rev 3, Mem @ 0x5038/524288, 0x4000/268435456, 0x5040/262144, I/O @ 0x20e0/8 (--) PCI: (0:0:2:1) 8086:27a6:8086:7270 Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller rev 3, Mem @ 0x5030/524288 (==) Matched intel as autoconfigured driver 0 (II) LoadModule: intel (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so (II) Module intel: vendor=X.Org Foundation (II) intel: Driver for Intel Integrated Graphics Chipsets: i810, (II) VESA(0): VESA VBE OEM: Intel(r) 82945GM Chipset Family Graphics Chip Accelerated VGA BIOS (II) VESA(0): VESA VBE OEM Vendor: Intel Corporation (II) VESA(0): VESA VBE OEM Product: Intel(r) 82945GM Chipset Family Graphics Controller (II) VESA(0): VESA VBE OEM: Intel(r) 82945GM Chipset Family Graphics Chip Accelerated VGA BIOS (II) VESA(0): VESA VBE OEM Vendor: Intel Corporation (II) VESA(0): VESA VBE OEM Product: Intel(r) 82945GM Chipset Family Graphics Controller Oh dear. For some reason the intel driver bombs and vesa is used by X instead. Are there any clues following the line intel: Driver for Intel Integrated Graphics Chipsets: i810,? Not too much. Here's what I've got: [snip] (==) Matched intel as autoconfigured driver 0 (==) Matched vesa as autoconfigured driver 1 (==) Matched fbdev as autoconfigured driver 2 (==) Assigned the driver to the xf86ConfigLayout (II) LoadModule: intel (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so (II) Module intel: vendor=X.Org Foundation compiled for 1.7.7, module version = 2.13.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 6.0 (II) LoadModule: vesa (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so (II) Module vesa: vendor=X.Org Foundation compiled for 1.7.7, module version = 2.3.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 6.0 (II) LoadModule: fbdev (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so (II) Module fbdev: vendor=X.Org Foundation compiled for 1.7.6.901, module version = 0.4.2 ABI class: X.Org Video Driver, version 6.0 (II) intel: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45, 4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale, Sandybridge, Sandybridge, Sandybridge, Sandybridge, Sandybridge, Sandybridge, Sandybridge (II) VESA: driver for VESA chipsets: vesa (II) FBDEV: driver for framebuffer: fbdev (II) Primary Device is: PCI 00@00:02:0 (WW) Falling back to old probe method for fbdev (II) Loading sub module fbdevhw (II) LoadModule: fbdevhw (II) Loading /usr/lib/xorg/modules/linux/libfbdevhw.so (II) Module fbdevhw: vendor=X.Org Foundation compiled for 1.7.7, module version = 0.0.2 ABI class: X.Org Video Driver, version 6.0 (EE) open /dev/fb0: No such file or directory (II) Loading sub module vbe (II) LoadModule: vbe (II) Loading /usr/lib/xorg/modules/libvbe.so (II) Module vbe: vendor=X.Org Foundation compiled for 1.7.7, module version = 1.1.0 ABI class: X.Org Video Driver, version 6.0 (II) Loading sub module int10 (II) LoadModule: int10 (II) Loading /usr/lib/xorg/modules/libint10.so (II) Module int10: vendor=X.Org Foundation compiled for 1.7.7, module version = 1.0.0 ABI class: X.Org Video Driver, version 6.0 [/snip] At that point, the VESA driver starts to initialize. The only warnings/errors in there seem to be related to fbdev. Here they are for the whole file: $ grep -E '\(EE|WW\)' /var/log/Xorg.0.log (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (WW) The directory /usr/share/fonts/X11/cyrillic does not exist. (WW) `fonts.dir' not found (or not valid) in /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType. (WW) Falling back to old probe method for fbdev (EE) open /dev/fb0: No such file or directory (WW) VESA(0): Unable to estimate virtual size (WW) VESA(0): No valid modes left. Trying less strict filter... (WW) VESA(0): Unable to estimate virtual size (WW) VESA(0): No valid modes left. Trying aggressive sync range... (WW) VESA(0): Unable to estimate virtual size (EE) appletouch Unable to query/initialize Synaptics hardware. (EE) PreInit failed for input device appletouch (WW) Apple Computer Apple Internal Keyboard / Trackpad: unable to handle keycode 464 Thanks for any advice you can offer. I feel pretty clueless about X-related stuff. Best, Richard -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a
Re: X: set resolution in Squeeze on a Macbook
Hi Sven, Thanks for chiming in! Sven Joachim svenj...@gmx.de writes: On 2011-01-20 18:39 +0100, Richard Lawrence wrote: Thanks for any advice you can offer. I feel pretty clueless about X-related stuff. The Intel driver in Squeeze requires Kernel Modesetting (KMS)¹, if X uses the Vesa driver instead that means KMS is not active, for whatever reason. What are the contents of /proc/fb (if any) and the output of /sbin/lsmod | grep i915 ? /proc/fb exists, but is empty. $ lsmod | grep i915 i915 54 0 drm_kms_helper 18309 1 i915 drm 112088 2 i915,drm_kms_helper i2c_algo_bit3497 1 i915 i2c_core 12696 5 i915,drm_kms_helper,drm,i2c_i801,i2c_algo_bit button 3598 1 i915 video 14605 1 i915 So it looks like I am using KMS (right?). Thanks, Richard -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87mxmvc77t@berkeley.edu
X: set resolution in Squeeze on a Macbook
Hi all, I've just installed Squeeze on a Macbook (2,1) and I'm wondering how I can get X to display at the native 1280x800 resolution. I've searched the Web and Debian list archives, but nothing seems to turn up quite the information I need. I am using stumpwm, and not a desktop environment that would provide me with a GUI for setting the resolution. Thus, my question *may* boil down to: 1) how can I set the resolution from the command line? But there are a few things I don't understand. The background: this Macbook has an Intel graphics card. lspci says it is a Mobile 945GM/GMS, 943/940GM Express Integrated Graphics Controller. In the past, running X on this machine at the native resolution has required the 915resolution package. But sources on the Web tell me that is no longer necessary in Squeeze, because there is better support in the kernel for this graphics chipset, and indeed the 915resolution package no longer even seems to exist. Curious to me also is the fact that xorg.conf no longer exists. Again, sources on the Web tell me that this is because X now auto-configures itself, so a static configuration file is not necessary (though it will be used if provided). So this brings me to my puzzle. Normally, I would look to set the available resolutions in xorg.conf. But since there is no xorg.conf, I'm not sure where to go. I can see at least one option: 2) provide an xorg.conf that will set the native resolution. I'm not sure exactly how to do this. I read that Xorg -config can dump X's auto-detected configuration, which I could then tweak, but I am not sure exactly what command I would use to do this (Xorg -config alone yields Required argument to -config not specified). However, I suspect that there is deeper trouble afoot than simply a missing resolution in my X configuration. When I start X, there is a brief moment of onscreen garbage (randomly colored bars, etc.) before the screen goes blank and stumpwm starts (in a lower resolution). This leads me to believe that something in the auto-detection is failing and X is falling back to some default settings. Unfortunately, I don't see anything in /var/log/Xorg.0.log that would indicate this (is there another log I should check?). Any advice as to how to proceed here would be greatly appreciated! If anyone has a working configuration of X, with native resolution, on a Macbook with an Intel card, in Squeeze, I'd be happy to hear about it. Thanks! Richard -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87d3nsg6ag@berkeley.edu
Re: X: set resolution in Squeeze on a Macbook
Thanks for your help, Liam! Liam O'Toole liam.p.oto...@gmail.com writes: The background: this Macbook has an Intel graphics card. lspci says it is a Mobile 945GM/GMS, 943/940GM Express Integrated Graphics Controller. Is the package xserver-xorg-video-intel installed? If it is, it should configure the resolution automatically. Yes, it is installed. However, I suspect that there is deeper trouble afoot than simply a missing resolution in my X configuration. When I start X, there is a brief moment of onscreen garbage (randomly colored bars, etc.) before the screen goes blank and stumpwm starts (in a lower resolution). This leads me to believe that something in the auto-detection is failing and X is falling back to some default settings. Unfortunately, I don't see anything in /var/log/Xorg.0.log that would indicate this (is there another log I should check?). Check the log for occurences of intel. That will tell you whether the correct driver is used. It looks to me like it is being used, but I'm not sure...what's all this about VESA? $ grep -i /var/log/Xorg.0.log (--) PCI:*(0:0:2:0) 8086:27a2:8086:7270 Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller rev 3, Mem @ 0x5038/524288, 0x4000/268435456, 0x5040/262144, I/O @ 0x20e0/8 (--) PCI: (0:0:2:1) 8086:27a6:8086:7270 Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller rev 3, Mem @ 0x5030/524288 (==) Matched intel as autoconfigured driver 0 (II) LoadModule: intel (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so (II) Module intel: vendor=X.Org Foundation (II) intel: Driver for Intel Integrated Graphics Chipsets: i810, (II) VESA(0): VESA VBE OEM: Intel(r) 82945GM Chipset Family Graphics Chip Accelerated VGA BIOS (II) VESA(0): VESA VBE OEM Vendor: Intel Corporation (II) VESA(0): VESA VBE OEM Product: Intel(r) 82945GM Chipset Family Graphics Controller (II) VESA(0): VESA VBE OEM: Intel(r) 82945GM Chipset Family Graphics Chip Accelerated VGA BIOS (II) VESA(0): VESA VBE OEM Vendor: Intel Corporation (II) VESA(0): VESA VBE OEM Product: Intel(r) 82945GM Chipset Family Graphics Controller Also, shortly after my original post, I learned about xrandr. This confirms my suspicion that the correct mode is not being detected: $ xrandr --prop xrandr: Failed to get size of gamma for output default Screen 0: minimum 800 x 600, current 1024 x 768, maximum 1024 x 768 default connected 1024x768+0+0 0mm x 0mm 1024x768 61.0* 800x60061.0 (Note the lack of a 1280x800 resolution.) Any ideas? Am I mistaken in believing that X is loading the correct driver? How can I clue X in to the native resolution? Thanks! Richard -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/874o94eksj@berkeley.edu
Re: Can't find latex
Hi Andreas, No comes the problem. TexLive is installed. But it does not contain LaTeX! I searched in the KPackage software manager for latex but could only find some additional packages like latex-cjk-korean. How do I get LaTeX? Tex-Live should have latex included! Do you have the texlive-latex-base package installed? Best, Richard -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/871v5u3jjb@berkeley.edu
Re: *fox + gmail
I recently had a problem with Google Docs -- they started saying Iceweasel was an unsupported browser. The fix was to modify the User-Agent string. I'm not sure if this will help the OP or not, but the Docs issue was discussed (with instructions for changing your User-Agent string) here: http://www.google.com/support/forum/p/Google+Docs/thread?tid=72fe7b0e15737560hl=en Best, Richard Nuno Magalhães nunomagalh...@eu.ipp.pt writes: I'd go for clearing cookies and cache first, and making sure you're not blocking any scripts. HTH -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87sjzfadpv@berkeley.edu
Re: VM software for personal use?
Thanks to all who have replied! Looks like VirtualBox OSE may be the way for me to go for now, though I may also try my hand at QEMU. I found another lisp-based OS I might want to play around with, and they have QEMU images ready to boot: http://losak.sourceforge.net/ Richard -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87pr1n10jt@berkeley.edu
VM software for personal use?
Hi all, I am looking to run some virtual machines for personal use: I'd like to (attempt to) try out some alternative OSes from within my Lenny host. My goals are to be able to get a taste of some more exotic systems (maybe: BSD, Plan 9, Open Genera) without threatening my stable environment, and with easy cleanup. My understanding is that the easiest way to do this is to run these systems as virtual machines, though if others have different suggestions, please let me know. I would also just like to learn more about running a VM, since I'd like to be able to help my dad out. He has a Windows development machine that is choking to death on anti-virus software. It would be nice to be able to help him convert that into a VM inside GNU/Linux, so the machine will become usable again for things other that don't require Windows. I am wondering if others have recommendations for where to start with this project. I am pretty much a complete newb with respect to virtual machine technology; I don't really know how to assess whether Xen, VirtualBox, QEMU, KVM, or something else would be the best software for me to start learning. I value: - free over non-free - ease of use and good documentation over performance - installation via apt and reasonable default configuration - simple networking on commodity hardware - other basic integration with host OS services (perhaps file sharing, USB, printing) I realize that these things may not all come in the same package. But if they do, or if someone could give me some guidance about how to sort out the tradeoffs, I'd be most appreciative! Thanks, Richard P.S. Apologies if this question seems too far off-topic for debian-user. If there's a better place to ask this question, I'd like to know that, too. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87y6ge166m@berkeley.edu