hi David

I cannot see messages related to "mounting" /dev/sda1....
I already post a query on soekris-tech mailing list about the IDE/ATA 
driver; I'm waiting for suggestion from that list.

Manual modprobe'ing "pata_amd" produce no result...

Here the output of "cat /proc/pci" on a net4501 running  BuC 3.1; also 
on this 2.4 kernel  there is not a separate entry for the disk controller.

fw# cat pci
PCI devices found:
   Bus  0, device   0, function  0:
     Class 0600: PCI device 1022:3000 (rev 0).
   Bus  0, device  17, function  0:
     Class 0200: PCI device 10ec:8139 (rev 16).
       IRQ 10.
       Master Capable.  Latency=63.  Min Gnt=32.Max Lat=64.
       I/O at 0xe000 [0xe0ff].
       Non-prefetchable 32 bit memory at 0xa0000000 [0xa00000ff].
   Bus  0, device  18, function  0:
     Class 0200: PCI device 100b:0020 (rev 0).
       IRQ 11.
       Master Capable.  Latency=63.  Min Gnt=11.Max Lat=52.
       I/O at 0xe100 [0xe1ff].
       Non-prefetchable 32 bit memory at 0xa0001000 [0xa0001fff].
   Bus  0, device  19, function  0:
     Class 0200: PCI device 100b:0020 (rev 0).
       IRQ 5.
       Master Capable.  Latency=63.  Min Gnt=11.Max Lat=52.
       I/O at 0xe200 [0xe2ff].
       Non-prefetchable 32 bit memory at 0xa0002000 [0xa0002fff].
   Bus  0, device  20, function  0:
     Class 0200: PCI device 100b:0020 (rev 0).
       IRQ 9.
       Master Capable.  Latency=63.  Min Gnt=11.Max Lat=52.
       I/O at 0xe300 [0xe3ff].
       Non-prefetchable 32 bit memory at 0xa0003000 [0xa0003fff].
fw#


Thanks
Graziano

Il 01/05/2011 23.10, davidMbrooke ha scritto:
> Hi Graziano,
>
> That's great news! At least we're making progress...
>
> For others reading this thread I should explain that I built Graziano a
> ELAN-specific kernel and initrd (with "CONFIG_X86_ELAN=y" instead of
> "CONFIG_M486=y") and that is what is now booting on the net4501. Looks
> like we're going to need an "elan" kernel variant like we have a "geode"
> kernel variant.
>
> I also get the "/init: eval: line 1: KCMD_libata.dma=0: not found" error
> when I specify that kernel command-line argument on a system that boots
> successfully so I think that is nothing to worry about.
>
> What you *should* be seeing are lines like:
>     LINUXRC: Root: /dev/ram0
>     LINUXRC: Looking for leaf.cfg...
>     LINUXRC: Mounting /dev/sda1 on /var/lib/lrpkg/mnt as vfat
>     LINUXRC: Sourcing leaf.cfg from /dev/sda1
>     LINUXRC: Generating default dirs...
>
> I agree that all the evidence points to your IDE/ATA driver not loading.
>
> The "100b:0020" PCI devices are the National Semiconductor DP8381x
> Ethernet chips whereas the "1022:3000" device seems to be SC520 "ELAN
> Microcontroller PCI Host Bridge" (from http://www.pcidatabase.com/).
>
> lspci is not reporting the disk controller separately, which seems
> strange to me. On other machines I always see a separate PCI device for
> the disk controller.
>
> I suspect the solution will end up being to enable a further .config
> entry for the kernel, but the key is to know which one. The kernel
> options have changed a lot over the past few years.
>
> You might want to try manually modprobe'ing the pata_amd module, just in
> case that has any effect.
>
> Might also be worth a post to the soekris-tech mailing list to see if
> anyone there can advise on the 2.6.35.11  .config entries for a net4501.
>
> dMb
>
>
> On Sun, 2011-05-01 at 18:30 +0200, Graziano Brioschi wrote:
>> Thank you very much David!
>>
>> I have downloaded the elan kernel and the initrd.lrp from your site and
>> using these two new packages my system boot!
>> However the system does not complete the startup sequence, giving me he
>> following messages on my serial console:
>>
>> ........
>> [    4.077117] Write protecting the kernel text: 1636k
>> [    4.078275] Write protecting the kernel read-only data: 744k
>> [    4.078275] Write protecting the kernel read-only data: 744k
>> LINUXRC: Bering - Initrd - 4.0.0 Rev 12 uClibc 0.9.30.3
>> LINUXRC: Parsing kernel command line...
>> /init: eval: line 1: KCMD_libata.dma=0: not found
>> LINUXRC: Loading modules...
>> LINUXRC: Root: /dev/ram0
>> LINUXRC: Looking for leaf.cfg...
>> LINUXRC: Generating default dirs...
>> LINUXRC: Generating /tmp&  /var/log partitions ...
>> LINUXRC: PKGPATH is empty or unset. Can not install packages.
>> LINUXRC: LRP= is empty or unset.  Can not install packages.
>> LINUXRC: chown and chmod /dev...
>> LINUXRC: Loaded Packages
>> LINUXRC: Creating new rootfs...
>> LINUXRC: Switch_root into new rootfs...
>> can't run '/etc/init.d/rcS': No such file or directory
>>
>> Please press Enter to activate this console.
>> .......
>>
>> I think that this probles is related to the IDE driver kernel that is
>> not present...
>> Here the content of "/linuxrc.err"
>>
>> / # cat linuxrc.err
>> Next iteration: Thu Jan 10 02:40:07 UTC 1980
>> Probing platform:rtc_cmos ... not found.
>> Probing platform:pcspkr ... not found.
>> Probing platform:serial8250 ... not found.
>> Probing pci:v00001022d00003000sv00000000sd00000000bc06sc00i00 ... not found.
>> Probing pci:v0000100Bd00000020sv0000100Bsd00000020bc02sc00i00 ... not found.
>> Probing pci:v0000100Bd00000020sv0000100Bsd00000020bc02sc00i00 ... not found.
>> Probing pci:v0000100Bd00000020sv0000100Bsd00000020bc02sc00i00 ... not found.
>> Successfully probed 0 modules for 7 modaliases, currently loaded:
>>       Not tainted
>> vfat 6542 0 - Live 0xb483b000
>> fat 34532 1 vfat, Live 0xb4825000
>> isofs 17079 0 - Live 0xb4809000
>> / #
>>
>> and my "lsmod" output:
>>
>> / # lsmod
>>       Not tainted
>> vfat 6542 0 - Live 0xb483b000
>> fat 34532 1 vfat, Live 0xb4825000
>> isofs 17079 0 - Live 0xb4809000
>> / #
>>
>> and, finally, my "lspci" output
>>
>> / # lspci
>> 00:00.0 Class 0600: 1022:3000
>> 00:12.0 Class 0200: 100b:0020
>> 00:13.0 Class 0200: 100b:0020
>> 00:14.0 Class 0200: 100b:0020
>> / # lspci -m
>> 00:00.0 "Class 0600" "1022" "3000" "0000" "0000"
>> 00:12.0 "Class 0200" "100b" "0020" "100b" "0020"
>> 00:13.0 "Class 0200" "100b" "0020" "100b" "0020"
>> 00:14.0 "Class 0200" "100b" "0020" "100b" "0020"
>> / #
>>
>> I try to load the "ata_generic" modules using modprobe (no problem
>> loading it) and make /dev/sda and /dev/sda[1-4] devices using mknod, but
>> I cannot mount my CF....
>>
>> I found on a tecnical list on soekris site
>> (http://old.nabble.com/Linux-IDE-driver-for-CF-card-td19766587.html)
>> that speaks about a "generic/default IDE driver":
>> ...
>> The CF card has started working after activating "generic/default *IDE*
>> chipset support (*IDE_GENERIC*)" support in the kernel. I guess this
>> driver doesn't support UDMA, but the "National SCx200 chipset support"
>> or "AMD CS5535 chipset support" drivers didn't work.
>> ....
>>
>> and an other document related to debian on net4501
>> (http://www.feep.org/weblogs/josh/archives/69-Debian-on-a-Soekris-net4501.html)
>> speaks about an "ide_generic" module that I cannot find on BuC 4.0:
>>
>> ....
>> Rebuild initramfs with ide_generic support.|
>> echo "ide_generic">>  /etc/initramfs-tools/modules
>> update-initramfs -t -u
>> ....
>> |
>>
>> In few days I will install a linux build system and I will try to follow
>> the instructions in the wikies pages related to development.
>>
>> What do you think about this?
>> Thanks a lot for your time
>> cheers
>> graziano
>>
>>
>> Il 29/04/2011 12.35, davidMbrooke ha scritto:
>>> Hi Graziano,
>>>
>>> Ah, OK. I did not spot that some of your output was from the net4801...
>>>
>>> There is a kernel .config option "CONFIG_X86_ELAN" which is not set for
>>> our current 4.x builds. It is not completely clear to me what effect
>>> setting this will have, but it is worth a try. If this is indeed the
>>> problem we would add another kernel variant "elan" like we have already
>>> for i486, i686 and geode.
>>>
>>> In order to build a custom kernel you can follow the instructions at
>>> http://sourceforge.net/apps/mediawiki/leaf/index.php?title=Bering-uClibc_4.x_-_Developer_Guide_-_Preparing_the_Build_Environment
>>> and on subsequent pages. It is not particularly difficult if you already
>>> have a suitable Linux build host available. Once the buildenv is ready
>>> run "./buildtool.pl build linux" to build the standard kernels.
>>>
>>> Making the changes necessary for a custom kernel is not difficult but it
>>> is currently not documented in the Wiki. Once you get as far as building
>>> the standard kernel contact me directly for further advice. In the
>>> meantime I will also try to build a specific "elan" kernel for you to
>>> try.
>>>
>>> Regards,
>>> dMb
>>>
>>> On Fri, 2011-04-29 at 11:35 +0200, Graziano Brioschi wrote:
>>>> hi David
>>>>
>>>> I think there is a misunderstanding about the problem.
>>>> I have two machine:
>>>> - the first is a Soekris net4501 and on this machine the kernel does not
>>>> boot; I can see the syslinux output about loading of /syslinux/linux and
>>>> /initrd.lrp, but nothing more. The system hangs. On this system BuC3.1
>>>> runs correctly.
>>>> - the second is a Soekris net4801 that I boot using the same compact
>>>> flash generated for the first net4501 to verify that the compact flash
>>>> has not some kind of problem; BuC4.0 runs correctly without problems,
>>>> but I have seen the "libata.dma=0 not found" error.
>>>>
>>>> I hope the test environment is more clear now.
>>>> I think that there is a kind of incompatibility between the i486 kernel
>>>> and the AMD ELAN SC520 processor that is installed on net4501.
>>>> Is there a simple way to rebuild a kernel for the AMD ELAN CPU? Is a
>>>> difficult operation? Can I try to built it?
>>>>
>>>> thanks  a lot
>>>> graziano
>>>>
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> WhatsUp Gold - Download Free Network Management Software
>>> The most intuitive, comprehensive, and cost-effective network
>>> management toolset available today.  Delivers lowest initial
>>> acquisition cost and overall TCO of any competing solution.
>>> http://p.sf.net/sfu/whatsupgold-sd
>>> ------------------------------------------------------------------------
>>> leaf-user mailing list: leaf-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/leaf-user
>>> Support Request -- http://leaf-project.org/
>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> ------------------------------------------------------------------------
> leaf-user mailing list: leaf-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> Support Request -- http://leaf-project.org/

-- 

Graziano Brioschi

Outland s.a.s.
sede operativa:
Via A. Don Rocca, 13
20030, Senago (MI)
tel: 02 9948 6014
mobile: 328 8382622
email: graziano.brios...@outland.it
-->  U4E<--


------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to