Re: SELinux Suggestion

2007-09-23 Thread Takehiko Abe

Manoj Srivastava wrote:


That is not the case. All core libraries and packages have
 already been patched and are functional in Etch.  You did not even
 notice it, because they are optional.


libselinux and libsepol are required and are not optional.

I bet that selinux is of no use for majority of us. I wish the patches
to be left as seperate patches. Those who need selinux wouldn't
object. A special destribution would be even better -- Debian
Enterprise.



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




Re: SELinux Suggestion

2007-09-23 Thread Takehiko Abe

Joey Hess wrote:


Mike McCarty wrote:

That is naive, is it not? The apps themselves have to be SELinux-
aware. So, one can remove the policy packages, but not SELinux.


-rw-r--r-- 1 root root 82K Jul 10 14:11 /lib/libselinux.so.1

If you're worried by this amount of space use, you probably have much
larger problems than SE Linux.



That's straw man. What troubles me is that the core packages are
patched for something I have no use of.


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




Re: SELinux Suggestion

2007-09-21 Thread Takehiko Abe

Kevin Mark wrote:


The extent to which SELinux 'infests' Debian is a minor one. For proper
SELinux support you only have to alter a handful of basic packages and
the kernel, so that's like .001% of its packages.


but it runs deep. those handful are required packages.


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




apple lossless

2007-09-18 Thread Takehiko Abe

I have songs in the apple lossless format. Rhythmbox can play them
back, but it often generates unpleasant scratching noise at the end
of a song.

I'd like to know if this is a known problem.

Thanks
T.


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




Re: kernel 2.6.22 - sata

2007-09-11 Thread Takehiko Abe

nicolas wrote:

 i have install kernel 2.6.22 on debian etch, every thing works fine
 except when i shutdown de computer it shows me an error on the sata,
 it say i have a problem with my shutdown utility, and shows me a web
 site, but in the web site it says nothing.  any one knows what to
 do?

Make sure you read http://linux-ata.org/shutdown.html

There is a patch that I use partially:

http://lists.alioth.debian.org/pipermail/pkg-sysvinit-commits/2007-June.txt

I expected this patch would soon be available in testing version of
sysvinit, but it has not arrived yet. It seems that there are some
issues to be resolved. See:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=426224#17

My understanding is that if all you have are sata drives then it is
safe to apply the above patch. But I am not sure.

This is on my todo list. I almost forgot about it.


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




Re: xterm won't start on AMD K6 with stock 2.6.22-1-486 kernel

2007-09-01 Thread Takehiko Abe

Paul Scott wrote:


Here's the end of the strace.  It doesn't tell me anything we don't
already know. Maybe someone else will see more:


So what do you already know? For instance, this



[...]
write(2, xterm Xt error: Can\'t open displ...,
[...]


looks different from the previous pty error. Have you fixed that?



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




Re: xterm won't start on AMD K6 with stock 2.6.22-1-486 kernel

2007-09-01 Thread Takehiko Abe

Paul Scott wrote:

 looks different from the previous pty error. Have you fixed that?

 I don't know enough to know why it should have changed with all
 stock updates or enough to fix it at this point.

You reported that legacy pty support is turned off in the new kernel.
That is one change from the old setup. And someone reported that his
xterm works fine with non-legacy pty, but yours apparently does not.
Why don't you check if you have a working non-legacy pty system or
not?

$ stat /dev/ptmx
$ mountpoint /dev/pts


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




Re: xterm won't start on AMD K6 with stock 2.6.22-1-486 kernel

2007-09-01 Thread Takehiko Abe

Paul Scott wrote:

 $ stat /dev/ptmx
 [...snip...]

ptmx looks fine to me.

 mountpoint says /dev/pts is not a mount point

You need to mount devpts filesystem at /dev/pts.
pts(4) manpage says:

;; The Linux support for the above (known as Unix98 pty naming) is
;; done using the devpts filesystem, that should be mounted on
;; /dev/pts.

Try something like this (_NOT_TESTED_):

$ sudo mount -t devpts -o uid=0,gid=5,mode=620 devpts /dev/pts

* gid=5 : gid should specify 'tty' group. 5 is tty group on my
  system. Please check /etc/group for tty gid for sure.

* Refer to mount manpage. It has section for Mount options for
  devpts.

Note that I've never had to do it myself.  My /etc/fstab on a Sarge
system has this entry:

none/dev/ptsdevptsgid=5,mode=62000

But my lenny box does not have it. I don't know who mounts devpts for
me on lenny (perhaps it's udev but I'm not sure.)

Good luck.


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




Re: konsole + system bell

2007-08-29 Thread Takehiko Abe

Do you get a bell in a text console?  IIRC, there is no longer a beep
module in the kernel.


I do. The module is pcspkr.ko.



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




Re: Confused about kernel source location

2007-08-14 Thread Takehiko Abe

Frank McCormick wrote:

 Well, I always store there all the sources related with my kernel,
 modules, etc... I haven't get any problem... BTW, remember doing
 the symlink to /usr/src/linux from your kernel-source.

 Well then why the warning from the Kernel developers? And what's
 this about symlinking? Symlinking what to what ?

I don't know why. but the kernel package readme
(/usr/share/doc/kernel-package/README.gz) also suggests not to build
the kernel there. Also the Filesystem Hierarchy Standard (FHS) says
that source code may be placed under /usr/src only for reference
purposes and should not be build within. Again I don't understand
why exactly.

If you can use make-kpkg, I think following the instruction detailed
in the kernel-package readme is an easy path.

I never used that symlink (what is that?).

Anybody? Where do people dump their kernel source anyway???

I use /usr/local/src/kernel.


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




Re: Eclipse: Fills my memory and does not start

2007-08-11 Thread Takehiko Abe

Jose Luis Rivas Contreras wrote:

 
 [EMAIL PROTECTED]:~$ eclipse
 searching for compatible vm...
   testing /usr/lib/jvm/java-gcj...found
 GC Warning: Repeated allocation of very large block (appr. size 
262144000):

 May lead to memory leak and poor performance.

 [EMAIL PROTECTED]:~$

 

There is a bug #434484 filed against gij-4.1. It seems that the fix is
on the way (in the form of glibc update), but it hasn't reached to the
mirror I'm using yet.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=434484


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




Re: font problem - please help!

2007-08-09 Thread Takehiko Abe

Zach wrote:

 Someone said the new version of the X.Org xserver no longer puts the
 Font lines in the xorg.conf file. I wonder where it puts them? I just
 remember one of the packages that it upgraded was xserver-xorg yet it
 didn't show anything on stdout indicating it was changing font
 directors or anything!

fwiw my xorg.conf does not have a fontpath entry, and I don't have
much problem with fonts (or I have the same problem as you, but have
not noticed it.)

From /usr/share/doc/xorg/changelog.Debian.gz :

| * Don't write the files section of xorg.conf by default. If the user
|   does want to write the files section, don't write out any font
|   paths, only write out the font server bit if they specify that.
|   + This will depend on having xserver-xorg-core version
| 2:1.3.0.0.dfsg-3 which includes a patch to always look in the
| default font paths by default. Bump the xserver-xorg dependency
| on xserver-xorg-core to this version.


and my xorg log shows:

(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi


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




Re: font problem - please help!

2007-08-09 Thread Takehiko Abe

Jonathan Kaye wrote:


Yes, Takehiko. I removed all the font paths from xorg.conf and now
my Xorg.0.log looks exactly like yours and the fonts seem ok so
far. You were perfectly correct. Thanks I learned something.


I merely observed that [a] I never touched FontPath and my xorg.conf
doesn't have an entry for it and [b] I don't have a problem with
fonts. Because I started using Debian on my desktop about a month ago
(then went through several installations of Debian and Ubuntu before I
settled for lenny), I guess my xorg package is the latest from the
beginning.

regards,
T.


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




Re: switch from xserver-xorg-video-i810 to -intel and unsupported modes

2007-08-09 Thread Takehiko Abe

Anton Piatek wrote:


Does anyone have any advice on what to try to get this card to do
[EMAIL PROTECTED] ?


Andrew summarized what he's done to make the driver honour his
modeline in another message. Check it out if you haven't seen it:

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



I am running lenny, and the intel driver is the same version there
as unstable, so I doubt moving to unstable will help me...


I had a problem with the driver too. Finally I used the latest driver
from freedesktop.org and that solved my problem. (I'm using debian
testing.)

To get the src and build the driver you need git and bunch of dev
packages.  The driver is newer than the one in testing, so it _might_
work for you too. I think it is worth trying if you are desperate
enough. Since it is installed under /usr/local it does not mess up
debian packages.




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




Re: How to add dir to path

2007-08-08 Thread Takehiko Abe

# Sorry, I sent a mail directly to you.

Andrei Popescu wrote:

 Instead of a ~/script dir I use a ~/bin dir and didn't need to change
 anything because ~/.bash_profile already contains:

 # set PATH so it includes user's private bin if it exists
 if [ -d ~/bin ] ; then
 PATH=~/bin:${PATH}
 fi

I had to add ~/bin in .bashrc. Otherwise, it won't be available in
gnome-terminal.



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




Re: How to add dir to path

2007-08-08 Thread Takehiko Abe

Andrei Popescu wrote:


# ~/.bash_profile: executed by bash(1) for login shells.

Set gnome-terminal to use a login shell.


Doh! Thanks.


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




Re: odd xorg-video-intel problem

2007-08-06 Thread Takehiko Abe
I pulled the latest xf86-video-intel source from freedesktop.org,
and it magically cured the symptom.

My Xorg.0.log still shows the same error entries as before:

  (EE) intel(0): Unable to write to SDVOCTRL_E for SDVOB Slave 0x70.

So, at least they are not the culprit. Now that the pain is gone, I'll
probably never know the real cause.


Andrew Sackville-West wrote:

 I wonder how modlines and the control panel interacts. If the setting
 in a control panel overrides modeline setting, why do I need modelines?


 the control panel doesn't override the modelines. It presents a list
 of all available modes as determined by xorg. This includes probed
 modes that may not be specified in the xorg.conf.

Ah, I see.

 [...]

 This custom modeline I entered into xrg.conf with a names like
 1440x900_75. I think the _ was critical as it put that modeline at the
 top of the list which makes it the one xorg chooses.

That's interesting.

 Other attempts by
 me used a more normal mode name and that put the mode further down the
 list causing xorg to not choose it by default (the list I'm referring
 to is the one produced by xrandr which is what xorg uses now, I
 believe).

 pertinent parts of xorg.conf


 Section Device
 Identifier  Intel Corporation 82845G/GL[Brookdale-G]/GE
 Chipset Integrated Graphics Device
 Driver  intel
 BusID   PCI:0:2:0
 #   Option  UseFBDev  true
 Option  ModeDebug YES
 Option  Monitor-VGA 19MVWK
 EndSection

 note the Monitor-VGA option which specifies whichmonitor to
 use. Though we only have one, I believe this is important.

I used Monitor-TMDS-1 instead since my monitor is connected to SDVO
DVI connector. But I couldn't get X to use my modeline.  And I did not
try harder because the X is already in the right mode. (At first, I
suspected the refresh rates were wrong.  But they turned out to be
correct according to the monitor manual.)

The problem is that some parts of my monitor thinks it is in 640x350
resolution and complains about it.


Thanks,
T.



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



Re: odd xorg-video-intel problem

2007-08-05 Thread Takehiko Abe

Andrew J. Barr wrote:

 The file /var/log/Xorg.0.log would help with diagnostics.

only if I know how to interpret it...

There are in total 10 entries marked 'EE', all identical:

  (EE) intel(0): Unable to write to SDVOCTRL_E for SDVOB Slave 0x70.

Is this normal? ... OK, silly question. Errors are not normal.

 Also, consider posting to the [EMAIL PROTECTED] list, a
 number of Intel employees are active there.

I think I need to do my homework before posting there. And that
would be quite a task for me. I am very new to XWindows.

 Additionally, consult the driver documentation. I believe you can
 turn on a debug mode in the modesetting code by specifying an option
 in xorg.conf. This might help you or someone else figure out what's
 wrong.

Doesn't help me. For instance, with debugging enabled, the above error
entry became:

  (EE) intel(0): Unable to write to SDVOCTRL_E for SDVOB Slave 0x70.
  (II) intel(0): SDVO: W: 7A 02   (SDVO_CMD_SET_CONTROL_BUS_SWITCH)
  (II) intel(0): SDVO: W: 7A 02   (SDVO_CMD_SET_CONTROL_BUS_SWITCH)


 My own experience with the 965:

 I have a 965 connected to an widescreen 1440x900 LCD monitor via a VGA
 connector. When X starts, it starts in a non-native resolution, but
 after I log in the GNOME session software changes the native
 resolution which I specified in the Screen Resolution control panel.

I wonder how modlines and the control panel interacts. If the setting
in a control panel overrides modeline setting, why do I need modelines?

btw, I tried xvidtune and it appears no matter what values I specify it 
says:


 Sorry: You have requested a mode-line that is not possible
 or not supported by your hardware configuration.

Weird.

sigh... I thought I could avoid this kind of hassle by choosing the
intel 965G.


Thanks,
T.


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




odd xorg-video-intel problem

2007-08-04 Thread Takehiko Abe

[ package: xserver-xorg-video-intel version 2:2.1.0-2 ]

Since I updated xserver-xorg-video-intel, my LCD started to complain
that it is in a non-preset mode, that is, the monitor displayed a
message Nonpreset Mode for 5 seconds when X started.

The resolution is set to the native 1280x1024. However, the LCD's On
Screen Display (OSD) reports that the current resolution is set to
640x350.

The motherborad is intel DG965WH. The monitor is connected to its
onboard video via SDVO/ADD2 DVI-D.


Does anyone have a similar problem?


Thanks,
T.


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




Re: odd xorg-video-intel problem

2007-08-04 Thread Takehiko Abe

Andrew Sackville-West wrote:

 Since I updated xserver-xorg-video-intel, my LCD started to complain
 that it is in a non-preset mode, that is, the monitor displayed a
 message Nonpreset Mode for 5 seconds when X started.

 does the monitor then recover?

Yes. Except for the message, the monitor seems to work normally.

 The resolution is set to the native 1280x1024. However, the LCD's On
 Screen Display (OSD) reports that the current resolution is set to
 640x350.

 I've been meaning to review the intel bugs because i've been
 frustrated configuring it as well for an lcd monitor. I've had to
 trial-and-error my way into a modeline that works for our monitor and
 then convince the driver to use that modeline. It doesn't seem to
 behave in ways that make sense to me.

 Could you post up your xorg.conf?

I tried some modeline and other option combinations but none cured
the symptom. I gave up and there's nothing interesting in it:

Section Device
Identifier  Intel Corporation 82G965 Integrated Graphics 
Controller
Driver  intel
BusID   PCI:0:2:0
# Screen0
Option AccelMethod XAA
Option XAANoOffscreenPixmaps true
# no change.
# Option Monitor-TMDS-1 BenQ FP93GP
# no good.
# Option DDC off
EndSection

Section Monitor
Identifier  BenQ FP93GP
Option  DPMS
# HorizSync 31-83
# VertRefresh 56-76
	# Modeline 1280x1024 108.00 1280 1328 1440 1688  1024 1025 1028 1066 
+hsync +vsync

EndSection

Section Screen
Identifier  Default Screen
Device  Intel Corporation 82G965 Integrated Graphics 
Controller
Monitor BenQ FP93GP
DefaultDepth24
SubSection Display
		Modes		1280x1024 1152x864 1024x768 832x624 800x600 720x400 
640x480 640x350

EndSubSection
EndSection

;;;

Thanks,
T.


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