Re: [Voyage-linux] Can't boot voyage linux 0.8.5

2012-08-16 Thread Jim Cromie
On Thu, Aug 16, 2012 at 5:59 PM, Jim Cromie  wrote:
> please keep voyage ccd,
> someone else may have important input.
>
>
> On Tue, Aug 14, 2012 at 11:43 PM, Simon Hafner  wrote:
>> 2012/8/14 Jim Cromie :
>>> On Mon, Jul 23, 2012 at 2:54 AM, liquid  wrote:
 Hello,

 I am trying to install voyage linux 0.8.5 on an Alix 3d2 board via pxe 
 boot.
 I can see that it loads the image properly, but the boot process hangs on
 "Switching to clocksource tsc". I've seen that voyage uses newer kernel
 version, which i suspect to be the problem. I have been able to install and
 boot debian stable on 2.6.32 kernel on this board, but i need the newer
 kernel's support for MP-6x10 driver. I have already tried adding "nomfgpt"
 kernel parameter and setting "clocksource=" to various values. The card's

could you try clocksource=pit  and clocksource=tsc on daily build ?
I tried forcing tsc on my 4801, and it seemed to boot slower, but it didnt hang.

Also, you have a running kernel (or you wouldnt have gotten the /proc/cpuinfo)
can you modprobe scx200_hrt on it, see if it loads (iirc, it expects a
particular
PCIID, and your SOC may not match - or it might)
if old kernel has it, try booting new one (via pxe) with clocksource=scx200_hrt

what is an MP-6x10 board anyway ?


 bios version is 0.99h (newest), and it supports some kind of MFGPT
 workaround, which I have also been trying switching on. I have no idea what
 else i could try to boot the system, so i beg you for help :)

___
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux


Re: [Voyage-linux] Can't boot voyage linux 0.8.5

2012-08-16 Thread Simon Hafner
2012/8/16 Jim Cromie :
> On Tue, Aug 14, 2012 at 11:43 PM, Simon Hafner  wrote:
>> 2012/8/14 Jim Cromie :
>>> On Mon, Jul 23, 2012 at 2:54 AM, liquid  wrote:
>>> root@voyage:~# dmesg | grep -i -E 'tsc|clocksource'
>>> [0.00] Fast TSC calibration using PIT
>>> [0.401200] Switching to clocksource pit
>>> [6.431014] Switching to clocksource tsc
>>> [8.423737] Clocksource tsc unstable (delta = -103967911 ns)
>>> [8.433916] Switching to clocksource pit
>>> [   47.369942] Switching to clocksource scx200_hrt
>>
>> I don't see any of those.
>
> hmm - thats odd.
> Im running daily-build now, so cant go back and check,
> but those messages have been there as long as I can remember.
>
> Can you confirm that the Alix actually has a Geode ?
> if not, then the clocksource business above isnt relevant.

processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 5
model   : 10
model name  : Geode(TM) Integrated Processor by AMD PCS
stepping: 2
[...]

> If it is a geode, please try daily-build,
> then we can closely compare your dmesg to mine.

PC Engines ALIX.3 v0.99h
640 KB Base Memory
261120 KB Extended Memory

01F0 Master 044A CF 4GB
Phys C/H/S 7769/16/63 Log C/H/S 971/128/63

Intel UNDI, PXE-2.0 (build 082)
Copyright (C) 1997,1998,1999  Intel Corporation
VIA Rhine III Management Adapter v2.43 (2005/12/15)

CLIENT MAC ADDR: 00 0D B9 15 ED 2C
CLIENT IP: 192.168.1.11  MASK: 255.255.255.0  DHCP IP: 192.168.1.200
GATEWAY IP: 192.168.1.1

PXELINUX 4.05 20120630  Copyright (C) 1994-2011 H. Peter Anvin et al
==
 __  __
 \ \/ /___ __  __ ___  ___  ___
  \  // _ \\ \/ /,-_ |/ _ |/ -_)
   \/ \___/ \  / \___,\_  |\___|
   _/_/_'_|
 { V o y a g e } - L i n u x
  < http://linux.voyage.hk >

  1. PXE Boot Voyage Linux with a login shell
  2. Start automated install for WRAP (/dev/hda and 38400 serial console)
  3. Start automated install for ALIX (/dev/hda and 38400 serial console)
  4. Start automated install for 45/48xx (/dev/hda and 19200 serial console)
  5. Start automated install for 55xx (/dev/hda and 19200 serial console)
  6. Start automated install for gerenic PC (/dev/hda and no serial console)

==
boot: 3
Loading linux
Loading initrd.imgready.
[0.00] Linux version 3.4.4-voyage (unknown)
(root@punknix-pluto) (gcc version 4.4.5 (Debian 4.4.5-8) ) #1 SMP
PREEMPT S
un Aug 12 12:01:41 HKT 2012
[0.00] KERNEL supported cpus:
[0.00]   Intel GenuineIntel
[0.00]   AMD AuthenticAMD
[0.00]   NSC Geode by NSC
[0.00]   Cyrix CyrixInstead
[0.00]   Centaur CentaurHauls
[0.00]   Transmeta GenuineTMx86
[0.00]   Transmeta TransmetaCPU
[0.00]   UMC UMC UMC UMC
[0.00] BIOS-provided physical RAM map:
[0.00]  BIOS-e820:  - 000a (usable)
[0.00]  BIOS-e820: 000f - 0010 (reserved)
[0.00]  BIOS-e820: 0010 - 1000 (usable)
[0.00]  BIOS-e820: fff0 - 0001 (reserved)
[0.00] Notice: NX (Execute Disable) protection missing in CPU!
[0.00] DMI not present or invalid.
[0.00] last_pfn = 0x1 max_arch_pfn = 0x10
[0.00] init_memory_mapping: -1000
[0.00] RAMDISK: 0fa3b000 - 0ffdf000
[0.00] ACPI Error: A valid RSDP was not found (20120320/tbxfroot-219)
[0.00] 0MB HIGHMEM available.
[0.00] 256MB LOWMEM available.
[0.00]   mapped low ram: 0 - 1000
[0.00]   low ram: 0 - 1000
[0.00] Zone PFN ranges:
[0.00]   DMA  0x0010 -> 0x1000
[0.00]   Normal   0x1000 -> 0x0001
[0.00]   HighMem  empty
[0.00] Movable zone start PFN for each node
[0.00] Early memory PFN ranges
[0.00] 0: 0x0010 -> 0x00a0
[0.00] 0: 0x0100 -> 0x0001
[0.00] Using APIC driver default
[0.00] SMP: Allowing 1 CPUs, 0 hotplug CPUs
[0.00] No local APIC present or hardware disabled
[0.00] APIC: disable apic facility
[0.00] APIC: switched to apic NOOP
[0.00] PM: Registered nosave memory: 000a - 000f
[0.00] PM: Registered nosave memory: 000f - 0010
[0.00] Allocating PCI resources starting at 1000 (gap:
1000:eff0)
[0.00] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1
nr_node_ids:1
[0.00] PERCPU: Embedded 11 pages/cpu @cfff s24256 r0 d20800 u45056
[0.00] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 64912
[0.0

Re: [Voyage-linux] Can't boot voyage linux 0.8.5

2012-08-16 Thread Jim Cromie
please keep voyage ccd,
someone else may have important input.


On Tue, Aug 14, 2012 at 11:43 PM, Simon Hafner  wrote:
> 2012/8/14 Jim Cromie :
>> On Mon, Jul 23, 2012 at 2:54 AM, liquid  wrote:
>>> Hello,
>>>
>>> I am trying to install voyage linux 0.8.5 on an Alix 3d2 board via pxe boot.
>>> I can see that it loads the image properly, but the boot process hangs on
>>> "Switching to clocksource tsc". I've seen that voyage uses newer kernel
>>> version, which i suspect to be the problem. I have been able to install and
>>> boot debian stable on 2.6.32 kernel on this board, but i need the newer
>>> kernel's support for MP-6x10 driver. I have already tried adding "nomfgpt"
>>> kernel parameter and setting "clocksource=" to various values. The card's
>>> bios version is 0.99h (newest), and it supports some kind of MFGPT
>>> workaround, which I have also been trying switching on. I have no idea what
>>> else i could try to boot the system, so i beg you for help :)
>>
>> I have a soekris 4801, which iirc has the same CPU, with the same TSC bug:
>> the tsc clock slows down under some situations :  iirc when kernel scheduler
>> runs the idle task
>>
>> The kernel has detected this for ages, and switches to another clocksource,
>> 1st pit, then finally to scx200_hrt, which has higher resolution, and less
>> overhead accessing it.
>>
>> root@voyage:~# dmesg | grep -i -E 'tsc|clocksource'
>> [0.00] Fast TSC calibration using PIT
>> [0.401200] Switching to clocksource pit
>> [6.431014] Switching to clocksource tsc
>> [8.423737] Clocksource tsc unstable (delta = -103967911 ns)
>> [8.433916] Switching to clocksource pit
>> [   47.369942] Switching to clocksource scx200_hrt
>
> I don't see any of those.

hmm - thats odd.
Im running daily-build now, so cant go back and check,
but those messages have been there as long as I can remember.

Can you confirm that the Alix actually has a Geode ?
if not, then the clocksource business above isnt relevant.

root@voyage:~# more /proc/cpuinfo
processor   : 0
vendor_id   : Geode by NSC
cpu family  : 5
model   : 9
model name  : Unknown
stepping: 1
cpu MHz : 266.667

If it is a geode, please try daily-build,
then we can closely compare your dmesg to mine.

>
>> root@voyage:~#  uname -a
>> Linux voyage 3.4.4-voyage #1 SMP PREEMPT Sun Aug 12 12:01:41 HKT 2012
>> i586 GNU/Linux
>> So youre hanging ? and not spontaneously rebooting ?
>
> it hangs on PXE boot.
>
>> there was a problem with 0.8.0 or 0.8.5 relating to contents
>> of /etc/modprobe.d/4801.conf, a missing "options".
>> Heres a correct one.
>>
>> # These lines generated automatically by copyfiles.sh,
>> # parsing VOYAGE_SYSTEM_MODULES from Profile: 4801
>> # on Tue Aug 14 21:18:56 MDT 2012
>> #
>>
>> options wd1100 sysctl_wd_graceful=0 sysctl_wd_timeout=30
>> options scx200_acb base=0x810,0x820
>> options pc87360 init=2
>>
>> can you C&P the console msgs ?
>
>=
> boot: 3
> Loading linux
> Loading initrd.imgready.
> [0.00] Linux version 3.2.17-voyage (3.2.17-1)
...
> enabled, doesn't support DPO or FUA
> [2.543017] Switching to clocksource tsc

___
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux


Re: [Voyage-linux] Can't boot voyage linux 0.8.5

2012-08-14 Thread Jim Cromie
On Mon, Jul 23, 2012 at 2:54 AM, liquid  wrote:
> Hello,
>
> I am trying to install voyage linux 0.8.5 on an Alix 3d2 board via pxe boot.
> I can see that it loads the image properly, but the boot process hangs on
> "Switching to clocksource tsc". I've seen that voyage uses newer kernel
> version, which i suspect to be the problem. I have been able to install and
> boot debian stable on 2.6.32 kernel on this board, but i need the newer
> kernel's support for MP-6x10 driver. I have already tried adding "nomfgpt"
> kernel parameter and setting "clocksource=" to various values. The card's
> bios version is 0.99h (newest), and it supports some kind of MFGPT
> workaround, which I have also been trying switching on. I have no idea what
> else i could try to boot the system, so i beg you for help :)


I have a soekris 4801, which iirc has the same CPU, with the same TSC bug:
the tsc clock slows down under some situations :  iirc when kernel scheduler
runs the idle task

The kernel has detected this for ages, and switches to another clocksource,
1st pit, then finally to scx200_hrt, which has higher resolution, and less
overhead accessing it.

root@voyage:~# dmesg | grep -i -E 'tsc|clocksource'
[0.00] Fast TSC calibration using PIT
[0.401200] Switching to clocksource pit
[6.431014] Switching to clocksource tsc
[8.423737] Clocksource tsc unstable (delta = -103967911 ns)
[8.433916] Switching to clocksource pit
[   47.369942] Switching to clocksource scx200_hrt


root@voyage:~# more /sys/bus/clocksource/devices/clocksource0/*clocksource
::
/sys/bus/clocksource/devices/clocksource0/available_clocksource
::
scx200_hrt
::
/sys/bus/clocksource/devices/clocksource0/current_clocksource
::
scx200_hrt

IIRC, available-clocksource used to have all the clocksources tried,
that has evidently changed somewhere along the line.

root@voyage:~#  uname -a
Linux voyage 3.4.4-voyage #1 SMP PREEMPT Sun Aug 12 12:01:41 HKT 2012
i586 GNU/Linux


So youre hanging ? and not spontaneously rebooting ?

there was a problem with 0.8.0 or 0.8.5 relating to contents
of /etc/modprobe.d/4801.conf, a missing "options".
Heres a correct one.

# These lines generated automatically by copyfiles.sh,
# parsing VOYAGE_SYSTEM_MODULES from Profile: 4801
# on Tue Aug 14 21:18:56 MDT 2012
#

options wd1100 sysctl_wd_graceful=0 sysctl_wd_timeout=30
options scx200_acb base=0x810,0x820
options pc87360 init=2


can you C&P the console msgs ?

___
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux


Re: [Voyage-linux] Can't boot voyage linux 0.8.5

2012-08-14 Thread Simon Hafner
liquid  writes:
> I am trying to install voyage linux 0.8.5 on an Alix 3d2 board via pxe 
> boot. I can see that it loads the image properly, but the boot process 
> hangs on "Switching to clocksource tsc". [...]

I've got the same problem with voyage 0.8.5, I'd appreciate help.


___
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux