6L250R0|Maxtor 6L250R0|Maxtor 6L250R0-512:\
:ty=fixed_rw_ide:nc#16383:nt#16:ns#63:ss#512:rm#7200:\
:fp#320:bp#0:ng#0:gs#0:ga#0:ao#0:\
:os=mach_kernel:z0#64:z1:192:hn=mordor:ro=a:\
:pa#63:sa#8388608:ba#8192:fa#1024:ca#4:da#4096:ra#10:oa=time:\
:ia:ta=4.3BSD:aa:\
:pb#8388671:sb#8122368:bb#8192:fb#1024:cb#4:db#4096:rb#10:ob=time:\
:ib:tb=4.3BSD:ab:
SM2236AB|SILICONMOTION SM2236AB|SILICONMOTION SM2236AB 20151127-512:\
:ty=fixed_rw_ide:nc#62041:nt#16:ns#63:ss#512:rm#7200:\
:fp#320:bp#0:ng#0:gs#0:ga#0:ao#0:\
:os=mach_kernel:z0#64:z1:192:hn=mordor:ro=a:\
:pa#63:sa#8388608:ba#8192:fa#1024:ca#4:da#4096:ra#10:oa=time:\
:ia:ta=4.3BSD:aa:\
:pb#8388671:sb#8122368:bb#8192:fb#1024:cb#4:db#4096:rb#10:ob=time:\
:ib:tb=4.3BSD:ab:
Quote from: Apple2guy on November 10, 2024, 11:21:40 AMOr are those two lines from the 256 words (512 bytes) of information that gets returned with the IDE IDENTIFY command? (https://tldp.org/HOWTO/Large-Disk-HOWTO-10.html) Want to know what would happen if I type them wrong and they do have to be exact?Code Select6L250R0|Maxtor 6L250R0|Maxtor 6L250R0-512:\
SM2236AB|SILICONMOTION SM2236AB|SILICONMOTION SM2236AB 20151127-512:\
| Offset | Description | Example |
| 10-19 | Serial Number in ASCII | G8067TME |
| 23-26 | Firmware revision (in ASCII) | GAK&1B0 |
| 27-46 | Model name (in ASCII) | Maxtor 4G160J8 |
hc0: ATA command 20 failed. Retrying...
hc0: ATA Command: error=0x1 secCnt=0x1 secNum=0x1 cyl=0xeb14 drhd=0xe0 status=0x0
hc0: Resetting drives..
hc0: ATA command 20 failed. Retrying...
hc0: ATA Command: error=0x1 secCnt=0x1 secNum=0x1 cyl=0xeb14 drhd=0xe0 status=0x0
hc0: Resetting drives...
hd0: No Valid Disk Label
hd0: Device Block Size: 512 bytes
hd0: Device Capacity: 8032 MB
hc1: PIIX4 PCI IDE Controller at Dev:31 Func:1 Bus:0
hc1: PCI bus master DMA: Disabled
hc1: device detected at port 0x170 irq 15
hc1: Checking for ATA drive 0... Detected
hc1: Checking for ATA drive 1...
hc1: Checking for ATAPI drive 1..
hc1: Resetting drives...
Registering: hc1
hd1: IC25N060ATMR04-0 MO3OAD0A
hd1: 16383 cylinders, 16 heads, 63 spt (disk geometry)
hd1: using multisector (16) transfers.
Registering: hd1
hd1: Device Block Size: 512 bytes
hd1: Device Capacity: 3967 MB
hd1: Disk Label: Disk
Quote from: https://tldp.org/HOWTO/Large-Disk-HOWTO-4.htmlHard drives over 8.4 GB are supposed to report their geometry as 16383/16/63. This in effect means that the `geometry' is obsolete, and the total disk size can no longer be computed from the geometry, but is found in the LBA capacity field returned by the IDENTIFY command.Thanks :)
Quote6L250R0|Maxtor 6L250R0|Maxtor 6L250R0-512:\it is from /usr/adm/messages
SM2236AB|SILICONMOTION SM2236AB|SILICONMOTION SM2236AB 20151127-512:\
Nov 15 04:47:01 peethree mach: hc0: PIIX4 PCI IDE Controller at Dev:7 Func:1 Bus:0
Nov 15 04:47:01 peethree mach: hc0: PCI bus master DMA: Disabled
Nov 15 04:47:01 peethree mach: hc0: device detected at port 0x1f0 irq 14
Nov 15 04:47:01 peethree mach: hc0: Checking for ATA drive 0... Detected
Nov 15 04:47:01 peethree mach: hc0: Checking for ATA drive 1... Detected
Nov 15 04:47:01 peethree mach: hc0: Resetting drives...
Nov 15 04:47:01 peethree mach: hc0: Drive 0: PIO Mode 4
Nov 15 04:47:01 peethree mach: hc0: Drive 1: PIO Mode 4
Nov 15 04:47:01 peethree mach: Registering: hc0
Nov 15 04:47:01 peethree mach: hd0: Maxtor 6E030L0 NAR61HA0
Nov 15 04:47:01 peethree mach: hd0: 16383 cylinders, 16 heads, 63 spt (disk geometry)
Nov 15 04:47:01 peethree mach: hd0: using multisector (16) transfers.
Nov 15 04:47:01 peethree mach: Registering: hd0
Nov 15 04:47:01 peethree mach: hd0: Device Block Size: 512 bytes
Nov 15 04:47:01 peethree mach: hd0: Device Capacity: 8063 MB
Nov 15 04:47:01 peethree mach: hd0: Disk Label: UntitledDisk
Nov 15 04:47:01 peethree mach: hd1: Maxtor 6L250R0 BAH41F90
Nov 15 04:47:01 peethree mach: hd1: 16383 cylinders, 16 heads, 63 spt (disk geometry)
Nov 15 04:47:01 peethree mach: hd1: using multisector (16) transfers.
Nov 15 04:47:01 peethree mach: Registering: hd1
Nov 15 04:47:01 peethree mach: hd1: Device Block Size: 512 bytes
Nov 15 04:47:01 peethree mach: hd1: Device Capacity: 8063 MB
Nov 15 04:47:01 peethree mach: hd1: Disk Label: Users
Nov 15 04:47:01 peethree mach: hc1: PIIX4 PCI IDE Controller at Dev:7 Func:1 Bus:0
Nov 15 04:47:01 peethree mach: hc1: PCI bus master DMA: Disabled
Nov 15 04:47:01 peethree mach: hc1: device detected at port 0x170 irq 15
Nov 15 04:47:01 peethree mach: hc1: Checking for ATA drive 0... Detected
Nov 15 04:47:01 peethree mach: hc1: Checking for ATA drive 1...
Nov 15 04:47:01 peethree mach: hc1: Checking for ATAPI drive 1... Detected
Nov 15 04:47:01 peethree mach: hc1: Resetting drives...
Nov 15 04:47:01 peethree mach: hc1: Drive 1: ATAPI CD-ROM (FAST DRQ, REMOVABLE, CMD PKT LEN=12)
Nov 15 04:47:01 peethree mach: hc1: LBA supported.
Nov 15 04:47:01 peethree mach: hc1: IORDY supported.
Nov 15 04:47:01 peethree mach: hc1: Drive 0: PIO Mode 4
Nov 15 04:47:01 peethree mach: hc1: Drive 1: PIO Mode 4
Nov 15 04:47:01 peethree mach: Registering: hc1
Nov 15 04:47:01 peethree mach: hd2: SILICONMOTION SM2236AB 20151127
Nov 15 04:47:01 peethree mach: hd2: 62041 cylinders, 16 heads, 63 spt (disk geometry)
Nov 15 04:47:01 peethree mach: hd2: using multisector (1) transfers.
Nov 15 04:47:01 peethree mach: Registering: hd2
Nov 15 04:47:01 peethree mach: hd2: Device Block Size: 512 bytes
Nov 15 04:47:01 peethree mach: hd2: Device Capacity: 30535 MB
Nov 15 04:47:01 peethree mach: hd2: Disk Label: Data
Nov 15 04:47:01 peethree mach: Registering: sc0
Nov 15 04:47:01 peethree mach: sd0: LITE-ON LTR-48246S SS04
Nov 15 04:47:01 peethree mach: Registering: sd0 at Target 1 LUN 0 at sc0
Nov 15 04:47:01 peethree mach: sd0: Waiting for drive to come ready..............
Nov 15 04:47:01 peethree mach: sd0: Disk Not ReadyQuote from: Apple2guy on November 15, 2024, 07:13:34 AMThanks (Sorry for hijacking your thread @Apple2guy )Code SelectNov 15 04:47:01 peethree mach: hc0: PIIX4 PCI IDE Controller at Dev:7 Func:1 Bus:0
Nov 15 04:47:01 peethree mach: hc0: PCI bus master DMA: Disabled
Nov 15 04:47:01 peethree mach: hc0: device detected at port 0x1f0 irq 14
Nov 15 04:47:01 peethree mach: hc0: Checking for ATA drive 0... Detected
Nov 15 04:47:01 peethree mach: hc0: Checking for ATA drive 1... Detected
Nov 15 04:47:01 peethree mach: hc0: Resetting drives...
Nov 15 04:47:01 peethree mach: hc0: Drive 0: PIO Mode 4
Nov 15 04:47:01 peethree mach: hc0: Drive 1: PIO Mode 4
Nov 15 04:47:01 peethree mach: Registering: hc0
Nov 15 04:47:01 peethree mach: hd0: Maxtor 6E030L0 NAR61HA0
Nov 15 04:47:01 peethree mach: hd0: 16383 cylinders, 16 heads, 63 spt (disk geometry)
Nov 15 04:47:01 peethree mach: hd0: using multisector (16) transfers.
Nov 15 04:47:01 peethree mach: Registering: hd0
Nov 15 04:47:01 peethree mach: hd0: Device Block Size: 512 bytes
Nov 15 04:47:01 peethree mach: hd0: Device Capacity: 8063 MB
Nov 15 04:47:01 peethree mach: hd0: Disk Label: UntitledDisk
Nov 15 04:47:01 peethree mach: hd1: Maxtor 6L250R0 BAH41F90
Nov 15 04:47:01 peethree mach: hd1: 16383 cylinders, 16 heads, 63 spt (disk geometry)
Nov 15 04:47:01 peethree mach: hd1: using multisector (16) transfers.
Nov 15 04:47:01 peethree mach: Registering: hd1
Nov 15 04:47:01 peethree mach: hd1: Device Block Size: 512 bytes
Nov 15 04:47:01 peethree mach: hd1: Device Capacity: 8063 MB
Nov 15 04:47:01 peethree mach: hd1: Disk Label: Users
# /private/etc/idemodes /dev/rhd1h
Drive Name: IC25N060ATMR04-0
Firmware Revision: MO3OAD0
Serial Number: MRG
Cylinders: 16383, heads: 16, sectors per track: 63.
Capabilities: LBA, IORDY, DMA,
Drive Buffer: type 3, size 15768 sectors.
Data Transfer: PIO Mode 2, DMA Mode 2
Data Transfer (with IORDY): PIO Mode 4
Multiple Sector: upto 16 sectors per transfer.
Drive Capacity: 16514064 sectors of 512 bytes each (total 8063.51 MB)
-bash-2.05b# idemodes /dev/rhd0h
Drive Name: Maxtor 6E030L0
Firmware Revision: NAR61HA
Serial Number: E15VRVAN
Cylinders: 16383, heads: 16, sectors per track: 63.
Capabilities: LBA, IORDY, DMA,
Drive Buffer: type 3, size 4096 sectors.
Data Transfer: PIO Mode 2, DMA Mode 0
Data Transfer (with IORDY): PIO Mode 4
Multiple Sector: upto 16 sectors per transfer.
Drive Capacity: 16514064 sectors of 512 bytes each (total 8063.51 MB).
-bash-2.05b# idemodes /dev/rhd1h
Drive Name: Maxtor 6L250R0
Firmware Revision: BAH41F9
Serial Number: L50FMJDH
Cylinders: 16383, heads: 16, sectors per track: 63.
Capabilities: LBA, IORDY, DMA,
Drive Buffer: type 3, size 32768 sectors.
Data Transfer: PIO Mode 2, DMA Mode 0
Data Transfer (with IORDY): PIO Mode 4
Multiple Sector: upto 16 sectors per transfer.
Drive Capacity: 16514064 sectors of 512 bytes each (total 8063.51 MB).
Quote from: Apple2guy on November 20, 2024, 11:36:20 AMNo problem! I wonder why the CF card is detected at the Actual size, but the 30 GB and the 250 gb drive get reported as 8gb?
QuoteYour motherboard's BIOS may report translated IDE drive geometry that confuses the NEXTSTEP 3.2 IDE driver and causes a kernel panic. Most BIOSes will fake the actual geometry for disks that exceed the imposed limitations by performing a translation. As an example, if the disk is actually 2048 cylinders, 16 heads, and 63 sectors per track, the BIOS may translate this to 1024 cylinders, 32 heads, and 63 sectors per track.Thanks
The geometry limitation of 1024 cylinders, 16 heads, and 63 sectors per track stems from a combination of both the ATA specification and your BIOS's limits. The IDE limitations are set in the original ATA specification (see https://www.scs.stanford.edu/10wi-cs140/pintos/specs/ata-3-std.pdf Annex B: Identify device data for ATA devices below 8 GB) . BIOS limits come from the INT 13 read/write calls that combine a 10 bit cylinder value with a 6 bit sector value into a 16 bit register. The following table demonstrates how each contributes to the limitation.
BIOS IDE Limitation
Maximum Cylinders 1024 65536 1024Maximum Heads 255 16 16Maximum Sectors/Track 63 255 63Maximum Capacity 7.84GB 127.5GB 504MB
Quote from: Apple2guy on November 23, 2024, 10:36:05 PMI just swapped to a spare mb its not the same mb.Ok, good to know thanks :)
Quote from: pTeK on November 23, 2024, 02:44:38 PMI'm guessing only the bootable drive that is supported by the BIOS and is on hc0 has to follow the ATA standards? I'm guess that because your SD Card is on hc1 and not read by the BIOS it doesn't matter? Newer ATA standards?I swapped the Industrial CF card for spinning rust and that drive reported the limited size. It is on the secondary IDE channel as master.
localhost:2# idemodes /dev/rhd0h
Drive Name: Maxtor 6E030L0
Firmware Revision: NAR61HA
Serial Number: E15VRVAN
Cylinders: 16383, heads: 16, sectors per track: 63.
Capabilities: LBA, IORDY, DMA,
Drive Buffer: type 3, size 4096 sectors.
Data Transfer: PIO Mode 2, DMA Mode 0
Data Transfer (with IORDY): PIO Mode 4
Multiple Sector: upto 16 sectors per transfer.
Drive Capacity: 16514064 sectors of 512 bytes each (total 8063.51 MB).
localhost:3# idemodes /dev/rhd1h
Drive Name: Maxtor 6L250R0
Firmware Revision: BAH41F9
Serial Number: L50FMJDH
Cylinders: 16383, heads: 16, sectors per track: 63.
Capabilities: LBA, IORDY, DMA,
Drive Buffer: type 3, size 32768 sectors.
Data Transfer: PIO Mode 2, DMA Mode 0
Data Transfer (with IORDY): PIO Mode 4
Multiple Sector: upto 16 sectors per transfer.
Drive Capacity: 16514064 sectors of 512 bytes each (total 8063.51 MB).
localhost:1# idemodes /dev/rhd2h
Drive Name: Maxtor 6E040L0
Firmware Revision: NAR61HA
Serial Number: E16NCGYN
Cylinders: 16383, heads: 16, sectors per track: 63.
Capabilities: LBA, IORDY, DMA,
Drive Buffer: type 3, size 4096 sectors.
Data Transfer: PIO Mode 2, DMA Mode 0
Data Transfer (with IORDY): PIO Mode 4
Multiple Sector: upto 16 sectors per transfer.
Drive Capacity: 16514064 sectors of 512 bytes each (total 8063.51 MB).
Quote from: Apple2guy on November 25, 2024, 01:56:11 AMI swapped the Industrial CF card for spinning rust and that drive reported the limited size. It is on the secondary IDE channel as master.Code Selectlocalhost:2# idemodes /dev/rhd0h
Drive Name: Maxtor 6E030L0
Firmware Revision: NAR61HA
Serial Number: E15VRVAN
Cylinders: 16383, heads: 16, sectors per track: 63.
Capabilities: LBA, IORDY, DMA,
Drive Buffer: type 3, size 4096 sectors.
Data Transfer: PIO Mode 2, DMA Mode 0
Data Transfer (with IORDY): PIO Mode 4
Multiple Sector: upto 16 sectors per transfer.
Drive Capacity: 16514064 sectors of 512 bytes each (total 8063.51 MB).
localhost:3# idemodes /dev/rhd1h
Drive Name: Maxtor 6L250R0
Firmware Revision: BAH41F9
Serial Number: L50FMJDH
Cylinders: 16383, heads: 16, sectors per track: 63.
Capabilities: LBA, IORDY, DMA,
Drive Buffer: type 3, size 32768 sectors.
Data Transfer: PIO Mode 2, DMA Mode 0
Data Transfer (with IORDY): PIO Mode 4
Multiple Sector: upto 16 sectors per transfer.
Drive Capacity: 16514064 sectors of 512 bytes each (total 8063.51 MB).
localhost:1# idemodes /dev/rhd2h
Drive Name: Maxtor 6E040L0
Firmware Revision: NAR61HA
Serial Number: E16NCGYN
Cylinders: 16383, heads: 16, sectors per track: 63.
Capabilities: LBA, IORDY, DMA,
Drive Buffer: type 3, size 4096 sectors.
Data Transfer: PIO Mode 2, DMA Mode 0
Data Transfer (with IORDY): PIO Mode 4
Multiple Sector: upto 16 sectors per transfer.
Drive Capacity: 16514064 sectors of 512 bytes each (total 8063.51 MB).
80GB model | 60GB model | 40GB model | 30GB model | 20GB model | |
| Model Name | IC25N080ATMR04 | IC25N060ATMR04 | IC25N040ATMR04 | IC25N030ATMR04 | IC25N020ATMR04 |
| Physical Layout | |||||
| Bytes per sector | 512 | 512 | 512 | 512 | 512 |
| Sectors per track | 392-952 | 392-952 | 392-952 | 392-952 | 392-952 |
| Number of heads | 4 | 3 | 2 | 2 | 1 |
| Number of disks | 2 | 2 | 1 | 1 | 1 |
| Logical layout | |||||
| Number of Cylinders | 16,383 | 16,383 | 16,383 | 16,383 | 16,383 |
| Number of Heads | 16 | 16 | 16 | 16 | 16 |
| Number of Sectors/track | 63 | 63 | 63 | 63 | 63 |
| Number of sectors | 156,301,488 | 117,210,240 | 78,140,160 | 58,605,120 | 39,070,080 |
| Total logical data bytes | 80,026,361,856 | 60,011,642,880 | 40,007,761,920 | 30,005,821,440 | 20,003,880,960 |
/* Drive capacity */
if (ideInfo->capabilities & IDE_CAP_LBA_SUPPORTED) {
capacity = ideInfo->userAddressableSectors;
} else {
capacity = ideInfo->cylinders * ideInfo->heads *
ideInfo->sectorsPerTrack;
}
/*
* Some disks that support LBA have bogus info in userAddressableSectors
* field.
*/
/* Comment out this routine so that it follow through on the above one as before
capacity = ideInfo->cylinders * ideInfo->heads *
ideInfo->sectorsPerTrack;
END OF COMMENT */
printf("Drive Capacity: %lu sectors of 512 bytes each (total %7.2f MB).\n",
capacity, (float) (capacity*512.0)/(1024*1024));
and then recompile it I was able to get the correct amount of sectors as listed in the above table.# ./idemodes /dev/rhd1h
Drive Name: IC25N060ATMR04-0
Firmware Revision: MO3OAD0
Serial Number: MRG
Cylinders: 16383, heads: 16, sectors per track: 63.
Capabilities: LBA, IORDY, DMA,
Drive Buffer: type 3, size 15768 sectors.
Data Transfer: PIO Mode 2, DMA Mode 2
Data Transfer (with IORDY): PIO Mode 4
Multiple Sector: upto 16 sectors per transfer.
Drive Capacity: 117210240 sectors of 512 bytes each (total 57231.56 MB)
Quote from: Apple2guy on December 07, 2024, 10:01:40 AMI was messing around and did a test install of openstep 4.2 and found something interesting...
First I installed Dos on the first partition 2 GB..
Then I booted Openstep 4.2 install and created a 4095mb partition and installed onto it.
After the install finished I opened terminal and typed df. I noticed hd0a was 1 GB in size..
So on a whim I type mount /dev/hd0b /Test and it mounted.. So did hd0c and hd0d... so we could mount hd0b as /LocalApps in fstab, hd0c as /LocalDeveloper for your source files...
So now I have a 32 gb IDE hdd with a 2 gb Dos partition, 4 gb Next partition (Divided into 4 slices), And 3rd partition Filling the rest of the disk os BeOS.
-bash-2.05b# fdisk /dev/rhd0h
NeXT fdisk v1.02a
Device: /dev/rhd0h
No partitions in use
Unused Blocks Start Size
-------------------------------
Free Space 0 8189
Fdisk main menu
----------------
1) Create a new partition
2) Delete a partition
3) Set the active partition
4) Show disk information
5) Quit without saving changes
6) Save changes and quit
Enter 1-6: 4
Partition Table
----------------
Act H S Cyl Id H S Cyl Begin Size
--- - - --- -- - - --- ----- ----
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
Disk Information
-----------------
Disk statistics according to device driver and bios:
device: 8189 Megabytes, 16777152 sectors
bios: 8189 Megabytes, 16777152 sectors
cylinders = 1044, heads = 255, sectors/track = 63
CF8GB|CF8GB|CF8GB-512:\
:ty=fixed_rw_ide:nc#16644:nt#16:ns#64:ss#512:rm#5400:\
:fp#320:bp#0:ng#0:gs#0:ga#0:ao#0:\
:os=mach_kernel:z0#64:z1#192:hn=emulate:ro=a:\
:pa#63:sa#8388608:ba#8192:fa#1024:ca#4:da#4096:ra#10:oa=time:\
:ia:ta=4.3BSD:aa:\
:pb#8388671:sb#8380416:bb#8192:fb#1024:cb#4:db#4096:rb#10:ob=time:\
:ib:tb=4.3BSD:ab:
/dev/disk6 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *2.0 GB disk6
1: DOS_FAT_16 FAT16 1.0 GB disk6s1
2: Apple_Rhapsody_UFS 1.0 GB disk6s2NEXTSTEP partition base = 1992060 NEXTSTEP partition size = 1992060
disk name: SanDisk SDCFH-2048
disk type: fixed_rw_ide
Disk utility
disk> l
label information: print, write? p
current label information on disk:
disk label version #3
disk label: Disk
disk name: Type 255-512
disk type: fixed_rw_ide
ncyls 3970 ntrack 16 nsect 63 rpm 3600
sector_size 512 front_porch 320 back_porch 0
ngroups 0 ag_size 0 ag_alts 0 ag_off 0
boot blocks: #1 at 1992124 #2 at 1992252
bootfile: mach_kernel
host name: localhost
root partition: a
read/write partition: b
part base size bsize fsize cpg density minfree newfs optim automount type
a 1992060 1991740 8192 1024 16 4096 10% yes time yes 4.3BSD
# disk -i /dev/rhd0h
Quote from: pTeK on May 27, 2025, 01:58:57 PMCode Select# disk -i /dev/rhd0h