Debian Configuration :: LVM Volume - Swap Not Working / Activated
Jul 29, 2010
I'm running Debian testing/unstable, with my swap on an lvm volume. When I boot into the system, the swap doesn't become activated, even though there are messages that point to the contrary (for instance: "activating swap file...done"). After it's done booting, I run the command "free" and it shows that there is no space allocated to swap. "swapon -a" doesn't load the swap file either -- I have to do "swapon /dev/mapper/xxx-xxx". The swap appears in fstab, and also in /etc/initramfs-tools/conf.d/resume.
I'm having trouble with my keyboard functions on my netbook (eeePC 1005HA running squeeze/sid - specific build being the one available on December 23rd 2009 - hasn't been updated since installation) - specifically, some of the function keys seem to be off - i.e. when pressing Fn+key, only some actually work. The specific ones I'm having trouble with are: Fn+F10 (mute)Fn+F11 (vol. down)Fn+F12 (vol. up)
As far as I can remember, they've never worked; at first I thought it wouldn't be an issue for me, having the volume panel, but the more time goes on, the more annoying it's becoming. Also, as it was a M$ machine at purchase, it has a Windoze key on it, which I'd like to configure to actually do something useful - preferably to open the main menu, if possible - but have so far failed to find any guides on how to do it. (Have Googled on multiple occasions, to no avail.)
I have installed installed Debian 9 (stretch/unstable) which has GNOME 3.16.3 and runs Linux kernel 4.1.0-2 by default in Virtualbox 5.0. The host OS is Windows 8.1 On each instance of activating full screen mode in the VM, a freeze occurs then an abrupt close (abort).
I am inclined to believe that this problem resides in the OS (Debian 9) rather than Virtualbox or the Host. The reason being is that prior to installing Debian 9 (today) I had Jessie installed for quite some time where this error/issue never surfaced.
This issue is rather complicated in the sense that if alternating between full screen and normal mode quickly, this occurs whereas, if done every 10 seconds or thereabout it happens almost seamlessly. Also, if 3DAcceleration is switched off that doesn't occur.
How do I find the root of this problem and a resolution to it?
I added as an experiment a swapfile , see topic Put an extra line in fstab to activate swapfile during boot.When I reboot a bootmessage is shown : activating lvm and md swap....Result is that bootime is lengthened by 10 seconds....dmesg shows four lines containing " firewire_ohci: swap not done yet "I don't use firewire, should I blacklist modules ?What about " activating lvm " in the bootmessage ? I don't use lvm.Update : just found out that dmesg contains the same lines " firewire_ohci: swap not done yet " when swapfile is not enabled. Without swapfile boottime is normal : grub -> kdm in 17 seconds.
A friend gave me an HP Mini 110 that I can actually use in some situations. I installed Debian 8 with LXDE. It runs well except for the expected lack of driver for the Broadcom 4312 wireless chip. I installed wl using the method shown at [URL] ....
It works fine except that it takes very long to set up WiFi at boot (1 min 30 sec or more every boot--this is a rather frail Atom processor) and the WiFi reception seems poor (65% from an excellent router at 25 feet).
I'm thinking of getting a Panda 300Mbps Wireless N USB Adapter (reportedly using the Ralink RT5372 chipset) and removing the Broadcom driver. I have 2 questions:
1. Could I expect the Panda not to slow my boot time so much? I'm not knowledgeable enough to tell whether there is stable kernel support of this device, although the manufacturer says repeatedly that it works with most Linux distributions.
2. To remove wl is Code: Select allmodprobe -r wl the correct approach?
This laptop that I am trying to get Debian 5 working on is occasionally locking up during boot at "Activating Swap..." WTF could cause such a bizarre thing? The swap partition is just empty space. Activating must be nothing more than confirming it exists and mounting it.
I'm having a strange behavior with the volume button on my laptop, everything works fine, is just that is "switched" when I activate the volume (press function key + volume key) the volume light on the button goes off and volume gets muted, if I pressed it again the light turns on mber) and the volume gets unmute, anyone has an idea where should I look to correct this?
After having problems with lxde crashing while running Jessie, and re-installing Wheezy, I am not able to mount my WinXP drive. In the past I was able to run pcmanfm and mount the drive from there. It would ask for my root password and then would mount the drive. Now, however, when I click on the drive icon it gives me an error message saying authentication required.
One thing is that when I installed Wheezy I had the WinXP drive disconnected so as to not inadvertently install Wheezy on the wrong drive (I have two identical drives). After installing I connected the WinXP drive and then did a grub update. I can boot either drive, as expected, but I can not mount the WinXP drive from pcmanfm. Do I need to change the Policykit?
I have successfully mounted my Win7 volume and my external hard drives NTFS volume as well. However, after modifying the fstab I seem to only be getting the win7 volume to auto-mount. Below is the contents of my fstab. /dev/sdf3 is not mounting. Again, it works no problem if I manually mount it.
I have install a debian jessie in my laptop, i create a lvm volume with /, /home, etc and a /boot partition outside. the i move this partition to the lvm volume and boot from it, everything itÂ´s okay and it works.
The problem is that wen boot it ask me the passphrase to load grub, and then, when grub loads the kernel, it ask me again the passphrase.
I read that i can pass a key file to the initramfs to solve this, but where i see it, he uses mkinitcpio, and i canÂ´Â´t find this package in the debian repos, it an arch package, also i tried this option [URL] ...
But it asking me the passphrase 3 times, and the third fails, the sistem starts, but i read the fail in the log.
I am unable to hibernate my computer while using Ubuntu and I figured out the reason--Ubuntu is not using my swap partition. I would follow the existing tutorials on setting up a swap partition after installing Ubuntu, but since the volume uses hardware RAID 0, the swap partition is not assigned a /dev/ entry (like /dev/sdxx) and I am not sure how I can mount it.
I have a RHEL4 system with 2 250GB physical volumes. There is a boot partition that is outside LVM and 2 logical volumes (swap and root) within a single volume group. This volume group bridges the 2 physical volumes.
I would like to clone this system onto a single 1 TB physical volume that will replace the 2x250GB currently in use.
I was trying to get the b43 driver work with my broadcom bcm4322 wireless card. I changed the kernel from 2.6.32 to 2.6.38 in order to make the b43 driver to work. When I booted with the new kernel the internet stopped working so I looked for a solution. I don't remember which website I went but it said that I have to re-install the STA drivers so I did that and rebooted and nothing happened. I decided to go back to the 2.6.32 kernel and re-installed the STA drivers. The wireless card (eth1) isn't showing when I run the command iwconfig
Code: xavi@xavi-laptop:~$ iwconfig lo no wireless extensions. eth0 no wireless extensions. easytether0 no wireless extensions. xavi@xavi-laptop:~$
I'm trying opensuse 11.2 KDE out again after a bad experience last year. I'm installing it over Fedora 12 and when I try to install I get this error: Failure occured during following action: Deleting logical volume /dev/VolGroup/lv swap system error 4015 What does this mean? I've had other problems with with distro in the past but never this one. what is needed to enable the installer to install?
Everything was working fine when my laptop got shut down after a battery failure. Now, on restarting, the computer hangs at the login screen. If I close the lid and reopen it, the keyboard seems to work and I can enter password and login, but the touchpad doesn't work at all and all the functions that were to be performed while holding the function key seems to happen automatically (For eg. when I press 0, another key gets typed). Perhaps the drivers are't getting loaded properly, I don't know. The same story is there no matter how many times I restart. I am using Ubuntu 9.10 and the laptop is Dell Vostro 1525
I'm running squeeze (last updated today), and everything has been working great. There is only thing that would simplify my life minutely..Anybody know how can I have the volume buttons on my laptop change the "pcm" channel volume rather than "master"? If they could control pcm, then I could adjust the volume coming out of my headphones or my computer speaker (both controlled by pcm, but not master...seems strange to me) with just one click.I tried to find this info online, but all results seem to refer to an older version. The simple "click here, set this" solution no longer is possible.
Debian Squeeze 6.0.0 on a Thinkpad T43, sound volume is not synchronized between the laptop volume buttons and GNOME's Volume Applet. So if I turn the volume all the way down with the physical buttons, the volume applet may still indicate 75%.I did not have this problem in Debian Lenny. Pressing the volume buttons used to show a volume bar on the screen, as did pressing the mute button.
I have install Debian 8.1.0 powerpc on a G5 2.0Ghz mac. It boots into a patchy square colour screen with no GUI. I am thinking there is a graphic driver problem so used (control +alt+f1) to enter the terminal and get the information below also tried to install nvidia-current but did not work. Have read that I need to blacklist nouveau drivers but don't know how this is done.
I'm trying to get nfs server working at boot up and it isn't starting because it says portmapper isn't running. I've read through a bunch of documentation on this and have gotten to the point that if the documentation tells me to Code: Select all$ apt-get install nfs-kernel-server portmap I usually stop there as it is outdated. I cant find a process doc that utilizes rpcbind. So, here is what I've done on my own:
setup /etc/exports with a proper nfs dir and exportfs it Code: Select all$ apt-get install nfs-common nfs-kernel-server $ sysv-rc-conf ---â”‚ nfs-kerne$Â [ ]Â Â Â [X]Â Â Â [X]Â Â Â [X]Â Â Â [X]Â Â Â [ ]Â Â Â [ ]Â Â Â [ ]Â Â Â Â â”‚ ---â”‚ rpcbindÂ Â Â [ ]Â Â Â [X]Â Â Â [X]Â Â Â [X]Â Â Â [X]Â Â Â [ ]Â Â Â [ ]Â Â Â [ ]Â Â Â Â â”‚ $ service rpcbind start
The errors however don't seem critical as I'm able to mount the exported directory. OK so it appears to me that nfs server is working. However through a boot, the nfs-kernel-server and the rpcbind services are not starting. The nfs-kernel-server didn't start because rpcbind wasn't running. So I start rpcbind and then nfs-kernel-server and then nfs server works. So what am I missing? Why will rpcbind not start at boot?
I recently installed Debian 8 on my workstation , witch before ran ubuntu 15.04 , but after Debian 8 came, I have not succeeded running ssh with X11forwarding.
I have a server running ubuntu 14.04 , and when I login that server from my laptop ( also ubuntu 14.04 ), I have no problem getting x11forwarding working, but if I try login from my debian8 workstation, I'll get this error when trying to run xterm ( output is from ssh -X serverip )
connect /tmp/.X11-unix/X0: No such file or directory xterm: Xt error: Can't open display: localhost:12.0
a ls show that the file exsist
$ ls -la /tmp/.X11-unix/X0 srwxrwxrwx 1 root root 0 Aug 18 17:53 /tmp/.X11-unix/X0
In the servers sshd_config i have the following options enabled
X11Forwarding yes X11UseLocalhost yes ( i have tried both yes and no here ) X11DisplayOffset 12
and my ssh_config on my debian8 I have the following lines enabled
I am at a loss as to what to do to get Privoxy working. I have tried it using Ice Weasel and Konqueror and end up with the same problem: after I set the configuration in the browser, I cannot access anything on the internet.
i am running debian testing and the last few days i was trying to ssh to another pc on my network and i was getting an error like there was no machine with that ip! then i tried pinging to it with no luck! ARP was the only tool that returned the MAC address of the machine and that is strange i think. i realised then that i could only ping the gateway and localhost (127.0.0.1 not my ip). after editing my /etc/hosts, i could ping my ip as well. what is so wrong? here are some useful things:
my new /etc/hosts: jack@debian:~$ cat /etc/hosts 127.0.0.1 localhost 127.0.1.1 debian.local debian