找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 5435|回复: 1

staros的文件系统中的全部内容

[复制链接]
发表于 2008-8-11 22:47:19 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
今天突然对staros有点兴致,就想把它来研究一下。
所以花了点时间,把它的整个文件系统复制了出来。
内核启动的参数为:
auto BOOT_IMAGE=StarV3/X86-PC ro root=100 quiet

下面为系统启动时输出的信息:
Linux version 2.6.21.5 (root@war-devel.star-os.com) (gcc version 4.1.2) #1 Wed Jul 16 09:23:37 EST 2008
BIOS-provided physical RAM map:
sanitize start
sanitize end
copy_e820_map() start: 0000000000000000 size: 000000000009f800 end: 000000000009f800 type: 1
copy_e820_map() type is E820_RAM
copy_e820_map() start: 000000000009f800 size: 0000000000000800 end: 00000000000a0000 type: 2
copy_e820_map() start: 00000000000dc000 size: 0000000000024000 end: 0000000000100000 type: 2
copy_e820_map() start: 0000000000100000 size: 0000000004df0000 end: 0000000004ef0000 type: 1
copy_e820_map() type is E820_RAM
copy_e820_map() start: 0000000004ef0000 size: 000000000000f000 end: 0000000004eff000 type: 3
copy_e820_map() start: 0000000004eff000 size: 0000000000001000 end: 0000000004f00000 type: 4
copy_e820_map() start: 0000000004f00000 size: 0000000000100000 end: 0000000005000000 type: 1
copy_e820_map() type is E820_RAM
copy_e820_map() start: 00000000fec00000 size: 0000000000010000 end: 00000000fec10000 type: 2
copy_e820_map() start: 00000000fee00000 size: 0000000000001000 end: 00000000fee01000 type: 2
copy_e820_map() start: 00000000fffe0000 size: 0000000000020000 end: 0000000100000000 type: 2
BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000004ef0000 (usable)
BIOS-e820: 0000000004ef0000 - 0000000004eff000 (ACPI data)
BIOS-e820: 0000000004eff000 - 0000000004f00000 (ACPI NVS)
BIOS-e820: 0000000004f00000 - 0000000005000000 (usable)
BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000fffe0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
80MB LOWMEM available.
Entering add_active_range(0, 0, 20480) 0 entries of 256 used
Zone PFN ranges:
  DMA             0 ->     4096
  Normal       4096 ->    20480
  HighMem     20480 ->    20480
early_node_map[1] active PFN ranges
    0:        0 ->    20480
On node 0 totalpages: 20480
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
  Normal zone: 128 pages used for memmap
  Normal zone: 16256 pages, LIFO batch:3
  HighMem zone: 0 pages used for memmap
DMI present.
Allocating PCI resources starting at 10000000 (gap: 05000000:f9c00000)
Built 1 zonelists.  Total pages: 20320
Kernel command line: auto BOOT_IMAGE=StarV3/X86-PC ro root=100 quiet
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 512 (order: 9, 2048 bytes)
Detected 1900.007 MHz processor.
Console: colour VGA+ 80x25
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 78604k/81920k available (1261k kernel code, 2796k reserved, 296k data, 176k init, 0k highmem)
virtual kernel memory layout:
    fixmap  : 0xfffef000 - 0xfffff000   (  64 kB)
    pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
    vmalloc : 0xc5800000 - 0xff7fe000   ( 927 MB)
    lowmem  : 0xc0000000 - 0xc5000000   (  80 MB)
      .init : 0xc0288000 - 0xc02b4000   ( 176 kB)
      .data : 0xc023b5db - 0xc02857f4   ( 296 kB)
      .text : 0xc0100000 - 0xc023b5db   (1261 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 3815.90 BogoMIPS (lpj=19079522)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0383fbff c1c3fbff 00000000 00000000 00000000 00000000 00000000
CPU: CLK_CTL MSR was 0. Reprogramming to 20000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After all inits, caps: 0383fbff c1c3fbff 00000000 00000420 00000000 00000000 00000000
Compat vDSO mapped to ffffe000.
CPU: AMD Athlon(tm) XP 2200+ stepping 01
Checking 'hlt' instruction... OK.
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfd9a0, last bus=1
PCI: Using configuration type 1
Setting up standard PCI resources
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI quirk: region 1000-103f claimed by PIIX4 ACPI
PCI quirk: region 1040-104f claimed by PIIX4 SMB
Boot video device is 0000:00:0f.0
PCI: Using IRQ router PIIX/ICH [8086/7110] at 0000:00:07.0
PCI: Bridge: 0000:00:01.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Setting latency timer of device 0000:00:01.0 to 64
NET: Registered protocol family 2
Time: tsc clocksource has been installed.
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
Freeing initrd memory: 116k freed
squashfs: version 3.0 (2006/03/15) Phillip Lougher
io scheduler noop registered
io scheduler anticipatory registered (default)
Limiting direct PCI/PCI transfers.
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
RAMDISK driver initialized: 4 RAM disks of 16384K size 1024 blocksize
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 0000:00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1050-0x1057, BIOS settings: hdaMA, hdb:pio
    ide1: BM-DMA at 0x1058-0x105f, BIOS settings: hdcMA, hdd:pio
Probing IDE interface ide0...
hda: vmware Virtual IDE Hard Drive, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: VMware Virtual IDE CDROM Drive, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 209715 sectors (107 MB) w/32KiB Cache, CHS=208/16/63, UDMA(33)
hda:
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
RAMDISK: squashfs filesystem found at block 0
RAMDISK: Loading 113KiB [1 disk] into ram disk... |/-\|/-\done.
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 176k freed
input: AT Translated Set 2 keyboard as /class/input/input0
blinky: module license 'proprietary' taints kernel.
Clocksource tsc unstable (delta = 500037720 ns)
Time: pit clocksource has been installed.
Software Watchdog Timer: 0.07 initialized. soft_noboot=0 soft_margin=60 sec (nowayout= 0)
e100: Intel(R) PRO/100 Network Driver, 3.5.17-k2-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
sis900.c: v1.08.10 Apr. 2 2006
via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.60.
8139too Fast Ethernet driver 0.9.28
natsemi dp8381x driver, version 2.1, Sept 11, 2006
  originally by Donald Becker <becker@scyld.com>
  http://www.scyld.com/network/natsemi.html
  2.4.x kernel port by Jeff Garzik, Tjeerd Mulder
de2104x PCI Ethernet driver v0.7 (Mar 17, 2004)
Linux Tulip driver version 1.1.14 (May 11, 2002)
dmfe: Davicom DM9xxx net driver, version 1.36.4 (2002-01-17)
uli526x: ULi M5261/M5263 net driver, version 0.9.3 (2005-7-29)
pcnet32.c:v1.33 27.Jun.2006 tsbogend@alpha.franken.de
PCI: setting IRQ 11 as level-triggered
PCI: Found IRQ 11 for device 0000:00:11.0
pcnet32: PCnet/PCI II 79C970A at 0x1400, 00 0c 29 a8 9e 55 assigned IRQ 11.
eth0: registered as PCnet/PCI II 79C970A
PCI: setting IRQ 10 as level-triggered
PCI: Found IRQ 10 for device 0000:00:12.0
pcnet32: PCnet/PCI II 79C970A at 0x1480, 00 0c 29 a8 9e 5f assigned IRQ 10.
eth1: registered as PCnet/PCI II 79C970A
pcnet32: 2 cards_found.
Intel(R) PRO/1000 Network Driver - version 7.3.20-k2
Copyright (c) 1999-2006 Intel Corporation.
ns83820.c: National Semiconductor DP83820 10/100/1000 driver.
hamachi.c:v2.1 Sept 11, 2006  Written by Donald Becker
   Some modifications by Eric kasten <kasten@nscl.msu.edu>
   Further modifications by Keith Underwood <keithu@parl.clemson.edu>
Intel(R) PRO/10GbE Network Driver - version 1.0.126-k2
Copyright (c) 1999-2006 Intel Corporation.
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
Bridge firewalling registered
eth0: link up
eth1: link up
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
device eth0 entered promiscuous mode
device eth0 left promiscuous mode

由此看出它是使用了squashfs压缩文件系统,所以。。要解开的话,得从这上面着手。
附件是整个文件系统的内容,有兴趣的可以下载去研究下。
关键的文件在tvconfig

a.tgz

5.73 MB, 下载次数: 232, 下载积分: 铜板 -1

routeros
发表于 2008-8-12 20:09:25 | 显示全部楼层
强人!顶!
routeros
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-12-23 16:23 , Processed in 0.095868 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表