mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "J.A. Magallón" <jamagallon@ono.com>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org, Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: 2.6.17-mm6
Date: Fri, 7 Jul 2006 17:38:37 +0200	[thread overview]
Message-ID: <20060707173837.578fafb2@werewolf.auna.net> (raw)
In-Reply-To: <20060706145752.64ceddd0.akpm@osdl.org>

On Thu, 6 Jul 2006 14:57:52 -0700, Andrew Morton <akpm@osdl.org> wrote:

> "J.A. Magallón" <jamagallon@ono.com> wrote:
> >
> > On Thu, 6 Jul 2006 16:48:02 +0200, "J.A. Magallón" <jamagallon@ono.com> wrote:
> > 
> > > On Thu, 6 Jul 2006 16:36:46 +0200, "J.A. Magallón" <jamagallon@ono.com> wrote:
> > > 
> > > > On Wed, 5 Jul 2006 17:02:28 -0700, Andrew Morton <akpm@osdl.org> wrote:
> > > > 
> > > > 
> > > > This a shot till I can try to get a full dmesg.
> > > > 
> > > > http://belly.cps.unizar.es/~magallon/tmp/shot.jpg
> > > > 
> > > > Anyways, what I wanted to point above was that previous kernels talk
> > > > about 'sda1(8,1)', and newer use 'dev(8,19)'.
> > > > Perhaps somebedy did a strcpy( ... , "dev" ), instead of strcpy( ... , dev ) ?
> > > > 
> > > 
> > > Hey !!. I disabled md and usb to get more useful messages in my screen, and
> > > now I have realized that libata is managing my IDE drive !! And I did not
> > > boot with any 'libata.atapi_enable'....
> > > 
> > > In -mm1,
> > > sda -> 200Gb sata
> > > hda -> HL-DT-ST DVDRAM GSA-4120B
> > > hdb -> (zip drive)
> > > hdc -> 120Gb ide
> > > hdd -> DVD-ROM
> > > 
> > > In -mm6,
> > > 
> > > sda -> (zip drive) ?
> > > sdb -> 120Gb
> > > sdc -> 200Gb
> > > 
> > 
> > Well, booting onto sdc1 let me get to single user mode at least so I got
> > a full dmesg. Relevant parts for -mm1 and -mm6 are below (if you want it
> > full I can provide). Basically it looks like libata 2.0 by default handles
> > PATA drives. This can break a lot of systems. In my opinion, PATA hosts
> > should be detected _after_ real sata hosts in the same chipset (now it
> > looks like its done _before_). What is handled by IDE will break anyways,
> > but this way at least real SATA will stay at the same /dev/sdX devices.
> > 
> > -mm1:
> > ata1: SATA max UDMA/133 cmd 0xC000 ctl 0xC402 bmdma 0xD000 irq 16
> > ata2: SATA max UDMA/133 cmd 0xC800 ctl 0xCC02 bmdma 0xD008 irq 16
> > ICH5: IDE controller at PCI slot 0000:00:1f.1
> >     ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio
> >     ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
> > 
> > -mm6:
> > 
> > ata1: PATA max UDMA/100 cmd 0x1F0 ctl 0x3F6 bmdma 0xF000 irq 14
> > ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xF008 irq 15
> > ata3: SATA max UDMA/133 cmd 0xC000 ctl 0xC402 bmdma 0xD000 irq 16
> > ata4: SATA max UDMA/133 cmd 0xC800 ctl 0xCC02 bmdma 0xD008 irq 16
> > 
> 
> Ah-hah, thanks.  I think this is a relatively-FAQ, but I forget the answer.
> Alan's the man.
> 

I thought libata.atapi_enabled=0 could make things like before, but:

libata version 2.00 loaded.
ata_piix 0000:00:1f.1: version 2.00tj1ac5
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1f.1 to 64
ata1: PATA max UDMA/100 cmd 0x1F0 ctl 0x3F6 bmdma 0xF000 irq 14
scsi0 : ata_piix
ata1.00: configured for PIO3
ata1.01: configured for PIO3
ata1.00: WARNING: ATAPI is disabled, device ignored.
ata1.01: WARNING: ATAPI is disabled, device ignored.
ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xF008 irq 15
scsi1 : ata_piix
ata2.00: configured for UDMA/33
ata2.01: configured for UDMA/33
  Vendor: ATA       Model: ST3120022A        Rev: 3.06
  Type:   Direct-Access                      ANSI SCSI revision: 05
ata2.01: WARNING: ATAPI is disabled, device ignored.
ACPI: PCI Interrupt 0000:00:1f.2[A] -> GSI 18 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata3: SATA max UDMA/133 cmd 0xC000 ctl 0xC402 bmdma 0xD000 irq 16
ata4: SATA max UDMA/133 cmd 0xC800 ctl 0xCC02 bmdma 0xD008 irq 16
scsi2 : ata_piix
ata3: ENTER, pcs=0x13 base=0
ata3: LEAVE, pcs=0x13 present_mask=0x1
ata3.00: configured for UDMA/133
scsi3 : ata_piix
ata4: ENTER, pcs=0x13 base=2
ata4: LEAVE, pcs=0x11 present_mask=0x0
ata4: SATA port has no device.
ATA: abnormal status 0x7F on port 0xC807
  Vendor: ATA       Model: ST3200822AS       Rev: 3.01
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
 sda: sda1
sd 1:0:0:0: Attached scsi disk sda
SCSI device sdb: 390721968 512-byte hdwr sectors (200050 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: drive cache: write back
SCSI device sdb: 390721968 512-byte hdwr sectors (200050 MB)

Buses are still there, disks named, but ignored. So old hda becomes sda,
and old sda becomes sdb.

--
J.A. Magallon <jamagallon()ono!com>     \               Software is like sex:
                                         \         It's better when it's free
Mandriva Linux release 2007.0 (Cooker) for i586
Linux 2.6.17-jam01 (gcc 4.1.1 20060518 (prerelease)) #2 SMP PREEMPT Wed

  reply	other threads:[~2006-07-07 15:38 UTC|newest]

Thread overview: 127+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-03 10:03 2.6.17-mm6 Andrew Morton
2006-07-03 10:50 ` 2.6.17-mm6 Michal Piotrowski
2006-07-03 10:56   ` 2.6.17-mm6 Andrew Morton
2006-07-03 11:36     ` 2.6.17-mm6 Michal Piotrowski
2006-07-03 12:27       ` 2.6.17-mm6 Michal Piotrowski
2006-07-03 13:28         ` 2.6.17-mm6 Dmitry Torokhov
2006-07-03 11:00 ` 2.6.17-mm6 Reuben Farrelly
2006-07-03 11:25   ` 2.6.17-mm6 Andrew Morton
2006-07-03 12:34     ` 2.6.17-mm6 Reuben Farrelly
2006-07-03 11:39   ` 2.6.17-mm6 Andrew Morton
2006-07-03 11:41     ` 2.6.17-mm6 Reuben Farrelly
2006-07-03 12:10       ` 2.6.17-mm6 Andrew Morton
2006-07-03 13:36         ` 2.6.17-mm6 Reuben Farrelly
2006-07-03 20:21       ` 2.6.17-mm6 Andrew Morton
2006-07-03 20:31         ` 2.6.17-mm6 Reuben Farrelly
2006-07-03 12:29   ` 2.6.17-mm6 Sergey Vlasov
2006-07-03 17:25     ` 2.6.17-mm6 Jeremy Fitzhardinge
2006-07-03 19:01       ` 2.6.17-mm6 Andrew Morton
2006-07-03 12:15 ` 2.6.17-mm6 Cedric Le Goater
2006-07-03 12:17   ` 2.6.17-mm6 Heiko Carstens
2006-07-03 13:08     ` 2.6.17-mm6 Martin Peschke
2006-07-03 13:12     ` 2.6.17-mm6 Cedric Le Goater
2006-07-03 12:15 ` 2.6.17-mm6 Cedric Le Goater
2006-07-03 14:09   ` 2.6.17-mm6 Theodore Tso
2006-07-03 19:07 ` 2.6.17-mm6 Alistair John Strachan
2006-07-03 19:37   ` 2.6.17-mm6 Andrew Morton
2006-07-03 19:43     ` 2.6.17-mm6 Alistair John Strachan
2006-07-03 19:27 ` 2.6.17-mm6 Alistair John Strachan
2006-07-03 19:39   ` 2.6.17-mm6 Andrew Morton
2006-07-03 19:56     ` 2.6.17-mm6 Alistair John Strachan
2006-07-03 20:17       ` 2.6.17-mm6 Andrew Morton
2006-07-03 20:36         ` 2.6.17-mm6 Alistair John Strachan
2006-07-03 20:54           ` 2.6.17-mm6 Andrew Morton
2006-07-03 21:50             ` 2.6.17-mm6 Alistair John Strachan
2006-07-03 23:31               ` 2.6.17-mm6 Andrew Morton
2006-07-04  8:34                 ` 2.6.17-mm6 Alistair John Strachan
2006-07-04  8:49                   ` 2.6.17-mm6 Andrew Morton
2006-07-04 16:28                     ` 2.6.17-mm6 Alistair John Strachan
2006-07-05 20:37                     ` 2.6.17-mm6 john stultz
2006-07-05 20:46                       ` 2.6.17-mm6 Greg KH
2006-07-05 22:32                         ` 2.6.17-mm6 Alistair John Strachan
2006-07-06 17:31                           ` 2.6.17-mm6 john stultz
2006-07-06 19:06                             ` 2.6.17-mm6 Alistair John Strachan
2006-07-06 19:16                               ` 2.6.17-mm6 Alistair John Strachan
2006-07-06 20:02                             ` 2.6.17-mm6 Alistair John Strachan
2006-07-06 20:11                               ` 2.6.17-mm6 Greg KH
2006-07-07 20:48                                 ` 2.6.17-mm6 Alistair John Strachan
2006-07-08 16:02                                   ` 2.6.17-mm6 Alistair John Strachan
2006-07-03 22:10             ` 2.6.17-mm6 Anton Blanchard
2006-07-04 19:53 ` 2.6.17-mm6 Rafael J. Wysocki
2006-07-04 20:01   ` 2.6.17-mm6 Arjan van de Ven
2006-07-05 10:27     ` 2.6.17-mm6 Stefan Richter
2006-07-05 10:36       ` 2.6.17-mm6 Stefan Richter
2006-07-05 11:13         ` 2.6.17-mm6 Ingo Molnar
2006-07-05 21:43 ` 2.6.17-mm6 J.A. Magallón
2006-07-05 22:56   ` 2.6.17-mm6 Andrew Morton
2006-07-05 23:57     ` 2.6.17-mm6 J.A. Magallón
2006-07-06  0:02       ` 2.6.17-mm6 Andrew Morton
2006-07-06 14:36         ` 2.6.17-mm6 J.A. Magallón
2006-07-06 14:48           ` 2.6.17-mm6 J.A. Magallón
2006-07-06 21:44             ` 2.6.17-mm6 J.A. Magallón
2006-07-06 21:57               ` 2.6.17-mm6 Andrew Morton
2006-07-07 15:38                 ` J.A. Magallón [this message]
2006-07-07 16:02                 ` 2.6.17-mm6 Alan Cox
2006-07-07 15:55                   ` 2.6.17-mm6 J.A. Magallón
2006-07-07 16:44                     ` 2.6.17-mm6 Alan Cox
2006-07-07 16:34                       ` 2.6.17-mm6 Randy.Dunlap
2006-07-07 17:09                         ` 2.6.17-mm6 Alan Cox
2006-07-07 17:14                           ` 2.6.17-mm6 Jeff Garzik
2006-07-07 17:22                             ` 2.6.17-mm6 David Lloyd
2006-07-07 17:23                               ` 2.6.17-mm6 Jeff Garzik
2006-07-07 17:44                             ` 2.6.17-mm6 Alan Cox
2006-07-07 17:39                               ` 2.6.17-mm6 Jeff Garzik
2006-07-07 20:03                                 ` 2.6.17-mm6 Alan Cox
2006-07-07 19:59                                   ` 2.6.17-mm6 Jeff Garzik
2006-07-07 20:23                                     ` 2.6.17-mm6 Alan Cox
2006-07-07 20:14                                       ` 2.6.17-mm6 Jeff Garzik
2006-07-07 20:42                                         ` 2.6.17-mm6 Alan Cox
2006-07-07 20:37                                           ` 2.6.17-mm6 Jeff Garzik
2006-07-07 21:09                                             ` 2.6.17-mm6 J.A. Magallón
2006-07-07 21:11                                               ` 2.6.17-mm6 Jeff Garzik
2006-07-07 21:40                                                 ` 2.6.17-mm6 J.A. Magallón
2006-07-06 23:26               ` 2.6.17-mm6 (try-3) Randy.Dunlap
     [not found] ` <a762e240607051447x3c3c6e15k9cdb38804cf13f35@mail.gmail.com>
2006-07-05 22:50   ` 2.6.17-mm6 Andrew Morton
2006-07-05 23:28     ` 2.6.17-mm6 Keith Mannthey
2006-07-05 23:44       ` 2.6.17-mm6 Andrew Morton
2006-07-05 23:48         ` 2.6.17-mm6 Andrew Morton
2006-07-06  0:05           ` 2.6.17-mm6 Keith Mannthey
2006-07-06  0:25             ` 2.6.17-mm6 Andrew Morton
2006-07-06  5:42               ` 2.6.17-mm6 Eric W. Biederman
2006-07-06  5:59                 ` 2.6.17-mm6 Andrew Morton
2006-07-06  6:31                   ` 2.6.17-mm6 Andrew Morton
2006-07-06  7:18                     ` 2.6.17-mm6 Eric W. Biederman
2006-07-06  7:25                       ` 2.6.17-mm6 Ingo Molnar
2006-07-06  8:21                         ` 2.6.17-mm6 Eric W. Biederman
2006-07-06  8:26                           ` 2.6.17-mm6 Ingo Molnar
2006-07-06  7:31                       ` 2.6.17-mm6 Arjan van de Ven
2006-07-06 16:37                         ` 2.6.17-mm6 Valdis.Kletnieks
2006-07-06 16:49                     ` 2.6.17-mm6 Eric W. Biederman
2006-07-06  6:40                   ` 2.6.17-mm6 Eric W. Biederman
2006-07-06  7:38                   ` 2.6.17-mm6 vmstat breakage Mike Galbraith
2006-07-06  8:24                     ` Andrew Morton
2006-07-06 17:16                 ` 2.6.17-mm6 Andi Kleen
2006-07-12  3:55               ` 2.6.17-mm6 Steven Rostedt
2006-07-06 20:36 ` [-mm patch] drivers/edac/: make code static Adrian Bunk
2006-07-06 20:37 ` [-mm patch] fs/ocfs2/inode.c:ocfs2_refresh_inode(): remove unused variable Adrian Bunk
2006-07-06 20:43   ` Mark Fasheh
2006-07-06 20:37 ` [-mm patch] reiserfs: warn about the useless nolargeio option Adrian Bunk
2006-07-07  0:35   ` Hans Reiser
2006-07-06 20:37 ` [-mm patch] drivers/net/e1000/: possible cleanups Adrian Bunk
2006-07-06 20:47   ` Auke Kok
2006-07-07  7:35     ` Adrian Bunk
2006-07-07  9:17 ` 2.6.17-mm6 Reuben Farrelly
2006-07-07  9:35   ` 2.6.17-mm6 Andrew Morton
2006-07-07 21:15     ` 2.6.17-mm6 Reuben Farrelly
2006-07-07 21:38       ` 2.6.17-mm6 Andrew Morton
2006-07-07 21:42         ` 2.6.17-mm6 Martin Bligh
2006-07-07 23:06           ` 2.6.17-mm6 Andrew Morton
2006-07-08  3:46           ` 2.6.17-mm6 Badari Pulavarty
2006-07-07 23:08         ` 2.6.17-mm6 Reuben Farrelly
2006-07-07 15:24 ` 2.6.17-mm6 Reuben Farrelly
2006-07-08 20:20 ` 2.6.17-mm6: kernel/sysctl.c: PROC_FS=n compile error Adrian Bunk
2006-07-09 18:52   ` Serge E. Hallyn
2006-07-09 23:33     ` Adrian Bunk
2006-07-10 14:22       ` Serge E. Hallyn
2006-07-10 15:08       ` Serge E. Hallyn
2006-07-07 14:21 2.6.17-mm6 Martin J. Bligh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060707173837.578fafb2@werewolf.auna.net \
    --to=jamagallon@ono.com \
    --cc=akpm@osdl.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome