Date: Sun, 15 May 2005 12:31:34 +0200 From: Thomas Beer <nohuman@gmail.com> To: Kris Kennaway <kris@obsecurity.org> Cc: freebsd-stable@freebsd.org Subject: Re: DEVFS Overflow table Message-ID: <5e51d2fd05051503315cd0486f@mail.gmail.com> In-Reply-To: <20050514232156.GB40912@xor.obsecurity.org> References: <5e51d2fd05051413181fe1bd84@mail.gmail.com> <20050514232156.GB40912@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> Can you show exactly how to repeat this error condition, so that > others can try and replicate it? After reboot: [root@lap tom]# dmesg -aM Copyright (c) 1992-2005 The FreeBSD Project.M Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994M The Regents of the University of California. All rights reserved.M FreeBSD 5.4-STABLE #0: Sat May 14 21:54:42 CEST 2005M tom@lap.mobile:/usr/obj/usr/src/sys/IBM_02M Timecounter "i8254" frequency 1193182 Hz quality 0M CPU: Intel(R) Pentium(R) M processor 1.80GHz (1798.48-MHz 686-class CPU)M Origin =3D "GenuineIntel" Id =3D 0x6d6 Stepping =3D 6M Features=3D0xafe9f9bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMO= V,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE>M real memory =3D 1073020928 (1023 MB)M avail memory =3D 1040478208 (992 MB)M npx0: <math processor> on motherboardM npx0: INT 16 interfaceM acpi0: <IBM TP-1R> on motherboardM acpi_ec0: <Embedded Controller: GPE 0x1c, ECDT> port 0x66,0x62 on acpi0M acpi0: Power Button (fixed)M Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000M acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0M cpu0: <ACPI CPU (3 Cx states)> on acpi0M acpi_throttle0: <ACPI CPU Throttling> on cpu0M acpi_lid0: <Control Method Lid Switch> on acpi0M acpi_button0: <Sleep Button> on acpi0M pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0M pci0: <ACPI PCI bus> on pcib0M agp0: <Intel 82855 host to AGP bridge> mem 0xd0000000-0xdfffffff at device 0.0 on pci0M pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0M pci1: <ACPI PCI bus> on pcib1M pci1: <display, VGA> at device 0.0 (no driver attached)M uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0x1800-0x181f irq 11 at device 29.0 on pci0M usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0M usb0: USB revision 1.0M uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1M uhub0: 2 ports with 2 removable, self poweredM uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0x1820-0x183f irq 11 at device 29.1 on pci0M usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1M usb1: USB revision 1.0M uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1M uhub1: 2 ports with 2 removable, self poweredM uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0x1840-0x185f irq 11 at device 29.2 on pci0M usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2M usb2: USB revision 1.0M uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1M uhub2: 2 ports with 2 removable, self poweredM pci0: <serial bus, USB> at device 29.7 (no driver attached)M pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0M pci2: <ACPI PCI bus> on pcib2M cbb0: <PCI-CardBus Bridge> mem 0xb0000000-0xb0000fff irq 11 at device 0.0 on pci2M cardbus0: <CardBus bus> on cbb0M pccard0: <16-bit PCCard bus> on cbb0M cbb1: <PCI-CardBus Bridge> mem 0xb1000000-0xb1000fff irq 11 at device 0.1 on pci2M cardbus1: <CardBus bus> on cbb1M pccard1: <16-bit PCCard bus> on cbb1M em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> port 0x8000-0x803f mem 0xc0200000-0xc020ffff,0xc0220000-0xc023ffff irq 11 at device 1.0 on pci2M em0: Ethernet address: 00:0d:60:b1:b9:07M em0: Speed:N/A Duplex:N/AM pci2: <network> at device 2.0 (no driver attached)M isab0: <PCI-ISA bridge> at device 31.0 on pci0M isa0: <ISA bus> on isab0M atapci0: <Intel ICH4 UDMA100 controller> port 0x1860-0x186f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0M ata0: channel #0 on atapci0M ata1: channel #1 on atapci0M pci0: <serial bus, SMBus> at device 31.3 (no driver attached)M pcm0: <Intel ICH4 (82801DB)> port 0x18c0-0x18ff,0x1c00-0x1cff mem 0xc0000800-0xc00008ff,0xc0000c00-0xc0000dff irq 11 at device 31.5 on pci0M pcm0: <Analog Devices AD1981B AC97 Codec>M pci0: <simple comms, generic modem> at device 31.6 (no driver attached)M acpi_tz0: <Thermal Zone> on acpi0M atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0M atkbd0: <AT Keyboard> irq 1 on atkbdc0M kbd0 at atkbd0M psm0: <PS/2 Mouse> irq 12 on atkbdc0M psm0: model Generic PS/2 mouse, device ID 0M fdc0: <floppy drive controller (FDE)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0M ppc0: <Standard parallel printer port> port 0x3bc-0x3be irq 7 on acpi0M ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE modeM ppbus0: <Parallel port bus> on ppc0M plip0: <PLIP network interface> on ppbus0M lpt0: <Printer> on ppbus0M lpt0: Interrupt-driven portM ppi0: <Parallel I/O> on ppbus0M acpi_cmbat0: <Control Method Battery> on acpi0M acpi_acad0: <AC Adapter> on acpi0M orm0: <ISA Option ROMs> at iomem 0xdc000-0xdffff,0xd1000-0xd1fff,0xd0000-0xd0fff on isa0M pmtimer0 on isa0M vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0M sc0: <System console> at flags 0x100 on isa0M sc0: VGA <16 virtual consoles, flags=3D0x300>M ums0: Logitech USB Receiver, rev 1.10/9.10, addr 2, iclass 3/1M ums0: 5 buttons and Z dir.M umass0: USB Flash Disk, rev 2.00/2.00, addr 3M Timecounter "TSC" frequency 1798480037 Hz quality 800M Timecounters tick every 10.000 msecM Fast IPsec: Initialized Security Association Processing.M IP Filter: v3.4.35 initialized. Default =3D block all, Logging =3D enabled= M em0: Link is up 10 Mbps Half DuplexM ad0: 57231MB <HTS726060M9AT00/MH4OA6BA> [116280/16/63] at ata0-master UDMA1= 00M acd0: CDRW <HL-DT-STCD-RW/DVD DRIVE GCC-4242N/0201> at ata1-master PIO4M da0 at umass-sim0 bus 0 target 0 lun 0M da0: <Verbatim USB Drive 2.00> Removable Direct Access SCSI-2 device M da0: 1.000MB/s transfersM da0: 125MB (256000 512 byte sectors: 64H 32S/T 125C)M Mounting root from ufs:/dev/ad0s3aM Pre-seeding PRNG:M kickstartM .M Loading configuration files.M Entropy harvesting:M interruptsM ethernetM point_to_pointM kickstartM .M swapon: adding /dev/ad0s3b as swap deviceM Starting file system checks:M /dev/ad0s3a: FILE SYSTEM CLEAN; SKIPPING CHECKSM /dev/ad0s3a: clean, 451015 free (591 frags, 56303 blocks, 0.1% fragmentatio= n)M /dev/ad0s3e: FILE SYSTEM CLEAN; SKIPPING CHECKSM /dev/ad0s3e: clean, 247858 free (34 frags, 30978 blocks, 0.0% fragmentation= )M /dev/ad0s3f: FILE SYSTEM CLEAN; SKIPPING CHECKSM /dev/ad0s3f: clean, 6642801 free (62417 frags, 822548 blocks, 0.7% fragmentation)M /dev/ad0s3d: FILE SYSTEM CLEAN; SKIPPING CHECKSM /dev/ad0s3f: clean, 6642801 free (62417 frags, 822548 blocks, 0.7% fragmentation)M /dev/ad0s3d: FILE SYSTEM CLEAN; SKIPPING CHECKSM /dev/ad0s3d: clean, 448045 free (957 frags, 55886 blocks, 0.2% fragmentatio= n)M Enabling ipfilter.M ioctl(SIOCIPFL6): Invalid argumentM 1:M ioctl(add/insert rule): No such processM net.inet.ip.random_id: M 0M -> M 1M M net.inet.ip.ttl: M 64M -> M 98M M vfs.usermount: M 0M -> M 1M M Setting hostname: lap.mobile.M Starting ipmon.M em0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500M options=3Db<RXCSUM,TXCSUM,VLAN_MTU>M inet 192.168.1.6 netmask 0xfffffff0 broadcast 192.168.1.15M ether 00:0d:60:b1:b9:07M media: Ethernet autoselectM status: no carrierM lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384M inet 127.0.0.1 netmask 0xff000000 M filter sync'dM Starting ppp as "root"M /libexec/ld-elf.so.1: M Shared object "libintl.so.6" not found, required by "su"M M filter sync'dM Additional routing options:M ignore ICMP redirect=3DYESM log ICMP redirect=3DYESM .M Starting devd.M hw.acpi.cpu.cx_lowest: M C1M -> M C1M M dev.cpu.0.freq: M 1795M -> M 1795M M Mounting NFS file systems:M .M Starting syslogd.M May 15 12:24:24 lap syslogd: kernel boot file is /boot/kernel/kernelM Clearing /tmp.M ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/= libM a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout= M Starting usbd.M Starting local daemons:M .M Starting lpd.M Starting ntpd.M usage: /usr/sbin/ntpd [ -abdgmnqx ] [ -c config_file ] [ -e e_delay ]M [ -f freq_file ] [ -k key_file ] [ -l log_file ]M [ -p pid_file ] [ -r broad_delay ] [ -s statdir ]M [ -t trust_key ] [ -v sys_var ] [ -V default_sysvar ]M Configuring syscons:M keymapM blanktimeM .M Initial i386 initialization:M .M Additional ABI support:M linuxM em0: Link is up 10 Mbps Half DuplexM .M Starting cron.M Local package initialization:M Starting anacron.M qmail-smtpM qmail-popM qmailM Starting svscan.M dnscacheM .M .M Additional TCP options:M .M Starting moused:M .M Starting background file system checks in 60 seconds.M M Sun May 15 12:24:27 CEST 2005M May 15 12:25:04 lap su: tom to root on /dev/ttyp3M [root@lap tom]# eH Hsu tomM [tom@lap tom]$ pppM Working in interactive modeM ^CM >>>> PPP MUST be aborted, cause it hangs! [tom@lap tom]$ dmesg -a |grep DEVFSM DEVFS Overflow table with 65538 entries allocatedM If I do the same as user root this will not happen! Cheers Tom
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5e51d2fd05051503315cd0486f>