Daily blurbs Sep. 2005

Plans

daily blurbs


28 Sep 2005 (Wed)

21:55:38 # Life pbuilder stopped working due to login package. login package wasn't installing /etc/pam.d/su, and that caused su command to request password, even when su was invoked from root. Problem would probably be fixed with a fixed shadow upload. Bug330291.

27 Sep 2005 (Tue)

07:52:17 # Life radeon driver on amd64 machine was a bit problematic and I experimented a bit. The biggest problem was that xine crashed X with signal11. I could work around with explicitly specifying the video with -V xshm. I found it to be a good-enough workaround for now. I can migrate to 64-bit mode amd64 system after I configure my TV-card, which is the last thing that needs migration.

21 Sep 2005 (Wed)

15:58:09 # Life At Kernel-reading party, YLUG session, OpenSourceConference 2005 Tokyo Fall, I've done a talk on 'git'. Git is Linus's SCM for maintaining kernel. My impression is that for TLA users, it's mostly painless to move over to git, since the feature sets are similar, and usage feels similar; although it still has rough edges. My presentation resources are online, in Japanese. I've done a similar talk in April, but things have changed since then, and I gave updates on what's happening. Not that I'm hacking on git; but it's nice watching something grow this rapidly. There are problems with openssl licensing; but that's another matter.

9 Sep 2005 (Fri)

09:01:16 # Life Server will move. netfort.gr.jp will move its physical location in October; and thus will have most services stopped temporarily. Details will be determined sometime later.

7 Sep 2005 (Wed)

00:04:14 # Life I've finally got my hands on hp dx5150. It is running on amd64 CPU. It's looking a bit strange, but I'll hopefully get it running. The two devices that seem to be critically problematic with this architecture that requires something more than sarge amd64 debian installer are apparently that sata_sil thing, and its graphics card. I've used Kenshi's sarge kernel 2.6.12 backport installer image to install Debian sarge i386 image. I really need an amd64 installation.

dancer@dancer64:~$ cat /proc/cpuinfo 
processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 15
model		: 31
model name	: AMD Athlon(tm) 64 Processor 3500+
stepping	: 0
cpu MHz		: 2194.737
cache size	: 512 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
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	: 4325.37
	
dancer@dancer64:~$ cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 31
model name      : AMD Athlon(tm) 64 Processor 3500+
stepping        : 0
cpu MHz         : 997.218
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
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        : 1966.08
dancer@dancer64:~$ uname -a
Linux dancer64 2.6.12-1-386 #1 Tue Aug 16 21:23:21 UTC 2005 i686 GNU/Linux
dancer@dancer64:~$ lspci
0000:00:00.0 Host bridge: ATI Technologies Inc: Unknown device 5950 (rev 01)
0000:00:01.0 PCI bridge: ATI Technologies Inc: Unknown device 5a3f
0000:00:05.0 PCI bridge: ATI Technologies Inc: Unknown device 5a37
0000:00:12.0 IDE interface: ATI Technologies Inc: Unknown device 4379
0000:00:13.0 USB Controller: ATI Technologies Inc: Unknown device 4374
0000:00:13.1 USB Controller: ATI Technologies Inc: Unknown device 4375
0000:00:13.2 USB Controller: ATI Technologies Inc: Unknown device 4373
0000:00:14.0 SMBus: ATI Technologies Inc: Unknown device 4372 (rev 10)
0000:00:14.1 IDE interface: ATI Technologies Inc: Unknown device 4376
0000:00:14.3 ISA bridge: ATI Technologies Inc: Unknown device 4377
0000:00:14.4 PCI bridge: ATI Technologies Inc: Unknown device 4371
0000:00:14.5 Multimedia audio controller: ATI Technologies Inc: Unknown device 4370 (rev 01)
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:01:05.0 VGA compatible controller: ATI Technologies Inc: Unknown device 5954
0000:01:05.1 Display controller: ATI Technologies Inc: Unknown device 5854
0000:02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express (rev 20)
dancer@dancer64:~$ lspci -n
0000:00:00.0 0600: 1002:5950 (rev 01)
0000:00:01.0 0604: 1002:5a3f
0000:00:05.0 0604: 1002:5a37
0000:00:12.0 0101: 1002:4379
0000:00:13.0 0c03: 1002:4374
0000:00:13.1 0c03: 1002:4375
0000:00:13.2 0c03: 1002:4373
0000:00:14.0 0c05: 1002:4372 (rev 10)
0000:00:14.1 0101: 1002:4376
0000:00:14.3 0601: 1002:4377
0000:00:14.4 0604: 1002:4371
0000:00:14.5 0401: 1002:4370 (rev 01)
0000:00:18.0 0600: 1022:1100
0000:00:18.1 0600: 1022:1101
0000:00:18.2 0600: 1022:1102
0000:00:18.3 0600: 1022:1103
0000:01:05.0 0300: 1002:5954
0000:01:05.1 0380: 1002:5854
0000:02:00.0 0200: 14e4:1677 (rev 20)

dmesg excerpt:
sata_sil version 0.9
ACPI: PCI Interrupt 0000:00:12.0[A] -> GSI 23 (level, low) -> IRQ 217
ata1: SATA max UDMA/100 cmd 0xF88BA080 ctl 0xF88BA08A bmdma 0xF88BA000 irq 217
ata2: SATA max UDMA/100 cmd 0xF88BA0C0 ctl 0xF88BA0CA bmdma 0xF88BA008 irq 217
ata1: dev 0 cfg 49:2f00 82:7869 83:7f09 84:4633 85:7869 86:3e01 87:4623 88:203f
ata1: dev 0 ATA, max UDMA/100, 488397168 sectors: lba48
ata1: dev 0 configured for UDMA/100
scsi0 : sata_sil
ata2: no device found (phy stat 00000000)
scsi1 : sata_sil
  Vendor: ATA       Model: Maxtor 7L250S0    Rev: BANC
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
SCSI device sda: drive cache: write back
 /dev/scsi/host0/bus0/target0/lun0: p1 p2 < p5 p6 > p3
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0

	

2 Sep 2005 (Fri)

09:14:58 # Life binfmtc, cowdancer. Thanks to ftpmaters, cowdancer and binfmtc are available in Debian archive now. It's simple to install; it would be interesting to know what people think about them.

1 Sep 2005 (Thu)

06:32:38 # Life Trying to release a few stuff, I noticed that freshmeat mentions there is a XML-RPC interface. Apparently it's been there since two years. Nice. Automation is good, I hate web interfaces that make me wait for the next page.

08:33:30 # Life I've realized that git backend data format has a good characteristics for 'dump every version of Debian source'. The reason I think git backend has a good characteristic is that every file is computed by its md5sum; and any file that shares the same hash will not need to be stored twice. This is interesting, since calculating the reverse references will probably show how many copies of one code is copied around; and also helps the case of files randomly moving around directories and packages.

08:39:03 # Life LVM2 snapshots. Andrew Pollock commented on lvm2 snapshot use for buildd and pbuilder. I have considered it for pbuilder, and I found it very interesting; but it has its limitations also. You need to configure LVM2, get some disk space, and create a volume, and then make a snapshot. That means you will have to maintain some system-level stuff with fixed-size volume, on disk. You also have to maintain original volume for each distribution (I think most people have multiple chroots for sarge, sid, hoary, warty, whatever). Also, it requires quite a bit of fixing around. That was my main motivation for cowdancer; which is a very simple stuff that sits on top of cp -la; which makes most of the problems with lvm go away, since you are only maintaining several directories for chroot. The main problem would be limitations with cowdancer, but since Debian is used to using fakeroot and fakechroot; most packages seem to cooperate with being LD_PRELOADed. I have some code called cow-pbuilder sitting in my local repository which currently implements pbuilder build. The rest needs implementing. pbuilder hooks that were used for user-mode-linux was enough to get cow-pbuilder working; and thus pbuilder-lvm2snapshots shouldn't be too much to implement; and will be a very nice addition. Incidentally, I've asked for alioth project for pbuilder (which was approved about 10 minutes later... very quick, thanks); I think it's about time I ask for co-maintainers and others to join in. I've finally realized that BTS isn't the best SCM.


Junichi Uekawa

$Id: 200509.html.en,v 1.16 2005/09/28 13:00:05 dancer Exp $