Re: hdparm configuration help

2007-08-31 Thread Joris Huizer

--- Hugo Vanwoerkom <[EMAIL PROTECTED]> wrote:

> Joris Huizer wrote:
> > Hello,
> > 
> > After the recent udev + hdparm problems, I'm
> thinking
> > of reconfiguring hdparm (hdparm currently is not
> > configured, just reinstalled, so I'm assuming it's
> > currently using default settings)
> > 
> > 
> > This is the output of `hdparm -v -i /dev/hda`:
> > 
> > 
> > /dev/hda:
> >  multcount=  0 (off)
> >  IO_support   =  1 (32-bit)
> >  unmaskirq=  1 (on)
> >  using_dma=  0 (off)
> >  keepsettings =  0 (off)
> >  readonly =  0 (off)
> >  readahead= 256 (on)
> >  geometry = 65535/16/63, sectors = 78165360,
> start
> > = 0
> 
> 
> 
> > /dev/hdb:
> >  multcount=  0 (off)
> >  IO_support   =  1 (32-bit)
> >  unmaskirq=  1 (on)
> >  using_dma=  0 (off)
> >  keepsettings =  0 (off)
> >  readonly =  0 (off)
> >  readahead= 256 (on)
> >  geometry = 65535/16/63, sectors = 80293248,
> start
> > = 0
> > 
> 
> How did dma get turned off? Did you do that
> yourself?
> 
> Hugo
> 

No, I had purged hdparm, just reinstalled it, but
didn't edit any of configuration yet. This is the
output using only defaults (there are only commented
lines in /etc/hdparm.conf)

Joris


   

Moody friends. Drama queens. Your life? Nope! - their life, your story. Play 
Sims Stories at Yahoo! Games.
http://sims.yahoo.com/  


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



hdparm configuration help

2007-08-30 Thread Joris Huizer
Hello,

After the recent udev + hdparm problems, I'm thinking
of reconfiguring hdparm (hdparm currently is not
configured, just reinstalled, so I'm assuming it's
currently using default settings)


This is the output of `hdparm -v -i /dev/hda`:


/dev/hda:
 multcount=  0 (off)
 IO_support   =  1 (32-bit)
 unmaskirq=  1 (on)
 using_dma=  0 (off)
 keepsettings =  0 (off)
 readonly =  0 (off)
 readahead= 256 (on)
 geometry = 65535/16/63, sectors = 78165360, start
= 0

 Model=IC35L040AVER07-0, FwRev=ER4OA46A,
SerialNo=SXPTX283824
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs
}
 RawCHS=16383/16/63, TrkSize=0, SectSize=0,
ECCbytes=40
 BuffType=DualPortCache, BuffSize=1916kB,
MaxMultSect=16, MultSect=off
 CurCHS=4047/16/255, CurSects=16511760, LBA=yes,
LBAsects=78165360
 IORDY=on/off, tPIO={min:240,w/IORDY:120},
tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4 
 DMA modes:  mdma0 mdma1 mdma2 
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
udma3 udma4 *udma5 
 AdvancedPM=yes: disabled (255) WriteCache=enabled
 Drive conforms to: ATA/ATAPI-5 T13 1321D revision 1: 
ATA/ATAPI-2 ATA/ATAPI-3 ATA/ATAPI-4 ATA/ATAPI-5

 * signifies the current active mode


/dev/hdb:
 multcount=  0 (off)
 IO_support   =  1 (32-bit)
 unmaskirq=  1 (on)
 using_dma=  0 (off)
 keepsettings =  0 (off)
 readonly =  0 (off)
 readahead= 256 (on)
 geometry = 65535/16/63, sectors = 80293248, start
= 0

 Model=Maxtor 2F040J0, FwRev=VAM51JJ0,
SerialNo=F10SPCNE
 Config={ Fixed }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0,
ECCbytes=57
 BuffType=DualPortCache, BuffSize=2048kB,
MaxMultSect=16, MultSect=off
 CurCHS=4047/16/255, CurSects=16511760, LBA=yes,
LBAsects=80293248
 IORDY=on/off, tPIO={min:120,w/IORDY:120},
tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4 
 DMA modes:  mdma0 mdma1 mdma2 
 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 udma3
udma4 udma5 *udma6 
 AdvancedPM=yes: disabled (255) WriteCache=enabled
 Drive conforms to: ATA/ATAPI-7 T13 1532D revision 0: 
ATA/ATAPI-1 ATA/ATAPI-2 ATA/ATAPI-3 ATA/ATAPI-4
ATA/ATAPI-5 ATA/ATAPI-6 ATA/ATAPI-7

 * signifies the current active mode


Could someone tell me what settings are appropiate for
my hard discs? I tried before with, what didn't really
seem to push things, but problems with modules not
loading reappeared

Thanks,

Joris



   

Building a website is a piece of cake. Yahoo! Small Business gives you all the 
tools to get online.
http://smallbusiness.yahoo.com/webhosting 


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



Re: fresh kde install

2007-08-25 Thread Joris Huizer

--- "L.V.Gandhi" <[EMAIL PROTECTED]> wrote:

> I have installed etch base system and then
> installed xorg. I was
> trying to install kde
> apt-get install kde kdm
> I get msg saying
> .
> the following packages has unmet dependencies
> kde:depends on kde-core(>=5.47), but it not going to
> be installed
> :depends on kde-amusements(>=5.47), but it not
> going to be installed
> :depends on kdeaddons(>=4:3.4.3), but it not going
> to be installed
> :depends on kde-pim(>=4:3.4.3), but it not going to
> be installed
> Whe there is this problem in even in stable?
> How to install kde
> -- 
> L.V.Gandhi
> http://lvgandhi.tripod.com/
> linux user No.205042
> 

No idea why those won't install automatically -- maybe
they are kept in a 'hold' state for some reason.

You could run `aptitude install kde kdm`, it might try
harder to get kde installed.
Also this can be done using the gui of `aptitude`; it
will show problems it found with your requested
installation of packages

Alternatively, you might add all the packages that
"are not going to be installed" to the apt-get line,
like

`apt-get install kde kdm kde-core kde-amusements
kdeaddons  kde-pim` - that way you'll probably get
around the problem too

HTH,

Joris


   

Choose the right car based on your needs.  Check out Yahoo! Autos new Car 
Finder tool.
http://autos.yahoo.com/carfinder/


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



Re: harddisc errors

2007-08-24 Thread Joris Huizer

--- "Douglas A. Tutty" <[EMAIL PROTECTED]> wrote:

>  
> > Alright, a small update here. I booted in rescue
> mode
> > and did the `e2fsck -f -c -c` on the root
> partition.
> > It seems to fix something (giving a warning
> > 'FILESYSTEM HAS CHANGED' or something similar)
> > 
> > I'm suspecting the problems I saw were caused by
> > hdparm+udev - I purged udev and reinstalled (and
> > removed a stale /dev/.udev) and disabled hdparm,
> and
> > no more errors were coming up; I tried reenabling
> > hdparm, but was getting some modules not getting
> > loaded again - so I purged hdparm. 
> > I found information online that suggested udev and
> > hdparm together might cause problem (
> >
>
https://bugs.launchpad.net/debian/+source/linux-source-2.6.15/+bug/27940
> > ), though obviously in this case it is most likely
> a
> > misconfiguration issue, not a bug in either of the
> two
> > programs.
> > 
> > Am currently thinking of reinstalling hdparm,
> though I
> > think I need advice as how to configure it
> (installing
> > it, or `dpkg-reconfigure hdparm`, aren't giving
> > configuration help)
> 
> Since udev is required by the most recent kernels,
> you probably don't
> want to install something that prevents you from
> having udev.
> 
> What is it you want hdparm for?
> 
> Doug.
> 

In case hdparm and udev really don't mix together, I
won't reinstall hdparm anymore (but if that's the case
udev should be marked as conflicting with hdparm, or
hdparm with udev, or so)
I just want hdparm for efficient hard-disc usage (as I
originally installed it as it could enable DMA and
other hard disc settings, that normally would remain
disabled)

Though perhaps nowadays this is just configured in the
kernel automatically?

regards,

Joris


  

Luggage? GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz


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



Re: harddisc errors

2007-08-24 Thread Joris Huizer

--- "Douglas A. Tutty" <[EMAIL PROTECTED]> wrote:

> 
> Hi Joris,
> 
> I don't know if the business-card iso will work
> since I've never used
> it.  I'm on dialup and it doesn't have ppp support. 
> The netinst.iso
> isn't that much bigger (it just won't fit on a
> business card size CD)
> and does have rescue mode.  
> 
> However, either should be able to give you a shell
> where you can run
> e2fsck -f.  If you really want to exercise the disk,
> do e2fsck -f -c -c to
> do a full read/write test of the filesystem.  This
> has the advantage of
> forcing the drive firmware to remap any bad blocks
> that have cropped up.
> Yes, I know, that should happen transparently all
> the time, but then
> again, shutdown -F should actually force a
> filesystem check.  
> 
> Doug.
> 

Alright, a small update here. I booted in rescue mode
and did the `e2fsck -f -c -c` on the root partition.
It seems to fix something (giving a warning
'FILESYSTEM HAS CHANGED' or something similar)

I'm suspecting the problems I saw were caused by
hdparm+udev - I purged udev and reinstalled (and
removed a stale /dev/.udev) and disabled hdparm, and
no more errors were coming up; I tried reenabling
hdparm, but was getting some modules not getting
loaded again - so I purged hdparm. 
I found information online that suggested udev and
hdparm together might cause problem (
https://bugs.launchpad.net/debian/+source/linux-source-2.6.15/+bug/27940
), though obviously in this case it is most likely a
misconfiguration issue, not a bug in either of the two
programs.

Am currently thinking of reinstalling hdparm, though I
think I need advice as how to configure it (installing
it, or `dpkg-reconfigure hdparm`, aren't giving
configuration help)

Thanks so far for all your advices so far,

regards,
Joris


  

Park yourself in front of a world of choices in alternative vehicles. Visit the 
Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/ 


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



Re: harddisc errors

2007-08-22 Thread Joris Huizer

--- "Douglas A. Tutty" <[EMAIL PROTECTED]> wrote:
>
> Take a deep breath.
> Breathe out.
> 
> OK.  If you weren't having troubles with modules I'd
> be more worried.
> Since you seem to be having troubles with modules,
> its possible that the
> correct module for your drive/controller/whatever
> isn't being loaded by
> udev and whatever made your initrd.
> 
> If you don't have a knoppix as someone suggested,
> boot the install CD in
> rescue mode and do the same thing.
> 

Thanks for the suggestion - would that "business-card"
size cdrom work for that? I'll burn a cd, would take
that one, unless that one won't work as rescue CD.

Am hoping I can do a full fsck on the root disc just
in case; shutdown -r -F now` doesn't seem to force
that on the ext3 file system, is there a configuration
to force a full fsck?

> 
> And, of course, I hope you have good backups if not
> for yourself, then
> for your friend Justin Case.
> 

Yea, I do have up-to-date backups

> Doug.
> 

Thanks,

Joris


   

Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC


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



harddisc errors

2007-08-21 Thread Joris Huizer
Hello,

I'm wondering whether something is wrong with my
hardware. I'm attaching an dmesg output I stored.

For a few days sound output has disappeared. That
started as I enabled tmpfs support in the kernel,
which  also enabled the user-mode udev program to run.
However, booting in the old kernel, in which udev
won't get started, didn't solve anything - sound not
coming back.

I'm suspecting problems with the harddisc, especially
as I see modules not getting loaded correctly on boot
time, and them loading correctly on second try; I've
also seen udev "hanging" on boot time, while, at a
certain interval, printing "lost hdb interrupt" or
something like that (leaving me no choice but to
reboot the machine - using the physical reboot
button). Again, next try, it'd boot fine;

I'm worried about these lines:

hdb: status error: status=0x58 { DriveReady
SeekComplete DataRequest }
ide: failed opcode was: 0xef
hdb: drive not ready for command
hdb: status error: status=0x58 { DriveReady
SeekComplete DataRequest }
ide: failed opcode was: unknown
hdb: drive not ready for command
hdb: set_drive_speed_status: status=0x58 { DriveReady
SeekComplete DataRequest }
ide: failed opcode was: unknown
hdb: CHECK for good STATUS

Those aren't showing up consistently in dmesg output
either.

I hope I'm wrong, that this somehow is some
configuration error or so (in udev configuration
perhaps??) but...
Hoping someone could tell me what's a cause for this.

regards,

Joris Huizer


   

Be a better Heartthrob. Get better relationship answers from someone who knows. 
Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=list&sid=396545433

dmesg.out
Description: 1529026689-dmesg.out


Re: Why Debian3.1 is slower so much than FreeBSD6.1 in our test?

2006-06-29 Thread Joris Huizer
You can tweak hard disk settings with hdparm, that might improve
performance a lot
(have a look at
http://www.linuxdevcenter.com/pub/a/linux/2000/06/29/hdparm.html if you
are unfamiliar with it)


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



Re: apt-get pinning ? - Sarge / Stable - only install certain/specific packages from "testing"

2006-06-27 Thread Joris Huizer

Joey Hess wrote:

Paul E Condon wrote:

Yes it is, it's upgraded whenever base-files is upgraded.



true, but that doesn't tell that you're whole system is testing or stable;
you can use apt-show-versions to see all the individual package versions

HTH,

Joris


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




Re: apt-get pinning ? - Sarge / Stable - only install certain/specific packages from "testing"

2006-06-27 Thread Joris Huizer

Olafur Jens Sigurdsson wrote:



* If so, how can I make upgrade mine from 3.1r1 to 3.1r2 -- would it be as
simple as 'sudo apt-get update' ?



apt-get update only updates the repository for your computer. That is
it only fetches a file from the server you specifie in
/etc/apt/sources.list that says what packages are available and where
to find them (along with other info).
To actually upgrade you have to do apt-get upgrade.




You also need to do `apt-get dist-upgrade`
the difference is that `apt-get upgrade` won't install packages that 
require new packages (previously not installed) to get installed or to 
remove old packages (because new packages/newly named packages replace them)


though note, I don't know about the apt-get pinning part; at least I 
hope it won't do something wrong with `apt-get upgrade`/`apt-get 
dist-upgrade`


HTH,

Joris


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




Re: does this /etc/apt/sources.list look okay?

2006-06-21 Thread Joris Huizer

Lynn Kilroy wrote:
I wonder if my etc/apt/sources.list is okay?  It has nothing in it.  Is 
it missing anything?




It should have at least a few lines; you can get them added using apt-setup

I have lines like this:
#sarge
deb http://ftp.us.debian.org/debian/ sarge main non-free contrib
deb http://security.debian.org/ sarge/updates main contrib non-free

#sarge sources
deb-src http://ftp.us.debian.org/debian sarge main non-free contrib
deb-src http://security.debian.org/ sarge/updates main contrib non-free

Also, what does it need to install X and a browser, so I can work on 
figuring stuff out off the web while I'm trying to install stuff?  Right 
now, the best I can do is copy stuff by writing down it's contents, 
restarting to Windows, then typing it all again.




To install X you can just install 'x-window-system-core'; You'll also 
need a window manager; try KDE (kde) or GNOME (gnome)

mozilla or mozilla-firefox would be a choice for a browser to install

So as a command:
  aptitude install x-window-system-core kde mozilla
(or replace kde with gnome if preferred, replace mozilla with 
mozilla-firefox if prefered)


HTH,

Joris


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




Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread Joris Huizer
one more note, in case you have aptitude installed, you may try using 
that, too, as it is known to be handle conflicts and brakage slightly 
different from apt-get; The interactive interface can show what is 
broken and such

(just calling out a few suggestions now)

HTH,

Joris


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




Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread Joris Huizer
just thinking aloud, maybe `apt-get --reinstall install debconf` could 
help out on debconf, and then also on x11-common... I hope?


HTH,

Joris


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




Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread Joris Huizer

Charles Hallenbeck wrote:

Hi, Joris


On Wed, Jun 14, 2006 at 12:37:17PM +0200, Joris Huizer wrote:


Charles Hallenbeck wrote:


Package x11-common is not installed, so not removed


Hmm, you could try `dpkg --purge x11-common`



Unfortunately I get the same familiar output:

Script started on Wed 14 Jun 2006 06:38:49 AM EDT
dpkg: dependency problems prevent removal of x11-common:


Now I remember, dpkg has --force-* options; try with the --force-depends 
flag, or (a bit more risky) the --force-all flag


HTH,

Joris


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




Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread Joris Huizer

Charles Hallenbeck wrote:

Package x11-common is not installed, so not removed


Hmm, you could try `dpkg --purge x11-common`

HTH,

Joris


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




Re: installing new kernel

2006-06-11 Thread Joris Huizer

Sam Rosenfeld wrote:

I am using Debian Sarge with a 2.4.27 linux kernel.  To replace this
kernel with a late 2.6 kernel, is it a simple apt-get install?  If so, is
there any danger of wiping out parts of my home directory?  If it's not a
simple apt-get install, is there a suitable HOWTO?



It's a simple apt-get install, and, at least when using lilo, you'll 
probably need to add a few lines in the /etc/lilo.conf file, followed by 
running /sbin/lilo -- if no changes are needed to the confige, you'll 
have to run /sbin/lilo too

I don't know what needs to change when using GRUB.

HTH,

Joris


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




Re: sudo password vs. login

2006-05-29 Thread Joris Huizer

Roberto C. Sanchez wrote:

Joseph Smidt wrote:


Is there any way to make the sudo password different from the login
password?  Wouldn't that make it more secure?  That would make two
passwords you have to get through to have root access vs. one.  




I like the approach which SuSE takes.  It requires the *root* password
to use sudo, not the user's password.



Hmm, how then is that different from using su ?

regards,

Joris


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




Re: sudo password vs. login

2006-05-28 Thread Joris Huizer

Joseph Smidt wrote:
Is there any way to make the sudo password different from the login 
password?  Wouldn't that make it more secure?  That would make two 
passwords you have to get through to have root access vs. one.  


--
-
   Joseph Smidt
 [EMAIL PROTECTED] 


You could create a new user account, and setup sudo only to allow for 
that user account; that way, you'd have to login as this user in order 
to use sudo...


HTH,

Joris


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




Re: best way to secure communication?

2006-05-23 Thread Joris Huizer

lee wrote:


Yeah, I wondered why that has not been done. It's one of the first
things to think of when creating any protocol that can be used to
transfer information over insecure channels.



That may be because of how the internet started -- it was meant just for 
sharing information; when you don't care about who could read your data, 
there isn't too much reason to secure communication... it's just that at 
the start they didn't have a clue how much the use of internet would 
grow I guess


regards,

Joris


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




Re: Installing Flash Player

2006-05-20 Thread Joris Huizer

Raquel Rice wrote:
I would like to install Flash Player for Mozilla and Firefox. 
Searching the archives is useless.  How might I proceed?


Thanks for your help!



There is an (unofficial) package named flashplayer-mozilla
You can download it (with any needed dependencies) with the following 
apt line:


deb ftp://ftp.nerim.net/debian-marillat/ sarge main

HTH,

Joris


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




Re: Script to delete duplicate files

2006-05-20 Thread Joris Huizer

Curtis Vaughan wrote:


No actually the -d option is not an option. The reason is is because it 
then asks you after all found duplicates, which of them you wish to 
keep. Well, I have some 5000 duplicates to go through, so it will take 
forever. I would rather think of a way to use the output of fdupes or 
the file I created to delete all the duplicates.




The 'yes' program could help you with that :-) it endlessly sends a 
string (defaulting to 'y') to output - something like this should do it 
(but I didn't test it)


yes|fdupes -d -f ./


HTH,

Joris


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




Re: switching from apt-get to aptitude

2006-05-17 Thread Joris Huizer

Grant Thomas wrote:


Question for you (anyone) then:
If you install kde through aptitude, an aptitude marks Xorg as a
dependency, and then install gnome a couple of days later, would
removing kde also remove Xorg, or would it see it as a current
dependency for gnome and leave it?




It would see it as a dependency for gnome

regards,

Joris


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




Re: grub and lilo

2006-05-09 Thread Joris Huizer

Art Edwards wrote:
When I updated to testing on Friday night, lilo became the default boot 
loader. I have removed lilo. Grub is still present, and I am trying to 
install grub as the boot loader, following the instructions on its 
website. When issue the command


grub> find /boot/grub/stage

I receive

Error 15: File not found


Is that a typo? that file (without 1 or 2 at the end) doesn't exist I think

regards,

Joris


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




Re: upgrade glibc on Sarge

2006-05-07 Thread Joris Huizer

Hans du Plooy wrote:

On Sun, 2006-05-07 at 14:13 -0400, Roberto C. Sanchez wrote:


It is *very* unsafe.  The amavisd-new package is in backports.  I would
just use that instead.

http://backports.org/instructions.html



Thanks, Roberto,

That's the first place I looked, but they only have 2.3.3 for stable,
and i'm really looking for 2.4.  Guess I'll have to wait a little
longer.

Thanks
Hans




You could try and compile the unstable or testing version of the source 
yourself, this often works - especially if letting configure figure it's 
way out; apt would probably complain that way, so part of it must be 
done "manually"; if needed, some dependencies can be solved the same way

(I know in the last woody days I tried things like that with success)

HTH,

Joris


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




Re: who has heard of libnd?

2006-05-05 Thread Joris Huizer

Hugo Vanwoerkom wrote:

Hi,

In pursuit of a dialog like replacement that uses the mouse I came 
across Ndialog:

http://gehenna.pell.portland.or.us/~orc/Code/ndialog/

But it needs a libnd to compile its examples:
cc -o fancyhello fancyhello.c -lnd -lpanel -lncurses -lgpm



In fact I just tried it: after building it a file has been built, named 
libndialog.a

if you rename it to libnd.a (or create a symlink), this works:

[00:59:[EMAIL PROTECTED]:/tmp/ndialog-1.0/src/example$ gcc  -I../ 
-L..  -o fancyhello fancyhello.c -lnd -lpanel -lncurses -lgpm


(yes I had the file in a seperate subfolder named example)

regards,

Joris


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




Re: who has heard of libnd?

2006-05-05 Thread Joris Huizer

Hugo Vanwoerkom wrote:

Hi,

In pursuit of a dialog like replacement that uses the mouse I came 
across Ndialog:

http://gehenna.pell.portland.or.us/~orc/Code/ndialog/

But it needs a libnd to compile its examples:
cc -o fancyhello fancyhello.c -lnd -lpanel -lncurses -lgpm

Anybody ever heard of that?

If not that's the end of the ndialog project ;-)

H




wild guess, shouldn't you link the examples with some ndialog library 
file? as lib-NDialog


HTH,

Joris


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




Re: search and replace code in php or html files

2006-05-05 Thread Joris Huizer

Casey T. Deccio wrote:

On Fri, 2006-05-05 at 13:16 -0400, H.S. wrote:


The problem is to change a particular link in all the pages. I assume
the webpages were made using a template. If I were to search and replace
a particular string with a the new desired one, I would be done. Could
somebody suggest the best way to use grep and sed to make these changes?
The main problems are matching HTML code over a number of lines and
replacing all of them. I am not averse to using perl either if I could
get a starting point. All relevant suggestions are welcome. BTW, I have
Debian Etch and Sid machines here on which I can work, if it matters.



find . -name "*.html" | xargs sed -i.bak -e
's/string_to_replace/replacement/g'

Does something like this work?  If your match pattern spans more than
one line than you'll need a more complex script.

Casey




you could do something like,
cat file.html|tr '\n' ' '|sed ...

(then, after all replacements, you could insert newlines, if sed does 
that at least)


HTH,

Joris


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




Re: More X Problems Today

2006-05-04 Thread Joris Huizer

[EMAIL PROTECTED] wrote:




I don't think we should blame all Debian developers. The only real  
problems I've had with sid were related to x-server; all other parts  of 
Debian are rock solid. Maybe the x-server Debian maintainers are  
new/unexperienced in that task?





Managing something as big as X and providing packages (including the way 
X tools are split up in several package) doesn't sound like a trivial 
task to me



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




Re: daylight saving time

2006-05-04 Thread Joris Huizer

Paul Johnson wrote:

On Friday 28 April 2006 11:19, Joris Huizer wrote:


How does one setup debian to automatically account for "daylight saving
time"?



Debian does this automatically by default.  Make sure you answer the questions 
regarding how your clock is set and where you are located during 
installation, or run tzconfig as root after installation to make sure your 
timezone setting is correct.
 


That only asked whether my location was set correctly (it is)
Should I indicate the clock to be GMT for daylight saving time to work? 
The machine was setup such that it isn't set to GMT;

Though I read that'd give problems with windows too :-/

regards,

Joris


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




daylight saving time

2006-04-28 Thread Joris Huizer

Hello,

How does one setup debian to automatically account for "daylight saving 
time"? Here In Holland the dates at which the hour time change occurs 
are fixed;
(This computer has also a Windows install, though one that isn't used 
often; Windows sets up the clock, linux ignores it)

Thanks,

Joris


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




Re: New user need some help

2006-04-27 Thread Joris Huizer

Mariusz Kruk wrote:

Ken Walker napisał(a):


apt-get install x-windows-system



No! There ain't no such thing as X Windows!
Read the X(7x) manual




That should be `apt-get install x-window-system` or `apt-get install 
x-window-system-core`



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




Re: Gnome/KDE resources

2006-04-26 Thread Joris Huizer

Ron Johnson wrote:

I suppose that should've been version 2.8



Gotcha.  What branch is that, Stable?  Sid is at 2.14, and 2.8 is
old enough that I didn't believe that anyone is still using it...



Uhm yes that's stable (though I don't use gnome myself)
(Chances of breakage still make me feel I better stay with the older 
stuff... maybe that's just me not trusting my own abilities to handle that)



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




Re: Gnome/KDE resources

2006-04-26 Thread Joris Huizer

Ron Johnson wrote:

On Tue, 2006-04-25 at 16:15 -0600, Cameron Matheson wrote:

Both desktops have been making huge strides lately in performance and
what not.  I hadn't used GNOME/KDE in about a year, but I have given the
1.8 release a whirl and it does seem a lot snappier.



Version 1.8?  Am I missing something?



I suppose that should've been version 2.8


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




Re: Gnome/KDE resources

2006-04-25 Thread Joris Huizer

Curtis Vaughan wrote:
I remember sometime at the end of last year reading that KDE uses  less 
resources than Gnome. After reading that I had to install linux  on an 
older machine for someone, so I put KDE on it. It worked OK.


Now I get the latest Linux Journal and they say in there than Gnome  
uses less resources.
I tried to remember what it was that I had read about KDE and began  to 
think, well maybe it wasn't that KDE used less resources overall  but 
that it used less ROM or something. Doesn't matter. My question  then 
is, given an older machine that KDE or Gnome can run on, which  should I 
install to get better performance?


Thanks!

Curtis



Both environments load so much that it wouldn't be smart to use them if 
performance is really a big issue -- Both are fullblown desktop 
environments so neither is a great choice when running on a system with 
low resources
The reasons for choosing between KDE en Gnome are mostly about personal 
preference -- how does it "feel" if you try using it; I personally like 
KDE better as I find it easier to use/configure
The current KDE (in debian stable) is much better than it was in 
oldstable, but still the initial load irritates me;

(I don't use KDE regularly either)

HTH,

Joris


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




Re: afraid to upgrade libc6 and libc6-dev

2006-04-24 Thread Joris Huizer

Andrei Popescu wrote:


Do you need to reboot after this upgrade? I'm asking because I did the
upgrade on a remote machine with some hardware troubles and I am afraid
to reboot it.



Hmm... if you got a new kernel image you need to restart the machine to 
use it (untill then it's running with the older version of the kernel)

Apart from that there shouldn't be any need to reboot, as I wrote before

HTH,

Joris


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




Re: afraid to upgrade libc6 and libc6-dev

2006-04-24 Thread Joris Huizer

Andrei Popescu wrote:


Do you need to reboot after this upgrade? I'm asking because I did the
upgrade on a remote machine with some hardware troubles and I am afraid
to reboot it.



There shouldn't be a need to do so; if some service needs to be 
restarted, just do the `/etc/init.d/ restart`, though this 
normally happens automatically when packages are upgraded


HTH,

Joris


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




Re: afraid to upgrade libc6 and libc6-dev

2006-04-23 Thread Joris Huizer

Sumo Wrestler (or just ate too much) wrote:

I'm using Sarge.

I just did an "aptitude update," and now when I attempt to upgrade,
aptitude says that it wants to upgrade libc6 and libc6-dev.

I know that those are pretty critical to the functioning of the system,
so I've temporarily put them on hold, and I'm not upgrading yet.

My question is "why are libc6 and libc6-dev being upgraded?" I didn't
see anything on the http://www.debian.org/security/ site suggesting that
libc6 needed to be upgraded, and I didn't change my sources.list.

This is "stable." Things aren't upgraded unless it's a security concern 
(or so I thought).


I'm scared to upgrade because I don't want a non-functional system, and
I don't want Etch or Sid.



I don't know exactly why libc6 is upgraded, but the upgrade seems to be 
part of the 3.1r2 update (see http://release.debian.org/stable/3.1/3.1r2/)

I got it too, just tracking sarge too

HTH,

Joris


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




Re: still learning, need a think i should?....for gnome components.

2006-04-23 Thread Joris Huizer

Xplicit Language wrote:

i have gotten synaptic to update a unstable file i
needed, but it wants to remove a lot of stuff and
upgrade and install somethings but not gnome word, ark
and a few others that i think i need, a little help
here please.



Hmm, why are you upgrading to unstable? I think you first have to be 
comfortable with debian tools (apt and the like) before you can manage 
debian/unstable...

(at least, I don't dare jumping into the world of sid yet)

regards,

Joris


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




Re: What happened to glxgears?

2006-04-18 Thread Joris Huizer

David Goodenough wrote:

On Tuesday 18 April 2006 00:03, Toshiro wrote:


According to apt-file glxgears is in xbse-clients, but according to dpkg
-c it is not in the latest version.  Has it moved to another package or
has it been dropped.  If it has gone away, what is the new recommended
test vehicle for dri and glx?


Use apt-file package to see which package has the file you need to know.


If you read what I wrote, I had already used apt-file.  For some reason it was
behind the times.  Now it reports correctly, but at the time it did not.  That
was why I asked the question!



Try running apt-file update and repeat the search again

HTH,

Joris


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




Re: Xorg upgrade: Getting twm not kde

2006-04-16 Thread Joris Huizer

Andrei Popescu wrote:

"Matthew R. Dempsky" <[EMAIL PROTECTED]> wrote:



On Sun, Apr 16, 2006 at 02:54:36PM -0400, Michael Marsh wrote:


If you were using .xsession before, try:

$ ln -s .xsession .xinitrc

in your home directory.


A better solution is

   ln -s /etc/X11/xinit/xinitrc .xinitrc

so that the Xsession scripts (e.g. ssh-agent), are still executed 
correctly.



One can achieve that by putting ". /etc/X11/Xsession" as the first line
in .xinitrc

If you link, all changes are done for all users on the system, and you
can do changes only as root ...

Andrei


uhm no, .xinitrc will link to  /etc/X11/xinit/xinitrc, not the other way 
around



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




Re: What's the next step?

2006-04-11 Thread Joris Huizer

Rocky Ou wrote:

Hey,

I use netinst CD installed Debian Sarge 3.1 successfully. I only 
installed base system no any other stuff. I can use SSH to connect to 
remote server. If you could give me some hints regarding to the 
following items, I would really appreciate it?




in general `apt-cache search ` finds the package you need, 
though you often have to search for the correct name (it often finds 
other 'related' packages that do not really give what you want) ; 
`apt-cache show ` tells you what a specific package gives you 
(that package name you got from `apt-cache search` for example)



   1. Which package should I download so that I can  browse webpages as
  how I'm doing under Windows?  This is very important as lots of
  webpages will give me how-to instructions. Do I use apt-get 
  x? Or something else?


There are a number of options here (different browsers are available), 
but mozilla or mozilla-firefox is good; `apt-get install 
mozilla-browser` gets the browser component of the mozilla suite, 
`apt-get install mozilla-firefox` gets mozilla-firefox



   2. What about Desktop management? I think I can either use KDE or X
  servers right? Most likely I'm wrong. What I want is that I can
  open a terminal to enter commands not the old MS style, So that I
  can use Crt+tab to move betwen termialls?


You need both - kde needs a working X server; try these commands: 
`apt-get install x-window-system-core` to get the needed packages for X; 
use `apt-get install kde` to install the complete kde suite



   3. Can I use apt utility to download CMS such as TYPO3? After
  downloading does all of the users can have access to it, I mean
  except root? If this is possible how can normal users do it?



Sorry this I don't know



As you see, I'm totally a newbie.  The relevant link is highly 
appreciated as well!


Thanks a lot in advance!


No problem, we had to learn this stuff ourselves too ;-)

HTH,

Joris


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




Re: Telling aptitude dist-upgrade it can add but not remove packages?

2006-04-11 Thread Joris Huizer

Adam Funk wrote:

Is there any set of command-line options that will let me `aptitude
dist-upgrade` so that it will add any packages necessary to upgrade
existing packages, but not remove any currently installed packages?




You could run `aptitude dist-upgrade` and use the list of packages to 
install with `aptitude install ` ...
If you are only concerned about a small number of packages, you could 
use `aptitude hold ` which tells aptitude never to change 
those (until you tell it to do something else with them)


HTH,

Joris


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




Re: PUHHLLLEEEEZZZE LOOK AT THESE RETARDED NAMES OF EXE's YOU DEBIAN PACKAGE DUDES

2006-04-07 Thread Joris Huizer

Ron Johnson wrote:

This is what I'd use to track down package names:
locate  | grep bin
dpkg -S 
apt-get search 



or try apt-file search


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




Re: Is it possible to simply copy the kernel from one machine to another and use it?

2006-04-07 Thread Joris Huizer

Christopher Nelson wrote:

On Fri, Apr 07, 2006 at 10:01:08PM +0200, Joris Huizer wrote:


Yu,Glen [Ontario] wrote:

I was wondering if it's possible to copy the vmlinuz-x.y.z from one 
machine to another and have the other machine run properly with it.  


   

You'll also need to copy the modules for kernel x.y.z 
(/lib/modules/x.y.z )- you also assume the machines are similar enough 
to be supported with the same kernel (for a distribution kernel this is 
probably valid -



Probably doesn't have to be said, but this also assumes the same
architecture.  A mips kernel would probably not work on an i386 machine
(unless I'm mistaken in how generic the distribution kernels are--I
build my own).



It'd be *really* cool if linux & gcc/as somehow manage to produce code 
that is meaningfull on different architectures ;-)



regards,

Joris


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




Re: Is it possible to simply copy the kernel from one machine to another and use it?

2006-04-07 Thread Joris Huizer

Yu,Glen [Ontario] wrote:
Hello everyone, 


I was wondering if it's possible to copy the vmlinuz-x.y.z from one machine to 
another and have the other machine run properly with it.  Here's the scenario:

I have 2 systems, both running Debian 3.1 (Sarge), and their hardware is a 
little different from each other.  Suppose my machine is running a 2.4.x kernel 
and the other a 2.6.x kernel, can I simply copy the /boot/vmlinuz-2.6.x kernel 
over to my machine's /boot directory, make the appropriate changes to 
/boot/grub/menu.lst and have it work as if I had installed it through apt or 
dpkg?

If anyone has actually tried this and got their machines to work, I would like 
to know what and how you did it.

Thanks,
-Glen

--
Glen Yu | 416-739-4861 | [EMAIL PROTECTED]
--




You'll also need to copy the modules for kernel x.y.z 
(/lib/modules/x.y.z )- you also assume the machines are similar enough 
to be supported with the same kernel (for a distribution kernel this is 
probably valid - for a customly-built kernel this may not be the case)


HTH,

Joris


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




Re: execute a program using C

2006-04-05 Thread Joris Huizer

Deephay wrote:

Greetings all,

  I am wondering that if there is way to execute a compiled program
using C (either system calls / library calls)? Thx a lot!

Deephay


Maybe it's just me, but I don't really get what your question is - what 
do you mean by 'executing a compiled program using C' ?


regards,

Joris


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




Re: kernel-image-2.4.27-2-386 update

2006-03-28 Thread Joris Huizer

Tomas Brandysky wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

I noticed there is a new kernel image available for debian sarge.
I am currently using this kernel:

kernel-image-2.4.27-2-386   2.4.27-10sarge1

when I try to:

apt-get update; apt-get upgrade

I get just:
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

besides I can clearly see there is a kernel-image-2.4.27-3-386
2.4.27-10sarge2 available in aptitude package list.

Is this a normal behaviour or do I have to install this new kernel-image
manually ?

Thank you

Tomas


This is because it is really a new package; If you want apt-get to 
select the newest 2.4.x kernel, install the package 
kernel-image-2.4-386, which always depends on the latest 2.4 kernel


Then a apt-get upgrade or an apt-get dist-upgrade will pull in the 
newest 2.4 kernel :-)


HTH,

Joris


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




Re: prefered kernel configuration? (solved)

2006-03-17 Thread Joris Huizer

jlmb wrote:

Hi Joris,
Joris Huizer wrote:


Hello,

I have a simple question: I'm using an AMD Sempron machine, and I >build
my own kernels;



There seems to be 64bit and 32bit semprons.



I'm currently using the 386 configuration in the linux
kernel, as I didn't know what option would be best to choose...
What is actually the best option for best performance? I was wondering
whether 686 had pentium-specific optimizations which is why I didn't
choose that one



You could have chosen 686 without problems.



I'd also be very thankful if somebody could give some links to sites
discussion what options to use best in general (for other similar
configuration questions)




http://www.linuxquestions.org/questions/showthread.php?t=332096
Not a great discussion though.

http://forums.gentoo.org/viewtopic-t-418675-highlight-processor+sempron.html?sid=2d73cf6231bf60d2a04b7169342d2897
This might help you more.



Thanks :-)

Joris






np

jorge



Ah ok, I found I have a k8 machine (by the nx bit and the lspci K* 
lines) :-)

I should've searched with more specific keywords I guess

I'll keep that in mind for the next time I rebuild (for security update 
or maybe version upgrade) :-)


Joris


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




prefered kernel configuration?

2006-03-17 Thread Joris Huizer

Hello,

I have a simple question: I'm using an AMD Sempron machine, and I build 
my own kernels; I'm currently using the 386 configuration in the linux 
kernel, as I didn't know what option would be best to choose...
What is actually the best option for best performance? I was wondering 
whether 686 had pentium-specific optimizations which is why I didn't 
choose that one
I'd also be very thankful if somebody could give some links to sites 
discussion what options to use best in general (for other similar 
configuration questions)


Thanks :-)

Joris


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




Re: Debian 3.1 installation not detecting my hard drives =(

2006-03-03 Thread Joris Huizer

Yu,Glen [Ontario] wrote:

Hmm...I think there's some confusion here, so allow me to clear things up a 
little.

1) I am trying to install Debian 3.1 Sarge (at the moment I don't care which 
kernel) on a Dell PowerEdge 2800 Server

2) When I try to do (1), at the "Partition Hard Disk" section of the install, it gives me 
the following error message: "No partitionable media found.  Please check that a hard disk is 
attached to this machine"

3) Jorge replied with a couple of links, one of which is for a custom 
debian-dell.2.4.31 kernel (which works btw, as it can detect the HDDs now), 
HOWEVER it's for Debian 3.0 Woody, and I want Debian 3.1 Sarge, so I was 
wondering how I should go about getting Sarge installed.  Do I install Woody 
entirely and then upgrade it to Sarge while preserving the kernel OR is there a 
simpler way?

Thank you, and sorry if my previous e-mail confused anyone.


Glen Yu



You could use the woody installer, without installing any other packages 
(except maybe some you really require, maybe for networking, or some 
firewall, or so), then you could install sarge, and then select what you 
need (by base-config, and/or using "Tasks" under aptitude, and/or by 
adding some with a "manual" aptitude or apt-get run)
Installing more than necessary can make the upgrade from woody to sarge 
harder I think; if the system has just the base installed


By the way, maybe it's also an idea to send some info to the debian 
installer team so that they can fix things to support your hardware in 
future :-)


HTH,

Joris


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




Re: Debian 3.1 installation not detecting my hard drives =(

2006-03-03 Thread Joris Huizer

Yu,Glen [Ontario] wrote:

Hi,

Thanks for your reply Jorge, but I've already tried that ISO before and it's 
for the 3.0 Woody version of Debian.  However, I'm looking to install Sarge.  
However, it did say on the site that it would work for Sarge as well, but I 
don't see how that would work.  Would I have to install Woody entirely, then 
upgrade to Sarge while preserving the kernel? Or is there an even better way 
than that?

Thanks


Glen



I thought you said in your first post that you tried installing 3.1; if 
you are really working with Woody images I strongly recommend using 
Sarge instead (the installer is much better)
there is choice between installing with linux 2.4 or linux 2.6 (Woody 
does 2.2 or 2.4)


You can find CD images here: http://www.debian.org/CD/
You can find additional installation info here: 
http://www.debian.org/releases/stable/i386/


HTH,

Joris


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




Re: 2.6 compilation woes...

2006-03-02 Thread Joris Huizer

Doofus wrote:

Colin wrote:


Doofus wrote:
 


Now I'm bamboozled. If I compile a kernel using the identical .config
file that was used to compile the working and running kernel and it
won't boot properly, then my powers of fault finding dry up. I'd be
mightily grateful if anyone can give me any ideas as to where the
problem may lie, or other things to try.
  



If you're compiling the kernel The Debian Way(tm), then you're missing
one critical option:

--initrd

This option will create an initrd file which contains a whole lot of
kernel modules which may or may not be used on your system.  This file
is loaded when booting the system.  If the filesystem is specified as a
kernel module and you don't create a initrd file, then the kernel
modules are _not_ loaded on startup so the system does not know how to
read your filesystem.

In short, you have two options: create an initrd file with your kernel
or compile the options you want directly into the kernel (namely your
filesystem and IDE controller).



Colin,

You're right of course, and I think I'm there now.
Even though I'd compiled reiserfs and ext2fs into the kernel, all the 
IDE drivers were still modularised, so linking these into the kernel got 
the machine booted ok.


My question now is: which is the better kernel build method, initrd 
where everything can be just modularised and there's not much else to 
worry about, or compiling the necessary core drivers into the kernel and 
loading other modules on-the-fly as needed (which is what I've always 
done with 2.4 kernels)? The first of these seems clearly the easier path 
to take, but isn't the second methos using kmod a better/more optimum 
method?




Without using initrd the kernel will boot faster;
The reason distribution kernels always use initrd is, that way they can 
have just all modules and only those needed for the used hardware will 
stay in memory; having all builtin would take more memory after the boot

As someone else noted, ensure support for your hard disk is also builtin

You're almost there probably (note that it's probably just as hard to 
use the config file of the distribution 2.4.x kernels, those use initrd too)


HTH,

Joris


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




Re: What virtual package is "minimal system"?

2006-02-25 Thread Joris Huizer

[EMAIL PROTECTED] wrote:

On Sat, Feb 25, 2006 at 08:12:59AM -0500, [EMAIL PROTECTED] wrote:




One way to get the system to be really minimal, is to mark *everything* 
as auto-installed (M in aptitude), and then to select those packages you 
need to be there as manually installed (m in aptitude)
note that this is not for newbies - if you forget to mark some packages 
as manual, that are necessary for, say, network support, or something 
else you require, you're in trouble




I'd worry about forgetting the packages necessary to run aptitude and 
the keyboard and monitor in textmode...  I suspect that 8al* the 
dependencies aren't there ... for example, most commands don't have a 
dependency on the shell that you need to have so you can type in the 
comand and execute them.  Strictly, of course they don't need a shell to 
run -- there are other ways of launching a program, such as the one that 
the kernel uses to launch the shell.  Another example is X, where the X 
clients don't need the X server, because, after all, you could be using 
an X server through the internet on a maching halfway around the world.


I wasn't looking for a *truly* minimal system.  I was looking (perhaps 
misguidedly) for the collection of packages I usually get during 
installation when I select "minimal system".  I would select that 
virtual package, and make any adjustments necessary to resolve the 
conflicts I encountered, and install.  As it is, I keep doing 
things and finding out they don't work, switch over to aptitude, 
installing packages containing the missing commands, and so forth.

Maybe I should just continue in this way and things will stabilize.

-- hendrik



Sorry I didn't see your previous message so I reply now; just for the
record:
Some packages won't be removed without you answering some large warning
with typing something like "this is really what I want" (that, there's
no chance that you do not know you did that) and marking them as
auto-installed won't make aptitude think they have to be removed; (and
bash is part of the critical set so you would always have a shell)
X server would be removed though as it's not a critical package as you noted

However, not being able to use network sounds like crippling a desktop
machine if you do not have packages available except for using that same
network ;-) as it stands, it's still not trivial to get a system that
minimal and still functional for all your needs


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




Re: What virtual package is "minimal system"?

2006-02-25 Thread Joris Huizer

Andrei Popescu wrote:

On Fri, 24 Feb 2006 10:39:39 -0500
[EMAIL PROTECTED] wrote:


I managed to install etch on my AMD-64 system, except that in the 
package selection I could not even ask for it to nstall "minimal system" 
because of dependency conflicts.  Neither could I do manual package 
selection -- it just never did that part of the installation even though 
I had reqiested it.


But aptitude will run on my newly installed system.

So my question now is, what virtual package to I ask for in aptitude to 
get the equivalent of "minimal system" during installation?


-- hendrik


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



What do you consider a minimal system might be totally different for others. 
When you get to the base-config you already have the minimum to run a machine ;)

Andrei


One way to get the system to be really minimal, is to mark *everything* 
as auto-installed (M in aptitude), and then to select those packages you 
need to be there as manually installed (m in aptitude)
note that this is not for newbies - if you forget to mark some packages 
as manual, that are necessary for, say, network support, or something 
else you require, you're in trouble



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




Re: wine 3d very very slow, toolchain problem?

2006-02-19 Thread Joris Huizer

Rodney Gordon II wrote:

Recently I have built my own compilation of wine on Debian, three
different revisions (0.9.6 .7 and .8). All of these versions are
compiled correctly. I have noticed an odd problem with these builds of
wine, and the commercial cedega fork of wine on Debian.

My dilemma:
I used to play WoW alot.. on linux even! But since my reinstall, I've
had no such luck.. For those that have played World of Warcraft, I am
currently pulling a massive 13fps in the horde's crossroads, and 5fps
if I am lucky in Orgrimmar.. Now, these rates are horrible for my
hardware, and on my last Debian install I would get at least
acceptable framerates. I get these pitiful framerates on wine AND
cedega, so I am pretty assured that I have compiled wine correctly.

I have nvidia-kernel-source installed and modules built for both of my
kernels, 2.6.15.4 mainline and also 2.6.15-ck4. nvidia-glx and
nvidia-glx-dev are installed, as are the proper libraries wine
requires.

Hardware:
Pentium D 830 (3GHz dualcore)
1.5GB RAM
Asus P5LD2 Mobo
nVidia 6600 256MB PCI-E

What I have tried to remedy this situation:
Different builds of wine
Different versions of cedega
Tried mainline kernel, and Con's patchset
Tried both wine and cedega

Some odd things to note:
While running wine, if I attach strace to wine's process which uses
the most cpu (I don't recall if its just 'wine' or 'wineserver' at the
moment, either or) strace just shows a TON of sched_yield() = 0 ... I
talked to Con Kolivas about this problem and he said it may be related
to a toolchain bug due to mainline and his ck patchset kernels showing
the same effect. I am not very knowing about how the Debian toolchain
is setup so maybe someone could enlighten me on this possible problem?

I am at a loss as what to do at this point. My past install 2 months
ago worked fine.. This is nearly a brand new install, and it just
isn't working properly with wine and this game.

If anyone can help, I'd greatly appreciate it!

-r




I think, for best performance, you can use the headers of 
nvidia-glx-dev; normally, those are only placed under 
/usr/share/doc/nvidia-glx-dev/include/GL, not in the standard include 
path; you have to copy the files into /usr/include/GL (move the original 
versions of the available .h files elsewhere I guess)


I don't really think that'll solve the problem, but you can try at least

HTH,

Joris


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




Re: Newbie wants KDE

2006-02-08 Thread Joris Huizer

[EMAIL PROTECTED] wrote:

I just did a more or less default install of Sarge usin the mini-disk
and download method. Now the system fires up in Gnome instead of KDE.
How do I convince the system to start up kdm instead?
My previous experince is with Slackware where you could choose the
window manager at install time. 


TFYH

John Culleton




to get the complete kde system,
aptitude install kde
if you just want kdm,
aptitude install kdm

HTH,

Joris


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




Re: Can I fix this with apt-get???

2006-02-01 Thread Joris Huizer

Rob Blomquist wrote:
I had a total of 3 crashes during my initial install of Debian Sarge about 2 
weeks ago. 


I am noticing a number of buggy problems:

-needed to install ghostscript for CUPS to work.
-Still have no access to my cardreader as the USB subsection sees it, but is 
not mounting it.
-Evolution refused to connect to my PDA but Kpilot found it. Well after 
installing pilot-link.

-and probably 42 others.

If I run a dependancy check with apt-get, all appears well to the database. 
How can I fix this all 


not very likely I guess, but does apt-get -f install do something? or 
apt-get dist-upgrade
also, you could try what aptitude does if you tell it to do `aptitude 
dist-upgrade` ? (as it handles dependency stuff a bit different than 
apt-get)


HTH,

Joris


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




Re: Synaptic shows kernel 2.6.14 as obsolete. Why?

2006-01-21 Thread Joris Huizer

Edward C. Jones wrote:
I have a PC with an AMD64 +3500 cpu chip. I use up-to-date debian 
unstable, "i386" distribution. I have two "vmlinuz"s: 
"/boot/vmlinuz-2.6.12-1-386" and "/boot/vmlinuz-2.6.14-2-386". The 
installed packages are "linux-image-2.6.12-1-386", version 2.6.12-10 and 
"linux-image-2.6.14-4-386" version 2.6.14-7. By default, the system 
boots into 2.6.14.


Why does Synaptic show 2.6.14 as being "installed (local or obsolete)"? 
Which kernel is the best one for me to use: "linux-image-2.6-386", 
linux-image-2.6-686", "linux-image-2.6-k7", etc? (I want to keep the 
"i386" distribution.)





in aptitude, any package that is not found on the debian servers (or 
other servers in your /etc/apt/sources.list) is marked as "local or 
obsolete"
I think synaptic is doing the same: This message probably means new 
packages arrived on the servers and you kept using the current kernel, 
so it responds to this by claiming it's outdated.


HTH,

Joris


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




Re: kernel 2.4.* vs 2.6.* and ATAPI dvd question

2006-01-16 Thread Joris Huizer

Greg wrote:


which device do you write to ?
(there's a reason I ask, I'll elucidate when sober...^hic)};)




I call cdrecord as follows:
cdrecord --force dev=ATA:1,0,0
that means, the ATA:1,0,0 device

hmm, as I think of that, I guess that's a scsi naming scheme; I think I 
read writing to /dev/cdrom would work to but I guess I never changed my 
cdrom-writing script to do so



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




Re: how do i downgrade to xfree86 on sid?

2006-01-15 Thread Joris Huizer

Matt wrote:



Joris,

Thanks for the tip, I'm working on it right now, but was just wondering 
if you know of a "clean" way of doing this.  currently, i'm planing on 
removing x-org related packages, editing my sources.list to point to 
sarge, then apt-get installing the xfree packages.  however, when i 
apt-get upgrade with sid repositories later, xfree will be replaced with 
xorg due to the xserver-xorg transitional package.


so, is there a way to stop a certian package from being upgraded?

thanks,
Matt




At least with aptitude you can indicate a package must be kept in it's 
current version; unfortunately, I do not know how to do this with 
dpkg/apt-get (I think it's probably done by apt-get in some way, but I 
haven't found how to tell apt-get to do that, manually)


(Though I hope the post on xfree86 drivers in xorg will help you find a 
way to do it in xorg -- it will be less work, you'll be using pure-sid 
etc ;-) )


HTH,

Joris


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




Re: Can't use dpkg (and thus apt-get et al.)

2006-01-15 Thread Joris Huizer

David R. Litwin wrote:


Are you able to run apt-get update?


Yes. The problem is with dpkg or debconf.  When using synaptic, it
said that debconf was broken.


An update:

# dpkg-reconfigure debconf
dpkg-query: parse error, in file `/var/lib/dpkg/available' near line 
359695 package `dcgui':

 field name `
/usr/sbin/dpkg-reconfigure: debconf is not installed
 
But, when I apt-get install debconf


debconf is already the newest version.



You could force apt-get to reinstall:
apt-get --reinstall install debconf

HTH,

Joris


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




Re: kernel 2.4.* vs 2.6.* and ATAPI dvd question

2006-01-15 Thread Joris Huizer

Greg wrote:

Seeker5528 wrote:
 > On Sat, 14 Jan 2006 20:17:50 -0400
 > Greg <[EMAIL PROTECTED]> wrote:
 >
 >
 >>>Don't you think it would be more confusing to tell people that SCSI
 >>>emulation was built in to ide-cd. If you tell them that then they will
 >>>be expecting to have srX devices for their drives
 >>
 >>1) I have symlinks:
 >>[EMAIL PROTECTED]:~$ ls -l /dev/sr*
 >>lrwxrwxrwx 1 root root 31 2006-01-11 13:52 /dev/sr0 ->
 >>scsi/host0/bus0/target0/lun0/cd
 >>lrwxrwxrwx 1 root root 31 2006-01-11 13:52 /dev/sr1 ->
 >>scsi/host1/bus0/target0/lun0/cd
 >
 >
 > I have not had any srX links since I started using a 2.6.X kernel and
 > stopped loading the ide-scsi module, so clearly there is no scsi
 > emulation here.
 >
 > Since I upgraded to a DVD burner I have 3 links cdrom, dvd, and cdrw
 > all pointing to /dev/hdb.
 >
 > If you actually have SCSI CD/CD-RW, DVD/DVD-RW drives then srX devices
 > will be created with 2.6 kernels because they actually are SCSI devices.
 >
$ uname -a
Linux uniq 2.6.15 #1 PREEMPT Tue Jan 3 22:06:09 AST 2006 i686 GNU/Linux
===^^ (self-compiled)

$ scsiadd -p
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: YAMAHA   Model: CRW8424S Rev: 1.0d
  Type:   CD-ROM   ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: HL-DT-ST Model: DVDRAM GSA-4040B Rev: A300
  Type:   CD-ROM   ANSI SCSI revision: 02

0,0,0 = (real)SCSI cdrw
1,0,0 = (real)ATAPI dvdrw

I will refrain from providing my (probably superfluous and confusatory) 
symlinks/devices list, as, due to the sheer damned annoying nature of 
all this scsi-emu-bullshit, I've been "messing about" with udev.


As of right now, both drives perform as expected, although I've thrown 
away several sets of "coasters" getting this far, over the last few YEARS.


A decade and a half or so ago, I leapt into solving knotty configuration 
problems in Linux with exuberant gusto, but, now,  I just don't 
have the resources/energy to spend on bench/spare/testbed boxen. I gave 
up SysAdmin-Contracting to "spend more time with my Cocoa & Nutmeg Trees".

:-)


You are still getting scsi emulation because you have it selected in 
your kernel config. (that option is under ATA/...)
I'm running a self-compiled 2.6.8 kernel with which I am able to write 
to cdroms; it doesn't have any scsi stuff (scsiadd doesn't report 
anything there)

Instead it uses the ide-cd module;

HTH,

Joris


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




Re: how do i downgrade to xfree86 on sid?

2006-01-15 Thread Joris Huizer

matt wrote:

hi all,

i can't really believe that i need to do this (i like xorg a lot) but i
need to downgrade to xfree in order to use a midified trident driver. 
since there are no xfree86 packages in the official repository, i can

only hope that they exist elsewhere...

so, how can i use xfree instead of xorg on sid?

Thanks,
+matt



In case this really turns out this is the way to go for you, you could 
install the xfree packages of sarge (current version: 
"4.3.0.dfsg.1-14sarge1")


I guess you may need to uninstall xorg before doing this, though maybe 
it is not strictly necessary


HTH,

Joris


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




Re: zero install - serious critiques?

2006-01-13 Thread Joris Huizer

David M.Besonen wrote:

On Fri, 13 Jan 2006 15:51:20 +0100, Joris Huizer
<[EMAIL PROTECTED]> wrote:



you may see this as some problem:

"Isn't running stuff off the net a security risk?
Isn't that where you get your software from anyway? Zero Install 
automatically performs a number of checks for you (such as checking MD5 
sums and GPG signatures), and since it doesn't run any of the remote 
code as root, you can try software out safely as a 'guest' user. Once 
downloaded, the programs are run from the cache, without even checking 
the original sites for updates (you have to tell it to update manually)."


That means: no security updates or whatever I guess



right.  this problem is part and parcel of all gnu/linux "bundled
application" solutions that are available atm iirc.  no?  a trade-off
of less security for greater ease of use by the enduser.

the upside seems to be that the end-user is less likely to fubar the
whole os if they zero install some malware since the zero install
system says it confines all activity to user space.  am i
understanding this correctly?

peace,
david




Yes I think so :-)
Their security page states, "there's nothing a user can do with Zero 
Install that they couldn't do without it"
(note that I do not have experience with zero install, just assuming 
their information is correct ;-))


regards,

Joris


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




Re: zero install - serious critiques?

2006-01-13 Thread Joris Huizer

David M. Besonen wrote:

hi all,

i have recently been reading about the zero install 
system as a result of my interest in the rox desktop.


i personally would prefer to use rox with apt.  
however, it seems the rox devs are primarily packaging 
for zero install.


anyhow, is there any reason i wouldn't want to use 
zero install?  any glaring problems it creates?  the 
zero install website only has Good Things to say about 
zero install (not a surprise as much as a 
disappointment - nothing is perfect).


for reference:
 http://zero-install.sourceforge.net/filesystem.html
 http://zero-install.sourceforge.net/compare.html


peace,
david




you may see this as some problem:

"Isn't running stuff off the net a security risk?
Isn't that where you get your software from anyway? Zero Install 
automatically performs a number of checks for you (such as checking MD5 
sums and GPG signatures), and since it doesn't run any of the remote 
code as root, you can try software out safely as a 'guest' user. Once 
downloaded, the programs are run from the cache, without even checking 
the original sites for updates (you have to tell it to update manually)."


That means: no security updates or whatever I guess

regards,

Joris


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




Re: apt-listbugs and security

2006-01-13 Thread Joris Huizer

Andrew Sackville-West wrote:

On Thu, 12 Jan 2006 16:02:07 + (GMT)
david cuthbertson <[EMAIL PROTECTED]> wrote:



Hi,

Installing sudo returns the apt-listbugs message:

Critical bugs of sudo (-> 1.6.8p7-1.2 )
#315115 -[bugtrak] sudo version 1.6.8p9 now available,
fixes security issue.
Merged with:315718

The trouble is that I can't find v. 1.6.8p9 from the
stable package list, and etch provides sudo
1.6.8p12-1, but I would rather not have a mixed
system.



This is a concern. If bugtrak says 1.6.8p9 is available then it should come down the 
pipe with apt-get update && apt-get upgrade.

do you have security.debian.org in your sources.list?

A


for your interest, it hasn't showed up yet for sarge (running aptitude 
upgrade/dist-upgrade frequently here)


regards,

Joris


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




Re: apt-listbugs and security

2006-01-12 Thread Joris Huizer

david cuthbertson wrote:

Hi,

Installing sudo returns the apt-listbugs message:

Critical bugs of sudo (-> 1.6.8p7-1.2 )
#315115 -[bugtrak] sudo version 1.6.8p9 now available,
fixes security issue.
Merged with:315718

The trouble is that I can't find v. 1.6.8p9 from the
stable package list, and etch provides sudo
1.6.8p12-1, but I would rather not have a mixed
system.

What is the best way of dealing with this?
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=315115
provides me with more information than I can easily
manage.

Cheers,
Dave



Well, you can backport it to sarge:
apt-get build-dep sudo
apt-get -b -t testing source sudo
or, alternatively (if it complains about dependencies), do not use the 
-b flag and compile it yourself


But - except for not dragging in dependencies, that still mixes sarge 
with a non-sarge version of sudo :-/


HTH,

Joris


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




Re: New install->Broken X->modprobe mousedev->now X Works, but no mouse

2006-01-11 Thread Joris Huizer

Ed Young wrote:
Thanks for the reply. 

It's a standard PS/2 mouse with a scroll wheel. 


The mouse works fine under Windows XP(dual boot system) and when I cat
/dev/input/mice and move the mouse, I get the random characters. The
system is a cheapo MicroCenter PowerSpec, but I've had it running Linux
and X successfully in the past. As a matter of fact, I installed Ubuntu
on it the other day just to see if everything worked under Ubuntu and it
did. X and the mouse worked fine. 

Very frustrating how much trouble I've been having with this. 
Any other ideas. 


Ed



You could take the working /etc/X11/XFConfig-4 file of ubuntu and place 
it in debian, that should work
Alternatively, if you want to learn what the problem is, you can compare 
the two versions of the files and either edit it manually or answer the 
questions of dpkg-reconfigure xserver-xfree86 (or dpkg-reconfigure 
xserver-xorg I think?) with the help of the correct contents of the 
ubuntu version
The second route may sound a bit too long to solve the problem, but 
it'll help you understand that configuration file better :-)


HTH,

Joris


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




and it's a good thing too (Re: dpkg-reconfigure xserver-xfree86 yeilds no XF86Config-4 file?)

2006-01-11 Thread Joris Huizer

Clive Menzies wrote:


It's written as a comment in the conf file itself.  If you manually
modify the conf file dpkg-reconfigure xserver-xfree86 won't work until
you move the modified file out of the way:

# If you have edited this file but would like it to be automatically
# updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Regards

Clive



Just to give you the idea of why this is a good thing :-)
some years ago when I was using woody, an upgrade of X wiped away any 
changes in a customly configured XF86Config-4 -- I'm sure the need for 
these commands is to prevent just that problem


(ow, I meant to write that to the original poster but, anyway, it'll 
show up in the thread)


regards,

Joris


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




Re: apt-listbugs and security

2006-01-11 Thread Joris Huizer

david cuthbertson wrote:

Hi,

What am I to do with the bug reports I regularly
receive from apt-listbugs when installing or upgrading
debian packages?

I installed Debian Sarge because I am a relative
beginner and didn't want to worry about OS and
application security issues. Now I administer a
Media-Wiki based site, security has become more
important.

I have just installed apt-listbugs and discovered lots
of grave and critical bugs with many security critical
packages such as sudo, ssh. I chose Debian Stable
because I thought it would be just that. Is there a
*really* stable and secure Debian fork - suitable for
users with only middling expertise?

Cheers,
Dave



Yes I think you are save to consider Sarge a secure Debian fork (anyway 
the unstable and especially the testing branches are more likely to have 
unfixed bugs, by design (latest-and-greatest simply has not had a lot of 
time of testing yet))


There are two things I want to say on apt-listbugs:
1. you should read carefully what it says, many times most of the 
printed reports are marked , meaning the bug-report has been 
flagged as fixed (which should mean the problem has been dealt with)
I think you'll probably find there aren't many open bugs on the packages 
you just named;
2. Unfortunately, apt-listbugs seems to indicate many dead bug-reports 
as open (some very dated, originating from some time before the sarge 
release!) I have not investigated yet, but I'd like to hear if there is 
a way to filter out dated reports


HTH,

Joris


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




Re: Free Memory and Tasks

2006-01-11 Thread Joris Huizer

Marco wrote:

Hi all,
How to check the memory used from a task?

With "top" I look only total memory, free memory and used memory.

Every day my free memory decrease and I don't understand why...

Help :-(

Thanks
Marco




Top should tell you the meemory per task - start top and press 'f' - 
this will allow you to add MEM (N) and SWAP (P) and others if you like


HTH,

Joris


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




Re: Linux Distribution Chooser

2006-01-08 Thread Joris Huizer

Steve Lamb wrote:

Joris Huizer wrote:


I think, if the newbie just wants kde because of some fancy screenshots,
it's too hard for him/her; remember the newbie doesn't know the
character '/' upons up a search in so many linux/unix tools, so he/she
is completely lost in an unknown interface
Why would it complicate matters so much to add a menu item in the
tasksel selection labeled 'KDE desktop' that ads 'kde' to the list of
packages to download (as aptitude will do the rest) ? I do not
understand :-s



No, you don't.  In tasksel if you select GUI both are installed.  The only
thing the newbie has to do is select his interface the first time he logs in
from GDM.  That's the problem the other poster has.  That both are installed.



Sorry, in that case I had not understood correctly what the installer 
does; Installing both is okay.


if telling a newbie 'if you want to enter kde instead of gnome, choose 
it in the menu' is all that is needed to help this newbie, than setup is 
really great :-)


regards,

Joris


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




Re: newbies needing help for graphic login

2006-01-08 Thread Joris Huizer

Andrew Sackville-West wrote:



see my other note on this: why isn't (and I know NOTHING about the installer so bear with 
me) knoppix type detection done by the installer? There should be NOTHING that knoppix 
does that Debian can't do at install time, excepting kernel modules that are to far up 
the chain still. IOW, the installer should do a knoppix style detection and then test 
itself: "Dear user, the installer has detected a reasonable setup for your GUI. We 
will now switch to that GUI and if it works, you will be prompted to continue the 
installation. If it doesn't work, the installer will revert to this interface after XX 
seconds and will walk you through a reconfigure fo the X window system."



I think the knoppix installer uses some x86-specific tools that the 
debian crew does not really like -- those were taken from redhat I 
thought; note that the new debian installer is able to do a lot more 
autodetection on the X configuration than the old one (that is, the old 
one didn't try to do any it seemed) -- though in the end I did survive 
that (after needing to compile & use the nvidia driver to get X running, 
which was not the nicest part of the install for a newbie ;-))


I do not know how the new debian installer responds to this video card, 
as I haven't had any need to do an install lately (thanks to a smooth 
woody -> sarge upgrade :-) )



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




Re: Linux Distribution Chooser

2006-01-08 Thread Joris Huizer

Steve Lamb wrote:


How hard can it be to give the user a choice during the install, and why is
that such a stupid idea according to you?



You are given a choice.  You just refuse to see that.



the way to choose is fine by me, but, for example, manually going 
through aptitude and finding kde somewhere in tasks isn't exactly easy 
for the newbie; as said before the tasksel options are not targeted to 
for advanced debian-users


I think, if the newbie just wants kde because of some fancy screenshots, 
it's too hard for him/her; remember the newbie doesn't know the 
character '/' upons up a search in so many linux/unix tools, so he/she 
is completely lost in an unknown interface
Why would it complicate matters so much to add a menu item in the 
tasksel selection labeled 'KDE desktop' that ads 'kde' to the list of 
packages to download (as aptitude will do the rest) ? I do not 
understand :-s


note, I do not say it's a problem for me, and I personally wouldn't care 
too much whether there's a KDE option right there - but I do say it'd 
likely be a problem for me if I never saw aptitude before, without the 
faintest idea how to search


just a small remark


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




Re: How do I automate this?

2006-01-08 Thread Joris Huizer

Tyson Varosyan wrote:

Could someone post a bit more of a step-by step for this? I am still very
new to Linux...

Thanks,

Tyson Varosyan
Technical Manager, Uptime Technical Solutions LLC.
[EMAIL PROTECTED]
www.up-times.com
206-715-TECH (8324)

UpTime/OnTime/AnyTime 


-Original Message-
From: kamaraju kusumanchi [mailto:[EMAIL PROTECTED] 
Sent: Saturday, January 07, 2006 6:51 PM

To: debian-user@lists.debian.org
Subject: Re: How do I automate this?

Tyson Varosyan wrote:



I want my box to run these 2 commands as it boots - before anyone even logs
in.

I want the computer to run

modprobe usbserial vendor=0xc88 product=0x17da maxSize=2048




You can load modules with all the necessary options using modconf 
program (apt-get installable).




pause for about 3 seconds and then run

wvdial verizon




Not sure about the 3 seconds delay. Others might help you with this one. 
But I guess once you load the usbserial module with modconf, you can 
write a rcS.d script to run everytime the computer boots.


hth
raju



To install modconf:
  apt-get install modconf
(don't know whether this is installed by default, but a try won't hurt)

then run:
  modconf

You'll get a list of module types; search for something with 
kernel/drivers/usb - you'll probably get a number of those
try to find something that also has 'serial' in it's name in that list 
(don't know if there will be something like that)
otherwise, just go through the each of the usb items -- the goal is to 
find 'usbserial'
once you find the usbserial - hit enter, and fill in the options (the 
same as you use with modprobe)
hit enter again and it will tell you it's been setup; then you can exit 
(escape exit's one menu each time)


to start the wvdial program, you can make a file like 
/etc/init.d/startwvdial just containing the command to execute (wvdial 
verizon)
this is not executed directly after the loading of the module; however, 
if you want to ensure a delay of at least 3 seconds, you can do

  sleep 3
which should do exactly that

(it is important that the file name is not the name of a debian package 
to ensure it will not get overwritten)
then finaly, to make it start on runtime, you can do `update-rc.d -n 
startwvdial defaults`, the -n only tells you what the program would do 
-- if it just tells you it ads some links repeat without the -n :

  update-rc.d startwvdial defaults

hope that helps

Joris


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




Re: Problems with apt-get install

2006-01-06 Thread Joris Huizer

[EMAIL PROTECTED] wrote:

Can you help me to fix this? I really want to reinstall the system, I
don´t know how I can repair it, wasted some hours with trying.

mond:~# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  coreutils debconf debconf-i18n debianutils defoma desktop-base
desktop-file-utils docbook-xml esound-common exim4 exim4-base
exim4-config
  exim4-daemon-light fontconfig gnome-desktop-data gnome-icon-theme
gnome-mime-data hicolor-icon-theme libacl1 libart-2.0-2 libatk1.0-0
libattr1
  libaudiofile0 libbonobo2-0 libbonobo2-common libcroco3 libesd0
libfontconfig1 libglade2-0 libglib2.0-0 libgnomecanvas2-0 libgnutls11
libgsf-1
  libgstreamer-plugins0.8-0 libgstreamer0.8-0 libgtk2.0-0 libgtk2.0-bin
libgtk2.0-common libice6 libidl0 libkrb53 libldap2
liblocale-gettext-perl liblzo1
  libnewt0.51 liborbit2 libpango1.0-0 libpango1.0-common libsm6
libsmbclient libtext-iconv-perl libvte4 libx11-6 libxcursor1 libxext6
libxft1 libxft2
  libxi6 libxmu6 libxmuu1 libxp6 libxpm4 libxrandr2 libxrender1 libxt6
libxtrap6 libxtst6 scrollkeeper shared-mime-info slang1a-utf8
ttf-bitstream-vera
  ucf whiptail xfree86-common xlibs xlibs-data
Suggested packages:
  debconf-doc debconf-utils libterm-readline-gnu-perl libgnome2-perl
libqt-perl libnet-ldap-perl libgnome-perl defoma-doc psfontmgr
x-ttcidfont-conf
  dfontmgr gnome kde wmaker docbook docbook-doc docbook-dsssl
docbook-xsl eximon4 exim4-doc-html exim4-doc-info esound gnutls-bin
gstreamer0.8-tools
  gstreamer0.8-plugins krb5-doc krb5-user ttf-kochi-gothic
ttf-kochi-mincho ttf-thryomanes ttf-baekmuk ttf-arphic-gbsn00lp
ttf-arphic-bsmi00lp
  ttf-arphic-gkai00mp ttf-arphic-bkai00mp x-window-system-core
x-window-system twm x-window-manager xbase-clients xfonts-100dpi
xfonts-75dpi xfonts-base
  xfonts-scalable xlibs-dev xserver-common xserver-xfree86 xserver
xterm x-terminal-emulator xutils
Recommended packages:
  libft-perl epiphany-browser konqueror www-browser libatk1.0-data
esound-clients libglib2.0-data
The following packages will be REMOVED:
  gnome-session gnome-terminal
The following NEW packages will be installed:
  coreutils debconf-i18n defoma desktop-base desktop-file-utils
docbook-xml esound-common exim4 exim4-base exim4-config
exim4-daemon-light fontconfig
  gnome-desktop-data gnome-icon-theme gnome-mime-data
hicolor-icon-theme libacl1 libart-2.0-2 libatk1.0-0 libattr1
libaudiofile0 libbonobo2-0
  libbonobo2-common libcroco3 libesd0 libfontconfig1 libglade2-0
libglib2.0-0 libgnomecanvas2-0 libgnutls11 libgsf-1
libgstreamer-plugins0.8-0
  libgstreamer0.8-0 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libice6
libidl0 libkrb53 liblocale-gettext-perl liblzo1 libnewt0.51 liborbit2
  libpango1.0-0 libpango1.0-common libsm6 libsmbclient
libtext-iconv-perl libvte4 libx11-6 libxcursor1 libxext6 libxft1
libxft2 libxi6 libxmu6 libxmuu1
  libxp6 libxpm4 libxrandr2 libxrender1 libxt6 libxtrap6 libxtst6
scrollkeeper shared-mime-info slang1a-utf8 ttf-bitstream-vera ucf
whiptail xlibs-data
The following packages will be upgraded:
  debconf debianutils libldap2 xfree86-common xlibs
5 upgraded, 71 newly installed, 2 to remove and 27 not upgraded.
Need to get 0B/28.0MB of archives.
After unpacking 80.6MB of additional disk space will be used.
Do you want to continue? [Y/n]
debconf: unable to initialize frontend: Dialog
debconf: (Neither whiptail nor dialog are installed, so the dialog
based frontend cannot be used. at
/usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 51, <> line 76.)
debconf: falling back to frontend: Readline
Preconfiguring packages ...
exim4-config.postinst: [WARN] Installed debconf version is broken.
Aborting preconfigure.


Here's the problem

Try `dpkg-reconfigure debconf`, try which setting works;
Failing that, try `apt-get --reinstall install debconf`

if it doesn't, you'll have to fix this manually I think

Maybe this is not correct, but what I would try in that case:
- get a working debconf package:
http://packages.debian.org/stable/admin/debconf - stable
http://packages.debian.org/testing/admin/debconf - testing
http://packages.debian.org/unstable/admin/debconf - unstable

then if you have it installed,
dpkg --purge debconf (completely removing the current installation of 
debconf)

dpkg -i debconf*.deb

(Can someone give some backup - especially on that manual way!)

HTH,

Joris


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




Re: Getting a list of installed packages

2005-12-27 Thread Joris Huizer

Jaime Casanova wrote:

On 12/27/05, J Merritt <[EMAIL PROTECTED]> wrote:


Is there a way to get a list of installed packages in Debian, preferably
from the command line and preferably in a text file?

Thanks in advance for any suggestions.

JM




dpkg-query

i think it needs some options and redirect the output to a file


--
regards,
Jaime Casanova
(DBA: DataBase Aniquilator ;)




this might do it too
dpkg -l "*"|grep ^i


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




Re: Sarge kernel update, using newer kernel, should I update older kernel?

2005-12-23 Thread Joris Huizer

Laszlo wrote:



Is it ok to install this patch or perform this upgrade to 2.6.8 while running 
2.6.11-k7 or do I need to boot into the 2.6.8 kernel before patching/ 
upgrading?


Thanks, 
-- Laszlo

--


Doing so using the 2.6.11-k7 should not be a problem; I don't think 
it'll make a difference for apt what the running kernel is, as long as 
apt does not want to remove the running kernel :-)


HTH

Joris


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




Re: qemu with network

2005-12-21 Thread Joris Huizer

Juraj Fedel wrote:

I am having troubles with useing tun/tap network with qemu.
If I start qemu as ordinary user it complains that it can not
connect to tun device. If I run it with 'sudo qemu' it create
tun0 network device and than I can connect to virtual system.
$ ls -l /dev/net/tun
crw-rw  1 root root 10, 200 2005-07-12 14:09 /dev/net/tun
Should I change permisson or owner or what to make it usable as
non priviledged user?

Another question is how do I start second (or more) qemu
and make them apear as to be connected to the same tun0
device so two virtual computers can talk to each other?

Thanks
Juraj




if you would remove the /etc/qemu-ifup file, that would enable user-mode 
networking; however, it'll probably will not be easy to make a second 
qemu talk to the first on in the user-mode network setup


HTH,

Joris


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




Re: (G)Vim Oddity

2005-12-19 Thread Joris Huizer

Heimdall Midgard wrote:

I just noticed something weird with my (G)Vim installation
when editing generic config files. The syntax highlighting
colors appear wrong. Could somebody do a test to confirm if
this is really a bug or just a misconfiguration on my end?

To do the test, create two files both named "udev.rules"
(perhaps in two different directories to avoid any
collision).

Put the following lines (with no blank lines above, below or
between them) in the first file:

# Line 1 is a comment colored Blue
# Line 2 is a comment colored Blue
Line 3 is not a comment, so is colored Black
# Line 4 is a comment but colored Black

And put the following lines (again with not blank lines
abover, below or between them) in the second file:

# Line 1 is a comment colored Blue
# Line 2 is a comment colored Blue
Line 3 is not a comment, so is colored Black ()
# Line 4 is a comment now colored Blue

Now open the file in GVim. The dummy text of the two files
should explain the problem. GVim displays the text in the
colors I listed for each line. The colors for console-mode
Vim should differ slightly but should display the same
pattern.

Note how addition of a pair of parentheses to Line 3 of the
second file "causes" Line 4 to be displayed in the right
"comment" color.

--
Albert Einstein: Phantasie ist wichtiger als Wissen, denn
Wissen ist begrenzt.




Seeing this too... but I do not know much about gvim highlighting so I 
can only attach my ~/.vimrc to help ?

(no system-wide changes made)

HTH,

Joris
" An example for a vimrc file.
"
" Maintainer:   Bram Moolenaar <[EMAIL PROTECTED]>
" Last change:  2002 May 28
"
" To use it, copy it to
" for Unix and OS/2:  ~/.vimrc
" for Amiga:  s:.vimrc
"  for MS-DOS and Win32:  $VIM\_vimrc
"   for OpenVMS:  sys$login:.vimrc

" When started as "evim", evim.vim will already have done these settings.
if v:progname =~? "evim"
  finish
endif

" Use Vim settings, rather then Vi settings (much better!).
" This must be first, because it changes other options as a side effect.
set nocompatible

" allow backspacing over everything in insert mode
set backspace=indent,eol,start

set autoindent  " always set autoindenting on
"if has("vms")
  set nobackup  " do not keep a backup file, use versions instead
"else
"  set backup   " keep a backup file
"endif
set history=50  " keep 50 lines of command line history
set ruler   " show the cursor position all the time
set showcmd " display incomplete commands
set incsearch   " do incremental searching

" For Win32 GUI: remove 't' flag from 'guioptions': no tearoff menu entries
" let &guioptions = substitute(&guioptions, "t", "", "g")

" Don't use Ex mode, use Q for formatting
map Q gq

" This is an alternative that also works in block mode, but the deleted
" text is lost and it only works for putting the current register.
"vnoremap p "_dp

" Switch syntax highlighting on, when the terminal has colors
" Also switch on highlighting the last used search pattern.
if &t_Co > 2 || has("gui_running")
  syntax on
"  set hlsearch
endif

" don't make it look like there are line breaks where there aren't:
" set nowrap

 " use indents of 2 spaces, and have them copied down lines:
 set shiftwidth=2
 set shiftround
 set expandtab
 set autoindent

 
 au BufNewFile,BufRead * set cindent
" au BufNewFile,BufRead *.c *.js *.cc *.cpp set cindent


" Only do this part when compiled with support for autocommands.
if has("autocmd")

  " Enable file type detection.
  " Use the default filetype settings, so that mail gets 'tw' set to 72,
  " 'cindent' is on in C files, etc.
  " Also load indent files, to automatically do language-dependent indenting.
  " filetype plugin indent on

  " For all text files set 'textwidth' to 78 characters.
   autocmd FileType text setlocal textwidth=78

  " When editing a file, always jump to the last known cursor position.
  " Don't do it when the position is invalid or when inside an event handler
  " (happens when dropping a file on gvim).
  autocmd BufReadPost *
\ if line("'\"") > 0 && line("'\"") <= line("$") |
\   exe "normal g`\"" |
\ endif

endif " has("autocmd")



Re: Install kernel-source-2.6.8 update

2005-12-16 Thread Joris Huizer

Marco wrote:

Hi all,
I have installed Debian Sarge and I have an custom kernel.
Yesterday, I downloaded from security.debian.org the 
"kernel-source-2.6.8" (DSA 922) update

with a "apt-get update" and after "apt-get upgrade".

This is the output of command: "dpkg -l | grep kernel-source"
ii  kernel-source- 2.6.8-16sarge1 Linux kernel source for version 2.6.8 
with D


What do I have to do for install this update?
Should I recompile the kernel?



By the way, what does that D mean ?


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




Re: OT: converting C to C++ : linkng problems

2005-12-13 Thread Joris Huizer

Gregory Seidman wrote:

On Tue, Dec 13, 2005 at 10:14:37AM -0600, Mike McCarty wrote:
} Joris Huizer wrote:
} >That makes sence, but still - it's exactly the same code as used in C 
} >and the C code compiles fine (except for some added casts as C++ doesn't 
} >like coercing void pointers to something else)
} >if I do an objdump it seems those functions that are not found have been 
} >mangled by C++
} 
} C is not C++

} C is not a subset of C++
} They are different languages
} There is a subset of C++ which resembles C very closely

Actually, C is a proper subset of C++. In fact, the C++ standard is based
on the C standard. Some changes were made to the C standard (in 1999, as I
recall) to reconcile it with C++.

} One common error is to compile C with a C compiler (or
} a C++ compiler in "C Mode") and then try to link it
} with C++ compiled with a C++ compiler. This won't work.
} 
} Your C routines must be compiled with a C++ compiler

} IN C++ MODE, or they must be declared as extern C {...}
} otherwise you'll get linking problems.

To properly understand why this is requires some significant knowledge of
how compilers, assemblers, and linkers interact. The high-level explanation
is that code written in any language refers to things that exist (or are
placed at runtime) at particular memory addresses. The linker is
responsible for resolving those references, and uses unique symbol names to
do so. Those symbols can be referred to from various compilation units
(i.e. .o files), but must be defined/implemented in only a single
compilation unit.

Usually those symbol names directly correspond to C function or variable
names, but since it is possible to have various methods with the same name
with different signatures (i.e. overloaded methods) or in different
contexts (e.g. classes) it is necessary for the C++ compiler to "mangle"
the symbol names to include information about their contexts and
signatures. This mangling is deterministic, so code referring to a
particular function will be compiled to refer to the mangled name for the
function. If that function is actually compiled by a C compiler, however,
it will have an unmangled symbol name and, thus, mangled references to it
will be undefined. C++ provides the extern "C" directive to indicate that
the following (or enclosed) function(s)/variable(s) should be referenced
with unmangled symbol names.

} Mike
--Greg




Thanks for some background -- but this really is not the issue in my 
case, as I changed the Makefile to compile everything with g++ - that 
is, there are no C-bits mixed with C++ bits - it's still a mystery to me 
how C++-mangled function names end up not being found by the same C++ 
compiler but...
I'll check for C prototypes without any parameters and the information 
on bison+C++ ...


Though it might be the case that output of `flex --c++  spascal.l` 
causes problems :-/


Thanks for all the input so far :-)

Joris


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




Re: OT: converting C to C++ : linkng problems

2005-12-13 Thread Joris Huizer

Hugo Vanwoerkom wrote:

Joris Huizer wrote:


Hello,

Sorry for offtopic-posting but I wouldn't directly know where to ask 
elsewhere...
I'd like to ask this question: in some project I try to switch from C 
to C++ , in order to refactor/learn C++ constructs (that is, classes, 
inheritance, and such) better
There is this problem: it doesn't link correctly; I get link errors 
such like this:


rm -f lex.yy.cc y.tab.* y.output *.o \
`find . -name core -o -name \*\.bak` \
democomp toc \
test-runs-log
bison --yacc --defines --debug --verbose spascal.y -o y.tab.cc
g++   -Wall  -g -ggdb-c y.tab.cc -o y.tab.o
flex --c++  spascal.l
sed -i -e 's/extern "C" int isatty (int );/extern "C" int isatty (int) 
throw();/g' lex.yy.cc

g++   -Wall  -g -ggdb-c lex.yy.cc -o lex.yy.o



g++   -g -o democomp y.tab.o lex.yy.o debug.o list.o symbol.o syntax.o 
parser.o intermediate.o register.o flowgraph.o dag.o optimize.o 
inttomips.o mips.o -lfl

y.tab.o(.text+0x46a): In function `yyparse()':
/home/jorishuizer/zooi/coco3-hack/y.tab.cc:1105: undefined reference 
to `yylex()'

y.tab.o(.text+0x6dd): In function `yyparse()':
/home/jorishuizer/zooi/coco3-hack/spascal.y:116: undefined reference 
to `selectEndOfTable'


Symbols in two files are not found: those in symbol.cc and those in 
lex.yy.cc (generated with flex)


does someone have any ideas?




Joris,

Without seeing your source, difficult to say.
I do this lots of time: c->c++
Generally speaking: do the first error first if it is a compilation error.
If it is a linking error, you are doing something wrong in the c++ 
declarations.


H



That makes sence, but still - it's exactly the same code as used in C 
and the C code compiles fine (except for some added casts as C++ doesn't 
like coercing void pointers to something else)
if I do an objdump it seems those functions that are not found have been 
mangled by C++


thanks,

Joris


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




OT: converting C to C++ : linkng problems

2005-12-13 Thread Joris Huizer

Hello,

Sorry for offtopic-posting but I wouldn't directly know where to ask 
elsewhere...
I'd like to ask this question: in some project I try to switch from C to 
C++ , in order to refactor/learn C++ constructs (that is, classes, 
inheritance, and such) better
There is this problem: it doesn't link correctly; I get link errors such 
like this:


rm -f lex.yy.cc y.tab.* y.output *.o \
`find . -name core -o -name \*\.bak` \
democomp toc \
test-runs-log
bison --yacc --defines --debug --verbose spascal.y -o y.tab.cc
g++   -Wall  -g -ggdb-c y.tab.cc -o y.tab.o
flex --c++  spascal.l
sed -i -e 's/extern "C" int isatty (int );/extern "C" int isatty (int) 
throw();/g' lex.yy.cc

g++   -Wall  -g -ggdb-c lex.yy.cc -o lex.yy.o



g++   -g -o democomp y.tab.o lex.yy.o debug.o list.o symbol.o syntax.o 
parser.o intermediate.o register.o flowgraph.o dag.o optimize.o 
inttomips.o mips.o -lfl

y.tab.o(.text+0x46a): In function `yyparse()':
/home/jorishuizer/zooi/coco3-hack/y.tab.cc:1105: undefined reference to 
`yylex()'

y.tab.o(.text+0x6dd): In function `yyparse()':
/home/jorishuizer/zooi/coco3-hack/spascal.y:116: undefined reference to 
`selectEndOfTable'


Symbols in two files are not found: those in symbol.cc and those in 
lex.yy.cc (generated with flex)


does someone have any ideas?


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




Re: default kernel in debain 3.1

2005-12-10 Thread Joris Huizer

Fabián Barco wrote:

Hi,
which is the default kernel in debian 3.1?
thanks!

--
I'll be back!


apt-cache search comes up with 2.4.27 and 2.6.8, those are the defaults
in the installer, you can choose the 2.4.27 one (by typing linux) or 
2.6.8 (by typing linux26) - look at the f2,f3... screens in there to 
find out what exactly are the options


HTH,

Joris


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




Re: qt dependency problem

2005-12-05 Thread Joris Huizer

Roberto C. Sanchez wrote:

On Mon, Dec 05, 2005 at 02:11:53AM +, jpdrawneek wrote:


I am trying to compile an app called DJplay.
I think i have downloaded all the correct packges but i am still  getting this 
error:







Any ideas where to find qobjcoll.h and which package its in.

I am using sarge 3.1 stable 2.6 kernel



The Debian package search page [0] is your friend.  It appears that the
file you want is in the libqt3-compat-headers package [1].

-Roberto

[0] http://packages.debian.org/
[1]
http://packages.debian.org/cgi-bin/search_contents.pl?word=qobjcoll.h&searchmode=searchfiles&case=insensitive&version=stable&arch=i386


you can also find the same information using the apt-file package (note 
that you need to let it make an up-to-date cache of available packages 
through apt-file update when it's just been installed)


HTH,

Joris


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




Re: Kernel Panic: "initrd" ?

2005-11-20 Thread Joris Huizer

Alex Goldman wrote:

My self-compiled kernel refuses to boot, saying it can't
mount/init/access /dev/hda7 (root partition)

I compiled 2.6.14.2 following the instructions in
/usr/share/doc/kernel-package/README.gz, basically

cp /boot/config-2.6.8-2-386 linux-2.6.14.2/.config
make menuconfig (few ACPI-related changes relative to /boot/config-2.6.8-2-386)
make-kpkg clean
fakeroot make-kpkg --revision=custom.1.0 kernel_image

Just like the stock kernel, it has

CONFIG_EXT2_FS=y
CONFIG_EXT3_FS=m

Any idea what could be wrong?

The README mentions that something related to initrd in a very obscure
manner, but I don't really encourage doing anything related to it, and
IMO applying patches to kernels newer than the patches is risky at
best.




Maybe the needed harddisk support is a module (set to 'm') instead of 
builtin (set to 'y')

Also, if you're using ext3 on your root, that must be set to 'y' I think

HTH,

Joris


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




Re: chmod mistake

2005-11-02 Thread Joris Huizer

Masatran (Rajasekaran Deepak) wrote:

I accidently executed "chmod -R a+rX ." on my home directory. I want to undo
its effect.

1. Is there any way to undo its effect? (I do not have any recent backup,
and the administrators do not maintain a backup.)

2. "find" in my home directory gives 1,300 files. Is there any utility that
can be used to adjust their permissions quickly? (I will mostly be
recursively setting permissions on directories.)


you could make a simple script to set all directory rights correctly 
(calling itself recursively)  -- though I'm curious wether there is a 
simpler solution?



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




Re: X won't start after kernel compile

2005-09-08 Thread Joris Huizer

Bruno Buys wrote:

   Hi Jaime and Simo,
   I happen to be more stupid than I previously thought. My mouse is a 
serial. I had disabled serial stuff on .config. Now, recompiled and 
2.12-5 is working ok with X.
   That's actually the first time I try to compile kernels. Funny thing 
to do. Do you guys know any literature that can be recommended for a 
newb on compiling-kernel (debian way)? I don't know exactly how I access 
kernel efficiency. How much of an improvement am I supposed to 
experience by compiling custom kernels? How do I benchmark it?
   What I noticed so far is: the image vmlinuz 2.12 is 1.290.903kb and 
k7 (stock kernel) is 1.151.346kb. Wasn't my custom kernel to be smaller? 
Initrd, on the other side, does differ: 1.560.576kb for the custom and 
4.608.000kb for the stock k7. Custom takes less time to boot, but after 
that, it just seems like any kernel.

Any guidance?
Thanks!



you could get rid of the initrd stuff if support for your hard-disk (and 
some other things? someone please give a listing here!) is built-in, not 
module, in your custom kernel


A custom kernel probably will be somewhat faster in booting than the 
ones you get from debian, as you don't need to load so much unused 
stuff; after that, when running, it just runs its stuff, the same code 
the debian kernels are running, so you shouldn't feel much difference? 
(I think :p )


HTH,

Joris


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




Re: SHould I bother configuring xfree?

2005-08-27 Thread Joris Huizer

Hendrik Boom wrote:

On Sat, Aug 27, 2005 at 02:10:40PM -0400, kamaraju kusumanchi wrote:


Hendrik Boom wrote:



I have a machine with two sarges on it -- one was installed
as a sarge system, the other as a woody, and upgraded.  But
xfree did not survive the upgrade -- and when I boot that one,
X does not come up (everything fin on the other one, though).
Now my plan is to take the one I upgraded from woody (the one
where X does not work) and further upgrade it to etch.

(a) Should I bother getting X to work before upgrading to etch --
after all, isn't xfree being replaced by x.org?





Probably not. If you  are planning to upgrade to x.org anyway, then you 
need not worry about configuring xfree86 properly.


However if you were not able to get it up and running with xorg then 
there is a problem. You have to downgrade the system to xfree86 and try 
your stunts with that.


If I were you, I would first post information about the video card and 
see if someone else is already able to run x.org with it. If the answer 
is yes, then just upgrade to xorg and configure X there. If the answer 
is no, then it is probably good idea to get xfree86 up and running first.



It works fine with the *other* copy of sarge I have on the machine, which
will remain my stable, production system, so I'm not too worried..
In theory I could just copy the config and the list of kernel modules
and the like.  But I suspect that will all be blown away by x.org
anyway.



I think, that's the easiest - as xorg uses the existing xfree86 config 
to generate the x.org config :)


HTH,

Joris


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




Re: APT-GET Returns tar CRC Error

2005-08-03 Thread Joris Huizer

jtmarran wrote:

Hello All!

Looking for some help with the following problem...

On apt-get update and then apt-get upgrade, get the output...

Preconfiguring packages ...
Setting up tar (1.15.1-2) ...

gzip: stdin: invalid compressed data--crc error
install-info(/usr/share/info/tar.info.gz): read gzip -cd
Running unstable. 


Thanks in advance!




It might be just me, but it looks like the problem is not in tar, but in 
gzip;
Assuming that's indeed the problem, maybe you could try to reinstall 
gzip - or compile it from source


HTH

Joris


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




Re: should etch be Debian 4.0 ?

2005-07-10 Thread Joris Huizer

Johan Kullstam wrote:



Let me see if I understand you correctly.  Your reason for having the
ambiguity of wether to call it 3.2 or 4.0 is just to keep people from
assigning etch a number?



I think this is quite logical, as there is some structure in those 
numbers - 4.0 means a big leap, 3.2 means "smaller " change;
nobody can tell right now how big the step is from sarge to etch, as 
it's development has just started
ofcourse, it's just up to the debian development team to decide wether 
the changes are big enough to call it 4.0 (anyone know why sarge became 
3.1?)


just some thoughts

Joris


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




Re: Confused-New Stable Sarge Dist-Upgrade

2005-06-08 Thread Joris Huizer

Leonard Chatagnier wrote:

Leonard Chatagnier said:

tar: ./lib/modules/2.6.8-2-686/modules.symbols: Cannot write: No space 
left on device

tar: Error exit delayed from previous errors




I chacked partition space with df and seem to have ample room as shown"
ChatagnierL-Home:~#  df
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/hda2   14114049 18722  86% /



Phil said:


Your / partition is where /lib lives, and you've only got ~18MB. I'd say
your modules directory should take up more than that. 30MB+. Prolly not
enough space.




Hey Phil, thanks, that explains it.  Now how to get more space on /?  I 
could resize partitions with cfdisk and probably mess things up.  You 
have a more newbie(noobie) frendly way of doing this?  Any thought or 
suggestions
will be much appreciated.  BTW, did you see any problem with the df 
output for tmpfs as I wasn't sure if it was
saying 0% usage or 0% free space.  Also, for my clarification and 
understanding, the sarge modules were already
installed from previous testing upgrades, so, why couldn't it just be 
written over with the new stable sarge or is the new upgrade that much 
larger..???  Appreciate any info on this.

Thanks,
leonard




I find parted is not so hard -- after launching it, type 'help' and you 
get an overview of the available options;

Then, for example, 'help resize' will give you some information on resizing

The way is now simple: make a large partition smaller (maybe /var or 
/usr or /home) and make / bigger


'print' is helpfull to see the current state of the disc partitions

I think you should not have partitions mounted which are to be resized 
-- anyone know how to do the resizing of / ?


if resizing / really cannot be done, maybe create a new /lib partition 
instead


HTH,

Joris


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




mozilla profile mail incompatibilities

2005-06-01 Thread Joris Huizer

Hello,

I have this question: under sarge I'm currently running this mozilla 
version:


Mozilla 1.6
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 Debian/1.6-5

Some time ago, I tried using a mozilla 1.7.x version, and recently I 
again tried this, this time mozilla 1.7.8


The problem I'm having is, mozilla 1.6 as provided by debian seems to 
handle mail in a different way then the mozilla 1.7.x branch does. In 
fact, when I run the mozilla 1.7.8 it won't show any of my recent 
emails, except for those still on the server, and it does show some old 
emails I had downloaded under a earlier mozilla 1.7.x version when I 
tried before;



How could I convert the mozilla 1.6 profile so everything is available 
under mozilla 1.7?


I think the profile somehow got in a bad state, so extracting and again 
importing all emails (and bookmarks, but those are easy) would be what 
I'm interested in most - if possible I would like to preserve filters, 
but otherwise, I could write those again;


As debian had mozilla 1.7 in sarge available, this seems like a serious 
problem (I am still using mozilla 1.6 as apt-listbugs claimed mozilla 
had unfixed bugs - but a few days ago I saw the only open bug was in 
fact about security issues in mozilla/woody)


Thanks for any help,

Joris


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




Re: Can't Defrag Ext3 File System

2005-05-26 Thread Joris Huizer

Leonard Chatagnier wrote:

On Sunday 22 May 2005 03:33 pm, Bill Mair wrote:


Steve Lamb wrote:
> Leonard Chatagnier wrote:
>>Ok, I get your message, but for my gratification, insight and knowledge
>>of Linux how do I get the programs to run without error and not distroy
>>my harddisk?





debian FS != DOS FS




This is about the best explanation I've ever seen, even if it a 
couple of years old now:



http://groups-beta.google.com/group/alt.os.linux.mandrake/msg/38a9eeb8d01b1dbb?hl=en 





Just to make this clear, this page explains the linux kernel does 
reordering reading/writing on the disc, which, among other things, takes 
care of the fragmentation problem; this is done by linux 2.4 (probably 
also by linux 2.2) and linux 2.6


HTH,

Joris


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




Re: Sarge Performance

2005-05-25 Thread Joris Huizer

Lars Roland wrote:


So now the load looks ok, still the old Redhat is holding its head
above but now it is only with 10%. This may be due to further bugs in
the tg3 driver that hopefully a new kernel will fix - if not then I
must fill a bug report and send it to the driver developers, it can
not be intently that there driver messes up system performance that
much because of its default queue length.


Regards.

Lars Roland




You could ofcourse try the 2.4.* kernel available in sarge, if it solves 
the problem, you know it was something with the kernel; otherwise, you 
know it's probably somewhere else


regards,

Joris Huizer


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




Re: [Fwd: Re: aMSN]

2005-05-21 Thread Joris Huizer

Pollywog wrote:

On Saturday 21 May 2005 08:14 pm, Joris Huizer wrote:


 Original Message 
Subject:Re: aMSN
Date:   Sat, 21 May 2005 15:44:28 -0400
From:   David R. Litwin <[EMAIL PROTECTED]>
Reply-To:   David R. Litwin <[EMAIL PROTECTED]>
To: Joris Huizer <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>



I did try to do an apt-get. I tried the .tar.gz and I tried the .deb. I
had it giong briefly yesterday, running it under root login. But, I hate
doing that. So, going back to my standard user, it did not work. Then, I
changed it to run as root (the programme) and it worked... until I chose
create profile. Then, it stalled and hadn't worked since.



I have not been able to connect to MSN on Kopete for several days on more than 
one machine, so I believe MSN changed something in their protocol.


8)




Nope, I can connect fine
as a side note, I'm tracking sarge, maybe this explains differences?

HTH,

Joris


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




[Fwd: Re: aMSN]

2005-05-21 Thread Joris Huizer



 Original Message 
Subject:Re: aMSN
Date:   Sat, 21 May 2005 15:44:28 -0400
From:   David R. Litwin <[EMAIL PROTECTED]>
Reply-To:   David R. Litwin <[EMAIL PROTECTED]>
To: Joris Huizer <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>



I did try to do an apt-get. I tried the .tar.gz and I tried the .deb. I
had it giong briefly yesterday, running it under root login. But, I hate
doing that. So, going back to my standard user, it did not work. Then, I
changed it to run as root (the programme) and it worked... until I chose
create profile. Then, it stalled and hadn't worked since.


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




Re: aMSN

2005-05-21 Thread Joris Huizer

David R. Litwin wrote:
I have installed the package of aMSN (via downloading the .deb package 
and the installing via dpkg -i aMSN). Though it is located in both the 
debian-apps-net aMSN and internet aMSN, the latter did not have an Icon 
(I set one), they both seem to point to a slightly different place (The 
former to /usr/bin/amsn and the latter to simply amsn). They both do not 
work. It will attempt to load, then, after around half a second, the 
little icon on the panel (some one please give me the right terms for 
that) will go away with nothing happening. However, in KDE system guard, 
it lists aMSN as running. What is wrong?


In addition, the first time I ran it (I. E. after having installed it 
the first time), it worked ish The fonts were very small and 
mal-formed. Also, it stalled (and has not worked since) since I tried to 
create an identity (or some such thing).


So, what can I do?

Thank you in advance.

--
—Moose Moose Jam Sausage Meow-Mix.
—My Hover-Craft is Full of Eels.
—[...]and that's the he and the she of it.


I never had any problem with amsn; I use the one which is available 
under apt-get (which is the most resent official release, 0.94)
in case you can't get their .deb file working you could just download 
the .tar.gz and run it from there (or move it to some system-wide place 
like /usr/local/amsn, and create a symlink to this directory, like

`ln -s /usr/local/amsn/amsn /usr/bin/amsn`

HTH,

Joris


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




Re: kernel version

2004-12-31 Thread Joris Huizer
Dani Belz wrote:
* YH <[EMAIL PROTECTED]> [04-12-30 20:45]:
Thanks all for the help. How can I type the "uname -r" and get 
"2.2.20-idepci"? I really didn't know what that means as I am only aware 
of most distributions use the kernel 2.4.x or 2.6.x? Any explain please?

You need to type "bf24" at the boot prompt when installing woody.
This will take the 2.4.18-bf24 kernel. Guess you didn't and so it
was installed with the old 2.2.X kernel :-/
grZ
Dani

No need to reinstall if you want that 2.4.18 kernel -- doing an `apt-get 
install kernel-image-2.4.18-bf2.4` will give exactly that kernel
If you want a newer kernel than 2.4.18, you'll have to build it yourself 
or get it from some backports site;
As woody is a bit dated trying 2.6.x would probably get you into more 
problems (missing packages and stuff) than using a 2.4.x kernel, I think

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



  1   2   3   4   >