[Eisfair] Eisfair-1 und VirtualBox

Jürgen Witt j-witt at web.de
Mi Apr 18 15:43:04 CEST 2012


Hallo NG,

wie ich schrieb, habe ich auf Eisfair1 mit Kernel 2.6 VirtualBox zum 
Laufen bekommen. Weil ich ein HowTo erstellen werde, wollte ich 
versuchen, ob es auch mit dem 2.4-er Kernel zum Laufen zu bekommen ist. 
Hier mein Versuch.

Installiert ist ein Testserver mit
base 1.8.3
kernel 1.26.0 2.4.35-wt1
developer 1.6.6
devtools 1.6.1
libxt 1.0.1
apache2 1.6.0
apache2_php5 1.6.0
samba 1.54.1(nicht erforderlich - nur den Datentransfer zum/vom Server)

Der Server hat eine Extra-Partition für /data
Daher "verlege" ich /opt, /public und /home auf diese Partition. (mv 
/opt /data/opt, ln -s /data/opt /opt  usw.)


Welcome to eisfair!
base     : 1.8.3
eiskernel: 1.26.0 (2.4.35-wt1)

eis # cd /data
eis # /public/VirtualBox-4.1.12-77245-Linux_x86.run
Verifying archive integrity... All good.
Uncompressing VirtualBox for Linux installation...........
VirtualBox Version 4.1.12 r77245 (2012-04-03T12:45:19Z) installer
Installing VirtualBox to /opt/VirtualBox
As our installer does not recognize your Linux distribution, we were 
unable to
set up the initialization script vboxdrv correctly.  The script has been 
copied
copied to the /etc/init.d directory.  You should set up your system to start
it at system start, or start it manually before using VirtualBox.

If you would like to help us add support for your distribution, please 
open a
new ticket on http://www.virtualbox.org/wiki/Bugtracker.
As our installer does not recognize your Linux distribution, we were 
unable to
set up the initialization script vboxballoonctrl-service correctly.  The 
script has been copied
copied to the /etc/init.d directory.  You should set up your system to start
it at system start, or start it manually before using VirtualBox.

If you would like to help us add support for your distribution, please 
open a
new ticket on http://www.virtualbox.org/wiki/Bugtracker.
As our installer does not recognize your Linux distribution, we were 
unable to
set up the initialization script vboxweb-service correctly.  The script 
has been copied
copied to the /etc/init.d directory.  You should set up your system to start
it at system start, or start it manually before using VirtualBox.

If you would like to help us add support for your distribution, please 
open a
new ticket on http://www.virtualbox.org/wiki/Bugtracker.
ln: creating symbolic link `/usr/share/pixmaps/VBox.png': No such file 
or directory
ln: creating symbolic link `/usr/share/pixmaps/virtualbox.png': No such 
file or directory
ln: creating symbolic link `/usr/share/applications/virtualbox.desktop': 
No such file or directory
ln: creating symbolic link `/usr/share/mime/packages/virtualbox.xml': No 
such file or directory
Python found: python, installing bindings...
/bin/bash: python: command not found
./install.sh: line 234: /etc/udev/rules.d/10-vboxdrv.rules: No such file 
or directory
Building the VirtualBox kernel modules
As our installer does not recognize your Linux distribution, we were 
unable to
set up the initialization script vboxdrv correctly.  The script has been 
copied
copied to the /etc/init.d directory.  You should set up your system to start
it at system start, or start it manually before using VirtualBox.

If you would like to help us add support for your distribution, please 
open a
new ticket on http://www.virtualbox.org/wiki/Bugtracker.

VirtualBox has been installed successfully.

You will find useful information about using VirtualBox in the user manual
   /opt/VirtualBox/UserManual.pdf
and in the user FAQ
   http://www.virtualbox.org/wiki/User_FAQ

We hope that you enjoy using VirtualBox.

eis # /etc/init.d/vboxdrv start
Starting VirtualBox kernel modules ...failed!
   (modprobe vboxdrv failed. Please use 'dmesg' to find out why)
eis # /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules ...done.
Uninstalling old VirtualBox DKMS kernel modules ...done.
Trying to register the VirtualBox kernel modules using DKMS ...failed!
   (Failed, trying without DKMS)
Recompiling VirtualBox kernel modules ...failed!
   (Look at /var/log/vbox-install.log to find out what went wrong)


Ausgabe von dmesg

eis # dmesg
Linux version 2.4.35-wt1 (root at testeis) (gcc version 3.4.6) #1 Wed Dec 
22 00:35:48 CET 2010
BIOS-provided physical RAM map:
  BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
  BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
  BIOS-e820: 00000000000ce000 - 00000000000d0000 (reserved)
  BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
  BIOS-e820: 0000000000100000 - 000000007fef0000 (usable)
  BIOS-e820: 000000007fef0000 - 000000007fefb000 (ACPI data)
  BIOS-e820: 000000007fefb000 - 000000007ff00000 (ACPI NVS)
  BIOS-e820: 000000007ff00000 - 000000007ff80000 (usable)
  BIOS-e820: 000000007ff80000 - 0000000080000000 (reserved)
  BIOS-e820: 00000000fec00000 - 00000000fed00400 (reserved)
  BIOS-e820: 00000000fee00000 - 00000000fef00000 (reserved)
  BIOS-e820: 00000000ffb80000 - 00000000ffc00000 (reserved)
  BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
1151MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at 000f7500
hm, page 000f7000 reserved twice.
hm, page 000f8000 reserved twice.
hm, page 0009f000 reserved twice.
hm, page 000a0000 reserved twice.
On node 0 totalpages: 524160
zone(0): 4096 pages.
zone(1): 225280 pages.
zone(2): 294784 pages.
ACPI: RSDP (v000 PTLTD                                     ) @ 0x000f7560
ACPI: RSDT (v001 PTLTD    RSDT   0x06040001  LTP 0x00000000) @ 0x7fef7464
ACPI: FADT (v001 FSC    D168x    0x06040001      0x000f4240) @ 0x7fef7498
ACPI: ASF! (v016 OEMID  OEMTBL   0x06040001 PTL  0x00000001) @ 0x7fefaef1
ACPI: MADT (v001 FSC             APIC   0x06040001  CSF 0x00000000) @ 
0x7fefaf76
ACPI: BOOT (v001 PTLTD  $SBFTBL$ 0x06040001  LTP 0x00000001) @ 0x7fefafd8
ACPI: DSDT (v001 FSC    D168x    0x06040001 MSFT 0x0100000e) @ 0x00000000
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 Pentium 4(tm) XEON(tm) APIC version 20
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Processor #1 Pentium 4(tm) XEON(tm) APIC version 20
ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1])
ACPI: IOAPIC (id[0x01] address[0xfec00000] global_irq_base[0x0])
IOAPIC[0]: apic_id 1 already used, trying 2
IOAPIC[0]: Assigned apic_id 2
IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, IRQ 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
Using ACPI (MADT) for SMP configuration information
Kernel command line: BOOT_IMAGE=eis ro root=303
Initializing CPU#0
Detected 2800.167 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 5583.66 BogoMIPS
Memory: 2067920k/2096640k available (1809k kernel code, 28268k reserved, 
609k data, 164k init, 1179072k highmem)
Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
Inode cache hash table entries: 131072 (order: 8, 1048576 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 131072 (order: 7, 524288 bytes)
Page-cache hash table entries: 524288 (order: 9, 2097152 bytes)
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: bfebfbff 00000000 00000000 00000000
CPU:             Common caps: bfebfbff 00000000 00000000 00000000
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz stepping 09
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
ENABLING IO-APIC IRQs
init IO_APIC IRQs
  IO-APIC (apicid-pin) 2-0, 2-16, 2-17, 2-18, 2-19, 2-20, 2-21, 2-22, 
2-23 not connected.
..TIMER: vector=0x31 pin1=2 pin2=-1
..TIMER: works OK on IO-APIC INTIN2
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 2800.2166 MHz.
..... host bus clock speed is 200.0152 MHz.
cpu: 0, clocks: 2000152, slice: 1000076
CPU0<T0:2000144,T1:1000064,D:4,S:1000076,C:2000152>
mtrr: v1.40 (20010327) Richard Gooch (rgooch at atnf.csiro.au)
mtrr: detected mtrr type: Intel
ACPI: Subsystem revision 20040326
PCI: PCI BIOS revision 2.10 entry at 0xfd987, last bus=3
PCI: Using configuration type 1
schedule_task(): keventd has not started
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: System [ACPI] (supports S0 S1 S3 S4 S5)
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
Transparent bridge - Intel Corp. 82801BA/CA/DB/EB PCI Bridge
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGPB._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.CSAB._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIH._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, 
disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, 
disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, 
disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
PCI: Probing PCI hardware
00:00:02[A] -> 2-16 -> IRQ 16 level low
00:00:02[B] -> 2-17 -> IRQ 17 level low
00:00:1f[A] -> 2-18 -> IRQ 18 level low
00:00:1d[B] -> 2-19 -> IRQ 19 level low
00:00:1d[D] -> 2-23 -> IRQ 23 level low
00:03:05[A] -> 2-22 -> IRQ 22 level low
00:03:05[B] -> 2-21 -> IRQ 21 level low
00:03:08[A] -> 2-20 -> IRQ 20 level low
number of MP IRQ sources: 15.
number of IO-APIC #2 registers: 24.
testing the IO APIC.......................

IO APIC #2......
.... register #00: 02000000
.......    : physical APIC id: 02
.......    : Delivery Type: 0
.......    : LTS          : 0
.... register #01: 00178020
.......     : max redirection entries: 0017
.......     : PRQ implemented: 1
.......     : IO APIC version: 0020
.... IRQ redirection table:
  NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
  00 000 00  1    0    0   0   0    0    0    00
  01 001 01  0    0    0   0   0    1    1    39
  02 001 01  0    0    0   0   0    1    1    31
  03 001 01  0    0    0   0   0    1    1    41
  04 001 01  0    0    0   0   0    1    1    49
  05 001 01  0    0    0   0   0    1    1    51
  06 001 01  0    0    0   0   0    1    1    59
  07 001 01  0    0    0   0   0    1    1    61
  08 001 01  0    0    0   0   0    1    1    69
  09 001 01  0    1    0   0   0    1    1    71
  0a 001 01  0    0    0   0   0    1    1    79
  0b 001 01  0    0    0   0   0    1    1    81
  0c 001 01  0    0    0   0   0    1    1    89
  0d 001 01  0    0    0   0   0    1    1    91
  0e 001 01  0    0    0   0   0    1    1    99
  0f 001 01  0    0    0   0   0    1    1    A1
  10 001 01  1    1    0   1   0    1    1    A9
  11 001 01  1    1    0   1   0    1    1    B1
  12 001 01  1    1    0   1   0    1    1    B9
  13 001 01  1    1    0   1   0    1    1    C1
  14 001 01  1    1    0   1   0    1    1    E1
  15 001 01  1    1    0   1   0    1    1    D9
  16 001 01  1    1    0   1   0    1    1    D1
  17 001 01  1    1    0   1   0    1    1    C9
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9
IRQ10 -> 0:10
IRQ11 -> 0:11
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
IRQ16 -> 0:16
IRQ17 -> 0:17
IRQ18 -> 0:18
IRQ19 -> 0:19
IRQ20 -> 0:20
IRQ21 -> 0:21
IRQ22 -> 0:22
IRQ23 -> 0:23
.................................... done.
PCI: Using ACPI for IRQ routing
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
allocated 32 pages and 32 bhs reserved for the highmem bounces
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
ACPI: Power Button (FF) [PWRF]
vga16fb: initializing
vga16fb: mapped to 0xc00a0000
Console: switching to colour frame buffer device 80x30
fb0: VGA16 VGA frame buffer device
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT 
SHARE_IRQ DETECT_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 32768K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH5: IDE controller at PCI slot 00:1f.1
PCI: Enabling device 00:1f.1 (0005 -> 0007)
ICH5: chipset revision 2
ICH5: not 100% native mode: will probe irqs later
     ide0: BM-DMA at 0x2c00-0x2c07, BIOS settings: hda:DMA, hdb:pio
     ide1: BM-DMA at 0x2c08-0x2c0f, BIOS settings: hdc:DMA, hdd:pio
hda: SAMSUNG SP1654N, ATA DISK drive
hdc: HL-DT-ST CD-ROM GCR-8482B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 312581808 sectors (160042 MB) w/8192KiB Cache, CHS=19457/255/63, 
UDMA(100)
Partition check:
  hda: hda1 hda2 hda3 hda4
Promise Fasttrak(tm) Softwareraid driver 0.03beta: No raid array found
Highpoint HPT370 Softwareraid driver for linux version 0.03
Medley RAID: No usable RAID sets found
Guestimating sector 312560384 for superblock
driver for Silicon Image(tm) Medley(tm) hardware version 0.0.1: No raid 
array found
md: linear personality registered as nr 1
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
    8regs     :  3212.000 MB/sec
    32regs    :  1984.000 MB/sec
    pIII_sse  :  3624.000 MB/sec
    pII_mmx   :  3166.800 MB/sec
    p5_mmx    :  3240.000 MB/sec
raid5: using function: pIII_sse (3624.000 MB/sec)
md: multipath personality registered as nr 7
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
LVM version 1.0.8(17/11/2003)
device-mapper: 4.0.5-ioctl (2003-11-18) initialised: dm at uk.sistina.com
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 16384 buckets, 128Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 612k freed
VFS: Mounted root (ext2 filesystem).
mice: PS/2 mouse device common for all mice
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Setting latency timer of device 00:1d.0 to 64
uhci.c: USB UHCI at I/O 0x1000, IRQ 16
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Setting latency timer of device 00:1d.1 to 64
uhci.c: USB UHCI at I/O 0x1400, IRQ 19
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Setting latency timer of device 00:1d.2 to 64
uhci.c: USB UHCI at I/O 0x1800, IRQ 18
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Setting latency timer of device 00:1d.3 to 64
uhci.c: USB UHCI at I/O 0x1c00, IRQ 16
usb.c: new USB bus registered, assigned bus number 4
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: $Revision: 1.275 $ time 00:52:32 Dec 22 2010
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
PCI: Setting latency timer of device 00:1d.7 to 64
ehci_hcd 00:1d.7: Intel Corp. 82801EB USB2
ehci_hcd 00:1d.7: irq 23, pci mem f882d000
usb.c: new USB bus registered, assigned bus number 5
ehci_hcd 00:1d.7: enabled 64bit PCI DMA
PCI: cache line size of 128 is not supported by device 00:1d.7
ehci_hcd 00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 8 ports detected
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech at suse.cz>
hid-core.c: USB HID support drivers
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Trying to move old root to /initrd ... failed
Unmounting old root
Trying to free ramdisk memory ... okay
Freeing unused kernel memory: 164k freed
Adding Swap: 265060k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,3), internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,4), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
apm: overridden by ACPI.
hdc: attached ide-cdrom driver.
hdc: ATAPI 32X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Intel(R) PRO/1000 Network Driver - version 8.0.23-NAPI
Copyright (c) 1999-2010 Intel Corporation.
PCI: Setting latency timer of device 02:01.0 to 64
e1000: 02:01.0: e1000_probe: (PCI:33MHz:32-bit) 00:30:05:90:91:9d
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
e1000: eth0: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, 
Flow Control: RX/TX

Inhalt von /var/log/vbox-install.log

eis 1.8.3 # cat vbox-install.log
make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 
CONFIG_MODULE_SIG= -C /lib/modules/2.4.35-wt1/build modules
make[1]: Warning: File `/usr/src/linux-2.4.35/.hdepend' has modification 
time 2.6e+03 s in the future
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o 
scripts/split-include scripts/split-include.c
scripts/split-include include/linux/autoconf.h include/config
make -C  /tmp/vbox.0 CFLAGS="-D__KERNEL__ 
-I/usr/src/linux-2.4.35/include -Wall -Wstrict-prototypes -Wno-trigraphs 
-O2 -fno-strict-aliasing -fno-common -fno-strength-reduce 
-fno-builtin-strpbrk -fno-builtin-sprintf 
-fno-delete-null-pointer-checks -pipe -mpreferred-stack-boundary=2 
-march=i486 -fno-unit-at-a-time -DMODULE" MAKING_MODULES=1 modules
make[2]: Warning: File `/usr/src/linux-2.4.35/.config' has modification 
time 2.6e+03 s in the future
make[2]: *** No rule to make target `modules'.  Stop.
make[1]: *** [_mod_/tmp/vbox.0] Error 2
make: *** [vboxdrv] Error 2

Auf der gleichen Hardware (mit einer anderen ATA-Platte habe ich mit dem 
2.6-er Kernel alles zum Laufen bekommen)

Habe ich eine Chance hier weiter zu kommen?

Gruß
Jürgen


Mehr Informationen über die Mailingliste Eisfair