Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Aug 2002 11:18:00 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        Ruslan Sulemanov <amnesiac@2mcl.com>
Cc:        Kent Stewart <kstewart@owt.com>, freebsd-stable@freebsd.org
Subject:   Re: Re[2]: After upgrade problem 
Message-ID:  <20020826181800.AAFFA5D03@ptavv.es.net>
In-Reply-To: Your message of "Mon, 26 Aug 2002 20:55:00 %2B0400." <733215327.20020826205500@2mcl.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Mon, 26 Aug 2002 20:55:00 +0400
> From: Ruslan Sulemanov <amnesiac@2mcl.com>
> Sender: owner-freebsd-stable@FreeBSD.ORG
> 
> With a hardware there can not be problems because i tested
> other hard disks with this version freebsd 4.6.2 stable, i think
> here only a software specification error, but what ?
> 
> My kernel options for cd:
>  options CD9660
>  options CD9660_ROOT
>  device  cd
>  device  atapicd                 # ATAPI CDROM drives
>  
> jeet#dmesg | grep acd
> acd0: CDROM <SAMSUNG CD-ROM SC-152L> at ata1-slave PIO4
> 
> This device exists:
> /dev/acd0a
> /dev/acd0c
> /dev/acd1a
> /dev/acd1c
> 
> After installworld i two times one is mergemaster without
> any parameters and meregemaster with -C parameter.
> #cd /usr/obj
> #chflags -R noschg *
> #rm -rf *
> #cd /usr/src
> #mergemaster -p
> #make buildworld
> #make buildkernel KERNCONF=MYKERNEL
> #make installkernel KERNCONF=MYKERNEL
> #shutdown -r now
> #boot -s fsck -p
> #mount -u /
> #mount -a -t ufs
> #swapon -a
> #adjkerntz -i
> #cd /usr/src
> #make installworld
> #mergemaster
> #mergemaster -C
> #reboot

You don't need "device cd" in your kernel. It is only needed for SCSI
CDs and yours is clearly ATAPI.

I would be interested in the result of:
ls -l /dev/acd*

FWIW, the "mount -u /" is no longer required. It is implicit in the
"mount -a -t ufs", but it should not hurt.

You might also want to add:
hw.ata.atapi_dma="1"    # Run the CD-ROM/DVD in DMA mode
to /boot/loder.conf.

I'm really running out of ideas!

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634

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




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