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

Bug#394767: iso-scan misses (with list-devices disk) a 2GB usbstick because it have udev ID_TYPE=floppy



Package: installation-reports

Boot method: By usbstick

Image version:
20061021 image from
http://people.debian.org/~joeyh/d-i/images/daily/hd-media/
Date: Same day

Machine: Tested on Dell latitude D400 and also a D600
Processor: Pentium M 1.7
Memory: 1024MB

Output of lspci and lspci -n:
00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O
Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP
Controller (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2
EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface
Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE
Controller (rev 01)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
AC'97 Modem Controller (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R250
[Mobility FireGL 9000] (rev 01)
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5702X
Gigabit Ethernet (rev 02)
02:01.0 CardBus bridge: O2 Micro, Inc. OZ711EC1 SmartCardBus Controller
(rev 20)
02:01.1 CardBus bridge: O2 Micro, Inc. OZ711EC1 SmartCardBus Controller
(rev 20)
02:03.0 Network controller: Broadcom Corporation BCM4309 802.11a/b/g
(rev 02)

00:00.0 0600: 8086:3340 (rev 03)
00:01.0 0604: 8086:3341 (rev 03)
00:1d.0 0c03: 8086:24c2 (rev 01)
00:1d.1 0c03: 8086:24c4 (rev 01)
00:1d.2 0c03: 8086:24c7 (rev 01)
00:1d.7 0c03: 8086:24cd (rev 01)
00:1e.0 0604: 8086:2448 (rev 81)
00:1f.0 0601: 8086:24cc (rev 01)
00:1f.1 0101: 8086:24ca (rev 01)
00:1f.5 0401: 8086:24c5 (rev 01)
00:1f.6 0703: 8086:24c6 (rev 01)
01:00.0 0300: 1002:4c66 (rev 01)
02:00.0 0200: 14e4:16a6 (rev 02)
02:01.0 0607: 1217:7113 (rev 20)
02:01.1 0607: 1217:7113 (rev 20)
02:03.0 0280: 14e4:4324 (rev 02)

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot worked:    [O]
Configure network HW:   [ ]
Config network:         [ ]
Detect CD:              [ ]
Load installer modules: [O]
Detect hard drives:     [ ]
Partition hard drives:  [ ]
Create file systems:    [ ]
Mount partitions:       [ ]
Install base system:    [ ]
Install boot loader:    [ ]
Reboot:                 [ ]

Comments/Problems:
Doing tests with automatic installs and preseed files
I found that when using the hd-media usb bootimage theres trouble
with som usbsticks.

For example
First I zcat boot.img.gz > /dev/sda (as from documentaion in the manual)
the image is in the built "superfloppy" 256MB size format. Then I copied
a debian.iso to the stick. It works fine with a 256MB and 1GB stick but
with a corsair 2GB it wont work. The reason is that iso-scan errors out.
When tracing backwards I found in iso-scan.postinst
At the line

 DEVS="$(list-devices disk; list-devices partition)"

the reason it misses the 2GB stick (which is at /sys/block/sda) is that
udev thinks its a floppy.

udevinfo -q env -p /block/sda gives ID_TYPE=floppy
and udevinfo -q name -p /block/sda  gives the name in devfs format, but
its a disk (dont remember exactly). So it misses a disk because of the
ID_TYPE, I added list-devices floppy in the line above and that makes it
work. But maybe the udev (d-i) should detect it as a disk ?

regards
Peter
-- 

bitrunner

0708-460260
Andra Långgatan 28
41327 Göteborg
Sweden



Reply to: