Beaglebone freezes after login ubuntu

Hello all,

Currently I’m having some problems with my Beaglebone. The problem is that the beaglebone hangs/freezes at a certain point.
This point is not always the same, sometimes it stops before logging in, while logging in or when executing a difficult task (lsusb).
When the beaglebone freezes, the computer stops showing outputs from putty and the heartbeat (led d2) is no longer blinking.
The output of a putty session is showed at the end of this message.

My setup is as follows:
a beaglebone rev A5 connected through the usb device with the computer. I access the beaglebone from the computer (Ubuntu 11.10 kernel 3.0.0-17) with putty (ttyUSB1).
The SD-card inserted in the beaglebone is prepared with the latest ubuntu 11.10 filesystem (from http://elinux.org/BeagleBoardUbuntu , method 1 for the beaglebone)
and the kernel 3.2.0 psp6 on the boot partition.

The results are the same with the power cable attached (and the usb, but not the ethernet cable).
Also when trying method 3 from the site the results are the same.

Does anybody have a clue where to look for? Hopefully I have given enough information, if not let me know.

putty log:

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2012.04.12 08:16:40 =~=~=~=~=~=~=~=~=~=~=~=

U-Boot SPL 2011.09-00015-geeab0dd (Apr 06 2012 - 04:42:46)
Texas Instruments Revision detection unimplemented
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img

U-Boot 2011.09-00015-geeab0dd (Apr 06 2012 - 04:42:46)

I2C: ready
DRAM: 256 MiB
No daughter card present
NAND: HW ECC Hamming Code selected
nand_get_flash_type: unknown NAND device: Manufacturer ID: 0x10, Chip ID: 0x10
No NAND device found!!!
0 MiB
MMC: OMAP SD/MMC: 0
*** Warning - readenv() failed, using default environment

Net: cpsw
Hit any key to stop autoboot: 1 0
SD/MMC found on device 0
reading uEnv.txt

632 bytes read
Loaded environment from uEnv.txt
Importing environment from mmc …
Loading file “/boot/uImage” from mmc device 0:2 xxa2
2430336 bytes read

Booting kernel from Legacy Image at 80007fc0 …

Image Name: Linux-3.2.0-psp6
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2430272 Bytes = 2.3 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum … OK
XIP Kernel Image … OK
OK

Starting kernel …

Uncompressing Linux… done, booting the kernel.
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.2.0-psp6 (nimsi@ubuntu) (gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) ) #1 Tue Apr 10 15:46:45 CEST 2012
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: am335xevm
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] AM335X ES1.0 (sgx neon )
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fixrtc ip=none
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] allocated 1048576 bytes of page_cgroup
[ 0.000000] please try ‘cgroup_disable=memory’ option if you don’t want memory cgroups
[ 0.000000] Memory: 256MB = 256MB total
[ 0.000000] Memory: 251844k/251844k available, 10300k 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 : 0xd0800000 - 0xff000000 ( 744 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc060c000 (6160 kB)
[ 0.000000] .init : 0xc060c000 - 0xc064a000 ( 248 kB)
[ 0.000000] .data : 0xc064a000 - 0xc0691180 ( 285 kB)
[ 0.000000] .bss : 0xc06911a4 - 0xc06d20d8 ( 260 kB)
[ 0.000000] NR_IRQS:410 nr_irqs:410 410
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] Total of 128 interrupts on 1 active controller
[ 0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz
[ 0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
[ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000152] Calibrating delay loop… 718.02 BogoMIPS (lpj=3590144)
[ 0.058532] pid_max: default: 32768 minimum: 301
[ 0.058685] Security Framework initialized
[ 0.058746] AppArmor: AppArmor initialized
[ 0.058776] Mount-cache hash table entries: 512
[ 0.059173] Initializing cgroup subsys cpuacct
[ 0.059204] Initializing cgroup subsys memory
[ 0.059234] Initializing cgroup subsys devices
[ 0.059265] Initializing cgroup subsys freezer
[ 0.059265] Initializing cgroup subsys blkio
[ 0.059295] Initializing cgroup subsys perf_event
[ 0.059356] CPU: Testing write buffer coherency: ok
[ 0.060333] devtmpfs: initialized
[ 0.079956] omap_hwmod: gfx: failed to hardreset
[ 0.096252] omap_hwmod: pruss: failed to hardreset
[ 0.096954] print_constraints: dummy:
[ 0.097198] NET: Registered protocol family 16
[ 0.098266] OMAP GPIO hardware version 0.1
[ 0.099365] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.100524] omap_i2c.1: alias fck already exists
[ 0.100891] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.101074] omap2_mcspi.1: alias fck already exists
[ 0.101165] omap2_mcspi.2: alias fck already exists
[ 0.101257] omap_init_sham: platform not supported
[ 0.101257] omap_init_aes: platform not supported
[ 0.101318] edma.0: alias fck already exists
[ 0.101348] edma.0: alias fck already exists
[ 0.101348] edma.0: alias fck already exists
[ 0.108856] bio: create slab at 0
[ 0.110137] SCSI subsystem initialized
[ 0.110992] usbcore: registered new interface driver usbfs
[ 0.111114] usbcore: registered new interface driver hub
[ 0.111267] usbcore: registered new device driver usb
[ 0.111572] registerd cppi-dma Intr @ IRQ 17
[ 0.111602] Cppi41 Init Done Qmgr-base(d083a000) dma-base(d0838000)
[ 0.111602] Cppi41 Init Done
[ 0.111633] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
[ 0.111785] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
[ 0.112213] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[ 0.112915] tps65910 1-002d: could not be detected
[ 0.113403] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.113952] NetLabel: Initializing
[ 0.113952] NetLabel: domain hash size = 128
[ 0.113952] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.114013] NetLabel: unlabeled traffic allowed by default
[ 0.114044] Switching to clocksource gp timer
[ 0.114288] AppArmor: AppArmor Filesystem Enabled
[ 0.124023] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.124267] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
[ 0.125152] musb-hdrc musb-hdrc.0: USB OTG mode controller at d081c000 using DMA, IRQ 18
[ 0.125427] musb-hdrc musb-hdrc.1: dma type: dma-cppi41
[ 0.125946] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 0.126037] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[ 0.126190] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.126190] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.126220] usb usb1: Product: MUSB HDRC host driver
[ 0.126220] usb usb1: Manufacturer: Linux 3.2.0-psp6 musb-hcd
[ 0.126251] usb usb1: SerialNumber: musb-hdrc.1
[ 0.126861] hub 1-0:1.0: USB hub found
[ 0.126892] hub 1-0:1.0: 1 port detected
[ 0.127349] musb-hdrc musb-hdrc.1: USB Host mode controller at d081e800 using DMA, IRQ 19
[ 0.127777] NET: Registered protocol family 2
[ 0.128082] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.128875] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.129028] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.129119] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.129150] TCP reno registered
[ 0.129150] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.129180] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.129486] NET: Registered protocol family 1
[ 0.129852] RPC: Registered named UNIX socket transport module.
[ 0.129882] RPC: Registered udp transport module.
[ 0.129882] RPC: Registered tcp transport module.
[ 0.129882] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.131774] audit: initializing netlink socket (disabled)
[ 0.131835] type=2000 audit(0.110:1): initialized
[ 0.285949] VFS: Disk quotas dquot_6.5.2
[ 0.286071] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.287597] nfs4filelayout_init: NFSv4 File Layout Driver Registering…
[ 0.287658] fuse init (API version 7.17)
[ 0.287933] msgmni has been set to 491
[ 0.289093] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.289184] io scheduler noop registered
[ 0.289215] io scheduler deadline registered
[ 0.289276] io scheduler cfq registered (default)
[ 0.290252] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.291381] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[ 0.968902] console [ttyO0] enabled
[ 0.973083] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[ 0.980834] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[ 0.988555] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[ 0.996215] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[ 1.003875] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[ 1.018188] brd: module loaded
[ 1.024993] loop: module loaded
[ 1.028350] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 1.094665] No daughter card found
[ 1.098266] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 1.113464] Board name: A335BONE
[ 1.116851] Board version: 00A5
[ 1.120117] The board is a AM335x Beaglebone.
[ 1.125335] tps65217 1-0024: TPS65217 ID 0x7 version 1.0
[ 1.132659] print_constraints: DCDC1: 900 <–> 1800 mV at 1800 mV
[ 1.140991] print_constraints: DCDC2: 900 <–> 3300 mV at 1275 mV
[ 1.149261] print_constraints: DCDC3: 900 <–> 1500 mV at 1100 mV
[ 1.157501] print_constraints: LDO1: 1000 <–> 3300 mV at 1800 mV
[ 1.165740] print_constraints: LDO2: 900 <–> 3300 mV at 3300 mV
[ 1.173889] print_constraints: LDO3: 1800 <–> 3300 mV at 3300 mV
[ 1.182128] print_constraints: LDO4: 1800 <–> 3300 mV at 3300 mV
[ 1.189025] omap_hsmmc.0: alias fck already exists
[ 1.194335] omap_i2c.3: alias fck already exists
[ 1.199493] omap_i2c omap_i2c.3: bus 3 rev2.4.0 at 100 kHz
[ 1.205932] _omap_mux_get_by_name: Could not find signal leds-gpio
[ 1.212615] w1-gpio connected to P8_6
[ 1.217041] at24 3-0054: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 1.274688] BeagleBone cape EEPROM: could not read eeprom at address 0x54
[ 1.281799] at24 3-0055: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 1.344696] BeagleBone cape EEPROM: could not read eeprom at address 0x55
[ 1.351806] at24 3-0056: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 1.414703] BeagleBone cape EEPROM: could not read eeprom at address 0x56
[ 1.421813] at24 3-0057: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 1.484680] BeagleBone cape EEPROM: could not read eeprom at address 0x57
[ 1.491760] BeagleBone cape: exporting ADC pins to sysfs
[ 1.498443] CAN device driver interface
[ 1.502441] CAN bus driver for Bosch D_CAN controller 1.0
[ 1.554718] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[ 1.561157] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
[ 1.568725] davinci_mdio.0: probed
[ 1.572296] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver SMSC LAN8710/LAN8720
[ 1.580993] usbcore: registered new interface driver cdc_ether
[ 1.587158] usbcore: registered new interface driver rndis_host
[ 1.593353] cdc_ncm: 04-Aug-2011
[ 1.596801] usbcore: registered new interface driver cdc_ncm
[ 1.602752] Initializing USB Mass Storage driver…
[ 1.608001] usbcore: registered new interface driver usb-storage
[ 1.614257] USB Mass Storage support registered.
[ 1.619201] usbcore: registered new interface driver libusual
[ 1.625274] gadget: using random self ethernet address
[ 1.630737] gadget: using random host ethernet address
[ 1.637054] usb0: MAC 92:b6:5a:c3:49:36
[ 1.641052] usb0: HOST MAC 7e:81:63:4e:42:ca
[ 1.645599] gadget: Ethernet Gadget, version: Memorial Day 2008
[ 1.651855] gadget: g_ether ready
[ 1.655426] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[ 1.661041] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
[ 1.668884] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.675994] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.683502] usb usb2: Product: MUSB HDRC host driver
[ 1.688690] usb usb2: Manufacturer: Linux 3.2.0-psp6 musb-hcd
[ 1.694702] usb usb2: SerialNumber: musb-hdrc.0
[ 1.700073] hub 2-0:1.0: USB hub found
[ 1.704010] hub 2-0:1.0: 1 port detected
[ 1.708984] mousedev: PS/2 mouse device common for all mice
[ 1.715789] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
[ 1.722442] omap_rtc: already running
[ 1.726348] i2c /dev entries driver
[ 1.730407] Linux media interface: v0.10
[ 1.734619] lirc_dev: IR Remote Control driver registered, major 249
[ 1.741363] Driver for 1-wire Dallas network protocol.
[ 1.747924] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.755676] cpuidle: using governor ladder
[ 1.760070] cpuidle: using governor menu
[ 1.767608] usbcore: registered new interface driver snd-usb-6fire
[ 1.774566] ALSA device list:
[ 1.777709] No soundcards found.
[ 1.782287] TCP cubic registered
[ 1.785858] NET: Registered protocol family 10
[ 1.792999] NET: Registered protocol family 17
[ 1.797882] can: controller area network core (rev 20090105 abi 8)
[ 1.804443] NET: Registered protocol family 29
[ 1.809112] can: raw protocol (rev 20090105)
[ 1.813598] Registering the dns_resolver key type
[ 1.818572] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 1.826568] ThumbEE CPU extension supported.
[ 1.831085] mux: Failed to setup hwmod io irq -22
[ 1.836669] Power Management for AM33XX family
[ 1.846038] registered taskstats version 1
[ 1.850616] Detected MACID=d4:94:a1:89:a0:ca
[ 1.857482] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:09:46 UTC (946685386)
[ 1.867065] Waiting for root device /dev/mmcblk0p2…
[ 1.905364] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 1.915710] mmc0: new high speed SDHC card at address b368
[ 1.921997] mmcblk0: mmc0:b368 SD 7.51 GiB
[ 1.928588] mmcblk0: p1 p2
[ 1.977661] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[ 1.985321] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[ 2.152832] gadget: high-speed config #1: CDC Ethernet (ECM)
[ 5.423828] EXT4-fs (mmcblk0p2): recovery complete
[ 6.204071] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 6.212585] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 6.221923] devtmpfs: mounted
[ 6.225463] Freeing init memory: 248K
[ 6.534332] init: ureadahead main process (49) terminated with status 5
[ 8.344207]
[ 8.344207] CPSW phy found : id is : 0x7c0f1
[ 8.351104] PHY 0:01 not found
fsck from util-linux 2.19.1
rootfs: clean, 21343/488640 files, 185358/1952256 blocks

  • Loading cpufreq kernel modules… e[80G
    e[74G[ OK ]
  • CPUFreq Utilities: Setting ondemand CPUFreq governor… e[80G * CPU0… e[80G
    e[74G[ OK ]
    Checking for running unattended-upgrades:
  • Starting web server apache2 e[80G apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName

e[74G[ OK ]

Ubuntu 11.10 omap ttyO0

omap login: ubuntu
Password:
Last login: Fri Dec 31 18:22:38 CST 1999 on ttyO0
Welcome to Ubuntu 11.10 (GNU/Linux 3.2.0-psp6 armv7l)

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2012.04.12 08:16:40 =~=~=~=~=~=~=~=~=~=~=~=

ps. sorry for my bad english

Hello,

Sadly no one have replied. I still hope someone encountered this problem and has a fix.
For now a quick update:

I tried to connected the beagle bone with an ethernet cable, then I logged in with ssh.
But the results are the same, after the login the beaglebone stops running.

Also I tried different kernels, but the result is still the same.

right now i’m out of idea’s, hopefully someone has an idea or something…

greetings

Hello all,

Currently I'm having some problems with my Beaglebone. The problem is that
the beaglebone hangs/freezes at a certain point.
This point is not always the same, sometimes it stops before logging in,
while logging in or when executing a difficult task (lsusb).
When the beaglebone freezes, the computer stops showing outputs from putty
and the heartbeat (led d2) is no longer blinking.
The output of a putty session is showed at the end of this message.

My setup is as follows:
a beaglebone rev A5 connected through the usb device with the computer. I
access the beaglebone from the computer (Ubuntu 11.10 kernel 3.0.0-17) with
putty (ttyUSB1).
The SD-card inserted in the beaglebone is prepared with the latest ubuntu
11.10 filesystem (from BeagleBoardUbuntu - eLinux.org , method 1 for
the beaglebone)
and the kernel 3.2.0 psp6 on the boot partition.

The results are the same with the power cable attached (and the usb, but not
the ethernet cable).
Also when trying method 3 from the site the results are the same.

Does anybody have a clue where to look for? Hopefully I have given enough
information, if not let me know.

Couple ideas,

But first, the image used "as-is" works fine on my A2/3/5 :
BeagleBoardUbuntu - eLinux.org so you should REALLY
test that first, before building stuff on your own.. :wink:

see: Debian paste error

[ 0.000000] Linux version 3.2.0-psp6 (nimsi@ubuntu) (gcc version 4.6.1
(Ubuntu/Linaro 4.6.1-9ubuntu3) ) #1 Tue Apr 10 15:46:45 CEST 2012

I've had issues, with that cross-compiler, it won't even build u-boot
trunk without ice'ing..

I'd recommend to use a later one from here:
https://launchpad.net/linaro-toolchain-binaries

Regards,

Hello all,

Currently I’m having some problems with my Beaglebone. The problem is that
the beaglebone hangs/freezes at a certain point.
This point is not always the same, sometimes it stops before logging in,
while logging in or when executing a difficult task (lsusb).
When the beaglebone freezes, the computer stops showing outputs from putty
and the heartbeat (led d2) is no longer blinking.
The output of a putty session is showed at the end of this message.

My setup is as follows:
a beaglebone rev A5 connected through the usb device with the computer. I
access the beaglebone from the computer (Ubuntu 11.10 kernel 3.0.0-17) with
putty (ttyUSB1).
The SD-card inserted in the beaglebone is prepared with the latest ubuntu
11.10 filesystem (from http://elinux.org/BeagleBoardUbuntu , method 1 for
the beaglebone)
and the kernel 3.2.0 psp6 on the boot partition.

The results are the same with the power cable attached (and the usb, but not
the ethernet cable).
Also when trying method 3 from the site the results are the same.

Does anybody have a clue where to look for? Hopefully I have given enough
information, if not let me know.

Couple ideas,

But first, the image used “as-is” works fine on my A2/3/5 :
http://elinux.org/BeagleBoardUbuntu#Demo_Image so you should REALLY
test that first, before building stuff on your own… :wink:

First of all thanks for your reply. I tried a clean image of ubuntu, with the setup_sdcard.sh script.
but beaglebone still freezes. A clean setup with the Angstrom image works well.

see: http://paste.debian.net/163422/

[ 0.000000] Linux version 3.2.0-psp6 (nimsi@ubuntu) (gcc version 4.6.1
(Ubuntu/Linaro 4.6.1-9ubuntu3) ) #1 Tue Apr 10 15:46:45 CEST 2012

I’ve had issues, with that cross-compiler, it won’t even build u-boot
trunk without ice’ing…

I’d recommend to use a later one from here:
https://launchpad.net/linaro-toolchain-binaries

Right now I installed the latest gcc. hopefully that was the problem.
I will let you know if it works or not.

Regards,


Robert Nelson
http://www.rcn-ee.com/

Greetings

Hello all,

Currently I’m having some problems with my Beaglebone. The problem is that
the beaglebone hangs/freezes at a certain point.
This point is not always the same, sometimes it stops before logging in,
while logging in or when executing a difficult task (lsusb).
When the beaglebone freezes, the computer stops showing outputs from putty
and the heartbeat (led d2) is no longer blinking.
The output of a putty session is showed at the end of this message.

My setup is as follows:
a beaglebone rev A5 connected through the usb device with the computer. I
access the beaglebone from the computer (Ubuntu 11.10 kernel 3.0.0-17) with
putty (ttyUSB1).
The SD-card inserted in the beaglebone is prepared with the latest ubuntu
11.10 filesystem (from http://elinux.org/BeagleBoardUbuntu , method 1 for
the beaglebone)
and the kernel 3.2.0 psp6 on the boot partition.

The results are the same with the power cable attached (and the usb, but not
the ethernet cable).
Also when trying method 3 from the site the results are the same.

Does anybody have a clue where to look for? Hopefully I have given enough
information, if not let me know.

Couple ideas,

But first, the image used “as-is” works fine on my A2/3/5 :
http://elinux.org/BeagleBoardUbuntu#Demo_Image so you should REALLY
test that first, before building stuff on your own… :wink:

First of all thanks for your reply. I tried a clean image of ubuntu, with the setup_sdcard.sh script.
but beaglebone still freezes. A clean setup with the Angstrom image works well.

see: http://paste.debian.net/163422/

[ 0.000000] Linux version 3.2.0-psp6 (nimsi@ubuntu) (gcc version 4.6.1
(Ubuntu/Linaro 4.6.1-9ubuntu3) ) #1 Tue Apr 10 15:46:45 CEST 2012

I’ve had issues, with that cross-compiler, it won’t even build u-boot
trunk without ice’ing…

I’d recommend to use a later one from here:
https://launchpad.net/linaro-toolchain-binaries

Right now I installed the latest gcc. hopefully that was the problem.
I will let you know if it works or not.

After installing the latest GCC (4.6.3) I compiled a new kernel (with build_kernel.sh script).
but still beaglebone stops running (no heartbeat) before/during/after login ubuntu.

Yesterday I tried another distro (Archlinux) this one workes fine (untill now it doesn’t freeze).
because of available time I choose to use Archlinux. But if someone knows a solution to this problem
I will try it.

Regards,


Robert Nelson
http://www.rcn-ee.com/

Greetings

Greetings
Nimsi

Hello all,

Currently I’m having some problems with my Beaglebone. The problem is that
the beaglebone hangs/freezes at a certain point.
This point is not always the same, sometimes it stops before logging in,
while logging in or when executing a difficult task (lsusb).
When the beaglebone freezes, the computer stops showing outputs from putty
and the heartbeat (led d2) is no longer blinking.
The output of a putty session is showed at the end of this message.

My setup is as follows:
a beaglebone rev A5 connected through the usb device with the computer. I
access the beaglebone from the computer (Ubuntu 11.10 kernel 3.0.0-17) with
putty (ttyUSB1).
The SD-card inserted in the beaglebone is prepared with the latest ubuntu
11.10 filesystem (from http://elinux.org/BeagleBoardUbuntu , method 1 for
the beaglebone)
and the kernel 3.2.0 psp6 on the boot partition.

The results are the same with the power cable attached (and the usb, but not
the ethernet cable).
Also when trying method 3 from the site the results are the same.

Does anybody have a clue where to look for? Hopefully I have given enough
information, if not let me know.

Couple ideas,

But first, the image used “as-is” works fine on my A2/3/5 :
http://elinux.org/BeagleBoardUbuntu#Demo_Image so you should REALLY
test that first, before building stuff on your own… :wink:

First of all thanks for your reply. I tried a clean image of ubuntu, with the setup_sdcard.sh script.
but beaglebone still freezes. A clean setup with the Angstrom image works well.

see: http://paste.debian.net/163422/

[ 0.000000] Linux version 3.2.0-psp6 (nimsi@ubuntu) (gcc version 4.6.1
(Ubuntu/Linaro 4.6.1-9ubuntu3) ) #1 Tue Apr 10 15:46:45 CEST 2012

I’ve had issues, with that cross-compiler, it won’t even build u-boot
trunk without ice’ing…

I’d recommend to use a later one from here:
https://launchpad.net/linaro-toolchain-binaries

Right now I installed the latest gcc. hopefully that was the problem.
I will let you know if it works or not.

After installing the latest GCC (4.6.3) I compiled a new kernel (with build_kernel.sh script).
but still beaglebone stops running (no heartbeat) before/during/after login ubuntu.

Today I had the opportunity to test a different Beaglebone. Surprisely this beaglebone works with a standard ubuntu image.

So with this I can conclude that my own beaglebone is broken. I don’t know which component is broken, but I will have to get a new one.

Thans for the help i got.

Yesterday I tried another distro (Archlinux) this one workes fine (untill now it doesn’t freeze).
because of available time I choose to use Archlinux. But if someone knows a solution to this problem
I will try it.

Regards,


Robert Nelson
http://www.rcn-ee.com/

Greetings

Greetings
Nimsi

Greetings

I am having a similar problem with my Rev A4 Bone using the http://elinux.org/BeagleBoardUbuntu guide as is.
Angstrom works fine for me but I want to use python and for some reason I can’t work out the python can’t load the normal sha1 libraries so I though I would simply use ubuntu.
boot looks like this:

[ 0.000000] Linux version 3.2.0-psp7 (root@panda-a1-1gb) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu4) ) #1 Fri Apr 13 04:55:05 UTC 2012
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d


I get down to here:

Begin: Running /scripts/init-bottom … done.
then init blocks:

[ 240.770783] INFO: task init:1 blocked for more than 120 seconds.

[ 240.777117] “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.
[ 240.785377] init D c04d2ab4 0 1 0 0x00000001
[ 240.792094] Backtrace:
[ 240.794705] [] (__schedule+0x0/0x43c) from [] (schedule+0x78/0x7c)
[ 240.803069] [] (schedule+0x0/0x7c) from [] (schedule_timeout+0x20/0x16c)
[ 240.811977] [] (schedule_timeout+0x0/0x16c) from [] (wait_for_common+0xc8/0x154)
[ 240.821601] r6:00000002 r5:cf837abc r4:7fffffff
[ 240.826488] [] (wait_for_common+0x0/0x154) from [] (wait_for_completion+0x18/0x1c)
[ 240.836315] [] (wait_for_completion+0x0/0x1c) from [] (flush_work+0x30/0x3c)
[ 240.845594] [] (flush_work+0x0/0x3c) from [] (tty_flush_to_ldisc+0x14/0x18)
[ 240.854776] [] (tty_flush_to_ldisc+0x0/0x18) from [] (n_tty_poll+0x7c/0x180)
[ 240.864063] [] (n_tty_poll+0x0/0x180) from [] (tty_poll+0x68/0x88)
[ 240.872407] r7:00000000 r6:c1411e40 r5:ced17000 r4:cf95b1c0
[ 240.878404] [] (tty_poll+0x0/0x88) from [] (do_select+0x2b8/0x460)
[ 240.886748] r7:00000000 r6:00000002 r5:00000200 r4:00000400
[ 240.892755] [] (do_select+0x0/0x460) from [] (core_sys_select+0x244/0x308)
[ 240.901844] [] (core_sys_select+0x0/0x308) from [] (sys_select+0xdc/0x10c)
[ 240.910942] [] (sys_select+0x0/0x10c) from [] (ret_fast_syscall+0x0/0x30)
[ 360.910761] INFO: task init:1 blocked for more than 120 seconds.

This is one of the odd issues i was seeing to, it should be fixed in
3.2.0-psp8..

Packages are currently being built, so until they are out, here's the
script to build it..

https://github.com/RobertCNelson/linux-dev/tree/am33x-v3.2

Regards,

I am also still seeing this issue on psp12 for the beaglebone.

Pulling the USB will allow the system to continue to boot and run normally.

Psp12 is the first (well have not tried since psp8 or so) kernel on the am33x-v3.2 branch that will run, for me, without crashing under load/disk. The shipped kernel worked fine.

Ubuntu 12.04 hf system with self hosted kernel build :-).

FYI/ plymoth steals the serial console, here is a fix (remake initrd after).
cp -v /usr/share/initramfs-tools/scripts/init-top/plymouth /etc/initramfs-tools/scripts/init-top
sed -i ‘s/^/sbin/plymouthd//sbin/plymouthd --tty=ttyO0/g’ /etc/initramfs-tools/scripts/init-top/plymouth
sed -i ‘s/^printf/#printf/g’ /etc/initramfs-tools/scripts/init-top/plymouth

TM.

Interestingly enough brining up usb0 on the host will also unfreeze the board.
TM.

Interesting,
I went through many changes of kernels as suggested by Robert Nelson and was about to try his 3.2.17-psp10.4 next when 3.2.17-psp10.1 gave hangs as I have described in earlier posts.

I had to power down the PC to do some hardware changes and magically noticed on the USB monitor that the BeagleBone had successfully booted 3.2.17-psp10.1.

Since then I've disconnected the USB port that provides the serial console.
I have upgraded from 11.10 to 12.04 (took well over 24 hours) and it's been fine even across reboots.

I haven't reconnected the USB cable for serial console access but it sure looks like it was the cause of the CPU hang timeouts.
Regards
Sid.