[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

AW: Debian 9 (armel) - doesnt start



Hello!
Thanks for all your answers! I managed to get Debian working with Kernel
4.8.7. Dont know exactly whats wrong with 4.9. I try to identify the problem
if i get the system up and running with 4.8.7... 
However, there is another strange problem. apt doesnt work ...
Every time I try to run "apt update" or any installation with "apt install
xyz" Debian freezes.

First i thought it might be the BX instruction patch. But this strange
behaviour also occures with Kernel 3.16.81 and Debian 5 (which supports
ARMv4l - that means no BX emulation at all)

The system freezes, but it accepts input from the keyboard and displays the
typed characters. Also Kernel messages, like remove or insert of a PCMCIA
card, are shown. But nothing else works anymore. Nothing in the logs after
restart. 
Maybe someone has a hint or can tell me where to start debugging...

Regards
Stefan Lehner




-----Ursprüngliche Nachricht-----
Von: Stefan Lehner [mailto:stefan-lehner@aon.at] 
Gesendet: Freitag, 24. Jänner 2020 13:36
An: debian-arm@lists.debian.org
Betreff: Debian 9 (armel) - doesnt start

Hi!
I have a very unusal setup: a old Handheld PC with a StrongARM CPU on which
i like to get Debian 9 running.


Short summary of my Kernel: 
4.9.210 with BX emulation patch (to get things going on the old ARMv4)
CONFIG_AEABI=y
CONFIG_OABI_COMPAT=y
I can send a the full .config i fit necessary.

The armel rootfs is copied onto a CF card with debootstrap Then I generated
the devices and set some things linke  hostname, locale .


$ debootstrap --arch armel --foreign stretch /mnt/jornada
http://ftp.de.debian.org/debian
$ cp /usr/bin/qemu-arm-static /mnt/jornada/usr/bin
$ LANG=C.UTF-8 chroot /mnt/jornada qemu-arm-static /bin/bash

$ /debootstrap/debootstrap --second-stage

$ apt install makedev
$ mount none /proc -t proc
$ cd /dev
$ MAKEDEV generic

And here is the problem: the kernel boots up fine, mounts the rootfs. After
a while it displays crng init done and thats it. Nothing more .
Can somebody help me?

Here is the console output:

--------linexec-------- 
LinExec: UART Initialized. 
LinExec: UART Initialized. 
LinExec: UART Initialized. 
LinExec: Beginning boot_linux. 
LinExec: Passing the point of no return.. Now. 
LinExec: Entering DRAMloader... 
Booting Linux on physical CPU 0x0 
Linux version 4.9.210 (stefan@spnub1804work) (gcc version 7.4.0
(Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1) ) #4 Tue Jan 21 15:00:20 UTC 2020 
CPU: StrongARM-1110 [6901b118] revision 8 (ARMv4), cr=c020717f 
CPU: VIVT data cache, VIVT instruction cache 
Machine: HP Jornada 720 
Memory policy: Data cache writeback 
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512 
Kernel command line: root=/dev/hda2 mem=128m rootdelay=2
console=ttySA0,115200n8 sa11xx_core.pc_debug=7 
PID hash table entries: 512 (order: -1, 2048 bytes) 
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) 
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) 
Memory: 125928K/131072K available (2980K kernel code, 117K rwdata, 628K
rodata, 120K init, 84K bss, 5144K reserved, 0K cma-reserved) 
Virtual kernel memory layout: 
    vector  : 0xffff0000 - 0xffff1000   (   4 kB) 
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB) 
    vmalloc : 0xc8800000 - 0xff800000   ( 880 MB) 
    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB) 
    modules : 0xbf000000 - 0xc0000000   (  16 MB) 
      .text : 0xc0208000 - 0xc04f1250   (2981 kB) 
      .init : 0xc0590000 - 0xc05ae000   ( 120 kB) 
      .data : 0xc05ae000 - 0xc05cb420   ( 118 kB) 
       .bss : 0xc05cb420 - 0xc05e0748   (  85 kB) 
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 
NR_IRQS:16 nr_irqs:61 61 
irq: Cannot allocate irq_descs @ IRQ1, assuming pre-allocated 
irq: Cannot allocate irq_descs @ IRQ33, assuming pre-allocated 
sched_clock: 32 bits at 3686kHz, resolution 271ns, wraps every
582542222200ns 
clocksource: oscr0: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:
518462577799 ns 
Console: colour dummy device 30x40 
console [ttySA0] enabled 
Calibrating delay loop... 136.60 BogoMIPS (lpj=683008) 
pid_max: default: 32768 minimum: 301 
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) 
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) 
CPU: Testing write buffer coherency: ok 
Setting up static identity map for 0xc0208240 - 0xc0208298 
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:
19112604462750000 ns 
futex hash table entries: 256 (order: -1, 3072 bytes) 
NET: Registered protocol family 16 
DMA: preallocated 256 KiB pool for atomic coherent allocations 
SA1111 Microprocessor Companion Chip: silicon revision 1, metal revision 1 
sa1111 sa1111.0: Providing IRQ61-115 
sa1111-rab 0400: dmabounce: registered device 
sa1111-rab 0600: dmabounce: registered device 
usbcore: registered new interface driver usbfs 
usbcore: registered new interface driver hub 
usbcore: registered new device driver usb 
clocksource: Switched to clocksource oscr0 
genirq: Setting trigger mode 3 for irq 112 failed (sa1111_type_irq+0x0/0x8c)

genirq: Setting trigger mode 3 for irq 114 failed (sa1111_type_irq+0x0/0x8c)

jornada720_pcmcia_configure_socket(): config socket 0 vcc 0 vpp 0 
genirq: Setting trigger mode 3 for irq 113 failed (sa1111_type_irq+0x0/0x8c)

genirq: Setting trigger mode 3 for irq 115 failed (sa1111_type_irq+0x0/0x8c)

jornada720_pcmcia_configure_socket(): config socket 1 vcc 0 vpp 0 
NET: Registered protocol family 2 
TCP established hash table entries: 1024 (order: 0, 4096 bytes) 
TCP bind hash table entries: 1024 (order: 0, 4096 bytes) 
TCP: Hash tables configured (established 1024 bind 1024) 
UDP hash table entries: 256 (order: 0, 4096 bytes) 
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) 
NET: Registered protocol family 1 
NetWinder Floating Point Emulator V0.97 (double precision) 
SSP: device initialized with irq 
workingset: timestamp_bits=30 max_order=15 bucket_order=0 
io scheduler noop registered 
io scheduler deadline registered 
io scheduler cfq registered (default) 
Epson S1D13XXX FB Driver 
s1d13xxxfb: chip production id 4 = S1D13506 
s1d13xxxfb: chip revision 1 
s1d13xxxfb: regs mapped at 0xf0000000, fb 512 KiB mapped at 0xf1000000 
Console: switching to colour frame buffer device 80x30 
fb0: S1D13xxx frame buffer device 
Serial: SA11x0 driver 
sa11x0-uart.1: ttySA1 at MMIO 0x80010000 (irq = 16, base_baud = 230400) is a
SA1100 
sa11x0-uart.3: ttySA0 at MMIO 0x80050000 (irq = 18, base_baud = 230400) is a
SA1100 
loop: module loaded 
jornada720_pcmcia_configure_socket(): config socket 1 vcc 33 vpp 33 
nbd: registered device at major 43 
Uniform Multi-Platform E-IDE driver 
ide-gd driver 1.18 
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver 
sa1111-ohci 0400: SA-1111 OHCI 
sa1111-ohci 0400: new USB bus registered, assigned bus number 1 
sa1111-ohci 0400: irq 105, io mem 0x40000400 
hub 1-0:1.0: USB hub found 
hub 1-0:1.0: 1 port detected 
mousedev: PS/2 mouse device common for all mice 
input: HP Jornada 720 keyboard as
/devices/platform/jornada720_kbd/input/input0 
input: HP Jornada 7xx Touchscreen as
/devices/platform/jornada_ts/input/input1 
sa1100-rtc sa1100-rtc: rtc core: registered sa1100-rtc as rtc0 
usbcore: registered new interface driver usbhid 
usbhid: USB HID core driver 
NET: Registered protocol family 17 
Registering BX emulation handler 
sa1100-rtc sa1100-rtc: setting system clock to 1970-01-01 00:00:25 UTC (25) 
Waiting 2 sec before mounting root device... 
jornada720_pcmcia_configure_socket(): config socket 1 vcc 33 vpp 33 
jornada720_pcmcia_configure_socket(): config socket 1 vcc 33 vpp 33 
pcmcia_socket pcmcia_socket1: pccard: PCMCIA card inserted into slot 1 
pcmcia 1.0: pcmcia: registering new device pcmcia1.0 (IRQ: 111) 
jornada720_pcmcia_configure_socket(): config socket 1 vcc 33 vpp 0 
jornada720_pcmcia_configure_socket(): config socket 1 vcc 33 vpp 0 
hda: CF Card, CFA DISK drive 
random: fast init done 
ide0 at 0xc8870000-0xc8870007,0xc887000e on irq 111 
bounce: isa pool size: 16 pages 
hda: max request size: 1024KiB 
hda: 7806960 sectors (3997 MB) w/1KiB Cache, CHS=7745/255/63 
hda: cache flushes supported 
 hda: hda1 hda2 hda3 
ide-cs 1.0: ide-cs: hda: Vpp = 0.0 
EXT2-fs (hda2): warning: mounting unchecked fs, running e2fsck is
recommended 
VFS: Mounted root (ext2 filesystem) on device 3:2. 
Freeing unused kernel memory: 120K 
This architecture does not have kernel memory protection. 
random: crng init done 


Regards
Stefan


Reply to: