-
Notifications
You must be signed in to change notification settings - Fork 374
Banana Pro image does not boot, mounting problem? #128
Comments
Same thing is happening to me. Looks like the script uses the old patched legacy kernel. 👎 |
You're right, it's loading the 3.4 kernel from the LeMaker repo... Currently the most up to date version would be 4.17. What needs to be done to use another kernel? |
Need to update the script. I was trying to build the kernel and u-boot manually last night and crashed 🤦♂️ Maybe try borrowing some of the Armbian build script and cobble together a new one :/ |
well ur obviously suffering from Aspergers
…________________________________
From: omgkillme <notifications@github.com>
Sent: Thursday, June 7, 2018 6:39 AM
To: offensive-security/kali-arm-build-scripts
Cc: Subscribed
Subject: Re: [offensive-security/kali-arm-build-scripts] Banana Pro image does not boot, mounting problem? (#128)
Same thing is happening to me. Looks like the script uses the old patched legacy kernel. 👎
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#128 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AZJX7K3PrEpKKzbQeJru-clMV2-967Wdks5t6Mq_gaJpZM4USFS4>.
|
Updating to a newer kernel/u-boot is on the roadmap, it just hasn't been done yet. |
That's great, thank you for the info! Is there already a planned timetable for the roadmap? |
No timetable, unfortunately. If you know of a working kernel already, that would be great, otherwise I need to continue looking around myself. Last I knew mainline kernels were still missing support for various bits and pieces. The LeMaker GitHub doesn't seem to have a 4.x kernel posted, but they do have a newer u-boot which is at least a step in the right direction. |
I'd love to help, but sadly the kernel and it's usage are above my capabilities. I never found the time to get into that knowledge... So I'm very thankful for anyone who can find the time and is willing to invest it in projects like these builscripts. |
There's no time like the present to learn! But seriously, you don't necessarily need to know kernel development in order to build a kernel and test it. The build scripts are set up to allow you to replace the current kernel checkout with a new one fairly easily. I plan to look at armbian's kernel work on the sunxi boards, because they're a great group of people working on it, and I know they focus mostly on sunxi type boards. Even just pulling the kernel the way they do, and then applying the patches and testing that it even builds would be a good start |
Still doesn't boot on banana pro :-( |
Please (if anyone is in charge of them) edit the Kali BananaPi downloads web page to indicate the builds are broken. People are wasting time trying it (like me). Thanks! ;-) |
The actual BPi hardware? I have a stack of 'em and nothing has changed; Allwinner A20 etc. I tried several boards, SD cards etc with 100% consistent result, fails to mount the root fs, like this:
everything else earlier in the boot looks reasonable (it sees USB devices etc), note it correctly reads the two partitions on the card. I can mount partition 2 fine on another device with an external sd reader) Full log at https://pastebin.com/884AyrmD this is with https://images.offensive-security.com/arm-images/kali-linux-2018.4-bananapi.img.xz on Banana Pi M1 |
It's mounting the partition, but then for some reason, it's failing the checks on /sys,/proc, and /dev - I'm not sure what is going on there - if you have another linux system, can you mount the second partition of the sdcard and look at the device nodes in /dev - if Bad descriptor typically means its corrupt in some way - what size sdcard are you using? |
32GB sd card. Mounts cleanly on a USB reader. SD card is good quality, I tried another one too, same thing. |
That's definitely odd; can you try re-creating the /dev/null and /dev/console devices on the sdcard? If you're not familiar, it would look something like...
Then attempt to boot again? I'm wondering if the character devices in /dev are broken somehow. |
Before: (original image mounted on usb reader)
I remade the nodes anyway, wrote to card, rebooted, same systemd error:
When mounted on another sbc (orange pi, 3.4 kernel) fsck reports the partition is fine
I use armbian a lot and on their forum someone refers to same boot-time error as "probably a systemd bug" |
This message on the Arch Linux site suggestions that it's not so much a "systemd bug" as it is a bad interaction between a newer systemd and an older kernel. I'm not in a position to build ARM stuff. Are there older Kali Linux releases archived anywhere? Would it be possible to mark this image "non-functional" |
ps. I'm seeing the failure on a third gen Banana Pi Pro. |
Indeed, I need to look into moving the bananap* devices to a newer kernel.
Conceivably, they should work, I just haven’t had a chance to test or look
into it
On Sat, Jan 19, 2019 at 6:43 PM George Hartzell ***@***.***> wrote:
ps. I'm seeing the failure on a third gen Banana Pi Pro.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#128 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAcysSHk2pUrYs7Wbh8ESuO8j0WS22qks5vE62ugaJpZM4USFS4>
.
--
Sent from my iPhone.
|
To cycle back to this as well - we do need a newer kernel being used on the devices - systemd's readme ( https://github.com/systemd/systemd/blob/master/README#L34 ) says that it requires 3.13 as the minimum kernel, so I need to move the kernels for most of the boards to newer kernels when they have lower than that. |
Hello, I ran into a problem when installing Kali to my Banana Pro. I tried the official Kali Linux ARM images as well as building my own with the scripts from this repository, both produced the same outcome.
When powering up the board with only a keyboard, a mouse and an HDMI cable attached to it, it takes a few seconds for the Monitor to receive a signal. After a second of black, the two Tux icons from the beginning of the boot sequence show up, but then it freezes, no text is displayed.
I connected to the onboard serial console and got the output from U-Boot. The full output can be seen here: serial-output.txt
At the end, these error messages appear:
The timing of the freeze messages on the last three lines matches with the appearance of the Tux icons on the monitor.
Did anybody encounter something like that before? Any suggestions on what to try next?
PS: I hope I'm at the right place to ask stuff like this.
PPS: I am sure that all the hardware I use is okay. I'm using a 5V/2A power supply which should be enough and when I flash Bananian, Raspbian for Banana Pro and other distributions to the same card, everything works just fine... Just Kali is giving me a hard time, so I'd appreciate every and all help.
The text was updated successfully, but these errors were encountered: