[FreeBSD-users-jp 92775] Re: bsdlabel(8) でハングアップする

2010-02-11 スレッド表示 OOTOMO Hiroyuki
大...@元記事です。


From: Hirohito m...@youko-house.ne.jp
Message-ID: 4b717ed8.4060...@youko-house.ne.jp

 私は、ATA/SATA to USB アダプタを、4種類ほど使った経験がありますが、
 挙動や安定性にばらつきがあるように感じます。
 
 アダプタを買い換えてみるか、もしくはアダプタを使わずにディスクを接続して
 試してみてはいかがでしょうか。

設置環境上ケースを開けるのが面倒だったので避けていたのですが,
御指摘に従ってSATA直結で試してみました。


# fdisk /dev/ad4
*** Working on device /dev/ad4 ***
parameters extracted from in-core disklabel are:
cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 1953525105 (953869 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 612/ head 15/ sector 63
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED
# fdisk -BI /dev/ad4
*** Working on device /dev/ad4 ***
fdisk: Geom not found: ad4
# fdisk /dev/ad4
*** Working on device /dev/ad4 ***
parameters extracted from in-core disklabel are:
cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 1953525105 (953869 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 612/ head 15/ sector 63
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED
# cat var/bsdlabel.txt
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  419430404.2BSD 2048 16384 28528 
  b: 16777216  4194304  swap
  c: 1953525105   0unused0 0 # raw part, don't 
edit
  d: 16777216 209715204.2BSD 2048 16384 28528 
  e: 16777216 377487364.2BSD 2048 16384 28528 
  f: 67108864 545259524.2BSD 2048 16384 28528 
  g: 67108864 121634816   4.2BSD 2048 16384 28528 
  h: 1764781425 1887436804.2BSD 2048 16384 28528 
# bsdlabel -w -B /dev/ad4s1
# bsdlabel -R -B /dev/ad4s1 var/bsdlabel.txt
# bsdlabel /dev/ad4s1
# /dev/ad4s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  419430404.2BSD 2048 16384 28528 
  b: 16777216  4194304  swap
  c: 19535251050unused0 0 # raw part, don't 
edit
  d: 16777216 209715204.2BSD 2048 16384 28528 
  e: 16777216 377487364.2BSD 2048 16384 28528 
  f: 67108864 545259524.2BSD 2048 16384 28528 
  g: 67108864 1216348164.2BSD 2048 16384 28528 
  h: 1764781425 1887436804.2BSD 2048 16384 28528 
# newfs -U /dev/ad4s1a
/dev/ad4s1a: 2048.0MB (4194304 sectors) block size 16384, fragment size 2048
using 12 cylinder groups of 183.72MB, 11758 blks, 23552 inodes.
with soft updates
super-block backups (for fsck -b #) at:
 160, 376416, 752672, 1128928, 1505184, 1881440, 2257696, 2633952, 3010208,
 3386464, 3762720, 4138976
# newfs -U /dev/ad4s1d
/dev/ad4s1d: 8192.0MB (16777216 sectors) block size 16384, fragment size 2048
using 45 cylinder groups of 183.72MB, 11758 blks, 23552 inodes.
with soft updates
super-block backups (for fsck -b #) at:
(snip)
# newfs -U /dev/ad4s1e
/dev/ad4s1e: 8192.0MB (16777216 sectors) block size 16384, fragment size 2048
using 45 cylinder groups of 183.72MB, 11758 blks, 23552 inodes.
with soft updates
super-block backups (for fsck -b #) at:
(snip)
# newfs -U /dev/ad4s1f
/dev/ad4s1f: 32768.0MB (67108864 sectors) block size 16384, fragment size 2048
using 179 cylinder groups of 183.72MB, 11758 blks, 23552 inodes.
with soft updates
super-block backups (for fsck -b #) at:
(snip)
# newfs -U /dev/ad4s1g
/dev/ad4s1g: 32768.0MB (67108864 sectors) block size 16384, fragment size 2048
using 179 cylinder groups of 183.72MB, 11758 blks, 23552 inodes.
with soft updates
super-block backups (for fsck -b #) at:
(snip)
# newfs -U /dev/ad4s1h
/dev/ad4s1h: 861709.7MB (1764781424 sectors) block size 16384, fragment size 
2048
using 4691 cylinder groups of 183.72MB, 11758 blks, 23552 inodes.
with soft updates
super-block backups (for fsck -b #) at:
(snip)
# mount -t ufs /dev/ad4s1a /mnt
# df
Filesystem  512-blocks  UsedAvail Capacity  Mounted on
/dev/ad0s1a2025948   1125024   73885260%/
devfs2 20   100%/dev
/dev/ad0s1h  334638772 288049272 1981840094%/home
/dev/ad0s1d

[FreeBSD-users-jp 92776] Re: rxvt が make できない

2010-02-11 スレッド表示 moto kawasaki

メンテナでも何でもありませんが、そのヘッダファイルをコメントアウトすれ
ばコンパイルはできますね。
# これでちゃんと動くのかどうかは確かめていません。

 FreeBSD 8.0-RELEASE amd64 の ports/japanese/rxvt が make できません。
 cc -DHAVE_CONFIG_H -DDEBUG_STRICT -c -I/usr/local/include -DHAVE_LIBXPM 
 -I/usr/local/include -I/usr/local/include/X11  -I. -I.. -I.  -O2 -pipe 
 -fno-strict-aliasing command.c
 In file included from command.c:50:
 command.h:77:43: error: sys/stropts.h: No such file or directory

$ cat files/patch-ao
--- src/command.h.orig  2010-02-12 10:32:35.0 +0900
+++ src/command.h   2010-02-12 10:29:59.0 +0900
@@ -74,7 +74,7 @@
 
 #ifdef PTYS_ARE_PTMX
 # include sys/resource.h /* for struct rlimit */
-# include sys/stropts.h  /* for I_PUSH */
+// # include sys/stropts.h   /* for I_PUSH */
 # define _NEW_TTY_CTRL /* to get proper defines in termios.h */
 #endif


-- 
moto kawasaki m...@kawasaki3.org
 


[FreeBSD-users-jp 92777] Re: xorg.conf で Radeon が設定できない。

2010-02-11 スレッド表示 Takayuki Sakuma
佐久間@富士通です.

 いずれの場合も CTRL+ALT-BS で X を終えることはできませんでした。

ここだけ.
man xorg.confで

   Option DontZap  boolean
  This disallows the use of the Ctrl+Alt+Backspace sequence.  That
  sequence is normally used to terminate the  Xorg  server.   When
  this  option  is enabled (as per default), that key sequence has
  no special meaning.  Default: on.

これは試されていますか?
デフォルトではCtrl-Alt-BSは効きません.

--
  佐久間 敬之 ( Sakuma Takayuki )
富士通株式会社 ネットワークサービス事業本部 プロダクト開発統括部
mail: sakuma.takay...@jp.fujitsu.com


[FreeBSD-users-jp 92778] Re: qt4 関 連の update による virtualbox の文字化けについて

2010-02-11 スレッド表示 たかのゆ〜じ
たかのです。こんにちは。

  もしかしたら、全然はずしているかもしれませんが・・。

From: Takao TAGAMI tahkun-freebsd-us...@milkcup.jpさん
 FreeBSD 8.0-RELEASEにvirtualbox-ose-3.1.2_1をインストールし、問題なく使
 用出来ていたのですが、qt4関連のportsを4.5.xから4.6.xにupdateすると、
 virtualboxのコンソールが文字化けしてしまいます。
 
 qt4関連のパッケージをFreeBSD 8.0-RELEASEがリリースされた際の物に置き換
 える(4.5.xのパッケージをインストールする)と、文字化けせずにvirtualboxの
 コンソールが立ち上がりました。

  私は FreeBSD/{i386|amd64} 7.3-PRERELEASE な環境ですが、
kde4-4.3.5 と qt4-gui-4.6.1 な環境で virtualbox-ose-3.1.2_1 を利
用しています。

  特に文字化けはしないで VirtualBox は起動できています。

 ちなみに、/etc/make.confには、QT4_OPTIONS=QGTKSTYLEを設定しています。

  僕はデスクトップが KDE4 なので qt4 は既に入っているのでこのオ
プションの意味がいまいち解らないのです。

 4.6.xのqt4関連のportsをコンパイルする際、或いはインストール後に何か設定
 する事があるのでしょうか。

  しかし、 qt4-4.6.1 は何かと面白いものが潜んでいるようです(^^;;。

  で、田上さん のデスクトップは何を利用しているか解らないのです
が、以下の環境変数を設定(setenv)もしくは設定削除(unsetenv)して表
示の内容が変わるでしょうか?

KDE_FULL_SESSION=true
KDE_SESSION_VERSION=4

  上にも書きましたが、僕は KDE4 を利用しているのでこの二つが有り、
無しで微妙に表示が変わりましたので・・。

たかの@はずしていたらごめんなさい。
---
Contact to me.
takachan[at]running-dog.net http://www.running-dog.net/
takachan[at]xn--w8j2bze0962a.jp http://xn--w8j2bze0962a.jp/


[FreeBSD-users-jp 92779] Re: xorg.conf で Radeon が設定できない。

2010-02-11 スレッド表示 ikesan
ikesanと申します。

On Fri, 12 Feb 2010 10:43:54 +0900
Takayuki Sakuma sakuma.takay...@jp.fujitsu.com さんwrote:

Option DontZap  boolean
   This disallows the use of the Ctrl+Alt+Backspace sequence.  That
   sequence is normally used to terminate the  Xorg  server.   When
   this  option  is enabled (as per default), that key sequence has
   no special meaning.  Default: on.

man xorg.conf を見ますと
xorg 7.3_1 では Default: off
xorg 7.4_2 では Default: on
となっていますね。
さっそく試してみたのですが、残念ながら有効になりませんでした。


[FreeBSD-users-jp 92780] Re: rxvt が make できない

2010-02-11 スレッド表示 ikesan
ikesanと申します。

On Fri, 12 Feb 2010 10:38:52 +0900
moto kawasaki m...@kawasaki3.org さんwrote:

 メンテナでも何でもありませんが、そのヘッダファイルをコメントアウトすれ
 ばコンパイルはできますね。
 # これでちゃんと動くのかどうかは確かめていません。

さっそく試してみました。
コンパイルでき、rxvtが立ち上がりました。
ちゃんと動くかどうかは、もう少し使い込んでみないとわかりませんね :-)