5.3-p2 freezes after kldloading snd_neomagic
Hello, I am running FreeBSD 5.3-p2 on a Dell Latitude LS notebook. (See KERNCONF and dmesg at the end.) Nearly everything is working fine, except for the sound chip. I built the sound stuff as modules (sound/pcm + sound/driver/neomagic). When I try to insert the module, I get # kldload snd_neomagic pcm0: mem 0xfea0-0xfeaf,0xf780-0xf7bf irq 10 at device 0.1 on pci1 and then the system freezes. If I compile pcm right into the kernel, the freeze occurs during bootime with the same message. Thanks Jan This is my KERNCONF and dmesg: # DELL -- a FreeBSD 5.3 kernel for a DELL Latitude LS laptop machine i386 cpu I686_CPU ident DELL options SCHED_4BSD # 4BSD scheduler #optionsSCHED_ULE options INET# InterNETworking options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_DIRHASH # Improve performance on big directories options NFSCLIENT # Network Filesystem Client options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS# Pseudo-filesystem framework options GEOM_GPT# GUID Partition Tables. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] #optionsCOMPAT_FREEBSD4 options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # P1003_1B real-time extensions options KBD_INSTALL_CDEV# install a CDEV entry in /dev options ADAPTIVE_GIANT # Giant mutex is adaptive. # ACPI device acpi options ACPI_DEBUG # Bus support. Do not remove isa, even if you have no isa slots device isa device eisa device pci # ATA and ATAPI devices device ata device atadisk # ATA disk drives # ani floppy ani cd neexistuje jako modul device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives options ATA_STATIC_ID # Static device numbering # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse # screen device vga # VGA video card driver device agp # support several AGP chipsets device splash # Splash screen and screen saver support device sc device npx device pmtimer # PCCARD (PCMCIA) support # PCMCIA and cardbus bridge support device cbb # cardbus (yenta) bridge device pccard # PC Card (16-bit) bus device cardbus # CardBus (32-bit) bus # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports # Parallel port device ppc device ppbus # Parallel port bus (required) #device lpt # Printer #device plip# TCP/IP over parallel #device ppi # Parallel port interface device # NIC device miibus # MII bus support device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') # Wireless NIC cards device wlan# 802.11 support #device an # Aironet 4500/4800 802.11 wireless NICs. #device awi # BayStack 660 and others device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs. # Pseudo devices. device loop# Network loopback device mem # Memory and kernel memory devices device io # I/O device device random # Entropy device device ether # Ethernet support #device sl # Kernel SLIP #device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" #device gif # IPv6 and IPv4 tunneling #device faith # IPv6-to-IPv4 relaying (translation) # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! device bpf # Berkeley packet filter # firewall: ipfw options IPFIREWALL options IPFIREWALL_VERBOSE options IPDIVERT options IPSTEALTH Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.3-RELEASE-p2 #0: Sat Dec 4 22:18:14 CET 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DELL Timecounter "i8254" frequency 1193182 Hz
snd_neomagic kldloads, then 5.2.1-p11 freezes
Hello, I am running FreeBSD 5.2.1-p11 on a Dell Latitude LS notebook. (See KERNCONF and dmesg at the end.) Nearly everything is working fine, except for the sound chip. I built the sound stuff as modules (sound/pcm + sound/driver/neomagic, resulting in snd_pcm + snd_neomagic). When I try to insert the module, I get # kldload snd_neomagic pcm0: mem 0xfea0-0xfeaf,0xf780-0xf7bf, irq 10, device 0.1 on pci1 and then the system freezes. If I compile pcm right into the kernel, the freeze occurs during bootime with the same message. I also have wi0 running at irq 10 (see dmesg); when I don't use it (no card in, no device attached to wi0, irq 10 not used by anything), the freeze ocuurs all the same. Suspecting some conflict between devices using irq 10, I said hint.pcm.0.irq="5" in /boot/device.hints (irq 5 is not used by anything), but kldloading snd_neomagic still tries to use irq 10 - why is that? What is the right way of telling a device which irq to use? Before I even found that it is a NeoMagic, I built all the sound modules and tried kldloading them. Some of them just loaded and nothing happened (I probably don't have any device they could serve), some resulted in # kldload snd_ad1816 sio1: configured irq 3 not in bitmap of probed irqs 0x4000 sio1: port may not be enabled # kldload snd_ess sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled # kldload snd_mss sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled # kldload speaker sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled speaker0 port0x61 on acpi0 Why does kldloading a sound module have to do anything with sio1? Where is irq 3 'configured' to be used? (by the sound module?) So I also disabled sio1 in device.hints (hint.sio.1.disabled="1") - there is only one sio at the machine anyway. I use ACPI - does it have anything to do with my problem? (with ACPI, devices are 'on acpi0', not on 'on isa0' etc.) Thanks Jan This is my KERNCONF: # DELL -- kernel configuration file for FreeBSD/i386 on Dell Latitude LS ident DELL machine i386 cpu I686_CPU #optionsCPU_SUSP_HALT # suspend on halt #optionsCPU_UPGRADE_HW_CACHE # eliminates unneeded cache flushes #optionsPERFMON #hints "GENERIC.hints" # Default places to look for devices. #makeoptionsDEBUG=-g# Build kernel with gdb(1) debug symbols options SCHED_ULE # ULE scheduler options INET# InterNETworking options INET6 # IPv6 communications protocols options IPSEC options IPSEC_DEBUG options BRIDGE options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options MD_ROOT # MD is a potential root device options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS# Pseudo-filesystem framework options GEOM_GPT# GUID Partition Tables. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 #optionsSCSI_DELAY=15000# Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV# install a CDEV entry in /dev # Bus support. Do not remove isa, even if you have no isa slots device isa device eisa device pci # Floppy drives #device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives options ATA_STATIC_ID # Static device numbering # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device vga # VGA video card driver device agp # support several AGP chipsets #optionsVESA device splash # Splash screen and screen saver support device sc # syscons: the default console driver # Floating point supp
Edimax wifi card not recognized
Hello, I am running 5.2-RELASE on a Celeron/366. After I installed the Edimax WLAN 22Mbps PCI Card (which says 'Model Name: GL2422VP'). I experience the following problem: running `pciconf -lv` says ... [EMAIL PROTECTED]:11:0:class=0x028000 card=0x850116ab chip=0x8400104c rev=0x00 hdr=0x00 vendor = 'Texas Instruments (TI)' device = '802.11b+ 22Mbps Wireless Adapter' class= network ... and no interface is created for the device. My KERNCONF contains wlan, wi, awi, an, and wl. See the attached KERNCONF, dmesg and pciconf. What does it mean for the card to be 'recognized' by pciconf, yet not being attached a driver? Did somebody get the card running? Thank you Jan [EMAIL PROTECTED]:0:0: class=0x06 card=0x chip=0x06911106 rev=0x22 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT82C691/693A/694X Apollo Pro/133/133A System Controller' class= bridge subclass = HOST-PCI [EMAIL PROTECTED]:1:0: class=0x060400 card=0x chip=0x85981106 rev=0x00 hdr=0x01 vendor = 'VIA Technologies Inc' device = 'VT82C598MVP/694x Apollo MVP3/Pro133x PCI to AGP Bridge' class= bridge subclass = PCI-PCI [EMAIL PROTECTED]:7:0: class=0x060100 card=0x1106 chip=0x05961106 rev=0x09 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT82C596/A/B "Mobile South" PCI to ISA Bridge' class= bridge subclass = PCI-ISA [EMAIL PROTECTED]:7:1: class=0x01018a card=0x chip=0x05711106 rev=0x06 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT82 EIDE Controller (All VIA Chipsets)' class= mass storage subclass = ATA [EMAIL PROTECTED]:7:3: class=0x06 card=0x chip=0x30501106 rev=0x00 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT82C596/596A/596 Power Management and SMBus Controller' class= bridge subclass = HOST-PCI [EMAIL PROTECTED]:10:0: class=0x02 card=0x813910ec chip=0x813910ec rev=0x10 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'RT8139 (A/B/C/813x/C+) Fast Ethernet Adapter' class= network subclass = ethernet [EMAIL PROTECTED]:11:0: class=0x028000 card=0x850116ab chip=0x8400104c rev=0x00 hdr=0x00 vendor = 'Texas Instruments (TI)' device = '802.11b+ 22Mbps Wireless Adapter' class= network [EMAIL PROTECTED]:12:0: class=0x040100 card=0x03f6 chip=0x03f6 rev=0x10 hdr=0x00 vendor = 'C-Media Electronics Inc.' device = 'CMI8738/PCI C3DX PCI Audio Chip' class= multimedia subclass = audio [EMAIL PROTECTED]:0:0: class=0x03 card=0x93501462 chip=0x018110de rev=0xa4 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'GeForce4 MX 440 with AGP 8X [NV18.2]' class= display subclass = VGA machine i386 cpu I686_CPU ident HEVNE ##options SCHED_4BSD #4BSD scheduler options SCHED_ULE #new scheduler options INET#InterNETworking options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options SOFTUPDATES #Enable FFS soft updates support options UFS_ACL #Support for access control lists options UFS_DIRHASH #Improve performance on big directories options QUOTA #enable disk quotas #optionsMSDOSFS #MSDOS Filesystem #optionsCD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem (requires PSEUDOFS) options PSEUDOFS#Pseudo-filesystem framework options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] ##options COMPAT_FREEBSD4 #Compatible with FreeBSD4 options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions options KBD_INSTALL_CDEV# install a CDEV entry in /dev options PFIL_HOOKS # pfil(9) framework device isa device eisa device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives options ATA_STATIC_ID #Static device numbering # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device vga
ipf or ipfw?
Hello, I am deciding whether to use ipf or ipfw. I have had a brief look at them and I like them both. I am quite a newbie in this. Is any one of them particularly better for the following situation? One standalone server, hosted by an ISP; only want to protect myself (explicitly allow the services I provide); no need for traffic shaping; want to do some traffic statistics, though. If you would use _one_ of them rather than the other for such a task, please tell me why (I mean, point me to the docs saying why). Also, I am a bit confused by the kernel config for this: the names of the IPFILTER* and IPFIREWALL* make me think I need IPFILTER* to be able to run ipf, and IPFIREWALL* to run ipfw. But the kernel functionality needed to run them is probably very much the same, so what am I missing? Didn't find this in the Handbook. Which of these should I enable to run ipf(w)? Point me to the docs, please. device bpf # Berkeley packet filter options IPSEC #IP security options IPSEC_ESP #IP security (crypto; define w/ IPSEC) options IPSEC_DEBUG #debug for IP security options MROUTING# Multicast routing options IPFIREWALL #firewall options IPFIREWALL_FORWARD #enable transparent proxy support #optionsIPFIREWALL_DEFAULT_TO_ACCEPT#allow everything by default options IPDIVERT#divert sockets options IPFILTER#ipfilter support options IPFILTER_LOG#ipfilter logging options IPFILTER_DEFAULT_BLOCK #block all packets by default options IPSTEALTH #support for stealth forwarding Thank you Jan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ufs problem (mounting ufs under linux-2.6.0-test11)
Hello, I don't seem to be able to mount the FreeBSD-5.1-RELEASE's ufs partition in linux-2.6.0-test11, which occupies another partition on the same machine (which is Acer Aspire 1304XC). Has the ufs format changed in 5.1? I specify ufstype=44bsd in the mount command. Thank you Jan :> Disk /dev/hda: 20.0 GB, 20003880960 bytes :> 16 heads, 63 sectors/track, 38760 cylinders :> Units = cylinders of 1008 * 512 = 516096 bytes :> :>Device BootStart EndBlocks Id System :> /dev/hda1 1 29064 14648224+ 83 Linux :> /dev/hda2 29065 30056499968 82 Linux swap :> /dev/hda3 * 30057 38760 4386816 a5 FreeBSD :My partition is not beyond 2 GB, but your configuration should currently :not be a problem. The linux IDE driver has LBA support. : :> [EMAIL PROTECTED]:root# mount -t ufs -o ro,ufstype=44bsd /dev/hda3 /mnt/bsd :> ufs_read_super: bad_magic_number :> mount: wrong fs type, bad option, bad superblock on /dev/hda3, :>or too many mounted file systems : :Enabling UFS_SUPER_DEBUG_MORE in /usr/src/linux/fs/ufs/super.c :and compiling a new kernel could give us maybe some detailed information. Here it goes (/var/log/syslog): Dec 11 12:28:53 localhost kernel: (fs/ufs/super.c, 493), ufs_fill_super: ENTER Dec 11 12:28:53 localhost kernel: (fs/ufs/super.c, 501), ufs_fill_super: flag 1 Dec 11 12:28:53 localhost kernel: (fs/ufs/super.c, 282), ufs_parse_options: ENTER Dec 11 12:28:53 localhost kernel: (fs/ufs/super.c, 540), ufs_fill_super: ufstype=44bsd Dec 11 12:28:53 localhost kernel: ufs_read_super: bad magic number Dec 11 12:28:53 localhost kernel: (fs/ufs/super.c, 886), ufs_fill_super: EXIT (FAILED) :"ufs_read_super: bad_magic_number" is a very odd behaviour :-( Yes. I am using the partition for my BSD boots happily, though - maybe the ufs has changed in freebsd 5.1 ? I will ask on the BSD list. Thanks for your time, Heiko. Jan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
pccardd of 5.1R-p10 not recognizing card(s)
Hello, I am running 5.1-RELEASE-p10 hapilly on an Acer Aspire laptop, except for one thing: the pccardd does not recognized PC cards. I tried ZCom XI-325 and Micronet SP905B. They are both recognized fine under 4.7, but 5.1 only says No card in database for "(null)"("(null)") Trying 'pccardc enabler 0 wi0' makes the machine freeze for a few seconds and respond with drv wi0, mem 0x0, size 0, io 0, irq 0x0, flags 0x0 pccardc: set driver: Device not configured and /var/log/messages says Nov 22 15:28:14 jorgen kernel: wi0 at port 0x100-0x13f irq 11 slot 0 on pccard0 Nov 22 15:28:14 jorgen kernel: wi0: wi_cmd: busy bit won't clear. Nov 22 15:28:14 jorgen last message repeated 2 times Nov 22 15:28:14 jorgen kernel: (null)0: init failed Nov 22 15:28:14 jorgen kernel: device_probe_and_attach: wi0 attach returned 6 Nov 22 15:30:40 jorgen kernel: wi0 at port 0x240-0x27f irq 11 slot 0 on pccard0 Nov 22 15:30:40 jorgen kernel: wi0: Can't establish another ISR Nov 22 15:30:40 jorgen kernel: wi0: bus_setup_intr() failed! (22) Nov 22 15:30:40 jorgen kernel: device_probe_and_attach: wi0 attach returned 22 Nov 22 15:30:50 jorgen kernel: wi0 at port 0x180-0x1bf irq 11 slot 0 on pccard0 Nov 22 15:30:50 jorgen kernel: wi0: Can't establish another ISR Nov 22 15:30:50 jorgen kernel: wi0: bus_setup_intr() failed! (22) Nov 22 15:30:50 jorgen kernel: device_probe_and_attach: wi0 attach returned 22 Nov 22 15:30:52 jorgen kernel: wi0 at port 0x180-0x1bf irq 11 slot 0 on pccard0 Nov 22 15:30:52 jorgen kernel: wi0: Can't establish another ISR Nov 22 15:30:52 jorgen kernel: wi0: bus_setup_intr() failed! (22) Nov 22 15:30:52 jorgen kernel: device_probe_and_attach: wi0 attach returned 22 Nov 22 15:31:11 jorgen kernel: wi0 at port 0x180-0x1bf irq 11 slot 0 on pccard0 Nov 22 15:31:12 jorgen kernel: wi0: Can't establish another ISR Nov 22 15:31:12 jorgen kernel: wi0: bus_setup_intr() failed! (22) Nov 22 15:31:12 jorgen kernel: device_probe_and_attach: wi0 attach returned 22 Nov 22 15:32:52 jorgen kernel: wi0 at port 0x180-0x1bf irq 11 slot 0 on pccard0 Nov 22 15:32:52 jorgen kernel: wi0: Can't establish another ISR Nov 22 15:32:52 jorgen kernel: wi0: bus_setup_intr() failed! (22) Nov 22 15:32:52 jorgen kernel: device_probe_and_attach: wi0 attach returned 22 What posiibly can cause this? What is ISR? Thank you Jan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
stop_cmd=":" in pccard
Hello, sorry for reposting, but I could only google my original messages, and did not find the possibly simple answer anywhere. Why does /et/rc.d/pccard say stop_cmd=":"? This does, of course, not 'stop' pccardd. Is there some deeper ... you know ... sense ...? Thanks Jan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
5.1-RELEASE on a machine with 24MB RAM
Hi list, I am running 5.1-RELEASE on a outdated machine - it's a Compaq Deskpro 2000, manufactured ~1995, with Pentium/100 and 24MB RAM. I made a 64MB swap partition. I wonder if there are any particular options (systcl vm.* ?) that I should be intersted in to get the best out of the machine. I did sysctl -ae | sed 's/^/#/' >> /etc/sysctl.conf and went through all of it, but the descriptions (sysctl -ad) didn't really tell me much. The handbook advised me to put MAXUSERS 0 into kernconf, so that the systems puts a reasonable default value into kern.maxusers. Is there something more to tweak? Is there some documentation about running FreeBSD on a very lowmem machine? Some discussion of kern.maxusers? Thank you Jan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Why stop_cmd=":" in /etc/rc.d/pccard ?
Hi all, why does /etc/rc.d/pccard say stop_cmd=":" in CURRENT? This obviously does not 'stop' pccardd. As a consequence, '/etc/rc.d/pccard restart' gives you two pccardd's running. Thanks Jan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
default boot vs. safe mode
Hello, I wonder what exactly is the difference between booting the 'default mode' and 'safe mode' from the initial booting menu in -CURRENT. Because, with 'default' it _always_ hangs for me, but with 'safe' I _never_ had a problem. Is it just setting some kernel variables (like /etc/sysctl.conf)? It's an Acer Aspire 1304XC laptop, Athlon XP. Thank you. Jan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"