Re: snd_emu10k1.ko after 6.2 to 6.3 upgrade
On Tuesday 29 January 2008 02:26:27 am Petr Holub wrote: > > What does 'nm /boot/kernel/sound.ko | grep midi' show? > > sound.ko seems to be OK as it was properly updated by > freebsd-update: > > [EMAIL PROTECTED] ~]# ls -l /boot/kernel/sound.ko > -r-xr-xr-x 1 root wheel 139075 Jan 21 15:42 /boot/kernel/sound.ko > [EMAIL PROTECTED] ~]# sha256 /boot/kernel/sound.ko > SHA256 (/boot/kernel/sound.ko) = > a61572cc74e3b00088a824765d7291c91d4ff52fe8709aa77abcade626fbece8 > [EMAIL PROTECTED] ~]# nm /boot/kernel/sound.ko | grep midi > > snd_emu10k1.ko however was not updated for some reason > and it has some dependencies: > > [EMAIL PROTECTED] ~]# ls -l /boot/kernel/snd_emu10k1.ko > -r-xr-xr-x 1 root wheel 30008 Feb 20 2007 /boot/kernel/snd_emu10k1.ko > [EMAIL PROTECTED] ~]# sha256 /boot/kernel/snd_emu10k1.ko > SHA256 (/boot/kernel/snd_emu10k1.ko) = > 13a0e7f03d354f57517d17ea52b5c7fa5a3c153cefcbf2cf8831d91204f0b2a3 > [EMAIL PROTECTED] ~]# nm /boot/kernel/snd_emu10k1.ko | grep midi > 4a04 r __set_modmetadata_set_sym__mod_metadata_md_snd_emu10k1_on_midi > 5090 d _mod_metadata_md_snd_emu10k1_on_midi > 50a0 d _snd_emu10k1_depend_on_midi > > When I compile new GENERIC-based snd_emu10k1.ko, it shows no > such depends: > > [EMAIL PROTECTED] ~]# nm > /sys/i386/compile/GENERIC/modules/usr/src/sys/modules/sou > nd/driver/emu10k1/snd_emu10k1.ko | grep midi On my current box I get this: > nm /boot/kernel.GENERIC/snd_emu10kx.ko | grep midi 00010adc r __set_modmetadata_set_sym__mod_metadata_md_snd_emu10kx_midi_emu10kx 00010ad8 r __set_modmetadata_set_sym__mod_metadata_md_snd_emu10kx_midi_on_snd_emu10kx 00010ad4 r __set_modmetadata_set_sym__mod_metadata_md_snd_emu10kx_midi_on_sound 00010ad0 r __set_modmetadata_set_sym__mod_metadata_snd_emu10kx_midi_version 00010aec r __set_sysinit_set_sym_snd_emu10kx_midi_emu10kxmodule_sys_init 00011db8 d _mod_metadata_md_snd_emu10kx_midi_emu10kx 00011d98 d _mod_metadata_md_snd_emu10kx_midi_on_snd_emu10kx 00011d88 d _mod_metadata_md_snd_emu10kx_midi_on_sound 00011d78 d _mod_metadata_snd_emu10kx_midi_version 00011e10 d _snd_emu10kx_midi_depend_on_snd_emu10kx 00011e04 d _snd_emu10kx_midi_depend_on_sound 00011e00 d _snd_emu10kx_midi_version f0e0 t emu_midi_attach f320 t emu_midi_card_intr f090 t emu_midi_detach 00011f08 b emu_midi_devclass 00011e3c d emu_midi_driver f3a0 t emu_midi_intr 00011e60 d emu_midi_methods f3c0 t emu_midi_probe 00011e28 d snd_emu10kx_midi_emu10kx_driver_mod 00011e1c d snd_emu10kx_midi_emu10kx_mod 00011da8 d snd_emu10kx_midi_emu10kxmodule_sys_init and this: > nm /boot/kernel.GENERIC/sound.ko | grep midi 0003f7ec r __set_modmetadata_set_sym__mod_metadata_md_midi 0003f7e8 r __set_modmetadata_set_sym__mod_metadata_midi_version 0003f7d4 r __set_sysctl_set_sym_sysctl___hw_midi 0003f7cc r __set_sysctl_set_sym_sysctl___hw_midi_debug 0003f7c8 r __set_sysctl_set_sym_sysctl___hw_midi_dumpraw 0003f7c4 r __set_sysctl_set_sym_sysctl___hw_midi_instroff 0003f7dc r __set_sysctl_set_sym_sysctl___hw_midi_seq 0003f7d8 r __set_sysctl_set_sym_sysctl___hw_midi_seq_debug 0003f7d0 r __set_sysctl_set_sym_sysctl___hw_midi_stat 0003f7c0 r __set_sysctl_set_sym_sysctl___hw_midi_stat_verbose 0003f77c r __set_sysinit_set_sym_midimodule_sys_init 0004560c d _midi_version 00045470 d _mod_metadata_md_midi 00045450 d _mod_metadata_midi_version 00045380 d midi_cdevsw 00035800 t midi_close 000367c0 T midi_cmdname 00046c30 B midi_debug 00033dc0 t midi_destroy 00046c20 B midi_devs 00046c34 B midi_dumpraw 00034880 T midi_in 00034b20 T midi_init 00046c38 B midi_instroff 000334e0 t midi_ioctl 00045610 d midi_mod 00033f70 t midi_modevent 00035200 t midi_open 000345b0 T midi_out 000350f0 t midi_poll 00034130 t midi_read 000344a0 T midi_uninit 000353f0 t midi_write 00033500 T midimapper_addseq 00033510 T midimapper_close 00033520 T midimapper_fetch_synth 000335d0 T midimapper_open 00045460 d midimodule_sys_init 00046c70 b midistat_bufptr 00045300 d midistat_cdevsw 000337a0 t midistat_close 00046c74 b midistat_dev 00046c40 b midistat_isopen 00046c44 b midistat_lock 00033850 t midistat_open 00033650 t midistat_read 00046c5c b midistat_sbuf 00046c3c B midistat_verbose 000334f0 t midisynth_alloc 00035df0 t midisynth_bender 000452e4 D midisynth_class 00035ff0 t midisynth_close 00035e50 t midisynth_controller 00035f70 t midisynth_killnote 00045400 d midisynth_methods 00033bc0 t midisynth_open 00035f20 t midisynth_setinstr 00035eb0 t midisynth_startnote 000359d0 t midisynth_writeraw 000455c0 d sysctl___hw_midi 00045540 d sysctl___hw_midi_debug 00045500 d sysctl___hw_midi_dumpraw 000454c0 d sysctl___hw_midi_instroff 00045a40 d sysctl___hw_midi_seq 00045a00 d sysctl___hw_midi_seq_debug 00045580 d sysctl___hw_midi_stat 00045480 d sysctl___hw_midi_stat_verbose 00046c28 B sysctl__hw_midi_children 00046c80 B sysctl__hw_midi_seq_children 00046c2c B sysctl__hw_midi_stat_children Granted, GENERIC on head is built with debug options so more symbols might show up, but you should have m
RE: snd_emu10k1.ko after 6.2 to 6.3 upgrade
> What does 'nm /boot/kernel/sound.ko | grep midi' show? sound.ko seems to be OK as it was properly updated by freebsd-update: [EMAIL PROTECTED] ~]# ls -l /boot/kernel/sound.ko -r-xr-xr-x 1 root wheel 139075 Jan 21 15:42 /boot/kernel/sound.ko [EMAIL PROTECTED] ~]# sha256 /boot/kernel/sound.ko SHA256 (/boot/kernel/sound.ko) = a61572cc74e3b00088a824765d7291c91d4ff52fe8709aa77abcade626fbece8 [EMAIL PROTECTED] ~]# nm /boot/kernel/sound.ko | grep midi snd_emu10k1.ko however was not updated for some reason and it has some dependencies: [EMAIL PROTECTED] ~]# ls -l /boot/kernel/snd_emu10k1.ko -r-xr-xr-x 1 root wheel 30008 Feb 20 2007 /boot/kernel/snd_emu10k1.ko [EMAIL PROTECTED] ~]# sha256 /boot/kernel/snd_emu10k1.ko SHA256 (/boot/kernel/snd_emu10k1.ko) = 13a0e7f03d354f57517d17ea52b5c7fa5a3c153cefcbf2cf8831d91204f0b2a3 [EMAIL PROTECTED] ~]# nm /boot/kernel/snd_emu10k1.ko | grep midi 4a04 r __set_modmetadata_set_sym__mod_metadata_md_snd_emu10k1_on_midi 5090 d _mod_metadata_md_snd_emu10k1_on_midi 50a0 d _snd_emu10k1_depend_on_midi When I compile new GENERIC-based snd_emu10k1.ko, it shows no such depends: [EMAIL PROTECTED] ~]# nm /sys/i386/compile/GENERIC/modules/usr/src/sys/modules/sou nd/driver/emu10k1/snd_emu10k1.ko | grep midi Petr ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: snd_emu10k1.ko after 6.2 to 6.3 upgrade
On Friday 25 January 2008 05:30:34 pm Petr Holub wrote: > > Did you kldload sound.ko before snd_emu10k1.ko? It maybe that > freebsd-upgrade > > didn't run kldxref on your kernel dir to update the > /boot/kernel/linker.hints > > file that is used to autoload dependencies. > > Yes I did, sound.ko is loaded. Actually, I can use sound.ko from the > freebsd-update'd tree together with snd_emu10k1.ko built from source > and it works without any apparent problem. What does 'nm /boot/kernel/sound.ko | grep midi' show? -- John Baldwin ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: snd_emu10k1.ko after 6.2 to 6.3 upgrade
> Did you kldload sound.ko before snd_emu10k1.ko? It maybe that freebsd-upgrade > didn't run kldxref on your kernel dir to update the /boot/kernel/linker.hints > file that is used to autoload dependencies. Yes I did, sound.ko is loaded. Actually, I can use sound.ko from the freebsd-update'd tree together with snd_emu10k1.ko built from source and it works without any apparent problem. > You can try doing a 'kldxref /boot/kernel' to see if that fixes the dependency > loading. That hasn't helped: # kldload snd_emu10k1 kldload: can't load snd_emu10k1: No such file or directory dmesg says again: KLD snd_emu10k1.ko: depends on midi - not available Petr Holub CESNET z.s.p.o. Supercomputing Center Brno Zikova 4 Institute of Compt. Science 162 00 Praha 6, CZMasaryk University Czech Republic Botanicka 68a, 60200 Brno, CZ e-mail: [EMAIL PROTECTED] phone: +420-549493944 fax: +420-541212747 e-mail: [EMAIL PROTECTED] > -Original Message- > From: John Baldwin [mailto:[EMAIL PROTECTED] > Sent: Friday, January 25, 2008 9:10 PM > To: Petr Holub > Cc: freebsd-stable@freebsd.org > Subject: Re: snd_emu10k1.ko after 6.2 to 6.3 upgrade > > On Friday 25 January 2008 11:16:19 am Petr Holub wrote: > > > Do you have an error message in the dmesg after this? > > > > Yes, I do - sorry, haven't thought it will end up in dmesg > > and not in the terminal. It says: > > > > KLD snd_emu10k1.ko: depends on midi - not available > > > -- > John Baldwin ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: snd_emu10k1.ko after 6.2 to 6.3 upgrade
On Friday 25 January 2008 11:16:19 am Petr Holub wrote: > > Do you have an error message in the dmesg after this? > > Yes, I do - sorry, haven't thought it will end up in dmesg > and not in the terminal. It says: > > KLD snd_emu10k1.ko: depends on midi - not available Did you kldload sound.ko before snd_emu10k1.ko? It maybe that freebsd-upgrade didn't run kldxref on your kernel dir to update the /boot/kernel/linker.hints file that is used to autoload dependencies. You can try doing a 'kldxref /boot/kernel' to see if that fixes the dependency loading. -- John Baldwin ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: snd_emu10k1.ko after 6.2 to 6.3 upgrade
> Do you have an error message in the dmesg after this? Yes, I do - sorry, haven't thought it will end up in dmesg and not in the terminal. It says: KLD snd_emu10k1.ko: depends on midi - not available Petr ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: snd_emu10k1.ko after 6.2 to 6.3 upgrade
On Wednesday 23 January 2008 03:08:41 pm Petr Holub wrote: > Hi, > > I've found a problem after updating from 6.2-RELEASE to 6.3-RELEASE using > freebsd-update as described on daemonology blog. It looks like if the > snd_emu10k1.ko along with a few others was not appropriately updated: > # ls -l snd_* > -r-xr-xr-x 1 root wheel 16566 Feb 20 2007 snd_ad1816.ko > -r-xr-xr-x 1 root wheel 17731 Feb 20 2007 snd_als4000.ko > -r-xr-xr-x 1 root wheel 20004 Jan 21 15:42 snd_atiixp.ko > -r-xr-xr-x 1 root wheel 19192 Feb 20 2007 snd_cmi.ko > -r-xr-xr-x 1 root wheel 18594 Feb 20 2007 snd_cs4281.ko > -r-xr-xr-x 1 root wheel 30814 Feb 20 2007 snd_csa.ko > -r-xr-xr-x 1 root wheel 11098 Jan 21 15:42 snd_driver.ko > -r-xr-xr-x 1 root wheel 45839 Feb 20 2007 snd_ds1.ko > -r-xr-xr-x 1 root wheel 30008 Feb 20 2007 snd_emu10k1.ko > -r-xr-xr-x 1 root wheel 59398 Feb 20 2007 snd_emu10kx.ko > -rwxr-xr-x 1 root wheel 31223 Jan 21 15:42 snd_envy24.ko > -rwxr-xr-x 1 root wheel 30504 Jan 21 15:42 snd_envy24ht.ko > -r-xr-xr-x 1 root wheel 32005 Feb 20 2007 snd_es137x.ko > -r-xr-xr-x 1 root wheel 20075 Feb 20 2007 snd_ess.ko > -r-xr-xr-x 1 root wheel 15636 Feb 20 2007 snd_fm801.ko > -rwxr-xr-x 1 root wheel 77423 Jan 21 15:42 snd_hda.ko > -r-xr-xr-x 1 root wheel 23812 Jan 21 15:42 snd_ich.ko > -r-xr-xr-x 1 root wheel 31117 Feb 20 2007 snd_maestro.ko > -r-xr-xr-x 1 root wheel 42945 Jan 21 15:42 snd_maestro3.ko > -r-xr-xr-x 1 root wheel 46976 Feb 20 2007 snd_mss.ko > -r-xr-xr-x 1 root wheel 68790 Feb 20 2007 snd_neomagic.ko > -r-xr-xr-x 1 root wheel 14783 Feb 20 2007 snd_null.ko > -r-xr-xr-x 1 root wheel 16934 Feb 20 2007 snd_sb16.ko > -r-xr-xr-x 1 root wheel 15418 Feb 20 2007 snd_sb8.ko > -r-xr-xr-x 1 root wheel 15397 Feb 20 2007 snd_sbc.ko > -r-xr-xr-x 1 root wheel 19397 Feb 20 2007 snd_solo.ko > -r-xr-xr-x 1 root wheel 7240 Jan 21 15:42 snd_spicds.ko > -r-xr-xr-x 1 root wheel 18856 Jan 21 15:42 snd_t4dwave.ko > -r-xr-xr-x 1 root wheel 36300 Jan 21 15:42 snd_uaudio.ko > -r-xr-xr-x 1 root wheel 21918 Jan 21 15:42 snd_via8233.ko > -r-xr-xr-x 1 root wheel 16075 Jan 21 15:42 snd_via82c686.ko > -r-xr-xr-x 1 root wheel 18707 Feb 20 2007 snd_vibes.ko > > Those modules dated Feb 20 2007 are not loadable actually: > # kldload snd_emu10k1.ko > kldload: can't load snd_emu10k1.ko: No such file or directory Do you have an error message in the dmesg after this? -- John Baldwin ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"