Re: Firewire Drive Not Recognized During Boot - SOLVED!

2004-04-06 Thread Drew Tomlinson
On 4/1/2004 3:12 PM Drew Tomlinson wrote:

I'm using 4.9-RELEASE-p4 and have an 80 GB IDE hard drive in a 
firewire enclosure.  When I reboot my system, the drive is not 
recognized.  However if I unplug/plug the firewire cable, then the 
drive is recognized.  I've included my dmesg output below.  Any ideas 
on what is going on or what I'm doing wrong?
Based on advice received on -firewire, I had to increase the SCSI delay 
time in my kernel config.  Five seconds is enough on my system.  YMMV.

Cheers,

Drew

blacklamb# cat /var/run/dmesg.boot
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 4.9-RELEASE-p4 #7: Wed Mar 24 16:32:40 PST 2004
   
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/BLACKLAMB
Timecounter i8254  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (601.37-MHz 686-class CPU)
 Origin = GenuineIntel  Id = 0x673  Stepping = 3
 
Features=0x387fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE 

real memory  = 201261056 (196544K bytes)
config di pcic0
No such device: pcic0
Invalid command or syntax.  Type `?' for help.
config di ata1
No such device: ata1
Invalid command or syntax.  Type `?' for help.
config di ata0
No such device: ata0
Invalid command or syntax.  Type `?' for help.
config di aic0
No such device: aic0
Invalid command or syntax.  Type `?' for help.
config di adv0
No such device: adv0
Invalid command or syntax.  Type `?' for help.
config q
avail memory = 192417792 (187908K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 - irq 0
FreeBSD/SMP: Multiprocessor motherboard: 2 CPUs
cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee0
cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee0
io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec0
Preloaded elf kernel kernel at 0xc0343000.
Preloaded userconfig_script /boot/kernel.conf at 0xc034309c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 11 entries at 0xc00fdf10
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Intel 82443BX (440 BX) host to PCI bridge on motherboard
IOAPIC #0 intpin 19 - irq 2
IOAPIC #0 intpin 18 - irq 5
IOAPIC #0 intpin 17 - irq 10
IOAPIC #0 intpin 16 - irq 11
pci0: PCI bus on pcib0
pcib1: Intel 82443BX (440 BX) PCI-PCI (AGP) bridge at device 1.0 on 
pci0
pci1: PCI bus on pcib1
pci1: ATI Mach64-GZ graphics accelerator at 0.0
isab0: Intel 82371AB PCI to ISA bridge at device 4.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 ATA33 controller port 0x1c90-0x1c9f at device 
4.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0x1ca0-0x1cbf 
irq 2 at device 4.2 on pci0
usb0: Intel 82371AB/EB (PIIX4) USB controller 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
Timecounter PIIX  frequency 3579545 Hz
chip1: Intel 82371AB Power management controller port 0xe800-0xe80f 
at device 4.3 on pci0
ahc0: Adaptec aic7895 Ultra SCSI adapter port 0x1000-0x10ff mem 
0xfc10-0xfc100fff irq 5 at device 5.0 on pci0
ahc0: Using left over BIOS settings
aic7895C: Ultra Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: Adaptec aic7895 Ultra SCSI adapter port 0x1400-0x14ff mem 
0xfc101000-0xfc101fff irq 5 at device 5.1 on pci0
ahc1: Host Adapter Bios disabled.  Using default SCSI device parameters
aic7895C: Ultra Wide Channel B, SCSI Id=7, 32/253 SCBs
fxp0: Intel 82559 Pro/100 Ethernet port 0x1cc0-0x1cff mem 
0xfc00-0xfc0f,0xfc102000-0xfc102fff irq 2 at device 6.0 on pci0
fxp0: Ethernet address 00:e0:18:c4:f4:5e
inphy0: i82555 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isp0: Qlogic ISP 1020/1040 PCI SCSI Adapter port 0x1800-0x18ff mem 
0xfc103000-0xfc103fff irq 10 at device 9.0 on pci0
fwohci0: VIA VT6306 port 0x1c00-0x1c7f mem 0xfc104000-0xfc1047ff irq 
11 at device 10.0 on pci0
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channel is 8.
fwohci0: EUI64 00:40:63:00:00:00:07:ff
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: IEEE1394(FireWire) bus on fwohci0
if_fwe0: Ethernet over FireWire on firewire0
if_fwe0: Fake Ethernet address: 02:40:63:00:07:ff
sbp0: SBP2/SCSI over firewire on firewire0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc1, gen=1, CYCLEMASTER mode
firewire0: 2 nodes, maxhop = 1, cable IRM = 1 (me)
firewire0: bus manager 1 (me)
pcib2: DEC 21152 PCI-PCI bridge at device 12.0 on pci0
pci2: PCI bus on pcib2
orm0: Option ROMs at iomem 0xc-0xc7fff,0xc8000-0xcd7ff on isa0
pmtimer0 on isa0
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
atkbdc0: Keyboard 

Firewire Drive Not Recognized During Boot

2004-04-02 Thread Drew Tomlinson
I'm using 4.9-RELEASE-p4 and have an 80 GB IDE hard drive in a firewire 
enclosure.  When I reboot my system, the drive is not recognized.  
However if I unplug/plug the firewire cable, then the drive is 
recognized.  I've included my dmesg output below.  Any ideas on what is 
going on or what I'm doing wrong?

Thanks,

Drew

blacklamb# cat /var/run/dmesg.boot
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 4.9-RELEASE-p4 #7: Wed Mar 24 16:32:40 PST 2004
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BLACKLAMB
Timecounter i8254  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (601.37-MHz 686-class CPU)
 Origin = GenuineIntel  Id = 0x673  Stepping = 3
 
Features=0x387fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE
real memory  = 201261056 (196544K bytes)
config di pcic0
No such device: pcic0
Invalid command or syntax.  Type `?' for help.
config di ata1
No such device: ata1
Invalid command or syntax.  Type `?' for help.
config di ata0
No such device: ata0
Invalid command or syntax.  Type `?' for help.
config di aic0
No such device: aic0
Invalid command or syntax.  Type `?' for help.
config di adv0
No such device: adv0
Invalid command or syntax.  Type `?' for help.
config q
avail memory = 192417792 (187908K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 - irq 0
FreeBSD/SMP: Multiprocessor motherboard: 2 CPUs
cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee0
cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee0
io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec0
Preloaded elf kernel kernel at 0xc0343000.
Preloaded userconfig_script /boot/kernel.conf at 0xc034309c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 11 entries at 0xc00fdf10
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Intel 82443BX (440 BX) host to PCI bridge on motherboard
IOAPIC #0 intpin 19 - irq 2
IOAPIC #0 intpin 18 - irq 5
IOAPIC #0 intpin 17 - irq 10
IOAPIC #0 intpin 16 - irq 11
pci0: PCI bus on pcib0
pcib1: Intel 82443BX (440 BX) PCI-PCI (AGP) bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: ATI Mach64-GZ graphics accelerator at 0.0
isab0: Intel 82371AB PCI to ISA bridge at device 4.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 ATA33 controller port 0x1c90-0x1c9f at device 4.1 
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0x1ca0-0x1cbf irq 
2 at device 4.2 on pci0
usb0: Intel 82371AB/EB (PIIX4) USB controller 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
Timecounter PIIX  frequency 3579545 Hz
chip1: Intel 82371AB Power management controller port 0xe800-0xe80f at 
device 4.3 on pci0
ahc0: Adaptec aic7895 Ultra SCSI adapter port 0x1000-0x10ff mem 
0xfc10-0xfc100fff irq 5 at device 5.0 on pci0
ahc0: Using left over BIOS settings
aic7895C: Ultra Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: Adaptec aic7895 Ultra SCSI adapter port 0x1400-0x14ff mem 
0xfc101000-0xfc101fff irq 5 at device 5.1 on pci0
ahc1: Host Adapter Bios disabled.  Using default SCSI device parameters
aic7895C: Ultra Wide Channel B, SCSI Id=7, 32/253 SCBs
fxp0: Intel 82559 Pro/100 Ethernet port 0x1cc0-0x1cff mem 
0xfc00-0xfc0f,0xfc102000-0xfc102fff irq 2 at device 6.0 on pci0
fxp0: Ethernet address 00:e0:18:c4:f4:5e
inphy0: i82555 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isp0: Qlogic ISP 1020/1040 PCI SCSI Adapter port 0x1800-0x18ff mem 
0xfc103000-0xfc103fff irq 10 at device 9.0 on pci0
fwohci0: VIA VT6306 port 0x1c00-0x1c7f mem 0xfc104000-0xfc1047ff irq 
11 at device 10.0 on pci0
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channel is 8.
fwohci0: EUI64 00:40:63:00:00:00:07:ff
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: IEEE1394(FireWire) bus on fwohci0
if_fwe0: Ethernet over FireWire on firewire0
if_fwe0: Fake Ethernet address: 02:40:63:00:07:ff
sbp0: SBP2/SCSI over firewire on firewire0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc1, gen=1, CYCLEMASTER mode
firewire0: 2 nodes, maxhop = 1, cable IRM = 1 (me)
firewire0: bus manager 1 (me)
pcib2: DEC 21152 PCI-PCI bridge at device 12.0 on pci0
pci2: PCI bus on pcib2
orm0: Option ROMs at iomem 0xc-0xc7fff,0xc8000-0xcd7ff on isa0
pmtimer0 on isa0
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
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, 

Re: Firewire Drive Not Recognized During Boot

2004-04-02 Thread Drew Tomlinson
On 4/2/2004 6:34 AM Andre Post wrote:

On Fri, 2004-04-02 at 01:12, Drew Tomlinson wrote:
 

I'm using 4.9-RELEASE-p4 and have an 80 GB IDE hard drive in a firewire 
enclosure.  When I reboot my system, the drive is not recognized.  
However if I unplug/plug the firewire cable, then the drive is 
recognized.  I've included my dmesg output below.  Any ideas on what is 
going on or what I'm doing wrong?
   

Hmmm...On my 5.1 system, the man firewire tells me that The firewire
driver first appeared in FreeBSD 5.0.
 

Heh.  Yeah, mine too.  However it entered the STABLE branch somewhere 
around 4.7 I think.  I know it was there in 4.8.

Cheers,

Drew

HISTORY
The firewire driver first appeared in FreeBSD 5.0.
FreeBSD 4.9  May 23, 2002  
FreeBSD 4.9

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firewire Drive Not Recognized During Boot

2004-04-02 Thread Drew Tomlinson
On 4/2/2004 6:29 AM Stephen Hilton wrote:

On Thu, 01 Apr 2004 15:12:35 -0800
Drew Tomlinson [EMAIL PROTECTED] wrote:
 

I'm using 4.9-RELEASE-p4 and have an 80 GB IDE hard drive in a firewire 
enclosure.  When I reboot my system, the drive is not recognized.  
However if I unplug/plug the firewire cable, then the drive is 
recognized.  I've included my dmesg output below.  Any ideas on what is 
going on or what I'm doing wrong?

Thanks,

Drew
   



http://groups.google.com/groups?q=hiltonbsd.com+firewire+group:mailing.freebsd.*hl=enlr=ie=UTF-8group=mailing.freebsd.*selm=bmh3ge%241niu%241%40FreeBSD.csie.NCTU.edu.twrnum=1
 

Thanks for your reply.  I noticed that your firewire drive is found 
during boot:

 da2 at sbp0 bus 0 target 0 lun 0
 da2: Oxford S OXFORD IDE Devic 0132 Fixed Simplified Direct Access 
SCSI-4 device
 da2: 50.000MB/s transfers, Tagged Queueing Enabled
 da2: 76319MB (156301488 512 byte sectors: 255H 63S/T 9729C)

But my drive is not found during boot.  I have to unplug/plug my 
firewire cable before my drive is recognized.  Although I just found the 
fwcontrol man page and learned about the -r option.  I ran it and my 
drive was found as well:

WARNING: driver fw should register devices with make_dev() (dev_t = #fw/0)
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc1, gen=2, CYCLEMASTER mode
firewire0: 2 nodes, maxhop = 1, cable IRM = 1 (me)
firewire0: bus manager 1 (me)
da2 at sbp0 bus 0 target 0 lun 0
da2: Oxford 911G 0135 Fixed Simplified Direct Access SCSI-4 device
da2: 50.000MB/s transfers, Tagged Queueing Enabled
da2: 76351MB (156368016 512 byte sectors: 255H 63S/T 9733C)
But what is this WARNING?  I don't recall seeing it on the unplug/plug 
sequence.  Maybe that has something to do with my problem?

Thanks,

Drew

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]