Re: What are current dependencies of cd9660 kernel module?

2016-06-28 Thread Jakub Lach
The kernel had just the same date, though the system was running 
for a long time and I'm not sure what I could have done as I was
focused on something quite attention consuming  then, but I don't think 
it could be possible for me to update kernel w/o modules (I do scripted 
updates).

This module hiccup was after a failed dvd burning attempt (?).

Thanks for some light though, I appreciate taking your time
to do so. 



--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/What-are-current-dependencies-of-cd9660-kernel-module-tp6109797p6109955.html
Sent from the freebsd-stable mailing list archive at Nabble.com.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: What are current dependencies of cd9660 kernel module?

2016-06-27 Thread Warner Losh
On Mon, Jun 27, 2016 at 11:38 PM, Jakub Lach  wrote:
> Hello again,
>
> After a rebuild (so also powercycling), I've loaded the module just fine.
> I wonder what state the system was before, but now works.

The usual cause of this is updating the kernel w/o updating modules. Or
you did an installkernel w/o a reboot. The cd9660 module only depends
n the kernel version because all modules depend on that to guard against
such foot shooting. Chances are good a simple reboot would have fixed
this. There's some anti-footshooting code to load it from kernel.old, but
I've not tested that in years, so maybe it's no longer working (or you did
multiple installkernels.

Warner
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: What are current dependencies of cd9660 kernel module?

2016-06-27 Thread Jakub Lach
Hello again, 

After a rebuild (so also powercycling), I've loaded the module just fine. 
I wonder what state the system was before, but now works.

Thanks!



--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/What-are-current-dependencies-of-cd9660-kernel-module-tp6109797p6109948.html
Sent from the freebsd-stable mailing list archive at Nabble.com.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: What are current dependencies of cd9660 kernel module?

2016-06-27 Thread Jakub Lach
I build only needed modules, though as we can see it's not the 
most robust approach. Sorry for divided reply, I somehow didn't 
register your full message.

I think I was geetting by without CAM just fine.



--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/What-are-current-dependencies-of-cd9660-kernel-module-tp6109797p6109896.html
Sent from the freebsd-stable mailing list archive at Nabble.com.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: What are current dependencies of cd9660 kernel module?

2016-06-27 Thread Jakub Lach
Sorry, should have said it's the same version. Thanks for reply.



--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/What-are-current-dependencies-of-cd9660-kernel-module-tp6109797p6109817.html
Sent from the freebsd-stable mailing list archive at Nabble.com.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: What are current dependencies of cd9660 kernel module?

2016-06-27 Thread Kevin Oberman
On Mon, Jun 27, 2016 at 11:53 AM, Jakub Lach  wrote:

> Something changed in 10-STABLE, I had the same config for modules
> for a long time, and I cannot load cd9660 now,
>
> kernel: KLD cd9660.ko: depends on kernel - not available or version
> mismatch
> kernel: linker_load_file: Unsupported file type
>
> /boot/kernel $ ls -a
> . geom_md.ko  linker.hintsng_socket.ko
> snd_uaudio.ko   wlan_ccmp.ko
> ..i915kms.ko  msdosfs.ko  ng_tee.ko
>  udf.ko   wlan_tkip.ko
> cd9660.ko   if_ath.ko   netgraph.ko procfs.ko
>  uhci.ko wlan_wep.ko
> drm2.ko if_ath_pci.ko   ng_iface.ko pseudofs.ko umass.ko
> ehci.ko if_em.kong_ksocket.ko   rc4.ko  ums.ko
> fdescfs.ko  if_fwe.ko   ng_mppc.ko  sbp.ko  usb.ko
> firewire.ko if_fwip.ko  ng_ppp.ko   sbp_targ.ko wlan.ko
> fuse.ko kernel  ng_pptpgre.ko   snd_hda.ko
> wlan_amrr.ko
>

Check the dates on /boot/kernel/.kernl and /boot/kernel/cd9660.ko. It looks
like your kernel modules are not getting updated. Unless you elided a
portion of the "ls -a", a lot of modules are missing. There should be well
over 400 modules in /boot/kernel. CD9660 is also in GENERIC, so should be
in the kernel unless you have edited your conf to remove "options CD9660".

Looks like a bad "make buildkernel" or a really unusual configuration.
Dependencies are defined in /sys/conf/files*. There is a files and several
arch dependent files.arch files, but only the base /sys/conf/files
references CD9660 and I see no specific dependencies other than the kernel,
though, to actually use a CD, options like CAM are probably required.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkober...@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


What are current dependencies of cd9660 kernel module?

2016-06-27 Thread Jakub Lach
Something changed in 10-STABLE, I had the same config for modules
for a long time, and I cannot load cd9660 now, 

kernel: KLD cd9660.ko: depends on kernel - not available or version mismatch
kernel: linker_load_file: Unsupported file type

/boot/kernel $ ls -a
.   geom_md.ko  linker.hintsng_socket.ko   
snd_uaudio.ko   wlan_ccmp.ko
..  i915kms.ko  msdosfs.ko  ng_tee.ko   udf.ko 
wlan_tkip.ko
cd9660.ko   if_ath.ko   netgraph.ko procfs.ko   uhci.ko
wlan_wep.ko
drm2.ko if_ath_pci.ko   ng_iface.ko pseudofs.ko umass.ko
ehci.ko if_em.kong_ksocket.ko   rc4.ko  ums.ko
fdescfs.ko  if_fwe.ko   ng_mppc.ko  sbp.ko  usb.ko
firewire.ko if_fwip.ko  ng_ppp.ko   sbp_targ.ko wlan.ko
fuse.ko kernel  ng_pptpgre.ko   snd_hda.ko  wlan_amrr.ko




--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/What-are-current-dependencies-of-cd9660-kernel-module-tp6109797.html
Sent from the freebsd-stable mailing list archive at Nabble.com.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"