Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Mar 2001 19:23:46 -0800 (PST)
From:      Jonathan Hanna <pangolin@home.com>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: "cannot find label (no disk label)"
Message-ID:  <200103020323.f223NlD03436@cr222190-a.crdva1.bc.wave.home.com>
In-Reply-To: <3A9893BD.22E9AD77@uiowa.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]

On 25-Feb-01 Scott Allendorf wrote:
> I think I am seeing the same thing on an old 486/66.  I believe I
> have found the commit that caused the problem, but have not had time to 
> take this further (it takes about 27 hours to do build/installworld on
> this system).  The kernel from 2000.10.25.06.00.00 boots correctly.
> One built from 2000.10.25.06.55.00 sources exhibits the problem.  The
> only kernel-related commit during that window is:
> 
> http://docs.freebsd.org/cgi/getmsg.cgi?fetch=564525+0+archive/2000/cvs-all/20001029.cvs-all
> 
> I was just about to email Soren with the details, but it might make more
> sense for someone with a faster machine to actually help debug this (I
> am
> willing but it will be slow going on this machine).
> 
> I can also add that if I attempt to install 4.2-RELEASE from the CD 
> onto this disk, everything looks normal until sysinstall goes to write 
> to the disk.  At that point, I get the message:
> 
>       panic: Going nowhere without my init!

I have confirmed that this particular change causes my problem.

With a recent 4.2-STABLE and the ata/* files backed up
to just before this change things work. With it it fails.
I also tried the ata files from the recent (Feb 25) MFC, same failure.

For the ATA command on ad0 with params unit=0 cmd=0x20 cy=0 head=1 sec=2 cnt=1
I get HARD READ ERROR blk#64 status=59 error=10 when reading the label.

I am including a verbose boot dmesg (from a working kernel).

Unfortunately, I had to put the box back to work, so I cannot debug
the problem, which is why I am sending this note.

Jonathan Hanna <pangolin@home.com>


[-- Attachment #2 --]
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.2-STABLE #4: Wed Feb 28 12:47:25 PST 2001
    root@:/home/obj/home/src/sys/MGFW
Calibrating clock(s) ... TSC clock: 66479494 Hz, i8254 clock: 1240950 Hz
1240950 Hz differs from default of 1193182 Hz by more than 1%
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P5 (65.81-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x515  Stepping = 5
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 33554432 (32768K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009ffff, 651264 bytes (159 pages)
0x00449000 - 0x01ff7fff, 29028352 bytes (7087 pages)
config> en ed0
config> ir ed0 5
config> f ed0 0
avail memory = 28581888 (27912K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00f93a0
bios32: Entry = 0xf0000 (c00f0000)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0x0
Other BIOS signatures found:
ACPI: 00000000
Preloaded elf kernel "kernel" at 0xc0423000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc04230ac.
Intel Pentium detected, installing workaround for F00F bug
md0: Malloc disk
Creating DISK md0
pci_open(1):	mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):	mode1res=0x00000000 (0x80000000)
pci_open(1b):	mode1res=0x00000000 (0xff000001)
pci_open(2):	mode 2 enable port (0x0cf8) is 0x00
pci_open(2a):	mode2res=0x0e (0x0e)
pci_open(2a):	now trying mechanism 2
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=04a38086)
npx0: <math processor> on motherboard
npx0: INT 16 interface
i586_bzero() bandwidth = 189897455 bytes/sec
bzero() bandwidth = 2016129032 bytes/sec
pci_open(1):	mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):	mode1res=0x00000000 (0x80000000)
pci_open(1b):	mode1res=0x00000000 (0xff000001)
pci_open(2):	mode 2 enable port (0x0cf8) is 0x00
pci_open(2a):	mode2res=0x0e (0x0e)
pci_open(2a):	now trying mechanism 2
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=04a38086)
pcib0: <Host to PCI bridge> on motherboard
found->	vendor=0x8086, dev=0x04a3, revid=0x03
	class=06-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
found->	vendor=0x8086, dev=0x0484, revid=0x03
	class=00-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
found->	vendor=0x1c1c, dev=0x0001, revid=0x00
	class=00-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=14
found->	vendor=0x5333, dev=0x8811, revid=0x00
	class=03-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=11
	map[10]: type 1, range 32, base 80800000, size 23
pci0: <PCI bus> on pcib0
	CPU: Pentium, 66MHz, CPU->Memory posting ON
	Warning: Cache parity disabled!
	Cache: 256KB writeback, cache clocks=3-2-2-2/4-2-2-2
	Cache flags:  byte-control
	DRAM: page mode memory clocks=X-4-4-4 (70ns), CAS-wait
	CPU->PCI: posting ON, burst mode ON, PCI clocks=2-1-1-1
	PCI->Memory: posting ON
	Refresh: RAS#Only BurstOf4
isab0: <Intel 82378ZB PCI to ISA bridge> at device 2.0 on pci0
	Bus Modes: Resource Lock,
	Coprocessor errors enabled
	Keyboard controller: 60h,62h,64h,66h
	RTC: 70h-77h
	Port 92: enabled
isa0: <ISA bus> on isab0
pci0: <unknown card> (vendor=0x1c1c, dev=0x0001) at 3.0 irq 14
pci0: <S3 Trio graphics accelerator> (vendor=0x5333, dev=0x8811) at 15.0 irq 11
Trying Read_Port at 203
RTL8019: adding io range 0x220-0x39f, size=0x20, align=0x20
RTL8019: adding irq mask 0x9e38
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
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
fd1: <1200-KB 5.25" drive> on fdc0 drive 1
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x0000
ata0: mask=03 status0=50 status1=50
ata0: mask=03 status0=50 status1=50
ata0: devices = 0x3
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x0000
ata1: mask=00 status0=ff status1=ff
ata1: probe allocation failed
ata1 failed to probe at port 0x170-0x177,0x376 irq 15 on isa0
adv0 failed to probe at port 0x330 on isa0
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x330
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x334
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x230
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x234
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x130
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x134
bt0 failed to probe at port 0x134-0x137 on isa0
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0 failed to probe at port 0x134-0x137 on isa0
aic0 failed to probe at port 0x140-0x15f on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0045
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
psm0: current command byte:0045
psm0: failed to reset the aux device.
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 0d 0e 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> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
pcic0 failed to probe at port 0x3e0 iomem 0xd0000 on isa0
pcic1: not probed (disabled)
sio0: irq maps: 0xa41 0xa51 0xa41 0xa41
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: irq maps: 0xa41 0xa49 0xa41 0xa41
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio2: not probed (disabled)
sio3: not probed (disabled)
ppc0: parallel port found at 0x378
ppc0: using extended I/O port range
ppc0: ECP SPP ECP+EPP SPP
ppc_detect_fifo: PWord not supported
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
bpf: lp0 attached
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ed0 at port 0x280-0x29f iomem 0xd8000-0xd9fff irq 5 drq 0 on isa0
bpf: ed0 attached
ed0: address 02:60:8c:da:c8:d3, type 3c503 (16 bit) 
fe0 failed to probe at port 0x300-0x31f on isa0
ie0 failed to probe at port 0x300 iomem 0xd0000 irq 10 on isa0
isa_compat: didn't get ports for lnc
lnc0 failed to probe at port 0x280 irq 10 drq 0 on isa0
cs0 failed to probe at port 0x300-0x31f on isa0
sn0 failed to probe at port 0x300-0x30f irq 10 on isa0
isa_probe_children: probing PnP devices
adv1: Invalid baseport of 0x220 specified. Nearest valid baseport is 0x230.  Failing probe.
ed1: <Realtek Plug & Play Ethernet Card> at port 0x220-0x23f irq 9 on isa0
bpf: ed1 attached
ed1: address 00:c0:a8:4e:59:62, type NE2000 (16 bit) 
BIOS Geometries:
 0:026a1f3f 0..618=619 cylinders, 0..31=32 heads, 1..63=63 sectors
 1:03fd3f3f 0..1021=1022 cylinders, 0..63=64 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to deny, logging limited to 1000 packets/entry by default
bpf: faith0 attached
bpf: gif0 attached
bpf: gif1 attached
bpf: gif2 attached
bpf: gif3 attached
bpf: lo0 attached
bpf: ppp0 attached
new masks: bio 684040, tty 63009a, net 6702ba
bpf: sl0 attached
IPv6 packet filtering initialized, unlimited logging
ad0: <WDC AC2635F/27.25C38> ATA-0 disk at ata0 as master
ad0: 610MB (1249920 sectors), 1240 cyls, 16 heads, 63 S/T, 512 B/S
ad0: 1 secs/int, 1 depth queue, BIOSPIO
ad0: piomode=3 dmamode=1 udmamode=-1 cblid=0
Creating DISK ad0
Creating DISK wd0
ad1: <WDC AC22100H/10.07H11> ATA-0 disk at ata0 as slave
ad1: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S
ad1: 1 secs/int, 1 depth queue, BIOSPIO
ad1: piomode=4 dmamode=2 udmamode=-1 cblid=0
Creating DISK ad1
Creating DISK wd1
Mounting root from ufs:/dev/ad0s1a
ad0s1: type 0xa5, start 63, end = 1249919, size 1249857 : OK
start_init: trying /sbin/init
ad1s1: type 0xa5, start 63, end = 4124735, size 4124673 : OK

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103020323.f223NlD03436>