• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: sheeva/dream 3.6.6 new kernel available  (Read 7612 times)
cbxbiker61
Global Moderator
Sr. Member
*****

Karma: 38
Posts: 497


View Profile
« on: November 12, 2012, 06:18:40 PM »

3.6.6 is now available.

For everything besides Dreamplugs:
sudo ./README-PLUG-UPDATE.sh 3.6.6 --nandkernel (installs to nand)
or:
sudo ./README-PLUG-UPDATE.sh 3.6.6 --rootkernel (installs to /boot)

For Dreamplugs:
sudo ./README-DREAM-UPDATE.sh 3.6.6 (installs to /boot)

Kernel and modules are available from:

http://www.xilka.com/sheeva/

Features systemd, e-sata, dmcrypt, IPV6, CIFS, NFS4, EXT3, EXT4, JFS, XFS, FUSE(for ntfs-3g), UBIFS, usb-serial, uvcvideo, iptables, appletalk, bluetooth, v4l and ppp.

I'm sure you may have noticed that i haven't been frequenting the forum as often.  Even though I'm not here too often that doesn't mean that I'm not updating kernels.  So I would recommend checking http://www.xilka.com/sheeva/ for the latest version when you decide that you want to update.  Just look in http://www.xilka.com/sheeva/3/3.6 (obviously 3.6 will increment as newer versions are released) for the latest supported version and then run the README-*sh script to pull down that version.

I've been busy with CuBox related items, kernel's of course and xbmc on CuBox.  I've also upgraded my main server from an AMD X6@3.4 to an FX-8350@4.7.  Let me tell you...the FX-8350@4.7 really flies for the type of work (X264 encoding and software compiles) that I do on it.
Logged

spacewrench
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #1 on: November 24, 2012, 08:06:07 PM »

Hi cbxbiker!  (I've always wanted a CBX, but never had the opportunity!)

I tried your 3.6.6 kernel on a GuruPlug that I wanted to use in WiFi-client mode.  My first reboot went well, but after I disconnected the Ethernet to run WiFi only, I keep getting kernel oopses when I try to bring up the interface:

[root@vortex ~]# iwconfig mlan0
mlan0     IEEE 802.11bgn  ESSID:"Connection lost" 
          Mode:Managed  Access Point: Not-Associated   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xx
          Power Management:on
         
[root@vortex ~]# ifconfig mlan0 up
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = df2bc000
[00000000] *pgd=1f34b831, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1] PREEMPT ARM
Modules linked in: mwifiex_sdio mwifiex btmrvl_sdio btmrvl cfg80211 bluetooth sa
ta_mv rfkill cdc_acm
CPU: 0    Not tainted  (3.6.6 #4)
PC is at mwifiex_wait_queue_complete+0x44/0x124 [mwifiex]
LR is at mwifiex_drv_set_power+0x4c/0x74 [mwifiex]
pc : [<bf0f2358>]    lr : [<bf0f2abc>]    psr: a0000013
sp : dea6ddf8  ip : 00000000  fp : 00008914
r10: de87a444  r9 : de981220  r8 : de87a800
r7 : de87a500  r6 : 000000ff  r5 : df2b7d50  r4 : df3fa000
r3 : 00000000  r2 : 00000001  r1 : 00000000  r0 : df3fa000                     
Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user               
Control: 0005397f  Table: 1f2bc000  DAC: 00000015                               
Process ifconfig (pid: 1272, stack limit = 0xdea6c270)                         
Stack: (0xdea6ddf8 to 0xdea6e000)                                               
dde0:                                                       de9e8000 000000ff   
de00: de87a500 de87a800 de981220 de87a444 00008914 00000000 de9e8000 000000ff   
de20: de87a500 bf0f2abc 00000000 dea6de44 de87a400 de87a40c de981200 bf0f75b0   
de40: de87a500 00000001 00000001 bf0a559c bf0c25b4 00000001 fffffff5 00000000   
de60: 00000001 de87a800 c06532e8 00000000 beb89a5c c0470e5c de87a800 00000001   
de80: 00000000 00000001 de87a800 c0039668 00000000 00000001 de87a800 c03a0b2c   
dea0: de9c2480 de87a800 00001002 c03a0b9c 00000000 de98100c de981000 c03effa4   
dec0: 6e616c6d 00000030 00000000 00000000 b6f91043 beb89e45 00000000 0001e27c   
dee0: b6f91002 00008914 df3b1b80 beb89a5c 00000004 c0008d04 dea6c000 beb89a5c   
df00: df585860 c038d794 beb89a5c df3b1b80 00008914 c00c8bbc 0000c000 c00c9700   
df20: 00000000 df4cbcc0 df623d40 00000001 00000002 00000000 00000000 c0008d04   
df40: df800640 deb41000 00000000 c00b5354 df802300 000000d0 dea6df78 deb09440   
df60: 00000004 beb89a5c df3b1b80 00008914 00000004 c0008d04 dea6c000 00000000   
df80: beb89e45 c00c9798 00000004 00000000 beb89a5c 0001ea80 0001e7fc beb89b38   
dfa0: 00000036 c0008ba0 0001ea80 0001e7fc 00000004 00008914 beb89a5c 00001002   
dfc0: 0001ea80 0001e7fc beb89b38 00000036 0001ea88 00000075 b6faffb8 beb89e45   
dfe0: 0001e198 beb89a4c 0000b508 b6ee659c 60000010 00000004 00000000 00000000   
[<bf0f2358>] (mwifiex_wait_queue_complete+0x44/0x124 [mwifiex]) from [<bf0f2abc>
] (mwifiex_drv_set_power+0x4c/0x74 [mwifiex])                                   
[<bf0f2abc>] (mwifiex_drv_set_power+0x4c/0x74 [mwifiex]) from [<bf0f75b0>] (mwif
iex_cfg80211_set_power_mgmt+0x14/0x18 [mwifiex])                               
[<bf0f75b0>] (mwifiex_cfg80211_set_power_mgmt+0x14/0x18 [mwifiex]) from [<bf0a55
9c>] (cfg80211_netdev_notifier_call+0x430/0x570 [cfg80211])                     
[<bf0a559c>] (cfg80211_netdev_notifier_call+0x430/0x570 [cfg80211]) from [<c0470
e5c>] (notifier_call_chain+0x38/0x68)                                           
[<c0470e5c>] (notifier_call_chain+0x38/0x68) from [<c0039668>] (raw_notifier_cal
l_chain+0x14/0x18)                                                             
[<c0039668>] (raw_notifier_call_chain+0x14/0x18) from [<c03a0b2c>] (__dev_notify
_flags+0x2c/0x60)                                                               
[<c03a0b2c>] (__dev_notify_flags+0x2c/0x60) from [<c03a0b9c>] (dev_change_flags+
0x3c/0x44)                                                                     
[<c03a0b9c>] (dev_change_flags+0x3c/0x44) from [<c03effa4>] (devinet_ioctl+0x294
/0x6a0)                                                                         
[<c03effa4>] (devinet_ioctl+0x294/0x6a0) from [<c038d794>] (sock_ioctl+0x230/0x2
8c)                                                                             
[<c038d794>] (sock_ioctl+0x230/0x28c) from [<c00c8bbc>] (vfs_ioctl+0x28/0x3c)   
[<c00c8bbc>] (vfs_ioctl+0x28/0x3c) from [<c00c9700>] (do_vfs_ioctl+0x548/0x5b0)
[<c00c9700>] (do_vfs_ioctl+0x548/0x5b0) from [<c00c9798>] (sys_ioctl+0x30/0x58)
[<c00c9798>] (sys_ioctl+0x30/0x58) from [<c0008ba0>] (ret_fast_syscall+0x0/0x2c)
Code: e2822001 e58020a4 e121f003 e5953028 (e5d31000)                           
2012 Nov 24 18:58:37 vortex Internal error: Oops: 17 [#1] PREEMPT ARM           
2012 Nov 24 18:58:37 vort---[ end trace cb5870652db39de0 ]---                   
ex Process ifconfig (pid: 1272, stack limit = 0xdea6c270)                       
2012 Nov 24 18:58:37 vortex Stack: (0xdea6ddf8 to 0xdea6e000)                   
2012 Nov 24 18:58:37 vortex dde0:                                               
        de9e8000 000000ff                                                       
2012 Nov 24 18:58:37 vortex de00: de87a500 de87a800 de981220 de87a444 00008914 0
0000000 de9e8000 000000ff                                                       
2012 Nov 24 18:58:37 vortex de20: de87a500 bf0f2abc 00000000 dea6de44 de87a400 d
e87a40c de981200 bf0f75b0                                                       
2012 Nov 24 18:58:37 vortex de40: de87a500 00000001 00000001 bf0a559c bf0c25b4 0
0000001 fffffff5 00000000                                                       
2012 Nov 24 18:58:37 vortex de60: 00000001 de87a800 c06532e8 00000000 beb89a5c c
0470e5c de87a800 00000001                                                       
2012 Nov 24 18:58:37 vortex de80: 00000000 00000001 de87a800 c0039668 00000000 0
0000001 de87a800 c03a0b2c                                                       
2012 Nov 24 18:58:37 vortex dea0: de9c2480 de87a800 00001002 c03a0b9c 00000000 d
e98100c de981000 c03effa4                                                       
2012 Nov 24 18:58:37 vortex dec0: 6e616c6d 00000030 00000000 00000000 b6f91043 b
eb89e45 00000000 0001e27c                                                       
2012 Nov 24 18:58:37 vortex dee0: b6f91002 00008914 df3b1b80 beb89a5c 00000004 c
0008d04 dea6c000 beb89a5c                                                       
2012 Nov 24 18:58:37 vortex df00: df585860 c038d794 beb89a5c df3b1b80 00008914 c
00c8bbc 0000c000 c00c9700                                                       
2012 Nov 24 18:58:37 vortex df20: 00000000 df4cbcc0 df623d40 00000001 00000002 0
0000000 00000000 c0008d04                                                       
2012 Nov 24 18:58:37 vortex df40: df800640 deb41000 00000000 c00b5354 df802300 0
00000d0 dea6df78 deb09440                                                       
2012 Nov 24 18:58:37 vortex df60: 00000004 beb89a5c df3b1b80 00008914 00000004 c
0008d04 dea6c000 00000000                                                       
2012 Nov 24 18:58:37 vortex df80: beb89e45 c00c9798 00000004 00000000 beb89a5c 0
001ea80 0001e7fc beb89b38                                                       
2012 Nov 24 18:58:37 vortex dfa0: 00000036 c0008ba0 0001ea80 0001e7fc 00000004 0
0008914 beb89a5c 00001002                                                       
2012 Nov 24 18:58:37 vortex dfc0: 0001ea80 0001e7fc beb89b38 00000036 0001ea88 0
0000075 b6faffb8 beb89e45                                                       
2012 Nov 24 18:58:37 vortex dfe0: 0001e198 beb89a4c 0000b508 b6ee659c 60000010 0
0000004 00000000 00000000                                                       
2012 Nov 24 18:58:37 vortex Code: e2822001 e58020a4 e121f003 e5953028 (e5d31000)
                                                                               
Segmentation fault                                                             
[root@vortex ~]#


I'd appreciate any pointers you have, and would be happy to collect additional debug info if necessary.

Thanks!
Logged

cbxbiker61
Global Moderator
Sr. Member
*****

Karma: 38
Posts: 497


View Profile
« Reply #2 on: November 28, 2012, 02:20:45 PM »

I've patched the mwifi driver in 3.6.8.  Give that a shot and report back.
Logged

spacewrench
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #3 on: November 30, 2012, 10:00:30 PM »

I tried Sheeva-3.6.8 from your website...same result.  There's a brief pause (1/2 second or so) after "ifconfig mlan0" and before the Oops.  The blue light comes on, and after the oops, it goes into a rapid blink.  Also, the system never completes the reset after the oops -- I have to press the reset button.

Thanks for checking!

Code:
Marvell>> usb start
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 4 USB Device(s) found
       scanning bus for storage devices... 2 Storage Device(s) found
Marvell>> ext2load usb 1:1 0x800000 uImage-3.6.8
Loading file "uImage-3.6.8" from usb device 1:1 (usbdb1)
3231536 bytes read
Marvell>> bootm 0x800000
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.6.8
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3231472 Bytes = 3.1 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Initializing cgroup subsys cpu
Linux version 3.6.8 (kelly@bbb.internal) (gcc version 4.7.3 20121106 (prerelease) (Linaro GCC 4.7-2012.11) ) #2 PREEMPT Wed Nov 28 13:44:02 MST 2012
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
CPU: VIVT data cache, VIVT instruction cache
Machine: Marvell GuruPlug 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 ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs ro
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: 512MB = 512MB total
Memory: 512876k/512876k available, 11412k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
    lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc05e9f44   (6024 kB)
      .init : 0xc05ea000 - 0xc061629c   ( 177 kB)
      .data : 0xc0618000 - 0xc065bbf0   ( 271 kB)
       .bss : 0xc065bc14 - 0xc06b6a98   ( 364 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:114
sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
Console: colour dummy device 80x30
Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
Initializing cgroup subsys cpuacct
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys blkio
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x474110 - 0x47414c
devtmpfs: initialized
NET: Registered protocol family 16
DMA: preallocated 1024 KiB pool for atomic coherent allocations
Kirkwood: MV88F6281-A1, 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
Switching to clocksource orion_clocksource
FS-Cache: Loaded
NET: Registered protocol family 2
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 named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
FS-Cache: Netfs 'nfs' registered for caching
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
jffs2: version 2.2. (NAND) 2001-2006 Red Hat, Inc.
JFS: nTxBlock = 4006, nTxLock = 32054
msgmni has been set to 1001
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)
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 )
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), page size: 2048, OOB size: 64
Scanning device for bad blocks
Creating 3 MTD partitions on "orion_nand":
0x000000000000-0x000000100000 : "u-boot"
0x000000100000-0x000000500000 : "uImage"
0x000000500000-0x000020000000 : "root"
UBI: attaching mtd2 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: max. sequence number:       577
UBI: attached mtd2 to ubi0
UBI: MTD device name:            "root"
UBI: MTD device size:            507 MiB
UBI: number of good PEBs:        4056
UBI: number of bad PEBs:         0
UBI: number of corrupted PEBs:   0
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: 4056
UBI: number of PEBs reserved for bad PEB handling: 40
UBI: max/mean erase counter: 24/20
UBI: image sequence number:  652154250
UBI: background thread "ubi_bgt0d" started, PID 519
mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
libphy: mv643xx_eth smi: probed
mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address f0:ad:4e:00:da:88
mv643xx_eth_port mv643xx_eth_port.1: eth1: port 0 with MAC address 00:00:00:00:00:00
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-cypress
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
mousedev: 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)
sdhci-pltfm: SDHCI platform and OF driver helper
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
zram: num_devices not specified. Using default: 1
zram: Creating 1 devices ...
TCP: cubic registered
NET: Registered protocol family 10
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
Key type dns_resolver registered
registered taskstats version 1
rtc-mv rtc-mv: setting system clock to 2012-12-01 04:50:24 UTC (1354337424)
mmc0: new high speed SDIO card at address 0001
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: mounted read-only
UBIFS: file system size:   516225024 bytes (504126 KiB, 492 MiB, 4001 LEBs)
UBIFS: journal size:       9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root:  0 bytes (0 KiB)
VFS: Mounted root (ubifs filesystem) readonly on device 0:12.
usb 1-1: new high-speed USB device number 2 using orion-ehci
devtmpfs: mounted
Freeing init memory: 176K
INIT: version 2.88 booting
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
 
 > Arch Linux ARM
 
 > http://www.archlinuxarm.org

   ------------------------------
usb 1-1.2: new high-speed USB device number 3 using orion-ehci
mount: mount point /proc/sys/fs/binfmt_misc does not exist
scsi0 : usb-storage 1-1.2:1.0
:: Adjusting system time and setting kernel timezone    [BUSY]    [DONE]
:: Starting UDev Daemon    [BUSY] usb 1-1.3: new high-speed USB device number 4 using orion-ehci
   [DONE]
:: Triggering UDev uevents    [BUSY] udevd[667]: starting version 185
scsi1 : usb-storage 1-1.3:1.0
sata_mv sata_mv.0: cannot get optional clkdev
sata_mv sata_mv.0: slots 32 ports 1
scsi2 : sata_mv
ata1: SATA max UDMA/133 irq 21
   [DONE]
:: Loading User-specified Modules    [BUSY]    [DONE]
:: Waiting for UDev uevents to be processed    [BUSY] scsi 0:0:0:0: Direct-Access     Generic  USB Flash Disk   1.00 PQ: 0 ANSI: 2
sd 0:0:0:0: [sda] 4078080 512-byte logical blocks: (2.08 GB/1.94 GiB)
sd 0:0:0:0: Attached scsi generic sg0 type 0
cfg80211: Calling CRDA to update world regulatory domain
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] No Caching mode page present
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] No Caching mode page present
sd 0:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1 sda2
sd 0:0:0:0: [sda] No Caching mode page present
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI removable disk
ata1: SATA link down (SStatus 0 SControl F300)
scsi 1:0:0:0: Direct-Access     Generic  USB  SD Reader   1.00 PQ: 0 ANSI: 0 CCS
sd 1:0:0:0: [sdb] 3846144 512-byte logical blocks: (1.96 GB/1.83 GiB)
sd 1:0:0:0: Attached scsi generic sg1 type 0
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] No Caching mode page present
sd 1:0:0:0: [sdb] Assuming drive cache: write through
sd 1:0:0:0: [sdb] No Caching mode page present
sd 1:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1
   [DONE]
sd 1:0:0:0: [sdb] No Caching mode page present
sd 1:0:0:0: [sdb] Assuming drive cache: write through
sd 1:0:0:0: [sdb] Attached SCSI removable disk
:: Configuring Virtual Consoles    [BUSY] @mwifiex_sdio mmc0:0001:1: WLAN FW is active
   [DONE]
:: Bringing up loopback interface    [BUSY]    [DONE]
:: Unlocking encrypted volumes:    [BUSY]    [DONE]
:: Checking Filesystems    [BUSY] /dev/sda1: clean, 1151/96000 files, 30415/384000 blocks
mwifiex_sdio mmc0:0001:1: driver_version = mwifiex 1.0 (14.57.5.p44)
   [DONE]
:: Remounting Root    [BUSY]    [DONE]
:: Prepare /var    [BUSY]    [DONE]
:: Mounting Local Filesystems    [BUSY] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
   [DONE]
:: Activating Swap    [BUSY] Adding 502012k swap on /dev/sda2.  Priority:-1 extents:1 across:502012k
   [DONE]
:: Configuring Time Zone    [BUSY]    [DONE]
:: Initializing Random Seed    [BUSY]    [DONE]
:: Removing Leftover Files    [BUSY]    [DONE]
:: Setting Hostname: vortex.mersenne.com    [BUSY]    [DONE]
:: Saving dmesg Log    [BUSY]    [DONE]
INIT: Entering runlevel: 3
***
***
***
Running rc.multi
***
***
***
:: Starting Syslog-NG    [BUSY]    [DONE]
:: Starting Network    [BUSY] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
mv643xx_eth_port mv643xx_eth_port.0: eth0: link up, 100 Mb/s, full duplex, flow control disabled
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
   [DONE]
:: Mounting Network Filesystems    [BUSY]    [DONE]
:: Starting crond daemon    [BUSY]    [DONE]
:: Starting Secure Shell Daemon    [BUSY]    [DONE]
:: Starting Apache Web Server    [BUSY] Syntax error on line 172 of /etc/httpd/conf/httpd.conf:
DocumentRoot must be a directory
   [FAIL]

Arch Linux 3.6.8 (ttyS0)

vortex login: root
Password:
ArchLinux with linux-3.4.4 on Naked GuruPlug
Last login: Sat Jun 30 18:39:07 PDT 2012 from vanadium.mersenne.com on pts/0
[root@vortex ~]# iwconfig mlan0
mlan0     IEEE 802.11bgn  ESSID:off/any 
          Mode:Managed  Access Point: Not-Associated   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
         
[root@vortex ~]# iwconfig mlan0 essid 'Connection lost' key xxxxxxxxxxxxxxxxxxxxx

[root@vortex ~]# ifconfig mlan0 up
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = dea2c000
[00000000] *pgd=1f30a831, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1] PREEMPT ARM
Modules linked in: mwifiex_sdio mwifiex cfg80211 rfkill sata_mv
CPU: 0    Not tainted  (3.6.8 #2)
PC is at mwifiex_wait_queue_complete+0x48/0x130 [mwifiex]
LR is at mwifiex_drv_set_power+0x4c/0x74 [mwifiex]
pc : [<bf05435c>]    lr : [<bf054ac8>]    psr: a0000013
sp : df2d3df8  ip : 00000000  fp : 00008914
r10: de8e6444  r9 : de8f5220  r8 : df2a9800
r7 : de8e6500  r6 : 000000ff  r5 : de8e7950  r4 : df20a000
r3 : 00000000  r2 : 00000001  r1 : 00000000  r0 : df20a000
Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: 0005397f  Table: 1ea2c000  DAC: 00000015
Process ifconfig (pid: 1274, stack limit = 0xdf2d2270)
Stack: (0xdf2d3df8 to 0xdf2d4000)
3de0:                                                       de97c000 000000ff
3e00: de8e6500 df2a9800 de8f5220 de8e6444 00008914 00000000 de97c000 000000ff
3e20: de8e6500 bf054ac8 00000000 df2d3e44 de8e6400 de8e640c de8f5200 bf0595bc
3e40: de8e6500 00000001 00000001 bf0155a0 bf0325f8 00000001 fffffff5 00000000
3e60: 00000001 df2a9800 c06532e8 00000000 be807a5c c047109c df2a9800 00000001
3e80: 00000000 00000001 df2a9800 c0039668 00000000 00000001 df2a9800 c03a0c4c
3ea0: df340900 df2a9800 00001002 c03a0cbc 00000000 df2cc60c df2cc600 c03f0178
3ec0: 6e616c6d 00000030 00000000 00000000 b6f11043 be807e45 00000000 0001e27c
3ee0: b6f11002 00008914 df87a980 be807a5c 00000004 c0008d04 df2d2000 be807a5c
3f00: df507b20 c038d8a4 be807a5c df87a980 00008914 c00c8bb8 0000c000 c00c96fc
3f20: 00000000 df4cbcc0 df62fd40 00000001 00000002 00000000 00000000 c0008d04
3f40: df800640 de85a000 00000000 c00b5350 df802300 000000d0 df2d3f78 df8a9b00
3f60: 00000004 be807a5c df87a980 00008914 00000004 c0008d04 df2d2000 00000000
3f80: be807e45 c00c9794 00000004 00000000 be807a5c 0001ea80 0001e7fc be807b38
3fa0: 00000036 c0008ba0 0001ea80 0001e7fc 00000004 00008914 be807a5c 00001002
3fc0: 0001ea80 0001e7fc be807b38 00000036 0001ea88 00000075 b6f2cfb8 be807e45
3fe0: 0001e198 be807a4c 0000b508 b6e6359c 60000010 00000004 00000000 00000000
[<bf05435c>] (mwifiex_wait_queue_complete+0x48/0x130 [mwifiex]) from [<bf054ac8>] (mwifiex_drv_set_power+0x4c/0x74 [mwifiex])
[<bf054ac8>] (mwifiex_drv_set_power+0x4c/0x74 [mwifiex]) from [<bf0595bc>] (mwifiex_cfg80211_set_power_mgmt+0x14/0x18 [mwifiex])
[<bf0595bc>] (mwifiex_cfg80211_set_power_mgmt+0x14/0x18 [mwifiex]) from [<bf0155a0>] (cfg80211_netdev_notifier_call+0x430/0x56c [cfg80211])
[<bf0155a0>] (cfg80211_netdev_notifier_call+0x430/0x56c [cfg80211]) from [<c047109c>] (notifier_call_chain+0x38/0x68)
[<c047109c>] (notifier_call_chain+0x38/0x68) from [<c0039668>] (raw_notifier_call_chain+0x14/0x18)
[<c0039668>] (raw_notifier_call_chain+0x14/0x18) from [<c03a0c4c>] (__dev_notify_flags+0x2c/0x60)
[<c03a0c4c>] (__dev_notify_flags+0x2c/0x60) from [<c03a0cbc>] (dev_change_flags+0x3c/0x44)
[<c03a0cbc>] (dev_change_flags+0x3c/0x44) from [<c03f0178>] (devinet_ioctl+0x294/0x6a0)
[<c03f0178>] (devinet_ioctl+0x294/0x6a0) from [<c038d8a4>] (sock_ioctl+0x230/0x28c)
[<c038d8a4>] (sock_ioctl+0x230/0x28c) from [<c00c8bb8>] (vfs_ioctl+0x28/0x3c)
[<c00c8bb8>] (vfs_ioctl+0x28/0x3c) from [<c00c96fc>] (do_vfs_ioctl+0x548/0x5b0)
[<c00c96fc>] (do_vfs_ioctl+0x548/0x5b0) from [<c00c9794>] (sys_ioctl+0x30/0x58)
[<c00c9794>] (sys_ioctl+0x30/0x58) from [<c0008ba0>] (ret_fast_syscall+0x0/0x2c)
Code: e2822001 e58420a4 e121f003 e5953028 (e5d31000)
2012 Nov 30 20:51:19 vortex Internal error: Oops: 17 [#1] PREEMP---[ end trace 454af3301733b770 ]---
T ARM
2012 Nov 30 20:51:19 vortex Process ifconfig (pid: 1274, stack limit = 0xdf2d2270)
2012 Nov 30 20:51:19 vortex Stack: (0xdf2d3df8 to 0xdf2d4000)
2012 Nov 30 20:51:19 vortex 3de0:                                                       de97c000 000000ff
2012 Nov 30 20:51:19 vortex 3e00: de8e6500 df2a9800 de8f5220 de8e6444 00008914 00000000 de97c000 000000ff
2012 Nov 30 20:51:19 vortex 3e20: de8e6500 bf054ac8 00000000 df2d3e44 de8e6400 de8e640c de8f5200 bf0595bc
2012 Nov 30 20:51:19 vortex 3e40: de8e6500 00000001 00000001 bf0155a0 bf0325f8 00000001 fffffff5 00000000
2012 Nov 30 20:51:19 vortex 3e60: 00000001 df2a9800 c06532e8 00000000 be807a5c c047109c df2a9800 00000001
2012 Nov 30 20:51:19 vortex 3e80: 00000000 00000001 df2a9800 c0039668 00000000 00000001 df2a9800 c03a0c4c
2012 Nov 30 20:51:19 vortex 3ea0: df340900 df2a9800 00001002 c03a0cbc 00000000 df2cc60c df2cc600 c03f0178
2012 Nov 30 20:51:19 vortex 3ec0: 6e616c6d 00000030 00000000 00000000 b6f11043 be807e45 00000000 0001e27c
2012 Nov 30 20:51:19 vortex 3ee0: b6f11002 00008914 df87a980 be807a5c 00000004 c0008d04 df2d2000 be807a5c
2012 Nov 30 20:51:19 vortex 3f00: df507b20 c038d8a4 be807a5c df87a980 00008914 c00c8bb8 0000c000 c00c96fc
2012 Nov 30 20:51:19 vortex 3f20: 00000000 df4cbcc0 df62fd40 00000001 00000002 00000000 00000000 c0008d04
2012 Nov 30 20:51:19 vortex 3f40: df800640 de85a000 00000000 c00b5350 df802300 000000d0 df2d3f78 df8a9b00
2012 Nov 30 20:51:19 vortex 3f60: 00000004 be807a5c df87a980 00008914 00000004 c0008d04 df2d2000 00000000
2012 Nov 30 20:51:19 vortex 3f80: be807e45 c00c9794 00000004 00000000 be807a5c 0001ea80 0001e7fc be807b38
2012 Nov 30 20:51:19 vortex 3fa0: 00000036 c0008ba0 0001ea80 0001e7fc 00000004 00008914 be807a5c 00001002
2012 Nov 30 20:51:19 vortex 3fc0: 0001ea80 0001e7fc be807b38 00000036 0001ea88 00000075 b6f2cfb8 be807e45
2012 Nov 30 20:51:19 vortex 3fe0: 0001e198 be807a4c 0000b508 b6e6359c 60000010 00000004 00000000 00000000
2012 Nov 30 20:51:19 vortex Code: e2822001 e58420a4 e121f003 e5953028 (e5d31000)
Segmentation fault
[root@vortex ~]# reboot

Broadcast message from root@vortex.mersenne.com (ttyS0) (Fri Nov 30 20:51:26 The system is going down for reboot NOW!
INIT: INIT: Sending
 > Initiating Shutdown...
 
:: Stopping Secure Shell Daemon    [BUSY]    [DONE]
:: Stopping Secure Shell Sessions    [BUSY]    [DONE]
:: Stopping crond daemon    [BUSY]    [DONE]
:: Unmounting Network Filesystems    [BUSY]    [DONE]
:: Stopping Network    [BUSY]    [DONE]
:: Stopping Syslog-NG    [BUSY]    [DONE]
:: Saving Random Seed    [BUSY]    [DONE]
:: Configuring Time Zone    [BUSY]    [DONE]
:: Shutting down UDev    [BUSY]    [DONE]
:: Sending SIGTERM To Processes    [BUSY]
 
Logged

cbxbiker61
Global Moderator
Sr. Member
*****

Karma: 38
Posts: 497


View Profile
« Reply #4 on: December 01, 2012, 01:40:47 AM »

Maybe you haven't installed the firmware file?  This is from the README in the mwifiex kernel source directory.  If that doesn't do it you'll have to figure out who the maintainer is for mwifiex.

1) FOR DRIVER INSTALL

   a) Copy sd8787.bin to /lib/firmware/mrvl/ directory,
      create the directory if it doesn't exist.
   b) Install WLAN driver,
      insmod mwifiex.ko
   c) Uninstall WLAN driver,
      ifconfig mlanX down
      rmmod mwifiex
Logged

spacewrench
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #5 on: December 01, 2012, 09:37:01 AM »

I think it's there:

Code:
[root@vortex mrvl]# md5sum /lib/firmware/mrvl/*
43bbe1c1f003e50f2cb0daccedadbf8f  /lib/firmware/mrvl/helper_sd.bin
52cd8f8296b9a7e1d3835d57416256b2  /lib/firmware/mrvl/sd8688_ap.bin
9df502bcc129ac4b453ffeecbcaa9152  /lib/firmware/mrvl/sd8688.bin
43bbe1c1f003e50f2cb0daccedadbf8f  /lib/firmware/mrvl/sd8688_helper.bin
24bdeeb5c3a39a02817d793c4e3e1eaf  /lib/firmware/mrvl/sd8787_uapsta.bin
e86e5fc5d33c3f2e2bce47495c2a1d59  /lib/firmware/mrvl/sd8787_uapsta_w1.bin

During boot up, it says the firmware is active:

Code:
@mwifiex_sdio mmc0:0001:1: WLAN FW is active   [DONE]

Are there different versions released?  I'll try booting from power off to see if a fresh firmware load helps.

Oh, maybe there's different FW for host & client mode?  I don't have sd8787.bin.

Thx,
Logged

panachoi
Newbie
*

Karma: 0
Posts: 9


View Profile
« Reply #6 on: December 14, 2012, 09:22:50 PM »

I'm a bit lost now. I'm attempting to get wifi working (station preferably, but I'll take client mode) on my guruplug server plus. Up until 3.5.3 (using cbxbiker61 kernels), this all worked without problems. Seems that as of 3.6, the LIBERTAS_UAP driver is just gone. Alas, after unblacklisting the libertas_sdio driver, even that fails to load the firmware (yes, I do have it in both /lib/firmware/mrvl and lib/firmware/libertas) on 3.6.10.

So, does the mwifiex driver work on the guruplug server plus, or is there some other way to get the wifi working  again ?

Or should I just forget about my guruplug and concentrate on my Raspi ?

TIA
Logged

cbxbiker61
Global Moderator
Sr. Member
*****

Karma: 38
Posts: 497


View Profile
« Reply #7 on: December 18, 2012, 02:47:08 AM »

As far as I know the mwifiex driver is supposed to work with that hardware.  I personally don't have the hardware to test it though.  I'm limited to the original SheevaPlug.

I'll build a 3.7.x kernel when I get a chance.  Who knows maybe that will work.
Logged

UnaClocker
Full Member
***

Karma: 0
Posts: 131



View Profile WWW
« Reply #8 on: December 29, 2012, 06:54:59 PM »

I've got your 3.7.1 kernel running on my Sheeva. Seems to be working just fine. Should note, I couldn't find a README-xxxxx.sh anywhere on your server, it seems to be called UPDATE-SHEEVA-KERNEL.sh
Logged

SheevaPlug - 8gb class 4 SDHC primary drive, 4tb 3.5" media drive, Debian Wheezy, nginx, Samba, Shorewall

panachoi
Newbie
*

Karma: 0
Posts: 9


View Profile
« Reply #9 on: March 22, 2013, 07:14:54 AM »

I just downloaded your 3.8.4 kernel, which behaves much better on the guruplug server plus with the SD8686 wireless. I can now load the libertas_sdio module without errors. Alas, this gives me client mode only.

Any chance you can enable the LIBERTAS_THINFIRM module in the next builds ? I think that with this module enable, we might be able (with the appropriate thin firmware, and hostapd) to use the SD8686 equipped machines as APs (how well, I cannot say, but it seems to work for the XO project)...

Thanks.

Logged

cbxbiker61
Global Moderator
Sr. Member
*****

Karma: 38
Posts: 497


View Profile
« Reply #10 on: March 24, 2013, 07:54:16 PM »

I just downloaded your 3.8.4 kernel, which behaves much better on the guruplug server plus with the SD8686 wireless. I can now load the libertas_sdio module without errors. Alas, this gives me client mode only.

Any chance you can enable the LIBERTAS_THINFIRM module in the next builds ? I think that with this module enable, we might be able (with the appropriate thin firmware, and hostapd) to use the SD8686 equipped machines as APs (how well, I cannot say, but it seems to work for the XO project)...

Thanks.

I've just made a 3.8.4 release 2 with LIBERTAS_THINFIRM module.  See if that works for you.


Logged

bad_gui
Jr. Member
**

Karma: 0
Posts: 50


View Profile
« Reply #11 on: April 29, 2013, 05:42:26 PM »

Thanks for providing a benefit to the community.

I tried the UPDATE-KERNEL.sh script on your site to upgrade my Guruplug Server Plus to 3.9.0
and my /boot is on an eSATA drive

Code:
Downloading files
--2013-04-29 20:15:28--  http://www.xilka.com/kernel/3/3.9/3.9.0/release/3/
Resolving www.xilka.com (www.xilka.com)... 173.208.58.22, 108.62.228.158
Connecting to www.xilka.com (www.xilka.com)|173.208.58.22|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2013-04-29 20:15:29 ERROR 404: Not Found.

When I go to that folder with my browser, I don't see a kirkwood-sheevaplug-3.9.0-uImage
but I do see the following:


I need to modify the script to grab this file instead of a uImage?

http://www.xilka.com/kernel/3/3.9/3.9.0/release/3/kirkwood-3.9.0-zImage



What about these?

http://www.xilka.com/kernel/3/3.9/3.9.0/release/3/kirkwood-sheevaplug-3.9.0.dtb

http://www.xilka.com/kernel/3/3.9/3.9.0/release/3/kirkwood-sheevaplug-esata-3.9.0.dtb

http://www.xilka.com/kernel/3/3.9/3.9.0/release/3/kirkwood-guruplug-server-plus-3.9.0.dtb

Which of these is correct one for my device (I want to use it as an AP as well) ?


Logged

cbxbiker61
Global Moderator
Sr. Member
*****

Karma: 38
Posts: 497


View Profile
« Reply #12 on: April 30, 2013, 01:59:36 AM »

OK, well I've been converting to devicetree based kernels for arm.  This will allow me to properly support quite a few variations of the kirkwood and dove based devices, others as well (DeviceTree is awesome from a distribution standpoint).

UPDATE-KERNEL.sh will work with the kernel's starting at 3.9.0, for anything prior, continue to use the older scripts.

The UPDATE-KERNEL.sh is a work-in-progress, right now I know it works properly on SheevaPlug's and CuBox's.  Theoretically it will work for the other variations as well, feedback would be appreciated.

UPDATE-KERNEL.sh attempts to identify the device based on entries in the /proc filesystem.  In those cases where it id's the device correctly, all that is necessary is "sudo ./UPDATE-KERNEL.sh 3.9.0", for devices that aren't id'd correctly "sudo ./UPDATE-KERNEL.sh 3.9.0 device-type" should work.

The earliest version of UPDATE-KERNEL.sh, wasn't optimal (from a distribution standpoint), and I rewrote it to download the zImage and a corresponding .dtb file, that will be the version that you want.  You can grab it from http://www.xilka.com/sheeva/tmp/UPDATE-KERNEL.sh (the version in /sheeva should be OK after the web server caches have a chance to update).  Keep in mind that I haven't got auto detection setup properly for devices other than SheevaPlug, SheevaPlug-eSATA and CuBox.  After you have installed a device-tree kernel, from that point on the auto-detection should work reliably since I can use entries in /proc/device-tree.

Logged

birdman
Sr. Member
****

Karma: 4
Posts: 443


View Profile WWW
« Reply #13 on: April 30, 2013, 05:19:16 PM »

OK, well I've been converting to devicetree based kernels for arm.
I download your kernels from a different system to the Plug computer.
So running the script produces:
Code:
[mysys]: sh ../UPDATE-KERNEL.sh 3.9.0 sheevaplug
../UPDATE-KERNEL.sh: line 38: Unknown architecture: x86_64: command not found
I take it I can just download the relevant files and run the magic in MkImage() to get a uImage file?
Logged

Pages: [1]
Print
Jump to: