Show Posts
|
|
Pages: [1]
|
|
2
|
Linux Stuff / Kernel / Re: 2.6.34.1 new release
|
on: July 18, 2010, 05:38:40 AM
|
rmmod and modprobre correctly remove and load the module, but demesg remains silent on sata devices: root@ubuntu:~# dmesg | grep sata root@ubuntu:~#
Perhaps the key to solve this lies in the acrNumber. How exactly can I change the value? Thanks. Nuno. [EDIT] Will try setenv arcNumber 2678 Hope it replaeces 2097 and not merelyn add another arcNumber.
|
|
|
|
|
3
|
Linux Stuff / Kernel / Re: 2.6.34.1 new release
|
on: July 17, 2010, 06:29:05 PM
|
@cbxbiker61 Thanks for all your help. Not yet there, though. The newit u-boot version has been successfully loaded, but i still don't see the esata hard drive. Here's a full boot log: U-Boot 1.1.4 (Jul 14 2009 - 06:46:57) Marvell version: 3.4.16
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CF120
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
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.34.1 Created: 2010-07-09 20:38:50 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2742036 Bytes = 2.6 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel. Linux version 2.6.34.1 (kelly@speedy) (gcc version 4.4.3 (Sourcery G++ Lite er) ) #4 PREEMPT Fri Jul 9 14:38:45 MDT 2010 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: console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs PID hash table entries: 2048 (order: 1, 8192 bytes) 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: 513792k/513792k available, 10496k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) DMA : 0xffc00000 - 0xffe00000 ( 2 MB) vmalloc : 0xe0800000 - 0xfe800000 ( 480 MB) lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .init : 0xc0008000 - 0xc002b000 ( 140 kB) .text : 0xc002b000 - 0xc04e2000 (4828 kB) .data : 0xc0504000 - 0xc0533520 ( 190 kB) SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 Hierarchical RCU implementation. NR_IRQS:114 Console: colour dummy device 80x30 Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok NET: Registered protocol family 16 Kirkwood: MV88F6281-A0, TCLK=200000000. Feroceon L2: Enabling L2 Feroceon L2: Cache support initialised. 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 cfg80211: Calling CRDA to update world regulatory domain Switching to clocksource orion_clocksource NET: Registered protocol family 2 IP route cache hash table entries: 4096 (order: 2, 16384 bytes) TCP established hash table entries: 16384 (order: 5, 131072 bytes) TCP bind hash table entries: 16384 (order: 4, 65536 bytes) TCP: Hash tables configured (established 16384 bind 16384) 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 RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc. JFS: nTxBlock = 4014, nTxLock = 32112 msgmni has been set to 1003 alg: No test for stdrng (krng) io scheduler noop 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 NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-bit) Scanning device for bad blocks Bad eraseblock 656 at 0x000005200000 Bad eraseblock 2489 at 0x000013720000 2 cmdlinepart partitions found on MTD device orion_nand Creating 2 MTD partitions on "orion_nand": 0x000000100000-0x000000500000 : "uImage" 0x000000500000-0x000020000000 : "rootfs" UBI: attaching mtd1 to ubi0 UBI: physical eraseblock size: 131072 bytes (128 KiB) UBI: logical eraseblock size: 129024 bytes UBI: smallest flash I/O unit: 2048 UBI: sub-page size: 512 UBI: VID header offset: 512 (aligned 512) UBI: data offset: 2048 UBI: attached mtd1 to ubi0 UBI: MTD device name: "rootfs" UBI: MTD device size: 507 MiB UBI: number of good PEBs: 4054 UBI: number of bad PEBs: 2 UBI: max. allowed volumes: 128 UBI: wear-leveling threshold: 4096 UBI: number of internal volumes: 1 UBI: number of user volumes: 1 UBI: available PEBs: 0 UBI: total number of reserved PEBs: 4054 UBI: number of PEBs reserved for bad PEB handling: 40 UBI: max/mean erase counter: 10/2 UBI: image sequence number: 0 UBI: background thread "ubi_bgt0d" started, PID 447 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:c1:e6 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 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) 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 hiddev usbcore: registered new interface driver usbhid usbhid: USB HID core driver oprofile: using timer interrupt. TCP cubic registered NET: Registered protocol family 17 lib80211: common routines for IEEE802.11 drivers rtc-mv rtc-mv: setting system clock to 2010-07-18 01:18:40 UTC (1279415920) UBIFS: mounted UBI device 0, volume 0, name "rootfs" UBIFS: file system size: 515450880 bytes (503370 KiB, 491 MiB, 3995 LEBs) UBIFS: journal size: 25804800 bytes (25200 KiB, 24 MiB, 200 LEBs) UBIFS: media format: w4/r0 (latest is w4/r0) UBIFS: default compressor: lzo UBIFS: reserved for root: 4952683 bytes (4836 KiB) VFS: Mounted root (ubifs filesystem) on device 0:12. Freeing init memory: 140K * Filesystem type 'fusectl' is not supported. Skipping mount. [ OK ]ting preliminary keymap... [ OK ]rting kernel event manager... [ OK ]ding hardware drivers... [ OK ]ding kernel modules... * Loading manual drivers... [ OK ]ting kernel variables (/etc/sysctl.conf)... [ OK ]ting kernel variables (/etc/sysctl.d/10-console-messages.conf)... [ OK ]ting kernel variables (/etc/sysctl.d/10-network-security.conf)... [ OK ]ivating swap... [ OK ]rting early crypto disks... [ OK ]rting remaining crypto disks... * Checking file systems... fsck 1.41.4 (27-Jan-2009) [ OK ] [ OK ]nting local filesystems... [ OK ]ivating swapfile swap... [ OK ]figuring network interfaces... [ OK ]ting up console font and keymap... [ OK ]rting system log daemon... [ OK ] * Starting kernel log daemon...
Ubuntu 9.04 ubuntu ttyS0
[ OK ] login: * Starting OpenBSD Secure Shell server sshd [ OK ] * Starting periodic command scheduler crond * Restarting OpenBSD Secure Shell server sshd
|
|
|
|
|
4
|
Linux Stuff / Kernel / Re: 2.6.34.1 new release
|
on: July 17, 2010, 01:28:29 PM
|
nzimas,
What's your hardware config? How did you reinstall the software?
To de-brick my Sheeva eSata plug (the black one), I have meticulously followed the official instructions on the Sheeva Installer wiki: http://www.plugcomputer.org/plugwiki/index.php/SheevaPlug_Installer#How_to_install_1.0_.3FThen I installed this new kernel using the README script, like this: ./README-2.6.34.1 --nandkernel and it seems to be running: ./README-2.6.34.1 --nandkernel The external hard drive used to work through the esata with the Ubuntu 9.04 version tweaked by NewIT (newit.co.uk). Then i had a botched debian lenny installation attempt, my plug got bricked and I decided to reinstall everything by the book.
|
|
|
|
|
5
|
Linux Stuff / Kernel / Re: 2.6.34.1 new release
|
on: July 17, 2010, 02:38:31 AM
|
Tried modprobe sata_mv, added it to /etc/modules as sata_mv (with and without modprobe), then rebooted the plug a couple of times. No joy. fdisk -l returns no values.
The esata cable is tightly fastened on both ends and used to work before i had to de-brick my plug.
What's the output of lsmod and dmesg? lsmod shows which modules are loaded. dmesg should show which devices have been found. Here it goes: root@ubuntu:~# modprobe sata_mv root@ubuntu:~# lsmod Module Size Used by sata_mv 24599 0 ipv6 227719 10 dm_crypt 11259 0 dm_mod 55188 1 dm_crypt mv_cesa 4518 0
root@ubuntu:~# dmesg Linux version 2.6.34.1 (kelly@speedy) (gcc version 4.4.3 (Sourcery G++ Lite er) ) #4 PREEMPT Fri Jul 9 14:38:45 MDT 2010 CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977 CPU: VIVT data cache, VIVT instruction cache Machine: Marvell SheevaPlug Reference Board Memory policy: ECC disabled, Data cache writeback On node 0 totalpages: 131072 free_area_init_node: node 0, pgdat c05321b0, node_mem_map c05e0000 Normal zone: 1024 pages used for memmap Normal zone: 0 pages reserved Normal zone: 130048 pages, LIFO batch:31 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 Kernel command line: console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs PID hash table entries: 2048 (order: 1, 8192 bytes) 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: 513792k/513792k available, 10496k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) DMA : 0xffc00000 - 0xffe00000 ( 2 MB) vmalloc : 0xe0800000 - 0xfe800000 ( 480 MB) lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .init : 0xc0008000 - 0xc002b000 ( 140 kB) .text : 0xc002b000 - 0xc04e2000 (4828 kB) .data : 0xc0504000 - 0xc0533520 ( 190 kB) SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 Hierarchical RCU implementation. NR_IRQS:114 Console: colour dummy device 80x30 Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok NET: Registered protocol family 16 Kirkwood: MV88F6281-A0, TCLK=200000000. Feroceon L2: Enabling L2 Feroceon L2: Cache support initialised. initial MPP regs: 01111111 11113322 00001111 00100000 00000000 00000000 00000000 final MPP regs: 01111111 11113322 00001111 00000000 00000000 00000000 00000000 bio: create slab <bio-0> at 0 vgaarb: loaded SCSI subsystem initialized libata version 3.00 loaded. usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb cfg80211: Calling CRDA to update world regulatory domain Switching to clocksource orion_clocksource NET: Registered protocol family 2 IP route cache hash table entries: 4096 (order: 2, 16384 bytes) TCP established hash table entries: 16384 (order: 5, 131072 bytes) TCP bind hash table entries: 16384 (order: 4, 65536 bytes) TCP: Hash tables configured (established 16384 bind 16384) 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 RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. PCI: CLS 0 bytes, default 32 JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. JFS: nTxBlock = 4014, nTxLock = 32112 msgmni has been set to 1003 alg: No test for stdrng (krng) io scheduler noop 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 NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-bit) Scanning device for bad blocks Bad eraseblock 656 at 0x000005200000 Bad eraseblock 2489 at 0x000013720000 2 cmdlinepart partitions found on MTD device orion_nand Creating 2 MTD partitions on "orion_nand": 0x000000100000-0x000000500000 : "uImage" 0x000000500000-0x000020000000 : "rootfs" UBI: attaching mtd1 to ubi0 UBI: physical eraseblock size: 131072 bytes (128 KiB) UBI: logical eraseblock size: 129024 bytes UBI: smallest flash I/O unit: 2048 UBI: sub-page size: 512 UBI: VID header offset: 512 (aligned 512) UBI: data offset: 2048 UBI: attached mtd1 to ubi0 UBI: MTD device name: "rootfs" UBI: MTD device size: 507 MiB UBI: number of good PEBs: 4054 UBI: number of bad PEBs: 2 UBI: max. allowed volumes: 128 UBI: wear-leveling threshold: 4096 UBI: number of internal volumes: 1 UBI: number of user volumes: 1 UBI: available PEBs: 0 UBI: total number of reserved PEBs: 4054 UBI: number of PEBs reserved for bad PEB handling: 40 UBI: max/mean erase counter: 10/2 UBI: image sequence number: 0 UBI: background thread "ubi_bgt0d" started, PID 447 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:c1:e6 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 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 hiddev usbcore: registered new interface driver usbhid usbhid: USB HID core driver oprofile: using timer interrupt. TCP cubic registered NET: Registered protocol family 17 lib80211: common routines for IEEE802.11 drivers lib80211_crypt: registered algorithm 'NULL' Gating clock of unused units before: 0x00df03dd after: 0x00c701d9 rtc-mv rtc-mv: setting system clock to 2010-07-17 01:00:00 UTC (1279328400) UBIFS: mounted UBI device 0, volume 0, name "rootfs" UBIFS: file system size: 515450880 bytes (503370 KiB, 491 MiB, 3995 LEBs) UBIFS: journal size: 25804800 bytes (25200 KiB, 24 MiB, 200 LEBs) UBIFS: media format: w4/r0 (latest is w4/r0) UBIFS: default compressor: lzo UBIFS: reserved for root: 4952683 bytes (4836 KiB) VFS: Mounted root (ubifs filesystem) on device 0:12. Freeing init memory: 140K device-mapper: ioctl: 4.17.0-ioctl (2010-03-05) initialised: dm-devel@redhat.com eth0: link up, 100 Mb/s, full duplex, flow control disabled NET: Registered protocol family 10 eth0: no IPv6 routers present
|
|
|
|
|
6
|
Linux Stuff / Kernel / Re: 2.6.34.1 new release
|
on: July 16, 2010, 06:02:45 PM
|
Kernel successfully installed on the NAND, up and running.
However, it won't reckon my external HDD connected through esata.
fdisk -l shows no matches.
Did you load the "sata_mv" module? Tried modprobe sata_mv, added it to /etc/modules as sata_mv (with and without modprobe), then rebooted the plug a couple of times. No joy. fdisk -l returns no values. The esata cable is tightly fastened on both ends and used to work before i had to de-brick my plug.
|
|
|
|
|
7
|
Linux Stuff / Kernel / Re: 2.6.34.1 new release
|
on: July 16, 2010, 02:20:21 AM
|
Kernel successfully installed on the NAND, up and running.
However, it won't reckon my external HDD connected through esata.
fdisk -l shows no matches.
Did you load the "sata_mv" module? Nope. That certainly explains it all  Which file do I have to edit to make it permanent / load on boot? Thanks! Nuno.
|
|
|
|
|
8
|
Linux Stuff / Kernel / Re: 2.6.34.1 new release
|
on: July 15, 2010, 05:54:19 PM
|
|
Kernel successfully installed on the NAND, up and running.
However, it won't reckon my external HDD connected through esata.
fdisk -l shows no matches.
|
|
|
|
|