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

RE: SS4000E Fan speed, LEDS and power button



Thanks for the tips. Next I tried this and had some success but just why
this works escapes me.

Loaded initird.gz, zimage
After each load, wrote the image to flash with fis create
Reboot
d-i starts but not in rescue mode
ran thru install without incident. Only snag was that the RAID5 was not set
as a root FS, so backtracked to make it so. All the partitions set up
previously were intact.
d-i continued without further problem
reboot
NAS boots into debian OK.

--start log--

+No network interfaces found

EM-438/EM-7220 ver.AG0 2006-05-23
== Executing boot script in 1.000 seconds - enter ^C to abort
RedBoot> fis load ramdisk.gz
RedBoot> fis load zImage
RedBoot> exec -c "console=ttyS0,115200 rw root=/dev/ram mem=256M@0xa0000000"
-r 0x018000
00 -w 5
About to start execution at 0xa0008000 - abort with ^C within 5 seconds
Using base address 0x01008000 and length 0x00132fa8
Uncompressing Linux... done, booting the kernel.
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.32-5-iop32x (Debian 2.6.32-45)
(dannf@debian.org) (gccversion 4.3.5 (Debian 4.3.5-4) ) #1 Sun May 6
07:47:32 UTC 2012
[    0.000000] CPU: XScale-80219 [69052e30] revision 0 (ARMv5TE),
cr=0000397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Lanner EM7210
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total
pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 rw root=/dev/ram
mem=256M@0xa0000000
[    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] Memory: 256MB = 256MB total
[    0.000000] Memory: 251776KB available (3084K code, 444K data, 112K init,
0K highmem)
[    0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0,
CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:32
[    0.000000] Console: colour dummy device 80x30
[    0.000000] Calibrating delay loop... 599.65 BogoMIPS (lpj=2998272)
[    0.220000] Security Framework initialized
[    0.220000] SELinux:  Disabled at boot.
[    0.220000] Mount-cache hash table entries: 512
[    0.220000] Initializing cgroup subsys ns
[    0.220000] Initializing cgroup subsys cpuacct
[    0.220000] Initializing cgroup subsys devices
[    0.220000] Initializing cgroup subsys freezer
[    0.220000] Initializing cgroup subsys net_cls
[    0.220000] CPU: Testing write buffer coherency: ok
[    0.220000] devtmpfs: initialized
[    0.220000] regulator: core version 0.5
[    0.220000] NET: Registered protocol family 16
[    0.220000] pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
[    0.220000] pci 0000:00:01.0: PME# disabled
[    0.220000] pci 0000:00:05.0: PME# supported from D0 D1 D2 D3hot
[    0.220000] pci 0000:00:05.0: PME# disabled
[    0.220000] pci 0000:00:05.1: PME# supported from D0 D1 D2 D3hot
[    0.220000] pci 0000:00:05.1: PME# disabled
[    0.220000] pci 0000:00:05.2: PME# supported from D0 D1 D2 D3hot
[    0.220000] pci 0000:00:05.2: PME# disabled
[    0.220000] PCI: bus0: Fast back to back transfers disabled
[    0.230000] bio: create slab <bio-0> at 0
[    0.230000] vgaarb: loaded
[    0.240000] NET: Registered protocol family 2
[    0.240000] IP route cache hash table entries: 2048 (order: 1, 8192
bytes)
[    0.240000] TCP established hash table entries: 8192 (order: 4, 65536
bytes)
[    0.250000] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    0.250000] TCP: Hash tables configured (established 8192 bind 8192)
[    0.250000] TCP reno registered
[    0.250000] NET: Registered protocol family 1
[    0.250000] Unpacking initramfs...
[    0.950000] Freeing initrd memory: 4096K
[    0.950000] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.950000] audit: initializing netlink socket (disabled)
[    0.950000] type=2000 audit(0.950:1): initialized
[    0.970000] VFS: Disk quotas dquot_6.5.2
[    0.970000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.970000] msgmni has been set to 500
[    0.970000] alg: No test for stdrng (krng)
[    0.970000] Block layer SCSI generic (bsg) driver version 0.4 loaded
(major 253)
[    0.970000] io scheduler noop registered
[    0.970000] io scheduler anticipatory registered
[    0.970000] io scheduler deadline registered
[    0.970000] io scheduler cfq registered (default)
[    0.980000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.990000] serial8250.0: ttyS0 at MMIO 0xfe800000 (irq = 28) is a 16550A
[    1.330000] console [ttyS0] enabled
[    1.330000] physmap platform flash device: 02000000 at f0000000
[    1.340000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
[    1.340000]  Intel/Sharp Extended Query Table at 0x0031
[    1.350000]  Intel/Sharp Extended Query Table at 0x0031
[    1.350000] Using buffer write method
[    1.360000] cfi_cmdset_0001: Erase suspend on write enabled
[    1.360000] Searching for RedBoot partition table in physmap-flash.0 at
offset 0x7e0000
[    1.500000] 10 RedBoot partitions found on MTD device physmap-flash.0
[    1.500000] Creating 10 MTD partitions on "physmap-flash.0":
[    1.510000] 0x000000000000-0x000000040000 : "RedBoot"
[    1.520000] 0x000000040000-0x000000240000 : "zImage"
[    1.520000] 0x000000240000-0x000000640000 : "ramdisk.gz"
[    1.530000] 0x000000640000-0x000000700000 : "wmdata"
[    1.530000] 0x000000700000-0x000000740000 : "rammode"
[    1.540000] 0x000000740000-0x000000760000 : "naskey"
[    1.550000] 0x000000760000-0x0000007a0000 : "log"
[    1.550000] 0x0000007a0000-0x0000007c0000 : "vendor"
[    1.560000] 0x0000007c0000-0x0000007c1000 : "RedBoot config"
[    1.570000] mtd: partition "RedBoot config" doesn't end on an erase block
-- force read-only
[    1.580000] 0x0000007e0000-0x000000800000 : "FIS directory"
[    1.580000] mice: PS/2 mouse device common for all mice
[    1.590000] i2c /dev entries driver
[    1.600000] rtc-rs5c372 0-0032: rs5c372a found, 24hr, driver version 0.6
[    1.600000] rtc-rs5c372 0-0032: rtc core: registered rtc-rs5c372 as rtc0
[    1.610000] i2c i2c-0: failed,FF11,11,05
[    1.640000] iop-adma iop-adma.0: Intel(R) IOP: ( cpy intr )
[    1.660000] iop-adma iop-adma.1: Intel(R) IOP: ( cpy intr )
[    1.660000] TCP cubic registered
[    1.670000] NET: Registered protocol family 17
[    1.670000] XScale DSP coprocessor detected.
[    1.680000] registered taskstats version 1
[    1.680000] rtc-rs5c372 0-0032: setting system clock to 2012-07-20
01:02:04 UTC (1342746124)
[    1.690000] Initalizing network drop monitor service
[    1.700000] Freeing init memory: 112K
Loading, please wait...
[    1.960000] udev[39]: starting version 164
[    2.990000] SCSI subsystem initialized
[    3.280000] scsi0 : sata_vsc
[    3.290000] scsi1 : sata_vsc
[    3.290000] scsi2 : sata_vsc
[    3.300000] scsi3 : sata_vsc
[    3.310000] ata1: SATA max UDMA/133 mmio m4096@0x80060000 port 0x80060200
irq 29
[    3.310000] ata2: SATA max UDMA/133 mmio m4096@0x80060000 port 0x80060400
irq 29
[    3.320000] ata3: SATA max UDMA/133 mmio m4096@0x80060000 port 0x80060600
irq 29
[    3.330000] ata4: SATA max UDMA/133 mmio m4096@0x80060000 port 0x80060800
irq 29
[    3.690000] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    3.710000] ata1.00: ATA-8: WDC WD5000AAKS-00UU3A0, 01.03B01, max
UDMA/133
[    3.710000] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    3.740000] ata1.00: configured for UDMA/133
[    3.740000] scsi 0:0:0:0: Direct-Access     ATA      WDC WD5000AAKS-0
01.0 PQ: 0 ANSI: 5
[    4.100000] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    4.120000] ata2.00: ATA-8: WDC WD5000AAKS-00V1A0, 05.01D05, max UDMA/133
[    4.120000] ata2.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    4.150000] ata2.00: configured for UDMA/133
[    4.150000] scsi 1:0:0:0: Direct-Access     ATA      WDC WD5000AAKS-0
05.0 PQ: 0 ANSI: 5
[    4.510000] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    4.530000] ata3.00: ATA-8: WDC WD5000AAKS-00E4A0, 05.01D05, max UDMA/133
[    4.530000] ata3.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    4.560000] ata3.00: configured for UDMA/133
[    4.560000] scsi 2:0:0:0: Direct-Access     ATA      WDC WD5000AAKS-0
05.0 PQ: 0 ANSI: 5
[    4.920000] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    4.940000] ata4.00: ATA-8: WDC WD5000AAKS-22V1A0, 05.01D05, max UDMA/133
[    4.940000] ata4.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    4.970000] ata4.00: configured for UDMA/133
[    4.970000] scsi 3:0:0:0: Direct-Access     ATA      WDC WD5000AAKS-2
05.0 PQ: 0 ANSI: 5
[    5.150000] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500
GB/465 GiB)
[    5.160000] sd 0:0:0:0: [sda] Write Protect is off
[    5.170000] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled,
doesn't support DPO or FUA
[    5.180000]  sda:
[    5.180000] sd 1:0:0:0: [sdb] 976773168 512-byte logical blocks: (500
GB/465 GiB)
[    5.190000]  sda1 sda2 < sda5 >
[    5.210000] sd 0:0:0:0: [sda] Attached SCSI disk
[    5.210000] sd 1:0:0:0: [sdb] Write Protect is off
[    5.220000] sd 2:0:0:0: [sdc] 976773168 512-byte logical blocks: (500
GB/465 GiB)
[    5.230000] sd 3:0:0:0: [sdd] 976773168 512-byte logical blocks: (500
GB/465 GiB)
[    5.240000] sd 2:0:0:0: [sdc] Write Protect is off
[    5.250000] sd 3:0:0:0: [sdd] Write Protect is off
[    5.250000] sd 3:0:0:0: [sdd] Write cache: enabled, read cache: enabled,
doesn't support DPO or FUA
[    5.290000] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled,
doesn't support DPO or FUA
[    5.320000] sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled,
doesn't support DPO or FUA
[    5.330000]  sdd:
[    5.330000]  sdb: sdd1 sdd2 < sdd5 >
[    5.360000] sd 3:0:0:0: [sdd] Attached SCSI disk
[    5.370000]  sdb1 sdb2 < sdb5 >
[    5.380000] sd 1:0:0:0: [sdb] Attached SCSI disk
[    5.450000]  sdc: sdc1 sdc2 < sdc5 >
[    5.480000] sd 2:0:0:0: [sdc] Attached SCSI disk
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ...
Begin: Loading[    6.500000] md: raid1 personality registered for level 1
Success: loaded module raid1.
[    6.540000] async_tx: api initialized (async)
[    6.560000] xor: measuring software checksum speed
[    6.610000]    arm4regs  :   387.600 MB/sec
[    6.660000]    8regs     :   432.400 MB/sec
[    6.710000]    32regs    :   421.600 MB/sec
[    6.710000] xor: using function: 8regs (432.400 MB/sec)
[    6.910000] raid6: int32x1     56 MB/s
[    7.080000] raid6: int32x2     53 MB/s
[    7.250000] raid6: int32x4     50 MB/s
[    7.420000] raid6: int32x8     42 MB/s
[    7.420000] raid6: using algorithm int32x1 (56 MB/s)
[    7.520000] md: raid6 personality registered for level 6
[    7.520000] md: raid5 personality registered for level 5
[    7.530000] md: raid4 personality registered for level 4
Success: loaded module raid456.
done.
Begin: Assembling all MD arrays ... [    7.580000] mdadm: sending ioctl 1261
to a partition!
[    7.590000] mdadm: sending ioctl 1261 to a partition!
[    7.600000] mdadm: sending ioctl 1261 to a partition!
[    7.600000] mdadm: sending ioctl 1261 to a partition!
[    7.610000] mdadm: sending ioctl 1261 to a partition!
[    7.610000] mdadm: sending ioctl 1261 to a partition!
[    7.690000] mdadm: sending ioctl 1261 to a partition!
[    7.700000] mdadm: sending ioctl 1261 to a partition!
[    7.710000] mdadm: sending ioctl 1261 to a partition!
[    7.710000] mdadm: sending ioctl 1261 to a partition!
[    7.760000] md: md0 stopped.
[    7.820000] md: bind<sdb1>
[    7.820000] md: bind<sdc1>
[    7.870000] md: bind<sdd1>
[    7.870000] md: bind<sda1>
[    7.950000] raid1: raid set md0 active with 4 out of 4 mirrors
[    7.950000] md0: detected capacity change from 0 to 510644224
mdadm: /dev/md/0 has been started with 4 drives.
[    7.980000]  md0: unknown partition table
[    8.250000] md: md1 stopped.
[    8.260000] md: bind<sdb5>
[    8.340000] md: bind<sdc5>
[    8.340000] md: bind<sdd5>
[    8.340000] md: bind<sda5>
[    8.430000] raid5: md1 is not clean -- starting background reconstruction
[    8.440000] raid5: device sda5 operational as raid disk 0
[    8.440000] raid5: device sdd5 operational as raid disk 3
[    8.450000] raid5: device sdc5 operational as raid disk 2
[    8.450000] raid5: device sdb5 operational as raid disk 1
[    8.470000] raid5: allocated 4228kB for md1
[    8.470000] 0: w=1 pa=0 pr=4 m=1 a=2 r=4 op1=0 op2=0
[    8.470000] 3: w=2 pa=0 pr=4 m=1 a=2 r=4 op1=0 op2=0
[    8.480000] 2: w=3 pa=0 pr=4 m=1 a=2 r=4 op1=0 op2=0
[    8.480000] 1: w=4 pa=0 pr=4 m=1 a=2 r=4 op1=0 op2=0
[    8.490000] raid5: raid level 5 set md1 active with 4 out of 4 devices,
algorithm 2
[    8.500000] RAID5 conf printout:
[    8.500000]  --- rd:4 wd:4
[    8.500000]  disk 0, o:1, dev:sda5
[    8.510000]  disk 1, o:1, dev:sdb5
[    8.510000]  disk 2, o:1, dev:sdc5
[    8.510000]  disk 3, o:1, dev:sdd5
[    8.520000] md1: detected capacity change from 0 to 1498780532736
[    8.540000]  md1:mdadm: /dev/md/1 has been starte unknown partition table
d with 4 drives.
Success: assembled all arrays.
done.
done.
Begin: Running /scripts/local-premount ... done.
[    9.180000] kjournald starting.  Commit interval 5 seconds
[    9.240000] md: resync of RAID array md1
[    9.240000] md: minimum _guaranteed_  speed: 1000 KB/sec/disk.
[    9.250000] md: using maximum available idle IO bandwidth (but not more
than 200000 KB/sec) for resync.
[    9.260000] md: using 128k window, over a total of 487884288 blocks.
[    9.260000] md: resuming resync of md1 from checkpoint.
[    9.540000] EXT3 FS on md1, internal journal
[    9.540000] EXT3-fs: mounted filesystem with ordered data mode.
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
Using makefile-style concurrent boot in runlevel S.
Starting the hotplug events dispatcher: udevd[   11.580000] udev[212]:
starting version
164
.
Synthesizing the initial hotplug events...done.
[   12.840000] Intel(R) PRO/1000 Network Driver - version 7.3.21-k5-NAPI
[   12.850000] Copyright (c) 1999-2006 Intel Corporation.
Waiting for /dev to be fully populated...[   13.400000] e1000: 0000:00:01.0:
e1000_probe
: (PCI:33MHz:32-bit) 00:02:41:00:94:7f
[   14.210000] __ratelimit: 38 callbacks suppressed
[   14.210000] mdadm: sending ioctl 1261 to a partition!
[   14.220000] mdadm: sending ioctl 1261 to a partition!
[   14.240000] mdadm: sending ioctl 1261 to a partition!
[   14.240000] mdadm: sending ioctl 1261 to a partition!
[   14.650000] usbcore: registered new interface driver usbfs
[   14.660000] usbcore: registered new interface driver hub
[   14.660000] usbcore: registered new device driver usb
[   14.780000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   14.810000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   14.910000] e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network
Connection
[   14.920000] ehci_hcd 0000:00:05.2: EHCI Host Controller
[   14.920000] ehci_hcd 0000:00:05.2: new USB bus registered, assigned bus
number 1
[   14.930000] ehci_hcd 0000:00:05.2: Enabling legacy PCI PM
[   14.970000] ehci_hcd 0000:00:05.2: irq 27, io mem 0x80063000
[   14.990000] ehci_hcd 0000:00:05.2: USB 2.0 started, EHCI 1.00
[   14.990000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   15.000000] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[   15.010000] usb usb1: Product: EHCI Host Controller
[   15.010000] usb usb1: Manufacturer: Linux 2.6.32-5-iop32x ehci_hcd
[   15.020000] usb usb1: SerialNumber: 0000:00:05.2
[   15.030000] usb usb1: configuration #1 chosen from 1 choice
[   15.030000] hub 1-0:1.0: USB hub found
[   15.040000] hub 1-0:1.0: 5 ports detected
[   15.040000] ohci_hcd 0000:00:05.0: OHCI Host Controller
[   15.090000] ohci_hcd 0000:00:05.0: new USB bus registered, assigned bus
number 2
[   15.090000] ohci_hcd 0000:00:05.0: irq 30, io mem 0x80061000
[   15.250000] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[   15.250000] usb usb2: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[   15.260000] usb usb2: Product: OHCI Host Controller
[   15.270000] usb usb2: Manufacturer: Linux 2.6.32-5-iop32x ohci_hcd
[   15.270000] usb usb2: SerialNumber: 0000:00:05.0
[   15.280000] usb usb2: configuration #1 chosen from 1 choice
[   15.290000] hub 2-0:1.0: USB hub found
[   15.290000] hub 2-0:1.0: 3 ports detected
[   15.300000] ohci_hcd 0000:00:05.1: OHCI Host Controller
[   15.300000] ohci_hcd 0000:00:05.1: new USB bus registered, assigned bus
number 3
[   15.310000] ohci_hcd 0000:00:05.1: irq 29, io mem 0x80062000
[   15.420000] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[   15.430000] usb usb3: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[   15.430000] usb usb3: Product: OHCI Host Controller
[   15.440000] usb usb3: Manufacturer: Linux 2.6.32-5-iop32x ohci_hcd
[   15.450000] usb usb3: SerialNumber: 0000:00:05.1
[   15.460000] usb usb3: configuration #1 chosen from 1 choice
[   15.470000] hub 3-0:1.0: USB hub found
[   15.480000] hub 3-0:1.0: 2 ports detected
done.
Activating swap...[   16.320000] Adding 498668k swap on /dev/md0.
Priority:-1 extents:1
 across:498668k
done.
Checking root file system...fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
/dev/md1: clean, 22325/91480064 files, 5905762/365913216 blocks
done.
[   20.900000] EXT3 FS on md1, internal journal
Cleaning up ifupdown....
Generating udev events for MD arrays...done.
Loading kernel modules...[   21.620000] mdadm: sending ioctl 1261 to a
partition!
[   21.620000] mdadm: sending ioctl 1261 to a partition!
[   21.630000] mdadm: sending ioctl 1261 to a partition!
[   21.640000] mdadm: sending ioctl 1261 to a partition!
[   21.650000] loop: module loaded
done.
Setting up networking....
Activating lvm and md swap...done.
Checking file systems...fsck from util-linux-ng 2.17.2
done.
Mounting local filesystems...done.
Activating swapfile swap...done.
Cleaning up temporary files....
Setting kernel variables ...done.
Configuring network interfaces...done.
Starting portmap daemon....
Starting NFS common utilities: statd[   25.930000] e1000: eth0 NIC Link is
Up 1000 Mbps
Full Duplex, Flow Control: RX/TX
.
Cleaning up temporary files....
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Starting NFS common utilities: statd.
Starting portmap daemon...Already running..
Starting enhanced syslogd: rsyslogd.
Starting deferred execution scheduler: atd.
Starting periodic command scheduler: cron.
Starting MTA:Starting MD monitoring service: mdadm --monitor.
[   30.960000] NET: Registered protocol family 10
Starting OpenBSD Secure Shell server: sshd.
 exim4.

Debian GNU/Linux 6.0 Freestor ttyS0

Freestor login: root
Password:

--end log--

Now I have

root@Freestor:~# sfdisk -l /dev/sd[1-d]

Disk /dev/sda: 60801 cylinders, 255 heads, 63 sectors/track
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sda1      60739+  60801-     63-    498688   fd  Linux raid autodetect
/dev/sda2          0+  60739-  60739- 487885825    5  Extended
/dev/sda3          0       -       0          0    0  Empty
/dev/sda4          0       -       0          0    0  Empty
/dev/sda5          0+  60739-  60739- 487885824   fd  Linux raid autodetect

Disk /dev/sdb: 60801 cylinders, 255 heads, 63 sectors/track
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sdb1      60739+  60801-     63-    498688   fd  Linux raid autodetect
/dev/sdb2          0+  60739-  60739- 487885825    5  Extended
/dev/sdb3          0       -       0          0    0  Empty
/dev/sdb4          0       -       0          0    0  Empty
/dev/sdb5          0+  60739-  60739- 487885824   fd  Linux raid autodetect

Disk /dev/sdc: 60801 cylinders, 255 heads, 63 sectors/track
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sdc1      60739+  60801-     63-    498688   fd  Linux raid autodetect
/dev/sdc2          0+  60739-  60739- 487885825    5  Extended
/dev/sdc3          0       -       0          0    0  Empty
/dev/sdc4          0       -       0          0    0  Empty
/dev/sdc5          0+  60739-  60739- 487885824   fd  Linux raid autodetect

Disk /dev/sdd: 60801 cylinders, 255 heads, 63 sectors/track
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sdd1      60739+  60801-     63-    498688   fd  Linux raid autodetect
/dev/sdd2          0+  60739-  60739- 487885825    5  Extended
/dev/sdd3          0       -       0          0    0  Empty
/dev/sdd4          0       -       0          0    0  Empty
/dev/sdd5          0+  60739-  60739- 487885824   fd  Linux raid autodetect

root@Freestor:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/md1              1.4T  642M  1.3T   1% /
tmpfs                 126M     0  126M   0% /lib/init/rw
udev                  124M  132K  123M   1% /dev
tmpfs                 126M     0  126M   0% /dev/shm

root@Freestor:~# cat /proc/mdstat
Personalities : [raid1] [raid6] [raid5] [raid4]
md1 : active raid5 sda5[0] sdd5[3] sdc5[2] sdb5[1]
      1463652864 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4]
[UUUU]
      [====>................]  resync = 23.9% (116754948/487884288)
finish=815.6min speed=7582K/sec

md0 : active (auto-read-only) raid1 sda1[0] sdd1[3] sdc1[2] sdb1[1]
      498676 blocks super 1.2 [4/4] [UUUU]

unused devices: <none>

--end--

root@Freestor:~# fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0004a164

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1           60740       60802      498688   fd  Linux raid
autodetect
/dev/sda2               1       60740   487885825    5  Extended
/dev/sda5               1       60740   487885824   fd  Linux raid
autodetect

Partition table entries are not in disk order

Disk /dev/sdd: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c4cc1

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1           60740       60802      498688   fd  Linux raid
autodetect
/dev/sdd2               1       60740   487885825    5  Extended
/dev/sdd5               1       60740   487885824   fd  Linux raid
autodetect

Partition table entries are not in disk order

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00040287

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1           60740       60802      498688   fd  Linux raid
autodetect
/dev/sdb2               1       60740   487885825    5  Extended
/dev/sdb5               1       60740   487885824   fd  Linux raid
autodetect

Partition table entries are not in disk order

Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000cffaa

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1           60740       60802      498688   fd  Linux raid
autodetect
/dev/sdc2               1       60740   487885825    5  Extended
/dev/sdc5               1       60740   487885824   fd  Linux raid
autodetect

Partition table entries are not in disk order

Disk /dev/md0: 510 MB, 510644224 bytes
2 heads, 4 sectors/track, 124669 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/md0 doesn't contain a valid partition table

Disk /dev/md1: 1498.8 GB, 1498780532736 bytes
2 heads, 4 sectors/track, 365913216 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 524288 bytes / 1572864 bytes
Disk identifier: 0x00000000

Disk /dev/md1 doesn't contain a valid partition table

--end--

There are a few oddities but it seems usable now. It's now rebuilding the
RAIDs for a few hours.

CW
-----Original Message-----
From: JF Straeten [mailto:jfstraeten@scarlet.be] 
Sent: Thursday, July 19, 2012 8:34 PM
To: debian-arm@lists.debian.org
Subject: Re: SS4000E Fan speed, LEDS and power button


Re,

On Thu, Jul 19, 2012 at 03:49:51PM -0400, Chris Wilkinson wrote:

> So one way of proceeding would be to
> 
> delete all the existing partitions on the 4 HDs, leaving them all as free
> space. I see you have 3 partitions on each HD, so you created these 3
> partitions before creating the RAID sets. 

Yes.


> I think I need to add only 1 making 2 partitions on each HD, swap
> and the remaining free space

Yes. It's just a (good or bad) habit to create the / apart...


> create a new RAID1 adding the swap spaces from each HD. About 2x the
> RAM size seems to be the suggested size.

It's an old (and osbolete) advice, but... yes :-)


> So this is what I end up with (from the d-i terminal screen)
> 
> RAID1 device #0 - 510.6 MB Software RAID device
> #1           510.6 MB    f  swap        swap
>              53.8 kB        unusable
> RAID5 device #1 - 1.5 TB Software RAID device
> #1           1.5 TB      f  ext3        /
>              512.0 B        unusable
> SCSI1 (0,0,0) (sda) - 500.1 GB ATA WDC WD5000AAKS-0
> >     #5  logical  499.6 GB    K  raid
> >     #1  primary  510.7 MB    K  raid
> SCSI2 (0,0,0) (sdb) - 500.1 GB ATA WDC WD5000AAKS-0
> >     #5  logical  499.6 GB    K  raid
> >     #1  primary  510.7 MB    K  raid
> SCSI3 (0,0,0) (sdc) - 500.1 GB ATA WDC WD5000AAKS-0   
> >     #5  logical  499.6 GB    K  raid
> >     #1  primary  510.7 MB    K  raid
> SCSI4 (0,0,0) (sdd) - 500.1 GB ATA WDC WD5000AAKS-2
> >     #5  logical  499.6 GB    K  raid
> >     #1  primary  510.7 MB    K  raid


It seems good to me (you have no need for logical partitions, but it
won't hurt either).

 
> After saving/committing this setup, d-i next creates ext3 FS on the RAID5
>       "Creating ext3 file system for / in partition #1 of RAID5 device
> #1..."
> 
> Install proceeds without error, writes flash, requests reboot.

Good.


[...]

> [    1.740000] Freeing init memory: 112K
> Loading, please wait...
> /scripts/init-top/udev: line 17: udevd: not found

You have already a probleme with udev here. Should try to (re)install
it.


> Begin: Loading essential drivers ... /init: line 205: modprobe: not found
> /init: line 205: modprobe: not found
> /init: line 205: modprobe: not found

Huu ? modprobe not found ? It's strange, since modprobe is a vital
command with a modular kernel...

Try also to (re)install it.



> done.
> Begin: Running /scripts/init-premount ... done.
> Begin: Mounting root file system ... Begin: Running /scripts/local-top ...
> done.
> error sending message: Connection refused
> udevadm[45]: error sending message: Connection refused
> 
> Begin: Waiting for root file system ... done.
> Gave up waiting for root device.  Common problems:
>  - Boot args (cat /proc/cmdline)
>    - Check rootdelay= (did the system wait long enough?)
>    - Check root= (did the system wait for the right device?)
>  - Missing modules (cat /proc/modules; ls /dev)
> /init: line 5: modprobe: not found
> /init: line 5: modprobe: not found
> ALERT!  /dev/disk/by-uuid/65707e43-d5a8-4c1a-ac5a-937d8078a606 does not
> exist.  Dropping
>  to a shell!
 
> 
> BusyBox v1.17.1 (Debian 1:1.17.1-8) built-in shell (ash)
> Enter 'help' for a list of built-in commands.
> 
> /bin/sh: can't access tty; job control turned off
> (initramfs)
> 
> Problems are (see log)
> No root device found
> initramfs is junk
> 
> Hangs at this point :(

Hangs ? Not really hanged, I suppose ?

You should be able to play with busybox, right ?


Could you restart d-i and try to purge and reinstall the kernel ?

You are using debian stock kernel, right ?

It will re-generate the initrd, which I suspect lacks some essential
modules...

If you have flashed an old initrd without raid support, for example,
or without ext3 support in it, it's not surprising that the kernel
can't find the root device without support to deal with it...

By redoing it, you should finish with an inirtd specially crafted with
the modules you need to boot.


(NB: It exists also the mkinitramfs command to redo just the initrd.
Feel free to try it, but you will need to take a shell in the context
of d-i, which is perhaps a bit involved for now.)


Hih,

-- 

JFS.


-- 
To UNSUBSCRIBE, email to debian-arm-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
Archive: 20120720003338.GA23683@jones.jfs.dt">http://lists.debian.org/20120720003338.GA23683@jones.jfs.dt


Reply to: