Re: RFC: ATA to CAM integration patch

From: Mike Tancsa <mike_at_sentex.net>
Date: Thu, 02 Jul 2009 17:20:20 -0400
At 03:33 PM 7/2/2009, Alexander Motin wrote:

>As soon as GEOM found the label, disk seems to work.

Actually, It went to single user mode on the console (I was logged in 
via serial console).  However, I could not mount anything for some 
reason. Going in /dev, only /dev/ada0 and /dev/ada0s1 were there. The 
disk slices were not for some reason. This was on an AMD64 kernel BTW.

But, going back to the original i386 image, with the boot blocks 
reinstalled and using your latest patch, it seems to work! (however, 
the same 300sec delay due to the cdrom ?  )



mountroot> ufs:/dev/ada0s1a
Trying to mount root from ufs:/dev/ada0s1a
dumpon: /dev/ad4s1b: No such file or directory
/etc/rc: WARNING: unable to specify /dev/ad4s1b as a dump device
Entropy harvesting: interrupts ethernet point_to_point kickstart.
swapon: /dev/ad4s1b: No such file or directory
/dev/ada0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ada0s1a: clean, 259768 free (1048 frags, 32340 blocks, 0.2% fragmentation)
Can't stat /dev/ad4s1d: No such file or directorJul  1 08:07:58 init: 
/bin/sh on /etc/rc terminated abnormally, going to single user mode
Enter full pathname of shell or RETURN for /bin/sh:
# ls -l /dev/ad*
crw-r-----  1 root  operator    0, 111 Jul  1 08:02 /dev/ada0
crw-r-----  1 root  operator    0, 112 Jul  1 08:02 /dev/ada0s1
crw-r-----  1 root  operator    0, 113 Jul  1 08:02 /dev/ada0s1a
crw-r-----  1 root  operator    0, 114 Jul  1 08:02 /dev/ada0s1b
crw-r-----  1 root  operator    0, 115 Jul  1 08:02 /dev/ada0s1d
crw-r-----  1 root  operator    0, 116 Jul  1 08:02 /dev/ada0s1e
crw-r-----  1 root  operator    0, 117 Jul  1 08:02 /dev/ada0s1f
#

And, after its booted up,

ahci0: <AHCI controller> port 
0xc000-0xc007,0xbc00-0xbc03,0xb880-0xb887,0xb800-0xb803,0xb480-0xb49f 
mem 0xfadd6000-0xfadd67ff irq 19 at device 31.2 on pci0
ahci0: Reserved 0x800 bytes for rid 0x24 type 3 at 0xfadd6000
ahci0: attempting to allocate 1 MSI vectors (16 supported)
msi: routing MSI IRQ 262 to local APIC 0 vector 64
ahci0: using IRQ 262 for MSI
ahci0: [MPSAFE]
ahci0: [ITHREAD]
ahci0: AHCI v1.20 controller with 6 3Gbps ports, PM not supported
ahci0: Caps: 64bit NCQ SNTF SS ALP AL CLO 3Gbps PMD SSC PSC 32cmd CCC 
EM eSATA 6ports
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich0: [MPSAFE]
ahcich0: [ITHREAD]
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich1: [MPSAFE]
ahcich1: [ITHREAD]
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich2: [MPSAFE]
ahcich2: [ITHREAD]
ahcich3: <AHCI channel> at channel 3 on ahci0
ahcich3: [MPSAFE]
ahcich3: [ITHREAD]
ahcich4: <AHCI channel> at channel 4 on ahci0
ahcich4: [MPSAFE]
ahcich4: [ITHREAD]
ahcich5: <AHCI channel> at channel 5 on ahci0
ahcich5: [MPSAFE]
ahcich5: [ITHREAD]


         ---Mike 
Received on Thu Jul 02 2009 - 19:20:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:51 UTC