Bug#819542: python3-winrm unusable due to encoding error

2016-03-30 Thread Elie De Brauwer
Package: python3-winrm
Version: 0.0.3-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

After installing python3-winrm and trying to follow the getting started example 
on https://pypi.python.org/pypi/pywinrm

This fails:

edb@lapelidb:/tmp$ cat test.py
#!/usr/bin/env python

import winrm
s = winrm.Session("1.2.3.4", auth=("admin", "admin"))
s.run_cmd("ipconfig", ["/all"])
edb@lapelidb:/tmp$ python3 test.py
Traceback (most recent call last):
  File "test.py", line 5, in 
s.run_cmd("ipconfig", ["/all"])
  File "/usr/lib/python3/dist-packages/winrm/__init__.py", line 28, in run_cmd
shell_id = self.protocol.open_shell()
  File "/usr/lib/python3/dist-packages/winrm/protocol.py", line 103, in 
open_shell
rs = self.send_message(xmltodict.unparse(rq))
  File "/usr/lib/python3/dist-packages/winrm/protocol.py", line 173, in 
send_message
return self.transport.send_message(message)
  File "/usr/lib/python3/dist-packages/winrm/transport.py", line 76, in 
send_message
response = urlopen(request, timeout=self.timeout)
  File "/usr/lib/python3.5/urllib/request.py", line 162, in urlopen
return opener.open(url, data, timeout)
  File "/usr/lib/python3.5/urllib/request.py", line 463, in open
req = meth(req)
  File "/usr/lib/python3.5/urllib/request.py", line 1170, in do_request_
raise TypeError(msg)
TypeError: POST data should be bytes or an iterable of bytes. It cannot be of 
type str.


There are some reports upstream:
 - https://github.com/diyan/pywinrm/issues/47
 - https://github.com/diyan/pywinrm/issues/80

I tested the latest upstream release (0.1.1 installed through pip3) which gave 
the same result.

On my system I tried to hotfix the version form the package, inspired upon this 
pull request https://github.com/diyan/pywinrm/pull/70

Mainly patching send_message() in protocol.py (lines 170-173) into


def send_message(self, message):
# TODO add message_id vs relates_to checking
# TODO port error handling code
return self.transport.send_message(message.encode("utf-8"))


And for me the package continued beyond this point.


So summary:
 - python3-winrm as available through apt is broken.
 - pywinrm as available today through pip (v 0.1.1) suffers from the same 
problem on my system.

my 2 cents
E.



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-winrm depends on:
ii  python3-isodate0.5.4-1
ii  python3-xmltodict  0.9.2-3
pn  python3:any

Versions of packages python3-winrm recommends:
ii  python3-kerberos  1.1.5-2+b2

python3-winrm suggests no packages.

-- no debconf information
This message is subject to the following terms and conditions: MAIL 
DISCLAIMER



Bug#668580: procps: vmstat performs faulty averaging of interrupt/ctxt switch counters

2012-04-13 Thread Elie De Brauwer
Package: procps
Version: 1:3.3.2-3
Severity: normal

Dear Maintainer,

If you just run vmstat or vmstat 1 the first line shows an average of 
certain counters since machine boot.  However, I believe that at least
the average interrupt and context switch counts are broken.

Observer the following output:

edb@lapedb:~/today$ grep -E -e  ctxt|intr /proc/stat  | cut -d \  -f 1-2 ; 
cat /proc/uptime ; vmstat 
intr 1051786
ctxt 1184893
1188.50 9001.64
procs ---memory-- ---swap-- -io -system-- cpu
 r  b   swpd   free   buff  cache   si   sobibo   in   cs us sy id wa
 1  0  0 6979028  77512 642036007318  111  125  3  1 95  2


So we have 1051786 interrupts during 1188 seconds which gives an average of:
 1051786/1188
885

Same for context switches:
 1184893/1188
997

One thing however which should be noted is that if I multiply vmstats output 
by 8, I get very close to the real results. (Why the magical 8 ? Believe it 
or not but my laptop has a quad core cpu with ht:

edb@lapedb:~/today$ cat /proc/cpuinfo | grep processor | wc -l
8

)

I took a look at the code, and si/so bi/bo are also calculated the same way, 
so these might also be broken. 


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

Kernel: Linux 3.2.0-2-686-pae (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages procps depends on:
ii  initscripts   2.88dsf-22.1
ii  libc6 2.13-27
ii  libncurses5   5.9-4
ii  libncursesw5  5.9-4
ii  libprocps01:3.3.2-3
ii  libtinfo5 5.9-4
ii  lsb-base  4.1+Debian0

Versions of packages procps recommends:
ii  psmisc  22.16-1

procps suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#635173: ufsutils: mkfs.ufs and libufs not functional under standard Linux: could not find special device

2011-07-23 Thread Elie De Brauwer
Package: ufsutils
Version: 8.2-1
Severity: important

ufsutils version 7.1-2 exposed a similar bug which was reported/fixed in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526586  and the problem I am
experiencing is very closely related (if not exactly the same).

Let's create a blockdevice to get started with:


edb@lapedb:~$ sudo modprobe rd
edb@lapedb:~$ ls -hal /dev/ram0
brw-rw 1 root disk 1, 0 Jul 23 13:35 /dev/ram0

This gives us the following behavior:



edb@lapedb:~$ sudo mkfs.ufs  -O 2 -J -N  /dev/sdb5
mkfs.ufs: /dev/sdb5: could not find special device
edb@lapedb:~$ sudo ffsinfo /dev/ram0
ffsinfo: ufs_disk_fillout(/dev/ram0) failed: could not find special device:
Success
edb@lapedb:~$ sudo dumpfs.ufs /dev/ram0
dumpfs.ufs: /dev/ram0: could not find special device


A clear pattern is emerging.

When looking at an strace, we can clearly see it fails after a stat (and after
reading /etc/fstab):

stat64(/dev/sdb5, {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 21), ...}) = 0
brk(0)  = 0x920d000
brk(0x922f000)  = 0x922f000
open(/etc/fstab, O_RDONLY)= 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=665, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb776b000
read(3, # /etc/fstab: static file system..., 4096) = 665
read(3, , 4096)   = 0
write(2, mkfs.ufs: , 10mkfs.ufs: )  = 10
write(2, /dev/sdb5: could not find specia..., 40/dev/sdb5: could not find
special device) = 40
write(2, \n, 1
)   = 1
exit_group(1)   = ?


After apt-get source ufsutils and running a make (btw I need to specify
CC=gcc-4.4 since gcc-4.6.1 is complaining a lot and even then I need to comment
some things out to build and link properly). Then a gdb shows the following
(after a breakpoint in stat):

(gdb)
0x0804f0ec in stat ()
(gdb) n
Single stepping until exit from function stat,
which has no line number information.
ufs_disk_fillout_blank (disk=0x8054ce0, name=0xbe15 /dev/sdb5) at
type.c:111
111 if (ret = 0  S_ISREG(st.st_mode)) {
(gdb) print name
$1 = 0xbe15 /dev/sdb5
(gdb) print st
$2 = {st_dev = 5, __pad1 = 0, st_ino = 218104, st_mode = 25008, st_nlink = 1,
st_uid = 0, st_gid = 25, st_rdev = 2069, __pad2 = 0,
  st_size = 0, st_blksize = 4096, st_blocks = 0, st_atim = {tv_sec =
1311416552, tv_nsec = 146218743}, st_mtim = {
tv_sec = 1311416552, tv_nsec = 146218743}, st_ctim = {tv_sec = 1311416552,
tv_nsec = 146218743}, __unused4 = 0, __unused5 = 0}
(gdb) s
117 } else if ((fs = getfsfile(name)) != NULL) {
(gdb) n
128 } else if (ret = 0  S_ISDIR(st.st_mode)) {
(gdb) quit


But this again points to type.c and near line 114 this shows:

 } else if (ret = 0  (S_ISCHR(st.st_mode)  S_ISBLK(st.st_mode))

(which is already a debian specific patch (ref
ufsutils-8.2/debian/patches/01_libufs.patch) which contains the following:

-   } else if (ret = 0  S_ISCHR(st.st_mode)) {
+   } else if (ret = 0  (S_ISCHR(st.st_mode)  S_ISBLK(st.st_mode))) {
/* This is what we need, do nothing. */
;

However, as far as my humble knowledge goes, I don't see how a /dev entry can
be both a character _and_ a block device (hence a logical || instead of a 
might be more suitable in that patch).

For my local testing I just hacked the following in there (which works for me,
but probably fails on *BSD, judging form the previous bugreport).

} else if (ret = 0  (S_ISBLK(st.st_mode))) {
/* This is what we need, do nothing. */
;

And when I rebuild this and test this locally, then everybody is happy:

lapedb:/tmp/ufsutils-8.2# ./sbin/newfs/mkfs.ufs /dev/ram0
/dev/ram0: 8.0MB (16384 sectors) block size 16384, fragment size 2048
using 4 cylinder groups of 2.02MB, 129 blks, 320 inodes.
super-block backups (for fsck -b #) at:
 160, 4288, 8416, 12544


my 2 cents
E.




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

Kernel: Linux 2.6.39-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages ufsutils depends on:
ii  libbsd0  0.3.0-1 utility functions from BSD systems
ii  libc62.13-10 Embedded GNU C Library: Shared lib
ii  libedit2 2.11-20080614-2 BSD editline and history libraries

ufsutils recommends no packages.

ufsutils suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#635198: ufsutils: mkfs.ufs fails on blockdevice larger than 2 gigabyte

2011-07-23 Thread Elie De Brauwer
Package: ufsutils
Version: 8.2-1
Severity: important

First, take into account that the following bugfix needs to be in place in
order to continue: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635173


Next, let's create a 2 gigabyte size ramdisk as follows:

lapedb:~# rmmod brd ; modprobe brd rd_size=2097151
edb@lapedb:~$ sudo dd if=/dev/zero of=/dev/ram0 bs=10M
dd: writing `/dev/ram0': No space left on device
205+0 records in
204+0 records out
2147482624 bytes (2.1 GB) copied, 5.74209 s, 374 MB/s

And let's run mkfs.ufs on it:
lapedb:/home/edb/snot/ufsutils-8.2# ./sbin/newfs/mkfs.ufs /dev/ram0
/dev/ram0: 2048.0MB (4194300 sectors) block size 16384, fragment size 2048
using 12 cylinder groups of 183.77MB, 11761 blks, 23552 inodes.
super-block backups (for fsck -b #) at:
 160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624, 3010976,
3387328, 3763680, 4140032

Everything seems to be fine, now let's increase the size of the ramdisk by one
kilobyte (rd_size is expressed in kilobytes)

lapedb:~# rmmod brd ; modprobe brd rd_size=2097152
edb@lapedb:~$ sudo dd if=/dev/zero of=/dev/ram0 bs=10M
205+0 records in
204+0 records out
2147483648 bytes (2.1 GB) copied, 4.89747 s, 438 MB/s

Now let's run mkfs.ufs on it again:
lapedb:/home/edb/snot/ufsutils-8.2# ./sbin/newfs/mkfs.ufs /dev/ram0
mkfs.ufs: /dev/ram0: reserved not less than device size -4194304

Oops, that didn't go so well.

Let's take a deeper look

strace shows a failure after the ioctl() BLKGETSIZE to obtain the size of the
filesystem:

ioctl(3, BLKGETSIZE, 0xbf8c5ab4)= 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb772c000
write(1, get_block_device_size: device_se..., 83get_block_device_size:
device_sectors: 4194304  size: 2147483648 result:  overflow
) = 83
write(2, mkfs.ufs: , 10mkfs.ufs: )  = 10
write(2, /dev/ram0: reserved not less tha..., 54/dev/ram0: reserved not less
than device size -4194304) = 54
write(2, \n, 1
)   = 1
exit_group(1)   = ?


Which is an ideal location for a breakpoint:

lapedb:/home/edb/snot/ufsutils-8.2# gdb  ./sbin/newfs/mkfs.ufs
GNU gdb (GDB) 7.2-debian
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type show copying
and show warranty for details.
This GDB was configured as i486-linux-gnu.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /home/edb/snot/ufsutils-8.2/sbin/newfs/mkfs.ufs...done.
(gdb) break ioctl
Breakpoint 1 at 0x8048d1c
(gdb) run /dev/ram0
Starting program: /home/edb/snot/ufsutils-8.2/sbin/newfs/mkfs.ufs /dev/ram0

Breakpoint 1, ioctl () at ../sysdeps/unix/syscall-template.S:82
82  ../sysdeps/unix/syscall-template.S: No such file or directory.
in ../sysdeps/unix/syscall-template.S
(gdb) n
ioctl () at ../sysdeps/unix/syscall-template.S:83
83  in ../sysdeps/unix/syscall-template.S
(gdb) n
get_block_device_size (fd=5) at blockdev.c:74
74  size = ((int64_t)device_sectors) * sector_size;
(gdb) print size
$1 = 0
(gdb) print device_sectors
$2 = 4194304
(gdb) print /x size
$6 = 0x8000
(gdb) print sizeof(size)
$7 = 8
(gdb) n
main (argc=1, argv=0xbcb8) at newfs.c:329
329 if (sectorsize  mediasize)
(gdb) n
330 getfssize(fssize, special, mediasize / sectorsize,
reserved);
(gdb) print mediasize
$8 = -2147483648
(gdb) print sizeof(mediasize)
$9 = 4
(gdb) ptype mediasize
type = long int


Or, in blockdev.c we put the size into an int64_t, in newfs.c (which called the
get_block_device_size()) it gets stored into the mediasize variable, which
happens to be a 4 byte long int. This results in an integer overflow and thus
an invalid number of sectors (a large negative number) gets passed into the
getfssize() which later on concludes that the  requested reserved space is less
than what is actually available (the large negative number).


(Actually this problems becomes an interesting one, because once you exceed
0x  in size (thus overflow the 32-bit value) then the sign bit becomes
zero again, however at this point mkfs.ufs will start reporting odd partitions
sizes (modulo 2^31)).

Now how to fix this ?  A first attempt is to replace the declaration of off_t
mediasize; into int64t_t mediasize; then creating the filesystem succeeds:

lapedb:~# rmmod brd ; modprobe brd rd_size=2097152
lapedb:/home/edb/snot/ufsutils-8.2# ./sbin/newfs/mkfs.ufs /dev/ram0
/dev/ram0: 2048.0MB (4194304 sectors) block size 16384, fragment size 2048
using 12 cylinder groups of 183.77MB, 11761 blks, 23552 inodes.
super-block backups (for fsck -b #) at:
 160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 

Bug#635198: ufsutils: mkfs.ufs fails on blockdevice larger than 2 gigabyte

2011-07-23 Thread Elie De Brauwer

On 07/23/11 22:31, Petr Salinger wrote:

First, take into account that the following bugfix needs to be in
place in
order to continue:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635173



Please, how you did build of ufsutils after that ?
The very important part of debian/rules of usfutils package is

***
# GNU/kFreeBSD already have off_t 64bit. It must not be enabled,
# as it would change size of ino_t
ifneq (kfreebsd,$(DEB_HOST_ARCH_OS))
# really only on other systems, as GNU/kFreeBSD already have off_t 64bit
# on GNU/kFreeBSD it must not be enabled, as it would change size of ino_t
CFLAGS += -D_FILE_OFFSET_BITS=64
endif


As #635173 have been fixed in 8.2-2, please could you retest ?



That could be my mistake then, I just used make. I'll give it another go 
once I see 8.2-2 passing by, but it's very likely that that extra define 
is fixing the fixes which I did manually.



--
Elie De Brauwer




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#635198: ufsutils: mkfs.ufs fails on blockdevice larger than 2 gigabyte

2011-07-23 Thread Elie De Brauwer

On 07/23/11 22:31, Petr Salinger wrote:

First, take into account that the following bugfix needs to be in
place in
order to continue:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635173



Please, how you did build of ufsutils after that ?
The very important part of debian/rules of usfutils package is



I applied the 8.2-2 fix manually and rebuild the package the proper with 
(with the debian/rules thingy) and now it works out of the box, so as 
expected it was the missing -D_FILE_OFFSET_BITS=64  which was causing 
the problems. The ticket can be closed.


Thx
E.

--
Elie De Brauwer




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#617336: ifstat: Manpage spelling

2011-03-08 Thread Elie De Brauwer
Package: ifstat
Version: 1.1-8
Severity: minor

man ifstat contains:

-T  Reports total bandwith for all monitored interfaces.
-b  Reports bandwith in kbits/sec instead of kbytes/sec.

this should obviously be bandwidth in both cases.



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

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages ifstat depends on:
ii  libc6   2.11.2-11Embedded GNU C Library: Shared lib
ii  libsnmp15   5.4.3~dfsg-2 SNMP (Simple Network Management Pr

ifstat recommends no packages.

ifstat suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#610741: mtd-utils: Some spelling errors in mkfs.jffs2 help and manpage

2011-01-21 Thread Elie De Brauwer
Package: mtd-utils
Version: 20110107-1
Severity: minor
Tags: patch

mkfs.jffs2 --help and man mkfs.jffs2 contain incorrect spelling of 'avaiable'
and 'priortiry', attaching a patch for this.



-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages mtd-utils depends on:
ii  libc6   2.11.2-8 Embedded GNU C Library: Shared lib
ii  liblzo2-2   2.03-2   data compression library
ii  libuuid12.17.2-7 Universally Unique ID library
ii  zlib1g  1:1.2.3.4.dfsg-3 compression library - runtime

mtd-utils recommends no packages.

mtd-utils suggests no packages.
diff -c -r orig//mtd-utils-20110107/mkfs.jffs2.1 new//mtd-utils-20110107/mkfs.jffs2.1
*** orig//mtd-utils-20110107/mkfs.jffs2.1	Thu Dec  2 04:26:14 2010
--- new//mtd-utils-20110107/mkfs.jffs2.1	Fri Jan 21 23:36:06 2011
***
*** 105,111 
  option is not specified.
  
  Each block of the files to be placed into the file system image 
! are compressed using one of the avaiable compressors depending
  on the selected compression mode.
  
  File systems are created with the same endianness as the host,
--- 105,111 
  option is not specified.
  
  Each block of the files to be placed into the file system image 
! are compressed using one of the available compressors depending
  on the selected compression mode.
  
  File systems are created with the same endianness as the host,
***
*** 208,228 
  .B -x, --disable-compressor=NAME
  Disable a compressor. Use
  .B -L
! to see the list of the avaiable compressors and their default states.
  .TP
  .B -X, --enable-compressor=NAME
  Enable a compressor. Use
  .B -L
! to see the list of the avaiable compressors and their default states.
  .TP
  .B -y, --compressor-priority=PRIORITY:NAME
  Set the priority of a compressor. Use
  .B -L
! to see the list of the avaiable compressors and their default priority.
  Priorities are used by priority compression mode.
  .TP
  .B -L, --list-compressors
! Show the list of the avaiable compressors and their states.
  .TP
  .B -t, --test-compression
  Call decompress after every compress - and compare the result with the original data -, and
--- 208,228 
  .B -x, --disable-compressor=NAME
  Disable a compressor. Use
  .B -L
! to see the list of the available compressors and their default states.
  .TP
  .B -X, --enable-compressor=NAME
  Enable a compressor. Use
  .B -L
! to see the list of the available compressors and their default states.
  .TP
  .B -y, --compressor-priority=PRIORITY:NAME
  Set the priority of a compressor. Use
  .B -L
! to see the list of the available compressors and their default priority.
  Priorities are used by priority compression mode.
  .TP
  .B -L, --list-compressors
! Show the list of the available compressors and their states.
  .TP
  .B -t, --test-compression
  Call decompress after every compress - and compare the result with the original data -, and
diff -c -r orig//mtd-utils-20110107/mkfs.jffs2.c new//mtd-utils-20110107/mkfs.jffs2.c
*** orig//mtd-utils-20110107/mkfs.jffs2.c	Thu Dec  2 04:26:14 2010
--- new//mtd-utils-20110107/mkfs.jffs2.c	Fri Jan 21 23:37:25 2011
***
*** 1393,1406 
-s, --pagesize=SIZE Use page size (max data node size) SIZE (default: 4KiB)\n
-e, --eraseblock=SIZE   Use erase block size SIZE (default: 64KiB)\n
-c, --cleanmarker=SIZE  Size of cleanmarker (default 12)\n
!   -m, --compr-mode=MODE   Select compression mode (default: priortiry)\n
-x, --disable-compressor=COMPRESSOR_NAME\n
Disable a compressor\n
-X, --enable-compressor=COMPRESSOR_NAME\n
Enable a compressor\n
-y, --compressor-priority=PRIORITY:COMPRESSOR_NAME\n
Set the priority of a compressor\n
!   -L, --list-compressors  Show the list of the avaiable compressors\n
-t, --test-compression  Call decompress and compare with the original (for test)\n
-n, --no-cleanmarkers   Don't add a cleanmarker to every eraseblock\n
-o, --output=FILE   Output to FILE (default: stdout)\n
--- 1393,1406 
-s, --pagesize=SIZE Use page size (max data node size) SIZE (default: 4KiB)\n
-e, --eraseblock=SIZE   Use erase block size SIZE (default: 64KiB)\n
-c, --cleanmarker=SIZE  Size of cleanmarker (default 12)\n
!   -m, --compr-mode=MODE   Select compression mode (default: priority)\n
-x, --disable-compressor=COMPRESSOR_NAME\n
Disable a compressor\n
-X, --enable-compressor=COMPRESSOR_NAME\n
Enable a compressor\n
-y, --compressor-priority=PRIORITY:COMPRESSOR_NAME\n
Set the priority of a compressor\n
!  

Bug#583286: morituri: reportbug depends on python-pkg-resources

2010-05-26 Thread Elie De Brauwer
Package: morituri
Version: 0.1.1-1
Severity: normal
Tags: sid

After an apt-get install morituri it is unusable:

e...@lapedb:/tmp$ rip cd rip
Checking device /dev/sr0
Traceback (most recent call last):
  File /usr/bin/rip, line 35, in module
sys.exit(main.main(sys.argv[1:]))
  File /usr/lib/python2.5/site-packages/morituri/rip/main.py, line 12, in
main
ret = c.parse(argv)
  File /usr/lib/python2.5/site-packages/morituri/extern/command/command.py,
line 329, in parse
return self.subCommands[command].parse(args[1:])
  File /usr/lib/python2.5/site-packages/morituri/extern/command/command.py,
line 329, in parse
return self.subCommands[command].parse(args[1:])
  File /usr/lib/python2.5/site-packages/morituri/extern/command/command.py,
line 300, in parse
ret = self.do(args)
  File /usr/lib/python2.5/site-packages/morituri/rip/cd.py, line 99, in do
from pkg_resources import parse_version as V
ImportError: No module named pkg_resources


A workaround is to do an apt-get install python-pkg-resources.



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

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages morituri depends on:
ii  cdparanoia   3.10.2+debian-9 audio extraction tool for sampling
ii  cdrdao   1:1.2.2-18.2records CDs in Disk-At-Once (DAO) 
ii  gstreamer0.10-plugins-go 0.10.22.2-3 GStreamer plugins from the good 
ii  python   2.5.4-9 An interactive high-level object-o
ii  python-central   0.6.16  register and build utility for Pyt
ii  python-gobject   2.21.1-1Python bindings for the GObject li
ii  python-gst0.10   0.10.18-2   generic media-playing framework (P
ii  python-gtk2  2.17.0-2Python bindings for the GTK+ widge
ii  python-musicbrainz2  0.6.0-2 An interface to the MusicBrainz XM

Versions of packages morituri recommends:
ii  gstreamer0.10-ffmpeg  0.10.10-1  FFmpeg plugin for GStreamer

Versions of packages morituri suggests:
pn  gstreamer0.10-lamenone (no description available)
pn  python-pycdio none (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#583292: reportbug --configure shows an unusable prompt for configuring the smtp settings

2010-05-26 Thread Elie De Brauwer
Package: reportbug
Version: 4.12.2
Severity: minor
Tags: sid patch

When I run reportbug --configure here it shows a nice gtk frontend, if I follow
the following steps:

* Reportbug is a tool  press continue
* select standard ... continue
* gtk2 interface ... continue
* reportbug direct internet connection ... yes
* enter real name ... continue
* enter e-mail ... continue
* Do you have a MTA prompt ... select NO

At this point I have a window with a label and a textbox and the label reads:

Just press ENTER if ou don't have one or don't know and an empty textbox


this is obviously the 'enter your smtp server' prompt. If we look at
/usr/bin/reportbug lines 583 till 590:

ewrite('Please enter the name of your SMTP host.  Usually it\'s called
'
'something like mail.example.org or smtp.example.org. '
'If you need to use a different port than default, use the '
'host:port alternative format.\n\n')
smtphost = ui.get_string(
'Just press ENTER if you don\'t have one or don\'t know.',
options=opts, empty_ok=True, force_prompt=True)
if smtphost:

The ui.get_string() functions properly but the ewrite never appears. So I just
changed this block to:

smtphost = ui.get_string(
'Please enter the name of your SMTP host.  Usually it\'s called '
'something like mail.example.org or smtp.example.org. '
'If you need to use a different port than default, use the '
'host:port alternative format.\n\n'
'Just press ENTER if you don\'t have one or don\'t know.',
options=opts, empty_ok=True, force_prompt=True)
if smtphost:

which works in gtk mode.



-- Package-specific info:
** Environment settings:
INTERFACE=gtk2

** /home/edb/.reportbugrc:
reportbug_version 4.12.2
mode standard
ui gtk2
email eliedebrau...@gmail.com
smtphost smtp.gmail.com:587
smtpuser eliedebrau...@gmail.com
smtptls

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

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages reportbug depends on:
ii  apt   0.7.25.3   Advanced front-end for dpkg
ii  python2.5.4-9An interactive high-level object-o
ii  python-reportbug  4.12.2 Python modules for interacting wit

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  debconf-utilsnone  (no description available)
pn  debsums  none  (no description available)
pn  dlocate  none  (no description available)
ii  emacs23-bin-common   23.2+1-2The GNU Emacs editor's shared, arc
ii  exim4-daemon-light [ 4.71-4  lightweight Exim MTA (v4) daemon
ii  file 5.04-2  Determines file type using magic
ii  gnupg1.4.10-4GNU privacy guard - a free PGP rep
ii  python-gtk2  2.17.0-2Python bindings for the GTK+ widge
pn  python-gtkspell  none  (no description available)
pn  python-urwid none  (no description available)
ii  python-vte   1:0.24.1-1  Python bindings for the VTE widget
ii  xdg-utils1.0.2+cvs20100307-1 desktop integration utilities from

-- Configuration Files:
/etc/reportbug.conf changed [not included]

-- no debconf information
--- /usr/bin/reportbug  2010-05-12 19:22:23.0 +0200
+++ /usr/bin/reportbug.fixed2010-05-26 21:53:01.0 +0200
@@ -580,11 +580,11 @@
 opts = []
 if options.smtphost:
 opts += [options.smtphost]
-ewrite('Please enter the name of your SMTP host.  Usually it\'s called 
'
+smtphost = ui.get_string(
+'Please enter the name of your SMTP host.  Usually it\'s called '
 'something like mail.example.org or smtp.example.org. '
 'If you need to use a different port than default, use the '
-'host:port alternative format.\n\n')
-smtphost = ui.get_string(
+'host:port alternative format.\n\n'
 'Just press ENTER if you don\'t have one or don\'t know.',
 options=opts, empty_ok=True, force_prompt=True)
 if smtphost:


Bug#508557: Error in previous patch

2008-12-18 Thread Elie De Brauwer

One small correction, in the vhdl_count binary the call to
generic_count '#' $@ is incorrect, this should obviously be
generic_count '--' $@

I made some copy paste error when making the patch.


--
Elie De Brauwer




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#508556: Make sloccount xml aware

2008-12-12 Thread Elie De Brauwer

Package: sloccount
Version: 2.26-3
Tags: patch
Severity: wishlist

The patch in attachment adds xml support in sloccount


--
Elie De Brauwer

diff -urNad sloccount-2.26.new/break_filelist sloccount-2.26.org/break_filelist
--- sloccount-2.26.new/break_filelist	2008-12-12 13:27:56.0 +0100
+++ sloccount-2.26.org/break_filelist	2008-12-12 13:23:55.0 +0100
@@ -205,7 +205,6 @@
   hs = haskell, lhs = haskell,
# ???: .pco is Oracle Cobol
   jsp = jsp,  # Java server pages
-  xml = xml,  # XML files 
 );
 
 
diff -urNad sloccount-2.26.new/debian/rules sloccount-2.26.org/debian/rules
--- sloccount-2.26.new/debian/rules	2008-12-12 13:26:01.0 +0100
+++ sloccount-2.26.org/debian/rules	2008-12-12 13:23:55.0 +0100
@@ -15,7 +15,6 @@
get_sloc \
get_sloc_details \
jsp_count \
-   xml_count \
lexcount1 \
make_filelists \
pascal_count \
diff -urNad sloccount-2.26.new/makefile sloccount-2.26.org/makefile
--- sloccount-2.26.new/makefile	2008-12-12 13:25:39.0 +0100
+++ sloccount-2.26.org/makefile	2008-12-12 13:23:55.0 +0100
@@ -82,8 +82,7 @@
pascal_count$(EXE_SUFFIX) \
php_count$(EXE_SUFFIX) \
jsp_count$(EXE_SUFFIX) \
-   ml_count$(EXE_SUFFIX) \
-   xml_count$(EXE_SUFFIX) 
+   ml_count$(EXE_SUFFIX)
 
 EXECUTABLES= \
ada_count \
@@ -149,12 +148,6 @@
 jsp_count$(EXE_SUFFIX): jsp_count.c
 	$(CC) jsp_count.c -o jsp_count$(EXE_SUFFIX)
 
-xml_count.c: xml_count.l driver.c driver.h
-	flex -Cfe -t xml_count.l  xml_count.c
-
-xml_count$(EXE_SUFFIX): xml_count.c
-	$(CC) xml_count.c -o xml_count$(EXE_SUFFIX)
-
 ml_count$(EXE_SUFFIX): ml_count.c
 	$(CC) ml_count.c -o ml_count$(EXE_SUFFIX)
 
diff -urNad sloccount-2.26.new/testcode/test.xml sloccount-2.26.org/testcode/test.xml
--- sloccount-2.26.new/testcode/test.xml	2008-12-12 13:26:09.0 +0100
+++ sloccount-2.26.org/testcode/test.xml	1970-01-01 01:00:00.0 +0100
@@ -1,11 +0,0 @@
-?xml version=1.0?
-
-!-- This is an xml file -- 
-tag
-   tag2 number=3
- Just some stuff
-   /tag2
-   blah /
-/tag
-!-- It should have 7 useful lines -- 
-
diff -urNad sloccount-2.26.new/xml_count.l sloccount-2.26.org/xml_count.l
--- sloccount-2.26.new/xml_count.l	2008-12-12 13:25:50.0 +0100
+++ sloccount-2.26.org/xml_count.l	1970-01-01 01:00:00.0 +0100
@@ -1,83 +0,0 @@
-%{
-
-/*
-This is part of SLOCCount, a toolsuite that counts source lines of code (SLOC).
-Copyright (C) 2001-2004 David A. Wheeler, Bob Brown and Elie De Brauwer
-This is based on Bob Browns jsp_count.l, which was based on David A. Wheeler's 
-pascal_count.l.
-
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-
-To contact David A. Wheeler, see his website at:
- http://www.dwheeler.com.
-*/
-
-#include driver.h
-
-#define YY_NO_UNPUT
-
-/* 1 if we saw a non-comment, non-whitespace char on this line */
-int saw_char = 0;
-static void count(void);
-
-%}
-
-%option noyywrap
-
-SPACE		[ \t\n\r\f]
-
-%x chtml
-%x string
-
-%%
-	line_number = 1;
-	saw_char = 0;
-	BEGIN(INITIAL);
-
-[ \t\r\f]	/* Do nothing */
-!--	{ BEGIN(chtml); }
-\n	{ count(); }
-
-\	{saw_char = 1; BEGIN(string);}
-
-[^ \t\r\f(\n][^\n]*	{saw_char = 1;}
-.	{saw_char = 1;}
-
-
-chtml-- { BEGIN(INITIAL); }
-chtml\n	 { count(); }
-chtml.	 /* no-op */
-
-string[^\\n]+ {saw_char = 1;}
-string\n	 {
-		 	fprintf(stderr, Warning: newline in string - file %s, line %ld\n,
-	 filename, line_number);
-			count();
-			BEGIN(INITIAL); /* Switch back; this at least limits damage */
-		 }
-string\		{ BEGIN(INITIAL);}
-
-%%
-
-#include driver.c
-
-static void count(void)
-{
-if ( saw_char ) {
-sloc++;
-	saw_char = 0;
-}
-line_number++;
-}


Bug#508556: patch correction

2008-12-12 Thread Elie De Brauwer
The patch I attached in my previous mail was faulty, here is the correct 
version.


--
Elie De Brauwer

diff -urNad sloccount-2.26.org/break_filelist sloccount-2.26.new/break_filelist
--- sloccount-2.26.org/break_filelist	2008-12-12 13:23:55.0 +0100
+++ sloccount-2.26.new/break_filelist	2008-12-12 13:27:56.0 +0100
@@ -205,6 +205,7 @@
   hs = haskell, lhs = haskell,
# ???: .pco is Oracle Cobol
   jsp = jsp,  # Java server pages
+  xml = xml,  # XML files 
 );
 
 
diff -urNad sloccount-2.26.org/debian/rules sloccount-2.26.new/debian/rules
--- sloccount-2.26.org/debian/rules	2008-12-12 13:23:55.0 +0100
+++ sloccount-2.26.new/debian/rules	2008-12-12 13:26:01.0 +0100
@@ -15,6 +15,7 @@
get_sloc \
get_sloc_details \
jsp_count \
+   xml_count \
lexcount1 \
make_filelists \
pascal_count \
diff -urNad sloccount-2.26.org/makefile sloccount-2.26.new/makefile
--- sloccount-2.26.org/makefile	2008-12-12 13:23:55.0 +0100
+++ sloccount-2.26.new/makefile	2008-12-12 13:25:39.0 +0100
@@ -82,7 +82,8 @@
pascal_count$(EXE_SUFFIX) \
php_count$(EXE_SUFFIX) \
jsp_count$(EXE_SUFFIX) \
-   ml_count$(EXE_SUFFIX)
+   ml_count$(EXE_SUFFIX) \
+   xml_count$(EXE_SUFFIX) 
 
 EXECUTABLES= \
ada_count \
@@ -148,6 +149,12 @@
 jsp_count$(EXE_SUFFIX): jsp_count.c
 	$(CC) jsp_count.c -o jsp_count$(EXE_SUFFIX)
 
+xml_count.c: xml_count.l driver.c driver.h
+	flex -Cfe -t xml_count.l  xml_count.c
+
+xml_count$(EXE_SUFFIX): xml_count.c
+	$(CC) xml_count.c -o xml_count$(EXE_SUFFIX)
+
 ml_count$(EXE_SUFFIX): ml_count.c
 	$(CC) ml_count.c -o ml_count$(EXE_SUFFIX)
 
diff -urNad sloccount-2.26.org/testcode/test.xml sloccount-2.26.new/testcode/test.xml
--- sloccount-2.26.org/testcode/test.xml	1970-01-01 01:00:00.0 +0100
+++ sloccount-2.26.new/testcode/test.xml	2008-12-12 13:26:09.0 +0100
@@ -0,0 +1,11 @@
+?xml version=1.0?
+
+!-- This is an xml file -- 
+tag
+   tag2 number=3
+ Just some stuff
+   /tag2
+   blah /
+/tag
+!-- It should have 7 useful lines -- 
+
diff -urNad sloccount-2.26.org/xml_count.l sloccount-2.26.new/xml_count.l
--- sloccount-2.26.org/xml_count.l	1970-01-01 01:00:00.0 +0100
+++ sloccount-2.26.new/xml_count.l	2008-12-12 13:25:50.0 +0100
@@ -0,0 +1,83 @@
+%{
+
+/*
+This is part of SLOCCount, a toolsuite that counts source lines of code (SLOC).
+Copyright (C) 2001-2004 David A. Wheeler, Bob Brown and Elie De Brauwer
+This is based on Bob Browns jsp_count.l, which was based on David A. Wheeler's 
+pascal_count.l.
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+To contact David A. Wheeler, see his website at:
+ http://www.dwheeler.com.
+*/
+
+#include driver.h
+
+#define YY_NO_UNPUT
+
+/* 1 if we saw a non-comment, non-whitespace char on this line */
+int saw_char = 0;
+static void count(void);
+
+%}
+
+%option noyywrap
+
+SPACE		[ \t\n\r\f]
+
+%x chtml
+%x string
+
+%%
+	line_number = 1;
+	saw_char = 0;
+	BEGIN(INITIAL);
+
+[ \t\r\f]	/* Do nothing */
+!--	{ BEGIN(chtml); }
+\n	{ count(); }
+
+\	{saw_char = 1; BEGIN(string);}
+
+[^ \t\r\f(\n][^\n]*	{saw_char = 1;}
+.	{saw_char = 1;}
+
+
+chtml-- { BEGIN(INITIAL); }
+chtml\n	 { count(); }
+chtml.	 /* no-op */
+
+string[^\\n]+ {saw_char = 1;}
+string\n	 {
+		 	fprintf(stderr, Warning: newline in string - file %s, line %ld\n,
+	 filename, line_number);
+			count();
+			BEGIN(INITIAL); /* Switch back; this at least limits damage */
+		 }
+string\		{ BEGIN(INITIAL);}
+
+%%
+
+#include driver.c
+
+static void count(void)
+{
+if ( saw_char ) {
+sloc++;
+	saw_char = 0;
+}
+line_number++;
+}


Bug#508557: Make sloccount vhdl aware

2008-12-12 Thread Elie De Brauwer

Package: sloccount
Version: 2.26-3
Tags: patch
Severity: wishlist

The patch in attachment adds vhdl support in sloccount


--
Elie De Brauwer

diff -urNad sloccount-2.26.orig/break_filelist sloccount-2.26/break_filelist
--- sloccount-2.26.orig/break_filelist	2008-12-12 13:42:32.0 +0100
+++ sloccount-2.26/break_filelist	2008-12-12 13:43:31.0 +0100
@@ -205,6 +205,7 @@
   hs = haskell, lhs = haskell,
# ???: .pco is Oracle Cobol
   jsp = jsp,  # Java server pages
+  vhd = vhdl, # VHDL code
 );
 
 
diff -urNad sloccount-2.26.orig/debian/rules sloccount-2.26/debian/rules
--- sloccount-2.26.orig/debian/rules	2008-12-12 13:42:32.0 +0100
+++ sloccount-2.26/debian/rules	2008-12-12 13:50:40.0 +0100
@@ -15,6 +15,7 @@
get_sloc \
get_sloc_details \
jsp_count \
+   vhdl_count \
lexcount1 \
make_filelists \
pascal_count \
diff -urNad sloccount-2.26.orig/vhdl_count sloccount-2.26/vhdl_count
--- sloccount-2.26.orig/vhdl_count	1970-01-01 01:00:00.0 +0100
+++ sloccount-2.26/vhdl_count	2008-12-12 13:43:56.0 +0100
@@ -0,0 +1,27 @@
+#!/bin/sh
+# 
+# This is part of SLOCCount, a toolsuite that counts
+# source lines of code (SLOC).
+# Copyright (C) 2001-2004 David A. Wheeler.
+# 
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+# 
+# To contact David A. Wheeler, see his website at:
+#  http://www.dwheeler.com.
+# 
+# 
+
+generic_count '#' $@
+


Bug#508558: Add sloc2html to sloccount package

2008-12-12 Thread Elie De Brauwer

Package: sloccount
Version: 2.26-3
Severity: wishlist

sloc2html is a tool which visualises the sloccount output, it is 
available from the author homepage: 
http://www.dwheeler.com/sloccount/sloc2html.py 
(http://www.dwheeler.com/sloccount/ ) and it is also available under 
GPL. Since this is capable of beautifying the output (putting it in an 
html form) it would be very nice if this file could be added to the 
standard upstream sloccount package.


Do keep in mind that:
- The original file (I also attached it sloc2html.py.orig) contains an 
error, there's a comma missing.
- All 'extra' languages should be added in sloc2html.py, as an example 
I added 'sloc2html.py' where both this comma is fixed and where I added 
support for xml and vhdl files (see also bugs 508556 and 508557 )


--
Elie De Brauwer

#!/usr/bin/env python
# Written by Rasmus Toftdahl Olesen r...@pohldata.dk
# Modified slightly by David A. Wheeler
# Released under the GNU General Public License v. 2 or higher
from string import *
import sys

NAME = sloc2html
VERSION = 0.0.2

if len(sys.argv) != 2:
print Usage:
print \t + sys.argv[0] +  sloc output file
print \nThe output of sloccount should be with --wide and --multiproject 
formatting
sys.exit()

colors = { python : blue,
   ansic : yellow,
   perl : purple,
   cpp : green,
   sh : red,
   yacc : brown,
   lex : silver
   # Feel free to make more specific colors.
   ruby : maroon,
   cs : gray,
   java : navy,
   ada : olive,
   lisp : fuchsia,
   objc : purple,
   fortran : purple,
   cobol : purple,
   pascal : purple,
   asm : purple,
   csh : purple,
   tcl : purple,
   exp : purple,
   awk : purple,
   sed : purple,
   makefile : purple,
   sql : purple,
   php : purple,
   modula3 : purple,
   ml : purple,
   haskell : purple
  }




print html
print head
print titleCounted Source Lines of Code (SLOC)/title
print /head
print body
print h1Counted Source Lines of Code/h1

file = open ( sys.argv[1], r )

print h2Projects/h2
line = 
while line != SLOC\tDirectory\tSLOC-by-Language (Sorted)\n:
line = file.readline()

print table
print trthLines/ththProject/ththLanguage distribution/th/tr
line = file.readline()
while line != \n:
num, project, langs = split ( line )
print trtd + num + /tdtd + project + /tdtd
print table width=\500\tr
for lang in split ( langs, , ):
l, n = split ( lang, = )
print td bgcolor=\ + colors[l] + \ width=\ + str( float(n) / 
float(num) * 500 ) + \ + l + = + n + nbsp;( + str(int(float(n) / 
float(num) * 100)) + %)/td
print /tr/table
print /td/tr
line = file.readline()
print /table

print h2Languages/h2
while line != Totals grouped by language (dominant language first):\n:
line = file.readline()

print table
print trthLanguage/ththLines/th/tr
line = file.readline()
while line != \n:
lang, lines, per = split ( line )
lang = lang[:-1]
print trtd bgcolor=\ + colors[lang] + \ + lang + /tdtd + 
lines +   + per + /td/tr
line = file.readline()
print /table

print h2Totals/h2
while line == \n:
line = file.readline()

print table
print trtdTotal Physical Lines of Code (SLOC):/tdtd + 
strip(split(line,=)[1]) + /td/tr
line = file.readline()
print trtdEstimated development effort:/tdtd + 
strip(split(line,=)[1]) +  person-years (person-months)/td/tr
line = file.readline()
line = file.readline()
print trtdSchedule estimate:/tdtd + strip(split(line,=)[1]) +  
years (months)/td/tr
line = file.readline()
line = file.readline()
print trtdTotal estimated cost to develop:/tdtd + 
strip(split(line,=)[1]) + /td/tr
print /table

file.close()

print Please credit this data as \generated using 'SLOCCount' by David A. 
Wheeler.\\n
print /body
print /html
#!/usr/bin/env python
# Written by Rasmus Toftdahl Olesen r...@pohldata.dk
# Modified slightly by David A. Wheeler and Elie De Brauwer.
# Released under the GNU General Public License v. 2 or higher


from string import *
import sys

NAME = sloc2html
VERSION = 0.0.2

if len(sys.argv) != 2:
print Usage:
print \t + sys.argv[0] +  sloc output file
print \nThe output of sloccount should be with --wide and --multiproject formatting
sys.exit()

colors = { python : blue,
   ansic : yellow,
   perl : purple,
   cpp : green,
   sh : red,
   yacc : brown,
   lex : silver,
   # Feel free to make more specific colors.
   ruby : maroon,
   cs : gray,
   java : navy,
   ada : olive,
   lisp : fuchsia,
   objc : purple,
   fortran : purple,
   cobol : purple,
   pascal : purple,
   asm : purple,
   csh : purple,
   tcl : purple,
   exp : purple,
   awk

Bug#361499: Default install of gammu segfaults

2006-04-08 Thread Elie De Brauwer
Package: gammu
Version: 1.05.00-4
Severity: important

When you install gammu (apt-get install gammu) and run it, it segfaults 
because there is no configuration file found:

[EMAIL PROTECTED]:~$ gammu --identify
Warning: No configuration file found!
Segmentation fault
[EMAIL PROTECTED]:~$ strace gammu --identify 21  | tail -n 10
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
_sysctl({{CTL_KERN, KERN_VERSION, 0, 20ca9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 2, 0xbfef21a0, 39, (nil), 0}) 
= 0
brk(0)  = 0x81aa000
brk(0x81cb000)  = 0x81cb000
open(/home/edb/.gammurc, O_RDONLY)= -1 ENOENT (No such file or directory)
open(/etc/gammurc, O_RDONLY)  = -1 ENOENT (No such file or directory)
fstat64(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7fdb000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

Or in gdb:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1212815680 (LWP 4730)]
0xb7e89cf3 in GSM_SetDebugFile () from /usr/lib/libGammu.so.0
(gdb) bt
#0  0xb7e89cf3 in GSM_SetDebugFile () from /usr/lib/libGammu.so.0
#1  0x0807863f in SearchPhoneThread ()
#2  0xb7b73eb0 in __libc_start_main () from /lib/tls/libc.so.6
#3  0x0804b941 in ?? ()


This is easily solved by putting a default configuration file in the package 

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages gammu depends on:
ii  libbluetooth1 2.25-1 Library to use the BlueZ Linux Blu
ii  libc6 2.3.6-5GNU C Library: Shared libraries an
ii  libgammu0 1.05.00-4  Mobile phone management library
ii  libmysqlclient15off   5.0.19-3   mysql database client library
ii  zlib1g1:1.2.3-11 compression library - runtime

gammu recommends no packages.

-- no debconf information


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



Bug#361497: gammu: Gammu example file is in dos format

2006-04-08 Thread Elie De Brauwer
Package: gammu
Version: 1.05.00-4
Severity: minor

[EMAIL PROTECTED]:/tmp$ cp /usr/share/doc/gammu/examples/config/gammurc.gz /tmp/
[EMAIL PROTECTED]:/tmp$ gunzip gammurc.gz 
[EMAIL PROTECTED]:/tmp$ file gammurc   
gammurc: ASCII English text, with CRLF, LF line terminators

Which is annoying to vi, probably other files are affected too

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages gammu depends on:
ii  libbluetooth1 2.25-1 Library to use the BlueZ Linux Blu
ii  libc6 2.3.6-5GNU C Library: Shared libraries an
ii  libgammu0 1.05.00-4  Mobile phone management library
ii  libmysqlclient15off   5.0.19-3   mysql database client library
ii  zlib1g1:1.2.3-11 compression library - runtime

gammu recommends no packages.

-- no debconf information


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



Bug#339423: acknowledged by developer (Bug#339423: fixed in cdrtools 4:2.01+01a03-5)

2006-01-09 Thread Elie De Brauwer
 of this 
version.


cdrecord: Warning: Running on Linux-2.6.14
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATAPI:0,0,0'
devname: 'ATAPI'
scsibus: 0 target: 0 lun: 0
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'debian-0.8debian2'.
cdrecord: Warning: using inofficial version of libscg (debian-0.8debian2 
'@(#)sc

sitransp.c  1.91 04/06/17 Copyright 1988,1995,2000-2004 J. Schilling').
scsibus0:
0,0,0 0) 'MATSHITA' 'DVD-RAM UJ-830S ' '1.00' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
neurotic:/home/helios# cdrecord dev=ATAPI:0,0,0  -blank=all
Cdrecord-Clone 2.01.01a03 (i686-pc-linux-gnu) Copyright (C) 1995-2005 
Joerg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of 
cdrecord

  and thus may have bugs that are not present in the original version.
  Please send bug reports and support requests to 
[EMAIL PROTECTED].
  The original author should not be bothered with problems of this 
version.


cdrecord: Warning: Running on Linux-2.6.14
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATAPI:0,0,0'
devname: 'ATAPI'
scsibus: 0 target: 0 lun: 0
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'debian-0.8debian2'.
cdrecord: Warning: using inofficial version of libscg (debian-0.8debian2 
'@(#)scsitransp.c  1.91 04/06/17 Copyright 1988,1995,2000-2004 J. 
Schilling').

Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   :
Vendor_info: 'MATSHITA'
Identifikation : 'DVD-RAM UJ-830S '
Revision   : '1.00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support 
code.
cdrecord: See /usr/share/doc/cdrecord/README.DVD.Debian for details on 
DVD support.

Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO
cdrecord: Probably trying to use ultra high speed medium on improper writer.
neurotic:/home/helios# cdrecord dev=ATAPI:0,0,0  -blank=all --dummy
Cdrecord-Clone 2.01.01a03 (i686-pc-linux-gnu) Copyright (C) 1995-2005 
Joerg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of 
cdrecord

  and thus may have bugs that are not present in the original version.
  Please send bug reports and support requests to 
[EMAIL PROTECTED].
  The original author should not be bothered with problems of this 
version.


cdrecord: Warning: Running on Linux-2.6.14
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATAPI:0,0,0'
devname: 'ATAPI'
scsibus: 0 target: 0 lun: 0
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'debian-0.8debian2'.
cdrecord: Warning: using inofficial version of libscg (debian-0.8debian2 
'@(#)scsitransp.c  1.91 0

4/06/17 Copyright 1988,1995,2000-2004 J. Schilling').
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   :
Vendor_info: 'MATSHITA'
Identifikation : 'DVD-RAM UJ-830S '
Revision   : '1.00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support 
code.
cdrecord: See /usr/share/doc/cdrecord/README.DVD.Debian for details on 
DVD support.

Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO
Starting to write CD/DVD at speed 4 in dummy BLANK mode for single session.
Last chance to quit, starting dummy write0 seconds. Operation starts.
cdrecord: Input/output error. blank unit: scsi sendcmd: no error
CDB:  A1 00 00 00 00 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 64 00 00 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x64 Qual 0x00 (illegal mode for this track) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.002s timeout 9600s
cdrecord: Cannot blank disk, aborting.


--
Elie De Brauwer



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



Bug#345125: openoffice.org: Openoffice 2.0 icon problem (wmaker related ?)

2005-12-29 Thread Elie De Brauwer

Package: openoffice.org
Version: 2.0.0-5
Severity: normal

Ever since Openoffice.org was stepped to version 2.0 in unstable the 
icons that were displayed in windowmaker looked all wrong. I've taken a 
screenshot it can be seen at: 
http://www.de-brauwer.be/wastebasket/ooicons.png The error occurs on all 
icons of all openoffice applications (haven't seen any other 
application/icon show the same behaviour). Notice that both the 
minimized and application icons on the left as those in the alt + 
tab program switch dialog are wrong. If I had to guess what the 
problem would be I'd guess that openoffice uses something odd to define 
the transparency in the icons. It probably doesn't belong here since it 
will be related to the library rendering the image (or perhaps 
windowmaker) but openoffice icons are the only icons showing these 
problems. So please move this bug if it isn't in the rightplace.


from dpkg -i:
wmaker 0.92.0-5   NeXTSTEP-like window manager for X



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages openoffice.org depends on:
ii  openoffice.org-base   2.0.0-5OpenOffice.org office suite 
- data
ii  openoffice.org-calc   2.0.0-5OpenOffice.org office suite 
- spre
ii  openoffice.org-core   2.0.0-5OpenOffice.org office suite 
archit
ii  openoffice.org-draw   2.0.0-5OpenOffice.org office suite 
- draw
ii  openoffice.org-impress2.0.0-5OpenOffice.org office suite 
- pres
ii  openoffice.org-java-common2.0.0-5OpenOffice.org office suite 
Java s
ii  openoffice.org-math   2.0.0-5OpenOffice.org office suite 
- equa
ii  openoffice.org-writer 2.0.0-5OpenOffice.org office suite 
- word


openoffice.org recommends no packages.

-- no debconf information

--
Elie De Brauwer



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



Bug#344375: linux-image-2.6-686: sk98lin

2005-12-22 Thread Elie De Brauwer
Package: linux-image-2.6-686
Severity: wishlist

This is a feature request to have a more recent sk98lin driver in the stock
debian kernel. I am the owner of a Toshiba Tecra S2, which contains a

:02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 Gigabit 
Ethernet Controller (rev 15)

When I installed debian I actually had to dig up a PCMCIA card in order to
netinstall debian  (see 
http://www.de-brauwer.be/wiki/wikka.php?wakka=LinuxTecraS2 for my notes
on this system). The main issue is that the onboard ethernet card is not
support out of the box because the sk98lin driver embedded in vanilla is
_OLD_. I just gave linux-image-2.6.14-2-686 a try, and it also sustained this
error. So I'm adding this as a wishlist item because for now I have to 
compile my kernels myself simply because of this module version. A quick
look at google: http://www.google.be/search?q=debian+sk98lin shows I'm not 
the only person with issues:

Following are references to laptops/persons with issues with this driver
(only debian users, so the brave few that succeeded, can you imagine how
many brave souls did not succeed at this task ? I regularly get e-mails from
people that read the page on my wiki and encounterd problems with the 
installation):
http://www.progsoc.uts.edu.au/~rheise/LW60/ : LG's LW60-DBJA Express Notebook
http://www.hermann-uwe.de/hardware/debian-gnu-linux-on-a-toshiba-satellite-a80-117:
 Toshiba Satellite A80-117
http://tuxmobil.de/toshiba_tecra_a4_linux.html : Toshiba TECRA A4 
http://www.to.infn.it/~ipesando/Installation.html
http://irbs.sourceforge.net/toshiba-a80-laptop-debian-howto-en.html: Toshiba A80
http://www.is.tu-braunschweig.de/~buethe/p4p800_raid.html : Asus P4P800
http://www.land-of-kain.de/linux/toshiba_a80-117.html - Mind the sentence 
The result: After 10 evenings of testing, I am done with it. I will return 
the Notebook to my local dealer (Mediamarkt).

and

 Update: I had an email conversation in 2005-07 with a guy named Thomas 
Meyer, who bought a successor of the notebook, the Toshiba Satellite A80-154, 
and succeeded installing a Gentoo on it. It turns out that if you compile your
own kernel with updated netcard and wlan drivers, Linux works at least on his 
hardware. He also wrote an install article.

And after those links I got tired of googling...is there a specific reason
why this driver isn't embedded in debian (yet), am I missing something ? Or 
are you trying to give people installing debian a challenge ;-). Other 
distributions e.g. SuSe (but that is no reference) support the driver out of
the box...




-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)


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



Bug#329396: conky: Reproducable

2005-12-16 Thread Elie De Brauwer
Package: conky
Version: 1.3.1-1
Followup-For: Bug #329396

I was able to reproduce the same error. I apt-get install'ed conky from 
unstable. When running conky it immediately exits with a segfault (unless run
with -v or -h). Running it in gdb results in:

(gdb) run
Starting program: /usr/bin/conky 
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1211798624 (LWP 3814)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1211798624 (LWP 3814)]
0xb7ce9028 in strncpy () from /lib/tls/libc.so.6
(gdb) where
#0  0xb7ce9028 in strncpy () from /lib/tls/libc.so.6
#1  0x0804d704 in ?? ()
#2  0x in ?? ()

open(/, O_RDONLY) = 4
fstatfs(4, {f_type=REISERFS_SUPER_MAGIC, f_bsize=4096, f_blocks=3662703, 
f_bfree=2284257, f_bavail=2284257, f_files=0, f_ffree=0, f_fsid={0, 0}, 
f_namelen=255, f_frsize=4096}) = 0
write(3, \\\0\4\0 \0\0\0\4\0\276\276grey, 16) = 16
read(3, \1`\\0\0\0\0\0\276\276\276\276\276\276\276\276\276\276..., 32) = 32
write(3, T\0\4\0 \0\0\0\276\276\276\276\276\276ey, 16) = 16
read(3, \1`#\0\0\0\0\0\276\276\276\276\276\276\0\0\276\276\276..., 32) = 32
write(3, \\\0\4\0 \0\0\0\4\0\276\276grey, 16) = 16
read(3, \1`$\0\0\0\0\0\276\276\276\276\276\276\276\276\276\276..., 32) = 32
write(3, T\0\4\0 \0\0\0\276\276\276\276\276\276ey, 16) = 16
read(3, \1`%\0\0\0\0\0\276\276\276\276\276\276\0\0\276\276\276..., 32) = 32
write(3, \\\0\4\0 \0\0\0\4\0\276\276grey, 16) = 16
read(3, \1`\0\0\0\0\0\276\276\276\276\276\276\276\276\276\276..., 32) = 32
write(3, T\0\4\0 \0\0\0\276\276\276\276\276\276ey, 16) = 16
read(3, \1`\'\0\0\0\0\0\276\276\276\276\276\276\0\0\276\276\276..., 32) = 32
open(/sys/bus/i2c/devices/, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5
fstat64(5, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
getdents64(5, /* 4 entries */, 4096)= 112
getdents64(5, /* 0 entries */, 4096)= 0
close(5)= 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


greetings
E.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages conky depends on:
ii  libc62.3.5-8.1   GNU C Library: Shared libraries an
ii  libfontconfig1   2.3.2-1.1   generic font configuration library
ii  libfreetype6 2.1.10-1FreeType 2 font engine, shared lib
ii  libice6  6.8.2.dfsg.1-11 Inter-Client Exchange library
ii  libsm6   6.8.2.dfsg.1-11 X Window System Session Management
ii  libx11-6 6.8.2.dfsg.1-11 X Window System protocol client li
ii  libxext6 6.8.2.dfsg.1-11 X Window System miscellaneous exte
ii  libxft2  2.1.7-1 FreeType-based font drawing librar
ii  libxrender1  1:0.9.0-2   X Rendering Extension client libra
ii  xlibs6.8.2.dfsg.1-11 X Window System client libraries m
ii  zlib1g   1:1.2.3-8   compression library - runtime

conky recommends no packages.

-- no debconf information


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



Bug#328442: wavemon: Reproducable

2005-12-16 Thread Elie De Brauwer
Package: wavemon
Version: 0.4.0b-8
Followup-For: Bug #328442

I can actually reproduce this problem on two laptops. The odd thing is that 
everything has worked already. But after a wavemon/kernel upgrade everything 
stopped working.

As mentioned above I have two laptops, bot running unstable and a 2.6.14 
kernel. One uses ndiswrapper to get to wlan. And another one (this one)
uses ipw2200:
neurotic:/home/helios# dmesg | grep ipw
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.0.8
ipw2200: Copyright(c) 2003-2005 Intel Corporation
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection

neurotic:/home/helios# uname -a
Linux neurotic 2.6.14 #12 PREEMPT Wed Dec 7 09:37:21 CET 2005 i686 GNU/Linux

When running wavemon I get:
neurotic:/home/helios# wavemon
fatal error: could not get range information

This is also the last strace output:
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
ioctl(3, SIOCGIFADDR, {ifr_name=eth1, ifr_addr={AF_INET, 
inet_addr(192.168.1.100)}}) = 0
ioctl(3, SIOCGIFHWADDR, {ifr_name=eth1, ifr_hwaddr=00:12:f0:02:5d:65}) = 0
ioctl(3, SIOCGIFNETMASK, {ifr_name=eth1, ifr_netmask={AF_INET, 
inet_addr(255.255.255.0)}}) = 0
ioctl(3, SIOCGIFBRDADDR, {ifr_name=eth1, ifr_broadaddr={AF_INET, 
inet_addr(192.168.1.255)}}) = 0
close(3)= 0
rt_sigaction(SIGTSTP, {SIG_IGN}, {0xb7ebe9b0, [], SA_RESTART}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0) = 0
poll([{fd=0, events=POLLIN}], 1, 0) = 0
write(1, \r\33[20d\33[0m\33(0\33[39;49m\33[37m\33[40mt..., 883) = 883
rt_sigaction(SIGTSTP, {0xb7ebe9b0, [], SA_RESTART}, NULL, 8) = 0
rt_sigaction(SIGTSTP, {SIG_IGN}, {0xb7ebe9b0, [], SA_RESTART}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0) = 0
poll([{fd=0, events=POLLIN}], 1, 0) = 0
write(1, \r\33[24d\33[0;1;7m\33(B\33[39;49m\33[37m\33[..., 574) = 574
rt_sigaction(SIGTSTP, {0xb7ebe9b0, [], SA_RESTART}, NULL, 8) = 0
write(1, \33[?1h\33=, 7)  = 7
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
ioctl(3, SIOCGIWNAME, 0xbf808d9c)   = 0
ioctl(3, SIOCGIWRANGE, 0xbf808d9c)  = -1 E2BIG (Argument list too long)
write(1, \33[39;49m\r\33[K\33[24;1H\33[?1049l\r\33[?1..., 35) = 35
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig -icanon -echo ...}) 
= 0
ioctl(1, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
write(2, fatal error: , 13)   = 13
write(2, could not get range information, 31) = 31
write(2, \n, 1)   = 1
exit_group(-1)  = ?


The system ran previously a 2.6.12-2 which worked. So perhapse some interface 
changed since 2.6.13 something ? 
Something odd is that an other tools, like wmwave still works perfectly. 
When strace'ing wmwave also shows the same error occurs but this does not 
seem to be fatal for wmwave. 

[EMAIL PROTECTED]:~$ strace -o tr.txt  wmwave 
[EMAIL PROTECTED]:~$ cat tr.txt  | grep RANG | uniq -c
 20 ioctl(5, SIOCGIWRANGE, 0xbff785e0)  = -1 E2BIG (Argument list too 
long)

So perhaps ignorance might be a solution here too ;-).

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages wavemon depends on:
ii  libc6 2.3.5-8.1  GNU C Library: Shared libraries an
ii  libncurses5   5.5-1  Shared libraries for terminal hand

wavemon recommends no packages.

-- no debconf information


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



Bug#329396: conky: Draw string

2005-12-16 Thread Elie De Brauwer
Package: conky
Version: 1.3.1-1
Followup-For: Bug #329396

Drawing a string works:
conky -t bluh 
conky -ob -t bluh

both seems to work, so it doesn't seem to be glx/video related (which might 
be an issue on my laptop). Also the torsmo works out of the box. _BUT_ it get 
the following messages on screen:

[EMAIL PROTECTED]:~$ torsmo 
torsmo: can't open /home/helios/.torsmorc: No such file or directory
torsmo: can't open '/sys/bus/i2c/devices/0-0050/temp1_input': No such file or 
directory
torsmo: can't open '/sys/bus/i2c/devices/0-0050/temp2_input': No such file or 
directory
torsmo: drawing to root window
torsmo: drawing to single buffer

Which is exactly the place where the strace stops. _SO_

[EMAIL PROTECTED]:~$ lsmod
Module  Size  Used by
ipw2200   190272  0 
ieee80211  50280  1 ipw2200
ieee80211_crypt 6404  1 ieee80211
eeprom  7312  0 
i2c_i8019100  0 

I removed the i2c_i801 module:
neurotic:/home/helios# rmmod i2c_i801

After this both conky and torsmo start up perfectly.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages conky depends on:
ii  libc62.3.5-8.1   GNU C Library: Shared libraries an
ii  libfontconfig1   2.3.2-1.1   generic font configuration library
ii  libfreetype6 2.1.10-1FreeType 2 font engine, shared lib
ii  libice6  6.8.2.dfsg.1-11 Inter-Client Exchange library
ii  libsm6   6.8.2.dfsg.1-11 X Window System Session Management
ii  libx11-6 6.8.2.dfsg.1-11 X Window System protocol client li
ii  libxext6 6.8.2.dfsg.1-11 X Window System miscellaneous exte
ii  libxft2  2.1.7-1 FreeType-based font drawing librar
ii  libxrender1  1:0.9.0-2   X Rendering Extension client libra
ii  xlibs6.8.2.dfsg.1-11 X Window System client libraries m
ii  zlib1g   1:1.2.3-8   compression library - runtime

conky recommends no packages.

-- no debconf information


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



Bug#339423: cdrecord: Trying to use ultra high speed+ medium ...

2005-11-15 Thread Elie De Brauwer
Package: cdrecord
Version: 4:2.01+01a03-3
Severity: important


Hello,

I have a nasty little problem when burning CD-RW's. When I try to do so
I end up with the following output:

neurotic:/home/helios# cdrecord -dev=ATA:1,0,0 -blank=all -speed=4
Cdrecord-Clone 2.01.01a03 (i686-pc-linux-gnu) Copyright (C) 1995-2005
Joerg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of
cdrecord
and thus may have bugs that are not present in the original
version.
Please send bug reports and support requests to
[EMAIL PROTECTED].
The original author should not be bothered with
problems of this version.

cdrecord: Warning: Running on Linux-2.6.14
cdrecord: There are unsettled issues with Linux-2.5
and newer.
cdrecord: If you have unexpected problems, please try
Linux-2.4 or Solaris.
scsidev: 'ATA:1,0,0'
devname: 'ATA'
scsibus: 1 target: 0 lun: 0
Warning: Using badly designed ATAPI via /dev/hd*
interface.
Linux sg driver version: 3.5.27
Using libscg version 'ubuntu-0.8ubuntu1'.
cdrecord: Warning: using inofficial version of libscg
(ubuntu-0.8ubuntu1 '@(#)scsitransp.c  1.91
04/06/17 Copyright 1988,1995,2000-2004 J. Schilling').
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   : 
Vendor_info: 'MATSHITA'
Identifikation : 'DVD-RAM UJ-830S '
Revision   : '1.00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
cdrecord: This version of cdrecord does not include
DVD-R/DVD-RW support code.
cdrecord: See
/usr/share/doc/cdrecord/README.DVD.Debian for details
on DVD support.
Using generic SCSI-3/mmc   CD-R/CD-RW driver
(mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE 
Supported modes: TAO PACKET SAO
cdrecord: Trying to use ultra high speed+ medium on a
writer which is not
compatible with ultra high speed+ media.
  

The disc in question is an imation cd-rw 10x-24x ultra speed rwritable
cd, but I have tried with other cd-rw's only ranging up to 12x. Changing
the speed flag i've tried 1,4,10,12,24 changes nothing 

neurotic:/home/helios# hdparm -i /dev/hdc

/dev/hdc:

Model=MATSHITADVD-RAM UJ-830S, FwRev=1.00, SerialNo=
Config={ Fixed Removeable DTR=5Mbs DTR10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=0kB, MaxMultSect=0
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes:  pio0 pio1 pio2 pio3 pio4 
DMA modes:  sdma0 sdma1 sdma2 mdma0 mdma1 mdma2 
DMA modes: udma0 udma1 *udma2 
AdvancedPM=no
Drive conforms to: device does not report version: 

   * signifies the current active mode

When I run cdrecord -vv -dev=ATA:1,0,0 -blank=all -speed=10 i get:

TOC Type: 1 = CD-ROM
scsidev: 'ATA:1,0,0'
devname: 'ATA'
scsibus: 1 target: 0 lun: 0
Warning: Using badly designed ATAPI via /dev/hd* interface.
Linux sg driver version: 3.5.27
Using libscg version 'ubuntu-0.8ubuntu1'.
cdrecord: Warning: using inofficial version of libscg (ubuntu-0.8ubuntu1
'@(#)scsitransp.c  1.91 04/06/17 Copyright 1988,1995,2000-2004 J.
Schilling').
Using libscg transport code version 'schily-scsi-linux-sg.c-1.85'
SCSI buffer size: 64512
atapi: -1
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   : 
Vendor_info: 'MATSHITA'
Identifikation : 'DVD-RAM UJ-830S '
Revision   : '1.00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x000A
Profile: 0x0012 
Profile: 0x001B 
Profile: 0x001A 
Profile: 0x0013 
Profile: 0x0014 
Profile: 0x0011 
Profile: 0x0010 
Profile: 0x000A (current)
Profile: 0x0009 
Profile: 0x0008 
Profile: 0x0002 
cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support
code.
cdrecord: See /usr/share/doc/cdrecord/README.DVD.Debian for details on
DVD support.
Supported CD-RW media types: 07
Drive current speed: 10
Drive default speed: 10
Drive max speed: 10
Selected speed : 10
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE 
Supported modes: TAO PACKET SAO
Drive buf size : 1310720 = 1280 KB
 01 00 00 01 00 00 00 00
 01 AA 01 01 00 00 00 00
Track 1 start -150
 01 00 A0 00 00 00 00 01 00 00 00 00
 01 00 A1 00 00 00 00 00 00 00 00 00
 01 00 A2 00 00 00 00 00 00 00 00 00
Current Secsize: 2048
ATIP infinfo from disk:
Indicated writing power: 1
Reference speed: 0
Is not unrestricted
Is erasable
Disk sub type: Ultra High speed Rewritable media (2)
ATIP start of lead in:  -11076 (97:34/24)
ATIP start of lead out: 336075 (74:43/00)
1T speed low: 16 1T speed high: 16
2T speed low:  8 2T speed high: 24
power mult factor: 4 5
recommended erase/write power: 1
A1 values: 66 4A 99
A2 values: 38 80 00
A3 values: 04 C4 A0
Disk type:Phase change
Manuf. index: 11
Manufacturer: Mitsubishi Chemical Corporation
cdrecord: Trying to use ultra high  speed+ medium on a writer which is not
compatible with ultra high speed+ media.
 

The error (with the same drive) is also reported on other places on the
internet:

Bug#269882: Reproduced

2005-11-09 Thread Elie De Brauwer
  debconf [debconf-2.0] 1.4.59 Debian configuration 
management sy
ii  libc6 2.3.5-7GNU C Library: Shared 
libraries an
ii  libfreetype6  2.1.10-1   FreeType 2 font engine, 
shared lib
ii  libgd2-noxpm  2.0.33-2   GD Graphics Library version 
2 (wit
ii  libgdbm3  1.8.3-2GNU dbm database routines 
(runtime
ii  libjpeg62 6b-10  The Independent JPEG 
Group's JPEG
ii  libpcap0.70.7.2-7System interface for 
user-level pa

ii  libpng12-01.2.8rel-5 PNG library - runtime
ii  libssl0.9.7   0.9.7g-5   SSL shared libraries
ii  zlib1g1:1.2.3-6  compression library - runtime

ntop recommends no packages.

--
Elie De Brauwer


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



Bug#269882: Permission issue

2005-11-09 Thread Elie De Brauwer
I just did a quick test running ntop as ntop -u root -w 8080 which ran 
perfectly. Meaning this ended up begin a permission problem. I rand ntop 
-w 8080 (which runs as user nobody through an strace.


[EMAIL PROTECTED]:/tmp$ less trace.txt | grep ermission | sort |  uniq -c
  2 6768  read(3, rrd.permissions\\0, 18) = 18
  1 6768  unlink(/var/lib/ntop/ntop.pid)  = -1 EACCES (Permission 
denied)
190 6775  open(/tmp/ntop-gzip-6768, O_WRONLY|O_CREAT|O_TRUNC, 
0666) = -1 EACCES (Permission denied)
  1 6775  stat64(/var/lib/ntop/rrd/interfaces/eth0, 0xb182f234) = 
-1 EACCES (Permission denied)


The /tmp/ntop-gzip-6768 occured after I requested the page, the open 
call is the first reference so the open fails.


[EMAIL PROTECTED]:/tmp$ cat trace.txt | grep ntop-gzip
6775  open(/tmp/ntop-gzip-6768, O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 
EACCES (Permission denied)


So it ended being the permission of /tmp. It was lacking g+w, when I 
added this the problem disappeared.


gr
E.

--
Elie De Brauwer



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



Bug#333565: glibc-doc: Hooks for Malloc example code bug (info pages)

2005-10-12 Thread Elie De Brauwer
Package: glibc-doc
Version: 2.3.5-6
Severity: minor
Tags: patch

Hello, this is a (very very very) small issue (small in ascii, but large in 
C/C++). In the libc info pages ( type info libc, /mtrac, scroll down to *not 
Hooks for Malloc:: and press enter. In this page the prototypes are defined 
and explained. A certain prototype here is the one for __free_hook which is:

  void FUNCTION (void *PTR, const void *CALLER)

Lower on the page there is some example code:

 static void *
 my_free_hook (void *ptr, const void *caller)
 {
   /* Restore all old hooks */
   __malloc_hook = old_malloc_hook;
   __free_hook = old_free_hook;
   /* Call recursively */

So in this case you define a new function for free returning a pointer (to 
void) while it should simply return void (as the prototype defines). So in this 
case the patch is simply removing the * which is located in manual/memory.texi 
or as diff would say:

qntal:/tmp/glibc-2.3.5/glibc-2.3.5/manual# diff memory.texi.old memory.texi 
987c987
 static void *
---
 static void 


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.5
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

-- no debconf information


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



Bug#333565: Known issue

2005-10-12 Thread Elie De Brauwer

The bug is already a known issue and is fixed in the cvs version, see:

http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/manual/memory.texi?cvsroot=glibc
It is fixed in revision 1.80 of file. (But it still exists in debian)




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



Bug#322349: grun should strip spaces

2005-08-10 Thread Elie De Brauwer
Package: grun
Version: 0.9.2-14
Severity: normal

I noticed some odd behaviour, for now I have only tested it with gpdf.

- grun gpdf  works
- grun gpdf  loads gpdf, shows a prompt Loading of (null) failed.
Invalid parameter

- grun gpdf n spaces shows the same prompt n time. 
gpdf should handles these spaces properly but grun should remove the
trailing spaces, if any.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.2
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages grun depends on:
ii  libatk1.0-0   1.10.1-2   The ATK accessibility toolkit
ii  libc6 2.3.5-3GNU C Library: Shared libraries an
ii  libglib2.0-0  2.6.6-1The GLib library of C routines
ii  libgtk2.0-0   2.6.9-1The GTK+ graphical user interface 
ii  libpango1.0-0 1.8.2-1Layout and rendering of internatio

grun recommends no packages.

-- no debconf information


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



Bug#319788: installation-reports: [sparc][netinst] attempt to access beyond end of device

2005-07-26 Thread Elie De Brauwer

Could you also check the new builds? Booting into Debian-installer is
good enough (that is beyond the ramdisk size issue ) and quit.
It wouldn't hurt your fresh installed system
and it is good to known that is works again out of the box.
  


The problem persists with:

http://people.debian.org/~stappers/d-i/images/2005-07-26/sparc64/netboot/2.6/boot.img
MD5: 0dc3fee8831c864759ad2a8a2c152180
http://people.debian.org/~stappers/d-i/images/2005-07-26/sparc64/netboot/boot.img
b1b475151e550eb1a702b828c936c192

greetings
Elie



signature.asc
Description: OpenPGP digital signature


Bug#320054: installation-reports: [sparc][netboot] Gui/character set problem when booting 2.6 kernel

2005-07-26 Thread Elie De Brauwer
Package: installation-reports
Severity: normal


So I booted:

http://people.debian.org/~stappers/d-i/images/2005-07-26/sparc64/netboot/boot.img
and
http://people.debian.org/~stappers/d-i/images/2005-07-26/sparc64/netboot/2.6/boot.img

They were booted on a Sun Blade 100 using netboot, I added the
ramdisk_size=9000 to the prompt to avoid bug 319788. At this point I
notice the following:

The 2.4 images boots the installer nicely, it shows the language
selection splashscreen as expected. The problem occurs when booting the
2.6 kernel. When it is booted the border (the border is the black line
in the gray area) of the selection dialog is gone, and it looks like the 
characters are shifted one position to the right. When changing a selection 
English looks like EEnglish (for example). This could be related to bug 282781 
or 296735. The difference is that the machine stays responsive and you could 
finish the installation this way, but it looks ugly.

A solution to this problem is the following. Press ctrl+f1, activate the
shell, execute 'debian-installer', the installer starts and the problem
is gone. When you switch between tty0 and tty1 you can clearly see that
everything is shifted one (or multiple characters) to the left (the
number of characters is equal to the number of character that make up
the border, meaning the lower line is fully gone, the body is shifted
one to the left and the title is left aligned instead of centered).

To summarize:

When booting a 2.6 kernel, the installer that appears on the first
console is fscked up, as is each installer launched on that console.
Especially that characers that make up the border are missing. On
the second console everything looks/works just fine. 


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



Bug#319788: installation-reports: [sparc][netinst] attempt to access beyond end of device

2005-07-25 Thread Elie De Brauwer
Frans Pop wrote:

On Sunday 24 July 2005 21:26, Elie De Brauwer wrote:
  

RAMDISK: Compressed image found at block 0
RAMDISK: incomplete write (-28 != 32768) 8388608
VFS: Mounted root (ext2 filesystem).
attempt to access beyond end of device
ram0: rw=0, want=16452, limit=16384



The size of the image increased recently because extra translations were 
added. The size of the ramdisk was increased today, so this problem 
should be fixed with the next daily builds.

You can probably boot with your current image by adding parameter 
'ramdisk_size=9000' when you boot the installer.

Cheers,
FJP
  

Adding this parameter solves this problem.

thanks
Elie De Brauwer


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



Bug#311913: installation-reports

2005-06-04 Thread Elie De Brauwer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Package: installation-reports

Debian-installer-version: June 3rd 2005:
http://cdimage.debian.org/pub/cdimage-testing/daily/i386/current/debian-testing-i386-netinst.iso

uname -a: Linux psychotic 2.4.27-2-386 #1 Mon May 16 16:47:51 JST 2005
i686 GNU/Linux
Date: Sat Jun  4 10:20:32 CEST 2005
Method: Used the netinst image, booted from it, configured it and
installed from:
deb ftp://ftp.belnet.be/debian/ unstable main
deb-src ftp://ftp.belnet.be/debian/ unstable main


Machine: Acer Aspire 1511 LMi laptop
Processor: AMD Athlon64 3000+
Memory: 512 Mb, no swap partition added
Root Device:
ide0: BM-DMA at 0x2080-0x2087, BIOS settings: hda:DMA, hdb:pio
hda: IC25N060ATMR04-0, ATA DISK drive
hda: attached ide-disk driver.
hda: 117210240 sectors (60012 MB) w/7884KiB Cache, CHS=7296/255/63,
UDMA(100)

Root Size/partition table:
Disk /dev/hda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/hda1   *   1602048355618+   c  W95 FAT32 (LBA)
/dev/hda26021729510241437+  83  Linux
/dev/hda3729672968032+  1e  Hidden W95
FAT16 (LBA)

Command (m for help):

A partition for shared data with windows
A reiser root filesystem
An acer partition

Output of lspci and lspci -n:
psychotic:~# lspci
:00:00.0 Host bridge: nVidia Corporation nForce3 Host Bridge (rev a4)
:00:01.0 ISA bridge: nVidia Corporation nForce3 LPC Bridge (rev a6)
:00:01.1 SMBus: nVidia Corporation nForce3 SMBus (rev a4)
:00:02.0 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5)
:00:02.1 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5)
:00:02.2 USB Controller: nVidia Corporation nForce3 USB 2.0 (rev a2)
:00:06.0 Multimedia audio controller: nVidia Corporation nForce3
Audio (rev
a2)
:00:06.1 Modem: nVidia Corporation: Unknown device 00d9 (rev a2)
:00:08.0 IDE interface: nVidia Corporation nForce3 IDE (rev a5)
:00:0a.0 PCI bridge: nVidia Corporation nForce3 PCI Bridge (rev a2)
:00:0b.0 PCI bridge: nVidia Corporation nForce3 AGP Bridge (rev a4)
:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
:01:00.0 VGA compatible controller: nVidia Corporation: Unknown
device 0348
(rev a1)
:02:06.0 Ethernet controller: Broadcom Corporation NetXtreme
BCM5788 Gigabit
 Ethernet (rev 03)
:02:07.0 CardBus bridge: Texas Instruments PCI4510 PC card Cardbus
Controlle
r (rev 02)
:02:07.1 FireWire (IEEE 1394): Texas Instruments PCI4510 IEEE-1394
Controlle
r
:02:08.0 Network controller: Broadcom Corporation BCM4306
802.11b/g Wireless
 LAN Controller (rev 03)

psychotic:~# lspci -n
:00:00.0 0600: 10de:00d1 (rev a4)
:00:01.0 0601: 10de:00d0 (rev a6)
:00:01.1 0c05: 10de:00d4 (rev a4)
:00:02.0 0c03: 10de:00d7 (rev a5)
:00:02.1 0c03: 10de:00d7 (rev a5)
:00:02.2 0c03: 10de:00d8 (rev a2)
:00:06.0 0401: 10de:00da (rev a2)
:00:06.1 0703: 10de:00d9 (rev a2)
:00:08.0 0101: 10de:00d5 (rev a5)
:00:0a.0 0604: 10de:00dd (rev a2)
:00:0b.0 0604: 10de:00d2 (rev a4)
:00:18.0 0600: 1022:1100
:00:18.1 0600: 1022:1101
:00:18.2 0600: 1022:1102
:00:18.3 0600: 1022:1103
:01:00.0 0300: 10de:0348 (rev a1)
:02:06.0 0200: 14e4:169c (rev 03)
:02:07.0 0607: 104c:ac44 (rev 02)
:02:07.1 0c00: 104c:8029
:02:08.0 0280: 14e4:4320 (rev 03)



Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot worked:[OK]
Configure network HW:   [OK]
Config network: [OK] (dhcp)
Detect CD:  [OK]
Load installer modules: [OK]
Detect hard drives: [OK]
Partition hard drives:  [OK] (why couldn't i specify the mount point
for an existing fat32 ?)
Create file systems:[OK]
Mount partitions:   [OK]
Install base system:[OK]
Install boot loader:[OK]
Reboot: [OK]

Comments/Problems:

Installation went perfectly:

Boot from CD.
Regular boot.
The machine was a Gentoo machine built for AMD64 arch, but now I
decided to use
it as a regular x86 Debian.


- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCoWVRzwVHEAxn05MRAtJjAJ9UDnHPnz89S9+Xv4+kl7waYipsQQCgkcTZ
qOLAFM/CekXsZbVX+bopwWo=
=AMqi
-END PGP SIGNATURE-



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