You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(55) |
Oct
(44) |
Nov
(156) |
Dec
(123) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(130) |
Feb
(156) |
Mar
(162) |
Apr
(171) |
May
(97) |
Jun
(127) |
Jul
(58) |
Aug
(81) |
Sep
(86) |
Oct
(45) |
Nov
(41) |
Dec
(84) |
| 2003 |
Jan
(71) |
Feb
(87) |
Mar
(133) |
Apr
(152) |
May
(151) |
Jun
(232) |
Jul
(320) |
Aug
(237) |
Sep
(271) |
Oct
(536) |
Nov
(301) |
Dec
(393) |
| 2004 |
Jan
(393) |
Feb
(184) |
Mar
(314) |
Apr
(225) |
May
(139) |
Jun
(77) |
Jul
(87) |
Aug
(75) |
Sep
(139) |
Oct
(50) |
Nov
(8) |
Dec
(28) |
| 2005 |
Jan
(66) |
Feb
(63) |
Mar
(14) |
Apr
(14) |
May
(8) |
Jun
(23) |
Jul
(21) |
Aug
(6) |
Sep
(29) |
Oct
(55) |
Nov
(38) |
Dec
(8) |
| 2006 |
Jan
(5) |
Feb
(10) |
Mar
(1) |
Apr
(15) |
May
(32) |
Jun
(44) |
Jul
(11) |
Aug
(8) |
Sep
(9) |
Oct
(14) |
Nov
(4) |
Dec
(3) |
| 2007 |
Jan
(3) |
Feb
(3) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
(35) |
Aug
(49) |
Sep
(8) |
Oct
(42) |
Nov
(44) |
Dec
(7) |
| 2008 |
Jan
(2) |
Feb
(7) |
Mar
(8) |
Apr
(80) |
May
(74) |
Jun
(29) |
Jul
(5) |
Aug
(7) |
Sep
(6) |
Oct
(1) |
Nov
|
Dec
|
| 2009 |
Jan
(8) |
Feb
(19) |
Mar
(3) |
Apr
(24) |
May
(22) |
Jun
(23) |
Jul
(8) |
Aug
(23) |
Sep
(8) |
Oct
(27) |
Nov
(52) |
Dec
(27) |
| 2010 |
Jan
(36) |
Feb
(29) |
Mar
(17) |
Apr
(28) |
May
(21) |
Jun
(4) |
Jul
|
Aug
(28) |
Sep
(18) |
Oct
(6) |
Nov
(34) |
Dec
(16) |
| 2011 |
Jan
(18) |
Feb
(12) |
Mar
|
Apr
|
May
(9) |
Jun
(1) |
Jul
(5) |
Aug
(5) |
Sep
(7) |
Oct
(16) |
Nov
(26) |
Dec
(17) |
| 2012 |
Jan
(6) |
Feb
(34) |
Mar
(52) |
Apr
(10) |
May
(3) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(4) |
Nov
(1) |
Dec
(4) |
| 2013 |
Jan
(5) |
Feb
|
Mar
|
Apr
(5) |
May
(4) |
Jun
|
Jul
|
Aug
(14) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
(2) |
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
(11) |
| 2015 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(1) |
Oct
(1) |
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2017 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Manu <ee...@fr...> - 2003-08-22 21:27:09
|
Hi Heiko, Shing-Gene Yung a écrit: >On Wed, 20 Aug 2003, Heiko Zuerker wrote: > > > >>Shing-Gene Yung wrote: >> > I'm just getting started in building 0.6beta from cvs (using >> > lfssystem-3.1). I encountered a few problems: >> >>You're supposed to use lfssystem-cvs-20030127-i486-stripped.tar.bz2 >> >> > >oh...must've missed it. have downloaded it now and it has solved all the >problems except for the bash version.h problem. > > > >> > 4. during make build. bash complains of missing version.h file. >>putting a >> > "make version.h" before the main make command in the bash build script >> > fixes this. >> >>That should not be needed. >>Please retry with the correct lfssystem. >>Are you working inside the chroot jail ? >> >> Just to say i made a fresh new install of the build env. last week (including lfssystem) and got the same problem ( re install solve nothing) ... maybe a pb with host env. : i'm on SuSE 8.2 ??? >yes, chroot-ed to the lfssystem. still had to add the "make version.h" >prior to main make. > >thanks, >--shing > > > Cya MaNU > >------------------------------------------------------- >This SF.net email is sponsored by: VM Ware >With VMware you can run multiple operating systems on a single machine. >WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines >at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 >_______________________________________________ >Devil-linux-develop mailing list >Dev...@li... >https://lists.sourceforge.net/lists/listinfo/devil-linux-develop > > > > |
|
From: SourceForge.net <no...@so...> - 2003-08-22 21:20:39
|
Bugs item #775372, was opened at 2003-07-21 19:39 Message generated for change (Settings changed) made by smiley73 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=410643&aid=775372&group_id=34096 Category: Configuration / Scripts Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Heiko Zuerker (smiley73) >Assigned to: Heiko Zuerker (smiley73) Summary: save-config" /var/adm/ not mounted" Initial Comment: o When running save-config, it produces an error that var/adm/<something> > wasn't mounted... > > ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=410643&aid=775372&group_id=34096 |
|
From: Heiko Z. <hz...@pr...> - 2003-08-22 20:18:30
|
On 08/22/2003 08:27:54 AM Bruce Smith wrote: >Since the "/etc/sysconfig/software" file is obsolete now, and is no >longer needed in "make dist", I suggest we remove "software" and repla= ce >it with the ".config" file used to build the ISO. Not to mention ther= e >have been numerous requests for the ".config" file. (some by me! :) Agreed I think it's best to provide our .config and the Kernel one. cya Heiko = |
|
From: Bruce S. <bw...@ar...> - 2003-08-22 19:10:00
|
Since the "/etc/sysconfig/software" file is obsolete now, and is no longer needed in "make dist", I suggest we remove "software" and replace it with the ".config" file used to build the ISO. Not to mention there have been numerous requests for the ".config" file. (some by me! :) - BS |
|
From: <no...@fr...> - 2003-08-22 10:57:12
|
This email is to inform you about the release of version '7.3.4' of 'PostgreSQL' through freshmeat.net. All URLs and other useful information can be found at http://freshmeat.net/projects/pgsql/ The changes in this release are as follows: This release addresses a potentially serious (although rare) server startup failure that was recently reported. It is critical for users of PostgreSQL version 7.3.3, and highly recommended for all other PostgreSQL users. Project description: PostgreSQL is a robust, next-generation, Object-Relational DBMS (ORDBMS), derived from the Berkeley Postgres database management system. While PostgreSQL retains the powerful object-relational data model, rich data types and easy extensibility of Postgres, it replaces the PostQuel query language with an extended subset of SQL. If you would like to cancel subscription to releases of this project, login to freshmeat.net and choose 'home' from the personal menubar at the top of the page. You'll be presented with a list of projects you're subscribed to in the right column, which you may cancel by highlighting the project in question and clicking the 'delete' button. Sincerely, freshmeat.net ____________________________| Advertising |____________________________ Got the debugger blues? Try Etnus TotalView, the Best Linux/UNIX debugger on the planet. With superior C++ support, the best thread debugging available, a great GUI, and more useful features than any other debugger, TotalView helps reveal bugs faster than any other debugger. And it provides more insight and analysis about your code and your data. So cure the debugger blues. Get your free 15-day trial at http://www.etnus.com/Download/demo-tv.html ____________________________| Advertising |____________________________ |
|
From: Heiko Z. <hz...@pr...> - 2003-08-22 09:52:07
|
On 08/20/2003 03:05:38 PM Bruce Smith wrote: >> > Hey boy's, >> > the devil-linux-0.6Beta1-2003-08-15-i586-bs.tar.bz2 is realy a big= >thing. >> > Thanks to all! >> >> You're welcome ! > >That was my ISO, which has the bug of requiring "var.tar.bz2" to be on= >the floppy/USB media. It doesn't hurt anything, but that requirement >will go away in the next release (hopefully). > >Any comments on the new "setup" program? It looks good to me, I didn't see anything to complain.... ;-) cya Heiko = |
|
From: Shing-Gene Y. <sh...@cz...> - 2003-08-22 07:14:00
|
On Wed, 20 Aug 2003, Heiko Zuerker wrote: > Shing-Gene Yung wrote: > > I'm just getting started in building 0.6beta from cvs (using > > lfssystem-3.1). I encountered a few problems: > > You're supposed to use lfssystem-cvs-20030127-i486-stripped.tar.bz2 oh...must've missed it. have downloaded it now and it has solved all the problems except for the bash version.h problem. > > 4. during make build. bash complains of missing version.h file. > putting a > > "make version.h" before the main make command in the bash build script > > fixes this. > > That should not be needed. > Please retry with the correct lfssystem. > Are you working inside the chroot jail ? yes, chroot-ed to the lfssystem. still had to add the "make version.h" prior to main make. thanks, --shing |
|
From: <no...@fr...> - 2003-08-22 04:53:35
|
This email is to inform you about the release of version '1.3.0' of 'XFS' through freshmeat.net. All URLs and other useful information can be found at http://freshmeat.net/projects/xfs/ The changes in this release are as follows: Numerous changes were made. Project description: XFS is a high-performance journaling file system. It provides quick recovery after a crash, fast transactions, high scalability, and excellent bandwidth. If you would like to cancel subscription to releases of this project, login to freshmeat.net and choose 'home' from the personal menubar at the top of the page. You'll be presented with a list of projects you're subscribed to in the right column, which you may cancel by highlighting the project in question and clicking the 'delete' button. Sincerely, freshmeat.net ____________________________| Advertising |____________________________ Got the debugger blues? Try Etnus TotalView, the Best Linux/UNIX debugger on the planet. With superior C++ support, the best thread debugging available, a great GUI, and more useful features than any other debugger, TotalView helps reveal bugs faster than any other debugger. And it provides more insight and analysis about your code and your data. So cure the debugger blues. Get your free 15-day trial at http://www.etnus.com/Download/demo-tv.html ____________________________| Advertising |____________________________ |
|
From: <no...@fr...> - 2003-08-22 04:25:04
|
This email is to inform you about the release of version '1.59' of 'man-pages' through freshmeat.net. All URLs and other useful information can be found at http://freshmeat.net/projects/man-pages/ The changes in this release are as follows: Updates were made to futex(2), lseek(2), mmap2(2), modify_ldt(2), open(2), reboot(2), sigaction(2), statfs(2), ustat(2), inet_ntop(3), and insque(3). pciconfig_read(2) and friends, ffsl(3), and ffsll(3) were added. Project description: The manpages package contains a large collection of man pages for Linux covering programming APIs, file formats, protocols, etc. If you would like to cancel subscription to releases of this project, login to freshmeat.net and choose 'home' from the personal menubar at the top of the page. You'll be presented with a list of projects you're subscribed to in the right column, which you may cancel by highlighting the project in question and clicking the 'delete' button. Sincerely, freshmeat.net ____________________________| Advertising |____________________________ Got the debugger blues? Try Etnus TotalView, the Best Linux/UNIX debugger on the planet. With superior C++ support, the best thread debugging available, a great GUI, and more useful features than any other debugger, TotalView helps reveal bugs faster than any other debugger. And it provides more insight and analysis about your code and your data. So cure the debugger blues. Get your free 15-day trial at http://www.etnus.com/Download/demo-tv.html ____________________________| Advertising |____________________________ |
|
From: SourceForge.net <no...@so...> - 2003-08-21 23:12:55
|
Bugs item #725298, was opened at 2003-04-21 16:31 Message generated for change (Settings changed) made by smiley73 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=410643&aid=725298&group_id=34096 Category: Build System Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Heiko Zuerker (smiley73) >Assigned to: Heiko Zuerker (smiley73) Summary: add var DOCDIR and modify scripts Initial Comment: modify the build scripts to use a variable named DOCDIR which points to $CDDIR/usr/share . ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=410643&aid=725298&group_id=34096 |
|
From: Thomas E. <tho...@bu...> - 2003-08-21 20:17:50
|
Bruce Smith wrote: >>You're welcome ! > > > That was my ISO, which has the bug of requiring "var.tar.bz2" to be on > the floppy/USB media. It doesn't hurt anything, but that requirement > will go away in the next release (hopefully). > > Any comments on the new "setup" program? _WONDERFUL_ -- cu Thomas |
|
From: Bruce S. <bw...@ar...> - 2003-08-21 14:45:58
|
> > Hey boy's, > > the devil-linux-0.6Beta1-2003-08-15-i586-bs.tar.bz2 is realy a big thing. > > Thanks to all! > > You're welcome ! That was my ISO, which has the bug of requiring "var.tar.bz2" to be on the floppy/USB media. It doesn't hurt anything, but that requirement will go away in the next release (hopefully). Any comments on the new "setup" program? > I guess you like our latest modifications. ;-) > Later this week you'll get a new version, which should have most bugs fixed. - BS |
|
From: <no...@fr...> - 2003-08-21 08:25:24
|
This email is to inform you about the release of version '2.60' of 'SpamAssassin' through freshmeat.net. All URLs and other useful information can be found at http://freshmeat.net/projects/spamassassin/ The changes in this release are as follows: The DNSBLs were overhauled with many new lists, including SORBS and SpamCop BL. RBL timeouts are now handled much more efficiently, reducing the number of IP addresses queried by inferring trust relationships between Received headers. A generalized Received-header parser was added to more easily detect HELO string forgery and faked relay lines. The default report was updated to list the scanning machine's hostname. A workaround for Red Hat kernels with NPTL reporting "application bug" was implemented. Project description: SpamAssassin is a mail filter that uses a wide range of heuristic tests on mail headers and body text to identify spam. Once identified, the mail can then be optionally tagged as spam for later filtering. It provides a command line tool to perform filtering, a client-server system to filter large volumes of mail, and Mail::SpamAssassin, a set of Perl modules that implement a Mail::Audit plugin -- allowing SpamAssassin to be used in a Mail::Audit filter, a spam-protection proxy POP/IMAP server, or almost anywhere. If you would like to cancel subscription to releases of this project, login to freshmeat.net and choose 'home' from the personal menubar at the top of the page. You'll be presented with a list of projects you're subscribed to in the right column, which you may cancel by highlighting the project in question and clicking the 'delete' button. Sincerely, freshmeat.net ____________________________| Advertising |____________________________ Got the debugger blues? Try Etnus TotalView, the Best Linux/UNIX debugger on the planet. With superior C++ support, the best thread debugging available, a great GUI, and more useful features than any other debugger, TotalView helps reveal bugs faster than any other debugger. And it provides more insight and analysis about your code and your data. So cure the debugger blues. Get your free 15-day trial at http://www.etnus.com/Download/demo-tv.html ____________________________| Advertising |____________________________ |
|
From: <no...@fr...> - 2003-08-20 21:31:55
|
This email is to inform you about the release of version '22.5.7.2' of 'LILO' through freshmeat.net. All URLs and other useful information can be found at http://freshmeat.net/projects/lilo/ The changes in this release are as follows: This release contains the promised update for the 'devfs' problem with multiple SCSI drives. There are other accumulated updates. The binary and source distributions are updated. Project description: LILO is a Boot loader for Linux/x86 and other PC operating systems. It is responsible for loading your Linux kernel from either a floppy or a hard drive and passing control to it. It is capable of booting beyond cylinder 1024 of a hard disk if the BIOS supports EDD packet call extensions to the int 0x13 interface. LILO can also be used to boot many other operating systems, including DOS, Windows (all versions), OS/2, and the BSD variants. The LILO distribution includes full source, documentation and support files. If you would like to cancel subscription to releases of this project, login to freshmeat.net and choose 'home' from the personal menubar at the top of the page. You'll be presented with a list of projects you're subscribed to in the right column, which you may cancel by highlighting the project in question and clicking the 'delete' button. Sincerely, freshmeat.net ____________________________| Advertising |____________________________ Got the debugger blues? Try Etnus TotalView, the Best Linux/UNIX debugger on the planet. With superior C++ support, the best thread debugging available, a great GUI, and more useful features than any other debugger, TotalView helps reveal bugs faster than any other debugger. And it provides more insight and analysis about your code and your data. So cure the debugger blues. Get your free 15-day trial at http://www.etnus.com/Download/demo-tv.html ____________________________| Advertising |____________________________ |
|
From: Heiko Z. <he...@zu...> - 2003-08-20 20:03:01
|
Heiko Zuerker wrote: > > > 6. running system. using jail to run named fails as it can't find the > > package? I thought everything is running off the CD now, so why is it > > looking for the package? > > The jail support is partly broken in CVS, I actually planned to fix this > today. This problem comes because we moved everything to CD. > Fixed in CVS cya Heiko |
|
From: SourceForge.net <no...@so...> - 2003-08-20 19:52:53
|
Bugs item #787088, was opened at 2003-08-11 20:09 Message generated for change (Settings changed) made by smiley73 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=410643&aid=787088&group_id=34096 Category: Base System Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Heiko Zuerker (smiley73) >Assigned to: Heiko Zuerker (smiley73) Summary: jail script fails without package Initial Comment: the jail script tries to unpack the package, which doesn't exist anymore. need to find a fix for this ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=410643&aid=787088&group_id=34096 |
|
From: Heiko Z. <he...@zu...> - 2003-08-20 18:56:03
|
Thomas Eder wrote: > Hey boy's, > the devil-linux-0.6Beta1-2003-08-15-i586-bs.tar.bz2 is realy a big thing. > Thanks to all! > You're welcome ! I guess you like our latest modifications. ;-) Later this week you'll get a new version, which should have most bugs fixed. cya Heiko |
|
From: Thomas E. <tho...@bu...> - 2003-08-20 17:57:00
|
Hey boy's,
the devil-linux-0.6Beta1-2003-08-15-i586-bs.tar.bz2 is realy a big thing.
Thanks to all!
--
cu
Thomas
|
|
From: Heiko Z. <he...@zu...> - 2003-08-20 14:50:14
|
Thanks for your bug report (as usual). It's all fixed in CVS. cya Heiko Dean Nedelman wrote: > [... I am still using the 08-08-i686-SMP version...] > > I [finally] noticed that I was not receiving any messages from IPTables > about dropped packets (my firewall.rules file is setup to log most packets > that are dropped). So, I started looking around... > > I noticed that reloading (/etc/init.d/syslog reload) would "cure" the > problem, so I determine that everything is probably properly configured. > So, I kept digging... > > I then noticed that the syslog daemon was logging the fact that is was > restarting as part of the load. I was able to determine that this happened > when Postfix was started. After the syslog daemon was restarted, I no > longer received IPTables messages. > > Looking over /etc/init.d/jail, I found out that it does a /etc/init.d/syslog > reload! So, I figured this was the "source" of my problem! > > Looking over /etc/init.d/syslog, I reviewed the reload code. I became > suspicious of the hack that was in there to handle the killing of the klogd > daemon. To very that this was indeed the problem, I made two changes: > o I removed the entire logic used to kill the klogd daemon and instead > inserted a "killproc klogd" command. > o For the restart of klogd, I changed it to read "loadproc klogd -c > $KERNEL_LOGLEVEL". > > Now, everything works! [The first bug report.] > > I presume that some of the problem is related to the fact that the previous > method of killing the daemon did not properly cleanup the file > /var/run/klogd.pid - but I could be wrong. > > And, while I was reviewing /etc/init.d/syslog, I noticed that it was still > using the "old" 0.5 reference for the jail area (checking for /jail/$A/... > so as to remove them from syslog-ng.conf). These statements are probably > harmless (as the current system has /etc/init.d/jail ADDING entries to the > syslog-ng.conf file - thus the reload). [The 1/2 of a bug report] > > Dean Nedelman > TimeLord Consulting > > > > ------------------------------------------------------- > This SF.net email is sponsored by Dice.com. > Did you know that Dice has over 25,000 tech jobs available today? From > careers in IT to Engineering to Tech Sales, Dice has tech jobs from the > best hiring companies. http://www.dice.com/index.epl?rel_code=104 > _______________________________________________ > Devil-linux-develop mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devil-linux-develop > > |
|
From: Heiko Z. <he...@zu...> - 2003-08-20 14:48:53
|
Please start a new thread and don't press "reply" when sending messages.
Shing-Gene Yung wrote:
> I'm just getting started in building 0.6beta from cvs (using
> lfssystem-3.1). I encountered a few problems:
You're supposed to use lfssystem-cvs-20030127-i486-stripped.tar.bz2
> 1. the new docs don't mention whether the build dir should be copied to
> the data subdir or otherwise? anyway putting it under the data subdir
> works.
We actually leave that to your preference, I personally use the /data dir.
> 2. make menuconfig. lxdialog fails to start due to glibc version
errors. I
> removed the lxdialog binary and make menuconfig built it again, which
> works.
Somebody accidently checked in the binary file, I removed it from the
CVS repository.
> 3. make build. it complains that /usr/include/asm exists and quits.
> removing that dir makes it work. is the asm dir needed?
Our build script takes care of that and actually creates a symlink into
the kernel source tree.
> 4. during make build. bash complains of missing version.h file.
putting a
> "make version.h" before the main make command in the bash build script
> fixes this.
That should not be needed.
Please retry with the correct lfssystem.
Are you working inside the chroot jail ?
> 5. make install. scripts/copy_base complains /bin/grep and
> /bin/egrep are not found. fixed by changing to /usr/bin/{grep,egrep} in
> scripts/config/copy_base.lst . What should be the proper locations?
You should not need to modify this.
Please retry with the correct lfssystem.
Are you working inside the chroot jail ?
> 6. running system. using jail to run named fails as it can't find the
> package? I thought everything is running off the CD now, so why is it
> looking for the package?
The jail support is partly broken in CVS, I actually planned to fix this
today. This problem comes because we moved everything to CD.
cya
Heiko
|
|
From: Shing-Gene Y. <sh...@cz...> - 2003-08-20 10:58:58
|
I'm just getting started in building 0.6beta from cvs (using
lfssystem-3.1). I encountered a few problems:
1. the new docs don't mention whether the build dir should be copied to
the data subdir or otherwise? anyway putting it under the data subdir
works.
2. make menuconfig. lxdialog fails to start due to glibc version errors. I
removed the lxdialog binary and make menuconfig built it again, which
works.
3. make build. it complains that /usr/include/asm exists and quits.
removing that dir makes it work. is the asm dir needed?
4. during make build. bash complains of missing version.h file. putting a
"make version.h" before the main make command in the bash build script
fixes this.
5. make install. scripts/copy_base complains /bin/grep and
/bin/egrep are not found. fixed by changing to /usr/bin/{grep,egrep} in
scripts/config/copy_base.lst . What should be the proper locations?
6. running system. using jail to run named fails as it can't find the
package? I thought everything is running off the CD now, so why is it
looking for the package?
that's it so far :)
--shing
|
|
From: SourceForge.net <no...@so...> - 2003-08-20 07:59:31
|
Bugs item #775368, was opened at 2003-07-21 19:31 Message generated for change (Settings changed) made by smiley73 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=410643&aid=775368&group_id=34096 >Category: Base System Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Heiko Zuerker (smiley73) >Assigned to: Heiko Zuerker (smiley73) Summary: Add support for the ROL-F card. Initial Comment: request from Thomas Eder. http://www.peppercon.com/products/rolf.html He wrote that it works fine on his system --- scripts/config/config_linux 2003-07-12 11:17:03.000000000 +0200 +++ scripts/config/config_linux-patch 2003-07-12 11:12:30.000000000 +0200 @@ -631,7 +631,7 @@ # CONFIG_ES3210 is not set CONFIG_8139CP=m CONFIG_8139TOO=m -# CONFIG_8139TOO_PIO is not set +CONFIG_8139TOO_PIO=y # CONFIG_8139TOO_TUNE_TWISTER is not set # CONFIG_8139TOO_8129 is not set # CONFIG_8139_OLD_RX_RESET is not set diff -Nur linux-2.4.21/drivers/net/8139too.c linux-2.4.21-patch/drivers/net/8139too.c --- linux-2.4.21/drivers/net/8139too.c 2003-06-13 16:51:34.000000000 +0200 +++ linux-2.4.21-patch/drivers/net/8139too.c 2003-06-25 13:27:09.000000000 +0200 @@ -5,6 +5,8 @@ Maintained by Jeff Garzik <jg...@po...> Copyright 2000-2002 Jeff Garzik + ROL/F Support added by Peppercon AG, 2001, 2002, 2003 + Much code comes from Donald Becker's rtl8139.c driver, versions 1.13 and older. This driver was originally based on rtl8139.c version 1.07. Header of rtl8139.c version 1.13: @@ -93,6 +95,7 @@ #define DRV_NAME "8139too" #define DRV_VERSION "0.9.26" +#define ROLF_VERSION "$Revision: 1.2 $" #include <linux/config.h> @@ -113,9 +116,12 @@ #include <asm/io.h> #include <asm/uaccess.h> -#define RTL8139_DRIVER_NAME DRV_NAME " Fast Ethernet driver " DRV_VERSION +#define RTL8139_DRIVER_NAME DRV_NAME " Fast Ethernet driver " DRV_VERSION " / ROL/F version: " ROLF_VERSION #define PFX DRV_NAME ": " +#ifndef CONFIG_8139TOO_PIO +#error "Please activate "Use PIO instead of MMIO" in the kernel config (e.g. make menuconfig). Useing MMIO doesn't work on some mainbaords." +#endif /* enable PIO instead of MMIO, if CONFIG_8139TOO_PIO is selected */ #ifdef CONFIG_8139TOO_PIO @@ -128,6 +134,8 @@ /* define to 1 to disable lightweight runtime debugging checks */ #undef RTL8139_NDEBUG +/* undef to disable ROL when interface is down or module is unloaded */ +#define ROLF_ENABLE_ROL_IFDOWN 1 #ifdef RTL8139_DEBUG /* note: prints function name for you */ @@ -199,6 +207,7 @@ HAS_MII_XCVR = 0x010000, HAS_CHIP_XCVR = 0x020000, HAS_LNK_CHNG = 0x040000, + IS_ROLF =0x80000, }; #define RTL_NUM_STATS 4 /* number of ETHTOOL_GSTATS u64's */ @@ -208,12 +217,14 @@ #define RTL8129_CAPS HAS_MII_XCVR #define RTL8139_CAPS HAS_CHIP_XCVR|HAS_LNK_CHNG +#define ROLF_CAPS IS_ROLF|RTL8139_CAPS typedef enum { RTL8139 = 0, RTL8139_CB, SMC1211TX, /*MPX5030,*/ + RTL8139ROLF, DELTA8139, ADDTRON8139, DFE538TX, @@ -235,6 +246,7 @@ { "RealTek RTL8139B PCI/CardBus", RTL8139_CAPS }, { "SMC1211TX EZCard 10/100 (RealTek RTL8139)", RTL8139_CAPS }, /* { MPX5030, "Accton MPX5030 (RealTek RTL8139)", RTL8139_CAPS }, */ + { "Peppercon AG ROL/F (RealTek RTL8139)", ROLF_CAPS }, { "Delta Electronics 8139 10/100BaseTX", RTL8139_CAPS }, { "Addtron Technolgy 8139 10/100BaseTX", RTL8139_CAPS }, { "D-Link DFE-538TX (RealTek RTL8139)", RTL8139_CAPS }, @@ -252,6 +264,7 @@ {0x10ec, 0x8138, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RTL8139_CB }, {0x1113, 0x1211, PCI_ANY_ID, PCI_ANY_ID, 0, 0, SMC1211TX }, /* {0x1113, 0x1211, PCI_ANY_ID, PCI_ANY_ID, 0, 0, MPX5030 },*/ + {0x1743, 0x8139, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RTL8139ROLF }, {0x1500, 0x1360, PCI_ANY_ID, PCI_ANY_ID, 0, 0, DELTA8139 }, {0x4033, 0x1360, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ADDTRON8139 }, {0x1186, 0x1300, PCI_ANY_ID, PCI_ANY_ID, 0, 0, DFE538TX }, @@ -326,6 +339,10 @@ PARA78 = 0x78, PARA7c = 0x7c, /* Magic transceiver parameter register. */ Config5 = 0xD8, /* absent on RTL-8139A */ + PowerManCRC0=0x84, + WakeupMask0=0x8C, + LSBCR0=0xCC, + FlashAccess=0xD4, }; enum ClearBitMasks { @@ -460,6 +477,212 @@ RxNoWrap = (1 << 7), }; +/* begin ROL/F specific */ +#include <linux/delay.h> +static void lat_write(void *ioaddr, long offset, unsigned char data); +static unsigned char lat_read (void *ioaddr, long offset); +void rolf_init(struct net_device *dev); +void rolf_stop(struct net_device *dev); +#define LAT_REG_WDCOUNT 0x00 +#define LAT_REG_CONFIG 0x01 +#define LAT_REG_FLASHADR 0x02 + +/* Register Config Bit Masks */ +#define LAT_CFG_WDGENB 0x01 +#define LAT_CFG_ROLENB 0x02 +#define LAT_CFG_FLASHENB 0x04 +#define LAT_CFG_EMERENB 0x08 + +#define FLASH_DATA_MASK 0xFF000000 +#define FLASH_CSB 0x00100000 +#define FLASH_OEB 0x00080000 +#define FLASH_WEB 0x00040000 +#define FLASH_ENABLE 0x00020000 +#define FLASH_ADDR_MASK 0x0001FFFF +#define LAT_BASE_ADDR 0x0001E000 + +/* defines the offsets of the ROL/F Data in EEPROM */ +#define EEPROM_ROLBASE 0x30 +#define ROLF_CRC8_AND_LASTBYTE 0xA +#define ROLF_DISABLE_ROL 0x9 +#include <linux/miscdevice.h> +#include <linux/fcntl.h> +#include <asm/uaccess.h> +#include <linux/watchdog.h> + +#define RWDIOF_GETSUPPORT 0x1 +#define RWDIOF_GETTIMEOUT 0x2 +#define RWDIOF_SETTIMEOUT 0x4 +#define RWDIOF_KEEPALIVE 0x8 +#define RWDIOF_GETTIMER 0x10 + +static int rolf_wdog_is_open = 0; +static int rolf_wdog_registered = 0; +enum RTL8139_Config_Register +{ + CFG_UNLOCK = 0xC0, + CFG_LOCK = 0x3F, + + CFG1_PMEN = 0x01, + CFG3_MAGIC = 0x20, + CFG4_LWPME = 0x10, + CFG5_LANWAKE = 0x02 +}; +static void *rolf_ioaddr; +static int start = 0xe1; +spinlock_t lattice_lock = SPIN_LOCK_UNLOCKED; + +static void rolf_wdog_ctr_load(unsigned char val) +{ + spin_lock(&lattice_lock); + lat_write(rolf_ioaddr,LAT_REG_WDCOUNT, val); + spin_unlock(&lattice_lock); +} + +static long long rolf_wdog_llseek(struct file *file, long long offset, int origin) +{ + return -ESPIPE; +} + +static void rolf_wdog_ping(void) +{ + /* Write a watchdog value */ + rolf_wdog_ctr_load(start); +#ifdef RTL8139_DEBUG + printk(KERN_INFO "rtl8139: ROL/F Watchdog: Reset Watchdog\n"); +#endif +} + +static ssize_t rolf_wdog_write(struct file *file, const char *buf, size_t count, loff_t *ppos) +{ + /* Can't seek (pwrite) on this device */ + if (ppos != &file->f_pos) + return -ESPIPE; + if(count) { + rolf_wdog_ping(); + return 1; + } + return 0; +} + +static ssize_t rolf_wdog_read(struct file *file, char *buf, size_t count, loff_t *ptr) +{ + unsigned char cp; + + /* Can't seek (pread) on this device */ + if (ptr != &file->f_pos) + return -ESPIPE; + switch(MINOR(file->f_dentry->d_inode->i_rdev)) { + case WATCHDOG_MINOR: + spin_lock(&lattice_lock); + cp = lat_read(rolf_ioaddr,LAT_REG_WDCOUNT); + spin_unlock(&lattice_lock); + if(copy_to_user(buf,&cp,1)) + return -EFAULT; + return 1; + default: + return -EINVAL; + } +} +static int rolf_wdog_ioctl( struct inode *inode, struct file *file, unsigned int cmd, + unsigned long arg) +{ + unsigned char newtimeout; + unsigned char count; + static struct watchdog_info ident= + { + RWDIOF_SETTIMEOUT|RWDIOF_GETTIMEOUT|RWDIOF_KEEPALIVE|RWDIOF_GETSUPPORT|RWDIOF_GETTIMER, + 1, + "ROL/F" + }; + + switch(cmd) + { + default: + return -ENOIOCTLCMD; + case RWDIOF_GETSUPPORT: + return copy_to_user((struct watchdog_info *)arg, &ident, sizeof(ident))?-EFAULT:0; + case RWDIOF_GETTIMER: + spin_lock(&lattice_lock); + count = lat_read(rolf_ioaddr,LAT_REG_WDCOUNT); + spin_unlock(&lattice_lock); + return put_user( count, (unsigned char *)arg); + case RWDIOF_GETTIMEOUT: + return put_user(0xff-start, (unsigned char *)arg); + case RWDIOF_SETTIMEOUT: + get_user(newtimeout,(unsigned char*) arg); + if (newtimeout > 0) { + printk (KERN_INFO "rtl8139: ROL/F Watchdog: set new Timeout: %u\n",newtimeout); + start = 0xff-newtimeout; + } else { + printk (KERN_INFO "rtl8139: ROL/F Watchdog: reject Timeout: %u\n",newtimeout); + } + case RWDIOF_KEEPALIVE: + rolf_wdog_ping(); + return 0; + } +} + +static int rolf_wdog_open(struct inode *inode, struct file *file) +{ + unsigned char uchControl; + switch(MINOR(inode->i_rdev)) + { + case WATCHDOG_MINOR: + if(rolf_wdog_is_open) + return -EBUSY; + MOD_INC_USE_COUNT; + rolf_wdog_is_open=1; + spin_lock(&lattice_lock); + uchControl = lat_read(rolf_ioaddr,LAT_REG_CONFIG); + uchControl |= LAT_CFG_WDGENB; + lat_write(rolf_ioaddr, LAT_REG_CONFIG, uchControl); + spin_unlock(&lattice_lock); + printk (KERN_INFO "rtl8139: ROL/F Watchdog: activate watchdog\n"); + return 0; + default: + return -ENODEV; + } +} + +static int rolf_wdog_release(struct inode *inode, struct file *file) +{ + unsigned char uchControl; + if(MINOR(inode->i_rdev)==WATCHDOG_MINOR) + { +#ifndef CONFIG_WATCHDOG_NOWAYOUT + spin_lock(&lattice_lock); + uchControl = lat_read(rolf_ioaddr,LAT_REG_CONFIG); + uchControl &= ~LAT_CFG_WDGENB; + lat_write(rolf_ioaddr, LAT_REG_CONFIG, uchControl); + spin_unlock(&lattice_lock); + rolf_wdog_ctr_load(0); /* 0 length reset pulses now */ + printk (KERN_INFO "rtl8139: ROL/F Watchdog: release watchdog\n"); +#endif + rolf_wdog_is_open=0; + } + MOD_DEC_USE_COUNT; + return 0; +} + + +static struct file_operations rolf_wdog_fops = { + owner: THIS_MODULE, + llseek: rolf_wdog_llseek, + read: rolf_wdog_read, + write: rolf_wdog_write, + ioctl: rolf_wdog_ioctl, + open: rolf_wdog_open, + release: rolf_wdog_release, +}; + +static struct miscdevice rolf_wdog_miscdev= +{ + WATCHDOG_MINOR, + "watchdog", + &rolf_wdog_fops +}; +/* end ROL/F specific */ /* Twister tuning parameters from RealTek. Completely undocumented, but required to tune bad links on some boards. */ @@ -789,6 +1012,7 @@ /* set this immediately, we need to know before * we talk to the chip directly */ DPRINTK("PIO region size == 0x%02X\n", pio_len); + DPRINTK("PIO region start == 0x%08X\n", pio_start); DPRINTK("MMIO region size == 0x%02lX\n", mmio_len); #ifdef USE_IO_OPS @@ -830,6 +1054,7 @@ dev->base_addr = pio_start; tp->mmio_addr = ioaddr; tp->regs_len = pio_len; + DPRINTK("Use IO-mapped-IO\n"); #else /* ioremap MMIO region */ ioaddr = ioremap (mmio_start, mmio_len); @@ -841,6 +1066,7 @@ dev->base_addr = (long) ioaddr; tp->mmio_addr = ioaddr; tp->regs_len = mmio_len; + DPRINTK("Use MEM-mapped-IO\n"); #endif /* USE_IO_OPS */ /* Bring old chips out of low-power mode. */ @@ -1070,6 +1296,14 @@ if (rtl_chip_info[tp->chipset].flags & HasHltClk) RTL_W8 (HltClk, 'H'); /* 'R' would leave the clock running. */ + /* init ROL/F watchdog */ + if (tp->drv_flags & IS_ROLF) { + rolf_ioaddr = ioaddr; + printk(KERN_INFO "ROL/F Watchdog at %08lx, Timeout: %u s\n",(long)rolf_ioaddr,0xff-start); + rolf_wdog_registered = 1; + misc_register(&rolf_wdog_miscdev); + } + return 0; err_out: @@ -1115,7 +1349,7 @@ #define EE_READ_CMD (6) #define EE_ERASE_CMD (7) -static int __devinit read_eeprom (void *ioaddr, int location, int addr_len) +static int read_eeprom (void *ioaddr, int location, int addr_len) { int i; unsigned retval = 0; @@ -1290,6 +1524,9 @@ void *ioaddr = tp->mmio_addr; #endif +#ifdef ROLF_ENABLE_ROL_IFDOWN + pci_set_master (tp->pci_dev); +#endif retval = request_irq (dev->irq, rtl8139_interrupt, SA_SHIRQ, dev->name, dev); if (retval) return retval; @@ -1422,6 +1659,11 @@ /* Enable all known interrupts by setting the interrupt mask. */ RTL_W16 (IntrMask, rtl8139_intr_mask); + /* ROL/F specific */ + if (tp->drv_flags & IS_ROLF) { + rolf_init(dev); + } + netif_start_queue (dev); } @@ -2115,9 +2357,16 @@ void *ioaddr = tp->mmio_addr; int ret = 0; unsigned long flags; + u16 cmd; + unsigned short disable_rol; netif_stop_queue (dev); + /* ROL/F specific */ + if (tp->drv_flags & IS_ROLF) { + rolf_stop(dev); + } + if (tp->thr_pid >= 0) { tp->time_to_die = 1; wmb(); @@ -2158,11 +2407,28 @@ tp->rx_ring = NULL; tp->tx_bufs = NULL; - /* Green! Put the chip in low-power mode. */ - RTL_W8 (Cfg9346, Cfg9346_Unlock); +#ifdef ROLF_ENABLE_ROL_IFDOWN + disable_rol = read_eeprom(rolf_ioaddr, EEPROM_ROLBASE+ROLF_DISABLE_ROL, 6); + if (!(disable_rol & 0x2)) { + /* re-enable ROL after shutdown */ + DPRINTK ("ROL enabled in EEPROM\n"); + RTL_W8 (Cfg9346, Cfg9346_Unlock); + + /* enable reset on LAN after shutdown */ + pci_read_config_word(tp->pci_dev, PCI_COMMAND, &cmd); + cmd &= ~PCI_COMMAND_MASTER; + pci_write_config_word(tp->pci_dev, PCI_COMMAND, cmd); + /* enable Rx */ + RTL_W8_F (ChipCmd, 0x8); + /* accept phys, mult, unicast */ + RTL_W32 (RxConfig, 0xe); + RTL_W8 (Cfg9346, Cfg9346_Lock); - if (rtl_chip_info[tp->chipset].flags & HasHltClk) - RTL_W8 (HltClk, 'H'); /* 'R' would leave the clock running. */ + rolf_init(dev); + } else { + DPRINTK ("ROL disabled in EEPROM\n"); + } +#endif return 0; } @@ -2500,6 +2766,7 @@ /* Note: do not reorder, GCC is clever about common statements. */ if (dev->flags & IFF_PROMISC) { + rolf_stop(dev); /* Unconditionally log net taps. */ printk (KERN_NOTICE "%s: Promiscuous mode enabled. \n", dev->name); @@ -2533,6 +2800,10 @@ } RTL_W32_F (MAR0 + 0, mc_filter[0]); RTL_W32_F (MAR0 + 4, mc_filter[1]); + + if (!(dev->flags & IFF_PROMISC)) { + rolf_init(dev); + } } static void rtl8139_set_rx_mode (struct net_device *dev) @@ -2615,9 +2886,266 @@ static void __exit rtl8139_cleanup_module (void) { + if (rolf_wdog_registered) + misc_deregister(&rolf_wdog_miscdev); pci_unregister_driver (&rtl8139_pci_driver); } +/* begin ROL/F specific */ +void rolf_init(struct net_device *dev) +{ + unsigned char uchControl; + unsigned char wakeup_crc8[8] = + {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}; + unsigned long wakeup_mask[8][2] = { + {0x00000000,0x00000000}, + {0x00000000,0x00000000}, + {0x00000000,0x00000000}, + {0x00000000,0x00000000}, + {0x00000000,0x00000000}, + {0x00000000,0x00000000}, + {0x00000000,0x00000000}, + {0x00000000,0x00000000}, + }; + unsigned char wakeup_lsb[8] = + {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}; + + unsigned char reg_cfg9346, reg_config; + int i; + unsigned short crc8_and_lastbyte, disable_rol; + unsigned char lwake_state; + struct rtl8139_private *tp = dev->priv; + void *ioaddr; + + DPRINTK("ROL/F IO Addr: %08lx\n",rolf_ioaddr); + ioaddr = rolf_ioaddr; + + disable_rol = read_eeprom(ioaddr, EEPROM_ROLBASE+ROLF_DISABLE_ROL, 6); + if (disable_rol & 0x2) { + DPRINTK ("ROL disabled in EEPROM\n"); + rolf_stop(dev); + return; + } + DPRINTK ("ROL enabled in EEPROM\n"); + + + printk(KERN_INFO "Setting up ROL/F\n"); + /* reset LWAKE */ + pci_read_config_byte(tp->pci_dev, 0x55, &lwake_state); +#ifdef RTL8139_DEBUG + printk(KERN_DEBUG "LWake State: %02x\n",lwake_state); +#endif + if (lwake_state & 0x80) { +#ifdef RTL8139_DEBUG + printk(KERN_DEBUG "Clear LWAKE\n"); +#endif + pci_write_config_byte(tp->pci_dev, 0x55, 0x80); + } + /* Unlock register access */ + reg_cfg9346 = RTL_R8(Cfg9346); + reg_cfg9346 |= CFG_UNLOCK; + RTL_W8(Cfg9346, reg_cfg9346); + + /* Disable LAN Wake signal */ + reg_config = RTL_R8(Config5); + reg_config &= ~CFG5_LANWAKE; + RTL_W8(Config5, reg_config); + + /* Disable Magic Paket support */ + reg_config = RTL_R8(Config3); + reg_config &= ~CFG3_MAGIC; + RTL_W8(Config3, reg_config); + + /* Disable PME support */ + reg_config = RTL_R8(Config1); + reg_config &= ~CFG1_PMEN; + RTL_W8(Config1, reg_config); + + /* Write ROL values from EEPROM in RTL8139C registers */ + crc8_and_lastbyte = read_eeprom(ioaddr, EEPROM_ROLBASE+ROLF_CRC8_AND_LASTBYTE, 6); +#ifdef RTL8139_DEBUG + printk(KERN_DEBUG "CRC8+Lastbyte (%x): %X\n",EEPROM_ROLBASE+ROLF_CRC8_AND_LASTBYTE,crc8_and_lastbyte); +#endif + wakeup_crc8[7] = (unsigned char)(crc8_and_lastbyte >> 8); + wakeup_mask[7][0] = 0x00000003; + wakeup_mask[7][1] = 0x00000000; + wakeup_lsb[7] = (unsigned char)(crc8_and_lastbyte); +#ifdef RTL8139_DEBUG + printk(KERN_DEBUG "CRC8: %02x, LSB: %02x\n",wakeup_crc8[7],wakeup_lsb[7]); +#endif + for (i=0;i<8;i++){ + RTL_W8(PowerManCRC0 + i, wakeup_crc8[i]); + RTL_W32(WakeupMask0 + (i * 8), wakeup_mask[i][0]); + RTL_W32(WakeupMask0 + 4 + (i * 8), wakeup_mask[i][1]); + RTL_W8(LSBCR0 + i, wakeup_lsb[i]); + } + + /* Enable PME support */ + reg_config = RTL_R8(Config1); + reg_config |= CFG1_PMEN; + RTL_W8(Config1, reg_config); + + /* Enable LAN Wake signal */ + reg_config = RTL_R8(Config5); + reg_config |= CFG5_LANWAKE; + RTL_W8(Config5, reg_config); + + /* LWAKE and PMEB pins asserted at same time */ + reg_config = RTL_R8(Config4); + reg_config &= ~CFG4_LWPME; + RTL_W8(Config4, reg_config); + + /* Lock register access */ + reg_cfg9346 &= ~CFG_UNLOCK; + RTL_W8(Cfg9346, reg_cfg9346); + + /* reset LWAKE */ + pci_read_config_byte(tp->pci_dev, 0x55, &lwake_state); +#ifdef RTL8139_DEBUG + printk(KERN_DEBUG "LWake State: %02x\n",lwake_state); +#endif + if (lwake_state & 0x80) { +#ifdef RTL8139_DEBUG + printk(KERN_DEBUG "Clear LWAKE\n"); +#endif + pci_write_config_byte(tp->pci_dev, 0x55, 0x80); + } + + /* Enable Reset on LAN */ + spin_lock(&lattice_lock); + uchControl = lat_read(ioaddr,LAT_REG_CONFIG); + uchControl |= LAT_CFG_ROLENB; + lat_write(ioaddr, LAT_REG_CONFIG, uchControl); + spin_unlock(&lattice_lock); +} + +void rolf_stop(struct net_device *dev) +{ + unsigned char uchControl; + unsigned char lwake_state; + struct rtl8139_private *tp = dev->priv; + void *ioaddr; + + DPRINTK(KERN_DEBUG "ROL/F IO Addr: %08lx\n",rolf_ioaddr); + ioaddr = rolf_ioaddr; + + /* reset LWAKE */ + pci_read_config_byte(tp->pci_dev, 0x55, &lwake_state); +#ifdef RTL8139_DEBUG + printk(KERN_DEBUG "LWake State: %02x\n",lwake_state); +#endif + if (lwake_state & 0x80) { +#ifdef RTL8139_DEBUG + printk(KERN_DEBUG "Clear LWAKE\n"); +#endif + pci_write_config_byte(tp->pci_dev, 0x55, 0x80); + } + + /* Disable Reset on LAN */ + spin_lock(&lattice_lock); + uchControl = lat_read(ioaddr,LAT_REG_CONFIG); + uchControl &= ~LAT_CFG_ROLENB; + lat_write(ioaddr, LAT_REG_CONFIG, uchControl); + spin_unlock(&lattice_lock); +} + +static unsigned char lat_read(void *ioaddr, long offset) +{ + unsigned long value = 0; + volatile unsigned long value_in = 0; + + long flash_addr = FlashAccess; + + /* deactivate control lines */ + value = FLASH_CSB | FLASH_OEB | FLASH_WEB; + + /* Enable Flash Access, drive Address lines */ + value |= FLASH_ENABLE | ((offset | LAT_BASE_ADDR) & FLASH_ADDR_MASK); +#ifdef RTL8139_DEBUG + printk(KERN_DEBUG" Enable Flash Access: %04lx: %08lx\n", flash_addr, value); +#endif + RTL_W32(flash_addr, value); + + /* Start Read Access */ + value &= ~(FLASH_OEB | FLASH_CSB); +#ifdef RTL8139_DEBUG + printk(KERN_DEBUG" Start Read Access: %04lx: %08lx\n", flash_addr, value); +#endif + RTL_W32(flash_addr, value); + + /* Read the Flash Register content */ + value_in = RTL_R32(flash_addr); +#ifdef RTL8139_DEBUG + printk(KERN_DEBUG" Return Value from FlashReg: %08lx\n", value_in); +#endif + value_in &= FLASH_DATA_MASK; + value_in >>=24; +#ifdef RTL8139_DEBUG + printk(KERN_DEBUG" Return Value from Flash : %02lx\n", value_in); +#endif + /* Stop Read Access */ + value |= FLASH_OEB | FLASH_CSB; +#ifdef RTL8139_DEBUG + printk(KERN_DEBUG" Stop Read Access: %04lx: %08lx\n", flash_addr, value); +#endif + RTL_W32(flash_addr, value); + + /* Disable Flash Access */ + value = FLASH_CSB | FLASH_OEB | FLASH_WEB; +#ifdef RTL8139_DEBUG + printk(KERN_DEBUG" Disable Flash Access: %04lx: %08lx\n", flash_addr, value); +#endif + RTL_W32(flash_addr, value); +#ifdef RTL8139_DEBUG + printk(KERN_DEBUG" Return Value from FlashReg: %08lx\n", RTL_R32(flash_addr)); +#endif + + return (unsigned char) value_in; +} + +static void lat_write(void *ioaddr, long offset, unsigned char data) +{ + unsigned long value = 0; + long flash_addr = FlashAccess; + + /* set data and deactivate control lines */ + value = ((data << 24) & FLASH_DATA_MASK) | FLASH_CSB | FLASH_OEB | FLASH_WEB; + + /* Enable Flash Access, drive Address lines */ + value |= FLASH_ENABLE | ((offset | LAT_BASE_ADDR) & FLASH_ADDR_MASK); +#ifdef RTL8139_DEBUG + printk(KERN_DEBUG " Enable Flash Access: %04lx: %08lx\n", flash_addr, value); +#endif + RTL_W32(flash_addr, value); + + /* Start Write Access */ + value &= ~(FLASH_WEB | FLASH_CSB); +#ifdef RTL8139_DEBUG + printk(KERN_DEBUG " Start Write Access: %04lx: %08lx\n", flash_addr, value); +#endif + RTL_W32(flash_addr, value); + /* lattice design needs a delay of one clock period to receive data, + f=32768 kHz -> clock period 30 usec + */ + + udelay(100); /* its save to increase delay to 100 micro seconds */ + + /* Stop Write Access */ + value |= FLASH_WEB | FLASH_CSB; +#ifdef RTL8139_DEBUG + printk(KERN_DEBUG" Stop Write Access: %04lx: %08lx\n", flash_addr, value); +#endif + RTL_W32(flash_addr, value); + + /* Disable Flash Access */ + value = FLASH_CSB | FLASH_OEB | FLASH_WEB; +#ifdef RTL8139_DEBUG + printk(KERN_DEBUG" Disable Flash Access: %04lx: %08lx\n", flash_addr, value); +#endif + RTL_W32(flash_addr, value); +} + +/* end ROL/F specific */ module_init(rtl8139_init_module); module_exit(rtl8139_cleanup_module); ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=410643&aid=775368&group_id=34096 |
|
From: Dean N. <di...@ti...> - 2003-08-20 06:58:53
|
[... I am still using the 08-08-i686-SMP version...] I [finally] noticed that I was not receiving any messages from IPTables about dropped packets (my firewall.rules file is setup to log most packets that are dropped). So, I started looking around... I noticed that reloading (/etc/init.d/syslog reload) would "cure" the problem, so I determine that everything is probably properly configured. So, I kept digging... I then noticed that the syslog daemon was logging the fact that is was restarting as part of the load. I was able to determine that this happened when Postfix was started. After the syslog daemon was restarted, I no longer received IPTables messages. Looking over /etc/init.d/jail, I found out that it does a /etc/init.d/syslog reload! So, I figured this was the "source" of my problem! Looking over /etc/init.d/syslog, I reviewed the reload code. I became suspicious of the hack that was in there to handle the killing of the klogd daemon. To very that this was indeed the problem, I made two changes: o I removed the entire logic used to kill the klogd daemon and instead inserted a "killproc klogd" command. o For the restart of klogd, I changed it to read "loadproc klogd -c $KERNEL_LOGLEVEL". Now, everything works! [The first bug report.] I presume that some of the problem is related to the fact that the previous method of killing the daemon did not properly cleanup the file /var/run/klogd.pid - but I could be wrong. And, while I was reviewing /etc/init.d/syslog, I noticed that it was still using the "old" 0.5 reference for the jail area (checking for /jail/$A/... so as to remove them from syslog-ng.conf). These statements are probably harmless (as the current system has /etc/init.d/jail ADDING entries to the syslog-ng.conf file - thus the reload). [The 1/2 of a bug report] Dean Nedelman TimeLord Consulting |
|
From: Heiko Z. <he...@zu...> - 2003-08-19 16:57:40
|
Bruce Smith wrote: >>>>>>You were checking for a var.tar.bz2 on the config media, I removed that. >>>>> >>>>>I thought it was needed now? >>>> >>>>Yes we do, but var.tar.bz2 resides on the CD. >>>>We only need it to create an initial var directory (with content). >>> >>>They why does save-config save it to media? >> >>I does not. ;-) > > > Then how did it get on my USB memory stick ... ? > > Better double check linuxrc. I bet I copy it to media! :-) Yes you did, it's fixed in CVS. cya Heiko |
|
From: Bruce S. <bw...@ar...> - 2003-08-19 02:10:29
|
> >>>>You were checking for a var.tar.bz2 on the config media, I removed that. > >>> > >>>I thought it was needed now? > >> > >>Yes we do, but var.tar.bz2 resides on the CD. > >>We only need it to create an initial var directory (with content). > > > > They why does save-config save it to media? > > I does not. ;-) Then how did it get on my USB memory stick ... ? Better double check linuxrc. I bet I copy it to media! :-) - BS |