Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.12.0 git 4f8a88a40eda2b4c6733127e9e460c55ffa320d1 #422

Closed
ghost opened this issue Nov 7, 2013 · 8 comments
Closed

3.12.0 git 4f8a88a40eda2b4c6733127e9e460c55ffa320d1 #422

ghost opened this issue Nov 7, 2013 · 8 comments

Comments

@ghost
Copy link

ghost commented Nov 7, 2013

Built the 3.12.y kernel current as of today (2013-11-07) last commit:
4f8a88a

The config used is (unchanged) bcmrpi_defconfig.

At boot, the kernel hangs hard immediately after initializing the smsc95xx (see attached image). The only way to recover is to power down and switch back to an older kernel on the sdcard.

tvtime-output-05 19 35 pm

@popcornmix
Copy link
Collaborator

Do you have any usb devices plugged in? Can you try booting without any?

@ghost
Copy link
Author

ghost commented Nov 8, 2013

There are no USB devices plugged in (the Ethernet is of course USB). The previous kernel I used, built the same way, is 3.11.7 and boots correctly. This is a 512MB model B Raspberry Pi.

@ghost
Copy link
Author

ghost commented Nov 8, 2013

Some additional notes...

I'm using the latest Pidora 18 (fully updated), with raspberrypi-vc-firmware-20131018git4c14569-5.rpfr18.armv6hl. The kernel is built on my desktop with the cross compilation tool chain obtained with:

git clone git://github.com/raspberrypi/tools.git

I've tried building with both softfp and hardfp, with the same result, though I don't know if that makes a difference for the kernel.

@popcornmix
Copy link
Collaborator

Out of interest, here is a 3.12 kernel I've build (without the modules).
https://dl.dropboxusercontent.com/u/3669512/temp/kernel.img
Does that boot for you?

@ghost
Copy link
Author

ghost commented Nov 8, 2013

No, it hangs at the same point.

@ghost
Copy link
Author

ghost commented Nov 8, 2013

I also tried updating the firmware to the newer upstream with Hexxeh / rpi-update:

   # SKIP_KERNEL=1 rpi-update

   # vcgencmd version
   Nov  7 2013 16:49:03 
   Copyright (c) 2012 Broadcom
   version 8573b0747a17baf22e97e08254737a13d80430dd (clean) (release)

The 3.12 kernel still hangs at the same point, and the 3.11.7 kernel still boots normally.

@P33M
Copy link
Contributor

P33M commented Nov 9, 2013

Dupe of #423

Please test latest; a potential fix has been pushed.

@ghost
Copy link
Author

ghost commented Nov 9, 2013

Confirmed. The fix corrects the issue. Closing.

@ghost ghost closed this as completed Nov 9, 2013
popcornmix pushed a commit that referenced this issue Jun 10, 2019
Static code analyzer warns that index value for scratch_pt may be equal
to -1. Index value type is intel_gvt_gtt_type_t, so it may be any number
at range -1 to 17. Check first if cur_pt_type and cur_pt_type+1 is valid
values.

v2:
 - Print some error messages if page table type is invalid. (Colin Xu)

v4:
 - Print cur_pt_type in error message. (Colin Xu)

This patch fixed the critial issue #422 reported by klocwork.

Acked-by: Colin Xu <[email protected]>
Signed-off-by: Aleksei Gimbitskii <[email protected]>
Cc: Zhenyu Wang <[email protected]>
Cc: Zhi Wang <[email protected]>
Cc: Colin Xu <[email protected]>
Signed-off-by: Zhenyu Wang <[email protected]>
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants