View Post - post33231
Re: DVD Installer partition bug?
Sure,
The outputs below corresponds to the "working" condition after I fixed the size of the third partition.
The problem becomes apparent in the 'fdisk info' output. All 3 existing partitions are LBA (marked CHS=254,255,255). For
 whatever reason, the program that created the third partition didn't care about making the number of sectors a multiple
 of (sectors*heads), so that the new QNX partition starts at the beginning of a cylinder.
I'm not sure whether there's a requirement that a partition must start at the beginning of a cylinder (since CHS is not 
real anyway), but if there is, not everyone is following that convention apparently (and it seems I'm not the only one 
with one of those ill-sized partitions). In any case, your installer could do one of 3 things:
a) Write the CHS as 254,255,255 and use plain LBA (should've done this, since cylinder was >1023 (?) )
b) Write the CHS value that results from converting the start sector, and if it doesn't start at the beginning of a 
cylinder, so be it
c) Abort the installation, but at least tell the user what the problem is :-)

Thanks for looking into this.
Regards,
Claudio


<fdisk show output>


   _____OS_____     Start      End     ______Number______   Size    Boot  
   name    type    Cylinder  Cylinder  Cylinders   Blocks                 

1. NTFS       7          0       7648      7649  122881122  60000 MB
2. FAT32     14       7649       7779       131   2104515   1027 MB
3. nonQNX   120       7780       7791        12    192780     94 MB
4. QNX6     179       7792      30400     22609  363213585  177350 MB   *

<fdisk info output>

Physical disk characteristics: (/dev/hd0)
    Disk type        : Direct Access (0)
    Cylinders        : 30401
    Heads            : 255
    Sectors/Track    : 63
    Total Sectors    : 488397168

Warning: total sectors field does not agree with
           cylinders*sectors/track*heads!! (488397168 vs 488392065)

Partition table information:
    0: (7) beg(h=1,s=1,c=0) end(h=254,s=255,c=255) off=63, size=122881122
    1: (14) beg(h=254,s=255,c=255) end(h=254,s=255,c=255) off=122881185, size=2104515
    2: (120) beg(h=254,s=255,c=255) end(h=254,s=255,c=255) off=124985700, size=192780
    3: (179) beg(h=0,s=193,c=255) end(h=254,s=255,c=255) off=125178480, size=363213585
signature1=0x55, signature2=0xAA


<pci output>

PCI version    = 2.10

Class          = Multimedia (RAM)
Vendor ID      = 8086h, Intel Corporation 
Device ID      = 269ah,  631xESB/632xESB High Definition Audio Controller
PCI index      = 0h
PCI Mem Address = fbffc000h enabled
PCI Int Pin    = INT A
Interrupt line = 11
CPU Interrupt  = bh

Class          = Mass Storage (IDE)
Vendor ID      = 8086h, Intel Corporation 
Device ID      = 269eh,  631xESB/632xESB IDE Controller
PCI index      = 0h
PCI IO Address  = 1f0h enabled
PCI IO Address  = 3f4h enabled
PCI IO Address  = 170h enabled
PCI IO Address  = 374h enabled
PCI IO Address  = ffa0h enabled
PCI Int Pin    = INT A
Interrupt line = 11
CPU Interrupt  = bh

Class          = Mass Storage (Serial ATA)
Vendor ID      = 8086h, Intel Corporation 
Device ID      = 2681h,  631xESB/632xESB SATA AHCI Controller
PCI index      = 0h
PCI IO Address  = fe00h enabled
PCI IO Address  = fe10h enabled
PCI IO Address  = fe20h enabled
PCI IO Address  = fe30h enabled
PCI IO Address  = fec0h enabled
PCI Mem Address = ff970000h enabled
PCI Int Pin    = INT C
Interrupt line = 9
CPU Interrupt  = 9h

Class          = Mass Storage (SCSI)
Vendor ID      = 1000h, LSI Logic / Symbios Logic 
Device ID      = 54h,  SAS1068 PCI-X Fusion-MPT SAS
PCI index      = 0h
PCI IO Address  = cc00h enabled
PCI Mem Address = f7dec000h enabled
PCI Mem Address = f7df0000h enabled
PCI Expansion ROM = f7e00000h disabled
PCI Int Pin    = INT A
Interrupt line = 11
CPU Interrupt  = bh

Class          = Display (VGA)
Vendor ID      = 10deh, nVidia Corporation 
Device ID      = 193h,  G80 [GeForce 8800 GTS]
PCI index      = 0h
PCI Mem Address = fa000000h enabled
PCI Mem Address = d0000000h enabled
PCI Mem Address = f8000000h enabled
PCI IO Address  = dc80h enabled
PCI Expansion ROM = fbe00000h disabled
PCI Int Pin    = INT A
Interrupt line = 11
CPU Interrupt  = bh

Class          = Network (Ethernet)
Vendor ID      = 14e4h, Broadcom Corporation 
Device ID      = 1600h,  NetXtreme BCM5752 Gigabit Ethernet PCI Express
PCI index      = 0h
PCI Mem Address = f7af0000h enabled
PCI Int Pin    = INT A
Interrupt line = 11
CPU Interrupt  = bh

<sloginfo output>

Time             Sev Major Minor Args
Jul 06 14:43:53    2    12     0 ps2 - Device Timeout (0x54)
Jul 06 14:43:53    2    12     0 ps2 - Device Timeout (0x56)
Jul 06 14:43:53    2    12     0 ps2 - Device Timeout (0x52)
Jul 06 14:43:53    2    12     0 ps2 - Device Timeout (0x52)
Jul 06 14:43:53    2    12     0 ps2 - Device Timeout (0x56)
Jul 06 14:43:53    2    12     0 ps2 - Device Timeout (0x56)
Jul 06 14:43:53    2    12     0 ps2 - Device Timeout (0x56)
Jul 06 14:44:18    2    19   1500 devb-ahci 1.00A (May 20 2009 17:06:30)
Jul 06 14:44:18    2     5     0 libcam.so (May 20 2009 17:06:08) bver 6040100
Jul 06 14:44:19    2    19   1500 eide_identify_devices: Intel 63XXESB vid 8086, did 2681, class 10601 rev 9, busno 0, 
dfunc fa
Jul 06 14:44:19    2    19   1500 eide_display_devices: ST3250310SV      port 2, max udma 6, cur udma 5, pio 4, mblk 16
Jul 06 14:44:19    2     5   100 cam-disk.so (May 20 2009 17:06:11)
Jul 06 14:44:30    2    19     0 devb-eide 1.00A (May 20 2009 17:07:05)
Jul 06 14:44:30    2     5     0 libcam.so (May 20 2009 17:06:08) bver 6040100
Jul 06 14:44:30    2    19     0 eide_identify_devices: Intel 63XXESB IDE vid 8086, did 269e, class 1018a rev 9, busno 0
, dfunc f9
Jul 06 14:44:30    2    19     0 eide_identify_devices: cmd_addr 1f0, cntl_addr 3f4, irq e, chnl 0, udma 5, mdma 2, sdma
 0, pio 4
Jul 06 14:44:30    2    19     0 eide_identify_devices: probing dev 0 status 0, error 1
Jul 06 14:44:30    2    19     0 eide_identify_devices: probing dev 1 status 1, error 4
Jul 06 14:44:30    2    19     0 eide_display_devices: mdl HL-DT-STDVD+-RW GSA-H21N sn  fw B109 tid 0, cable 40, max 
udma 2, cur udma 2, max mdma 2, cur mdma 0, max sdma 2, cur sdma 0, pio 4, mblk 0
Jul 06 14:44:30    2    19     0 eide_identify: chk 4 cmd ec, tid 1, status 1, astatus 1, error 4
Jul 06 14:44:30    2    19     0 eide_identify: chk 4 cmd a1, tid 1, status 1, astatus 1, error 4
Jul 06 14:44:30    2    19     0 eide_init_devices: HL-DT-STDVD+-RW GSA-H21N path 0, tid 0, udma 2, mdma 2, sdma 0, pio 
4, mblk 0
Jul 06 14:44:30    2    19     0 eide_mmap_device_io:  CFA Contiguous mode
Jul 06 14:44:30    2    19     0 eide_identify_devices: Generic IDE vid 0, did 0, class 0 rev 0, busno 0, dfunc 0
Jul 06 14:44:30    2    19     0 eide_identify_devices: cmd_addr 170, cntl_addr 17c, irq f, chnl 1, udma -1, mdma -1, 
sdma -1, pio 0
Jul 06 14:44:30    2    19     0 eide_identify_devices: probing dev 0 status ff, error ff
Jul 06 14:44:30    2    19     0 eide_identify_devices: probing dev 1 status ff, error ff
Jul 06 14:44:30    2     5   200 cam-cdrom.so (May 20 2009 17:06:10)
Jul 06 14:44:33    2    19     0 devb-eide 1.00A (May 20 2009 17:07:05)
Jul 06 14:44:33    2     5     0 libcam.so (May 20 2009 17:06:08) bver 6040100
Jul 06 14:44:33    2    19     0 eide_identify_devices: Intel 63XXESB IDE vid 8086, did 269e, class 1018a rev 9, busno 0
, dfunc f9
Jul 06 14:44:33    2    19     0 eide_identify_devices: cmd_addr 1f0, cntl_addr 3f4, irq e, chnl 0, udma 5, mdma 2, sdma
 0, pio 4
Jul 06 14:44:33    2    19     0 eide_identify_devices: probing dev 0 status 50, error 0
Jul 06 14:44:33    2    19     0 eide_identify_devices: probing dev 1 status 1, error 4
Jul 06 14:44:33    2    19     0 eide_identify: chk 4 cmd ec, tid 0, status 51, astatus 51, error 4
Jul 06 14:44:33    2    19     0 eide_display_devices: mdl HL-DT-STDVD+-RW GSA-H21N sn  fw B109 tid 0, cable 40, max 
udma 2, cur udma 2, max mdma 2, cur mdma 0, max sdma 2, cur sdma 0, pio 4, mblk 0
Jul 06 14:44:33    2    19     0 eide_identify: chk 4 cmd ec, tid 1, status 1, astatus 1, error 4
Jul 06 14:44:33    2    19     0 eide_identify: chk 4 cmd a1, tid 1, status 1, astatus 1, error 4
Jul 06 14:44:33    2    19     0 eide_init_devices: HL-DT-STDVD+-RW GSA-H21N path 0, tid 0, udma 2, mdma 2, sdma 0, pio 
4, mblk 0
Jul 06 14:44:33    2    19     0 eide_mmap_device_io:  CFA Contiguous mode
Jul 06 14:44:33    2    19     0 eide_identify_devices: Generic IDE vid 0, did 0, class 0 rev 0, busno 0, dfunc 0
Jul 06 14:44:33    2    19     0 eide_identify_devices: cmd_addr 170, cntl_addr 17c, irq f, chnl 1, udma -1, mdma -1, 
sdma -1, pio 0
Jul 06 14:44:33    2    19     0 eide_identify_devices: probing dev 0 status ff, error ff
Jul 06 14:44:33    2    19     0 eide_identify_devices: probing dev 1 status ff, error ff
Jul 06 14:44:33    2     5   200 cam-cdrom.so (May 20 2009 17:06:10)
Jul 06 14:44:37    2    19   1600 devb-mvSata 1.00A (May 20 2009 17:07:12)
Jul 06 14:44:37    2     5     0 libcam.so (May 20 2009 17:06:08) bver 6040100
Jul 06 14:44:38    5     6   200 Installing /dev/par port 378
Jul 06 14:44:39    5    14     0 tcpip starting
Jul 06 14:44:39    3    14     0 Using pseudo random generator.  See "random" option
Jul 06 14:44:39    5    14     0 initializing IPsec... done
Jul 06 14:44:39    5    14     0 IPsec: Initialized Security Association Processing.
Jul 06 14:44:39    2    14     0 devn-tigon3: PCI-Express card(6002)!
Jul 06 14:44:40    2     5     0 libcam.so (May 20 2009 17:06:08) bver 6040100
Jul 06 14:44:49    2     5   100 cam-disk.so (May 20 2009 17:06:11)