Jump to content

Recommended Posts

  • Replies 113
  • Created
  • Last Reply

Hi,

I don't know how to debug this, it looks like a hardware problem, but might also be a software I/O issue, so...

In short, it seems that my Nano (version 1.0.5 -- but it also happened with previous firmwares) randomly fails to read blocks from the SD. To verify this, I have launched fsck three times in a row (without fixing the errors, just to see what it detects) : everytime, it detects bad blocks, but never at the same place.

Also, writing big files (> 50 mb) at once almost always triggers FS corruption, so my guess is, random I/O errors are responsible for this.

Also from dmesg, I can see that from time to time, the SD card does not mount and is seen as corrupt -- but not always and sometimes it mounts fine and the filesystem can be used.

I have tested this with two different SD cards :

- 8 gb, bad quality SD card

- 64 gb, professional quality & high speed (Lexar)

(useless to say that the cards work fine on other computers...)

And with two different FS types (ext4, ext3).

A few days ago the Pineapple entered in a weird state : it repeatedly attempted to mount the SD card in a loop, and each time it would also kill all wifi interfaces and bring them up again. As if there was a general bus error. After several reboots, the Nano deciced (God knows why) to mount its filesystem in read-only mode, and the only way out was to flash the firmware.

Has anybody seen something similar ?

It really looks like hardware failure... But might be a kernel / driver failure too...

Regards

Link to comment
Share on other sites

Same problem here. The device is working excellently but saving output does not work because the SD will not mount. And formatting it using the web interface does not solve my problem.

Please provide some clear information on how to fix this. Or bugfix this in a soon comming update.

Untill then the device is useless to me.

Link to comment
Share on other sites

One question .fresh out of box.what format should I format the microsd card to before I even fire it up. Want to make the perfect install.

FYI I don't want to use the pineapple version GUI format SD card.I want to have it all ready and properly formatted before I even fire up the device the first time

Thx

Link to comment
Share on other sites

One question .fresh out of box.what format should I format the microsd card to before I even fire it up. Want to make the perfect install.

FYI I don't want to use the pineapple version GUI format SD card.I want to have it all ready and properly formatted before I even fire up the device the first time

Thx

Format the card ext4. Why do you not want to use the built in function, by the way?

Best Regards,

Sebkinne

Link to comment
Share on other sites

  • 2 weeks later...

Is this some kind of joke!!! My nano arrived today and I updated the the firmware as per set up, plugged in a 16gb sd card formatted it.

but when installing 2 modules i run out of space. I know bill gates sells faulty goods as the norm, but I thought we were better than that in the linux community. I am completley peed of with this its not as if in the current climate weve all got money to throw away.

Link to comment
Share on other sites

Hi,

I'm seeing a lot of "Write-error on swap-device" message in dmesg. How can I debug this?

root@Pineapple:/# dmesg | grep Write-error

[ 801.090000] Write-error on swap-device (8:0:48)

[ 809.960000] Write-error on swap-device (8:0:56)

[ 809.980000] Write-error on swap-device (8:0:64)

[ 809.980000] Write-error on swap-device (8:0:72)

[ 809.980000] Write-error on swap-device (8:0:80)

[ 810.250000] Write-error on swap-device (8:0:88)

[ 1395.060000] Write-error on swap-device (8:0:96)

[ 1400.080000] Write-error on swap-device (8:0:104)

[ 1400.100000] Write-error on swap-device (8:0:112)

[ 1400.100000] Write-error on swap-device (8:0:120)

[ 1400.260000] Write-error on swap-device (8:0:128)

[ 1400.260000] Write-error on swap-device (8:0:136)

[ 1400.260000] Write-error on swap-device (8:0:144)

[ 1400.300000] Write-error on swap-device (8:0:152)

[ 1400.800000] Write-error on swap-device (8:0:160)

[ 1401.010000] Write-error on swap-device (8:0:168)

[ 1401.010000] Write-error on swap-device (8:0:176)

[ 1402.700000] Write-error on swap-device (8:0:184)

[ 1402.700000] Write-error on swap-device (8:0:192)

[ 1402.740000] Write-error on swap-device (8:0:200)

[ 1402.740000] Write-error on swap-device (8:0:208)

[ 1403.290000] Write-error on swap-device (8:0:216)

[ 1403.290000] Write-error on swap-device (8:0:224)

[ 1403.340000] Write-error on swap-device (8:0:232)

[ 1403.570000] Write-error on swap-device (8:0:240)

[ 1403.570000] Write-error on swap-device (8:0:248)

[ 1403.590000] Write-error on swap-device (8:0:256)

[ 1403.590000] Write-error on swap-device (8:0:264)

[ 1403.620000] Write-error on swap-device (8:0:272)

[ 1403.620000] Write-error on swap-device (8:0:280)

[ 1403.620000] Write-error on swap-device (8:0:288)

[ 1403.650000] Write-error on swap-device (8:0:296)

[ 1403.780000] Write-error on swap-device (8:0:304)

[ 1403.780000] Write-error on swap-device (8:0:312)

[ 1403.820000] Write-error on swap-device (8:0:320)

[ 1403.820000] Write-error on swap-device (8:0:328)

[ 1403.830000] Write-error on swap-device (8:0:336)

[ 1403.860000] Write-error on swap-device (8:0:344)

[ 1403.870000] Write-error on swap-device (8:0:352)

[ 1403.870000] Write-error on swap-device (8:0:360)

[ 1403.940000] Write-error on swap-device (8:0:368)

[ 1403.940000] Write-error on swap-device (8:0:376)

[ 1403.950000] Write-error on swap-device (8:0:384)

[ 1403.950000] Write-error on swap-device (8:0:392)

[ 1404.000000] Write-error on swap-device (8:0:400)

[ 1404.060000] Write-error on swap-device (8:0:408)

[ 1404.060000] Write-error on swap-device (8:0:416)

[ 1404.160000] Write-error on swap-device (8:0:424)

[ 1404.160000] Write-error on swap-device (8:0:432)

[ 1404.160000] Write-error on swap-device (8:0:440)

[ 1404.220000] Write-error on swap-device (8:0:448)

[ 1404.380000] Write-error on swap-device (8:0:456)

[ 1404.540000] Write-error on swap-device (8:0:464)

[ 1404.540000] Write-error on swap-device (8:0:472)

[ 1404.540000] Write-error on swap-device (8:0:480)

[ 1404.600000] Write-error on swap-device (8:0:488)

[ 1404.670000] Write-error on swap-device (8:0:496)

[ 1404.690000] Write-error on swap-device (8:0:504)

[ 1404.690000] Write-error on swap-device (8:0:512)

[ 1404.690000] Write-error on swap-device (8:0:520)

[ 1404.730000] Write-error on swap-device (8:0:528)

[ 1404.730000] Write-error on swap-device (8:0:536)

[ 1404.730000] Write-error on swap-device (8:0:544)

[ 1404.750000] Write-error on swap-device (8:0:552)

[ 1638.670000] Write-error on swap-device (8:0:560)

[ 1641.280000] Write-error on swap-device (8:0:568)

[ 2145.720000] Write-error on swap-device (8:0:576)

[ 2145.720000] Write-error on swap-device (8:0:584)

[ 2146.350000] Write-error on swap-device (8:0:592)

[ 2146.350000] Write-error on swap-device (8:0:600)

[ 2146.360000] Write-error on swap-device (8:0:608)

[ 2146.360000] Write-error on swap-device (8:0:616)

[ 2146.370000] Write-error on swap-device (8:0:624)

[ 2146.370000] Write-error on swap-device (8:0:632)

[ 2154.320000] Write-error on swap-device (8:0:640)

[ 2154.330000] Write-error on swap-device (8:0:648)

[ 2154.330000] Write-error on swap-device (8:0:656)

[ 2154.340000] Write-error on swap-device (8:0:664)

[ 2154.340000] Write-error on swap-device (8:0:672)

[ 2154.340000] Write-error on swap-device (8:0:680)

[ 2154.350000] Write-error on swap-device (8:0:688)

[ 2154.350000] Write-error on swap-device (8:0:696)

[ 2154.360000] Write-error on swap-device (8:0:704)

[ 2154.360000] Write-error on swap-device (8:0:712)

[ 2154.370000] Write-error on swap-device (8:0:720)

[ 2154.370000] Write-error on swap-device (8:0:728)

[ 2154.380000] Write-error on swap-device (8:0:736)

[ 2154.380000] Write-error on swap-device (8:0:744)

[ 2154.940000] Write-error on swap-device (8:0:752)

[ 2154.940000] Write-error on swap-device (8:0:760)

[ 2154.940000] Write-error on swap-device (8:0:768)

[ 2154.950000] Write-error on swap-device (8:0:776)

[ 2154.950000] Write-error on swap-device (8:0:784)

[ 2154.960000] Write-error on swap-device (8:0:792)

[ 2233.490000] Write-error on swap-device (8:0:800)

[ 2233.510000] Write-error on swap-device (8:0:808)

[ 2233.510000] Write-error on swap-device (8:0:816)

[ 2233.780000] Write-error on swap-device (8:0:824)

[ 2233.780000] Write-error on swap-device (8:0:832)

[ 2233.800000] Write-error on swap-device (8:0:840)

[ 2233.800000] Write-error on swap-device (8:0:848)

[ 2233.900000] Write-error on swap-device (8:0:856)

[ 2233.900000] Write-error on swap-device (8:0:864)

[ 2233.990000] Write-error on swap-device (8:0:872)

[ 2233.990000] Write-error on swap-device (8:0:880)

[ 2234.010000] Write-error on swap-device (8:0:888)

[ 2234.010000] Write-error on swap-device (8:0:896)

[ 2234.020000] Write-error on swap-device (8:0:904)

[ 2234.030000] Write-error on swap-device (8:0:912)

[ 2234.370000] Write-error on swap-device (8:0:920)

[ 2234.390000] Write-error on swap-device (8:0:928)

[ 2234.400000] Write-error on swap-device (8:0:936)

[ 2234.400000] Write-error on swap-device (8:0:944)

[ 2234.400000] Write-error on swap-device (8:0:952)

[ 2234.670000] Write-error on swap-device (8:0:960)

[ 2234.670000] Write-error on swap-device (8:0:968)

[ 2234.670000] Write-error on swap-device (8:0:976)

[ 2234.690000] Write-error on swap-device (8:0:984)

[ 2234.690000] Write-error on swap-device (8:0:992)

[ 2234.780000] Write-error on swap-device (8:0:1000)

[ 2234.780000] Write-error on swap-device (8:0:1008)

[ 2234.800000] Write-error on swap-device (8:0:1016)

[ 2234.800000] Write-error on swap-device (8:0:1024)

[ 2234.900000] Write-error on swap-device (8:0:1032)

[ 2234.990000] Write-error on swap-device (8:0:1040)

[ 2234.990000] Write-error on swap-device (8:0:1048)

[ 2234.990000] Write-error on swap-device (8:0:1056)

[ 2235.010000] Write-error on swap-device (8:0:1064)

[ 2235.010000] Write-error on swap-device (8:0:1072)

[ 2235.110000] Write-error on swap-device (8:0:1080)

[ 2235.110000] Write-error on swap-device (8:0:1088)

[ 2235.110000] Write-error on swap-device (8:0:1096)

[ 2235.140000] Write-error on swap-device (8:0:1104)

[ 2235.140000] Write-error on swap-device (8:0:1112)

[ 2235.140000] Write-error on swap-device (8:0:1120)

[ 2235.390000] Write-error on swap-device (8:0:1128)

[ 2235.390000] Write-error on swap-device (8:0:1136)

[ 2235.390000] Write-error on swap-device (8:0:1144)

[ 2334.180000] Write-error on swap-device (8:0:1152)

[ 2334.180000] Write-error on swap-device (8:0:1160)

[ 2334.200000] Write-error on swap-device (8:0:1168)

[ 2334.200000] Write-error on swap-device (8:0:1176)

[ 2334.200000] Write-error on swap-device (8:0:1184)

[ 2334.210000] Write-error on swap-device (8:0:1192)

[ 2334.210000] Write-error on swap-device (8:0:1200)

[ 2334.230000] Write-error on swap-device (8:0:1208)

[ 2334.230000] Write-error on swap-device (8:0:1216)

[ 2335.730000] Write-error on swap-device (8:0:1224)

[ 2335.730000] Write-error on swap-device (8:0:1232)

[ 2335.760000] Write-error on swap-device (8:0:1240)

[ 2335.760000] Write-error on swap-device (8:0:1248)

[ 2335.760000] Write-error on swap-device (8:0:1256)

[ 2335.780000] Write-error on swap-device (8:0:1264)

[ 2335.780000] Write-error on swap-device (8:0:1272)

[ 2335.780000] Write-error on swap-device (8:0:1280)

[ 2335.790000] Write-error on swap-device (8:0:1288)

[ 2335.790000] Write-error on swap-device (8:0:1296)

[ 2335.800000] Write-error on swap-device (8:0:1304)

[ 2335.800000] Write-error on swap-device (8:0:1312)

[ 2336.820000] Write-error on swap-device (8:0:1320)

[ 2336.840000] Write-error on swap-device (8:0:1328)

[ 2336.840000] Write-error on swap-device (8:0:1336)

[ 2336.840000] Write-error on swap-device (8:0:1344)

[ 2336.850000] Write-error on swap-device (8:0:1352)

[ 2336.850000] Write-error on swap-device (8:0:1360)

[ 2336.860000] Write-error on swap-device (8:0:1368)

[ 2336.860000] Write-error on swap-device (8:0:1376)

[ 2336.880000] Write-error on swap-device (8:0:1384)

[ 2355.620000] Write-error on swap-device (8:0:1392)

root@Pineapple:/#

Link to comment
Share on other sites

Hi,

When you post large logs, please use the

[spoiler] [/spoiler]

tags, it makes it much easier to read through the thread :)

Does this happen when you remove the SDcard? I would assume not, but i'm not sure.

Have you tried using different SD Cards?

Link to comment
Share on other sites

Same problem here. The device is working excellently but saving output does not work because the SD will not mount. And formatting it using the web interface does not solve my problem.

Please provide some clear information on how to fix this. Or bugfix this in a soon comming update.

Untill then the device is useless to me.

Same issue i have.I install all modules on my sandisk class 10 8 gb and try my other class 10 sandisk 16 gb ,i want to use modules,clicked and it seems freezing next the device restarted automatically.

Same problem here with a class 10 8gb card.. It says the module installs but as soon as you go back to Manage it just indefinitely loads.

Can someone please help?

Link to comment
Share on other sites

  • 2 weeks later...

hi all, i have a question about the sd card, iv put a 64gb micro sd in,formatted it and installed the modules and dependencies onto it, iv been trying to install reaver and wifite onto the nano, it just wont do it, im taking it as its trying to install to internal and not sd?

again thankyou for any help, i am a noob, my knowledge is very limited but i am trying to learn all this, i only started out with linux(kali) and wifi pentesting in this last year,before that i knew nothing about it, iv been looking at the pineapples for a few months and i decided to just go for it, learn by jumping in feet first, so i bought the tactical nano, its a learning curve,it arrived yesterday and iv reset it 3 times now, but im getting there slowly

Link to comment
Share on other sites

  • 3 months later...
  • 2 weeks later...

Hi, yeah i've tried all sorts, factory reset, many various cards, various compatable formats, running gui usb format/reboot,

The problem is no matter which micro sd I use, basically if I download some modules after format/reboot, then say I download any amount of module to the sd card, and perfom a reboot, go back to modules, all empty, I check the logs :

/dev/sdcard/sd2 is not a block device or file
kern.info kernel: [  225.910000]  sda: sda2
daemon.err block: Unkown action change
daemon.err block: failed to swapoff /dev/sdcard/sd2 (-1)
daemon.err block: failed to swapon /dev/sdcard/sd2 (-1)
kern.err kernel: [  226.440000] Unable to find swap-space signature
kern.info kernel: [  230.790000] Adding 28k swap on /dev/sdcard/sd2.  Priority:-1 extents:1 across:28k [/spolier]

Checking the sd card, it seems it does not want to mount on reboot, it's been like this for ages, it was only recently I aquired many sd cards to test on it. saving modules to internal works for reboot, but yeah I know i should'nt, any one else have the same problem?

Link to comment
Share on other sites

  • 2 weeks later...

I purchased a Pineapple Nano at DC24 5 days ago and I cannot get the Micro SD card to mount.  I have tried several which all work in other devices and I have tried formatted and Nano formatted cards.  I am not trying to do anything fancy and that doesn't follow the standard Nano work-flow.  However, the format-reboot-repeat advice isn't working.  The contents of the Nanos Fstab are as follows:

<spoiler>
config 'global'
    option    anon_swap    '0'
    option    anon_mount    '0'
    option    auto_swap    '1'
    option    auto_mount    '1'
    option    delay_root    '5'
    option    check_fs    '0'

config 'mount'
    option    target        '/sd'
    option    device        '/dev/sdcard/sda'
    option    fstype        'auto'
    option    options        'rw,sync'
    option    enabled        '1'

</spoiler>

The output of fdisk -l on the device are as follows:

<spoiler>

root@Pineapple:~# fdisk -l

Disk /dev/mtdblock0: 0 MB, 131072 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/mtdblock0 doesn't contain a valid partition table

Disk /dev/mtdblock1: 1 MB, 1132544 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/mtdblock1 doesn't contain a valid partition table

Disk /dev/mtdblock2: 15 MB, 15447552 bytes
255 heads, 63 sectors/track, 1 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/mtdblock2 doesn't contain a valid partition table

Disk /dev/mtdblock3: 2 MB, 2293760 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/mtdblock3 doesn't contain a valid partition table

Disk /dev/mtdblock4: 0 MB, 65536 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/mtdblock4 doesn't contain a valid partition table

Disk /dev/mtdblock5: 16 MB, 16580608 bytes
255 heads, 63 sectors/track, 2 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/mtdblock5 doesn't contain a valid partition table

Disk /dev/sda: 33.5 GB, 33554432000 bytes
255 heads, 63 sectors/track, 4079 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1             126        4079    31760505  83 Linux
/dev/sda2               1         125     1004031  83 Linux

Partition table entries are not in disk order
</spoiler>

Last night when working on this, the card showed as /dev/sdc.  I have not changed any of the settings manually and I have reset the device a couple times.  I am at a loss for how to proceed with this.  Any advice would be helpful.

Also, since the storage exceeds the 1024 recommendation, should I divide it into 4 partitions?

Link to comment
Share on other sites

Your sd card is there with 33.5 GB:

Disk /dev/sda: 33.5 GB, 33554432000 bytes
255 heads, 63 sectors/track, 4079 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1             126        4079    31760505  83 Linux
/dev/sda2               1         125     1004031  83 Linux

Can you please post the output for "df -h" ?

Here is my output to compare:

root@Nano:~#  fdisk -l

Disk /dev/mtdblock0: 0 MB, 131072 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/mtdblock0 doesn't contain a valid partition table

Disk /dev/mtdblock1: 1 MB, 1132544 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/mtdblock1 doesn't contain a valid partition table

Disk /dev/mtdblock2: 15 MB, 15447552 bytes
255 heads, 63 sectors/track, 1 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/mtdblock2 doesn't contain a valid partition table

Disk /dev/mtdblock3: 2 MB, 2293760 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/mtdblock3 doesn't contain a valid partition table

Disk /dev/mtdblock4: 0 MB, 65536 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/mtdblock4 doesn't contain a valid partition table

Disk /dev/mtdblock5: 16 MB, 16580608 bytes
255 heads, 63 sectors/track, 2 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/mtdblock5 doesn't contain a valid partition table

Disk /dev/sda: 15.9 GB, 15931539456 bytes
255 heads, 63 sectors/track, 1936 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1             126        1936    14546857+ 83 Linux
/dev/sda2               1         125     1004031  83 Linux

Partition table entries are not in disk order
root@Nano:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
rootfs                    2240       704      1536  31% /
/dev/root                13056     13056         0 100% /rom
tmpfs                    30600       152     30448   0% /tmp
/dev/mtdblock3            2240       704      1536  31% /overlay
overlayfs:/overlay        2240       704      1536  31% /
tmpfs                      512         0       512   0% /dev
/dev/sdcard/sd1       14187488     56852  13386912   0% /sd

 

Link to comment
Share on other sites

I have a problem with the SD Card i think so.

When i format it, i can load the modules at "Manage Modules". But when i install one Module to my sdcard and want to see it. It dosent show me the Module and when i want look at "Manage Modules" it load and load and load. Here the Screenshot:

0620675b14bc12957cf21f1047dc4c0d.png

 

Whats happend?

 

ps: sorry for my bad english

Link to comment
Share on other sites

21 minutes ago, afterburner said:

When I put a 16GB SD card in, it worked like a charm.  The nano just didnt like the larger cards I have.

That's odd. We support up to 128GB cards. It could be the formatting of the card though. You can use the webinterface to format the SD card (in the resources section).

Link to comment
Share on other sites

Here is the SD Card itself I guess (it's 128 MB):

Disk /dev/sdb: 124 MB, 124780544 bytes
255 heads, 63 sectors/track, 15 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

But when I try to mount it says:

mount: mounting /dev/sdb on /sd failed: Device or resource busy

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...