Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Nov 2001 13:42:10 -0800
From:      "Rev. Joe Doyle" <doyle@nebcorp.com>
To:        freebsd-questions@freebsd.org
Subject:   cdda2wav segfaulting
Message-ID:  <20011126134210.D12873@nebcorp.com>

next in thread | raw e-mail | index | archive | help

--2fHTh5uZTiUOsy+g
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

	Hello, I just updated to FreeBSD 4.4-STABLE, and since then, 
cdda2wav has been segfaulting:

please:OBJ/i386-freebsd-cc> ./cdda2wav -O wav -D /dev/acd0a foo.wav 
cdrom device (/dev/acd0a) is not of type generic SCSI. Setting interface 
to cooked_ioctl.
266240 bytes buffer memory requested, 4 buffers, 27 sectors
#Cdda2wav version 1.10_freebsd_4.4-stable_i386_i386 real time sched. 
soundcard support
AUDIOtrack pre-emphasis  copy-permitted tracktype channels
      1-11           no              no     audio    2
Table of Contents: total tracks:11, (total time 857793:44.30)
  1.(633077:45.45),  2.(295698:29.25),  3.(355976:59.23),  4.(531846:32.40),  5.(828826:30.46)  6.(731804:06.14),  7.(724493:15.23),  8.(180879:21.45), 9.(583168:30.54), 10.(426712:10.50), 11.(337495:53.45), lead-out(3860071680)
CDINDEX discid: PJB4VosOwU_qo_BDdwqhQqs1vNE-
CDDB discid: 0x7355660b
CD-Text: not detected
CD-Extra: not detected
W Sector offset 0 exceeds track size (ignored)
End track is no valid audio track (ignored)
samplefile size will be 346030124 bytes.
recording -19281565.-3648 seconds stereo with 16 bits @ 44100.0 Hz 
->'foo'...
overlap:min/max/cur, jitter, percent_done:
??/??/??/???????   0%Sorry, this driver and/or drive does not support cdda reading.
cooked: Read cdda : Invalid argument
 sector 0 + 2848849920, buffer 28136000 + 41000
request defined buff:: Bad file descriptor
parent writer sem request failed
zsh: segmentation fault (core dumped)  ./cdda2wav -O wav -D /dev/acd0a foo.wav


	It's reading the CD and getting track data and doing the checksum 
for cddb lookups, but chokes on the reading of the data.  I've tried 
rebuilding cdda2wav (from the cdrtools port), to no avail.  Here is the 
output of uname -a:

FreeBSD please.tellme.com 4.4-STABLE FreeBSD 4.4-STABLE #0: Fri Nov 16 
19:53:32 PST 2001     root@please.tellme.com:/usr/obj/usr/src/sys/PLEASE  
i386

	I'm also including my kernel conf, though that has not changed 
since cdda2wav stopped working.  Any tips would be appreciated.



-Joe

--2fHTh5uZTiUOsy+g
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="PLEASE.conf"

#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.FreeBSD.org/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.21 2001/01/12 23:45:14 scottl Exp $

machine		i386
cpu		I686_CPU
ident		PLEASE
maxusers	32

options 	INET			#InterNETworking
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	MFS			#Memory Filesystem
options 	MD_ROOT			#MD is a potential root device
options 	NFS			#Network Filesystem
options 	MSDOSFS			#MSDOS Filesystem
options 	CD9660			#ISO 9660 Filesystem
options 	CD9660_ROOT		#CD-ROM usable as root, CD9660 required
options 	PROCFS			#Process filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options		USER_LDT
options 	UCONSOLE		#Allow users to grab the console
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	P1003_1B		#Posix P1003_1B real-time extensions
options 	_KPOSIX_PRIORITY_SCHEDULING
options		ICMP_BANDLIM		#Rate limit bad replies
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev

device		isa
device		eisa
device		pci

# Floppy drives
device		fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0
device		fd1	at fdc0 drive 1

# ATA and ATAPI devices
device		ata0	at isa? port IO_WD1 irq 14
device		ata1	at isa? port IO_WD2 irq 15
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
device		atapifd			# ATAPI floppy drives
device		atapist			# ATAPI tape drives
options 	ATA_STATIC_ID		#Static device numbering
#options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1 flags 0x1
device		psm0	at atkbdc? irq 12

device		vga0	at isa?

# splash screen/screen saver
pseudo-device	splash

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? flags 0x100

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device		vt0	at isa?
#options 	XSERVER			# support for X server on a vt console
#options 	FAT_CURSOR		# start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options 	PCVT_SCANSET=2		# IBM keyboards are non-std

# Floating point support - do not disable.
device		npx0	at nexus? port IO_NPX irq 13


# Serial (COM) ports
device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3
device		sio2	at isa? disable port IO_COM3 irq 5
device		sio3	at isa? disable port IO_COM4 irq 9

# Parallel port
device		ppc0	at isa? irq 7
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer
device		plip		# TCP/IP over parallel
device		ppi		# Parallel port interface device
#device		vpo		# Requires scbus and da


# PCI Ethernet NICs.
device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device		miibus		# MII bus support
device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device	tun		# Packet tunnel.
pseudo-device	pty		# Pseudo-ttys (telnet etc)
pseudo-device	md		# Memory "disks"

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device	bpf		#Berkeley packet filter

# sound
device		pcm

--2fHTh5uZTiUOsy+g--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011126134210.D12873>