Re: Getting PXE to leave an existing partition alone

2002-06-07 Thread Daniel O'Connor

On Sat, 2002-06-08 at 06:26, Jason Noble wrote:
> /virtual partition line and it will not newfs the drive.  The following
> line does not work (i.e. all the data on /virtual goes bye bye):
> 
> mlxd0s1-5=ufs 0 /virtual N
> 
> Has anyone used pxe to upgrade a system and leave one or more existing
> FreeBSD partitions alone?  How should I go about this?

I had a quick look through the code and it seems you need to specify
soft-update-ness if you want to also specify newfs'ing or not.

eg try..
mlxd00s1-5=ufs /virtual 1 N

See line 1378 of label.c in src/release/sysinstall.

Hope that helps :)

-- 
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 - 9A8C 569F 685A D928 5140  AE4B 319B 41F4 5D17 FDD5


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



Re: Project: a benchmark utility

2002-06-07 Thread Amit Rao

On Friday 07 June 2002 06:49 pm, John Baldwin <[EMAIL PROTECTED]>  wrote:
> Actually, if there's a Perl/Tcl/Python/C/C++/shell hacker running around I
> could use a decent benchmarking tool to compare stable and current.
>  Basically, what I would like is to be able to do the following:
>
> bench -n  
>
> So for example:
>
> bench -n 20 buildworld -j4
>
> To run my buildworld script 20 times (with -j4 passed in as an argument to
> buildworld).  I would like the program/script/whatever to collect time -l
> stats for each iteration.  It can simply spit the time -l output to a
> simple text file in a sensible format (one line per run, with a specific
> order of columns for example, just the numbers to make the file easier to
> parse).
>
> Once I have that, it would be nice to have a simple tool that would take
> one of these tabular files as input and spit out appropriate statistics
> about each column (mean, mode, median, stddev, highlight outliers, etc.).
>  If some sensible (i.e. meaningful) graphs can be generated from this data
> using gnuplot or some such that would be nice, too.  Any takers?

I'll bite. 
try the  following program:

-
#!/usr/bin/env perl

# bench.pl

# benchmarking tool to collect /usr/bin/time -l stats for each
# iteration of the specified program. The output is in a form suitable
# for further processing by John Heidemann's JDB
# (http://www.isi.edu/~johnh/SOFTWARE/JDB/index.html)

#  Eg:  bench.pl -n 20 "buildworld -j4"

# Copyright 2002 Amit K. Rao
# [EMAIL PROTECTED]

use strict;
use Getopt::Std;

sub usage {
print <] 
  Default no. of trials is 10.
  Eg:  $0 -n 20 "buildworld -j4"
END
  exit 1;
}

sub getrusage() {
  my $CMD = shift;
  my $TLOG;
  chomp($TLOG=`mktemp /usr/tmp/time.XX`);
  system "/usr/bin/time -l -o $TLOG $CMD 2>&1 > /dev/null";
  if (-e $TLOG) {
my $out = `awk '{if (\$2==\"real\") {printf \"%s %s %s\", \$1, \$3, \$5} 
else { printf \" %s\", \$1}} END {printf \"\\n\"} ' $TLOG`;
return $out;
unlink($TLOG);
  }
  else {
print "Error running command /usr/bin/time -l -o $TLOG $CMD 2>&1 > 
/dev/null\n";
  }
}


my $ntrials = 10;
my $cmd;
my %opts;

getopts('n:',\%opts);

$ntrials = $opts{'n'} if (defined $opts{'n'});
$cmd = join(" ",@ARGV);
if (!defined ($cmd)) {
  &usage();
}

print "#h real user sys ru_maxrss ru_ixrss ru_idrss ru_isrss ru_minflt 
ru_majflt ru_nswap ru_inblock ru_oublock ru_msgsnd ru_msgrcv ru_nsignals 
ru_nvcsw ru_nivcsw\n";

for (my $i = 0; $i < $ntrials; $i++) {
  print &getrusage("$cmd");
}

print "# $cmd\n"
-

Eg: 
$ bench.pl tar tzvf somearchive.tgz 
#h real user sys ru_maxrss ru_ixrss ru_idrss ru_isrss ru_minflt ru_majflt 
ru_nswap ru_inblock ru_oublock ru_msgsnd ru_msgrcv ru_nsignals ru_nvcsw 
ru_nivcsw
0.72 0.63 0.09 576 92 365 126 130 0 0 0 0 0 0 0 1800 907
0.72 0.64 0.08 576 94 362 128 130 0 0 0 0 0 0 0 1801 906
0.72 0.62 0.10 576 96 359 129 130 0 0 0 0 0 0 0 1801 907
0.72 0.69 0.03 576 97 348 129 130 0 0 0 0 0 0 0 1801 908
0.72 0.65 0.08 576 96 367 132 130 0 0 0 0 0 0 0 1801 909
0.72 0.65 0.07 576 95 363 129 130 0 0 0 0 0 0 0 1800 907
0.72 0.67 0.05 576 96 370 130 130 0 0 0 0 0 0 0 1801 906
0.73 0.67 0.07 576 93 355 126 130 0 0 0 0 0 0 0 1801 907
0.72 0.65 0.07 576 94 358 128 130 0 0 0 0 0 0 0 1801 908
0.72 0.62 0.10 576 96 370 130 130 0 0 0 0 0 0 0 1764 909
# bench.pl tar tzvf somearchive.tgz

---
You can then run this output through any of the programs in JDB mentioned by 
Lars. Eg to get mean, std. dev, etc. over user time (the second column): 

$ bench.pl tar tzvf somearchive.tgz | dbstats user | dblistize
#L mean stddev pct_rsd conf_range conf_low conf_high conf_pct sum sum_squared 
min
max n
mean:0.648
stddev:  0.026162
pct_rsd: 4.0373
conf_range:  0.018714
conf_low:0.62929
conf_high:   0.66671
conf_pct:0.95
sum: 6.48
sum_squared: 4.2052
min: 0.6
max: 0.7
n:   10

# bench.pl tar tzvf somearchive.tgz
#  | dbstats user
#   0.95 confidence intervals assume normal distribution and 
small n.
#  | dblistize




-Amit

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



LINT CPU features table

2002-06-07 Thread Lucky Green

[This inquiry found no takers on -questions, so I am trying it on
-hackers]

I found the list of CPU options in LINT to be not very accessible. What
would be considerably more useful, perhaps in addition to the
information in LINT, would be a table of CPU's, with a checkbox for 
each CPU feature that should/could be enabled for this particular CPU.

Is anybody here aware of such a table? If not, is anybody here able to
perhaps create such a table and add it to the Handbook? I believe it
would be of substantial help to the user.

"OK, I have an AMD K6-333". [User looks down the "AMD K6" row of the
table]. "I can turn on feature L, M, and Y".

Thanks in advance,
--Lucky


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



Re: USB: Anyone working on it?

2002-06-07 Thread Larry Rosenman

On Fri, 2002-06-07 at 12:11, Nik Clayton wrote:
> On Thu, Jun 06, 2002 at 02:09:08PM -0500, Larry Rosenman wrote:
> > Is there anyone out there working on USB stuff? 
> 
> Joe Karthauser -- [EMAIL PROTECTED]
> 
> > I reported kern/37624 a while back, and have heard nothing on it. 
> 
> He's on holiday at the moment.  Back in a few weeks, IIRC.
Aha, that explains why I didn't get an answer to an E-Mail I posted to
him after finding his Patchset.  (didn't make a difference, BTW). 

LER
-- 
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


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



Automounting samba shares / pam_mount

2002-06-07 Thread Lukas Ertl

Hi -hackers,

I'm currently trying to find out how to automount homedirs via samba when
users log in (via ssh, ftp, telnet,...), and I've found pam_mount, a PAM
module which seems to do the trick under Linux. I've also found that this
module was rejected as a port about one year ago because the code was "too
messy", whatever that means :-)

Although I'm just a beginner in C, and these are my first steps in
"PAM-land", I tried to play with it and see if I can get it to work. Well,
I can't. I can compile it (with a few modifications), but if I add it to
pam.conf and try to login I get "unable to resolve symbol:
pam_am_authenticate" and similar errors in /var/log/messages. I'm not
quite sure how to solve this, so I hope I can get some advice from you.

Or would you rather say that I should forget pam_mount and look for some
other way to automount my samba shares (maybe even write a PAM from
scratch for this purpose)?

regards,
le

-- 
Lukas Ertl  eMail: [EMAIL PROTECTED]
UNIX-SystemadministratorTel.:  (+43 1) 4277-14073
Zentraler Informatikdienst (ZID)Fax.:  (+43 1) 4277-9140
der Universität Wienhttp://mailbox.univie.ac.at/~le/


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



Re: allocating memory

2002-06-07 Thread Nik Clayton

On Thu, Jun 06, 2002 at 12:47:54PM -0500, Mike Silbersack wrote:
> See the paper on porting NetBSD to hammer that was presented at some
> recent usenix convention for more info.  (I think it was usenix, but I'm
> not sure.)

BSDCon US 2002.  It was presented by Frank van der Linden.  From my
notes of the conference, Frank said the porting effort took about six
weeks of effort.

N
-- 
FreeBSD: The Power to Serve  http://www.freebsd.org/   (__)
FreeBSD Documentation Projecthttp://www.freebsd.org/docproj/\\\'',)
  \/  \ ^
   --- 15B8 3FFC DDB4 34B0 AA5F  94B7 93A8 0764 2C37 E375 --- .\._/_)



msg34891/pgp0.pgp
Description: PGP signature


Re: USB: Anyone working on it?

2002-06-07 Thread Nik Clayton

On Thu, Jun 06, 2002 at 02:09:08PM -0500, Larry Rosenman wrote:
> Is there anyone out there working on USB stuff? 

Joe Karthauser -- [EMAIL PROTECTED]

> I reported kern/37624 a while back, and have heard nothing on it. 

He's on holiday at the moment.  Back in a few weeks, IIRC.

N
-- 
FreeBSD: The Power to Serve  http://www.freebsd.org/   (__)
FreeBSD Documentation Projecthttp://www.freebsd.org/docproj/\\\'',)
  \/  \ ^
   --- 15B8 3FFC DDB4 34B0 AA5F  94B7 93A8 0764 2C37 E375 --- .\._/_)



msg34890/pgp0.pgp
Description: PGP signature


Getting PXE to leave an existing partition alone

2002-06-07 Thread Jason Noble


I've got a hundred systems that I'm looking at upgrading to 4.4 from
4.1.  These systems were originally setup with pxe, with the following
partioning scheme (install.cfg format):


# Now set the parameters for the partition editor on mlxd0
disk=mlxd0
partition=exclusive
bootManager=standard
diskPartitionEditor



# All sizes are expressed in 512 byte blocks!
#
mlxd0s1-1=ufs 40 /
mlxd0s1-2=swap 4096000 none
mlxd0s1-3=ufs 40 /var
mlxd0s1-4=ufs 8192000 /usr
mlxd0s1-5=ufs 0 /virtual
# Let's do it!
diskLabelEditor

For the upgrade, I'd like to leave the /virtual partition alone (it
contains user's home directories and such).  According to the
sysinstall(8) manpage I should be able to add a N to the end of the
/virtual partition line and it will not newfs the drive.  The following
line does not work (i.e. all the data on /virtual goes bye bye):

mlxd0s1-5=ufs 0 /virtual N

Has anyone used pxe to upgrade a system and leave one or more existing
FreeBSD partitions alone?  How should I go about this?

Thanks for any help you can provide.

Jason


Full install.cfg:
# FreeBSD installer for Mylex drives

# Turn on extra debugging.
debug=YES

# Ok, this ought to turn off ALL prompting, don't complain to me that 
# you
# lost a machine because you netbooted it on  the same subnet as this
# box
nonInteractive=YES
noWarn=YES
tryDHCP=YES


# My host specific data
hostname=NameMe
domainname=perlwizard.org



# Which installation device to use
nfs=10.15.100.4:/virtual/perlwizard1.4.0
netDev=fxp1
tryDHCP=YES
mediaSetNFS



# Select which distributions we want.
dists= bin doc manpages catpages proflibs dict info des compat1x
compat20 compat21 compat22 compat3x comp
at4x crypto
distSetCustom



# Now set the parameters for the partition editor on mlxd0
disk=mlxd0
#partition=all
partition=exclusive
bootManager=standard
diskPartitionEditor
#diskPartitionWrite



# All sizes are expressed in 512 byte blocks!
#
mlxd0s1-1=ufs 40 /
mlxd0s1-2=swap 4096000 none
mlxd0s1-3=ufs 40 /var
mlxd0s1-4=ufs 8192000 /usr
# The following line newfs's /virtual, the second line does not
#mlxd0s1-5=ufs 0 /virtual
mlxd0s1-5=ufs 0 /virtual N
# Let's do it!
diskLabelEditor
#diskLabelCommit

# OK, everything is set.  Do it!
installCommit

#package=perlwizard-1.4.0
#packageAdd

package=pxe-perlwizard-kludge-1.3.0
packageAdd

###THE OLD STUFF###
#package=ports-1.0
#packageAdd
#package=linux_base-6.1
#packageAdd
#package=perlwizard-password-1.0
#packageAdd

shutdown
n


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



Re: accessing data track of multimedia CD?

2002-06-07 Thread Brian Reichert

On Fri, Jun 07, 2002 at 09:34:43AM +0200, Nicolas Rachinsky wrote:
> * Brian Reichert <[EMAIL PROTECTED]> [2002-06-06 18:04 -0400]:
> > I've been beating my head for hours against a wall trying to research
> > this:
> > 
> > Under FreeBSD (4.5-RELEASE), with an ATAPI device (/dev/acd0c), how
> > can I mount, or otherwise access the data in a 'data track' of a
> > 'multimedia CD'?
> > 
> > cdda2wav shows me:
> 
> Look at the output of
> cdcontrol -f /dev/ Info
> instead.
> 
> If there is a track with type data, you can try to mount this track
> with mount_cd9660 with parameter -s followed by the startsector of the
> data track (shown by cdcontrol).

mount_cd9660 is supposed to, out-of-hand, mount the last data track
on a CD, Worked for me as such on older, other boxes.

Well, I had tried that earlier on my box, but let me perform that
in front of an audience:

  # dmesg | grep acd0
  acd0: DVD-ROM  at ata1-master using WDMA2

  # sysctl -a | grep hw.ata
  hw.ata.ata_dma: 1
  hw.ata.wc: 1
  hw.ata.tags: 0
  hw.ata.atapi_dma: 1
  hw.atamodes: dma,dma,dma,---,

  # cdcontrol -f /dev/acd0c Info | grep data
 11  54:12.68   7:08.38  243818   31988   data

  # mount_cd9660 -s 243818  /dev/acd0c /mnt
  mount_cd9660: /dev/acd0c: Invalid argument

I've tried this with both DMA and PIO on my drive, which I'll point
out is a DVD-ROM drive, not a CD-ROM drive.

With your pointers, though, I was able to correctly use 'mount'
using both of my test CDs on another box running 4.1-RELEASE with
a classic CD-ROM drive:

  acd0: CDROM  at ata0-slave using UDMA33

So, this issue at hand is some combination of my kernel (4.5-RELEASE)
and my hardware (DVD-ROM).  Any further suggestions?

> HTH
> Nicolas

-- 
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-hackers" in the body of the message



Re: Cannot access disk

2002-06-07 Thread Άγγελος Οικονομόπουλος

On Friday 07 June 2002 21:41, Doug White wrote:
> On Fri, 7 Jun 2002, [iso-8859-7] &Aacgr;&ggr;&ggr;&egr;&lgr;&ogr;&sfgr; &Ogr;&igr;&kgr;&ogr;&ngr;&ogr;&mgr;&oacgr;&pgr;&ogr;&ugr;&lgr;&ogr;&sfgr; wrote:
> > On Thursday 06 June 2002 22:36, Doug White wrote:
> > > On Thu, 6 Jun 2002, Aggelos Economopoulos wrote:
> > > > After adding a 40G ide disk(ad3) on my system, I 'ld like to devote
> > > > some extra space to FreeBSD (there is already a linux installation
> > > > on the 40G disk). However, after booting my -stable installation on
> > > > the first disk(ad0), I get the error message "excessive recursion
> > > > in search for slices" by the kernel on any attempt to access ad3
> > > > (mount a partition, fdisk -s /dev/ad3, or even a read() on ad3).
> > >
> > > Try zeroing off the beginning of the disk with dd; maybe there's a
> > > corrupt partition table there.
> >
> > No, the partition table is _not_ corrupt. As I mentioned before, I have
> > a working linux installation on said disk. Moreover, I can parse the
> > partition table chain under the linux kernel (using userspace tools)
> > but under freebsd I get the same error as the freebsd kernel partition
> > handling code. I even read the mbr pt + extended pts with a hex editor,
> > they are just fine. I' ve spent about two weeks on the subject before
> > ruling out all posibilities that this is a partition handling problem.
>
> Well if tools blow up on multiple platforms, I'm inclined to point to a
> corrupt partition table.

What _exactly_ do you mean? I can't get your logic(?) in the above sentence.

> Linux may have a workaround but it doesn't get
> around the root brokenness.

There is no workaround. I've been studying both implementations for the last 
two weeks. I actually implemented a partition viewer based on the linux 
kernel code which works under linux, but is confused in the same way as the 
freebsd kernel is, when run under freebsd. I think you haven't read my 
initial posting with full attention...

>
> Fix your partition table and your systems will be happy.
>
> Doug White|  FreeBSD: The Power to Serve
> [EMAIL PROTECTED] |  www.FreeBSD.org

-- 
Make your program read from top to bottom.
- The Elements of Programming Style (Kernighan & Plaugher)


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



Re: Numerous hard hangs on TWO different ASUS P4T-E w/P4 1.6G

2002-06-07 Thread Frank Mayhar

Terry Lambert wrote:
> If you have NTP enabled, you might try disabling that, as well.  It
> could be something unexpected in the timer code.

Nope.  Killed ntpd, still happenning...

> Another alternative could be to force:
> 
>   kern.timecounter.method: 0
>   kern.timecounter.hardware: i8254

This is actually the default for my system.

I'm not seeing any stray interrupts, either:

[73]~ >uptime
11:58AM  up 15:41, 5 users, load averages: 2.89, 2.56, 2.36
[74]~ >vmstat -i
interrupt   total   rate
stray irq7  1  0
ahc0 irq5  295768  5
mux irq11 1499613 26
mux irq10 7155313126
fdc0 irq6   1  0
atkbd0 irq1 19380  0
psm0 irq12 630291 11
ppc0 irq7   1  0
clk irq0  5645002 99
Total15245370270

I am a tad suspicious of sharing interrupts with the SB Live card, though.
I'm going to next disable the onboard IDE (thought I had already done that,
sigh) and the parallel port to get a few irqs back and try to arrange for
the sound card to use one of them.
-- 
Frank Mayhar [EMAIL PROTECTED] http://www.exit.com/
Exit Consulting http://www.gpsclock.com/

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



Re: Numerous hard hangs on TWO different ASUS P4T-E w/P4 1.6G

2002-06-07 Thread Terry Lambert

Lars Eggert wrote:
> This may be unrelated, but I also found out that the sound driver isn't
> happy when the card shares its IRQ with someone. The Dell Precision has
> an onboard SCSI controller that by default shares an IRQ with the sound
> card. Even with no SCSI disks connected, the sound would be really
> choppy. When I disabled the SCSI controller in the BIOS, those problems
> went away.

Most likely, it's the SCSI card IRQ determination that's taking
a long time to run, when the IRQ is shared.  Basically, if you
get an interrupt, all the devices that are attached to it have
to be polled to see if they caused it.

For some reason, polling the SCSI controller appears to be taking
a relatively very long time (or actually having work to do, with
nothing connected to it).

This could be indicative of a bug in the driver for that card,
since the poll routine should decide that there is nothing to
service for the card, and just return very, very quickly.

It could also be indicative of a problem with the hardware,
where the SCSI card is generating interrupts when it's bus is
unterminated or simply "because it feels like it" (this should
not happen, in practice; you can use "vmstat -i" to see if it
is happening anyway).

I don't know if it's safe/prudent for the OS to disable two
stage controllers (like SCSI or ATA) that aren't going to be
useful to the system without a target present.  If it's possible
to hook up a device to the bus, and not have to inform the
system for the device to become recognized (e.g., it should be
possible to not require an explicit user initiated reprobe, at
least for SCSI, if there is a SCSI reset when an unpowered target
is powered, so this would end up needing to be sysctl'able), then
it should be possible to avoid the extra bus overhead associated
with a poll, automatically.  I would *strongly* discourage anyone
from implementing this optimization until the underlying SCSI
problem is diagnosed and fixed, since from your report, it would
be very effective in masking the problem without fixing it, until
someone hooked up a disk or tape, and things went to hell again.

-- Terry

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



Re: Cannot access disk

2002-06-07 Thread Doug White

On Fri, 7 Jun 2002, [iso-8859-7] ¶ããåëïò Ïéêïíïìüðïõëïò wrote:

> On Thursday 06 June 2002 22:36, Doug White wrote:
> > On Thu, 6 Jun 2002, Aggelos Economopoulos wrote:
> > > After adding a 40G ide disk(ad3) on my system, I 'ld like to devote
> > > some extra space to FreeBSD (there is already a linux installation on
> > > the 40G disk). However, after booting my -stable installation on the
> > > first disk(ad0), I get the error message "excessive recursion in search
> > > for slices" by the kernel on any attempt to access ad3 (mount a
> > > partition, fdisk -s /dev/ad3, or even a read() on ad3).
> >
> > Try zeroing off the beginning of the disk with dd; maybe there's a
> > corrupt partition table there.
>
> No, the partition table is _not_ corrupt. As I mentioned before, I have a
> working linux installation on said disk. Moreover, I can parse the
> partition table chain under the linux kernel (using userspace tools) but
> under freebsd I get the same error as the freebsd kernel partition handling
> code. I even read the mbr pt + extended pts with a hex editor, they are
> just fine. I' ve spent about two weeks on the subject before ruling out all
> posibilities that this is a partition handling problem.

Well if tools blow up on multiple platforms, I'm inclined to point to a
corrupt partition table.  Linux may have a workaround but it doesn't get
around the root brokenness.

Fix your partition table and your systems will be happy.

Doug White|  FreeBSD: The Power to Serve
[EMAIL PROTECTED] |  www.FreeBSD.org


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



Re: Numerous hard hangs on TWO different ASUS P4T-E w/P4 1.6G

2002-06-07 Thread Terry Lambert

Lars Eggert wrote:
> Frank Mayhar wrote:
> > I see very common short-term hangs, a few seconds to less than a minute.
> > The mouse and keyboard stop responding, X stops updating and everything
> > just pauses, the whole system (including the network).  It then starts
> > back up, often dropping keyboard or mouse data.  Once in a while (not
> > sure how often, but at least every couple of days) it hangs solid and
> > never comes back.  Totally unresponsive.  This invariably requires a
> > hard reset.
> >
> > This is a busy system.  Near-constant load on the network (some 40-100KB/s),
> > lots of disk accesses.  Seems worse when network and/or SCSI load is high.
> 
> I've seen these, too, on a dual-P3 Dell Precision 420. Under high loads
> (buildworld), I get the exact same short-time freezes that sometimes
> recover, and sometimes lockup the machine solid.
> 
> We have the same sound card (and network card), and in my case, not
> playing audio during high loads solves the problem - are you using your
> audio device at all when this happens?

If you have NNTP enabled, you might try disabling that, as well.  It
could be something unexpected in the timer code.

Another alternative could be to force:

kern.timecounter.method: 0
kern.timecounter.hardware: i8254

If this is not the default on your system, in case it's a coupling
problem.

-- Terry

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



Re: Numerous hard hangs on TWO different ASUS P4T-E w/P4 1.6G

2002-06-07 Thread Terry Lambert

Terry Lambert wrote:
> If you have NNTP enabled, you might try disabling that, as well.  It
> could be something unexpected in the timer code.

Ugh.  "NTP"/"ntpd".

-- Terry

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



Re: Numerous hard hangs on TWO different ASUS P4T-E w/P4 1.6G

2002-06-07 Thread Lars Eggert

Frank Mayhar wrote:
>>I've seen these, too, on a dual-P3 Dell Precision 420. Under high loads 
>>(buildworld), I get the exact same short-time freezes that sometimes 
>>recover, and sometimes lockup the machine solid.
>>
>>We have the same sound card (and network card), and in my case, not 
>>playing audio during high loads solves the problem - are you using your 
>>audio device at all when this happens?
> 
> Nope.  Well, sometimes, but not often.  When I am, I get the "repeating
> the last sample" effect during the freeze, the same as if the sound card
> wasn't generating interrupts (or the system wasn't servicing those
> interrupts).  This is one of the things that makes me suspect interrupt
> problems.

I get the "repeating last sample" also (good way to describe it).

This may be unrelated, but I also found out that the sound driver isn't 
happy when the card shares its IRQ with someone. The Dell Precision has 
an onboard SCSI controller that by default shares an IRQ with the sound 
card. Even with no SCSI disks connected, the sound would be really 
choppy. When I disabled the SCSI controller in the BIOS, those problems 
went away.

Lars
-- 
Lars Eggert <[EMAIL PROTECTED]>   USC Information Sciences Institute



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Numerous hard hangs on TWO different ASUS P4T-E w/P4 1.6G

2002-06-07 Thread Frank Mayhar

Lars Eggert wrote:
> I've seen these, too, on a dual-P3 Dell Precision 420. Under high loads 
> (buildworld), I get the exact same short-time freezes that sometimes 
> recover, and sometimes lockup the machine solid.
> 
> We have the same sound card (and network card), and in my case, not 
> playing audio during high loads solves the problem - are you using your 
> audio device at all when this happens?

Nope.  Well, sometimes, but not often.  When I am, I get the "repeating
the last sample" effect during the freeze, the same as if the sound card
wasn't generating interrupts (or the system wasn't servicing those
interrupts).  This is one of the things that makes me suspect interrupt
problems.
-- 
Frank Mayhar [EMAIL PROTECTED] http://www.exit.com/
Exit Consulting http://www.gpsclock.com/

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



Re: Numerous hard hangs on TWO different ASUS P4T-E w/P4 1.6G

2002-06-07 Thread Lars Eggert

Frank Mayhar wrote:
> I see very common short-term hangs, a few seconds to less than a minute.
> The mouse and keyboard stop responding, X stops updating and everything
> just pauses, the whole system (including the network).  It then starts
> back up, often dropping keyboard or mouse data.  Once in a while (not
> sure how often, but at least every couple of days) it hangs solid and
> never comes back.  Totally unresponsive.  This invariably requires a
> hard reset.
> 
> This is a busy system.  Near-constant load on the network (some 40-100KB/s),
> lots of disk accesses.  Seems worse when network and/or SCSI load is high.

I've seen these, too, on a dual-P3 Dell Precision 420. Under high loads 
(buildworld), I get the exact same short-time freezes that sometimes 
recover, and sometimes lockup the machine solid.

We have the same sound card (and network card), and in my case, not 
playing audio during high loads solves the problem - are you using your 
audio device at all when this happens?

Lars
-- 
Lars Eggert <[EMAIL PROTECTED]>   USC Information Sciences Institute



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Numerous hard hangs on TWO different ASUS P4T-E w/P4 1.6G

2002-06-07 Thread Frank Mayhar

I'm experiencing hangs as well.  At first I thought it was the fxp0/sym
driver thing, but I've since changed hardware almost completely and the
hangs persis.  I'm now strongly suspecting some kind of interrupt problem.
For the record, I've attached my dmesg output.  This is a dual AMD MP 1900+
(1.6 GHz) Tyan 2466N-4M system.  3Com xl0 ethernet, Adaptec 39160 and 3940
SCSI, Creative Soundblaster Live! audio, Radeon 8500 128MB video (XFree86
4.2).  2GB DDR memory.

I see very common short-term hangs, a few seconds to less than a minute.
The mouse and keyboard stop responding, X stops updating and everything
just pauses, the whole system (including the network).  It then starts
back up, often dropping keyboard or mouse data.  Once in a while (not
sure how often, but at least every couple of days) it hangs solid and
never comes back.  Totally unresponsive.  This invariably requires a
hard reset.

This is a busy system.  Near-constant load on the network (some 40-100KB/s),
lots of disk accesses.  Seems worse when network and/or SCSI load is high.

Dmesg output follows.  If there's anything I can do to help diagnose this
problem, please let me know...
-- 
Frank Mayhar [EMAIL PROTECTED] http://www.exit.com/
Exit Consulting http://www.gpsclock.com/


Copyright (c) 1992-2002 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.6-RC #21: Thu May 23 15:24:24 PDT 2002
[EMAIL PROTECTED]:/usr/src/sys/compile/REALTIME
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD Athlon(tm) MP 1900+ (1600.07-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2
  
Features=0x383fbff
  AMD Features=0xc048<,AMIE,DSP,3DNow!>
real memory  = 2146959360 (2096640K bytes)
config> q
avail memory = 2086846464 (2037936K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  1, version: 0x00040010, at 0xfee0
 cpu1 (AP):  apic id:  0, version: 0x00040010, at 0xfee0
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec0
Preloaded elf kernel "kernel" at 0xc042a000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc042a09c.
Preloaded elf module "umap.ko" at 0xc042a0ec.
link_elf: symbol null_bypass undefined
Pentium Pro MTRR support enabled
Using $PIR table, 12 entries at 0xc00fdf00
apm0:  on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  on motherboard
pci0:  on pcib0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pci1:  at 5.0 irq 11
isab0:  at device 7.0 on pci0
isa0:  on isab0
atapci0:  port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
chip1:  at device 7.3 on pci0
ahc0:  port 0x1000-0x10ff mem 
0xc000-0xcfff irq 5 at device 9.0 on pci0
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1:  port 0x1400-0x14ff mem 
0xc0001000-0xc0001fff irq 11 at device 9.1 on pci0
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
pcib2:  at device 16.0 on pci0
pci2:  on pcib2
ohci0:  mem 0xc020-0xc0200fff irq 10 at device 0.0 
on pci2
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0:  on ohci0
usb0: USB revision 1.0
uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
pcib3:  at device 6.0 on pci2
pci3:  on pcib3
ahc2:  port 0x4000-0x40ff mem 0xc030-0xc0300fff 
irq 11 at device 4.0 on pci3
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
ahc3:  port 0x4400-0x44ff mem 0xc0301000-0xc0301fff 
irq 10 at device 5.0 on pci3
aic7880: Ultra Wide Channel B, SCSI Id=7, 16/253 SCBs
pcm0:  port 0x3080-0x309f irq 10 at device 7.0 on pci2
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x3000-0x307f mem 0xc0201000-0xc020107f 
irq 10 at device 8.0 on pci2
xl0: Ethernet address: 00:e0:81:20:cc:de
miibus0:  on xl0
ukphy0:  on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
orm0:  at iomem 0xc-0xccfff,0xcd000-0xcd7ff,0xdc000-0xd on isa0
fdc0:  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:  at port 0x60,0x64 on isa0
atkbd0:  irq 1 on atkbdc0
psm0:  irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0:  on isa0
sc0: VGA <4 virtual consoles, flags=0x200>
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:  at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
unknown:  can't assign resources
unknown:  can't assign resources
unknown:  can't assign resources
unknown:  can't assign 

AMI Megaraid + Reboot problems

2002-06-07 Thread Byron Schlemmer


Hi folks I have sent the following to freebsd-questions but maybe this
is  a better place to ask?

I have a AMI MegaRaid controller :

amr0:  mem 0x-0x irq 11 at device 11.0 on pci0
amr0:  Firmware E161, BIOS 3.13, 32MB RAM

running on :

$ uname -a
FreeBSD machine 4.6-RC FreeBSD 4.6-RC #0: Tue May 28 15:35:17 BST 2002
root@machine:/usr/src/sys/compile/EHSB  i386

Now the problem is whenever I reboot, or shutdown, the box seems to
shutdown correctly, then I get a message saying :

amr0 flushing cache ... done
Rebooting...

And the machine seems to hang there, never actually rebooting? Has
anyone else experienced this? Any solutions to actually get the box
to reboot?

-byron

--

"Those who do not understand Unix are condemned to reinvent it, poorly."
   -- Henry Spencer



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



Re: SMP/5.0 performance on single CPU?

2002-06-07 Thread Poul-Henning Kamp

In message <[EMAIL PROTECTED]>, j mckitrick writes:
>On Fri, Jun 07, 2002 at 02:44:27PM +0200, Poul-Henning Kamp wrote:
>| In message <[EMAIL PROTECTED]>, j mckitrick writes:
>| >| On the other hand, there are numerous new features (GEOM, TrustedBSD,
>| >| OpenPAM, Snapshots + background fsck, etc) being implemented in 5.x that
>| >
>| 
>| >Other than devfs (which I haven't investigated yet) it seems most of
>| >these features are extras, not the basics, correct?  Other than SMP, of
>| >course.
>| 
>| It is the intent that GEOM will be standard (or basics if you like).
>
>But this will be one of those transparent features, correct?

Hopefully.

-- 
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer   | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.

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



Re: randompid

2002-06-07 Thread Maxime Henrion

Alexey Privalov wrote:
> hi all.
> 
> i`m trying to set randompid:
> 
> root@land3# sysctl kern.randompid=1
> kern.randompid: 0 -> 0
> 
> what`s a need to set on?

The value you give to this sysctl is not a boolean, it's a value used in
the formula which computes the randompid.  This value is sanity checked,
that's why giving 1 doesn't do anything.  Here is the code which is
responsible for this :

if (pid < 0 || pid > PID_MAX - 100) /* out of range */
pid = PID_MAX - 100;
else if (pid < 2)   /* NOP */
pid = 0;
else if (pid < 100) /* Make it reasonable */
pid = 100;

This should give you enough information to chose a good value. :-)

Maxime

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



Re: cvsup doesn't get me what I want

2002-06-07 Thread Dan Langille

On 6 Jun 2002 at 21:05, John Polstra wrote:

> In article <[EMAIL PROTECTED]>,
> Dan Langille <[EMAIL PROTECTED]> wrote:
> > On 4 Jun 2002 at 8:37, John Polstra wrote:
> > > I'll help you figure this out if you'll send me the following
> > > information:
> > 
> > Thanks John.
> > 
> > > 
> > > The cvsupd server config files for the collection ("releases"
> > > and the list file).
> > 
> > [dan@xeon:/home/repositories/sup/freshports-phpAds] $ less list.cvs
> > upgrade phpPgAds
> > [dan@xeon:/home/repositories/sup/freshports-phpAds] $ less releases
> > cvs list=list.cvs prefix=/home/repositories/freebsddiary
> 
> OK, this says the server is getting its files from
> "/home/repositories/freebsddiary".  But ...

That's the problem.  That should be /home/repositories/freshports-1

> > > The full pathname of the ChangeLog RCS file you used as your
> > > example, on the server machine.
> > 
> > /home/repositories/freshports-1/phpPgAds/ChangeLog,v

That's the wrong file I gave you, that should be this file:

/home/repositories/freebsddiary/phpPgAds/ChangeLog,v

> That is a different file!  It's under "/home/repositories/freshports-1",
> which is not where the "releases" file tells the server to look.

Once I fixed the releases file to point to the correct repo (DOH!), both 
tags worked (. and FreshPorts2).  That should have been my clue.   The 
collection exists in both repos but with different tags (and different 
customizations for each website).

Thank you John.  :)
-- 
Dan Langille


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



Re: SMP/5.0 performance on single CPU?

2002-06-07 Thread j mckitrick

On Fri, Jun 07, 2002 at 02:44:27PM +0200, Poul-Henning Kamp wrote:
| In message <[EMAIL PROTECTED]>, j mckitrick writes:
| >| On the other hand, there are numerous new features (GEOM, TrustedBSD,
| >| OpenPAM, Snapshots + background fsck, etc) being implemented in 5.x that
| >
| 
| >Other than devfs (which I haven't investigated yet) it seems most of
| >these features are extras, not the basics, correct?  Other than SMP, of
| >course.
| 
| It is the intent that GEOM will be standard (or basics if you like).

But this will be one of those transparent features, correct?


NOTE: Please CC me, as I am not currently subscribed.  Thanks.

jm
-- 
My other computer is your windows box.

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



randompid

2002-06-07 Thread Alexey Privalov

hi all.

i`m trying to set randompid:

root@land3# sysctl kern.randompid=1
kern.randompid: 0 -> 0

what`s a need to set on?

best regards,
lucky.

PS:

`uname -a`:
FreeBSD land3.nsu.ru 4.5-STABLE FreeBSD 4.5-STABLE #0: Tue Mar 12 20:09:17 NOVT
i386





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



Re: SMP/5.0 performance on single CPU?

2002-06-07 Thread Poul-Henning Kamp

In message <[EMAIL PROTECTED]>, j mckitrick writes:
>| On the other hand, there are numerous new features (GEOM, TrustedBSD,
>| OpenPAM, Snapshots + background fsck, etc) being implemented in 5.x that
>

>Other than devfs (which I haven't investigated yet) it seems most of
>these features are extras, not the basics, correct?  Other than SMP, of
>course.

It is the intent that GEOM will be standard (or basics if you like).

-- 
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer   | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.

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



Re: SMP/5.0 performance on single CPU?

2002-06-07 Thread j mckitrick

| On the other hand, there are numerous new features (GEOM, TrustedBSD,
| OpenPAM, Snapshots + background fsck, etc) being implemented in 5.x that

It appears that most of these are features that are 'use as needed.'  In
other words, if I don't need them, I don't need to know about them.  On
the other hand, when moving to 4.0 there were issues with hardware
(specifically PC-cards and sound) that gave me a hard time for quite a
while.  These were less about new features and more about underlying
architecture and stability, and getting new code to work correctly.

Other than devfs (which I haven't investigated yet) it seems most of
these features are extras, not the basics, correct?  Other than SMP, of
course.

jm
-- 
There are only 10 types of people in this world:
those who understand binary, and those who don't.

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



Re: Thanks for replying

2002-06-07 Thread trish . tipperman

Hey,

How is it going?  Thanks for looking at my ad on yahoo.  Here is the picture of me you 
were asking about.  http://web.where.org/trish .  I hope you understand the position I 
am in.  Hope to hear from you soon.

*hugz*
Trishy


[no subject]

2002-06-07 Thread owner-freebsd-hackers

é  id ; Fri, 7 Jun 2002 09:32:15 +0200
Received: from mx2.postwall.mm.fr.atosorigin.com (mx002.axime.com [160.92.18.152]) by 
hermes3.atos-group.com with SMTP (Microsoft Exchange Internet Mail Service Version 
5.5.2653.13)
id MM696F9C; Fri, 7 Jun 2002 02:37:49 +0200
Received: from mx2.freebsd.org (mx2.FreeBSD.org [216.136.204.119])
by mx2.postwall.mm.fr.atosorigin.com (Postfix) with ESMTP id D9D37180B6
for <[EMAIL PROTECTED]>; Fri,  7 Jun 2002 02:05:31 +0200 (CEST)
Received: from hub.freebsd.org (hub.FreeBSD.org [216.136.204.18])
by mx2.freebsd.org (Postfix) with ESMTP
id 97529563AD; Thu,  6 Jun 2002 17:20:27 -0700 (PDT)
(envelope-from [EMAIL PROTECTED])
Received: by hub.freebsd.org (Postfix, from userid 538)
id 4D7A437B406; Thu,  6 Jun 2002 17:20:24 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
by hub.freebsd.org (Postfix) with SMTP
id 8E2F62E8010; Thu,  6 Jun 2002 17:20:23 -0700 (PDT)
Received: by hub.freebsd.org (bulk_mailer v1.12); Thu, 6 Jun 2002 17:20:23 -0700
Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161])
by hub.freebsd.org (Postfix) with ESMTP
id A0F2537B405; Thu,  6 Jun 2002 17:20:13 -0700 (PDT)
Received: from isi.edu ([EMAIL PROTECTED] [128.9.160.75])
by boreas.isi.edu (8.11.6/8.11.2) with ESMTP id g570K2r11416;
Thu, 6 Jun 2002 17:20:02 -0700 (PDT)
Delivered-To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Date: Thu, 06 Jun 2002 17:20:01 -0700
From: Lars Eggert <[EMAIL PROTECTED]>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0rc3) Gecko/20020528
X-Accept-Language: en-us, de-de
MIME-Version: 1.0
To: John Baldwin <[EMAIL PROTECTED]>
Cc: Trish Lynch <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: Project: a benchmark utility
References: <[EMAIL PROTECTED]>
Sender: [EMAIL PROTECTED]
List-ID: 
List-Archive:  (Web Archive)
List-Help:  (List Instructions)
List-Subscribe: 
List-Unsubscribe: 
X-Loop: FreeBSD.ORG
Precedence: bulk
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; 
boundary="ms030607040908050605000500"

This is a cryptographically signed message in MIME format.

--ms030607040908050605000500
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

John Baldwin wrote:
 > Once I have that, it would be nice to have a simple tool that would
 > take one of these tabular files as input and spit out appropriate
 > statistics about each column (mean, mode, median, stddev, highlight
 > outliers, etc.).  If some sensible (i.e. meaningful) graphs can be
 > generated from this data using gnuplot or some such that would be
 > nice, too.  Any takers?

You want John Heidemann's JDB! I'm using it for any number crunching I
need to do for my benchmarks.

http://www.isi.edu/~johnh/SOFTWARE/JDB/index.html

Lars
-- 
Lars Eggert <[EMAIL PROTECTED]>   USC Information Sciences Institute

--ms030607040908050605000500
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIIrjCC
ArUwggIeoAMCAQICAwWBRzANBgkqhkiG9w0BAQIFADCBkjELMAkGA1UEBhMCWkExFTATBgNV
BAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUx
HTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVl
bWFpbCBSU0EgMjAwMC44LjMwMB4XDTAxMDgyNDE2NDAwMFoXDTAyMDgyNDE2NDAwMFowVDEP
MA0GA1UEBBMGRWdnZXJ0MQ0wCwYDVQQqEwRMYXJzMRQwEgYDVQQDEwtMYXJzIEVnZ2VydDEc
MBoGCSqGSIb3DQEJARYNbGFyc2VAaXNpLmVkdTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkC
gYEA0AvLBsD78nxcUHeHkaMgl3b4qYPnfgbf8Lh+HQP8RgGMRG/Yb+vTpkGezlwt9pkJxiD1
1uZDy4CNNJUu3gKxKSb+zRV70O+lkwwftuHoLHoH4xwo3LcQ2LGDpd+I95tUN4dfJ3TmeEcU
SF50dC/SuUI4w8AlhXQ8IxrhgdayTpECAwEAAaNWMFQwKgYFK2UBBAEEITAfAgEAMBowGAIB
BAQTTDJ1TXlmZkJOVWJOSkpjZFoyczAYBgNVHREEETAPgQ1sYXJzZUBpc2kuZWR1MAwGA1Ud
EwEB/wQCMAAwDQYJKoZIhvcNAQECBQADgYEAheZhn0pQA8zI7U2K1ZIAl11j0a1DKxnp3GtT
vOUrGRB3WvYxidvdZ1kizhEsWeXU81TkNDH0DaRqtOEeu6Q2OhB+jeKEqY7IDAJE4/fI0e+d
6PnG1hd+vEvYmsKHkmzBhPc94XUOKNWO+qVNP2NGyNI3QIDy5wX4fdcOo1S34r4wggK1MIIC
HqADAgECAgMFgUcwDQYJKoZIhvcNAQECBQAwgZIxCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxX
ZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEPMA0GA1UEChMGVGhhd3RlMR0wGwYD
VQQLExRDZXJ0aWZpY2F0ZSBTZXJ2aWNlczEoMCYGA1UEAxMfUGVyc29uYWwgRnJlZW1haWwg
UlNBIDIwMDAuOC4zMDAeFw0wMTA4MjQxNjQwMDBaFw0wMjA4MjQxNjQwMDBaMFQxDzANBgNV
BAQTBkVnZ2VydDENMAsGA1UEKhMETGFyczEUMBIGA1UEAxMLTGFycyBFZ2dlcnQxHDAaBgkq
hkiG9w0BCQEWDWxhcnNlQGlzaS5lZHUwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBANAL
ywbA+/J8XFB3h5GjIJd2+KmD534G3/C4fh0D/EYBjERv2G/r06ZBns5cLfaZCcYg9dbmQ8uA
jTSVLt4CsSkm/s0Ve9DvpZMMH7bh6Cx

Re: accessing data track of multimedia CD?

2002-06-07 Thread Nicolas Rachinsky

* Brian Reichert <[EMAIL PROTECTED]> [2002-06-06 18:04 -0400]:
> I've been beating my head for hours against a wall trying to research
> this:
> 
> Under FreeBSD (4.5-RELEASE), with an ATAPI device (/dev/acd0c), how
> can I mount, or otherwise access the data in a 'data track' of a
> 'multimedia CD'?
> 
> cdda2wav shows me:

Look at the output of
cdcontrol -f /dev/ Info
instead.

If there is a track with type data, you can try to mount this track
with mount_cd9660 with parameter -s followed by the startsector of the
data track (shown by cdcontrol).

HTH
Nicolas

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