FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 08-23-2008, 07:29 AM
Nicolas Patrois
 
Default Bug#496173: linux-image-2.6.25-2-686: nVidia driver complains that it's a XEN kernel

Package: linux-image-2.6.25-2-686
Version: 2.6.25-7
Severity: normal


I tried to install the nVidia driver that comes with the nVidia
installer, the installer complains that my kernel (a 686) is a XEN
kernel, which it's not.
The 173.14.05 and the 173.14.12 versions of the installer both complain.
I asked a friend on the net, he had the same problem, and so he kept using a
2.6.24 kernel.
Maybe the headers are faulty instead of the image.

-- Package-specific info:

-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.16-2-686-smp (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages linux-image-2.6.25-2-686 depends on:
ii debconf [debconf-2.0] 1.5.22 Debian configuration management sy
ii initramfs-tools [linux-initra 0.92e tools for generating an initramfs
ii module-init-tools 3.4-1 tools for managing Linux kernel mo

Versions of packages linux-image-2.6.25-2-686 recommends:
ii libc6-i686 2.7-13 GNU C Library: Shared libraries [i

Versions of packages linux-image-2.6.25-2-686 suggests:
ii lilo 1:22.8-6 LInux LOader - The Classic OS load
pn linux-doc-2.6.25 <none> (no description available)

-- debconf information:
linux-image-2.6.25-2-686/preinst/abort-install-2.6.25-2-686:
linux-image-2.6.25-2-686/postinst/bootloader-test-error-2.6.25-2-686:
linux-image-2.6.25-2-686/prerm/removing-running-kernel-2.6.25-2-686: true
linux-image-2.6.25-2-686/postinst/old-initrd-link-2.6.25-2-686: true
linux-image-2.6.25-2-686/preinst/initrd-2.6.25-2-686:
linux-image-2.6.25-2-686/postinst/kimage-is-a-directory:
linux-image-2.6.25-2-686/postinst/depmod-error-2.6.25-2-686: false
shared/kernel-image/really-run-bootloader: true
linux-image-2.6.25-2-686/preinst/overwriting-modules-2.6.25-2-686: true
linux-image-2.6.25-2-686/prerm/would-invalidate-boot-loader-2.6.25-2-686: true
linux-image-2.6.25-2-686/preinst/elilo-initrd-2.6.25-2-686: true
linux-image-2.6.25-2-686/postinst/depmod-error-initrd-2.6.25-2-686: false
linux-image-2.6.25-2-686/preinst/bootloader-initrd-2.6.25-2-686: true
linux-image-2.6.25-2-686/preinst/lilo-has-ramdisk:
linux-image-2.6.25-2-686/postinst/bootloader-error-2.6.25-2-686:
linux-image-2.6.25-2-686/preinst/lilo-initrd-2.6.25-2-686: true
linux-image-2.6.25-2-686/postinst/old-system-map-link-2.6.25-2-686: true
linux-image-2.6.25-2-686/postinst/create-kimage-link-2.6.25-2-686: true
linux-image-2.6.25-2-686/postinst/old-dir-initrd-link-2.6.25-2-686: true
linux-image-2.6.25-2-686/preinst/abort-overwrite-2.6.25-2-686:
linux-image-2.6.25-2-686/preinst/failed-to-move-modules-2.6.25-2-686:



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-27-2008, 05:45 PM
"Steven S. Critchfield"
 
Default Bug#496173: linux-image-2.6.25-2-686: nVidia driver complains that it's a XEN kernel

I am also experiencing the same problem.

No this is not a bug in the NVidia installer.

steven:~# grep -i xen /boot/config-2.6.25-2-686
CONFIG_XEN=y
CONFIG_XEN_BLKDEV_FRONTEND=m
CONFIG_NETXEN_NIC=m
CONFIG_XEN_NETDEV_FRONTEND=m
CONFIG_HVC_XEN=y
steven:~#

This is a valid bug in the kernel configuration for this package.

--
critch



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-27-2008, 07:00 PM
Bastian Blank
 
Default Bug#496173: linux-image-2.6.25-2-686: nVidia driver complains that it's a XEN kernel

On Wed, Aug 27, 2008 at 12:45:32PM -0500, Steven S. Critchfield wrote:
> No this is not a bug in the NVidia installer.

If you believe this is a bug in the kernel please provide evidence. The
XEN entry in the config is no valid indicator.

Bastian

--
Military secrets are the most fleeting of all.
-- Spock, "The Enterprise Incident", stardate 5027.4



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-27-2008, 07:46 PM
"Steven S. Critchfield"
 
Default Bug#496173: linux-image-2.6.25-2-686: nVidia driver complains that it's a XEN kernel

----- "Bastian Blank" <waldi@debian.org> wrote:
> On Wed, Aug 27, 2008 at 12:45:32PM -0500, Steven S. Critchfield
> wrote:
> > No this is not a bug in the NVidia installer.
>
> If you believe this is a bug in the kernel please provide evidence.
> The
> XEN entry in the config is no valid indicator.

If the Debian provided config file is not valid for the running kernel, then the packaging is buggy.

The test the NVidia installer is using is to include <linux/autoconf.h>, then uses an #ifdef to see if CONFIG_XEN is defined. If CONFIG_XEN is defined, it fails. The other test being used is to grep the .config file for CONFIG_XEN=Y.

So I point out, the 2 methods they use seem to be valid tests. The /boot/config-2.6.25-2-686 file and the /usr/src/linux-headers-2.6.25-2-686/.config file have CONFIG_XEN=y. So is the headers package broken, and the kernel package including the wrong header, or is it just that the package was misconfigured.

I am very open to how I might test for XEN in the kernel. I will even reboot to get that data for you.

--
critch



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-27-2008, 08:12 PM
"Steven S. Critchfield"
 
Default Bug#496173: linux-image-2.6.25-2-686: nVidia driver complains that it's a XEN kernel

----- "Bastian Blank" <waldi@debian.org> wrote:
> On Wed, Aug 27, 2008 at 12:45:32PM -0500, Steven S. Critchfield
> wrote:
> > No this is not a bug in the NVidia installer.
>
> If you believe this is a bug in the kernel please provide evidence.
> The
> XEN entry in the config is no valid indicator.

Okay, found the way to prove that xen is configured in the kernel.

--
critchScript started on Wed 27 Aug 2008 03:10:57 PM CDT
]0;critch@steven: ~critch@steven:~$ cd /proc
]0;critch@steven: /proccritch@steven:/proc$ uname -a
Linux steven 2.6.25-2-686 #1 SMP Fri Jul 18 17:46:56 UTC 2008 i686 GNU/Linux
]0;critch@steven: /proccritch@steven:/proc$ dpkg --list|grep linucx-image
ii linux-image-2.6-686 2.6.25+14 Linux 2.6 image on PPro/Celeron/PII/PIII/P4
ii linux-image-2.6.24-1-686 2.6.24-7 Linux 2.6.24 image on PPro/Celeron/PII/PIII/
ii linux-image-2.6.25-2-686 2.6.25-7 Linux 2.6.25 image on PPro/Celeron/PII/PIII/
ii linux-image-2.6.25-2-xen-686 2.6.25-7 Linux 2.6.25 image on i686
]0;critch@steven: /proccritch@steven:/proc$ grep -i xen kallsyms
c0102389 t xen_cpuid
c01023ee t xen_set_debugreg
c01023fa t xen_get_debugreg
c0102404 t xen_save_fl
c010241c t xen_irq_disable
c0102427 t xen_safe_halt
c010243e t xen_store_tr
c01024a0 t xen_io_delay
c01024a1 t xen_apic_read
c01024a4 t xen_write_cr2
c01024af t xen_read_cr2
c01024b9 t xen_read_cr2_direct
c01024c0 t xen_write_cr4
c01024c1 t xen_read_cr3
c0102513 t xen_reboot
c0102534 t xen_restart
c010253b t xen_emergency_restart
c0102542 t xen_machine_halt
c0102546 t xen_crash_shutdown
c010254d t xen_convert_trap_info
c01025ba T xen_copy_trap_info
c01025cc t xen_set_iopl_mask
c0102626 t xen_release_ptpage
c0102699 t xen_release_pd
c01026a0 t xen_release_pt
c01026aa t xen_release_pt_init
c0102727 t xen_write_gdt_entry
c01027b4 t xen_write_cr3
c0102860 t xen_alloc_ptpage
c01028e9 t xen_alloc_pd
c01028f3 t xen_alloc_pt
c01028fd t xen_apic_write
c010290c t xen_irq_enable
c0102921 t xen_restore_fl
c0102943 t xen_leave_lazy
c0102952 t xen_load_idt
c01029a5 t xen_patch
c0102a97 t xen_write_idt_entry
c0102b10 t xen_write_ldt_entry
c0102b95 t xen_flush_tlb_others
c0102c6b t xen_set_ldt
c0102ced t xen_load_gdt
c0102dd1 t xen_load_tls
c0102e54 t xen_load_sp0
c0102eb8 t xen_flush_tlb
c0102f2c t xen_flush_tlb_single
c0102fad t xen_halt
c0102fec t xen_idle
c0103024 T xen_setup_features
c0103060 T xen_mc_flush
c010319b T xen_mc_callback
c01031dc T __xen_mc_entry
c0103254 T xen_set_pte
c0103257 T xen_pgd_val
c0103285 T xen_make_pgd
c0103428 t xen_do_pin
c010347f T xen_exit_mmap
c01036b1 T xen_pgd_pin
c010378e T xen_activate_mm
c01037a7 T xen_dup_mmap
c0103954 T xen_make_pte
c0103984 T xen_pte_val
c01039af T xen_set_pmd
c0103ad9 T xen_set_pte_at
c0103c20 T xen_send_IPI_one
c0104182 T xen_evtchn_do_upcall
c01043a1 T xen_vcpu_stolen
c01043b8 T xen_cpu_khz
c0104417 t get_time_values_from_xen
c010447b T xen_set_wallclock
c010447f t xen_clocksource_read
c010454e t xen_timerop_set_next_event
c0104582 t xen_read_wallclock
c0104626 T xen_get_wallclock
c0104636 T xen_sched_clock
c0104690 T xen_setup_cpu_clockevents
c01046a3 T xen_setup_timer
c0104759 t xen_timer_interrupt
c01048ce t xen_timerop_set_mode
c01048f4 t xen_vcpuop_set_mode
c0104966 t xen_vcpuop_set_next_event
c0104b8c T xen_irq_enable_direct
c0104b9f T xen_irq_enable_direct_reloc
c0104ba3 T xen_irq_enable_direct_end
c0104ba4 T xen_irq_disable_direct
c0104bac T xen_irq_disable_direct_end
c0104bb0 T xen_save_fl_direct
c0104bbd T xen_save_fl_direct_end
c0104bc0 T xen_restore_fl_direct
c0104bd7 T xen_restore_fl_direct_reloc
c0104bdb T xen_restore_fl_direct_end
c0104bdc T xen_iret_direct
c0104c07 T xen_iret_start_crit
c0104c17 T xen_iret_end_crit
c0104c1c T xen_iret_crit_fixup
c0104c5c t xen_reschedule_interrupt
c0104c62 T xen_smp_cpus_done
c0104c8c T xen_smp_send_reschedule
c0104c93 T xen_smp_send_stop
c0104ca5 t xen_smp_intr_init
c0104d84 t xen_call_function_interrupt
c0104ddf T xen_smp_call_function_mask
c01084ac T xen_hypervisor_callback
c01084f0 T xen_failsafe_callback
c021c6fc T xenbus_strstate
c021c710 T xenbus_read_driver_state
c021c73f t xenbus_va_dev_error
c021c833 T xenbus_dev_error
c021c852 T xenbus_unmap_ring
c021c8b5 T xenbus_free_evtchn
c021c92f T xenbus_switch_state
c021c9a3 T xenbus_dev_fatal
c021c9d0 T xenbus_grant_ring
c021c9f9 T xenbus_frontend_closed
c021ca17 T xenbus_watch_path
c021ca5d T xenbus_watch_pathfmt
c021cabd T xenbus_map_ring_valloc
c021cb7b T xenbus_map_ring
c021cc09 T xenbus_unmap_ring_vfree
c021ccbc T xenbus_alloc_evtchn
c021cd48 T xenbus_bind_evtchn
c021d347 t xenbus_thread
c021d83a T xenbus_dev_request_and_reply
c021d8bf T xenbus_transaction_end
c021d954 T xenbus_write
c021d9bd T xenbus_printf
c021da22 T xenbus_read
c021da5d T xenbus_directory
c021daac t xenwatch_thread
c021dba9 T register_xenbus_watch
c021dc53 T unregister_xenbus_watch
c021dd9c T xenbus_exists
c021ddc1 T xenbus_mkdir
c021ddff T xenbus_rm
c021de3d T xenbus_transaction_start
c021de90 T xenbus_scanf
c021dedd T xenbus_gather
c021e181 T xenbus_device_find
c021e1ab T unregister_xenstore_notifier
c021e1b7 T register_xenstore_notifier
c021e1db T xenbus_suspend_cancel
c021e258 T xenbus_probe_devices
c021e30b T xenbus_probe
c021e33a T xenbus_probe_node
c021e47a T xenbus_dev_changed
c021e5c8 T xenbus_unregister_driver
c021e5d0 T xenbus_register_driver_common
c021e5ef T __xenbus_register_frontend
c021e6a9 t xenbus_probe_frontend
c021e782 T xenbus_suspend
c021e79b t xenbus_uevent
c021e7b7 t xenbus_dev_shutdown
c021e8aa t xenbus_dev_release
c021e8b7 t xendev_show_nodename
c021e8c9 t xendev_show_devtype
c021e8db t xendev_show_modalias
c021e910 T xenbus_match
c021e99b T xenbus_dev_probe
c021ea56 T xenbus_dev_remove
c021eafa T xenbus_resume
c0230d2e t xen_cons_init
c0230d4b t xenboot_write_console
c02ae05a T xen_cpu_up
c0375000 T startup_xen
c037a3ba t xen_alloc_pt_init
c037a3d5 t xen_pagetable_setup_start
c037a43d t xen_set_pte_init
c037a44e t xen_pagetable_setup_done
c037a4db t xen_banner
c037a4ff T xen_setup_vcpu_info_placement
c037a654 T xen_start_kernel
c037a854 T xen_memory_setup
c037a8a0 T xen_arch_setup
c037a9ca T xen_mark_init_mm_pinned
c037a9df T xen_init_IRQ
c037aa43 T xen_time_init
c037aad3 T xen_fill_possible_map
c037aafa T xen_smp_prepare_cpus
c037abd9 T xen_smp_prepare_boot_cpu
c038ff6f t xenbus_probe_init
c03909c3 t xen_init
]0;critch@steven: /proccritch@steven:/proc$
]0;critch@steven: /proccritch@steven:/proc$ exit
exit

Script done on Wed 27 Aug 2008 03:11:36 PM CDT
 
Old 08-27-2008, 09:45 PM
Ian Campbell
 
Default Bug#496173: linux-image-2.6.25-2-686: nVidia driver complains that it's a XEN kernel

On Wed, 2008-08-27 at 12:45 -0500, Steven S. Critchfield wrote:
> I am also experiencing the same problem.
>
> No this is not a bug in the NVidia installer.

Yes it is.

> steven:~# grep -i xen /boot/config-2.6.25-2-686
> CONFIG_XEN=y
> CONFIG_XEN_BLKDEV_FRONTEND=m
> CONFIG_NETXEN_NIC=m
> CONFIG_XEN_NETDEV_FRONTEND=m
> CONFIG_HVC_XEN=y
> steven:~#
>
> This is a valid bug in the kernel configuration for this package.

Please see my reply to
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482305 and other
messages in the various related bugs.

The enabling of these settings in the 686 kernel is quite deliberate and
the bug lies in the nvidia scripts/packaging which incorrectly assumes
that CONFIG_XEN=y => incompatible with Nvidia, this is not true with the
paravirt_ops style of Xen support present in kernels 2.6.22 and later
(and enabled in Debian around 2.6.24 or 25 or so).

I believe this issue is fixed in the nvidia-source packages in sid and
probably lenny too. If you are not using these you should take the issue
up with nvidia.

Ian.
--
Ian Campbell

F u cn rd ths u cnt spl wrth a dm!
 

Thread Tools




All times are GMT. The time now is 01:55 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org