Re: [ATAng?] ad1 disappeared again

2003-12-04 Thread NAKAJI Hiroyuki
 In [EMAIL PROTECTED] 
   Chris Faulhaber [EMAIL PROTECTED] wrote:

  Could you try this patch and get back to me with the result please:
  

 Works for me:

 GEOM: create disk ad0 dp=0xc6972c60
 ad0: 57241MB ST360015A [116301/16/63] at ata0-master UDMA100
 GEOM: create disk ad1 dp=0xc6972b60
 ad1: 57241MB ST360015A [116301/16/63] at ata0-slave UDMA100

Me too. Thanks!

GEOM: create disk ad0 dp=0xc8304d60
ad0: 38166MB ST340810A [77545/16/63] at ata0-master UDMA100
GEOM: create disk ad1 dp=0xc866eb60
ad1: 38166MB ST340810A [77545/16/63] at ata0-slave UDMA100
-- 
NAKAJI Hiroyuki
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [ATAng?] ad1 disappeared again

2003-12-03 Thread Soren Schmidt
It seems Chris Faulhaber wrote:
 I have been seeing the same issue since August with a different,
 but similiar, set of drives:
 
 ad0: 57241MB ST360015A [116301/16/63] at ata0-master UDMA100
 ad1: 57241MB ST360015A [116301/16/63] at ata0-slave UDMA100
 
 Under -CURRENT only the first drive is seen; RELENG_4 still works
 fine.

Could you try this patch and get back to me with the result please:

Index: ata-lowlevel.c
===
RCS file: /home/ncvs/src/sys/dev/ata/ata-lowlevel.c,v
retrieving revision 1.23
diff -u -r1.23 ata-lowlevel.c
--- ata-lowlevel.c  2 Nov 2003 22:04:53 -   1.23
+++ ata-lowlevel.c  3 Dec 2003 07:50:44 -
@@ -575,7 +575,7 @@
}
}
}
-   if (stat1  ATA_S_BUSY) {
+   if (!((mask == 0x03)  (stat0  ATA_S_BUSY))  (stat1  ATA_S_BUSY)) {
ATA_IDX_OUTB(ch, ATA_DRIVE, ATA_D_IBM | ATA_SLAVE);
DELAY(10);

-Søren
   .. but it works under windows!!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [ATAng?] ad1 disappeared again

2003-12-03 Thread Chris Faulhaber
On Wed, Dec 03, 2003 at 09:55:56AM +0100, Soren Schmidt wrote:
 It seems Chris Faulhaber wrote:
  I have been seeing the same issue since August with a different,
  but similiar, set of drives:
  
  ad0: 57241MB ST360015A [116301/16/63] at ata0-master UDMA100
  ad1: 57241MB ST360015A [116301/16/63] at ata0-slave UDMA100
  
  Under -CURRENT only the first drive is seen; RELENG_4 still works
  fine.
 
 Could you try this patch and get back to me with the result please:
 

Works for me:

GEOM: create disk ad0 dp=0xc6972c60
ad0: 57241MB ST360015A [116301/16/63] at ata0-master UDMA100
GEOM: create disk ad1 dp=0xc6972b60
ad1: 57241MB ST360015A [116301/16/63] at ata0-slave UDMA100

 Index: ata-lowlevel.c
 ===
 RCS file: /home/ncvs/src/sys/dev/ata/ata-lowlevel.c,v
 retrieving revision 1.23
 diff -u -r1.23 ata-lowlevel.c
 --- ata-lowlevel.c  2 Nov 2003 22:04:53 -   1.23
 +++ ata-lowlevel.c  3 Dec 2003 07:50:44 -
 @@ -575,7 +575,7 @@
 }
 }
 }
 -   if (stat1  ATA_S_BUSY) {
 +   if (!((mask == 0x03)  (stat0  ATA_S_BUSY))  (stat1  ATA_S_BUSY)) {
 ATA_IDX_OUTB(ch, ATA_DRIVE, ATA_D_IBM | ATA_SLAVE);
 DELAY(10);
 
 -S?ren
.. but it works under windows!!
 

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [ATAng?] ad1 disappeared again

2003-12-01 Thread Chris Faulhaber
On Wed, Nov 26, 2003 at 01:00:47PM +0900, NAKAJI Hiroyuki wrote:
 Hi,
 
 I'm preparing new machine with 5-current. First, I installed a snapshot on
 Feb 21 2003. It works well. From the beginning of this week, I started
 updating it to the latest, and found the problem.
 
...
 ad0: 38166MB ST340810A [77545/16/63] at ata0-master UDMA100
 ad1: 38166MB ST340810A [77545/16/63] at ata0-slave UDMA100

I have been seeing the same issue since August with a different,
but similiar, set of drives:

ad0: 57241MB ST360015A [116301/16/63] at ata0-master UDMA100
ad1: 57241MB ST360015A [116301/16/63] at ata0-slave UDMA100

Under -CURRENT only the first drive is seen; RELENG_4 still works
fine.

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org


pgp0.pgp
Description: PGP signature


[ATAng?] ad1 disappeared again

2003-11-25 Thread NAKAJI Hiroyuki
Hi,

I'm preparing new machine with 5-current. First, I installed a snapshot on
Feb 21 2003. It works well. From the beginning of this week, I started
updating it to the latest, and found the problem.

The box is built with following parts.

o ASUS P4G8X
o P4 2.53GHz
o 2GB memory
o Seagate ST340810A x2  (Primary master and slave)
o HighPoint HPT370 UDMA100 controller
o 2 80GB HDDs in Accusys ACS7500 connected to HPT370
o Intel Pro 10/100B/100+ Ethernet

The problem is that the latest GENERIC kernel cannot detect ad1
(the second ST340810A).

Two dmesg outputs (without -v) are attached below, the former is
20030221 and the latter is today's one.

Thanks.
-- 
NAKAJI Hiroyuki

=== 20030221 ===
Copyright (c) 1992-2003 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-20030221-SNAP #0: Fri Feb 21 08:19:58 GMT 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel /boot/kernel.ok/kernel at 0xc06b9000.
Preloaded elf module /boot/kernel.ok/acpi.ko at 0xc06b90ac.
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 2533439528 Hz
CPU: Intel(R) Pentium(R) 4 CPU 2.53GHz (2533.44-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf27  Stepping = 7
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
real memory  = 2147467264 (2047 MB)
avail memory = 2083090432 (1986 MB)
Pentium Pro MTRR support enabled
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: ASUS   P4G8Xon motherboard
ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE31
pcibios: BIOS version 2.10
Using $PIR table, 11 entries at 0xc00f2320
acpi0: power button is handled as a fixed feature programming model.
Timecounter ACPI-fast  frequency 3579545 Hz
acpi_timer0: 24-bit timer at 3.579545MHz port 0xe408-0xe40b on acpi0
acpi_cpu0: CPU on acpi0
acpi_cpu1: CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel Generic host to PCI bridge mem 0xf000-0xf3ff at device 0.0 on 
pci0
pcib1: ACPI PCI-PCI bridge mem 0xe800-0xebff at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
uhci0: Intel 82801DB (ICH4) USB controller USB-A port 0xb800-0xb81f irq 11 at device 
29.0 on pci0
usb0: Intel 82801DB (ICH4) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801DB (ICH4) USB controller USB-B port 0xb400-0xb41f irq 9 at device 
29.1 on pci0
usb1: Intel 82801DB (ICH4) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: Intel 82801DB (ICH4) USB controller USB-C port 0xb000-0xb01f irq 5 at device 
29.2 on pci0
usb2: Intel 82801DB (ICH4) USB controller USB-C on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0: serial bus, USB at device 29.7 (no driver attached)
pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0
pci2: ACPI PCI bus on pcib2
atapci0: HighPoint HPT370 UDMA100 controller port 
0x9400-0x94ff,0x9800-0x9803,0xa000-0xa007,0xa400-0xa403,0xa800-0xa807 irq 9 at device 
1.0 on pci2
ata2: at 0xa800 on atapci0
ata3: at 0xa000 on atapci0
pci2: network, ethernet at device 5.0 (no driver attached)
fxp0: Intel Pro 10/100B/100+ Ethernet port 0x9000-0x903f mem 
0xdd00-0xdd0f,0xdd80-0xdd800fff irq 5 at device 7.0 on pci2
fxp0: Ethernet address 00:20:e0:60:28:64
inphy0: i82555 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci1: Intel ICH4 UDMA100 controller port 0xf000-0xf00f,0-0x3,0-0x7,0-0x3,0-0x7 
irq 5 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci1
ata1: at 0x170 irq 15 on atapci1
pci0: multimedia, audio at device 31.5 (no driver attached)
fdc0: Enhanced floppy controller (i82077, NE72065 or clone) port 0x3f7,0x3f2-0x3f5 
irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: failed to get data.
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3