Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Feb 2000 02:41:47 +0200 (EET)
From:      Vladimir Kushnir <vkushnir@Alfacom.net>
To:        freebsd-current@FreeBSD.ORG
Subject:   After last ATAPI update system doesn't boot if modules loaded by /boot/loader.
Message-ID:  <Pine.BSF.4.21.0002210137070.13467-100000@kushnir1.kiev.ua>
In-Reply-To: <200002182057.MAA23327@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,
I dont't know if this is some HW problem, but after the last update system
became unbootable if I load modules by /boot/loader rather them kldload.  

> sos         2000/02/18 12:57:33 PST
> 
>   Modified files:
>     sys/alpha/include    md_var.h 
>     sys/alpha/pci        pcibus.c 
>     sys/dev/ata          ata-all.c ata-all.h ata-disk.c ata-disk.h 
>                          ata-dma.c atapi-all.c atapi-all.h 
>                          atapi-cd.c atapi-cd.h atapi-fd.c 
>                          atapi-fd.h atapi-tape.c atapi-tape.h 
>     sys/kern             subr_disk.c 
<resy of CVS log snipped>

Sorry I can't give details of kernel message (BTW, how do I catch them
in such a case?) but system stops at ATA devices probe with 

ata0-slave: WARNING: WAIT_INTR active=ATA_WAIT_INTR
ata0-slave: ata_command: timeout waiting for intr
ata0-slave: identify failed
no devsw (majdev=0 bootdev=0xa0400000)
Mounting root from ufs:/dev/ad0s3a
no such device 'ad'
setrootbyname failed
ffs_mountroot: can't find rootvp
Root mount failed: 6

If I load modules by /etc/rc - everything goes all right, except 
sysctl hw.atamodes
hw.atamodes: dma,dma,---,---, 

while I have UDMA CD-ROM (and system sets UDMA2 on it if required
manually).

System: PIII/450, MB CT-6BTM with BX440 chipset,ata0-master: QUANTUM
FIREBALL CX10.2A, ata0-slave: Delta UDMA 44x CDROM.

uname-a:
FreeBSD kushnir1.kiev.ua 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Mon Feb 21 02:01:39 
EET 2000     root@kushnir1.kiev.ua:/usr/src/sys/compile/KUSHNIR  i386

Dmesg output (sorry, it's long):
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 4.0-CURRENT #0: Mon Feb 21 02:01:39 EET 2000
    root@kushnir1.kiev.ua:/usr/src/sys/compile/KUSHNIR
Calibrating clock(s) ... TSC clock: 451075452 Hz, i8254 clock: 1193323 Hz
Press a key on the console to abort clock calibration
Timecounter "i8254"  frequency 1193323 Hz
CPU: Pentium III/Pentium III Xeon (451.08-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
  Features=0x387f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,XMM>
real memory  = 67043328 (65472K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009ffff, 651264 bytes (159 pages)
0x0028a000 - 0x03fe5fff, 64339968 bytes (15708 pages)
avail memory = 62402560 (60940K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00fac40
bios32: Entry = 0xfb0c0 (c00fb0c0)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xb2a0
pnpbios: Found PnP BIOS data at 0xc00fbea0
pnpbios: Entry = f0000:bec8  Rev = 1.0
Other BIOS signatures found:
ACPI: 000f6c10
Preloaded elf kernel "kernel.TEST2" at 0xc0271000.
Pentium Pro MTRR support enabled
pci_open(1):	mode 1 addr port (0x0cf8) is 0x8000005c
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=71908086)
npx0: <math processor> on motherboard
npx0: INT 16 interface
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
pci_open(1):	mode 1 addr port (0x0cf8) is 0x80000058
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=71908086)
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
found->	vendor=0x8086, dev=0x7190, revid=0x03
	class=06-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[10]: type 1, range 32, base e0000000, size 26
found->	vendor=0x8086, dev=0x7191, revid=0x03
	class=06-04-00, hdrtype=0x01, mfdev=0
	subordinatebus=1 	secondarybus=1
found->	vendor=0x8086, dev=0x7110, revid=0x02
	class=06-01-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
found->	vendor=0x8086, dev=0x7111, revid=0x01
	class=01-01-80, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[20]: type 1, range 32, base 0000f000, size  4
found->	vendor=0x8086, dev=0x7112, revid=0x01
	class=0c-03-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=d, irq=10
	map[20]: type 1, range 32, base 0000e000, size  5
found->	vendor=0x8086, dev=0x7113, revid=0x02
	class=06-80-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[90]: type 1, range 32, base 00005000, size  4
found->	vendor=0x1073, dev=0x000d, revid=0x03
	class=04-01-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=12
	map[10]: type 1, range 32, base e8000000, size 15
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
found->	vendor=0x10de, dev=0x002c, revid=0x11
	class=03-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=11
	map[10]: type 1, range 32, base e4000000, size 24
	map[14]: type 1, range 32, base e6000000, size 25
pci1: <PCI bus> on pcib1
pci1: NVidia Riva Vanta TNT2 graphics accelerator (vendor=0x10de, dev=0x002c) at 0.0 irq 11
isab0: <Intel 82371AB PCI to ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 2.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xf000
ata0: mask=03 status0=50 status1=10
ata0: mask=03 status0=50 status1=10
ata0: devices = 0x9
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xf008
ata1: mask=03 status0=0a status1=0a
ata1: mask=03 status0=29 status1=29
ata1: devices = 0x0
ata1: probe allocation failed
pci0: Intel 82371AB/EB (PIIX4) USB controller (vendor=0x8086, dev=0x7112) at 2.2 irq 10
intpm0: <Intel 82371AB Power management controller> port 0x5000-0x500f irq 9 at device 2.3 on pci0
intpm0: I/O mapped 5000
intpm0: intr IRQ 9 enabled revision 0
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus general purpose I/O> on smbus0
intpm0: PM I/O mapped 4000 
pci0: unknown card (vendor=0x1073, dev=0x000d) at 14.0 irq 12
pnpbios: 14 devices, largest 69 bytes
PNP0000: adding irq mask 00x4
PNP0000: adding io range 0x20-0x21, size=0x2, align=0
PNP0000: adding io range 0xa0-0xa1, size=0x2, align=0
PNP0000: start dependant
pnpbios: handle 0 device ID PNP0000 (0000d041)
PNP0200: adding dma mask 0x10
PNP0200: adding io range 0-0xf, size=0x10, align=0
PNP0200: adding io range 0x81-0x83, size=0x3, align=0
PNP0200: adding io range 0x87-0x87, size=0x1, align=0
PNP0200: adding io range 0x89-0x8b, size=0x3, align=0
PNP0200: adding io range 0x8f-0x91, size=0x3, align=0
PNP0200: adding io range 0xc0-0xdf, size=0x20, align=0
PNP0200: start dependant
pnpbios: handle 1 device ID PNP0200 (0002d041)
PNP0100: adding irq mask 00x1
PNP0100: adding io range 0x40-0x43, size=0x4, align=0
PNP0100: start dependant
pnpbios: handle 2 device ID PNP0100 (0001d041)
PNP0b00: adding irq mask 0x100
PNP0b00: adding io range 0x70-0x71, size=0x2, align=0
PNP0b00: start dependant
pnpbios: handle 3 device ID PNP0b00 (000bd041)
PNP0303: adding irq mask 00x2
PNP0303: adding io range 0x60-0x60, size=0x1, align=0
PNP0303: adding io range 0x64-0x64, size=0x1, align=0
PNP0303: start dependant
pnpbios: handle 4 device ID PNP0303 (0303d041)
PNP0800: adding io range 0x61-0x61, size=0x1, align=0
PNP0800: start dependant
pnpbios: handle 5 device ID PNP0800 (0008d041)
PNP0c04: adding irq mask 0x2000
PNP0c04: adding io range 0xf0-0xff, size=0x10, align=0
PNP0c04: start dependant
pnpbios: handle 6 device ID PNP0c04 (040cd041)
PNP0c01: adding memory range 0-0x9ffff, size=0xa0000
PNP0c01: adding memory range 0xfffe0000-0xffffffff, size=0x20000
PNP0c01: adding memory range 0x100000-0x3ffffff, size=0x3f00000
PNP0c01: start dependant
pnpbios: handle 7 device ID PNP0c01 (010cd041)
PNP0c02: adding memory range 0xf0000-0xf3fff, size=0x4000
PNP0c02: adding memory range 0xf4000-0xf7fff, size=0x4000
PNP0c02: adding memory range 0xf8000-0xfbfff, size=0x4000
PNP0c02: adding memory range 0xfc000-0xfffff, size=0x4000
PNP0c02: start dependant
pnpbios: handle 8 device ID PNP0c02 (020cd041)
PNP0a03: adding io range 0x294-0x297, size=0x4, align=0
PNP0a03: adding io range 0x4d0-0x4d1, size=0x2, align=0
PNP0a03: adding io range 0xcf8-0xcff, size=0x8, align=0
PNP0a03: adding io range 0x480-0x48f, size=0x10, align=0
PNP0a03: adding io range 0x4000-0x403f, size=0x40, align=0
PNP0a03: adding io range 0x5000-0x501f, size=0x20, align=0
PNP0a03: start dependant
pnpbios: handle 9 device ID PNP0a03 (030ad041)
PNP0501: adding irq mask 0x10
PNP0501: adding io range 0x3f8-0x3ff, size=0x8, align=0
PNP0501: start dependant
pnpbios: handle 12 device ID PNP0501 (0105d041)
PNP0700: adding dma mask 0x4
PNP0700: adding io range 0x3f2-0x3f5, size=0x4, align=0
PNP0700: adding irq mask 0x40
PNP0700: start dependant
pnpbios: handle 13 device ID PNP0700 (0007d041)
PNP0400: adding irq mask 0x80
PNP0400: adding io range 0x378-0x37f, size=0x8, align=0
PNP0400: start dependant
pnpbios: handle 14 device ID PNP0400 (0004d041)
PNP0501: adding irq mask 00x8
PNP0501: adding io range 0x2f8-0x2ff, size=0x8, align=0
PNP0501: start dependant
pnpbios: handle 16 device ID PNP0501 (0105d041)
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0067
atkbd: keyboard ID 0x41ab (2)
kbdc: RESET_KBD return code:00fa
kbdc: RESET_KBD status:00aa
kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
EGA/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
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
ppc0: parallel port found at 0x378
ppc0: SPP
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
pps0: <Pulse per second Timing Interface> on ppbus0
ppi0: <Parallel I/O> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
plip0: <PLIP network interface> on ppbus0
bpf: lp0 attached
sio0: irq maps: 0x41 0x51 0x41 0x41
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: irq maps: 0x41 0x49 0x41 0x41
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
isa_probe_children: probing PnP devices
unknown: <PNP0000> can't assign resources
unknown0: <PNP0200> at port 0-0xf,0x81-0x83,0x87,0x89-0x8b,0x8f-0x91,0xc0-0xdf drq 4 on isa0
unknown1: <PNP0100> at port 0x40-0x43 irq 0 on isa0
unknown2: <PNP0b00> at port 0x70-0x71 irq 8 on isa0
unknown: <PNP0303> can't assign resources
unknown: <PNP0800> can't assign resources
unknown3: <PNP0c04> at port 0xf0-0xff irq 13 on isa0
unknown4: <PNP0c01> at iomem 0-0x9ffff,0xfffe0000-0xffffffff,0x100000-0x3ffffff on isa0
unknown5: <PNP0c02> at iomem 0xf0000-0xf3fff,0xf4000-0xf7fff,0xf8000-0xfbfff,0xfc000-0xfffff on isa0
unknown: <PNP0a03> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0700> can't assign resources
unknown: <PNP0400> can't assign resources
unknown: <PNP0501> can't assign resources
BIOS Geometries:
 0:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
bpf: lo0 attached
ata0-master: success setting up UDMA2 mode on PIIX4 chip
ad0: <QUANTUM FIREBALL CX10.2A/A3F.0B00> ATA-4 disk at ata0 as master
ad0: 9787MB (20044080 sectors), 19885 cyls, 16 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 1 depth queue, UDMA33
ad0: piomode=4 dmamode=2 udmamode=2 cblid=0
Creating DISK ad0
Creating DISK wd0
ata0-slave: piomode=4 dmamode=2 udmamode=2 dmaflag=1
ata0-slave: success setting up PIO4 mode on generic chip
acd0: <ATAPI 44X CDROM/VER-3.10> CDROM drive at ata0 as slave
acd0: 128KB buffer, PIO4
acd0: Reads: CD-R, CD-RW, CD-DA stream, packet
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: no/blank disc inside, unlocked
Mounting root from ufs:/dev/ad0s3a
ad0s1: type 0xc, start 63, end = 8193149, size 8193087 : OK
ad0s2: type 0x5, start 8209215, end = 10265534, size 2056320 : OK
ad0s3: type 0xa5, start 10265535, end = 20033054, size 9767520 : OK
ad0s5: type 0xb, start 8209278, end = 10265534, size 2056257 : OK
start_init: trying /sbin/init
VESA: information block
56 45 53 41 00 03 00 01 00 01 01 00 00 00 22 00 
00 01 40 00 05 02 07 01 00 01 0e 01 00 01 17 01 
00 01 00 01 01 01 02 01 03 01 04 01 05 01 06 01 
07 01 08 01 09 01 0a 01 0b 01 0c 01 0e 01 0f 01 
VESA: 33 mode(s) found
VESA: v3.0, 4096k memory, flags:0x1, mode table:0xc089afa2 (1000022)
VESA: NVidia
VESA: NVidia Riva TNT B1
ata0-slave: success setting up UDMA2 mode on PIIX4 chip
Linux-ELF exec handler installed
splash: image decoder found: green_saver
bpf: tun0 attached


-- 

===========================|=======================
 Vladimir Kushnir   	   |	
 vkushnir@Alfacom.net      |	Powered by FreeBSD
 kushnir@ap3.bitp.kiev.ua  |




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.0002210137070.13467-100000>