Stefan Ehmann wrote: > I had similar problems. removing atatpicam fixed this. > > Also I could run a buildworld without a panic. Might be only by chance > though (don't know how easily the panic was reproducible). > I have a similar panic here, seems like ATAPICAM finds a bogus CD in the drive and then GEOM_ELI tries to taste it. cd0 at ata1 bus 0 target 0 lun 0 cd0: <HL-DT-ST RW/DVD GCC-4242N 0201> Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: \M-_at_:\M-W\M-D\^P panic: kmem_malloc(536870912): kmem_map too small: 14929920 total allocated KDB: stack backtrace: kdb_backtrace(c071ee05,c0774e20,c072fcb3,e35a85ac,100) at kdb_backtrace+0x2e panic(c072fcb3,20000000,e3d000,e35a85dc,c070cfed) at panic+0xb7 kmem_malloc(c104c0a8,20000000,2,e35a862c,c068e532) at kmem_malloc+0xab page_alloc(0,20000000,e35a861f,2,c56d47bc) at page_alloc+0x27 uma_large_malloc(20000000,2,e35a8650,c04ead43,20000000) at uma_large_malloc+0x52malloc(20000000,c0746c80,2,0,c56ef9c0) at malloc+0x9e g_read_data(c56ef9c0,0,200000,20000000,0) at g_read_data+0x50 g_eli_read_metadata(c0746980,c56e0600,e35a8a7c,c0719b38,c56e0658) at g_eli_read_metadata+0xe1 g_eli_taste(c0746980,c56e0600,0,c56e0700,4) at g_eli_taste+0xdc g_new_provider_event(c56e0600,0,0,c072c28d,0) at g_new_provider_event+0x7a one_event(66666667,c4aa1bd0,0,e35a8d00,c04eb955) at one_event+0x219 g_run_events(c0772c90,0,4c,c072c28d,64) at g_run_events+0x15 g_event_procbody(0,e35a8d38,0,0,0) at g_event_procbody+0x85 fork_exit(c04eb8d0,0,e35a8d38) at fork_exit+0x7f fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xe35a8d6c, ebp = 0 --- Uptime: 16m5s Dumping 1023 MB (2 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 1023MB (261728 pages) 1007 991 975 959 943 927 911 895 879 863 847 831 815 799 783 767 751 735 719 703 687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15 #0 doadump () at pcpu.h:166 166 pcpu.h: No such file or directory. in pcpu.h (kgdb) bt #0 doadump () at pcpu.h:166 #1 0xc0534438 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399 #2 0xc05347ad in panic ( fmt=0xc072fcb3 "kmem_malloc(%ld): kmem_map too small: %ld total allocated") at /usr/src/sys/kern/kern_shutdown.c:555 #3 0xc069660b in kmem_malloc (map=0xc104c0a8, size=536870912, flags=2) at /usr/src/sys/vm/vm_kern.c:299 #4 0xc068b867 in page_alloc (zone=0x0, bytes=0, pflag=0x0, wait=0) at /usr/src/sys/vm/uma_core.c:956 #5 0xc068e532 in uma_large_malloc (size=536870912, wait=2) at /usr/src/sys/vm/uma_core.c:2698 #6 0xc0525a4e in malloc (size=536870912, mtp=0xc0746c80, flags=2) at /usr/src/sys/kern/kern_malloc.c:322 #7 0xc04eb610 in g_read_data (cp=0x0, offset=Unhandled dwarf expression opcode 0x93 ) at geom.h:290 #8 0xc04e2e81 in g_eli_read_metadata (mp=0x0, pp=0xc56e0600, md=0xe35a8a7c) at /usr/src/sys/geom/eli/g_eli.c:575 #9 0xc04e407c in g_eli_taste (mp=0xc0746980, pp=0xc56e0600, flags=0) at /usr/src/sys/geom/eli/g_eli.c:917 #10 0xc04ed56a in g_new_provider_event (arg=0xc56e0600, flag=0) at /usr/src/sys/geom/geom_subr.c:459 #11 0xc04ea5a9 in one_event () at /usr/src/sys/geom/geom_event.c:206 #12 0xc04ea6c5 in g_run_events () at /usr/src/sys/geom/geom_event.c:226 #13 0xc04eb955 in g_event_procbody () at /usr/src/sys/geom/geom_kern.c:141 #14 0xc051528f in fork_exit (callout=0xc04eb8d0 <g_event_procbody>, arg=0x0, ---Type <return> to continue, or q <return> to quit--- frame=0x0) at /usr/src/sys/kern/kern_fork.c:790 #15 0xc06d5a8c in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:198 (kgdb) frame 10 #10 0xc04ed56a in g_new_provider_event (arg=0xc56e0600, flag=0) at /usr/src/sys/geom/geom_subr.c:459 459 mp->taste(mp, pp, 0); (kgdb) print *mp $1 = {name = 0xc0719b38 "ELI", version = 537137671, taste = 0xc04e3fa0 <g_eli_taste>, config = 0, ctlreq = 0xc04e6c10 <g_eli_config>, init = 0, fini = 0, destroy_geom = 0xc04e3f80 <g_eli_destroy_geom>, start = 0, spoiled = 0, dumpconf = 0, access = 0, orphan = 0, ioctl = 0, class = { le_next = 0xc07432c0, le_prev = 0xc0747058}, geom = { lh_first = 0xc56e0580}} (kgdb) print *pp $2 = {name = 0xc56e0658 "cd0", provider = {le_next = 0x0, le_prev = 0xc56e0694}, geom = 0xc56e0680, consumers = { lh_first = 0xc56ef9c0}, acr = 1, acw = 0, ace = 0, error = 0, orphan = { tqe_next = 0x0, tqe_prev = 0x0}, mediasize = 9007199791611904, sectorsize = 536870912, stripesize = 0, stripeoffset = 0, stat = 0xc4d88960, nstart = 0, nend = 0, flags = 0, private = 0x0, index = 0} full dmesg: GEOM_ELI[1]: Start tasting. Copyright (c) 1992-2006 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 7.0-CURRENT #0: Sun Jan 22 15:36:23 CET 2006 root_at_ibm-se82151:/usr/obj/usr/src/sys/IBMT41 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) M processor 1700MHz (1698.56-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x695 Stepping = 5 Features=0xa7e9f9bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE> Features2=0x180<EST,TM2> real memory = 1073086464 (1023 MB) avail memory = 1041051648 (992 MB) ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413) ACPI: Overriding _OS definition with "Windows 2001" npx0: [FAST] npx0: <math processor> on motherboard npx0: INT 16 interface acpi0: <IBM TP-1R> on motherboard acpi_ec0: <Embedded Controller: GPE 0x1c, ECDT> port 0x62,0x66 on acpi0 acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: <ACPI CPU> on acpi0 est0: <Enhanced SpeedStep Frequency Control> on cpu0 p4tcc0: <CPU Frequency Thermal Control> on cpu0 acpi_lid0: <Control Method Lid Switch> on acpi0 acpi_button0: <Sleep Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 agp0: <Intel 82855 host to AGP bridge> on hostb0 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 vgapci0: <VGA-compatible display> port 0x3000-0x30ff mem 0xe0000000-0xe7ffffff,0xc0100000-0xc010ffff irq 11 at device 0.0 on pci1 drm0: <ATI Radeon Lf R250 Mobility 9000 M9> on vgapci0 info: [drm] AGP at 0xd0000000 256MB info: [drm] Initialized radeon 1.19.0 20050911 uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0x1800-0x181f irq 11 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0x1820-0x183f irq 11 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0x1840-0x185f irq 11 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> mem 0xc0000000-0xc00003ff irq 11 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> on ehci0 usb3: USB revision 2.0 uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci2: <ACPI PCI bus> on pcib2 pci2: <bridge, PCI-CardBus> at device 0.0 (no driver attached) pci2: <bridge, PCI-CardBus> at device 0.1 (no driver attached) em0: <Intel(R) PRO/1000 Network Connection Version - 3.2.18> port 0x8000-0x803f mem 0xc0240000-0xc025ffff,0xc0200000-0xc020ffff irq 11 at device 1.0 on pci2 em0: Ethernet address: 00:11:25:d4:9c:ec em0: [FAST] ath0: <Atheros 5212> mem 0xc0210000-0xc021ffff irq 11 at device 2.0 on pci2 ath0: Ethernet address: 00:05:4e:4b:76:13 ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3 isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH4 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1860-0x186f at device 31.1 on pci0 ata0: <ATA channel 0> on atapci0 ata1: <ATA channel 1> on atapci0 pci0: <serial bus, SMBus> at device 31.3 (no driver attached) pcm0: <Intel ICH4 (82801DB)> port 0x1c00-0x1cff,0x18c0-0x18ff mem 0xc0000c00-0xc0000dff,0xc0000800-0xc00008ff irq 11 at device 31.5 on pci0 pcm0: <Analog Devices AD1981B AC97 Codec> pci0: <simple comms, generic modem> at device 31.6 (no driver attached) acpi_tz0: <Thermal Zone> on acpi0 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: <Generic IRDA-compatible device> port 0x2f8-0x2ff irq 3 drq 3 on acpi0 sio1: type 16550A battery0: <ACPI Control Method Battery> on acpi0 acpi_acad0: <AC Adapter> on acpi0 acpi_ibm0: <IBM ThinkPad ACPI Extras> on acpi0 vpd0: Unable to allocate memory resource. pmtimer0 on isa0 orm0: <ISA Option ROMs> at iomem 0xd0000-0xd0fff,0xd1000-0xd1fff,0xdc000-0xdffff pnpid ORM0000 on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1698563791 Hz quality 800 Timecounters tick every 1.000 msec Fast IPsec: Initialized Security Association Processing. battery0: battery initialization start acpi_acad0: acline initialization start battery0: battery initialization done, tried 1 times acpi_acad0: On Line acpi_acad0: acline initialization done, tried 1 times ad0: 57231MB <HTS726060M9AT00 MH4OA6DA> at ata0-master UDMA100 acd0: CDRW <HL-DT-STCD-RW/DVD DRIVE GCC-4242N/0201> at ata1-master UDMA33 GEOM_LABEL: Label for provider ad0s2a is ufs/root. Enter passphrase for ad0s2d: GEOM_ELI[1]: Using Master Key 0 for ad0s2d. GEOM_ELI[1]: Creating device ad0s2d.eli. GEOM_ELI[0]: Device ad0s2d.eli created. GEOM_ELI[0]: Cipher: AES GEOM_ELI[0]: Key length: 256 GEOM_ELI[0]: Crypto: software GEOM_ELI[1]: Thread g_eli[0] ad0s2d started. GEOM_LABEL: Label for provider ad0s2d.eli is ufs/usr. Trying to mount root from ufs:/dev/ufs/root GEOM_LABEL: Label for provider ad0s2d.eli is ufs/usr. ath0: [00:05:5d:eb:62:94] recv auth frame with algorithm 0 seq 2 ath0: [00:05:5d:eb:62:94] assoc success: long preamble, long slot time info: [drm] Loading R200 Microcode cd0 at ata1 bus 0 target 0 lun 0 cd0: <HL-DT-ST RW/DVD GCC-4242N 0201> Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: \M-_at_:\M-W\M-D\^P acpi_acad0: Off Line -- PawelReceived on Sun Jan 22 2006 - 16:03:52 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:51 UTC