Update of kernel 2.6.30.3 on sheevaplug
ページを編集するにはログインが必要です。
Update kernel 2.6.30.3
2009/7/27(mon)、rc8が無くなって、1,2,3続けざまにアップされた。
http://sheeva.with-linux.com/sheeva/
早速、アップデートしよう。
root@SheevaPlug:~# mkdir sheeva-2.6.30.3 root@SheevaPlug:~# cd sheeva-2.6.30.3 root@SheevaPlug:~/sheeva-2.6.30.3# wget http://sheeva.with-linux.com/sheeva/README-2.6.30.3 --2009-08-01 01:53:35-- http://sheeva.with-linux.com/sheeva/README-2.6.30.3 Resolving sheeva.with-linux.com... 216.146.103.100 Connecting to sheeva.with-linux.com|216.146.103.100|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2373 (2.3K) [text/plain] Saving to: `README-2.6.30.3' 100%[================================================>] 2,373 --.-K/s in 0.04s 2009-08-01 01:53:40 (51.5 KB/s) - `README-2.6.30.3' saved [2373/2373] root@SheevaPlug:~/sheeva-2.6.30.3# ls README-2.6.30.3 root@SheevaPlug:~/sheeva-2.6.30.3# root@SheevaPlug:~/sheeva-2.6.30.3# root@SheevaPlug:~/sheeva-2.6.30.3# root@SheevaPlug:~/sheeva-2.6.30.3# bash README-2.6.30.3 Downloading files --2009-08-01 01:54:08-- http://sheeva6.with-linux.com/sheeva/2.6.30.3/sheeva-2.6.30.3-Modules.tar.gz Resolving sheeva6.with-linux.com... 2001:470:b:3e:216:3eff:fe06:1 Connecting to sheeva6.with-linux.com|2001:470:b:3e:216:3eff:fe06:1|:80... failed: Connection refused. --2009-08-01 01:54:08-- http://sheeva.with-linux.com/sheeva/2.6.30.3/sheeva-2.6.30.3-Modules.tar.gz Resolving sheeva.with-linux.com... 216.146.103.100 Connecting to sheeva.with-linux.com|216.146.103.100|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3576647 (3.4M) [application/x-gzip] Saving to: `sheeva-2.6.30.3-Modules.tar.gz' 100%[================================================>] 3,576,647 71.2K/s in 2m 48s 2009-08-01 01:56:57 (20.8 KB/s) - `sheeva-2.6.30.3-Modules.tar.gz' saved [3576647/3576647] --2009-08-01 01:56:57-- http://sheeva6.with-linux.com/sheeva/2.6.30.3/sheeva-2.6.30.3-Modules.tar.gz.md5 Resolving sheeva6.with-linux.com... 2001:470:b:3e:216:3eff:fe06:1 Connecting to sheeva6.with-linux.com|2001:470:b:3e:216:3eff:fe06:1|:80... failed: Connection refused. --2009-08-01 01:57:04-- http://sheeva.with-linux.com/sheeva/2.6.30.3/sheeva-2.6.30.3-Modules.tar.gz.md5 Resolving sheeva.with-linux.com... 216.146.103.100 Connecting to sheeva.with-linux.com|216.146.103.100|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 65 [application/x-gzip] Saving to: `sheeva-2.6.30.3-Modules.tar.gz.md5' 100%[================================================>] 65 --.-K/s in 0s 2009-08-01 01:57:05 (1.52 MB/s) - `sheeva-2.6.30.3-Modules.tar.gz.md5' saved [65/65] --2009-08-01 01:57:05-- http://sheeva6.with-linux.com/sheeva/2.6.30.3/sheeva-2.6.30.3-uImage Resolving sheeva6.with-linux.com... 2001:470:b:3e:216:3eff:fe06:1 Connecting to sheeva6.with-linux.com|2001:470:b:3e:216:3eff:fe06:1|:80... failed: Connection refused. --2009-08-01 01:57:05-- http://sheeva.with-linux.com/sheeva/2.6.30.3/sheeva-2.6.30.3-uImage Resolving sheeva.with-linux.com... 216.146.103.100 Connecting to sheeva.with-linux.com|216.146.103.100|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2626320 (2.5M) [text/plain] Saving to: `sheeva-2.6.30.3-uImage' 100%[================================================>] 2,626,320 26.9K/s in 97s 2009-08-01 01:58:42 (26.5 KB/s) - `sheeva-2.6.30.3-uImage' saved [2626320/2626320] --2009-08-01 01:58:42-- http://sheeva6.with-linux.com/sheeva/2.6.30.3/sheeva-2.6.30.3-uImage.md5 Resolving sheeva6.with-linux.com... 2001:470:b:3e:216:3eff:fe06:1 Connecting to sheeva6.with-linux.com|2001:470:b:3e:216:3eff:fe06:1|:80... failed: Connection refused. --2009-08-01 01:58:43-- http://sheeva.with-linux.com/sheeva/2.6.30.3/sheeva-2.6.30.3-uImage.md5 Resolving sheeva.with-linux.com... 216.146.103.100 Connecting to sheeva.with-linux.com|216.146.103.100|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 57 [text/plain] Saving to: `sheeva-2.6.30.3-uImage.md5' 100%[================================================>] 57 --.-K/s in 0s 2009-08-01 01:58:43 (1.35 MB/s) - `sheeva-2.6.30.3-uImage.md5' saved [57/57] Extracting modules Flashing kernel Erasing 128 Kibyte @ 0 -- 96 % complete. Cleanmarker written at 3e0000. Writing data to block 0 Writing data to block 20000 Writing data to block 40000 Writing data to block 60000 Writing data to block 80000 Writing data to block a0000 Writing data to block c0000 Writing data to block e0000 Writing data to block 100000 Writing data to block 120000 Writing data to block 140000 Writing data to block 160000 Writing data to block 180000 Writing data to block 1a0000 Writing data to block 1c0000 Writing data to block 1e0000 Writing data to block 200000 Writing data to block 220000 Writing data to block 240000 Writing data to block 260000 Writing data to block 280000 root@SheevaPlug:~/sheeva-2.6.30.3# reboot Broadcast message from root@SheevaPlug (/dev/pts/0) at 1:59 ... The system is going down for reboot NOW! root@SheevaPlug:~/sheeva-2.6.30.3# * Saving the system clock * Asking all remaining processes to terminate... [ OK ] * All processes ended within 2 seconds.... [ OK ] * Deconfiguring network interfaces... [ OK ] * Unmounting temporary filesystems... [ OK ] * Deactivating swap... [ OK ] * Stopping remaining crypto disks... [ OK ] * Stopping early crypto disks... [ OK ] * Will now restart Restarting system. タ __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** MARVELL BOARD: SHEEVA PLUG LE U-Boot 1.1.4 (Apr 9 2009 - 12:23:12) Marvell version: 3.4.16 U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CEE60 Soc: 88F6281 A0 (DDR2) CPU running @ 1200Mhz L2 running @ 400Mhz SysClock = 400Mhz , TClock = 200Mhz DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 DRAM CS[0] base 0x00000000 size 256MB DRAM CS[1] base 0x10000000 size 256MB DRAM Total size 512MB 16bit width Flash: 0 kB Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done NAND:512 MB CPU : Marvell Feroceon (Rev 1) Streaming disabled Write allocate disabled USB 0: host mode PEX 0: interface detected no Link. Net: egiga0 [PRIME], egiga1 Hit any key to stop autoboot: 0 Marvell>> Marvell>> Marvell>> printenv baudrate=115200 loads_echo=0 rootpath=/mnt/ARM_FS/ netmask=255.255.0.0 CASset=min MALLOC_len=1 ethprime=egiga0 bootargs_root=root=/dev/mtdblock2 ro ethmtu=1500 usb0Mode=host nandEcc=1bit ethact=egiga0 serverip=10.10.0.2 ipaddr=10.10.0.1 cesvcid=ULULULULULULPPULULULULULDA bootargs_end=:::DB88FXX81:eth0:none image_name=uImage standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000; mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500 yuk_ethaddr=00:00:00:EE:51:81 netretry=no rcvrip=169.254.100.100 loadaddr=0x02000000 autoload=no ethaddr=00:50:43:01:CA:BB run_diag=no bootcmd=nand read.e 0x800000 0x100000 0x400000; bootm 0x800000 rootfstype=hffs2=console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb0 arcNumber=2097rootfs) rw root=/dev/mtdblock1 bootargs=rootfstype=jffs2 console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=192.168.1.9:192.168.1.4:192.168.1.4:255.255.255.0:DB88FXX81:eth0:none stdin=serial stdout=serial stderr=serial console=console=ttyS0,115200 mtdparts=nand_mtd:0x100000@0(uboot)ro,0x0@0x100000(uImage),0x1ff00000@0x100000(rootfs)rw mainlineLinux=yes enaMonExt=no enaCpuStream=no enaWrAllo=no pexMode=RC disL2Cache=no setL2CacheWT=yes disL2Prefetch=yes enaICPref=yes enaDCPref=yes sata_dma_mode=yes netbsd_en=no vxworks_en=no bootdelay=3 disaMvPnp=no enaAutoRecovery=yes Environment size: 1980/131068 bytes Marvell>> Marvell>> setenv mainlineLinux yes Marvell>> setenv arcNumber 2097 Marvell>> setenv bootargs rootfstype=jffs2 console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=192.168.1.9:192.168.1.4:192.168.1.4:255.255.255.0:DB88FXX81:eth0:none Marvell>> saveenv Unknown command 'saveenv' - try 'help' Marvell>> saveenv Saving Environment to NAND... Erasing Nand...Writing to Nand... done Marvell>> printenv baudrate=115200 loads_echo=0 rootpath=/mnt/ARM_FS/ netmask=255.255.0.0 CASset=min MALLOC_len=1 ethprime=egiga0 bootargs_root=root=/dev/mtdblock2 ro ethmtu=1500 usb0Mode=host nandEcc=1bit ethact=egiga0 serverip=10.10.0.2 ipaddr=10.10.0.1 cesvcid=ULULULULULULPPULULULULULDA bootargs_end=:::DB88FXX81:eth0:none image_name=uImage standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000; mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500 yuk_ethaddr=00:00:00:EE:51:81 netretry=no rcvrip=169.254.100.100 loadaddr=0x02000000 autoload=no ethaddr=00:50:43:01:CA:BB run_diag=no bootcmd=nand read.e 0x800000 0x100000 0x400000; bootm 0x800000 rootfstype=hffs2=console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb0 stdin=serial0(rootfs) rw root=/dev/mtdblock1 stdout=serial stderr=serial console=console=ttyS0,115200 mtdparts=nand_mtd:0x100000@0(uboot)ro,0x0@0x100000(uImage),0x1ff00000@0x100000(rootfs)rw enaMonExt=no enaCpuStream=no enaWrAllo=no pexMode=RC disL2Cache=no setL2CacheWT=yes disL2Prefetch=yes enaICPref=yes enaDCPref=yes sata_dma_mode=yes netbsd_en=no vxworks_en=no bootdelay=3 disaMvPnp=no enaAutoRecovery=yes mainlineLinux=yes arcNumber=2097 bootargs=rootfstype=jffs2 console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=192.168.1.9:192.168.1.4:192.168.1.4:255.255.255.0:DB88FXX81:eth0:none Environment size: 1980/131068 bytes Marvell>> Marvell>> boot NAND read: device 0 offset 0x100000, size 0x400000 Reading data from 0x4ff800 -- 100% complete. 4194304 bytes read: OK ## Booting image at 00800000 ... Image Name: Linux-2.6.30.3 Created: 2009-07-25 4:31:02 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2626256 Bytes = 2.5 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK Starting kernel ... Uncompressing Linux.......................................................................................................................................................................... done, booting the kernel. Linux version 2.6.30.3 (kelly@speedy) (gcc version 4.2.1) #2 PREEMPT Fri Jul 24 22:30:57 MDT 2009 CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053177 CPU: VIVT data cache, VIVT instruction cache Machine: Marvell SheevaPlug Reference Board Memory policy: ECC disabled, Data cache writeback Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 Kernel command line: rootfstype=jffs2 console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=192.168.1.9:192.168.1.4:192.168.1.4:255.255.255.0:DB88FXX81:eth0:none NR_IRQS:114 PID hash table entries: 2048 (order: 11, 8192 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Memory: 256MB 256MB = 512MB total Memory: 513408KB available (4736K code, 998K data, 140K init, 0K highmem) SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok net_namespace: 980 bytes NET: Registered protocol family 16 Kirkwood: MV88F6281-A0, TCLK=200000000. Feroceon L2: Enabling L2 Feroceon L2: Cache support initialised. Kirkwood: Gating clock using mask 0x1ac224 bio: create slab <bio-0> at 0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb cfg80211: Using static regulatory domain info cfg80211: Regulatory domain: US (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm) (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm) cfg80211: Calling CRDA for country: US NET: Registered protocol family 2 IP route cache hash table entries: 16384 (order: 4, 65536 bytes) TCP established hash table entries: 65536 (order: 7, 524288 bytes) TCP bind hash table entries: 65536 (order: 6, 262144 bytes) TCP: Hash tables configured (established 65536 bind 65536) TCP reno registered NET: Registered protocol family 1 JFFS2 version 2.2. (NAND) c 2001-2006 Red Hat, Inc. JFS: nTxBlock = 4012, nTxLock = 32100 msgmni has been set to 1003 alg: No test for stdrng (krng) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A console [ttyS0] enabled brd: module loaded loop: module loaded Driver 'sd' needs updating - please use bus_type methods MV-643xx 10/100/1000 ethernet driver version 1.4 mv643xx_eth smi: probed net eth0: port 0 with MAC address 00:50:43:01:ca:bb libertas_sdio: Libertas SDIO driver libertas_sdio: Copyright Pierre Ossman NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit) Scanning device for bad blocks Bad eraseblock 165 at 0x0000014a0000 Bad eraseblock 177 at 0x000001620000 Bad eraseblock 192 at 0x000001800000 Bad eraseblock 248 at 0x000001f00000 Bad eraseblock 678 at 0x0000054c0000 Bad eraseblock 1221 at 0x0000098a0000 2 cmdlinepart partitions found on MTD device orion_nand Creating 2 MTD partitions on "orion_nand": 0x000000100000-0x000000500000 : "uImage" 0x000000500000-0x000020000000 : "rootfs" ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver orion-ehci orion-ehci.0: Marvell Orion EHCI orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1 orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000 orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. usbcore: registered new interface driver ums-datafab usbcore: registered new interface driver ums-freecom usbcore: registered new interface driver ums-jumpshot usbcore: registered new interface driver ums-sddr09 usbcore: registered new interface driver ums-sddr55 mice: PS/2 mouse device common for all mice rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0 i2c /dev entries driver cpuidle: using governor ladder cpuidle: using governor menu sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman mmc0: mvsdio driver initialized, lacking card detect (fall back to polling) Registered led device: plug:green:health mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver mv_xor mv_xor.0: Marvell XOR: ( xor cpy ) mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy ) mv_xor mv_xor.2: Marvell XOR: ( xor cpy ) mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy ) usbcore: registered new interface driver usbhid usbhid: v2.6:USB HID core driver oprofile: using timer interrupt. TCP cubic registered NET: Registered protocol family 17 RPC: Registered udp transport module. RPC: Registered tcp transport module. lib80211: common routines for IEEE802.11 drivers rtc-mv rtc-mv: setting system clock to 2009-08-01 02:09:45 UTC (1249092585) IP-Config: Complete: device=eth0, addr=192.168.1.9, mask=255.255.255.0, gw=192.168.1.4, host=DB88FXX81, domain=, nis-domain=(none), bootserver=192.168.1.4, rootserver=192.168.1.4, rootpath= eth0: link up, 100 Mb/s, full duplex, flow control disabled jffs2_scan_inode_node(): CRC failed on node at 0x0fccdfe0: Read 0xffffffff, calculated 0x7eecd4db Empty flash at 0x0fcce278 ends at 0x0fcce800 VFS: Mounted root (jffs2 filesystem) on device 31:1. Freeing init memory: 140K * Setting preliminary keymap... [ OK ] * Setting the system clock Cannot access the Hardware Clock via any known method. Use the --debug option to see the details of our search for an access method. * Unable to set System Clock to: Sat Aug 1 02:11:01 UTC 2009 * Starting basic networking... [ OK ] * Starting kernel event manager... [ OK ] * Loading hardware drivers... [ OK ] * Setting the system clock * Loading kernel modules... * Loading manual drivers... [ OK ] * Setting kernel variables (/etc/sysctl.conf)... [ OK ] * Setting kernel variables (/etc/sysctl.d/10-console-messages.conf)... [ OK ] * Setting kernel variables (/etc/sysctl.d/10-network-security.conf)... [ OK ] * Setting kernel variables (/etc/sysctl.d/10-process-security.conf)... [ OK ] * Setting kernel variables (/etc/sysctl.d/10-tcp-timestamps-workaround.c[ OK ] * Activating swap... [ OK ] * Starting early crypto disks... [ OK ] * Starting remaining crypto disks... [ OK ] * Checking file systems... fsck 1.41.3 (12-Oct-2008) [ OK ] * Mounting local filesystems... [ OK ] * Activating swapfile swap... [ OK ] * Configuring network interfaces... [ OK ] * Setting up console font and keymap... [ OK ] * Starting system log daemon... Ubuntu jaunty (development branch) SheevaPlug ttyS0 SheevaPlug login: [ OK ] * Starting kernel log daemon... Killed [fail] * Starting OpenBSD Secure Shell server sshd [ OK ] * Starting periodic command scheduler crond [ OK ] Ubuntu jaunty (development branch) SheevaPlug ttyS0 SheevaPlug login: root Password: Last login: Sat Aug 1 02:03:02 UTC 2009 on ttyS0 Linux SheevaPlug 2.6.30.3 #2 PREEMPT Fri Jul 24 22:30:57 MDT 2009 armv5tel The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To access official Ubuntu documentation, please visit: http://help.ubuntu.com/ root@SheevaPlug:~# cat /etc/debian-version cat: /etc/debian-version: No such file or directory root@SheevaPlug:~# cat /etc/debian_version 5.0 root@SheevaPlug:~# uname -a Linux SheevaPlug 2.6.30.3 #2 PREEMPT Fri Jul 24 22:30:57 MDT 2009 armv5tel GNU/Linux root@SheevaPlug:~# root@SheevaPlug:~# cd /etc root@SheevaPlug:/etc# vi /etc/sysctl.d/10-process-security.conf # protect bottom 64k of memory from mmap to prevent NULL-dereference # attacks against potential future kernel security vulnerabilities. # (Added in kernel 2.6.23.) #vm.mmap_min_addr = 65536 vm.mmap_min_addr = 32768 ~ "sysctl.d/10-process-security.conf" 6 lines, 217 characters written root@SheevaPlug:/etc#
こんな感じかな?
Keyword(s):
References: