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

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



Your message dated Mon, 23 Oct 2006 01:22:14 +0200
with message-id <200610230122.14961.elendil@planet.nl>
and subject line Bug#394767: iso-scan misses (with list-devices disk) a 2GB usbstick because it have udev ID_TYPE=floppy
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
Version: 1.17

On Monday 23 October 2006 00:30, Peter Skogström wrote:
> Comments/Problems:
> 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 ?

This was fixed by Joey Hess in iso-scan with this comment:
| I think you should file a bug on udev, or possibly the kernel, about it
| mis-detecting this as a floppy, but in the meantime I've added a hackish
| workaround to iso-scan.

Thanks for your excellent tracing of this issue.

--- End Message ---

Reply to: