On Wed, Jan 26, 2011 at 10:37 AM, wu zhangjin <[email protected]> wrote: > On Wed, Jan 26, 2011 at 10:25 AM, Mads <[email protected]> wrote: >> Hi! >> >> Since the main development of linux-loongson kernel development went from >> rt4ls to regular mips-linux branch at the linux-loongson-community-repo, >> I've never been able to configure a kernel capable of downloading large >> amounts of data without corrupting it. This shows best when I try to git >> pull my local git clone of linux-loongson-community: >> >> Lemote linux # git show | head -2 >> commit a57900463a8daa7c707cff847e96d6569839e81c >> Author: Wu Zhangjin <[email protected]> >> Lemote linux # git pull --depth 1 > > Hi, Please try to fetch it if you have an old local copy: > > $ git fetch git://dev.lemote.com/linux-loongson-community.git > <the_branch_name> > $ git checkout -b <the_branch_name> FETCH_HEAD > > This will be okay, please don't try to pull the branch from > linux-loongson-community.git to rt4ls.git, it may be not fast-forward.
Sorry, did look into your problem description, hope Shiwei's solution may fix your problem ;-) Regards, Wu Zhangjin > > Regards, > Wu Zhangjin > > >> remote: Counting objects: 52200, done. >> remote: Compressing objects: 100% (44231/44231), done. >> error: inflate: data stream error (invalid distance too far back) >> fatal: pack has bad object at offset 646957: inflate returned -3 >> fatal: index-pack failed >> Lemote linux # git pull --depth 1 >> remote: Counting objects: 52200, done. >> remote: Compressing objects: 100% (44231/44231), done. >> fatal: pack has bad object at offset 1563261: inflate returned -5 >> fatal: index-pack failed >> Lemote linux # uname -a >> Linux Lemote 2.6.37+ #7 PREEMPT Wed Jan 26 02:28:46 CET 2011 mips64 ICT >> Loongson-2 V0.3 FPU V0.1 lemote-fuloong-2f-box GNU/Linux >> >> The errors are completely random, and they also appear when wgetting large >> files (checksum errors). I've tried with several different git versions too. >> >> Lemote linux # uname -a >> Linux Lemote 2.6.37+ #7 PREEMPT Wed Jan 26 02:28:46 CET 2011 mips64 ICT >> Loongson-2 V0.3 FPU V0.1 lemote-fuloong-2f-box GNU/Linux >> >> I use "make lemote2f_defconfig" as base for my kernel config, and tweak it >> to suit my hardware. (Fuloong 6005 miniPC) >> >> User space is Gentoo, here follows my emerge --info: >> >> Lemote linux # emerge --info >> Portage 2.2.0_alpha19 (default/linux/mips/10.0/lemote/lm2f/n32, gcc-4.5.2, >> glibc-2.12.2-r0, 2.6.37+ mips64) >> ================================================================= >> System uname: >> Linux-2.6.37+-mips64-ICT_Loongson-2_V0.3_FPU_V0.1-with-gentoo-2.0.1 >> Timestamp of tree: Sun, 23 Jan 2011 01:30:22 +0000 >> app-shells/bash: 4.1_p9 >> dev-lang/python: 2.6.6-r1, 3.1.3 >> dev-util/cmake: 2.8.3 >> sys-apps/baselayout: 2.0.1-r1 >> sys-apps/openrc: 0.7.0 >> sys-apps/sandbox: 2.4 >> sys-devel/autoconf: 2.68 >> sys-devel/automake: 1.11.1 >> sys-devel/binutils: 2.21 >> sys-devel/gcc: 4.5.2::loongson >> sys-devel/gcc-config: 1.4.1 >> sys-devel/libtool: 2.4-r1 >> sys-devel/make: 3.82 >> virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) >> Repositories: gentoo loongson >> ACCEPT_KEYWORDS="mips x86 ~mips ~x86" >> ACCEPT_LICENSE="* -@EULA" >> CBUILD="mips64el-unknown-linux-gnu" >> CFLAGS="-O2 -march=loongson2f -mabi=n32 -pipe" >> CHOST="mips64el-unknown-linux-gnu" >> CONFIG_PROTECT="/etc" >> CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d >> /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild >> /etc/sandbox.d /etc/terminfo" >> CXXFLAGS="-O2 -march=loongson2f -mabi=n32 -pipe" >> DISTDIR="/usr/portage/distfiles" >> FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news >> preserve-libs protect-owned sandbox sfperms strict unknown-features-warn >> unmerge-logs unmerge-orphans userfetch" >> FFLAGS="" >> GENTOO_MIRRORS="http://distfiles.gentoo.org" >> LANG="en_US.UTF-8" >> LDFLAGS="-Wl,-O1 -Wl,--as-needed" >> MAKEOPTS="-j1" >> PKGDIR="/usr/portage/packages" >> PORTAGE_CONFIGROOT="/" >> PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times >> --compress --force --whole-file --delete --stats --timeout=180 >> --exclude=/distfiles --exclude=/local --exclude=/packages" >> PORTAGE_TMPDIR="/var/tmp" >> PORTDIR="/usr/portage" >> PORTDIR_OVERLAY="/usr/portage/local/layman/loongson" >> SYNC="rsync://rsync.gentoo.org/gentoo-portage" >> USE="alsa branding bzip2 cli cracklib crypt cups custom-cflags >> custom-optimization cxx dri gdbm gif gpm iconv jpeg lm2f lto lzma mips >> modules mudflap n32 ncurses nls nptl nptlonly pam pcre png pppd readline >> session ssl sysfs tcpd tiff unicode xorg zlib" ALSA_CARDS="au1x00" >> ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file >> hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null >> plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic >> authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm >> authz_default authz_groupfile authz_host authz_owner authz_user autoindex >> cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires >> ext_filter file_cache filter headers include info log_config logio mem_cache >> mime mime_magic negotiation rewrite setenvif speling status unique_id >> userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load >> memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm >> earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip >> navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 >> timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" >> KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 >> lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" >> USERLAND="GNU" VIDEO_CARDS="fbdev impact newport dummy v4l" >> XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p >> iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark >> dhcpmac delude chaos account" >> Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, >> LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, >> PORTAGE_RSYNC_EXTRA_OPTS >> >> Lemote linux # cat /proc/cpuinfo >> system type : lemote-fuloong-2f-box >> processor : 0 >> cpu model : ICT Loongson-2 V0.3 FPU V0.1 >> BogoMIPS : 797.78 >> wait instruction : no >> microsecond timers : yes >> tlb_entries : 64 >> extra interrupt vector : no >> hardware watchpoint : yes, count: 0, address/irw mask: [] >> ASEs implemented : >> shadow register sets : 1 >> core : 0 >> VCED exceptions : not available >> VCEI exceptions : not available >> >> >> Now, how should I proceed to report/debug this weird issue? This is not an >> issue on another Fuloong 6005 I know of, running this rt4ls-kernel: >> Lemote ~ # uname -a >> Linux Lemote 2.6.33 #3 Mon Apr 12 02:32:07 CEST 2010 mips64 ICT Loongson-2 >> V0.3 FPU V0.1 lemote-fuloong-2f-box GNU/Linux >> >> >> - Mads >> >> -- >> You received this message because you are subscribed to the Google Groups >> "loongson-dev" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/loongson-dev?hl=en. >> >> > -- You received this message because you are subscribed to the Google Groups "loongson-dev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/loongson-dev?hl=en.
