Soren Schmidt wrote:
> 
> It seems Mike Smith wrote:
> > > Forgive me if I'm beating a dead horse... I'm still having the following
> > > problem if I load any modules from /boot/loader.conf:
> >
> > I've reproduced this here, and narrowed it down to Soren's ATA megacommit
> > on the 18th.  Unfortunately, the newbus patches (tested) and the other
> > gunk (untested) ended up lumped in together, and I'm not having a lot of
> > luck working out what exactly might be causing this.
> 
> That megapatch was only newbus patches and cosmetics around that, one
> new item was cmd646 support but that is hardly the problem here.
> 
> > Soren - this is somewhat of a showstopper.  Can you reproduce it there?
> 
> Nope, I've tried several machines here, no problems, even with tons
> of modules..
> 
> The only thing I can come up with is that _something_ makes the
> delayed probe be called _before_ interrupts are up and running.
> That will make it fail like this. Quuestion is is something
> else messing with those hooks ?
> We've seen this before, but back then no solution was found either,
> it dissaperead all by itself...
> 
> -Søren

Perhaps this will help. Attached is a copy of a boot_verbose dmesg when
my box DOES boot. When it does NOT boot the screen shows something like
this:

...
Device configuration finished.
bpf: lo0 attached
IP packet filtering initialized, divert enabled, rule-based forwarding
enabled, default to accept, logging limited to 100 packets/entry by
default
Linux-ELF exec handler installed
IP Filter: initialized.  Default = pass all, Logging = enabled
IP Filter: v3.3.8
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=0xa0200000)
Mounting root from ufs:/dev/ad0s1a
no such device 'ad'
setrootbyname failed
ffs_mountroot: can't find rootvp
Root mount failed: 6
...

Seems like it craps out right after the linux module kicks in at
'Linux-ELF exec handler installed'.

The platform in this case is a Celleron 466/ASUS MES-N/SiS® 620 AGPset.
http://www.asus.com.tw/products/motherboard/pentiumpro/mes-n/index.html
http://www.sis.com.tw/products/pentium2/620.htm

Hope this helps.

Incidentally ata(4) states:

     The currently supported controllers with their maximum speed
include:

     ...
     SiS 5591                 Ultra DMA 33 (UDMA2), 33 MB/sec
     ...

yet the above URL claims:

        The IDE controller is ATA-3 compliant, supporting PIO mode 0/1/2/3/4,
        DMA multiword 0/1/2 and Ultra DMA 33/66 operations. The two IDE
channels
        are fully independent with dedicated 16 double-word FIFO built-in.

I understand there's little (if any) perfrmance difference between
UDMA33 and UDMA66. Just wondering why UDMA66 was not supported for this
controller.

-- 
Yarema
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 #1: Wed Feb 23 11:03:02 EST 2000
    [EMAIL PROTECTED]:/usr/src/sys/compile/ASUSMESN
Calibrating clock(s) ... TSC clock: 466827092 Hz, i8254 clock: 1193128 Hz
Timecounter "i8254"  frequency 1193128 Hz
Timecounter "TSC"  frequency 466827092 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (466.83-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x665  Stepping = 5
  
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 266326016 (260084K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009ffff, 651264 bytes (159 pages)
0x00369000 - 0x0fdf4fff, 262717440 bytes (64140 pages)
avail memory = 254541824 (248576K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00f99d0
bios32: Entry = 0xf04c0 (c00f04c0)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0x4f0
pnpbios: Found PnP BIOS data at 0xc00fca10
pnpbios: Entry = f0000:ca40  Rev = 1.0
pnpbios: OEM ID cd041
Other BIOS signatures found:
ACPI: 000f54a0
Preloaded elf kernel "kernel" at 0xc0350000.
VESA: information block
56 45 53 41 00 02 00 01 00 01 04 00 00 00 22 00 
00 01 20 00 00 01 14 01 00 01 36 01 00 01 40 01 
00 01 00 01 01 01 03 01 05 01 07 01 21 01 80 01 
81 01 82 01 89 01 8d 01 0d 01 10 01 13 01 16 01 
VESA: 35 mode(s) found
VESA: v2.0, 2048k memory, flags:0x4, mode table:0xc02f0ea2 (1000022)
VESA: SiS
VESA: Silicon Integrated Systems Corp. 6306 0A
Pentium Pro MTRR support enabled
md0: Malloc disk
Creating DISK md0
pci_open(1):    mode 1 addr port (0x0cf8) is 0x80010010
pci_open(1a):   mode1res=0x80000000 (0x80000000)
pci_cfgcheck:   device 0 [class=060000] [hdr=80] is there (id=06201039)
devclass_alloc_unit: pcib0 already exists, using next available unit number
npx0: <math processor> on motherboard
npx0: INT 16 interface
pci_open(1):    mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):   mode1res=0x80000000 (0x80000000)
pci_cfgcheck:   device 0 [class=060000] [hdr=80] is there (id=06201039)
pcib0: <Host to PCI bridge> on motherboard
found-> vendor=0x1039, dev=0x0620, revid=0x02
        class=06-00-00, hdrtype=0x00, mfdev=1
        subordinatebus=0        secondarybus=0
        map[10]: type 1, range 32, base e6800000, size 22
found-> vendor=0x1039, dev=0x5513, revid=0xd0
        class=01-01-8a, hdrtype=0x00, mfdev=1
        subordinatebus=0        secondarybus=0
        intpin=a, irq=14
        map[10]: type 1, range 32, base 0000e400, size  3
        map[14]: type 1, range 32, base 0000e000, size  2
        map[18]: type 1, range 32, base 0000d800, size  3
        map[1c]: type 1, range 32, base 0000d400, size  2
        map[20]: type 1, range 32, base 0000d000, size  4
found-> vendor=0x1039, dev=0x0008, revid=0xb3
        class=06-01-00, hdrtype=0x00, mfdev=1
        subordinatebus=0        secondarybus=0
found-> vendor=0x1039, dev=0x0009, revid=0x00
        class=ff-00-00, hdrtype=0x00, mfdev=1
        subordinatebus=0        secondarybus=0
found-> vendor=0x1039, dev=0x7001, revid=0x11
        class=0c-03-10, hdrtype=0x00, mfdev=1
        subordinatebus=0        secondarybus=0
        intpin=a, irq=15
        map[10]: type 1, range 32, base e6000000, size 12
found-> vendor=0x1039, dev=0x0001, revid=0x00
        class=06-04-00, hdrtype=0x01, mfdev=0
        subordinatebus=1        secondarybus=1
found-> vendor=0x8086, dev=0x1229, revid=0x08
        class=02-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=10
        map[10]: type 1, range 32, base e5000000, size 12
        map[14]: type 1, range 32, base 0000a800, size  6
        map[18]: type 1, range 32, base e4800000, size 20
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 e4000000, size 15
pci0: <PCI bus> on pcib0
atapci0: <SiS 5591 ATA33 controller> port 
0xd000-0xd00f,0xd400-0xd403,0xd800-0xd807,0xe000-0xe003,0xe400-0xe407 irq 14 at device 
0.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xd000
ata0: mask=03 status0=50 status1=00
ata0: mask=03 status0=50 status1=00
ata0: devices = 0x1
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xd008
ata1: mask=00 status0=ff status1=ff
ata1: probe allocation failed
isab0: <SiS 85c503 PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <unknown card> (vendor=0x1039, dev=0x0009) at 1.1
ohci0: <OHCI (generic) USB controller> mem 0xe6000000-0xe6000fff irq 15 at device 1.2 
on pci0
ohci0: (New OHCI DeviceId=0x70011039)
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pcib2: <PCI to PCI bridge (vendor=1039 device=0001)> at device 2.0 on pci0
found-> vendor=0x1039, dev=0x6306, revid=0x2a
        class=03-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        map[10]: type 1, range 32, base e7800000, size 23
        map[14]: type 1, range 32, base e5800000, size 16
        map[18]: type 1, range 32, base 0000b800, size  7
pci1: <PCI bus> on pcib2
pci1: <SiS 530/620 SVGA controller> (vendor=0x1039, dev=0x6306) at 0.0
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> port 0xa800-0xa83f mem 
0xe4800000-0xe48fffff,0xe5000000-0xe5000fff irq 10 at device 3.0 on pci0
fxp0: Ethernet address 00:e0:18:e0:12:e1
bpf: fxp0 attached
pci0: <unknown card> (vendor=0x1073, dev=0x000d) at 6.0 irq 12
pci_open(1):    mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):   mode1res=0x80000000 (0x80000000)
pci_cfgcheck:   device 0 [class=060000] [hdr=80] is there (id=06201039)
devclass_alloc_unit: pci1 already exists, using next available unit number
pcib1: <SiS 5591 host to AGP bridge> on motherboard
pci2: <PCI bus> on pcib1
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 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000
psm0: current command byte:0067
kbdc: TEST_AUX_PORT status:0001
psm0: strange result for test aux port (1).
kbdc: RESET_AUX return code:ffffffff
kbdc: RESET_AUX return code:ffffffff
kbdc: RESET_AUX return code:ffffffff
kbdc: DIAGNOSE status:0055
kbdc: TEST_KBD_PORT status:0000
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:0x700ff
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 53 9f 
bf 1f 00 4f 0d 0e 00 00 07 80 9b 8d 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 53 9f 
bf 1f 00 4f 0d 0e 00 00 00 00 9b 8d 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 53 9f 
bf 1f 00 4f 0d 0e 00 00 00 00 9b 8d 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 <4 virtual consoles, flags=0x200>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
fdc0: direction bit not set
fdc0: cmd 3 failed at out byte 1 of 3
sio0: irq maps: 0xc9 0xd9 0xc9 0xc9
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: irq maps: 0xc1 0xc9 0xc1 0xc1
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: parallel port found at 0x378
ppc0: ECP SPP ECP+EPP SPP
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
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
plip0: <PLIP network interface> on ppbus0
bpf: lp0 attached
isa_probe_children: probing PnP devices
BIOS Geometries:
 0:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, 
default to accept, logging limited to 100 packets/entry by default
bpf: lo0 attached
IP Filter: initialized.  Default = pass all, Logging = enabled
IP Filter: v3.3.8
ata0-master: success setting up UDMA2 mode on SiS chip
ad0: <Maxtor 92732U8/RA530JN0> ATA-5 disk at ata0 as master
ad0: 26059MB (53369568 sectors), 52946 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
Mounting root from ufs:/dev/ad0s1a
ad0s1: type 0xa5, start 0, end = 53369567, size 53369568 : OK
start_init: trying /sbin/init

Reply via email to