| Summary: | kernel fails to mount root from ufs:/dev/ad2s1a | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Patric Mrawek <patric> |
| Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.4-STABLE | ||
| Hardware: | Any | ||
| OS: | Any | ||
Are you sure you didn't move any hardware around ?
> ad0: 16446MB <ST317221A> [33416/16/63] at ata0-master UDMA33
> ad1: 39266MB <IC35L040AVER07-0> [79780/16/63] at ata1-master UDMA33
> ata0-slave: timeout waiting for command=ef s=00 e=00
> ata0-slave: timeout waiting for command=ef s=00 e=00
> acd0: CDROM <Pioneer CD-ROM ATAPI Model DR-A24X 0101> at ata0-slave using BIOSPIO
> Mounting root from ufs:/dev/ad2s1a
> Root mount failed: 6
This indicates that you should have a third harddrive with your
root filesystem on it.
If that's not the case then it seems that ad2 has moved to ad1.
Adding the line :
options ATA_STATIC_ID #Static device numbering
to your kernel config would help to fix this, as it would hardwire
that second disk to ad2.
Unfortunately that doesn't help you much at the moment.
Ceri
This PR can be closed. Originator stated in a private mail to me that options ATA_STATIC_ID has helped him fix the problem. Ceri State Changed From-To: open->closed Seemingly ATA_STATIC_ID solved the problem for the submitter. |
cvsup from this morning -> kernel is unable to mount root kernel config is same as before updating Copyright (c) 1992-2001 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 4.4-STABLE #3: Thu Nov 1 14:20:59 CET 2001 root@chili:/usr/obj/usr/src/sys/CHILI Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (501.14-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x673 Stepping = 3 Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory = 469696512 (458688K bytes) avail memory = 453132288 (442512K bytes) Preloaded elf kernel "kernel" at 0xc033a000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc033a0a8. VESA: v2.0, 32768k memory, flags:0x1, mode table:0xc02d8482 (1000022) VESA: ATI RAGE128 Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 6 entries at 0xc00fdd70 apm0: <APM BIOS> on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib2 pci1: <ATI Rage128-RL graphics accelerator> at 0.0 isab0: <VIA 82C596B PCI-ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <VIA 82C596 ATA33 controller> port 0xd000-0xd00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: <unknown card> (vendor=0x109e, dev=0x036e) at 8.0 irq 11 pci0: <unknown card> (vendor=0x109e, dev=0x0878) at 8.1 irq 11 xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xd800-0xd83f irq 10 at device 9.0 on pci0 xl0: Ethernet address: 00:10:4b:40:02:32 miibus0: <MII bus> on xl0 nsphy0: <DP83840 10/100 media interface> on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcm0: <ESS Solo-1 (unknown vendor)> port 0xec00-0xec03,0xe800-0xe803,0xe400-0xe40f,0xe000-0xe00f,0xdc00-0xdc3f irq 5 at device 11.0 on pci0 pcib1: <Host to PCI bridge> on motherboard pci2: <PCI bus> on pcib1 orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> on isa0 sc0: VGA <32 virtual consoles, flags=0x0> fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A, console sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ad0: 16446MB <ST317221A> [33416/16/63] at ata0-master UDMA33 ad1: 39266MB <IC35L040AVER07-0> [79780/16/63] at ata1-master UDMA33 ata0-slave: timeout waiting for command=ef s=00 e=00 ata0-slave: timeout waiting for command=ef s=00 e=00 acd0: CDROM <Pioneer CD-ROM ATAPI Model DR-A24X 0101> at ata0-slave using BIOSPIO Mounting root from ufs:/dev/ad2s1a Root mount failed: 6 Manual root filesystem specification: <fstype>:<device> Mount <device> using filesystem <fstype> eg. ufs:/dev/da0s1a ? List valid disk boot devices <empty line> Abort manual input mountroot> /usr/src/sys/i386/conf/CHILI machine i386 cpu I686_CPU # aka Pentium Pro(tm) ident CHILI maxusers 512 options MAXDSIZ="(256*1024*1024)" options MAXSSIZ="(256*1024*1024)" options DFLDSIZ="(256*1024*1024)" options BLKDEV_IOSIZE=8192 options PQ_CACHESIZE=512 # color for 512k/16k cache options CPU_ENABLE_SSE options COMPAT_43 options USER_LDT #allow user-level control of i386 ldt options SYSVSHM # include support for shared memory options SYSVSEM # include support for semaphores options SYSVMSG # include support for message queues options DDB options KTRACE #kernel tracing options INET #Internet communications protocols pseudo-device ether #Generic Ethernet pseudo-device loop #Network loopback device pseudo-device bpf #Berkeley packet filter options RANDOM_IP_ID options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN options ICMP_BANDLIM options FFS #Fast filesystem options MFS #Memory File System options NFS #Network File System options CD9660 #ISO 9660 filesystem options MSDOSFS #MS DOS File System options PROCFS #Process filesystem options FFS_ROOT #FFS usable as root device options SOFTUPDATES options SUIDDIR options P1003_1B options _KPOSIX_PRIORITY_SCHEDULING options _KPOSIX_VERSION=199309L pseudo-device pty #Pseudo ttys pseudo-device vn #Vnode driver (turns a file into a device) pseudo-device md #Memory/malloc disk pseudo-device snp 3 #Snoop device - to look at pty/vty/etc.. device isa options AUTO_EOI_1 device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 options ATKBD_DFLT_KEYMAP # specify the built-in keymap makeoptions ATKBD_DFLT_KEYMAP="german.iso" options KBD_INSTALL_CDEV # install a CDEV entry in /dev device psm0 at atkbdc? irq 12 device vga0 at isa? options VESA pseudo-device splash device sc0 at isa? options MAXCONS=32 # number of virtual consoles options SC_DFLT_FONT # compile font in makeoptions SC_DFLT_FONT=iso device npx0 at nexus? port IO_NPX flags 0x0 irq 13 device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options IDE_DELAY=8000 # Be optimistic about Joe IDE device device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 device pcm device apm0 device pci device miibus device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') How-To-Repeat: just reboot :)