Re: Negative bio_offset -current kernel panic
In message [EMAIL PROTECTED], Aaron Wohl writes: I got a got this kernel panic: geom/geom_dev.c:(Negative bio_offset (%jd) on bio %p, Anyone seeing this also? Please put DDB in your kernel and try to reproduce, then capture traceback etc. (see handbook). -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]
Negative bio_offset -current kernel panic
I got a got this kernel panic: geom/geom_dev.c:(Negative bio_offset (%jd) on bio %p, Anyone seeing this also? This is on a 2 processor XEON intel motherboard / adaptec 5400S raid / AMD g2 console card. The AMI g2 console card provides via USB a keyboard virtual cdrom etc. Most of which freebsd isnt very happy with. But im not trying to use the virtual cdrom at all. They keyboard had not been used since last boot either. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]
Current kernel panic
I get this with a current kernel compiled just a few minute ago (SMP) Can't get to debugger as keystyrokes don't work Kernel from the 19th before UFS2 works fine. Additional routing options:. Mounting NFS file systems:. Fatal trap 12: page fault while in kernel mode cpuid = 1; lapic.id = 0c00 fault virtual address = 0x4 fault code = supervisor read, page not present instruction pointer = 0x8:0xc01d4e39 stack pointer = 0x10:0xd19a7b8c frame pointer = 0x10:0xd19a7b8c code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags= interrupt enabled, resume, IOPL = 0 current process = 233 (rm) trap number = 12 panic: page fault cpuid = 1; lapic.id = 0c00 boot() called on cpu#1 syncing disks... panic: bdwrite: buffer is not busy cpuid = 1; lapic.id = 0c00 boot() called on cpu#1 Uptime: 13s pfs_vncache_unload(): 1 entries remaining Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... cpu_reset called on cpu#1 cpu_reset: Stopping other CPUs cpu_reset: Restarting BSP cpu_reset_proxy: Stopped CPU 1 == || [EMAIL PROTECTED] || || Ph. (415) 681-6235 || == To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
-current kernel panic: ufs_ihashget
Hi, I'm getting the following panic when I run the following command: tar -cvf - . | compress | dd bs=64m of=/dev/sa0 running with a blocksize of 2,4,8,16, or 32meg on the dd command run to completion with no problems. Fatal trap 12: page fault while in kernel mode fault virtual address = 0x293944 instruction pointer = 0x8:0xc02a119f stack pointer = 0x10:0xd720dca4 frame pointer = 0x10:0xd720dcb4 code segment= base 0x0, limit 0xf, type = 0x1b = DPL 0, pres 1, def32 1, gran 1 processor flags = interrupt enabled, resume, IOPL = 0 current process = 290 (tar) trap number = 12 panic: page fault nm /boot/kernel/kernel | grep c02a11 | sort c02a1100 T ufs_ihashinit c02a1120 T ufs_ihashlookup c02a1168 T ufs_ihashget c02a11fc T ufs_ihashins System is -current as of 11:30am EST, Mon Dec 4, 2000 (today :-) dmesg output is included below. I'll compile up a kernel with gdb tomorrow. (Yes, it replicates...) -John Copyright (c) 1992-2000 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.0-CURRENT #0: Mon Dec 4 15:50:25 EST 2000 [EMAIL PROTECTED]:/usr/src/sys/compile/FreeBSD Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 797416080 Hz CPU: Pentium III/Pentium III Xeon/Celeron (797.42-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real memory = 534933504 (522396K bytes) avail memory = 516440064 (504336K bytes) Preloaded elf kernel "kernel" at 0xc041a000. ccd0-3: Concatenated disk drivers Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 11 entries at 0xc00fbbe0 npx0: math processor on motherboard npx0: INT 16 interface pcib0: Intel 82815 (i815 GMCH) Host To Hub bridge at pcibus 0 on motherboard pci0: PCI bus on pcib0 pci0: Intel model 1132 VGA-compatible display device at 2.0 irq 9 pcib1: Intel 82801BA (ICH2) Hub to PCI bridge at device 30.0 on pci0 pci1: PCI bus on pcib1 ahc0: Adaptec 2940/DUAL Ultra SCSI adapter port 0xec00-0xecff mem 0xfdfff000-0xfdff irq 9 at device 7.0 on pci1 aic7895: Wide Channel A, SCSI Id=7, 32/255 SCBs ahc1: Adaptec 2940/DUAL Ultra SCSI adapter port 0xe800-0xe8ff mem 0xfdffe000-0xfdffefff irq 10 at device 7.1 on pci1 aic7895: Single Channel B, SCSI Id=7, 32/255 SCBs amr0: AMI MegaRAID port 0xe480-0xe4ff irq 3 at device 9.0 on pci1 amr0: Series 428 Firmware U.77, BIOS 1.47, 32MB RAM xl0: 3Com 3c905C-TX Fast Etherlink XL port 0xe400-0xe47f mem 0xfdffdc00-0xfdffdc7f irq 3 at device 12.0 on pci1 xl0: Ethernet address: 00:b0:d0:7d:7c:8e miibus0: MII bus on xl0 xlphy0: 3c905C 10/100 internal PHY on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: Intel 82801BA (ICH2) PCI to LPC bridge at device 31.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel ICH2 ATA100 controller port 0xffa0-0xffaf at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: UHCI (generic) USB controller port 0xff80-0xff9f irq 11 at device 31.2 on pci0 uhci0: (New UHCI DeviceId=0x24428086) usb0: UHCI (generic) USB controller on uhci0 usb0: USB revision 1.0 uhub0: (0x24428086) UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: Intel 82801BA (ICH2) SMBus controller at 31.3 irq 10 pci0: Intel 82801BA (ICH2) AC'97 Audio Controller at 31.5 irq 10 fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 isa_dmainit(2, 1024) failed fdc0: FIFO enabled, 8 bytes threshold fd0: 1440-KB 3.5" drive on fdc0 drive 0 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0 atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold plip0: PLIP network interface on ppbus0 lpt0: Printer on ppbus0 lpt0: Interrupt-driven port ppi0: Parallel I/O on ppbus0 unknown: PNP0501 can't assign resources unknown: PNP0400 can't assign resources unknown: PNP0700 can't assign resources unknown: PNP0f13 can't assign resources unknown: PNP0303 can't assign resources ad0: 19092MB WDC WD200BB-75AUA1 [38792/16/63] at ata0-master UDMA100 acd0: CDROM Lite-On LTN483S 48x Max at ata1-master using PIO4 Waiting 5 seconds for SCSI devices to settle amrd0: MegaRAID logical drive on amr0 amrd0: 69112MB (141541376 sectors) RAID 0
Re: Reproduceable current kernel panic.
On Tue, Nov 07, 2000 at 02:29:40AM -0600, Michael C . Wu wrote: On Tue, Nov 07, 2000 at 04:13:37PM +0800, Clive Lin scribbled: | may panic because of several IPFIREWALL options. The panic message I could | tell is about trap 12, swi6: clock and page fault. And the machine hangs | solidly right away, I have no idea how to provide a back trace :( What is your motherboard and hardware config? My mobo is Gigabyte GA-BX2000 http://www.gigabyte.com.tw/products/bx2000.htm The CPU is a Celeron 300A, no overclocking during kernel panic test. Other adaptors are HPT 370, ES1371, xl0 and ed0. Finally, have you tried upgrading 4.1.1-R to RELENG_4 and newer -current? I have presmpng, smpng, and 4.2-BETA on my lan working fine. Well, via several kernel panic tests, I hope I've found out the key problem. I usually setup dummynet to limit my upstream bandwidth, especially ssh out, ftp out, cvsup out. This could explain why ssh doesn't cause panic while I do ssh localhost. And why it panics even I didn't do anything. (There's a crontab cvsup, and I limited cvsup upstream bandwidth by dummynet) And after I commented out all ipfw pipe and pipe config lines in my firewall script file, no more panics. Though I don't know how to fix it, I'll try to provide more information for real kernel hackers to fix :-) -- CirX - This site doesnt' exist. 9c k9o h9 s1bg s1f=, 7v .y xqx a sj m8r ffg1 vg5 a6 asox tmul h38 =. ant sj m8r ob =? 1fj mwby a1 tao vg5 =. soq df v ' .a. CirX=. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Reproduceable current kernel panic.
Hi, Sorry to bother/spam this mailing list again. In brief, rescent kernel may panic because of several IPFIREWALL options. The panic message I could tell is about trap 12, swi6: clock and page fault. And the machine hangs solidly right away, I have no idea how to provide a back trace :( There're 2 ways to triger the panic. 1) ssh to a 4.X machine. (In my environment, 4.1.1-RELEASE) 2) Wait and see, it will panic in multi-user mode soon or latter. Attached 2 files are my kernel configuration file and diff against GENERIC. (comments stripped) My /usr/src is about time after [EMAIL PROTECTED]'s es137x mixer fix. The way I buildkernel is make buildkernel. No CFLAGS and COPTFLAGS defined in my /etc/make.conf. Of course, buildworld and installworld has been done successfully before buildkernel. GENERIC kernel works pretty smooth. Thanks for any help, including how to provide more debug infomation. Clive -- CirX - This site doesnt' exist. 9c k9o h9 s1bg s1f=, 7v .y xqx a sj m8r ffg1 vg5 a6 asox tmul h38 =. ant sj m8r ob =? 1fj mwby a1 tao vg5 =. soq df v ' .a. CirX=. machine i386 cpu I686_CPU ident GENE maxusers256 options INET#InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT#FFS usable as root device [keep this!] options SOFTUPDATES #Enable FFS soft updates support options NFS #Network Filesystem options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_LINUX options VESA options SCSI_DELAY=15000#Delay (in ms) before probing SCSI options UCONSOLE#Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options SHMALL=4097 options SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)" options SHMMAXPGS=4097 options SHMMIN=2 options SHMMNI=512 options SHMSEG=1024 options P1003_1B#Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options KBD_INSTALL_CDEV# install a CDEV entry in /dev device isa device pci device pcm device sbc device midi device seq device fdc device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering options ATA_ENABLE_ATAPI_DMA#Enable DMA on ATAPI devices device atkbdc 1 device atkbd device psm device vga device splash device sc 1 device npx device sio device ppc device ppbus # Parallel port bus (required) device lpt # Printer device miibus # MII bus support device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') device ed device random # Entropy device options NOBLOCKRANDOM device loop# Network loopback device ether # Ethernet support device pty 256 # Pseudo-ttys (telnet etc) device snp 4 device bpf 4 # Berkeley packet filter options IPFIREWALL options IPFIREWALL_FORWARD options IPFIREWALL_VERBOSE options IPDIVERT options DUMMYNET --- GENERIC Tue Nov 7 15:38:33 2000 +++ GENETue Nov 7 15:38:11 2000 @@ -1,25 +1,17 @@ machinei386 -cpuI386_CPU -cpuI486_CPU -cpuI586_CPU cpuI686_CPU -ident GENERIC -maxusers 32 -optionsMATH_EMULATE#Support for x87 emulation +ident GENE +maxusers 256 optionsINET#InterNETworking -optionsINET6 #IPv6 communications protocols optionsFFS #Berkeley Fast Filesystem optionsFFS_ROOT#FFS usable as root device [keep this!] optionsSOFTUPDATES #Enable FFS soft updates support -optionsMFS #Memory Filesystem -optionsMD_ROOT #MD is a potential
Re: Reproduceable current kernel panic.
On Tue, Nov 07, 2000 at 04:13:37PM +0800, Clive Lin scribbled: | may panic because of several IPFIREWALL options. The panic message I could | tell is about trap 12, swi6: clock and page fault. And the machine hangs | solidly right away, I have no idea how to provide a back trace :( What is your motherboard and hardware config? | There're 2 ways to triger the panic. 1) ssh to a 4.X machine. (In my | environment, 4.1.1-RELEASE) 2) Wait and see, it will panic in multi-user | mode soon or latter. | Attached 2 files are my kernel configuration file and diff against | GENERIC. (comments stripped) | My /usr/src is about time after [EMAIL PROTECTED]'s es137x mixer fix. The | way I buildkernel is make buildkernel. No CFLAGS and COPTFLAGS defined | in my /etc/make.conf. Of course, buildworld and installworld has been done | successfully before buildkernel. | GENERIC kernel works pretty smooth. Can you compile a kernel with TCPDEBUG, DDB, INVARIANTS, KTR, and all the debugging options on both sides? Dump via DDB if possible. Tcpdump outputs before/during/after crash/trap12 would be great. Finally, have you tried upgrading 4.1.1-R to RELENG_4 and newer -current? I have presmpng, smpng, and 4.2-BETA on my lan working fine. -- +--+ | [EMAIL PROTECTED] | [EMAIL PROTECTED] | | http://peorth.iteration.net/~keichii | Yes, BSD is a conspiracy. | +--+ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message