[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[altq 1015] Re: re: can't open altq device on NetBSD
Myrddin Emrys wrote:
> This did not work for me. Changing the major number of the dev files
> resulted in a new error:
> altqd: ALTQ config file is /etc/altq.conf
> altqd: can't open altq device: Device not configured
This error (ENXIO) is expected.
What I don't understand is EBUSY at the following error message.
altqd: can't open altq device: Device busy
It's from tbr_install() in libaltq/qop.c at open(/dev/altq/altq, O_RDWR).
The corresponding kernel code is altqopen() in sys/altq/altq_conf.c,
and it always returns 0 for opening /dev/altq/altq (cdev minor 0).