Re: Quickie question on UDMA/33

2000-04-12 Thread Tom Embt

At 05:53 AM 4/12/00 -0400, Trevor Johnson wrote:
 Western Digital Caviar hard drives that should support UDMA/33, as should
 the Chipset.
 
 Both boot up, trying UDMA mode, throwing ICRC READ ERROR's then kick back
 down to PIO mode 4.

 Bios's are set to do auto-chose pio/dma modes.

There may be a BIOS option that will disable DMA entirely.

 I've resolved to simply adding in the rc to reset them to pio mode, to get
 it over with (but I still get the errors at boot-up prior to the rc doing
 them).
 
 I simply use 'device ata' etc. forms in the knerel config.

You might try commenting out this option (if you're using it):

options ATA_ENABLE_ATAPI_DMA#Enable DMA on ATAPI devices

That would apply only to the DVD, not the hard drives of course, but still
there is no reason that reasonably modern equipment shouldn't work in
UDMA/33 mode.

Are the IDE cables new and in good shape?  Using each end connector before
attaching a device to the middle one...



Tom Embt
[EMAIL PROTECTED]



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



Re: 4.0R ?

2000-03-14 Thread Tom Embt

At 19:05 03/13/2000 +, Ben Smithurst wrote:
Jim Bloom wrote:

 The tag was laid down earlier today.  Here is what my current kernel
 claims to be at the moment:

I saw the RELENG_4 tag in my cvsup log, but I don't think that's the
same as the 4.0 release tag is it? That would be RELENG_4_0_0_RELEASE
surely.


I believe RELENG_4 would refer to the 4.x-STABLE branch (??maybe??), since
it is different from 5.0-CURRENT but still not ready for it's first release.

I'm no authority on the subject, though.



Tom Embt
[EMAIL PROTECTED]



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



Re: My ATAPI CD not come ready

2000-01-26 Thread Tom Embt

At 22:01 01/25/2000 +0100, you wrote:
It seems Tom Embt wrote:
 Don't mean to butt in here, I haven't really been following the thread -
 but I may have found a workaround/clue.  I have a Sony CDU-55E (ooold 2x)
 on secondary master of the PIIX4 on my BP6.  By going into the BIOS (the
 section of it where you would set CHS numbers, LBA, etc) and changing the
 secondary master device from "none" to "auto", I have gone from:
 
 BTW, this was on a kernel from around 20:00 GMT Jan 25

Interesting...

What version is you ata-all.c ?? its damn close to the commit I just
made, that should fix that problem...

-Søren


That was with 1.43

I just updated all the files in /usr/src/sys/dev/ata (ata-all.c v1.44) and
made a new kernel.  While rebooting I set the BIOS back to "none" and
watched FreeBSD boot.  No error :) - then I rebooted to kernel.old (1.43)
without touching the BIOS and the error came back.

Looks like you got it.



Tom Embt
[EMAIL PROTECTED]



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



Re: My ATAPI CD not come ready

2000-01-25 Thread Tom Embt

At 09:47 01/25/2000 +0100, Soren Schmidt wrote:
It seems Anders Andersson wrote:
 I have the same problem:
 
 [anders@enterprise:anders] $ dmesg | grep ata
 ata-pci0: Intel PIIX3 ATA controller port 0xffa0-0xffaf at device 7.1
 on pci0
 ata0 at 0x01f0 irq 14 on ata-pci0
 ata-isa0: already registered as ata0
 ata0-slave: ata_command: timeout waiting for intr
 ata0-slave: identify failed

Could I please have a complete dmesg from that ??

-Søren


Don't mean to butt in here, I haven't really been following the thread -
but I may have found a workaround/clue.  I have a Sony CDU-55E (ooold 2x)
on secondary master of the PIIX4 on my BP6.  By going into the BIOS (the
section of it where you would set CHS numbers, LBA, etc) and changing the
secondary master device from "none" to "auto", I have gone from:

SMP: AP CPU #1 Launched!
ata1-master: ata_command: timeout waiting for intr
ata1-master: identify failed
ad0: 9671MB disk IBM-DTTA-351010 at ata0 as master mode UDMA33
Mounting root from ufs:/dev/ad0s1a

to:

SMP: AP CPU #1 Launched!
ad0: 9671MB disk IBM-DTTA-351010 at ata0 as master mode UDMA33
acd0: CDROM CD-ROM CDU55E at ata1 as master mode PIO0
Mounting root from ufs:/dev/ad0s1a

I stumbled upon this quite by accident, but maybe it'll be of some help to
somebody...

BTW, this was on a kernel from around 20:00 GMT Jan 25




Tom Embt
[EMAIL PROTECTED]



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



Re: why is my current so .... stable?

2000-01-13 Thread Tom Embt

At 10:52 01/13/2000 +1030, Mark Newton wrote:
On Wed, Jan 12, 2000 at 08:29:44AM -0500, Tom Embt wrote:

  This would be great, but I wonder from what source we could take reliable
  data about -current's stability.
  
  How 'bout some sort of client program that is run via the rc.d and
  rc.shutdown scripts?
 
One of the more annoying aspects of IRIX in its default config is
that whenever you do a halt or reboot it'd pop up a menu to ask why.
That information, together with crash dump info and other data about
system failures, can be funnelled into a mail filter which records
historical reliability data;  That data can (optionally) be sent back
to SGI too.

We could provide something like this, but (a) if it's on by default 
it'll suck rocks, and (b) if it's off by default nobody will bother 
turning it on.  Hey ho!

- mark


Hmm, well the menu thing would surely suck, but we wouldn't really need
that info anyway.  Perhaps if the startup/shutdown info was just written to
/var/log/something and people could optionally enable (as in off by
default) something in /etc/rc.conf to actually send the info back to a
master server on a regular basis.  Even if the info isn't sent to the
master it could be parsed locally if so desired.

Again, just ideas..


Tom Embt
[EMAIL PROTECTED]



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



Re: Additional option to ls -l for large files

2000-01-12 Thread Tom Embt

  kB and kiB are the proper abreviations, not KB and KiB.  I don't know
  if miB or MiB is correct, likely MiB.

   I always thought it was "k/m/b = 1,000/1,000,000/1,000,000,000" 
and "K/M/G = 2^10/2^20/2^30".  Or was this just some convention I 
learned somewhere that I mistakenly thought of as an actual accepted 
rule?

But, with the letter "M" for example, m = milli-, M = mega-

Like Donn was saying, there's no reason not to do it every way.  Have the
different options selectable by either an environmental variable or a
command line switch.  I'd vote for default behavior as the traditional:

K = 2^10
M = 2^20
G = 2^30
T = 2^40
P = 2^50

.. but also have options for showing the entire unclipped file length,
"binary mode international abbreviation standard", and maybe even
scientific or engineering notation (for kicks).


Tom Embt
[EMAIL PROTECTED]



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



Re: Port of ext2fs fsck

1999-12-23 Thread Tom Embt

OK for starters, a disclaimer:

I have nearly zero experience with Linux.

..but I would guess that it is naming the disk much like BSD does, with
hdb1...hdb4 being the four bios partitions (BSD slices) and hdb5 and up
being the logical DOS-style partitions inside the other "DOS extended
partition(s)".  I believe Linux does make use of DOS "extended partitions"
in this way.

If this is true your RH /usr would be /dev/ad1s6, I think.  The entry in
/dev might not yet exist, though.

At 12:26 12/23/1999 -0500, Donn Miller wrote:
Is there such a beast?  This would be a big big help to those who
administer Linux boxes from FreeBSD machines.  And, it would make
life easier for those of us who dual-boot with FreeBSD and
Linux.  Basically, I'd like to see a port of e2fsck in the ports
collection.

Also, I had this weird problem in the past.  See, I've got
another IDE disk on my primary slave IDE controller (1.1 GB).  I
installed RedHat Linux on there.  Basically, that disk had 3
Linux partitions:

120M   /   /dev/hdb1
120M   swap/dev/hdb5
~800MB /usr/dev/hdb6

Don't ask;  the RedHat installer partitioned it this way. 
Anyhow, when I do fdisk /dev/rad1, FBSD's fsck only sees 2
partitions.  Partition one is the 120M / partition, which I can
mount OK.  But, fdisk claims the 2nd partition is a 920 MB
extended DOS partition.  Hmmm...  well, it may be that my second
disk needs low-level formatted or something.

- Donn


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



Tom Embt
[EMAIL PROTECTED]



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



Re: Success with ATA drivers and UDMA66

1999-12-21 Thread Tom Embt

[snip]

 What is the rating of your Power supply ?

Not quite high enough :-(
It's a 300 Watt power supply.


Hehe - I'm running dual 540's (2.2V) on a BP6 (I'm guessing around 30 Watts
per CPU), extra case fan, big CPU fans, CD, TNT and an IDE drive (I've had
three hooked up once) - on a 235W power supply :) (Although it is probably
a better-than-average PS, it's the one that comes with the AOpen HX45 case).

One of these days I'm going to hook up a multimeter and see what it draws...



Tom Embt
[EMAIL PROTECTED]



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



MajorDomo Problems

1999-10-10 Thread Tom Embt


I've been mysteriously unsubscribed from -questions sometime between Oct
7th and Oct 10th.  My guess puts it at late morning/early afternoon EDT on
the 7th.

It would seem something is up...  good thing somebody mentioned the 'which'
command (I'd never heard of it), I was wondering why noone was responding
to an earlier post ;)


Tom Embt
[EMAIL PROTECTED]



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



Anyone running CompuPic?

1999-09-10 Thread Tom Embt

Not sure which list this should go to, so if I'm in error feel free to
point me in the right direction.

I was wondering if anyone has had any luck running CompuPic
(http://linux.compupic.com) under FreeBSD?  It's an excellent image viewer
that can do some basic file management as well.  Along with Agent, it's one
of the few good apps available for Windoze, and I was excited when I heard
there was a free *NIX version available.  

Unfortunately, I haven't been able to get it to run.  I'm not in FreeBSD
right now so I'm working from memory, but I had some trouble with the
install process (it is obviously not as portable as they'd have you
believe).  I seem to recall setting $UID and installing bash, but the
script still bombed after it was installed.  Then I had to brandelf it.  I
tried both "Linux" and "FreeBSD" branding and one was working better than
the other though I don't recall which.  End result:  It starts to load,
brings up a splash screen, and exits.  I do recall it leaving messages on
the console but forget which signal it was dying with.  I can get more info
if it's wanted but first I'm just asking if anyone else has either had
better luck than I.

Here's a quote from the website:


"CompuPic is highly portable, and Photodex intends to support as many
target platforms as possible over time. CompuPic for Linux (and UNIX) is
available as a statically linked executable with no library dependencies
whatsoever. You need only a Linux or UNIX kernel to run CompuPic.

CompuPic has been tested with major Linux and BSD distributions and had no
distribution specific issues.

If you represent a hardware manufacturer or Linux/UNIX distribution
publisher, you can contact Paul Schmidt to discuss Photodex's development
plans for a specific platform.

Paul Schmidt
VP Technology
Photodex Corporation
1106 Clayton Lane #200W
Austin, TX 78723
(512) 406-3061 - voice
(512) 452-6825 - fax
[EMAIL PROTECTED]"



They seem to make a point of saying "Linux/UNIX" and not referring to all
of *NIX OS's as "Linux", even going so far as to mention BSD once.  I was
therefor a bit surprised when the binary wouldn't run on FreeBSD.  I wonder
if The Powers That Be would be interested in pursuing the last sentence there?

FYI: My system is SMP 4.0-CURRENT from a day or two ago, XFree86 3.3.3.4
from packages, KDE-1.1 from packages, Linux emu running, etc.  As far as my
FreeBSD proficiency, lets just say I'm probably not the kind of person that
ought to be running -CURRENT :) so I don't think I'd be much help in
tracking down the problem (aside from being a guinea pig).


of course there also exists the possibility that I forgot to insert tab A
into slot B and CompuPic indeed runs perfectly in FBSD for everyone else..
and how did it get to be 3AM ?  Ugh.  well thanks to anyone who can
clue me in,



Tom Embt ICQ UIN:  11245398
[EMAIL PROTECTED] d:-)

--
"You're one of those condescending Unix computer users!"
"Here's a nickel, kid.  Get yourself a better computer" - Dilbert.



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



Re: Compupic - yes, it works.

1999-09-10 Thread Tom Embt

At 09:51 AM 9/11/99 +1200, you wrote:
YOU DA MAN.. that works fine on -current also

I'll second that,  THANK YOU for this silly but effective solution!

"Gray, David W." wrote:

 MOVE YOUR /usr/compat DIRECTORY aside - rename it temporarily. Run compupic
 once. You should now be able
 to move /usr/compat back into place (or /compat, if you left it there...)
 Why? I dunno. Found it by accident.


Now another question:  Have you been able to get to /usr?  When I try to
bring it up I get /compat/linux/usr instead.  At least /home works.. :)



Tom Embt
[EMAIL PROTECTED]



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