Bug#493397: Patch to compile zaptel-source against 2.6.26
Hope this will help you. With this patch zaptel-source compiles cleanly against 2.6.22 kernels --- kernel/zaptel-base.c2008-08-29 10:42:45.0 + +++ kernel/zaptel-base.c2008-08-29 10:43:10.0 + @@ -164,12 +164,29 @@ /* udev necessary data structures. Yeah! */ #ifdef CONFIG_ZAP_UDEV -#if LINUX_VERSION_CODE = KERNEL_VERSION(2,6,15) +#if LINUX_VERSION_CODE = KERNEL_VERSION(2,6,26) +#define CLASS_DEV_CREATE(class, devt, device, name) \ + device_create(class, device, devt, name) +#elif LINUX_VERSION_CODE = KERNEL_VERSION(2,6,15) #define CLASS_DEV_CREATE(class, devt, device, name) \ class_device_create(class, NULL, devt, device, name) -#else +#elif LINUX_VERSION_CODE = KERNEL_VERSION(2,6,13) #define CLASS_DEV_CREATE(class, devt, device, name) \ class_device_create(class, devt, device, name) +#else +#define CLASS_DEV_CREATE(class, devt, device, name) \ +class_simple_device_add(class, devt, device, name) +#endif + +#if LINUX_VERSION_CODE = KERNEL_VERSION(2,6,26) +#define CLASS_DEV_DESTROY(class, devt) \ + device_destroy(class, devt) +#elif LINUX_VERSION_CODE = KERNEL_VERSION(2,6,13) +#define CLASS_DEV_DESTROY(class, devt) \ + CLASS_DEV_DESTROY(class, devt) +#else +#define CLASS_DEV_DESTROY(class, devt) \ + class_simple_device_remove(class, devt) #endif #if LINUX_VERSION_CODE = KERNEL_VERSION(2,6,13) @@ -178,8 +195,6 @@ static struct class_simple *zap_class = NULL; #define class_create class_simple_create #define class_destroy class_simple_destroy -#define class_device_create class_simple_device_add -#define class_device_destroy(a, b) class_simple_device_remove(b) #endif #endif /* CONFIG_ZAP_UDEV */ @@ -5337,7 +5352,7 @@ #ifdef CONFIG_ZAP_UDEV for (x = 0; x span-channels; x++) { if (span-chans[x].channo 250) - class_device_destroy(zap_class, MKDEV(ZT_MAJOR, span-chans[x].channo)); + CLASS_DEV_DESTROY(zap_class, MKDEV(ZT_MAJOR, span-chans[x].channo)); } #endif /* CONFIG_ZAP_UDEV */ @@ -7825,7 +7840,7 @@ int zt_unregister_chardev(struct zt_chardev *dev) { #ifdef CONFIG_ZAP_UDEV - class_device_destroy(zap_class, MKDEV(ZT_MAJOR, dev-minor)); + CLASS_DEV_DESTROY(zap_class, MKDEV(ZT_MAJOR, dev-minor)); #endif /* CONFIG_ZAP_UDEV */ #ifdef CONFIG_DEVFS_FS @@ -7904,10 +7919,10 @@ devfs_unregister_chrdev(ZT_MAJOR, zaptel); #else #ifdef CONFIG_ZAP_UDEV - class_device_destroy(zap_class, MKDEV(ZT_MAJOR, 253)); /* timer */ - class_device_destroy(zap_class, MKDEV(ZT_MAJOR, 254)); /* channel */ - class_device_destroy(zap_class, MKDEV(ZT_MAJOR, 255)); /* pseudo */ - class_device_destroy(zap_class, MKDEV(ZT_MAJOR, 0)); /* ctl */ + CLASS_DEV_DESTROY(zap_class, MKDEV(ZT_MAJOR, 253)); /* timer */ + CLASS_DEV_DESTROY(zap_class, MKDEV(ZT_MAJOR, 254)); /* channel */ + CLASS_DEV_DESTROY(zap_class, MKDEV(ZT_MAJOR, 255)); /* pseudo */ + CLASS_DEV_DESTROY(zap_class, MKDEV(ZT_MAJOR, 0)); /* ctl */ class_destroy(zap_class); #endif /* CONFIG_ZAP_UDEV */ unregister_chrdev(ZT_MAJOR, zaptel); -- . Carlos Martín Ugalde \|/ SERCONI, S.L.\\Y// Antes de imprimir este correo Corro-e: [EMAIL PROTECTED]\\|// Piensa si es realmente necesario Web: www.serconi.es \Y/¡Ahorra papel! Tlf: 916 494 407 __#__ Fax: 916 494 866 \___/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#493397: patch for vzaphfc_main.c
This patch is also needed to compile zaptel-source against 2.6.26 --- vzaphfc_main.orig.c 2008-06-30 10:25:09.0 + +++ vzaphfc_main.c 2008-08-29 11:33:06.0 + @@ -46,6 +46,11 @@ #define B1 1 #define B2 2 +#if LINUX_VERSION_CODE = KERNEL_VERSION(2,6,26) +struct proc_dir_entry proc_root; +struct proc_dir_entry *proc_root_driver = proc_root; +#endif + static int modes = 0; // all TE static int nt_modes[hfc_MAX_BOARDS] = { [0 ... (hfc_MAX_BOARDS-1)] = -1 }; static int force_l1_up = 0; -- . Carlos Martín Ugalde \|/ SERCONI, S.L.\\Y// Antes de imprimir este correo Corro-e: [EMAIL PROTECTED]\\|// Piensa si es realmente necesario Web: www.serconi.es \Y/¡Ahorra papel! Tlf: 916 494 407 __#__ Fax: 916 494 866 \___/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#506094: ksmserver breaks ksmserverrc on dual screen config
Package: ksmserver Version: 4:3.5.9.dfsg.1-5 Severity: normal -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.20-1-k7 (SMP w/1 CPU core) Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) (ignored: LC_ALL set to [EMAIL PROTECTED]) Shell: /bin/sh linked to /bin/bash Versions of packages ksmserver depends on: ii kdelibs4c2a 4:3.5.9.dfsg.1-6 core libraries and binaries for al ii kwin [x-window-manager] 4:3.5.9.dfsg.1-5 the KDE window manager ii libc6 2.7-15 GNU C Library: Shared libraries ii libgcc1 1:4.3.2-1GCC support library ii libice6 2:1.0.4-1X11 Inter-Client Exchange library ii libqt3-mt 3:3.3.8b-5 Qt GUI Library (Threaded runtime v ii libsm6 2:1.0.3-2X11 Session Management library ii libstdc++6 4.3.2-1 The GNU Standard C++ Library v3 ii libx11-62:1.1.5-2X11 client-side library ii libxau6 1:1.0.3-3X11 authorisation library ii x11-utils 7.3+2X11 utilities Versions of packages ksmserver recommends: ii kpersonalizer 4:3.5.9.dfsg.1-5 installation personalizer for KDE ksmserver suggests no packages. -- no debconf information When closing kde session on a dual screen system, ksmserver breaks $HOME/.kde/share/config/ksmserverrc In restart command referring to second screen restartCommand2= it adds a ',' after the = sign, if you remove it by hand it is added again after finishing the session. Due to this bug kwin do not start for display 0:1 Here is my $HOME/.kde/share/config/ksmserverrc [$Version] update_info=ksmserver.upd:kde3 [General] screenCount=2 [LegacySession: saved at previous logout] count=0 [Session: saved at previous logout] clientId1=106d6970630001226937929003585 clientId2=106d69706300012269379290035850001 clientId3=106d69706300012269379390035850015 clientId4=106d69706300012269379910035850021 count=4 discardCommand1[$e]=rm, $HOME/.kde/share/config/session/kwin_106d6970630001226937929003585_1227001217_342032 discardCommand2[$e]=rm, $HOME/.kde/share/config/session/kwin_106d69706300012269379290035850001_1227001217_342184 discardCommand3[$e]=rm, $HOME/.kde/share/config/session/kgpg_106d69706300012269379390035850015_1227001217_315379 discardCommand4[$e]=rm, $HOME/.kde/share/config/session/konsole_106d69706300012269379910035850021_1227001217_325367 program1=kwin program2=kwin program3=kgpg program4=konsole restartCommand1=kwin,-session,106d6970630001226937929003585_1227001217_342032,-display,:0.0 restartCommand2=,kwin,-session,106d69706300012269379290035850001_1227001217_342184,-display,:0.1 restartCommand3=kgpg,-session,106d69706300012269379390035850015_1227001217_315379,-display,:0 restartCommand4=konsole,-session,106d69706300012269379910035850021_1227001217_325367,-display,:0.0 restartStyleHint1=0 restartStyleHint2=0 restartStyleHint3=0 restartStyleHint4=0 userId1=carlos userId2=carlos userId3=carlos userId4=carlos wasWm1=true wasWm2=true wasWm3=false wasWm4=false -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#801759: linux-image-3.16.0-4-amd64: Screen goes black during boot when gma500_gfx module is loaded
Package: src:linux Version: 3.16.7-ckt11-1+deb8u5 Severity: important Tags: d-i upstream Hi Just in the fist boot after installin Debian, grub neu is displayed, if you remove the silent option from the kernel yo can see that screens go black after loading DRM Problem is solved disabling gma500_gfx module echo "blacklist gma500_gfx" >> /etc/modprobe.d/fbdev-blacklist.conf update-initramfs -k all -u reboot -- Package-specific info: ** Version: Linux version 3.16.0-4-amd64 (debian-ker...@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt11-1+deb8u5 (2015-10-09) ** Command line: BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 root=UUID=a6370feb-84d5-4ddb-9b96-37c7721b9740 ro quiet acpi_osi=Linux ** Not tainted ** Kernel log: [5.331503] usb 6-1: new low-speed USB device number 2 using uhci_hcd [5.508559] usb 6-1: New USB device found, idVendor=413c, idProduct=2107 [5.508566] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [5.508571] usb 6-1: Product: Dell USB Entry Keyboard [5.508575] usb 6-1: Manufacturer: Dell [5.514204] hidraw: raw HID events driver (C) Jiri Kosina [5.530880] usbcore: registered new interface driver usbhid [5.530885] usbhid: USB HID core driver [5.532584] input: Dell Dell USB Entry Keyboard as /devices/pci:00/:00:1d.2/usb6/6-1/6-1:1.0/0003:413C:2107.0001/input/input2 [5.532783] hid-generic 0003:413C:2107.0001: input,hidraw0: USB HID v1.10 Keyboard [Dell Dell USB Entry Keyboard] on usb-:00:1d.2-1/input0 [5.623556] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [5.623902] ata2.00: ATA-8: KINGSTON SS200S330G, S8FM06.A, max UDMA/133 [5.623908] ata2.00: 58626288 sectors, multi 16: LBA48 NCQ (depth 31/32), AA [5.624271] ata2.00: configured for UDMA/133 [5.624517] scsi 1:0:0:0: Direct-Access ATA KINGSTON SS200S3 06.A PQ: 0 ANSI: 5 [5.751590] usb 6-2: new low-speed USB device number 3 using uhci_hcd [5.926645] usb 6-2: New USB device found, idVendor=046d, idProduct=c03e [5.926651] usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [5.926656] usb 6-2: Product: USB-PS/2 Optical Mouse [5.926660] usb 6-2: Manufacturer: Logitech [5.943278] input: Logitech USB-PS/2 Optical Mouse as /devices/pci:00/:00:1d.2/usb6/6-2/6-2:1.0/0003:046D:C03E.0002/input/input3 [5.943582] hid-generic 0003:046D:C03E.0002: input,hidraw1: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-:00:1d.2-2/input0 [5.943630] ata3: SATA link down (SStatus 0 SControl 300) [6.239809] Switched to clocksource tsc [6.263681] ata4: SATA link down (SStatus 0 SControl 300) [6.583743] ata5: SATA link down (SStatus 0 SControl 300) [6.903813] ata6: SATA link down (SStatus 0 SControl 300) [6.946696] sd 0:0:0:0: [sda] 58626288 512-byte logical blocks: (30.0 GB/27.9 GiB) [6.946872] sd 1:0:0:0: [sdb] 58626288 512-byte logical blocks: (30.0 GB/27.9 GiB) [6.947029] sd 0:0:0:0: [sda] Write Protect is off [6.947040] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 [6.947142] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [6.947150] sd 1:0:0:0: [sdb] Write Protect is off [6.947157] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00 [6.947244] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [6.951026] sdb: sdb1 sdb2 sdb3 [6.951036] sda: sda1 sda2 sda3 [6.952478] sd 1:0:0:0: [sdb] Attached SCSI disk [6.952579] sd 0:0:0:0: [sda] Attached SCSI disk [6.953815] sd 0:0:0:0: Attached scsi generic sg0 type 0 [6.954026] sd 1:0:0:0: Attached scsi generic sg1 type 0 [6.993995] md: bind [6.997739] md: bind [7.001556] md: raid1 personality registered for level 1 [7.002250] md/raid1:md0: active with 2 out of 2 mirrors [7.002330] md0: detected capacity change from 0 to 28424798208 [7.003221] md0: unknown partition table [7.056937] PM: Starting manual resume from disk [7.056947] PM: Hibernation image partition 8:3 present [7.056951] PM: Looking for hibernation image. [7.057265] PM: Image not found (code -22) [7.057270] PM: Hibernation image not present or could not be loaded. [7.128041] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) [7.335088] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory. [7.436833] systemd-udevd[206]: starting version 215 [7.535169] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input4 [7.535191] ACPI: Power Button [PWRB] [7.535442] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input5 [7.535456] ACPI: Power Button [PWRF] [7.575305] parport_pc 00:04: reported by Plug and Play ACPI [7.575389] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE] [
Bug#871921: cyrus-imap: Cyrus squatter fails with segmentation fault error on large mailboxes
Package: cyrus-imapd Version: 2.5.10-3 Severity: normal File: cyrus-imap Tags: upstream Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** On large mailboxes, when squatter is executed it ends with a segmentation fault error No error messages related in any log file. I happends in all large mailboxes even if they where previosly squatered. When ther reach about 10.000 emails squatter allways fail. *** End of the template - remove these template lines *** -- System Information: Debian Release: 9.1 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), LANGUAGE=es_ES.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages cyrus-imapd depends on: ii cyrus-common 2.5.10-3 ii dpkg 1.18.24 ii libc6 2.24-11+deb9u1 ii libicu57 57.1-6 ii libsasl2-22.1.27~101-g0780600+dfsg-3 ii libssl1.1 1.1.0f-3 ii libwrap0 7.6.q-26 ii zlib1g1:1.2.8.dfsg-5 cyrus-imapd recommends no packages. cyrus-imapd suggests no packages. -- no debconf information