日本語ログを含むCVSリポジトリをhgへ

hg convertだとログが化けちゃう。結論を書くと cvs2git で git にしてから hg にしてうまく行った。 cvs2bzrが先でもよいが、ブランチが個別ディレクトリになっちゃうので リポジトリ内ブランチで回したい場合に調子悪い。

cvs2git --encoding=euc-jp --username=ユーザ名 \
	--dumpfile=output.git --blobfile=output.blob \
	/path/to/CVSリポジトリ
git init tmp.git
cat output.blob output.git | (cd tmp.git; git fast-import)
hg convert tmp.git hgrepo

netbsd-6 on SHARP Mebius PC-GP1-C7U

先月始めたnetbsd6化キャンペーンほぼ終了。

netbsd-3のときは一工夫必要だったが、 GENERICカーネルでも行けるようになってた。USB無線LANでrumを 使いたいので sys/dev/usb/usbdevs をちょっといじったカーネルで起動。

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 6.0_BETA (FUSION32) #8: Tue Mar 20 12:18:47 JST 2012
	root@firestorm.gentei.org:/usr/src/sys/arch/i386/compile/FUSION32
total memory = 1007 MB
avail memory = 977 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
SHARP Corp.      PC-GP1 Series    (5a)
mainbus0 (root)
cpu0 at mainbus0: Mobile AMD Athlon(tm) 4 Processor, id 0x662
acpi0 at mainbus0: Intel ACPICA 20110623
acpi0: X/RSDT: OemId <OID_00,RSDT_000,30303030>, AslId <  M^P&,00010007>
LNKA: ACPI: Found matching pin for 0.18.INTA at func 0: 10
LNKB: ACPI: Found matching pin for 0.8.INTA at func 0: 255
LNKB: ACPI: Found matching pin for 0.8.INTA at func 1: 255
LNKC: ACPI: Found matching pin for 0.17.INTC at func 5: 5
LNKC: ACPI: Found matching pin for 0.11.INTA at func 0: 11
LNKC: BIOS IRQ 11 for 0.11.INTA does not match previous BIOS IRQ 5
LNKD: ACPI: Found matching pin for 0.17.INTD at func 2: 10
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
acpiec0 at acpi0 (EC0, PNP0C09): io 0x62,0x66
acpibut0 at acpi0 (SBTN, PNP0C0E): ACPI Sleep Button
acpilid0 at acpi0 (LID, PNP0C0D): ACPI Lid Switch
acpiacad0 at acpi0 (AC, ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (BAT0, PNP0C0A): ACPI Battery
PS2M (PNP0F03) at acpi0 not configured
KBC (PNP0320) at acpi0 not configured
attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
MEM (PNP0C01) at acpi0 not configured
PNP (PNP0C02) at acpi0 not configured
npx1 at acpi0 (COPR, PNP0C04): io 0xf0-0xff irq 13
npx1: reported by CPUID; using exception 16
FDC0 (PNP0700) at acpi0 not configured
LPT (PNP0400) at acpi0 not configured
apm0 at acpi0: Power Management spec V1.2
attimer1: attached to pcppi1
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: vendor 0x1106 product 0x0305 (rev. 0x80)
agp0 at pchb0: aperture at 0xa0000000, size 0x4000000
ppb0 at pci0 dev 1 function 0: vendor 0x1106 product 0x8305 (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: vendor 0x5333 product 0x8d02 (rev. 0x01)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
savagedrm0 at vga1: ProSavage Twister KN133
savagedrm0: AGP at 0xa0000000 64MB
savagedrm0: Initialized savage 2.4.1 20050313
cbb0 at pci0 dev 8 function 0: vendor 0x104c product 0xac51 (rev. 0x00)
cbb1 at pci0 dev 8 function 1: vendor 0x104c product 0xac51 (rev. 0x00)
fwohci0 at pci0 dev 11 function 0: vendor 0x1033 product 0x00ce (rev. 0x01)
fwohci0: interrupting at irq 5
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:40:d0:01:00:06:74:bc
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 1024 bytes.
fwohci0: max_rec 1024 -> 2048
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
pcib0 at pci0 dev 17 function 0: vendor 0x1106 product 0x8231 (rev. 0x10)
viaide0 at pci0 dev 17 function 1
viaide0: VIA Technologies VT8231 ATA100 controller
viaide0: bus-master DMA support present
viaide0: primary channel configured to compatibility mode
viaide0: primary channel interrupting at irq 14
atabus0 at viaide0 channel 0
viaide0: secondary channel configured to compatibility mode
viaide0: secondary channel interrupting at irq 15
atabus1 at viaide0 channel 1
uhci0 at pci0 dev 17 function 2: vendor 0x1106 product 0x3038 (rev. 0x1e)
uhci0: interrupting at irq 10
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 17 function 3: vendor 0x1106 product 0x3038 (rev. 0x1e)
uhci1: interrupting at irq 10
usb1 at uhci1: USB revision 1.0
vendor 0x1106 product 0x8235 (miscellaneous bridge, revision 0x10) at pci0 dev 17 function 4 not configured
auvia0 at pci0 dev 17 function 5: VIA Technologies VT82C686A AC'97 Audio (rev 0x40)
auvia0: interrupting at irq 5
auvia0: ac97: Avance Logic ALC200/ALC201 codec; headphone, 18 bit DAC, 18 bit ADC, Realtek 3D
auvia0: ac97: ext id 0x605<AC97_22,AMAP,SPDIF,VRA>
audio0 at auvia0: full duplex, playback, capture, mmap, independent
vendor 0x1106 product 0x3068 (miscellaneous communications, revision 0x20) at pci0 dev 17 function 6 not configured
vr0 at pci0 dev 18 function 0: vendor 0x1106 product 0x3065 (rev. 0x51)
vr0: interrupting at irq 10
vr0: Ethernet address: 00:40:d0:26:45:d8
sqphy0 at vr0 phy 1: Seeq 84220 10/100 media interface, rev. 0
sqphy0: using Seeq 84220 isolate/reset hack
sqphy0: no media present
sqphy1 at vr0 phy 17: Seeq 84220 10/100 media interface, rev. 0
sqphy1: using Seeq 84220 isolate/reset hack
sqphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
cbb0: read/write bursts enabled
cbb0: cacheline 0x8 lattimer 0xc0
cbb0: bhlc 0x82c008
cbb0: interrupting at irq 11
cardslot0 at cbb0
cardbus0 at cardslot0: bus 2
pcmcia0 at cardslot0
cbb1: read/write bursts enabled
cbb1: cacheline 0x8 lattimer 0xc0
cbb1: bhlc 0x82c008
cbb1: interrupting at irq 11
cardslot1 at cbb1
cardbus1 at cardslot1: bus 3
pcmcia1 at cardslot1
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
isapnp0 at isa0 port 0x279
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
isapnp0: no ISA Plug 'n Play devices found
powernow0 at cpu0: failed to initialize (err 6)
fwohci0: BUS reset
fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode
ieee1394if0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me)
ieee1394if0: bus manager 0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
uhub0 at usb0: vendor 0x1106 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb1: vendor 0x1106 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
acpiacad0: AC adapter online.
rum0 at uhub0 port 1
rum0: I-O DATA DEVICE,INC. WN-G54/USB, rev 2.00/0.01, addr 2
rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528, address 00:a0:b0:a7:af:2f
rum0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
rum0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wd0 at atabus0 drive 0
wd0: <Hitachi HTS541616J9AT00>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 149 GB, 310101 cyl, 16 head, 63 sec, 512 bytes/sect x 312581808 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <UJDA720 DVD/CDRW, , 1.00> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(viaide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
Kernelized RAIDframe activated
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
/root/mewdecode: bad tag 1: [8 4, 0 4, 01.0  PaX]
/root/mewdecode: bad tag 1: [8 4, 0 4, 01.0  PaX]
tap0: Ethernet address f2:0b:a4:36:2f:03
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
wsdisplay0: screen 5 added (80x25, vt100 emulation)
acpibat0: state changed on 'charge state' to 'LOW'