Even better news everyone,
just tried to run
# hibernate --force
from within X and guess what --- went down OK,
resumed just fine.
Guess I've won... :-)
Regards,
vencik
Václav Krpec wrote:
> Good news everyone,
>
> I've achieved some success.
>
> First, I've tried to patch NVIDIA-Linux-x86-1.0-7667-pkg1 to get it
> compiled with TuxOnIce linux-2.6.23 (actually Gentoo
> tuxonice-sources-2.6.23-r6). I've finally prevailed, but found out
> that the driver doesn't work (hangs-up the machine).
>
> But, I've also succeeded in patching NVIDIA-Linux-x86-1.0-7185-pkg1.
> It works (not tested much, yet, but at least Xserver starts and runs).
>
> So, here you go the patch. Just unpack the sources using
>
> $ NVIDIA-Linux-x86-1.0-7185-pkg1.run -x
>
> then apply the patch:
>
> $ cd NVIDIA-Linux-x86-1.0-7185-pkg1
> $ patch -p0 < /path/to/NVIDIA-Linux-x86-1.0-7185-pkg1.TuxOnIce.patch
>
> and then run the NVIDIA installer as root:
>
> # ./nvidia-installer
>
> Note that you have to disable nvidiafb module in kernel; otherwise,
> the nvidia module can't load as commented here:
> http://gentoo-wiki.com/HOWTO_nVidia_Drivers#When_I_attempt_to_load_the_kernel_module_I_receive_a_.22no_such_device.22
>
>
> Let me know about your experiences.
>
>
> Regards,
>
> vencik
>
> Václav Krpec wrote:
>> Hello,
>>
>> The patch mentioned in TuxOnIce HW compatibility is reported working
>> for NVIDIA-Linux-x86-1.0-7667-pkg1 (just a few lines lower), which
>> is reported working on TC1000 here:
>>
>> http://www.zacharywhitley.com/linux/installation/Compaq_TC-1000.php
>>
>> I'm going to experiment... :-)
>>
>> Regards,
>>
>> vencik
>>
>>
>>
>> aka.bugle wrote:
>>> All,
>>> Looks like my dist has made Tux on Ice (formerly suspend2 sources)
>>> stable at last on x86.
>>> tuxonice-sources-2.6.23-r6 I may have to give up rotation to get
>>> hibernation ... requires nvidia-96.43.01
>>>
>>> see...
>>> http://wiki.tuxonice.net/HardwareCompatibility
>>>
>>>
>>>
>>> but wow what a configuration it has, whew!
>>>
>>> Has any gotten hibernate to work on their Tc1000?
>>>
>>>
>>
>>
>> This e-mail and any attachment is for authorised use by the intended
>> recipient(s) only. This email contains confidential information. It
>> should not be copied, disclosed to, retained or used by, any party
>> other than the intended recipient. Any unauthorised distribution,
>> dissemination or copying of this E-mail or its attachments, and/or any
>> use of any information contained in them, is strictly prohibited and
>> may be illegal. If you are not an intended recipient then please
>> promptly delete this e-mail and any attachment and all copies and
>> inform the sender directly via email. Any emails that you send to us
>> may be monitored by systems or persons other than the named
>> communicant for the purposes of ascertaining whether the communication
>> complies with the law and company policies.
>> _______________________________________________
>> Tc1000-linux mailing list
>> Tc1000-linux_at_handhelds.org
>> https://handhelds.org/mailman/listinfo/tc1000-linux
>
> ------------------------------------------------------------------------
>
> --- usr/src/nv/nv-linux.h 2007-04-03 03:58:22.000000000 +0200
> +++ usr/src/nv/nv-linux.h 2008-01-21 16:52:05.000000000 +0100
> @@ -492,7 +492,7 @@ extern struct mem_track_t *fp_list;
> #define NV_KMEM_CACHE_CREATE(kmem_cache, name, type) \
> { \
> kmem_cache = kmem_cache_create(name, sizeof(type), \
> - 0, 0, NULL, NULL); \
> + 0, 0, NULL); \
> }
>
> #define NV_KMEM_CACHE_DESTROY(kmem_cache) \
> @@ -698,6 +698,7 @@ static inline int nv_execute_on_all_cpus
> */
> #if defined(KERNEL_2_6) && !defined(PCI_D0)
> #define PCI_D0 PM_SUSPEND_ON
> +#define PCI_D1 PM_SUSPEND_STANDBY
> #define PCI_D3hot PM_SUSPEND_MEM
> #endif
>
> --- usr/src/nv/nv.c 2007-04-03 03:58:22.000000000 +0200
> +++ usr/src/nv/nv.c 2008-01-21 16:52:27.000000000 +0100
> @@ -90,7 +90,7 @@ unsigned int nv_remap_limit;
> int nv_use_cpa = 1;
> #endif
>
> -static kmem_cache_t *nv_pte_t_cache = NULL;
> +static struct kmem_cache *nv_pte_t_cache = NULL;
>
> // allow an easy way to convert all debug printfs related to events
> // back and forth between 'info' and 'errors'
> @@ -1463,8 +1463,7 @@ failed:
> if (apm_nv_dev[i] != NULL) pm_unregister(apm_nv_dev[i]);
> #endif
>
> - if (unregister_chrdev(nv_major, "nvidia") < 0)
> - nv_printf(NV_DBG_ERRORS, "NVRM: unregister nv chrdev failed\n");
> + unregister_chrdev(nv_major, "nvidia");
>
> for (i = 0; i < num_nv_devices; i++)
> {
> @@ -1488,8 +1487,7 @@ static void __exit nvidia_exit_module(vo
>
> nv_printf(NV_DBG_INFO, "NVRM: nvidia_exit_module\n");
>
> - if (unregister_chrdev(nv_major, "nvidia") < 0)
> - nv_printf(NV_DBG_ERRORS, "NVRM: unregister nv chrdev failed\n");
> + unregister_chrdev(nv_major, "nvidia");
>
> for (i = 0; i < num_nv_devices; i++)
> {
> @@ -4116,6 +4114,8 @@ nv_power_management(
> switch (state)
> {
> #if defined(NV_PM_SUPPORT_NEW_STYLE_APM)
> + #warning "STANDBY via APM untested!"
> + case PCI_D1:
> case PCI_D3hot:
> nv_printf(NV_DBG_INFO, "NVRM: APM: received suspend event\n");
> status = rm_power_management(nv, 0, NV_PM_APM_SUSPEND);
> @@ -4133,6 +4133,7 @@ nv_power_management(
> break;
>
> #else /* end of NV_PM_SUPPORT_NEW_STYLE_APM */
> + case PCI_D1:
> case PCI_D3hot:
> nv_printf(NV_DBG_INFO, "NVRM: ACPI: received suspend event\n");
> status = rm_power_management(nv, 0, NV_PM_ACPI_STANDBY);
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tc1000-linux mailing list
> Tc1000-linux_at_handhelds.org
> https://handhelds.org/mailman/listinfo/tc1000-linux
Received on Mon Jan 21 2008 - 11:37:30 EST
This archive was generated by hypermail 2.2.0 : Mon Jan 21 2008 - 11:37:45 EST