Re: disabling ata devices

2005-06-15 Thread JM

Björn König wrote:


JM wrote:


from dmesg -a:
...
ad0: 19077MB  [38760/16/63] at ata0-master UDMA33
acd0: CDROM  at ata0-slave UDMA33
Mounting root from ufs:/dev/ad0s1a
...

when probing acd0 the system waits for about 10-20 seconds. [...]



Are you really sure that your CD-ROM drive is the originator of the 
problem, i.e. it works fine if you unplug your drive physically?


Björn


yes, there is no pause when it's unplugged..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: disabling ata devices

2005-06-15 Thread Roland Smith
On Wed, Jun 15, 2005 at 10:08:42AM -0400, JM wrote:
> >
> i thought about this but the ad0 and acd0 are on the same controller... 
> i think.  is there some hardware probe i can use to confirm which 
> controller each ata device belongs to (corresponding to the device.hints 
> entry...)

Run "atacontrol list" as root.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpAALMK9DfEI.pgp
Description: PGP signature


Re: disabling ata devices

2005-06-15 Thread JM

Dmitry Mityugov wrote:


On 6/15/05, JM <[EMAIL PROTECTED]> wrote:
 


Dmitry Mityugov wrote:

   


On 6/15/05, JM wrote:


 


i'm not exactly sure how to accomplish this... i'm having problems with
my cd-rom, which isn't surprising since it's a slim-line without UDMA
and probably isn't supported... but... it's eating up time when i'm
booting the system.  i've erased the fstab lines for acd0 but it's still
probing the hardware when i boot the machine.  how do i completely
disable probing for this device at startup?  if possible i'd like to
just remove the device node altogether.  every time i remove /dev/acd0
it's just recreated each time i restart.  not sure how to permanently
remove it without physically removing it from the system.  is there
anyway to remove the node without removing the iso9660 entry from the
kernel?


   


Is it possible to disable it in BIOS?



 


i was thinking more along the lines of telling the loader not to probe
for it...
   



Not sure if this will work but if the CD-ROM device is on a separate
ATA controller, you can try to disable with with corresponding
"disabled" statement in /boot/device.hints, like

hint.ata.1.disabled="1"

 

i thought about this but the ad0 and acd0 are on the same controller... 
i think.  is there some hardware probe i can use to confirm which 
controller each ata device belongs to (corresponding to the device.hints 
entry...)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: disabling ata devices

2005-06-15 Thread Titus von Boxberg

JM schrieb:
i'm not exactly sure how to accomplish this... i'm having problems with 
my cd-rom, which isn't surprising since it's a slim-line without UDMA 
and probably isn't supported... but... it's eating up time when i'm 
just remove the device node altogether.  every time i remove /dev/acd0 
it's just recreated each time i restart.  not sure how to permanently 
remove it without physically removing it from the system.  is there 
anyway to remove the node without removing the iso9660 entry from the 
kernel?

Neither iso9660 nor the device entry have to do with the probing of
your CD drive.
Either you make a custom kernel and comment out the appropriate
line for the driver or you can configure the kernel at boot
time via "UserConfig" not to probe for the device.
The first way is straightforward and documented in the handbook.
The second way is documented in the loader(8) manpage
and e.g. here:
http://www.treefort.org/~rpratt/freebsd/31/userconfig.html
or for different CD-ROM drives mentioned here:
http://www.freebsd.org/relnotes/5-STABLE/installation/i386/trouble.html

regards
Titus
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: disabling ata devices

2005-06-15 Thread Björn König

JM wrote:


from dmesg -a:
...
ad0: 19077MB  [38760/16/63] at ata0-master UDMA33
acd0: CDROM  at ata0-slave UDMA33
Mounting root from ufs:/dev/ad0s1a
...

when probing acd0 the system waits for about 10-20 seconds. [...]


Are you really sure that your CD-ROM drive is the originator of the 
problem, i.e. it works fine if you unplug your drive physically?


Björn
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: disabling ata devices

2005-06-15 Thread JM

Björn König wrote:


JM wrote:

i'm not exactly sure how to accomplish this... i'm having problems 
with my cd-rom, which isn't surprising since it's a slim-line without 
UDMA and probably isn't supported... but... it's eating up time when 
i'm booting the system.  i've erased the fstab lines for acd0 but 
it's still probing the hardware when i boot the machine.



Please show the point where it takes time. You have a log in 
/var/run/dmesg.boot


how do i completely disable probing for this device at startup? 



As far as I know this is not possible (I might be mistaken). Either 
you remove the hardware or the support for this piece of hardware.


if possible i'd like to just remove the device node altogether.  
every time i remove /dev/acd0 it's just recreated each time i restart.



devfs provides a kind of virtual file system which will be created in 
respect of the devices that are known to the kernel. Everytime you 
unmount devfs all changes that were directly made to /dev are gone.


not sure how to permanently remove it without physically removing it 
from the system. is there anyway to remove the node without removing 
the iso9660 entry from the kernel?



The 'CD9660' option in the kernel configuration is a file system 
support and has nothing necessarily to do with support of hardware 
devices. I guess you mean 'device atapicd'.


Björn


from dmesg -a:
...
ad0: 19077MB  [38760/16/63] at ata0-master UDMA33
acd0: CDROM  at ata0-slave UDMA33
Mounting root from ufs:/dev/ad0s1a
...

when probing acd0 the system waits for about 10-20 seconds.  i'd like to 
leave the kernel alone since i'd rather not compile out cdrom support 
altogether.  i'd simply like to tell FreeBSD to not probe this device at 
boot.  this way there will be no device node associated with it, no 
timeouts, no lag on booting, etc.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: disabling ata devices

2005-06-15 Thread Dmitry Mityugov
On 6/15/05, JM <[EMAIL PROTECTED]> wrote:
> Dmitry Mityugov wrote:
> 
> >On 6/15/05, JM wrote:
> >
> >
> >>i'm not exactly sure how to accomplish this... i'm having problems with
> >>my cd-rom, which isn't surprising since it's a slim-line without UDMA
> >>and probably isn't supported... but... it's eating up time when i'm
> >>booting the system.  i've erased the fstab lines for acd0 but it's still
> >>probing the hardware when i boot the machine.  how do i completely
> >>disable probing for this device at startup?  if possible i'd like to
> >>just remove the device node altogether.  every time i remove /dev/acd0
> >>it's just recreated each time i restart.  not sure how to permanently
> >>remove it without physically removing it from the system.  is there
> >>anyway to remove the node without removing the iso9660 entry from the
> >>kernel?
> >>
> >>
> >
> >Is it possible to disable it in BIOS?
> >
> >
> >
> i was thinking more along the lines of telling the loader not to probe
> for it...

Not sure if this will work but if the CD-ROM device is on a separate
ATA controller, you can try to disable with with corresponding
"disabled" statement in /boot/device.hints, like

hint.ata.1.disabled="1"

-- 
Dmitry

"We live less by imagination than despite it" - Rockwell Kent, "N by E"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: disabling ata devices

2005-06-15 Thread Björn König

JM wrote:

i'm not exactly sure how to accomplish this... i'm having problems with 
my cd-rom, which isn't surprising since it's a slim-line without UDMA 
and probably isn't supported... but... it's eating up time when i'm 
booting the system.  i've erased the fstab lines for acd0 but it's still 
probing the hardware when i boot the machine.


Please show the point where it takes time. You have a log in 
/var/run/dmesg.boot


how do i completely 
disable probing for this device at startup? 


As far as I know this is not possible (I might be mistaken). Either you 
remove the hardware or the support for this piece of hardware.


if possible i'd like to 
just remove the device node altogether.  every time i remove /dev/acd0 
it's just recreated each time i restart.


devfs provides a kind of virtual file system which will be created in 
respect of the devices that are known to the kernel. Everytime you 
unmount devfs all changes that were directly made to /dev are gone.


not sure how to permanently 
remove it without physically removing it from the system. is there 
anyway to remove the node without removing the iso9660 entry from the 
kernel?


The 'CD9660' option in the kernel configuration is a file system support 
and has nothing necessarily to do with support of hardware devices. I 
guess you mean 'device atapicd'.


Björn
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: disabling ata devices

2005-06-15 Thread John Brooks
just unplug the cable and/or power to the hardware device

--
John Brooks
[EMAIL PROTECTED]

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Dmitry Mityugov
> Sent: Wednesday, June 15, 2005 8:24 AM
> To: JM
> Cc: freebsd-questions@freebsd.org
> Subject: Re: disabling ata devices
>
>
> On 6/15/05, JM wrote:
> > i'm not exactly sure how to accomplish this... i'm having problems with
> > my cd-rom, which isn't surprising since it's a slim-line without UDMA
> > and probably isn't supported... but... it's eating up time when i'm
> > booting the system.  i've erased the fstab lines for acd0 but it's still
> > probing the hardware when i boot the machine.  how do i completely
> > disable probing for this device at startup?  if possible i'd like to
> > just remove the device node altogether.  every time i remove /dev/acd0
> > it's just recreated each time i restart.  not sure how to permanently
> > remove it without physically removing it from the system.  is there
> > anyway to remove the node without removing the iso9660 entry from the
> > kernel?
>
> Is it possible to disable it in BIOS?
>
> --
> Dmitry
>
> "We live less by imagination than despite it" - Rockwell Kent, "N by E"
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: disabling ata devices

2005-06-15 Thread JM

Dmitry Mityugov wrote:


On 6/15/05, JM wrote:
 


i'm not exactly sure how to accomplish this... i'm having problems with
my cd-rom, which isn't surprising since it's a slim-line without UDMA
and probably isn't supported... but... it's eating up time when i'm
booting the system.  i've erased the fstab lines for acd0 but it's still
probing the hardware when i boot the machine.  how do i completely
disable probing for this device at startup?  if possible i'd like to
just remove the device node altogether.  every time i remove /dev/acd0
it's just recreated each time i restart.  not sure how to permanently
remove it without physically removing it from the system.  is there
anyway to remove the node without removing the iso9660 entry from the
kernel?
   



Is it possible to disable it in BIOS?

 

i was thinking more along the lines of telling the loader not to probe 
for it...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: disabling ata devices

2005-06-15 Thread Dmitry Mityugov
On 6/15/05, JM wrote:
> i'm not exactly sure how to accomplish this... i'm having problems with
> my cd-rom, which isn't surprising since it's a slim-line without UDMA
> and probably isn't supported... but... it's eating up time when i'm
> booting the system.  i've erased the fstab lines for acd0 but it's still
> probing the hardware when i boot the machine.  how do i completely
> disable probing for this device at startup?  if possible i'd like to
> just remove the device node altogether.  every time i remove /dev/acd0
> it's just recreated each time i restart.  not sure how to permanently
> remove it without physically removing it from the system.  is there
> anyway to remove the node without removing the iso9660 entry from the
> kernel?

Is it possible to disable it in BIOS?

-- 
Dmitry

"We live less by imagination than despite it" - Rockwell Kent, "N by E"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


disabling ata devices

2005-06-15 Thread JM
i'm not exactly sure how to accomplish this... i'm having problems with 
my cd-rom, which isn't surprising since it's a slim-line without UDMA 
and probably isn't supported... but... it's eating up time when i'm 
booting the system.  i've erased the fstab lines for acd0 but it's still 
probing the hardware when i boot the machine.  how do i completely 
disable probing for this device at startup?  if possible i'd like to 
just remove the device node altogether.  every time i remove /dev/acd0 
it's just recreated each time i restart.  not sure how to permanently 
remove it without physically removing it from the system.  is there 
anyway to remove the node without removing the iso9660 entry from the 
kernel?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"