[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#414714: linux-image-2.6-686: SATA disk appears both as hdg and sda on VIA motherboard with JMicron controller



Package: linux-image-2.6-686
Version: 2.6.18+6
Severity: important

I have a VIA motherboard with a JMicron SATA controller. A quirk
settings in the kernel enables both the IDE and SATA interface to the
controller. As a result, my hard disk appears both as /dev/sda and
/dev/hdg. I access the hard disk using /dev/sda with linux 2.6.18-3, but
the dmesg gets filled with errors about failed accesses to /dev/hdg,
e.g.

end_request: I/O error, dev hdg, sector 625142272
end_request: I/O error, dev hdg, sector 0
end_request: I/O error, dev hdg, sector 8
end_request: I/O error, dev hdg, sector 16
end_request: I/O error, dev hdg, sector 24
end_request: I/O error, dev hdg, sector 32
end_request: I/O error, dev hdg, sector 40
end_request: I/O error, dev hdg, sector 48
end_request: I/O error, dev hdg, sector 56
end_request: I/O error, dev hdg, sector 0

even though it's not being accessed directly (maybe HAL?).

With Linux 2.6.18-4, the ide driver seems to be more aggressive, and it
manages to grab the interface from the sata subsystem, causing the hard
disk to be inaccessible via /dev/sda, and only working via /dev/hdg.
Since the system is set up to use /dev/sda (right from the root= command
line, but also fstab etc), this causes all sort of problems.

I cannot disable the ide modules completely because I have an IDE burner
attached to the main IDE interface (hda), so I've tried to disable
access to the ide2 and ide3 interfaces with boot parameters: this was
completely unsuccessful because all ide2=noprobe, hdg=noprobe, hdg=none
or ide.<same combinations> are totally ignored, the ide2 interface is
brought up and the hdg device appears.



-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages linux-image-2.6-686 depends on:
ii  linux-image-2.6.18-4-68 2.6.18.dfsg.1-11 Linux 2.6.18 image on PPro/Celeron

linux-image-2.6-686 recommends no packages.

-- no debconf information

-- lspci -n :

00:00.0 0600: 1106:0351
00:00.1 0600: 1106:1351
00:00.2 0600: 1106:2351
00:00.3 0600: 1106:3351
00:00.4 0600: 1106:4351
00:00.5 0800: 1106:5351
00:00.7 0600: 1106:7351
00:01.0 0604: 1106:b999
00:02.0 0604: 1106:a238
00:03.0 0604: 1106:c238
00:03.1 0604: 1106:d238
00:03.2 0604: 1106:e238
00:03.3 0604: 1106:f238
00:0a.0 0c00: 1106:3044 (rev 46)
00:0f.0 0101: 1106:0591 (rev 80)
00:0f.1 0101: 1106:0571 (rev 07)
00:10.0 0c03: 1106:3038 (rev a0)
00:10.1 0c03: 1106:3038 (rev a0)
00:10.2 0c03: 1106:3038 (rev a0)
00:10.3 0c03: 1106:3038 (rev a0)
00:10.4 0c03: 1106:3104 (rev 86)
00:11.0 0601: 1106:3337
00:11.7 0600: 1106:287e
00:13.0 0600: 1106:337b
00:18.0 0600: 1022:1100
00:18.1 0600: 1022:1101
00:18.2 0600: 1022:1102
00:18.3 0600: 1022:1103
02:00.0 0106: 197b:2363 (rev 02)
02:00.1 0101: 197b:2363 (rev 02)
03:00.0 0200: 10ec:8168 (rev 01)
06:00.0 0300: 10de:0141 (rev a2)
80:01.0 0403: 1106:3288 (rev 10)

-- see also:

 http://lkml.org/lkml/2007/1/6/76



Reply to: