3.9.1-landiskの諸作業

まずはlogを貼り付けておきます。

Linux version 3.9.1-landisk+ (root@xs35v3) (gcc version 4.7.2 (Debian 4.7.2-5) ) #7 Sat May 11 01:39:31 JST 2013
Boot params:
... MOUNT_ROOT_RDONLY - 00000000
... RAMDISK_FLAGS     - 00000000
... ORIG_ROOT_DEV     - 00000000
... LOADER_TYPE       - 00000000
... INITRD_START      - 00000000
... INITRD_SIZE       - 00000000
Memory limited to 64MB
Booting machvec: LANDISK
Node 0: start_pfn = 0xc000, low = 0x10000
Zone ranges:
  Normal   [mem 0x0c000000-0x0fffffff]
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x0c000000-0x0fffffff]
I-O DATA DEVICE, INC. "LANDISK Series" support.
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttySC1,115200 mem=64M root=/dev/sda3 rootfstype=ext3 
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
PVR=04050005 CVR=20480000 PRR=00000113
I-cache : n_ways=2 n_sets=256 way_incr=8192
I-cache : entry_mask=0x00001fe0 alias_mask=0x00001000 n_aliases=2
D-cache : n_ways=2 n_sets=512 way_incr=16384
D-cache : entry_mask=0x00003fe0 alias_mask=0x00003000 n_aliases=4
Memory: 61388k/65536k available (2454k kernel code, 869k data, 116k init)
virtual kernel memory layout:
    fixmap  : 0xdfff7000 - 0xdffff000   (  32 kB)
    vmalloc : 0xc0000000 - 0xdfff5000   ( 511 MB)
    lowmem  : 0x8c000000 - 0x90000000   (  64 MB) (cached)
            : 0xa0000000 - 0xc0000000   ( 512 MB) (uncached)
      .init : 0x8c340000 - 0x8c35d000   ( 116 kB)
      .data : 0x8c266978 - 0x8c33fe20   ( 869 kB)
      .text : 0x8c001000 - 0x8c266978   (2454 kB)
NR_IRQS:8 nr_irqs:8 0
intc: Registered controller 'sh7750' with 20 IRQs
intc: Registered controller 'sh7750_dma8' with 9 IRQs
intc: Registered controller 'sh7750_tmu34' with 2 IRQs
intc: Registered controller 'sh7750_pci' with 8 IRQs
intc: Registered controller 'landisk' with 8 IRQs
Console: colour dummy device 80x25
 sh_tmu.0: used for clock events
 sh_tmu.0: used for periodic clock events
 sh_tmu.1: used as clock source
Calibrating delay loop (skipped)... 266.66 BogoMIPS PRESET (lpj=533333)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: SH7751R
devtmpfs: initialized
NET: Registered protocol family 16
PCI: Starting initialization.
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
DMA: Registering sh_dmac handler (8 channels).
DMA: Registering DMA API.
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io  0x1000-0x3fffff]
pci_bus 0000:00: root bus resource [mem 0xfd000000-0xfdffffff]
pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
pci 0000:00:02.0: BAR 0: assigned [mem 0xfd000000-0xfd000fff]
pci 0000:00:02.1: BAR 0: assigned [mem 0xfd001000-0xfd001fff]
pci 0000:00:00.0: BAR 0: assigned [io  0x1000-0x10ff]
pci 0000:00:00.0: BAR 1: assigned [mem 0xfd002000-0xfd0020ff]
pci 0000:00:02.2: BAR 0: assigned [mem 0xfd002100-0xfd0021ff]
Switching to clocksource sh_tmu.1
NET: Registered protocol family 2
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
gio: driver initialized
ROMFS MTD (C) 2007 Red Hat, Inc.
msgmni has been set to 119
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
SuperH SCI(F) driver initialized
sh-sci.0: ttySC0 at MMIO 0xffe00000 (irq = 23) is a sci
sh-sci.1: ttySC1 at MMIO 0xffe80000 (irq = 40) is a scif
console [ttySC1] enabled
loop: module loaded
scsi0 : pata_platform
ata1: PATA max PIO0 ioport cmd 0xc0000040 ctl 0xc000002c irq 10
8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
8139cp 0000:00:00.0 eth0: RTL-8139C+ at 0xfd002000, 00:a0:b0:6c:e9:cd, IRQ 5
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ehci-pci 0000:00:02.2: EHCI Host Controller
ehci-pci 0000:00:02.2: new USB bus registered, assigned bus number 1
ehci-pci 0000:00:02.2: irq 5, io mem 0xfd002100
ehci-pci 0000:00:02.2: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 5 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci_hcd 0000:00:02.0: OHCI Host Controller
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:02.0: irq 7, io mem 0xfd000000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
ohci_hcd 0000:00:02.1: OHCI Host Controller
ata1.00: CFA: HMS360402D5CF00, DN2OC60G, max UDMA/33
ata1.00: 3999744 sectors, multi 0: LBA 
ata1.00: configured for PIO
scsi 0:0:0:0: Direct-Access     ATA      HMS360402D5CF00  DN2O PQ: 0 ANSI: 5
ohci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 3
ohci_hcd 0000:00:02.1: irq 8, io mem 0xfd001000
sd 0:0:0:0: [sda] 3999744 512-byte logical blocks: (2.04 GB/1.90 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
mousedev: PS/2 mouse device common for all mice
rs5c313 rs5c313: rs5c313_rtc_read_time: timeout error
rs5c313 rs5c313: rtc core: registered rs5c313 as rtc0
landisk_led_init()
hardware is USL-5P
landisk_led_probe()
 registering led 
 registering led 
 registering led 
 registering led 
 registering led 
 registering led 
 registering led 
 registering led 
error - 0
sh_tmu sh_tmu.0: kept as earlytimer
sh_tmu sh_tmu.1: kept as earlytimer
push-switch: version 0.1.1 loaded
TCP: cubic registered
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
rs5c313 rs5c313: setting system clock to 2013-05-11 01:41:35 UTC (1368236495)
 sda: sda1 sda2 sda3
sd 0:0:0:0: [sda] Attached SCSI removable disk
EXT4-fs (sda3): mounting ext3 file system using the ext4 subsystem
EXT4-fs (sda3): warning: maximal mount count reached, running e2fsck is recommended
EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext3 filesystem) on device 8:3.
devtmpfs: mounted
Freeing unused kernel memory: 116k freed

INIT: version 2.88 booting

[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: udevdudevd[974]: starting version 175
[ ok .
[....] Synthesizing the initial hotplug events...[ ok done.
[....] Waiting for /dev to be fully populated...[ ok done.
[....] Activating swap...Adding 125048k swap on /dev/sda2.  Priority:-1 extents:1 across:125048k 
[ ok done.
EXT4-fs (sda3): re-mounted. Opts: (null)
[....] Cleaning up temporary files... /tmp /lib/init/rw[ ok .
[....] Activating lvm and md swap...[ ok done.
[....] Checking file systems...fsck from util-linux 2.20.1
[ ok done.
[....] Mounting local filesystems...[ ok done.
[....] Activating swapfile swap...[ ok done.
[....] Cleaning up temporary files...[ ok .
[....] Setting kernel variables ...[ ok done.
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

8139cp 0000:00:00.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
Listening on LPF/eth0/00:a0:b0:6c:e9:cd
Sending on   LPF/eth0/00:a0:b0:6c:e9:cd
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPOFFER from 192.168.a.b
DHCPACK from 192.168.c.d
bound to 192.168.e.f -- renewal in 3747825 seconds.
[ ok done.
[....] Cleaning up temporary files...[ ok .
[....] Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix[ ok .

INIT: Entering runlevel: 2

[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting enhanced syslogd: rsyslogd[ ok .
Starting btnctrl.
[....] Starting periodic command scheduler: cron[ ok .
address=fe2440d8
data1=01
address=fe2440d8
data1=03
gio2 write done.
data1=01
[....] Starting OpenBSD Secure Shell server: sshd[ ok .

Debian GNU/Linux 7.0 USL-5P ttySC1

USL-5P login: 

 再ビルドしたので、新しい方でアップし直しました。
 今回からバイナリ以外はxz圧縮にしました。
 無保証ですがどうぞ〜
http://www42.tok2.com/home/forester3/kernel4usl5p/3.9/

 それから、patchは1つにまとめました。.gitignoreのdiffも入ってますが、git非使用者はこの部分を無視して下さい。
追記:モジュールの/lib/modules/3.9.1-landisk+ディレクトリにsource,buildというリンクありますが、ビルドしたディレクトリを指す不要なリンクです。紛らわしいので次回からは消します。