DL 1.2.15 on CF Card

View: New views
5 Messages — Rating Filter:   Alert me  

DL 1.2.15 on CF Card

by Dr. Helmut G. Enders :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I tried to install DL on an Alix board using
the script install-on-usb (grub with serial)
and a 2 GB CF card with two partitions, each 1 GB.

When I try to boot, I get the message

GRUB loading stage 1.5.
GRUB loading, please wait.
Error 2

and the system get stuck, no more output, no keyboard
input.

Any ideas, getting it to run?

Helmut



The menu.lst (which is a ln to grub.conf) in /boot/grub:

timeout=10
serial --unit=0 --speed=38400 --word=8 --parity=no --stop=1
terminal --timeout=10 serial console
# Devil-Linux Boot Line options:
#  DL_config=/dev/discs/disc0/part1 - loads the etc.tar.bz2 form that device
#  DL_config_no_scan - prevents scanning for etc.tar.bz2
#  DL_device=/dev/discs/disc0/part1 - Loads CD/ISO from that device
#  DL_device_no_scan - Prevents scannign for CD/ISO
#
# Note: "/dev/hda1" type devices are not supported! Use /dev/discs/... or /dev/ide/...
# type device names.
title Devil-Linux - Serial Console
root (hd0,0)
kernel /boot/vmlinuz ro root=/dev/ram0 init=/linuxrc ramdisk_blocksize=4096 console=tty0 console=ttyS0,38400n8
initrd /boot/initrd.gz
title Devil-Linux - Standard VGA
root (hd0,0)
kernel /boot/vmlinuz ro root=/dev/ram0 init=/linuxrc ramdisk_blocksize=4096
initrd /boot/initrd.gz
title Memtest86
root (hd0,0)
kernel /boot/memtest



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Devil-linux-discuss mailing list
Devil-linux-discuss@...
https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss

Re: DL 1.2.15 on CF Card

by Dick Middleton-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dr. Helmut G. Enders wrote:

> I tried to install DL on an Alix board using
> the script install-on-usb (grub with serial)
> and a 2 GB CF card with two partitions, each 1 GB.
>
> When I try to boot, I get the message
>
> GRUB loading stage 1.5.
> GRUB loading, please wait.
> Error 2
>
> and the system get stuck, no more output, no keyboard
> input.

Use syslinux - I've never got grub to work

Dick


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Devil-linux-discuss mailing list
Devil-linux-discuss@...
https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss

Re: DL 1.2.15 on CF Card

by Dr. Helmut G. Enders :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dick Middleton wrote:
...
>> GRUB loading stage 1.5.
>> GRUB loading, please wait.
>> Error 2
.....
>
> Use syslinux - I've never got grub to work
>
> Dick


Thanks, I tried that, and changed the vga option in the syslinux.conf
to the grub console options.

Below is the log of my serial output.

Helmut

pc_keyb: controller jammed (0xFF).
   .... <1000000 lines deleted> ......
pc_keyb: controller jammed (0xFF).
Keyboard timed out[1]
keyboard: Timeout - AT keyboard not present?(f4)
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
Real Time Clock Driver v1.10f
floppy0: no floppy controllers found
NET4: Frame Diverter 0.46
RAMDISK driver initialized: 16 RAM disks of 4096K size 4096 blocksize
eth0: i82596 initialization timed out
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
hda: SanDisk SDCFH-2048, CFA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: attached ide-disk driver.
hda: 4001760 sectors (2049 MB) w/1KiB Cache, CHS=3970/16/63
Partition check:
  /dev/ide/host0/bus0/target0/lun0: [PTBL] [992/64/63] p1 p2
Highpoint HPT370 Softwareraid driver for linux version 0.03
Medley RAID: No usable RAID sets found
Guestimating sector 4000735 for superblock
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
ehci_hcd 00:0f.5: PCI device 1022:2095 (Advanced Micro Devices [AMD])
ehci_hcd 00:0f.5: irq 15, pci mem d081c000
usb.c: new USB bus registered, assigned bus number 1
ehci_hcd 00:0f.5: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 4 ports detected
host/usb-uhci.c: $Revision: 1.275 $ time 14:41:54 Jul 21 2008
host/usb-uhci.c: High bandwidth mode enabled
host/usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
host/usb-ohci.c: USB OHCI at membase 0xd081e000, IRQ 15
host/usb-ohci.c: usb-00:0f.4, PCI device 1022:2094 (Advanced Micro Devices [AMD])
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 4 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@...>
hid-core.c: USB HID support drivers
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
Initializing Cryptographic API
IEEE 802.2 LLC for Linux 2.1 (c) 1996 Tim Alpaerts
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
802.1Q VLAN Support v1.8 Ben Greear <greearb@...>
All bugs added by David S. Miller <davem@...>
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 2662k freed
VFS: Mounted root (cramfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 144k freed

********************************************************************************
*                                                                              *
*                           Welcome to Devil-Linux                             *
*                                                                              *
********************************************************************************
                           http://www.devil-linux.org/

Version 1.2.15
Kernel 2.4.36.6-grsec
Mounting SHM FS on /shm
waiting until usb-storage driver has initialized all devices ...
Loading loop-AES module
Searching for configuration media
Searching for config file "BAD.etc.tar.bz2"
   checking /dev/ide/host0/bus0/target0/lun0/part1...file not found
   checking /dev/ide/host0/bus0/target0/lun0/part2...file not found
No bad config found!
Searching for config file "etc.tar.bz2"
   checking /dev/ide/host0/bus0/target0/lun0/part1...file not found
   checking /dev/ide/host0/bus0/target0/lun0/part2...file not found
Looking for empty configuation media on /dev/ide/host0/bus0/target0/lun0/part1

*** Found empty configuration media - /dev/ide/host0/bus0/target0/lun0/part1. ***
Should I copy default configuration to it? (y/n) y

Would you like to probe for SCSI controllers now? (y/n) y

Probing all SCSI modules ...
Modules found:  i2o_block i2o_config i2o_core i2o_lan i2o_proc libata
Searching for Devil-Linux CD-ROM
   checking /dev/ide/host0/bus0/target0/lun0/part1 media found
mount: /dev/loop/0 is write-protected, mounting read-only
Looking for empty configuation media on /dev/ide/host0/bus0/target0/lun0/part2

*** Found empty configuration media - /dev/ide/host0/bus0/target0/lun0/part2. ***
Should I copy default configuration to it? (y/n) y

Would you like to probe for SCSI controllers now? (y/n) n

Searching for Devil-Linux CD-ROM
   checking /dev/ide/host0/bus0/target0/lun0/part1 mount failed
   checking /dev/ide/host0/bus0/target0/lun0/part2 wrong media
!!! Devil-Linux CD-ROM not found !!!
Cannot find CD drive - try probing for SCSI controllers
Would you really like to load DL without Configuration Media?
  (y/n) n

Please insert Configuration Media and press 'ENTER'


Searching for config file "etc.tar.bz2"
   checking /dev/ide/host0/bus0/target0/lun0/part1...mount failed
   checking /dev/ide/host0/bus0/target0/lun0/part2...file not found
Looking for empty configuation media on /dev/ide/host0/bus0/target0/lun0/part1
Looking for empty configuation media on /dev/ide/host0/bus0/target0/lun0/part2

*** Found empty configuration media - /dev/ide/host0/bus0/target0/lun0/part2. ***
Should I copy default configuration to it? (y/n) y

Would you like to probe for SCSI controllers now? (y/n) n

Searching for Devil-Linux CD-ROM
   checking /dev/ide/host0/bus0/target0/lun0/part1 mount failed
   checking /dev/ide/host0/bus0/target0/lun0/part2 wrong media
!!! Devil-Linux CD-ROM not found !!!
Cannot find CD drive - try probing for SCSI controllers
Would you really like to load DL without Configuration Media?
  (y/n) n

Please insert Configuration Media and press 'ENTER'


Searching for config file "etc.tar.bz2"
   checking /dev/ide/host0/bus0/target0/lun0/part1...mount failed
   checking /dev/ide/host0/bus0/target0/lun0/part2...file not found
Looking for empty configuation media on /dev/ide/host0/bus0/target0/lun0/part1
Looking for empty configuation media on /dev/ide/host0/bus0/target0/lun0/part2

*** Found empty configuration media - /dev/ide/host0/bus0/target0/lun0/part2. ***
Should I copy default configuration to it? (y/n) y

Would you like to probe for SCSI controllers now? (y/n) y

Probing all SCSI modules ...
Modules found:  i2o_block i2o_config i2o_core i2o_lan i2o_proc libata
Searching for Devil-Linux CD-ROM
   checking /dev/ide/host0/bus0/target0/lun0/part1 mount failed
   checking /dev/ide/host0/bus0/target0/lun0/part2 wrong media
!!! Devil-Linux CD-ROM not found !!!
Cannot find CD drive - try probing for SCSI controllers
Would you really like to load DL without Configuration Media?
  (y/n) y

Loading configuration
Searching for Devil-Linux CD-ROM
   checking /dev/ide/host0/bus0/target0/lun0/part1 mount failed
   checking /dev/ide/host0/bus0/target0/lun0/part2 wrong media
!!! Devil-Linux CD-ROM not found !!!

Please check your Hardware!
Booting will NOT continue, you have to reset to try again


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Devil-linux-discuss mailing list
Devil-linux-discuss@...
https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss

Re: DL 1.2.15 on CF Card

by Riccardo Marcon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dr. Helmut G. Enders ha scritto:

> I tried to install DL on an Alix board using
> the script install-on-usb (grub with serial)
> and a 2 GB CF card with two partitions, each 1 GB.
>
> When I try to boot, I get the message
>
> GRUB loading stage 1.5.
> GRUB loading, please wait.
> Error 2
>
> and the system get stuck, no more output, no keyboard
> input.
>
> Any ideas, getting it to run?
>
> Helmut

i had same problem on soekris net5501 + cf card:
 i solved it changing cf card geometry settings, cyls, head,... to get
the number of cylinders less than 1024....

riccardo

--
----------------------------
riccardo marcon
dipartimento di scienze economiche
universita' di padova
via del santo 33 - 35123 padova
tel +39 049 827 4272 (4212)
fax +39 049 827 4211
e-mail: riccardo.marcon@...

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Devil-linux-discuss mailing list
Devil-linux-discuss@...
https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss

Re: DL 1.2.15 on CF Card

by Dr. Helmut G. Enders :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Riccardo Marcon wrote:

> i had same problem on soekris net5501 + cf card:
>  i solved it changing cf card geometry settings, cyls, head,... to get
> the number of cylinders less than 1024....
>
> riccardo
>


Heads; 64 Sectors: 63  Cylinders: 992   :-(

I changed the bios to lba and back, same behavior.

Helmut

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Devil-linux-discuss mailing list
Devil-linux-discuss@...
https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss
LightInTheBox - Buy quality products at wholesale price!