store | blogs | forums | twitter | facebook | wiki | downloads | support portal
Atomic Secure Linux
It is currently Wed Sep 03, 2014 2:58 am

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 67 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
 Post subject: AOOI dev tree
Unread postPosted: Tue Jan 15, 2008 9:22 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7893
Location: earth
I've been working with the folks on #plesk, irc.freenode.net on some AOOI improvements. If anyone would like to participate, its a great place to get in the loop on whats going on. Right now we've got a dialog for either a network or local installation.

wget -q -O - http://www.atomicorp.com/installers/aoo2 |sh

At this point, only network installs are available. They should be completely unattended. The ks.cfg's need work in the form of multiple disk detection, and dynamic raid creation.

So like the yum gui, if you're interested in the project, volunteer here.


Top
 Profile  
 
 Post subject:
Unread postPosted: Wed Jan 16, 2008 3:35 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7893
Location: earth
Update on progress, we've got automatic disk detection, and RAID mirror creation. If you have multiple drives, then it will automatically create a raid array.

We've had successful tests reported from Fedora 7, Kubuntu, Debian and RHEL 3 , on both i386 and x86_64.

If anyone else could give us a hand testing this out it would be appreciated!


Top
 Profile  
 
 Post subject:
Unread postPosted: Fri Jan 18, 2008 5:56 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7893
Location: earth
We now have AOOI for windows:

http://www.atomicorp.com/installers/AOOI4WIN.vbs

This version requires DHCP, in order to perform a network installation. As I get deeper into windows scripting, I should be able to add in static IP detection. For now, it works just like the linux AOOI, it performs a network installation automatically detecting CPU type and multiple disks.

OSX is next!


Top
 Profile  
 
 Post subject: Re: AOOI dev tree
Unread postPosted: Mon Feb 04, 2008 3:36 pm 
Offline
Forum User
Forum User

Joined: Mon Feb 04, 2008 3:33 pm
Posts: 19
scott wrote:
I've been working with the folks on #plesk, irc.freenode.net on some AOOI improvements.


Is this also for 1&1 root servers?


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Feb 05, 2008 9:40 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7893
Location: earth
It does, thats actually where all this came from originally.


Top
 Profile  
 
 Post subject:
Unread postPosted: Wed Feb 06, 2008 12:58 am 
Offline
Forum User
Forum User

Joined: Mon Feb 04, 2008 3:33 pm
Posts: 19
What failure information can we supply that would be helpful, besides the fact that the server hangs on boot?


Top
 Profile  
 
 Post subject: Failure Info
Unread postPosted: Wed Feb 06, 2008 4:09 am 
Offline
Forum User
Forum User

Joined: Mon Feb 04, 2008 3:33 pm
Posts: 19
FWIW, here's lspci and dmesg from a failed aooi2 initial boot:
Code:
rescue:/# lspci
00:00.0 Host bridge: VIA Technologies, Inc. P4M266 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP]
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
01:00.0 VGA compatible controller: S3 Inc. VT8375 [ProSavage8 KM266/KL266]

rescue:/# lspci -v
00:00.0 Host bridge: VIA Technologies, Inc. P4M266 Host Bridge
        Subsystem: VIA Technologies, Inc.: Unknown device a005
        Flags: bus master, 66Mhz, medium devsel, latency 8
        Memory at ea000000 (32-bit, prefetchable) [size=4M]
        Capabilities: [a0] AGP version 2.0
        Capabilities: [c0] Power Management version 2

00:01.0 PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP] (prog-if 00 [Normal decode])
        Flags: bus master, 66Mhz, medium devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        Memory behind bridge: e8000000-e9ffffff
        Prefetchable memory behind bridge: e0000000-e7ffffff
        Capabilities: [80] Power Management version 2

00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc.: Unknown device a005
        Flags: bus master, medium devsel, latency 32
        I/O ports at d000 [size=32]
        Capabilities: [80] Power Management version 2

00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc.: Unknown device a005
        Flags: bus master, medium devsel, latency 32
        I/O ports at d400 [size=32]
        Capabilities: [80] Power Management version 2

00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc.: Unknown device a005
        Flags: bus master, medium devsel, latency 32
        I/O ports at d800 [size=32]
        Capabilities: [80] Power Management version 2

00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82) (prog-if 20 [EHCI])
        Subsystem: VIA Technologies, Inc. USB 2.0
        Flags: bus master, medium devsel, latency 32
        Memory at ea400000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [80] Power Management version 2

00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
        Subsystem: VIA Technologies, Inc.: Unknown device a005
        Flags: bus master, stepping, medium devsel, latency 0
        Capabilities: [c0] Power Management version 2

00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
        Subsystem: VIA Technologies, Inc.: Unknown device a005
        Flags: bus master, medium devsel, latency 32, IRQ 15
        I/O ports at dc00 [size=16]
        Capabilities: [c0] Power Management version 2

00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
        Subsystem: VIA Technologies, Inc. VT6102 [Rhine II] Embeded Ethernet Controller on VT8235
        Flags: bus master, medium devsel, latency 32, IRQ 23
        I/O ports at e000 [size=256]
        Memory at ea401000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [40] Power Management version 2

01:00.0 VGA compatible controller: S3 Inc. VT8375 [ProSavage8 KM266/KL266] (prog-if 00 [VGA])
        Subsystem: VIA Technologies, Inc.: Unknown device a005
        Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 16
        Memory at e9000000 (32-bit, non-prefetchable) [size=512K]
        Memory at e0000000 (32-bit, prefetchable) [size=128M]
        Expansion ROM at <unassigned> [disabled] [size=64K]
        Capabilities: [dc] Power Management version 2
        Capabilities: [80] AGP version 2.0


Code:
    GNU GRUB  version 0.97  (640K lower / 252864K upper memory)

root (hd0,0)
 Filesystem type is ext2fs, partition type 0x83
kernel /boot/vmlinuz.atomic console=ttyS0,57600n8 console=tty1
   [Linux-bzImage, setup=0x1e00, size=0x1b3634]
initrd /boot/initrd.img.atomic
   [Linux-initrd @ 0xf2e0000, 0x4ff31a bytes]

Linux version 2.6.18-53.el5 (mockbuild@builder6.centos.org) (gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Mon Nov 12 02:22:48 EST 2007
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000f7f0000 (usable)
 BIOS-e820: 000000000f7f0000 - 000000000f7f3000 (ACPI NVS)
 BIOS-e820: 000000000f7f3000 - 000000000f800000 (ACPI data)
 BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
247MB LOWMEM available.
found SMP MP-table at 000f4ed0
Memory for crash kernel (0x0 to 0x0) notwithin permissible range
disabling kdump
Using x86 segment limits to approximate NX protection
DMI 2.2 present.
Using APIC driver default
ACPI: PM-Timer IO Port: 0x408
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 15:2 APIC version 20
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] disabled)
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 3, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 10000000 (gap: 0f800000:ef400000)
Detected 2003.577 MHz processor.
Built 1 zonelists.  Total pages: 63472
Kernel command line: console=ttyS0,57600n8 console=tty1
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c0743000 soft=c0723000
PID hash table entries: 1024 (order: 10, 4096 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 242080k/253888k available (2080k kernel code, 11352k reserved, 869k data, 220k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 4010.03 BogoMIPS (lpj=2005019)
Security Framework v1.0.0 initialized
SELinux:  Initializing.
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 128K
CPU: Hyper-Threading is disabled
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
CPU0: Thermal monitoring enabled
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 14k freed
ACPI: Core revision 20060707
CPU0: Intel(R) Celeron(R) CPU 2.00GHz stepping 09
Total of 1 processors activated (4010.03 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
Brought up 1 CPUs
checking if image is initramfs... it is
Freeing initrd memory: 5116k freed
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfb300, last bus=1
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI quirk: region 0400-047f claimed by vt8235 PM
PCI quirk: region 0500-050f claimed by vt8235 SMB
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 11 12 14 *15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [ALKA] (IRQs 20) *0, disabled.
ACPI: PCI Interrupt Link [ALKB] (IRQs 21) *0, disabled.
ACPI: PCI Interrupt Link [ALKC] (IRQs 22) *0, disabled.
ACPI: PCI Interrupt Link [ALKD] (IRQs 23) *0, disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 10 devices
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
pnp: 00:02: ioport range 0x400-0x47f could not be reserved
pnp: 00:02: ioport range 0x500-0x50f has been reserved
PCI: Bridge: 0000:00:01.0
  IO window: disabled.
  MEM window: e8000000-e9ffffff
  PREFETCH window: e0000000-e7ffffff
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 4096)
TCP reno registered
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
apm: overridden by ACPI.
audit: initializing netlink socket (disabled)
audit(1202176852.999:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key 74432F7696771E6E
- User ID: CentOS (Kernel Module GPG key)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
ACPI Exception (acpi_processor-0681): AE_NOT_FOUND, Processor Device is not present [20060707]
ACPI: Getting cpuindex for acpiid 0x1
Real Time Clock Driver v1.12ac
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected VIA P4M266x/P4N266 chipset
agpgart: AGP aperture is 4M @ 0xea000000
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
ÿserial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:11.1
ACPI: PCI Interrupt Link [ALKA] BIOS reported IRQ 0, using IRQ 20
ACPI: PCI Interrupt Link [ALKA] enabled at IRQ 20
ACPI: PCI Interrupt 0000:00:11.1[A] -> Link [ALKA] -> GSI 20 (level, low) -> IRQ 169
PCI: VIA IRQ fixup for 0000:00:11.1, from 255 to 9
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci0000:00:11.1
    ide0: BM-DMA at 0xdc00-0xdc07, BIOS settings: hda:DMA, hdb:pio
hda: ST340014A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 512KiB
hda: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA(100)
hda: cache flushes supported
 hda: hda1 hda2 hda4 < hda5 hda6 hda7 >
ide-floppy driver 0.99.newide
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
TCP bic registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
Time: tsc clocksource has been installed.
ACPI: (supports S0 S1 S4 S5)
Freeing unused kernel memory: 220k freed
Write protecting the kernel read-only data: 388k


And that's where it sits until I force a reboot from the control panel.

The grub kernel line above does not show the ks: portion, even though I double-checked that it is in grub.conf. How much appeneded text will the kernel accept? Does it end up being too long? The serial console has issues with line-wrap and lines beyond 80 columns -- text I paste in that goes beyond 80 characters per line gets butchered, but if I type it in sometimes its ok.


Top
 Profile  
 
 Post subject:
Unread postPosted: Wed Feb 06, 2008 4:20 am 
Offline
Forum User
Forum User

Joined: Mon Feb 04, 2008 3:33 pm
Posts: 19
This time I carefully typed in all the options for the kernel, and they show up -- but this is all I get.

Code:
  Booting command-list

root (hd0,0)
 Filesystem type is ext2fs, partition type 0x83
kernel /boot/vmlinuz.atomic ks=http://www.atomicorp.com/installers/AOOI/ks-i386
.cfg ip=217.160.242.xxx netmask=255.255.255.255 gateway=10.255.255.1 dns=217.160
.242.251 acpi=off
   [Linux-bzImage, setup=0x1e00, size=0x1b3634]
initrd /boot/initrd.img.atomic
   [Linux-initrd @ 0xf2e0000, 0x4ff31a bytes]

ÿ


Is the absence of "console=ttyS0,57600 console=tty" causing it to disappear? I thought that the defaults in grub.conf would take care of that
Code:
serial --unit 0 --speed 57600
terminal serial console --timeout=5


EDIT: apparently leaving out the console lines from the kernel arguments does cause it to disappear, as it changed when I added those and restarted. But it still hangs -- no joy.


Top
 Profile  
 
 Post subject: Re: AOOI dev tree
Unread postPosted: Wed Feb 06, 2008 11:41 am 
Offline
Forum User
Forum User

Joined: Mon Feb 04, 2008 3:33 pm
Posts: 19
scott wrote:


I think that should be

wget -q -O - http://www.atomicorp.com/installers/aooi2 | sh


Top
 Profile  
 
 Post subject:
Unread postPosted: Wed Feb 06, 2008 11:55 pm 
Offline
Forum User
Forum User

Joined: Mon Feb 04, 2008 3:33 pm
Posts: 19
1&1's debian 3.1 image runs aooi2 just the way it should. However, after booting, it says
Code:
+-------------+ Error downloading kickstart file +-------------+
|                                                              |
| Unable to download the kickstart file.  Please modify the    |
| kickstart parameter below or press Cancel to proceed as an   |
| interactive installation.                                    |
|                                                              |
| http://www.atomicorp.com/installers/AOOI/ks-i386.cfg____________ |


I don't know if this is a dns problem or a network problem. I'll try rebooting normally and see what I can hack out.


Top
 Profile  
 
 Post subject:
Unread postPosted: Thu Feb 07, 2008 12:25 am 
Offline
Forum User
Forum User

Joined: Mon Feb 04, 2008 3:33 pm
Posts: 19
Maybe it had nothing to do with the config -- I just got a "link down" message in the serial console, and now my server has dropped off the face of the planet - no reboots, nothing. I will now call 1&1 support and plead my case.


Top
 Profile  
 
 Post subject:
Unread postPosted: Thu Feb 07, 2008 12:26 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7893
Location: earth
Thats what I see happening with the other server Im playing with at 1and1 too. I just need to get the local install code updated in aooi2. Its actually not a lot of work, I just havent had the time to so much as log into the box the 1and1 guys gave me.


Top
 Profile  
 
 Post subject:
Unread postPosted: Thu Feb 07, 2008 12:30 pm 
Offline
Forum User
Forum User

Joined: Mon Feb 04, 2008 3:33 pm
Posts: 19
Never mind -- they were moving my server. See http://www.1and1faq.com/forums/showthread.php?t=1036

However, the "unable to download kickstart file" error remains.

I tried canceling the kickstart and selecting a network install and input the location to download images, but neither name nor ip address worked.

I verified the atomic entry in lilo.conf after aooi2 ran and the network data appeared to be identical to the system data. I don't know what else to suggest, but network installs look dead right now.


Top
 Profile  
 
 Post subject:
Unread postPosted: Thu Feb 07, 2008 12:33 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7893
Location: earth
This is exactly why I wrote the "Offline Installer" originally... for some reason sometimes the network just doesnt work at 1and1.


Top
 Profile  
 
 Post subject:
Unread postPosted: Thu Feb 07, 2008 3:35 pm 
Offline
Forum User
Forum User

Joined: Mon Feb 04, 2008 3:33 pm
Posts: 19
So I should stick with the first version - aooi instead of aooi2.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 67 posts ]  Go to page 1, 2, 3, 4, 5  Next

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group