Re: alsa and oss configuration

2005-08-04 Thread Lubos Vrbka

hi,


/dev/dsp and /dev/mixer are the device-files used by OSS (and therefore
also by the OSS emulation-layer in ALSA). Native ALSA applications like
alsaconf, alsamixer, and aplay use a different set of device files---the
ones in the /dev/snd/ directory.  It sounds like maybe those device
files do not exist or are not being created.
ok, this seems to be clear now. none of alsa-native applications work 
for me - they give different sorts of errors, similar to one given 
above. the problem with permissions was my mistake - i added myself to 
the audio group but didn't logout and login (is there any better way how 
to "update" the group information)? after it, it seems to be ok...


moreover, all other problems seem to be solved now. alsamixer works, 
xmms through alsa works... the only thing that doesn't work (in a sense 
that it doesn't detect anything) is alsaconf... in accord with the text 
you wrote:

> Alsaconf, AFAIK, will only work if you use modules for audio support
> (rather than compiling support in to the kernel). And it's my general
> sense that ALSA is really designed with kernel modules in mind.

what disturbs me that e.g. alsamixer didn't work for me as root and now 
it works... however i didn't make any changes with respect to root's 
account...



I assume you're using udev (since you're using the 2.6.11 kernel)? That
will normally create the needed nodes in /dev/snd at boot time. But it
might be worth checking that they are there.
i really don't know whether i use udev or not, in this respect i'm a 
newbie. if it is default for amd64 testing and 2.6.11 kernel, then 
yes... i checked /dev/snd. the directory is there with many files in it. 
they are owned by root/audio with 660 permissions.



Maybe you should recompile using modules, then run alsaconf?  That
usually does a good job of setting things up as long as there is only
one soundcard in the system,

well, since it works i think i will leave it as it is :)

thank you for your help.

best regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: reading boot messages

2005-08-15 Thread Lubos Vrbka

how can I read the boot messages?  I've had some big problems today
which I'll use other emails for but now when I reboot, suddenly
ifconfig reports a ppp0 and ppp1.  Before I only had a ppp0.  I got
some sort of ppp error with instructions but I can't read it fast
enough.  I can't see it switching to tty1 and dmesg doesn't reveal the
information.  Any help?
you can also try using shift-pageup / shift-pagedown after boot on your 
console. it should scroll up and down, this way you may be able to see 
your error...


best regards,
--
Lubos
[EMAIL PROTECTED]"


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




drm and radeon module load problems

2005-10-05 Thread Lubos Vrbka

hi guys,

i'm running testing on my amd64 and i updated to kernel 2.6.12 (via 
dselect). i selected to compile drm and dri as modules (i want hw 
acceleration of my ati radeon x600 card). compilation went fine, the new 
kernel works ok. however, i cannot get hw acceleration to work.
the 2 modules above apparently don't work. drm complains about not being 
able to allocate memory
Error inserting drm 
(/lib/modules/2.6.12/kernel/drivers/char/drm/drm.ko): Cannot allocate memory
radeon complains about unknown symbols in module, dmesg reveals the 
followinG:

radeon: Unknown symbol drm_open
radeon: Unknown symbol drm_fasync
... and so on

on web i found out that this could be caused by missing support for 
/dev/agpgart in kernel. however, i cannot select it in menu/xconfig. my 
.config file contains

CONFIG_AGP=y
CONFIG_AGP_AMD64=y
CONFIG_DRM=m
CONFIG_DRM_RADEON=m
so the support should definitely be present. where's the 
CONFIG_AGP_AMD64 coming from? i couldn't find any switch in the 
menuconfig that'd control this. also, is CONFIG_AGP selected 
automatically? the strange thing is that the same setup (i hope i didn't 
miss anything) worked fine on 2.6.11.


i was also told to compile agpgart support as a module, as well as 
support for my chipset CONFIG_AGP_chipset=m. is it possible that this 
via agp chipset isn't supported in 2.6.12?


i guess this shouldn't be amd64 related, so i'm posting here... if i'm 
wrong, please let me know :)


thank you for any hints. regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: drm and radeon module load problems

2005-10-05 Thread Lubos Vrbka

Florian Dorpmueller wrote:

my .config file contains
CONFIG_AGP=y
CONFIG_AGP_AMD64=y
CONFIG_DRM=m
CONFIG_DRM_RADEON=m



Try CONFIG_DRM=y
i'll try. however, why should this solve the problem? in 2.6.11 DRM 
compiled as a module worked ok...


regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: drm and radeon module load problems

2005-10-05 Thread Lubos Vrbka

hi,


What does dmesg say about agp?
actually, nothing... it's weird, because agpgart should be compiled into 
the kernel



In my AMD64 the AGP comes from:
Device Drivers --->
  Character devices --->
/dev/agpgart (AGP Support)
  AMD Opteron/Athlon64 on-CPU GART support

If I have
Processor type and features --->
  IOMMU support
selected, then the /dev/agpgart is automatically selected, and I don't
have the 'AMD Opteron/Athlon64 on-CPU GART support' available.
thanks for information. you're right, with IOMMU support disabled i can 
see both /dev/agpgart switch and amd 64bit on-cpu gart support. when 
iommu is enabled, both of these switches seem to be activated by default 
and they cannot be changed in the x/menuconfig. do you think it is ok?



Did you mention which chipset you have, maybe I missed it. Anyway I
don't think that a VIA chipset wouldn't be supported. Even my K8T800Pro
worked with 2.6.12 and lspci lists it in 2.6.14.
i have via k8t890. i just realized that the kernel recognizes many 
features that the last one missed... regarding the agp, it worked fine 
with 2.6.11...



You can always try the 'agp_try_unsupported=1' option (if you use agp as
a module). If the agp is in the kernel, give that as a kernel parameter.

you mean to give agp_try_unsupported during boot? what should it do?


Once again, check what dmesg says about agp.

nothing :(


I don't know what might have changed between 2.6.11 and 2.6.12
concerning the agp, sorry :(
bad to know :( fortunately the card driver runs ok without the kernel 
module... but no hw acceleration here :( and newer version of ati driver 
(8.14.13) is not usable - it crashes XFree when i move the mouse :( weird...


regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: drm and radeon module load problems

2005-10-05 Thread Lubos Vrbka

Hmm, that is weird!

yes, it is!


Yes I think it is ok. Unfortunately I don't have any further info about
IOMMU, but the help for IOMMU says that it includes a driver for the AMD
Opteron/Athlon64 IOMMU, so I guess that you can have agp driver for AMD
on-CPU GART with or without IOMMU.

ok, it's clear now.

i have via k8t890. i just realized that the kernel recognizes many 
features that the last one missed... regarding the agp, it worked fine 
with 2.6.11...

At least 2.6.14 has something for the K8T890. You can just `grep -i
k8t890 /usr/src/linux/drivers/char/agp/amd64-agp.c` to see if it is in
the 2.6.12.

that file contains following "struct", so i guess it's ok
/* VIA K8T890 */
{
.class  = (PCI_CLASS_BRIDGE_HOST << 8),
.class_mask = ~0,
.vendor = PCI_VENDOR_ID_VIA,
.device = PCI_DEVICE_ID_VIA_3238_0,
.subvendor  = PCI_ANY_ID,
.subdevice  = PCI_ANY_ID,
},


If you have the agp compiled in the kernel, you pass a kernel parameter
during a boot.

in case i don't have it in kernel for some reason (config surely had it
enabled), it should complain at that point, right?


If you use GRUB, edit the /boot/grub/menu.lst.

i use lilo, but that's no problem, modification is easy...


If you compile it as a module, just make a file into the
/etc/modprobe.d/ directory and add a line
options agpgart-amd64 agp_try_unsupported=1
e.g. `sudo echo "options agpgart-amd64 agp_try_unsupported=1"

i'm not sitting in front of my box right now, but what if i change the
config and try to build the agpgart as a module and force to load it?
can it conflict with the code in the kernel, or would it just refuse to
load?

might this be some kind of kernel bug?

thanks for help. regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: drm and radeon module load problems

2005-10-05 Thread Lubos Vrbka

At least 2.6.14 has something for the K8T890. You can just `grep -i
k8t890 /usr/src/linux/drivers/char/agp/amd64-agp.c` to see if it is in
the 2.6.12.
it seems to me that the only way how to get these modules is to DISABLE 
IOMMU support. with IOMMU enabled i wasn't able to compile them as 
modules. IOMMU itself cannot be compiled as module and when enabled it 
adds CONFIG_AGP and CONFIG_AGP_AMD64 hardcoded to kernel. if i change 
this in .config to module, it is somehow reverted back during the kernel 
build.


i'm not sure, but i shouldn't need IOMMU, i guess - i have only 2 gigs 
of memory, so i should be on the safe side. is it really so?


i tried to load the module (agpgart and amd64-agp) using modprobe with 
the running kernel:

agpgart:
Linux agpgart interface v0.101 (c) Dave Jones
amd64-agp:
kobject_register failed for agpgart-amd64 (-17)

Call Trace:{kobject_register+70} 
{bus_add_driver+99}
   {pci_register_driver+117} 
{:amd64_agp:agp_amd64_init+32}
   {sys_init_module+296} 
{system_call+126}

might this indicate that the module is included in the kernel?


You can always try the 'agp_try_unsupported=1' option (if you use agp as
a module). If the agp is in the kernel, give that as a kernel parameter.


you mean to give agp_try_unsupported during boot? what should it do?

If you have the agp compiled in the kernel, you pass a kernel parameter
during a boot.

i'll probably give it a try tomorrow.

regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: drm and radeon module load problems

2005-10-05 Thread Lubos Vrbka

hi,

so i recompiled kernel without IOMMU and selected CONFIG_AGP and 
CONFIG_AGP_AMD64 to be compiled as modules



What does dmesg say about agp?

now i get
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected AGP bridge 0
agpgart: AGP aperture is 128M @ 0xc8000
agpgart and amd64_agp modules are loaded automatically

however, neither drm nor radeon modules can be loaded. drm still reports
Error inserting drm: Cannot allocate memory
and radeon isn't being loaded because of the reported missing drm_* symbols.

i'll probably try to recompile kernel one more time to be sure that with 
IOMMU the AGP is not recognized and reported by the kernel...


regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: drm and radeon module load problems

2005-10-06 Thread Lubos Vrbka

Yes. It is really weird, that you had it in the .config but there was
absolutely nothing about the agp in the dmesg!?

From your trials it seems that the module gets laoded and your chipset
is supported by the kernel, so everything should be ok from the AGP
point of view. Also I think it means that agp_try_unsupported=1 would
not help in your case.
as i wrote before, i already built new kernel with iommu enabled and agp 
included in the kernel. as soon as it will be possible to reboot i'll 
check it out...



If you have the IOMMU or the AGP support compiled in the kernel, you
should get an error if you try to force modprobe to load the agp module.

My grep -i agp /usr/src/linux/.config has
CONFIG_AGP=y
CONFIG_AGP_AMD64=y
# CONFIG_AGP_INTEL is not set
and grep -i iommu /usr/src/linux/.config 
# CONFIG_GART_IOMMU is not set

CONFIG_DUMMY_IOMMU=y

I.e. no IOMMU and AGP compiled into the kernel.
dmesg |grep -i agp gives:
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected AGP bridge 0
agpgart: AGP aperture is 256M @ 0xd000

with module i've something similar.


When I start X, the drm and, in my case, mga get loaded automatically.
in my case, fglrx, amd64_agp and agpgart get loaded automatically. no 
drm is present there... actually, should it be there? for some 
mysterious reason, the hw acceleration works now (and it was the reason 
why i started playing with the kernel...)


regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: ati radeon x600 with etch

2005-10-15 Thread Lubos Vrbka

hi,

i am trying to download the ati installer from ati's web site, but 
every time i try i get the contents of the file. i have successfuly 
downloaded it in the past (aug, when i got a new pc). i have tried 
saving the text in a new file and then making it executable, which then 
runs partway but then fails due to a crc mismatch. any suggestions out 
there?
i used flavio stanchina's setup on my amd64 box. i also observed 
problems with the latest drivers - ati changed the location of the 
download and this lead to the situation where i wasn't downloading the 
archive, but some php or another script instead... don't know whether 
this applies to you as well, but i'd check whether the downloaded file 
really is what you want it to be...


regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: ati radeon x600 with etch

2005-10-15 Thread Lubos Vrbka

I have found that it is better to stick to the open source ati
drivers, they even tend top work better than the ones provided by the
ati site. Are you using xorg, or xfree86?

how about hw acceleration? i think it's still only possible with fglrx.

although it doesn't work for me at the moment... for some strange 
reason, because all seems to be ok - modules, setup...


regards,

--
Lubos
[EMAIL PROTECTED]"


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




rsync over ssh with disallowed login

2005-10-16 Thread Lubos Vrbka

hi guys,

is there any way how to disable login to a machine with ssh and at the 
same time use it as a backup machine using rsync over the same protocol 
(ssh)?


i.e. user can run rsync to that machine, but the login is disallowed? 
i've seen similar setup (using rsh) in the past but couldn't find out 
how this is done...


thank you in advance for your help.

regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: rsync over ssh with disallowed login

2005-10-16 Thread Lubos Vrbka



That's not quite what he asked, but you can restrict what commands can be
run (to just rsync) using the authorized_keys file too
could you please be more specific in this point? :) some example (or 
pointer to relevant part of a documentation) would be very welcome...


also, does this mean, that i could specify that any rsync via ssh is 
allowed, everything else is forbidden?


another possibility - how to disable the possibility of user getting 
into the shell.  i.e. ssh machine "ls foo" would work as expected, but 
ssh machine would just fail / disconnect immediately as well as ssh 
machine "bash"


thanks,

--
Lubos
[EMAIL PROTECTED]"


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




Re: rsync over ssh with disallowed login

2005-10-16 Thread Lubos Vrbka

You want something like rssh:

Description: Restricted shell allowing only scp, sftp, cvs, rsync and/or rdist
 rssh is a restricted shell to be used as a substitute of the login
 shell to allow users to perform only scp/sftp/cvs/rsync,rdist
 operations.
 .
 The security implications are high, so the home directories have
 to be set following the instructions provided.
thanks, this looks like exactly the thing i need. i'll definitely give 
it a try...


thanks again,

--
Lubos
[EMAIL PROTECTED]"


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




direct rendering on i845G chipset

2005-10-17 Thread Lubos Vrbka

hi guys,

i decided to move my notebook from windows to linux. so far everything 
works fine (i haven't tried suspend and similar things yet). i was just 
wondering whether it's possible to get direct rendering on the 
integrated graphics card that is on the board. the chipset is
Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics 
Device


everything works with xorg from testing except the direct rendering 
(although everything seems to be enabled correctly).


i have
CONFIG_MTRR=y
CONFIG_AGP=y
CONFIG_AGP_INTEL=y
CONFIG_DRM=y
CONFIG_DRM_I810=m
CONFIG_DRM_I830=m
CONFIG_DRM_I915=m

however the system doesn't seem to use any of the drm modules.

maybe i have to somehow force x to use module from /lib/modules instead 
of the i810 module in /usr/x11r6...? how to do that?


btw, lsmod doesn't give me any i??? module in use.

thanks in advance for any tips. regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: direct rendering on i845G chipset

2005-10-17 Thread Lubos Vrbka

hi,

No, you're confusing kernel modules with X modules.  You can't load X 
modules into the kernel and vice versa.

ok, thanks for clarification.

firstly, i get this in my dmesg
...
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected an Intel 845G Chipset.
agpgart: Detected 8060K stolen memory.
agpgart: AGP aperture is 128M @ 0xd800
...
this is probably related to the fact that i have 8mb memory reserved for 
agp in bios. am i right? and is that message ok? iirc, setting it to 1mb 
(the only other option) didn't allow me to run x with desired 
resolution/color depth when i tried in the past...


Based upon your chipset, you'll need to modprobe i830.  You may also need 
the "intel_agp", "agpgart" and "drm" modules loaded, but modprobe i830 
should take care of that for you.
i recompiled the kernel to have all of these as modules (i had them 
compiled to the kernel). after modprobing i830 (or i915, respectively - 
in 2.6.12 both of these are available for the i845G chipset) i get


# modprobe i830
ACPI: PCI Interrupt :00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
mtrr: 0xd800,0x800 overlaps existing 0xd800,0x40
[drm] Initialized i915 1.1.0 20040405 on minor 0: Intel Corporation 
82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device

# lsmod
Module  Size  Used by
i830   29248  0
drm69588  1 i830
intel_agp  24156  1
agpgart35976  2 drm,intel_agp
...
so everything seems to be ok. i get the same output for i915 (i830 
changed to i915, of course).


mtrr gives me
# cat /proc/mtrr
reg00: base=0x (   0MB), size= 512MB: write-back, count=1
reg01: base=0x1ff8 ( 511MB), size= 512KB: uncachable, count=1
reg02: base=0xd800 (3456MB), size=   4MB: write-combining, count=1
i have 512mb of physical ram in my machine and 512mb of swap.

After those modules are loaded, try restarting X, and look for entries in 
the log file (/var/log/Xorg.0.log) like this [my comments in brackets]:

(II) LoadModule: "i810"
(II) Loading /usr/X11R6/lib/modules/drivers/i810_drv.o
(II) Module i810: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.3.0
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 0.7

ok, i have this...
(II) LoadModule: "i810"
(II) Loading /usr/X11R6/lib/modules/drivers/i810_drv.o
(II) Module i810: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.5.160
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 0.7


...
(II) I810: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100,
i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G, E7221 (i915),
915GM, 945G

and also this...
(II) I810: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100,
i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G, E7221 (i915),
915GM, 945G
(II) Primary Device is: PCI 00:02:0
(--) Chipset 845G found


...
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: Searching for BusID pci::00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: drmGetBusid reports pci::00:02.0
(II) I810(0): [drm] DRM interface version 1.2
(II) I810(0): [drm] created "i915" driver at busid "pci::00:02.0"
(II) I810(0): [drm] added 8192 byte SAREA at 0xdfdf6000
(II) I810(0): [drm] mapped SAREA 0xdfdf6000 to 0xb7c7a000
(II) I810(0): [drm] framebuffer handle = 0xf002
(II) I810(0): [drm] added 1 reserved context for kernel

but this is missing. no occurence of drm* lines at all.

If you get an error message instead, try replacing your X i810_drv.o module 
with the one from this web site:

http://www.fairlite.demon.co.uk/intel.html

the same result with this driver.

Restart X, and if it still doesn't work, post the relevant portions of your 
log file.

everything is above...

the only errors in the xorg log are
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_clip.o": 
 No symbols found
Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_norm.o": 
 No symbols found
Skipping 
"/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_xform.o":  No 
symbols foun

d
(II) Module GLcore: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
...
(II) I810(0): 6392 kBytes additional video memory is required to
enable tiling mode for DRI.
(II) I810(0): 4344 kBytes additional video memory is required to enable DRI.
(II) I810(0): Disabling DRI.
...
(II) Loading /usr/X11R6/lib/modules/libfb.a
Skipping "/usr/X11R6/lib/modules/libfb.a:fbmmx.o":  No symbols found
(II) Module fb: vendor="X.Org Founda

Re: direct rendering on i845G chipset

2005-10-18 Thread Lubos Vrbka

hi!


(II) Module GLcore: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0


I don't use the GLcore module.  I recall using that disabled direct 
rendering for me, but I'll have to go back and check again to be sure.  
Suffice to say, I don't use it and I do have direct rendering enabled, but 
that may not be the cause of your problem.
ok, i might try to remove glcore, but as you state below it§s probably 
unrelated - firstly i didn't have it in my xorg.conf



...
(II) I810(0): 6392 kBytes additional video memory is required to
enable tiling mode for DRI.
(II) I810(0): 4344 kBytes additional video memory is required to enable
DRI. (II) I810(0): Disabling DRI.
OK, here's where your problem is.  You need more video memory to enable DRI.  
So use your bios configuration utility, and give the agp more memory.  
Then, try again.  I think it should work after you do that.
unfortunately i cannot do it in bios - the only choice there is 1mb/8mb. 
can i do it somewhere else? some kernel parameter?


what to do now?

thanks for great help!

regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: direct rendering on i845G chipset

2005-10-18 Thread Lubos Vrbka

hi,

I think you have 2 options.  First, you could try to update the BIOS.  Newer 
versions may support reserving more memory for video.
well, i cn get newer bios, but that can be flashed only using m$. since 
i alredy deleted the windows partition, it's not an option.


If that doesn't work, you could try using 855patch.  It's a program 
available at http://www.chzsoft.com.ar/855patch.html.  Once you read the 
instructions and download the program, you'll need to edit your xorg.conf 
file:

by adding a line Load "dri" to the Section "Module"
by using the Driver "i810" in the Section "Device"
by setting VideoRam to the desired value in the Section "Device"
this works like a charm! no problems, i just allocate 16mb and voila... 
the speedup isn't in fact dramatic, but i didn't expect much... still i 
get 30% speedup (when comparing the fps before and now)


thank you for excellent hint!

best regards,

--
Lubos
[EMAIL PROTECTED]"


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




apt-get update problems

2005-10-19 Thread Lubos Vrbka

hi guys,

today, i encountered several problems when doing apt-get update:

1) several errors of followig form
Release: The following signatures couldn't be verified because the 
public key is not available: NO_PUBKEY 

i used suggestions from
http://lists.debian.org/deity/2005/08/msg00178.html
to remedy the problem. what could cause this?

2) i can see the following
Get:3 http://security.debian.org stable/updates Release.gpg [197B]
Hit http://security.debian.org stable/updates Release
Ign http://security.debian.org stable/updates/main Packages
Hit http://security.debian.org stable/updates/main Packages
i didn't mentioned it previously, so it's possible that the error is 
there for quite some time. btw i use amd64/testing so it may be caused 
by conflict between testing and stable.


3) i use blackdown java.  for both of the following lines from my 
sources.list

deb ftp://ftp.gwdg.de/pub/languages/java/linux/debian testing non-free
deb ftp://ftp.tux.org/java/debian/ testing non-free
i get
W: Conflicting distribution: ftp://ftp.tux.org testing Release (expected 
testing but got sarge)

W: You may want to run apt-get update to correct these problems
or the same from gwdg.de. i checked the ftp and the appropriate 
directories seem to be present. what's wrong here?


thank you for any hint. with best regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: apt-get update problems

2005-10-20 Thread Lubos Vrbka

hi!

thanks lots of useful information. now the situation with gpg signing is 
much clearer to me. i encountered the same problem while updating my 
other testing boxes - immediately after new apt (0.6.x) was installed i 
could see the same error messages.


i could remove them again by running
gpg --keyserver wwwkeys.eu.pgp.net --recv-keys x
apt-key add /root/.gnupg/pubring.gpg
apt-get update
regarding this - will someday in the future apt advise this 
automatically? i think the same think was suggested here

http://lists.debian.org/deity/2005/08/msg00178.html

i also encounter the following error...
W: GPG error: http://debian.uochb.cas.cz testing Release: The following 
signatures were invalid: BADSIG F1D53D8C4F368D5D Debian Archive 
Automatic Signing Key (2005) <[EMAIL PROTECTED]>

it seems to be that the key should be trusted
$ apt-key list
/etc/apt/trusted.gpg

pub   1024R/1DB114E0 2004-01-15 [expired: 2005-01-27)]
uid  Debian Archive Automatic Signing Key (2004) 
<[EMAIL PROTECTED]>


pub   1024D/4F368D5D 2005-01-31 [expires: 2006-01-31]
uid  Debian Archive Automatic Signing Key (2005) 
<[EMAIL PROTECTED]>


pub   1024D/8722E71E 2005-08-24 [expires: 2008-01-31]
uid  secure-testing Archive Key 2005-7 
<[EMAIL PROTECTED]>

sub   2048g/A04E64FA 2005-08-24 [expires: 2008-01-31]

does it mean that our local debian mirror wasn't mirrored correctly? 
when i use ftp.cz.debian.org everything goes fine... also, couln't the 
error described in the beginning be caused also by bad synchronization?


regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: how can to install ati driver with gcc-4.0.2

2005-10-21 Thread Lubos Vrbka
biosedit wrote:
> how can to install ati driver with gcc-4.0.2
> i am uses ati9600(RV350) and install driver 8.14.13
> with gcc3.4.3 kernel 2.6.8 the driver is work well
> but now i am update gcc to 4.0.2 kernel to 2.6.13 the driver is not work
> and can't install the driver
> 
> 
> assuming new VMA API since we do have kernel 2.6.x...
> doing Makefile based build for kernel 2.6.x and higher
> ln: ‘./libfglrx_ip.a.GCC4’:文件已存在
> make: *** [libfglrx_ip.a.GCC4] 错误 1
> build failed with return value 2

iirc, it's necessary  to link libflgrx_ip.a.GCC3 to libfglrx_ip.a.GCC4.
some other patches were necessary as well - i found it on google. it
works for me on my amd64/testing. (i was patching kernel module sources
from flavio stanchina's package)

other possibility is to get version 8.16.20 of ati driver installer from
flavio stanchina's website. this builds without problems (it has support
for newer kernels and gcc-4), however it didn't work for me. c started,
but immediatelly crashed after i moved with mouse - strange, but i
didn't have time to inpect it further.

regards,

-- 
Lubos
[EMAIL PROTECTED]"


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



Re: slow 3D game performance

2005-10-24 Thread Lubos Vrbka

CONFIG_AGP=y
CONFIG_AGP_VIA=y
CONFIG_DRM=y
CONFIG_DRM_RADEON=y

I'm not sure if this will help, but what about CONFIG_AGP_ATI ?

isn't this "key" (CONFIG_AGP_ATI) supposed to be used for ATI mobo chipset?


For ATI, you have a couple of options: you can use the open-source DRI
drivers, or you can use the "semi-open-source" drivers that ATI has
developed (which are available on their website). Find out which one
you are using, and then try the other one.
try fglrx for debian from flavio stanchina's website. however, you might 
 have to do some modifications to your kernel (e.g., putting 
agp-related stuff as a modules is recommended, see the docs at that page)


regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: X.Org Hits Testing: Xorg synaptics touchpad problem?

2005-10-25 Thread Lubos Vrbka

Adam Porter wrote:

Was the kernel upgraded?  Check dmesg.  Is the kernel module getting
loaded?  Is it saying anything on boot?  All we know right now is that X
can't find it.
synaptics touchpad works fine on my acer travelmate with 2.6.12 kernel 
and xorg @ testing (i'm using the synaptics module in xorg). i don't 
recall any problems, even before using synaptics module in xorg. just 
worked as an ordinary mouse, iirc. i am not sure about the kernel 
config, the only thing related to *TOUCH* i could find is

CONFIG_INPUT_TOUCHSCREEN=y
that is recognized as
ts: Compaq touchscreen protocol output
however i don't know whether it's relevant in this case or not.

dmesg:
0x80471b/0x0Synaptics Touchpad, model: 1, fw: 4.6, id: 0x925ea1, caps: 
0x80471b/0x0

input: SynPS/2 Synaptics TouchPad on isa0060/serio4

xorg (please note that module for synaptics provided by xfree86 is used; 
i realized it just now, but it works fine):

LoadModule: "synaptics"
(II) Loading /usr/X11R6/lib/modules/input/synaptics_drv.o
(II) Module synaptics: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 1.0.0
Module class: XFree86 XInput Driver
ABI class: XFree86 XInput driver, version 0.3
(II) LoadModule: "synaptics"
(II) Reloading /usr/X11R6/lib/modules/input/synaptics_drv.o
...
(II) Synaptics touchpad driver version 0.14.3
(--) touchpad auto-dev sets device to /dev/input/event2
(**) Option "Device" "/dev/input/event2"
(--) touchpad touchpad found
(**) Option "CorePointer"
(**) touchpad: Core Pointer

relevant part of xorg.conf (the device is detected by auto-dev):
Section "InputDevice"
Identifier  "touchpad"
Driver  "synaptics"
Option  "CorePointer"
#   Option  "Device""/dev/input/mouse0"
Option  "Protocol"  "auto-dev"
Option  "Emulate3Buttons"   "yes"
Option  "ZAxisMapping"  "4 5"
EndSection

best regards,

--
Lubos
[EMAIL PROTECTED]"


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




browser for fonts

2005-10-26 Thread Lubos Vrbka

hi guys:

i started to use antialiased fonts on my computer. is there any 
application that would allow me to browse through the different font 
families/sizes/encodings, to view them and then it would provide me with 
the font string i could use for e.g. xterm?


i know that xfontsel can be used for the font selection, but i'm not 
sure whether i can use it for antialiased fonts. e.g., i cannot see 
there VeraDb that is certainly available on my box. maybe it's just my 
misunderstanding how these things work...


i saw something similar to what i describe in kde control panel, however 
i don't use neither kde nor gnome, so i'd rather use some standalone 
application.


thanks for help / pointer to relevant documentation. best regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: keep getting "GPG error" while doing update

2005-10-30 Thread Lubos Vrbka

hi,


I have been getting this error since a week or two when I do apt-get update:
Fetched 3652kB in 20s (180kB/s)
Reading package lists... Done
W: GPG error: http://secure-testing.debian.net testing/security-updates
Release: The following signatures couldn't be verified because the
public key is not available: NO_PUBKEY 946AA6E18722E71E
W: GPG error: ftp://ftp.nerim.net etch Release: The following signatures
couldn't be verified because the public key is not available: NO_PUBKEY
07DC563D1F41B907
W: You may want to run apt-get update to correct these problems
I have tried:
 apt-key add /usr/share/apt/debian-archive.gpg
 apt-key add /usr/share/keyrings/debian-role-keys.gpg
but the warning doesn't go away. What other keys do I need to import?
this worked for me. just replace xx by the last á characters 
from the missing key (i.e. 8722E71E in your case)

gpg --keyserver wwwkeys.eu.pgp.net --recv-keys x
apt-key add /root/.gnupg/pubring.gpg
apt-get update
don't know whether this is systematic solution, but it works... similar 
problems (and reasons why it is so) were recently discussed on the list, 
you can find them with google easily...


regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: qemu & vt's

2005-11-03 Thread Lubos Vrbka

wicked cool.  now I'm going to figure out how to install kqemu to make
things a bit faster, and then I'm off to try out ReactOS & install
those games my kids want to play!  how utterly cool!
if you succeed could you please post how to do it? doesn't seem very 
straightforward to me - the README in the package refers to running 
configure, but there's no configure in that directory...


thanks in advance,
--
Lubos
[EMAIL PROTECTED]"


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




Re: qemu & vt's

2005-11-03 Thread Lubos Vrbka

Also wouldn't it be preferable to use checkinstall:
sudo checkinstall -D make install
this will make a trackable debian package (so you can uninstall when
you change kernels etc...).

good idea, i wasn't aware of checkinstall.
good idea, but imho checkinstall is not available in testing, just in 
unstable. or is it hidden somewhere?


regards,
--
Lubos
[EMAIL PROTECTED]"


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




Re: Synchronize file on HD and USB stick

2005-11-03 Thread Lubos Vrbka
... I need to keep those two copies in 
sync, sometimes the USB file are changed, sometimes the HD files.

...
...but I still have the files on the stick and HD that need 
to be synchronized. Is there some tool in Debian for that?
i'd definitely recommend unison. it's in the debian package collection 
and also is quite well documented. i use it very often and it works 
perfectly.


regards,
--
Lubos
[EMAIL PROTECTED]"


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




Re: qemu & vt's

2005-11-04 Thread Lubos Vrbka

you will need the source for qemu too. for example, if i'm in
/usr/local/src and i have the two sources downloaded...

$ tar xzf qemu-0.7.2.tar.gz
$ cd qemu-0.7.2
$ tar xzf ../kqemu-0.7.2.tar.gz
$ ./configure

this gave me the following error message:

ERROR: QEMU requires SDL or Cocoa for graphical output
To build QEMU with graphical output configure with --disable-gfx-check
Note that this will disable all output from the virtual graphics card.

i might continue with the --disable-gfx-check option, however i'd rather 
have graphics enabled. which debian package would provide me with SDL or 
Cocoa?


thanks for help,

--
Lubos
[EMAIL PROTECTED]"


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




Re: qemu & vt's

2005-11-04 Thread Lubos Vrbka

i needed libsdl-dev. that's a virtual, provided by libsdl1.2-dev.
i also ended up needing gcc-3.4. kqemu was picky about that. so my
configure line look like,
$ ./configure --cc=gcc-3.4

thanks, i'll give it a try.

it didn't compile with gcc-4.0? what about the kqemu module? my kernel 
is compiled with 4.0 so kqemu has to be compiled with it as well...


thanks,

--
Lubos
[EMAIL PROTECTED]"


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




Re: qemu & vt's

2005-11-04 Thread Lubos Vrbka

qemu didn't mind, it was kqemu's request that i use gcc-3.4, but my
kernel was compiled by gcc-3.4.

ok, this makes sense. i'm trying to compile it right now, but:

gcc -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer 
-mpreferred-stack-boundary=2 -falign-functions=0 -fno-gcse 
-fno-reorder-blocks -fno-optimize-sibling-calls -I. 
-I/home/vrbka/tmp/qemu-0.7.2/target-i386 -I/home/vrbka/tmp/qemu-0.7.2 
-I/home/vrbka/tmp/qemu-0.7.2/linux-user 
-I/home/vrbka/tmp/qemu-0.7.2/linux-user/i386 -D_GNU_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-I/home/vrbka/tmp/qemu-0.7.2/fpu -I/home/vrbka/tmp/qemu-0.7.2/slirp -c 
-o op.o /home/vrbka/tmp/qemu-0.7.2/target-i386/op.c
/home/vrbka/tmp/qemu-0.7.2/target-i386/ops_sse.h: In function 
'op_pshufw_mmx':
/home/vrbka/tmp/qemu-0.7.2/target-i386/ops_sse.h:574: error: unable to 
find a register to spill in class 'GENERAL_REGS'
/home/vrbka/tmp/qemu-0.7.2/target-i386/ops_sse.h:574: error: this is the 
insn:
(insn:HI 18 17 19 0 /home/vrbka/tmp/qemu-0.7.2/target-i386/ops_sse.h:569 
(set (strict_low_part (subreg:HI (reg/v:DI 63 [ r ]) 0))

(mem/s/j:HI (plus:SI (mult:SI (reg:SI 64)
(const_int 2 [0x2]))
(reg/v/f:SI 59 [ s ])) [0 ._w S2 A16])) 52 
{*movstricthi_1} (insn_list:REG_DEP_TRUE 16 (insn_list:REG_DEP_TRUE 12 
(insn_list:REG_DEP_TRUE 53 (nil

(expr_list:REG_DEAD (reg:SI 64)
(nil)))
/home/vrbka/tmp/qemu-0.7.2/target-i386/ops_sse.h:574: confused by 
earlier errors, bailing out

make[1]: *** [op.o] Error 1
make[1]: Leaving directory `/mnt/scratch/vrbka/_tmp/qemu-0.7.2/i386-user'
make: *** [all] Error 1

any hints? thanks for helping me. regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: qemu & vt's

2005-11-04 Thread Lubos Vrbka

bad news for you from http://fabrice.bellard.free.fr/qemu/faq.html,

QEMU does not compile. Why ?
It is likely that you are using GCC 4.x: it is currently not supported
by QEMU. You must use GCC 3.x.



not hard of course :

CC="gcc-3.4" ./configure
worked for me.
./configure --cc="gcc-3.4"
should work too.

To get rid of those dependencies errors I did
apt-get build-dep qemu
before configuring.  sorry, should have said that before.
well, but the only reason why i do this is to get kqemu. my kernel is 
compiled with gcc 4.0.2 so i need the module to be built with that 
version of gcc as well... so i think i will have to stay with the 
non-accelerated qemu from the package collection...


thanks for help! best regards,

--
Lubos
[EMAIL PROTECTED]"


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




k3b not available

2005-11-05 Thread Lubos Vrbka

hi guys,

i think i installed k3b using the debian packages (in testing) some time 
ago, however i cannot find it now using aptitude/apt-cache. has 
something changed?


regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: k3b not available

2005-11-05 Thread Lubos Vrbka



They are changing over to gcc 4.0 in testing so they had to remove some
packages including k3b.  I won't be updating my system until k3b and
hotplug is put back in.
ok, thanks for info... i'm not so much concerned about hotplug (udev 
replaces it), but i'd like to have some software to burn cds with gui. i 
was thinking about using something else, but xcdroast still requires the 
scsi emulation :( i don't use kde/gnome. i know that k3b requires kde 
libs, but at least it looks like reasonable software...


regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: k3b not available

2005-11-05 Thread Lubos Vrbka



Debian testing :
[EMAIL PROTECTED] /tmp]$ apt-cache search k3b
k3b-i18n - Internationalized (i18n) files for k3b
kipi-plugins - image manipulation/handling plugins for KIPI aware programs
quodlibet-plugins - various contributed plugins for Quod Libet
k3blibs - The KDE cd burning application library - runtime files
k3b - A sophisticated KDE cd burning application


Are you sources.list correctly configure ?

i think so :) ftp.cz.debian.org doesn't seem to have k3b for testing...

regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: Why I use "stable"... was: Re: k3b not available

2005-11-05 Thread Lubos Vrbka

These sorts of temporary inconveniences are why I switched back to using
Debian "stable".  I'm not complaining about "testing" and "unstable",
but I just want to let people know that "stable" is a place where
packages don't usually "disappear" from the repositories.

If you want to help test the next release(s) of Debian, or want the
newest packages (with the potential for some occasional aggravation) use
"testing" or "unstable".  If you want nice, boring consistency, and
predictability, use "stable", and take a couple of steps back from the
leading edge... :)
well it was not exactly this case (i have this problem on my i386)... 
but i have also amd64 and there you cannot simply "go stable"... and i 
like to have packages in same versions on both computers (actually some 
of them require it - unison, for example)


regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: which debian version to host VMWare?

2005-11-06 Thread Lubos Vrbka

VMware Workstation 5 is running fine for me under Sarge on an AMD64
box.  I've had zero problems with compiler versions and such.

Also, which kernel version?

I'm running a 2.6.8 kernel built from Debian sources.  Configuration
is stock except for turning off most sound support (I installed ALSA
separately to make my newish sound card happy).
the same here with testing, 2.6.12 kernel and both i386 and amd64 
architectures. also vmware player works perfectly here - once your vm is 
set up, you don't need the vmware itself any more and can use only the 
player that is donwloadable for free...


regards,
--
Lubos
[EMAIL PROTECTED]"


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




openct does not start when token is inserted

2005-11-07 Thread Lubos Vrbka

hi guys,

i've got a cryptographic token (Rainbow iKey 3000) and want to use it on 
my debian box. there's some problem, though. when i plug it in, i get


usb 2-2: new low speed USB device using uhci_hcd and address 2

in my logs. however the corresponding init.d script is not executed and 
i have to start it manually. it seems that hotplug doesn't work in this 
case (?)... i use udev (0.071 from package collection) that replaced 
hotplug. however, i can use my other usb devices (flash disk, tablet) 
with no problems so in this case hotplug seems to work fine.


is there some step necessary to make this work? when i start the init.d 
scipt for openct manually, it works perfecly. or am i wrong about the 
hotplug and the problem lies somewhere else?


thanks for any hints. best regards,

--
Lubos
[EMAIL PROTECTED]"


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




rewriting hotplug scripts for udev

2005-11-10 Thread Lubos Vrbka

hi guys,

i have a cryptographic token that is handled by openct. when i start 
openct with token plugged to the usb port, everything works fine. 
however when i plug in the token later, it is not recognized and i have 
to restart openct to get it working.


there are 2 files in /etc/hotplug/usb.

openct:
=
#!/bin/sh 




test "$ACTION" = "add" || exit 0 




if [ -e /var/run/openct/status ] 

then 

/usr/sbin/openct-control attach $DEVICE usb:$PRODUCT 

fi 


=

and openct.usermap containing maps for devices. since i use the new 
version of udev that doesn't have hotplug it seems that these files are 
just skipped and not read.


can anybody please help me with rewriting these as udev rules? it would 
be very welcome.


best regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: GUI

2005-11-11 Thread Lubos Vrbka
In fact I want to see if I can start linux without starting the GUI. 
Instead want to start the GUI by typing startx.
if you never-ever want to start GUI, the quick way is uninstalling 
xdm/gdm/kdm/whatever login manager you have installed. another solution 
would be to check the initscripts and just removing the link starting 
the xdm/kdm/gdm from the rc?.d directory of the respective runlevel you 
use...


regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: GUI

2005-11-11 Thread Lubos Vrbka

sorry for confusing post - i wanted to say: if you never-ever want the
gui to be started automatically after boot
if you never-ever want to start GUI, the quick way is uninstalling 
xdm/gdm/kdm/whatever login manager you have installed. another solution 
would be to check the initscripts and just removing the link starting 
the xdm/kdm/gdm from the rc?.d directory of the respective runlevel you 
use...


--
Lubos
[EMAIL PROTECTED]"


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




Re: changin XTerm colors

2005-11-12 Thread Lubos Vrbka

I tried to change the XTerm colors by putting these lines in my
~/.Xresources file:
XTerm*Background: black
XTerm*Foreground: white

But it has no effect.  Anyone know what the problem is?  According to
XTerm manual, this should work.  Oh, and I tried changing the names
(Background to background etc. No effect).   


Hey,

Try putting them into ~/.Xdefaults

I had to logout and back in for it to apply, but after that it was there 
everytime :)
probably the best way is to symlink .Xdefaults to .Xresources. if you 
want the changes you make to be propagated automatically (no need to 
restart) you can use the xrdb command (see man for more info).


also, setting the XENVIRONMENT variable in your .xinitrc/.xsession might 
help with the setup.


regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: Intel 82845g Problem.

2005-11-24 Thread Lubos Vrbka

Csanyi Pal wrote:

Hi Leo!

On Wed, Nov 23, 2005 at 05:35:14PM +0100, Leonardo Uzcudun wrote:


Very nice but i810 doesn�t work, so only chance is
vesa (but at 640x480�.very nice).

Another solution?

Leo
i had some issues with 845g based graphics chipset on my notebook. don't 
know whether it is your case, but if it is so, then:


1) check the video allocation for your card in BIOS. i had 1mb there and 
it didn't allow me to use any reasonable modes. for me it was also 
impossible to select more than 8mb of memory (which worked fine for 
[EMAIL PROTECTED], though)

2) dmesg reported ~8mb of stolen memory, but it seems to be fine
3) to get dri working i installed a patch that allocates more memory for 
the graphics. also, i had to tell the xserver to use more memory (16megs 
were needed). unfortunately i don't remember where i got the patch (it 
was a standalone program). maybe, it isn't needed and you can just 
assign higher value to VideoRam without it? i really don't know.


so to summarize, the following works with my xorg setup
Section "Device"
Identifier  "i845G"
Driver  "i810"
BusID   "PCI:0:2:0"
VideoRam16384
EndSection
with dri - hw acceleration etc... i think i also tried i830 and i845 
modules, but i think the result was the same...


regards,

--
Lubos
[EMAIL PROTECTED]"


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




licq and enlightenment16 in sid

2005-11-26 Thread Lubos Vrbka

hi guys,

i recently upgraded to sid. when using enlightenment (0.16) and licq, i 
am not able to set the position of the status window (dock icon - 
LicqWharf). i cen set up it to remember its position in the 
windowmanager, however after the restart, it is again placed in 
different location (almost out of the root window). when using 
"stickiness" i am not able to locate the dock icon at all...


anyone has seen similar behavior? i tried several setups (and also 
enlightenment DR17) and nothing worked.


thanks for any hints. regards,

--
Lubos
[EMAIL PROTECTED]"


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




aptitude and apt-listbugs

2005-11-27 Thread Lubos Vrbka

hi guys,

i use aptitude and listbugs in sid. during update/upgrade aptitude loads 
the bug list and displays all of them. i have 2 questions regarding this:


1) it should be possible to view any of the bugs (to see whether they 
are related to the version i want to upgrade to). help indicates, that 
writing down the number of the bug should be enough:


Are you sure you want to install/upgrade the above packages? [Y/n/?/...]  ?
 y - continue the apt installation.
 n - stop the apt installation.
  - query the specified bug number (uses querybts).
 r - redisplay bug lists.
 p  - make pkgs pinned: need to restart apt to enable.
 p - make all the above pkgs pinned. need to restart.
 i- make bug_number  ignored.
 ? - print this help.
 w - display bug lists in html (uses sensible-browser).

however writing down the bug number in any form doesn't display anything.

2) is it possible to tell aptitude not to install only packages affected 
by the bugs, but continue to install the other? if i do Y on the prompt, 
it seems to install everything. if i do N, then the whole procedure stops...


thank you for information. regards,

--
Lubos
[EMAIL PROTECTED]"


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




udev upgrade

2005-11-28 Thread Lubos Vrbka

hi,

after today's upgrade (i386, sid) it seems there is something wrong with 
udev:


Preparing to replace udev 0.074-3 (using 
.../archives/udev_0.076-1_i386.deb) ...

mv: target `/dev/.udev/db/' is not a directory: No such file or directory
dpkg: error processing /var/cache/apt/archives/udev_0.076-1_i386.deb 
(--unpack):

 subprocess pre-installation script returned error exit status 1

there is no /dev/.udev/db, however there is /dev/.udevdb.

a bug, perhaps? should i report it?

regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: aptitude and apt-listbugs

2005-11-29 Thread Lubos Vrbka

however writing down the bug number in any form doesn't display anything.

http://www.debian.org/Bugs/
yes, of course. i just meant that the message dpkg/apt prints out 
somehow indicates that it should be able to get the full bug description 
and print it out...



2) is it possible to tell aptitude not to install only packages affected
by the bugs, but continue to install the other?

If thereare one or more packages I don't want to install, I press 'N'.  Then
I start aptitude with no parameters, select the package, and (1) "forbid"
installation of that version by pressing 'F'; or (2) "hold" the package by
pressing '='.  Repeat as desired.

thanks that  is exactly what i needed to know. :)


if i do Y on the prompt, it seems to install everything. if i do N, then
the whole procedure stops...

At that prompt, I think it's all or nothing.

it seems to be so...

thanks,

--
Lubos
[EMAIL PROTECTED]"


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




Re: aptitude and apt-listbugs

2005-11-29 Thread Lubos Vrbka

At this prompt you should be able to type in the specific bug number
and the bug should be displayed.  Maybe you are putting a '#' in front
of it?

Like it says above this uses the querybts program.  Does this program
work on its own, so without starting aptitude?  I chose a random bug
number:

$ querybts 313313
Retrieving report #313313 from Debian bug tracking system...
it seems that i didn't have it installed... aptitude install reportbug 
fixed the problem.


thanks for the hint!

regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: ATI FIreGL4 drivers for ia64

2005-12-01 Thread Lubos Vrbka
We recently ported our ia64 machine which was running hp-ux to 
debian3.1. Installation was a breeze. But we are having problems in 
bringing up X. I understand it is because of the ATI FireGL4 graphics 
card that we have. I googled a lot but couldn't find drivers for this 
particular card. Could anyone help me with this?
flavio stanchina's web page with debian ati linux driver package, 
perhaps? works for me fine on amd64, so i don't know whether it will 
work on ia64... probably it could.


http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.html

--
Lubos
[EMAIL PROTECTED]"


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




Re: merging Openoffice docs in unison

2005-12-02 Thread Lubos Vrbka

hi,


I'm experimenting with Unison to keep my computers in sync with each
other.  Unison has this cool "merge" feature which allows you to
compare file versions in an external program & reconcile changes.  It
would be great if I could do this with my OOo docs, where most of my
work takes place, and where most of my synchronization comfusion comes
from.  Has anyone tried anything of this kind?  Any hints?
i don't think unison can do this. it is also not developed anymore. 
however, the same group develops another program called 'harmony' that 
should be intended for synchronization of xml data - so it might be 
applicable to OOc docs as well... however i just recall reading it 
somewhere (probably on their web). never used it, but you might probably 
give it a try...


regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: Color Laser

2005-12-05 Thread Lubos Vrbka
you didn't say what you need it for - HPLJ 4650 that we have here is 
pretty good, however, quite expensive as well... definitely overkill for 
home / 'small business' use.


regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: Using dd to clone smaller drive to larger drive

2005-12-07 Thread Lubos Vrbka

Brian C wrote:
Warning to archive readers. I believe a typo in one of the commands 
below will destroy your data. Read on...


Alvin Oga wrote:
[snip]


- if you want to leave bad data behind

mount /dev/hdb1 /mnt/new-disk



HERE IT COMES


tar cvfp old-disk-paritions /mnt/new-disk
just watching the thread for the first time... don't know what was this 
tar command supposed to do

tar 
c   create archive
v   be verbose
p   preserve attributes, no effect here, applies only during 
etraction
	f	put the archive to file whose name is following the command, in this 
case old-disk-partitions

and take the inputs from /mnt/new-disk

wouldn't something like
find source_dirs -xdev | cpio -pvm dest_dir
work better?

in case of tar, probably something like
cd src_dir; tar c * | (cd dest_dir && tar xpv)
might also work fine

regards,

--
Lubos
[EMAIL PROTECTED]"


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




Re: Using dd to clone smaller drive to larger drive

2005-12-07 Thread Lubos Vrbka

1.) partition the new drive as you want it
2.) for each partition of the new drive, mount the partition in 
/mnt/tmp or something like that, then


cd /old-partition-mount ; tar cf - . | (cd /mnt/tmp ; tar xf -)

What does the dot do?

archive the local directory to the stdout
tar cf - . | ... tar xf -
you can also do it as
tar c . | ... tar x
however this doesn't seem to work on, e.g., sgi and aix...

regards,

--
Lubos
[EMAIL PROTECTED]"


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




<    1   2   3