Hi davidMbrooke

Thanks for your suggestions.

Here my answers:

boot using libata.dma=3: nothing changes, my net4501 does not boot (I 
have already tried this boot option yesterday)
boot using libata.dma=0: nothing changes; the system doesn't boot 
correctly. (i try to boot anlso without "earlyprintk= " with no success..)
This is my syslinux.cfg file:
SERIAL 0 19200
DISPLAY syslinux.dpy
TIMEOUT 0
APPEND reboot=bios libata.dma=0 console=ttyS0,19200n8 
earlyprintk=serial,ttyS0,19200,keep VERBOSE=1
DEFAULT /syslinux/linux initrd=/initrd.lrp rw root=/dev/ram0 
LEAFCFG=/dev/sda1:vfat

There is a  "not found" error message from net4801 boot procedure with 
"libata.dma=0" parameter: is this the right behaviour?
.....
[    4.407532] Freeing unused kernel memory: 244k freed
[    4.407532] Freeing unused kernel memory: 244k freed
[    4.411609] Write protecting the kernel text: 1580k
[    4.411609] Write protecting the kernel text: 1580k
[    4.412793] Write protecting the kernel read-only data: 724k
[    4.412793] Write protecting the kernel read-only data: 724k
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...
[   10.870231] SCSI subsystem initialized
[   10.870231] SCSI subsystem initialized
[   11.931387] scsi0 : sc1200
[   11.931387] scsi0 : sc1200
.....


This is the output from"lsmod" on bering 3.1:

firewall# lsmod
Module                  Size  Used by    Not tainted
tun                     2944   0 (unused)
softdog                 1392   1
ipt_CONNMARK             660   0
ipt_connmark             276   0
ipt_ipp2p               5908   0
ipt_state                272  22
ipt_helper               400   0 (unused)
ipt_conntrack            692   0
ipt_REDIRECT             480   0 (unused)
ipt_MASQUERADE          1024   1
ip_nat_irc              1704   0 (unused)
ip_nat_ftp              2152   0 (unused)
iptable_nat            14388   3 [ipt_REDIRECT ipt_MASQUERADE ip_nat_irc 
ip_nat_ftp]
ip_conntrack_irc        2484   1
ip_conntrack_ftp        3132   1
ip_conntrack           16548   2 [ipt_CONNMARK ipt_connmark ipt_state 
ipt_helper ipt_conntrack ipt_REDIRECT ipt_MASQUERADE ip_nat_irc 
ip_nat_ftp iptable_nat ip_conntrack_irc ip_conntrack_ftp]
natsemi                13868   2
crc32                   2620   0 [natsemi]
vfat                    8492   0 (unused)
isofs                  15732   0 (unused)
ide-detect               132   0 (unused)
ide-cd                 26748   0
ide-disk               11372   0
ide-core               88280   0 [ide-detect ide-cd ide-disk]
cdrom                  25568   0 [ide-cd]

firewall# uname -a
Linux firewall 2.4.34 #1 Tue Jan 23 20:12:21 CET 2007 i486 unknown


Here the output from "dmesg" on bering 3.1 running on net4501:

firewall# dmesg
Linux version 2.4.34 (root@enterprise) (gcc version 3.3.3) #1 Tue Jan 23 
20:12:21 CET 2007
BIOS-provided physical RAM map:
  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
  BIOS-e820: 0000000000100000 - 0000000004000000 (usable)
  BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
64MB LOWMEM available.
On node 0 totalpages: 16384
zone(0): 4096 pages.
zone(1): 12288 pages.
zone(2): 0 pages.
DMI not present.
Kernel command line: console=ttyS0,19200 nodma=hda ide=nodma 
BOOT_IMAGE=linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0 
LEAFCFG=/dev/hda1:msdos PKGPATH=/dev/hda1:msdos syst_size=14M 
log_size=8M LRP=root,config,etc,modules,dropbear
Initializing CPU#0
Calibrating delay loop... 66.76 BogoMIPS
Memory: 62488k/65536k available (864k kernel code, 2660k reserved, 97k 
data, 60k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
CPU:     After generic, caps: 00000001 00000000 00000000 00000000
CPU:             Common caps: 00000001 00000000 00000000 00000000
CPU: AMD 486 DX/4-WB stepping 04
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
PCI: PCI BIOS revision 2.01 entry at 0xf7861, last bus=0
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
pty: 256 Unix98 ptys configured
keyboard: Timeout - AT keyboard not present?(ed)
keyboard: Timeout - AT keyboard not present?(f4)
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ 
DETECT_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10f
floppy0: no floppy controllers found
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
ip_tables: (C) 2000-2002 Netfilter core team
arp_tables: (C) 2002 David S. Miller
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 395k freed
VFS: Mounted root (minix filesystem).
Freeing unused kernel memory: 60k freed
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-004G, CFA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: attached ide-disk driver.
hda: 7835184 sectors (4012 MB) w/1KiB Cache, CHS=7773/16/63
Partition check:
  hda: hda1
  hda: hda1
  hda: hda1
  hda: hda1
  hda: hda1
  hda: hda1
  hda: hda1
natsemi dp8381x driver, version 1.07+LK1.0.17, Sep 27, 2002
   originally by Donald Becker <bec...@scyld.com>
   http://www.scyld.com/network/natsemi.html
   2.4.x kernel port by Jeff Garzik, Tjeerd Mulder
eth0: NatSemi DP8381[56] at 0xc4845000, 00:00:24:cb:0c:34, IRQ 10.
eth1: NatSemi DP8381[56] at 0xc4847000, 00:00:24:cb:0c:35, IRQ 11.
eth2: NatSemi DP8381[56] at 0xc4849000, 00:00:24:cb:0c:36, IRQ 5.
ip_conntrack version 2.1 (512 buckets, 4096 max) - 312 bytes per conntrack
IPP2P v0.8.2 loading
Software Watchdog Timer: 0.05, timer margin: 60 sec
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
eth0: autonegotiation did not complete in 4000 usec.
eth1: autonegotiation did not complete in 4000 usec.


thanks
Graziano


Il 27/04/2011 19.00, davidMbrooke ha scritto:
> Hi Graziano,
>
> I see you have "nodma=hda ide=nodma" for Bering 3.1. Are you using the
> equivalent for 4.x? I think you need "libata.dma=0" for the 2.6 kernel.
> (See
> http://sourceforge.net/apps/mediawiki/leaf/index.php?title=Bering-uClibc_4.x_-_User_Guide_-_Basic_Configuration_-_Booting_for_the_First_Time#DMA_Issues
>  )
>
> The "generic" IDE driver is probably ata_generic.ko and we also have
> ata_legacy.ko, both in the standard initrd.
>
> Could you post the output from "lsmod" on Bering 3.1 please?
>
> davidMbrooke
>
>
> On Wed, 2011-04-27 at 18:10 +0200, Graziano Brioschi wrote:
>> Hello list
>>
>> I make some test today using boot kernel parameters to try to solve this
>> problem but with no success; I have tried some "mem= " options. My
>> net4501 seems to hang after loading or during loading of "initrd" from
>> CF with no console messages.
>>
>> At the end,  I have run successfully a leaf bering 3.1 installation on
>> same net4501 machine  obtaining the follow console messages:
>>
>> LLooaaddiinngg  lliinnuuxx......
>>
>> LLooaaddiinngg  iinniittrrdd..llrrpp......rreeaaddyy..
>>
>> Linux version 2.4.34 (root@enterprise) (gcc version 3.3.3) #1 Tue Jan 23
>> 20:12:21 CET 2007
>> BIOS-provided physical RAM map:
>>    BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
>>    BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
>>    BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
>>    BIOS-e820: 0000000000100000 - 0000000004000000 (usable)
>>    BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
>> 64MB LOWMEM available.
>> On node 0 totalpages: 16384
>> zone(0): 4096 pages.
>> zone(1): 12288 pages.
>> zone(2): 0 pages.
>> DMI not present.
>> Kernel command line: console=ttyS0,19200 nodma=hda ide=nodma
>> BOOT_IMAGE=linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0
>> LEAFCFG=/dev/hda1:msdos PKGPATH=/dev/hda1:msdos syst_size=14M
>> log_size=8M LRP=root,config,etc,modules,dropbear
>> Initializing CPU#0
>> ...............
>>
>> graziano
>>
>>
>> Il 27/04/2011 12.29, Graziano Brioschi - Outland s.a.s. ha scritto:
>>> Yes
>>>
>>> I have tried to change initrd in rc1, but i don't known which IDE driver
>>> is correct for net4501; perhaps the "generic IDE driver"
>>> (ide-generic.ko) can run correctly but i cannot find it in "modules.tgz".
>>>
>>> About the TTY incompatibility suggested by Andrew, I have tried to
>>> change the syslinux version (now i use 4.04) but the kernel does not
>>> boot; the same compact flash runs correctly on a net4801. I have many
>>> LEAF uclibc 3.1 net4501 installed in production without console problems.
>>>
>>> Can I do other tests?
>>>
>>>
>>> Sorry for my poor english..
>>>
>>> Graziano
>>>
>>>
>>>
>>> Il 26/04/2011 21.41, KP Kirchdoerfer ha scritto:
>>>> Am Dienstag, 26. April 2011, um 10:31:51 schrieb Graziano Brioschi:
>>>>> Hello list
>>>>>
>>>>> l'm trying to install the LEAF uclibc 4 rc1 i486 on a Soekris
>>>>> Enginnering net4501 with no success
>>>>> During boot, on serial console  i ca see:
>>>>>
>>>>> Loading /syslinux/linux.....................................
>>>>> Loading /initrd.lrp....................................ready..
>>>>>
>>>>> but nothing more...
>>>>>
>>>>> The same compact flash (that cannot boot on net4501) boots correctly on a
>>>>> Soekris Enginnering net4801, so I think there is no problem on media... I
>>>>> think that this problem in related to CPU selection: there is a way to
>>>>> simply rebuild a kernel for the AMD ELAN cpu? Have you some other ideas?
>>>> You have reported the issue on Feb 3rd the first time and got a few tips to
>>>> track down the pb or how to change initrd. There has been no feedback to 
>>>> this
>>>> from your side. Did you tried anything of these?
>>>>
>>>> kp
>>>>
>>>> ------------------------------------------------------------------------------
>>>> 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/
>
>
> ------------------------------------------------------------------------------
> 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