Jury093
Пункты: 54271
Регистрация: 25.05.2009
Пол: Мужчина
Из: Санкт-Петербург
Цитата В чём может быть дело ? Сейчас попробую другой дебьян распакую на карточку, хотя не думаю, что дело в этом.
поделите проблему на части
- для начала отформатируйте флешку в EXT2 и убедитесь, что поддержка EXT2 в ядре включена, распакуйте еще раз рутовую и пробуйте грузиться
- все тоже самое, но с EXT3, форматирование, поддержка, проба
- попробуйте менее емкую карточку, например 1 или 2 GB..
На любой вопрос есть любой ответ.
alexanib
Пункты: 2343
Регистрация: 27.02.2011
Ну с флешкой такое выдает:
Код
Waiting 15sec before mounting root device...
usb 1-2: new high speed USB device using atmel-ehci and address 2
scsi0 : usb-storage 1-2:1.0
scsi 0:0:0:0: Direct-Access Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 2
sd 0:0:0:0: [sda] 7856128 512-byte logical blocks: (4.02 GB/3.74 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI removable disk
EXT2-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem) on device 8:1.
Freeing init memory: 132K
Unable to handle kernel NULL pointer dereference at virtual address 00000008
pgd = c3e3c000
[00000008] *pgd=73cdb031, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1]
last sysfs file:
Modules linked in:
CPU: 0 Not tainted (2.6.36-rc6 #297)
PC is at __ext2_write_inode+0x1dc/0x380
LR is at ext2_iget+0x50/0x3cc
pc : [<c00e1e30>] lr : [<c00e2a3c>] psr: 20000013
sp : c3c19e30 ip : c3812570 fp : c3c19ea8
r10: 00034001 r9 : c3c0cee0 r8 : c38124f8
r7 : c3812568 r6 : c3812ec8 r5 : 00034001 r4 : 00000000
r3 : 00000008 r2 : c3c19e34 r1 : 00034001 r0 : c3d6d000
Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 0005317f Table: 73e3c000 DAC: 00000015
Process init (pid: 1, stack limit = 0xc3c18270)
Stack: (0xc3c19e30 to 0xc3c1a000)
9e20: c3c19e9c c380edb8 c3c0cee0 c380eb38
9e40: 00034001 c3812ec8 c3c19e9c c380edb8 c3812f3c c00e388c c3812ec8 c3c19f10
9e60: c380eb38 c009d3f8 00000000 c3c19f10 c3c19ea8 c009d6b0 c3c47005 c3812ec8
9e80: c3c19f10 ffffff9c 00000000 00000001 c3c18000 c009eed8 ffffffff 0024a603
9ea0: 00000003 c3c47001 c3c19f80 c0029a0c c3c47000 c3c19f10 c3c19f10 c3c18000
9ec0: ffffff9c c3c47000 c3c18000 00000000 beed6894 c009fd1c c3c0cee0 c380edb8
9ee0: 4004899c c3c19f10 c3c47000 00000000 ffffff9c c3c19f80 00900021 c009fe30
9f00: c3c47000 00000001 ffffff9c c00a0768 c3c0cee0 c380edb8 c3c19f80 c3c18000
9f20: 00000000 c3c0cee0 c380edb8 00000005 00000001 00000000 c3c18000 00000000
9f40: c3da88dc c3d71400 a0000093 00000001 00000080 00000000 c3c4a950 4004899c
9f60: ffffff9c 00000021 00000000 4004899c ffffff9c c3c17720 c3c17ea0 c0093f38
9f80: 40052dbc 0000007a c002a61c 40053000 00000020 00000000 00000021 c002a61c
9fa0: 00900021 c0029de0 40053000 00000020 4004899c 00000000 40053000 00000000
9fc0: 40053000 00000020 00000000 00000000 00000010 00000000 6474e552 beed6894
9fe0: fffffdbc beed6810 40042d64 40044994 60000010 4004899c ffffffff ffffffff
[<c00e1e30>] (__ext2_write_inode+0x1dc/0x380) from [<c3c19f10>] (0xc3c19f10)
Code: 00000062 36320000 00746962 00000000 (74736166)
---[ end trace 925368a87f48fd88 ]---
Unable to handle kernel NULL pointer dereference at virtual address 00000191
pgd = c3e3c000
[00000191] *pgd=73cdb031, *pte=00000000, *ppte=00000000
Internal error: Oops: 1 [#2]
last sysfs file:
Modules linked in:
CPU: 0 Tainted: G D (2.6.36-rc6 #297)
PC is at set_mm_exe_file+0x30/0x54
LR is at mmput+0x50/0xcc
pc : [<c00d084c>] lr : [<c003fa38>] psr: 60000013
sp : c3c19c60 ip : c3c0b048 fp : 00000017
r10: c3c6fe14 r9 : c3c6fde0 r8 : c3c6fde0
r7 : 00000000 r6 : c040825c r5 : 00000000 r4 : 00000025
r3 : c04d6c74 r2 : 00000000 r1 : 00000000 r0 : 00000025
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 0005317f Table: 73e3c000 DAC: 00000015
Process init (pid: 1, stack limit = 0xc3c18270)
Stack: (0xc3c19c60 to 0xc3c1a000)
9c60: c3c6fde0 00000000 00000025 c003fa38 c3c15bc0 c3c6fde0 c3c15bc0 c004340c
9c80: ffffffff fefff000 00000001 0000000b c3c18000 c3c15bc0 c3c15bc0 c004473c
9ca0: c3c19de8 00000001 00010000 c00425c4 00000017 00000000 c3c18000 c3c15bc0
9cc0: c3c19de8 00000017 c3c19de8 c0394a80 00010000 c002d7ec c3c18270 0000000b
9ce0: c040aad0 00000008 c3c19de8 c3c6fde0 00000017 00000000 c3c15bc0 c0030330
9d00: c3c2e5a0 c3c6fde0 00000017 00000008 c3c6fe14 c0030488 00000000 c3c2e4c0
9d20: 00000020 c0407f78 00000017 c0407fe8 c3c19de8 00000008 20000013 00034001
9d40: c3c19ea8 c00292ec c0445340 00000000 00000000 c3812f68 00000000 c00796dc
9d60: c0445340 c0070a5c 00000001 00000000 00000fff 00000000 00000003 c3c0cee0
9d80: 00000000 c0070b1c 000200da c3e43920 00000000 c0070b30 00000001 c00debe0
9da0: 0000001a 00000000 00000000 00000001 00000001 c3c19dc0 c3e1e0a0 c3c2e4f0
9dc0: 00000000 00000017 4004899c 00000001 ffffffff c3c19e1c c3812ec8 c3812568
9de0: c38124f8 c0029a0c c3d6d000 00034001 c3c19e34 00000008 00000000 00034001
9e00: c3812ec8 c3812568 c38124f8 c3c0cee0 00034001 c3c19ea8 c3812570 c3c19e30
9e20: c00e2a3c c00e1e30 20000013 ffffffff c3c19e9c c380edb8 c3c0cee0 c380eb38
9e40: 00034001 c3812ec8 c3c19e9c c380edb8 c3812f3c c00e388c c3812ec8 c3c19f10
9e60: c380eb38 c009d3f8 00000000 c3c19f10 c3c19ea8 c009d6b0 c3c47005 c3812ec8
9e80: c3c19f10 ffffff9c 00000000 00000001 c3c18000 c009eed8 ffffffff 0024a603
9ea0: 00000003 c3c47001 c3c19f80 c0029a0c c3c47000 c3c19f10 c3c19f10 c3c18000
9ec0: ffffff9c c3c47000 c3c18000 00000000 beed6894 c009fd1c c3c0cee0 c380edb8
9ee0: 4004899c c3c19f10 c3c47000 00000000 ffffff9c c3c19f80 00900021 c009fe30
9f00: c3c47000 00000001 ffffff9c c00a0768 c3c0cee0 c380edb8 c3c19f80 c3c18000
9f20: 00000000 c3c0cee0 c380edb8 00000005 00000001 00000000 c3c18000 00000000
9f40: c3da88dc c3d71400 a0000093 00000001 00000080 00000000 c3c4a950 4004899c
9f60: ffffff9c 00000021 00000000 4004899c ffffff9c c3c17720 c3c17ea0 c0093f38
9f80: 40052dbc 0000007a c002a61c 40053000 00000020 00000000 00000021 c002a61c
9fa0: 00900021 c0029de0 40053000 00000020 4004899c 00000000 40053000 00000000
9fc0: 40053000 00000020 00000000 00000000 00000010 00000000 6474e552 beed6894
9fe0: fffffdbc beed6810 40042d64 40044994 60000010 4004899c ffffffff ffffffff
[<c00d084c>] (set_mm_exe_file+0x30/0x54) from [<c003fa38>] (mmput+0x50/0xcc)
[<c003fa38>] (mmput+0x50/0xcc) from [<c004340c>] (exit_mm+0xf8/0x110)
[<c004340c>] (exit_mm+0xf8/0x110) from [<c004473c>] (do_exit+0x100/0x624)
[<c004473c>] (do_exit+0x100/0x624) from [<c002d7ec>] (die+0x190/0x1b8)
[<c002d7ec>] (die+0x190/0x1b8) from [<c0030330>] (__do_kernel_fault+0x64/0x84)
[<c0030330>] (__do_kernel_fault+0x64/0x84) from [<c0030488>] (do_page_fault+0x138/0x1dc)
[<c0030488>] (do_page_fault+0x138/0x1dc) from [<c00292ec>] (do_DataAbort+0x38/0x9c)
[<c00292ec>] (do_DataAbort+0x38/0x9c) from [<c0029a0c>] (__dabt_svc+0x4c/0x60)
Exception stack(0xc3c19de8 to 0xc3c19e30)
9de0: c3d6d000 00034001 c3c19e34 00000008 00000000 00034001
9e00: c3812ec8 c3812568 c38124f8 c3c0cee0 00034001 c3c19ea8 c3812570 c3c19e30
9e20: c00e2a3c c00e1e30 20000013 ffffffff
[<c0029a0c>] (__dabt_svc+0x4c/0x60) from [<c00e1e30>] (__ext2_write_inode+0x1dc/0x380)
[<c00e1e30>] (__ext2_write_inode+0x1dc/0x380) from [<c3c19f10>] (0xc3c19f10)
Code: e5953014 e2833001 e5853014 e121f002 (e594016c)
---[ end trace 925368a87f48fd89 ]---
Fixing recursive fault but reboot is needed!
alexanib
Пункты: 2343
Регистрация: 27.02.2011
alexanib
Пункты: 2343
Регистрация: 27.02.2011
Кстати, пока не забыл, вот тот скрипт ( make_kernel ):
Код
#!/bin/sh
make -j5 ARCH=arm CROSS_COMPILE=/usr/local/cross-gcc/arm-2007q1/bin/arm-none-linux-gnueabi-
arm-none-linux-gnueabi-objcopy -O binary -R .note -R .comment -S vmlinux linux.bin
gzip -c -9 linux.bin > linux.bin.gz
#rm linux.bin.bz2
#bzip2 linux.bin
../u-boot-2010.09/tools/mkimage -A arm -O linux -T kernel -C gzip -a 0x70008000 -e 0x70008000 -n "Linux Kernel Image" -d linux.bin.gz zlinux
cp ./zlinux /tftpboot/zlinux
../u-boot-2010.09/tools/mkimage -A arm -O linux -T kernel -a 0x70008000 -e 0x70008000 -n "Linux Kernel Image" -d linux.bin image_sd.bin
cp ./image_sd.bin /tftpboot/at91_sd.bin
с ним ошибка происходит, при изменении пятой строки всё норм:
Код
#!/bin/sh
make -j5 ARCH=arm CROSS_COMPILE=/usr/local/cross-gcc/arm-2007q1/bin/arm-none-linux-gnueabi-
/usr/local/cross-gcc/arm-2007q1/bin/arm-none-linux-gnueabi-objcopy -O binary -R .note -R .comment -S vmlinux linux.bin
gzip -c -9 linux.bin > linux.bin.gz
#rm linux.bin.bz2
#bzip2 linux.bin
../u-boot-2010.09/tools/mkimage -A arm -O linux -T kernel -C gzip -a 0x70008000 -e 0x70008000 -n "Linux Kernel Image" -d linux.bin.gz zlinux
cp ./zlinux /tftpboot/zlinux
../u-boot-2010.09/tools/mkimage -A arm -O linux -T kernel -a 0x70008000 -e 0x70008000 -n "Linux Kernel Image" -d linux.bin image_sd.bin
cp ./image_sd.bin /tftpboot/at91_sd.bin
alexanib
Пункты: 2343
Регистрация: 27.02.2011
Вроде как заработало на флешке. Была ошибка плохая - не 64 а 65М памяти указал, плюс ещё навключал все пункты в поддержке ехт2 . Возможно второе тоже играло роль, хотя не факт, надо на карточке проверить будет. Всё, ушел игратся с дебианом )