Re: [gentoo-user] Suspend questions

2007-10-03 Thread James Colby
On Tue, Oct 02, 2007 at 10:32:14PM -0400, Ben Kelly wrote:

 The best solution I found was to add the following to the boot line in 
 grub:

   hda=noprobe hda=none

 Hope that helps.

That did the trick for me as well.  Thank you very much.  I have another
Suspend question though.  I am running KDE 3.5.7 and I was wondering if
anyone knew how to add a Suspend option to the KDE logout menu?

Thanks for the help,
James
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Suspend questions

2007-10-02 Thread James Colby
List Members - 

I have trying to set up Suspend on my Dell Latitude D620 laptop.  The laptop is
currently running a 2.6.19-gentoo-r5 kernel.  I emerged the suspend2
sources, copied the .config from the 2.6.19 directory and ran make
oldconfig.  I then configured the suspend options in the kernel via the
docs in the wiki.  When I try to boot the suspend kernel, the system
fails to boot because it can't find any of the filesystems located in my
/etc/fstab.  The reason for that is because the suspend  kernel is configuring
my hard disk as /dev/hda and my standard kernel is configuring it as
/dev/sda.  Does anyone know how I can get the suspend kernel to assign
my hard disk as /dev/sda?

Thanks,
James
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Suspend questions

2007-10-02 Thread Ow Mun Heng
On Tue, 2007-10-02 at 21:33 -0400, James Colby wrote:
 currently running a 2.6.19-gentoo-r5 kernel.  I emerged the suspend2
 sources, copied the .config from the 2.6.19 directory and ran make

which suspend2 kernel ver?

 /etc/fstab.  The reason for that is because the suspend  kernel is configuring
 my hard disk as /dev/hda and my standard kernel is configuring it as
 /dev/sda.  Does anyone know how I can get the suspend kernel to assign
 my hard disk as /dev/sda?
 

My guess is that the kernel moved from recognising the drive as a PATA
to a SATA. If you're committed to using this new kernel, just boot into
your new kernel in single mode, change fstab to point to sda and then
reboot.



-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Suspend questions

2007-10-02 Thread Steve Dommett
On Wednesday 03 October 2007, James Colby wrote:
 The reason for that is because the suspend  kernel is
 configuring my hard disk as /dev/hda and my standard kernel is configuring
 it as /dev/sda.  Does anyone know how I can get the suspend kernel to
 assign my hard disk as /dev/sda?

I think eventually you would have run into this problem even if you hadn't 
switched to using suspend2-sources.   Recent changes in the kernel (at 2.6.21 
unless my memory fails me) removed the need for most SATA drivers to use the 
SCSI layer of the kernel.   The result being that many hard drives that were 
previously addressed as /dev/sda will now be available at /dev/hda.

You'll need to change at least /boot/grub/grub.conf and /etc/fstab to reflect 
this .  Yes, it's a pest because it complicates booting into older kernels.  
You may not know that GRUB supports editing the boot parameters with the 'E' 
key,  which goes a long way towards easing the pains.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Suspend questions

2007-10-02 Thread Ben Kelly

James Colby wrote:

I have trying to set up Suspend on my Dell Latitude D620 laptop.  The laptop is
currently running a 2.6.19-gentoo-r5 kernel.  I emerged the suspend2
sources, copied the .config from the 2.6.19 directory and ran make
oldconfig.  I then configured the suspend options in the kernel via the
docs in the wiki.  When I try to boot the suspend kernel, the system
fails to boot because it can't find any of the filesystems located in my
/etc/fstab.  The reason for that is because the suspend  kernel is configuring
my hard disk as /dev/hda and my standard kernel is configuring it as
/dev/sda.  Does anyone know how I can get the suspend kernel to assign
my hard disk as /dev/sda?


I had this problem when I upgraded my kernel a month ago or so.  I 
believe it occurred because the standard ATA driver grew support for my 
SATA hardware.  It was unfortunately probing before the SATA driver and 
grabbing the device.


The best solution I found was to add the following to the boot line in grub:

  hda=noprobe hda=none

Hope that helps.


James


- Ben
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Suspend questions

2007-10-02 Thread Ben Kelly

Steve Dommett wrote:

On Wednesday 03 October 2007, James Colby wrote:

The reason for that is because the suspend  kernel is
configuring my hard disk as /dev/hda and my standard kernel is configuring
it as /dev/sda.  Does anyone know how I can get the suspend kernel to
assign my hard disk as /dev/sda?


I think eventually you would have run into this problem even if you hadn't 
switched to using suspend2-sources.   Recent changes in the kernel (at 2.6.21 
unless my memory fails me) removed the need for most SATA drivers to use the 
SCSI layer of the kernel.   The result being that many hard drives that were 
previously addressed as /dev/sda will now be available at /dev/hda.


You'll need to change at least /boot/grub/grub.conf and /etc/fstab to reflect 
this .  Yes, it's a pest because it complicates booting into older kernels.  
You may not know that GRUB supports editing the boot parameters with the 'E' 
key,  which goes a long way towards easing the pains.


I think its preferable to get the SATA driver to handle the device if 
you can.  I know on my machine disk performance dropped quite a bit when 
it was probed as hda by the ATA driver.

--
[EMAIL PROTECTED] mailing list