Linux Mint Debian - blank screen

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help

Linux Mint Debian - blank screen

Postby tah_206207 on Fri Jul 29, 2011 5:43 pm

Hello
I am newbie for linux mint!
i have problem in starting my Linux mint!
when i boot my LMDE i encounter with blank screen
my laptop is Hp pavilion dv6t( dv6 6080 ) this laptop has to graphic card one is intel sandy bridge card and other is ati radeon 6070m
I add these options after i encounter with blank screen to grub menu i clear quiet and add noacpi noapci nosplash irqpoll-- but after that i encounter with blank screen! so i do another work!
i boot LMDE in safe mode! and go to terminal and do these
Code: Select all
nano /etc/modprobe.conf/blacklist.conf

add
blacklist radeon
Code: Select all
nano /etc/rc.local

add
Code: Select all
modeprobe radeon
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

and reboot system and boot LMDE but i encounter with blank screen with blink dash(-)!!! :oops: :oops: :(
i do these in ubuntu and it can boot but in LMDE i can't boot system!!
i want to use LMDE
please help me to fix my problem
tah_206207
Level 1
Level 1
 
Posts: 8
Joined: Fri Jul 29, 2011 5:22 pm

Linux Mint is funded by ads and donations.
 

Re: Linux Mint Debian - blank screen

Postby tah_206207 on Sat Jul 30, 2011 1:57 am

No every one have information about this problem?
tah_206207
Level 1
Level 1
 
Posts: 8
Joined: Fri Jul 29, 2011 5:22 pm

Re: Linux Mint Debian - blank screen

Postby Roken on Sat Jul 30, 2011 5:36 am

In the terminal:
Code: Select all
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak


And reboot.

That should get you to a working desktop. Then think about using sgfxi (http://smxi.org/) to install the properiety gfx drivers.
Kernel Linux Tex 3.2.2-1 (64 bit) xfce , burg
Arch
ATI Radeon HD 4670, 1GB
OSS4
AMD Phenom II X4 (965BE) @ 3.6 Ghz (Overclocked)
8Gb RAM
Image
User avatar
Roken
Level 5
Level 5
 
Posts: 747
Joined: Fri Nov 19, 2010 4:55 pm
Location: Oldham, UK

Re: Linux Mint Debian - blank screen

Postby tah_206207 on Sat Jul 30, 2011 12:43 pm

Roken wrote:In the terminal:
Code: Select all
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak


And reboot.

That should get you to a working desktop. Then think about using sgfxi (http://smxi.org/) to install the properiety gfx drivers.

Thank you for reply
i cant find xorg.conf in /etc/X11 path!
do you have any other suggestions?
tah_206207
Level 1
Level 1
 
Posts: 8
Joined: Fri Jul 29, 2011 5:22 pm

Re: Linux Mint Debian - blank screen

Postby Roken on Sat Jul 30, 2011 1:03 pm

OK, I can't test anything because I don't have a dual graphics option to test with, but this looks promising for getting things working:

http://en.gentoo-wiki.com/wiki/Vga_switcheroo

Don't worry that it talks about fedora - it should work just as well on Debian
Kernel Linux Tex 3.2.2-1 (64 bit) xfce , burg
Arch
ATI Radeon HD 4670, 1GB
OSS4
AMD Phenom II X4 (965BE) @ 3.6 Ghz (Overclocked)
8Gb RAM
Image
User avatar
Roken
Level 5
Level 5
 
Posts: 747
Joined: Fri Nov 19, 2010 4:55 pm
Location: Oldham, UK

Re: Linux Mint Debian - blank screen

Postby tah_206207 on Sat Jul 30, 2011 1:28 pm

Roken wrote:OK, I can't test anything because I don't have a dual graphics option to test with, but this looks promising for getting things working:

http://en.gentoo-wiki.com/wiki/Vga_switcheroo

Don't worry that it talks about fedora - it should work just as well on Debian

Thanks
Does LMDE kernel supports sandy bridge graphic card?
i don't installed any new kernel on LMDE!
tah_206207
Level 1
Level 1
 
Posts: 8
Joined: Fri Jul 29, 2011 5:22 pm

Re: Linux Mint Debian - blank screen

Postby tah_206207 on Sat Jul 30, 2011 1:36 pm

I have to compile new kernel for LMDE?
which kernel use battery like win7?
i switch from ubuntu to LMDE because ubuntu kernel use many battery life however i add pcie_aspm=force to grub.conf! and kernel has issue in ubuntu
please help me to choose best.
i want to use linux on my system but linux use many battery life!!
tah_206207
Level 1
Level 1
 
Posts: 8
Joined: Fri Jul 29, 2011 5:22 pm

Re: Linux Mint Debian - blank screen

Postby Roken on Sat Jul 30, 2011 6:04 pm

OK - building a kernel takes a little more time (and research) than you would think, but can certainly be done optimally for your needs with a little patience. Gingerbread man provided a nice, simple guide here - http://gingerbread-man.co.cc/node/4

The time consuming part is at make xconfig (or make menuconfig as you prefer), when you get to configure the kernel options that you need. Running make oldconfig will copy the configuration options from your running kernel, but you will still need to tweak, and having google handy is practically a must to determine what the multitude of options do.

Once you have all your configuration options ready it's a simple matter to build and install the kernel. Since you are running LMDE it's low risk to experiment, since you can always boot with a working kernel and try again if things go wrong. You can also save your .config file and re-use it for future builds.

Note that different kernel version will have some differing options, so you will almost always have to tweak a little.

Edit: I wrote a simple bash script to help things along a little:

Code: Select all
#!/bin/bash
if [ -z "$1" ]; then
   echo "Please include a version string"
   exit
fi
#patch -p1 <~/kernels/cx88-locking-fixes-v2.patch
cp /boot/config-`uname -r` .config
make oldconfig
make xconfig
make-kpkg clean
fakeroot make-kpkg --initrd --append-to-version=$1 kernel_image kernel_headers


Feel free to use it. You run it with ./makekernel.sh roken (where "roken" is a short string you use to identify your kernel). You should CD to your kernel source directory before running it. The script is very simple, and doesn't include error checking (I wrote it to save myself some typing) but it helps to avoid remembering the sequence of commands. At the end you will have the .deb files ready to install.

The commented lines are as follows:

patch - will include kernel patches as necessary. Uncomment and change the path to the patch as required. Copy the line for multiple patches
#cp /boot/config.... - will copy your current kernel config
make oldconfig can be commented out if you want. It's their for legacy reasons and if you use the cp line, not really necessary.
Kernel Linux Tex 3.2.2-1 (64 bit) xfce , burg
Arch
ATI Radeon HD 4670, 1GB
OSS4
AMD Phenom II X4 (965BE) @ 3.6 Ghz (Overclocked)
8Gb RAM
Image
User avatar
Roken
Level 5
Level 5
 
Posts: 747
Joined: Fri Nov 19, 2010 4:55 pm
Location: Oldham, UK

Re: Linux Mint Debian - blank screen

Postby lambikas on Sat Jul 30, 2011 8:11 pm

This is how I did it...

Have Debian testing CD1 ready.
Boot to recovery mode, add CD1 to repos and disable other repos, command: apt-cdrom add (and nano /etc/apt/sources.list to disable repos)
apt-get update (to update available packages)
Now install new kernel, I did it through "aptitude upgrade" and installed other upgrades as well, because this was how it worked for me. After I booted to linux, I installed wifi driver and did upgrade again to get wifi working.
What? Me? Noooooo....
lambikas
Level 1
Level 1
 
Posts: 4
Joined: Sat Jul 30, 2011 8:01 pm

Re: Linux Mint Debian - blank screen

Postby tah_206207 on Sun Jul 31, 2011 5:47 am

Roken wrote:OK - building a kernel takes a little more time (and research) than you would think, but can certainly be done optimally for your needs with a little patience. Gingerbread man provided a nice, simple guide here - http://gingerbread-man.co.cc/node/4

The time consuming part is at make xconfig (or make menuconfig as you prefer), when you get to configure the kernel options that you need. Running make oldconfig will copy the configuration options from your running kernel, but you will still need to tweak, and having google handy is practically a must to determine what the multitude of options do.

Once you have all your configuration options ready it's a simple matter to build and install the kernel. Since you are running LMDE it's low risk to experiment, since you can always boot with a working kernel and try again if things go wrong. You can also save your .config file and re-use it for future builds.

Note that different kernel version will have some differing options, so you will almost always have to tweak a little.

Edit: I wrote a simple bash script to help things along a little:

Code: Select all
#!/bin/bash
if [ -z "$1" ]; then
   echo "Please include a version string"
   exit
fi
#patch -p1 <~/kernels/cx88-locking-fixes-v2.patch
cp /boot/config-`uname -r` .config
make oldconfig
make xconfig
make-kpkg clean
fakeroot make-kpkg --initrd --append-to-version=$1 kernel_image kernel_headers


Feel free to use it. You run it with ./makekernel.sh roken (where "roken" is a short string you use to identify your kernel). You should CD to your kernel source directory before running it. The script is very simple, and doesn't include error checking (I wrote it to save myself some typing) but it helps to avoid remembering the sequence of commands. At the end you will have the .deb files ready to install.

The commented lines are as follows:

patch - will include kernel patches as necessary. Uncomment and change the path to the patch as required. Copy the line for multiple patches
#cp /boot/config.... - will copy your current kernel config
make oldconfig can be commented out if you want. It's their for legacy reasons and if you use the cp line, not really necessary.

Thanks
compiling kernel can make my OS to use battery life like WIN7?
i search in google for optimizing kernel for sandy bridge but i can't get any thing about this!
which kernel version is best for my laptop? how can i choose this kernel version?
i want stable and best performance linux like Win7 on my laptop.
is kernel3 best choice or no?
I use Gnome in this system i have to use
Code: Select all
make gconfig - X windows (Gtk) based configuration tool, works best under Gnome Dekstop.

or use xconfig?
tah_206207
Level 1
Level 1
 
Posts: 8
Joined: Fri Jul 29, 2011 5:22 pm

Re: Linux Mint Debian - blank screen

Postby Roken on Sun Jul 31, 2011 6:47 am

OK, the easy question first. THe choice between make menuconfig, make xconfig or make gconfig is entirely a personal one, and simply choose whichever you prefer. I personally prefer xconfig, but that's just my taste.

Now, which kernel? From what I've been able to establish, SandyBridge support has been included in kernels since 2.6.33, though certainly early 2.6.39 kernels have been reported to break support. Whilst those reports suggest that SandyBridge is now fixed in 2.6.39, I haven't found specific details of what changes are supposed to have broken (and fixed) the kernel. Owing to the lack of information, and if it were me, I'd be looking at a kernel not later than 2.6.38. You may even want to try 2.6.36 which is a much stabler kernel, though personally I had some problems getting .36 to build on my system.

If you are able to build a .36 kernel you may also find that your battery life improves anyway. Later kernels are known to use more power than the .36 kernel.

If you search around you may be able to find the download .debs for Liquorix 2.6.36 kernels, which work no problem and are optimised for desktop usage. This would avoid building your own and may just resolve your problems.

Edit: Just spotted this thread: viewtopic.php?f=141&t=77902

You may want to merge your questions into that, it seems to be the same issue.
Kernel Linux Tex 3.2.2-1 (64 bit) xfce , burg
Arch
ATI Radeon HD 4670, 1GB
OSS4
AMD Phenom II X4 (965BE) @ 3.6 Ghz (Overclocked)
8Gb RAM
Image
User avatar
Roken
Level 5
Level 5
 
Posts: 747
Joined: Fri Nov 19, 2010 4:55 pm
Location: Oldham, UK

Re: Linux Mint Debian - blank screen

Postby tah_206207 on Tue Aug 02, 2011 11:13 am

Roken wrote:OK, the easy question first. THe choice between make menuconfig, make xconfig or make gconfig is entirely a personal one, and simply choose whichever you prefer. I personally prefer xconfig, but that's just my taste.

Now, which kernel? From what I've been able to establish, SandyBridge support has been included in kernels since 2.6.33, though certainly early 2.6.39 kernels have been reported to break support. Whilst those reports suggest that SandyBridge is now fixed in 2.6.39, I haven't found specific details of what changes are supposed to have broken (and fixed) the kernel. Owing to the lack of information, and if it were me, I'd be looking at a kernel not later than 2.6.38. You may even want to try 2.6.36 which is a much stabler kernel, though personally I had some problems getting .36 to build on my system.

If you are able to build a .36 kernel you may also find that your battery life improves anyway. Later kernels are known to use more power than the .36 kernel.

If you search around you may be able to find the download .debs for Liquorix 2.6.36 kernels, which work no problem and are optimised for desktop usage. This would avoid building your own and may just resolve your problems.

Edit: Just spotted this thread: viewtopic.php?f=141&t=77902

You may want to merge your questions into that, it seems to be the same issue.

for compiling kernel i can't do this command because Lmde kernel can't recognize my adsl modem!
Code: Select all
sudo apt-get install build-essential bin86 libqt3-headers kernel-package libqt3-mt-dev libncurses5-dev fakeroot initramfs-tools

i do these but hasn't effect!
Code: Select all
ifup eth0
ifconfig eth0 up

LMDE can't recognize eth0 or eth1!!!
tah_206207
Level 1
Level 1
 
Posts: 8
Joined: Fri Jul 29, 2011 5:22 pm

Re: Linux Mint Debian - blank screen

Postby Roken on Wed Aug 03, 2011 6:10 am

What's the output of sudo ifconfig?
Kernel Linux Tex 3.2.2-1 (64 bit) xfce , burg
Arch
ATI Radeon HD 4670, 1GB
OSS4
AMD Phenom II X4 (965BE) @ 3.6 Ghz (Overclocked)
8Gb RAM
Image
User avatar
Roken
Level 5
Level 5
 
Posts: 747
Joined: Fri Nov 19, 2010 4:55 pm
Location: Oldham, UK

Re: Linux Mint Debian - blank screen

Postby tah_206207 on Wed Aug 03, 2011 11:20 am

Roken wrote:What's the output of sudo ifconfig?

sudo ifconfig eth0 up
Code: Select all
eth0:Error while getting interface flags : no such device

such for eth1...
sudo ifconfig
Code: Select all
link encap:local loopback
inet addr:127.0.0.1 mask:255.0.0.0
.
.
.

when i want to update or install software it can't connect to internet!!!
tah_206207
Level 1
Level 1
 
Posts: 8
Joined: Fri Jul 29, 2011 5:22 pm

Re: Linux Mint Debian - blank screen

Postby Roken on Wed Aug 03, 2011 11:50 am

OK, see http://forums.debian.net/viewtopic.php?f=5&t=46825 for possible solutions. If the driver is what you need then you will need to google for the linux driver for your particular NIC.

However, first things first. If you boot a LiveCD, does the ethernet work?
Kernel Linux Tex 3.2.2-1 (64 bit) xfce , burg
Arch
ATI Radeon HD 4670, 1GB
OSS4
AMD Phenom II X4 (965BE) @ 3.6 Ghz (Overclocked)
8Gb RAM
Image
User avatar
Roken
Level 5
Level 5
 
Posts: 747
Joined: Fri Nov 19, 2010 4:55 pm
Location: Oldham, UK

Re: Linux Mint Debian - blank screen

Postby ginjabunny on Wed Aug 03, 2011 4:35 pm

I had problems on my Toshiba with an ATI card, you could try turning off kernel mode setting, to do this

try changing grub, this is not permanent and will only affect the current boot, to do this...
- hold shift at boot time to get the grub menu, the default boot item will be highlighted
- press "e" to edit,
- on the line ending "quiet" add "radeon.modeset=0" (without the quotes)
- press ctrl+x to boot

if that fixed the problems then (I think) you can make it permanent by changing the modprobe option, to do this...
- sudo gedit /etc/modprobe.d/radeon-kms.conf
- add/change the contents to "options radeon modeset=0" (without the quotes)
- save and quit
- reboot

(I think there may also be similar fixes for other video cards, like Intel, and even chipsets)
User avatar
ginjabunny
Level 3
Level 3
 
Posts: 113
Joined: Sun Mar 09, 2008 4:04 pm
Location: West London, UK

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 1 guest