cbxbiker61
Global Moderator
Sr. Member
   
Karma: 37
Posts: 488
|
 |
« on: September 26, 2010, 10:52:14 PM » |
|
2.6.35.6 is now available. This version has a patch that theoretically fixes the e-sata port multiplier problem. It's the patch that is being rolled into 2.6.36. E-sata users check it out and see if it works. Kernel and modules are available from the following location: http://sheeva.with-linux.com/sheeva/Features e-sata, dmcrypt, IPV6, CIFS, NFS4, EXT3, EXT4, JFS, XFS, FUSE(for ntfs-3g), UBIFS, usb-serial, uvcvideo, iptables, appletalk, bluetooth, v4l and ppp.
|
|
|
|
|
Logged
|
|
|
|
|
savale
Newbie
Karma: 0
Posts: 15
|
 |
« Reply #1 on: September 29, 2010, 05:18:56 AM » |
|
Thnx I really want to test it!
This should run on my guruplug server plus right? I did set the right environment variables in uboot but I am not to sure where to copy what files. I know where to put the uImage, but do I need an updated uInitrd too? and what about the modules etc?
my config: debian testing @ sd card and uImage & uInitrd @ NAND
|
|
|
|
|
Logged
|
|
|
|
|
savale
Newbie
Karma: 0
Posts: 15
|
 |
« Reply #2 on: September 30, 2010, 01:34:18 AM » |
|
Thanks it boots the new kernel by just replacing the uImage (it still uses the old uInitrd), but would be nice to know what else should be done, anyone?
|
|
|
|
|
Logged
|
|
|
|
|
savale
Newbie
Karma: 0
Posts: 15
|
 |
« Reply #3 on: September 30, 2010, 10:23:02 AM » |
|
I am not to sure if this is kernel related, but hdparm is not working for me:
root@guruplug:~# hdparm -i /dev/sdc
/dev/sdc: HDIO_DRIVE_CMD(identify) failed: Invalid exchange HDIO_GET_IDENTITY failed: Invalid argument
|
|
|
|
|
Logged
|
|
|
|
|
|
|
 |
« Reply #4 on: September 30, 2010, 03:28:37 PM » |
|
Thanks it boots the new kernel by just replacing the uImage (it still uses the old uInitrd) This kernel doesn't use an uInitrd - it's has all the bits it needs to get going without modules.
|
|
|
|
|
Logged
|
|
|
|
|
savale
Newbie
Karma: 0
Posts: 15
|
 |
« Reply #5 on: October 01, 2010, 04:43:22 AM » |
|
my situation: guruplug server plus - kernel uImage on NAND - rootfs (debian testing) on SD card.
Thanks, trying to get it working now, but I must be missing a thing in my parameters?, since it can;t mount my rootfs:
I did set:
setenv mainlineLinux yes setenv arcNumber 2659
it tries to find the rootfs on my NAND maybe or is ext4 missing? I got my rootfs on a sd card (/dev/sdb1 = unused boot, /dev/sdb2 = ext4 rootfs)
Uncompressing Linux... done, booting the kernel. [ 0.000000] Linux version 2.6.35.7 (kelly@speedy) (gcc version 4.4.3 (Sourcery G++ Lite er) ) #2 PREEMPT Wed Sep 29 16:46:15 MDT 2010 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977 [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] Machine: Marvell GuruPlug Reference Board [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 [ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sdb2 rootfstype=ext4 [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 256MB 256MB = 512MB total [ 0.000000] Memory: 513680k/513680k available, 10608k reserved, 0K highmem [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] DMA : 0xffc00000 - 0xffe00000 ( 2 MB) [ 0.000000] vmalloc : 0xe0800000 - 0xfe800000 ( 480 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .init : 0xc0008000 - 0xc002b000 ( 140 kB) [ 0.000000] .text : 0xc002b000 - 0xc04fd000 (4936 kB) [ 0.000000] .data : 0xc051e000 - 0xc054e7e0 ( 194 kB) [ 0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU-based detection of stalled CPUs is disabled. [ 0.000000] Verbose stalled-CPUs detection is disabled. [ 0.000000] NR_IRQS:114 [ 0.000000] Console: colour dummy device 80x30 [ 0.000127] Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776) [ 0.240052] pid_max: default: 32768 minimum: 301 [ 0.240118] Mount-cache hash table entries: 512 [ 0.240367] CPU: Testing write buffer coherency: ok [ 0.242213] NET: Registered protocol family 16 [ 0.243417] Kirkwood: MV88F6281-A1, TCLK=200000000. [ 0.243431] Feroceon L2: Cache support initialised. [ 0.257847] bio: create slab <bio-0> at 0 [ 0.258356] vgaarb: loaded [ 0.258858] SCSI subsystem initialized [ 0.259580] usbcore: registered new interface driver usbfs [ 0.259840] usbcore: registered new interface driver hub [ 0.260013] usbcore: registered new device driver usb [ 0.262553] cfg80211: Calling CRDA to update world regulatory domain [ 0.262743] Switching to clocksource orion_clocksource [ 0.276627] NET: Registered protocol family 2 [ 0.276822] IP route cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.277516] TCP established hash table entries: 16384 (order: 5, 131072 bytes) [ 0.277870] TCP bind hash table entries: 16384 (order: 4, 65536 bytes) [ 0.278073] TCP: Hash tables configured (established 16384 bind 16384) [ 0.278084] TCP reno registered [ 0.278094] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.278117] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.278255] NET: Registered protocol family 1 [ 0.278499] RPC: Registered udp transport module. [ 0.278510] RPC: Registered tcp transport module. [ 0.278519] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.361817] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. [ 0.363065] JFS: nTxBlock = 4013, nTxLock = 32105 [ 0.364410] msgmni has been set to 1003 [ 0.366754] alg: No test for stdrng (krng) [ 0.366800] io scheduler noop registered [ 0.366809] io scheduler deadline registered [ 0.366910] io scheduler cfq registered (default) [ 0.374115] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 0.374981] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A [ 0.727903] console [ttyS0] enabled [ 0.739422] brd: module loaded [ 0.746305] loop: module loaded [ 0.751048] NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-bit) [ 0.759849] Scanning device for bad blocks [ 0.917358] Creating 3 MTD partitions on "orion_nand": [ 0.922523] 0x000000000000-0x000000100000 : "u-boot" [ 0.928677] 0x000000100000-0x000000500000 : "uImage" [ 0.934900] 0x000000500000-0x000020000000 : "root" [ 0.942812] MV-643xx 10/100/1000 ethernet driver version 1.4 [ 0.948683] mv643xx_eth smi: probed [ 0.955041] net eth0: port 0 with MAC address 02:50:43:ab:21:6f [ 0.963623] net eth1: port 0 with MAC address 02:50:43:54:4c:6d [ 0.969734] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.976381] orion-ehci orion-ehci.0: Marvell Orion EHCI [ 0.981680] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1 [ 1.012791] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000 [ 1.032789] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00 [ 1.039352] hub 1-0:1.0: USB hub found [ 1.043152] hub 1-0:1.0: 1 port detected [ 1.047718] Initializing USB Mass Storage driver... [ 1.052837] usbcore: registered new interface driver usb-storage [ 1.058872] USB Mass Storage support registered. [ 1.063690] usbcore: registered new interface driver ums-datafab [ 1.069837] usbcore: registered new interface driver ums-freecom [ 1.076043] usbcore: registered new interface driver ums-jumpshot [ 1.082272] usbcore: registered new interface driver ums-sddr09 [ 1.088394] usbcore: registered new interface driver ums-sddr55 [ 1.094726] mice: PS/2 mouse device common for all mice [ 1.100508] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0 [ 1.106635] i2c /dev entries driver [ 1.110740] cpuidle: using governor ladder [ 1.115342] cpuidle: using governor menu [ 1.119532] sdhci: Secure Digital Host Controller Interface driver [ 1.125797] sdhci: Copyright(c) Pierre Ossman [ 1.130548] mmc0: mvsdio driver initialized, lacking card detect (fall back to polling) [ 1.139677] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver [ 1.146126] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver [ 1.192821] mv_xor mv_xor.0: Marvell XOR: ( xor cpy ) [ 1.200451] mmc0: new high speed SDIO card at address 0001 [ 1.232820] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy ) [ 1.272819] mv_xor mv_xor.2: Marvell XOR: ( xor cpy ) [ 1.312820] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy ) [ 1.322466] usbcore: registered new interface driver hiddev [ 1.328256] usbcore: registered new interface driver usbhid [ 1.333969] usbhid: USB HID core driver [ 1.337826] oprofile: hardware counters not available [ 1.342961] oprofile: using timer interrupt. [ 1.348727] TCP cubic registered [ 1.351973] NET: Registered protocol family 17 [ 1.356649] lib80211: common routines for IEEE802.11 drivers [ 1.362828] usb 1-1: new high speed USB device using orion-ehci and address 2 [ 1.371064] rtc-mv rtc-mv: setting system clock to 2010-10-01 11:38:11 UTC (1285933091) [ 1.379400] Root-NFS: No NFS server available, giving up. [ 1.384877] VFS: Unable to mount root fs via NFS, trying floppy. [ 1.391155] VFS: Cannot open root device "sdb2" or unknown-block(2,0) [ 1.397660] Please append a correct "root=" boot option; here are the available partitions: [ 1.406085] 1f00 1024 mtdblock0 (driver?) [ 1.411087] 1f01 4096 mtdblock1 (driver?) [ 1.416101] 1f02 519168 mtdblock2 (driver?) [ 1.421096] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0) [ 1.429441] [<c00304fc>] (unwind_backtrace+0x0/0xec) from [<c03e33dc>] (panic+0x5c/0xe4) [ 1.437601] [<c03e33dc>] (panic+0x5c/0xe4) from [<c0008f10>] (mount_block_root+0x1c8/0x208) [ 1.446014] [<c0008f10>] (mount_block_root+0x1c8/0x208) from [<c00091a8>] (prepare_namespace+0x164/0x1bc) [ 1.455657] [<c00091a8>] (prepare_namespace+0x164/0x1bc) from [<c0008480>] (kernel_init+0x120/0x168) [ 1.464863] [<c0008480>] (kernel_init+0x120/0x168) from [<c002c3f0>] (kernel_thread_exit+0x0/0x8)
|
|
|
|
« Last Edit: October 01, 2010, 04:54:18 AM by savale »
|
Logged
|
|
|
|
|
sfzhi
Jr. Member

Karma: 1
Posts: 83
|
 |
« Reply #6 on: October 01, 2010, 07:10:53 AM » |
|
The SD-card slot is internally connected to the USB bus. Partitions on a USB Mass Storage device do not become available immediately (you should see a message in the kernel log when they do). You can try adding "rootdelay=10" to the kernel boot parameters to delay mounting the root file system.
|
|
|
|
|
Logged
|
Lack of knowledge is not such a big problem, unwillingness to learn is.
|
|
|
|
odoll
Full Member
 
Karma: 1
Posts: 136
|
 |
« Reply #7 on: October 01, 2010, 07:44:45 AM » |
|
Kernel and modules are available from the following location: Features e-sata, dmcrypt, IPV6, CIFS, NFS4, EXT3, EXT4, JFS, XFS, FUSE(for ntfs-3g), UBIFS, usb-serial, uvcvideo, iptables, appletalk, bluetooth, v4l and ppp.
sorry, for my noob q, however re my iSCSI issue http://plugcomputer.org/plugforum/index.php?topic=2329.0 would you know if your kernel supports iSCSI target? -- thx & cheers Oliver
|
|
|
|
|
Logged
|
|
|
|
|
cbxbiker61
Global Moderator
Sr. Member
   
Karma: 37
Posts: 488
|
 |
« Reply #8 on: October 01, 2010, 09:52:12 PM » |
|
I've just added iscsi_tgt support to 2.6.35.7. See if that works for you.
|
|
|
|
|
Logged
|
|
|
|
|
odoll
Full Member
 
Karma: 1
Posts: 136
|
 |
« Reply #9 on: October 01, 2010, 11:03:41 PM » |
|
thx a lot, I think one step further, but still failing to start. However as birdman spottet in the other thread would it also need crc32c enabled?
|
|
|
|
« Last Edit: October 01, 2010, 11:06:56 PM by odoll »
|
Logged
|
|
|
|
|
cbxbiker61
Global Moderator
Sr. Member
   
Karma: 37
Posts: 488
|
 |
« Reply #10 on: October 01, 2010, 11:57:56 PM » |
|
thx a lot, I think one step further, but still failing to start. However as birdman spottet in the other thread would it also need crc32c enabled?
That's built-in.
|
|
|
|
|
Logged
|
|
|
|
|
odoll
Full Member
 
Karma: 1
Posts: 136
|
 |
« Reply #11 on: October 02, 2010, 03:28:22 AM » |
|
lost!? Linux Share 2.6.35.7 #4 PREEMPT Fri Oct 1 21:46:30 MDT 2010 armv5tel Another q: would it be good enough to have the kernel's system.map file in the /boot dir? re https://secure.wikimedia.org/wikipedia/en/wiki/System.map SVGALib expects to find it /lib/modules/$(uname -r)/build/System.map? However on my system it's a link to a non-existing directory!? root@Share:/boot# ls -al /lib/modules/2.6.35.7/build lrwxrwxrwx 1 root root 51 Oct 2 07:55 /lib/modules/2.6.35.7/build -> /home/kelly/src/Sheeva/Kernel/linux-2.6.35.7-sheeva
|
|
|
|
|
Logged
|
|
|
|
|
|