Re: IDE drives to avoid ? [was : Re: ATA problems (rehashed)]

2000-10-25 Thread Soren Schmidt

It seems Gerd Knops wrote:
> With these drives and a slightly patched ATA driver (to recognize the  
> onboard promise chipset)

You shouldn't need patches with the latest -stable, and -current for
some time now...

-Søren


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



Re: "Malloc type lacks magic" show-stopper solved

2000-10-25 Thread Jeffrey J. Mountin

At 08:32 AM 10/25/00 +1300, Juha Saarinen wrote:
>In case it helps anyone else, the error in the subject line was due to
>compiler optimisations.
>
>Going back to -O -pipe and rebuilding everything fixed it. Oddly
>enough, -O3 -march=i686 -mcpu=i686 -ffast-math worked fine on 3.3, but not
>on 4.1.1.

While going beyond '-O -pipe' isn't supported, from past discussions it 
appears that the combination of -march= and -mcpu= is an issue.  You could 
drop -mcpu=, which is implied by -march=, or drop the -march= and the error 
may disappear as well.  No guarantee that other problems might not arise or 
the gain being worthwhile, but if you feel adventurous


Jeff Mountin - [EMAIL PROTECTED]
Systems/Network Administrator
FreeBSD - the power to serve



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



Re: All the x11-wm ports b0rken in 4.1.1-STABLE?

2000-10-25 Thread Chris BeHanna

On Thu, 26 Oct 2000, Giorgos Keramidas wrote:

> On Wed, Oct 25, 2000 at 05:13:12PM -0400, Chris BeHanna wrote:
> > If you had these lines in your supfile:
> > 
> > *default release=cvs tag=RELENG_4
> > *default delete use-rel-suffix
> > 
> > then all of that should have been handled already.
> > 
> > You'll also need
> > 
> > ports-all=.

This is wrong (see below).  Sorry about that!

> Correct me someone if I'm wrong here, but doesn't
> 
> ports-all=.
> 
> render the tag=RELENG_4 meaningless?  I mean, why not tag=. in the first
> place?

tag=. updates /usr/src to -CURRENT.  If you're tracking -STABLE,
you don't want that.  ("." means "take the HEAD revision.")

/usr/ports doesn't make the distinction between -STABLE and
-CURRENT.  You want 

ports-all tag=.

to make sure your ports collection is up-to-date.

--
Chris BeHanna
Software Engineer (at yourfit.com)
[EMAIL PROTECTED]




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



RE: All the x11-wm ports b0rken in 4.1.1-STABLE?

2000-10-25 Thread Otter

Juha,
Ask and ye shall receive. Please ignore the fact that I update my docs
with my ports, hence the doc-all line.

kashmir% more /etc/cvsupfile-ports
# IMPORTANT: Change the next line to use one of the CVSup mirror sites
# listed at http://www.freebsd.org/handbook/mirrors.html.
*default host=cvsup6.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix

# If your network link is a T1 or faster, comment out the following
line.
#*default compress

## Ports Collection.
#
# The easiest way to get the ports tree is to use the "ports-all"
# mega-collection.  It includes all of the individual "ports-*"
# collections,
ports-all
doc-all

Hope this was of help.
-Otter

}-Original Message-
}From: [EMAIL PROTECTED]
}[mailto:[EMAIL PROTECTED]]On Behalf Of Juha Saarinen
}Sent: Wednesday, October 25, 2000 9:31 PM
}To: Giorgos Keramidas
}Cc: Chris BeHanna; FreeBSD-Stable
}Subject: Re: All the x11-wm ports b0rken in 4.1.1-STABLE?
}
}
}On Thu, 26 Oct 2000, Giorgos Keramidas wrote:
}
}> On Wed, Oct 25, 2000 at 05:13:12PM -0400, Chris BeHanna wrote:
}> > If you had these lines in your supfile:
}> >
}> > *default release=cvs tag=RELENG_4
}
}   ^^^ - Don't have this one
}
}> > *default delete use-rel-suffix
}
}   ^^^ - But I do have this one.
}
}I'm using the ports-supfile from /usr/share/examples/cvsup.
}
}> > then all of that should have been handled already.
}> >
}> > You'll also need
}> >
}> > ports-all=.
}
}That's not documented anywhere, and it isn't in the example sup file
}either. What does it do?
}
}> Correct me someone if I'm wrong here, but doesn't
}>
}> ports-all=.
}>
}> render the tag=RELENG_4 meaningless?  I mean, why not
}tag=. in the first
}> place?
}
}OK, I'm officially confused now. Could someone kindly post a
}ports-supfile
}that works?
}
}-- Juha
}
}
}
}To Unsubscribe: send mail to [EMAIL PROTECTED]
}with "unsubscribe freebsd-stable" in the body of the message



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



Re: module_register/linker_file_sysinit messages

2000-10-25 Thread Phil Staub

On Wed, Oct 25, 2000 at 10:24:41AM -0400, Jay Sachs wrote:
> > After a fresh install of 4.1R followed by building/installing a new
> > kernel, I now get numerous messages of the following form upon boot:
> > 
> > module_register: module miibus/xmphy already exists!
> > linker_file_sysinit "miibus.ko" failed to register! 17
> > 
> > Could someone point me to the meaning and resolution of this? It's not
> > obvious from manpages, handbook or faq (or at least my searches came
> > up empty). I also did a little poking around in the config files in
> > /boot. The closest thing I could find was an entry in
> > /boot/defaults/loader.conf that said:
> > 
> > miibus_load="NO"# miibus support, needed for some drivers
> > 
> > Should this say "YES"? I'm running ed and xl drivers.
> 
> As a possibly related "me-too", I get this console message as PPPoE
> starts up. I have NETGRAPH, NETGRAPH_PPP and NETGRAPH_PPPOE options set
> in the kernel config, but as soon as ppp makes the connection, I get an
> equivalent message, but related to the negraph.ko module.  Things
> function normally though. 
> 
> In sys/kern/kern_module.c, I see 
> 
>   /* temporary kludge until kernel `file' attachment registers modules */
>   error = module_register(data, linker_kernel_file);
>   if (error)
>   panic("module_register_init: register of module failed! %d",
> error);
>   mod = module_lookupbyname(data->name);
>   if (mod == NULL)
>   panic("module_register_init: module STILL not found!");
> 
> If it's a hack, why not make it a friendlier hack and special-case a
> return of EEXIST from module_register()? Either print a different
> message, or no message at all, perhaps.

I guess I forgot to mention originally that things seem to work fine,
even though there are 11 copies of these messages printed, one each
for the following modules:

miibus/ukphy
miibus/xlphy
miibus/nsphy
miibus/mlphy
miibus/tlphy
miibus/rlphy
miibus/amphy
miibus/dcphy
miibus/pnphy
miibus/brgphy
miibus/xmphy

Also, at the prompting of some offline mail, I tried changing the
miibus_load setting in loader.conf to "YES". That was a big mistake. I
got about to the point of the network startup and ended up with a
panic, signal 12. (I didn't capture the whole message, but since it
went away when I changed miibus_load back to "NO", I didn't worry too
much about it.)

Anyway, I'm not *too* worried about it, since things are running, but
it would be interesting to know if there is an "approved" way to avoid
the messages. It almost looks like something is already compiled into
the kernel when it is trying to be loaded as a kernel module. Not
being that familiar with kld modules, I'm probably showing my
ignorance here.

Thanks, Jay, for the pointer to the source file in which the kernel
seems to be printing this. Maybe I'll do some study in the area to see
what conditions it happens under.

Phil

-- 
Phil Staub, KE7HC
[EMAIL PROTECTED]


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



Re: All the x11-wm ports b0rken in 4.1.1-STABLE?

2000-10-25 Thread Juha Saarinen

On Thu, 26 Oct 2000, Giorgos Keramidas wrote:

> On Wed, Oct 25, 2000 at 05:13:12PM -0400, Chris BeHanna wrote:
> > If you had these lines in your supfile:
> > 
> > *default release=cvs tag=RELENG_4

^^^ - Don't have this one

> > *default delete use-rel-suffix

^^^ - But I do have this one.

I'm using the ports-supfile from /usr/share/examples/cvsup.

> > then all of that should have been handled already.
> > 
> > You'll also need
> > 
> > ports-all=.

That's not documented anywhere, and it isn't in the example sup file
either. What does it do?

> Correct me someone if I'm wrong here, but doesn't
> 
> ports-all=.
> 
> render the tag=RELENG_4 meaningless?  I mean, why not tag=. in the first
> place?

OK, I'm officially confused now. Could someone kindly post a ports-supfile
that works?

-- Juha 



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



Re: Reminder: Just 7 days till 4.2 code freeze!

2000-10-25 Thread Bill Fumerola

On Wed, Oct 25, 2000 at 05:58:38PM -0700, Kris Kennaway wrote:
> Grr. Brian, how many bug reports does it take for you to do something
> about this?

This should either be fixed or entirely backed out by 4.2-RELEASE.

No questions asked.

-- 
Bill Fumerola - Network Architect, BOFH / Chimes, Inc.
[EMAIL PROTECTED] / [EMAIL PROTECTED]





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



Re: Reminder: Just 7 days till 4.2 code freeze!

2000-10-25 Thread Kris Kennaway

Grr. Brian, how many bug reports does it take for you to do something
about this?

Kris

On Wed, Oct 25, 2000 at 07:52:14AM +0400, Igor Roboul wrote:

> Hello, 
> how about this problem:
> 
> %uname -a
> FreeBSD demon.rainbow 4.1.1-STABLE FreeBSD 4.1.1-STABLE #0: Fri Oct 20 09:53:51 MSD 
>2000 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DEMON  i386
> %passwd igor
> Changing local password for igor.
> Old password:
> New password:
> Retype new password:
> passwd: cannot set password cipher: Undefined error: 0
> passwd: /etc/master.passwd: unchanged
> %
> I don't have much shell users. This is Samba server, and for shell users
> I still _can_ encrypt password and insert into /etc/master.passwd. But
> this is not good :-(
> 
> -- 
> Igor Roboul, Unix System Administrator & Programmer @ sanatorium "Raduga", 
> Sochi, Russia
> http://www.brainbench.com/transcript.jsp?pid=304744
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-stable" in the body of the message


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



Re: IDE drives to avoid ? [was : Re: ATA problems (rehashed)]

2000-10-25 Thread Gerd Knops

David Kelly wrote:
> Soren Schmidt writes:
> > The only drives I can recommed are IBM's, but beware the new DTLA
> > series are so fast that some old controllers can have problems with
> > them.
>
> Ditto. This is a system which has me reconsidering the wisdom of SCSI
> for my needs:
>
> CPU: Pentium III/Pentium III Xeon/Celeron (501.14-MHz 686-class CPU)
> Origin = "GenuineIntel"  Id = 0x673  Stepping = 3

>  
Features=0x383f9ff PSE36,MMX,FXSR,XMM> real memory  = 134201344 (131056K bytes)
> avail memory = 127221760 (124240K bytes)
> [...]
> ad0: 14649MB  [29765/16/63] at ata0-master using
> UDMA33
>
> Have seen bonnie report over 22 MB/sec on that drive and system.
> [...]

With these drives and a slightly patched ATA driver (to recognize the  
onboard promise chipset)

ad4: 29314MB  [59560/16/63] at ata2-master using UDMA100
ad6: 29314MB  [59560/16/63] at ata3-master using UDMA100

I get about 35 MB/sec.

Gerd


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



Re: All the x11-wm ports b0rken in 4.1.1-STABLE?

2000-10-25 Thread Giorgos Keramidas

On Wed, Oct 25, 2000 at 05:13:12PM -0400, Chris BeHanna wrote:
> If you had these lines in your supfile:
> 
> *default release=cvs tag=RELENG_4
> *default delete use-rel-suffix
> 
> then all of that should have been handled already.
> 
> You'll also need
> 
> ports-all=.

Correct me someone if I'm wrong here, but doesn't

ports-all=.

render the tag=RELENG_4 meaningless?  I mean, why not tag=. in the first
place?

-- 
Giorgos Keramidas, < keramida @ ceid . upatras . gr >


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



Re: IDE drives to avoid ? [was : Re: ATA problems (rehashed)]

2000-10-25 Thread David Kelly

Soren Schmidt writes:
> The only drives I can recommed are IBM's, but beware the new DTLA series
> are so fast that some old controllers can have problems with them.

Ditto. This is a system which has me reconsidering the wisdom of SCSI 
for my needs:

CPU: Pentium III/Pentium III Xeon/Celeron (501.14-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
  Features=0x383f9ff
real memory  = 134201344 (131056K bytes)
avail memory = 127221760 (124240K bytes)
[...]
ad0: 14649MB  [29765/16/63] at ata0-master using UDMA33

Have seen bonnie report over 22 MB/sec on that drive and system. Then
again this second one is almost sad enough to be funny. OTOH it is
reliable:

FreeBSD 3.5-STABLE #1: Thu Aug 31 10:35:57 CDT 2000
[...]
CPU: AMD Am5x86 Write-Back (486-class CPU)
  Origin = "AuthenticAMD"  Id = 0x4f4  Stepping = 4
  Features=0x1
[...]
chip0:  rev 0x04 on pci0.16.0
chip1:  rev 0x0e on pci0.18.0
ide_pci0:  rev 0x10 on pci0.18.1
[...]
wdc0 at 0x1f0-0x1f7 irq 14 flags 0xd0ffd0ff on isa
wdc0: unit 0 (wd0): , LBA, 32-bit, multi-block-16, sleep-hack
wd0: 14649MB (30003120 sectors), 1867 cyls, 255 heads, 63 S/T, 512 B/S

> And as always I'm interested in reports/patches to the driver to make
> as many drives/controllers work proberly.

Well, last I tried RELENG_4 on the above 5x86 it tried to do busmaster 
on the IDE interface but timed out and fell back to polled mode. That 
was better than the first time I tried 4.0-R and it blew up. Later read 
there was a conflict between ISA ed0 and the new ata code. Splurged on 
the purchase of a DEC 21140 based 10/100 PCI card for $12 and cured 
that problem. If you say it might work now (its a UMC chipset) then 
I'll give it a shot.

--
David Kelly N4HHE, [EMAIL PROTECTED]
=
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.




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



Re: Removing user with "-" in username

2000-10-25 Thread opentrax



On 23 Oct, Brandon D. Valentine wrote:
> On Mon, 23 Oct 2000, Chris Byrnes wrote:
> 
>>awww# rmuser -y irc-argentina
>>Sorry, login name must contain alphanumeric characters only.
>>
>...
> Consensus was that rmuser should remove any username that adduser
> allowed to be created.  There was talk of fixing this.  Then people
> jetted off to BSDCon.  The fix is, learn how to use vipw, edit
> /etc/group, and rm -rf an old home directory.  =)
> 
I should not your suggestion is NOT a fix. In many circles it is
considered a workaround. =)





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



Re: i815 AGP

2000-10-25 Thread Arley Carter

I tweaked your XF86Config file and it works just fine on my i810 with
XFree86 Rel 4.01.

Thanks.

Cheers:
-arc

Arley Carter[EMAIL PROTECTED]
Tradewinds Technologies, Inc.   www.twinds.com
Winston-Salem, NC  USA  Network Engineering & Security  




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



Re: RAID/Vinum or Shared MFS... Recommendations?

2000-10-25 Thread Gregory Bond

> I thought about what I had read
> regarding MFS... that I could make a filesystem in RAM. This being the
> case, couldn't it also be shared via samba? 

Samba interracts with the local filesystem via the normal read()/write()/
open()/close() system calls so doesn't care what the underlying filesystem type
is. IOW it should work for UFS, or MFS, or FAT32, or ISO9660, or even ext2
partitions.




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



Re: Watching DVD on FreeBSD

2000-10-25 Thread Brian Reichert

On Wed, Oct 25, 2000 at 10:51:33AM -0700, dmitry wrote:
> I am sorry this is a little off the topic:
> 
> 1) Has anyone been able to get css-auth patch to work on current/stable? (And 
> was able to watch DVD movies with sound and color at 720x480)

Yes, I have.  I can't get the audio to work, but have been able to
'play' vob files.

Audio is played with 'ac3dec', which built easily enough.  It
seemingly can find audio (doesn't complain, at least) but wedged
the hell out of my soundcard, I had to powercycle to get that
back...

> 2) Can we use some of the LiViD tools? 
> 
> 3) If someone got it to work before, could you give some points on how to get 
> it to work?
> 
> 4) On http://www.opendvd.org there is a link to FreeBSD DVD HowTO. The links 
> that follow from that page are broken: ** What is Nist? **

Don't use nist.  Look for 'DecVOB'.

I have source/binaries that work under 4.1-R.

> Thank you,

Good luck.  Let me know if you need specifics...

> -dmitry

-- 
Brian 'you Bastard' Reichert<[EMAIL PROTECTED]>
37 Crystal Ave. #303Daytime number: (603) 434-6842
Derry NH 03038-1713 USA Intel architecture: the left-hand path


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



Watching DVD on FreeBSD

2000-10-25 Thread dmitry

I am sorry this is a little off the topic:

1) Has anyone been able to get css-auth patch to work on current/stable? (And 
was able to watch DVD movies with sound and color at 720x480)

2) Can we use some of the LiViD tools? 

3) If someone got it to work before, could you give some points on how to get 
it to work?

4) On http://www.opendvd.org there is a link to FreeBSD DVD HowTO. The links 
that follow from that page are broken: ** What is Nist? **

Thank you,

-dmitry






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