Re: 5.2-BETA and related ports issues

2003-11-30 Thread Andreas Klemm
On Sun, Nov 30, 2003 at 03:41:33AM +0100, Oliver Eikemeier wrote:
 Kris Kennaway wrote:
 
 On Sat, Nov 29, 2003 at 03:33:35PM +0100, Dag-Erling Smorgrav wrote:
 
 Andreas Klemm [EMAIL PROTECTED] writes:
 
 I can't recommend doing it this way, since some ports I know
 are writing startup scripts to /etc/rc.d :-/
 
 That is very, very bad.  I wish we had some kind of ports QA team :(
 
 Well, er, a number of us do essentially nothing BUT ports QA.
 
 I'm sorry if I did something disturbing, and I'm surely interested in
 ports tree QA! I know that I violate the prefix, and did that on purpose,
 see my comment in net/opendldap2[012]-server/Makefile:
  # currently the only way to participate in rcorder(8)
 
 I posted PR conf/56736:
 http://www.freebsd.org/cgi/query-pr.cgi?pr=conf/56736
 but nobody seemed to care, and I had enough construction areas that I didn't
 wanted to start a discussion about that.
 
 The point is that we might want to have some port services to start early.
 That gives the possibility to move functionality from the base system to 
 ports, which I believe isn't bad. I can simply change the openldap ports so 
 that they
 are nice and quiet, but IMHO that does not really solve a problem. But 
 please
 correct me if my arguments are too simple-minded.

What about simply putting a number in front of the script,
I didn't check but am really certain that we start scripts
something like this:

cd $LOCALBASE/etc/rc.d
for i in *.sh   --- here you get an alphabetically
sort order !
do
if [ -x $i ]; then
/bin/sh $i start
fi
done

So this would be sufficient to start slapd before slurpd:

/usr/local/etc/rc.d/001.slapd.sh
/usr/local/etc/rc.d/002.slurpd.sh

or alternatively

/usr/local/etc/rc.d/openldap-01-slapd.sh
/usr/local/etc/rc.d/openldap-02-slurpd.sh

We already have things like:

000.mysql-client.sh
000.pkgtools.sh
000.wine.sh
010.pgsql.sh


Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.2-BETA and related ports issues

2003-11-30 Thread Andreas Klemm
On Sun, Nov 30, 2003 at 12:43:06PM +0100, Oliver Eikemeier wrote:
 I don't care whether slapd or slurpd starts first, I even don't care when 
 slurpd
 starts. I want to start ldapd early in the boot process to supports 
 services like
 nss_ldap and mail. I did things differently e.g. in net/rsync, because 
 rsync does
 not provide any services that base services depend on.

Ah understand .. then the situation is like with DHCP in FreeBSD.

So ot seems to me, that the needed part of ldap has to go into
src/contrib ?!


Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.2-BETA and related ports issues

2003-11-30 Thread Andreas Klemm
I have a better idea, then we perhaps need something like a 
wrapper script that is part of the FreeBSD basic system under /etc/rc.d
that checks for the start script under $LOCALBASE/etc/rc.d
and starts it very early.

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports startup scripts in /etc/rc.d (Re: 5.2-BETA and related ports issues)

2003-11-30 Thread Andreas Klemm
On Sun, Nov 30, 2003 at 10:45:40AM -0500, Richard Coleman wrote:
 Oliver Eikemeier wrote:
 
 The reason I did this was to support services like mail and nss_ldap. I 
 really like to be
 prefix safe, PR conf/56736 relates to this:
 http://www.freebsd.org/cgi/query-pr.cgi?pr=conf/56736
 
 I agree that there should be a better solution, and already asked Mike 
 Makonnen
 [EMAIL PROTECTED] about it, but nobody seemed to care.
 
 IMHO not participating in rcorder(8) makes the packing list pettier and 
 avoids an ugly hack,
 which is good, but restrains functionality. I like the idea of account 
 managed in an
 centralized LDAP directory very much.
 
 So, do you still think the scripts should not participate in rcorder(8)? 
 It's easy to
 change the ports, but this is probably not the right fix.
 
 -Oliver
 
 I guess I don't see the problem.  What is wrong with ports adding 
 startup scripts to /etc/rc.d?  For certain ports, that is the only way 
 to get the startup dependencies right (like making sure openldap or 
 postgresql starts before your mail system).  This will become more 
 important as more of the base system moves to ports/packages.
 
 Just refine the note in UPDATING to specifically state which startup 
 scripts to remove, rather than rm -rf /etc/rc.d/*.

As I wrote im my previous mail we could import wrapper scripts
for such basic services, since there are only few services
that are so generic, that they have to be available so early
in boot order.

I strongly would dislike creating ports to install stuff under
/etc/whatever.

This would start to violate things for what I liked FreeBSD for
all these many years and I hope/think other have the same feeling
concerning this.

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.2-BETA and related ports issues

2003-11-30 Thread Andreas Klemm
On Sun, Nov 30, 2003 at 11:31:34AM -0500, Robert Watson wrote:
 
 On Sun, 30 Nov 2003, Andreas Klemm wrote:
 
  I have a better idea, then we perhaps need something like a wrapper
  script that is part of the FreeBSD basic system under /etc/rc.d that
  checks for the start script under $LOCALBASE/etc/rc.d and starts it very
  early. 
 
 Hmm.  I talked with Gordon about this issue some last night, but he
 pointed out a snag: most installs of FreeBSD place /usr on a separate
 partition from /.  The rcNG ordering decision is made before /usr is
 mounted, as /usr is mounted as part of the pieces kicked off by rc.d.  So
 it would be a fairly large departure from the current implementation of
 the rcNG code to reevaluate the ordering once more directories were
 available in which to find scripts to run.  Not that it's not doable, but
 we need to think about it carefully (and, unfortunately, it's not as easy
 as simply adding /usr/local/etc/rc.d to the list..)  Having wrapper
 scripts in /etc/rc.d can work, but it means we don't get the full benefits
 of ordering, and that any ordering information has to be in the wrapper,
 not in the bit installed by the port in /usr/local...

Sh** I should have read your mail earlier, b4 writing a f'up ...

Its completely true. On FreeBSD servers I have / and /usr always on a
separate partition.

Only Solaris I install differently, to have / and /usr on one partition,
since Solaris has only less if not soon _none_ statically linked programs
for system maintenance/recovery (if being stuck in single user).

But well ... I think I could suggest a good workaround for this.

What about having these wrapper scripts in /etc/rc.d calling another
(kind of) subscript, with the only goal to get /usr/local mounted ?

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.2-BETA and related ports issues

2003-11-29 Thread Andreas Klemm
On Fri, Nov 28, 2003 at 05:04:14PM +0100, Christian Laursen wrote:
 20030829:
 The following rc.d scripts have been removed and should be
 deleted from your installation: atm2.sh atm3.sh devdb
 localdaemons network1 network2 network3. Depending on when
 you last updated world and used mergemaster(8) you may or
 may not have problems during the rc boot sequence. The simplest
 solution is an 'rm -rf /etc/rc.d/*' and then 'mergemaster -i'.
 The atm2.sh atm3.sh and devdb scripts were removed some time
 ago, so depending on when you installed -CURRENT these scripts
 may or may not exist on your system.

I can't recommend doing it this way, since some ports I know
are writing startup scripts to /etc/rc.d :-/

Cc'd to port maintainer to sanitize this

All openldapXX-server ports do this for example

[EMAIL PROTECTED] /var/db/pkg grep /etc/rc.d */+CONTEN*
[...]
openldap-server-2.1.23/+CONTENTS:@unexec /etc/rc.d/slapd stop 21 /dev/null || true
openldap-server-2.1.23/+CONTENTS:@unexec /etc/rc.d/slurpd stop 21 /dev/null || true
openldap-server-2.1.23/+CONTENTS:@cwd /etc/rc.d


Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.2-BETA and related ports issues

2003-11-29 Thread Andreas Klemm
On Sat, Nov 29, 2003 at 03:33:35PM +0100, Dag-Erling Smørgrav wrote:
 Andreas Klemm [EMAIL PROTECTED] writes:
  I can't recommend doing it this way, since some ports I know
  are writing startup scripts to /etc/rc.d :-/
 
 That is very, very bad.  I wish we had some kind of ports QA team :(

Maybe we should flag this port immediately as BROKEN.

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: printing problems lpr/lpd misbehavior ?

2003-11-23 Thread Andreas Klemm
On Sun, Nov 23, 2003 at 05:42:44PM +0100, Dag-Erling Smørgrav wrote:
 Soren Schmidt [EMAIL PROTECTED] writes:
  Disregard above, some crappy port has installed cups which apparently
  has its own lpr command, nice...
 
 Sorry, but *you* are the crappy port.  CUPS is intentionally split
 into several ports so that the parts that other ports depend on
 (cups-base) can be installed separately from the front-end (cups-lpr)
 and the only port that depends on the front-end is the meta-port,
 which itself has no dependents.
 
 You should consider this a golden opportunity to try out CUPS, which
  ^.
 is much easier to set up than the base system's lpd, and has far
 better support for modern printers (including the ability to configure
 printer options such as resolution, quality, duplex etc.).

q: What makes cups so special that one should try it out ?
What can it do better than apsfilter which IMHO isn't as bloated
as cups and has better features...

reply-to set ...

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: open office

2003-11-12 Thread Andreas Klemm
On Wed, Nov 12, 2003 at 08:07:11AM -0800, Sweetleaf wrote:
 Does openoffice seem slow to respond to others? Clicking on a menu option
 such as file as to open a file takes about 30sec to give me the drop
 down menu. Also i have noticed there might be a problem with the way the
 port built or installed gtk, go to the business card creator and you
 should see just gibberesh instead of the wizzard layout. I am using the
 openoffice in the 5-current ports which is 1.1.0.

I doesn't notice this slowdown when using the open file menue.
Rest dunno. Never used it and don't find the term in german OO.

FreeBSD titan.klemm.apsfilter.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Thu Nov  6 
23:21:41 CET 2003 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/TITAN  i386

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


since 2 days apm / ACPI doesn't work and boot instabilities

2003-11-07 Thread Andreas Klemm
Hi,

wanted to let you know, that since yesterday ACPI on my
Dell Latitude D600 doesn't work anymore.

Does anybody have an idea what this breakage might have caused ?

About a week ago I got apm/acpi working with an unoff patch from this URL.

http://sandcat.nl/~stijn/freebsd/dell.php

I didn't changed anything in:
/etc/rc.conf
/boot/loader.conf
and nothing in the kernel config file.

I only did a make world as well as a new kernel and rebooted.

Another thing is, that sometimes I can only boot 1 of 3 times
without a kernel panic. This morning 2 or 3 consecutive panics,
prior being able to boot my laptop.

The problem with apm/acpi is since my last make world yesterday.

The boot problems with many panics are longer ...

But its always the same process, where it panics...

In my next mail I'll attach a boot log.

I could offer ssh access, if somebody would be willed trying to
troubleshoot one or both of these problems.

A comconsole would also be possible.

BTW, -current on my Server is stable. Its only the laptop,
where those panics happen.


Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: since 2 days apm / ACPI doesn't work and boot instabilities

2003-11-07 Thread Andreas Klemm
On Fri, Nov 07, 2003 at 11:28:19AM -0500, Ken Menzel wrote:
 Hi Andreas,
 I bet acpi isn't even running. As of a few days ago acpi is disabled
 as a loadable module due to some changes in progress.  Try adding
 'device acpi' to your kernel.conf file and rebuild/reinstall the
 kernel.
 
 Ken

On Fri, Nov 07, 2003 at 05:31:02PM +0100, Richard Arends wrote:
 On Fri, 7 Nov 2003, Andreas Klemm wrote:
 
  wanted to let you know, that since yesterday ACPI on my
  Dell Latitude D600 doesn't work anymore.
 
 /usr/src/UPDATING
 
 20031103:
 The i386 APIC_IO kernel option has been replaced by
 'device apic'.  The ACPI module has also been temporarily
 disabled, so ACPI must be statically compiled into your
 kernel using 'device acpi' if you wish to use the ACPI driver.
 
 Regards,
 
 Richard.

Thanks, Ken, Richard will try that !

BTW, who has currently the pointy hat ? I could need it now ;-)

So if you don't need it no longer, give it to me with a colorful
sticker on it: read UPDATING ;-)

Sorry, completely forgot about that and didn't think about how
quickly things can change in the wonderful -current land ;-)

O.k., but the pancis might stay, so I will ring again and
offer a developer account if necessary.

Regards

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


suddenly bind and access to NNTP server (localhost) doesn't work

2003-11-03 Thread Andreas Klemm
with local nameserver
Reply-To: 
X-Operating-System: FreeBSD 5.1-CURRENT
X-Disclaimer: A free society is one where it is safe to be unpopular

Hi,

is there perhaps a problem with committs of the last 2 days ?

I use a local and caching DNS server. From /usr/src (not ports).

Since about 2 days I can't make dns queries via local nameserver.
To get dns requests I need to add my forwarders in /etc/resolv.conf.

But then one problem remains. knews can't connect anymore to
local NNTP server (leafnode+).

BTW, changing the Firewall progile to open didn't cure the problem
as well.

Am I the only one having this ??

Andreas ///

/etc/resolv.conf
domain  klemm.apsfilter.org
nameserver  127.0.0.1

/etc/hosts
#::1localhost.klemm.apsfilter.org localhost
127.0.0.1   localhost.klemm.apsfilter.org localhost
172.16.2.1  titan.klemm.apsfilter.org titan
172.16.2.1  titan.klemm.apsfilter.org.

/etc/namedb/named.conf:
options {
directory /etc/namedb;
forward only;
forwarders {
// Arcor
145.253.2.11;
145.253.2.11;
145.253.2.75;
145.253.3.171;
145.253.2.171;
};
};

zone . {
type hint;
file named.root;
};

zone 0.0.127.IN-ADDR.ARPA {
type master;
file localhost.rev;
};

zone klemm.apsfilter.org {
type master;
file db.klemm.apsfilter.org;

};

zone 2.16.172.in-addr.arpa {
type master;
file db.172.16.2;
};

uname -a:
FreeBSD titan.klemm.apsfilter.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sun Oct 19 
16:33:53 CEST 2003 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/TITAN  i386

/etc/rc.conf

# Reordered by rclean on Tue Oct 28 12:10:09 2003
# rclean Copyright (c) 2002 Lapo Luchini [EMAIL PROTECTED]
# Please make all changes to this file, not to /etc/defaults/rc.conf
# This file contains just the overrides from /etc/defaults/rc.conf
hostname=titan.klemm.apsfilter.org# 
firewall_enable=YES   # NO
#firewall_type=sshirc # UNKNOWN
firewall_type=open# UNKNOWN
firewall_quiet=NO # NO
ifconfig_fxp0=inet 172.16.2.1  netmask 255.255.255.0 # not defined
inetd_enable=YES  # NO
named_enable=YES  # NO
sshd_enable=YES   # NO
amd_enable=YES# NO
nfs_client_enable=YES # NO
nfs_server_enable=YES # NO
nfs_reserved_port_only=YES# NO
rpcbind_enable=YES# NO
ntpdate_enable=YES# NO
ntpdate_flags=-b 18.72.0.3 128.118.46.3 130.105.1.156 128.96.60.5 # -b
defaultrouter=172.16.2.5  # NO
keymap=german.iso # NO
keyrate=fast  # NO
font8x16=iso15-8x16   # NO
font8x14=iso15-8x14   # NO
font8x8=iso15-8x8 # NO
blanktime=600 # 300
saver=logo# NO
moused_enable=YES # NO
sendmail_enable=YES   # NO
sendmail_flags=-L sm-mta -bd -q5m # -L sm-mta -bd -q30m
lpd_enable=YES# NO
usbd_enable=YES   # NO
check_quotas=NO   # YES
xntpd_enable=YES  # not defined
portmap_enable=YES# not defined
ldconfig_paths=/usr/lib/compat /usr/X11R6/lib /usr/local/lib

[EMAIL PROTECTED] ~ ipfw l
00100 allow ip from any to any via lo0
00200 deny ip from any to 127.0.0.0/8
00300 deny ip from 127.0.0.0/8 to any
65000 allow ip from any to any
65535 deny ip from any to any

BTW, as normal user I can't run ipfw l
[EMAIL PROTECTED] ~ ipfw l
ipfw: socket: Operation not permitted

But I think this is normal, or ?


Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: suddenly bind and access to NNTP server (localhost) doesn't work

2003-11-03 Thread Andreas Klemm
On Mon, Nov 03, 2003 at 06:18:49AM -0800, Will Andrews wrote:
 On Mon, Nov 03, 2003 at 01:47:06PM +0100, Andreas Klemm wrote:
  Since about 2 days I can't make dns queries via local nameserver.
  To get dns requests I need to add my forwarders in /etc/resolv.conf.
 
 I've noticed this before (on FreeBSD 4.8), then realized my ISP
 was blocking 53/TCP.

I found the culprit, for my eyes its a problem with ipfw.

Look here:

on titan the rule 100 doesn't work anymore for (for me) unknown reason:
00100 0   0 allow ip from any to any via lo0
00200 3 180 deny ip from any to 127.0.0.0/8
00300 0   0 deny ip from 127.0.0.0/8 to any
65000   133   75074 allow ip from any to any
65535 21787 2611732 deny ip from any to any

FreeBSD titan.klemm.apsfilter.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sun Oct 19 
16:33:53 CEST 2003 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/TITAN  i386
[EMAIL PROTECTED] ~ ll /sbin/ipfw
-r-xr-xr-x  1 root  wheel  482184  2 Nov 21:26 /sbin/ipfw


On my Laptop aklemm the rule 100 (firewall type open) works:
00100  206   20504 allow ip from any to any via lo0
002000   0 deny ip from any to 127.0.0.0/8
003000   0 deny ip from 127.0.0.0/8 to any
65000 9498 3688895 allow ip from any to any
655350   0 deny ip from any to any

[EMAIL PROTECTED] ~ ll /sbin/ipfw
-r-xr-xr-x  1 root  wheel  482184  2 Nov 23:07 /sbin/ipfw
[EMAIL PROTECTED] ~ uname -a
FreeBSD aklemm.klemm.apsfilter.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sun Nov  2 
23:55:37 CET 2003 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/AKLEMM  i386


Because rule 100 isn't working for unknown reason on titan,
I get DNS and connect problem with a local NNTP server, since the
traffic pattern from any to any via lo0 is needed, but doesn't work.

But I really have no idea, whats that causing...

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


APM not working on Dell Latitude D600

2003-11-03 Thread Andreas Klemm
this mail from me didn't arrive on -current, so here again

On Sun, Nov 02, 2003 at 06:37:20PM +0100, Andreas Klemm wrote:
 Is there somebody interested to get ssh access on my new
 DELL Laptop to find out why apm doesn't work ?
 
 For example an /dev/apm device isn't created by devfs ...
 
 I make this offer for 2 purposes:
 a) to make it happen on my laptop of course ;-)
 b) so that 5.2 will really become a great release
even for laptop users ;-)
 
 Thanks
 
   Andreas ///
 
 
 Copyright (c) 1992-2003 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
 FreeBSD 5.1-CURRENT #0: Sun Nov  2 13:59:10 CET 2003
 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/AKLEMM
 Preloaded elf kernel /boot/kernel/kernel at 0xc089d000.
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Intel(R) Pentium(R) M processor 1400MHz (1395.48-MHz 686-class CPU)
   Origin = GenuineIntel  Id = 0x695  Stepping = 5
   
 Features=0xa7e9f9bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE
 real memory  = 536535040 (511 MB)
 avail memory = 511512576 (487 MB)
 Pentium Pro MTRR support enabled
 VESA: v2.0, 32704k memory, flags:0x1, mode table:0xc07fa0c2 (122)
 VESA: ATI MOBILITY RADEON 9000
 npx0: [FAST]
 npx0: math processor on motherboard
 npx0: INT 16 interface
 pcibios: BIOS version 2.10
 Using $PIR table, 9 entries at 0xc00fc590
 pcib0: Host to PCI bridge at pcibus 0 on motherboard
 pci0: PCI bus on pcib0
 pci_cfgintr: 0:29 INTA BIOS irq 11
 pci_cfgintr: 0:29 INTB BIOS irq 11
 pci_cfgintr: 0:29 INTC BIOS irq 11
 pci_cfgintr: 0:29 INTD BIOS irq 11
 pci_cfgintr: 0:31 INTB BIOS irq 11
 pci_cfgintr: 0:31 INTB BIOS irq 11
 agp0: Intel 82855 host to AGP bridge mem 0xe000-0xe7ff at device 0.0 on 
 pci0
 pcib1: PCIBIOS PCI-PCI bridge at device 1.0 on pci0
 pci1: PCI bus on pcib1
 pci_cfgintr: 1:0 INTA BIOS irq 11
 drm0: ATI Radeon Lf R250 Mobility 9000 M9 port 0xc000-0xc0ff mem 
 0xfcff-0xfcff,0xe800-0xefff irq 11 at device 0.0 on pci1
 info: [drm] AGP at 0xe000 128MB
 info: [drm] Initialized radeon 1.9.0 20020828 on minor 0
 uhci0: Intel 82801DB (ICH4) USB controller USB-A port 0xbf80-0xbf9f irq 11 at 
 device 29.0 on pci0
 usb0: Intel 82801DB (ICH4) USB controller USB-A on uhci0
 usb0: USB revision 1.0
 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 ugen0: vendor 0x413c product 0x8000, rev 1.10/5.65, addr 2
 uhci1: Intel 82801DB (ICH4) USB controller USB-B port 0xbf40-0xbf5f irq 11 at 
 device 29.1 on pci0
 usb1: Intel 82801DB (ICH4) USB controller USB-B on uhci1
 usb1: USB revision 1.0
 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub1: 2 ports with 2 removable, self powered
 ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 2, iclass 3/1
 ums0: 3 buttons and Z dir.
 uhci2: Intel 82801DB (ICH4) USB controller USB-C port 0xbf20-0xbf3f irq 11 at 
 device 29.2 on pci0
 usb2: Intel 82801DB (ICH4) USB controller USB-C on uhci2
 usb2: USB revision 1.0
 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub2: 2 ports with 2 removable, self powered
 pci0: serial bus, USB at device 29.7 (no driver attached)
 pcib2: PCIBIOS PCI-PCI bridge at device 30.0 on pci0
 pci2: PCI bus on pcib2
 pci_cfgintr: 2:0 INTA BIOS irq 11
 pci_cfgintr: 2:1 INTA BIOS irq 11
 pci_cfgintr: 2:1 INTA BIOS irq 11
 pci_cfgintr: 2:3 INTA BIOS irq 11
 bge0: Broadcom BCM5702 Gigabit Ethernet, ASIC rev. 0x1002 mem 
 0xfaff-0xfaff irq 11 at device 0.0 on pci2
 bge0: Ethernet address: 00:0b:db:df:53:b1
 miibus0: MII bus on bge0
 brgphy0: BCM5703 10/100/1000baseTX PHY on miibus0
 brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
 1000baseTX-FDX, auto
 cbb0: PCI-CardBus Bridge irq 11 at device 1.0 on pci2
 cardbus0: CardBus bus on cbb0
 pccard0: 16-bit PCCard bus on cbb0
 cbb0: [MPSAFE]
 cbb1: PCI-CardBus Bridge irq 11 at device 1.1 on pci2
 cardbus1: CardBus bus on cbb1
 pccard1: 16-bit PCCard bus on cbb1
 cbb1: [MPSAFE]
 pci2: network at device 3.0 (no driver attached)
 isab0: PCI-ISA bridge at device 31.0 on pci0
 isa0: ISA bus on isab0
 atapci0: Intel ICH4 UDMA100 controller port 
 0xbfa0-0xbfaf,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 31.1 on pci0
 ata0: at 0x1f0 irq 14 on atapci0
 ata0: [MPSAFE]
 ata1: at 0x170 irq 15 on atapci0
 ata1: [MPSAFE]
 pcm0: Intel ICH4 (82801DB) port 0xbc40-0xbc7f,0xb800-0xb8ff mem 
 0xf4fff400-0xf4fff4ff,0xf4fff800-0xf4fff9ff irq 11 at device 31.5 on pci0
 pcm0: SigmaTel STAC9750/51 AC97 Codec
 pci0: simple comms at device 31.6 (no driver attached)
 orm0: Option ROM at iomem 0xc-0xc on isa0
 pmtimer0 on isa0
 atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0
 atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
 kbd0 at atkbd0
 psm0: PS/2 Mouse irq 12 on atkbdc0
 psm0: model

Re: APM not working on Dell Latitude D600

2003-11-03 Thread Andreas Klemm
On Mon, Nov 03, 2003 at 05:02:24PM +0100, Thorsten Greiner wrote:
 * Andreas Klemm [EMAIL PROTECTED] [2003-11-03 17:00]:
  Is there somebody interested to get ssh access on my new
  DELL Laptop to find out why apm doesn't work ?
 
 Did you
 
 - upgrade to the latest BIOS provided by DELL

Yes

 - apply the DSDT patch available from
   http://sandcat.nl/~stijn/freebsd/dell.php

no, thanks, will have a look at that.

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: APM not working on Dell Latitude D600

2003-11-03 Thread Andreas Klemm
On Mon, Nov 03, 2003 at 05:02:24PM +0100, Thorsten Greiner wrote:
 * Andreas Klemm [EMAIL PROTECTED] [2003-11-03 17:00]:
  Is there somebody interested to get ssh access on my new
  DELL Laptop to find out why apm doesn't work ?
 
 Did you
 
 - upgrade to the latest BIOS provided by DELL
 - apply the DSDT patch available from
   http://sandcat.nl/~stijn/freebsd/dell.php

Thorsten, many thanks for directing me to this link.
Now ACPI and APM seem to work on my Dell Latitude D600.

- No ACPI error messages anymore (Bad Parameter...)
- /dev/apm device present in devfs

On Tue, Nov 04, 2003 at 01:22:18AM +0900, Mitsuru IWASAKI wrote:
 If
 hint.apm.0.disabled=1
 in your
 /boot/device.hints, try removing it.

And of course I removed additionally this ;-)

Cc'd to Stijn [EMAIL PROTECTED].
Many thanksStijn, for making that patch available !

So now I can happily confirm that this procedure works for:
- Dell Latitude D600 (BIOS Revision A06)

Best regards

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


APM not working on Dell Latitude D600

2003-11-03 Thread Andreas Klemm
  npx

# Power management support (see NOTES for more options)
device  apm
# Add suspend/resume support for the i8254.
device  pmtimer

# PCCARD (PCMCIA) support
# Pcmcia and cardbus bridge support
device  cbb # cardbus (yenta) bridge
#device pcic# ExCA ISA and PCI bridges
device  pccard  # PC Card (16-bit) bus
device  cardbus # CardBus (32-bit) bus

# Serial (COM) ports
device  sio # 8250, 16[45]50 based serial ports

# Parallel port
device  ppc
device  ppbus   # Parallel port bus (required)
device  lpt # Printer
device  plip# TCP/IP over parallel
device  ppi # Parallel port interface device
#device vpo # Requires scbus and da

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device  miibus  # MII bus support
device  bge # Broadcom BCM570xx Gigabit Ethernet
device  xl  # 3Com 3c90x (``Boomerang'', ``Cyclone'')

# Wireless NIC cards
device  wlan# 802.11 support
device  an  # Aironet 4500/4800 802.11 wireless NICs. 
device  awi # BayStack 660 and others
device  wi  # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
#device wl  # Older non 802.11 Wavelan wireless NIC.

# Pseudo devices - the number indicates how many units to allocate.
device  random  # Entropy device
device  loop# Network loopback
device  ether   # Ethernet support
device  sl  # Kernel SLIP
device  ppp # Kernel PPP
device  tun # Packet tunnel.
device  pty # Pseudo-ttys (telnet etc)
device  md  # Memory disks
device  gif # IPv6 and IPv4 tunneling
device  faith   # IPv6-to-IPv4 relaying (translation)

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device  bpf # Berkeley packet filter

# USB support
device  uhci# UHCI PCI-USB interface
device  ohci# OHCI PCI-USB interface
device  usb # USB Bus (required)
#device udbp# USB Double Bulk Pipe devices
device  ugen# Generic
device  uhid# Human Interface Devices
device  ukbd# Keyboard
device  ulpt# Printer
device  umass   # Disks/Mass storage - Requires scbus and da
device  ums # Mouse
device  urio# Diamond Rio 500 MP3 player
device  uscanner# Scanners
# USB Ethernet, requires mii
device  aue # ADMtek USB ethernet
device  axe # ASIX Electronics USB ethernet
device  cue # CATC USB ethernet
device  kue # Kawasaki LSI USB ethernet

###

options RANDOM_IP_ID
options ZERO_COPY_SOCKETS

options SHOW_BUSYBUFS   # List buffers that prevent root unmount

device  atapicam# emulate ATAPI devices as SCSI ditto via CAM

device  radeondrm
options VESA# To include support for VGA VESA video modes

device  pcm # sound
device  midi# midi synth.
device  seq # midi sequencer
Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bge0 driver PHY read timeout and pccardd not finding PCMCIA card, DELL Latitude D600, with current of yesterday

2003-10-26 Thread Andreas Klemm
Please look at these informations:

http://lists.freebsd.org/pipermail/freebsd-mobile/2003-September/001838.html

bge0 works with 5.1-current kernel of Sept 5th
bge0 fails with later -current

http://lists.freebsd.org/pipermail/freebsd-mobile/2003-September/001893.html

bge0 works with 5.1-current kernel of Sept 20th

My experience:
bge0 fails with 5.1-current kernel of Oct 24th


Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


bge phy read timeout possibly solved / now make world broken (Re: bge0 driver PHY read timeout and pccardd not finding PCMCIA card, DELL Latitude D600, with current of yesterday)

2003-10-26 Thread Andreas Klemm

Luckily I had some old -current SNAP CDs.

1. Tried a snap from Aug 31:
   No problems with bge0 interface with -curremnt

2. Updated sources to -current of today.
   Compiled and installed only new actual kernel.
   No problems with bge0 interface.

Currently am trying to do make world but it
fails in stage 4.2 - building libraries:

lib/libypclnt/ypclnt_connect.c

Best regards

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


bge0 driver PHY read timeout and pccardd not finding PCMCIA card, DELL Latitude D600, with current of yesterday

2003-10-25 Thread Andreas Klemm
0:00.00  (swapper)
1  ??  SLs0:00.11 /sbin/init --
2  ??  DL 0:00.87  (g_event)
3  ??  DL 0:00.05  (g_up)
4  ??  DL 0:00.09  (g_down)
5  ??  DL 0:00.00  (taskqueue)
6  ??  IL 0:00.00  (acpi_task0)
7  ??  IL 0:02.18  (acpi_task1)
8  ??  IL 0:00.06  (acpi_task2)
9  ??  DL 0:00.00  (cbb0)
   10  ??  DL 0:00.00  (ktrace)
   11  ??  RL 1:26.64  (idle)
   12  ??  WL 0:00.01  (swi1: net)
   13  ??  WL 0:00.08  (swi8: tty:sio clock)
   15  ??  DL 0:00.01  (random)
   17  ??  WL 0:00.00  (swi7: acpitaskq)
   21  ??  WL 0:00.03  (swi7: task queue)
   23  ??  WL 0:00.00  (irq9: acpi0)
   24  ??  DL 0:00.02  (acpi_thermal)
   25  ??  WL 0:00.00  (irq11: cbb0 cbb1++*)
   26  ??  DL 0:00.00  (usb0)
   27  ??  DL 0:00.00  (usbtask)
   28  ??  DL 0:00.00  (usb1)
   29  ??  DL 0:00.00  (usb2)
   30  ??  DL 0:00.00  (cbb1)
   31  ??  WL 0:00.02  (irq14: ata0)
   32  ??  WL 0:00.00  (irq15: ata1)
   33  ??  WL 0:00.01  (irq1: atkbd0)
   35  ??  WL 0:00.00  (irq7: ppc0)
   36  ??  WL 0:00.00  (swi0: tty:sio)
   40  ??  DL 0:00.00  (pagedaemon)
   41  ??  DL 0:00.00  (vmdaemon)
   42  ??  DL 0:00.46  (pagezero)
   43  ??  DL 0:00.00  (bufdaemon)
   44  ??  DL 0:00.00  (vnlru)
   45  ??  DL 0:00.01  (syncer)
   46  ??  IL 0:00.00  (nfsiod 0)
   47  ??  IL 0:00.00  (nfsiod 1)
   48  ??  IL 0:00.00  (nfsiod 2)
   49  ??  IL 0:00.00  (nfsiod 3)
  146  ??  Is 0:00.00 adjkerntz -i
  185  ??  Ss 0:05.18 /sbin/dhclient bge0
  241  ??  Ss 0:00.09 /usr/sbin/syslogd -s
  337  ??  Ss 0:00.00 /usr/sbin/usbd
  395  ??  Is 0:00.08 /usr/sbin/sshd
  401  ??  Ss 0:00.01 sendmail: accepting connections (sendmail)
  404  ??  Is 0:00.00 sendmail: Queue [EMAIL PROTECTED]:30:00 for /var/spool/client
  418  ??  Is 0:00.01 /usr/sbin/cron
  442  ??  Is 0:00.00 /usr/sbin/moused -p /dev/psm0 -t auto
  470  v0  Is 0:00.12 login [pam] (login)
  478  v0  S+ 0:00.03 -csh (csh)
  471  v1  Is+0:00.01 /usr/libexec/getty Pc ttyv1
  472  v2  Is+0:00.01 /usr/libexec/getty Pc ttyv2
  473  v3  Is+0:00.01 /usr/libexec/getty Pc ttyv3
  474  v4  Is+0:00.01 /usr/libexec/getty Pc ttyv4
  475  v5  Is+0:00.01 /usr/libexec/getty Pc ttyv5
  476  v6  Is+0:00.01 /usr/libexec/getty Pc ttyv6
  477  v7  Is+0:00.01 /usr/libexec/getty Pc ttyv7
  484  d0  Ss 0:00.12 login [pam] (login)
  485  d0  S  0:00.03 -csh (csh)
  487  d0  R+ 0:00.00 ps -ax
aklemm# bge0: PHY read timed out
bge0: PHY read timed out
bge0: PHY read timed out
unam e e -bge0: PHY read timed out
bge0: PHY read timed out
bge0: PHY read timed out
a
FreeBSD aklemm.klemm.apsfilter.org 5.1-20031024-SNAP FreeBSD 5.1-20031024-SNAP #0: Sat 
Oct 25 03:04:22 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
aklemm# 
aklemm# uname -a
FreeBSD aklemm.klemm.apsfilter.org 5.1-20031024-SNAP FreeBSD 5.1-20031024-SNAP #0: Sat 
Oct 25 03:04:22 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
aklemm# bge0: PHY read timed out
bge0: PHY read timed out
bge0: PHY read timed out
bge0: PHY read timed out
bge0: PHY read timed out
bge0: PHY read timed out
bge0: PHY read timed out
bge0: PHY read timed out
bge0: PHY read timed out

aklemm# pbge0: PHY read timed out
bge0: PHY read timed out
bge0: PHY read timed out
ccardd -dbge0: PHY read timed out
bge0: PHY read timed out
bge0: PHY read timed out

aklemm# Oct 25 13:54:25 aklemm pccardd[490]: fatal error: no PC-CARD slots

aklemm# bge0: PHY read timed out
bge0: PHY read timed out
bge0: PHY read timed out

aklemm# 
aklemm# pccardd -d
aklemm# Oct 25 13:54:32 aklemm pccardd[491]: fatal error: no PC-CARD slots

aklemm# 
aklemm# 
aklemm# bge0: PHY read timed out
bge0: PHY read timed out
bge0: PHY read timed out

aklemm# 
Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Error assigning master socket: Too many open files

2003-10-22 Thread Andreas Klemm
options IPFIREWALL_VERBOSE  #enable logging to syslogd(8)
options IPFIREWALL_FORWARD  #enable transparent proxy support
options IPFIREWALL_VERBOSE_LIMIT=100#limit verbosity
options IPDIVERT#divert sockets
options IPSTEALTH   #support for stealth forwarding
options DUMMYNET
options RANDOM_IP_ID
options ZERO_COPY_SOCKETS

device  isa
device  pci

# Floppy drives
device  fdc

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
options ATA_STATIC_ID   #Static device numbering

# SCSI bus
device  scbus   # base SCSI code
device  da  # SCSI direct access devices (aka disks)
device  pass# CAM passthrough driver
device  atapicam# emulate ATAPI devices as SCSI ditto via CAM

# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc  # AT keyboard controller
device  atkbd   # AT keyboard
device  psm # PS/2 mouse

device  vga # VGA video card driver

device  splash  # Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device  sc
options SC_HISTORY_SIZE=512 # number of history buffer lines

device  agp # support several AGP chipsets

# Floating point support - do not disable.
device  npx

# Serial (COM) ports
device  sio # 8250, 16[45]50 based serial ports

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device  miibus  # MII bus support
device  fxp # Intel EtherExpress PRO/100B (82557, 82558)

# Pseudo devices - the number indicates how many units to allocate.
device  random  # Entropy device
device  loop# Network loopback
device  ether   # Ethernet support
device  pty # Pseudo-ttys (telnet etc)
device  md  # Memory disks

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device  bpf # Berkeley packet filter

# USB support
#optionsUSB_DEBUG
device  uhci# UHCI PCI-USB interface
device  ohci# OHCI PCI-USB interface
device  ehci# OHCI PCI-USB interface
device  usb # USB Bus (required)
#device udbp# USB Double Bulk Pipe devices
device  ugen# Generic
device  uhid# Human Interface Devices
device  ulpt# Printer
device  umass   # Disks/Mass storage - Requires scbus and da
device  urio# Diamond Rio 500 MP3 player
device  uscanner# Scanners
device  ucom# USB serial support




Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Approval for Hotfix needed for portscanner (was Re: Error assigning master socket: Too many open files)

2003-10-22 Thread Andreas Klemm
On Wed, Oct 22, 2003 at 03:30:41PM +0100, Peter Edwards wrote:
 The patch applied by the port appears bogus. It adds braces around an 
 if that stops it executing the way it was intended. I've a sneaking 
 suspicion that the braces were added for clarity, but the indentation 
 in the original file is so badly off that the terminating brace was put 
 in the wrong place. Try replacing patch-ab with this:
 
 --- portscanner.c.orig  Wed Aug 19 18:37:44 1998
 +++ portscanner.c   Wed Oct 22 15:28:05 2003
 @@ -25,8 +25,8 @@
 /***/
 
 #include stdio.h
 -#include sys/socket.h
 #include sys/types.h
 +#include sys/socket.h
 #include netinet/in.h
 #include unistd.h
 #include netdb.h

Hi Peter,

thanks a lot for your help. You're completely right with your
diagnose and fix.

I'll put portmgr@ on Cc: to be allowed to commit the change
and will happily apply your fix to the port if I get the approval.

look here:

[EMAIL PROTECTED] /usr/ports/security/portscanner portscanner -b 1 -e 6 -vv 
xx.xx.xx.xxx
Resolving: xx.xx.xx.xxx - resolved
Current address: xx.xx.xx.xxx
Port range: 1 to 6
Port 135 found. Service name: loc-srv
Port 445 found. Service name: microsoft-ds
Port 1025 found. Service name: blackjack

Port scan finished !

After changing the patch and reinstalling the port,
the portscanner is completely functional again now.

Best regards

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


USB problem: /dev/ugen* dynamically auto-reconfigures to root:operator 644, so non-root user unable to access USB devices even if wanted

2003-10-20 Thread Andreas Klemm
Hi,

have severe problems accessing usb devices as non-root user.
In this case a Canon Powershot G5 camera.

I want to download pics from my digicam using digikam application
as user andreas.

The devices that are being used by digikam:
[EMAIL PROTECTED] ~ lsof | grep digikam | grep /dev
digikam   1755root0u  VCHR5,2 0t19646 110 /dev/ttyp2
digikam   1755root1u  VCHR5,2 0t19646 110 /dev/ttyp2
digikam   1755root2u  VCHR5,2 0t19646 110 /dev/ttyp2
digikam   1755root   15u  VCHR 114,16 0t0 128 /dev/ugen1
digikam   1755root   16r  VCHR 114,17  0t7817 131 /dev/ugen1.1
digikam   1755root   17r  VCHR 114,190t16 133 /dev/ugen1.3

Running digikam with SUID root bit turned on doesn't work.
  [EMAIL PROTECTED] ~ digikam
  The KDE libraries are not designed to run with suid privileges.

Changing the permissions on /dev/ugen1* doesn't work either since

- even _if_ the devices are present after turning camera on and
- even _if_ permissions of /dev/ugen1 /dev/ugen1.1 ... 1.3 are
  being changed successfully to 666

the devices seems to be on the 1st access dynamically recreated,
since the permissions suddenly are *re-set* to root 644 automagically
after the 1st access of the digikam application as user.

To sum up: as normal user I'm unable to connect to the USB camera.

Is there a more generic approach to be able to use USB
devices as non-root user, that I overlooked up to now ?

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB problem: /dev/ugen* dynamically auto-reconfigures to root:operator 644, so non-root user unable to access USB devices even if wanted

2003-10-20 Thread Andreas Klemm
On Mon, Oct 20, 2003 at 12:19:46PM +0200, Poul-Henning Kamp wrote:
 In message [EMAIL PROTECTED], Andreas Klemm wri
 tes:
 Hi,
 
 have severe problems accessing usb devices as non-root user.
 In this case a Canon Powershot G5 camera.
 
 I want to download pics from my digicam using digikam application
 as user andreas.
 
 Use the devfs(8) command to request changes the owner or modes to
 suit your needs.  This works a bit like firewall rules and when
 the device is created the modes/owner is set.

Good idea. But no success and inexpected results.

Well now I use both /etc/devfs.conf and devfs rule add in /etc/rc.local.

It was 1st unclear to me after reading the devfs(8) manpage, that
the
devfs rule add - command
1st needs a command like
devfs ruleset 100

So now I have

1) /etc/devfs.conf with:
permugen1   0666
permugen1.1 0666
permugen1.2 0666
permugen1.3 0666
and
2) devfs rule show
100 path ugen mode 666


I halted system, turned camera off and on
Booted FreeBSD.

1. Step, check permissions without having started any camersa application

ls -l /dev/ugen*
crw-r--r--  1 root  operator  114,   0 Oct 20 13:14 /dev/ugen0
crw-r--r--  1 root  operator  114,   2 Oct 20 13:14 /dev/ugen0.2
crw-rw-rw-  1 root  operator  114,  16 Oct 20 13:14 /dev/ugen1
crw-rw-rw-  1 root  operator  114,  17 Oct 20 13:14 /dev/ugen1.1
crw-rw-rw-  1 root  operator  114,  18 Oct 20 13:14 /dev/ugen1.2
crw-rw-rw-  1 root  operator  114,  19 Oct 20 13:14 /dev/ugen1.3

You see the camera is on, therefore the ugen1 devices have been
created. Good so far.

A bit strange is, that ugen0 (USB printer) still has mode 644,
this is the printer...
I would expect, that the devfs rule 100 would have been applied by
the system and it should be active for this device as well !

Note: And later we see, that even the permission of the ugen1 interface
change again to 644 after the 1st access or whatever !

Well lets repeat, the machine is freshly restarted, camera was
on and ugen1 devices have 0666.

2. step: start digikam as user

[EMAIL PROTECTED] ~ ls -l /dev/ugen*
crw-r--r--  1 root  operator  114,   0 Oct 20 13:14 /dev/ugen0
crw-r--r--  1 root  operator  114,   2 Oct 20 13:14 /dev/ugen0.2
crw-rw-rw-  1 root  operator  114,  16 Oct 20 13:14 /dev/ugen1
crw-rw-rw-  1 root  operator  114,  17 Oct 20 13:14 /dev/ugen1.1
crw-rw-rw-  1 root  operator  114,  18 Oct 20 13:14 /dev/ugen1.2
crw-rw-rw-  1 root  operator  114,  19 Oct 20 13:14 /dev/ugen1.3

The startup itself is harmless nothing happens and no access to camera.
The digikam application has a config files and presents the camera
found in the last session (from config file).

3. step, try to access camera
   by klick on the Canon PowerShot G5 line in digikam

failed to initialize the camera

[EMAIL PROTECTED] ~ ls -l /dev/ugen*
crw-r--r--  1 root  operator  114,   0 Oct 20 13:14 /dev/ugen0
crw-r--r--  1 root  operator  114,   2 Oct 20 13:14 /dev/ugen0.2
crw-rw-rw-  1 root  operator  114,  16 Oct 20 13:14 /dev/ugen1
crw-r--r--  1 root  operator  114,  17 Oct 20 13:14 /dev/ugen1.1
crw-r--r--  1 root  operator  114,  18 Oct 20 13:14 /dev/ugen1.2
crw-r--r--  1 root  operator  114,  19 Oct 20 13:14 /dev/ugen1.3

And voila, ther permission are wrong again.

Note:
I think the lpd daemon accesses the printer on startup.
Therefore the ugen0 device already had the new permission 644
which I observed in the previous step !

Any idea how to resolve this ?

And BTW, shouldn't the devfs(8) manpage have a reference
to devfs.conf ? I understand, that /etc/devfs.conf is only
used by the /etc/rc.d/devfs startup script, to setup permissions
via chmod commands and such  so no real relationship to the
devfs command.

But I'd find it useful to have a reference to it.

Or ... something like a devfs.conf(5) manpage is missing
and a SEE ALSO devfs.conf(5) in devfs(8) is missing, what
would probably be better ...

Or what do you think ?

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


success (Re: USB problem: /dev/ugen* dynamically auto-reconfigures to root:operator 644, so non-root user unable to access USB devices even if wanted)

2003-10-20 Thread Andreas Klemm
Poul-Henning,

many thanks for you kind guidance to the wonderful world of
devfs (which I never had to tweak in the past) ;-)

On Mon, Oct 20, 2003 at 01:44:50PM +0200, Poul-Henning Kamp wrote:
 I would probably just use a wildcard:
   permugen* 0666

The wildcard feature is really fine ! Thanks for pointing
me into that direction.

 This makes the rules only apply to devices arriving in the future,
 you also need:
   devfs rule applyset
 to make them apply to currently available devices.

Good hint ! Thanks !

Well and now things work like expected.

I put these devfs commands now into /etc/rc.local.

But since /etc/rc.local officially has gone, I think this
is not the best place ...

After a longer examination of /etc/devfs, /etc/rc.subr
/etc/defaults/devfs.rules and /etc/defaults/rc.conf
I got the clue, that I can put the statements into /etc/devfs.rules.

Hint: here again we seem to be missing a manpage: devfs.rules(5).

In /etc/rc.subr you see for example a reference to this manpage,
but it doesn't exist.

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Working umass SD card readers.

2003-10-18 Thread Andreas Klemm
On Wed, Oct 15, 2003 at 05:29:08PM -0700, Michael wrote:
 Just to let everyone know, I've been using a Lexar Media JumpDrive Trio
 (picked up at Target for $19.95) and it works.
 
 Oct 11 11:58:41 whatever kernel: umass0: Lexar Media JumpDrive Trio, rev
 2.00/1.25, addr 2
 Oct 11 11:58:45 whatever kernel: GEOM: create disk da0 dp=0xc62d7c50
 Oct 11 11:58:45 whatever kernel: da0 at umass-sim0 bus 0 target 0 lun 0
 Oct 11 11:58:45 whatever kernel: da0: Generic STORAGE DEVICE 0125
 Removable Direct Access SCSI-0 device
 Oct 11 11:58:45 whatever kernel: da0: 1.000MB/s transfers
 Oct 11 11:58:45 whatever kernel: da0: 60MB (124160 512 byte sectors: 64H
 32S/T 60C)

Does it work on USB 1.1 ?

This page tells:
Designed for use with USB 2.0

http://www.amazon.com/exec/obidos/tg/detail/-/B8RW8L/002-9526850-1143261?v=glance

Well designed for certainly doesn't mean it only runs on 2.0
but to be sure I'd like to ask prior buying ;-)

BTW, is there anything important to look for when buying such a reader ?
I see in this thread, that there are devices with builtin disk and some
without ...

I assume its a major win to have a device with disk support, since
I already have trouble with libgphoto2 and my Canon Powershot G5 ..
It doesn't run on 5.1-current in conjunktion with digikam.

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Working umass SD card readers.

2003-10-18 Thread Andreas Klemm
to followup myself, my dealer only has a 
Lexar Media Multicard Reader for 7 kinds of cards.

Somebody who tried this ?

But it costs Euro 49 ... a bit costy if I only need
a device for Compact Flash ...

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


panic: lockmgr: locking against myself (current of 09-20th)

2003-09-22 Thread Andreas Klemm
,
allocator=0xc025b580 ffs_alloccg) at ../../../ufs/ffs/ffs_alloc.c:1155
#17 0xc0258f77 in ffs_alloc (ip=0xc216b230, lbn=129614, bpref=1034976,
size=16384, cred=0xc0d19e80, bnp=0xd323758c)
at ../../../ufs/ffs/ffs_alloc.c:157
#18 0xc02605fe in ffs_balloc_ufs2 (vp=0xc2484124, startoffset=0, size=16384,
cred=0xc0d19e80, flags=0, bpp=0xd32376a0)
at ../../../ufs/ffs/ffs_balloc.c:774
#19 0xc02691b3 in ffs_copyonwrite (devvp=0xc18a0c8c, bp=0xc558b9a0)
at ../../../ufs/ffs/ffs_snapshot.c:2010
#20 0xc017fdc2 in spec_xstrategy (vp=0xc18a0c8c, bp=0xc558b9a0)
at ../../../fs/specfs/spec_vnops.c:469
#21 0xc017feeb in spec_specstrategy (ap=0x0)
at ../../../fs/specfs/spec_vnops.c:529
#22 0xc017f058 in spec_vnoperate (ap=0x0)
at ../../../fs/specfs/spec_vnops.c:122
#23 0xc0204efb in bwrite (bp=0xc558b9a0) at vnode_if.h:1141
#24 0xc020596c in bawrite (bp=0x0) at ../../../kern/vfs_bio.c:1139
#25 0xc025c55b in ffs_nodealloccg (ip=0xc18a2ec4, cg=11, ipref=15041,
mode=33188) at ../../../ufs/ffs/ffs_alloc.c:1637
#26 0xc025b097 in ffs_hashalloc (ip=0xc18a2ec4, cg=11, pref=0, size=33188,
allocator=0xc025c000 ffs_nodealloccg)
at ../../../ufs/ffs/ffs_alloc.c:1155
#27 0xc025a7ae in ffs_valloc (pvp=0xc2435248, mode=33188, cred=0xc1b31f00,
vpp=0xd32378b8) at ../../../ufs/ffs/ffs_alloc.c:857
#28 0xc0285429 in ufs_makeinode (mode=33188, dvp=0xc2435248, vpp=0xd3237be0,
cnp=0xd3237bf4) at ../../../ufs/ufs/ufs_vnops.c:2357
#29 0xc0281949 in ufs_create (ap=0xd3237a40)
at ../../../ufs/ufs/ufs_vnops.c:199
#30 0xc0285bf8 in ufs_vnoperate (ap=0x0) at ../../../ufs/ufs/ufs_vnops.c:2792
#31 0xc0225abe in vn_open_cred (ndp=0xd3237bcc, flagp=0xd3237ccc, cmode=420,
cred=0xc1b31f00, fdidx=0) at vnode_if.h:118
#32 0xc0225910 in vn_open (ndp=0x0, flagp=0x0, cmode=0, fdidx=0)
at ../../../kern/vfs_vnops.c:93
#33 0xc021ead3 in kern_open (td=0xc180cbe0, path=0x0, pathseg=UIO_USERSPACE,
---Type return to continue, or q return to quit---
flags=1538, mode=438) at ../../../kern/vfs_syscalls.c:688
#34 0xc021e960 in open (td=0x0, uap=0x0) at ../../../kern/vfs_syscalls.c:654
#35 0xc02da630 in syscall (frame=
  {tf_fs = 47, tf_es = 674758703, tf_ds = -1078001617, tf_edi = 8, tf_esi = 
674821400, tf_ebp = -1077940296, tf_isp = -752648844, tf_ebx = 674746852, tf_edx = 
1537, tf_ecx = 135025912, tf_eax = 5, tf_trapno = 12, tf_err = 2, tf_eip = 674241311, 
tf_cs = 31, tf_eflags = 518, tf_esp = -1077940340, tf_ss = 47})
at ../../../i386/i386/trap.c:1006
#36 0xc02c9d0d in Xint0x80_syscall () at {standard input}:144
---Can't read userspace from dump, or kernel process---





-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
machine i386
cpu I686_CPU
ident   AKLEMM
options INCLUDE_CONFIG_FILE # Include this file in kernel

makeoptions DEBUG=-g#Build kernel with gdb(1) debug symbols

options SCHED_4BSD  #4BSD scheduler
#optionsSCHED_ULE

options INET#InterNETworking
options FFS #Berkeley Fast Filesystem
options SOFTUPDATES #Enable FFS soft updates support
options UFS_ACL #Support for access control lists
options UFS_DIRHASH #Improve performance on big directories
options MD_ROOT #MD is a potential root device
options PROCFS  #Process filesystem (requires PSEUDOFS)
options PSEUDOFS#Pseudo-filesystem framework
options COMPAT_43   #Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 #Compatible with FreeBSD4
options KTRACE  #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev

options NMBCLUSTERS=4096# Number of mbuf clusters
options ZERO_COPY_SOCKETS
options RANDOM_IP_ID
#optionsDUMMYNET
options SHOW_BUSYBUFS   # List buffers that prevent root unmount

# Debugging for use in -current
options DDB #Enable the kernel debugger

device  isa
device  pci

# Floppy drives
device  fdc

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
options ATA_STATIC_ID   #Static device numbering

# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc  # AT keyboard controller
device  atkbd

panic: softdep_setup_inomapdep: found inode (current of 09-20)

2003-09-22 Thread Andreas Klemm
  0xc02c82cc in kdb_trap (type=3, code=0, regs=0xd323d6fc)
at ../../../i386/i386/db_interface.c:171
#8  0xc02d9c7a in trap (frame=
  {tf_fs = 24, tf_es = -752680944, tf_ds = -1071644656, tf_edi = 1, tf_esi = 
-1070522127, tf_ebp = -752625848, tf_isp = -752625880, tf_ebx = 0, tf_edx = 0, tf_ecx 
= 32, tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1070824060, tf_cs = 8, 
tf_eflags = 646, tf_esp = -1070500194, tf_ss = -1070555829})
at ../../../i386/i386/trap.c:578
#9  0xc02c9cb8 in calltrap () at {standard input}:102
#10 0xc01baee5 in panic (fmt=0xc03120f1 softdep_setup_inomapdep: found inode)
at ../../../kern/kern_shutdown.c:534
#11 0xc026ab06 in softdep_setup_inomapdep (bp=0xc553eb00, ip=0x0, newinum=0)
at ../../../ufs/ffs/ffs_softdep.c:1278
#12 0xc025c2f2 in ffs_nodealloccg (ip=0xc1c677a8, cg=0, ipref=14406,
mode=33188) at ../../../ufs/ffs/ffs_alloc.c:1611
#13 0xc025b097 in ffs_hashalloc (ip=0xc1c677a8, cg=0, pref=0, size=33188,
allocator=0xc025c000 ffs_nodealloccg)
at ../../../ufs/ffs/ffs_alloc.c:1155
#14 0xc025a7ae in ffs_valloc (pvp=0xc1cac124, mode=33188, cred=0xc1920580,
vpp=0xd323d8b8) at ../../../ufs/ffs/ffs_alloc.c:857
#15 0xc0285429 in ufs_makeinode (mode=33188, dvp=0xc1cac124, vpp=0xd323dbe0,
cnp=0xd323dbf4) at ../../../ufs/ufs/ufs_vnops.c:2357
#16 0xc0281949 in ufs_create (ap=0xd323da40)
at ../../../ufs/ufs/ufs_vnops.c:199
#17 0xc0285bf8 in ufs_vnoperate (ap=0x0) at ../../../ufs/ufs/ufs_vnops.c:2792
#18 0xc0225abe in vn_open_cred (ndp=0xd323dbcc, flagp=0xd323dccc, cmode=420,
cred=0xc1920580, fdidx=0) at vnode_if.h:118
#19 0xc0225910 in vn_open (ndp=0x0, flagp=0x0, cmode=0, fdidx=0)
at ../../../kern/vfs_vnops.c:93
#20 0xc021ead3 in kern_open (td=0xc180ce40, path=0x0, pathseg=UIO_USERSPACE,
flags=522, mode=438) at ../../../kern/vfs_syscalls.c:688
#21 0xc021e960 in open (td=0x0, uap=0x0) at ../../../kern/vfs_syscalls.c:654
#22 0xc02da630 in syscall (frame=
  {tf_fs = 134938671, tf_es = 135004207, tf_ds = -1078001617, tf_edi = 8, tf_esi = 
674821400, tf_ebp = -1077939896, tf_isp = -752624268, tf_ebx = 674746852, tf_edx = 
521, tf_ecx = 134995387, tf_eax = 5, tf_trapno = 12, tf_err = 2, tf_eip = 674241311, 
tf_cs = 31, tf_eflags = 518, tf_esp = -1077939940, tf_ss = 47})
at ../../../i386/i386/trap.c:1006
#23 0xc02c9d0d in Xint0x80_syscall () at {standard input}:144
---Can't read userspace from dump, or kernel process---




Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
machine i386
cpu I686_CPU
ident   AKLEMM
options INCLUDE_CONFIG_FILE # Include this file in kernel

makeoptions DEBUG=-g#Build kernel with gdb(1) debug symbols

options SCHED_4BSD  #4BSD scheduler
#optionsSCHED_ULE

options INET#InterNETworking
options FFS #Berkeley Fast Filesystem
options SOFTUPDATES #Enable FFS soft updates support
options UFS_ACL #Support for access control lists
options UFS_DIRHASH #Improve performance on big directories
options MD_ROOT #MD is a potential root device
options PROCFS  #Process filesystem (requires PSEUDOFS)
options PSEUDOFS#Pseudo-filesystem framework
options COMPAT_43   #Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 #Compatible with FreeBSD4
options KTRACE  #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev

options NMBCLUSTERS=4096# Number of mbuf clusters
options ZERO_COPY_SOCKETS
options RANDOM_IP_ID
#optionsDUMMYNET
options SHOW_BUSYBUFS   # List buffers that prevent root unmount

# Debugging for use in -current
options DDB #Enable the kernel debugger

device  isa
device  pci

# Floppy drives
device  fdc

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
options ATA_STATIC_ID   #Static device numbering

# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc  # AT keyboard controller
device  atkbd   # AT keyboard
device  psm # PS/2 mouse

device  vga # VGA video card driver

device  splash  # Splash

Re: panic: lockmgr: locking against myself (current of 09-20th)

2003-09-22 Thread Andreas Klemm
On Mon, Sep 22, 2003 at 06:48:14PM -0500, Jonathan E Fosburgh wrote:
 On Monday 22 September 2003 04:28 pm, Andreas Klemm wrote:
 
  The panic here is:
 
  (kgdb) symbol-file kernel.debug
  Reading symbols from kernel.debug...done.
  (kgdb) core-file /var/crash/vmcore.0
  No kernel exec file specified
  (kgdb) exec-file kernel
  (kgdb) core-file /var/crash/vmcore.0
  panic: lockmgr: locking against myself
  panic messages:
  ---
  panic: lockmgr: locking against myself
  panic: from debugger
  Uptime: 10m26s
  Dumping 191 MB
   16 32 48 64 80 96 112 128 144 160 176
 
 I had a similar panic on 5.0-R.  Do you happen to have any snapshots on any of 
 the filesystems to which you might be writing at the time of the panic? I 
 don't know how I determined it, but I found that the panic was the result of 
 a snapshot on my /var filesystem.  Removing the snapshot solved the panic.

No, fresh installation on Laptop.

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


-current on laptop: panic: m_free detected a mbuf double free

2003-09-21 Thread Andreas Klemm
Update the status now on -current.

I downloaded the last recent snapshot of 2003-09-20 from current.freebsd.org.

Made a test ftp session using the live CDROM. Same like a week before.
Panic if I download something big from my FreeBSD ftp server.
5.1 on my normal PIII PC works fine. This seems to be PCMCIA
related.

db trace
Debugger(...
panic(...
m_free(...
m_freem(...
ip_input(...
swi_net(...
ithread_loop(...
fork_exit(...
fork_trampoline(...



On Sun, Sep 14, 2003 at 09:46:47PM +0200, Andreas Klemm wrote:
 On Sat, Sep 13, 2003 at 08:35:06PM -0400, Matthew N. Dodd wrote:
  On Sun, 14 Sep 2003, Andreas Klemm wrote:
   It works for me, xl0 card is recognized.
  
  Great!
  
   But during heavy ftp network traffic the LAPTOP panics.
 
 machine paniced 2 times
 A) one time after transferring ~90 MB of a ~300 MB large ISO image
 B) 2nd time after transferring ~ 8 MB of same large file
 C) 3rd time after transferring ~ 6 MB of same large file
 
 In DDB I see using where, that the machine always crashes within
 the same functions. DDB tells me:
 
 to B) panic: m_free detected a mbuf double-free
 Debugger(panic)
 Stopped at   Debugger+0x54:xchgl   %ebx,in_Debugger.0
 db where
 Debugger
 panic
 m_free
 m_freem
 ip_input -- happens at different functions
 ...
 db panic
 ...
 
 to C) panic: m_free detected a mbuf double-free
 Debugger(panic)
 Stopped at   Debugger+0x54:xchgl   %ebx,in_Debugger.0
 db where
 Debugger
 panic
 m_free
 m_freem
 xl_txeof --- happens at different functions
 xl_intr
 cbb_intr
 ithread_loop
 fork_exit
 fork_trampoline
 --- trap 0x1, eip = 0, esp = 0xcb042d7c, ebp = 0 ---
 db panic
 panic: from debugger
 Uptime: 2m55s
 Dumping 191M
 Dump complete
 
 
 Let's see what gdb tells me, from panic B)
 Sorry for case C) I didn't have enough space :-(
 
 (kgdb) where
 
 #0 doadump
 #1 0x... in boot (howto=260) at ../../../kern/kern_shutdown.c: 372
 #2 0x... in panic () at ../../../kern/kern_shutdown.c: 550
 #3 0x... in db_panic () at ../../../ddb/db_command.c: 450
 #4 0x... in db_command (...) at ../../../ddb/db_command.c: 346
 #5 0x... in db_command_loop () at ../../../ddb/db_command.c: 472
 #6 0x... in db_trap (type=3, code=0) at ../../../ddb/db_trap.c: 73
 #7 0x... in kdb_trap (type=3, code=0, regs=0xcb027bc6)
at ../../../i386/i386/db_interface.c: 171
 #8 0x... in trap (frame=
   {tf_fs = 24, tf_es = -1039597552, tf_ds = 16, tf_edi = 1, tf_esi ) 
 -1070431840, tf_ebp = -889029704, tf_isp = -889029736, tf_ebx = 0, tf_edx = 0, 
 tf_ecx = 32, tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1070703196, tf_cs = 
 8, tf_eflags = 642, tf_esp = -1070363254, tf_ss = -1070440292})
at ../../../i386/i386/trap.c: 577
 #9 0x... in calltrap () at {standard input}: 102
 #10 0x... in panic (fmt=0xc03281a0 m_free detected a mbuf double-freeze)
at ../../../kern/kern_shutdown.c: 534
 #11 0x... in m_free (mb=0xc0d4fe00) at ../../../kern/subr_mbuf.c: 1368
 #12 0x... in m_freem (mb=0x0) at ../../../kern/subr_mbuf.c: 1403
 #13 0x... in ip_input (mb=0xc0d4fe00) at ../../../netinet/ip_input.c: 963
 #14 0x... in swi_net (dummy=0x0) at ../../../net/net_isr.c: 236
 #15 0x... in ithread_loop (arg=0xc0d33200)
 at ../../../kern/kern_intr.c: 534
 #16 0x... in fork_exit (callout=0xc01b3900 ithread_loop, arg=0x0,
 frame=0x0) at ../../../kern/kern_fork.c: 796
 
 (kgdb) up 8
 #8 0x... in trap (frame=
   {tf_fs = 24, tf_es = -1039597552, tf_ds = 16, tf_edi = 1, tf_esi ) 
 -1070431840, tf_ebp = -889029704, tf_isp = -889029736, tf_ebx = 0, tf_edx = 0, 
 tf_ecx = 32, tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1070703196, tf_cs = 
 8, tf_eflags = 642, tf_esp = -1070363254, tf_ss = -1070440292})
 577 if (kbd_trap (type, 0, frame)
 
 (kgdb) frame frame-tf_ebp frame-tf_eip
 
 Too many args in frame specification ...
 h /%(/%( does the developer handbook need and update ? ;-)
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html#KERNELDEBUG-GDB
 
 Here it ends , have no clue how to select correct frames ... :-)
 
 
   Andreas ///
 
 -- 
 Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
 Need a magic printfilter today ? - http://www.apsfilter.org/
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
 To unsubscribe, send any mail to [EMAIL PROTECTED]






Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: -current on laptop: panic: m_free detected a mbuf double free

2003-09-21 Thread Andreas Klemm
OLDCARD doesn't work as well.

Tried to get my Xircom REM56G-100 to run with OLDCARD
but card won't be detected by  pccardd.

ifconfig -a only shows lp0 and lo0.

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


PCMCIA: 3COM 3CCFE575BT should be supported but actually doesn't work

2003-09-12 Thread Andreas Klemm
Hi,

my new PCMCIA card just arrived from eBay, since my Xircom didn't run
properly under current.

The FreeBSD Laptop Support page stated out, that somebody got
this 3COM card to work under -current.

I tried now two -current snaps from:
- 2003-08-24
- 2003-09-08

In both snaps the card is recognized on boot. but cardbus
can't be activated.

In -current from 2003-09-08 boot messages:

cbb0: ToPIC100 PCI-CardBus Bridge at device 11.0 on pci0
cardbus0: CardBus bus on cbb0
pccard0: 16-bit PCCard bus on cbb0
pcib0: slot 11 INTA is routed to irq 11
cbb0: [MPSAFE]
cbb1: ToPIC100 PCI-CardBus Bridge at device 11.1 on pci0
cardbus1: CardBus bus on cbb1
pccard1: 16-bit PCCard bus on cbb1
pcib0: slot 11 INTB is routed to irq 11
cbb1: [MPSAFE]
[...]
pccard0: Allocation failed for cfe 0
[...]
cardbus1: Resource not specified in CIS: id=14, size=80
cardbus1: Resource not specified in CIS: id=18, size=80
xl0: 3Com 3c575B Fast Etherlink XL port 0x1000-0x107f mem 
0x88003000-0x8800307f,0x88003080-0x880030ff irq 11 at device 0.0 on cardbus1
xl0: reset didn't complete
xl0: command never completed!
xl0: command never completed!
xl0: eeprom failed to come ready
xl0: failed to read station address
device_probe_and_attach: xl0 attach returned 6
cbb1: CardBus card activation failed
[...]

I tried the 3COM Card in the PCMCIA Slot cbb0 as well on
my Toshiba Satellite PRO 4360. No difference.

Any idea how to fix this ?

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fxp0: device timeout in -current from 31.8.

2003-08-31 Thread Andreas Klemm
tnx for the pointer.

I changed the card placement and free'd one IRQ (3) by
disabling COM2 in BIOS.

This did the trick.

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


fxp0: device timeout in -current from 31.8.

2003-08-31 Thread Andreas Klemm
 to settle
Mounting root from ufs:/dev/ad2s1a
fxp0: device timeout
fxp0: device timeout
fxp0: device timeout
fxp0: device timeout
fxp0: device timeout
fxp0: device timeout
fxp0: device timeout
fxp0: device timeout
fxp0: device timeout
fxp0: device timeout
fxp0: device timeout
fxp0: device timeout
fxp0: device timeout
fxp0: device timeout


Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: -current of today, kconsole and others crash with signal 6

2003-08-31 Thread Andreas Klemm
On Sat, Aug 30, 2003 at 02:58:12PM +0200, Andreas Klemm wrote:
 JFYI: This hasn't been the case 1 month ago with kernel/os from July 30.

A recompilation of everything (portupgrade -avf) helped,
sorry for the false alarm.

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvs commit: src/gnu/usr.bin Makefile src/lib Makefile src/sbinMakefile src/usr.bin Makefile src/usr.sbin Makefile

2003-08-30 Thread Andreas Klemm
On Sat, Aug 30, 2003 at 03:46:53AM -0700, Doug Barton wrote:
 On Sat, 30 Aug 2003, Poul-Henning Kamp wrote:
 
  In message [EMAIL PROTECTED], Doug Barton writes:
  Poul-Henning,
  
  Please don't forget to update src/share/examples/etc/make.conf
  accordingly.
 
  Hmm, so this stuff is documented both in make.conf(5) and an examples
  file ?  Sounds like one place too many to me.
 
 Well, there's always been an example make.conf file. In previous
 incarnations it's lived in /etc, then /etc/defaults. I also agree with
 the previous poster that it's useful to have such an example, and
 mergemaster uses it for the -p option.

In former times the make.conf file has been installed in /etc
when doing a fresh FreeBSD installation. It contained useful
commented out options.

If memory serves me right, the file isn't installed anymore
by default. Is there a reason ? I regarded this as useful
tro have it around under /etc, so to say ready for use.


Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 4.8-STABLE
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


-current of today, kconsole and others crash with signal 6

2003-08-30 Thread Andreas Klemm
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: VIA 83C572 USB controller port 0xd400-0xd41f irq 10 at device 4.2 on pci0
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ulpt0: Hewlett-Packard PSC 2200 Series, rev 2.00/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode
ugen0: Syncrosoft Protected Executer, rev 1.10/1.01, addr 3
uhci1: VIA 83C572 USB controller port 0xd000-0xd01f irq 10 at device 4.3 on pci0
usb1: VIA 83C572 USB controller on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci0: multimedia, audio at device 9.0 (no driver attached)
fxp0: Intel 82559 Pro/100 Ethernet port 0xa400-0xa43f mem 
0xed00-0xed0f,0xed80-0xed800fff irq 10 at device 10.0 on pci0
fxp0: Ethernet address 00:d0:b7:ba:c1:c2
miibus0: MII bus on fxp0
inphy0: i82555 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fdc0: Enhanced floppy controller (i82077, NE72065 or clone) port 0x3f7,0x3f2-0x3f5 
irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4
orm0: Option ROMs at iomem 0xcc000-0xccfff,0xc-0xcb7ff on isa0
sc0: System console on isa0
sc0: VGA 16 virtual consoles, flags=0x200
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
Timecounter TSC frequency 997461594 Hz quality 800
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 16 steps (100% to 6.2%), currently 100.0%
ad0: 176700MB IC35L180AVV207-1 [359010/16/63] at ata0-master UDMA66
acd0: CDRW SONY CD-RW CRX140E at ata0-slave PIO4
ad2: 176700MB IC35L180AVV207-1 [359010/16/63] at ata1-master UDMA66
acd1: DVDROM LITEON DVD-ROM LTD122 at ata1-slave PIO4
Mounting root from ufs:/dev/ad2s1a
ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to deny, 
logging disabled
fxp0: promiscuous mode enabled

-- 
Andreas Klemm - Powered by FreeBSD 4.8-STABLE
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PCMCIA trouble with Xircom, CIS is too long -- truncating

2003-08-27 Thread Andreas Klemm
On Wed, Aug 27, 2003 at 03:08:45PM +0400, Sergey A. Osokin wrote:
  What more infos do you need ?
 
 Yes, please tell more about your kernel config file.
 I think you use
 devicecbb
 devicepccard
 devicecardbus
 
 Please comment this lines and add
 devicepcic
 devicecard 1

Sorry not possible.

Reason is, that I can't install current on my laptop,
since I need it with ethernet for the job.

I can only migrate to current if network is running.
Sounds like a chicken and egg problem ;-)

Currently I run 4.8-STABLE on it.
And the failures I had were with a 5.1-current JPSNAP CD.
So to say with a normal GENERIC kernel.

Could you offer me boot floppies containing the change
you wanted me to test ? Then I could tell you, if kernel
detects the NIC.

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 4.8-STABLE
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


PCMCIA trouble with Xircom, CIS is too long -- truncating

2003-08-26 Thread Andreas Klemm
 ///

-- 
Andreas Klemm - Powered by FreeBSD 4.8-STABLE
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: if_xl borked in current!!

2003-08-17 Thread Andreas Klemm
On Sat, Aug 16, 2003 at 11:16:53AM -0600, M. Warner Losh wrote:
 nothing.  The 16-bit cards have always had issues on some machines or
 with some cards.  rather than mapping the cis in, 0's are read back.

I never had issues with this card in the same laptop since about
2 years under 4.x-STABLE.

Therefore I assume this is a bug in -current.

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 4.8-STABLE
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: if_xl borked in current!!

2003-08-14 Thread Andreas Klemm
On Wed, Aug 13, 2003 at 02:34:38PM +0200, Soeren Schmidt wrote:
 
 Upgraded laptop from 5.1 to -current was as usual a bad idea, this
 time the xl driver broke (and wi is still useless BTW) leaving me
 with no networks working :(

Well, you lucky one, when I insert a Xircom PCMCIA card
-current panics ;-)

Also wanted to upgrade my laptop, since my normal machine
is really running fine under current, but his was really
a showstopper. Would have loved to convert everything.

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 4.8-STABLE
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


-current install: panics if PCMCIA card (Xircom REM56-100) isinserted

2003-08-14 Thread Andreas Klemm
Tried to install FreeBSD 5.1 on my Toshiba Satellite Pro 4360.
No matter if ACPI enabled or disabled (boot option 1/2)
it panics after displaying:
Timecounter TSC frequency 696583708 Hz
Timecounter  tick every 10. msec

Fatal trap 12: page fault while in kernel mode
current process: 6 (cbb0)
Stopped at pccard_scan_cis+0x1b5: movzbl 0(%eax,%edx,1), %eax

db trace
pccard_scan_cis
pccard_read_cis
pccard_attach_card
exca_insert
cbb_insert
cbb_event_thread
fork_exit
fork_trampoline
--- trap 0x1, eip = 0, esp = 0xcad., ebp = 0 ---

This happens with old 5.1 Japan snapshot of 2003 06 20
as well as with the latest snapshot of yesterday the 18th.

3rd attempt is now trying to boot without my xircom
realport card (10/100+Modem 56, REM56G-100).

Thats it ... theres something wrong with 
Card probing/mounting 

Sorry, I have no other card to test to see if this is card specific.

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 4.8-STABLE
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Vim: Caught deadly signal BUS (after -current update with new gcc)

2003-07-14 Thread Andreas Klemm
After -current update (with gcc version 3.3.1) and make world
vim gets bus error ...

I will rebuild the world and report, if it makes a difference.
Same behaviour on comparable machines after compiler update ??

[EMAIL PROTECTED] ~ vim
Vim: Caught deadly signal BUS
Vim: Finished.
Bus error (core dumped)
[EMAIL PROTECTED] ~

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 4.8-STABLE
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: no subject

2003-07-14 Thread Andreas Klemm
On Mon, Jul 14, 2003 at 09:51:25PM +0200, Thorsten Greiner wrote:
 Andreas wrote:
  [EMAIL PROTECTED] ~ vim
  Vim: Caught deadly signal BUS
  Vim: Finished.
  Bus error (core dumped)
 
 You can work around this by unsetting SESSION_MANAGER in your 
 environment. I have no idea what the root cause is...

Where can I get rid of this variable ? I see no easy way.
Currently I use gvim as default text editor within KDE
environment ...

In an xterm or such I could disable it, but how for KDE ??


Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 4.8-STABLE
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Vim: Caught deadly signal BUS (after -current update with newgcc)

2003-07-14 Thread Andreas Klemm
On Mon, Jul 14, 2003 at 10:38:44PM +0200, Thorsten Greiner wrote:
   You can work around this by unsetting SESSION_MANAGER in your 
   environment. I have no idea what the root cause is...
 
  Where can I get rid of this variable ? I see no easy way.
  Currently I use gvim as default text editor within KDE
  environment ...
 
  In an xterm or such I could disable it, but how for KDE ??
 
 As far as I understand it, this variable is set by the session management of the 
 respective desktop (KDE in your case, GNOME in mine). Maybe you can workaround the 
 problem by using a small shell script which unsets SESSION_MANAGER and than calls 
 gvim?

Yes I will try to write a wrapper script around gvim.
This way ...

mv vim vim.bin
cat  vim - EOF
unset SESSION_MANAGER
vim.bin
EOF
chmod 555 vim

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 4.8-STABLE
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anyone is working in the msdosfs

2003-06-28 Thread Andreas Klemm
On Sat, Jun 28, 2003 at 12:23:56AM -0700, Jun Su wrote:
 Hi All,
 
 Who is working on importing the msdosfs of darwin into
 main tree? 

Please make sure this fix from Tim Robbins [EMAIL PROTECTED] comes in
just for the case someone imports something ...

http://perforce.freebsd.org/chv.cgi?CH=33605

This prevents from hangig up FreeBSD if you mounted
fat32 partitions ro, change it to rw and then write
something to it.

From perforce log:
XXX Propagate hack from UFS: open device for write access even if the
user requests a read-only mount. This is fairly stupid, but it's
necessary because we don't do the VOP_OPEN again if they upgrade a
read-only mount to read-write.
Fixes lockup when creating files on msdosfs mounts that have been
mounted read-only then upgraded to read-write, reported by [EMAIL PROTECTED]



Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 4.8-STABLE
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: write access to dos partition hangs system completely

2003-06-22 Thread Andreas Klemm
On Fri, Jun 20, 2003 at 01:26:15AM -0700, David Schultz wrote:
 I don't know which of these devices your DOS partition is on, but
 the root problem seems to be the hardware.  That said, msdosfs
 does hang when a write error occurs, so that may be your problem.

No, the other messages are not related to the problem.
I'm definitively sure.

BTW, problem still exists after hardware change.
I have 2 new disks now.
ad0: 176700MB IC35L180AVV207-1 [359010/16/63] at ata0-master UDMA66
ad2: 176700MB IC35L180AVV207-1 [359010/16/63] at ata1-master UDMA66

FreeBSD titan.klemm.apsfilter.org 5.1-CURRENT-20030620-JPSNAP FreeBSD 
5.1-CURRENT-20030620-JPSNAP #0: Fri Jun 20 00:25:23 GMT 2003 [EMAIL 
PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 4.8-STABLE
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


write access to dos partition hangs system completely

2003-06-15 Thread Andreas Klemm
   # Parallel port bus (required)
device  lpt # Printer
device  ppi # Parallel port interface device

device  miibus  # MII bus support
device  fxp # Intel EtherExpress PRO/100B (82557, 82558)

# Pseudo devices - the number indicates how many units to allocate.
device  random  # Entropy device
device  loop# Network loopback
device  ether   # Ethernet support
device  pty # Pseudo-ttys (telnet etc)
device  md  # Memory disks

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device  bpf # Berkeley packet filter

# USB support
device  uhci# UHCI PCI-USB interface
device  ohci# OHCI PCI-USB interface
device  usb # USB Bus (required)
#device udbp# USB Double Bulk Pipe devices
device  ugen# Generic
device  uhid# Human Interface Devices
device  ukbd# Keyboard
device  ulpt# Printer
device  umass   # Disks/Mass storage - Requires scbus and da
device  ums # Mouse
device  uscanner# Scanners

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 4.8-STABLE
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: whats an UDMA ICRC error ?

2003-06-04 Thread Andreas Klemm
On Tue, Jun 03, 2003 at 01:23:35AM -0500, Dan Nelson wrote:
 In the last episode (Jun 03), Andreas Klemm said:
  Hi,
  
  my console today shows the following error message from my disk:
  
  ad2: UDMA ICRC error cmd=read fsbn 74689079 of 74689079-74689206 retrying
  ad2: UDMA ICRC error cmd=read fsbn 74689079 of 74689079-74689206 retrying
  
  What exactly does an UDMA ICRC error mean ?
  I think this is simply a read error.
  AFAIK an IDE disk doesn't have spare sectors or am I wrong ?
  How severe is this error ? What do you think ??
 
 An ICRC error is an error detected by the IDE controller.  It usually
 means a cabling problem, as a disk error would be reported by the
 drive, not the controller.  From the ATA spec:
 
   ICRC shall be set to one if an interface CRC error has occurred
   during an Ultra DMA data transfer.  The content of this bit is not
   applicable for Multiword DMA transfers.
 
 There are other error bits that indicate uncorrectable media errors.
   ^^

Does this mean, that data corruption occurred ??

Strange. Didn't touch the hardware since months...

One idea, the cables have been very short and have been
a little bit under tension after installation. Maybe this
is the result now, that I have problems with the cables or
contacts 

Thanks for the info, will check cabling.

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 4.8-STABLE
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: whats an UDMA ICRC error ?

2003-06-04 Thread Andreas Klemm
On Tue, Jun 03, 2003 at 11:32:06AM +0200, Stefan Bethke wrote:
 Am Dienstag, 03.06.03, um 07:57 Uhr (Europe/Berlin) schrieb Andreas 
 Klemm:
 
 ad2: UDMA ICRC error cmd=read fsbn 74689079 of 74689079-74689206 
 retrying
 ad2: UDMA ICRC error cmd=read fsbn 74689079 of 74689079-74689206 
 retrying
 
 What exactly does an UDMA ICRC error mean ?
 I think this is simply a read error.
 AFAIK an IDE disk doesn't have spare sectors or am I wrong ?
 How severe is this error ? What do you think ??
 
 IDE disks have (hidden) spare sectors, and will transparently remap 
 sectors as long as they have spare ones left.
 
 If the drive reports errors (hard error reading fsbn...), then it 
 likely has run out of spare sectors, and probably will die soon.

o.k., but this is luckily not the case now ;-)

On Tue, Jun 03, 2003 at 12:52:01PM +0200, Frank Nobis wrote:
 Andreas Klemm [EMAIL PROTECTED] writes:
 
 Hallo Andreas,
 
  Hi,
  
  my console today shows the following error message from
  my disk:
  
  ad2: UDMA ICRC error cmd=read fsbn 74689079 of 74689079-74689206 retrying
  ad2: UDMA ICRC error cmd=read fsbn 74689079 of 74689079-74689206 retrying
  
  What exactly does an UDMA ICRC error mean ?
  I think this is simply a read error.
  AFAIK an IDE disk doesn't have spare sectors or am I wrong ?
  How severe is this error ? What do you think ??
  
 
 ich hatte genau diese Fehler vor einiger Zeit, als ich auf ATA 100
 Platten umgestiegen bin. Die Fehler sind sofort verschwunden als ich
 mit richtigen UDMA100 Kabeln die Platten angeschlossen hatte.

Well, will have to check cabling, this was also an answer I 
got on this topic.

Thanks to you all

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 4.8-STABLE
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


whats an UDMA ICRC error ?

2003-06-03 Thread Andreas Klemm
/63] at ata1-master UDMA66
acd0: CD-RW SONY CD-RW CRX140E at ata0-slave PIO4
acd1: DVD-ROM LITEON DVD-ROM LTD122 at ata1-slave PIO4
Waiting 8 seconds for SCSI devices to settle
da0 at umass-sim0 bus 0 target 0 lun 0
da0: HP psc 2210 1.00 Removable Direct Access SCSI-2 device 
da0: 1.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 - 6
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 - 6
Mounting root from ufs:/dev/ad2s2a
ad2: UDMA ICRC error cmd=read fsbn 74689079 of 74689079-74689206 retrying
ad2: UDMA ICRC error cmd=read fsbn 74689079 of 74689079-74689206 retrying







Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 4.8-STABLE
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: `nroff -mandoc foo.X | less' is broken

2002-10-19 Thread Andreas Klemm
On Sat, Oct 19, 2002 at 02:11:34PM +0300, Maxim Sobolev wrote:
 Hi,
 
 I've noticed that after upgrading my -current box (15 Oct snapshot)
 the `nroff -mandoc foo.X | less' construction no longer does produce
 valid results. I'm seeing ESC[ all over the place, i.e.:

FreeBSD titan.klemm.apsfilter.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sat Oct 19 
15:44:35 CEST 2002 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/TITAN  
i386

-current of today doesn't have this problem

I did:
cd /usr/src/share/man/man1/
nroff -mandoc intro.1 | less

Did it under console, not X11, with /etc/ttys configured as
follows. I tell you this, since I'm not sure, if cons25l1
does make a difference in this case. Assume not, but only
want to tell you ...

ttyv0   /usr/libexec/getty Pc cons25l1on  secure
ttyv1   /usr/libexec/getty Pc cons25l1on  secure
ttyv2   /usr/libexec/getty Pc cons25l1on  secure

Hope that helps a bit

Best regards

Andreas ///

-- 
Andreas Klemm /\/\/\/\/\/\/\/\/\/\/\
http://www.64bits.de   Powered by FreeBSD  
http://www.apsfilter.org/ \   www.FreeBSD.org  /
http://people.FreeBSD.ORG/~andreas \/\/\/\/\/\/\/\/\/\/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: ghostscript-gnu build broken

2002-01-16 Thread Andreas Klemm


HP released a new version. 1.0.1.
They have fixed a bug in the sources.
Could someone try the new version with optimization -O / -O2 turned on ?
I only can do it in 10 hours from now.



Andreas ///

-- 
Andreas Klemm
Apsfilter Homepage   http://www.apsfilter.org
Support over mailing-lists (only!)   http://www.apsfilter.org/support
Mailing-list archive http://www.apsfilter.org/Lists-Archives
Songs from our band  64Bits  http://www.64bits.de
Inofficial band pages with add-on stuff  http://www.apsfilter.org/64bits.html



msg33589/pgp0.pgp
Description: PGP signature


Re: ghostscript-gnu build broken

2002-01-14 Thread Andreas Klemm

On Mon, Jan 14, 2002 at 08:17:39AM +0200, John Hay wrote:
  Do you think its possible to put that logic into the port ?
 
 I looked into it a bit. I think it is better if automake don't have to
 be run. What about removeing files/patch-hpijs-1.0:configure.in and
 patch the port Makefile with the appened patch? It seems to work here.

This could really work bettern, since my patch doesn't work anymore
since I updated my autconf and automake environment. So I trapped
into the same as you ...

Astonishing is, that after changing autoconf version, my patch
doesn't work anymore, and -O is again in the CFLAGS :-/

 RCS file: /home/ncvs/ports/print/ghostscript-gnu/Makefile,v
 retrieving revision 1.63
 diff -u -r1.63 Makefile
 --- Makefile  11 Jan 2002 21:47:33 -  1.63
 +++ Makefile  14 Jan 2002 06:06:18 -
 @@ -165,8 +165,10 @@
   ${PERL} -pi -e 's|^DEVICE_DEVS|#DEVICE_DEVS|g' \
   ${WRKSRC}/src/unix-gcc.mak
  # for HPinkjet driver
 - ${PERL} -pi -e 's|CFLAGS=-O2 -Wall||g ; \
 -  s|CXXFLAGS=-O2 -Wall||g' ${WRKSRC}/${HPIJS_NAME}/configure
 + # XXX The HPinkjet driver should not be compiled with optimization
 + ${PERL} -pi -e 's|CFLAGS=-O2 -Wall|CFLAGS=-pipe -Wall|g ; \
 +  s|CXXFLAGS=-O2 -Wall|CXXFLAGS=-pipe -Wall|g' \
 +  ${WRKSRC}/${HPIJS_NAME}/configure
   find ${WRKSRC}/${HPIJS_NAME} -name '*.h' | xargs ${PERL} -pi -e \
   's|#include malloc.h||g'

Can you commit it please ? I'm busy today (have a recert termin soon,
in 3 hours ;-)

Andreas ///

-- 
Andreas Klemm
Apsfilter Homepage   http://www.apsfilter.org
Support over mailing-lists (only!)   http://www.apsfilter.org/support
Mailing-list archive http://www.apsfilter.org/Lists-Archives
Songs from our band  64Bits  http://www.64bits.de
Inofficial band pages with add-on stuff  http://www.apsfilter.org/64bits.html



msg33525/pgp0.pgp
Description: PGP signature


Re: ghostscript-gnu build broken

2002-01-13 Thread Andreas Klemm

On Sat, Jan 12, 2002 at 01:25:55PM +0200, John Hay wrote:
 It is not a -current problem. It is if you use the latest automake port,
 which is using v1.5. I tried that command manually with automake14 and
 then I didn't get that error.

John, what steps did you do exactly ?
Do you think its possible to put that logic into the port ?

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD
Need a magic printfilter today ? http://www.apsfilter.org/
Songs from our band  64Bits  http://www.64bits.de
Inofficial band pages with add-on stuff  http://www.apsfilter.org/64bits.html



msg33520/pgp0.pgp
Description: PGP signature


Re: ghostscript-gnu build broken

2002-01-12 Thread Andreas Klemm

On Fri, Jan 11, 2002 at 08:33:25PM -0900, Beech Rintoul wrote:
 Hi,
 I'm glad to see the problem with hpijs is being fixed, however when I tried 
 to build the port it died with the following:
 
building hpijs server ...
 cd .  aclocal
 cd .  automake --foreign --include-deps Makefile
 automake: configure.in: required file `./depcomp' not found
 gmake: *** [Makefile.in] Error 1
 *** Error code 2
 
 Stop in /usr/ports/print/ghostscript-gnu.
 *** Error code 1
 
 I'm running -current from wednesday.

Well, I can't imagine I broke something in ghostscript-gnu
by simply adding the hpijs patch that I tested in ghostscript-afpl
since it only patches hpijs.

Could you please test, if it makes a different, if you remove
this patch, simply to test if its the patch or not.

I assume the port was broken before or its something in -current.
I would test now if I had the time, but I have to hurry now to
cure a hacked internet server ...

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD
Need a magic printfilter today ? http://www.apsfilter.org/
Songs from our band  64Bits  http://www.64bits.de
Inofficial band pages with add-on stuff  http://www.apsfilter.org/64bits.html



msg33498/pgp0.pgp
Description: PGP signature


Re: ghostscript-gnu build broken

2002-01-12 Thread Andreas Klemm

On Fri, Jan 11, 2002 at 08:33:25PM -0900, Beech Rintoul wrote:
 Hi,
 I'm glad to see the problem with hpijs is being fixed, however when I tried 
 to build the port it died with the following:
 
building hpijs server ...
 cd .  aclocal
 cd .  automake --foreign --include-deps Makefile
 automake: configure.in: required file `./depcomp' not found
 gmake: *** [Makefile.in] Error 1
 *** Error code 2
 
 Stop in /usr/ports/print/ghostscript-gnu.
 *** Error code 1

That must be a -current problem, in the meantime I got the
new ghostscript-gnu port compiled on

FreeBSD titan.klemm.gtn.com 4.5-RC FreeBSD 4.5-RC #0: Thu Jan 10 21:12:33 CET 2002 
[EMAIL PROTECTED]:/usr/src/sys/compile/TITAN  i386

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD
Need a magic printfilter today ? http://www.apsfilter.org/
Songs from our band  64Bits  http://www.64bits.de
Inofficial band pages with add-on stuff  http://www.apsfilter.org/64bits.html



msg33499/pgp0.pgp
Description: PGP signature


Re: [current] Re: Confusing error messages from shell image activation

2000-12-11 Thread Andreas Klemm

On Mon, Dec 11, 2000 at 12:37:54AM -0500, David Gilbert wrote:
 ... but /usr/pkg supplanting /usr/local is one of the things that I
 like about NetBSD.

/usr/pkg sounds a little bit odd ... ( at least for my ears).

Why not choose what Solaris uses (/opt) ?

It would be an advantage, when designing filesystem size of your OS,
that now you would have two completely separate paths /usr and /opt.

Installing ports in /usr means, having a too large /usr or to mount
a new filsystem under /usr (/usr/local). Mounting an fs under a mounted
fs I dislike much ...

What about the following installation hierarchy

/opt/category/port/{bin,etc,include,lib,libexec,man,sbin,...}
with symlinks to
/opt/{bin,etc,include,lib,libexec,man,sbin,...}

This would be an advantage for larger packages, as now you can very
easily see, what belongs to a package and what not.

Additionally you can install multiple versions of a port at the
same time, and slowly migrate the configs/settings to the new port.

For critical server application this scheme gives you  more fine grained
control, concerning what version to use and you can easily go back if
you need...

pkg_version -c is cool, but it simply overwrites your working port,
keeps the configs, but pray, that everything runs.

The above suggested symlinks are a needed evil, so that you again only
need one place for manpages and binaries...

It gives you a lot more directories and symlinks, but when installing
it on a different filesystem, I think you can very easily live with
it, concerning the better control over installed packages.

Another plus is, that you now see _directly_, what files, config-files,
etc belong to a software, that is huge and complex ...

packages like KDE wouldn't f*up /usr/local as they do now.
Teaching KDE to install in /usr/local/kde is complex and I lost
fun doing so when I frist tried a year ago...

Andreas ///

-- 
Andreas Klemm   Powered by FreeBSD SMP
Songs from our band 64Bitshttp://www.apsfilter.org/64bits.html
My homepage http://people.FreeBSD.ORG/~andreas
Please note: Apsfilter got a NEW HOMEhttp://www.apsfilter.org/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: making an install CD

2000-11-01 Thread Andreas Klemm

On Wed, Nov 01, 2000 at 09:53:59AM -0700, [EMAIL PROTECTED] wrote:
 I tried this, but the make fails with error
 install:/usr/obj/usr/src/include/osreldate.h: No such file or directory
  ^ !!

 I just got the brand new current source, rebuilt the world and updated the
 kernel. If the source file is supposed to be there, its probably missing
 on the server.
 
 Any toughts - am I doing something wrong?

You need at least to do a make buildworld first 
See the path above ...

-- 
Andreas Klemm   Powered by FreeBSD SMP
Songs from our band 64Bitshttp://www.apsfilter.org/64bits.html
My homepage http://people.FreeBSD.ORG/~andreas
Please note: Apsfilter got a NEW HOMEhttp://www.apsfilter.org/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: HEADS UP: sendmail related changes

2000-10-15 Thread Andreas Klemm

On Tue, Oct 10, 2000 at 11:19:43AM -0700, Gregory Neil Shapiro wrote:
 5. The sendmail cf building tools (contrib/sendmail/cf) are installed in
/usr/share/sendmail/cf.

Hurray !

-- 
Andreas Klemm   Powered by FreeBSD SMP
Songs from our band 64Bitshttp://www.apsfilter.org/64bits.html
My homepage http://people.FreeBSD.ORG/~andreas
Please note: Apsfilter got a NEW HOMEhttp://www.apsfilter.org/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: ATA66 support

2000-08-03 Thread Andreas Klemm

On Wed, Aug 02, 2000 at 07:29:30PM +0200, Soren Schmidt wrote:
 It seems j mckitrick wrote:
  
  A friend of a friend asked me to find out how ATA66 support was coming
  along.  Is it still necessary to disable DMA or PIO settings for it to work?
 
 ATA66 has been working for quite some time now. Beware that there are
 some disks that claim to be able to do ATA66 but actually can't.
 Beware of Maxtor and WD disks in this regard. I can recommend IBM
 drives, they work very well...

I can confirm, that for example the Tyan Titan Pro has chipsets
builtin that doesn't grok ATA66.

I met somebody who programmed BIOSes and such ...

So now I know, why even buying a separate ATA PCI controller didn't
work ... so in this case its not the harddisk ...

-- 
Andreas Klemm
Songs from our bandhttp://people.freebsd.org/~andreas/
Powered by FreeBSD SMP...http://www.freebsd.org/~fsmp/SMP/SMP.html
Please note: Apsfilter got a NEW HOMEhttp://www.apsfilter.org/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: ATA66 support

2000-08-03 Thread Andreas Klemm

On Thu, Aug 03, 2000 at 06:56:55PM +0200, Soren Schmidt wrote:
 It seems Andreas Klemm wrote:
  On Wed, Aug 02, 2000 at 07:29:30PM +0200, Soren Schmidt wrote:
  I can confirm, that for example the Tyan Titan Pro has chipsets
  builtin that doesn't grok ATA66.
 
 Ehm, you mean because the HW design on the board is broken, or
 because the chip hasn't ATA66 support ?

Because of the "chipset" ... "BX and such" which is needed for
the flavour of CPU you use... Don't ask me on chipsets, can't
remember the names ...

  I met somebody who programmed BIOSes and such ...
 We dont use the BIOS for ATA DMA
 What do you mean with the above statement ?

Excuse me ... chipsets I mean not BIOS.

  So now I know, why even buying a separate ATA PCI controller didn't
  work ... so in this case its not the harddisk ...
 
  

I bought a separate ATA PCI controller which is capable of ATA 66.
But using an ATA-66 capable cable causes the system to hang during
boot.

atapci0: Intel PIIX3 ATA controller at device 7.1 on pci0
atapci0: Busmastering DMA not enabled

atapci1: HighPoint HPT366 ATA66 controller port 
0xac00-0xacff,0xa800-0xa803,0xa400-0xa407 irq 15 at device 14.0 on pci0
ata2: at 0xa400 on atapci1
atapci2: HighPoint HPT366 ATA66 controller port 
0xb800-0xb8ff,0xb400-0xb403,0xb000-0xb007 irq 15 at device 14.1 on pci0

 The motherboard has to be severely broken if a PCI controller wont work...
 What HW are we talking about here ?

Tyan Titan Pro, SMP board, 2 x 200 PPro

Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.1-STABLE #0: Fri Jul 28 08:09:24 CEST 2000
[EMAIL PROTECTED]:/usr/src/sys/compile/TITAN
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium Pro (199.43-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x619  Stepping = 9
  Features=0xfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV
real memory  = 159383552 (155648K bytes)
avail memory = 150999040 (147460K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 - irq 0
IOAPIC #0 intpin 16 - irq 15
IOAPIC #0 intpin 17 - irq 11
IOAPIC #0 intpin 18 - irq 10
IOAPIC #0 intpin 19 - irq 14
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee0
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee0
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec0
Preloaded elf kernel "kernel" at 0xc038f000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc038f09c.
VESA: v2.0, 4096k memory, flags:0x1, mode table:0xc03289c2 (122)
VESA: Matrox Graphics Inc.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Host to PCI bridge on motherboard
pci0: PCI bus on pcib0
isab0: Intel 82371SB PCI to ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX3 ATA controller at device 7.1 on pci0
atapci0: Busmastering DMA not enabled
pci0: Matrox MGA Millennium 2064W graphics accelerator at 10.0
xl0: 3Com 3c900-COMBO Etherlink XL port 0x9400-0x943f irq 14 at device 11.0 on pci0
xl0: Ethernet address: 00:60:97:aa:3a:db
xl0: selecting 10baseT transceiver, half duplex
pcm0: Creative EMU10K1 port 0x9800-0x981f irq 10 at device 12.0 on pci0
ahc0: Adaptec 2940 Ultra SCSI adapter port 0xa000-0xa0ff mem 0xe200-0xe2000fff 
irq 11 at device 13.0 on pci0
ahc0: aic7880 Single Channel A, SCSI Id=7, 16/255 SCBs
atapci1: HighPoint HPT366 ATA66 controller port 
0xac00-0xacff,0xa800-0xa803,0xa400-0xa407 irq 15 at device 14.0 on pci0
ata2: at 0xa400 on atapci1
atapci2: HighPoint HPT366 ATA66 controller port 
0xb800-0xb8ff,0xb400-0xb403,0xb000-0xb007 irq 15 at device 14.1 on pci0
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5" drive on fdc0 drive 0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 4 virtual consoles, flags=0x300
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/15 bytes threshold
ppbus0: IEEE1284 device found /NIBBLE/ECP
Probing for PnP devices on ppbus0:
ppbus0: HEWLETT-PACKARD DESKJET 970C MLC,PCL,PML
ppi0: Parallel I/O on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ed0 at port 0x280-0x29f iomem 0xd8000-0xdbfff irq 5 on isa0
ed0: address 00:00:c0:5a:98:2a, type WD8013EPC (16 bit) 
ahc0: Someone reset channel A
A

Re: ATA66 support

2000-08-03 Thread Andreas Klemm

On Thu, Aug 03, 2000 at 07:44:57PM +0200, Soren Schmidt wrote:
  ad4: 39082MB Maxtor 54098U8 [79406/16/63] at ata2-master using UDMA33
 
 AHA! try swap that with a known good drive (ie non Maxtor/WD) if you can

Too bad... have to live with that now ;-)

-- 
Andreas Klemm
Songs from our bandhttp://people.freebsd.org/~andreas/
Powered by FreeBSD SMP...http://www.freebsd.org/~fsmp/SMP/SMP.html
Please note: Apsfilter got a NEW HOMEhttp://www.apsfilter.org/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



missing idea.h, still conflicting defines WITH_IDEA and MAKE_IDEA

2000-07-16 Thread Andreas Klemm

On Fri, Jun 23, 2000 at 08:36:32AM +0200, Mark Murray wrote:
  Building world failed on my machine... (with USA_RESIDENT=NO)
  Does IDEA stuff compiled by default?
 I messed this up. Fix coming.

Something seems to be wrong with the logic concerning IDEA stuff.
I ask because I can't build the security/p5-Net-SSLeay port anymore
which is for example needed for webmin.

It fails because idea.h can't be found.

evp.h needs idea.h which isn't present:
/usr/include/openssl/evp.h:#include openssl/idea.h

There are several knobs to play with.
I finally defined WITH_IDEA=YES in /etc/make.conf and did a 
make includes, but actually idea.h doesn't show up.

When digging around under the secure src hierarchie I noticed,
that WITH_IDEA only triggers a make variable

secure/Makefile.inc:
.if !defined(WITH_IDEA) || ${WITH_IDEA} != YES
CFLAGS+= -DNO_IDEA
.endif

But that is not sufficient, since secure/lib/libcrypto/Makefile
only includes IDEA stuff, if MAKE_IDEA is defined  set to "YES".

[...]
if defined(MAKE_IDEA)  ${MAKE_IDEA} == YES
.PATH:  ${LCRYPTO_SRC}/idea
.endif
[...]
# idea
.if defined(MAKE_IDEA)  ${MAKE_IDEA} == YES
SRCS+=  i_ecb.c i_cbc.c i_cfb64.c i_ofb64.c i_skey.c
.endif
[...]
.if defined(MAKE_IDEA)  ${MAKE_IDEA} == YES
HDRS+=  idea/idea.h
.endif

That's the reason, why idea.h is missing in /usr/include.
Two possibilities to fix the problem:

A)
etc/defaults/make.conf:
DMAKE_IDEA=YES

secure/Makefile.inc:
.if !defined(WITH_IDEA) || ${WITH_IDEA} != YES
CFLAGS+= -DNO_IDEA
.else
CFLAGS+= -DMAKE_IDEA

.endif

B) change the whole "ifdef MAKE_IDEA" stuff in 
   secure/lib/libcrypto/Makefile
   to "ifdef WITH_IDEA"


-- 
Andreas Klemm   http://people.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
New APSFILTER 542 and songs from our band - http://people.freebsd.org/~andreas



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: RSA support..

2000-06-30 Thread Andreas Klemm

On Thu, Jun 29, 2000 at 11:29:40PM +0200, Mark Murray wrote:
 Hi
 
 Either you have no RANDOMDEV in the kernel, or you have not loaded the
 module.

that's right, no RANDOMDEV

and no module...

Id Refs AddressSize Name
 14 0xc010 2729e4   kernel
 21 0xc0dc7000 4d000nfs.ko
 31 0xc0e51000 4000 logo_saver.ko

After loading the kernel module ssh again works like a charme.

Thanks for your kind help and sorry for the false alarm.

BTW: Maybe this should go into UPDATING ?

Andreas ///

-- 
Andreas Klemm   http://people.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
New APSFILTER 542 and songs from our band - http://people.freebsd.org/~andreas



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: RSA support..

2000-06-29 Thread Andreas Klemm

On Thu, Jun 29, 2000 at 02:25:50AM -0500, Chris Csanady wrote:
 I have been trying to get ssh working in current, but with no luck.
 Since I updated recently, all I get is:
 
 ssh: no RSA support in libssl and libcrypto.  See ssl(8).

Same for me ... Wanted to make a ssh session to a site I maintain
doesn't work since I use a new kernel (since yesterday)...

andreas@titan{1001} $ ssh -c blowfish IP
ssh: no RSA support in libssl and libcrypto.  See ssl(8).
Disabling protocol version 1
Protocol major versions differ: 2 vs. 1


 

-- 
Andreas Klemm   http://people.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
New APSFILTER 542 and songs from our band - http://people.freebsd.org/~andreas



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



-current of 3 hours ago, can't get GENERIC kernel compiled

2000-06-27 Thread Andreas Klemm

current of today, very recent.

Just to drop you a note.

cc -pipe -O -nostdinc -I/usr/src/sys/compile/GENERIC/../.. -I. -I/usr/include-o 
aicasm aicasm_gram.o aicasm_scan.o aicasm.o aicasm_symbol.o  -ll
./aicasm -nostdinc -I- -I. -I../.. -I../../../include -o aic7xxx_seq.h -r 
aic7xxx_reg.h ../../dev/aic7xxx/aic7xxx.seq
./aicasm: 725 instructions used
make: don't know how to make ../../crypto/blowfish/bf_cbc.c. Stop
5.922u 1.575s 0:11.54 64.9% 1350+1091k 312+4io 103pf+0w



-- 
Andreas Klemm   http://people.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
New APSFILTER 542 and songs from our band - http://people.freebsd.org/~andreas



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Problem building a snapshot for current, no more more

2000-06-02 Thread Andreas Klemm

-current of June 01:
For me it was in stage 4 at:

ln -sf libm.so.2 /usr/obj/usr/src/i386/usr/lib/libm.so
cd /usr/src/lib/libncurses;  make depend;  make all;  make install
./make_keys /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/keys.lis
t  init_keytry.h
sh /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/MKlib_gen.sh "cc -
E -I. -I/usr/src/lib/libncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/
ncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/include"  "awk"  curses
.h | fgrep undef  nomacros.h
*** Error code 1

Stop in /usr/src/lib/libncurses.
*** Error code 1

Stop in /usr/src.
*** Error code 1         

-- 
Andreas Klemm   http://people.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
New APSFILTER 542 and songs from our band - http://people.freebsd.org/~andreas



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: have a couple of problems.

2000-05-28 Thread Andreas Klemm
(total 149)
sio0: 1 more silo overflow (total 150)
sio0: 1 more silo overflow (total 151)
sio0: 1 more silo overflow (total 152)
sio0: 1 more silo overflow (total 153)
sio0: 1 more silo overflow (total 154)
sio0: 1 more silo overflow (total 155)
sio0: 1 more silo overflow (total 156)
sio0: 1 more silo overflow (total 157)
sio0: 1 more silo overflow (total 158)
sio0: 1 more silo overflow (total 159)
sio0: 1 more silo overflow (total 160)
sio0: 1 more silo overflow (total 161)
sio0: 1 more silo overflow (total 162)
sio0: 1 more silo overflow (total 163)
sio0: 1 more silo overflow (total 164)
sio0: 1 more silo overflow (total 165)
sio0: 1 more silo overflow (total 166)
sio0: 1 more silo overflow (total 167)
sio0: 1 more silo overflow (total 168)
pid 18309 (gphoto), uid 1001: exited on signal 6 (core dumped)
sio0: 1 more silo overflow (total 169)
sio0: 1 more silo overflow (total 170)
sio0: 1 more silo overflow (total 171)
sio0: 1 more silo overflow (total 172)
pid 20392 (gphoto), uid 1001: exited on signal 6 (core dumped)
sio0: 1 more silo overflow (total 173)
sio0: 1 more silo overflow (total 174)
sio0: 1 more silo overflow (total 175)
sio0: 1 more silo overflow (total 176)
sio0: 1 more silo overflow (total 177)
sio0: 1 more silo overflow (total 178)
sio0: 1 more silo overflow (total 179)
sio0: 1 more silo overflow (total 180)
sio0: 1 more silo overflow (total 181)
sio0: 1 more silo overflow (total 182)
sio0: 1 more silo overflow (total 183)
sio0: 1 more silo overflow (total 184)
sio0: 1 more silo overflow (total 185)
sio0: 1 more silo overflow (total 186)
sio0: 1 more silo overflow (total 187)
sio0: 1 more silo overflow (total 188)

-- 
Andreas Klemm   http://people.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
New APSFILTER 542 and songs from our band - http://people.freebsd.org/~andreas



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



apsfilter doesn't work anymore under current for remote print jobs

2000-04-24 Thread Andreas Klemm

Somehting must have changed with permissions in the last weeks.
The owner of a print sessions control file are different when
printing over network compared to a local print job.
The lineprinter input filter doesn't have permissions to grep through
the control file during runtime.

Precise problem descr in the PR I submitted last recently.
Sorry, didn't get a number back ...

-- 
Andreas Klemm   http://people.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
New APSFILTER 533 and songs from our band - http://people.freebsd.org/~andreas



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



ssh/rsync trouble with freefall, session hangs since yesterday

2000-04-22 Thread Andreas Klemm

Hi,

am not sure if this is related to my -current kernel or last recent
ssh changes but perhaps you have an idea.

Since yesterday I'm not able, to upload some files using rsync over ssh.

Attached is a short tcpdump.

netstat shows it this way:
   input  (xl0)   output
   packets  errs  bytespackets  errs  bytes colls
 0 0  0  0 0  0 0
 0 0  0  0 0  0 0
 1 0 60  3 0   4270 0
 2 0120  0 0  0 0
 2 0134  2 0   1320 0
send file list (rsync)
 0 0  0  0 0  0 0
 0 0  0  0 0  0 0
 0 0  0  0 0  0 0
start of transmission of gzipped patch file
 1 0 90  1 0 54 0
 2 0   3028  2 0108 0
 9 0   7864 16 0  15464 0
 4 0   3148  7 0   9138 0
 7 0   3762  3 0   1622 0
 5 0300  0 0  0 0
 1 0 60  0 0  0 0
 0 0  0  0 0  0 0
from now on "0" traffic for 12 seconds, then
 1 0 90  1 0 90 0
again "0" traffic ... and it hangs

Here what I see as "user"

andreas@freefall 52% getwebpages
Enter passphrase for RSA key '[EMAIL PROTECTED]':
term: Undefined variable.
receiving file list ... done
apsfilter/download/
apsfilter/download/diff-4.9.9-5.3.3.gz

This hangs and I interrupt it with ^C
^C
Received signal 30.

Do you have an idea what might go wrong ?
An upload to another server (FreeBSD-4.0, DEC Alpha) runs flawlessly.

I'm starting this job on freefall with:
#! /bin/sh
umask 002
cd $HOME
$HOME/bin/rsync -zrtvc \
-C \
-e "/usr/local/bin/ssh -c blowfish" \
andreas@${REMOTEHOST}:~/public_html/freefall/ \
public_html 

This rsync is version 2.4.1, on freefall 2.2.1

BTW, could someone on freefall please update the ports collection.
Nothing works, if I want to build a port with the currently active
make macros.


-- 
Andreas Klemm   http://people.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
New APSFILTER 533 and songs from our band - http://people.freebsd.org/~andreas

 ssh-trouble-freefall.tcpdump


Re: ssh/rsync trouble with freefall, session hangs since yesterday

2000-04-22 Thread Andreas Klemm

On Sat, Apr 22, 2000 at 09:19:50AM +0200, Poul-Henning Kamp wrote:
 
 I have seen this problem with rsync as well.  I think I solved it
 by downstepping to an older rsync version.

Thanks !

-- 
Andreas Klemm   http://people.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
New APSFILTER 533 and songs from our band - http://people.freebsd.org/~andreas



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: ssh/rsync trouble with freefall, session hangs since yesterday

2000-04-22 Thread Andreas Klemm

On Sat, Apr 22, 2000 at 02:47:58AM -0700, Kris Kennaway wrote:
 
 If you have a checked out copy of the ports collection in your home
 directory you can point to it with the PORTSDIR variable and everything
 will work fine. Having said that, an update of the /usr/ports dir would be
 good.

Yes indeed.

andreas@freefall 119% make
===  rsync-2.4.1 : Your system is too old to use this bsd.port.mk. You need a fresh 
make world or an upgrade kit. Please go to http://www.FreeBSD.org/ports/ or a mirror 
site and follow the instructions. 

I already checked out mk freshly as well and used that by changing 
rsyncs Makefile:

.include "../../../mk/bsd.port.pre.mk"
[...]
.include "../../../mk/bsd.port.post.mk"

-- 
Andreas Klemm   http://people.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
New APSFILTER 533 and songs from our band - http://people.freebsd.org/~andreas



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Integrating QMAIL in the world

2000-04-12 Thread Andreas Klemm

On Fri, Apr 14, 2000 at 05:21:24PM -0500, Joe Greco wrote:
 Remove Sendmail from the base system - or, at least, make it a "package"
 that is removable with the package management tool.  Then be able to add
 another mailer (or an updated Sendmail) in its place.  Ideally, Sendmail
 would be available as a package for installation as part of the base
 system, just like games or info or proflibs.

Sounds all basically like a good idea to have different choices
for a MTA.

But I don't like _basic_ system functionalities to be out sourced
completely to ports.

Two examples:

If I give people a FreeBSD-STABLE snapshot CD, I'd like to give
them a complete Unix, and for me a MTA belongs to a basic package.

If I want to do a complete upgrade of all of my system ports,
because I come to the conclusion
- I installed to much experimental crap and don't get it
  sorted out manually
- or I want to upgrade everything to the latest and greatest
I don't want to kill my MTA (sendmail) by performing a rm -rf /usr/local/*
action.

FreeBSD - as is - has all the basic system functionality in the
base system and I wouldn't like to have a "neutral" "castrated"
Unix just for the sake, that you can start later to customize
things like sendmail and maybe other things 

 I would love to see this happen with other components of the system as
 well, such as BIND.

definitively not. I hate the Linux way to have a puzzle system.
Could we please still agree on a base system that is complete,
so that SNAP CD's still represent a complete BSD without having
to create additional ports ???

Again FreeBSD != Linux.

 While it is fantastic that FreeBSD comes out of the box so fully
 functional, it does make it a bit of a pain for those of us who intend
 to build servers - we have to disable the original before installing a
 new package.  :-/

Well ... for that purpose I'd vote for the following:

a) make more
NO_ (sendmail, bind, whatever)
   knobs in /etc/make.conf as needed
b) make the Makefiles in the install target more complete by
   removing (old) occurrencies of sendmail, bind, if such a
   NO_XXX knob has been set.
   Then you get such an ISP server as you like after a make world
   session
c) Split FreeBSD packaging any further (bin, man, doc, compat,...)
   Add something like a package internet (sendmail, bind, ...)
   Then you can install a sendmail, DNS free system as you like.

But I wouldn't for a generally castrated BSD.

-- 
Andreas Klemm   http://people.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
New APSFILTER 533 and songs from our band - http://people.freebsd.org/~andreas



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



[andreas@klemm.gtn.com: -current install on Laptop, panic: resource_list_alloc: resource entry is busy]

2000-03-11 Thread Andreas Klemm

Send one copy to -current, just for the case,
that Soren is currently not available and somebody other could help.

-- 
Andreas Klemm  http://www.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
New APSFILTER 5.2.0 and songs from our band - http://www.freebsd.org/~andreas



Hi Søren,

I have a problem to install a self created FreeBSD 4.0-SNAP-2311
on my LAPTOP:
The last things I see on screen

pcib0: SiS 85c501 on motherboard
pci0: PCI bus on pcib0
isab0: SiS 85c503 PCI-ISA bridge at device 1.0 on pci0
isa0: ISA bus on isab0
atapci0: Unknown PCI ATA controller (generic mode) port 
0x3f4-0x3f7,0x374-0x377,0x1f4-0x1f7,0x174-0x177 at device 1.1 on pci0
atapci0: Busmastering DMA not supported
panic: resource_list_alloc: resource entry is busy
Uptime: 0s
Automatic reboot in 15 seconds .

Is that info o.k. for you or do you need something from
boot_verbose ?

Currently I have FreeBSD 3.4 installed onto it, since 4.x
didn't run. So I would have the possibility to build 4.0
and boot test kernels onto it...

This boot was from the boot floppy of the SNAP.

Would you have time and interest to make it run ?

Andreas ///

-- 
Andreas Klemm  http://www.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
Get new songs from our band: http://www.freebsd.org/~andreas/64bits/index.html




solved (was Re: disklabels partition sizes differ ...)

2000-02-24 Thread Andreas Klemm

Hi Bruce,

it's running now. I removed every slice and started over.
I randomly choosed another size for the WIn98 slice (~6GB)
installed after that FreeBSD and now I don't get that messages
anymore. Maybe fdisk was the culprit ... have no other explanation.

Thanks for your help and patience

Andreas ///

-- 
Andreas Klemm  http://www.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
Get new songs from our band: http://www.freebsd.org/~andreas/64bits/index.html



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: disklabels partition sizes differ from FreeBSDs syslog messages on mounting

2000-02-24 Thread Andreas Klemm

On Thu, Feb 24, 2000 at 05:43:04AM +1100, Bruce Evans wrote:
  what do you mean exactly with "old systems" ?
 FreeBSD-3.x, or FreeBSD--current with the wd driver.

Oh, that you mean ... Well but I'm running a very up to date -current.

FreeBSD titan.klemm.gtn.com 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Tue Feb 22 12:11:23 
CET 2000 [EMAIL PROTECTED]:/usr/src/sys/compile/TITAN  i386

I even updated the boot loader by
cd /usr/src/sys/boot
make clean all install

-- 
Andreas Klemm  http://www.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
Get new songs from our band: http://www.freebsd.org/~andreas/64bits/index.html



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



ad4s1: raw partition size != slice size (was Re: disklabels partition sizes differ from FreeBSDs syslog messages on mounting)

2000-02-23 Thread Andreas Klemm

On Wed, Feb 23, 2000 at 12:19:29PM +0100, Andreas Klemm wrote:
 ad4s1d: start 24322111, end 80035829, size 55713719
 ad4s1: rejecting partition in BSD label: it isn't entirely within the slice
 ad4s1f: start 5447743, end 13836350, size 8388608
 ad4s1: rejecting partition in BSD label: it isn't entirely within the slice
 ad4s1g: start 13836351, end 15933502, size 2097152
 ad4s1: rejecting partition in BSD label: it isn't entirely within the slice
 ad4s1h: start 15933503, end 24322110, size 8388608

After mounting every new filesystem I even get these messages:
(after adding fstab and mount -at ufs):

ad4s1: raw partition size != slice size
ad4s1: start 63, end 12289724, size 12289662
ad4s1c: start 63, end 80035829, size 80035767
ad4s1: truncating raw partition
ad4s1: rejecting partition in BSD label: it isn't entirely within the slice
ad4s1: start 63, end 12289724, size 12289662
ad4s1d: start 24322111, end 80035829, size 55713719
ad4s1: rejecting partition in BSD label: it isn't entirely within the slice
ad4s1f: start 5447743, end 13836350, size 8388608
ad4s1: rejecting partition in BSD label: it isn't entirely within the slice
ad4s1g: start 13836351, end 15933502, size 2097152
ad4s1: rejecting partition in BSD label: it isn't entirely within the slice
ad4s1h: start 15933503, end 24322110, size 8388608

# DeviceMountpoint  FStype  Options DumpPass#
/dev/ad4s2a /newufs rw  1   2
/dev/ad4s2e /new/varufs rw  1   2
/dev/ad4s2f /new/usrufs rw  1   2
/dev/ad4s2g /new/internet   ufs rw  1   2
/dev/ad4s2h /new/home   ufs rw  1   2
/dev/ad4s2d /new/data   ufs rw  1   2

# /dev/rad4c:
type: ESDI
disk: ad4s2
label: 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 4217
sectors/unit: 67746105
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:   26214404.2BSD 1024  819216   # (Cyl.0 - 16*)
  b:  1048576   262144  swap# (Cyl.   16*- 81*)
  c: 677461050unused0 0 # (Cyl.0 - 4216)
  d: 37075257 306708484.2BSD 1024  819216   # (Cyl. 1909*- 4216*)
  e:  8388608  13107204.2BSD 1024  819216   # (Cyl.   81*- 603*)
  f:  8388608  96993284.2BSD 1024  819216   # (Cyl.  603*- 1125*)
  g:  4194304 180879364.2BSD 1024  819216   # (Cyl. 1125*- 1387*)
  h:  8388608 222822404.2BSD 1024  819216   # (Cyl. 1387*- 1909*)


-- 
Andreas Klemm  http://www.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
Get new songs from our band: http://www.freebsd.org/~andreas/64bits/index.html



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



thanks for your nice help ! (was Re: timeout problems ....)

2000-02-23 Thread Andreas Klemm

On Tue, Feb 22, 2000 at 10:15:42PM +0100, Soren Schmidt wrote:
 There are two posibilities, either the cable is bad or the disk is bad.
 Since you could talk to it, and you didn't get ICRC errors, my bet is
 that the particular Maxtor model is just as broken as most of its
 other family memebers :(

Hmm, too bad. But o.k. actually it's working now and a big
thanks for your kind support !!!

-- 
Andreas Klemm  http://www.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
Get new songs from our band: http://www.freebsd.org/~andreas/64bits/index.html



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



disklabels partition sizes differ from FreeBSDs syslog messages on mounting

2000-02-23 Thread Andreas Klemm

Hi !

I'm worried about this message and don't know if I may forget about
it or not. I see a discrepany of disklabel partition sizes and those
syslog messages I get, when I mount something from my 40GB EIDE disk.

I did a normal FreeBSD 4.0 SNAP installation on a new 40 GB disk.
On the largest filesystem I wanted to backup my old system. So I
mounted now the ata disk under my SCSI environment, to do a backup.
Please note: I did no manual fiddeling with disklabel or such on
the EIDE disk, it was a normal installation from self burned CD
and doing a custom installation.

When I try to mount the largest filesystem from the EIDE disk
I get these syslog messages and this worries me:

ad4s1d: start 24322111, end 80035829, size 55713719
ad4s1: rejecting partition in BSD label: it isn't entirely within the slice
ad4s1f: start 5447743, end 13836350, size 8388608
ad4s1: rejecting partition in BSD label: it isn't entirely within the slice
ad4s1g: start 13836351, end 15933502, size 2097152
ad4s1: rejecting partition in BSD label: it isn't entirely within the slice
ad4s1h: start 15933503, end 24322110, size 8388608

Look at the different partition sizes, I made a tabular, some
values are equal, some greater, some less, no clear picture to me:

ad4s1d:start 24322111, end 80035829, size 55713719
disklabel -r at4 value:   37075257 
ad4s1f:start 5447743,  end 13836350, size 8388608
disklabel -r at4 value:   8388608  =
ad4s1g:start 13836351, end 15933502, size 2097152
disklabel -r at4 value:   4194304  
ad4s1h:start 15933503, end 24322110, size 8388608
disklabel -r at4 value:   8388608  =

kernel in core disklabel and on the disk are the same:
This is thew exact output:
disklabel -r ad4
# /dev/rad4c:
type: ESDI
disk: ad4s2
label: 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 4217
sectors/unit: 67746105
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:   26214404.2BSD 1024  819216   # (Cyl.0 - 16*)
  b:  1048576   262144  swap# (Cyl.   16*- 81*)
  c: 677461050unused0 0 # (Cyl.0 - 4216)
  d: 37075257 306708484.2BSD 1024  819216   # (Cyl. 1909*- 4216*)
  e:  8388608  13107204.2BSD 1024  819216   # (Cyl.   81*- 603*)
  f:  8388608  96993284.2BSD 1024  819216   # (Cyl.  603*- 1125*)
  g:  4194304 180879364.2BSD 1024  819216   # (Cyl. 1125*- 1387*)
  h:  8388608 222822404.2BSD 1024  819216   # (Cyl. 1387*- 1909*)

And here for reference the output of /stand/sysinstall:

Disk name:  ad4FDISK Partition Editor
DISK Geometry:  4982 cyls/255 heads/63 sectors = 80035830 sectors

Offset   SizeEnd Name  PType   Desc  SubtypeFlags

 0 63 62-  6 unused0
63   12289662   12289724ad4s1  2fat   11
  12289725   67746105   80035829ad4s2  3freebsd  165C
  80035830   5418   80041247-  6 unused0

And here what the kernel says:
ad4: 39082MB Maxtor 54098U8 [79406/16/63] at ata2-master using UDMA33

Any thoughts ... should I simply install or better wait ??? ;-)

-- 
Andreas Klemm  http://www.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
Get new songs from our band: http://www.freebsd.org/~andreas/64bits/index.html



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: disklabels partition sizes differ from FreeBSDs syslog messages on mounting

2000-02-23 Thread Andreas Klemm

On Wed, Feb 23, 2000 at 11:43:32PM +1100, Bruce Evans wrote:
 On Wed, 23 Feb 2000, Andreas Klemm wrote:
  I'm worried about this message and don't know if I may forget about
  it or not. I see a discrepany of disklabel partition sizes and those
  syslog messages I get, when I mount something from my 40GB EIDE disk.
 
 Old systems don't support 40GB disks (except in LBA mode, which is
 broken in other ways).

Hi Bruce,

what do you mean exactly with "old systems" ?

Correct me if I'm wrong, but I don't "old hardware", since I have
a *brand new* EIDE controller (Abit) which _is_ capable of recognizing
the 40 GB harddisk.

Please look here:
FreeBSD is able to detect the drive in it's full size, kernel message:
ad4: 39082MB Maxtor 54098U8 [79406/16/63] at ata2-master using UDMA33
79406*16*63= 80041248 sectors

FreeBSD offers during installation to use a more clever partitioning scheme
(sector translation). The values seem reasonable for me:
Systinstall displays in the first line:
4982 cyls/255 heads/63 sectors = 80035830 sectors 
4982*255*63= 80035830
which is smaller than the total sector size of the drive (80041248)

Disklabel also has reasonable entries:
sectors/track: 63
tracks/cylinder: 255
cylinders: 4217
sectors/unit: 67746105
255*63*4217= 67746105
which should be the size of my FreeBSD slice

Could you please be more verbose on what's going wrong in your
opineon ? I assume you might have missed the point, that I use
a brand new EIDE controller and turned off on board IDE ...

Anyway, thanks for your answer

    Andreas ///

-- 
Andreas Klemm  http://www.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
Get new songs from our band: http://www.freebsd.org/~andreas/64bits/index.html



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: timeout problems HighPoint HPT366 ATA66 controller 40 GB Diamond Max Plus

2000-02-22 Thread Andreas Klemm

On Tue, Feb 22, 2000 at 09:32:43AM +0100, Soren Schmidt wrote:
 You have a config problem

Oh ...

 Now where did this come form:
  ata4: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x
  ata4: mask=00 status0=ff status1=ff
  ata4: probe allocation failed
 
  ata2-master: success setting up UDMA4 mode on HPT366 chip
  ad4: Maxtor 54098U8/DA620CQ0 ATA-5 disk at ata2 as master
  ad4: 39082MB (80041248 sectors), 79406 cyls, 16 heads, 63 S/T, 512 B/S
  ad4: 16 secs/int, 1 depth queue, UDMA66
  ad4: piomode=4 dmamode=2 udmamode=4 cblid=1

Hmmm...

  # ATA and ATAPI devices
  device  ata0at isa? port IO_WD1 irq 14

Thought, this would be necessary.

  #device ata1at isa? port IO_WD2 irq 15
  device  ata
  device  atadisk # ATA disk drives
  #device atapicd # ATAPI CDROM drives
  #device atapifd # ATAPI floppy drives
  #device atapist # ATAPI tape drives
  options ATA_STATIC_ID   #Static device numbering
  #optionsATA_ENABLE_ATAPI_DMA#Enable DMA on ATAPI devices
 
 make that:
 
 deviceata
 deviceatadisk
 options   ATA_STATIC_ID

Will try that. BTW, I tried this night (til 5am *sigh*)
to make the device run under the Boards IDE controller.

To make that happen I did the (probably mistake), to 
set a cylinder limitation jumper and install a special
BIOS on the disk using the MaxBlast software from Maxtors
ftp site. Since then the disk only had 4111cyl/255heads/64sectors
=66043215 sectors.
Now the drive ran fine under Windows and FreeBSD, but when I
removed the jumper on the disk and tried again the abit EIDE
controller, the disk wasn't recognized anymore.
O.k. at 5am I was f***ing tired... Did I do something wrong
to my disk using this maxtor utility ? Does somebody know,
if there is a magic trick, to remove the BIOS ?

I'll now try, what FreeBSD says to the drive, when I install
the new kernel and if I remove the jumpers...

Andreas ///

-- 
Andreas Klemm  http://www.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
Get new songs from our band: http://www.freebsd.org/~andreas/64bits/index.html



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: timeout problems HighPoint HPT366 ATA66 controller 40 GB Diamond Max Plus

2000-02-22 Thread Andreas Klemm
3   #Snoop device - to look at pty/vty/etc..
pseudo-device   ccd 4   #Concatenated disk driver

device  smbus0
device  iicbus0
device  iicbb0
device  intpm0
device  smb0at smbus?

device  ata
device  atadisk # ATA disk drives
options ATA_STATIC_ID   #Static device numbering
-- 
Andreas Klemm  http://www.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
Get new songs from our band: http://www.freebsd.org/~andreas/64bits/index.html



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: timeout problems HighPoint HPT366 ATA66 controller 40 GB Diamond Max Plus

2000-02-22 Thread Andreas Klemm

On Tue, Feb 22, 2000 at 01:39:46PM +0100, Soren Schmidt wrote:
 Hmm, this looks very wierd, 

Oh yes ;-)

BTW no problem with win98 or Win2000 installation.

 how is your BIOS setup wrt to onboard ATA channels ??

 Try to use a "normal" ie 40pin cable, that will limit the disk to
 UDMA33 mode, if that works, well...

Will have to buy that. When I ran with the on board IDE chip I
had a drive mode (something like) mdma2. That worked even with
FreeBSD.

I now tried BIOS setup values.
First entered BIOS default values, which are turning off most
features, then I enabled SETUP defaults and then changed no
performance boosting things.

RAM Timing I changed to automatic 70ns, although I have 60 ns
RAM.

On chip PCI IDE is completely disabled.

Then I changed as a last resort method the mode to
hw.atamodes: ---,---,---,---,pio,---,---,---,  

Even with PIO the drive has problems, but is then able to recover:

ata2-master: success setting up PIO4 mode on HPT366 chip
ad4: invalid primary partition table: no magic
this is. because I newfs'd ad4c on the whole ... quick and dirty
for testing...

now bonnie -s 100

ad4: WRITE command timeout - resetting
ata2: resetting devices .. ata2: mask=01 status0=50 status1=00
ata2-master: success setting up PIO4 mode on HPT366 chip
done
ad4: timeout waiting for DRQ

How can I force the driver with kernel modifications to use
mdma2 mode or something like this ???

BTW, I have a 5 Slot PCI machine ...
in the first slot there is the abit controller in the last
the Matrox Millenium card. They share the same IRQ 15...

Is this sane ?

Or might my problem be SMP related ???

Well, have to go to the supermarket now ...
I'll remove one card later, to free one IRQ and will try to use
a single cpu kernel...


-- 
Andreas Klemm  http://www.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
Get new songs from our band: http://www.freebsd.org/~andreas/64bits/index.html



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Promise Ultra66 + Seagate ATA/66 = Ultra ATA/33 :(

2000-02-22 Thread Andreas Klemm

On Wed, Feb 23, 2000 at 02:55:27AM +0900, Akinori -Aki- MUSHA wrote:
 At Tue, 22 Feb 2000 18:14:23 +0100 (CET),
 Soren Schmidt [EMAIL PROTECTED] wrote:
  Could I have a verbote boot log please, that would give some hints...
 
 Sorry but could you tell me how to increase verbosity?

set boot_verbose=1

in the boot loader

-- 
Andreas Klemm  http://www.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
Get new songs from our band: http://www.freebsd.org/~andreas/64bits/index.html



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



ATAPI Problem on LAPTOP, resource_list_alloc: resource_entry busy

2000-02-21 Thread Andreas Klemm

Hi,

created a FreeBSD 4.0 SNAP yesterday. Made the experience, that
4.0 can't be booted on my Laptop.

Unfortunately the reboot takes in effect after a very short time, too
short to write down more lines from the kernel 

Could we perhaps raise the reboot time by default to something like
60 seconds ? Or that you have to hit return ? For an installation kernel
this would be a good idea I think ...

Hitting Pause didn't help.
What informations do you need about the hardware ?
I have win95 installed on the machine as well, so I could try to 
get some hardware info from there ... or wait until I have 3.x installed
again.


-- 
Andreas Klemm  http://www.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
Get new songs from our band: http://www.freebsd.org/~andreas/64bits/index.html



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



timeout problems HighPoint HPT366 ATA66 controller 40 GB Diamond Max Plus

2000-02-21 Thread Andreas Klemm
ad4s2: type 0xf, start 8193150, end = 32772599, size 24579450 : OK
ad4s3: type 0xa5, start 32772600, end = 80035829, size 47263230 : OK
ad4s5: type 0xb, start 8193213, end = 16386299, size 8193087 : OK
ad4extended: type 0x5, start 16386300, end = 24579449, size 8193150 : OK
ad4s6: type 0xb, start 16386363, end = 24579449, size 8193087 : OK
ad4extended: type 0x5, start 24579450, end = 32162129, size 7582680 : OK
ad4s7: type 0xb, start 24579513, end = 32162129, size 7582617 : OK
ad4extended: type 0x5, start 32162130, end = 32772599, size 610470 : OK
ad4s8: type 0x6, start 32162193, end = 32772599, size 610407 : OK
ad4s1: type 0xb, start 63, end = 8193149, size 8193087 : OK
ad4s2: type 0xf, start 8193150, end = 32772599, size 24579450 : OK
ad4s3: type 0xa5, start 32772600, end = 80035829, size 47263230 : OK
ad4s5: type 0xb, start 8193213, end = 16386299, size 8193087 : OK
ad4extended: type 0x5, start 16386300, end = 24579449, size 8193150 : OK
ad4s6: type 0xb, start 16386363, end = 24579449, size 8193087 : OK
ad4extended: type 0x5, start 24579450, end = 32162129, size 7582680 : OK
ad4s7: type 0xb, start 24579513, end = 32162129, size 7582617 : OK
ad4extended: type 0x5, start 32162130, end = 32772599, size 610470 : OK
ad4s8: type 0x6, start 32162193, end = 32772599, size 610407 : OK
splash: image decoder found: daemon_saver
xl0: promiscuous mode enabled
xl0: promiscuous mode disabled
(da0:ahc0:0:0:0): tagged openings now 32
(da1:ahc0:0:1:0): tagged openings now 32
(da3:ahc0:0:3:0): tagged openings now 32
(da2:ahc0:0:2:0): tagged openings now 32

#
# Kernel Config File: TITAN
#
# by Andreas Klemm, Sat Sep 25 21:30:05 CEST 1999
#
machine i386
cpu I686_CPU
ident   TITAN
maxusers100

#makeoptionsDEBUG=-g#Build kernel with gdb(1) debug symbols
options INCLUDE_CONFIG_FILE #Include this file in kernel

options INET#Internet communications protocols
#option INET6   #IPv6 communications protocols
#option IPSEC   #IP security
#option IPSEC_ESP   #IP security (crypto; define w/ IPSEC)
#option IPSEC_IPV6FWD   #IP security tunnel for IPv6
##options   IPSEC_DEBUG #debug for IP security

options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep this!]
options MFS #Memory Filesystem
options NFS #Network Filesystem
options MSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
options PROCFS  #Process filesystem
options COMPAT_43   #Compatible with BSD 4.3 [KEEP THIS!]
options UCONSOLE#Allow users to grab the console
options KTRACE  #ktrace(1) syscall trace support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options SOFTUPDATES #Softupdates
options MD5
options NSWAPDEV=4
options COMPAT_LINUX
options SHOW_BUSYBUFS
options P1003_1B
options _KPOSIX_PRIORITY_SCHEDULING
options _KPOSIX_VERSION=199309L
options USER_LDT

#optionsIPX #IPX/SPX communications protocols
#optionsNCP #NetWare Core protocol
#optionsNETATALK#Appletalk communications protocols
#optionsCODA#CODA filesystem.
#pseudo-device  vcoda   4   #coda minicache - venus comm.

# Size of the kernel message buffer.  Should be N * pagesize.
options MSGBUF_SIZE=40960

# To make an SMP kernel, the next two are needed
options SMP # Symmetric MultiProcessor Kernel
options APIC_IO # Symmetric (APIC) I/O
# Optionally these may need tweaked, (defaults shown):
#optionsNCPU=2  # number of CPUs
#optionsNBUS=4  # number of busses
#optionsNAPIC=1 # number of IO APICs
#optionsNINTR=24# number of INTs

# Options for the VM subsystem
#optionsPQ_NOOPT# No coloring
#optionsPQ_LARGECACHE   # color for 512k/16k cache
options PQ_HUGECACHE# color for 1024k/16k cache

device  isa0
#device pnp0# PnP support for ISA
device  pci0

# Floppy drives
device  fdc0at isa? port IO_FD1 irq 6 drq 2
device  fd0 at fdc0 drive 0

# SCSI Controllers
# A single entry for any of these controllers (ncr, ahb, ahc) is
# sufficient for any number of installed devices.
device  ahc0# AHA2940 and onbo

Re: timeout problems HighPoint HPT366 ATA66 controller 40 GB Diamond Max Plus

2000-02-21 Thread Andreas Klemm

Well, this settings

hw.atamodes: ---,---,---,---,pio,---,---,---,---,---,

result still in

ad4: WRITE command timeout - resetting
ata2: resetting devices .. done
ad4: timeout waiting for DRQad4: WRITE command timeout - resetting
ata2: resetting devices .. done
ad4: timeout waiting for DRQ


(was a bonnie -s 100)

-- 
Andreas Klemm  http://www.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
Get new songs from our band: http://www.freebsd.org/~andreas/64bits/index.html



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Doc on setting up NATd under 4.0-CURRENT ..

2000-02-07 Thread Andreas Klemm

On Mon, Feb 07, 2000 at 12:38:26PM -0400, The Hermit Hacker wrote:
 
 Is there any one of these floating around?  List search is still down,
 else would have checked there first ...
 
 And/or, is it the same as 3.x?  We've already got one box up, but I seem
 to recall there being changes to the FIREWALL and whatnot ... but might be
 remembering the wrong thread :(

All I had to do is:

/etc/rc.conf:
firewall_enable="YES"
firewall_type="open"
natd_enable="YES"
natd_interface="ed0"
natd_flags="-log -use_sockets -same_ports -unregistered_only"

kernel config file:
options IPFIREWALL  #firewall
options IPDIVERT#divert sockets

And you need an 'up to date' /etc/rc.firewall, so that this rule
will be executed automatically:

case ${natd_enable} in
[Yy][Ee][Ss])
if [ -n "${natd_interface}" ]; then
  ${fwcmd} add divert natd all from any to any via ${natd_interface}
fi
;;
esac

-- 
Andreas Klemm  http://www.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
Get new songs from our band: http://www.freebsd.org/~andreas/64bits/index.html



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



ata (CDROM mount) and PCCARD problems (xe driver) with 4.0

2000-02-02 Thread Andreas Klemm
 7
device  ppbus   # Parallel port bus (required)
device  lpt # Printer
device  plip# TCP/IP over parallel
device  ppi # Parallel port interface device

# requires PCCARD (PCMCIA) support to be activated
#device xe0 at isa? 
device  xe0 at isa? port? irq ?

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device   loop# Network loopback
pseudo-device   ether   # Ethernet support
pseudo-device   tun # Packet tunnel.
pseudo-device   pty # Pseudo-ttys (telnet etc)
pseudo-device   md  # Memory "disks"

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device   bpf #Berkeley packet filter


-- 
Andreas Klemm  http://www.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
Get new songs from our band: http://www.freebsd.org/~andreas/64bits/index.html



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: ata (CDROM mount) and PCCARD problems (xe driver) with 4.0

2000-02-02 Thread Andreas Klemm

On Wed, Feb 02, 2000 at 10:06:56PM +0100, Soren Schmidt wrote:
 It seems Andreas Klemm wrote:
  
  b) Can't mount cdrom
  
  mount /cdrom
  Device busy
 
 Have you upgraded you /dev entries ??

Sorry, pointy hat party here ... no cdrom was inserted :-(
I thought it was still in 

  # DeviceMountpoint  FStype  Options DumpPass#
  /dev/wd0s2b noneswapsw  0   0
 You should be using ad* for the disks...

O.k., will do that ...sh MAKEDEV ran here ...

-- 
Andreas Klemm  http://www.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
Get new songs from our band: http://www.freebsd.org/~andreas/64bits/index.html



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: ata (CDROM mount) and PCCARD problems (xe driver) with 4.0

2000-02-02 Thread Andreas Klemm

On Wed, Feb 02, 2000 at 04:48:18PM -0500, Ray Kohler wrote:
 On Wed, Feb 02, 2000 at 09:54:04PM +0100, Andreas Klemm wrote:
  b) Can't mount cdrom
  
  mount /cdrom
  Device busy
  
  But I'm not under /cdrom and doesn't have a CD mounted
 
 I always get "Device busy" if I try to mount a CD without one in the
 drive, but it works if I actually put a disk in ;)

Oh god ... I thought it was still in (from being at work) ...
I was so sure ... sorry about that one !

Well, somebody to pass me the hat ...

BTW, what about the xe driver ... do I need 2 hats today ? ;-)

-- 
Andreas Klemm  http://www.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
Get new songs from our band: http://www.freebsd.org/~andreas/64bits/index.html



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



pid 48800 (install), uid 0: exited on signal 12 (core dump)

2000-02-01 Thread Andreas Klemm

Problems to install parts of -current after make world
(upgrade from 3.4-STABLE to 4.0)

I wanted to install config to make a new kernel.

As soon as I do a 
cd config
make install
I get
install -c -s -o root -g wheel -m 555 config /usr/sbin
pid 48800 (install), uid 0: exited on signal 12 (core dump)

It looks, as If I'm stuck here in the installation process...
Luckily I only did a make buildworld ;-)

Any ideas ?

-- 
Andreas Klemm  http://www.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
Get new songs from our band: http://www.freebsd.org/~andreas/64bits/index.html



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: -pipe switch in kernel compilation

2000-01-10 Thread Andreas Klemm

On Mon, Jan 10, 2000 at 04:55:43PM +, George Cox wrote:
 G'day,
 
 While compiling a kernel today, I noticed that the '-pipe' option to gcc
 was not being used.  Is there any reason for this?

I think this is the (historical) default, so that people with
only 4-8 MB of RAM don't get into trouble ;-)

Where 4 MB isn't sufficient anymore with a GENERIC kernel.
You need at least 6 MB or so to boot, then compile a custom
kernel and then, if you are lucky, can perhaps run with 4 MB.

But that information is about 1-2 years old, don't know, if
we perhaps already need 6-8 MB nowadays...
Though it's zillions better than M$ crap.

-- 
Andreas Klemm  http://www.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
Get new songs from our band: http://www.freebsd.org/~andreas/64bits/index.html


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



several procmail jobs hang ...

2000-01-02 Thread Andreas Klemm

A few days ago I updated -current and build /usr/local completely new.
One remaining problem is, that procmail jobs seems to hang. 
First it was a port problem, I installed some (for me) basic services
in /home/local and procmail tried to call /usr/local/bin/formail.
Now I recompiled procmail using normal /usr/local as PREFIX, but
the jobs still hang. After some time they seem to timeout and
mail seems to be delivered. Can't say exactly if I have some mail
loss.

Here, what a ps -axuww shows.

andreas  1038  0.0  0.5  1024  704  ??  INs   7:28PM   0:00.03 procmail -f owner
[EMAIL PROTECTED] -Y -a -d andreas
andreas  1039  0.0  0.5  1024  704  ??  RN7:28PM   0:00.00 procmail -f owner
[EMAIL PROTECTED] -Y -a -d andreas
andreas  1041  0.0  0.5  1024  704  ??  SNs   7:28PM   0:00.59 procmail -f owner
[EMAIL PROTECTED] -Y -a -d andreas
andreas  1338  0.0  0.5  1024  704  ??  INs   7:45PM   0:00.02 procmail -f owner
[EMAIL PROTECTED] -Y -a -d andreas
andreas  1339  0.0  0.5  1024  704  ??  RN7:45PM   0:00.00 procmail -f owner
[EMAIL PROTECTED] -Y -a -d andreas
andreas  1612  0.0  0.5  1024  712  ??  SNs   7:53PM   0:00.04 procmail -f owner
[EMAIL PROTECTED] -Y -a -d andreas
root@titan{1006} $ ps -axuww | grep sendmail
root  173  0.0  0.7  1372 1060  ??  Is7:16PM   0:00.15 sendmail: accepti
ng connections on port 25 (sendmail)
root 1035  0.0  0.7  1420 1124  ??  I 7:28PM   0:00.10 /usr/sbin/sendmai
l -oee -odi -oi -pUUCP [EMAIL PROTECTED] [EMAIL PROTECTED]
root 1040  0.0  0.7  1420 1120  ??  I 7:28PM   0:00.09 /usr/sbin/sendmai
l -oee -odi -oi -pUUCP [EMAIL PROTECTED] [EMAIL PROTECTED]
root 1337  0.0  0.7  1420 1124  ??  I 7:45PM   0:00.08 /usr/sbin/sendmai
l -oee -odi -oi -pUUCP [EMAIL PROTECTED] [EMAIL PROTECTED]
root 1611  0.0  0.7  1420 1128  ??  I 7:53PM   0:00.09 /usr/sbin/sendmai
l -oee -odi -oi -pUUCP [EMAIL PROTECTED] [EMAIL PROTECTED]
.com

When recompiling procmail I noticed, that procmail port has been
updated as well.

Is this port related or might this be due to signal changes in current,
which I read shortly in the lists ???

-- 
Andreas Klemm  http://www.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
Get new songs from our band: http://www.freebsd.org/~andreas/64bits/index.html


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: several procmail jobs hang ...

2000-01-02 Thread Andreas Klemm

Well, found out, that I don't have any problems using the previous
version of procmail 3.13.1.

So it's solved for me now. The remaining question is, is this a 
procmail 3.14 bug, or does the new procmail version introduce
some new features in area where in -current is something wrong.
Not easy to say for me ...

Remains to tell Andrey, that new procmail port is broken for -current.

Andreas ///

On Sun, Jan 02, 2000 at 08:00:03PM +0100, Andreas Klemm wrote:
 A few days ago I updated -current and build /usr/local completely new.
 One remaining problem is, that procmail jobs seems to hang. 
 First it was a port problem, I installed some (for me) basic services
 in /home/local and procmail tried to call /usr/local/bin/formail.
 Now I recompiled procmail using normal /usr/local as PREFIX, but
 the jobs still hang. After some time they seem to timeout and
 mail seems to be delivered. Can't say exactly if I have some mail
 loss.
 
 Here, what a ps -axuww shows.
 
 andreas  1038  0.0  0.5  1024  704  ??  INs   7:28PM   0:00.03 procmail -f owner
 [EMAIL PROTECTED] -Y -a -d andreas
 andreas  1039  0.0  0.5  1024  704  ??  RN7:28PM   0:00.00 procmail -f owner
 [EMAIL PROTECTED] -Y -a -d andreas
 andreas  1041  0.0  0.5  1024  704  ??  SNs   7:28PM   0:00.59 procmail -f owner
 [EMAIL PROTECTED] -Y -a -d andreas
 andreas  1338  0.0  0.5  1024  704  ??  INs   7:45PM   0:00.02 procmail -f owner
 [EMAIL PROTECTED] -Y -a -d andreas
 andreas  1339  0.0  0.5  1024  704  ??  RN7:45PM   0:00.00 procmail -f owner
 [EMAIL PROTECTED] -Y -a -d andreas
 andreas  1612  0.0  0.5  1024  712  ??  SNs   7:53PM   0:00.04 procmail -f owner
 [EMAIL PROTECTED] -Y -a -d andreas
 root@titan{1006} $ ps -axuww | grep sendmail
 root  173  0.0  0.7  1372 1060  ??  Is7:16PM   0:00.15 sendmail: accepti
 ng connections on port 25 (sendmail)
 root 1035  0.0  0.7  1420 1124  ??  I 7:28PM   0:00.10 /usr/sbin/sendmai
 l -oee -odi -oi -pUUCP [EMAIL PROTECTED] [EMAIL PROTECTED]
 root 1040  0.0  0.7  1420 1120  ??  I 7:28PM   0:00.09 /usr/sbin/sendmai
 l -oee -odi -oi -pUUCP [EMAIL PROTECTED] [EMAIL PROTECTED]
 root 1337  0.0  0.7  1420 1124  ??  I 7:45PM   0:00.08 /usr/sbin/sendmai
 l -oee -odi -oi -pUUCP [EMAIL PROTECTED] [EMAIL PROTECTED]
 root 1611  0.0  0.7  1420 1128  ??  I 7:53PM   0:00.09 /usr/sbin/sendmai
 l -oee -odi -oi -pUUCP [EMAIL PROTECTED] [EMAIL PROTECTED]
 .com
 
 When recompiling procmail I noticed, that procmail port has been
 updated as well.
 
 Is this port related or might this be due to signal changes in current,
 which I read shortly in the lists ???
 
 -- 
 Andreas Klemm  http://www.FreeBSD.ORG/~andreas
  http://www.freebsd.org/~fsmp/SMP/SMP.html
powered by Symmetric MultiProcessor FreeBSD
 Get new songs from our band: http://www.freebsd.org/~andreas/64bits/index.html
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-current" in the body of the message

-- 
Andreas Klemm  http://www.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
Get new songs from our band: http://www.freebsd.org/~andreas/64bits/index.html


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



-current runs really fine now (very performant)

1999-12-29 Thread Andreas Klemm

Last days (week?) I silently complaint about slow/hanging xbuffy
process and even mutt reading large inbox (20MB) was very very slow.

Now it is again blindingly fast under -current SMP.

Don't know, what change did it, but thanks to you all !

Andreas ///


-- 
Andreas Klemm  http://www.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
Get new songs from our band: http://www.freebsd.org/~andreas/64bits/index.html


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



can't get vmware to run ( on -current )

1999-12-25 Thread Andreas Klemm

Hi !

Some time ago I fetched your vmware port from internet.
I moved to -current because staroffice5 there is able to run
with a SMP kernel.

When trying to run vmware I encounter the following problems:

This message shows up immediately after program start:

kldload: can't load /usr/local/lib/vmware/lib/modules/vmmon.ko: Exec format error  

Then vmware programs starts, but a message box (which has to be accepted
with ok button) shows an error:

Cannot open /dev/tty0: No such file or directory.
Virtual terminal initialization failed.
Perhaps your kernel is not configured with virtual terminal support.

What am I missing ???

Here my kernel config file:


#
# Kernel Config File: TITAN
#
# by Andreas Klemm, Sat Sep 25 21:30:05 CEST 1999
#
machine i386
cpu I686_CPU
ident   TITAN
maxusers100

#makeoptionsDEBUG=-g#Build kernel with gdb(1) debug symbols
options INCLUDE_CONFIG_FILE #Include this file in kernel

options INET#InterNETworking
options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep this!]
options MFS #Memory Filesystem
options NFS #Network Filesystem
options MSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
options PROCFS  #Process filesystem
options COMPAT_43   #Compatible with BSD 4.3 [KEEP THIS!]
options UCONSOLE#Allow users to grab the console
options KTRACE  #ktrace(1) syscall trace support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options SOFTUPDATES #Softupdates
options MD5
options NSWAPDEV=4
options COMPAT_LINUX
options SHOW_BUSYBUFS
options P1003_1B
options _KPOSIX_PRIORITY_SCHEDULING
options _KPOSIX_VERSION=199309L

#optionsIPX #IPX/SPX communications protocols
#optionsNCP #NetWare Core protocol
#optionsNETATALK#Appletalk communications protocols
#optionsCODA#CODA filesystem.
#pseudo-device  vcoda   4   #coda minicache - venus comm.

# Size of the kernel message buffer.  Should be N * pagesize.
options MSGBUF_SIZE=40960

# To make an SMP kernel, the next two are needed
options SMP # Symmetric MultiProcessor Kernel
options APIC_IO # Symmetric (APIC) I/O
# Optionally these may need tweaked, (defaults shown):
#optionsNCPU=2  # number of CPUs
#optionsNBUS=4  # number of busses
#optionsNAPIC=1 # number of IO APICs
#optionsNINTR=24# number of INTs

# Options for the VM subsystem
#optionsPQ_NOOPT# No coloring
#optionsPQ_LARGECACHE   # color for 512k/16k cache
options PQ_HUGECACHE# color for 1024k/16k cache

controller  isa0
#controller pnp0# PnP support for ISA
controller  pci0

# Floppy drives
controller  fdc0at isa? port IO_FD1 irq 6 drq 2
device  fd0 at fdc0 drive 0

# SCSI Controllers
# A single entry for any of these controllers (ncr, ahb, ahc) is
# sufficient for any number of installed devices.
controller  ahc0# AHA2940 and onboard AIC7xxx devices

# SCSI Options
options SCSI_DELAY=8000 #Be pessimistic about Joe SCSI device
options AHC_ALLOW_MEMIO

# SCSI peripherals
# Only one of each of these is needed, they are dynamically allocated.
controller  scbus0  # SCSI bus (required)
device  da0 # Direct Access (disks)
device  sa0 # Sequential Access (tape etc)
device  cd0 # CD
device  pass0   # Passthrough device (direct SCSI access)

# atkbdc0 controls both the keyboard and the PS/2 mouse
controller  atkbdc0 at isa? port IO_KBD
device  atkbd0  at atkbdc? irq 1
device  psm0at atkbdc? irq 12

device  vga0at isa? port ? conflicts

# splash screen/screen saver
pseudo-device   splash

# syscons is the default console driver, resembling an SCO console
device  sc0 at isa?
options MAXCONS=4   # number of virtual consoles
options SC_HISTORY_SIZE=200 # number of history buffer lines

# Floating point support - do not disable.
device  npx0at nexus? port IO_NPX irq 13

# Serial (COM) ports
device  sio0at isa? port IO_COM1 flags 0x10 irq 4
device  sio1at isa? port IO_COM2 irq

Re: can't get vmware to run ( on -current )

1999-12-25 Thread Andreas Klemm

On Sat, Dec 25, 1999 at 01:11:06PM -0800, Mike Smith wrote:
  Hi !
  
  Some time ago I fetched your vmware port from internet.
  I moved to -current because staroffice5 there is able to run
  with a SMP kernel.
  
  When trying to run vmware I encounter the following problems:
  
  This message shows up immediately after program start:
  
  kldload: can't load /usr/local/lib/vmware/lib/modules/vmmon.ko: Exec format error  
 
 Check the console; you have a mismatch somewhere inbetween the vmmon 
 module and the Linux module, or between the vmmon module and your kernel.

The console shows this message:
link_elf: symbol linux_ioctl_handler_install undefined

Do you have a clue what I should try next ???

Thanks for any help !

Best regards

Andreas ///

-- 
Andreas Klemm  http://www.FreeBSD.ORG/~andreas
 http://www.freebsd.org/~fsmp/SMP/SMP.html
   powered by Symmetric MultiProcessor FreeBSD
Get new songs from our band: http://www.freebsd.org/~andreas/64bits/index.html


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



  1   2   >