problem with mounting cd: "cd9660: /dev/acd0c: Invalid argument:"

Jozef Babjak babjak at neuron.tuke.sk
Mon Jan 19 00:08:29 PST 2004


Hi, 

when I try to mount data cd (not audio), I obtain following error: 

[root]{~}<8:43:19>mount /cdrom
cd9660: /dev/acd0c: Invalid argument
[root]{~}<8:43:26>

There is a line in the /etc/fstab file for my cd-rom:

[root]{~}<8:47:19>grep cdrom /etc/fstab
/dev/acd0c  /cdrom  cd9660  ro,noauto  0  0
[root]{~}<8:47:27>

My cdrom is connected like secondary master: 

[root]{~}<8:48:44>dmesg | grep acd0
acd0: CD-RW <PLEXTOR CD-R PX-W5224A> at ata1-master UDMA33
[root]{~}<8:49:03>

Devices in /dev directory seem to be OK: 

[root]{~}<8:51:49>ls -l /dev | egrep acd
crw-r-----   4 root    operator  117,   0 Jan 19 08:40 acd0a
crw-r-----   4 root    operator  117,   0 Jan 19 08:40 acd0c
crw-r-----   4 root    operator  117,   0 Jan 19 08:40 racd0a
crw-r-----   4 root    operator  117,   0 Jan 19 08:40 racd0c
[root]{~}<8:52:07>

Finally, file-system entries in my kernel config file: 

options  FFS                  #Berkeley Fast Filesystem
options  FFS_ROOT             #FFS usable as root device [keep this!]
options  SOFTUPDATES          #Enable FFS soft updates support
options  CD9660               #ISO 9660 Filesystem
options  PROCFS               #Process filesystem
[...]
device   ata
device   atadisk              # ATA disk drives
device   atapicd              # ATAPI CDROM drives
options  ATA_STATIC_ID        #Static device numbering

Kernel is compiled with this /etc/make.conf file: 

CPUTYPE=k7
CFLAGS= -O -pipe
COPTFLAGS= -O -pipe

My system is:

[babjak]{~}<8:56:14>uname -a
FreeBSD cronin.chtf.stuba.sk 4.9-STABLE FreeBSD 4.9-STABLE #0: Mon Jan 19 
08:18:25 CET 2004     
root at cronin.chtf.stuba.sk:/usr/src/sys/compile/KERONIN  i386
[babjak]{~}<8:58:33>

This problem starts after upgrading 4.9-RELEASE to 4.9-STABLE via CVSup 
/src/sys source tree and make 
buildworld/buildkernel/installkernel/installworld (kernel and rest system 
are sync). Before upgrade mentioned above everything worked well. I run 
'MAKEDEV all' from mergemaster after installing new kernel & world. 

I forgot something? Thank you for any advices. 

Jozef Babjak. 




More information about the freebsd-stable mailing list