Torfinn Ingolfsen | 1 Feb 01:04 2006
X-Face
Picon

Re: Debug Snapshot Tool/Script? [WAS:Re: Linksys WPC54g v4, NDIS, & Kernel Panics]

On Tue, 31 Jan 2006 09:58:22 -0600
jfarmer <at> goldsword.com wrote:

> What about creating a simple "snapshot grabber" or similar tool that 
> would grab
> the output of such commands and stuff them into a file?  Then the user

You mean like script(1)?

Sheesh, if people can't or won't read, how can anyone help them?
--

-- 
Regards,
Torfinn Ingolfsen,
Norway

_______________________________________________
freebsd-stable <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe <at> freebsd.org"

Ion-Mihai Tetcu | 1 Feb 01:21 2006

Re: fdisk, bsdlabel and hidden tricks

On Tue, 31 Jan 2006 23:22:13 +0000 (GMT)
wpaul <at> FreeBSD.ORG (Bill Paul) wrote:

>   Also, when creating what's supposed to be /, make sure you toggle
> off softupdates in the label editor. It's smart enough to only enable
>   softupdates by default on non-root filesystems, but it only knows
> this by checking if the name of the filesystem is /.
> 
>   Why is this important? I don't know if this is a bug or expected
>   broken behavior, but when I created / with softupdates enabled,
>   I found the ls(1) command would crash or report strange output
> whenever I did ls -l. It seems to be unable to read the file mode
> information correctly. This was true of _all_ filesystems, not
> just /. The Soekris board would otherwise run correctly. Once I
> realized my mistake, I went back and recreated the rootfs with
> softupdates off, and the problem went away.
> 
>   This is probably yet another "we don't do that by default so we
> won't bother testing it" bug.

I don't think I'm seeing this here on a
FreeBSD 6.0-STABLE #0: Wed Jan 11 05:29:04 EET 2006 

itetcu <at> dukat >-SSH-≥ /home/itetcu [2:18:47] 0
 > mount
/dev/ad0s1a on / (ufs, local, soft-updates)
devfs on /dev (devfs, local)
/dev/ad0s1d on /var (ufs, local, soft-updates)
devfs on /var/named/dev (devfs, local)
itetcu <at> dukat >-SSH-≥ /home/itetcu [2:18:49] 0
(Continue reading)

Oleg Bulyzhin | 1 Feb 02:05 2006
Picon

Re: if_bge driver problem. - Upgrade to RELEASE :)

On Tue, Jan 31, 2006 at 04:23:12PM +0200, husnu demir wrote:
> On Tue, Jan 31, 2006 at 05:16:55PM +0300, Oleg Bulyzhin wrote:
> > On Tue, Jan 31, 2006 at 03:31:11PM +0200, husnu demir wrote:
> > > Anyway, let me learn to use cvs some other day. I do what u said and applied patch. It is working. At least I
can ping and when I gave an IP address to the Interface and remove the physical connection, it shows
UP/DOWN. If it is made UP but has no IP address, It shows nothing. But I will use it with an IP address so no problem.
> > > 
> > 
> > Excuse me, I didnt understand this one:
> > "If it is made UP but has no IP address, It shows nothing."
> > 
> > Are you talking about running 'ifconfig bge2 up' (without ip bound to bge2)?
> > "It shows nothing" -  does it mean no UP/DOWN messages in console.log or
> > ifconfig bge2 reports status 'no carrier'?
> > 
> 
> Yes, I made ifconfig bge2 up without ip bound. Then remove the physical connection but no messages seen on
the console. Even it did not show 'no carrier' messages. Still sees active.
> 

If you are not tired yet - new patch attached (it's against RELENG_6 so you have
to revert previous patch).

P.S. Thanks for your testing. Unfortunatly i've got only copper bges so i cant
test it myself.
P.P.S. if possible, test polling mode too.

--

-- 
Oleg.

(Continue reading)

Christian Baer | 1 Feb 02:52 2006
Picon
Picon

Re: Have the device names for hard discs been changed?

On Sun, 29 Jan 2006 19:12:39 +0000 (GMT) Gavin Atkinson wrote:

> I'm not sure it was ever 'e'.  I'm also confused by what you mean by 
> "dd-mode" - the footnote suggests you're talking about "dangerously 
> dedicated" mode, but the fact you created a slice and have "s1" in all of 
> your device names suggests that you are in fact not running in dangerously 
> dedicated mode.

Well, I never used a true partition table with FreeBSD. But since it
seems to cause problems I'll start with that now - if I can ever get
this to run, that is.

This disk you see here is now no longer dangerously dedicated The line
with the < was added..

>>  jon# ls -l /dev/ad6*
>>  crw-r-----  1 root  operator    0,  76 Jan 22 15:23 /dev/ad6
>>  crw-r-----  1 root  operator    0, 120 Feb  1 02:09 /dev/ad6a  <
>>  crw-r-----  1 root  operator    0,  93 Jan 22 15:00 /dev/ad6c
>>  crw-r-----  1 root  operator    0,  96 Jan 22 15:00 /dev/ad6cs1
>>  crw-r-----  1 root  operator    0,  92 Jan 22 15:00 /dev/ad6s1
>>  crw-r-----  1 root  operator    0,  94 Jan 22 15:00 /dev/ad6s1c

> What's the output of:

Ok, here goes... :-)

>   - fdisk /dev/ad6

jon# fdisk ad6
(Continue reading)

Christian Baer | 1 Feb 03:40 2006
Picon
Picon

Change in Promise controllers

Good morning, everyone!

There seems to have been some changes made concerning the supported
Promise controllers.

I have a SATA TX2Plus (PDC20775 chip). This is a sort of hybrid for SATA
and PATA - it can run two drives of both.

Until today I got this running with a sort of hack I found here:
http://www.mail-archive.com/freebsd-hardware <at> freebsd.org/msg00553.html

That worked fine until today. Now the PDC40775 (which is supposed to be
the same device if you believe google) has the same ID and the
controller is identified as such. The result is this (in dmesg):

ad8: req=0xc398a000 SETFEATURES SET TRANSFER MODE semaphore timeout !! DANGER Will Robinson !!

Along with a crash of a process that couldn't even be stopped by a
kill -9!

Can someone tell me how to fix this?

Regards
Chris

_______________________________________________
freebsd-stable <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe <at> freebsd.org"

(Continue reading)

Mark Kirkwood | 1 Feb 04:33 2006
Picon

Re: Change in Promise controllers

Christian Baer wrote:
> Good morning, everyone!
> 
> There seems to have been some changes made concerning the supported
> Promise controllers.
> 
> I have a SATA TX2Plus (PDC20775 chip). This is a sort of hybrid for SATA
> and PATA - it can run two drives of both.
> 
> Until today I got this running with a sort of hack I found here:
> http://www.mail-archive.com/freebsd-hardware <at> freebsd.org/msg00553.html
> 
> That worked fine until today. Now the PDC40775 (which is supposed to be
> the same device if you believe google) has the same ID and the
> controller is identified as such. The result is this (in dmesg):
> 
> ad8: req=0xc398a000 SETFEATURES SET TRANSFER MODE semaphore timeout !! DANGER Will Robinson !!
> 
> Along with a crash of a process that couldn't even be stopped by a
> kill -9!
> 
> Can someone tell me how to fix this?
> 

Not of much help to you I'm afraid :-( , but a couple of us see a very 
similar error with the SX4060 (PDC20621) - same chip as the SX4000 which 
works perfectly for Søren, so I'll be very interested to find out what 
is going on with this!

Cheers
(Continue reading)

jfarmer | 1 Feb 06:08 2006

Re: Debug Snapshot Tool/Script? [WAS:Re: Linksys WPC54g v4, NDIS, & Kernel Panics]

Quoting Torfinn Ingolfsen <torfinn.ingolfsen <at> broadpark.no>:

> On Tue, 31 Jan 2006 09:58:22 -0600
> jfarmer <at> goldsword.com wrote:
>
>> What about creating a simple "snapshot grabber" or similar tool that
>> would grab
>> the output of such commands and stuff them into a file?  Then the user
>
> You mean like script(1)?
>
> Sheesh, if people can't or won't read, how can anyone help them?

script doesn't do what I was suggesting.

even with Script, what I was pointing out was that all to often, we have
something like this happen:

1.   User has a problem, reads a bit on the on-line docs (not always that
helpful :^<)
2.   When he can't find an answer there, he comes to one (or more) lists and
posts a question.
3.   Someone replies with "Have you read....?"
4.   Answer, "Yes, but I didn't see how to XXX..."
5.   Someone else replies with "Could post the results of "XYZZY -viy"
6.   Answer, posted results of "XYZZY -viy"
7.   Someone else replies with "No, We need the results of XYZZY -ViyQ"
8.   Answer, posted results of "XYZZY -ViyQ"
9.   Some replies with "Have you read...?"  and "Try rolling back your 
update to
(Continue reading)

John Von Essen | 1 Feb 06:39 2006

6-stable and HTT P4

How do I force enabling of HTT in 6-STABLE.

I tried adding machdep.hlt_logical_cpus=0 to /boot/loader.conf - but 
top still shows only a single cpu thread (C=0).

Thanks
John

_______________________________________________
freebsd-stable <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe <at> freebsd.org"

Mike Jakubik | 1 Feb 06:58 2006

Re: 6-stable and HTT P4

John Von Essen wrote:
> How do I force enabling of HTT in 6-STABLE.
>
> I tried adding machdep.hlt_logical_cpus=0 to /boot/loader.conf - but 
> top still shows only a single cpu thread (C=0).

Make sure you enable it in the BIOS and you compile a SMP kernel.

_______________________________________________
freebsd-stable <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe <at> freebsd.org"

John Von Essen | 1 Feb 07:05 2006

Re: 6-stable and HTT P4

Did all that.

Just got it to work though... Had to add 
machdep.hyperthreading_allowed=1 to loader.conf in addition to 
hlt_logical_cpus=0

-John

On Feb 1, 2006, at 12:58 AM, Mike Jakubik wrote:

> John Von Essen wrote:
>> How do I force enabling of HTT in 6-STABLE.
>>
>> I tried adding machdep.hlt_logical_cpus=0 to /boot/loader.conf - but 
>> top still shows only a single cpu thread (C=0).
>
> Make sure you enable it in the BIOS and you compile a SMP kernel.
>
> _______________________________________________
> freebsd-stable <at> freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to 
> "freebsd-stable-unsubscribe <at> freebsd.org"
>

_______________________________________________
freebsd-stable <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe <at> freebsd.org"

(Continue reading)


Gmane