Closed thedude459 closed 12 years ago
Can you please describe exactly what happens before you're Xbian hangs? What are the last messages/errors you can read? What does dmesg say? Etc. Can you SSH into you're Xbian and confirm if XBMC is running or not:
ps -A | grep xbmc.bin
And off course, to have a more profound answer if this is a bug or not, please try reinstalling system and see if the same bug still appears.
So I see a bunch of lines that are scrolling up on startup like I have with all the other Xbian releases and then when it should go to the Xbian Logo nothing happens. The screen is just black. Will dmesg show me what was scrolling on the screen before it froze? I will do what you have suggested and post my results when I get home. Then I will try to install again and see if the same thing happens.
This is dmesg:
[ 0.000000] Linux version 3.2.27+ (root@pi) (gcc version 4.6.3 (Debian 4.6.3-8+rpi1) ) #1 PREEMPT Mon Oct 22 15:56:38 CEST 2012
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine: BCM2708
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] free_area_init_node: node 0, pgdat c0410718, node_mem_map c045e000
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32512 pages, LIFO batch:7
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1080 bcm2708.boardrev=0x2 bcm2708.serial=0x8c4719da smsc95xx.macaddr=B8:27:EB:47:19:DA sdhci-bcm2708.emmc_clock_freq=100000000 vc_mem.mem_base=0x8000000 vc_mem.mem_size=0x10000000 dwc_otg.fiq_fix_enable=1 sdhci-bcm2708.sync_after_dma=0 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Memory: 128MB = 128MB total
[ 0.000000] Memory: 125428k/125428k available, 5644k 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] vmalloc : 0xc8800000 - 0xe8000000 ( 504 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc03cc000 (3856 kB)
[ 0.000000] .init : 0xc03cc000 - 0xc03e8ef0 ( 116 kB)
[ 0.000000] .data : 0xc03ea000 - 0xc0410da0 ( 156 kB)
[ 0.000000] .bss : 0xc0410dc4 - 0xc045d0cc ( 305 kB)
[ 0.000000] NR_IRQS:330
[ 0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms
[ 0.000000] timer_set_mode: unhandled mode:1
[ 0.000000] timer_set_mode: unhandled mode:3
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [tty1] enabled
[ 0.001004] Calibrating delay loop... 697.95 BogoMIPS (lpj=3489792)
[ 0.060158] pid_max: default: 32768 minimum: 301
[ 0.060469] Mount-cache hash table entries: 512
[ 0.060985] CPU: Testing write buffer coherency: ok
[ 0.062238] devtmpfs: initialized
[ 0.072349] NET: Registered protocol family 16
[ 0.073004] i2c-core: driver [dummy] registered
[ 0.073023] bcm2708.uart_clock = 0
[ 0.074649] mailbox: Broadcom VideoCore Mailbox driver
[ 0.074771] bcm2708_vcio: mailbox at f200b880
[ 0.074867] bcm_power: Broadcom power driver
[ 0.074907] bcm_power_open() -> 0
[ 0.074934] bcm_power_request(0, 8)
[ 0.575615] bcm_mailbox_read -> 00000080, 0
[ 0.575656] bcm_power_request -> 0
[ 0.575684] Serial: AMBA PL011 UART driver
[ 0.575852] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83) is a PL011 rev3
[ 0.598511] bio: create slab
And the grep command you listed does not return anything.
I am going to try to reinstall it, but before I do I just want to know that all I should have to do is install Raspbian and then follow the setup.sh
Can you try this:
echo "lirc_rpi" >> /etc/modprobe.d/raspi-blacklist.conf
Then reboot.
After doing that command my tv does not get a signal from the pi.
It is connected via HDMI.
Must be coincidence..., try a hard reset, power cable out and in.
Unplugged cable for 30 seconds and plugged back in and still no signal.
The hdmi cable goes from the pi to a receiver to the tv
Try reinstalling, and check if you get the problems (dmesg, ps -A, etc.). Also, do you have any devices connected to you're GPIO pins?
I actually can't even get in from putty now. I will try to do a fresh install. All I need to do is get Raspbian and then follow the setup.sh correct?
No nothing is connected to the pi. Just HDMI, ethernet cable and sd card
Same problem after reinstall. I put raspbian on the sd card and then cut and pasted everything line from the setup.sh and screen still doesn't work.
Dmesg:
[ 0.000000] free_area_init_node: node 0, pgdat c0410718, node_mem_map c045e00 0
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32512 pages, LIFO batch:7
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag es: 32512
[ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1080 bcm2708.boardrev=0x2 bcm2708.serial=0x8c4719da smsc95xx .macaddr=B8:27:EB:47:19:DA sdhci-bcm2708.emmc_clock_freq=100000000 vc_mem.mem_ba se=0x8000000 vc_mem.mem_size=0x10000000 dwc_otg.fiq_fix_enable=1 sdhci-bcm2708. sync_after_dma=0 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstyp e=ext4 rootwait
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Memory: 128MB = 128MB total
[ 0.000000] Memory: 125428k/125428k available, 5644k 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] vmalloc : 0xc8800000 - 0xe8000000 ( 504 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc03cc000 (3856 kB)
[ 0.000000] .init : 0xc03cc000 - 0xc03e8ef0 ( 116 kB)
[ 0.000000] .data : 0xc03ea000 - 0xc0410da0 ( 156 kB)
[ 0.000000] .bss : 0xc0410dc4 - 0xc045d0cc ( 305 kB)
[ 0.000000] NR_IRQS:330
[ 0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4 294967ms
[ 0.000000] timer_set_mode: unhandled mode:1
[ 0.000000] timer_set_mode: unhandled mode:3
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [tty1] enabled
[ 0.001004] Calibrating delay loop... 697.95 BogoMIPS (lpj=3489792)
[ 0.060160] pid_max: default: 32768 minimum: 301
[ 0.060469] Mount-cache hash table entries: 512
[ 0.060986] CPU: Testing write buffer coherency: ok
[ 0.062242] devtmpfs: initialized
[ 0.072366] NET: Registered protocol family 16
[ 0.073020] i2c-core: driver [dummy] registered
[ 0.073039] bcm2708.uart_clock = 0
[ 0.074666] mailbox: Broadcom VideoCore Mailbox driver
[ 0.074789] bcm2708_vcio: mailbox at f200b880
[ 0.074886] bcm_power: Broadcom power driver
[ 0.074926] bcm_power_open() -> 0
[ 0.074953] bcm_power_request(0, 8)
[ 0.575636] bcm_mailbox_read -> 00000080, 0
[ 0.575678] bcm_power_request -> 0
[ 0.575706] Serial: AMBA PL011 UART driver
[ 0.575878] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83) is a PL011 rev3
[ 0.598542] bio: create slab
Nothing back from the grep command
But my other question:
Also, do you have any devices connected to you're GPIO pins?
Nothing is connected to the GPIO pins.
Can you do: modprobe -r lirc_rpi?
Comes back with:
-bash: modprobe: command not found
Also everytime I SSH in it goes to the raspi-config screen
When I did the command you have as sudo it returned this:
xbian@xbian ~ $ sudo modprobe -r lirc_rpi [sudo] password for xbian: FATAL: Module lirc_rpi is in use.
Also i didn't realised you're pi is booting dispite you could post the different error messages. Can you try: /usr/local/lib/xbmc/xbmc.bin
Also it isn't raspi-config but xbian-config :) A lot more functionality.
Ok. I tried the first command you had listed and I got:
xbian@xbian ~ $ /etc/init.d/lirc stop [....] Stopping remote control daemon(s): LIRC:/etc/init.d/lirc: 142: /etc/init.d/lirc: start-stop-daemon: not found failed!
Everything i say should be done as root. But i'm fixing the lirc problem right now. Can you try to start xbmc.
Sorry I am a newbie with linux/unix stuff how do I do that?
sudo /usr/local/lib/xbmc/xbmc.bin
Also can you replace the content of /etc/lirc/hardware.conf with: https://github.com/Koenkk/xbian/edit/master/etc/lirc/hardware.conf
The first command you gave me came back as:
xbian@xbian ~ $ sudo /usr/local/lib/xbmc/xbmc.bin /usr/local/lib/xbmc/xbmc.bin: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
I am going to change the hardware.conf now
sudo apt-get install libpython2.7 sudo /usr/local/lib/xbmc/xbmc.bin
It is working?
Yup I am up and running
I actually noticed that when I did the autoremove part of the setup.sh that it removed the python 2.7. Was that something I did wrong?
If it was in the setup.sh it is something we should look at.
I put the newest Raspian Wheezy 10-28 image on my SD card and then followed the Setup.sh but now my pi doesn't make it to the Xbian Logo on startup.
Any ideas on how to troubleshoot this? Should I just wipe the SD card and try again?