Hack BBS
[全部のスレッド一覧][新規投稿][記事の削除・変更]
[Home Page]
返信投稿はタイトルのリンクをクリックして下さい
スレッド【No.4657】の中の記事をすべて表示しています
【No.4657】のスレッド
- 【No.4657】Takeshi_H 玄箱pro quota 07/06/10(日) 23:49:31
- 【No.5813】この記事は削除されました
- 【No.5811】この記事は削除されました
- 【No.5807】この記事は削除されました
- 【No.5798】この記事は削除されました
- 【No.5792】この記事は削除されました
- 【No.6424】この記事は削除されました
- 【No.4682】<Name>Re: 玄箱pro quota 07/06/25(月) 02:47:41
- 【No.4662】山下康成Re: 玄箱pro quota 07/06/12(火) 00:14:51
07/06/10(日) 23:49:31 投稿者[Takeshi_H] [No.4657]のスレッド内
- 【No.4657】 タイトル[玄箱pro quota]
この記事がスレッドの最初です
- 機種:玄箱pro
ファームウェア:シリアルコンソールによる書き換え済
ディストリビューション:hackkit_Debian
玄箱proでquotaを有効にしたいのでカーネルの再構築に挑戦
しかしコンパイルまではできるのですがブートすると途中でとまってしまいます。
(つまりコンパイルできていないのですが・・・)
--ハックキットをインストールをしてからの作業--
apt-get update
apt-get upgrade
apt-get install make
apt-get install gcc
apt-get install libc-dev
apt-get install libc6-dev
apt-get install libncurses5-dev
apt-get install samba
/mnt/share ディレクトリを作成しsambaで共有
玄箱CDに入っていた「linux-2.6.12_lsp.1.10.3.src.tar.gz」を/mnt/shareにコピー
cd /mnt/share
tar xzvf linux-2.6.12_lsp.1.10.3.src.tar.gz
cd linux-2.6.12_lsp.1.10.3
cp buffalo/config_kurobox.conf .config
make oldconfig
make menuconfig
以下に修正
Kernel Features-->
[ } Use the ARM EABI to compile the kernel
File system-->
[*] Quota support
vi Makefile
以下の部分を修正
ARCH ?= arm
#CROSS_COMPILE ?= arm-linux-
#CROSS_COMPILE=arm-none-linux-gnueabi- (195行をコメントアウト)
make uImage
mv /mnt/share/linux-2.6.12_lsp.1.10.3/arch/arm/boot/uImage /boot/uImage.buffalo
リブート
Starting kernel ...
arg:console=ttyS0,115200 root=/dev/sda2 rw panic=5 BOOTVER=1.091
CONFIG_KUROBOX_PLATFORM CONFIG_KUROBOX_KUROBOX ---
Uncompressing Linux.............................................................
......................................................... done, booting the kern
el.
Linux version 2.6.12.6-arm1 (root@NAS02) (gcc version 3.3.5 (Debian 1:3.3.5-13))
#1 Mon May 21 00:57:37 JST 2007
CPU: ARM926EJ-Sid(wb) [41069260] revision 0 (ARMv5TEJ)
CPU0: D VIVT write-back cache
CPU0: I cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
CPU0: D cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
Machine: MV-88fxx81
Using UBoot passing parameters structure
Sys Clk = 250000000, Tclk = 166664740
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists
Kernel command line: console=ttyS0,115200 root=/dev/sda2 rw panic=5 BOOTVER=1.09
1
PID hash table entries: 1024 (order: 10, 16384 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 128MB 0MB 0MB 0MB = 128MB total
Memory: 125952KB available (3169K code, 460K data, 112K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
serial_initialize_ttyS1 (Debug): ttyS1 is initialized.
config_device_cs Error : Unknown board
CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size 128MB
SDRAM_CS1 ....disable
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
PEX0_MEM ....base e0000000, size 128MB
PEX0_IO ....base f2000000, size 1MB
PCI0_MEM ....base e8000000, size 128MB
PCI0_IO ....base f2100000, size 1MB
INTER_REGS ....base f1000000, size 1MB
DEVICE_CS0 ....base fa000000, size 2MB
DEVICE_CS1 ....base f4000000, size 32MB
DEVICE_CS2 ....base fa800000, size 1MB
DEV_BOOCS ....base ff800000, size 8MB
CRYPTO ENG ....no such
Flash bankwidth 1, base ff800000, size 400000
KUROBOX FLASH size 4096[KB]
Marvell Development Board (LSP Version 1.10.3.patch5_DB_NAS)-- KUROBOX_BOARD_K
UROBOX Soc: 88F5182 A2
Detected Tclk 166664740 and SysClk 250000000
Marvell USB EHCI Host controller #0: c050fb00
Marvell USB EHCI Host controller #1: c050fa40
pexBarOverlapDetect: winNum 2 overlap current 0
mvPexInit:Warning :Bar 2 size is illigal
it will be disabled
please check Pex and CPU windows configuration
PCI: bus0: Fast back to back transfers enabled
PCI: bus1: Fast back to back transfers enabled
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
Use the XOR engines (offloading) for enhancing the following functions:
o RAID 5 Xor calculation
o kernel memcpy
o kenrel memzero
o copy user to/from kernel buffers
Number of XOR engines to use: 2
cesadev_init(c0012910)
Fast Floating Point Emulator V0.9 (c) Peter Teichmann.
inotify device minor=63
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
SGI XFS with no debug enabled
SGI XFS Quota Management subsystem
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
ttyS0 at MMIO 0x0 (irq = 3) is a 16550A
ttyS1 at MMIO 0x0 (irq = 4) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 3 RAM disks of 32768K size 1024 blocksize
loop: loaded (max 8 devices)
Marvell Gigabit Ethernet Driver 'egiga':
o Ethernet descriptors in DRAM
o DRAM SW cache-coherency
o Checksum offload enabled
o Loading network interface ** egiga_init_module (10)
'eth0'
Intergrated Sata device found
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
Vendor: Hitachi Model: HDT725032VLA360 Rev: V54O
Type: Direct-Access ANSI SCSI revision: 03
SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB)
SCSI device sda: drive cache: write back
sda: sda1 sda2 sda3 sda4
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
physmap flash device: 400000 at ff800000
Found: SST 39LF020
phys_mapped_flash: Found 1 x8 devices at 0x0 in 8-bit bank
number of JEDEC chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
RedBoot partition parsing not available
NAND device: Manufacturer ID: 0x20, Chip ID: 0xda (ST Micro NAND 256MiB 3,3V 8-b
it)
Scanning device for bad blocks
Bad eraseblock 1477 at 0x0b8a0000
Using static partition definition
Creating 3 MTD partitions on "nand_mtd":
0x00000000-0x00400000 : "uImage"
0x00400000-0x04400000 : "rootfs"
0x04400000-0x10000000 : "extra"
usbmon: debugs is not available
ehci_platform ehci_platform.4523: EHCI Host Controller
ehci_platform ehci_platform.4523: new USB bus registered, assigned bus number 1
ehci_platform ehci_platform.4523: irq 17, io mem 0x00000000
ehci_platform ehci_platform.4523: park 0
ehci_platform ehci_platform.4523: USB 0.0 initialized, EHCI 1.00, driver 10 Dec
2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ehci_platform ehci_platform.16781: EHCI Host Controller
ehci_platform ehci_platform.16781: new USB bus registered, assigned bus number 2
ehci_platform ehci_platform.16781: irq 12, io mem 0x00000000
ehci_platform ehci_platform.16781: park 0
ehci_platform ehci_platform.16781: USB 0.0 initialized, EHCI 1.00, driver 10 Dec
2004
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
USB Universal Host Controller Interface driver v2.2
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
mice: PS/2 mouse device common for all mice
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
arm4regs : 258.000 MB/sec
8regs : 269.200 MB/sec
32regs : 274.800 MB/sec
raid5: using function: 32regs (274.800 MB/sec)
md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
Buffalo Platform Linux Driver(Light) 0.01 installed.
MICON ctrl (C) BUFFALO INC. V.1.00 installed.
Kernel event proc (C) BUFFALO INC. V.1.00 installed.
MICON V2 (C) BUFFALO INC. V.1.00 installed.
NET: Registered protocol family 2
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
NET: Registered protocol family 1
NET: Registered protocol family 17
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
XFS mounting filesystem sda2
Starting XFS recovery on filesystem: sda2 (dev: sda2)
Unable to handle kernel paging request at virtual address 002ecc0b ←ここの部分からおかしい様。ご指導おねがいします。
pgd = c0004000
[002ecc0b] *pgd=00000000
Internal error: Oops: 1 [#1]
Modules linked in:
CPU: 0
PC is at free_block+0x4c/0x11c
LR is at drain_array_locked+0x84/0xc0
pc : [<c00d3d5c>] lr : [<c00d428c>] Not tainted
sp : c0541f08 ip : c0541f2c fp : c0541f28
r10: c03a50f0 r9 : 00000000 r8 : c0512c10
r7 : 00000000 r6 : 00000001 r5 : c04f8b40 r4 : 002ecc07
r3 : 00040000 r2 : c0bb3000 r1 : c0512c10 r0 : 00000000
Flags: Nzcv IRQs off FIQs on Mode SVC_32 Segment kernel
Control: A005317F Table: 00004000 DAC: 00000017
Process events/0 (pid: 3, stack limit = 0xc0540194)
Stack: (0xc0541f08 to 0xc0542000)
1f00: 00000001 c0512c10 c0512c00 c04f8bb0 c03a50e0 c0541f44
1f20: c0541f2c c00d428c c00d3d20 c04f8b40 00000000 00000002 c0541f70 c0541f48
1f40: c00d4354 c00d4218 c04ed910 c03a5100 80000013 c04ed908 00000000 c04ed900
1f60: c00d42c8 c0541fc8 c0541f74 c00bfd48 c00d42d8 ffffffff ffffffff 00000001
1f80: 00000000 c00ac6fc 00010000 00000000 00000000 c04eb7c0 c00ac6fc 00100100
1fa0: 00200200 c0540000 c051ff30 c04ed900 c00bfb80 fffffffc 00000000 c0541ff4
1fc0: c0541fcc c00c44bc c00bfb90 ffffffff ffffffff 00000000 00000000 00000000
1fe0: 00000000 00000000 00000000 c0541ff8 c00b2238 c00c4448 84fa6b9a 0c646586
Backtrace:
[<c00d3d10>] (free_block+0x0/0x11c) from [<c00d428c>] (drain_array_locked+0x84/0
xc0)
r8 = C03A50E0 r7 = C04F8BB0 r6 = C0512C00 r5 = C0512C10
r4 = 00000001
[<c00d4208>] (drain_array_locked+0x0/0xc0) from [<c00d4354>] (cache_reap+0x8c/0x
1e8)
r6 = 00000002 r5 = 00000000 r4 = C04F8B40
[<c00d42c8>] (cache_reap+0x0/0x1e8) from [<c00bfd48>] (worker_thread+0x1c8/0x25c
)
[<c00bfb80>] (worker_thread+0x0/0x25c) from [<c00c44bc>] (kthread+0x84/0xb0)
[<c00c4438>] (kthread+0x0/0xb0) from [<c00b2238>] (do_exit+0x0/0x34c)
r8 = 00000000 r7 = 00000000 r6 = 00000000 r5 = 00000000
r4 = 00000000
Code: e2803101 e1a03623 e0822283 e592401c (e5942004)
07/06/25(月) 02:47:41 投稿者[<Name>] [No.4657]のスレッド内
- 【No.4682】 タイトル[Re: 玄箱pro quota]
【No.4657】に対する返信
- <Text>
07/06/12(火) 00:14:51 投稿者[山下康成] [No.4657]のスレッド内
- 【No.4662】 タイトル[Re: 玄箱pro quota]
【No.4657】に対する返信
- abi の問題らしいです。
debian の mkfs.xfsで /dev/sda2 を mkfs をしたら解決するとか。