Re: libc relocation error

2007-08-18 Thread Lev Lvovsky
If anyone is going through this problem, hopefully my resolution  
might help them - it looks like in the upgrade of libc-dev, something  
got hosed.  The interim solution to the problem while I fixed the  
install was to set the LD_LIBRARY_PATH=/lib, as it seemed that the  
problem was arising from the symbols in the files in /lib/tls.


After the full install, things started working, and I unset the  
environment variable.


-lev

On Aug 17, 2007, at 3:44 PM, Lev Lvovsky wrote:

after further digging, I've found this thread on the debian glibc  
list:


http://lists.debian.org/debian-glibc/2005/03/msg00145.html

I'll be looking into how I can fix the problem - their suggested  
fix does not work.


-lev




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




Re: where is grub installed?

2007-08-18 Thread P Kapat
On 8/18/07, Jose Luis Rivas Contreras <[EMAIL PROTECTED]> wrote:
> P Kapat wrote:
> > Hi,
> > Suppose my hard disks are setup as:
> >
> > IDE (Master)
> > /dev/hda1  -- ext3  -- 10 GB
> > /dev/hda2  -- ext3  -- 100 GB
> > /dev/hda3  -- ext3  -- 50 GB
> >
> > SATA (connected to SATA 1 controller on the mobo)
> > /dev/sda1 -- ext3 -- 50GB  -- /
> > /dev/sda2 -- ext3 -- 500 MB -- /boot
> > /dev/sda3 -- ext3 -- 100 GB -- /home
> >
> > So, the GRUB oncfig files are in /dev/sda2 (/boot/grub). I am assuming
> > that grub is installed in /dev/sda2. So, where is the MBR? Is it on
> > the first track of the first partition of the first hard disk, ie
> > /dev/hda1?
>
> The MBR is _not_ part of any partition, is the boot sector of the drive.
> And is in the disk from where you're booting so check in your BIOS.

Thanks for the explanation.

>
> >
> > If so, suppose I format /dev/hda1 will the MBR be gone implying that I
> > cannot reboot m y system?
>
> No.
>
> > What is the safest way to partition the disks so that, if sometime
> > later I install someother OS (Solaris/FreeBSD/Anyother GNU/Linux but
> > not Windows) the MBR is not disturbed and I can use it to boot into
> > the existing Debian.
>
> Just don't rewrite the MBR with something that will override your actual
> GRUB config.

Yes, as I will have to learn to do that.

>
> Regards,
> Jose Luis.

Thanks again.

-- 
Regards
PK
--
http://counter.li.org  #402424


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



Re: where is grub installed?

2007-08-18 Thread P Kapat
On 8/18/07, Douglas A. Tutty <[EMAIL PROTECTED]> wrote:
> On Sat, Aug 18, 2007 at 04:38:33PM -0400, P Kapat wrote:
> > Suppose my hard disks are setup as:
> >
> > IDE (Master)
> > /dev/hda1  -- ext3  -- 10 GB
> > /dev/hda2  -- ext3  -- 100 GB
> > /dev/hda3  -- ext3  -- 50 GB
> >
> > SATA (connected to SATA 1 controller on the mobo)
> > /dev/sda1 -- ext3 -- 50GB  -- /
> > /dev/sda2 -- ext3 -- 500 MB -- /boot
> > /dev/sda3 -- ext3 -- 100 GB -- /home
> >
> > So, the GRUB oncfig files are in /dev/sda2 (/boot/grub). I am assuming
> > that grub is installed in /dev/sda2. So, where is the MBR? Is it on
> > the first track of the first partition of the first hard disk, ie
> > /dev/hda1?
>
> It is wherever you told grub to put it.  On debian, it should go on the
> MBR of the drive, which in your example would be the MBR of /dev/hda.

I see.

> The MBR is the first block of the drive (first 512 B) with the partition
> table in the subsequent block somewhere (check wikipedia).

Thanks I will check that.

> This means that you can reformat /dev/hda1 to your heart's content.

Good to know that.

>
> >
> > If so, suppose I format /dev/hda1 will the MBR be gone implying that I
> > cannot reboot m y system?
>
>
> >
> > What is the safest way to partition the disks so that, if sometime
> > later I install someother OS (Solaris/FreeBSD/Anyother GNU/Linux but
> > not Windows) the MBR is not disturbed and I can use it to boot into
> > the existing Debian.
>
> There's the rub.  It seems that all OSs by default figure that they are
> the only OS and put their boot loader in the MBR of the first hard
> drive.

I was actually surprised to to learn this the hard way. A few days
back, I was trying (out of inane curiosity) the "Open Solaris". It
uses GRUB as the bootloader too, but could not find my Debian
installation and (all to my discredit) installed its grub on the MBR
of hda1. Then I could not get Solaris's grub to boot my debian (i
tried the usual configurations in Solaris-Grub's (not the one
/dev/sda2) /boot/grub/menu.lst).

> However, every OS that you may want to install should include
> documentation on dual-booting.  One of your considerations is whether or
> not Grub can boot that OS.   I think (check the docs) that as long as
> Grub will boot it, you leave grub in the MBR and put the OS's loader on
> the actual partition, then set up grub to chain-load.  The bios will boot
> Grub, then Grub will boot the OS's loader which will in turn boot the
> OS.

Yes, that makes sense.

> My new Athlon64 Asus bios has an F8 boot menu.  It presents a list of
> drives to attempt to boot.  If I had multiple OSs with multiple drives,
> I'd install each OS on its own drive with its loader in the drive's MBR,
> then use the bios boot menu to choose which drive to boot.

I will have to learn to tell grub where to install it. Never paid much
attention to it.

> Doug.

Thanks again.

-- 
Regards
PK
--
http://counter.li.org  #402424


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



Re: Using USB Drives for a RAID

2007-08-18 Thread Hal Vaughan
On Saturday 18 August 2007, Ron Johnson wrote:
> On 08/18/07 20:35, Hal Vaughan wrote:
> > On Saturday 18 August 2007, Ron Johnson wrote:
> >> On 08/18/07 19:39, Hal Vaughan wrote:
> >>> Has anyone built a RAID out of USB drives?  I'm considering it
> >>> but I'd rather hear from others who may have done the same thing
> >>> first. I can see several possible problems.  Last time I was
> >>> working with USG devices, if I unplugged the drives and did not
> >>> plug them in using the same order /dev/sda could become /dev/sdb,
> >>> so I could see that as an issue, for starters.
> >>>
> >>> If anyone has experience with this, I'd like to hear about it and
> >>> if it's a good or bad idea.
> >>
> >> What's the problem that you are trying to solve?
> >
> > At this point I'm exploring several possibilities.
>
> Possible whats?  Drinking games?  Strip clubs?

Are there any lists you're on where you haven't brought up naked women 
out of context? :-?

Possibilities of using USB drives instead of internal drives for a RAID.  
It would provide something close to hotplug and also 

> Yes, I'm being snide, but that's because you didn't answer my
> question.
>
> Are you trying to solve a portability problem using high-capacity
> external drives, or a speed problem with USB thumb drives?

There's several reasons I'm looking into it.  I suspect one issue with 
the box I've been using could be circulation, which I could solve with 
separate drive enclosures.  It would make drive swapping easier and it 
could also make it portable.  I don't know what else, which is why I 
asked the question.  If people say, "Yeah, I've tried it and it doesn't 
work," then I drop the idea.  If people tell me, "I've tried it and 
found it was a benefit because of a, b, and c, then I know it's worth 
looking into and perhaps worth using.

That's why the original question: Has anyone tried this and what kind of 
experience did they have?  I find when I'm looking at a new 
possibility, focusing on only my ideas can often close off discussion 
about other possibilities or benefits I hadn't thought of.

> >If USB RAID is
> > not practical or workable, then I'll just drop the possibility and
> > stick with sata or pata drives.
>
> Many companies sell multi-drive USB & firewire enclosures, and lots
> do RAID-5.  Get one with 5 slots, stuff 750GB drives in it, and get
> 3TB of easily transportable storage in the size of a large shoebox.

That's an idea I might find useful!  Thanks!

Hal


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



my sound card does not work in etch

2007-08-18 Thread qipaishi

My sound card use cs4281 and it works in sarge
but it does not work in etch
xawtv has no sound
xmix can't start, it says no such device
below is output by lsmod:

Module Size Used by
btaudio 15248 0 tuner 53256 0 bttv 159732 0 tvaudio 22428 0 ipv6 226016 
10 button 6672 0 ac 5188 0 battery 9636 0 dm_snapshot 15552 0 dm_mirror 
19152 0 dm_mod 50232 2 dm_snapshot,dm_mirror

loop 15048 0 tsdev 7520 0 snd_cs4281 2 0 gameport 14632 2 snd_cs4281
snd_rawmidi 22560 1 snd_cs4281
snd_ac97_codec 83104 1 snd_cs4281
snd_ac97_bus 2400 1 snd_ac97_codec
snd_pcm 68676 2 snd_cs4281,snd_ac97_codec
snd_page_alloc 9640 1 snd_pcm
snd_opl3_lib 9920 1 snd_cs4281
snd_seq_device 7820 2 snd_rawmidi,snd_opl3_lib
rtc 12372 0 snd_timer 20996 2 snd_pcm,snd_opl3_lib
snd_hwdep 8836 1 snd_opl3_lib
snd 47012 8 
snd_cs4281,snd_rawmidi,snd_ac97_codec,snd_pcm,snd_opl3_lib,snd_seq_device,snd_timer,snd_hwdep 


parport_pc 32132 0 parport 33256 1 parport_pc
i2c_piix4 8140 0 psmouse 35016 0 serio_raw 6660 0 pcspkr 3072 0 
video_buf 23012 1 bttv

firmware_class 9600 1 bttv
ir_common 27780 1 bttv
compat_ioctl32 1472 1 bttv
i2c_algo_bit 8424 1 bttv
btcx_risc 4776 1 bttv
tveeprom 13840 1 bttv
i2c_core 19680 6 tuner,bttv,tvaudio,i2c_piix4,i2c_algo_bit,tveeprom
soundcore 9248 2 btaudio,snd
videodev 21120 1 bttv
v4l1_compat 12036 1 videodev
v4l2_common 20448 3 tuner,bttv,videodev
shpchp 33024 0 pci_hotplug 28704 1 shpchp
intel_agp 21148 1 agpgart 29896 1 intel_agp
evdev 9088 0 ext2 59048 1 mbcache 8356 1 ext2
sd_mod 19040 2 8139too 25120 0 uhci_hcd 21164 0 8139cp 21920 0 mii 5344 
2 8139too,8139cp

aic7xxx 150932 1 scsi_transport_spi 22336 1 aic7xxx
scsi_mod 124168 3 sd_mod,aic7xxx,scsi_transport_spi
usbcore 112644 2 uhci_hcd
piix 9444 0 [permanent]
generic 5476 0 [permanent]
ide_core 110504 2 piix,generic
thermal 13608 0 processor 28840 1 thermal
fan 4804 0



--- Begin Message ---

My sound card use cs4281 and it works in sarge
but it does not work in etch
xawtv has no sound
xmix can't start, it says no such device
below is output by lsmod:

Module  Size  Used by
btaudio15248  0 
tuner  53256  0 
bttv  159732  0 
tvaudio22428  0 
ipv6  226016  10 
button  6672  0 
ac  5188  0 
battery 9636  0 
dm_snapshot15552  0 
dm_mirror  19152  0 
dm_mod 50232  2 dm_snapshot,dm_mirror
loop   15048  0 
tsdev   7520  0 
snd_cs4281 2  0 
gameport   14632  2 snd_cs4281

snd_rawmidi22560  1 snd_cs4281
snd_ac97_codec 83104  1 snd_cs4281
snd_ac97_bus2400  1 snd_ac97_codec
snd_pcm68676  2 snd_cs4281,snd_ac97_codec
snd_page_alloc  9640  1 snd_pcm
snd_opl3_lib9920  1 snd_cs4281
snd_seq_device  7820  2 snd_rawmidi,snd_opl3_lib
rtc12372  0 
snd_timer  20996  2 snd_pcm,snd_opl3_lib

snd_hwdep   8836  1 snd_opl3_lib
snd47012  8 
snd_cs4281,snd_rawmidi,snd_ac97_codec,snd_pcm,snd_opl3_lib,snd_seq_device,snd_timer,snd_hwdep
parport_pc 32132  0 
parport33256  1 parport_pc
i2c_piix4   8140  0 
psmouse35016  0 
serio_raw   6660  0 
pcspkr  3072  0 
video_buf  23012  1 bttv

firmware_class  9600  1 bttv
ir_common  27780  1 bttv
compat_ioctl32  1472  1 bttv
i2c_algo_bit8424  1 bttv
btcx_risc   4776  1 bttv
tveeprom   13840  1 bttv
i2c_core   19680  6 
tuner,bttv,tvaudio,i2c_piix4,i2c_algo_bit,tveeprom
soundcore   9248  2 btaudio,snd
videodev   21120  1 bttv
v4l1_compat12036  1 videodev
v4l2_common20448  3 tuner,bttv,videodev
shpchp 33024  0 
pci_hotplug28704  1 shpchp
intel_agp  21148  1 
agpgart29896  1 intel_agp
evdev   9088  0 
ext2   59048  1 
mbcache 8356  1 ext2
sd_mod 19040  2 
8139too25120  0 
uhci_hcd   21164  0 
8139cp 21920  0 
mii 5344  2 8139too,8139cp
aic7xxx   150932  1 
scsi_transport_spi 22336  1 aic7xxx

scsi_mod  124168  3 sd_mod,aic7xxx,scsi_transport_spi
usbcore   112644  2 uhci_hcd
piix9444  0 [permanent]
generic 5476  0 [permanent]
ide_core  110504  2 piix,generic
thermal13608  0 
processor  28840  1 thermal
fan 4804  0 





--- End Message ---


Re: Using USB Drives for a RAID

2007-08-18 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/18/07 20:35, Hal Vaughan wrote:
> On Saturday 18 August 2007, Ron Johnson wrote:
>> On 08/18/07 19:39, Hal Vaughan wrote:
>>> Has anyone built a RAID out of USB drives?  I'm considering it but
>>> I'd rather hear from others who may have done the same thing first.
>>>  I can see several possible problems.  Last time I was working with
>>> USG devices, if I unplugged the drives and did not plug them in
>>> using the same order /dev/sda could become /dev/sdb, so I could see
>>> that as an issue, for starters.
>>>
>>> If anyone has experience with this, I'd like to hear about it and
>>> if it's a good or bad idea.
>> What's the problem that you are trying to solve?
> 
> At this point I'm exploring several possibilities.

Possible whats?  Drinking games?  Strip clubs?

Yes, I'm being snide, but that's because you didn't answer my question.

Are you trying to solve a portability problem using high-capacity
external drives, or a speed problem with USB thumb drives?

>If USB RAID is not 
> practical or workable, then I'll just drop the possibility and stick 
> with sata or pata drives.

Many companies sell multi-drive USB & firewire enclosures, and lots
do RAID-5.  Get one with 5 slots, stuff 750GB drives in it, and get
3TB of easily transportable storage in the size of a large shoebox.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD4DBQFGx7B6S9HxQb37XmcRAvaaAJjBlT+fwL2U1yjmOC7T/8OUyJYCAKCCaRkc
GSOYRb/rRHTiJIHSEl032A==
=9Ppl
-END PGP SIGNATURE-


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



Re: change partitions

2007-08-18 Thread Douglas A. Tutty
On Sun, Aug 19, 2007 at 11:36:41AM +1000, [EMAIL PROTECTED] wrote:
> 
> I installed Debian on a machine with several other pations (window, 
> RH9.1, etc). During the installation, it indicated one of my linux 
> partition had some problems (it is formated by ext3, but can only write 
> to the disk with used space only higher than 70%). Now I am going to fix 
> that partition before I am going to mount it to Debian. Also, I am no 
> longer need to use MS window and I am going to remove all window 
> partitions. I know it is risk operation and I need to take advice here 
> before I delete or alter the partitions.
> 
> Should I use fdisk to remove the window partition or if there is a 
> better partition tool I can use in Debian?

Personally, for this sort of thing I use cfdisk.  

> 
> Can I remove the window partition from Linux?
> 

Sure. 

> Is there a partition tool in Debian which can detect the ext3 partition 
> problem and to fix it without re-format or re-partition?
> 

The 'partitions' are only numbers in a table that OS's refer to to see
what block starts the next partition and where it ends.  I'm assuming
that your problem with the partition is actually with the filesystem on
that partition.  With it unmounted, run e2fsck -cc on it.  

The -cc means that a non-distructive read/write badblocks test will run
on it.  With modern drives you should not actually find any bad blocks
unless the drive is at end-of-life and has used up its remapping space.
However, if it completes fine you'll know that writing beyond the 70%
range worked for the drive.  

Which partition has the problem?

> Also, I have only one window OS, but I don't k now why both hda1 and 
> hda2 are for window partitions, can I delete both of them? 

I haven't run an MS product since windows 3.1 so I don't know.  But
since you don't need windows and you know that neither partition is
needed, you should be able to remove them.  This may end up changing the
numbering of the extended partition from hda3 to either 1 or 2.
However, the partitions in it should still start at hda5.


> Please see following partition information and the debian boot is in
> Master section.
> 
> sudo fdisk -l
> 
> Disk /dev/hda: 32.0 GB, 32003112960 bytes 255 heads, 63 sectors/track,
> 3890 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>Device Boot  Start End  Blocks   Id  System
>/dev/hda1   1 255 20482567  HPFS/NTFS
>/dev/hda2 2561275 8193150b  W95 FAT32
>/dev/hda31276389021004987+   5  Extended
>/dev/hda512761504 1839411   83  Linux
>/dev/hda622962298   24066   83  Linux
>/dev/hda722992364  530113+  82  Linux swap
>/ Solaris /dev/hda82365389012257563+  83
>Linux /dev/hda9   *15051863 2883636   83  Linux
>/dev/hda10   18642295 3470008+  83  Linux
> 
 
Since hda3 goes from cylinder 1276 to 3890 yet hda10 ends at 2295, there
should also be some free space at the end.

Good luck,

Doug.


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



Re: bash vs. python scripts - which one is better?

2007-08-18 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/18/07 21:33, Douglas A. Tutty wrote:
[snip]
> 
> I guess a problem is the lack of definition of 'clean coding'.  I don't
> consider one-liners as clean code.  Terse yes but they lack the visual
> flow that I need when I need to revamp code a year later.  One-liners
> are more of a challenge to do in python since indentation has an impact
> on syntax.
> 
> As for which language is best, the answer is none.  Any language can
> probably do anything, but for any problem one may be easier than
> another.  It will likely be the one you are more generally good at.  I
> find sh to be more cryptic than python so I turn to it sooner, which
> leads over time to me becoming more and more comfortable with python.
> So for problems that are best solved with some disposable code, it comes
> down to in which language in which you produce functional code the fastest
> and easiest.

While I write lots of bash code, I don't have lots of .sh files
hanging around $HOME, but there are lots of .py files.

Anything I *know* is one-off I try to do in bash (usually making my
xterm very wide!), whereas stuff that I'll be doing repetitively
(even if not frequently) gets written in python.

> Perhaps the OP can restate his needs and we can help him make a reasoned
> choice without it becoming a religious issue.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGx66QS9HxQb37XmcRAlOZAJ4ryFWnomJ2k9797gBuCGqW9mN1LQCcDsLk
TF4aIgaKZb+9mE+gPpQOcEE=
=HzxP
-END PGP SIGNATURE-


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



Re: bash vs. python scripts - which one is better?

2007-08-18 Thread Douglas A. Tutty
On Sat, Aug 18, 2007 at 08:30:04PM -0500, Ron Johnson wrote:
> On 08/18/07 18:28, Steve Lamb wrote:
> > Ron Johnson wrote:
> >> I've written enough cryptic Python and lucid C & bash to know that
> >> Python does *not* enforce clean coding.
> > 
> > I don't think anyone has ever claimed that.
> 
> Doug Tutty did this afternoon.  (You conveniently snipped that part
> out of your reply.)
> 
> http://lists.debian.org/debian-user/2007/08/msg01743.html
> 
> whereas python enforces clean coding.
> 
> >> What a waste.  bash is *great* for looping thru lists.  (Perfect?
> >> No.  But still great.)
> > 
> > So is Python with the added benefit of not having to defeat globbing
> > at every step of the way.
> 
> Sure, not having to worry about globbing rules can be handy.  But
> there's still a large set of problems that can quickly be solved by
> a one-line bash for/done loop.

I guess a problem is the lack of definition of 'clean coding'.  I don't
consider one-liners as clean code.  Terse yes but they lack the visual
flow that I need when I need to revamp code a year later.  One-liners
are more of a challenge to do in python since indentation has an impact
on syntax.

As for which language is best, the answer is none.  Any language can
probably do anything, but for any problem one may be easier than
another.  It will likely be the one you are more generally good at.  I
find sh to be more cryptic than python so I turn to it sooner, which
leads over time to me becoming more and more comfortable with python.
So for problems that are best solved with some disposable code, it comes
down to in which language in which you produce functional code the fastest
and easiest.

Perhaps the OP can restate his needs and we can help him make a reasoned
choice without it becoming a religious issue.

Doug.


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



change partitions

2007-08-18 Thread jupiter . hce

Hi,

I installed Debian on a machine with several other pations (window, 
RH9.1, etc). During the installation, it indicated one of my linux 
partition had some problems (it is formated by ext3, but can only write 
to the disk with used space only higher than 70%). Now I am going to fix 
that partition before I am going to mount it to Debian. Also, I am no 
longer need to use MS window and I am going to remove all window 
partitions. I know it is risk operation and I need to take advice here 
before I delete or alter the partitions.


Should I use fdisk to remove the window partition or if there is a 
better partition tool I can use in Debian?


Can I remove the window partition from Linux?

Is there a partition tool in Debian which can detect the ext3 partition 
problem and to fix it without re-format or re-partition?


Also, I have only one window OS, but I don't k now why both hda1 and 
hda2 are for window partitions, can I delete both of them? Please see 
following partition information and the debian boot is in Master section.


sudo fdisk -l

Disk /dev/hda: 32.0 GB, 32003112960 bytes
255 heads, 63 sectors/track, 3890 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
   /dev/hda1   1 255 20482567  HPFS/NTFS
   /dev/hda2 2561275 8193150b  W95 FAT32
   /dev/hda31276389021004987+   5  Extended
   /dev/hda512761504 1839411   83  Linux
   /dev/hda622962298   24066   83  Linux
   /dev/hda722992364  530113+  82  Linux swap / 
Solaris

   /dev/hda82365389012257563+  83  Linux
   /dev/hda9   *15051863 2883636   83  Linux
   /dev/hda10   18642295 3470008+  83  Linux



Thank you.

Jim



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




Re: Using USB Drives for a RAID

2007-08-18 Thread Hal Vaughan
On Saturday 18 August 2007, Ron Johnson wrote:
> On 08/18/07 19:39, Hal Vaughan wrote:
> > Has anyone built a RAID out of USB drives?  I'm considering it but
> > I'd rather hear from others who may have done the same thing first.
> >  I can see several possible problems.  Last time I was working with
> > USG devices, if I unplugged the drives and did not plug them in
> > using the same order /dev/sda could become /dev/sdb, so I could see
> > that as an issue, for starters.
> >
> > If anyone has experience with this, I'd like to hear about it and
> > if it's a good or bad idea.
>
> What's the problem that you are trying to solve?

At this point I'm exploring several possibilities.  If USB RAID is not 
practical or workable, then I'll just drop the possibility and stick 
with sata or pata drives.

Hal


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



Re: Using USB Drives for a RAID

2007-08-18 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/18/07 19:39, Hal Vaughan wrote:
> Has anyone built a RAID out of USB drives?  I'm considering it but I'd 
> rather hear from others who may have done the same thing first.  I can 
> see several possible problems.  Last time I was working with USG 
> devices, if I unplugged the drives and did not plug them in using the 
> same order /dev/sda could become /dev/sdb, so I could see that as an 
> issue, for starters.
>
> If anyone has experience with this, I'd like to hear about it and if 
> it's a good or bad idea.

What's the problem that you are trying to solve?

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGx52gS9HxQb37XmcRAj5fAJ9dc0Rd+0MWBLbdMrV1hOciGaw3JQCgmgYe
0KcDAWuYhTtynD4kkBZNSvA=
=k8l0
-END PGP SIGNATURE-


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



Re: bash vs. python scripts - which one is better?

2007-08-18 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/18/07 18:28, Steve Lamb wrote:
> Ron Johnson wrote:
>> I've written enough cryptic Python and lucid C & bash to know that
>> Python does *not* enforce clean coding.
> 
> I don't think anyone has ever claimed that.

Doug Tutty did this afternoon.  (You conveniently snipped that part
out of your reply.)

http://lists.debian.org/debian-user/2007/08/msg01743.html

whereas python enforces clean coding.

>> What a waste.  bash is *great* for looping thru lists.  (Perfect?
>> No.  But still great.)
> 
> So is Python with the added benefit of not having to defeat globbing
> at every step of the way.

Sure, not having to worry about globbing rules can be handy.  But
there's still a large set of problems that can quickly be solved by
a one-line bash for/done loop.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGx50cS9HxQb37XmcRAqpsAKCnNE49IWQZYEchgLvWmgH8pN5YnwCdF46l
roC7LT7bwk7Gs/1HZjffKvc=
=KP+R
-END PGP SIGNATURE-


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



Re: Poor Xorg performance in Etch

2007-08-18 Thread Marty

Andrei Popescu wrote:

On Sat, Aug 18, 2007 at 06:01:10PM -0400, Marty wrote:

Hello:

I recently installed Etch on my new system and found X performance to be
sluggish, particularly when using Iceape.  It appears as if there is little 
or
no hardware acceleration, remeniscent of a K7 with a slow graphics card.  
While
scrolling a web page down (but never up), or moving windows the display 
sometimes freezes for about one second or more, with up to 100% CPU 
utilization.


Did you check with top what is using the CPU?


Xorg.  To see the instantaneous usage I have to increase top's update frequency.

Incidently, I noticed that I was running a lot of plugins, so I removed flash 
and disabled javascript, which helped a little but did not solve the problem.




My hardware is a K8M800 chipset motherboard with an Athlon64 X2 5000+ and 
Radeon
7500.  I have tested all recent kernels up to and including linux 


You call that a slow card?


For 2D apps it should be very fast.  Its responsiveness seems normal under 
moderate graphics load, only a few percent of the CPU, but jumps to 100% under 
heavy load, such as scolling up a large web page (i.e. a blog), opening a web 
page, starting or stopping an X app.  When I enabled on the onboard VIA graphics 
I saw the same effect, but more pronounced.  On a much older, slower system 
which I recently upgraded to Etch, I see a similar but less pronounced effect.





grep enabled /var/log/Xorg.0.log
(==) AIGLX enabled
(II) RADEON(0): Color tiling enabled by default
(**) RADEON(0): Backing store enabled
(II) RADEON(0): Direct rendering enabled
(II) RADEON(0): Render acceleration enabled
(II) RADEON(0): Acceleration enabled
(**) RADEON(0): DPMS enabled
(==) RADEON(0): Silken mouse enabled
(==) RandR enabled


Any errors in the log?


If I enable the frame buffer (which I did since my last post):

(EE) RADEON(0): MergedFB does not work with Option UseFBDev, MergedFB mode is 
disabled


I also get the following warnings:

(WW) RADEON(0): DRI init changed memory map, adjusting ...
(WW) RADEON(0):   MC_FB_LOCATION  was: 0x1fff is: 0x1fff
(WW) RADEON(0):   MC_AGP_LOCATION was: 0xffc0 is: 0xe07fe000
(WW) AIGLX: 3D driver claims to not support visual 0x23

The last one is followed by several similar lines.  The framebuffer does not 
seem to affect the freeze issue.



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




Re: where is grub installed?

2007-08-18 Thread Jose Luis Rivas Contreras
P Kapat wrote:
> Hi,
> Suppose my hard disks are setup as:
> 
> IDE (Master)
> /dev/hda1  -- ext3  -- 10 GB
> /dev/hda2  -- ext3  -- 100 GB
> /dev/hda3  -- ext3  -- 50 GB
> 
> SATA (connected to SATA 1 controller on the mobo)
> /dev/sda1 -- ext3 -- 50GB  -- /
> /dev/sda2 -- ext3 -- 500 MB -- /boot
> /dev/sda3 -- ext3 -- 100 GB -- /home
> 
> So, the GRUB oncfig files are in /dev/sda2 (/boot/grub). I am assuming
> that grub is installed in /dev/sda2. So, where is the MBR? Is it on
> the first track of the first partition of the first hard disk, ie
> /dev/hda1?

The MBR is _not_ part of any partition, is the boot sector of the drive.
And is in the disk from where you're booting so check in your BIOS.

> 
> If so, suppose I format /dev/hda1 will the MBR be gone implying that I
> cannot reboot m y system?

No.

> What is the safest way to partition the disks so that, if sometime
> later I install someother OS (Solaris/FreeBSD/Anyother GNU/Linux but
> not Windows) the MBR is not disturbed and I can use it to boot into
> the existing Debian.

Just don't rewrite the MBR with something that will override your actual
GRUB config.

Regards,
Jose Luis.
-- 

ghostbar on debian linux 'sid' 2.6.22 x86_64-SMP - #382503
Weblog: http://ghostbar.ath.cx/ - http://linuxtachira.org
http://debian.org.ve - irc.debian.org #debian-ve #debian-devel-es
San Cristóbal, Venezuela. http://chaslug.org.ve
Fingerprint = 3E7D 4267 AFD5 2407 2A37  20AC 38A0 AD5B CACA B118



signature.asc
Description: OpenPGP digital signature


Using USB Drives for a RAID

2007-08-18 Thread Hal Vaughan
Has anyone built a RAID out of USB drives?  I'm considering it but I'd 
rather hear from others who may have done the same thing first.  I can 
see several possible problems.  Last time I was working with USG 
devices, if I unplugged the drives and did not plug them in using the 
same order /dev/sda could become /dev/sdb, so I could see that as an 
issue, for starters.

If anyone has experience with this, I'd like to hear about it and if 
it's a good or bad idea.

Thanks!

Hal


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



my sound card does not work in etch

2007-08-18 Thread qipaishi

My sound card use cs4281 and it works in sarge
but it does not work in etch
xawtv has no sound
xmix can't start, it says no such device
below is output by lsmod:

Module  Size  Used by
btaudio15248  0 
tuner  53256  0 
bttv  159732  0 
tvaudio22428  0 
ipv6  226016  10 
button  6672  0 
ac  5188  0 
battery 9636  0 
dm_snapshot15552  0 
dm_mirror  19152  0 
dm_mod 50232  2 dm_snapshot,dm_mirror
loop   15048  0 
tsdev   7520  0 
snd_cs4281 2  0 
gameport   14632  2 snd_cs4281

snd_rawmidi22560  1 snd_cs4281
snd_ac97_codec 83104  1 snd_cs4281
snd_ac97_bus2400  1 snd_ac97_codec
snd_pcm68676  2 snd_cs4281,snd_ac97_codec
snd_page_alloc  9640  1 snd_pcm
snd_opl3_lib9920  1 snd_cs4281
snd_seq_device  7820  2 snd_rawmidi,snd_opl3_lib
rtc12372  0 
snd_timer  20996  2 snd_pcm,snd_opl3_lib

snd_hwdep   8836  1 snd_opl3_lib
snd47012  8 
snd_cs4281,snd_rawmidi,snd_ac97_codec,snd_pcm,snd_opl3_lib,snd_seq_device,snd_timer,snd_hwdep
parport_pc 32132  0 
parport33256  1 parport_pc
i2c_piix4   8140  0 
psmouse35016  0 
serio_raw   6660  0 
pcspkr  3072  0 
video_buf  23012  1 bttv

firmware_class  9600  1 bttv
ir_common  27780  1 bttv
compat_ioctl32  1472  1 bttv
i2c_algo_bit8424  1 bttv
btcx_risc   4776  1 bttv
tveeprom   13840  1 bttv
i2c_core   19680  6 
tuner,bttv,tvaudio,i2c_piix4,i2c_algo_bit,tveeprom
soundcore   9248  2 btaudio,snd
videodev   21120  1 bttv
v4l1_compat12036  1 videodev
v4l2_common20448  3 tuner,bttv,videodev
shpchp 33024  0 
pci_hotplug28704  1 shpchp
intel_agp  21148  1 
agpgart29896  1 intel_agp
evdev   9088  0 
ext2   59048  1 
mbcache 8356  1 ext2
sd_mod 19040  2 
8139too25120  0 
uhci_hcd   21164  0 
8139cp 21920  0 
mii 5344  2 8139too,8139cp
aic7xxx   150932  1 
scsi_transport_spi 22336  1 aic7xxx

scsi_mod  124168  3 sd_mod,aic7xxx,scsi_transport_spi
usbcore   112644  2 uhci_hcd
piix9444  0 [permanent]
generic 5476  0 [permanent]
ide_core  110504  2 piix,generic
thermal13608  0 
processor  28840  1 thermal
fan 4804  0 





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




Re: bash vs. python scripts - which one is better?

2007-08-18 Thread Nate Duehr


On Aug 18, 2007, at 5:28 PM, Steve Lamb wrote:


Ron Johnson wrote:

I've written enough cryptic Python and lucid C & bash to know that
Python does *not* enforce clean coding.


I don't think anyone has ever claimed that.


What a waste.  bash is *great* for looping thru lists.  (Perfect?
No.  But still great.)


So is Python with the added benefit of not having to defeat  
globbing at every step of the way.


Is this discussion REALLY still going on?

Use whatever you like.  As I said in my original reply to the question.

LOL!  Back and forth, back and forth, a program could have been  
written in both languages by now to do whatever anyone wanted.


--
Nate Duehr
[EMAIL PROTECTED]




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




Re: bash vs. python scripts - which one is better?

2007-08-18 Thread Steve Lamb

Ron Johnson wrote:

I've written enough cryptic Python and lucid C & bash to know that
Python does *not* enforce clean coding.


I don't think anyone has ever claimed that.


What a waste.  bash is *great* for looping thru lists.  (Perfect?
No.  But still great.)


So is Python with the added benefit of not having to defeat globbing at 
every step of the way.



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




Re: Poor Xorg performance in Etch

2007-08-18 Thread Andrei Popescu
On Sat, Aug 18, 2007 at 06:01:10PM -0400, Marty wrote:
> Hello:
>
> I recently installed Etch on my new system and found X performance to be
> sluggish, particularly when using Iceape.  It appears as if there is little 
> or
> no hardware acceleration, remeniscent of a K7 with a slow graphics card.  
> While
> scrolling a web page down (but never up), or moving windows the display 
> sometimes freezes for about one second or more, with up to 100% CPU 
> utilization.

Did you check with top what is using the CPU?

> My hardware is a K8M800 chipset motherboard with an Athlon64 X2 5000+ and 
> Radeon
> 7500.  I have tested all recent kernels up to and including linux 

You call that a slow card?

> grep enabled /var/log/Xorg.0.log
> (==) AIGLX enabled
> (II) RADEON(0): Color tiling enabled by default
> (**) RADEON(0): Backing store enabled
> (II) RADEON(0): Direct rendering enabled
> (II) RADEON(0): Render acceleration enabled
> (II) RADEON(0): Acceleration enabled
> (**) RADEON(0): DPMS enabled
> (==) RADEON(0): Silken mouse enabled
> (==) RandR enabled

Any errors in the log?

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: Samba + external drives

2007-08-18 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/18/07 17:59, koffiejunkie wrote:
[snip]
> 
> So it would seem the automount stuff is causing this.  But why?

Because automounting is a bad/Evil Windows idea, and it's taking
it's Evil revenge out on us by causing such problems.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGx3t5S9HxQb37XmcRAtJ4AKDe6VvpPbivWEVcBHd3I2btFakd8QCg1/4o
vGE7rYpMYAhvZpCy2h8IcUw=
=YQNl
-END PGP SIGNATURE-


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



Re: /sys/power/state question with sudoers!

2007-08-18 Thread Andrei Popescu
On Sat, Aug 18, 2007 at 03:35:05PM -0500, Gnu_Raiz wrote:
>  cat sudo_file
> # /etc/sudoers
> #
> # This file MUST be edited with the 'visudo' command as root.
> #
> # See the man page for details on how to write a sudoers file.
> #Defaultsenv_reset
> 
> # Host alias specification
> 
> # User alias specification
> 
> # Cmnd alias specification
> 
> # User privilege specification
> 
> rootALL=(ALL) ALL
> 
>   =NOPASSWD: /bin/echo, /sbin/*, /sys/power/state
   
I assume this is your hostname.   |

  |
As I understand it, sudo provides access to commands, not files.

 
> Here is the script I am trying to setup.
> #!/bin/bash
> 
> #This is a shell script for hibernation.
> 
> sudo echo disk >/sys/power/state
   
It should work like this, but maybe you should try replacing it with 
'/usr/bin/echo'

HTH,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: Samba + external drives

2007-08-18 Thread koffiejunkie

koffiejunkie wrote:
Right, I just finished doing some tests.  Via NFS and FTP, to the 
external disc, the same thing happens.  The copy runs fine (I was 
copying a 3.9GB ISO) for a random amount of time - shortest now was 
300MB, longest was just under 3GB - and then the disc seem to get 
unplugged.


Then, I repeated the tests, with samba, NFS and ftp, copying the same 
ISO to my home directory on the notebook, and this worked without a 
problem.


I copied the file from the notebook's drive to the external drive - no 
problem.


Then I tried the following.  I ftp-ed to localhost, and did a "put 
file.iso" to the external drive.  This worked 100%  I did similar tests 
with nfs and smb, connecting to localhost and copying the file via the 
smb/nfs clients - al worked fine.


I also did at least one failed and one successful each using the 
notebook's wireless instead of wired network, to rule out network 
hardware, and repeated all the tests from my second notebook (which runs 
Debian too).


So it's just a mix of network and network copy that seems to cause 
problems.


I hope that's better :-) Any ideas?


Some further info.  I mentioned this problem to a colleague, and his 
first thought was that he has had some issues with KDE and Gnome's 
automount-type daemons.  So I booted into a console, didn't log into KDE 
(although gdm was running), mounted the external disc by hand, and then 
copied lots of stuff via the network to it.  It worked solidly for more 
than an hour.  Then, while I had a DVD ISO copying, I logged into KDE 
and started writing a DVD (off the external disc).  It fialed halfway 
through with K3B moaning that it couln't read the file.  Looked back at 
the logs, external disc just got unplugged.


So it would seem the automount stuff is causing this.  But why?


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




Re: bash vs. python scripts - which one is better?

2007-08-18 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/18/07 14:20, Douglas A. Tutty wrote:
> On Sat, Aug 18, 2007 at 08:52:45PM +0200, Manon Metten wrote:
>> Thanks for sharing your valuable experience. I've decided to first become
>> more familiar with Bash and then I'll give Python a try. If it don't like
>> it, I
>> can always try something else. But ATM I think Python will be the best
>> option. I've seen some code on the net that looks pretty clean and some
>> examples that enable me to achieve what I want.
> 
> I think you've hit the nail on the head.  While the coding of both bash
> and pyhthon _can_ be made clear, bash allows some cryptic short-cuts
> that are rather common whereas python enforces clean coding.  Also, I

Eh.

I've written enough cryptic Python and lucid C & bash to know that
Python does *not* enforce clean coding.

Maybe Ada does, but I doubt it.

> find that some of the bash constructs are cryptic by their nature with
> no clean work-arounds.  They are likely perfectly clear to a proficient
> bash coder but the finer points are lost on me.
> 
> In short, I use bash for things like dos .bat files; a sequential list
> of commands.  Once something requires looping or decisions, I go
> straight for python.  To complete the sequence, if python is too slow at

What a waste.  bash is *great* for looping thru lists.  (Perfect?
No.  But still great.)

> something, I recode the relevant functions in Fortran.  I did that a lot
> on my 486 but never on my Athlon64. :)

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGx3N8S9HxQb37XmcRAsALAKDJ+zR3/7+otHe6p3w62XC+Qa/3rwCfWmsU
gaYdAd+LayYcoAZCsJVjM1s=
=SiDQ
-END PGP SIGNATURE-


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



Re: GTK audio CD burner?

2007-08-18 Thread Mark Grieveson
On Sat, 18 Aug 2007 09:08:52 + (UTC)
[EMAIL PROTECTED] wrote:

> Hi, 
> I run XFCE4, and I look for a GTK tool to
> - burn Ogg/VOrbis and MP3 files to Audio CD
> - perform basic Data CD burning.
> 
> I know XcdRoast.
> But is there any more Xfce integrated tool?

brasero works well.  A right click on an iso file in thunar gives an
option to burn a cd, and it does data and audio as well.  It's a good
tool.

Mark


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



Re: RBL Lookups using Postfix or Spamassassin

2007-08-18 Thread Mike Bird
On Saturday 18 August 2007 14:51, Anthony M Simonelli wrote:
> I'm using Postfix with Amavisd-new, Spamassassin, etc.  I what to use
> RBL lookups to stop spam, but I am unsure as to whether to have Postfix
> perform the lookup or Spamassassin?  I know that if I enable it on
> Postfix, those emails will be rejected and possibly legitimate emails as
> well, but if I have Spamassassin perform it, my mail server will be
> accepting a lot more email which will be more taxing on the server...

If your server is heavily loaded then you might want to do RBL lookups
in Postfix.  However, if you can handle the load then deferring RBL
lookups until you run spamassassin out of procmail allows users to
override RBL with white lists when needed.

We use defer-if-reject/reject-unknown-client, reject-non-fqdn-sender,
reject-unlisted-sender, and defer-if-reject/reject-unknown-sender-domain
in Postfix which block a lot of the spam, but we don't lookup RBLs
until spamassassin runs from procmail.

If you only have one user, or otherwise only have one spam policy, then
you can run spamassassin out of postfix instead of procmail.

--Mike Bird


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



Re: french accents

2007-08-18 Thread Mumia W..

On 08/18/2007 02:01 PM, Phill Atwood wrote:
This isn't debian specific, but I'm wondering if someone could point me 
to a good resource for understanding how-to enter french accents into, 
for example, emails.  I know that it is probably got something to do 
with locales and character sets, but I'm at a bit of a loss as to where 
to start.  My locale is english-canada I believe.  Any help is 
appreciated. 


Thanks,
Phill





Install the package doc-linux-text and read the file 
/usr/share/doc/HOWTO/en-txt/Keyboard-and-Console-HOWTO.gz


Also read the Debian Reference's section on localization:
http://www.debian.org/doc/manuals/reference/ch-tune.en.html#s-l10n

or,
/usr/share/doc/Debian/reference/reference.en.txt.gz (install 
debian-reference-en first).


I'm using the "us" keyboard layout, but I enabled "dead" keys by using 
xmodmap to map an unused key to the Compose (or Multi_key) function.


Now I press ( ` e) to get è, and I press ( " a) to get ä.

Note, I'm using Sarge and XFree86. I wouldn't think that Etch/Xorg would 
be terribly different.



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




Re: libc6 kernel upgrade problem

2007-08-18 Thread Douglas A. Tutty
On Sat, Aug 18, 2007 at 03:14:32PM -0600, Robert Jerrard wrote:
> On Sat, 2007-08-18 at 17:06 -0400, Douglas A. Tutty wrote:
> > On Sat, Aug 18, 2007 at 02:45:43PM -0600, Robert Jerrard wrote:
> > > I am running debian unstable with kernel 2.6.5-1-k7 on an AMD Athlon
> > > processor. When I try to upgrade the kernel it tells me:
> > > 
> > > penrose:~# apt-get install -t etch linux-image-2.6.22-1-k7
> > 
> > Your reason for the "-t etch" may prove enlightening.  Is this a mixed
> > system?  Are you in the midst of an upgrade?  What are the contents of
> > /etc/apt/sources.list and /etc/debian_version?
> > 
> > For etch, the release notes say that the preferred package manager is
> > aptitude since it handles problems such as this more intellegently.
> > 
> > Doug.
> 
> I am in the midst of an upgrade. It is not a mixed system, the real
> reason for using -t etch is that is suggested in the response to the -f
> install attempt.

Good luck.  My upgrade from Sarge to Etch fried libc6 and it was faster
to just reinstall to Etch directly than to try to fix it.  I did the
same thing going from Potato (2.2) to Woody (3.0) although Woody to
Sarge (3.1) went OK.

Doug.
 


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



RBL Lookups using Postfix or Spamassassin

2007-08-18 Thread Anthony M Simonelli
I'm using Postfix with Amavisd-new, Spamassassin, etc.  I what to use
RBL lookups to stop spam, but I am unsure as to whether to have Postfix
perform the lookup or Spamassassin?  I know that if I enable it on
Postfix, those emails will be rejected and possibly legitimate emails as
well, but if I have Spamassassin perform it, my mail server will be
accepting a lot more email which will be more taxing on the server...

Your opinions and insight are greatly appreciated.


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



Re: libc6 kernel upgrade problem

2007-08-18 Thread Robert Jerrard
On Sat, 2007-08-18 at 23:05 +0200, Sven Joachim wrote:
> Robert Jerrard <[EMAIL PROTECTED]> writes:
> 
> > But, when I try 'apt-get -f install' I get:
> >
> > penrose:~# apt-get -f install
> > Reading package lists... Done
> > Building dependency tree... Done
> > Correcting dependencies... Done
> > The following extra packages will be installed:
> > libc6
> > The following packages will be upgraded:
> > libc6
> > 1 upgraded, 0 newly installed, 0 to remove and 862 not upgraded.
> > 1 not fully installed or removed.
> > Need to get 0B/4405kB of archives.
> > After unpacking 184kB disk space will be freed.
> > Do you want to continue [Y/n]?
> > (Reading database ... 233224 files and directories currently installed.)
> > Preparing to replace libc6 2.5-5 (using .../libc6_2.6.1-1_i386.deb) ...
> > WARNING: POSIX threads library NPTL requires kernel version
> > 2.6.8 or later. If you use a kernel 2.4, please upgrade it
> > before installing glibc.
> >
> > The installation of a 2.6 kernel _could_ ask you to install a new libc
> > first, this is NOT a bug, and should *NOT* be reported. In that case,
> > please add etch sources to your /etc/apt/sources.list and run:
> > apt-get install -t etch linux-image-2.6
> > Then reboot into this new kernel, and proceed with your upgrade
> > dpkg: error processing /var/cache/apt/archives/libc6_2.6.1-1_i386.deb
> > (--unpack):
> > subprocess pre-installation script returned error exit status 1
> > Errors were encountered while processing:
> > /var/cache/apt/archives/libc6_2.6.1-1_i386.deb
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> >
> > How does one get out of this cycle? Any help is appreciated.
> 
> You should install a 2.6.18 kernel from etch, after that is done you
> can upgrade libc6 and the kernel to break the loop.
> 
> BTW, it is not recommended to keep such a huge backlog of packages if
> you are running unstable.  Resolving the dependencies for your 863 not
> upgraded packages will be hard for apt-get/aptitude.
> 
> Regards,
> Sven

Thanks Sven. Sorry for my ignorance but is 
linux-image-2.6.18-4-486 - Linux 2.6.18 image on x86
the correct kernel for my AMD Athlon?

Bob



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



Re: [solved] Re: can glx work without nvidia driver?

2007-08-18 Thread Wayne Topa
H.S.([EMAIL PROTECTED]) is reported to have said:
> Florian Kulzer wrote:
> > On Sat, Aug 18, 2007 at 11:09:07 -0400, H.S. wrote:
> >> Florian Kulzer wrote:
<>
> 
> That worked. Did "sudo aptitude --purge remove nvidia-glx", logged out,
> restarted gdm and logged back in and glx worked. It is veeery slow
> (understandably) but my OpenGL program runs at least.
> 
> BTW, I get this in Xorg's log file:
> $> cat /var/log/Xorg.0.log | grep '(EE)'
> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (EE) Failed to load module "type1" (module does not exist, 0)
> (EE) AIGLX: Screen 0 is not DRI capable
> 
> 
> 
> If the second error a problem? Is trying to remove it worthwhile?

Easy fix.  Just add this snippet to the end oc the xorg.conf.


Section "ServerFlags"
Option  "AIGLX" "off"
EndSEction

Wayne

-- 
Cannot load Windows 95, Incorrect DOS Version.
___


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



Re: libc6 kernel upgrade problem

2007-08-18 Thread Sven Joachim
Robert Jerrard <[EMAIL PROTECTED]> writes:

> But, when I try 'apt-get -f install' I get:
>
> penrose:~# apt-get -f install
> Reading package lists... Done
> Building dependency tree... Done
> Correcting dependencies... Done
> The following extra packages will be installed:
> libc6
> The following packages will be upgraded:
> libc6
> 1 upgraded, 0 newly installed, 0 to remove and 862 not upgraded.
> 1 not fully installed or removed.
> Need to get 0B/4405kB of archives.
> After unpacking 184kB disk space will be freed.
> Do you want to continue [Y/n]?
> (Reading database ... 233224 files and directories currently installed.)
> Preparing to replace libc6 2.5-5 (using .../libc6_2.6.1-1_i386.deb) ...
> WARNING: POSIX threads library NPTL requires kernel version
> 2.6.8 or later. If you use a kernel 2.4, please upgrade it
> before installing glibc.
>
> The installation of a 2.6 kernel _could_ ask you to install a new libc
> first, this is NOT a bug, and should *NOT* be reported. In that case,
> please add etch sources to your /etc/apt/sources.list and run:
> apt-get install -t etch linux-image-2.6
> Then reboot into this new kernel, and proceed with your upgrade
> dpkg: error processing /var/cache/apt/archives/libc6_2.6.1-1_i386.deb
> (--unpack):
> subprocess pre-installation script returned error exit status 1
> Errors were encountered while processing:
> /var/cache/apt/archives/libc6_2.6.1-1_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> How does one get out of this cycle? Any help is appreciated.

You should install a 2.6.18 kernel from etch, after that is done you
can upgrade libc6 and the kernel to break the loop.

BTW, it is not recommended to keep such a huge backlog of packages if
you are running unstable.  Resolving the dependencies for your 863 not
upgraded packages will be hard for apt-get/aptitude.

Regards,
Sven


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



Re: libc6 kernel upgrade problem

2007-08-18 Thread Robert Jerrard
On Sat, 2007-08-18 at 17:06 -0400, Douglas A. Tutty wrote:
> On Sat, Aug 18, 2007 at 02:45:43PM -0600, Robert Jerrard wrote:
> > I am running debian unstable with kernel 2.6.5-1-k7 on an AMD Athlon
> > processor. When I try to upgrade the kernel it tells me:
> > 
> > penrose:~# apt-get install -t etch linux-image-2.6.22-1-k7
> 
> Your reason for the "-t etch" may prove enlightening.  Is this a mixed
> system?  Are you in the midst of an upgrade?  What are the contents of
> /etc/apt/sources.list and /etc/debian_version?
> 
> For etch, the release notes say that the preferred package manager is
> aptitude since it handles problems such as this more intellegently.
> 
> Doug.

I am in the midst of an upgrade. It is not a mixed system, the real
reason for using -t etch is that is suggested in the response to the -f
install attempt.

Bob


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



Re: Firefox entry prediction crashes

2007-08-18 Thread Ralph Katz
On 08/18/2007 02:03 PM, Hendrik Boom wrote:
> On Fri, 17 Aug 2007 22:43:07 +0100, Jamin Davis wrote:
> 
>> [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>
>>> When I enter URLs or Google search terms in the text boxes near the top
>>> of an Iceweasel window, it drops down a menu of guesses as to what I'm
>>> going to type next.  I could do without its guesses.  Especially because
>>> 
>>> Perhaps an option in an configuration file, or in one
>>> of firefox's maze of configuration menus?
>> Go to about:config - "browser.search.suggest.enabled" is boolean, toggle to
>> false to get rid of this behaviour.
>>
> Did that.  When I enter about:config in the URL box it gives me lots
> of lines, including
> 
> browser.search.suggest.enabled  user set   boolean   false
> 
> but it still pops up these menus when I enter stuff in the Google search
> field or the URL field.
> 
> There must be something else that has to be done.

If you're seeing your own /past/ search entries, you can disable
remembering form data in Preferences -> Privacy -> History 'Remember
what I enter in forms and the search bar'

(This is in Firefox 2.0.0.6 from tarball.)

Ralph


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



Re: xquery

2007-08-18 Thread Miles Fidelman
There are some links to various java implementation from Wikipedia's 
xquery page.


http://www.gnu.org/software/qexo/ looks interesting

Hendrik Boom wrote:

On Sat, 18 Aug 2007 14:27:18 -0500, Ron Johnson wrote:

  

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/18/07 13:08, Hendrik Boom wrote:


Is there an xquery implementation for Linux?  Or is it time to implement
one? Or is someone already doing it?
  

What does Googling for "xquery linux" say?




A lot of entries that seem to have only tengential relevance to my
wuestion, some discussions about how usefully xquery can be extended for
various applications, and how various (proprietary-looking) applications
can be extended to do Xquery-like things.  Very little
information identifying specific implementatinos of Xquery that could be
installed and tried out in isolation by someone just gaining familiarity
with the concepts.

Oh... I did find an optimistic description of a project that was looking
forward to the new standards proposals to be released soon in 2002 so
that they could implement it.  Are they still waiting after five years, or
is the project dead?

On retrying the query after your reply, I found GCX, which seems to offer
significant linguistic restrictions.  It seems to have be implemented
primarily to accomplish academic research on storage management.  This was
the most promising lead I found.

I was hoping to hear from someone that had some experience with the stuff,
who might be able to advise me what actually worked.

-- hendrik


  



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




Re: libc6 kernel upgrade problem

2007-08-18 Thread Douglas A. Tutty
On Sat, Aug 18, 2007 at 02:45:43PM -0600, Robert Jerrard wrote:
> I am running debian unstable with kernel 2.6.5-1-k7 on an AMD Athlon
> processor. When I try to upgrade the kernel it tells me:
> 
> penrose:~# apt-get install -t etch linux-image-2.6.22-1-k7

Your reason for the "-t etch" may prove enlightening.  Is this a mixed
system?  Are you in the midst of an upgrade?  What are the contents of
/etc/apt/sources.list and /etc/debian_version?

For etch, the release notes say that the preferred package manager is
aptitude since it handles problems such as this more intellegently.

Doug.
 


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



Re: where is grub installed?

2007-08-18 Thread Douglas A. Tutty
On Sat, Aug 18, 2007 at 04:38:33PM -0400, P Kapat wrote:
> Suppose my hard disks are setup as:
> 
> IDE (Master)
> /dev/hda1  -- ext3  -- 10 GB
> /dev/hda2  -- ext3  -- 100 GB
> /dev/hda3  -- ext3  -- 50 GB
> 
> SATA (connected to SATA 1 controller on the mobo)
> /dev/sda1 -- ext3 -- 50GB  -- /
> /dev/sda2 -- ext3 -- 500 MB -- /boot
> /dev/sda3 -- ext3 -- 100 GB -- /home
> 
> So, the GRUB oncfig files are in /dev/sda2 (/boot/grub). I am assuming
> that grub is installed in /dev/sda2. So, where is the MBR? Is it on
> the first track of the first partition of the first hard disk, ie
> /dev/hda1?

It is wherever you told grub to put it.  On debian, it should go on the
MBR of the drive, which in your example would be the MBR of /dev/hda.
The MBR is the first block of the drive (first 512 B) with the partition
table in the subsequent block somewhere (check wikipedia).
This means that you can reformat /dev/hda1 to your heart's content. 

> 
> If so, suppose I format /dev/hda1 will the MBR be gone implying that I
> cannot reboot m y system?


> 
> What is the safest way to partition the disks so that, if sometime
> later I install someother OS (Solaris/FreeBSD/Anyother GNU/Linux but
> not Windows) the MBR is not disturbed and I can use it to boot into
> the existing Debian.

There's the rub.  It seems that all OSs by default figure that they are
the only OS and put their boot loader in the MBR of the first hard
drive.  However, every OS that you may want to install should include
documentation on dual-booting.  One of your considerations is whether or
not Grub can boot that OS.   I think (check the docs) that as long as
Grub will boot it, you leave grub in the MBR and put the OS's loader on
the actual partition, then set up grub to chain-load.  The bios will boot
Grub, then Grub will boot the OS's loader which will in turn boot the
OS.

My new Athlon64 Asus bios has an F8 boot menu.  It presents a list of
drives to attempt to boot.  If I had multiple OSs with multiple drives,
I'd install each OS on its own drive with its loader in the drive's MBR,
then use the bios boot menu to choose which drive to boot.

Doug.


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



Re: xquery

2007-08-18 Thread Hendrik Boom
On Sat, 18 Aug 2007 14:27:18 -0500, Ron Johnson wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On 08/18/07 13:08, Hendrik Boom wrote:
>> Is there an xquery implementation for Linux?  Or is it time to implement
>> one? Or is someone already doing it?
> 
> What does Googling for "xquery linux" say?
> 

A lot of entries that seem to have only tengential relevance to my
wuestion, some discussions about how usefully xquery can be extended for
various applications, and how various (proprietary-looking) applications
can be extended to do Xquery-like things.  Very little
information identifying specific implementatinos of Xquery that could be
installed and tried out in isolation by someone just gaining familiarity
with the concepts.

Oh... I did find an optimistic description of a project that was looking
forward to the new standards proposals to be released soon in 2002 so
that they could implement it.  Are they still waiting after five years, or
is the project dead?

On retrying the query after your reply, I found GCX, which seems to offer
significant linguistic restrictions.  It seems to have be implemented
primarily to accomplish academic research on storage management.  This was
the most promising lead I found.

I was hoping to hear from someone that had some experience with the stuff,
who might be able to advise me what actually worked.

-- hendrik


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



Re: /sys/power/state question with sudoers!

2007-08-18 Thread Gnu_Raiz
 cat sudo_file
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#Defaultsenv_reset

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification

rootALL=(ALL) ALL

  =NOPASSWD: /bin/echo, /sbin/*, /sys/power/state

note  is used to protect the user.
-

Here is the script I am trying to setup.
#!/bin/bash

#This is a shell script for hibernation.

sudo echo disk >/sys/power/state


Gnu_Raiz


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



libc6 kernel upgrade problem

2007-08-18 Thread Robert Jerrard
I am running debian unstable with kernel 2.6.5-1-k7 on an AMD Athlon
processor. When I try to upgrade the kernel it tells me:

penrose:~# apt-get install -t etch linux-image-2.6.22-1-k7
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
linux-image-2.6.22-1-k7: Depends: initramfs-tools (>= 0.55) but it is
not going to be installed or
yaird (>= 0.0.12-8) but it is not going to be installed or
linux-initramfs-tool
locales: Depends: glibc-2.6-1
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).

But, when I try 'apt-get -f install' I get:

penrose:~# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
libc6
The following packages will be upgraded:
libc6
1 upgraded, 0 newly installed, 0 to remove and 862 not upgraded.
1 not fully installed or removed.
Need to get 0B/4405kB of archives.
After unpacking 184kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 233224 files and directories currently installed.)
Preparing to replace libc6 2.5-5 (using .../libc6_2.6.1-1_i386.deb) ...
WARNING: POSIX threads library NPTL requires kernel version
2.6.8 or later. If you use a kernel 2.4, please upgrade it
before installing glibc.

The installation of a 2.6 kernel _could_ ask you to install a new libc
first, this is NOT a bug, and should *NOT* be reported. In that case,
please add etch sources to your /etc/apt/sources.list and run:
apt-get install -t etch linux-image-2.6
Then reboot into this new kernel, and proceed with your upgrade
dpkg: error processing /var/cache/apt/archives/libc6_2.6.1-1_i386.deb
(--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.6.1-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

How does one get out of this cycle? Any help is appreciated.

cat /proc/cpuinfo gives:
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 4
model name : AMD Athlon(tm) Processor
stepping : 2
cpu MHz : 1008.980
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips : 1998.84

Bob Jerrard



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



where is grub installed?

2007-08-18 Thread P Kapat
Hi,
Suppose my hard disks are setup as:

IDE (Master)
/dev/hda1  -- ext3  -- 10 GB
/dev/hda2  -- ext3  -- 100 GB
/dev/hda3  -- ext3  -- 50 GB

SATA (connected to SATA 1 controller on the mobo)
/dev/sda1 -- ext3 -- 50GB  -- /
/dev/sda2 -- ext3 -- 500 MB -- /boot
/dev/sda3 -- ext3 -- 100 GB -- /home

So, the GRUB oncfig files are in /dev/sda2 (/boot/grub). I am assuming
that grub is installed in /dev/sda2. So, where is the MBR? Is it on
the first track of the first partition of the first hard disk, ie
/dev/hda1?

If so, suppose I format /dev/hda1 will the MBR be gone implying that I
cannot reboot m y system?

What is the safest way to partition the disks so that, if sometime
later I install someother OS (Solaris/FreeBSD/Anyother GNU/Linux but
not Windows) the MBR is not disturbed and I can use it to boot into
the existing Debian.

-- 
Regards
PK
--
http://counter.li.org  #402424


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



clamscan error

2007-08-18 Thread Jude DaShiell
clamscan encountered a libclamav error message is not in uuencoded format. 
Interestingly, there's no email on this machine for it to be scanning. 
Clamscan script that generated this error follows.

cut here.
#!/bin/bash
# file: cs - clamscan script
clamscan -l clamscan`date -I`.log -r --bell --exclude=/dev --exclude=/proc 
--exclude=/pts --exclude=/tmp -i --detect-broken --block-encrypted --block-max 
--max-files=500 --max-space=10M --max-recursion=8 --max-ratio=250 
--max-mail-recursion=8 --max-dir-recursion=15 --deb=/usr/bin/dpkg-deb / *

cut here.
Am I missing a dependency for clamav which causes this kind of error or is 
something else oing on?



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




Re: french accents

2007-08-18 Thread Nigel Henry
On Saturday 18 August 2007 21:01, Phill Atwood wrote:
> This isn't debian specific, but I'm wondering if someone could point me
> to a good resource for understanding how-to enter french accents into,
> for example, emails.  I know that it is probably got something to do
> with locales and character sets, but I'm at a bit of a loss as to where
> to start.  My locale is english-canada I believe.  Any help is
> appreciated.
>
> Thanks,
> Phill

I'm from the UK, and am using my qwerty keyboards. I use KDE, and the canadian 
keyboard layout works well for the French accents.

To set up the canadian keyboard in KDE, go to:
Control centre->Regional & Accessability->Keyboard Layout.

Click on enable keyboard layouts, and select the ca one. Click on the add 
button, save,and it should be available on the panel. You can toggle between 
your normal keyboard, and the ca one.

The main accented keys are on the right of the keyboard. é is left of right 
shift. One row above, and lower left to the enter key are à. and è. next row 
up, and again left to the enter key you find ç. One key left and you have a 
dead key ^. press once on this , and then the vowel key, and you have ê pour 
instance.

sorry, but if you're using Gnome I've no idea how the keyboard layouts work.

Nigel.






Re: bash vs. python scripts - which one is better?

2007-08-18 Thread Douglas A. Tutty
On Sat, Aug 18, 2007 at 08:52:45PM +0200, Manon Metten wrote:
> 
> Thanks for sharing your valuable experience. I've decided to first become
> more familiar with Bash and then I'll give Python a try. If it don't like
> it, I
> can always try something else. But ATM I think Python will be the best
> option. I've seen some code on the net that looks pretty clean and some
> examples that enable me to achieve what I want.

I think you've hit the nail on the head.  While the coding of both bash
and pyhthon _can_ be made clear, bash allows some cryptic short-cuts
that are rather common whereas python enforces clean coding.  Also, I
find that some of the bash constructs are cryptic by their nature with
no clean work-arounds.  They are likely perfectly clear to a proficient
bash coder but the finer points are lost on me.

In short, I use bash for things like dos .bat files; a sequential list
of commands.  Once something requires looping or decisions, I go
straight for python.  To complete the sequence, if python is too slow at
something, I recode the relevant functions in Fortran.  I did that a lot
on my 486 but never on my Athlon64. :)


Doug


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



Re: xquery

2007-08-18 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/18/07 13:08, Hendrik Boom wrote:
> Is there an xquery implementation for Linux?  Or is it time to implement
> one? Or is someone already doing it?

What does Googling for "xquery linux" say?

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGx0gWS9HxQb37XmcRAjbzAJ0XHx+piohBldxt6+0IQtWDEbf2LQCgnkxA
uStb5R55r6t+M+1NX2/3las=
=TrCP
-END PGP SIGNATURE-


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



french accents

2007-08-18 Thread Phill Atwood

This isn't debian specific, but I'm wondering if someone could point me
to a good resource for understanding how-to enter french accents into,
for example, emails.  I know that it is probably got something to do
with locales and character sets, but I'm at a bit of a loss as to where
to start.  My locale is english-canada I believe.  Any help is
appreciated. 

Thanks,
Phill



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



[solved] Re: can glx work without nvidia driver?

2007-08-18 Thread H.S.
Florian Kulzer wrote:
> On Sat, Aug 18, 2007 at 11:09:07 -0400, H.S. wrote:
>> Florian Kulzer wrote:
>>
 So, the questions is, how do I get my little program to work without
 installing Nvidia driver?
>>> I would try to uncomment the 'Load "glx"' line in your xorg.conf. You
>>> probably commented out that line because the proprietary nvidia driver
>>> requires you to do so, but AFAIK the "nv" driver does need the normal
>>> Xorg glx module if you want to use the GLX extension.
>>>
>> Okay. I just tried that and from the Xorg log  file I see that it being
>> loaded okay, but it is not being initialized:
>> $> cat /var/log/Xorg.0.log | grep '(EE)'
>> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
>> (EE) Failed to load module "type1" (module does not exist, 0)
>> (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not
>> found)
>>
>>
>> I am using 2.6.21 Debian kernel and
>> $> dpkg -l *nvidia* | grep ^ii | gawk '{print $1 " " $2 "\t" $3}'
>> ii nvidia-glx   1.0.8776-4
>> ii nvidia-kernel-2.6.17-2-486   1.0.8776-4+2.6.17-9
>> ii nvidia-kernel-2.6.18-3-486   1.0.8776-4+2.6.18-7
>> ii nvidia-kernel-common 20051028+1
>> ii nvidia-kernel-source 1.0.8776-4
>>
>> What do I try next?
> 
> I think the above error message means that your X is presently still
> loading nvidia's glx module (which only works with nvidia's driver). The
> nvidia-glx package overwrites the original Xorg glx module and uses
> dpkg-divert to make sure that nvidia's glx module stays in place.
> Purging the nvidia-glx package should give you the original Xorg glx
> module back. Make sure you use "purge" and not just "remove" because
> otherwise an initscript stays on your system which could cause trouble.
> (I think this issue is fixed now, but it cannot hurt to be on the safe
> side.)
> 

That worked. Did "sudo aptitude --purge remove nvidia-glx", logged out,
restarted gdm and logged back in and glx worked. It is veeery slow
(understandably) but my OpenGL program runs at least.

BTW, I get this in Xorg's log file:
$> cat /var/log/Xorg.0.log | grep '(EE)'
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(EE) Failed to load module "type1" (module does not exist, 0)
(EE) AIGLX: Screen 0 is not DRI capable



If the second error a problem? Is trying to remove it worthwhile?


Thanks,
->HS




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



Re: bash vs. python scripts - which one is better?

2007-08-18 Thread Manon Metten
Hi Steve,

Thanks for sharing your valuable experience. I've decided to first become
more familiar with Bash and then I'll give Python a try. If it don't like
it, I
can always try something else. But ATM I think Python will be the best
option. I've seen some code on the net that looks pretty clean and some
examples that enable me to achieve what I want.

Manon.


Re: Wget don't resolv hostnames?

2007-08-18 Thread Orestes leal
On Sat, 18 Aug 2007 14:22:42 -0400
Orestes leal <[EMAIL PROTECTED]> wrote:

> Hi Folks, I ran wget in my system but when i try to get one file
> for example
> 
> 
>  wget --server-response http://www.server.com/fichero.xml
> --14:15:06--  http://www.server.com/fichero.xml
>=> `fichero.xml'
> Resolving www.server.com... "
> 
> 
> ""And stays there with this message.
> Resolving www.server.com... failed: Temporary failure in name resolution.""
> 
> Where server.com it's a fake url in this case of course,
> I'm behind several subnets so my configuration it's these:
> 
> 
> I have a router, 1 dns server, 1 proxy that resolves all requests
> from the users, so my question is:
> 
> What kind of configuration I must make?
> 
> 
> 
> NOTE: my /etc/resolv.conf actually holds my dns server and the graphical 
> browsers works good, so any help?
> 
> -olr
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Solved Boys thanks !!

-olr


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



Wget don't resolv hostnames?

2007-08-18 Thread Orestes leal
Hi Folks, I ran wget in my system but when i try to get one file
for example


 wget --server-response http://www.server.com/fichero.xml
--14:15:06--  http://www.server.com/fichero.xml
   => `fichero.xml'
Resolving www.server.com... "


""And stays there with this message.
Resolving www.server.com... failed: Temporary failure in name resolution.""

Where server.com it's a fake url in this case of course,
I'm behind several subnets so my configuration it's these:


I have a router, 1 dns server, 1 proxy that resolves all requests
from the users, so my question is:

What kind of configuration I must make?



NOTE: my /etc/resolv.conf actually holds my dns server and the graphical 
browsers works good, so any help?

-olr




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



xquery

2007-08-18 Thread Hendrik Boom
Is there an xquery implementation for Linux?  Or is it time to implement
one? Or is someone already doing it?


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



Re: Firefox entry prediction crashes

2007-08-18 Thread Hendrik Boom
On Fri, 17 Aug 2007 22:43:07 +0100, Jamin Davis wrote:

> [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 
>> When I enter URLs or Google search terms in the text boxes near the top
>> of an Iceweasel window, it drops down a menu of guesses as to what I'm
>> going to type next.  I could do without its guesses.  Especially because
>> 
>> Perhaps an option in an configuration file, or in one
>> of firefox's maze of configuration menus?
> 
> Go to about:config - "browser.search.suggest.enabled" is boolean, toggle to
> false to get rid of this behaviour.
>
Did that.  When I enter about:config in the URL box it gives me lots
of lines, including

browser.search.suggest.enabled  user set   boolean   false

but it still pops up these menus when I enter stuff in the Google search
field or the URL field.

There must be something else that has to be done.

-- hendrik


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



Re: using apt to upgrade from etch r0 ro r1...

2007-08-18 Thread Douglas A. Tutty
On Sat, Aug 18, 2007 at 04:55:58PM +, Michael Fothergill wrote:
> Dear Debianists,
> 
> My apt sources.list file is as follows:
> 
> localhost:/home/mikef# more /etc/apt/sources.list
> #

[snip  slew of CDs and DVDs]

> deb http://www.debian-multimedia.org etch main
> 
> 
> # Line commented out by installer because it failed to verify:
> # deb http://security.debian.org/ etch/updates main contrib

You should uncomment this line so that you get security updates.

> # Line commented out by installer because it failed to verify:
> # deb-src http://security.debian.org/ etch/updates main contrib
> 
> deb http://www.dipconsultants.com/debian etch main
> 
> Can I add:
> 
> deb http://ftp.uk.debian.org/

That would be ftp.uk.debian.org/debian etch main

> 
> to the file and then do e.g. apt-get dist-upgrade in order to download the 
> r1 modifications to the amd64 Etch 4.0 r0 I am currently using?

Yes, but doesn't the dipconsultants repository do that? 

Doug.


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



Re: using apt to upgrade from etch r0 ro r1...

2007-08-18 Thread Krzysztof Lubański
On Sat, 2007-08-18 at 16:55 +, Michael Fothergill wrote:
> My apt sources.list file is as follows:
> [...]
> # Line commented out by installer because it failed to verify:
> # deb http://security.debian.org/ etch/updates main contrib
> # Line commented out by installer because it failed to verify:
> # deb-src http://security.debian.org/ etch/updates main contrib

Hello.

You should have the above deb* lines uncommented to get timely security
updates - unless you have a good reason not to use them...

> deb http://ftp.uk.debian.org/
> 
> to the file and then do e.g. apt-get dist-upgrade in order to download the 
> r1 modifications to the amd64 Etch 4.0 r0 I am currently using?

Below is the full line that should be enough:

deb http://ftp.uk.debian.org/debian/ etch main contrib

'contrib' is optional, if you use any packages from the contrib section.

Good luck!

-- 
Krzysztof Lubanski



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



Re: man for linux programmer's Manual

2007-08-18 Thread John L Fjellstad
[EMAIL PROTECTED] writes:

> Hi,
>
> When I used RH 9.1 before, I can call man to display linux
> programmer's C / C++ manual. But, I am not be able to do it in my new
> installation of Debian 4.0. How can I install it?

It's in manpages-dev, manpages-posix and manpages-posix-dev

-- 
John L. Fjellstad
web: http://www.fjellstad.org/  Quis custodiet ipsos custodes


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



using apt to upgrade from etch r0 ro r1...

2007-08-18 Thread Michael Fothergill

Dear Debianists,

My apt sources.list file is as follows:

localhost:/home/mikef# more /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot amd64 
Binary-1 (20061110)]/ etch contrib main


deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-3 
20070407-12:15]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-2 
20070407-12:15]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-1 
20070407-12:15]/ etch contrib main
deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Beta amd64 DVD 
Binary-3 20070317-22:49]/ etch contrib main
deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Beta amd64 DVD 
Binary-2 20070317-22:49]/ etch contrib main
deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Beta amd64 DVD 
Binary-1 20070317-22:49]/ etch contrib main
deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot amd64 
Binary-3 (20061110)]/ etch contrib main
deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot amd64 
Binary-2 (20061110)]/ etch contrib main
deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot amd64 
Binary-1 (20061110)]/ etch contrib main


deb http://www.debian-multimedia.org etch main


# Line commented out by installer because it failed to verify:
# deb http://security.debian.org/ etch/updates main contrib
# Line commented out by installer because it failed to verify:
# deb-src http://security.debian.org/ etch/updates main contrib








deb http://www.dipconsultants.com/debian etch main
localhost:/home/mikef#


Can I add:

deb http://ftp.uk.debian.org/

to the file and then do e.g. apt-get dist-upgrade in order to download the 
r1 modifications to the amd64 Etch 4.0 r0 I am currently using?



Do I need a bit more than this to do it?

Regards

Michael Fothergill

_
The next generation of Hotmail is here!  http://www.newhotmail.co.uk


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




Re: GTK audio CD burner?

2007-08-18 Thread Sebastian Ferrara
El Sat, 18 Aug 2007 10:22:35 +0200
"Mihamina \(R12y\) Rakotomandimby"
<[EMAIL PROTECTED]> escribió:

> Hi, 
> I run XFCE4, and I look for a GTK tool to
> - burn Ogg/VOrbis and MP3 files to Audio CD
> - perform basic Data CD burning.
> 
> I know XcdRoast.
> But is there any more Xfce integrated tool?
> 
> 

Brasero


-- 
Sebastián


signature.asc
Description: PGP signature


Re: can glx work without nvidia driver?

2007-08-18 Thread Florian Kulzer
On Sat, Aug 18, 2007 at 11:09:07 -0400, H.S. wrote:
> Florian Kulzer wrote:
> 
> > 
> >> So, the questions is, how do I get my little program to work without
> >> installing Nvidia driver?
> > 
> > I would try to uncomment the 'Load "glx"' line in your xorg.conf. You
> > probably commented out that line because the proprietary nvidia driver
> > requires you to do so, but AFAIK the "nv" driver does need the normal
> > Xorg glx module if you want to use the GLX extension.
> > 
> 
> Okay. I just tried that and from the Xorg log  file I see that it being
> loaded okay, but it is not being initialized:
> $> cat /var/log/Xorg.0.log | grep '(EE)'
> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (EE) Failed to load module "type1" (module does not exist, 0)
> (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not
> found)
> 
> 
> I am using 2.6.21 Debian kernel and
> $> dpkg -l *nvidia* | grep ^ii | gawk '{print $1 " " $2 "\t" $3}'
> ii nvidia-glx   1.0.8776-4
> ii nvidia-kernel-2.6.17-2-486   1.0.8776-4+2.6.17-9
> ii nvidia-kernel-2.6.18-3-486   1.0.8776-4+2.6.18-7
> ii nvidia-kernel-common 20051028+1
> ii nvidia-kernel-source 1.0.8776-4
> 
> What do I try next?

I think the above error message means that your X is presently still
loading nvidia's glx module (which only works with nvidia's driver). The
nvidia-glx package overwrites the original Xorg glx module and uses
dpkg-divert to make sure that nvidia's glx module stays in place.
Purging the nvidia-glx package should give you the original Xorg glx
module back. Make sure you use "purge" and not just "remove" because
otherwise an initscript stays on your system which could cause trouble.
(I think this issue is fixed now, but it cannot hurt to be on the safe
side.)

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


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



Re: live Debian on USB stick

2007-08-18 Thread - Tong -
On Wed, 15 Aug 2007 22:56:36 -0400, Mark Grieveson wrote:

> On Wed, 15 Aug 2007 11:33:04 + (UTC)
> [EMAIL PROTECTED] wrote:
> 
>> Hello,
>> I installed knoppix on my USB stick and it runs fine but it's too big
>> ~ 600 Mb. There are too many packages.
>> Is there a Debian dist, not as big as knoppix, that I can put on my
>> USB sti= ck ?
> 
> Damn Small Linux (DSL) is Debian based, and much smaller.

Yep, second to that. DSL has saved my day when I need a Linux Live system.
However, it also has it drawbacks. Check the details at
http://xpt.sourceforge.net/techdocs/nix/live/dsl/

Also on the site you can find my recommended Linux Live system -- the true
Live-CD pioneer with unparalleled leading technology and vision. You might
not agree with what I've picked, but you can also check

Various Debian (Live) CD Systems
http://xpt.sourceforge.net/techdocs/nix/live/debian-cd/

Believe me, searching for the perfect Linux Live system has been my "life
long" journey. Before Knoppix even exist, I custom built RedHat, shrinking
its installation disks from 3 to 1, and only contains my picked packages
list,

RedHat Distro Customization
http://xpt.sourceforge.net/techdocs/nix/distro/redhat/

Its installation does not require human intervention. So whenever I
need a Linux system, I was able to have a system ready within 10~15
minutes, which contains the very tools that I want. This is the most
important thing to me. Some other Debian Live Systems, eg, grml, can be
installed on HD within 6~8 minutes or so, but how long will it take to
further tune the installed System to your taste?

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


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



Udev after 0.105-4 sucks

2007-08-18 Thread MagnusBerg


Udev after 0.105-4 seams to suck when it comes to cameras. I could not mount my 
Nikon D80 after upgrading. (But I can mount my MP3-player.) Therefor I hold 
Udev 0.105-4 until I found a solution somethere.
If you run Udev after 0.105-4: Downgrade!


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




Re: Using deborphan

2007-08-18 Thread - Tong -
On Thu, 16 Aug 2007 18:45:01 -0400, Rick Pasotto wrote:

> On Fri, Aug 17, 2007 at 08:23:12AM +1000, Wei Wang wrote:
>> I recommend you always use Aptitude as your primary package manager.
>> It automatically delete orphaned packages.

Yep, second to that, aptitude alone can do the job quite well. No need the
deborphan. For details check out:

aptitude advantages
http://xpt.sourceforge.net/techdocs/nix/distro/debian/deb10-AptitudeRelated/index.html#_aptitude_advantages

> What if I'm still using that program? I don't *want* it deleted. Just
> because it's not being maintained is no reason to delete it. So long as
> it still runs and is useful it should *not* be deleted.

Aha, there are actually two kind of "orphaned packages" here, I guess the
name deborphan and its explanation should be blamed for the confusion. In
fact, 

No, aptitude will never delete unmaintained packages. It is not a criteria
at all. The correct saying is that "automatically installed packages will
be uninstalled as soon as they are no longer needed..."

HTH

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


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



Re: /sys/power/state question with sudoers!

2007-08-18 Thread Andrei Popescu
On Sat, Aug 18, 2007 at 09:22:00AM -0500, Gnu_Raiz wrote:
> I am writing a shell script that requires sudo so I can hibernate my 
> machine, as package hibernate has a bug that disallows its useage.  When 
> I go to change the permissions using visido to allow no password, and 
> access to the /sys/power/state file I still get no permission errors. I 
> even have set /sys/power/* to allow the user that whole directory. This 
> will be in shell script, so I have the NOPASSWD option set on 
> the /etc/sudoers line. Anyone have an idea to get this working, or is 
> this a bug in the sudo package?
> 
> I want to use hibernate without having to type the root password 
> everytime.

It would be nice to post your sudoers file ;)

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: can glx work without nvidia driver?

2007-08-18 Thread H.S.
Florian Kulzer wrote:

> 
>> So, the questions is, how do I get my little program to work without
>> installing Nvidia driver?
> 
> I would try to uncomment the 'Load "glx"' line in your xorg.conf. You
> probably commented out that line because the proprietary nvidia driver
> requires you to do so, but AFAIK the "nv" driver does need the normal
> Xorg glx module if you want to use the GLX extension.
> 

Okay. I just tried that and from the Xorg log  file I see that it being
loaded okay, but it is not being initialized:
$> cat /var/log/Xorg.0.log | grep '(EE)'
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(EE) Failed to load module "type1" (module does not exist, 0)
(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not
found)


I am using 2.6.21 Debian kernel and
$> dpkg -l *nvidia* | grep ^ii | gawk '{print $1 " " $2 "\t" $3}'
ii nvidia-glx   1.0.8776-4
ii nvidia-kernel-2.6.17-2-486   1.0.8776-4+2.6.17-9
ii nvidia-kernel-2.6.18-3-486   1.0.8776-4+2.6.18-7
ii nvidia-kernel-common 20051028+1
ii nvidia-kernel-source 1.0.8776-4

What do I try next?

thanks,
->HS


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



Re: source code installation

2007-08-18 Thread Florian Kulzer
On Sat, Aug 18, 2007 at 20:42:03 +1000, webmail DOT hce AT gmail DOT com wrote:
> Andrei Popescu wrote:
>> Your apt knows only of one source for packages, and that is the CD1. You 
>> need to add additional sources.
>
> I've only got one CD, will try to download second.

I checked it now, you indeed need the second CD for openoffice.org:

http://atterer.net/jigdo/jigdo-search.php?q=&l=http%3A%2F%2Fcdimage.debian.org%2Fcdimage%2Frelease%2F4.0_r0%2Fi386%2Fjigdo-cd%2Fdebian-40r0-i386-CD-2.jigdo

You can do your own searches here, for example to find your kernel
headers:

http://www.debian.org/CD/jigdo-cd/#search

The kernel headers package will be called "linux-headers-XXX" where
"XXX" corresponds to the output of "uname -r" for your running kernel.

You can also download individual .deb files from every Debian mirror,
e.g. the kernel headers from the US mirror:

http://ftp.us.debian.org/debian/pool/main/l/linux-2.6/

However, for something like openoffice.org (which consists of many
interdependent packages) it is probably better to get the relevant CD,
scan it with "apt-cdrom" and let aptitude or apt-get take care of the
dependencies for you.

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


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



/sys/power/state question with sudoers!

2007-08-18 Thread Gnu_Raiz
I am writing a shell script that requires sudo so I can hibernate my 
machine, as package hibernate has a bug that disallows its useage.  When 
I go to change the permissions using visido to allow no password, and 
access to the /sys/power/state file I still get no permission errors. I 
even have set /sys/power/* to allow the user that whole directory. This 
will be in shell script, so I have the NOPASSWD option set on 
the /etc/sudoers line. Anyone have an idea to get this working, or is 
this a bug in the sudo package?

I want to use hibernate without having to type the root password 
everytime.

Gnu_Raiz


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



djmount and upnp write?

2007-08-18 Thread Eric Persson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

Just got djmount working and able to access my phone over upnp and wlan,
however, it seems to be limited to reading. Is that a thing by
definition in upnp sharing, or is it possible to enable writing as well?

Best regards,
Eric
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFGxwDUnfUWYkh5v6wRAlOxAJ0cAafugPkOev0RMuhgXfP5lkmiTwCgzsV3
3dMLk6VvPpWqXUp29DULYlY=
=LvXb
-END PGP SIGNATURE-


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



Re: Mdadm won't rebuild a RAID5

2007-08-18 Thread Mike Bird
On Saturday 18 August 2007 01:51, Hal Vaughan wrote:
> I have a RAID5 on 3 drives with a spare.  One drive failed and it
> rebuilt itself using the spare, then, before I could replace the spare,
> a 2nd drive failed.  I shut it down, got some new drives (bigger to be
> sure they weren't too small, allowing for differences in drive sizes
> reported by drive makers), replaced the bad drives, and rebuilt the
> spare with no problem at all.  Last night there were thunderstorms all
> night and the computer lost power a few times (yes, normally it's
> plugged in to a UPS, that's a long story that doesn't effect anything
> here).

(big snip)

> I notice the information changes from drive to drive and is
> inconsistent.
>
> Mdadm is not telling me which drives are bad when it assembles the array
> and I want to verify what is going on.  I'd like to get more info to
> see if mdadm "officially" sees drives e and f as bad or just drive e,
> or none at all (since reports vary according to the drive).
>
> I would have thought, after the first issue with any drive, that the
> system would not have had the others in use, since, when booting, it
> would have waited for me to hit "Control-D to continue," so I doubt
> that there are actually two bad drives.
>
> Any ideas how I can get more information, find out why mdadm is not
> rebuilding the RAID or to get it to rebuild it?  It seems to think the
> drives are all okay when it's adding them and doesn't report any issues
> with any drives until it's done, then it says there aren't enough
> drives to start the RAID.

1) I don't see that any of your drives are "bad".  However they are so
   inconsistent that data recovery is unlikely.

2) If you just need to assemble the array and are not worried about
   recovering the data, I would suggest zeroing each drive's superblock
   using mdadm and then creating a new array.

3) RAID 5 is not resilient against multiple failures.  We now use RAID 1.
   RAID 1 is also faster, although it sometimes requires more drives.
   In extreme cases we use RAID 1 with three or more drives.

4) With four drives, rather than RAID 5 with a hot spare, I would create
   two RAID 1 arrays.  One could then combine them in RAID 0 or linear
   but I would choose to make them be PVMs in a LVM VG.

--Mike Bird


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



Re: GTK audio CD burner?

2007-08-18 Thread Douglas A. Tutty
On Sat, Aug 18, 2007 at 10:22:35AM +0200, Mihamina (R12y) Rakotomandimby wrote:
> Hi, 
> I run XFCE4, and I look for a GTK tool to
> - burn Ogg/VOrbis and MP3 files to Audio CD
> - perform basic Data CD burning.
> 
> I know XcdRoast.
> But is there any more Xfce integrated tool?

Although I don' like or use KDE, I do like some of the apps.  For
burning CDs I use K3B. 

 


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



Re: remove packages in no listed apt repository

2007-08-18 Thread Nyizsnyik Ferenc
On Fri, 17 Aug 2007 23:21:07 +0300
Andrei Popescu <[EMAIL PROTECTED]> wrote:

> On Fri, Aug 17, 2007 at 08:20:16PM +0200, Willi Mann wrote:
> > Hi!
> > 
> > Is there a way to get a list of packages which are installed but not
> > available in any repository listed in sources.list?
> > 
> > I ask because I've written such a script [1], but whether it's
> > worth to put it into debian depends on if there's already a way to
> > do this.
> 
> AFAIK aptitude will list such packages in the "Obsolete and locally 
> created packages" section (not sure about the exact title, I stopped 
> using those sections a while ago).
> 
> Regards,
> Andrei

It's "Installed (local or obsolete)" in Synaptic.

-- 
Szia:
Nyizsa.

--
Free pop3 email with a spam filter.
http://www.bluebottle.com/tag/5


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



Re: Needs help with Sidux install

2007-08-18 Thread eklektik

- Original Message 
From: Roby <[EMAIL PROTECTED]>
To: debian-user@lists.debian.org
Sent: Friday, August 17, 2007 8:37:14 PM
Subject: Re: Needs help with Sidux install

> 
> Hello,
> 
> I have a unique problem involving sidux. I already tried to get help from
> sidux users from thier forum but no one could help me. This is why I am
> trying my chances here.
> The problem: When I run the live cd it takes about 3 to 4 minutes  to
> output a long text on the screen and after it hangs. The cd is ok because
> i've tested it on other machines. This is the output;
> 
> ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
> ata1.01: cmd c8/00:08:00:00:00/00:00:00:00:00/f0 tag 0 cdb 0x0 data 4096
> in
> 
> This repeats at least 10 times, then I get
> 
> failed to detect live media
>  
> then
> 
> Busybox v1.1.3.. and lots of other text
> 
> then
> 
> bin/sh: cannot access tty;
> job cotrol turned off
> 
>  then
> 
> (initramfs)
> 
> and hangs.
> 
> My computer is ok because I can run ubuntu, etch, fedora sabayon without
> any problem. Only sidux that fails. I hope some can help me solving this
> annoying problem. I am just a regular user.
> 
> Thanks a lot,
> jmak

Two suggestions (guesses, really):  Try other boot options, like fail-safe.
I have several machines running Sidux and they act differently to the live
CD.  Still no joy?  Download Sidux again and burn another CD - at low speed.
A not-quite-right copy may work ok one one machine, but not on another.

At present, I have Sidux installed on five machines.  Works great!



 
  
  
  
  
  
  
  
   
  
 
  
   Thanks for the reply,

   

   I burned a cd again, but still the same problem.  The other boot options 
also didn't help.

   


 
  
  
  
  
  
  
  
   
  
 
  
   I don't even understand what the error messages mean.

   

  

 jmak

  

 

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








  Ask a question on any topic and get answers from real people. Go to 
Yahoo! Answers and share what you know at http://ca.answers.yahoo.com

(solved)Re: which program in sarge can zip files

2007-08-18 Thread qipaishi


You are right. I read the manual, didn't  find the option.  Now I look 
again, zip has the option. Thanks!


Mumia W.. wrote:


On 08/18/2007 02:35 PM, qipaishi wrote:


zip can, but user can't decide whether to store or to deflate files.

Which program can let user decide  to store files (not deflate)?




The "-0" option to zip allows for simple storage.






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




Re: man for linux programmer's Manual

2007-08-18 Thread Kevin Mark
On Sat, Aug 18, 2007 at 08:48:47PM +1000, [EMAIL PROTECTED] wrote:
> Hi,
> 
> When I used RH 9.1 before, I can call man to display linux programmer's 
> C / C++ manual. But, I am not be able to do it in my new installation of 
> Debian 4.0. How can I install it?
> 
> Thank you.
> 
> Jim
Many of the development related pacakge have -dev suffixes. I think you
want 'apt-get install manpages-dev'.
HTH,
K
-- 
|  .''`.  == Debian GNU/Linux == |   my web site:   |
| : :' :  The  Universal |mysite.verizon.net/kevin.mark/|
| `. `'  Operating System| go to counter.li.org and |
|   `-http://www.debian.org/ |be counted! #238656   |
|  my keyserver: subkeys.pgp.net | my NPO: cfsg.org |
|join the new debian-community.org to help Debian!  |
|___  Unless I ask to be CCd, assume I am subscribed ___|


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



Re: man for linux programmer's Manual

2007-08-18 Thread Richard Hector
On Sat, 2007-08-18 at 20:48 +1000, [EMAIL PROTECTED] wrote:
> Hi,
> 
> When I used RH 9.1 before, I can call man to display linux programmer's 
> C / C++ manual. But, I am not be able to do it in my new installation of 
> Debian 4.0. How can I install it?

I think there's a separate package with those in it.

Try:
apt-get install manpages-dev

HTH

Richard



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




Re: source code installation

2007-08-18 Thread Andrei Popescu
On Sat, Aug 18, 2007 at 08:42:03PM +1000, [EMAIL PROTECTED] wrote:

> I don't have a network connection, a win modem is the only one I have and I 
> am currently working to try compile the win modem source code. I'll have to 
> install kernel header files to do it. But first, I have to learn how to 
> install packages in Debian.

Good luck with that. If you have problems start a new thread here.

>> P.S. Is there a reason for using apt-get? aptitude is the recommended 
>> frontend and also has a nice text interface if you start it without 
>> options.
>
> I am new to Debian :-), just follow instructions from people who helped me 
> through the package installation. If you could give me aptitude commands 
> for package installation, I'll try it.

The basic command-line commands are the same/similar as apt-get:

Command Interactive Explanation
linemode
===
update  u (small)   update package list
upgrade (none)  upgrade packages (do not remove 
or add
new packages)
dist-upgradeU (capital U)   upgrade packages (remove or add if
necessary)
install +   install package(s)
remove  -   remove package(s) 
without config files
purge   _ (underscore)  remove package(s) including config files
g (first)   (go) show scheduled 
actions (+,-,U,
...)
g (second)  perform actions
Ctrl-t/F10  open menu

HTH,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


man for linux programmer's Manual

2007-08-18 Thread jupiter . hce

Hi,

When I used RH 9.1 before, I can call man to display linux programmer's 
C / C++ manual. But, I am not be able to do it in my new installation of 
Debian 4.0. How can I install it?


Thank you.

Jim


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




Re: emacs23 and site-start.d

2007-08-18 Thread Tatsuya Kinoshita
On August 18, 2007 at 6:11PM +0800,
silent2600 (at gmail.com) wrote:

> I am using ubuntu7.04, and I just installed emacs-unicode2 from cvs,
>
> and the "old" configs in /etc/emacs, (50dictionaries-common.el
> 50happycoders-emacs.el  50psvn.el) not work any more.
>
> how can I load everything under /etc/emacs/site-start.d and /etc/emacs/ ?

To track the emacs-unicode-2 branch of Emacs, I use modified
emacs-snapshot package.  The emacs-snapshot source package is
downloadable from

  http://emacs.orebokech.com/

debian/patches/* seems that lisp/startup.el is patched to use
Debian's /etc/emacs/site-start.d and /etc//site-start.d.

Thanks,
-- 
Tatsuya Kinoshita


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



Re: source code installation

2007-08-18 Thread webmail . hce

Andrei Popescu wrote:
Your apt knows only of one source for packages, and that is the CD1. You 
need to add additional sources.


I've only got one CD, will try to download second.

If you already have more than the first CD then you could add it with 
apt-cdrom (see 'man apt-cdrom' for more details). Otherwise, if your 
internet connection is working under Debian, you should uncomment 
(remove the # in front of) the line starting with 'deb' and also add 
something like:


deb http://ftp.us.debian.org/debian etch main contrib

Replace 'us' with your country code if necessary or check the mirror 
list for a mirror close to you (http://www.debian.org/mirror/list)


After that run 'apt-get update' and try installing openoffice again.


I don't have a network connection, a win modem is the only one I have 
and I am currently working to try compile the win modem source code. 
I'll have to install kernel header files to do it. But first, I have to 
learn how to install packages in Debian.


P.S. Is there a reason for using apt-get? aptitude is the recommended 
frontend and also has a nice text interface if you start it without 
options.


I am new to Debian :-), just follow instructions from people who helped 
me through the package installation. If you could give me aptitude 
commands for package installation, I'll try it.


Thank you.

Jim


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




Re: which program in sarge can zip files

2007-08-18 Thread Andrei Popescu
On Sat, Aug 18, 2007 at 03:35:13PM -0400, qipaishi wrote:
> zip can, but user can't decide whether to store or to deflate files.
>
> Which program can let user decide  to store files (not deflate)?

The traditional *nix tool for storing files is tar. Combine with gzip or 
bzip2 if you also need compression.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: source code installation

2007-08-18 Thread Andrei Popescu
On Sat, Aug 18, 2007 at 07:15:42PM +1000, [EMAIL PROTECTED] wrote:
> Florian Kulzer wrote:
>> [ Your "top-posting" style of replying makes it harder for other people
>>   to join the discussion since they have to do quite some scrolling up
>>   and down to understand the context, especially if a certain topic has
>>   already received many messages. The recommended approach on this
>>   list is to put answers into the old text at the appropriate place
>>   while trimming the old text where possible. Ideally, every message
>>   should be a short "story" with all the relevant context in
>>   chronological order. ]
>
> Sorry, I am new to Debian. Hope this is right.

Perfect :)

> Please see the following sources.list:
>
> # deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-1 
> 20070407-11:55]/ etch contrib main
>
> deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-1 
> 20070407-11:55]/ etch contrib main
>
> # Line commented out by installer because it failed to verify:
> #deb http://security.debian.org/ etch/updates main contrib
> # Line commented out by installer because it failed to verify:
> #deb-src http://security.debian.org/ etch/updates main contrib

Your apt knows only of one source for packages, and that is the CD1. You 
need to add additional sources.

If you already have more than the first CD then you could add it with 
apt-cdrom (see 'man apt-cdrom' for more details). Otherwise, if your 
internet connection is working under Debian, you should uncomment 
(remove the # in front of) the line starting with 'deb' and also add 
something like:

deb http://ftp.us.debian.org/debian etch main contrib

Replace 'us' with your country code if necessary or check the mirror 
list for a mirror close to you (http://www.debian.org/mirror/list)

After that run 'apt-get update' and try installing openoffice again.

Regards,
Andrei
P.S. Is there a reason for using apt-get? aptitude is the recommended 
frontend and also has a nice text interface if you start it without 
options.
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


emacs23 and site-start.d

2007-08-18 Thread Silent
hi,

I am using ubuntu7.04, and I just installed emacs-unicode2 from cvs,

and the "old" configs in /etc/emacs, (50dictionaries-common.el
50happycoders-emacs.el  50psvn.el) not work any more.

how can I load everything under /etc/emacs/site-start.d and /etc/emacs/ ?

thanks!


Re: which program in sarge can zip files

2007-08-18 Thread Mumia W..

On 08/18/2007 02:35 PM, qipaishi wrote:

zip can, but user can't decide whether to store or to deflate files.

Which program can let user decide  to store files (not deflate)?




The "-0" option to zip allows for simple storage.



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




Re: source code installation

2007-08-18 Thread jupiter . hce

Florian Kulzer wrote:

[ Your "top-posting" style of replying makes it harder for other people
  to join the discussion since they have to do quite some scrolling up
  and down to understand the context, especially if a certain topic has
  already received many messages. The recommended approach on this
  list is to put answers into the old text at the appropriate place
  while trimming the old text where possible. Ideally, every message
  should be a short "story" with all the relevant context in
  chronological order. ]


Sorry, I am new to Debian. Hope this is right.


More openoffice.org-* packages should be available. Which CD is this,
the first CD of the standard Etch 21 CD set?


Yes, I only scanned first CD.


"apt-get install openoffice.org" should have worked. I think we need to
have a quick look at your apt configuration. Please post the contents
of the file /etc/apt/sources.list from your system.



Please see the following sources.list:

# deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-1 
20070407-11:55]/ etch contrib main


deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-1 
20070407-11:55]/ etch contrib main


# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/ etch/updates main contrib
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/ etch/updates main contrib

Thank you.

Jim


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




Mdadm won't rebuild a RAID5

2007-08-18 Thread Hal Vaughan
I have a RAID5 on 3 drives with a spare.  One drive failed and it 
rebuilt itself using the spare, then, before I could replace the spare, 
a 2nd drive failed.  I shut it down, got some new drives (bigger to be 
sure they weren't too small, allowing for differences in drive sizes 
reported by drive makers), replaced the bad drives, and rebuilt the 
spare with no problem at all.  Last night there were thunderstorms all 
night and the computer lost power a few times (yes, normally it's 
plugged in to a UPS, that's a long story that doesn't effect anything 
here).

The RAID is on /dev/hde, f, g, and h, with h as the spare.  On reboot, 
the drive was not being reassembled.  I tried this:

mdadm --assemble --verbose /dev/md0 /dev/hde /dev/hdf /dev/hdg

and I got this:

mdadm: looking for devices for /dev/md0
mdadm: /dev/hde is identified as a member of /dev/md0, slot 0.
mdadm: /dev/hdf is identified as a member of /dev/md0, slot 1.
mdadm: /dev/hdg is identified as a member of /dev/md0, slot 2.
mdadm: added /dev/hde to /dev/md0 as 0
mdadm: added /dev/hdf to /dev/md0 as 1
mdadm: added /dev/hdg to /dev/md0 as 2
mdadm: /dev/md0 assembled from 1 drive - not enough to start the array.

I stopped the array and reran the above command with "--run" added to 
it.  Then I ran:

mdadm --detail /dev/md0

and got this:

/dev/md0:
Version : 00.90.01
  Creation Time : Sat Feb 25 07:10:01 2006
 Raid Level : raid5
Device Size : 244198464 (232.89 GiB 250.06 GB)
   Raid Devices : 3
  Total Devices : 1
Preferred Minor : 0
Persistence : Superblock is persistent

Update Time : Mon Aug 13 06:00:34 2007
  State : active, degraded
 Active Devices : 1
Working Devices : 1
 Failed Devices : 0
  Spare Devices : 0

 Layout : left-symmetric
 Chunk Size : 64K

   UUID : 0dcc0b91:f92304ba:e66cf827:43274a37
 Events : 0.3700484

Number   Major   Minor   RaidDevice State
   0   00-  removed
   1   00-  removed
   2  3402  active sync   /dev/hdg

I've tried this at different times and gotten different drives.  I've 
also dried:

mdadm --detail /dev/hde

and I get:

/dev/hde:
  Magic : a92b4efc
Version : 00.90.00
   UUID : 0dcc0b91:f92304ba:e66cf827:43274a37
  Creation Time : Sat Feb 25 07:10:01 2006
 Raid Level : raid5
   Raid Devices : 3
  Total Devices : 3
Preferred Minor : 0

Update Time : Wed Aug  8 05:04:55 2007
  State : active
 Active Devices : 3
Working Devices : 3
 Failed Devices : 0
  Spare Devices : 0
   Checksum : 732dc269 - correct
 Events : 0.3547873

 Layout : left-symmetric
 Chunk Size : 64K

  Number   Major   Minor   RaidDevice State
this 0  3300  active sync   /dev/hde

   0 0  3300  active sync   /dev/hde
   1 1  33   641  active sync   /dev/hdf
   2 2  3402  active sync   /dev/hdg

The major differences come up when I run the same command to examine 
hdf, g, and h.  With f and g, on the last part, I get this with hdf:

  Number   Major   Minor   RaidDevice State
this 1  33   641  active sync   /dev/hdf

   0 0   000  removed
   1 1  33   641  active sync   /dev/hdf
   2 2  3402  active sync   /dev/hdg

Then with hdg, I get:

  Number   Major   Minor   RaidDevice State
this 2  3402  active sync   /dev/hdg

   0 0   000  removed
   1 1   001  faulty removed
   2 2  3402  active sync   /dev/hdg

and on hdh, I get:

  Number   Major   Minor   RaidDevice State
this 3  34   643  spare   /dev/hdh

   0 0  3300  active sync   /dev/hde
   1 1  33   641  active sync   /dev/hdf
   2 2  3402  active sync   /dev/hdg
   3 3  34   643  spare   /dev/hdh

I notice the information changes from drive to drive and is 
inconsistent.

Mdadm is not telling me which drives are bad when it assembles the array 
and I want to verify what is going on.  I'd like to get more info to 
see if mdadm "officially" sees drives e and f as bad or just drive e, 
or none at all (since reports vary according to the drive).

I would have thought, after the first issue with any drive, that the 
system would not have had the others in use, since, when booting, it 
would have waited for me to hit "Control-D to continue," so I doubt 
that there are actually two bad drives.

Any ideas how I can get more information, find out why mdadm is not 
rebuilding the RAID or to get it to rebuild it?  It seems to think the 
drives are all okay when it's adding them and doesn't report any issues 
with any drives until 

Re: GTK audio CD burner?

2007-08-18 Thread Andrei Popescu
On Sat, Aug 18, 2007 at 10:22:35AM +0200, Mihamina (R12y) Rakotomandimby wrote:
> Hi, 
> I run XFCE4, and I look for a GTK tool to
> - burn Ogg/VOrbis and MP3 files to Audio CD
> - perform basic Data CD burning.
> 
> I know XcdRoast.
> But is there any more Xfce integrated tool?

How about gtoaster?

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: can glx work without nvidia driver?

2007-08-18 Thread Florian Kulzer
On Fri, Aug 17, 2007 at 23:20:29 -0400, H.S. wrote:
> 
> I am trying to get this little OpenGL program I wrote some months ago,
> but this time it gives me this error (it compiles okay though):
> 
> $> ./mktrngdat
> freeglut (./mktrngdat): OpenGL GLX extension not supported by display ':0.0'
> 
> I notice that there is some problem with Nvidia driver now adays and
> module-assistant auto-install does not work for nvidia. So at present,
> my system (Etch) is not using the proprietary Nvidia module, just the
> native nv module.

[...]

> My xorg.conf file has the following parts:
> Section "Module"
> Load"i2c"
> Load"bitmap"
> Load"ddc"
> Load"dri"
> Load"extmod"
> Load"freetype"
> #Load   "glx"
> Load"GLcore"
> Load"int10"
> Load"type1"
> Load"vbe"
> EndSection
> Section "Device"
> Identifier  "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
> Driver  "nv"
> BusID   "PCI:1:0:0"
> EndSection
> Section "DRI"
> Mode0666
> EndSection
> 
> Furthermore:
> $> glxinfo
> name of display: :0.0
> Xlib:  extension "GLX" missing on display ":0.0".
> Xlib:  extension "GLX" missing on display ":0.0".
> Xlib:  extension "GLX" missing on display ":0.0".
> Error: couldn't find RGB GLX visual

[...]

> So, the questions is, how do I get my little program to work without
> installing Nvidia driver?

I would try to uncomment the 'Load "glx"' line in your xorg.conf. You
probably commented out that line because the proprietary nvidia driver
requires you to do so, but AFAIK the "nv" driver does need the normal
Xorg glx module if you want to use the GLX extension.

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


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



GTK audio CD burner?

2007-08-18 Thread Mihamina (R12y) Rakotomandimby
Hi, 
I run XFCE4, and I look for a GTK tool to
- burn Ogg/VOrbis and MP3 files to Audio CD
- perform basic Data CD burning.

I know XcdRoast.
But is there any more Xfce integrated tool?


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



which program in sarge can zip files

2007-08-18 Thread qipaishi

zip can, but user can't decide whether to store or to deflate files.

Which program can let user decide  to store files (not deflate)?


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