Re: [expert] missing hd?
Attached are dmesg's from the two boots. I am having other problems with my primary hd, unsure if they're related. I originally bought a new motherboard due to DMA reset errors. I still get them if I try to switch DMA on, but at least the computer doesn't freeze anymore. I'm using an Abit KT7, so I'm downloading a new BIOS patch. That comes after fixing this hdd problem (fix problems one at a time); I think I might buy a new master hd before long anyway. I will try juggling the cdrom/hdd -> cdrom/hdc and get back to the list. Note that windows sees hdd too (using fdisk of course, as with no windows partitions it isn't going to turn up as D:). tom On Sat, Feb 24, 2001 at 10:43:34AM -0700, Rusty Carruth wrote: > "J . A . Magallon" <[EMAIL PROTECTED]> wrote: > > ... > > Lets look at this (perhaps I have too much coffe also, and all that comes > > is stupid). > > If your disk is the slave in the first ide channel, it should be named hdb. > > So I assume you have one other hd and a cdrom. Lets suppose: > > Your hds are on the IDE 1: hda (the old) and hdb (as you should see it) > > Your cdrom is at hcd (master at IDE 2). > > And if your bios swaps your ide channels when booting from cd at IDE 2, > > and hdb becomes hdd ? > > Well, after watching the 'thread' for a while, I've noticed the following > things: > > 1 - arrangement seems to be: > > controller channel hd comments > > 0 0 hda main drive as master > 0 1 ? unknown > 1 0 hdc cdrom as master > 1 1 hdd hard drive as slave > > 2 - when booting one way (the install cd, I think) /dev/hdd seems to > work > > 3 - when booting another way (off the installed system, I think) /dev/hdd > seems to not work. > > > Ok so I have a few questions and obvservations/theories: > > 1 - something is different between how the install sets things up > and how the installed system sets them up (duh!), such that > the hard drive is either at /dev/hdc, or something else strange. > Would it be possible to see the dmesg's from the two boots? > > 2 - Rumor has it that hard drives don't like being slave to a > cdrom drive, and/or that cdrom drives don't like to be > master to a hard drive. Have you tried putting the 2nd > hard drive as master over the cdrom or as slave to the > first hard drive? (Assuming there is no hard drive there > in hdb already! ;-) > > rc > > > Rusty Carruth Email: [EMAIL PROTECTED] or [EMAIL PROTECTED] > Voice: (480) 345-3621 SnailMail: Schlumberger ATE > FAX: (480) 345-8793 7855 S. River Parkway, Suite 116 > Ham: N7IKQ @ 146.82+,pl 162.2 Tempe, AZ 85284-1825 > ICBM: 33 20' 44"N 111 53' 47"W > Linux version 2.2.17-21mdk ([EMAIL PROTECTED]) (gcc version 2.95.3 19991030 (prerelease)) #1 Thu Oct 5 13:16:08 CEST 2000 Detected 800062 kHz processor. ide_setup: hdd=ide-scsi Console: colour VGA+ 80x25 Calibrating delay loop... 1595.80 BogoMIPS Memory: 127608k/131008k available (1136k kernel code, 416k reserved, 1720k data, 128k init, 0k bigmem) Dentry hash table entries: 16384 (order 5, 128k) Buffer cache hash table entries: 131072 (order 7, 512k) Page cache hash table entries: 32768 (order 5, 128k) VFS: Diskquotas version dquot_6.4.0 initialized CPU: L1 I Cache: 64K L1 D Cache: 64K CPU: L2 Cache: 256K CPU: AMD Athlon(tm) Processor stepping 02 Checking 386/387 coupling... OK, FPU using exception 16 error reporting. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX mtrr: v1.35a (19990819) Richard Gooch ([EMAIL PROTECTED]) PCI: PCI BIOS revision 2.10 entry at 0xfb430, last bus=1 PCI: Using configuration type 1 PCI: Probing PCI hardware Linux NET4.0 for Linux 2.2 Based upon Swansea University Computer Society NET3.039 NET4: Unix domain sockets 1.0 for Linux NET4.0. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP TCP: Hash tables configured (ehash 131072 bhash 65536) Initializing RT netlink socket Starting kswapd v 1.5 Detected PS/2 Mouse Port. Serial driver version 4.27 with MANY_PORTS MULTIPORT SHARE_IRQ enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A pty: 256 Unix98 ptys configured apm: BIOS version 1.2 Flags 0x07 (Driver version 1.13) Real Time Clock Driver v1.09 RAM disk driver initialized: 16 RAM disks of 4096K size Uniform Multi-Platform E-IDE driver Revision: 6.30 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx VP_IDE: IDE controller on PCI bus 00 dev 39 VP_IDE: chipset revision 16 VP_IDE: not 100% native mode: will probe irqs later Split FIFO Configuration: 8 Primary buffers, threshold = 1/2 8 Second. buffers, threshold = 1/2 ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:pio ide0: VIA Bus-Master (U)DMA Timing Config Success ide1: BM-DMA at 0xe008-0xe00f, BIOS se
Re[2]: [expert] missing hd?
"J . A . Magallon" <[EMAIL PROTECTED]> wrote: > ... > Lets look at this (perhaps I have too much coffe also, and all that comes > is stupid). > If your disk is the slave in the first ide channel, it should be named hdb. > So I assume you have one other hd and a cdrom. Lets suppose: > Your hds are on the IDE 1: hda (the old) and hdb (as you should see it) > Your cdrom is at hcd (master at IDE 2). > And if your bios swaps your ide channels when booting from cd at IDE 2, > and hdb becomes hdd ? Well, after watching the 'thread' for a while, I've noticed the following things: 1 - arrangement seems to be: controller channel hd comments 0 0 hda main drive as master 0 1 ? unknown 1 0 hdc cdrom as master 1 1 hdd hard drive as slave 2 - when booting one way (the install cd, I think) /dev/hdd seems to work 3 - when booting another way (off the installed system, I think) /dev/hdd seems to not work. Ok so I have a few questions and obvservations/theories: 1 - something is different between how the install sets things up and how the installed system sets them up (duh!), such that the hard drive is either at /dev/hdc, or something else strange. Would it be possible to see the dmesg's from the two boots? 2 - Rumor has it that hard drives don't like being slave to a cdrom drive, and/or that cdrom drives don't like to be master to a hard drive. Have you tried putting the 2nd hard drive as master over the cdrom or as slave to the first hard drive? (Assuming there is no hard drive there in hdb already! ;-) rc Rusty Carruth Email: [EMAIL PROTECTED] or [EMAIL PROTECTED] Voice: (480) 345-3621 SnailMail: Schlumberger ATE FAX: (480) 345-8793 7855 S. River Parkway, Suite 116 Ham: N7IKQ @ 146.82+,pl 162.2 Tempe, AZ 85284-1825 ICBM: 33 20' 44"N 111 53' 47"W
Re: [expert] missing hd?
On Friday 23 February 2001 18:43, you wrote: > On Sat, Feb 24, 2001 at 02:26:24AM +0100, J . A . Magallon wrote: > > On 02.24 Tom Strickland wrote: > > > > > On Fri, Feb 23, 2001 at 11:43:27AM -0800, Ron Heron wrote: > > > > > > hmmm, are you sure it's on hdd? hdd is the slave of the first > > > > > > ide > > > > > > > > > > slot. > > > > AFAIK, hdd is the slave in the SECOND ide channel... > > It's definitely hdd, plugged in as slave to the master of the 2nd ide > chain (the cdrom). > > tom The best way to verify this is to look at /var/log/dmesg. It should tell you how many drives were detected at boot. Mine even indicates the number of partitions on the drive. SCSI device sda: hdwr sector= 512 bytes. Sectors= 17783240 [8683 MB] [8.7 GB] sda: sda1 sda2 < sda5 sda6 sda7 sda8 > SCSI device sdb: hdwr sector= 512 bytes. Sectors= 35885168 [17522 MB] [17.5 GB] sdb: sdb1 Of course mine is scsi, but I would expect an IDE listing to look similar. -- A word fitly spoken is like apples of gold in pictures of silver. (Proverbs 25:11) -- Thomas K. Gamble [EMAIL PROTECTED]
Re: [expert] missing hd?
On 02.24 Tom Strickland wrote: > > > On Fri, Feb 23, 2001 at 11:43:27AM -0800, Ron Heron wrote: > > > > hmmm, are you sure it's on hdd? hdd is the slave of the first ide > > > slot. AFAIK, hdd is the slave in the SECOND ide channel... > > > > If fdisk says no response, then it is truly missing! how many beers > > > did > > > > you have when you did this? :) > > > Ah - if only I could ascribe this to beer! Too much coffee > > > perhaps... anyway, as I've already stated, if I restart from the > > > installer cd-rom and use diskdrake from there as part of the > > > installation procedure, I can see hdd with no problem. I even went Lets look at this (perhaps I have too much coffe also, and all that comes is stupid). If your disk is the slave in the first ide channel, it should be named hdb. So I assume you have one other hd and a cdrom. Lets suppose: Your hds are on the IDE 1: hda (the old) and hdb (as you should see it) Your cdrom is at hcd (master at IDE 2). And if your bios swaps your ide channels when booting from cd at IDE 2, and hdb becomes hdd ? -- J.A. Magallon $> cd pub mailto:[EMAIL PROTECTED] $> more beer Linux werewolf 2.4.2-ac3 #1 SMP Fri Feb 23 21:48:09 CET 2001 i686
Re: [expert] missing hd?
On Sat, Feb 24, 2001 at 02:26:24AM +0100, J . A . Magallon wrote: > > On 02.24 Tom Strickland wrote: > > > > On Fri, Feb 23, 2001 at 11:43:27AM -0800, Ron Heron wrote: > > > > > hmmm, are you sure it's on hdd? hdd is the slave of the first ide > > > > slot. > AFAIK, hdd is the slave in the SECOND ide channel... It's definitely hdd, plugged in as slave to the master of the 2nd ide chain (the cdrom). tom
Re: [expert] missing hd?
On Fri, Feb 23, 2001 at 03:06:56PM -0800, Ron Heron wrote: > Tom, can you send me your /var/log/kernel/info file? This is extremely > puzzling. What's the ouput of #mount -a ? more info: when I try to mount /dev/hdd1, I get: #mount -t ext2 /dev/hdd1 /tmp/td mount: /tmp/td is not a valid block device ?? I tried restarting to a rescue mode on the cdrom. There I found that I can mount /dev/hdd1. I can also run /sbin/hdparm on it: the info thus gleaned follows: #hdparm /dev/hdd /dev/hdd: multcount= 0 (off) I/O support = 0 (default 16-bit) unmaskirq= 0 (off) using_dma= 0 (off) keepsettings = 0 (off) nowerr = 0 (off) readonly = 0 (off) readahead= 8 (on) geometry = 4092/16/63, sectors = 4124736, start = 0 #/sbin/hdparm -I /dev/hdd /dev/hdd: Model=TS2321A2, FwRev=.024, SerialNo= JG9M8289 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% } RawCHS=4092/16/63, TrkSize=0, SectSize=0, ECCbytes=4 BuffType=unknown, BuffSize=0kB, MaxMultSect=16, MultSect=off CurCHS=4092/16/63, CurSects=4124736, LBA=yes, LBAsects=4124736 IORDY=on/off, tPIO={min:383,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio3 pio4 DMA modes: mdma0 mdma1 mdma2 udma0 udma1 *udma2 I am confused! > --- Tom Strickland <[EMAIL PROTECTED]> wrote: > > On Fri, Feb 23, 2001 at 11:43:27AM -0800, Ron Heron wrote: > > > hmmm, are you sure it's on hdd? hdd is the slave of the first ide > > slot. > > > If fdisk says no response, then it is truly missing! how many beers > > did > > > you have when you did this? :) > > Ah - if only I could ascribe this to beer! Too much coffee > > perhaps... anyway, as I've already stated, if I restart from the > > installer cd-rom and use diskdrake from there as part of the > > installation procedure, I can see hdd with no problem. I even went > > back in and re-created the partitions in the hope of shaking the > > system into shape. Nope - still 'no hdd' in my normal bootup. I am > > puzzled. > > > > > > > > > --- Tom Strickland <[EMAIL PROTECTED]> wrote: > > > > On Fri, Feb 23, 2001 at 09:51:27AM -0800, Ron Heron wrote: > > > > > Try #fdisk -l /dev/hdd > > > > > This should paint a good picture for you of what the problem is. > > > > > > > > #fdisk -l /dev/hdd > > > > -> gives no response (just a new cmd prompt) > > > > #fdisk /dev/hdd > > > > gives: > > > > Unable to open /dev/hdd > > > > > > > > > --- Tom Strickland <[EMAIL PROTECTED]> wrote: > > > > > > On Fri, Feb 23, 2001 at 03:07:32PM +, Arnoud de Jonge wrote: > > > > > > > > Noticing that I only have 54 megs left on my / partition, I > > > > decided > > > > > > to > > > > > > > > slot in a second hard drive on hdd and partition it up for > > /tmp > > > > /var > > > > > > > > and a second swap. I created new mount points: /tmp2 /var2 > > and > > > > > > > > formatted the hard drive using diskdrake. Problem: I > > > > accidentally > > > > > > left > > > > > > > > one of the drive's old partitions mounted. diskdrake moaned, > > so > > > > I > > > > > > > > unmounted and started again. Success. Then I restarted the > > > > machine > > > > > > > > into single user mode to transfer things across and re-name > > the > > > > > > mount > > > > > > > > points. Problem: hdd seems to have vanished. hdparm says: > > > > > > > > # /sbin/hdparm /dev/hdd > > > > > > > > /dev/hdd: Device not configured > > > > > > > > > > > > > > > > hdd is no longer visible in diskdrake, so I tried restarting > > off > > > > the > > > > > > > > cdrom to see if the install procedure could see the hard > > drive > > > > and > > > > > > its > > > > > > > > partitions. It can and I successfully deleted the old > > > > partitions. > > > > > > Then > > > > > > > > I restarted into standard boot-up - still no luck. I'm > > stumped! > > > > > > > > > > > > > > Check if /dev/hdd still exists. If it is gone you'll have to > > > > recreate > > > > > > > it. I have no access to a Linux box right now, so I can't tell > > you > > > > how > > > > > > > right now. > > > > > > > > > > > > > > > > > > > > > > Thanks for the quick response, but /dev/hdd (and /dev/hdd1-16) > > all > > > > > > exist, and they have the same modification dates /mod settings > > as > > > > all > > > > > > of the other /dev/hd? drives. > > > > > > > > > > > > > = > > > ^C > > > quit > > > :q > > > exit > > > ? > > > help > > > shit > > > > > > __ > > > Do You Yahoo!? > > > Yahoo! Auctions - Buy the things you want at great prices! > http://auctions.yahoo.com/ > > > = > ^C > quit > :q > exit > ? > help > shit > > __ > Do You Yahoo!? > Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/
Re: [expert] missing hd?
On Fri, Feb 23, 2001 at 11:43:27AM -0800, Ron Heron wrote: > hmmm, are you sure it's on hdd? hdd is the slave of the first ide slot. > If fdisk says no response, then it is truly missing! how many beers did > you have when you did this? :) Ah - if only I could ascribe this to beer! Too much coffee perhaps... anyway, as I've already stated, if I restart from the installer cd-rom and use diskdrake from there as part of the installation procedure, I can see hdd with no problem. I even went back in and re-created the partitions in the hope of shaking the system into shape. Nope - still 'no hdd' in my normal bootup. I am puzzled. > --- Tom Strickland <[EMAIL PROTECTED]> wrote: > > On Fri, Feb 23, 2001 at 09:51:27AM -0800, Ron Heron wrote: > > > Try #fdisk -l /dev/hdd > > > This should paint a good picture for you of what the problem is. > > > > #fdisk -l /dev/hdd > > -> gives no response (just a new cmd prompt) > > #fdisk /dev/hdd > > gives: > > Unable to open /dev/hdd > > > > > --- Tom Strickland <[EMAIL PROTECTED]> wrote: > > > > On Fri, Feb 23, 2001 at 03:07:32PM +, Arnoud de Jonge wrote: > > > > > > Noticing that I only have 54 megs left on my / partition, I > > decided > > > > to > > > > > > slot in a second hard drive on hdd and partition it up for /tmp > > /var > > > > > > and a second swap. I created new mount points: /tmp2 /var2 and > > > > > > formatted the hard drive using diskdrake. Problem: I > > accidentally > > > > left > > > > > > one of the drive's old partitions mounted. diskdrake moaned, so > > I > > > > > > unmounted and started again. Success. Then I restarted the > > machine > > > > > > into single user mode to transfer things across and re-name the > > > > mount > > > > > > points. Problem: hdd seems to have vanished. hdparm says: > > > > > > # /sbin/hdparm /dev/hdd > > > > > > /dev/hdd: Device not configured > > > > > > > > > > > > hdd is no longer visible in diskdrake, so I tried restarting off > > the > > > > > > cdrom to see if the install procedure could see the hard drive > > and > > > > its > > > > > > partitions. It can and I successfully deleted the old > > partitions. > > > > Then > > > > > > I restarted into standard boot-up - still no luck. I'm stumped! > > > > > > > > > > Check if /dev/hdd still exists. If it is gone you'll have to > > recreate > > > > > it. I have no access to a Linux box right now, so I can't tell you > > how > > > > > right now. > > > > > > > > > > > > Thanks for the quick response, but /dev/hdd (and /dev/hdd1-16) all > > > > exist, and they have the same modification dates /mod settings as > > all > > > > of the other /dev/hd? drives. > > > > > = > ^C > quit > :q > exit > ? > help > shit > > __ > Do You Yahoo!? > Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/
Re: [expert] missing hd?
On Fri, Feb 23, 2001 at 09:51:27AM -0800, Ron Heron wrote: > Try #fdisk -l /dev/hdd > This should paint a good picture for you of what the problem is. #fdisk -l /dev/hdd -> gives no response (just a new cmd prompt) #fdisk /dev/hdd gives: Unable to open /dev/hdd > --- Tom Strickland <[EMAIL PROTECTED]> wrote: > > On Fri, Feb 23, 2001 at 03:07:32PM +, Arnoud de Jonge wrote: > > > > Noticing that I only have 54 megs left on my / partition, I decided > > to > > > > slot in a second hard drive on hdd and partition it up for /tmp /var > > > > and a second swap. I created new mount points: /tmp2 /var2 and > > > > formatted the hard drive using diskdrake. Problem: I accidentally > > left > > > > one of the drive's old partitions mounted. diskdrake moaned, so I > > > > unmounted and started again. Success. Then I restarted the machine > > > > into single user mode to transfer things across and re-name the > > mount > > > > points. Problem: hdd seems to have vanished. hdparm says: > > > > # /sbin/hdparm /dev/hdd > > > > /dev/hdd: Device not configured > > > > > > > > hdd is no longer visible in diskdrake, so I tried restarting off the > > > > cdrom to see if the install procedure could see the hard drive and > > its > > > > partitions. It can and I successfully deleted the old partitions. > > Then > > > > I restarted into standard boot-up - still no luck. I'm stumped! > > > > > > Check if /dev/hdd still exists. If it is gone you'll have to recreate > > > it. I have no access to a Linux box right now, so I can't tell you how > > > right now. > > Thanks for the quick response, but /dev/hdd (and /dev/hdd1-16) all > > exist, and they have the same modification dates /mod settings as all > > of the other /dev/hd? drives.
Re: [expert] missing hd?
On Fri, Feb 23, 2001 at 03:07:32PM +, Arnoud de Jonge wrote: > > Noticing that I only have 54 megs left on my / partition, I decided to > > slot in a second hard drive on hdd and partition it up for /tmp /var > > and a second swap. I created new mount points: /tmp2 /var2 and > > formatted the hard drive using diskdrake. Problem: I accidentally left > > one of the drive's old partitions mounted. diskdrake moaned, so I > > unmounted and started again. Success. Then I restarted the machine > > into single user mode to transfer things across and re-name the mount > > points. Problem: hdd seems to have vanished. hdparm says: > > # /sbin/hdparm /dev/hdd > > /dev/hdd: Device not configured > > > > hdd is no longer visible in diskdrake, so I tried restarting off the > > cdrom to see if the install procedure could see the hard drive and its > > partitions. It can and I successfully deleted the old partitions. Then > > I restarted into standard boot-up - still no luck. I'm stumped! > > Check if /dev/hdd still exists. If it is gone you'll have to recreate > it. I have no access to a Linux box right now, so I can't tell you how > right now. Thanks for the quick response, but /dev/hdd (and /dev/hdd1-16) all exist, and they have the same modification dates /mod settings as all of the other /dev/hd? drives. Still stumped! tom
[expert] missing hd?
Noticing that I only have 54 megs left on my / partition, I decided to slot in a second hard drive on hdd and partition it up for /tmp /var and a second swap. I created new mount points: /tmp2 /var2 and formatted the hard drive using diskdrake. Problem: I accidentally left one of the drive's old partitions mounted. diskdrake moaned, so I unmounted and started again. Success. Then I restarted the machine into single user mode to transfer things across and re-name the mount points. Problem: hdd seems to have vanished. hdparm says: # /sbin/hdparm /dev/hdd /dev/hdd: Device not configured hdd is no longer visible in diskdrake, so I tried restarting off the cdrom to see if the install procedure could see the hard drive and its partitions. It can and I successfully deleted the old partitions. Then I restarted into standard boot-up - still no luck. I'm stumped! tom