Re: amd(8) on port 631?? [SOLVED]

2005-03-13 Thread Matthias Schuendehuette
Hi Sean,

Am Sonntag, 13. März 2005 05:33 schrieb Sean Winn:
> On 13/03/2005, at 10:00 AM, Matthias Schuendehuette wrote:
> > Hi,
> >
> > since the last system update today (5.4-PRERELEASE) the
> > automountdaemon
> > amd(8) grabs port tcp/631 which prevents cupsd(8) from starting
> > which in turn prevents smbd(8)/SAMBA from starting.
>
> AMD allocates a random "reserved" port (<1024) - it just hits on 631
> in this case.
>
> Try changing the sysctls:
>
> net.inet.ip.portrange.lowfirst: 1023
> net.inet.ip.portrange.lowlast: 600
>
> (those are the default on my 5.4-PRE/i386 box)

Thanks a lot. I set "net.inet.ip.portrange.lowlast=599" 
in /etc/sysctl.conf and now amd(8) picks port 890 ...

Somtimes randomness is really funny - I don't think that there's 
something to understand...

Anyway - Problem solved! Thanks a lot again!

Matt
-- 
Ciao/BSD - Matthias

Matthias Schuendehuette , Berlin (Germany)
PGP-Key at  and  ID: 0xDDFB0A5F
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Just a sanity check before I sumbit a buig report

2005-03-13 Thread Jilles Tjoelker
On Fri, Mar 11, 2005 at 02:13:54PM -0600, Jon Noack wrote:
> Pete French wrote:
> >>Why does sysconf(_SC_CLK_TCK) always returns 128?  Check out sysconf() 
> >>in src/lib/libc/gen/sysconf.c (lines 83-84 of rev. 1.10):

> >[follow through of code showing it is defined as a constant snipped]

> sysconf(3) states that _SC_CLK_TCK is the "frequency of the statistics 
> clock in ticks per second."  Considering this value varies, returning a 
> constant is wrong.  Feel free to attach my email on the PR.

An important use for sysconf(_SC_CLK_TCK) is to specify the rate of the
results of times(3). (I don't know how many applications call that
stupid function, getrusage() having been available for so long ;-)
Currently, src/lib/libc/gen/times.c compiles this in just like sysconf.c
does. So that's all ok; times.c will have to be modified too if
sysconf(_SC_CLK_TCK) changes. 

getrusage(2) says that ru_ixrss is based on "statistics clock ticks"
with a frequency of sysconf(_SC_CLK_TCK). This cannot be right.
In other systems, getrusage often only really supports the timeval
fields and perhaps the fault and swap counts; if it is supported, the
ru_i?rss ticks are often not described at all or they are something
strange like one per second. Consequently, this facility is nonportable
and the tick frequency should be described using sysctl().

-- 
Jilles Tjoelker
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Flash player sound solution

2005-03-13 Thread Andre Albsmeier
On Sat, 12-Mar-2005 at 22:21:35 -0800, Joshua Tinnin wrote:
> On Saturday 12 March 2005 05:42 am, James McNaughton 
> <[EMAIL PROTECTED]> wrote:
> > The Problem:
> >
> > Using native Mozilla and
> > linuxpluginwrapper/linux-flashplugin (on 4.10-stable
> > et al) to view flash content results in no sound and
> > occasional Mozilla freezes.
> >
> > The Solution:
> >
> > Run esd.
> >
> > How:
> >
> > I was searching the web for the solution, and got
> > nowhere. There didn't seem to be anyone who had gotten
> > it to work. Linux mailing lists noted a problem with
> > file permissions on /dev/snd or /dev/pcm* depending on
> > the sound system drivers installed. My /dev/pcm* file
> > permissions were all rw to begin with, so this didn't
> > help.
> >
> > I wondered what device the plugin was actually trying
> > to access, so I did "strings
> > /usr/local/lib/linux-flashplugin6/libflashplayer.so"
> > and found /dev/dsp and /dev/mixer. Nearby in the list
> > I noticed a few lines relating to esd. From a command
> > line I started esd and went back to view some content
> > that had previously frozen Mozilla, and there was
> > sound coming out my speakers and the browser did not
> > hang.
> >
> > I had long suspected the browser hangs were related to
> > sound in the flash content. My results seem to confirm
> > that suspicion.
> 
> Do you have an example (or two or more) of a page that causes the crash? 
> I'd like to test this on 5.3-R. I know I used to have an email around 
> here somewhere with examples ...

Speaking of flashplugin crashes: There is some flash content
out there which makes my firefox crash (not due to sound but
for some other reasons). One example is:

http://cgi.ebay.de/ws/eBayISAPI.dll?ViewItem&item=5961030392

I'd like to know if other people also experience crashes
when viewing this page. The flash content isn't obvious
to find: When the page has opened search for the string
"Setzen Sie die Andale Gallery". Directly above is the
flash part. I can only view this page when disabling
the linux-flashplugin :-(

Thanks,

-Andre
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Flash player sound solution

2005-03-13 Thread Chris Hodgins
Andre Albsmeier wrote:
On Sat, 12-Mar-2005 at 22:21:35 -0800, Joshua Tinnin wrote:
On Saturday 12 March 2005 05:42 am, James McNaughton 
<[EMAIL PROTECTED]> wrote:

The Problem:
Using native Mozilla and
linuxpluginwrapper/linux-flashplugin (on 4.10-stable
et al) to view flash content results in no sound and
occasional Mozilla freezes.
The Solution:
Run esd.
How:
I was searching the web for the solution, and got
nowhere. There didn't seem to be anyone who had gotten
it to work. Linux mailing lists noted a problem with
file permissions on /dev/snd or /dev/pcm* depending on
the sound system drivers installed. My /dev/pcm* file
permissions were all rw to begin with, so this didn't
help.
I wondered what device the plugin was actually trying
to access, so I did "strings
/usr/local/lib/linux-flashplugin6/libflashplayer.so"
and found /dev/dsp and /dev/mixer. Nearby in the list
I noticed a few lines relating to esd. From a command
line I started esd and went back to view some content
that had previously frozen Mozilla, and there was
sound coming out my speakers and the browser did not
hang.
I had long suspected the browser hangs were related to
sound in the flash content. My results seem to confirm
that suspicion.
Do you have an example (or two or more) of a page that causes the crash? 
I'd like to test this on 5.3-R. I know I used to have an email around 
here somewhere with examples ...

Speaking of flashplugin crashes: There is some flash content
out there which makes my firefox crash (not due to sound but
for some other reasons). One example is:
http://cgi.ebay.de/ws/eBayISAPI.dll?ViewItem&item=5961030392
I'd like to know if other people also experience crashes
when viewing this page. The flash content isn't obvious
to find: When the page has opened search for the string
"Setzen Sie die Andale Gallery". Directly above is the
flash part. I can only view this page when disabling
the linux-flashplugin :-(
Thanks,
	-Andre
That worked ok for me without crashing.  One site that I know always 
crashes my browser is this one:  http://www.flickr.com/photos/

Just click on any of the photos there and the new page will load up and 
crash.  If anyone cares I have attached the backtrace from the crash below.

This is what I have installed:
[EMAIL PROTECTED]:/usr/home/chris$ ls -d /var/db/pkg/firefox-*
/var/db/pkg/firefox-1.0.1_1,1  /var/db/pkg/firefox-remote-20040803
[EMAIL PROTECTED]:/usr/home/chris$ ls -d /var/db/pkg/linux*
/var/db/pkg/linux-XFree86-libs-4.3.99.902_2
/var/db/pkg/linux-atk-1.2.0_2
/var/db/pkg/linux-expat-1.95.5_2
/var/db/pkg/linux-flashplugin-5.0r51_2
/var/db/pkg/linux-flashplugin-6.0r79_2
/var/db/pkg/linux-fontconfig-2.1_2
/var/db/pkg/linux-glib2-2.2.1_2
/var/db/pkg/linux-jpeg-6b.15_3
/var/db/pkg/linux-png-1.2.7_4
/var/db/pkg/linux-sun-jdk-1.4.2.06_1
/var/db/pkg/linux_base-8-8.0_6
/var/db/pkg/linuxpluginwrapper-20050110
I have been bad at updating this month so I may be behind in ports and 
this has already been fixed.

Chris
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1 (LWP 100180)]
0x2a42a584 in HashTable::ForEach ()
   from /usr/local/lib/linux-flashplugin6/libflashplayer.so
(gdb) bt full
#0  0x2a42a584 in HashTable::ForEach ()
   from /usr/local/lib/linux-flashplugin6/libflashplayer.so
No symbol table info available.
#1  0x2a4f3679 in FontDirectory::ForEach ()
   from /usr/local/lib/linux-flashplugin6/libflashplayer.so
No symbol table info available.
#2  0x2a4f1009 in PlatformFontUtils::GetFontList ()
   from /usr/local/lib/linux-flashplugin6/libflashplayer.so
No symbol table info available.
#3  0x2a4b8517 in TextFieldDispatchProc ()
   from /usr/local/lib/linux-flashplugin6/libflashplayer.so
No symbol table info available.
#4  0x2a49c304 in CorePlayer::DoCallFunction ()
   from /usr/local/lib/linux-flashplugin6/libflashplayer.so
No symbol table info available.
#5  0x2a495d26 in CorePlayer::DoActions ()
   from /usr/local/lib/linux-flashplugin6/libflashplayer.so
No symbol table info available.
#6  0x2a48849c in ScriptPlayer::PushDataComplete ()
   from /usr/local/lib/linux-flashplugin6/libflashplayer.so
No symbol table info available.
#7  0x2a47c654 in ScriptPlayer::PushImageData ()
   from /usr/local/lib/linux-flashplugin6/libflashplayer.so
---Type  to continue, or q  to quit---
No symbol table info available.
#8  0x2a4a027c in CorePlayer::UrlStreamWriteNotify ()
   from /usr/local/lib/linux-flashplugin6/libflashplayer.so
No symbol table info available.
#9  0x2a4a0247 in CorePlayer::UrlStreamWrite ()
   from /usr/local/lib/linux-flashplugin6/libflashplayer.so
No symbol table info available.
#10 0x2a4ab6d8 in URLStream::StreamWrite ()
   from /usr/local/lib/linux-flashplugin6/libflashplayer.so
No symbol table info available.
#11 0x2a4fbc29 in NPP_Write ()
   from /usr/local/lib/linux-flashplugin6/libflashplayer.so
No symbol table info available.
#12 0x2a4f9b10 in Private_Write ()
   from /usr/local/lib/linux-flashplugin6/libflashplayer.so
No symbol table info available.

Re: Just a sanity check before I sumbit a buig report

2005-03-13 Thread Pete French
> getrusage(2) says that ru_ixrss is based on "statistics clock ticks"
> with a frequency of sysconf(_SC_CLK_TCK). This cannot be right.

H... it was trying to interpret the results from getrusage which lead
me to finding the bug. I notice that /usr/bin/time does a sysctl to get
the clock rate in order to interpret the return values from getrusage.

-pcf.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: panic: mutex vm object not owned

2005-03-13 Thread Gavin Atkinson
On Fri, 11 Mar 2005, Alan Cox wrote:

> I'm pretty sure that I understand the cause.  Please apply and test
> the attached patch.

[snip patch-agp]

Sorry for the delay in getting back yo you, this patch does indeed fix the
problem.

Thanks!

Gavin
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Flash player sound solution

2005-03-13 Thread Andre Albsmeier
On Sun, 13-Mar-2005 at 17:18:13 +, Chris Hodgins wrote:
> Andre Albsmeier wrote:
> >On Sat, 12-Mar-2005 at 22:21:35 -0800, Joshua Tinnin wrote:
> >
> >>On Saturday 12 March 2005 05:42 am, James McNaughton 
> >><[EMAIL PROTECTED]> wrote:
> >>
> >>>The Problem:
> >>>
> >>>Using native Mozilla and
> >>>linuxpluginwrapper/linux-flashplugin (on 4.10-stable
> >>>et al) to view flash content results in no sound and
> >>>occasional Mozilla freezes.
> >>>
> >>>The Solution:
> >>>
> >>>Run esd.
> >>>
> >>>How:
> >>>
> >>>I was searching the web for the solution, and got
> >>>nowhere. There didn't seem to be anyone who had gotten
> >>>it to work. Linux mailing lists noted a problem with
> >>>file permissions on /dev/snd or /dev/pcm* depending on
> >>>the sound system drivers installed. My /dev/pcm* file
> >>>permissions were all rw to begin with, so this didn't
> >>>help.
> >>>
> >>>I wondered what device the plugin was actually trying
> >>>to access, so I did "strings
> >>>/usr/local/lib/linux-flashplugin6/libflashplayer.so"
> >>>and found /dev/dsp and /dev/mixer. Nearby in the list
> >>>I noticed a few lines relating to esd. From a command
> >>>line I started esd and went back to view some content
> >>>that had previously frozen Mozilla, and there was
> >>>sound coming out my speakers and the browser did not
> >>>hang.
> >>>
> >>>I had long suspected the browser hangs were related to
> >>>sound in the flash content. My results seem to confirm
> >>>that suspicion.
> >>
> >>Do you have an example (or two or more) of a page that causes the crash? 
> >>I'd like to test this on 5.3-R. I know I used to have an email around 
> >>here somewhere with examples ...
> >
> >
> >Speaking of flashplugin crashes: There is some flash content
> >out there which makes my firefox crash (not due to sound but
> >for some other reasons). One example is:
> >
> >http://cgi.ebay.de/ws/eBayISAPI.dll?ViewItem&item=5961030392
> >
> >I'd like to know if other people also experience crashes
> >when viewing this page. The flash content isn't obvious
> >to find: When the page has opened search for the string
> >"Setzen Sie die Andale Gallery". Directly above is the
> >flash part. I can only view this page when disabling
> >the linux-flashplugin :-(
> >
> >Thanks,
> >
> > -Andre
> 
> That worked ok for me without crashing.  One site that I know always 

Hmm, I think the ebay stuff is very dynamic. Maybe there are
some local browser settings which influence the output.
Did you find the flash content in the page?

> crashes my browser is this one:  http://www.flickr.com/photos/
> 
> Just click on any of the photos there and the new page will load up and 
> crash.  If anyone cares I have attached the backtrace from the crash below.

Same here :-(.

-Andre
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Flash player sound solution

2005-03-13 Thread Chris Hodgins
Andre Albsmeier wrote:
On Sun, 13-Mar-2005 at 17:18:13 +, Chris Hodgins wrote:
Andre Albsmeier wrote:
On Sat, 12-Mar-2005 at 22:21:35 -0800, Joshua Tinnin wrote:

On Saturday 12 March 2005 05:42 am, James McNaughton 
<[EMAIL PROTECTED]> wrote:


The Problem:
Using native Mozilla and
linuxpluginwrapper/linux-flashplugin (on 4.10-stable
et al) to view flash content results in no sound and
occasional Mozilla freezes.
The Solution:
Run esd.
How:
I was searching the web for the solution, and got
nowhere. There didn't seem to be anyone who had gotten
it to work. Linux mailing lists noted a problem with
file permissions on /dev/snd or /dev/pcm* depending on
the sound system drivers installed. My /dev/pcm* file
permissions were all rw to begin with, so this didn't
help.
I wondered what device the plugin was actually trying
to access, so I did "strings
/usr/local/lib/linux-flashplugin6/libflashplayer.so"
and found /dev/dsp and /dev/mixer. Nearby in the list
I noticed a few lines relating to esd. From a command
line I started esd and went back to view some content
that had previously frozen Mozilla, and there was
sound coming out my speakers and the browser did not
hang.
I had long suspected the browser hangs were related to
sound in the flash content. My results seem to confirm
that suspicion.
Do you have an example (or two or more) of a page that causes the crash? 
I'd like to test this on 5.3-R. I know I used to have an email around 
here somewhere with examples ...

Speaking of flashplugin crashes: There is some flash content
out there which makes my firefox crash (not due to sound but
for some other reasons). One example is:
http://cgi.ebay.de/ws/eBayISAPI.dll?ViewItem&item=5961030392
I'd like to know if other people also experience crashes
when viewing this page. The flash content isn't obvious
to find: When the page has opened search for the string
"Setzen Sie die Andale Gallery". Directly above is the
flash part. I can only view this page when disabling
the linux-flashplugin :-(
Thanks,
	-Andre
That worked ok for me without crashing.  One site that I know always 

Hmm, I think the ebay stuff is very dynamic. Maybe there are
some local browser settings which influence the output.
Did you find the flash content in the page?
Yes.  I found it and clicked on a few things and it seemed to be ok.

crashes my browser is this one:  http://www.flickr.com/photos/
Just click on any of the photos there and the new page will load up and 
crash.  If anyone cares I have attached the backtrace from the crash below.

Same here :-(.
-Andre
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Flash player sound solution

2005-03-13 Thread Scott Robbins
On Sun, Mar 13, 2005 at 05:58:48PM +0100, Andre Albsmeier wrote:
> On Sat, 12-Mar-2005 at 22:21:35 -0800, Joshua Tinnin wrote:
> > On Saturday 12 March 2005 05:42 am, James McNaughton 
> > <[EMAIL PROTECTED]> wrote:
> > > The Problem:
> > >
> > > Using native Mozilla and
> > > linuxpluginwrapper/linux-flashplugin (on 4.10-stable
> > > et al) to view flash content results in no sound and
> > > occasional Mozilla freezes.
> > >
> > > The Solution:
> > >
> > > Run esd.
> > >
> 
> Speaking of flashplugin crashes: There is some flash content
> out there which makes my firefox crash (not due to sound but
> for some other reasons). One example is:
> 
> http://cgi.ebay.de/ws/eBayISAPI.dll?ViewItem&item=5961030392
> 
> I'd like to know if other people also experience crashes
> when viewing this page. The flash content isn't obvious
> to find: When the page has opened search for the string
> "Setzen Sie die Andale Gallery". Directly above is the
> flash part. I can only view this page when disabling
> the linux-flashplugin :-(

That page worked for me, but...


There are a few pages out there that will crash FreeBSD native firefox
with linuxpluginwrapper, at least.   The problem doesn't occur in Linux,
and most of the time, these sites will work with FreeBSD's linux-opera
(and the linuxpluginwrapper).


http://www.tvguide.com 
http://www.espn.com 

are two examples that always crash it for me, and apparently for most
poeple on BSD forums.


-- 

Scott Robbins

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Willy: What are you gonna' do with him, anyway? 
Spike: I'm thinkin' maybe dinner and a movie. I don't want to 
rush into anything. I've been hurt, you know. 



pgpgMrTLryMi6.pgp
Description: PGP signature


Re[2]: New Nforce2 variant doesn't recognize SATA as SATA

2005-03-13 Thread Michael Lednev
Hello, secmgr.

On 12 ìàðòà 2005 ã., 1:52:50 you wrote:

you can look here http://www.freebsd.org/cgi/query-pr.cgi?pr=75540
this patch adds support for nforce3 and 4 sata controllers, i think
with little modification it will do for nforce2

-- 
Best regards,
 Michael  mailto:[EMAIL PROTECTED]

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Flash player sound solution

2005-03-13 Thread Chris Hodgins
Scott Robbins wrote:
On Sun, Mar 13, 2005 at 05:58:48PM +0100, Andre Albsmeier wrote:
On Sat, 12-Mar-2005 at 22:21:35 -0800, Joshua Tinnin wrote:
On Saturday 12 March 2005 05:42 am, James McNaughton 
<[EMAIL PROTECTED]> wrote:

The Problem:
Using native Mozilla and
linuxpluginwrapper/linux-flashplugin (on 4.10-stable
et al) to view flash content results in no sound and
occasional Mozilla freezes.
The Solution:
Run esd.
Speaking of flashplugin crashes: There is some flash content
out there which makes my firefox crash (not due to sound but
for some other reasons). One example is:
http://cgi.ebay.de/ws/eBayISAPI.dll?ViewItem&item=5961030392
I'd like to know if other people also experience crashes
when viewing this page. The flash content isn't obvious
to find: When the page has opened search for the string
"Setzen Sie die Andale Gallery". Directly above is the
flash part. I can only view this page when disabling
the linux-flashplugin :-(

That page worked for me, but...
There are a few pages out there that will crash FreeBSD native firefox
with linuxpluginwrapper, at least.   The problem doesn't occur in Linux,
and most of the time, these sites will work with FreeBSD's linux-opera
(and the linuxpluginwrapper).
http://www.tvguide.com 
http://www.espn.com 

are two examples that always crash it for me, and apparently for most
poeple on BSD forums.

Interesting.  Both of those sites hang but don't crash as such.  Wierd.
Chris
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


almost there

2005-03-13 Thread lucas
hi... sory, i do not have much time to use my computer lately. i'll try 
to explain what's going on my
notebook.
my notebook is an toshiba A20, 256mb ram, hd 40 ide..
let's start.. i put the cd (i made the download here: 
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/5.3/5.3-RELEASE-i386-disc1.iso 

and here:
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/5.3/5.3-RELEASE-i386-disc2.iso 

) inside my drive. and restart the computer.
first i chose the option number 6,
and i set this option: "set hw.pci.enable_io_modes=0",
and boot.
the boot starts normally, until this:
acd0: CDRW  at ata1-master UDMA33
acd0: TIMEOUT-READ_BIG retrying (2 retries left)
acd0: FAILURE-READ_BIG timed out
acd0: TIMEOUT-READ_BIG retrying (2 retries left)
acd0: FAILURE-READ_BIG timed out
acd0: TIMEOUT-READ_BIG retrying (2 retries left)
acd0: FAILURE-READ_BIG timed out
acd0: TIMEOUT-READ_BIG retrying (2 retries left)
acd0: FAILURE-READ_BIG timed out
at this point the sysinstall starts...
on the sysinstall main window, i choose the Standard option.
i choose the partition to install...
the BootMgr...
on the FreeBSD disklabel editor, i use the "A" option, for defaults...
on the "Choose Instalation Media" (the problem is here), i got this 
message:
 Error mounting /dev/acd0 on /dist: Input/output error (5)

that's it... what can i do? anything else you can send an email.. ok, 
thanks..
sory about my bad english...
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ATA regression with 5.4-PRERELEASE

2005-03-13 Thread Oleg V. Nauman

   I have some regression (or anti-regression?) with ATA on my
home system (RELENG_5 from last Friday)
I have had bad IDE 80-conductor cable, so I temporary switched
two my ATA devices with old 40-conductor cable on the secondary IDE
channel.
Now I have something strange: my SAMSUNG SP0411N HDD on the secondary IDE
channel detected again as UDMA100 device, but works with errors (as expected
anyway in this situation).
ATA controller on my system (from dmesg output):
atapci0:  port 
0xd000-0xd00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
and my devices:
ad0: 19130MB  [38869/16/63] at ata0-master UDMA100
ad1: 38166MB  [77545/16/63] at ata0-slave UDMA100
acd0: CDROM  at ata1-master PIO4
ad3: 38204MB  [77622/16/63] at ata1-slave UDMA100
ad3: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
ad3: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
ad3: FAILURE - READ_DMA status=51 error=84 LBA=63

So: where is my UDMA33 or PIO4? :)

-- 
NO37-RIPE


pgpej6egtFxDb.pgp
Description: PGP signature


Re: Re[2]: New Nforce2 variant doesn't recognize SATA as SATA

2005-03-13 Thread security
Quoting Michael Lednev <[EMAIL PROTECTED]>:
Hello, secmgr.
On 12 ìàðòà 2005 ã., 1:52:50 you wrote:
you can look here http://www.freebsd.org/cgi/query-pr.cgi?pr=75540
this patch adds support for nforce3 and 4 sata controllers, i think
with little modification it will do for nforce2
Michael,
   Many thanks!  I'll include my diff's below from 5.3 release
diff -Naur sys/dev/ata/ata-pci.h.orig sys/dev/ata/ata-pci.h
--- sys/dev/ata/ata-pci.h.orig  Thu Mar 10 14:02:23 2005
+++ sys/dev/ata/ata-pci.h   Sun Mar 13 12:18:14 2005
@@ -132,6 +132,7 @@
 #define ATA_NFORCE10x01bc10de
 #define ATA_NFORCE20x006510de
 #define ATA_NFORCE2_MCP0x008510de
+#define ATA_NFORCE2_MCP_S2 0x008e10de
 #define ATA_NFORCE30x00d510de
 #define ATA_NFORCE3_PRO0x00e510de
 #define ATA_NFORCE3_PRO_S1 0x00e310de
diff -Naur sys/dev/ata/ata-chipset.c.orig sys/dev/ata/ata-chipset.c
--- sys/dev/ata/ata-chipset.c.orig  Sun Mar 13 12:20:03 2005
+++ sys/dev/ata/ata-chipset.c   Sun Mar 13 12:57:03 2005
@@ -1112,6 +1112,7 @@
 {{ ATA_NFORCE1, 0, AMDNVIDIA, NVIDIA, ATA_UDMA5, "nVidia nForce" },
  { ATA_NFORCE2, 0, AMDNVIDIA, NVIDIA, ATA_UDMA6, "nVidia nForce2" },
  { ATA_NFORCE2_MCP, 0, AMDNVIDIA, NVIDIA, ATA_UDMA6, "nVidia nForce2 MCP"
},
+ { ATA_NFORCE2_MCP_S2, 0, AMDNVIDIA, NVIDIA, ATA_SA150, "nVidia nForce2
MCP_S2" },
  { ATA_NFORCE3, 0, AMDNVIDIA, NVIDIA, ATA_UDMA6, "nVidia nForce3" },
  { ATA_NFORCE3_PRO, 0, AMDNVIDIA, NVIDIA, ATA_UDMA6, "nVidia nForce3 Pro"
},
  { ATA_NFORCE3_MCP, 0, AMDNVIDIA, NVIDIA, ATA_UDMA6, "nVidia nForce3 MCP"
},
@@ -2861,9 +2862,17 @@
 static int
 ata_check_80pin(struct ata_device *atadev, int mode)
 {
+device_t parent = device_get_parent(atadev->channel->dev);
+struct ata_pci_controller *ctlr = device_get_softc(parent);
+
+if (mode >= ATA_UDMA2 && mode < ATA_SA150 && ctlr->chip->max_dma >=
ATA_SA150) {
+   ata_prtdev(atadev,"DMA set to SA150 for any device attached to SATA
controller\n");
+   return ATA_SA150;
+}
+
 if (mode > ATA_UDMA2 && !(atadev->param->hwres & ATA_CABLE_ID)) {
ata_prtdev(atadev,"DMA limited to UDMA33, non-ATA66 cable or
device\n");
-   mode = ATA_UDMA2;
+   return ATA_UDMA2;
 }
 return mode;
 }



This message was sent using IMP, the Internet Messaging Program.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Flash player sound solution

2005-03-13 Thread Scott Robbins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, Mar 13, 2005 at 06:50:01PM +, Chris Hodgins wrote:
> Scott Robbins wrote:
> >
> >
> >There are a few pages out there that will crash FreeBSD native firefox
> >with linuxpluginwrapper, at least.   The problem doesn't occur in Linux,
> >and most of the time, these sites will work with FreeBSD's linux-opera
> >(and the linuxpluginwrapper).
> >
> >
> >http://www.tvguide.com 
> >http://www.espn.com 
> >
> >are two examples that always crash it for me, and apparently for most
> >poeple on BSD forums.
> >
> >
> 
> Interesting.  Both of those sites hang but don't crash as such.  Wierd.


Chris, and others, I apologize, hang is what they do and I shouldn't
have loosely used the word "crash."

What happens is (again, judging from some threads on freebsdforums, to
everyone who tries ) is that if one opens the site, it'll begin to load
and finally freeze, to the point, at least on my machine, where the only
way to stop it is to find the PID and kill it.  


- -- 

Scott Robbins

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Xander: I laugh in the face of danger.  Then I hide until it
goes away
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCNLrb+lTVdes0Z9YRAghWAJ9S56tVRXmTXNuTkcghw97bSTRslQCfUgZH
+pT83IKDcNnA1O46OVrc91Y=
=ylx6
-END PGP SIGNATURE-
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Diagnostic tools for external hard drives?

2005-03-13 Thread Stephan Uphoff
On Sat, 2005-03-12 at 15:54, Torfinn Ingolfsen wrote:
> Hello,
> 
> Does FreeBSD (stable) have any tools that I can use to run diagnostics
> on an external hard drive?
> 
> I have a Maxtor One Touch 250GB external hard drive (the one with both
> USB and Firewire connectors). This is connected to my FreeBSD 5-stable
> machine with firewire.
> 
> >From /var/log/messages:
> Mar 12 21:29:38 kg-work kernel: da1 at sbp0 bus 0 target 1 lun 0
> Mar 12 21:29:38 kg-work kernel: da1:  Fixed Direct
> Access SCSI-4 device 
> Mar 12 21:29:38 kg-work kernel: da1: 50.000MB/s transfers 
> Mar 12 21:29:38 kg-work kernel: da1: 239371MB (490232832 512
> byte sectors: 255H 63S/T 30515C)
> 
> Today the drive suddenly stopped working, and when I try to mount it now
> it says:
> [EMAIL PROTECTED] mount /dev/da1s1e /mnt
> mount: /dev/da1s1e: Input/output error
> 
> In /var/log/messages I see lots of error messages
> (see attached file).
> 
> Maxtor have a (Windows-only) tool that will do diagnostics, but only on
> "One Touch II" drives, not on those who are only "One Touch".
> So any tool I can use under FreeBSD will help. The drive is still under
> warranty, so I will not open it (yet).
> 
> Any hints appreciated.

>Mar 12 21:48:27 kg-work kernel: (da1:sbp0:0:1:0): READ(10). CDB: 28 0 0
0 0 4f 0 0 10 0 

Reading 0x10 = 16 sectors = 8k starting at sector 0x4f = 79

> MEDIUM ERROR asc:4b,0

The asc is a bit strange. However Medium Error can also be used as
"Something is wrong and I don't know what" ;-)

I would try to read sectors using dd.

dd if=/dev/da1 of=/dev/null bs=512 iseek=79 count=1
...
dd if=/dev/da1 of=/dev/null bs=512 iseek=88 count=1

and some unrelated sectors 

dd if=/dev/da1 of=/dev/null bs=512 iseek=0 count=1

If only a single sector (or a few) can not be read I would try to write
zero to the sectors.This may clear the media error. (The previous data
is obviously lost)

Example:
dd if=/dev/zero of=/dev/da1 bs=512 oseek=79 count=1

Good luck
Stephan

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ow yeah

2005-03-13 Thread lucas galete
i made it, 
i set this options to the boot:

set hw.pci.enable_io_modes=0
set hw.ata.atapi_dma=0
and it work ok..
thats not so hard to install the freebsd : )
thats it. thanks for all...
 - - 
I think 
You are some problems with your CD-Rom reader,
Sometime CD Reader is not working well with CD-R or other burned CD's 
very frequent for me, 
hardware is not error free,  :-) 

hi,
darek

Il giorno dom, 13-03-2005 alle 16:49 -0300, lucas ha scritto:
hi... sory, i do not have much time to use my computer lately. i'll try 
to explain what's going on my
notebook.
my notebook is an toshiba A20, 256mb ram, hd 40 ide..
let's start.. i put the cd (i made the download here: 
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/5.3/5.3-RELEASE-i386-disc1.iso 

and here:
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/5.3/5.3-RELEASE-i386-disc2.iso 

) inside my drive. and restart the computer.
first i chose the option number 6,
and i set this option: "set hw.pci.enable_io_modes=0",
and boot.
the boot starts normally, until this:
acd0: CDRW  at ata1-master UDMA33
acd0: TIMEOUT-READ_BIG retrying (2 retries left)
acd0: FAILURE-READ_BIG timed out
acd0: TIMEOUT-READ_BIG retrying (2 retries left)
acd0: FAILURE-READ_BIG timed out
acd0: TIMEOUT-READ_BIG retrying (2 retries left)
acd0: FAILURE-READ_BIG timed out
acd0: TIMEOUT-READ_BIG retrying (2 retries left)
acd0: FAILURE-READ_BIG timed out
 at this point the sysinstall starts...
on the sysinstall main window, i choose the Standard option.
i choose the partition to install...
the BootMgr...
on the FreeBSD disklabel editor, i use the "A" option, for defaults...
on the "Choose Instalation Media" (the problem is here), i got this 
message:
  Error mounting /dev/acd0 on /dist: Input/output error (5)

that's it... what can i do? anything else you can send an email.. ok, 
thanks..
 sory about my bad english...
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


 

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


make release seg faulting in compileFonts

2005-03-13 Thread Anshuman Kanwar
Hi,

I am trying to make release in the following manner :

make release CHROOTDIR=/usr/release/ BUILDNAME=5.3-STABLE-03132005
CVSROOT=/usr/home/ncvs/ NODOC= NOPORTS= RELEASETAG=RELENG_5
KERNELS=FC_custom |& tee /tmp/buildrelease.log

This is where it is dying :

===> gnu/usr.bin/groff/font/devascii
install -o root -g wheel  -m 444 R I B BI S L CW DESC
/usr/release//usr/share/groff_font/devascii
===> gnu/usr.bin/groff/font/devcp1047
install -o root -g wheel  -m 444 R I B BI S L CW DESC
/usr/release//usr/share/groff_font/devcp1047
===> gnu/usr.bin/groff/font/devdvi
install -o root  -g wheel -m 555 
/usr/src/gnu/usr.bin/groff/font/devdvi/../../../../../contrib/groff/font/devdvi/generate/CompileFonts
 /usr/release//usr/share/groff_font/devdvi/CompileFonts
Segmentation fault (core dumped)
*** Error code 139

Stop in /usr/src/gnu/usr.bin/groff/font.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/groff.
*** Error code 1

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

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

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

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

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

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

Stop in /usr/src/release.



Any clues ?

Thanks!
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Diagnostic tools for external hard drives?

2005-03-13 Thread Daniel O'Connor
On Sun, 13 Mar 2005 07:24, Torfinn Ingolfsen wrote:
> Does FreeBSD (stable) have any tools that I can use to run diagnostics
> on an external hard drive?

Have you tried smartmontools?
It probably won't work (most enclosures don't appear to implement the 
necessary brains to translate the SMART commands) but you could be lucky :)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpyxfeSfJ0JC.pgp
Description: PGP signature


Re: ATA regression with 5.4-PRERELEASE

2005-03-13 Thread Mars Trading

I guess this is related to the ATA - HDD matching problem some users 
have been experiencing since 5.3-RELEASE - Errors look similar.

Briefly:
System unstable when ATA controller - HDD UDMA mismatched.
e.g.: UDMA 66 controller & UDMA 100 HDDrive.

Late model Seagate drives can be configured to use lower UDMA access 
using their uata100d.exe utility (used it, myself).  Don't know if 
other brands have a similar utility though.

Hope this gets fixed before 5.4-RELEASE.

Dennis

On Monday 14 March 2005 04:07, Oleg V. Nauman wrote:
>I have some regression (or anti-regression?) with ATA on my
> home system (RELENG_5 from last Friday)
> I have had bad IDE 80-conductor cable, so I temporary switched
> two my ATA devices with old 40-conductor cable on the secondary
> IDE channel.
> Now I have something strange: my SAMSUNG SP0411N HDD on the
> secondary IDE channel detected again as UDMA100 device, but works
> with errors (as expected anyway in this situation).
> ATA controller on my system (from dmesg output):
> atapci0:  port
> 0xd000-0xd00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1
> on pci0 and my devices:
> ad0: 19130MB  [38869/16/63] at
> ata0-master UDMA100 ad1: 38166MB  [77545/16/63]
> at ata0-slave UDMA100 acd0: CDROM 
> at ata1-master PIO4 ad3: 38204MB 
> [77622/16/63] at ata1-slave UDMA100 ad3: WARNING - READ_DMA UDMA
> ICRC error (retrying request) LBA=63 ad3: WARNING - READ_DMA UDMA
> ICRC error (retrying request) LBA=63 ad3: FAILURE - READ_DMA
> status=51 error=84 LBA=63
>
>   So: where is my UDMA33 or PIO4? :)

-- 
Mars Trading
9620 Kamagong St., Makati,
Manila, Philippines
Phone: (632) 8952241
FAX: (632) 8996124
email: [EMAIL PROTECTED]
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"