Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16
I unplugged my SATA drive (containing critical backups etc..) before attempting to install Slackware 10.1. Now, i plugged the drive again. It shows up in win, but not in linux. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2005
    Location
    Norway
    Posts
    8

    Can't "find" third IDE master...


    I unplugged my SATA drive (containing critical backups etc..) before attempting to install Slackware 10.1. Now, i plugged the drive again. It shows up in win, but not in linux. I figured i had to add it in /etc/fstab, but /dev/hde1 did not work (i assumed hde1, because its the third IDE master). Without any luck, i tried to run fdisk on /dev/hdb-g and /dev/scb-g to see if the drive "existed". Again, without any luck. So, i was kind-of-wondering if the SATA drives got their own "name" or what i am doing wrong...

    Thanks,
    -- Loffen

  2. #2
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    Serial ATA usually show up as scsi devices. If you run
    Code:
    fdisk -l
    you should get a list of the drives on your system.
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  3. #3
    Just Joined!
    Join Date
    Mar 2005
    Location
    Norway
    Posts
    8
    It didn't work. It only shows hda.

    Thanks,
    -- Loffen

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    When you installed Slack, did you use the sata kernel? Slack still uses the 2.4.x kernel series, which had very little SATA support.
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  6. #5
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790
    try:
    Code:
    dmesg | grep sata
    or
    Code:
    dmesg | grep SATA
    (grep is case sensitive so these will return different stuff

    if either of them dont show anything just try

    Code:
    dmesg
    and look thru the output for the disk.... or if u cant find it, paste the output in a post and will try and look for you.,
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  7. #6
    Just Joined!
    Join Date
    Mar 2005
    Location
    Norway
    Posts
    8
    Code:
    dmesg | grep sata
    Code:
    dmesg | grep SATA
    did not return anything.

    dmesg is filled with some stuff about some PCI Controller (change buffer size somehow?)...

    Code:
    shpchp: shpc_init : shpc_cap_offset == 0
    shpchp: shpc_init : shpc_cap_offset == 0
    shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
    pci_hotplug: PCI Hot Plug PCI Core version: 0.5
    pciehp: PCI Express Hot Plug Controller Driver version: 0.5
    This is repeated 100's of times..

    Maybe i should tur off hotplug and reboot?

    When you installed Slack, did you use the sata kernel? Slack still uses the 2.4.x kernel series, which had very little SATA support.
    uh... i used the default :P

    Thanks,
    -- Loffen

  8. #7
    Just Joined!
    Join Date
    Mar 2005
    Location
    Norway
    Posts
    8
    rebooted without hotplug, and got dmesg output. I post everything, so i dont miss any part..

    Code:
    Linux version 2.4.29 (root@midas) (gcc version 3.3.4) #6 Thu Jan 20 16:30:37 PST  2005
    BIOS-provided physical RAM map:
     BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
     BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
     BIOS-e820: 00000000000e8000 - 0000000000100000 (reserved)
     BIOS-e820: 0000000000100000 - 000000001ff30000 (usable)
     BIOS-e820: 000000001ff30000 - 000000001ff40000 (ACPI data)
     BIOS-e820: 000000001ff40000 - 000000001fff0000 (ACPI NVS)
     BIOS-e820: 000000001fff0000 - 0000000020000000 (reserved)
     BIOS-e820: 00000000ffb80000 - 0000000100000000 (reserved)
    511MB LOWMEM available.
    On node 0 totalpages: 130864
    zone(0): 4096 pages.
    zone(1): 126768 pages.
    zone(2): 0 pages.
    Kernel command line: BOOT_IMAGE=Slackware ro root=303 nohotplug
    Initializing CPU#0
    Detected 2798.709 MHz processor.
    Console: colour dummy device 80x25
    Calibrating delay loop... 5583.66 BogoMIPS
    Memory: 514588k/523456k available (1831k kernel code, 8480k reserved, 607k data,  120k init, 0k highmem)
    Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
    Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
    Mount cache hash table entries: 512 (order: 0, 4096 bytes)
    Buffer cache hash table entries: 32768 (order: 5, 131072 bytes)
    Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
    CPU: Trace cache: 12K uops, L1 D cache: 8K
    CPU: L2 cache: 512K
    CPU:     After generic, caps: bfebfbff 00000000 00000000 00000000
    CPU:             Common caps: bfebfbff 00000000 00000000 00000000
    CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz stepping 09
    Enabling fast FPU save and restore... done.
    Enabling unmasked SIMD FPU exception support... done.
    Checking 'hlt' instruction... OK.
    POSIX conformance testing by UNIFIX
    mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
    mtrr: detected mtrr type: Intel
    PCI: PCI BIOS revision 2.10 entry at 0xf0031, last bus=2
    PCI: Using configuration type 1
    PCI: Probing PCI hardware
    PCI: Probing PCI hardware (bus 00)
    PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
    Transparent bridge - Intel Corp. 82801BA/CA/DB/EB PCI Bridge
    PCI: Using IRQ router PIIX/ICH [8086/24d0] at 00:1f.0
    PCI: Found IRQ 5 for device 00:1f.1
    PCI: Sharing IRQ 5 with 00:1d.2
    PCI: Sharing IRQ 5 with 00:1f.2
    Linux NET4.0 for Linux 2.4
    Based upon Swansea University Computer Society NET3.039
    Initializing RT netlink socket
    Starting kswapd
    VFS: Disk quotas vdquot_6.5.1
    Journalled Block Device driver loaded
    vesafb: framebuffer at 0xe8000000, mapped to 0xe080d000, size 1536k
    vesafb: mode is 1024x768x8, linelength=1024, pages=3
    vesafb: protected mode interface info at c000:ea00
    vesafb: scrolling: redraw
    Console: switching to colour frame buffer device 128x48
    fb0: VESA VGA frame buffer device
    pty: 512 Unix98 ptys configured
    Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_I RQ SERIAL_PCI enabled
    ttyS00 at 0x03f8 (irq = 4) is a 16550A
    Real Time Clock Driver v1.10f
    Floppy drive(s): fd0 is 1.44M
    keyboard: Timeout - AT keyboard not present?(ed)
    keyboard: Timeout - AT keyboard not present?(f4)
    FDC 0 is a post-1991 82077
    RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
    loop: loaded (max 8 devices)
    Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
    ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
    ICH5: IDE controller at PCI slot 00:1f.1
    PCI: Enabling device 00:1f.1 (0005 -> 0007)
    PCI: Found IRQ 5 for device 00:1f.1
    PCI: Sharing IRQ 5 with 00:1d.2
    PCI: Sharing IRQ 5 with 00:1f.2
    ICH5: chipset revision 2
    ICH5: not 100% native mode: will probe irqs later
        ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
        ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio
    hda: ST360021A, ATA DISK drive
    blk: queue c03ad460, I/O limit 4095Mb (mask 0xffffffff)
    hdc: _NEC DVD_RW ND-1300A, ATAPI CD/DVD-ROM drive
    ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    ide1 at 0x170-0x177,0x376 on irq 15
    hda: attached ide-disk driver.
    hda: host protected area => 1
    hda: 117231408 sectors (60022 MB) w/2048KiB Cache, CHS=7297/255/63, UDMA(100)
    hdc: attached ide-cdrom driver.
    hdc: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
    Uniform CD-ROM driver Revision: 3.12
    Partition check:
     hda&#58; hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 >
    SCSI subsystem driver Revision&#58; 1.00
    kmod&#58; failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
    kmod&#58; failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
    kmod&#58; failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
    md&#58; linear personality registered as nr 1
    md&#58; raid0 personality registered as nr 2
    md&#58; raid1 personality registered as nr 3
    md&#58; raid5 personality registered as nr 4
    raid5&#58; measuring checksumming speed
       8regs     &#58;  3215.200 MB/sec
       32regs    &#58;  2128.800 MB/sec
       pIII_sse  &#58;  3602.800 MB/sec
       pII_mmx   &#58;  3303.600 MB/sec
       p5_mmx    &#58;  3231.600 MB/sec
    raid5&#58; using function&#58; pIII_sse &#40;3602.800 MB/sec&#41;
    md&#58; md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
    md&#58; Autodetecting RAID arrays.
    md&#58; autorun ...
    md&#58; ... autorun DONE.
    LVM version 1.0.8&#40;17/11/2003&#41;
    Initializing Cryptographic API
    NET4&#58; Linux TCP/IP 1.0 for NET4.0
    IP Protocols&#58; ICMP, UDP, TCP, IGMP
    IP&#58; routing cache hash table of 4096 buckets, 32Kbytes
    TCP&#58; Hash tables configured &#40;established 32768 bind 65536&#41;
    Linux IP multicast router 0.06 plus PIM-SM
    NET4&#58; Unix domain sockets 1.0/SMP for Linux NET4.0.
    kjournald starting.  Commit interval 5 seconds
    EXT3-fs&#58; mounted filesystem with ordered data mode.
    VFS&#58; Mounted root &#40;ext3 filesystem&#41; readonly.
    Freeing unused kernel memory&#58; 120k freed
    Adding Swap&#58; 1004020k swap-space &#40;priority -1&#41;
    EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0&#40;3,3&#41;, internal journal
    Linux agpgart interface v0.99 &#40;c&#41; Jeff Hartmann
    agpgart&#58; Maximum main memory to use for agp memory&#58; 439M
    agpgart&#58; Detected an Intel&#40;R&#41; 865G, but could not find the secondary device. Ass uming a non-integrated video card.
    agpgart&#58; Detected Intel&#40;R&#41; 865G chipset
    agpgart&#58; AGP aperture is 64M @ 0xf8000000
    scsi0 &#58; SCSI host adapter emulation for IDE ATAPI devices
    kjournald starting.  Commit interval 5 seconds
    EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0&#40;3,6&#41;, internal journal
    EXT3-fs&#58; mounted filesystem with ordered data mode.
    kjournald starting.  Commit interval 5 seconds
    EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0&#40;3,7&#41;, internal journal
    EXT3-fs&#58; mounted filesystem with ordered data mode.
    kjournald starting.  Commit interval 5 seconds
    EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0&#40;3,8&#41;, internal journal
    EXT3-fs&#58; mounted filesystem with ordered data mode.
    NTFS driver v1.1.22 &#91;Flags&#58; R/O MODULE&#93;
    Linux Kernel Card Services 3.1.22
      options&#58;  &#91;pci&#93; &#91;cardbus&#93; &#91;pm&#93;
    isapnp&#58; Scanning for PnP cards...
    isapnp&#58; No Plug & Play device found
    Intel ISA PCIC probe&#58; not found.
    Databook TCIC-2 PCMCIA probe&#58; not found.
    ds&#58; no socket drivers loaded!
    PCI&#58; Found IRQ 5 for device 00&#58;1f.5
    PCI&#58; Sharing IRQ 5 with 00&#58;1f.3
    PCI&#58; Setting latency timer of device 00&#58;1f.5 to 64
    intel8x0_measure_ac97_clock&#58; measured 49460 usecs
    intel8x0&#58; clocking to 48000
    0&#58; nvidia&#58; loading NVIDIA Linux x86 NVIDIA Kernel Module  1.0-5336  Wed Jan 14 1 8&#58;29&#58;26 PST 2004
    keyboard&#58; Timeout - AT keyboard not present?&#40;f4&#41;
    keyboard&#58; Timeout - AT keyboard not present?&#40;f3&#41;
    keyboard&#58; Timeout - AT keyboard not present?&#40;f4&#41;
    keyboard&#58; Timeout - AT keyboard not present?&#40;f4&#41;

  9. #8
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    I repeat, did you select to install the sata kernel during installation? If not, you're going to have all kinds of problems getting SATA to work.
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  10. #9
    Just Joined!
    Join Date
    Mar 2005
    Location
    Norway
    Posts
    8
    Quote:
    When you installed Slack, did you use the sata kernel? Slack still uses the 2.4.x kernel series, which had very little SATA support.
    uh... i used the default :P
    If i did not use the SATA kernel, what should i do? I still pretty much got a unmodified version of slack installed. Should i just reinstall?

    Thanks,
    -- Loffen

  11. #10
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    There should be a copy of it on one of your install CDs...do a search.

    Or you could install the 2.6 kernel (SATA support, better speed, etc.).
    Go to
    Code:
    /mnt/cdrom/testing/packages/linux-2.6.10
    Then
    Code:
     installpkg kernel-generic-2.6.10-i486-1.tgz
      installpkg kernel-modules-2.6.10-i486-1.tgz
      installpkg mkinitrd-1.0.1-i486-1.tgz
    then

    Code:
    mkinitrd -c -k 2.6.10 -m <your FS type>
    Update /etc/lilo.conf (and run
    Code:
    lilo
    after you update it.

    It'll probably look something like this:

    Code:
    image = /boot/vmlinuz-generic-2.6.10
      initrd = /boot/initrd.gz
      root = /dev/hdb3
      label = Linux2.6.10
      read-only
    Don't delete your 2.4.x image...might come in handy
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •