[Voyage-linux] Soekris net5501 and voyage 0.4.0

Hans Harder (spam-protected)
Mon Jul 2 03:44:17 HKT 2007


Hi Punky,

voyage:~# dmesg|grep geode-mfgpt
geode-mfgpt:  Error initalizing the timers

Well its build in, only it goes wrong
I can imagine that the geode-wdt module then goes wrong

Hans

> Hi Hans,
>
> My patch didn't release, although this patch could be found from the
> web, this is not the exact patch I have.
>
> Secondly, can you show me "dmesg|grep geode-mfgpt".  This output will
> let me know if you are using the correct kernel image.  My outboard from
> alix board shows:
>
> geode-mfgpt:  6 timers available.
> geode-mfgpt:  Registered timer 1
>
> The first line indicates the built-in kernel code detected a Geode GX/LX
> processor and geode-mfgpt is enabled for 6 timer
> The second lines shows wheb geode-wdt is loaded and it registers one
> timer from geode-mfgpt for watchdog.
>
> Regards,
> Punky
>
> Hans Harder wrote:
>> Punky,
>>
>> I was checking the config file for the kernel and I saw this:
>> #
>> # Processor type and features
>> ...
>> # CONFIG_MGEODE_LX is not set
>>
>> Should the MGEODE_LX not be set, I saw in the patch for the driver of
>> the geodewdt as remark:
>>
>> +config GEODE_WDT
>> +    tristate "AMD Geode GX/LX Watchdog Timer"
>> +    depends on WATCHDOG && MGEODE_LX
>> +    help
>> +      Enable support for a hardware based watchdog timer running
>> +      on the MFGPT timers available on AMD Geode GX and LX based
>> +      platforms.
>> +
>>
>> Hans
>>
>>
>> > On 6/30/2007 7:57 PM, Punky Tse wrote:
>>> Hi Hans,
>>>
>>> here is lspci output, no big difference that yours.
>>>
>>> 00:0f.2 IDE interface: Advanced Micro Devices [AMD] CS5536 [Geode
>>> companion] IDE (rev 01) (prog-if 80 [Master])
>>>         Subsystem: Advanced Micro Devices [AMD] CS5536 [Geode
>>> companion] IDE
>>>         Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
>>> ParErr- Stepping- SERR- FastB2B-
>>>         Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium
>>> >TAbort- <TAbort- <MAbort- >SERR- <PERR-
>>>         Latency: 248, Cache Line Size: 32 bytes
>>>         Region 0: [virtual] Memory at 000001f0 (32-bit,
>>> non-prefetchable) [disabled] [size=8]
>>>         Region 1: [virtual] Memory at 000003f0 (type 3,
>>> non-prefetchable) [disabled] [size=1]
>>>         Region 2: [virtual] Memory at 00000170 (32-bit,
>>> non-prefetchable) [disabled] [size=8]
>>>         Region 3: [virtual] Memory at 00000370 (type 3,
>>> non-prefetchable) [disabled] [size=1]
>>>         Region 4: I/O ports at ff00 [size=16]
>>> 00: 22 10 9a 20 05 00 a0 02 01 80 01 01 08 f8 00 00
>>> 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>> 20: 01 ff 00 00 00 00 00 00 00 00 00 00 22 10 9a 20
>>> 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>> 40: 02 f0 00 00 00 00 00 00 a8 a8 a8 20 3f 00 ff 20
>>> 50: 03 03 03 03 00 00 00 00 00 00 00 00 00 00 00 00
>>> 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>> 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>> 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>> 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>> a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>> b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>> c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>> d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>> e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>> f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>>
>>>
>>>
>>>
>>> Hans Harder wrote:
>>>> Punky,
>>>>
>>>> can you give me the output of lspci -vvvxxx  on the alix board
>>>>
>>>> Hans
>>>>
>>>>
>>>>> On 6/30/2007 7:09 PM, Punky Tse wrote:
>>>>> Hans,
>>>>> 1. ALIX board reports the following that shows DMA support:
>>>>>
>>>>> AMD5536: IDE controller at PCI slot 0000:00:0f.2
>>>>> AMD5536: chipset revision 1
>>>>> AMD5536: not 100% native mode: will probe irqs later
>>>>> AMD5536: 0000:00:0f.2 (rev 01) UDMA100 controller
>>>>>     ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda:DMA, hdb:pio
>>>>> Probing IDE interface ide0...
>>>>> hda: CF 512MB, ATA DISK drive
>>>>> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
>>>>> Probing IDE interface ide1...
>>>>> hda: max request size: 128KiB
>>>>> hda: 1015056 sectors (519 MB) w/1KiB Cache, CHS=1007/16/63, DMA
>>>>>  hda: hda1
>>>>>
>>>>> 2. That means geodewdt does not work with net5501 at the moment.  I
>>>>> will remove geodewdt in net5501 profile in voyage.update.  If
>>>>> geodewdt works, you can see it from dmesg.
>>>>> voyage:~# dmesg|grep geode-m
>>>>> geode-mfgpt:  6 timers available.
>>>>> geode-mfgpt:  Registered timer 1
>>>>>
>>>>> Regards,
>>>>> Punky
>>>>>
>>>>> Hans Harder wrote:
>>>>>> Punky,
>>>>>>
>>>>>> Booted, but not everything is going well on the net5501
>>>>>>
>>>>>> It recognised the AMD5536 chipset:
>>>>>>
>>>>>> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
>>>>>> ide: Assuming 33MHz system bus speed for PIO modes; override with
>>>>>> idebus=xx
>>>>>> AMD5536: IDE controller at PCI slot 0000:00:14.2
>>>>>> AMD5536: chipset revision 1
>>>>>> AMD5536: not 100% native mode: will probe irqs later
>>>>>> AMD5536: 0000:00:14.2 (rev 01) UDMA100 controller
>>>>>> AMD5536: neither IDE port enabled (BIOS)
>>>>>> Probing IDE interface ide0...
>>>>>> hdb: TRANSCEND, ATA DISK drive
>>>>>> Probing IDE interface ide1...
>>>>>> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
>>>>>> hdb: max request size: 128KiB
>>>>>> hdb: 3988656 sectors (2042 MB) w/1KiB Cache, CHS=3957/16/63
>>>>>>  hdb: hdb1
>>>>>>
>>>>>> But dma is still off, same error when trying to put it on.
>>>>>>
>>>>>>
>>>>>> When loading the geodewdt module it goes wrong
>>>>>>
>>>>>> pc87360: Device 0x09 not activated
>>>>>> pc87360 9191-6620: VLM conversion set to 1s period, 160us delay
>>>>>> nsc_gpio initializing
>>>>>> platform pc8736x_gpio.0: NatSemi pc8736x GPIO Driver Initializing
>>>>>> platform pc8736x_gpio.0: GPIO ioport 6600 reserved
>>>>>> BUG: unable to handle kernel paging request at virtual address
>>>>>> ffffff6e
>>>>>>  printing eip:
>>>>>> c01d08a3
>>>>>> *pde = 00001067
>>>>>> *pte = 00000000
>>>>>> Oops: 0002 [#1]
>>>>>> PREEMPT
>>>>>> Modules linked in: geodewdt pc8736x_gpio nsc_gpio pc87360
>>>>>> hwmon_vid i2c_isa i2c_core usblp ehci_hcd ohci_hcd usbcore
>>>>>> via_rhine mii bitrev crc32
>>>>>> CPU:    0
>>>>>> EIP:    0060:[<c01d08a3>]    Not tainted VLI
>>>>>> EFLAGS: 00010296   (2.6.20-486-voyage #1)
>>>>>> EIP is at iowrite16+0x29/0x2d
>>>>>> eax: 00000306   ebx: c162ad9c   ecx: 00000306   edx: ffffff6e
>>>>>> esi: c162ac00   edi: c162adc4   ebp: e085eb00   esp: c148dec8
>>>>>> ds: 007b   es: 007b   ss: 0068
>>>>>> Process modprobe (pid: 2867, ti=c148c000 task=c146e030
>>>>>> task.ti=c148c000)
>>>>>> Stack: e0860042 c162ac00 c162ad9c c0128038 e085eb48 c02da1c4
>>>>>> e085eb0c 000000cc
>>>>>>        000008f4 00000320 df499800 00000420 00000000 00000000
>>>>>> 00000000 00000000
>>>>>>        00000000 00000000 00000000 00000000 00000000 00000000
>>>>>> 00000000 00000000
>>>>>> Call Trace:
>>>>>>  [<e0860042>] geodewdt_init+0x42/0xa8 [geodewdt]
>>>>>>  [<c0128038>] sys_init_module+0x1393/0x14ca
>>>>>>  [<c0102970>] syscall_call+0x7/0xb
>>>>>>  =======================
>>>>>> Code: 0a c3 89 c1 81 fa ff ff 03 00 77 1c 89 d0 66 31 c0 3d 00 00
>>>>>> 01 00 74 04 0f 0b eb fe 0f b7 c1 81 e2 ff ff 00 00 66 ef c3 0f b7
>>>>>> c0 <66> 89 02 c3 89 c2 3d ff ff 03 00 77 1a 66 31 c0 3d 00 00 01 00
>>>>>> EIP: [<c01d08a3>] iowrite16+0x29/0x2d SS:ESP 0068:c148dec8
>>>>>>  <6>device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised:
>>>>>> dm-devel at redhat.com
>>>>>>
>>>>>>
>>>>>> Hans
>>>>>>
>>>>>>
>>>>>>> On 6/29/2007 4:26 AM, Kim-man 'Punky' TSE wrote:
>>>>>>> Hi Hans and all,
>>>>>>>
>>>>>>> I have made several updates to voyage kernel and distro that are
>>>>>>> now available in voyage-current daily build:
>>>>>>>
>>>>>>> - add build date in voyage login banner (/etc/motd)
>>>>>>> - add ALIX and 5501 profile in voyage.update
>>>>>>> - enable CS5535/36 chipset support (dma mode for ide is now
>>>>>>> working)
>>>>>>> - most importantly, watchdog driver, geodewdt, for ALIX (and
>>>>>>> should work for 5501) is now in place!
>>>>>>>
>>>>>>> voyage-current with above features is with build date =
>>>>>>> 20070628.  If you download it from mirror, please wait for 1 day
>>>>>>> to be available.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Punky
>>>>>>>
>>>>>>> Hans Harder wrote:
>>>>>>>> Punky,
>>>>>>>>
>>>>>>>> For the soekris net5501 only the following modules are needed:
>>>>>>>> pc87360
>>>>>>>> pc8736x_gpio
>>>>>>>>
>>>>>>>> this gives:
>>>>>>>> voyage:/etc# lsmod
>>>>>>>> Module                  Size  Used by
>>>>>>>> ipv6                  209036  16
>>>>>>>> bridge                 41880  0
>>>>>>>> llc                     5268  1 bridge
>>>>>>>> dm_mod                 41420  0
>>>>>>>> pc8736x_gpio            3956  0
>>>>>>>> nsc_gpio                2816  1 pc8736x_gpio
>>>>>>>> pc87360                16784  0
>>>>>>>> hwmon_vid               2432  1 pc87360
>>>>>>>> i2c_isa                 3712  1 pc87360
>>>>>>>> i2c_core               15760  2 pc87360,i2c_isa
>>>>>>>> ehci_hcd               22412  0
>>>>>>>> ohci_hcd               14468  0
>>>>>>>> usbcore                96408  3 ehci_hcd,ohci_hcd
>>>>>>>> via_rhine              18056  0
>>>>>>>> mii                     4352  1 via_rhine
>>>>>>>> bitrev                  1792  1 via_rhine
>>>>>>>> crc32                   3840  1 via_rhine
>>>>>>>>
>>>>>>>> voyage:/etc# sensors
>>>>>>>> pc87366-isa-6620
>>>>>>>> Adapter: ISA adapter
>>>>>>>> in0:       +3.01 V  (min =  +0.00 V, max =  +3.01 V)
>>>>>>>> in1:       +1.25 V  (min =  +0.00 V, max =  +3.01 V)
>>>>>>>> in2:       +2.55 V  (min =  +0.00 V, max =  +3.01 V)
>>>>>>>> in3:       +0.61 V  (min =  +0.00 V, max =  +3.01 V)
>>>>>>>> in4:       +2.53 V  (min =  +0.00 V, max =  +3.01 V)
>>>>>>>> in5:       +2.53 V  (min =  +0.00 V, max =  +3.01 V)
>>>>>>>> in6:       +2.65 V  (min =  +0.00 V, max =  +3.01 V)
>>>>>>>> Vsb:       +3.38 V  (min =  +3.00 V, max =  +3.59 V)
>>>>>>>> Vdd:       +3.38 V  (min =  +3.00 V, max =  +3.59 V)
>>>>>>>> Vbat:      +3.01 V  (min =  +0.00 V, max =  +3.01 V)
>>>>>>>> AVdd:      +3.36 V  (min =  +3.00 V, max =  +3.59 V)
>>>>>>>> CPU0 Temp:   +98 C  (low  =   -55 C, high =  +127 C)
>>>>>>>> CPU0 Crit:  +127 C
>>>>>>>> CPU1 Temp:  +127 C  (low  =   -55 C, high =  +127 C)   OPEN
>>>>>>>> CPU1 Crit:  +127 C ALARM
>>>>>>>> S-IO Temp:   +52 C  (low  =   -55 C, high =  +127 C)
>>>>>>>> S-IO Crit:  +127 C
>>>>>>>> vid:      +0.000 V  (VRM Version 0.0)
>>>>>>>>
>>>>>>>> Hans
>>>>>>>>
>>>>>>>>
>>>>>>>> On 6/24/2007 5:59 PM, Punky Tse wrote:
>>>>>>>>> I don't have net5501 so I can't test it.  Same as ALIX, I
>>>>>>>>> believe the following modules are not needed for net5501:
>>>>>>>>>
>>>>>>>>> lm77
>>>>>>>>> wd1100 sysctl_wd_graceful=0 sysctl_wd_timeout=30
>>>>>>>>>
>>>>>>>>> Watchdog driver are still missing for ALIX and net5501.  I have
>>>>>>>>> been told that CS5536 driver is able to program as watchdog
>>>>>>>>> timer, and I also have the kernel codes for "multi-function
>>>>>>>>> general purpose timer", but there is still a long way to
>>>>>>>>> program the timer API for watchdog purpose.
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>> Punky
>>>>>>>>>
>>>>>>>>> Hans Harder wrote:
>>>>>>>>>> Tomorrow I will be getting a net5501 and I am planning to try
>>>>>>>>>> it out with voyage 0.4.0
>>>>>>>>>> Since the net5501 is almost the same as the Wrap Alix, I
>>>>>>>>>> selected the wrap profile for generating the cf image
>>>>>>>>>> net5501: Geode LX800 with CS5536 companion chip, network 4x
>>>>>>>>>> VT6105M, serial console
>>>>>>>>>>
>>>>>>>>>> my current et/modules looks now like:
>>>>>>>>>> natsemi   hostap_pci wd1100 sysctl_wd_graceful=0
>>>>>>>>>> sysctl_wd_timeout=30   lm77
>>>>>>>>>> scx200_acb base=0x810,0x820
>>>>>>>>>> w83627hf
>>>>>>>>>>
>>>>>>>>>> Can somebody advise what modules there should be loaded ?
>>>>>>>>>>
>>>>>>>>>> Hans
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Voyage-linux mailing list
>>>>>>>>>> Voyage-linux at list.voyage.hk
>>>>>>>>>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>>>>
>>>
>>>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.476 / Virus Database: 269.9.14/883 - Release Date: 7/1/2007
> 12:19 PM
>
>
>





More information about the Voyage-linux mailing list