[gentoo-user] OT - Recover luks keys from a mounted crypted partition / extract initramfs from kernel
Hello all, I have a system with two partitions: - hda1 - /boot with grub files and kernel image with initramfs embedded with CONFIG_INITRAMFS_SOURCE kernel option - hda2 - luks crypted root partition Every time kernel boot, loads embedded initramfs, which has the --key-file, luksOpen hda2, mounts the partition and switch_root to it. The problem is that i make some mistakes ($#%$#@@) on my system and i can`t login anymore (i played a little too much with passwd and shadow files). But I have an old hd image, with the same --key-file, also embedded into kernel, but with this one i can login. I don`t have the --key-file anymore. Just the ones in initramfs. I thought about 2 alternatives to recover this key-file, but didn`t succeded in any of them. Can someone help me to: - Recover the --key-file from a already mounted and decrypted partition or - Extract the initramfs from kernel, so i can unzip and (un)cpio it, so i can get my file from it. I`ve already tried adding a different init=/path/to/init into grub, but how i made my init from scrach, i`m ignoring these kernel parameters; I also tried to extract the initramfs with objcpy, but the kernel file format is unrecognized. Using kernel-2.6.16-gentoo-r13. Don`t know what else i can try. TIA, Rodrigo Forlin -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Upgrade
econti wrote this: Hi everybody, this is my first post on the list. Well, I'm running a 2.6.15-gentoo-r7 2006.0 on a AMD64 machine. Now I'd like to make a world upgrade. I know that I should run the following commands: emerge --sync emerge --update --deep --newuse world emerge --depclean revdep-rebuild A little question: how long does it take to complete the upgrade? (sure, it depends on the installed software, but please give me an approximation) Thank you emilio I'm pretty sure that it'll take less than a year... ;) just kidding... The most it can take is the time of a complete new install, i guess. begin:vcard fn:Rodrigo Forlin n:Forlin;Rodrigo email;internet:[EMAIL PROTECTED] tel;cell:+551194952922 note;quoted-printable:Linux registered user # 226673=0D=0A= http://counter.li.org/ x-mozilla-html:FALSE version:2.1 end:vcard signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] pendrive mounting problem
Hans-Werner Hilse wrote this: Hi, On Thu, 16 Aug 2007 16:03:46 -0400 Matthew R. Lee [EMAIL PROTECTED] wrote: Add: The recompile worked. Sometimes you can't see what's wrong for looking Thanks again for all the help Fine! You're welcome, of course! (I somehow doubted that NLS support is required for FAT, too. But it seems it is.) -hwh It is required for vfat if you've set the default Codepage for fat option in kernel to 437 begin:vcard fn:Rodrigo Forlin n:Forlin;Rodrigo email;internet:[EMAIL PROTECTED] tel;cell:+551194952922 note;quoted-printable:Linux registered user # 226673=0D=0A= http://counter.li.org/ x-mozilla-html:FALSE version:2.1 end:vcard signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] ttySx enumeration
Leonid Podolny wrote this: Hi, all, I lack some background to debug this issue. I have two serial ports on my box. Naturally, I would expect them to be ttyS0 and ttyS1. Indeed, dmesg shows the following: [snip] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled pnp: Device 00:06 activated. 00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A pnp: Device 00:07 activated. 00:07: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A [snip] However, the actual nodes that udev (or hotplug?) creates are: [snip] vyhuhol ~ # ls -l /dev/ttyS* crw-rw 1 root uucp 4, 66 2007-06-26 09:04 /dev/ttyS2 crw-rw 1 root uucp 4, 67 2007-06-26 09:04 /dev/ttyS3 [snip] Needless to say, I'm unable to communicate with the port unless I manually mknod ttyS0 with minor 64. The question is: how do I make hotplug (or udev?) enumerate them correctly, as ttyS0 and ttyS1? I had this kind of problem some weeks ago. I resolved it rmmod'ing 8250_pnp and 8250, sleeping 1 and modprobing them again in local.start. I know it wasn't a nice solution, but it worked for me. begin:vcard fn:Rodrigo Forlin n:Forlin;Rodrigo email;internet:[EMAIL PROTECTED] tel;cell:+551194952922 note;quoted-printable:Linux registered user # 226673=0D=0A= http://counter.li.org/ x-mozilla-html:FALSE version:2.1 end:vcard signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Touch screen
Timo Boettcher wrote this: * Rodrigo Forlin [EMAIL PROTECTED] wrote: Can someone point me a touch screen monitor that works under console? I bought a Touchscreen from some car-tuning guy on ebay. The touchscreen is detected as an eGalax compatible unit and works using the usbtouchscreen-module of the linux-kernel (using 2.6.19-gentoo-?). Works as in the cursor moves when I touch it. I had to patch the kernel to add some sysfs-entries to be able to calibrate it without X. I sent the patch to the maintainer some days ago, who has not repiled yet. If anybody is interested in the patch, please ask. I develop programs under console using framebuffer so i need also a nice api to make my programs work with touchscreen. I use pygame with the fbcon SDL-Driver, that works without any problems. Some rough project overview and screenshots can be found at http://www.spida.net/projects/pympdtouchgui/, code will follow. HTH, if you want more details, feel free to ask. Timo Thanks Timo, but I receveid an e-mail from hampshire with a new driver and this one works. It seems that it is a good product, and they trying to support linux. I'll work a little harder with this one and if this does not succeed i'll ask your help. Thanks again, Rodrigo Forlin begin:vcard fn:Rodrigo Forlin n:Forlin;Rodrigo email;internet:[EMAIL PROTECTED] tel;cell:+551194952922 note;quoted-printable:Linux registered user # 226673=0D=0A= http://counter.li.org/ x-mozilla-html:FALSE version:2.1 end:vcard signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Touch screen
Stéphane ANCELOT wrote this: Hi, Have you got calibration software running under X or is it working only in console mode ? Best Regards steph With the newer driver the calibration software works under X perfectly. Under console i can't see the targets. The program asks me to click on certain coordenates x,y but with the black screen i have no idea where it is ! :) Actually it isn't a driver anymore. It's a daemon that interprets serial data though serio_raw module and feeds X and console with the events. I emailed hampshire to calibrate it under console (maybe i've not installed any libs they suppose default to linux distros), and to make my program event sensitive. I asked them it they have their own api or any library that interfaces it. With their test software i could see that the events are reported correctly on console. Now i want a cursor and an API. begin:vcard fn:Rodrigo Forlin n:Forlin;Rodrigo email;internet:[EMAIL PROTECTED] tel;cell:+551194952922 note;quoted-printable:Linux registered user # 226673=0D=0A= http://counter.li.org/ x-mozilla-html:FALSE version:2.1 end:vcard signature.asc Description: OpenPGP digital signature
[gentoo-user] Touch screen
I need your help!! Can someone point me a touch screen monitor that works under console? I've tried a tsharc (from hampshire) but it doesn't work even in X. I develop programs under console using framebuffer so i need also a nice api to make my programs work with touchscreen. I'm trying to use libgpm, but any other suggestion is welcome. I'm using latest kernels (2.6.21) and gentoo :) Thanx Rodrigo Forlin begin:vcard fn:Rodrigo Forlin n:Forlin;Rodrigo email;internet:[EMAIL PROTECTED] tel;cell:+551194952922 note;quoted-printable:Linux registered user # 226673=0D=0A= http://counter.li.org/ x-mozilla-html:FALSE version:2.1 end:vcard signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Touchscreens under linux
Iain Buchanan wrote this: On Tue, 2007-05-22 at 22:29 +0200, Timo Boettcher wrote: If I understand correctly, the touchscreen is (if used correctly) just another way to control the mouse pointer. Is that right? yes. when you touch, the mouse moves to, and clicks at that location. You usually have an option to use right clicks. Depending on the driver, dragging and other more complicated mouse features may be a bit more tricky. Similar to using a touchpad. Some newer tablet PC's (ie. Toshiba, not sure about others) actually have a special pen which moves the mouse without touching the screen - you just hover over the screen and the mouse moves, then touch to get a click. Do I have to use X to use the touchscreen, or can I use it with gpm or SDL? nope, AFAIR it will work like any mouse. There's not much you can do without X though is there? Unless you have a keyboard, and then why not have a mouse as well? HTH, I'm having problems with a tsharc touch screen, The company says that it has support for linux and command line, but it does not work on xorg 7.x, since their driver is in .o format instead of .so, I made the shared lib (.so) based on their object file but X complains about not finding a ModuleData data object, instead of the ModuleInit function. I'm keepping in touch with them to make this work. I could make it work under X with the evdev driver, but with calibration problems. I used gpm with evdev driver too, checked the events with mev and detected that the events are being recognized, but the mouse is always at position 50,18, it doesn't move. I'm also working on a embedded system with no X. I'm writing everything with fbdev, and libgpm. I'm also interested in a onscreen-keyboard. So, if you're going to use touchscreens, Don't make the same mistakes and make sure that is has mature drivers. I'm working to make the tsharc driver ok, and depending on the hampshire company answers i'll rate it as linux friendly or M$ company :) HTH, Rodrigo Forlin begin:vcard fn:Rodrigo Forlin n:Forlin;Rodrigo email;internet:[EMAIL PROTECTED] tel;cell:+551194952922 note;quoted-printable:Linux registered user # 226673=0D=0A= http://counter.li.org/ x-mozilla-html:FALSE version:2.1 end:vcard signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] OT im more just curious
[EMAIL PROTECTED] wrote this: What is the average age of the gentoo user here? Sent via BlackBerry® from Vodafone �éí¢‹¬z¸žÚ(¢¸j)bž bst== 26, using linux since 1996 begin:vcard fn:Rodrigo Forlin n:Forlin;Rodrigo email;internet:[EMAIL PROTECTED] tel;cell:+551194952922 note;quoted-printable:Linux registered user # 226673=0D=0A= http://counter.li.org/ x-mozilla-html:FALSE version:2.1 end:vcard signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] off topic : Dolphin massacre in Japan
Neil Bothwick wrote this: On Fri, 23 Feb 2007 14:34:44 +0200, Alan McKinnon wrote: Besides, I think the second most intelligent life form on the planet has already figured out how to deal with this onslaut from the third most intelligent life form on the planet. By spamming mailing lists so that we're all too busy arguing over it to have time to kill them? ;-) Would Anggelos be a dolphin ? begin:vcard fn:Rodrigo Forlin n:Forlin;Rodrigo email;internet:[EMAIL PROTECTED] tel;cell:+551194952922 note;quoted-printable:Linux registered user # 226673=0D=0A= http://counter.li.org/ x-mozilla-html:FALSE version:2.1 end:vcard signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] off topic : Dolphin massacre in Japan
On 2/23/07, Neil Bothwick [EMAIL PROTECTED] wrote: On Fri, 23 Feb 2007 13:43:15 -, Nelson, David \(ED, PARD\) wrote: Well... dolphins are supposed to be pretty smart but can they post to mailing lists? Dolphins are far smarter than humans, which is why not a single dolphin has bought Vista :) And that's why they're on a linux forum ! :)
Re: [gentoo-user] How do I mount a compact flash?
You should enable scsi emulation on your kernel On 5/4/06, Uwe Thiem [EMAIL PROTECTED] wrote: On 04 May 2006 19:28, K. Mike Bradley wrote: It gives me an error saying the file system type must be specified. I did: Mount -t vfat /dev/sdb /mnt/flash And it says bad block Is it really sdb, or is it sdb1? Uwe -- Why do consumers keep buying products they will live to curse? -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list