Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Oct 2002 18:43:56 -0700 (PDT)
From:      Julian Elischer <julian@elischer.org>
To:        Seth Hieronymus <sethh@principia.edu>
Cc:        freebsd-current@freebsd.org
Subject:   Re: My problems with GEOM
Message-ID:  <Pine.BSF.4.21.0210061843360.22932-100000@InterJet.elischer.org>
In-Reply-To: <OE35VSSFcl3impgeByb00019a07@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
do a 'ps' in ddb


On Sun, 6 Oct 2002, Seth Hieronymus wrote:

> Hello,
> 
> After recompiling a kernel after the GEOM transition, my boot gets as
> far as:
> 
> Initializing GEOMetry subsystem
> ad0: 28629MB <ST330630A> [58168/16/63] at ata0-master UDMA33
> acd0: CDROM <Lite-On LTN483S 48x Max> at ata1-master PIO4
> afd0: 239MB <IOMEGA ZIP 250 ATAPI> [239/64/32] at ata1-slave PIO3
> Mounting root from ufs:/dev/ad0s1a
> 
> and hangs -- only a physical reset works.  However, breaking into the
> debugger, and running a trace, I get (hand-copied):
> 
> Debugger("manual escape to debugger")
> Stopped at     Debugger+0x54:   xchgl   %ebx,in_Debugger.0
> db> trace
> Debugger(c0331a32,4,1,0,1) at Debugger+0x54
> scgetc(c03cc1e0,2,c031a8f5,2fd,c1876b40) at scgetc+0x445
> sckbdevent(c03a6ee0,0,c03cc1e0,c034b1c0,8) at sckbdevent+0x1d0
> atkbd_intr(c03a6ee0,0,c8793d0c,c01a25c2,c03a6ee0) at atkbd_intr+0x2c
> atkbd_isa_intr(c03a6ee0,0,c0317bac,215,c0bbf370) at atkbd_isa_intr+0x21
> ithread_loop(c185fe00,c8793d48,c031790b,34d,7641000a) at
> ithread_loop+0x182
> fork_exit(c01a2440,c185fe00,c8793d48) at fork_exit+0xa5
> fork_trampoline() at fork_trampoline+0x1a
> --- trap 0x1, eip = 0, esp = 0xc8793d7c, ebp = 0 ---
> 
> Am I doing something wrong here?  Thanks for any help.  My pre-GEOM
> dmesg, and kernel config follow.  A kernel and world from the day before
> the GEOM switch works fine.
> 
> Seth Hieronymus
> 
> ******************
> Copyright (c) 1992-2002 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 #1: Sat Oct 5 10:00:26 MDT 2002
> root@hts7.hiertech.com:/usr/obj/usr/src/sys/hts7
> Preloaded elf kernel "/boot/kernel.save/kernel" at 0xc0449000.
> Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04490b0.
> Timecounter "i8254" frequency 1193182 Hz
> Timecounter "TSC" frequency 698395737 Hz
> CPU: Pentium III/Pentium III Xeon/Celeron (698.40-MHz 686-class CPU)
> Origin = "GenuineIntel" Id = 0x683 Stepping = 3
> Features=0x387f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,C
> MOV,PAT,PSE36,PN,MMX,FXSR,SSE>
> real memory = 134217728 (131072K bytes)
> avail memory = 125603840 (122660K bytes)
> Pentium Pro MTRR support enabled
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> acpi0: <PTLTD RSDT > on motherboard
> Using $PIR table, 10 entries at 0xc00fdf20
> acpi0: power button is handled as a fixed feature programming model.
> Timecounter "ACPI-safe" frequency 3579545 Hz
> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
> acpi_cpu0: <CPU> on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> ---- initial configuration ------------------------
> \\_SB_.PCI0.ISA_.LNKA irq 11: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.13.0
> \\_SB_.PCI0.ISA_.LNKC irq 10: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.13.2
> \\_SB_.PCI0.ISA_.LNKD irq 9: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.13.3
> \\_SB_.PCI0.ISA_.LNKC irq 10: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.14.1
> \\_SB_.PCI0.ISA_.LNKD irq 9: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.14.2
> \\_SB_.PCI0.ISA_.LNKA irq 11: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.14.3
> \\_SB_.PCI0.ISA_.LNKC irq 10: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.15.0
> \\_SB_.PCI0.ISA_.LNKD irq 9: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.15.1
> \\_SB_.PCI0.ISA_.LNKA irq 11: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.15.2
> \\_SB_.PCI0.ISA_.LNKD irq 9: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.16.0
> \\_SB_.PCI0.ISA_.LNKA irq 11: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.16.1
> \\_SB_.PCI0.ISA_.LNKC irq 10: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.16.3
> \\_SB_.PCI0.ISA_.LNKC irq 10: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.17.0
> \\_SB_.PCI0.ISA_.LNKD irq 9: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.17.1
> \\_SB_.PCI0.ISA_.LNKA irq 11: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.17.2
> \\_SB_.PCI0.ISA_.LNKD irq 9: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.12.0
> \\_SB_.PCI0.ISA_.LNKA irq 11: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.7.0
> \\_SB_.PCI0.ISA_.LNKC irq 10: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.7.2
> \\_SB_.PCI0.ISA_.LNKD irq 9: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.7.3
> \\_SB_.PCI0.ISA_.LNKA irq 11: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.1.0
> \\_SB_.PCI0.ISA_.LNKC irq 10: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.1.2
> \\_SB_.PCI0.ISA_.LNKD irq 9: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.1.3
> ---- before setting priority for links ------------
> ---- before fixup boot-disabled links -------------
> ---- after fixup boot-disabled links --------------
> ---- arbitrated configuration ---------------------
> \\_SB_.PCI0.ISA_.LNKA irq 11: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.13.0
> \\_SB_.PCI0.ISA_.LNKC irq 10: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.13.2
> \\_SB_.PCI0.ISA_.LNKD irq 9: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.13.3
> \\_SB_.PCI0.ISA_.LNKC irq 10: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.14.1
> \\_SB_.PCI0.ISA_.LNKD irq 9: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.14.2
> \\_SB_.PCI0.ISA_.LNKA irq 11: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.14.3
> \\_SB_.PCI0.ISA_.LNKC irq 10: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.15.0
> \\_SB_.PCI0.ISA_.LNKD irq 9: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.15.1
> \\_SB_.PCI0.ISA_.LNKA irq 11: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.15.2
> \\_SB_.PCI0.ISA_.LNKD irq 9: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.16.0
> \\_SB_.PCI0.ISA_.LNKA irq 11: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.16.1
> \\_SB_.PCI0.ISA_.LNKC irq 10: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.16.3
> \\_SB_.PCI0.ISA_.LNKC irq 10: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.17.0
> \\_SB_.PCI0.ISA_.LNKD irq 9: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.17.1
> \\_SB_.PCI0.ISA_.LNKA irq 11: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.17.2
> \\_SB_.PCI0.ISA_.LNKD irq 9: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.12.0
> \\_SB_.PCI0.ISA_.LNKA irq 11: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.7.0
> \\_SB_.PCI0.ISA_.LNKC irq 10: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.7.2
> \\_SB_.PCI0.ISA_.LNKD irq 9: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.7.3
> \\_SB_.PCI0.ISA_.LNKA irq 11: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.1.0
> \\_SB_.PCI0.ISA_.LNKC irq 10: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.1.2
> \\_SB_.PCI0.ISA_.LNKD irq 9: [ 3 4 5 7 9 10 11 12] low,level,sharable
> 0.1.3
> pci0: <ACPI PCI bus> on pcib0
> agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem
> 0xf4000000-0xf7ffffff at device 0.0 on pci0
> pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
> pci1: <PCI bus> on pcib1
> pci1: <display, VGA> at device 0.0 (no driver attached)
> isab0: <PCI-ISA bridge> at device 7.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <Intel PIIX4 ATA33 controller> port 0x10c0-0x10cf at device 7.1
> on pci0
> ata0: at 0x1f0 irq 14 on atapci0
> ata1: at 0x170 irq 15 on atapci0
> pci0: <serial bus, USB> at device 7.2 (no driver attached)
> pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
> xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x1000-0x107f mem
> 0xf0004800-0xf000487f irq 11 at device 13.0 on pci0
> xl0: Ethernet address: 00:01:03:1d:29:f0
> miibus0: <MII bus> on xl0
> xlphy0: <3c905C 10/100 internal PHY> on miibus0
> xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> bktr0: <BrookTree 878> mem 0xf0005000-0xf0005fff irq 10 at device 15.0
> on pci0
> bktr0: Hauppauge WinCast/TV, <no> tuner.
> pci0: <multimedia> at device 15.1 (no driver attached)
> pci0: <multimedia, audio> at device 16.0 (no driver attached)
> pci0: <input device> at device 16.1 (no driver attached)
> pci0: <serial bus, FireWire> at device 17.0 (no driver attached)
> fdc0: <enhanced floppy controller (i82077, NE72065 or clone)> port
> 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
> fdc0: FIFO enabled, 8 bytes threshold
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> sio0 port 0x3f8-0x3ff irq 4 on acpi0
> sio0: type 16550A
> ppc0 port 0x378-0x37f irq 7 on acpi0
> ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
> atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> psm0: model IntelliMouse, device ID 3
> orm0: <Option ROMs> at iomem
> 0xe4000-0xeffff,0xe0000-0xe3fff,0xcb000-0xcb7ff,0xc0000-0xcafff on isa0
> sc0: <System console> on isa0
> sc0: VGA <16 virtual consoles, flags=0x200>
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
> isa0
> pmtimer0 on isa0
> sio1: configured irq 3 not in bitmap of probed irqs 0
> sio1: port may not be enabled
> Timecounters tick every 10.000 msec
> ad0: 28629MB <ST330630A> [58168/16/63] at ata0-master UDMA33
> acd0: CDROM <Lite-On LTN483S 48x Max> at ata1-master PIO4
> afd0: 239MB <IOMEGA ZIP 250 ATAPI> [239/64/32] at ata1-slave PIO3
> Mounting root from ufs:/dev/ad0s1a
> 
> ******************
> machine i386
> cpu I686_CPU
> ident hts7
> maxusers 0
> 
> #To statically compile in device wiring instead of /boot/device.hints
> #hints "GENERIC.hints" #Default places to look for devices.
> makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
> 
> options INET #InterNETworking
> options INET6 #IPv6 communications protocols
> options FFS #Berkeley Fast Filesystem
> options SOFTUPDATES #Enable FFS soft updates support
> options UFS_DIRHASH #Improve performance on big directories
> options MD_ROOT #MD is a potential root device
> options NFSCLIENT #Network Filesystem Client
> options NFSSERVER #Network Filesystem Server
> options NFS_ROOT #NFS usable as root device, requires NFSCLIENT
> options MSDOSFS #MSDOS Filesystem
> options CD9660 #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 SCSI_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 P1003_1B #Posix P1003_1B real-time extensions
> options _KPOSIX_PRIORITY_SCHEDULING
> options KBD_INSTALL_CDEV # install a CDEV entry in /dev
> options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
> # output. Adds ~128k to driver.
> options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
> # output. Adds ~215k to driver.
> 
> # Debugging for use in -current
> options DDB #Enable the kernel debugger
> options INVARIANTS #Enable calls of extra sanity checking
> options INVARIANT_SUPPORT #Extra sanity checks of internal structures,
> required by INVARIANTS
> options WITNESS #Enable checks to detect deadlocks and cycles
> options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
> 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 splash # Splash screen and screen saver support
> 
> # syscons is the default console driver, resembling an SCO console
> device sc
> device agp # support several AGP chipsets
> 
> # Floating point support - do not disable.
> device npx
> 
> # Add suspend/resume support for the i8254.
> device pmtimer
> 
> # 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 ppi # Parallel port interface device
> 
> # PCI Ethernet NICs that use the common MII bus controller code.
> # NOTE: Be sure to keep the 'device miibus' line in order to use these
> NICs!
> device miibus # MII bus support
> device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
> 
> # Pseudo devices - the number indicates how many units to allocate.
> device random # Entropy device
> device loop # Network loopback
> device ether # Ethernet support
> device tun # Packet tunnel.
> device pty # Pseudo-ttys (telnet etc)
> device md # Memory "disks"
> 
> # The `bpf' device enables the Berkeley Packet Filter.
> # Be aware of the administrative consequences of enabling this!
> device bpf # Berkeley packet filter
> 
> # Brooktree video card
> device bktr
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0210061843360.22932-100000>