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

Bug#250763: installation report (d-i 20040522)



Package: installation-reports
Debian-installer-version: Daily snapshot, from
        http://gluck.debian.org/cdimage/testing/daily/i386/20040506/

uname -a: Linux debtst14 2.4.26-1-386 #2 Sat May 1 16:31:24 EST 2004 i686 GNU/Linux

Date: 2004.05.22-23

Method: Using the Sarge netinst ISO image
        (http://cdimage.debian.org/pub/cdimage-testing/daily/i386/20040522/)
booted off the CD, ran the installer, completed via apt-get'ting remaining
        packages via the repositories (ftp.debian.org)

Machine:
        x86 "wintel" clone: Gigabyte GA-7VT600-P-L motherboard, with
           ASUS Radeon 9200SE 64MB AGP.
        and
                Adaptec AHA-2940/2940W PCI SCSI adapter (for tape backup)
The built-in SATA controller (part of the VT8237 southbridge) was not turned off.

Processor:
        Duron 1.4 GHz, 266MHz FSB.

Memory:
        256MB RAM DDR (PC3200)

Root Device:
        EIDE (1 HD)
        WDC WD400EB-00CPF0

Root Size/partition table:

        Command (m for help): p

        Disk /dev/hda: 40.0 GB, 40019582464 bytes
        255 heads, 63 sectors/track, 4865 cylinders
        Units = cylinders of 16065 * 512 = 8225280 bytes

           Device Boot      Start         End      Blocks   Id  System
/dev/hda1 1 1304 10474348+ c W95 FAT32 (LBA)
        /dev/hda2            1305        1368      514080   82  Linux swap
        /dev/hda3   *        1369        4865    28089652+  83  Linux

        Command (m for help): q

        debtst14:~#

Output of lspci:

debtst14:~# lspci
pcilib: Cannot open /sys/bus/pci/devices
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge (rev 80)
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
0000:00:0a.0 SCSI storage controller: Adaptec AHA-2940/2940W / AIC-7871 (rev 03) 0000:00:0c.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11) 0000:00:0c.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11) 0000:00:0f.0 RAID bus controller: VIA Technologies, Inc.: Unknown device 3149 (rev 80) 0000:00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C/VT8235 PIPC Bus Master IDE (rev 06) 0000:00:10.0 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 81) 0000:00:10.1 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 81) 0000:00:10.2 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 81) 0000:00:10.3 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 81)
0000:00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [K8T800 South] 0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60) 0000:00:13.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) 0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 SE] (rev 01) 0000:01:00.1 Display controller: ATI Technologies Inc RV280 [Radeon 9200 SE] (Secondary) (rev 01)
debtst14:~#


Base System Installation Checklist:

Initial boot worked:    [ O ]
Configure network HW:   [ O ]
Config network:         [ O ]
Detect CD:              [ O ]
Load installer modules: [ O ]
Detect hard drives:     [ O ]
Partition hard drives:  [ did manually, to keep pre-existing FAT32 partition ]
Create file systems:    [ did manually ]
Mount partitions:       [ did manually ]
Install base system:    [ O ]
Install boot loader:    [ O ]
Reboot:                 [ O]
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it


Comments/Problems:

<Description of the install, in prose, and any thoughts, comments
       and ideas you had during the initial install.>

**      result of lspci -n:

        debtst14:~# lspci -n
        pcilib: Cannot open /sys/bus/pci/devices
        0000:00:00.0 Class 0600: 1106:3189 (rev 80)
        0000:00:01.0 Class 0604: 1106:b198
        0000:00:0a.0 Class 0100: 9004:7178 (rev 03)
        0000:00:0c.0 Class 0400: 109e:036e (rev 11)
        0000:00:0c.1 Class 0480: 109e:0878 (rev 11)
        0000:00:0f.0 Class 0104: 1106:3149 (rev 80)
        0000:00:0f.1 Class 0101: 1106:0571 (rev 06)
        0000:00:10.0 Class 0c03: 1106:3038 (rev 81)
        0000:00:10.1 Class 0c03: 1106:3038 (rev 81)
        0000:00:10.2 Class 0c03: 1106:3038 (rev 81)
        0000:00:10.3 Class 0c03: 1106:3038 (rev 81)
        0000:00:10.4 Class 0c03: 1106:3104 (rev 86)
        0000:00:11.0 Class 0601: 1106:3227
        0000:00:11.5 Class 0401: 1106:3059 (rev 60)
        0000:00:13.0 Class 0200: 10ec:8139 (rev 10)
        0000:01:00.0 Class 0300: 1002:5964 (rev 01)
        0000:01:00.1 Class 0380: 1002:5d44 (rev 01)
        debtst14:~#

**      result of "cat /proc/pci":
        debtst14:~# cat /proc/pci
        PCI devices found:
          Bus  0, device   0, function  0:
Host bridge: VIA Technologies, Inc. VT8377 [KT400 AGP] Host Bridge (rev 128).
              Master Capable.  Latency=8.
              Prefetchable 32 bit memory at 0xd0000000 [0xd7ffffff].
          Bus  0, device   1, function  0:
            PCI bridge: PCI device 1106:b198 (VIA Technologies, Inc.) (rev 0).
              Master Capable.  No bursts.  Min Gnt=12.
          Bus  0, device  10, function  0:
SCSI storage controller: Adaptec AHA-2940/2940W / AIC-7871 (rev 3).
              IRQ 18.
              Master Capable.  Latency=32.  Min Gnt=8.Max Lat=8.
              I/O at 0xb000 [0xb0ff].
              Non-prefetchable 32 bit memory at 0xeb000000 [0xeb000fff].
          Bus  0, device  12, function  0:
Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 17).
              IRQ 16.
              Master Capable.  Latency=32.  Min Gnt=16.Max Lat=40.
              Prefetchable 32 bit memory at 0xeb001000 [0xeb001fff].
          Bus  0, device  12, function  1:
Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 17).
              IRQ 16.
              Master Capable.  Latency=32.  Min Gnt=4.Max Lat=255.
              Prefetchable 32 bit memory at 0xeb002000 [0xeb002fff].
          Bus  0, device  15, function  0:
RAID bus controller: PCI device 1106:3149 (VIA Technologies, Inc.) (rev 128).
              IRQ 20.
              Master Capable.  Latency=32.
              I/O at 0xb400 [0xb407].
              I/O at 0xb800 [0xb803].
              I/O at 0xbc00 [0xbc07].
              I/O at 0xc000 [0xc003].
              I/O at 0xc400 [0xc40f].
              I/O at 0xc800 [0xc8ff].
          Bus  0, device  15, function  1:
IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 6).
              IRQ 20.
              Master Capable.  Latency=32.
              I/O at 0xcc00 [0xcc0f].
          Bus  0, device  16, function  0:
            USB Controller: VIA Technologies, Inc. USB (rev 129).
              IRQ 21.
              Master Capable.  Latency=32.
              I/O at 0xd000 [0xd01f].
          Bus  0, device  16, function  1:
            USB Controller: VIA Technologies, Inc. USB (#2) (rev 129).
              IRQ 21.
              Master Capable.  Latency=32.
              I/O at 0xd400 [0xd41f].
          Bus  0, device  16, function  2:
            USB Controller: VIA Technologies, Inc. USB (#3) (rev 129).
              IRQ 21.
              Master Capable.  Latency=32.
              I/O at 0xd800 [0xd81f].
          Bus  0, device  16, function  3:
            USB Controller: VIA Technologies, Inc. USB (#4) (rev 129).
              IRQ 21.
              Master Capable.  Latency=32.
              I/O at 0xdc00 [0xdc1f].
          Bus  0, device  16, function  4:
            USB Controller: VIA Technologies, Inc. USB 2.0 (rev 134).
              IRQ 21.
              Master Capable.  Latency=32.
              Non-prefetchable 32 bit memory at 0xeb003000 [0xeb0030ff].
          Bus  0, device  17, function  0:
            ISA bridge: PCI device 1106:3227 (VIA Technologies, Inc.) (rev 0).
          Bus  0, device  17, function  5:
Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235 AC97 Audio Controller (rev 96).
              IRQ 22.
              I/O at 0xe000 [0xe0ff].
          Bus  0, device  19, function  0:
Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 16).
              IRQ 18.
              Master Capable.  Latency=32.  Min Gnt=32.Max Lat=64.
              I/O at 0xe400 [0xe4ff].
              Non-prefetchable 32 bit memory at 0xeb004000 [0xeb0040ff].
          Bus  1, device   0, function  0:
VGA compatible controller: PCI device 1002:5964 (ATI Technologies Inc) (rev 1).
              IRQ 16.
              Master Capable.  Latency=32.  Min Gnt=8.
              Prefetchable 32 bit memory at 0xd8000000 [0xdfffffff].
              I/O at 0xa000 [0xa0ff].
              Non-prefetchable 32 bit memory at 0xe9000000 [0xe900ffff].
          Bus  1, device   0, function  1:
Display controller: PCI device 1002:5d44 (ATI Technologies Inc) (rev 1).
              Master Capable.  Latency=32.  Min Gnt=8.
              Prefetchable 32 bit memory at 0xe0000000 [0xe7ffffff].
              Non-prefetchable 32 bit memory at 0xe9010000 [0xe901ffff].
        debtst14:~#

**      result of lsmod:
        (see notes below)

        debtst14:~# lsmod
        Module                  Size  Used by    Not tainted
        input                   3040   0  (autoclean)
        radeon                 89312   0
        parport_pc             19400   1  (autoclean)
        lp                      5952   0  (autoclean)
        parport                21736   1  (autoclean) [parport_pc lp]
        apm                     8492   2  (autoclean)
        af_packet              11560   1  (autoclean)
        usb-uhci               19632   0  (unused)
        usbcore                52908   1  [usb-uhci]
        via82cxxx_audio        17692   2
        ac97_codec             11412   0  [via82cxxx_audio]
        uart401                 6244   0  [via82cxxx_audio]
        sound                  50280   0  [via82cxxx_audio uart401]
        ide-scsi                8464   0
        aic7xxx               122764   0  (unused)
        8139too                12744   1
        mii                     1952   0  [8139too]
        crc32                   2848   0  [8139too]
        sata_via                2324   0  (unused)
        libata                 23012   0  [sata_via]
        scsi_mod               85380   3  [ide-scsi aic7xxx sata_via libata]
        tuner                   9352   1  (autoclean)
        bttv                   88704   0
        videodev                5472   2  [bttv]
        i2c-algo-bit            6376   1  [bttv]
        i2c-core               11908   0  [tuner bttv i2c-algo-bit]
        soundcore               3268   4  [via82cxxx_audio sound bttv]
        ide-cd                 27936   0
        cdrom                  25056   0  [ide-cd]
        rtc                     6280   0  (autoclean)
        ext3                   66600   0  (autoclean)
        jbd                    35076   0  (autoclean) [ext3]
        ide-detect               288   0  (autoclean) (unused)
        via82cxxx               9416   1  (autoclean)
        ide-disk               12512   2  (autoclean)
ide-core 93948 2 (autoclean) [ide-scsi ide-cd ide-detect via82cxxx ide-disk]
        unix                   13260 213  (autoclean)
        debtst14:~#

** current (post-install) module configuration (via listing of various files):

        debtst14:~# ls -lF /etc/mo*
        -rw-r--r--    1 root     root          280 May 23 04:04 /etc/modules
-rw-r--r-- 1 root root 4024 May 23 16:19 /etc/modules.conf -rw-r--r-- 1 root root 4022 May 23 16:19 /etc/modules.conf.old
        -rw-r--r--    1 root     root          360 May 23 16:21 /etc/motd

        /etc/modutils:
        total 32
        -rw-r--r--    1 root     root          432 Aug 17  2002 0keep
        -rw-r--r--    1 root     root          210 May 23 01:33 actions
        -rw-r--r--    1 root     root         1152 Aug 17  2002 aliases
        -rw-r--r--    1 root     root           97 Mar 31 08:32 apm
        drwxr-xr-x    2 root     root         4096 May 22 13:55 arch/
        -rw-r--r--    1 root     root           54 May 23 16:19 bttv
        -rw-r--r--    1 root     root          139 Sep 21  2003 paths
        -rw-r--r--    1 root     root          651 Apr 14 10:37 setserial
        debtst14:~# cat /etc/modules
        # /etc/modules: kernel modules to load at boot time.
        #
        # This file should contain the names of kernel modules that are
        # to be loaded at boot time, one per line.  Comments begin with
        # a "#", and everything on the line after them are ignored.

        ide-cd
        ide-detect
        #
        bttv
        sata_via
        #
        debtst14:~# cat /etc/modutils/actions
        # # Special actions that are needed for some modules
        #
        # # The BTTV module does not load the tuner module automatically,
        # # so do that in here
        # post-install bttv insmod tuner
        # post-remove bttv rmmod tuner

        debtst14:~# cat /etc/modutils/aliases | grep bttv
        alias char-major-81     bttv
        debtst14:~# cat /etc/modutils/aliases | grep tuner
        debtst14:~# cat /etc/modutils/aliases | grep i2c
        debtst14:~# cat /etc/modutils/bttv
        options bttv  card=64 tuner=2
        # options tuner type=2

        debtst14:~#


** relevant portion of dmesg output (re.: originally "missing" modules, i.e. SATA + TV card):

        debtst14:~# dmesg
Linux version 2.4.26-1-386 (herbert@gondolin) (gcc version 3.3.3 (Debian 20040401)) #2 Sat May 1 16:31:24 EST 2004
        (...)
        i2c-core.o: i2c core module version 2.6.1 (20010830)
        i2c-algo-bit.o: i2c bit algorithm module
        Linux video capture interface: v1.00
        bttv: driver version 0.7.108 loaded
        bttv: using 4 buffers with 2080k (8320k total) for capture
        bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 00:0c.0, irq: 16, latency: 32, mmio: 0xeb001000 bttv0: detected: ATI TV Wonder/VE [card=64], PCI subsystem ID is 1002:0003
        bttv0: using: ATI TV-Wonder VE [card=64,insmod option]
        i2c-core.o: adapter bt848 #0 registered as adapter 0.
        bttv0: using tuner=2
        bttv0: i2c: checking for TDA9875 @ 0xb0... not found
        bttv0: i2c: checking for TDA7432 @ 0x8a... not found
        i2c-core.o: driver i2c TV tuner driver registered.
        tuner: chip found @ 0xc0
        tuner: type set to 2 (Philips NTSC (FI1236,FM1236 and compatibles))
i2c-core.o: client [Philips NTSC (FI1236,FM1236 and] registered to adapter [bt848 #0](pos. 0).
        bttv0: PLL: 28636363 => 35468950 .. ok
        bttv0: registered device video0
        bttv0: registered device vbi0
        SCSI subsystem driver Revision: 1.00
        libata version 1.02 loaded.
        sata_via version 0.20
        sata_via(00:0f.0): routed to hard irq line 4
        ata1: SATA max UDMA/133 cmd 0xB400 ctl 0xB802 bmdma 0xC400 irq 20
        ata2: SATA max UDMA/133 cmd 0xBC00 ctl 0xC002 bmdma 0xC408 irq 20
        ata1: no device found (phy stat 00000000)
        ata1: thread exiting
        ata2: no device found (phy stat 00000000)
        ata2: thread exiting
        scsi0 : sata_via
        scsi1 : sata_via
        (...)

A few notes, more or less in order:

(1)     I realised that the 2004.05.06 snapshot that I previously reported
        on had the modules for SATA & TV loaded not because d-i recognized
        the related hardware, but because these modules are/were somehow
        compiled into the kernel (?!?) used by the snapsot (kernel 2.6.5).

(2)     I also realised that I could not force the "tuner" module to see
        the tuner as a "type=2" (Philips NTSC) because the module was part
        of the kernel.  No wonder how I configured the module parameters
        (i.e. "type=2 debug=1") the module would _litterally_ refuse this
        information and stay as a type=19 (Temic PAL). Here is an example
        of boot messages dished out by the 2.6.5 kernel et al used by
        snapshot 2004.05.06 as an illustration of the annoying
        auto-config behaviour of these modules:

        (...)
        Linux video capture interface: v1.00
        bttv: driver version 0.9.12 loaded
        bttv: using 8 buffers with 2080k (520 pages) each for capture
        bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:00:0c.0, irq: 16, latency: 32, mmio: 0xeb001000 bttv0: detected: ATI TV Wonder/VE [card=64], PCI subsystem ID is 1002:0003
        bttv0: using: ATI TV-Wonder VE [card=64,autodetected]
        bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
        bttv0: using tuner=19
        bttv0: i2c: checking for TDA9875 @ 0xb0... not found
        bttv0: i2c: checking for TDA7432 @ 0x8a... not found
        tuner: chip found at addr 0xc0 i2c-bus bt878 #0 [sw]
        tuner: type set to 19 (Temic PAL* auto (4006 FN5)) by bt878 #0 [sw]
        bttv0: registered device video0
        bttv0: registered device vbi0
        bttv0: PLL: 28636363 => 35468950 .. ok
        btaudio: driver version 0.7 loaded [digital+analog]
        bt878: AUDIO driver version 0.0.0 loaded
        (...)

(3.1)   Once I understood what was going on and would have to load the
        proper module(s) manually, things suddently made sense.  After
        downloading the latest D-I snapshot, I first had the module
        load via /etc/modules. I then realised that "bttv" would load
        "tuner" automatically, so it became clear the post-install
        statement in /etc/modutils was/is superfluous and would only
        generate error/warning messages in dmesg (nothing major) like
        what you see below:

debtst14:~# tail -64 /var/log/messages
(...)
May 23 03:25:58 localhost -- MARK --
May 23 03:32:00 localhost kernel: i2c-core.o: i2c core module version 2.6.1 (20010830)
May 23 03:32:00 localhost kernel: i2c-algo-bit.o: i2c bit algorithm module
May 23 03:32:00 localhost kernel: Linux video capture interface: v1.00
May 23 03:32:00 localhost kernel: bttv: driver version 0.7.108 loaded
May 23 03:32:00 localhost kernel: bttv: using 4 buffers with 2080k (8320k total) for capture
May 23 03:32:00 localhost kernel: bttv: Bt8xx card found (0).
May 23 03:32:00 localhost kernel: bttv0: Bt878 (rev 17) at 00:0c.0, irq: 16, latency: 32, mmio: 0xeb001000 May 23 03:32:00 localhost kernel: bttv0: detected: ATI TV Wonder/VE [card=64], PCI subsystem ID is 1002:0003 May 23 03:32:00 localhost kernel: bttv0: using: ATI TV-Wonder VE [card=64,insmod option]
May 23 03:32:00 localhost kernel: bttv0: using tuner=2
May 23 03:32:00 localhost kernel: bttv0: i2c: checking for TDA9875 @ 0xb0... not found May 23 03:32:00 localhost kernel: bttv0: i2c: checking for TDA7432 @ 0x8a... not found
May 23 03:32:00 localhost kernel: tuner: chip found @ 0xc0
May 23 03:32:00 localhost kernel: tuner(bttv): type forced to 2 (Philips NTSC (FI1236,FM1236 and compatibles)) [insmod]
May 23 03:32:00 localhost kernel: tuner: type already set (2)
May 23 03:32:00 localhost kernel: bttv0: PLL: 28636363 => 35468950 .. ok
May 23 03:32:00 localhost kernel: bttv0: registered device video0
May 23 03:32:00 localhost kernel: bttv0: registered device vbi0
debtst14:~#

(3.2)   I then commented out the statements in /etc/modutils/actions
        and left only one active statement in /etc/modutils/bttv,
        where I specified the card type (better safe than sorry) and
        the tuner type (see information earlier in this report). Once
        this was done, all required modules were properly configured.

(3.3.)  To have the /dev/video* device files created, I installed
        xawtv before installing kdetv (I could have done an mknod but
        I was lazy).

(4)     After getting over the hurdle of getting the "tuner" module
        to behave the way I needed to do, the rest was easy. Whatever
        D-I 2004.05.22 missed (i.e., the tv card and the SATA
        controller), I added to /etc/modules  (i.e. "bttv" and
        "sata_via").
        I think those two items are the last ones I see D-I failing
        on, as the rest of the h/w seems ok. Considering this SATA
        controller is already known to kernel and Debian developpers,
        as well as my very ordinary ATI TV Wonder VE, I am surprised
        this hardware is not picked up by D-I, as it works fine
        after I add it manually to the system's configuration.

(5)     What I went through makes me believe strongly that to
        facilitate control of modules they should not be compiled
        into the kernel (or however it was arranged in d-i 20040506).
        All modules besides basic ones should be external to the
        kernel and be "callable" only via /etc/modules so that
        passing of options (via /etc/modutils/[filename]) can
        work.

(6)     I wonder if it is the job of D-I to configure the local
        broadcasting norm and tuner type or if this should be
        done by the end-user when he/she starts his/her tv-viewing
        app for the first time.  My first reaction would be D-I,
        as Joe Sixpack usually has no clue what NTSC, PAL or any
        other norm is.  To them, they are just dealing with the
        "tv" and that's it.  Though I think they can understand
        selecting between cable or antenna input, so this could
        be left to the TV app.




Bruno Majewski
bruno@pubnix.qc.ca





Reply to: