Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  1 Jun 1999 19:05:40 -0200 (GMT)
From:      "root" <root@soc.lg.gov.ua>
To:        freebsd-hardware@FreeBSD.ORG
Subject:   No access to cdrom
Message-ID:  <AB4U-5xOk0@soc.lg.gov.ua>

next in thread | raw e-mail | index | archive | help
I have one problem.
After mount /cdrom I get:
mount:wcd0c:Invalid argument.
However sometimes that attempt to mount cdrom is successfull. (2-3 times
in week).
Usually I mount cdrom throught /stand/sysinstall and find cd in /dist
after login in another tty. But that way is not convenient.
My machine configuration:
2 ide channels, on 1st: harddisk1 master
                        harddisk2 slave
                on 2nd: harddisk3 master
                        cdrom Acer 4x slave

Somebody, please help.
My kernel config file:

machine         "i386"
cpu             "I586_CPU"
ident           MYKERNEL
maxusers        10

#---------------------
options         IPX
#options         SC_HISTORY_SIZE 100
options         NS                      #NetCon IPX/SPXII Protocol Stack
options         SPX_HACK
options         COMPAT_LINUX
options         USER_LDT                #for WinE
options         "SC_MOUSE_CHAR=0x03"
#---------------------


options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         NFS                     #Network Filesystem
options         MSDOSFS                 #MSDOS Filesystem
options         "CD9660"                #ISO 9660 Filesystem
options         PROCFS                  #Process filesystem
options         "COMPAT_43"             #Compatible with BSD 4.3 [KEEP THIS!]
options         BOUNCE_BUFFERS          #include support for DMA bounce buffers

options         SYSVSHM
options         SYSVSEM
options         SYSVMSG
options         UCONSOLE                #Allow users to grab the console
options         FAILSAFE                #Be conservative
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor
options         QUOTA


#options                "EXT2FS"
config          kernel  root on wd1

controller      isa0
##controller    eisa0
controller      pci0

controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk            fd0     at fdc0 drive 0
# Unless you know very well what you're doing, leave ft0 at drive 2, or
# remove the line entirely if you don't need it.  Trying to configure
# it on another unit might cause surprises, see PR kern/7176.

##options               "CMD640"        # work around CMD640 chip deficiency
controller      wdc0    at isa? port "IO_WD1" bio irq 14 vector wdintr
disk            wd0     at wdc0 drive 0
disk            wd1     at wdc0 drive 1

controller      wdc1    at isa? port "IO_WD2" bio irq 15 vector wdintr
disk            wd2     at wdc1 drive 0

options         ATAPI           #Enable ATAPI support for IDE bus
options         ATAPI_STATIC
device          wcd0            #IDE CD-ROM
#-----------------------------------------
#options         AUTO_EOI_1
#options         AUTO_EOI_2
#-----------------------------------------


# A single entry for any of these controllers (ncr, ahb, ahc, amd) is
# sufficient for any number of installed devices.


##options               DPT_MEASURE_PERFORMANCE # Required by DPT driver??
#options                DPT_VERIFY_HINTR        # Some hardware must have it!
#options                DPT_TRACK_CCB_STATES    # Some hardware must have it!
#options                DPT_HANDLE_TIMEOUTS     # Some hardware must have it!

#options                DPT_TIMEOUT_FACTOR=4    # Some hardware needs more


# syscons is the default console driver, resembling an SCO console
device          sc0     at isa? port "IO_KBD" tty irq 1 vector scintr
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
options         XSERVER                 # support for X server
#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

# Mandatory, don't remove
device          npx0    at isa? port "IO_NPX" flags 0x1 irq 13 vector npxintr

#
# Laptop support (see LINT for more options)
#
##device                apm0    at isa? disable # Advanced Power Management
##options               APM_BROKEN_STATCLOCK    # Workaround some buggy APM BIOS
# PCCARD (PCMCIA) support
#controller     card0
#device         pcic0   at card?
#device         pcic1   at card?
controller snd0
device sb0 at isa? port 0x220 irq7 drq1 vector sbintr

device          sio0    at isa? port "IO_COM1" tty irq 4 vector siointr
device          sio1    at isa? port "IO_COM2" tty irq 3 vector siointr


device          psm0    at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr

# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
device de0


pseudo-device   loop
pseudo-device   ether
pseudo-device   log
##pseudo-device sl      1
##pseudo-device ppp     1
pseudo-device   vn      1
##pseudo-device tun     1
pseudo-device   pty     16
pseudo-device   gzip            # Exec gzipped a.out's

# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
##options               KTRACE          #kernel tracing

# This provides support for System V shared memory.
#
options         SYSVSHM




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




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