[ltp] Thinkpad 770Z with 14.1 GB Drive.

linux-thinkpad@www.bm-soft.com linux-thinkpad@www.bm-soft.com
Wed, 17 Nov 1999 16:20:48 +1000


Hi Rob,

| Is that all it says?  Give us the EXACT output.  Also, make sure you're
| running it as root.

Yep! - *NO* output :-( (and yes I'm root)

dgeorge>fdisk -l /dev/hda
dgeorge>echo $?
0
dgeorge>

 | I know you said you tried "hda=1826,240,63", but I suspect you did it
| wrong, because it's the only known explanation for your problem. Try it
| again, something like this:
|
|    LILO: linux hda=1826,240,63

Yes, I started linux in single user mode:

LILO: linux hda=1826,240,63 single


|Once it's booted, try fdisk again. If it still doesn't work, run this
|command and send us the output:
|
|    hdparm -i /dev/hda

Here tis:

/dev/hda:
Model=IBM-DCYA-214000, FwRev=CYAIA81F, SerialNo=EW0EW040
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/15/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=3(DualPortCache), BuffSize=420kB, MaxMultSect=16, MultSect=off
DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
CurCHS=1826/240/63, CurSects=1011810540, LBA=yes, LBAsects=27609120
tDMA={min:120,rec:120}, DMA modes: sword0 sword1 sword2 mword0 mword1
mword2
IORDY=on/off, tPIO={min:240,w/IORDY:120}, PIO modes: mode3 mode4

| Also send the exact output of fdisk. And, if you can, run fdisk under
| strace and send the last 20 lines of output.

Here is the complete output of fdisk -l /dev/hda

execve("/sbin/fdisk", ["fdisk", "-l", "/dev/hda"], [/* 13 vars */]) = 0
brk(0)                                  = 0x8062d54
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 4
fstat(4, {st_mode=0, st_size=0, ...})   = 0
mmap(0, 15506, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40014000
close(4)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 4
fstat(4, {st_mode=0, st_size=0, ...})   = 0
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 974392, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40018000
mprotect(0x400fe000, 32312, PROT_NONE)  = 0
mmap(0x400fe000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4,
0xe5000) = 0x400fe000
mmap(0x40103000, 11832, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40103000
close(4)                                = 0
munmap(0x40014000, 15506)               = 0
personality(PER_LINUX)                  = 0
getpid()                                = 135
open("/dev/hda", O_RDONLY)              = 4
open("/dev/hda", O_RDONLY)              = 5
fstat(5, {st_mode=S_ISVTX|0400, st_size=0, ...}) = 0
read(5, "\3723\300\216\320\274\0|\213\364"..., 512) = 512
ioctl(5, HDIO_GETGEO, 0xbffffda8)       = 0
_llseek(0x5, 0x1, 0xb8a96000, 0xbffffd58, 0) = 0
brk(0)                                  = 0x8062d54
brk(0x8062f6c)                          = 0x8062f6c
brk(0x8063000)                          = 0x8063000
read(5, "(\314Lw\372xO\2616-\264oJ\22086\312"..., 512) = 512
_llseek(0x5, 0x1, 0xd809e000, 0xbffffd58, 0) = 0
brk(0x8064000)                          = 0x8064000
read(5, "(\314Lw\372xO\2616-\264oJ\22086\312"..., 512) = 512
_llseek(0x5, 0x1, 0xf76a6000, 0xbffffd58, 0) = 0
read(5, "", 512)                        = 0
close(5)                                = 0
_exit(0)                                = ?


Thanks!

...deon
---
Deon George, Tivoli IT Specialist, Tivoli Systems A/NZ
Office: +61 3 9626 6058, Fax: +61 3 9626 6622, Mobile: +61 412 366 816
Email: dgeorge@au1.ibm.com, Web: www.tivoli.com


----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html