# mount -t cd9660 /dev/cd0 /mnt
cd0 at ahcich7 bus 0 scbus7 target 0 lun 0
cd0: <ATAPI iHAS424 A ZL1B> Removable CD-ROM SCSI-0 device
cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
# pciconf -vl
? Does it list the Sony device in there? Is there a driver attached to it, or does it show up as noneX (where X is a number)?cpcnw said:In the BIOS in MAIN > IDE CONFIG > SATA MODE SELECT there are 3 choices SATA/RAID/AHCI
Unfortunately setting this AHCI crashes the boot sequence of 3bsd
I can however see that in 3bsd the drive is being recognised.
Edit: just thought - if I hardwire ahci into the kernel instead of loader.conf would that help?
cpcnw said:> Of course you also have to edit fstab to reflect the new devices.
Not sure what you mean. HDD is still on same device isn't it?
Trying to mount root from ufs:/dev/ad4s3a
ROOT MOUNT ERROR
mountroot> ufs:/dev/ada0s3a
/dev/ad4s3b none swap sw 0 0
/dev/ad4s3a / ufs rw 1 1
/dev/ad4s3e /tmp ufs rw 2 2
/dev/ad4s3f /usr ufs rw 2 2
/dev/ad4s3d /var ufs rw 2 2
/dev/acd0 /cdrom cd9660 ro,noauto 0 0
/dev/acd1 /cdrom1 cd9660 ro,noauto 0 0
/dev/ad4s1 /mnt/dosc ntfs ro
/dev/ad4s5 /mnt/dosd ntfs ro
cpcnw said:mountroot> ufs:/dev/ada0s3a
This got me a bit further but obvs other devices are misnamed in fstab.
So, I reckon I'm now pretty close [can actually see cd0 listed in device list]
This is my current fstab ;
/dev/ad4s3b none swap sw 0 0
/dev/ad4s3a / ufs rw 1 1
/dev/ad4s3e /tmp ufs rw 2 2
/dev/ad4s3f /usr ufs rw 2 2
/dev/ad4s3d /var ufs rw 2 2
/dev/acd0 /cdrom cd9660 ro,noauto 0 0
/dev/acd1 /cdrom1 cd9660 ro,noauto 0 0
/dev/ad4s1 /mnt/dosc ntfs ro
/dev/ad4s5 /mnt/dosd ntfs ro
Do I jsut replace every 'ad4' with 'ada0' ?
# echo 'ahci_load="YES"' >> /boot/loader.conf
cpcnw said:> Or go the tunefs -L/glabel method, so the device name and number don't matter.
Sounds like best option [still need to sort xp ahci driver]
Can you give me some pointers on tunefs -L/glabel?
cdcontrol -f /dev/cd0 play
cdcontrol -f /dev/cdrom play
(cd0:ahcich1:0:0:0): MODE SENSE(10). CDB: 5a 0 e 0 0 0 0 0 20 0
(cd0:ahcich1:0:0:0): CAM Status: SCSI Status Error
(cd0:ahcich1:0:0:0): SCSI Status: Check Condition
(cd0:ahcich1:0:0:0): ILLEGAL REQUEST asc:24,0
(cd0:ahcich1:0:0:0): Invalid field in CDB: Command byte 2 is invalid
(cd0:ahcich1:0:0:0): Unretryable error
cpcnw said:Warren, spoke too soon.... Ive noticed that some things I hadn't tested aren't working for example ;
cdcontrol -f /dev/cd0 play
No complaints or errors messages, just no audio or even disc spinning?
# cdda2wav -q -e -t2 -d0 -N
Code:cdcontrol -f /dev/cdrom play (cd0:ahcich1:0:0:0): MODE SENSE(10). CDB: 5a 0 e 0 0 0 0 0 20 0 (cd0:ahcich1:0:0:0): CAM Status: SCSI Status Error (cd0:ahcich1:0:0:0): SCSI Status: Check Condition (cd0:ahcich1:0:0:0): ILLEGAL REQUEST asc:24,0 (cd0:ahcich1:0:0:0): Invalid field in CDB: Command byte 2 is invalid (cd0:ahcich1:0:0:0): Unretryable error