Re: Release architecture requalification

2007-09-29 Thread Junichi Uekawa
Hi,

 [1]   http://wiki.debian.org/LennyReleaseRecertificationTemplate

I started up a template page.
http://wiki.debian.org/shLennyReleaseRecertification

Please start filling it up.

regards,
junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project



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



Re: Bug#367962: Please don't ship a /lib64 symlink in the package on amd64

2006-05-19 Thread Junichi Uekawa
Hi,

 I'm not suggesting splitting the dirs. Just the way the link is setup.
 
 I'm suggesting creating it in the maintainer scripts instead of the
 data.tar.gz so packages that do ship files in (/usr)/lib64 don't make
 libc6 unupgradable.

On debootstrap install, libc6 postinst isn't actually ran that early,
and if this change is made, probably require some hacks within
debootstrap/cdebootstrap.


regards,
junichi
-- 
[EMAIL PROTECTED],debian.org}


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



Re: [a-users] Re: ITP: fmit -- free music instrument tuner

2006-02-03 Thread Junichi Uekawa
Hi,

 I'm trying to debug why 'fmit' is so unstable on my unstable amd64
 box.  Backtrace is looking suspiciously too qt to be application
 specific.  Anyone seen this kind of backtrace recently? At first sight
 it looks like some allocator bug.

I've tried to find out if this application works under ibook, and it
was equally unusable. I guess this isn't a powerpc problem.




regards,
junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project


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



Re: [x86_64] bttv: linux 2.6.16-rc1 mplayer fails to record ALSA audio and fails tune TV.

2006-02-02 Thread Junichi Uekawa
Hi,

status update, it's still like this; I probably don't have much time
to sit around debugging this problem myself, but if anyone else has
met this problem and fixed it, I'd be delighted to know about it.

Linux dancer64 2.6.16-rc1dancer-ga6df590d-dirty #1 Wed Feb 1 18:36:00 JST 2006 
x86_64 GNU/Linux


regards,
junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project



At Fri, 20 Jan 2006 08:11:34 +0900,
Junichi Uekawa wrote:
 
 Hi,
 
 With 2.6.16-rc1, it's recording no audio, and it's recording
 black-and-white noise on video. Wooo, it's getting worse.
 
 $ uname -a
 Linux dancer64 2.6.16-rc1dancer-dirty #1 Wed Jan 18 08:11:24 JST 2006 x86_64 
 GNU/Linux
 
 
 From the information that I've gathered so far it seems like:
 1. bttv was rewritten to support v4l2
 2. record via v4l2 is broken, v4l1 is not (xawtv works, mencoder broken.)
I've heard mencoder should work with v4l1, but I have not yet confirmed.
 
 bttv-cards.c:
 
 [BTTV_BOARD_GVBCTV5PCI] = {
 .name   = IODATA GV-BCTV5/PCI,
 .video_inputs   = 3,
 .audio_inputs   = 1,
 .tuner  = 0,
 .svhs   = 2,
 .gpiomask   = 0x0f0f80,
 .muxsel = {2, 3, 1, 0 },
 .audiomux   = {0x03, 0x01, 0, 0, 0x02, 0},
 .no_msp34xx = 1,
 .pll= PLL_28,
 .tuner_type = TUNER_PHILIPS_NTSC_M,
 .tuner_addr = ADDR_UNSET,
 .radio_addr = ADDR_UNSET,
 .audio_hook = gvbctv5pci_audio,
 .has_radio  = 1,
 },
 
 dmesg gives me an impression that this path is taken properly:
 bttv: driver version 0.9.16 loaded
 bttv: using 8 buffers with 2080k (520 pages) each for capture
 bttv: Bt8xx card found (0).
 bttv0: Bt878 (rev 17) at :03:0b.0, irq: 22, latency: 64, mmio: 0xfdcff000
 bttv0: detected: I-O Data Co. GV-BCTV5/PCI [card=81], PCI subsystem ID is 
 10fc:d018
 bttv0: using: IODATA GV-BCTV5/PCI [card=81,autodetected]
 bttv0: gpio: en=, out= in=00f6f0f7 [init]
 bttv0: using tuner=17
 bttv0: i2c: checking for TDA9875 @ 0xb0... not found
 bttv0: i2c: checking for TDA7432 @ 0x8a... not found
 bttv0: i2c: checking for TDA9887 @ 0x86... not found
 tuner 0-0061: chip found @ 0xc2 (bt878 #0 [sw])
 tuner 0-0061: type set to 17 (Philips NTSC_M (MK2))
 bttv0: registered device video0
 bttv0: registered device vbi0
 bttv0: registered device radio0
 bttv0: PLL: 28636363 = 35468950 .. ok
 
 
 v4l-info is dumped with:
 
 printf(inputs\n);
 for (i = 0;; i++) {
 memset(input,0,sizeof(input));
 input.index = i;
 if (-1 == ioctl(fd,VIDIOC_ENUMINPUT,input))
 break;
 printf(VIDIOC_ENUMINPUT(%d)\n,i);
 print_struct(stdout,desc_v4l2_input,input,,tab);
 }
 printf(\n);
 
 
 which is probably handled in 
 bttv-driver.c:static int bttv_common_ioctls(struct bttv *btv, unsigned int 
 cmd, void *arg)
 
 which unconditionally sets:
 i-audioset = 0;
 
 
 
  last successful one was 2.6.14-rc5.
  
  
  I've noticed that there is a v4l-info command, which dumps v4l2
  information, and it seems to signify that v4l2 is giving a different
  answer.
  
  The following is a diff, which seems to signify that this difference
  exists in the two versions:
  
  -   audioset: 1
  +   audioset: 0
  
 
 
 regards,
   junichi
 -- 
 [EMAIL PROTECTED],netfort.gr.jp}   Debian Project
 


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



Re: [x86_64] bttv: linux 2.6.16-rc1 mplayer fails to record ALSA audio and fails tune TV.

2006-02-02 Thread Junichi Uekawa
Hi,

 Junichi Uekawa wrote:
  Hi,
 
  status update, it's still like this; I probably don't have much time
  to sit around debugging this problem myself, but if anyone else has
  met this problem and fixed it, I'd be delighted to know about it.
 
  Linux dancer64 2.6.16-rc1dancer-ga6df590d-dirty #1 Wed Feb 1 18:36:00 JST 
  2006 x86_64 GNU/Linux
 

 
 Are you referring to bugzilla 5895 ? I just closed that ticket.
 
 http://linuxtv.org/hg/v4l-dvb?cmd=changeset;node=dc3ce5a86001;style=gitweb

That sounds like a different module; I'm using 'bttv' module.


I've tried 

rmmod bttv
rmmod tuner
rmmod compat_ioctl32
rmmod v4l2-common
rmmod tveeprom
rmmod videodev
rmmod ir-common

insmod v4l2-common.ko
insmod tveeprom.ko
insmod videodev.ko
insmod compat_ioctl32.ko
insmod tuner.ko
insmod ir-common.ko
insmod bttv.ko


on

$ hg log|head
changeset:   3295:02699cfc26d5
tag: tip
user:Manu Abraham [EMAIL PROTECTED]
date:Thu Feb  2 07:59:47 2006 +0400
summary: bugfix [5895], return an error value

and I can reproduce the situation.


The current situation being that no images come through mencoder,
which probably means it's not
1. tuning the tuner (If there has been a i2c breakage, sounds possible)
2. getting the images
or both.

I am able to see TV through xawtv, and I am assuming that means it's
working with v4l1 compatibility layer of some sort.


regards,
junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project


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



Re: [a-users] Re: ITP: fmit -- free music instrument tuner

2006-01-31 Thread Junichi Uekawa
Hi,

   JU Hi,
   JU I'm trying to debug why 'fmit' is so unstable on my unstable amd64
   JU box.  Backtrace is looking suspiciously too qt to be application
   JU specific.  Anyone seen this kind of backtrace recently? At first sight
   JU it looks like some allocator bug.
 
 Hi Junichi,
 
 sorry for the little delay. I've  tested the package  both on i386 and
 amd64: the with first fmit runs fine, while  with the latter I get the
 same misbehaviour you report.
 
 However the package seems to be functional as well.

I'll try to track down the problem, which probably is on amd64 Qt
side, which I suspect might take some time.

For the timebeing, feel free to push me any other package.


regards,
junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project


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



Re: [a-users] Re: ITP: fmit -- free music instrument tuner

2006-01-27 Thread Junichi Uekawa
Hi,

I'm trying to debug why 'fmit' is so unstable on my unstable amd64
box.  Backtrace is looking suspiciously too qt to be application
specific.  Anyone seen this kind of backtrace recently? At first sight
it looks like some allocator bug.


[21:53:00]dancer64:trunk gdb /usr/bin/fmit
GNU gdb 6.4-debian
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as x86_64-linux-gnu...Using host libthread_db library 
/lib/libthread_db.so.1.

(gdb) run
Starting program: /usr/bin/fmit
[Thread debugging using libthread_db enabled]
[New Thread 47596280818048 (LWP 16294)]
Free Music Instrument Tuner version 0.96.4 built at Jan 27 2006 21:51:28
Install directory '/usr'
Qt: gdb: -nograb added to command-line options.
 Use the -dograb option to enforce grabbing.
CaptureThread: INFO: Built in transports
CaptureThread: INFO:JACK   unavailable
CaptureThread: INFO:ALSA   available
CaptureThread: INFO: Auto detecting a working transport ... using ALSA
CaptureThread: INFO: ALSA: try to set format to Signed 16 bit Little Endian 
success
CaptureThread: WARNING: ALSA: cannot set channel count to one. channels will be 
mixed
CaptureThread: INFO: ALSA: try to set sampling rate to 96000 failed
CaptureThread: INFO: ALSA: try to set sampling rate to 48000 success
[New Thread 1082132832 (LWP 16297)]
CaptureThread: WARNING: ALSA: cannot set channel count to one. channels will be 
mixed
*** glibc detected *** free(): invalid next size (normal): 0x008c66b0 
***

Program received signal SIGABRT, Aborted.
[Switching to Thread 47596280818048 (LWP 16294)]
0x2b49de5fcdf0 in raise () from /lib/libc.so.6
(gdb) bt
#0  0x2b49de5fcdf0 in raise () from /lib/libc.so.6
#1  0x2b49de5fe2a0 in abort () from /lib/libc.so.6
#2  0x2b49de6329ae in __libc_message () from /lib/libc.so.6
#3  0x2b49de63870b in _int_free () from /lib/libc.so.6
#4  0x2b49de6389ee in free () from /lib/libc.so.6
#5  0x2b49de629823 in fclose@@GLIBC_2.2.5 () from /lib/libc.so.6
#6  0x2b49de6a9743 in __nss_database_lookup () from /lib/libc.so.6
#7  0x2b49de6aaa37 in __nss_passwd_lookup () from /lib/libc.so.6
#8  0x2b49de65f4cc in getpwuid_r@@GLIBC_2.2.5 () from /lib/libc.so.6
#9  0x2b49de65ed3f in getpwuid () from /lib/libc.so.6
#10 0x2b49dd9814b9 in QSessionManager::setRestartCommand () from 
/usr/lib/libqt-mt.so.3
#11 0x2b49dd981990 in QSessionManager::setRestartCommand () from 
/usr/lib/libqt-mt.so.3
#12 0x2b49dc8ba43a in _SmcProcessMessage () from /usr/X11R6/lib/libSM.so.6
#13 0x2b49dc9c784d in IceProcessMessages () from /usr/X11R6/lib/libICE.so.6
#14 0x2b49dd97bb9f in QSmSocketReceiver::socketActivated () from 
/usr/lib/libqt-mt.so.3
#15 0x2b49dd97bddc in QSmSocketReceiver::qt_invoke () from 
/usr/lib/libqt-mt.so.3
#16 0x2b49dda613a2 in QObject::activate_signal () from 
/usr/lib/libqt-mt.so.3
#17 0x2b49dda61d8b in QObject::activate_signal () from 
/usr/lib/libqt-mt.so.3
#18 0x2b49dddca052 in QSocketNotifier::activated () from 
/usr/lib/libqt-mt.so.3
#19 0x2b49dda805aa in QSocketNotifier::event () from /usr/lib/libqt-mt.so.3
#20 0x2b49dd9fb000 in QApplication::internalNotify () from 
/usr/lib/libqt-mt.so.3
#21 0x2b49dd9fb264 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#22 0x2b49dd98bc6a in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#23 0x2b49dd9ed711 in QEventLoop::activateSocketNotifiers () from 
/usr/lib/libqt-mt.so.3
#24 0x2b49dd99f45f in QEventLoop::processEvents () from 
/usr/lib/libqt-mt.so.3
#25 0x2b49dda12cde in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#26 0x2b49dda12be7 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#27 0x2b49dd9f9de6 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#28 0x00421435 in main ()


regards,
junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project


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



Re: fakeroot problem on AMD 64

2006-01-27 Thread Junichi Uekawa
Hi,

 I am getting the following error, when I use the fakeroot (version 1.5.6) on
 AMD opteron machine.
 
 error while loading shared libraries: libfakeroot.so.0: cannot open shared
 object file: No shuch file or directory.
 
 Can you please suggest a way out for this problem.

You probably need a bit more context


regards,
junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project


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



Re: [x86_64] bttv: linux 2.6.16-rc1 mplayer fails to record ALSA audio and fails tune TV.

2006-01-19 Thread Junichi Uekawa
Hi,

With 2.6.16-rc1, it's recording no audio, and it's recording
black-and-white noise on video. Wooo, it's getting worse.

$ uname -a
Linux dancer64 2.6.16-rc1dancer-dirty #1 Wed Jan 18 08:11:24 JST 2006 x86_64 
GNU/Linux


From the information that I've gathered so far it seems like:
1. bttv was rewritten to support v4l2
2. record via v4l2 is broken, v4l1 is not (xawtv works, mencoder broken.)
   I've heard mencoder should work with v4l1, but I have not yet confirmed.

bttv-cards.c:

[BTTV_BOARD_GVBCTV5PCI] = {
.name   = IODATA GV-BCTV5/PCI,
.video_inputs   = 3,
.audio_inputs   = 1,
.tuner  = 0,
.svhs   = 2,
.gpiomask   = 0x0f0f80,
.muxsel = {2, 3, 1, 0 },
.audiomux   = {0x03, 0x01, 0, 0, 0x02, 0},
.no_msp34xx = 1,
.pll= PLL_28,
.tuner_type = TUNER_PHILIPS_NTSC_M,
.tuner_addr = ADDR_UNSET,
.radio_addr = ADDR_UNSET,
.audio_hook = gvbctv5pci_audio,
.has_radio  = 1,
},

dmesg gives me an impression that this path is taken properly:
bttv: driver version 0.9.16 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at :03:0b.0, irq: 22, latency: 64, mmio: 0xfdcff000
bttv0: detected: I-O Data Co. GV-BCTV5/PCI [card=81], PCI subsystem ID is 
10fc:d018
bttv0: using: IODATA GV-BCTV5/PCI [card=81,autodetected]
bttv0: gpio: en=, out= in=00f6f0f7 [init]
bttv0: using tuner=17
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: i2c: checking for TDA9887 @ 0x86... not found
tuner 0-0061: chip found @ 0xc2 (bt878 #0 [sw])
tuner 0-0061: type set to 17 (Philips NTSC_M (MK2))
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: registered device radio0
bttv0: PLL: 28636363 = 35468950 .. ok


v4l-info is dumped with:

printf(inputs\n);
for (i = 0;; i++) {
memset(input,0,sizeof(input));
input.index = i;
if (-1 == ioctl(fd,VIDIOC_ENUMINPUT,input))
break;
printf(VIDIOC_ENUMINPUT(%d)\n,i);
print_struct(stdout,desc_v4l2_input,input,,tab);
}
printf(\n);


which is probably handled in 
bttv-driver.c:static int bttv_common_ioctls(struct bttv *btv, unsigned int cmd, 
void *arg)

which unconditionally sets:
i-audioset = 0;



 last successful one was 2.6.14-rc5.
 
 
 I've noticed that there is a v4l-info command, which dumps v4l2
 information, and it seems to signify that v4l2 is giving a different
 answer.
 
 The following is a diff, which seems to signify that this difference
 exists in the two versions:
 
 - audioset: 1
 + audioset: 0
 


regards,
junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project



Re: [x86_64] linux 2.6.15-rc6 mplayer fails to record ALSA audio.

2006-01-13 Thread Junichi Uekawa
Hi,

With recent git tree I'm still experiencing the same problem that
audio isn't captured with mencoder.

$ uname -a 
Linux dancer64 2.6.15dancer-ga4fc7ab1-dirty #1 Thu Jan 12 08:32:49 JST 2006 
x86_64 GNU/Linux

last successful one was 2.6.14-rc5.


I've noticed that there is a v4l-info command, which dumps v4l2
information, and it seems to signify that v4l2 is giving a different
answer.

The following is a diff, which seems to signify that this difference
exists in the two versions:

-   audioset: 1
+   audioset: 0

What caused this change and how to revert is a mystery, yet.



$ diff -u 261[45]/v4l-info
--- 2614/v4l-info   2006-01-14 16:22:58.0 +0900
+++ 2615/v4l-info   2006-01-14 16:19:00.0 +0900
@@ -25,7 +25,7 @@
framelines  : 525
 VIDIOC_ENUMSTD(2)
index   : 2
-   id  : 0x7f 
[SECAM_B,SECAM_D,SECAM_G,SECAM_H,SECAM_K,SECAM_K1,SECAM_L]
+   id  : 0xff 
[SECAM_B,SECAM_D,SECAM_G,SECAM_H,SECAM_K,SECAM_K1,SECAM_L,?ATSC_8_VSB]
name: SECAM
frameperiod.numerator   : 1
frameperiod.denominator : 25
@@ -71,25 +71,25 @@
index   : 0
name: Television
type: TUNER
-   audioset: 1
+   audioset: 0
tuner   : 0
-   std : 0x7f3fff 
[PAL_B,PAL_B1,PAL_G,PAL_H,PAL_I,PAL_D,PAL_D1,PAL_K,PAL_M,PAL_N,PAL_Nc,PAL_60,NTSC_M,NTSC_M_JP,SECAM_B,SECAM_D,SECAM_G,SECAM_H,SECAM_K,SECAM_K1,SECAM_L]
+   std : 0xff3fff 
[PAL_B,PAL_B1,PAL_G,PAL_H,PAL_I,PAL_D,PAL_D1,PAL_K,PAL_M,PAL_N,PAL_Nc,PAL_60,NTSC_M,NTSC_M_JP,SECAM_B,SECAM_D,SECAM_G,SECAM_H,SECAM_K,SECAM_K1,SECAM_L,?ATSC_8_VSB]
status  : 0x100 [NO_H_LOCK]
 VIDIOC_ENUMINPUT(1)
index   : 1
name: Composite1
type: CAMERA
-   audioset: 1
+   audioset: 0
tuner   : 0
-   std : 0x7f3fff 
[PAL_B,PAL_B1,PAL_G,PAL_H,PAL_I,PAL_D,PAL_D1,PAL_K,PAL_M,PAL_N,PAL_Nc,PAL_60,NTSC_M,NTSC_M_JP,SECAM_B,SECAM_D,SECAM_G,SECAM_H,SECAM_K,SECAM_K1,SECAM_L]
+   std : 0xff3fff 
[PAL_B,PAL_B1,PAL_G,PAL_H,PAL_I,PAL_D,PAL_D1,PAL_K,PAL_M,PAL_N,PAL_Nc,PAL_60,NTSC_M,NTSC_M_JP,SECAM_B,SECAM_D,SECAM_G,SECAM_H,SECAM_K,SECAM_K1,SECAM_L,?ATSC_8_VSB]
status  : 0x0 []
 VIDIOC_ENUMINPUT(2)
index   : 2
name: S-Video
type: CAMERA
-   audioset: 1
+   audioset: 0
tuner   : 0
-   std : 0x7f3fff 
[PAL_B,PAL_B1,PAL_G,PAL_H,PAL_I,PAL_D,PAL_D1,PAL_K,PAL_M,PAL_N,PAL_Nc,PAL_60,NTSC_M,NTSC_M_JP,SECAM_B,SECAM_D,SECAM_G,SECAM_H,SECAM_K,SECAM_K1,SECAM_L]
+   std : 0xff3fff 
[PAL_B,PAL_B1,PAL_G,PAL_H,PAL_I,PAL_D,PAL_D1,PAL_K,PAL_M,PAL_N,PAL_Nc,PAL_60,NTSC_M,NTSC_M_JP,SECAM_B,SECAM_D,SECAM_G,SECAM_H,SECAM_K,SECAM_K1,SECAM_L,?ATSC_8_VSB]
status  : 0x0 []
 
 tuners
@@ -98,8 +98,8 @@
name: Television
type: ANALOG_TV
capability  : 0x2 [NORM]
-   rangelow: 0
-   rangehigh   : 4294967295
+   rangelow: 704
+   rangehigh   : 15328
rxsubchans  : 0x1 [MONO]
audmode : MONO
signal  : 0
@@ -332,11 +332,11 @@
 VIDIOC_G_FMT(VBI_CAPTURE)
type: VBI_CAPTURE
fmt.vbi.sampling_rate   : 35468950
-   fmt.vbi.offset  : 244
+   fmt.vbi.offset  : 128
fmt.vbi.samples_per_line: 2048
fmt.vbi.sample_format   : 0x59455247 [GREY]
fmt.vbi.start[0]: 7
-   fmt.vbi.start[1]: 319
+   fmt.vbi.start[1]: 320
fmt.vbi.count[0]: 16
fmt.vbi.count[1]: 16
fmt.vbi.flags   : 0



full output of v4l-info:
### v4l2 device info [/dev/video0] ###
general info
VIDIOC_QUERYCAP
driver  : bttv
card: BT878 video (IODATA GV-BCTV5/PC
bus_info: PCI::03:0b.0
version : 0.9.16
capabilities: 0x5010015 
[VIDEO_CAPTURE,VIDEO_OVERLAY,VBI_CAPTURE,TUNER,READWRITE,STREAMING]

standards
VIDIOC_ENUMSTD(0)
index   : 0
id  : 0xff 
[PAL_B,PAL_B1,PAL_G,PAL_H,PAL_I,PAL_D,PAL_D1,PAL_K]
name: PAL
frameperiod.numerator   : 1
frameperiod.denominator : 25
framelines  

[x86_64] linux 2.6.15-rc6 mplayer fails to record ALSA audio.

2005-12-19 Thread Junichi Uekawa
Hi,


With today's git tree I'm still experiencing the same problem that audio isn't 
captured with mencoder.

Linux dancer64 2.6.15-rc6dancer-gdf7addbb #1 Mon Dec 19 23:18:41 JST 2005 
x86_64 GNU/Linux

successful recording is done with 2.6.14-rc5, failure case is done
with 2.6.15-rc6, I'm suspecting that v4l is giving some wrong ideas
about audio information to mencoder.


MEncoder dev-CVS--4.0.2 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon 64 Newcastle,Winchester,San Diego,Venice; 
Sempron Palermo (Family: 15, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

success: format: 9  data: 0x0 - 0x0
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski [EMAIL PROTECTED]
 comment: first try, more to come ;-)
Selected device: BT878 video (IODATA GV-BCTV5/PC
 Tuner cap:
 Tuner rxs: MONO
 Capabilites:  video capture  video overlay  VBI capture device  tuner  
read/write  streaming
 supported norms: 0 = PAL; 1 = NTSC; 2 = SECAM; 3 = PAL-Nc; 4 = PAL-M; 5 = 
PAL-N; 6 = NTSC-JP; 7 = PAL-60;
 inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
 Current input: 0
 Current format: YUYV
v4l2: current audio mode is : STEREO
Selected channel: 12 (freq: 217.250)
[V] filefmt:9  fourcc:0x30323449  size:320x240  fps:29.97  ftime:=0.0334
==
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000-192000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.00, round: 1
==
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 320 x 240 (preferred colorspace: Planar I420)
VDec: using Planar I420 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (320x240 fourcc=34504d46 [FMP4])
High quality encoding selected (non real time)!
Selected video codec: [rawi420] vfm: raw (RAW I420)
==
Building audio filter chain for 48000Hz/2ch/s16le - 0Hz/0ch/??...
MP3 audio selected
Building audio filter chain for 48000Hz/2ch/s16le - 48000Hz/2ch/s16le...
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp 
header.
Forcing audio preload to 0, max pts correction to 0
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
ODML: Aspect information not (yet?) available or unspecified, not writing vprp 
header.
MEncoder dev-CVS--4.0.2 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon 64 Newcastle,Winchester,San Diego,Venice; 
Sempron Palermo (Family: 15, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

success: format: 9  data: 0x0 - 0x0
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski [EMAIL PROTECTED]
 comment: first try, more to come ;-)
Selected device: BT878 video (IODATA GV-BCTV5/PC
 Tuner cap:
 Tuner rxs: MONO
 Capabilites:  video capture  video overlay  VBI capture device  tuner  
read/write  streaming
 supported norms: 0 = PAL; 1 = NTSC; 2 = SECAM; 3 = PAL-Nc; 4 = PAL-M; 5 = 
PAL-N; 6 = NTSC-JP; 7 = PAL-60;
 inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
 Current input: 0
 Current format: YUV420
v4l2: current audio mode is : STEREO
Selected channel: 12 (freq: 217.250)
[V] filefmt:9  fourcc:0x30323449  size:320x240  fps:29.97  ftime:=0.0334
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.00, round: 1
==
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 320 x 240 (preferred colorspace: Planar I420)
VDec: using Planar I420 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (320x240 fourcc=34504d46 [FMP4])
High quality encoding selected (non real time)!
Selected video codec: [rawi420] vfm: raw (RAW I420)
==
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp 
header.
Forcing audio preload to 0, max pts correction to 0
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
ODML: Aspect information not (yet?) available or unspecified, not writing vprp 
header.



 The 

Re: [x86_64] 2.6.14-git13 mplayer fails with v4l2: ioctl queue buffer failed: Bad address (2 Nov 2005, 11 Nov 2005)

2005-11-30 Thread Junichi Uekawa
Hi,

 Does that not work for you?  It's not the full solution to all the
 issues, but I'd expect it to be enough to get you going.  If it does
 not work for you, then I need to understand why not in a hurry:
 please let me know either way.
 
 I'm at last getting near with my patches, hope to post later tonight
 (but everything always takes me longer than I expect).

I am assuming that the following patch went in as a fix for this
problem. I have tested linus' tree as of today, and bttv works fine 
on x86_64, problem solved.
Thanks!

commit ed5297a94090d9a9f27b0ce1f9601ebe73561cff
tree 00d28144ae949b3f9d566279cb12be0c802f86e6
parent aa1a64ee12ae130706f3fc0007841ce9b0ddf9c2
author Hugh Dickins [EMAIL PROTECTED]
committer Linus Torvalds [EMAIL PROTECTED]
[PATCH] unpaged: get_user_pages VM_RESERVED


regards,
junichi

-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project


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



Re: [x86_64] 2.6.14-git13 mplayer fails with v4l2: ioctl queue buffer failed: Bad address (2 Nov 2005, 11 Nov 2005)

2005-11-16 Thread Junichi Uekawa
Hi,


Verified that with the following patch, I can run mencoder fine.
$ uname -a 
Linux dancer64 2.6.15-rc1dancer-gf6ff56cd #1 Thu Nov 17 08:18:33 JST 2005 
x86_64 GNU/Linux

Applied upon linus' git from yesterday:
commit f6ff56cd56b83d8edf4b3cffc5c53c56b37a5081
tree 0ec4807d49a602ba785e60e5352b542f1581d4c9
parent fb6d73d3014babb69f5cc2d1d78b31e9d09fc5df
parent 5a6f294e43e432bd207a702fea49ebb303ef9b23
author Linus Torvalds [EMAIL PROTECTED] Tue Nov 15 16:59:38 UTC 2005
committer Linus Torvalds [EMAIL PROTECTED] Tue Nov 15 16:59:38 UTC 2005

Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6



 
 We have even found the hack that fix that problem:
 
 Index: linux/drivers/media/video/video-buf.c
 ===
 RCS file: /cvs/video4linux/v4l-kernel/linux/drivers/media/video/video-buf.c,v
 retrieving revision 1.21
 diff -u -p -r1.21 video-buf.c
 --- linux/drivers/media/video/video-buf.c   16 Oct 2005 12:13:58 -
 +++ linux/drivers/media/video/video-buf.c   12 Nov 2005 22:19:13 -
 @@ -1248,7 +1248,7 @@ int videobuf_mmap_mapper(struct videobuf
 map-end  = vma-vm_end;
 map-q= q;
 vma-vm_ops   = videobuf_vm_ops;
 -   vma-vm_flags |= VM_DONTEXPAND | VM_RESERVED;
 +   vma-vm_flags |= VM_DONTEXPAND;
 vma-vm_flags = ~VM_IO; /* using shared anonymous pages */
 vma-vm_private_data = map;
 dprintk(1,mmap %p: q=%p %08lx-%08lx pgoff %08lx bufs %d-%d\n,
 
 Somehow since 2.6.15-rc1 VM_RESERVED makes get_user_pages return EFAULT. I 
 don't know the exact reason of
 that behavior and the correct way to fix that problem. Just kernel interfaces 
 changed once again, the old
 point everyone knows. So if someone can explain it, that would be helpful.
 



regards,
junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project


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



Re: [x86_64] 2.6.14-git13 mplayer fails with v4l2: ioctl queue buffer failed: Bad address (2 Nov 2005, 11 Nov 2005)

2005-11-12 Thread Junichi Uekawa
Hi,

 This EFAULT rejection is due to change in  get_user_pages()  function
 in mm/memory.c  file of  2.6.14-git2
 
 
 @@ -945,8 +947,8 @@ int get_user_pages(struct task_struct *t
 continue;
 }
  
 -   if (!vma || (vma-vm_flags  VM_IO)
 -   || !(flags  vma-vm_flags))
 +   if (!vma || (vma-vm_flags  (VM_IO | VM_RESERVED))
 +   || !(vm_flags  vma-vm_flags))
 return i ? : -EFAULT;
  
 if (is_vm_hugetlb_page(vma)) {
 
 
 I don't know how to use git tools to see, whose patch actually
 did this particular change.

To quote:
MAP_PRIVATE, PROT_WRITE of VM_RESERVED regions is tentatively being
deprecated.  We never completely handled it correctly anyway, and is be
reintroduced in future if required (Hugh has a proof of concept).





diff-tree b5810039a54e5babf428e9a1e89fc1940fabff11 (from 
f9c98d0287de42221c62448Author: Nick Piggin [EMAIL PROTECTED]
Date:   Sat Oct 29 18:16:12 2005 -0700

[PATCH] core remove PageReserved

Remove PageReserved() calls from core code by tightening VM_RESERVED
handling in mm/ to cover PageReserved functionality.

PageReserved special casing is removed from get_page and put_page.

All setting and clearing of PageReserved is retained, and it is now flagged
in the page_alloc checks to help ensure we don't introduce any refcount
based freeing of Reserved pages.

MAP_PRIVATE, PROT_WRITE of VM_RESERVED regions is tentatively being
deprecated.  We never completely handled it correctly anyway, and is be
reintroduced in future if required (Hugh has a proof of concept).

Once PageReserved() calls are removed from kernel/power/swsusp.c, and all
arch/ and driver code, the Set and Clear calls, and the PG_reserved bit can
be trivially removed.

Last real user of PageReserved is swsusp, which uses PageReserved to
determine whether a struct page points to valid memory or not.  This still
needs to be addressed (a generic page_is_ram() should work).

A last caveat: the ZERO_PAGE is now refcounted and managed with rmap (and
thus mapcounted and count towards shared rss).  These writes to the struct
page could cause excessive cacheline bouncing on big systems.  There are a
number of ways this could be addressed if it is an issue.

Signed-off-by: Nick Piggin [EMAIL PROTECTED]

Refcount bug fix for filemap_xip.c

Signed-off-by: Carsten Otte [EMAIL PROTECTED]
Signed-off-by: Andrew Morton [EMAIL PROTECTED]
Signed-off-by: Linus Torvalds [EMAIL PROTECTED]



I think the relevant changes (snipped out) are:

diff --git a/include/linux/mm.h b/include/linux/mm.h
index 0c64484..da42093 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -157,7 +157,7 @@ extern unsigned int kobjsize(const void

 #define VM_DONTCOPY0x0002  /* Do not copy this vma on fork */
 #define VM_DONTEXPAND  0x0004  /* Cannot expand with mremap() */
-#define VM_RESERVED0x0008  /* Don't unmap it from swap_out */
+#define VM_RESERVED0x0008  /* Pages managed in a special way */
 #define VM_ACCOUNT 0x0010  /* Is a VM accounted object */
 #define VM_HUGETLB 0x0040  /* Huge TLB Page VM */
 #define VM_NONLINEAR   0x0080  /* Is non-linear (remap_file_pages) */

diff --git a/mm/memory.c b/mm/memory.c
index da642b5..e83f944 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -967,7 +992,7 @@ int get_user_pages(struct task_struct *t
continue;
}

-   if (!vma || (vma-vm_flags  VM_IO)
+   if (!vma || (vma-vm_flags  (VM_IO | VM_RESERVED))
|| !(flags  vma-vm_flags))
return i ? : -EFAULT;



regards,
junichi


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



Re: [x86_64] 2.6.14-git13 mplayer fails with v4l2: ioctl queue buffer failed: Bad address (2 Nov 2005, 11 Nov 2005)

2005-11-11 Thread Junichi Uekawa
Hi,

 $ mplayer  tv://1 -tv driver=v4l2
 MPlayer dev-CVS--4.0.2 (C) 2000-2005 MPlayer Team
 CPU: Advanced Micro Devices Athlon 64 Newcastle,Winchester,San 
 Diego,Venice; Sempron Palermo (Family: 15, Stepping: 0)
 Detected cache-line size is 64 bytes
 CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
 
 bttv currently only supports v4l1.  We are still in the process of 
 porting the bttv driver from v4l1 to v4l2. Nickolay is working on it.
 
 Thanks for the info. It's strange since this is a regression
 (pre 2.6.14 used to work. New code made it fail).
 Do you mean there was a change that broke v4l2 support in bttv ?
 Ever since Linux Kernel 2.6.3, I used v4l2 for recording (more
 than one and a half years...)
   
 
 v4l2 support could not have been broken, since it was never present.  
 You were going through a compat layer Maybe that's where the 
 regression is.

 One question -- At exactly what point does this break for you?  The git 
 commit key above was from today, but at what point did this LAST work 
 for you?  It would be really helpful if you can do a git bisection test, 
 so that we can isolate the trouble patch if in fact it is a regression.

df70b17f88a4d1d8545d3569a1f6d28c6004f9e4 2 Nov 2005 Nonfunctional bttv
d83c671fb7023f69a9582e622d01525054f23b66 1 Nov 2005 (fails to boot due to USB 
issues)
6e9d6b8ee4e0c37d3952256e6472c57490d6780d 27 Oct 2005 Functional bttv

 
 You might also like to join us in #v4l on irc.freenode.net ... Sometimes 
 it's much quicker to troubleshoot this stuff over irc instead of email.


joined, but currently rebooting sporadically to test 
different kernels.


regards,
junichi


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



Re: [x86_64] 2.6.14-git13 mplayer fails with v4l2: ioctl queue buffer failed: Bad address (2 Nov 2005, 11 Nov 2005)

2005-11-11 Thread Junichi Uekawa
Hi,

  One question -- At exactly what point does this break for you?  The git 
  commit key above was from today, but at what point did this LAST work 
  for you?  It would be really helpful if you can do a git bisection test, 
  so that we can isolate the trouble patch if in fact it is a regression.
 
 df70b17f88a4d1d8545d3569a1f6d28c6004f9e4 2 Nov 2005 Nonfunctional bttv
 d83c671fb7023f69a9582e622d01525054f23b66 1 Nov 2005 (fails to boot due to USB 
 issues)
 6e9d6b8ee4e0c37d3952256e6472c57490d6780d 27 Oct 2005 Functional bttv

That was wrong; I re-tested it and it looks like
6e9d6b8ee4e0c37d3952256e6472c57490d6780d was a bad one.
2.6.14 (741b2252a5e14d6c60a913c77a6099abe73a854a) is functional.

$ git-bisect start
$ git-bisect bad 6e9d6b8ee4e0c37d3952256e6472c57490d6780d
$ git-bisect good 741b2252a5e14d6c60a913c77a6099abe73a854a
Bisecting: 721 revisions left to test after this



regards,
junichi


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



Re: [x86_64] 2.6.14-git13 mplayer fails with v4l2: ioctl queue buffer failed: Bad address (2 Nov 2005, 11 Nov 2005)

2005-11-11 Thread Junichi Uekawa
Hi,

 That was wrong; I re-tested it and it looks like
 6e9d6b8ee4e0c37d3952256e6472c57490d6780d was a bad one.
 2.6.14 (741b2252a5e14d6c60a913c77a6099abe73a854a) is functional.
 
 $ git-bisect start
 $ git-bisect bad 6e9d6b8ee4e0c37d3952256e6472c57490d6780d
 $ git-bisect good 741b2252a5e14d6c60a913c77a6099abe73a854a
 Bisecting: 721 revisions left to test after this

After that I tried:
$ git-bisect bad
Bisecting: 1966 revisions left to test after this
[23fd07750a789a66fe88cf173d52a18f1a387da4] Merge ../linux-2.6 by hand

I'm not quite sure why the following happened.
6e9d6b8ee4e0c37d3952256e6472c57490d6780d 30 Oct is broken
741b2252a5e14d6c60a913c77a6099abe73a854a 27 Oct is functional
6e6ece5dc6022e8086c565498d23511bbceda811 10 Nov is broken 
23fd07750a789a66fe88cf173d52a18f1a387da4 31 Oct -- does not boot due to USB/PCI 
quirks

Maybe I'm doing something wrong.



$ git-bisect log
git-bisect start
# bad: [6e9d6b8ee4e0c37d3952256e6472c57490d6780d] Merge branch 'upstream-linus' 
of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev
git-bisect bad 6e9d6b8ee4e0c37d3952256e6472c57490d6780d
# good: [741b2252a5e14d6c60a913c77a6099abe73a854a] Linux v2.6.14
git-bisect good 741b2252a5e14d6c60a913c77a6099abe73a854a
# bad: [6e6ece5dc6022e8086c565498d23511bbceda811] PCI: fix for Toshiba ohci1394 
quirk
git-bisect bad 6e6ece5dc6022e8086c565498d23511bbceda811



regards,
junichi


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



Re: flash on mozilla

2005-11-03 Thread Junichi Uekawa
Hi,

  If you find a page that libflash-mozplugin cannot display,
  please report the URL.
  
  That way we may be able to get a better GPL flash plugin 
  rather than having to rely on 32-bit proprietary code.
  
  I'm doing fine with libflash-mozplugin, so 
  your mileage may vary.
 
 You could also wait (years?) for multiarch support.

Multiarch doesn't help here, since it will not allow you 
to load 32-bit plugin from 64-bit mozilla.

regards,
junichi


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



Re: flash on mozilla

2005-11-03 Thread Junichi Uekawa
Hi,

   Has anybody achieved flash on mozilla, firefox or epiphany ?
   I looked for flash-plugin on amd64 but had no success.
   I installed flash-player probing. Announces of flash-plugin needed
   disappeared but now I only get one-color-square in place of flash-spot.
   All suggestions welcomed.
   Thanks.
 
  If you find a page that libflash-mozplugin cannot display,
  please report the URL.
 
 http://www.cinepolis.com.mx
 
 seems to me that cannot display, please confirm

Invoking 'mozilla-firefox -g ' I get a crash:

Write
WriteReady
Write
DestroyStream
DestroyStream
[New Thread 1107310944 (LWP 6810)]
[New Thread 1124096352 (LWP 6811)]
[Thread 1124096352 (LWP 6811) exited]
[Thread 1107310944 (LWP 6810) exited]
Destroy
Destroy
Destroy
The program 'Gecko' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadShmSeg (invalid shared segment parameter)'.
  (Details: serial 296 error_code 157 request_code 145 minor_code 2)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Program exited with code 01.


regards,
junichi


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



Re: flash on mozilla

2005-11-02 Thread Junichi Uekawa

Hi,

 Has anybody achieved flash on mozilla, firefox or epiphany ?
 I looked for flash-plugin on amd64 but had no success.
 I installed flash-player probing. Announces of flash-plugin needed
 disappeared but now I only get one-color-square in place of flash-spot.
 All suggestions welcomed.
 Thanks.

If you find a page that libflash-mozplugin cannot display,
please report the URL.

That way we may be able to get a better GPL flash plugin 
rather than having to rely on 32-bit proprietary code.

I'm doing fine with libflash-mozplugin, so 
your mileage may vary.


regards,
junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project


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



user-mode-linux on Debian sid AMD64

2005-10-11 Thread Junichi Uekawa
Hi,

Okay, I've tried running user-mode-linux on AMD64.
I've been away from using user-mode-linux for a year,
and trying to catch up with what's been happening.
I might be doing something totally off (as I've not yet 
caught up with skas0 and stuff).

Anyway, this is what I've done so far.



Host kernel is Linus's git tree as of yesterday:

Linux dancer64 2.6.14-rc3dancer-gdd0fc66f #1 Mon Oct 10 12:25:11 JST 2005 
x86_64 GNU/Linux



I've built the guest kernel in the following manner, and
selected TT-mode only, with SKAS disabled.

$ make-kpkg clean
$ make mrproper ARCH=um
$ make menuconfig ARCH=um
$ make-kpkg --rootcmd=fakeroot --arch=um --revision Custom.1.5.um kernel_image
$ sudo dpkg -i ../kernel-um*.deb

The following patch is applied, to make the thing compile.

diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c
--- a/arch/um/kernel/um_arch.c
+++ b/arch/um/kernel/um_arch.c
@@ -334,8 +334,10 @@ int linux_main(int argc, char **argv)
add_arg(DEFAULT_COMMAND_LINE);

os_early_checks();
+#ifdef CONFIG_MODE_SKAS
if (force_tt)
clear_can_do_skas();
+#endif
mode_tt = force_tt ? 1 : !can_do_skas();
 #ifndef CONFIG_MODE_TT
if (mode_tt) {


Then running the result seems to give me an instant oops.

$ linux-2.6.14-rc4 root=/dev/root rootflags=/ rootfstype=hostfs init=/bin/sh 
con=pty con0=fd:0,fd:1
Checking PROT_EXEC mmap in /tmp...OK
UML running in TT mode
tracing thread pid = 22025
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...missing
Linux version 2.6.14-rc4-g907a4261 ([EMAIL PROTECTED]) (gcc version 4.0.2 
(Debian 4.0.2-2)) #1 Tue Oct 11 17:27:50 JST 2005
Built 1 zonelists
Kernel command line: root=/dev/root rootflags=/ rootfstype=hostfs init=/bin/sh 
con=pty con0=fd:0,fd:1
PID hash table entries: 256 (order: 8, 8192 bytes)
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
Memory: 27300k available
Mount-cache hash table entries: 256
Checking that host ptys support output SIGIO...Yes
Checking that host ptys support SIGIO on close...No, enabling workaround
Checking for /dev/anon on the host...Not available (open failed with errno 2)
softlockup thread 0 started up.
Disabling 2.6 AIO in tt mode
2.6 host AIO support not used - falling back to I/O thread
NET: Registered protocol family 16
mconsole (version 2) initialized on /home/dancer/.uml/MVMAge/mconsole
UML Audio Relay (host dsp = /dev/sound/dsp, host mixer = /dev/sound/mixer)
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
loop: loaded (max 8 devices)
nbd: registered device at major 43
PPP generic driver version 2.4.2
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky [EMAIL PROTECTED]
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Initialized stdio console driver
Console initialized on /dev/tty0
Initializing software serial port version 1
Failed to open 'root_fs', errno = 2
VFS: Mounted root (hostfs filesystem) readonly.
Kernel panic - not syncing: Kernel mode fault at addr 0x0, ip 0x0

Pid: 1, comm: sh Not tainted 2.6.14-rc4-g907a4261
RIP: c000:[]
RSP: 6044fc30  EFLAGS: 00010202
RAX: 0001 RBX:  RCX: 601a0e0a
RDX: 600326ae RSI: 0001 RDI: 6044fb00
RBP:  R08:  R09: 
R10: 0008 R11: 0246 R12: 
R13:  R14: 000a R15: 0009
Call Trace:
6044f6f8:  [60015cdf] panic_exit+0x2f/0x50
6044f718:  [6004801b] notifier_call_chain+0x2b/0x50
6044f748:  [60038354] panic+0xe4/0x180
6044f788:  [601a0e0a] __sigprocmask+0x4a/0xb0
6044f7b8:  [601186d7] __up_read+0x77/0xa0
6044f7d8:  [60014e22] handle_page_fault+0xb2/0x2c0
6044f838:  [600151fa] segv+0x1ca/0x2d0
6044f8b8:  [60012f31] change_signals+0x51/0x80
6044f928:  [6001559e] segv_handler+0x9e/0xb0
6044f968:  [60018aaa] sig_handler_common_tt+0xfa/0x1a0
6044f9d8:  [60032810] sig_handler+0x10/0x20
6044f9e8:  [601a0b90] __restore_rt+0x0/0x10
6044fa78:  [600326ae] run_kernel_thread+0x2e/0x50
6044fa88:  [601a0e0a] __sigprocmask+0x4a/0xb0
6044fae8:  [600326c1] run_kernel_thread+0x41/0x50
6044faf8:  [6000e1a0] init+0x0/0x140
6044fb38:  [600326ae] run_kernel_thread+0x2e/0x50
6044fbe8:  [60017033] new_thread_handler+0x113/0x130
6044fcd8:  

Re: UML, TLS, and Debian AMD64

2005-10-04 Thread Junichi Uekawa
Hi,

  I'm not quite sure how you can work around it without
  going through rebuilding glibc.
 
 I'm willing to jump through some hoops.  I've done `apt-get source glibc`. 
 Any 
 tips on how to disable TLS / NPTL and compile a new package would be most 
 appreciated!


see debian/sysdeps/amd64.mk,
replace nptl with linuxthreads, 
and go through the hoops, as you described.

I think you are mostly on your own from here.

Good luck.


regards,
junichi


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



Re: UML, TLS, and Debian AMD64

2005-10-03 Thread Junichi Uekawa

Hi,


 These appear to be the symptoms of running UML with TLS enabled, which is not 
 supported.  The traditional fix is to move /lib/tls out of the way.  However, 
 that directory does not appear to be present in Debian AMD64.
 
 Is TLS on, even without this directory?  If so, how can I turn it off?


$ getconf GNU_LIBPTHREAD_VERSION
NPTL 2.3.5

It seems like the default.

I'm not quite sure how you can work around it without 
going through rebuilding glibc.


regards,
junichi



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



Re: hp dx5150 install successful

2005-09-09 Thread Junichi Uekawa
Hi,

 On Thu, Sep 08, 2005 at 08:18:19AM +0900, Junichi Uekawa wrote:
  I've recently bought a hp dx5150, and I am trying to get
  it up and running the amd64 port.
  
  d-i netinst CD with 2.6.12 from http://tinyplanet.ca/~lsorense/amd64
  worked, except for 
  1. it booted in text mode, so I couldn't see anything Japanese, so
had to install in English
 
 Hmm, I wonder if the kernel I used didn't have framebuffer support.  I
 wouldn't have noticed since I do use english. :)  Something to look
 into.

That would be an improvement; it could be due to some
graphic driver issue.
 
  2. did not autodetect sata_sil, I modprobe'd it manually in VT2.
 
 Yes the discover info still needs some updates for auto detection of
 newer devices to work.

That should be fine.

 
  X seems a bit shakey, so I will probably need to explore a bit more.
 
 That's not unusualy with an ATI chip.
 

Debian xorg installation automatically detected it was an ati 
chip, and chose 'ati' driver.
According to other information, I should be able to use 
'radeon' driver with this chipset and that should
work better.


Anyway, thanks for your ISO image; that's gotten me
some starting point.

regards,
junichi


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



hp dx5150 install successful

2005-09-07 Thread Junichi Uekawa
Hi,

I've recently bought a hp dx5150, and I am trying to get
it up and running the amd64 port.

d-i netinst CD with 2.6.12 from http://tinyplanet.ca/~lsorense/amd64
worked, except for 
1. it booted in text mode, so I couldn't see anything Japanese, so
  had to install in English
2. did not autodetect sata_sil, I modprobe'd it manually in VT2.

X seems a bit shakey, so I will probably need to explore a bit more.


regards,
junichi


cpuinfo:
processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 15
model   : 31
model name  : AMD Athlon(tm) 64 Processor 3500+
stepping: 0
cpu MHz : 2193.698
cache size  : 512 KB
fpu : yes
fpu_exception   : yes
cpuid level : 1
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 
3dnow lahf_lm
bogomips: 4308.99
TLB size: 1024 4K pages
clflush size: 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp


lspci:
:00:00.0 Host bridge: ATI Technologies Inc RS480 Host Bridge (rev 01)
:00:01.0 PCI bridge: ATI Technologies Inc: Unknown device 5a3f
:00:05.0 PCI bridge: ATI Technologies Inc: Unknown device 5a37
:00:12.0 IDE interface: ATI Technologies Inc ATI 4379 Serial ATA Controller
:00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller
:00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller
:00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller
:00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 10)
:00:14.1 IDE interface: ATI Technologies Inc Standard Dual Channel PCI IDE 
Controller ATI
:00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge
:00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge
:00:14.5 Multimedia audio controller: ATI Technologies Inc IXP SB400 AC'97 
Audio Controller (rev 01)
:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
HyperTransport Technology Configuration
:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
Address Map
:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
DRAM Controller
:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
Miscellaneous Control
:01:05.0 VGA compatible controller: ATI Technologies Inc RS480 [Radeon 
Xpress 200G Series]
:01:05.1 Display controller: ATI Technologies Inc: Unknown device 5854
:02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751 
Gigabit Ethernet PCI Express (rev 20)

lspci-n:
:00:00.0 0600: 1002:5950 (rev 01)
:00:01.0 0604: 1002:5a3f
:00:05.0 0604: 1002:5a37
:00:12.0 0101: 1002:4379
:00:13.0 0c03: 1002:4374
:00:13.1 0c03: 1002:4375
:00:13.2 0c03: 1002:4373
:00:14.0 0c05: 1002:4372 (rev 10)
:00:14.1 0101: 1002:4376
:00:14.3 0601: 1002:4377
:00:14.4 0604: 1002:4371
:00:14.5 0401: 1002:4370 (rev 01)
:00:18.0 0600: 1022:1100
:00:18.1 0600: 1022:1101
:00:18.2 0600: 1022:1102
:00:18.3 0600: 1022:1103
:01:05.0 0300: 1002:5954
:01:05.1 0380: 1002:5854
:02:00.0 0200: 14e4:1677 (rev 20)

meminfo:
MemTotal:   961684 kB
MemFree:843340 kB
Buffers: 22940 kB
Cached:  63176 kB
SwapCached:  0 kB
Active:  61920 kB
Inactive:36120 kB
HighTotal:   0 kB
HighFree:0 kB
LowTotal:   961684 kB
LowFree:843340 kB
SwapTotal: 2811332 kB
SwapFree:  2811332 kB
Dirty: 192 kB
Writeback:   0 kB
Mapped:  17048 kB
Slab:12120 kB
CommitLimit:   3292172 kB
Committed_AS:26408 kB
PageTables:840 kB
VmallocTotal: 34359738367 kB
VmallocUsed:  1624 kB
VmallocChunk: 34359736723 kB


dmesg:
Bootdata ok (command line is root=/dev/sda1 ro )
Linux version 2.6.12-1-amd64-generic ([EMAIL PROTECTED]) (gcc version 4.0.2 
20050806 (prerelease) (Debian 4.0.1-4)) #1 Thu Aug 18 02:39:46 CEST 2005
BIOS-provided physical RAM map:
 BIOS-e820:  - 0009f800 (usable)
 BIOS-e820: 0009f800 - 000a (reserved)
 BIOS-e820: 000f - 0010 (reserved)
 BIOS-e820: 0010 - 3bef (usable)
 BIOS-e820: 3bef - 3bef3000 (ACPI NVS)
 BIOS-e820: 3bef3000 - 3bf0 (ACPI data)
 BIOS-e820: e000 - f000 (reserved)
 BIOS-e820: fec0 - fec01000 (reserved)
 BIOS-e820: fee0 - fee01000 (reserved)
 BIOS-e820:  - 0001 (reserved)
ACPI: RSDP (v000 HP) @ 0x000f8600
ACPI: RSDT (v001 HP AWRDACPI 0x42302e31 AWRD 0x) @ 
0x3bef3040
ACPI: FADT (v002 HP AWRDACPI 0x42302e31