Bug#295517: gtkfontsel: Gdk error on some truetype fonts

2005-02-16 Thread Nigel Stephens
Package: gtkfontsel
Version: 1.1-6
Severity: normal

I'm sure that this is really a bug in the gtk libraries, or in the X
server, and not in gtkfontsel. But I don't know how to pin point this,
so I'm reporting it here first. Hopefully you can forward it to the
appropriate maintainers.

When attempting to display the bitstream vera sans, or it appears
any truetype font, gtkfontsel exits with the following message:

Gdk-ERROR **: BadValue (integer parameter out of range for operation)
  serial 1104 error_code 2 request_code 45 minor_code 0

Note that I'm using the X server's builtin truetype support, and not a
font server. My font path looks like this (from xset q)

Font Path:
  
/home/nigel/.gnome2/share/cursor-fonts,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/Type1,/usr/lib/X11/fonts/Speedo,/usr/lib/X11/fonts/100dpi,/home/nigel/.gnome2/share/fonts


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages gtkfontsel depends on:
ii  libc62.3.2.ds1-20GNU C Library: Shared libraries an
ii  libglib1.2   1.2.10-9The GLib library of C routines
ii  libgtk1.21.2.10-17   The GIMP Toolkit set of widgets fo
ii  xlibs4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#295517: gtkfontsel: Gdk error on some truetype fonts

2005-02-16 Thread Nigel Stephens
Problem solved. My /etc/X11/XF86Config-4 file did not have 

Loadxtt

in the Module section. 






-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#293481: kernel-image-2.6.8-2-686: Cannot open root device

2005-02-07 Thread Nigel Stephens

Thiemo Seufer wrote:
Nigel Stephens wrote:
[snip]
 

So what could be preventing the new kernel from even running the linuxrc 
script, or at the very least preventing it from showing the output from 
the extra echo line which I added to it.
   

This might point to a missing or invalid /dev/console. (At least with
udev-managed devices that's not a completely unlikely theory.)
 

I was a bit worried about this message when I diffed my initrd-2.6.6 and 
initrd.2.6.8

 File initrd-2.6.6/dev/console is a character special file while file 
initrd-2.6.8/dev/console is a character special file

Looking in detail I see:
 shoreditch.root /tmp 2# ls -l initrd-2.6.6/dev/console
 crw-rw  1 root root 5, 1 Jan  1  1970 initrd-2.6.6/dev/console
 shoreditch.root /tmp 2# ls -l initrd-2.6.8/dev/console
 crw---  1 root tty 5, 1 Jan  1  1970 initrd-2.6.8/dev/console
So the permissions are different, but I can't imagine that would make 
any difference at this stage of the bootstrap, which must surely be 
running with a uid of root.

Of course udev may be overwriting this and screwing it up, since I think 
that 2.6.6 didn't have udev, while 2.6.8 does - is that right? Is there 
anything that I could add to the boot command line to control udev, or 
to help diagnose the problem?

Nigel
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Bug#293481: kernel-image-2.6.8-2-686: Cannot open root device

2005-02-06 Thread Nigel Stephens

Karsten Merker wrote:
On Fri, Feb 04, 2005 at 07:21:43PM +, Nigel Stephens wrote:
 

I also wonder if  the fact that my Linux root partition (hda5) is inside 
an extended partition (see my original report) could that be causing a 
problem for the kernel?
   

No, this is the normal PC partitioning scheme and the root
partition can be on any of the partitions. The extended
partition has historical reasons: the original PC partition table
layout allowed only four (primary) partitions. To be able to
address more than four, the so-called extended partition was
invented, which is in principle a normal partition with an
additional sub-partitiontable and sub-partitions (logical
drives) inside the partition. For the Linux kernel it does
not make a difference whether to use a primary partition
or a logical drive.
 

Thanks Karsten, and hi btw!
So what could be preventing the new kernel from even running the linuxrc 
script, or at the very least preventing it from showing the output from 
the extra echo line which I added to it.

Nigel

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Bug#293481: kernel-image-2.6.8-2-686: Cannot open root device

2005-02-04 Thread Nigel Stephens

Thiemo Seufer wrote:

Looks like some driver went missing from this initrd. This would be
a bug in initrd-tools (http://bugs.debian.org/initrd-tools).
 

Hi Thiemo
Hmm - having to learn more about Linux bootstrapping than I'd like :-).
I tried adding these lines
   ide_generic
   ide_disk
   ata_piix
   sg
   sd_mod
to /etc/mkinitrd/modules as suggested by someone on the initrd-tools 
bugs page, and rebuilt my initrd image. Didn't help.

I then added some debug echos to the linuxrc and init scripts in  
/usr/share/initrd-tools and rebuilt again. Interestingly there's no 
change. It doesn't even seem to get as far as running the linuxrc script 
in the first place. Comparing my working 2.6.6 and 2.6.8 initrd image, 
there don't seem to be too many differences, but I'll attach the output 
below. I'm slightly concerned about the warning about /dev/console, and 
that modprobe.conf and modprobe.d have moved around.

I also wonder if  the fact that my Linux root partition (hda5) is inside 
an extended partition (see my original report) could that be causing a 
problem for the kernel?

Thanks
Nigel

Only in initrd-2.6.6/bin: awk
Only in initrd-2.6.8/bin: e2initrd_helper
File initrd-2.6.6/dev/console is a character special file while file 
initrd-2.6.8/dev/console is a character special file
Only in initrd-2.6.8/dev: ida
File initrd-2.6.6/dev/null is a character special file while file 
initrd-2.6.8/dev/null is a character special file
Only in initrd-2.6.6/etc: modprobe.conf
Only in initrd-2.6.8/etc: modprobe.d
Only in initrd-2.6.8: keyscripts
Only in initrd-2.6.6/lib/modules: 2.6.6-1-686
Only in initrd-2.6.8/lib/modules: 2.6.8-2-686
Only in initrd-2.6.6/lib/modules: modprobe.conf
Only in initrd-2.6.8/lib/tls: i686
Only in initrd-2.6.6/lib/tls: libc.so.6
Only in initrd-2.6.6/lib/tls: libdl.so.2
Only in initrd-2.6.6/lib/tls: libm.so.6
diff -ur initrd-2.6.6/linuxrc initrd-2.6.8/linuxrc
--- initrd-2.6.6/linuxrc1970-01-01 01:00:00.0 +0100
+++ initrd-2.6.8/linuxrc1970-01-01 01:00:00.0 +0100
@@ -6,6 +6,7 @@

mount -nt proc proc proc
root=$(cat proc/sys/kernel/real-root-dev)
+echo linuxrc: root=real-root-dev=$root
echo 256  proc/sys/kernel/real-root-dev
mount -nt tmpfs tmpfs bin ||
mount -nt ramfs ramfs bin
diff -ur initrd-2.6.6/linuxrc.conf initrd-2.6.8/linuxrc.conf
--- initrd-2.6.6/linuxrc.conf1970-01-01 01:00:00.0 +0100
+++ initrd-2.6.8/linuxrc.conf1970-01-01 01:00:00.0 +0100
@@ -2,4 +2,4 @@
BUSYBOX=
FSTYPES=ext3,ext2,vfat,iso9660,reiserfs,ntfs,cramfs
IDE_CORE=ide-core
-VERSION=0.1.70
+VERSION=0.1.77
diff -ur initrd-2.6.6/loadmodules initrd-2.6.8/loadmodules
--- initrd-2.6.6/loadmodules1970-01-01 01:00:00.0 +0100
+++ initrd-2.6.8/loadmodules1970-01-01 01:00:00.0 +0100
@@ -1,3 +1,8 @@
+modprobe -k  ide_generic
+modprobe -k  ide_disk
+modprobe -k  ata_piix
+modprobe -k  sg
+modprobe -k  sd_mod
modprobe -k  vesafb  /dev/null 21
modprobe -k  fbcon 2 /dev/null
modprobe -k  unix 2 /dev/null
diff -ur initrd-2.6.6/sbin/init initrd-2.6.8/sbin/init
--- initrd-2.6.6/sbin/init1970-01-01 01:00:00.0 +0100
+++ initrd-2.6.8/sbin/init1970-01-01 01:00:00.0 +0100
@@ -84,29 +84,34 @@
;;
esac
-IFS=/
-set -f
-set +f ${root#/dev/}
-IFS=.
-root=$*
-unset IFS
-try_name $root  return
-
-part=${root##*[!0-9]}
-root=${root%$part}
-if [ -z $root ]; then
-return
-fi
-try_name $root $part  return
+origroot=$root
+
+for separator in ! .; do
+IFS=/
+set -f
+set +f ${origroot#/dev/}
+IFS=$separator
+root=$*
+unset IFS
+try_name $root  return
+
+part=${root##*[!0-9]}
+root=${root%$part}
+if [ -z $root ]; then
+return
+fi
+try_name $root $part  return
+
+case $root in
+*[0-9]p)
+;;
+*)
+return 0
+;;
+esac
+try_name ${root%p} $part  return
+done
-case $root in
-*[0-9]p)
-;;
-*)
-return 0
-;;
-esac
-try_name ${root%p} $part
return 0
}
@@ -189,37 +194,37 @@
ret=$1
case $ret in
aec62xx)
-ret='AEC62xx IDE'
+ret='AEC62xx[ _]IDE'
;;
alim15x3)
-ret='ALI15x3 IDE'
+ret='ALI15x3[ _]IDE'
;;
amd74xx)
-ret='AMD IDE'
+ret='AMD[ _]IDE'
;;
atiixp)
-ret='ATIIXP IDE'
+ret='ATIIXP[ _]IDE'
;;
cmd64x)
-ret='CMD64x IDE'
+ret='CMD64x[ _]IDE'
;;
cs5520)
ret='CyrixIDE'
;;
cs5530)
-ret='CS5530 IDE'
+ret='CS5530[ _]IDE'
;;
cy82c693)
-ret='Cypress IDE'
+ret='Cypress[ _]IDE'
;;
generic)
-ret='PCI IDE'
+ret='PCI[ _]IDE'
;;
hpt34x)
-ret='HPT34x IDE'
+ret='HPT34x[ _]IDE'
;;
hpt366)
-

Bug#292631: synaptic: synaptic terminal doesn't appear

2005-01-28 Thread Nigel Stephens
Package: synaptic
Version: 0.53.4-7
Severity: important

After downloading the selected packages, the synaptic terminal does
not appear, and the packages are not installed - I have to go use
another tool to perform the install step. Similarly for package
removal.

This bug was present before installing the patched synaptic which
fixed the libglade toolbar problem.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages synaptic depends on:
ii  apt [libapt-pkg-libc6.3- 0.5.28.1Advanced front-end for dpkg
ii  gksu 1.2.2-1 graphical frontend to su
ii  libatk1.0-0  1.8.0-4 The ATK accessibility toolkit
ii  libc62.3.2.ds1-20GNU C Library: Shared libraries an
ii  libfontconfig1   2.2.3-4 generic font configuration library
ii  libfreetype6 2.1.7-2.3   FreeType 2 font engine, shared lib
ii  libgcc1  1:3.4.3-6   GCC support library
ii  libglade2-0  1:2.4.1-1   Library to load .glade files at ru
ii  libglib2.0-0 2.6.1-2 The GLib library of C routines
ii  libgtk2.0-0  2.4.14-2The GTK+ graphical user interface 
ii  libncurses5  5.4-4   Shared libraries for terminal hand
ii  libpango1.0-01.6.0-3 Layout and rendering of internatio
ii  libstdc++5   1:3.3.5-5   The GNU Standard C++ Library v3
ii  libvte4  1:0.11.11-5 Terminal emulator widget for GTK+ 
ii  libx11-6 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxft2  2.1.2-6 FreeType-based font drawing librar
ii  libxml2  2.6.11-5GNOME XML library
ii  libxrender1  0.8.3-7 X Rendering Extension client libra
ii  scrollkeeper 0.3.14-9.1  A free electronic cataloging syste
ii  xlibs4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu
ii  zlib1g   1:1.2.2-3   compression library - runtime

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#292034: synaptic: icon toolbar does not display

2005-01-28 Thread Nigel Stephens

Michael Vogt wrote:
On Mon, Jan 24, 2005 at 06:07:29PM +, Nigel Stephens wrote:
 

Package: synaptic
Version: 0.53.4-6
Severity: normal
   

Thanks for your bugreport. 

This is a duplicate of bug 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=288445

Please see the above link for details how to solve the problem. In a
nutshell: the libglade2 update in sarge broke synaptic (and melt
BTW). 

 

Michael
I installed your patch and that now displays the toolbar - thanks.
I've got another synaptic problem, but I'll submit that as a separate 
report.

Thanks
Nigel

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Bug#292631: synaptic: synaptic terminal doesn't appear

2005-01-28 Thread Nigel Stephens

Michael Vogt wrote:
After downloading the selected packages, the synaptic terminal does
not appear, and the packages are not installed - I have to go use
another tool to perform the install step. Similarly for package
removal.
   

Can you please check if you have the option Download package files
only in the summary window checked?
 

Duh, yes. Sorry for wasting your time.
Nigel
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Bug#292034: synaptic: icon toolbar does not display

2005-01-24 Thread Nigel Stephens
Package: synaptic
Version: 0.53.4-6
Severity: normal

After performing an update a few weeks ago, synaptic no longer
displays its graphical icon toolbar. I get the following error
messages when I start synaptic, which look like they might be
connected to this problem:

(synaptic:4095): Gtk-CRITICAL **: file gtklabel.c: line 2792 
(gtk_label_set_use_underline): assertion `GTK_IS_LABEL (label)' failed

(synaptic:4095): Gtk-CRITICAL **: file gtklabel.c: line 2792 
(gtk_label_set_use_underline): assertion `GTK_IS_LABEL (label)' failed

(synaptic:4095): Gtk-CRITICAL **: file gtklabel.c: line 2792 
(gtk_label_set_use_underline): assertion `GTK_IS_LABEL (label)' failed

(synaptic:4095): Gtk-CRITICAL **: file gtklabel.c: line 2792 
(gtk_label_set_use_underline): assertion `GTK_IS_LABEL (label)' failed

(synaptic:4095): Gtk-CRITICAL **: file gtklabel.c: line 2792 
(gtk_label_set_use_underline): assertion `GTK_IS_LABEL (label)' failed


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages synaptic depends on:
ii  apt [libapt-pkg-libc6.3- 0.5.28.1Advanced front-end for dpkg
ii  gksu 1.2.2-1 graphical frontend to su
ii  libatk1.0-0  1.8.0-4 The ATK accessibility toolkit
ii  libc62.3.2.ds1-20GNU C Library: Shared libraries an
ii  libfontconfig1   2.2.3-4 generic font configuration library
ii  libfreetype6 2.1.7-2.3   FreeType 2 font engine, shared lib
ii  libgcc1  1:3.4.3-6   GCC support library
ii  libglade2-0  1:2.4.1-1   Library to load .glade files at ru
ii  libglib2.0-0 2.4.8-1 The GLib library of C routines
ii  libgtk2.0-0  2.4.14-2The GTK+ graphical user interface 
ii  libice6  4.3.0.dfsg.1-10 Inter-Client Exchange library
ii  libncurses5  5.4-4   Shared libraries for terminal hand
ii  libpango1.0-01.6.0-3 Layout and rendering of internatio
ii  libsm6   4.3.0.dfsg.1-10 X Window System Session Management
ii  libstdc++5   1:3.3.5-5   The GNU Standard C++ Library v3
ii  libvte4  1:0.11.11-5 Terminal emulator widget for GTK+ 
ii  libx11-6 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxft2  2.1.2-6 FreeType-based font drawing librar
ii  libxml2  2.6.11-5GNOME XML library
ii  libxrender1  0.8.3-7 X Rendering Extension client libra
ii  scrollkeeper 0.3.14-9.1  A free electronic cataloging syste
ii  xlibs4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu
ii  zlib1g   1:1.2.2-3   compression library - runtime

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]